This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Simplify handling of varying loop increments
[perl5.git] / proto.h
1 /* -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6  *    2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
7  *
8  *    You may distribute under the terms of either the GNU General Public
9  *    License or the Artistic License, as specified in the README file.
10  *
11  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
12  * This file is built by regen/embed.pl from data in embed.fnc,
13  * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h.
14  * Any changes made here will be lost!
15  *
16  * Edit those files and run 'make regen_headers' to effect changes.
17  */
18
19 START_EXTERN_C
20 #ifndef NO_MATHOMS
21 PERL_CALLCONV UV        ASCII_TO_NEED(const UV enc, const UV ch)
22                         __attribute__deprecated__
23                         __attribute__warn_unused_result__
24                         __attribute__pure__;
25 #endif
26
27 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
28 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
29         assert(stash)
30 #ifndef NO_MATHOMS
31 PERL_CALLCONV UV        NATIVE_TO_NEED(const UV enc, const UV ch)
32                         __attribute__deprecated__
33                         __attribute__warn_unused_result__
34                         __attribute__pure__;
35 #endif
36
37 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
38 PERL_CALLCONV int       Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd);
39 PERL_CALLCONV int       Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
40                         __attribute__warn_unused_result__;
41
42 PERL_CALLCONV int       Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
43                         __attribute__warn_unused_result__;
44 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC  \
45         assert(file)
46
47 PERL_CALLCONV int       Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
48                         __attribute__warn_unused_result__;
49 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC   \
50         assert(file)
51
52 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
53                         __attribute__warn_unused_result__;
54
55 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op);
56 #define PERL_ARGS_ASSERT_SLAB_FREE      \
57         assert(op)
58 PERL_CALLCONV char *    Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
59 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING      \
60         assert(start)
61 PERL_CALLCONV void      Perl__force_out_malformed_utf8_message(pTHX_ const U8 *const p, const U8 * const e, const U32 flags, const bool die_here);
62 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE      \
63         assert(p); assert(e)
64 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
65 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
66                         __attribute__warn_unused_result__;
67
68 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
69                         __attribute__warn_unused_result__;
70
71 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
72                         __attribute__warn_unused_result__;
73
74 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ U8 classnum, const U8 * const p, const char * const name, const char * const alternative, const bool use_utf8, const bool use_locale, const char * const file, const unsigned line)
75                         __attribute__warn_unused_result__;
76 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
77         assert(p); assert(name); assert(alternative); assert(file)
78
79 PERL_CALLCONV bool      Perl__is_utf8_FOO_with_len(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
80                         __attribute__warn_unused_result__;
81 #define PERL_ARGS_ASSERT__IS_UTF8_FOO_WITH_LEN  \
82         assert(p); assert(e)
83
84 PERL_CALLCONV STRLEN    Perl__is_utf8_char_helper(const U8 * const s, const U8 * e, const U32 flags)
85                         __attribute__warn_unused_result__
86                         __attribute__pure__;
87 #define PERL_ARGS_ASSERT__IS_UTF8_CHAR_HELPER   \
88         assert(s); assert(e)
89
90 PERL_CALLCONV bool      Perl__is_utf8_idcont(pTHX_ const U8 *p)
91                         __attribute__warn_unused_result__;
92 #define PERL_ARGS_ASSERT__IS_UTF8_IDCONT        \
93         assert(p)
94
95 PERL_CALLCONV bool      Perl__is_utf8_idstart(pTHX_ const U8 *p)
96                         __attribute__warn_unused_result__;
97 #define PERL_ARGS_ASSERT__IS_UTF8_IDSTART       \
98         assert(p)
99
100 PERL_CALLCONV bool      Perl__is_utf8_mark(pTHX_ const U8 *p)
101                         __attribute__warn_unused_result__;
102 #define PERL_ARGS_ASSERT__IS_UTF8_MARK  \
103         assert(p)
104
105 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont_with_len(pTHX_ const U8 *p, const U8 * const e)
106                         __attribute__warn_unused_result__;
107 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT_WITH_LEN  \
108         assert(p); assert(e)
109
110 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart_with_len(pTHX_ const U8 *p, const U8 * const e)
111                         __attribute__warn_unused_result__;
112 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART_WITH_LEN \
113         assert(p); assert(e)
114
115 PERL_CALLCONV bool      Perl__is_utf8_xidcont(pTHX_ const U8 *p)
116                         __attribute__warn_unused_result__;
117 #define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT       \
118         assert(p)
119
120 PERL_CALLCONV bool      Perl__is_utf8_xidstart(pTHX_ const U8 *p)
121                         __attribute__warn_unused_result__;
122 #define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART      \
123         assert(p)
124
125 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
126 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
127         assert(p); assert(lenp)
128 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, U8 flags, const char * const file, const int line);
129 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
130         assert(p); assert(ustrp); assert(file)
131 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags, const char * const file, const int line);
132 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
133         assert(p); assert(ustrp); assert(file)
134 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags, const char * const file, const int line);
135 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
136         assert(p); assert(ustrp); assert(file)
137 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, bool flags, const char * const file, const int line);
138 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
139         assert(p); assert(ustrp); assert(file)
140 #ifndef PERL_NO_INLINE_FUNCTIONS
141 PERL_STATIC_INLINE unsigned int S__variant_byte_number(PERL_UINTMAX_T word)
142                         __attribute__warn_unused_result__;
143 #endif
144
145 PERL_CALLCONV void      Perl__warn_problematic_locale(void);
146 PERL_CALLCONV_NO_RET void       Perl_abort_execution(pTHX_ const char * const msg, const char * const name)
147                         __attribute__noreturn__;
148 #define PERL_ARGS_ASSERT_ABORT_EXECUTION        \
149         assert(msg); assert(name)
150
151 PERL_CALLCONV LOGOP*    Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other);
152 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags);
153 #define PERL_ARGS_ASSERT_ALLOCMY        \
154         assert(name)
155 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
156 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
157         assert(left); assert(right)
158 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method);
159 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
160         assert(ref)
161 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method);
162 #ifndef PERL_NO_INLINE_FUNCTIONS
163 PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest);
164 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
165         assert(dest)
166 #endif
167 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
168 #define PERL_ARGS_ASSERT_APPLY  \
169         assert(mark); assert(sp)
170 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
171 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
172         assert(stashpv); assert(cv); assert(attrstr)
173 PERL_CALLCONV void      Perl_atfork_lock(void);
174 PERL_CALLCONV void      Perl_atfork_unlock(void);
175 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av);
176 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
177         assert(av)
178 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av);
179 #define PERL_ARGS_ASSERT_AV_CLEAR       \
180         assert(av)
181 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
182 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
183         assert(avp); assert(val)
184 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
185 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
186         assert(avp); assert(val)
187 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
188 #define PERL_ARGS_ASSERT_AV_DELETE      \
189         assert(av)
190 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
191                         __attribute__warn_unused_result__;
192 #define PERL_ARGS_ASSERT_AV_EXISTS      \
193         assert(av)
194
195 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key);
196 #define PERL_ARGS_ASSERT_AV_EXTEND      \
197         assert(av)
198 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp);
199 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
200         assert(maxp); assert(allocp); assert(arrayp)
201 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
202                         __attribute__warn_unused_result__;
203 #define PERL_ARGS_ASSERT_AV_FETCH       \
204         assert(av)
205
206 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill);
207 #define PERL_ARGS_ASSERT_AV_FILL        \
208         assert(av)
209 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av);
210 #define PERL_ARGS_ASSERT_AV_ITER_P      \
211         assert(av)
212 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
213                         __attribute__warn_unused_result__;
214 #define PERL_ARGS_ASSERT_AV_LEN \
215         assert(av)
216
217 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
218                         __attribute__warn_unused_result__;
219 #define PERL_ARGS_ASSERT_AV_MAKE        \
220         assert(strp)
221
222 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av);
223 #define PERL_ARGS_ASSERT_AV_POP \
224         assert(av)
225 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val);
226 #define PERL_ARGS_ASSERT_AV_PUSH        \
227         assert(av); assert(val)
228 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av);
229 #define PERL_ARGS_ASSERT_AV_REIFY       \
230         assert(av)
231 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
232                         __attribute__warn_unused_result__;
233 #define PERL_ARGS_ASSERT_AV_SHIFT       \
234         assert(av)
235
236 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
237 #define PERL_ARGS_ASSERT_AV_STORE       \
238         assert(av)
239 /* PERL_CALLCONV SSize_t        Perl_av_tindex(pTHX_ AV *av)
240                         __attribute__warn_unused_result__; */
241
242 #ifndef PERL_NO_INLINE_FUNCTIONS
243 PERL_STATIC_INLINE SSize_t      S_av_top_index(pTHX_ AV *av)
244                         __attribute__warn_unused_result__;
245 #define PERL_ARGS_ASSERT_AV_TOP_INDEX   \
246         assert(av)
247 #endif
248
249 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av);
250 #define PERL_ARGS_ASSERT_AV_UNDEF       \
251         assert(av)
252 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num);
253 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
254         assert(av)
255 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
256                         __attribute__warn_unused_result__;
257 #define PERL_ARGS_ASSERT_BIND_MATCH     \
258         assert(left); assert(right)
259
260 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
261                         __attribute__warn_unused_result__;
262
263 PERL_CALLCONV U8        Perl_block_gimme(pTHX)
264                         __attribute__warn_unused_result__;
265
266 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
267                         __attribute__warn_unused_result__;
268
269 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk);
270 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
271         assert(hk)
272 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
273 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
274 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
275 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
276 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
277         assert(b); assert(u)
278 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
279 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
280         assert(s); assert(lenp); assert(is_utf8p)
281 PERL_CALLCONV U8*       Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 ** first_unconverted);
282 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC    \
283         assert(s); assert(lenp); assert(is_utf8p)
284 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
285 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
286         assert(s); assert(lenp)
287 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
288 #define PERL_ARGS_ASSERT_CALL_ARGV      \
289         assert(sub_name); assert(argv)
290 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
291 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
292 #define PERL_ARGS_ASSERT_CALL_LIST      \
293         assert(paramList)
294 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags);
295 #define PERL_ARGS_ASSERT_CALL_METHOD    \
296         assert(methname)
297 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
298 #define PERL_ARGS_ASSERT_CALL_PV        \
299         assert(sub_name)
300 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, volatile I32 flags);
301 #define PERL_ARGS_ASSERT_CALL_SV        \
302         assert(sv)
303 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
304 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
305                         __attribute__malloc__
306                         __attribute__warn_unused_result__;
307
308 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
309                         __attribute__warn_unused_result__;
310 #define PERL_ARGS_ASSERT_CANDO  \
311         assert(statbufp)
312
313 PERL_CALLCONV I32       Perl_cast_i32(NV f)
314                         __attribute__warn_unused_result__;
315
316 PERL_CALLCONV IV        Perl_cast_iv(NV f)
317                         __attribute__warn_unused_result__;
318
319 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
320                         __attribute__warn_unused_result__;
321
322 PERL_CALLCONV UV        Perl_cast_uv(NV f)
323                         __attribute__warn_unused_result__;
324
325 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len);
326 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
327         assert(s)
328 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
329                         __attribute__warn_unused_result__;
330 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
331         assert(o)
332
333 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
334                         __attribute__warn_unused_result__;
335 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
336         assert(o)
337
338 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
339                         __attribute__warn_unused_result__;
340 #define PERL_ARGS_ASSERT_CK_BITOP       \
341         assert(o)
342
343 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
344                         __attribute__warn_unused_result__;
345 #define PERL_ARGS_ASSERT_CK_CMP \
346         assert(o)
347
348 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
349                         __attribute__warn_unused_result__;
350 #define PERL_ARGS_ASSERT_CK_CONCAT      \
351         assert(o)
352
353 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
354                         __attribute__warn_unused_result__;
355 #define PERL_ARGS_ASSERT_CK_DEFINED     \
356         assert(o)
357
358 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
359                         __attribute__warn_unused_result__;
360 #define PERL_ARGS_ASSERT_CK_DELETE      \
361         assert(o)
362
363 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
364                         __attribute__warn_unused_result__;
365 #define PERL_ARGS_ASSERT_CK_EACH        \
366         assert(o)
367
368 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
369 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
370         assert(entersubop); assert(namegv); assert(protosv)
371 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
372 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
373         assert(entersubop)
374 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
375 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
376         assert(entersubop); assert(namegv); assert(protosv)
377 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
378 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
379         assert(entersubop); assert(namegv); assert(protosv)
380 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
381                         __attribute__warn_unused_result__;
382 #define PERL_ARGS_ASSERT_CK_EOF \
383         assert(o)
384
385 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
386                         __attribute__warn_unused_result__;
387 #define PERL_ARGS_ASSERT_CK_EVAL        \
388         assert(o)
389
390 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
391                         __attribute__warn_unused_result__;
392 #define PERL_ARGS_ASSERT_CK_EXEC        \
393         assert(o)
394
395 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
396                         __attribute__warn_unused_result__;
397 #define PERL_ARGS_ASSERT_CK_EXISTS      \
398         assert(o)
399
400 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
401                         __attribute__warn_unused_result__;
402 #define PERL_ARGS_ASSERT_CK_FTST        \
403         assert(o)
404
405 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
406                         __attribute__warn_unused_result__;
407 #define PERL_ARGS_ASSERT_CK_FUN \
408         assert(o)
409
410 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
411                         __attribute__warn_unused_result__;
412 #define PERL_ARGS_ASSERT_CK_GLOB        \
413         assert(o)
414
415 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
416                         __attribute__warn_unused_result__;
417 #define PERL_ARGS_ASSERT_CK_GREP        \
418         assert(o)
419
420 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
421                         __attribute__warn_unused_result__;
422 #define PERL_ARGS_ASSERT_CK_INDEX       \
423         assert(o)
424
425 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
426                         __attribute__warn_unused_result__;
427 #define PERL_ARGS_ASSERT_CK_JOIN        \
428         assert(o)
429
430 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
431                         __attribute__warn_unused_result__;
432 #define PERL_ARGS_ASSERT_CK_LENGTH      \
433         assert(o)
434
435 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
436                         __attribute__warn_unused_result__;
437 #define PERL_ARGS_ASSERT_CK_LFUN        \
438         assert(o)
439
440 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
441                         __attribute__warn_unused_result__;
442 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
443         assert(o)
444
445 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
446                         __attribute__warn_unused_result__;
447 #define PERL_ARGS_ASSERT_CK_MATCH       \
448         assert(o)
449
450 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
451                         __attribute__warn_unused_result__;
452 #define PERL_ARGS_ASSERT_CK_METHOD      \
453         assert(o)
454
455 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
456                         __attribute__warn_unused_result__;
457 #define PERL_ARGS_ASSERT_CK_NULL        \
458         assert(o)
459
460 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
461                         __attribute__warn_unused_result__;
462 #define PERL_ARGS_ASSERT_CK_OPEN        \
463         assert(o)
464
465 PERL_CALLCONV OP *      Perl_ck_prototype(pTHX_ OP *o)
466                         __attribute__warn_unused_result__;
467 #define PERL_ARGS_ASSERT_CK_PROTOTYPE   \
468         assert(o)
469
470 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
471                         __attribute__warn_unused_result__;
472 #define PERL_ARGS_ASSERT_CK_READLINE    \
473         assert(o)
474
475 PERL_CALLCONV OP *      Perl_ck_refassign(pTHX_ OP *o)
476                         __attribute__warn_unused_result__;
477 #define PERL_ARGS_ASSERT_CK_REFASSIGN   \
478         assert(o)
479
480 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
481                         __attribute__warn_unused_result__;
482 #define PERL_ARGS_ASSERT_CK_REPEAT      \
483         assert(o)
484
485 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
486                         __attribute__warn_unused_result__;
487 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
488         assert(o)
489
490 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
491                         __attribute__warn_unused_result__;
492 #define PERL_ARGS_ASSERT_CK_RETURN      \
493         assert(o)
494
495 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
496                         __attribute__warn_unused_result__;
497 #define PERL_ARGS_ASSERT_CK_RFUN        \
498         assert(o)
499
500 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
501                         __attribute__warn_unused_result__;
502 #define PERL_ARGS_ASSERT_CK_RVCONST     \
503         assert(o)
504
505 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
506                         __attribute__warn_unused_result__;
507 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
508         assert(o)
509
510 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
511                         __attribute__warn_unused_result__;
512 #define PERL_ARGS_ASSERT_CK_SELECT      \
513         assert(o)
514
515 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
516                         __attribute__warn_unused_result__;
517 #define PERL_ARGS_ASSERT_CK_SHIFT       \
518         assert(o)
519
520 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
521                         __attribute__warn_unused_result__;
522 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
523         assert(o)
524
525 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
526                         __attribute__warn_unused_result__;
527 #define PERL_ARGS_ASSERT_CK_SORT        \
528         assert(o)
529
530 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
531                         __attribute__warn_unused_result__;
532 #define PERL_ARGS_ASSERT_CK_SPAIR       \
533         assert(o)
534
535 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
536                         __attribute__warn_unused_result__;
537 #define PERL_ARGS_ASSERT_CK_SPLIT       \
538         assert(o)
539
540 PERL_CALLCONV OP *      Perl_ck_stringify(pTHX_ OP *o)
541                         __attribute__warn_unused_result__;
542 #define PERL_ARGS_ASSERT_CK_STRINGIFY   \
543         assert(o)
544
545 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
546                         __attribute__warn_unused_result__;
547 #define PERL_ARGS_ASSERT_CK_SUBR        \
548         assert(o)
549
550 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
551                         __attribute__warn_unused_result__;
552 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
553         assert(o)
554
555 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
556                         __attribute__warn_unused_result__;
557 #define PERL_ARGS_ASSERT_CK_SVCONST     \
558         assert(o)
559
560 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
561                         __attribute__warn_unused_result__;
562 #define PERL_ARGS_ASSERT_CK_TELL        \
563         assert(o)
564
565 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
566                         __attribute__warn_unused_result__;
567 #define PERL_ARGS_ASSERT_CK_TRUNC       \
568         assert(o)
569
570 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
571                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
572 #define PERL_ARGS_ASSERT_CK_WARNER      \
573         assert(pat)
574
575 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
576                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
577 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
578         assert(pat)
579
580 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w)
581                         __attribute__warn_unused_result__
582                         __attribute__pure__;
583
584 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w)
585                         __attribute__warn_unused_result__
586                         __attribute__pure__;
587
588 PERL_CALLCONV void      Perl_clear_defarray(pTHX_ AV* av, bool abandon);
589 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
590         assert(av)
591 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext);
592 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
593         assert(cop)
594 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
595 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
596         assert(cop)
597 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
598 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
599         assert(cop); assert(label)
600 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum);
601 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
602         assert(name)
603 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum);
604 #define PERL_ARGS_ASSERT_CORESUB_OP     \
605         assert(coreargssv)
606 PERL_CALLCONV void      Perl_create_eval_scope(pTHX_ OP *retop, U32 flags);
607 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
608                         __attribute__noreturn__
609                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
610
611 PERL_CALLCONV_NO_RET void       Perl_croak_caller(const char* pat, ...)
612                         __attribute__noreturn__
613                         __attribute__format__null_ok__(__printf__,1,2);
614
615 PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
616                         __attribute__noreturn__;
617
618 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
619                         __attribute__noreturn__;
620
621 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
622                         __attribute__noreturn__;
623
624 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
625                         __attribute__noreturn__;
626
627 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
628                         __attribute__noreturn__;
629 #define PERL_ARGS_ASSERT_CROAK_SV       \
630         assert(baseex)
631
632 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
633                         __attribute__noreturn__;
634 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
635         assert(cv); assert(params)
636
637 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
638 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
639                         __attribute__warn_unused_result__;
640 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
641         assert(o)
642
643 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
644                         __attribute__warn_unused_result__;
645 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
646         assert(o)
647
648 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
649                         __attribute__warn_unused_result__;
650 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
651         assert(o)
652
653 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
654 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
655         assert(ppaddr); assert(xop)
656 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o); */
657 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
658 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
659         assert(cv)
660 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto);
661 #define PERL_ARGS_ASSERT_CV_CLONE       \
662         assert(proto)
663 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target);
664 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
665         assert(proto); assert(target)
666 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
667                         __attribute__warn_unused_result__;
668
669 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
670                         __attribute__warn_unused_result__;
671
672 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv);
673 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
674 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
675         assert(cv); assert(ckfun_p); assert(ckobj_p)
676 PERL_CALLCONV void      Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
677 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS      \
678         assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
679 PERL_CALLCONV SV *      Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
680 #define PERL_ARGS_ASSERT_CV_NAME        \
681         assert(cv)
682 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
683 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
684         assert(cv); assert(ckfun); assert(ckobj)
685 PERL_CALLCONV void      Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
686 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS      \
687         assert(cv); assert(ckfun); assert(ckobj)
688 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv);
689 #define PERL_ARGS_ASSERT_CV_UNDEF       \
690         assert(cv)
691 PERL_CALLCONV void      Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags);
692 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
693         assert(cv)
694 PERL_CALLCONV GV *      Perl_cvgv_from_hek(pTHX_ CV* cv);
695 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK  \
696         assert(cv)
697 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
698 #define PERL_ARGS_ASSERT_CVGV_SET       \
699         assert(cv)
700 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
701 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
702         assert(cv)
703 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
704 #define PERL_ARGS_ASSERT_CX_DUMP        \
705         assert(cx)
706 PERL_CALLCONV I32       Perl_cxinc(pTHX)
707                         __attribute__warn_unused_result__;
708
709 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
710                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
711 #define PERL_ARGS_ASSERT_DEB    \
712         assert(pat)
713
714 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
715 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o);
716 #define PERL_ARGS_ASSERT_DEBOP  \
717         assert(o)
718 PERL_CALLCONV void      Perl_debprofdump(pTHX);
719 PERL_CALLCONV I32       Perl_debstack(pTHX);
720 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
721 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
722                         __attribute__warn_unused_result__;
723 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
724         assert(sv)
725
726 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
727 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
728 #define PERL_ARGS_ASSERT_DELIMCPY       \
729         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
730 PERL_CALLCONV char*     Perl_delimcpy_no_escape(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
731 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE     \
732         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
733 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
734 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
735                         __attribute__noreturn__
736                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
737
738 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
739                         __attribute__noreturn__;
740 #define PERL_ARGS_ASSERT_DIE_SV \
741         assert(baseex)
742
743 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
744                         __attribute__noreturn__;
745 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
746         assert(msv)
747
748 #ifndef NO_MATHOMS
749 PERL_CALLCONV bool      Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp);
750 #define PERL_ARGS_ASSERT_DO_AEXEC       \
751         assert(mark); assert(sp)
752 #endif
753 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report);
754 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
755         assert(mark); assert(sp)
756 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode);
757 #define PERL_ARGS_ASSERT_DO_BINMODE     \
758         assert(fp)
759 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
760 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full);
761 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
762         assert(file)
763 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv);
764 #define PERL_ARGS_ASSERT_DO_EOF \
765         assert(gv)
766 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
767 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
768         assert(file); assert(name)
769 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
770 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
771         assert(file); assert(name)
772 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
773 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
774         assert(file); assert(name)
775 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
776 #define PERL_ARGS_ASSERT_DO_JOIN        \
777         assert(sv); assert(delim); assert(mark); assert(sp)
778 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
779 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
780         assert(file)
781 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
782                         __attribute__warn_unused_result__;
783 #define PERL_ARGS_ASSERT_DO_NCMP        \
784         assert(left); assert(right)
785
786 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
787 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
788         assert(file)
789 #ifndef NO_MATHOMS
790 PERL_CALLCONV bool      Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
791 #define PERL_ARGS_ASSERT_DO_OPEN        \
792         assert(gv); assert(name)
793 #endif
794 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num);
795 #define PERL_ARGS_ASSERT_DO_OPEN6       \
796         assert(gv); assert(oname)
797 PERL_CALLCONV bool      Perl_do_open9(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV *svs, I32 num);
798 #define PERL_ARGS_ASSERT_DO_OPEN9       \
799         assert(gv); assert(name); assert(svs)
800 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp);
801 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
802         assert(gv); assert(oname)
803 PERL_CALLCONV bool      Perl_do_openn(pTHX_ GV *gv, const char *oname, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num);
804 #define PERL_ARGS_ASSERT_DO_OPENN       \
805         assert(gv); assert(oname)
806 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
807 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
808         assert(file)
809 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
810 #define PERL_ARGS_ASSERT_DO_PRINT       \
811         assert(fp)
812 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
813                         __attribute__warn_unused_result__;
814
815 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
816 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, SSize_t len, SV** sarg);
817 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
818         assert(sv); assert(sarg)
819 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
820 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
821         assert(file)
822 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
823 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
824         assert(gv)
825 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
826                         __attribute__warn_unused_result__;
827 #define PERL_ARGS_ASSERT_DO_TELL        \
828         assert(gv)
829
830 PERL_CALLCONV Size_t    Perl_do_trans(pTHX_ SV* sv);
831 #define PERL_ARGS_ASSERT_DO_TRANS       \
832         assert(sv)
833 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, STRLEN offset, int size);
834 #define PERL_ARGS_ASSERT_DO_VECGET      \
835         assert(sv)
836 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv);
837 #define PERL_ARGS_ASSERT_DO_VECSET      \
838         assert(sv)
839 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
840 #define PERL_ARGS_ASSERT_DO_VOP \
841         assert(sv); assert(left); assert(right)
842 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin);
843 #define PERL_ARGS_ASSERT_DOFILE \
844         assert(term)
845 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
846                         __attribute__warn_unused_result__;
847
848 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
849 #define PERL_ARGS_ASSERT_DOREF  \
850         assert(o)
851 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
852 PERL_CALLCONV U8        Perl_dowantarray(pTHX)
853                         __attribute__warn_unused_result__;
854
855 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
856 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
857         assert(random_state)
858 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state);
859 #define PERL_ARGS_ASSERT_DRAND48_R      \
860         assert(random_state)
861 PERL_CALLCONV void      Perl_dump_all(pTHX);
862 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
863 PERL_CALLCONV void      Perl_dump_eval(pTHX);
864 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv);
865 #define PERL_ARGS_ASSERT_DUMP_FORM      \
866         assert(gv)
867 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
868                         __attribute__format__(__printf__,pTHX_3,pTHX_4);
869 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
870         assert(file); assert(pat)
871
872 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash);
873 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
874         assert(stash)
875 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl);
876 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
877         assert(stash)
878 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv);
879 #define PERL_ARGS_ASSERT_DUMP_SUB       \
880         assert(gv)
881 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl);
882 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
883         assert(gv)
884 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
885 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
886         assert(file); assert(pat)
887 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
888 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
889         assert(c); assert(sv)
890 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
891 #define PERL_ARGS_ASSERT_EVAL_PV        \
892         assert(p)
893 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags);
894 #define PERL_ARGS_ASSERT_EVAL_SV        \
895         assert(sv)
896 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
897 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
898         assert(sv)
899 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
900                         __attribute__warn_unused_result__;
901 #define PERL_ARGS_ASSERT_FBM_INSTR      \
902         assert(big); assert(bigend); assert(littlestr)
903
904 PERL_CALLCONV bool      Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen);
905 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED     \
906         assert(name)
907 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
908 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp);
909 #define PERL_ARGS_ASSERT_FILTER_DEL     \
910         assert(funcp)
911 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
912                         __attribute__warn_unused_result__;
913 #define PERL_ARGS_ASSERT_FILTER_READ    \
914         assert(buf_sv)
915
916 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o);
917 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
918         assert(o)
919 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off);
920 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
921                         __attribute__warn_unused_result__;
922
923 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
924                         __attribute__warn_unused_result__;
925
926 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
927 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
928                         __attribute__deprecated__;
929
930 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags);
931 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
932         assert(scriptname)
933 #ifndef PERL_NO_INLINE_FUNCTIONS
934 PERL_STATIC_INLINE I32  Perl_foldEQ(const char* a, const char* b, I32 len);
935 #define PERL_ARGS_ASSERT_FOLDEQ \
936         assert(a); assert(b)
937 #endif
938 #ifndef PERL_NO_INLINE_FUNCTIONS
939 PERL_STATIC_INLINE I32  Perl_foldEQ_latin1(const char* a, const char* b, I32 len);
940 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
941         assert(a); assert(b)
942 #endif
943 #ifndef PERL_NO_INLINE_FUNCTIONS
944 PERL_STATIC_INLINE I32  Perl_foldEQ_locale(const char* a, const char* b, I32 len);
945 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
946         assert(a); assert(b)
947 #endif
948 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
949 PERL_CALLCONV I32       Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags);
950 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
951         assert(s1); assert(s2)
952 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
953                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
954 #define PERL_ARGS_ASSERT_FORM   \
955         assert(pat)
956
957 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
958 PERL_CALLCONV void      Perl_free_tmps(pTHX);
959 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags);
960 #define PERL_ARGS_ASSERT_GET_AV \
961         assert(name)
962 PERL_CALLCONV void*     Perl_get_context(void)
963                         __attribute__warn_unused_result__;
964
965 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags);
966 #define PERL_ARGS_ASSERT_GET_CV \
967         assert(name)
968 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
969 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
970         assert(name)
971 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
972 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
973         assert(cv)
974 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer);
975 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
976         assert(seed_buffer)
977 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags);
978 #define PERL_ARGS_ASSERT_GET_HV \
979         assert(name)
980 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
981                         __attribute__warn_unused_result__
982                         __attribute__pure__;
983
984 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
985                         __attribute__warn_unused_result__
986                         __attribute__pure__;
987
988 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
989                         __attribute__warn_unused_result__
990                         __attribute__pure__;
991
992 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
993                         __attribute__warn_unused_result__
994                         __attribute__pure__;
995
996 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
997                         __attribute__warn_unused_result__
998                         __attribute__pure__;
999
1000 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
1001 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags);
1002 #define PERL_ARGS_ASSERT_GET_SV \
1003         assert(name)
1004 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
1005                         __attribute__warn_unused_result__;
1006
1007 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv);
1008 #define PERL_ARGS_ASSERT_GETCWD_SV      \
1009         assert(sv)
1010 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
1011 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
1012 PERL_CALLCONV bool      Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
1013 #define PERL_ARGS_ASSERT_GROK_ATOUV     \
1014         assert(pv); assert(valptr)
1015 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1016 #define PERL_ARGS_ASSERT_GROK_BIN       \
1017         assert(start); assert(len_p); assert(flags)
1018 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1019 #define PERL_ARGS_ASSERT_GROK_HEX       \
1020         assert(start); assert(len_p); assert(flags)
1021 PERL_CALLCONV int       Perl_grok_infnan(pTHX_ const char** sp, const char *send);
1022 #define PERL_ARGS_ASSERT_GROK_INFNAN    \
1023         assert(sp); assert(send)
1024 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1025 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1026         assert(pv)
1027 PERL_CALLCONV int       Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1028 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
1029         assert(pv)
1030 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1031                         __attribute__warn_unused_result__;
1032 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1033         assert(sp); assert(send)
1034
1035 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1036 #define PERL_ARGS_ASSERT_GROK_OCT       \
1037         assert(start); assert(len_p); assert(flags)
1038 #ifndef NO_MATHOMS
1039 PERL_CALLCONV GV*       Perl_gv_AVadd(pTHX_ GV *gv);
1040 #endif
1041 #ifndef NO_MATHOMS
1042 PERL_CALLCONV GV*       Perl_gv_HVadd(pTHX_ GV *gv);
1043 #endif
1044 #ifndef NO_MATHOMS
1045 PERL_CALLCONV GV*       Perl_gv_IOadd(pTHX_ GV* gv);
1046 #endif
1047 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1048 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1049                         __attribute__warn_unused_result__; */
1050
1051 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1052                         __attribute__warn_unused_result__;
1053 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1054         assert(namepv)
1055
1056 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1057                         __attribute__warn_unused_result__;
1058 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
1059         assert(name)
1060
1061 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1062                         __attribute__warn_unused_result__;
1063 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1064         assert(namesv)
1065
1066 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash);
1067 #define PERL_ARGS_ASSERT_GV_CHECK       \
1068         assert(stash)
1069 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1070                         __attribute__warn_unused_result__;
1071 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1072         assert(gv)
1073
1074 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv);
1075 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv);
1076 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
1077         assert(sv); assert(gv)
1078 #ifndef NO_MATHOMS
1079 PERL_CALLCONV void      Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1080 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1081         assert(sv); assert(gv)
1082 #endif
1083 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1084 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1085         assert(sv); assert(gv)
1086 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name);
1087 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1088         assert(name)
1089 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1090 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1091         assert(name)
1092 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1093 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1094 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1095 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1096         assert(name)
1097 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1098 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1099         assert(name)
1100 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1101 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1102         assert(name)
1103 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1104 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1105         assert(name)
1106 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1107 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1108         assert(namesv)
1109 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1110 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1111         assert(namesv)
1112 #ifndef NO_MATHOMS
1113 PERL_CALLCONV GV*       Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1114 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1115         assert(stash); assert(name)
1116 #endif
1117 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1118 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1119         assert(stash); assert(name)
1120 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1121 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1122         assert(stash); assert(name)
1123 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1124 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1125         assert(stash); assert(name)
1126 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1127 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1128         assert(stash); assert(namesv)
1129 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type);
1130 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1131         assert(nambeg)
1132 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1133 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1134         assert(name)
1135 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1136 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1137         assert(name)
1138 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv);
1139 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
1140         assert(sv); assert(gv)
1141 #ifndef NO_MATHOMS
1142 PERL_CALLCONV void      Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1143 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1144         assert(sv); assert(gv)
1145 #endif
1146 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1147 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1148         assert(sv); assert(gv)
1149 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1150                         __attribute__warn_unused_result__;
1151
1152 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1153 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1154 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1155         assert(gv); assert(name)
1156 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1157 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1158         assert(gv); assert(name)
1159 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1160 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1161         assert(gv); assert(namesv)
1162 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1163 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1164         assert(gv); assert(name)
1165 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1166 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1167         assert(name)
1168 PERL_CALLCONV void      Perl_gv_setref(pTHX_ SV *const dstr, SV *const sstr);
1169 #define PERL_ARGS_ASSERT_GV_SETREF      \
1170         assert(dstr); assert(sstr)
1171 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1172 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1173         assert(name)
1174 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1175 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1176         assert(name)
1177 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1178 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1179         assert(sv)
1180 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv);
1181 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1182         assert(gv)
1183 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv);
1184 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1185         assert(hv)
1186 PERL_CALLCONV SV*       Perl_hv_bucket_ratio(pTHX_ HV *hv)
1187                         __attribute__warn_unused_result__;
1188 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO        \
1189         assert(hv)
1190
1191 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1192 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv);
1193 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1194         assert(hv)
1195 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1196 PERL_CALLCONV void*     Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1197 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1198         assert(key)
1199 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1200                         __attribute__warn_unused_result__;
1201
1202 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry);
1203 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1204         assert(hv)
1205 #ifndef NO_MATHOMS
1206 PERL_CALLCONV SV*       Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1207 #define PERL_ARGS_ASSERT_HV_DELETE      \
1208         assert(key)
1209 #endif
1210 #ifndef NO_MATHOMS
1211 PERL_CALLCONV SV*       Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1212 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1213         assert(keysv)
1214 #endif
1215 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1216                         __attribute__warn_unused_result__;
1217 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1218         assert(hv)
1219
1220 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1221 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1222         assert(hv)
1223 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1224 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1225         assert(hv); assert(name)
1226 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1227 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1228         assert(hv); assert(name)
1229 #ifndef NO_MATHOMS
1230 PERL_CALLCONV bool      Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1231                         __attribute__warn_unused_result__;
1232 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1233         assert(key)
1234 #endif
1235
1236 #ifndef NO_MATHOMS
1237 PERL_CALLCONV bool      Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1238                         __attribute__warn_unused_result__;
1239 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1240         assert(keysv)
1241 #endif
1242
1243 #ifndef NO_MATHOMS
1244 PERL_CALLCONV SV**      Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1245 #define PERL_ARGS_ASSERT_HV_FETCH       \
1246         assert(key)
1247 #endif
1248 #ifndef NO_MATHOMS
1249 PERL_CALLCONV HE*       Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1250 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1251         assert(keysv)
1252 #endif
1253 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv);
1254 #define PERL_ARGS_ASSERT_HV_FILL        \
1255         assert(hv)
1256 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entry);
1257 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1258         assert(hv)
1259 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv);
1260 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1261         assert(hv)
1262 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1263                         __attribute__warn_unused_result__;
1264 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1265         assert(entry); assert(retlen)
1266
1267 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1268                         __attribute__warn_unused_result__;
1269 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1270         assert(entry)
1271
1272 #ifndef NO_MATHOMS
1273 PERL_CALLCONV HE*       Perl_hv_iternext(pTHX_ HV *hv)
1274                         __attribute__warn_unused_result__;
1275 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1276         assert(hv)
1277 #endif
1278
1279 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1280                         __attribute__warn_unused_result__;
1281 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1282         assert(hv)
1283
1284 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1285                         __attribute__warn_unused_result__;
1286 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1287         assert(hv); assert(key); assert(retlen)
1288
1289 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1290                         __attribute__warn_unused_result__;
1291 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1292         assert(hv); assert(entry)
1293
1294 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1295 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1296         assert(hv)
1297 #ifndef NO_MATHOMS
1298 PERL_CALLCONV void      Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1299 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1300         assert(hv)
1301 #endif
1302 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1303 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1304         assert(hv)
1305 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1306                         __attribute__warn_unused_result__;
1307 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1308         assert(hv)
1309
1310 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1311                         __attribute__warn_unused_result__;
1312 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1313         assert(hv)
1314
1315 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1316 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1317         assert(hv)
1318 PERL_CALLCONV void      Perl_hv_pushkv(pTHX_ HV *hv, U32 flags);
1319 #define PERL_ARGS_ASSERT_HV_PUSHKV      \
1320         assert(hv)
1321 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1322 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1323         assert(hv)
1324 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1325                         __attribute__warn_unused_result__;
1326 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1327         assert(hv)
1328
1329 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1330 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1331         assert(hv)
1332 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1333                         __attribute__warn_unused_result__;
1334 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1335         assert(hv)
1336
1337 #ifndef NO_MATHOMS
1338 PERL_CALLCONV SV**      Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1339 #endif
1340 #ifndef NO_MATHOMS
1341 PERL_CALLCONV HE*       Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1342 #endif
1343 #ifndef NO_MATHOMS
1344 PERL_CALLCONV SV**      Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1345 #endif
1346 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1347 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1348 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1349                         __attribute__warn_unused_result__
1350                         __attribute__pure__; */
1351
1352 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1353                         __attribute__warn_unused_result__
1354                         __attribute__pure__; */
1355
1356 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1357 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv);
1358 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1359         assert(argv)
1360 PERL_CALLCONV void      Perl_init_constants(pTHX);
1361 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1362 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1363 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1364 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
1365 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1366 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm);
1367 #define PERL_ARGS_ASSERT_INIT_TM        \
1368         assert(ptm)
1369 #ifndef NO_MATHOMS
1370 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1371                         __attribute__warn_unused_result__
1372                         __attribute__pure__;
1373 #define PERL_ARGS_ASSERT_INSTR  \
1374         assert(big); assert(little)
1375 #endif
1376
1377 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1378 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1379                         __attribute__warn_unused_result__;
1380
1381 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail);
1382 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1383         assert(io)
1384 PERL_CALLCONV bool      Perl_isALNUM_lazy(pTHX_ const char* p)
1385                         __attribute__deprecated__
1386                         __attribute__warn_unused_result__;
1387 #define PERL_ARGS_ASSERT_ISALNUM_LAZY   \
1388         assert(p)
1389
1390 PERL_CALLCONV bool      Perl_isIDFIRST_lazy(pTHX_ const char* p)
1391                         __attribute__deprecated__
1392                         __attribute__warn_unused_result__;
1393 #define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1394         assert(p)
1395
1396 /* PERL_CALLCONV bool   Perl_is_ascii_string(const U8* const s, STRLEN len)
1397                         __attribute__warn_unused_result__
1398                         __attribute__pure__; */
1399
1400 /* PERL_CALLCONV bool   Perl_is_c9strict_utf8_string(const U8 *s, STRLEN len)
1401                         __attribute__warn_unused_result__; */
1402
1403 /* PERL_CALLCONV bool   is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1404 #ifndef PERL_NO_INLINE_FUNCTIONS
1405 PERL_STATIC_INLINE bool S_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1406 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1407         assert(s)
1408 #endif
1409 /* PERL_CALLCONV bool   Perl_is_invariant_string(const U8* const s, STRLEN len)
1410                         __attribute__warn_unused_result__
1411                         __attribute__pure__; */
1412
1413 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1414                         __attribute__warn_unused_result__;
1415
1416 #ifndef PERL_NO_INLINE_FUNCTIONS
1417 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1418                         __attribute__warn_unused_result__;
1419 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
1420         assert(pv); assert(what); assert(op_name)
1421 #endif
1422
1423 /* PERL_CALLCONV bool   Perl_is_strict_utf8_string(const U8 *s, STRLEN len)
1424                         __attribute__warn_unused_result__; */
1425
1426 /* PERL_CALLCONV bool   is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1427 #ifndef PERL_NO_INLINE_FUNCTIONS
1428 PERL_STATIC_INLINE bool S_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1429 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN   \
1430         assert(s)
1431 #endif
1432 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1433                         __attribute__deprecated__
1434                         __attribute__warn_unused_result__;
1435
1436 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1437                         __attribute__deprecated__
1438                         __attribute__warn_unused_result__;
1439
1440 PERL_CALLCONV bool      Perl_is_uni_alnumc(pTHX_ UV c)
1441                         __attribute__deprecated__
1442                         __attribute__warn_unused_result__;
1443
1444 PERL_CALLCONV bool      Perl_is_uni_alnumc_lc(pTHX_ UV c)
1445                         __attribute__deprecated__
1446                         __attribute__warn_unused_result__;
1447
1448 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1449                         __attribute__deprecated__
1450                         __attribute__warn_unused_result__;
1451
1452 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1453                         __attribute__deprecated__
1454                         __attribute__warn_unused_result__;
1455
1456 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1457                         __attribute__deprecated__
1458                         __attribute__warn_unused_result__
1459                         __attribute__pure__;
1460
1461 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1462                         __attribute__deprecated__
1463                         __attribute__warn_unused_result__
1464                         __attribute__pure__;
1465
1466 PERL_CALLCONV bool      Perl_is_uni_blank(pTHX_ UV c)
1467                         __attribute__deprecated__
1468                         __attribute__warn_unused_result__
1469                         __attribute__pure__;
1470
1471 PERL_CALLCONV bool      Perl_is_uni_blank_lc(pTHX_ UV c)
1472                         __attribute__deprecated__
1473                         __attribute__warn_unused_result__
1474                         __attribute__pure__;
1475
1476 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1477                         __attribute__deprecated__
1478                         __attribute__warn_unused_result__
1479                         __attribute__pure__;
1480
1481 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1482                         __attribute__deprecated__
1483                         __attribute__warn_unused_result__
1484                         __attribute__pure__;
1485
1486 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1487                         __attribute__deprecated__
1488                         __attribute__warn_unused_result__;
1489
1490 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1491                         __attribute__deprecated__
1492                         __attribute__warn_unused_result__;
1493
1494 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1495                         __attribute__deprecated__
1496                         __attribute__warn_unused_result__;
1497
1498 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1499                         __attribute__deprecated__
1500                         __attribute__warn_unused_result__;
1501
1502 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1503                         __attribute__deprecated__
1504                         __attribute__warn_unused_result__;
1505
1506 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1507                         __attribute__deprecated__
1508                         __attribute__warn_unused_result__;
1509
1510 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1511                         __attribute__deprecated__
1512                         __attribute__warn_unused_result__;
1513
1514 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1515                         __attribute__deprecated__
1516                         __attribute__warn_unused_result__;
1517
1518 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1519                         __attribute__deprecated__
1520                         __attribute__warn_unused_result__;
1521
1522 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1523                         __attribute__deprecated__
1524                         __attribute__warn_unused_result__;
1525
1526 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1527                         __attribute__deprecated__
1528                         __attribute__warn_unused_result__;
1529
1530 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1531                         __attribute__deprecated__
1532                         __attribute__warn_unused_result__;
1533
1534 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1535                         __attribute__deprecated__
1536                         __attribute__warn_unused_result__
1537                         __attribute__pure__;
1538
1539 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1540                         __attribute__deprecated__
1541                         __attribute__warn_unused_result__
1542                         __attribute__pure__;
1543
1544 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1545                         __attribute__deprecated__
1546                         __attribute__warn_unused_result__;
1547
1548 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1549                         __attribute__deprecated__
1550                         __attribute__warn_unused_result__;
1551
1552 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1553                         __attribute__deprecated__
1554                         __attribute__warn_unused_result__
1555                         __attribute__pure__;
1556
1557 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1558                         __attribute__deprecated__
1559                         __attribute__warn_unused_result__
1560                         __attribute__pure__;
1561
1562 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1563                         __attribute__deprecated__
1564                         __attribute__warn_unused_result__;
1565 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1566         assert(p)
1567
1568 PERL_CALLCONV bool      Perl_is_utf8_alnumc(pTHX_ const U8 *p)
1569                         __attribute__deprecated__
1570                         __attribute__warn_unused_result__;
1571 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1572         assert(p)
1573
1574 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1575                         __attribute__deprecated__
1576                         __attribute__warn_unused_result__;
1577 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1578         assert(p)
1579
1580 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1581                         __attribute__deprecated__
1582                         __attribute__warn_unused_result__;
1583 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1584         assert(p)
1585
1586 PERL_CALLCONV bool      Perl_is_utf8_blank(pTHX_ const U8 *p)
1587                         __attribute__deprecated__
1588                         __attribute__warn_unused_result__;
1589 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK  \
1590         assert(p)
1591
1592 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1593                         __attribute__deprecated__;
1594 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1595         assert(s)
1596
1597 #ifndef NO_MATHOMS
1598 PERL_CALLCONV STRLEN    Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1599 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
1600         assert(buf); assert(buf_end)
1601 #endif
1602 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1603                         __attribute__deprecated__
1604                         __attribute__warn_unused_result__;
1605 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1606         assert(p)
1607
1608 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1609                         __attribute__deprecated__
1610                         __attribute__warn_unused_result__;
1611 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1612         assert(p)
1613
1614 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1615 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1616 #ifndef PERL_NO_INLINE_FUNCTIONS
1617 PERL_STATIC_INLINE bool S_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1618 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS   \
1619         assert(s)
1620 #endif
1621 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1622                         __attribute__deprecated__
1623                         __attribute__warn_unused_result__;
1624 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1625         assert(p)
1626
1627 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1628                         __attribute__deprecated__
1629                         __attribute__warn_unused_result__;
1630 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1631         assert(p)
1632
1633 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1634                         __attribute__deprecated__
1635                         __attribute__warn_unused_result__;
1636 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1637         assert(p)
1638
1639 /* PERL_CALLCONV bool   is_utf8_invariant_string(const U8* const s, STRLEN len)
1640                         __attribute__warn_unused_result__; */
1641
1642 #ifndef PERL_NO_INLINE_FUNCTIONS
1643 PERL_STATIC_INLINE bool S_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
1644                         __attribute__warn_unused_result__;
1645 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC   \
1646         assert(s)
1647 #endif
1648
1649 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1650                         __attribute__deprecated__
1651                         __attribute__warn_unused_result__;
1652 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1653         assert(p)
1654
1655 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1656                         __attribute__deprecated__
1657                         __attribute__warn_unused_result__;
1658 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1659         assert(p)
1660
1661 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1662                         __attribute__deprecated__
1663                         __attribute__warn_unused_result__;
1664 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
1665         assert(p)
1666
1667 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1668                         __attribute__deprecated__
1669                         __attribute__warn_unused_result__;
1670 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
1671         assert(p)
1672
1673 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1674                         __attribute__deprecated__
1675                         __attribute__warn_unused_result__;
1676 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
1677         assert(p)
1678
1679 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1680                         __attribute__deprecated__
1681                         __attribute__warn_unused_result__;
1682 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1683         assert(p)
1684
1685 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1686                         __attribute__deprecated__
1687                         __attribute__warn_unused_result__;
1688 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1689         assert(p)
1690
1691 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1692                         __attribute__deprecated__
1693                         __attribute__warn_unused_result__;
1694 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1695         assert(p)
1696
1697 /* PERL_CALLCONV bool   Perl_is_utf8_string(const U8 *s, STRLEN len)
1698                         __attribute__warn_unused_result__; */
1699
1700 #ifndef PERL_NO_INLINE_FUNCTIONS
1701 PERL_STATIC_INLINE bool S_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
1702                         __attribute__warn_unused_result__;
1703 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS   \
1704         assert(s)
1705 #endif
1706
1707 #ifndef NO_MATHOMS
1708 PERL_CALLCONV bool      Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep);
1709 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1710         assert(s); assert(ep)
1711 #endif
1712 /* PERL_CALLCONV bool   is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1713 #ifndef PERL_NO_INLINE_FUNCTIONS
1714 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1715 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1716         assert(s)
1717 #endif
1718 #ifndef PERL_NO_INLINE_FUNCTIONS
1719 PERL_STATIC_INLINE bool S_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1720 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS    \
1721         assert(s)
1722 #endif
1723 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1724                         __attribute__deprecated__
1725                         __attribute__warn_unused_result__;
1726 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1727         assert(p)
1728
1729 /* PERL_CALLCONV bool   is_utf8_valid_partial_char(const U8 * const s, const U8 * const e)
1730                         __attribute__warn_unused_result__
1731                         __attribute__pure__; */
1732
1733 #ifndef PERL_NO_INLINE_FUNCTIONS
1734 PERL_STATIC_INLINE bool S_is_utf8_valid_partial_char_flags(const U8 * const s, const U8 * const e, const U32 flags)
1735                         __attribute__warn_unused_result__;
1736 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS       \
1737         assert(s); assert(e)
1738 #endif
1739
1740 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1741                         __attribute__deprecated__
1742                         __attribute__warn_unused_result__;
1743 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1744         assert(p)
1745
1746 PERL_CALLCONV bool      Perl_is_utf8_xidcont(pTHX_ const U8 *p)
1747                         __attribute__deprecated__
1748                         __attribute__warn_unused_result__;
1749 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT        \
1750         assert(p)
1751
1752 PERL_CALLCONV bool      Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
1753                         __attribute__deprecated__
1754                         __attribute__warn_unused_result__;
1755 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST       \
1756         assert(p)
1757
1758 PERL_CALLCONV bool      Perl_isinfnan(NV nv)
1759                         __attribute__warn_unused_result__
1760                         __attribute__pure__;
1761
1762 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv);
1763 #define PERL_ARGS_ASSERT_ISINFNANSV     \
1764         assert(sv)
1765 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o);
1766 #define PERL_ARGS_ASSERT_JMAYBE \
1767         assert(o)
1768 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1769                         __attribute__warn_unused_result__
1770                         __attribute__pure__;
1771 #define PERL_ARGS_ASSERT_KEYWORD        \
1772         assert(name)
1773
1774 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
1775 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
1776         assert(keyword_ptr); assert(op_ptr)
1777 PERL_CALLCONV void      Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1778 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS    \
1779         assert(from_sp); assert(to_sp)
1780 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1781 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1782 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr);
1783 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1784         assert(ptr)
1785 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1786 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1787 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1788 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1789 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr);
1790 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1791         assert(ptr)
1792 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1793 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
1794 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
1795 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
1796         assert(pv)
1797 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
1798 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1799         assert(pv)
1800 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
1801 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1802         assert(sv)
1803 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr);
1804 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1805         assert(ptr)
1806 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1807 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
1808 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1809         assert(name)
1810 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex);
1811 #define PERL_ARGS_ASSERT_LOCALIZE       \
1812         assert(o)
1813 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1814                         __attribute__warn_unused_result__;
1815 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1816         assert(sv)
1817
1818 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
1819 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1820         assert(sv); assert(mg)
1821 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg);
1822 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
1823         assert(sv); assert(mg)
1824 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
1825 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1826         assert(sv); assert(mg)
1827 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg);
1828 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1829         assert(sv); assert(mg)
1830 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg);
1831 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1832         assert(sv); assert(mg)
1833 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg);
1834 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1835         assert(mg)
1836 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
1837 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1838         assert(sv); assert(mg)
1839 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
1840 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1841         assert(sv); assert(mg)
1842 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen);
1843 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
1844         assert(sv); assert(mg); assert(nsv)
1845 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
1846 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg);
1847 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1848         assert(sv); assert(mg)
1849 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg);
1850 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1851         assert(sv); assert(mg)
1852 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg);
1853 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1854         assert(sv); assert(mg)
1855 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
1856 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1857         assert(sv); assert(mg)
1858 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg);
1859 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1860         assert(sv); assert(mg)
1861 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg);
1862 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
1863         assert(sv); assert(mg)
1864 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
1865 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1866         assert(sv); assert(mg)
1867 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
1868 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1869         assert(sv); assert(mg)
1870 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
1871 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1872         assert(sv); assert(mg)
1873 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
1874 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1875         assert(sv); assert(mg)
1876 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
1877 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1878         assert(sv); assert(mg)
1879 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
1880 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1881         assert(sv); assert(mg)
1882 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
1883 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1884         assert(sv); assert(mg)
1885 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
1886 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1887         assert(sv); assert(mg)
1888 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
1889 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1890         assert(sv); assert(mg)
1891 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
1892 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
1893         assert(sv); assert(mg)
1894 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...);
1895 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1896         assert(sv); assert(mg); assert(meth)
1897 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key);
1898 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1899         assert(sv); assert(mg); assert(key)
1900 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
1901 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1902         assert(sv); assert(mg)
1903 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
1904 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1905         assert(sv); assert(mg)
1906 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg);
1907 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
1908         assert(hv); assert(mg)
1909 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
1910 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1911         assert(sv); assert(mg)
1912 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
1913 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1914         assert(sv); assert(mg)
1915 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
1916 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1917         assert(sv); assert(mg)
1918 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
1919 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1920         assert(sv); assert(mg)
1921 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg);
1922 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
1923         assert(sv); assert(mg)
1924 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
1925 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1926         assert(sv); assert(mg)
1927 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
1928 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1929         assert(sv); assert(mg)
1930 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg);
1931 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1932         assert(sv); assert(mg)
1933 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
1934 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1935         assert(sv); assert(mg)
1936 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg);
1937 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
1938         assert(sv); assert(mg)
1939 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
1940 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1941         assert(sv); assert(mg)
1942 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
1943 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1944         assert(sv); assert(mg)
1945 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
1946 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1947         assert(sv); assert(mg)
1948 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
1949 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1950         assert(sv); assert(mg)
1951 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg);
1952 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1953         assert(sv); assert(mg)
1954 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
1955 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1956         assert(mg)
1957 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
1958 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1959         assert(sv); assert(mg)
1960 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
1961 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1962         assert(sv); assert(mg)
1963 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg);
1964 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1965         assert(sv); assert(mg)
1966 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
1967 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1968         assert(sv); assert(mg)
1969 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
1970 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1971         assert(sv); assert(mg)
1972 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
1973 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1974         assert(sv); assert(mg)
1975 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
1976 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1977         assert(sv); assert(mg)
1978 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
1979                         __attribute__malloc__
1980                         __attribute__warn_unused_result__;
1981
1982 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
1983 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1984                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1985 #define PERL_ARGS_ASSERT_MESS   \
1986         assert(pat)
1987
1988 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
1989 #define PERL_ARGS_ASSERT_MESS_SV        \
1990         assert(basemsg)
1991 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
1992 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv);
1993 #define PERL_ARGS_ASSERT_MG_CLEAR       \
1994         assert(sv)
1995 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
1996 #define PERL_ARGS_ASSERT_MG_COPY        \
1997         assert(sv); assert(nsv)
1998 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
1999                         __attribute__warn_unused_result__;
2000
2001 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
2002                         __attribute__warn_unused_result__;
2003 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
2004         assert(sv)
2005
2006 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2007                         __attribute__warn_unused_result__;
2008
2009 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv);
2010 #define PERL_ARGS_ASSERT_MG_FREE        \
2011         assert(sv)
2012 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how);
2013 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
2014         assert(sv)
2015 PERL_CALLCONV void      Perl_mg_freeext(pTHX_ SV* sv, int how, const MGVTBL *vtbl);
2016 #define PERL_ARGS_ASSERT_MG_FREEEXT     \
2017         assert(sv)
2018 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv);
2019 #define PERL_ARGS_ASSERT_MG_GET \
2020         assert(sv)
2021 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2022                         __attribute__deprecated__;
2023 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2024         assert(sv)
2025
2026 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic);
2027 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2028         assert(sv); assert(nsv)
2029 PERL_CALLCONV void      Perl_mg_magical(SV* sv);
2030 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2031         assert(sv)
2032 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv);
2033 #define PERL_ARGS_ASSERT_MG_SET \
2034         assert(sv)
2035 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv);
2036 #define PERL_ARGS_ASSERT_MG_SIZE        \
2037         assert(sv)
2038 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm);
2039 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2040         assert(ptm)
2041 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2042 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2043 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s);
2044 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2045         assert(s)
2046 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name);
2047 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2048         assert(name)
2049 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash);
2050 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2051         assert(stash)
2052 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
2053 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2054         assert(smeta); assert(which)
2055 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash);
2056 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2057         assert(stash)
2058 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash);
2059 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
2060         assert(stash)
2061 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash);
2062 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2063         assert(stash)
2064 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2065 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2066         assert(gv)
2067 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro);
2068 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
2069         assert(mro)
2070 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
2071 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
2072         assert(meta); assert(name)
2073 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
2074 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2075         assert(smeta); assert(which); assert(data)
2076 PERL_CALLCONV SV*       Perl_multiconcat_stringify(pTHX_ const OP* o);
2077 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY  \
2078         assert(o)
2079 PERL_CALLCONV SV*       Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
2080 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
2081         assert(o)
2082 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s);
2083 #define PERL_ARGS_ASSERT_MY_ATOF        \
2084         assert(s)
2085 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value);
2086 #define PERL_ARGS_ASSERT_MY_ATOF2       \
2087         assert(s); assert(value)
2088 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs);
2089 #define PERL_ARGS_ASSERT_MY_ATTRS       \
2090         assert(o)
2091 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
2092 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
2093 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
2094                         __attribute__noreturn__;
2095
2096 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
2097                         __attribute__noreturn__;
2098
2099 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2100 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2101 #ifndef NO_MATHOMS
2102 PERL_CALLCONV I32       Perl_my_lstat(pTHX);
2103 #endif
2104 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2105 PERL_CALLCONV int       Perl_my_mkstemp_cloexec(char *templte)
2106                         __attribute__warn_unused_result__;
2107 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC     \
2108         assert(templte)
2109
2110 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
2111 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2112         assert(mode); assert(args)
2113 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2114 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2115                         __attribute__format__(__printf__,3,4);
2116 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
2117         assert(buffer); assert(format)
2118
2119 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2120 #ifndef NO_MATHOMS
2121 PERL_CALLCONV I32       Perl_my_stat(pTHX);
2122 #endif
2123 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2124 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
2125 PERL_CALLCONV char *    Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
2126                         __attribute__format__(__strftime__,pTHX_1,0);
2127 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2128         assert(fmt)
2129
2130 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2131 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2132 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2133         assert(buffer); assert(format)
2134 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2135 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2136                         __attribute__warn_unused_result__;
2137
2138 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2139                         __attribute__warn_unused_result__;
2140
2141 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2142 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2143                         __attribute__warn_unused_result__;
2144
2145 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2146 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2147 #ifndef NO_MATHOMS
2148 PERL_CALLCONV AV*       Perl_newAV(pTHX)
2149                         __attribute__warn_unused_result__;
2150 #endif
2151
2152 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2153                         __attribute__warn_unused_result__;
2154 #define PERL_ARGS_ASSERT_NEWAVREF       \
2155         assert(o)
2156
2157 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2158                         __attribute__warn_unused_result__;
2159
2160 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2161                         __attribute__warn_unused_result__;
2162 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2163         assert(first)
2164
2165 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2166 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2167 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2168                         __attribute__warn_unused_result__;
2169
2170 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2171                         __attribute__warn_unused_result__;
2172
2173 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2174 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2175                         __attribute__warn_unused_result__;
2176 #define PERL_ARGS_ASSERT_NEWFOROP       \
2177         assert(expr)
2178
2179 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2180                         __attribute__warn_unused_result__;
2181 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2182         assert(cond); assert(block)
2183
2184 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2185 #define PERL_ARGS_ASSERT_NEWGP  \
2186         assert(gv)
2187 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2188                         __attribute__warn_unused_result__;
2189 #define PERL_ARGS_ASSERT_NEWGVOP        \
2190         assert(gv)
2191
2192 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2193                         __attribute__warn_unused_result__;
2194
2195 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2196 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2197                         __attribute__warn_unused_result__;
2198 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2199         assert(pack)
2200
2201 #ifndef NO_MATHOMS
2202 PERL_CALLCONV HV*       Perl_newHV(pTHX)
2203                         __attribute__warn_unused_result__;
2204 #endif
2205
2206 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2207                         __attribute__warn_unused_result__;
2208 #define PERL_ARGS_ASSERT_NEWHVREF       \
2209         assert(o)
2210
2211 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2212                         __attribute__warn_unused_result__;
2213
2214 #ifndef NO_MATHOMS
2215 PERL_CALLCONV IO*       Perl_newIO(pTHX)
2216                         __attribute__warn_unused_result__;
2217 #endif
2218
2219 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2220                         __attribute__warn_unused_result__;
2221
2222 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2223                         __attribute__warn_unused_result__;
2224 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2225         assert(first); assert(other)
2226
2227 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2228                         __attribute__warn_unused_result__;
2229 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2230         assert(label)
2231
2232 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2233                         __attribute__warn_unused_result__;
2234
2235 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2236                         __attribute__warn_unused_result__;
2237 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2238         assert(dynamic_meth)
2239
2240 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2241                         __attribute__warn_unused_result__;
2242 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2243         assert(const_meth)
2244
2245 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2246 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2247         assert(o)
2248 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2249                         __attribute__warn_unused_result__;
2250
2251 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2252                         __attribute__warn_unused_result__;
2253
2254 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2255                         __attribute__warn_unused_result__;
2256
2257 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2258                         __attribute__warn_unused_result__;
2259 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2260         assert(outer)
2261
2262 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2263                         __attribute__warn_unused_result__;
2264 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2265         assert(s)
2266
2267 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2268                         __attribute__warn_unused_result__;
2269
2270 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2271 #define PERL_ARGS_ASSERT_NEWPROG        \
2272         assert(o)
2273 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2274                         __attribute__warn_unused_result__;
2275
2276 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2277                         __attribute__warn_unused_result__;
2278 #define PERL_ARGS_ASSERT_NEWRANGE       \
2279         assert(left); assert(right)
2280
2281 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2282                         __attribute__warn_unused_result__;
2283 #define PERL_ARGS_ASSERT_NEWRV  \
2284         assert(sv)
2285
2286 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2287                         __attribute__warn_unused_result__;
2288 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2289         assert(tmpRef)
2290
2291 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2292                         __attribute__warn_unused_result__;
2293
2294 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2295                         __attribute__warn_unused_result__;
2296
2297 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake);
2298 #define PERL_ARGS_ASSERT_NEWSTUB        \
2299         assert(gv)
2300 #ifndef NO_MATHOMS
2301 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2302 #endif
2303 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2304                         __attribute__warn_unused_result__;
2305
2306 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2307                         __attribute__warn_unused_result__;
2308 #define PERL_ARGS_ASSERT_NEWSVOP        \
2309         assert(sv)
2310
2311 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2312                         __attribute__warn_unused_result__;
2313 #define PERL_ARGS_ASSERT_NEWSVREF       \
2314         assert(o)
2315
2316 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2317                         __attribute__warn_unused_result__;
2318
2319 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2320                         __attribute__warn_unused_result__;
2321 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2322         assert(av)
2323
2324 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2325                         __attribute__warn_unused_result__;
2326
2327 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2328                         __attribute__warn_unused_result__;
2329
2330 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2331                         __attribute__warn_unused_result__;
2332
2333 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2334                         __attribute__warn_unused_result__;
2335
2336 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2337                         __attribute__warn_unused_result__;
2338
2339 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2340                         __attribute__warn_unused_result__
2341                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2342 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2343         assert(pat)
2344
2345 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2346                         __attribute__warn_unused_result__;
2347
2348 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2349                         __attribute__warn_unused_result__;
2350
2351 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2352                         __attribute__warn_unused_result__;
2353
2354 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2355 #define PERL_ARGS_ASSERT_NEWSVRV        \
2356         assert(rv)
2357 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2358                         __attribute__warn_unused_result__;
2359
2360 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2361                         __attribute__warn_unused_result__;
2362
2363 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2364                         __attribute__warn_unused_result__;
2365
2366 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2367                         __attribute__warn_unused_result__;
2368
2369 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2370                         __attribute__warn_unused_result__;
2371 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2372         assert(block)
2373
2374 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2375                         __attribute__warn_unused_result__;
2376
2377 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2378 #define PERL_ARGS_ASSERT_NEWXS  \
2379         assert(subaddr); assert(filename)
2380 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2381 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2382         assert(name); assert(subaddr)
2383 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2384 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2385         assert(subaddr); assert(filename)
2386 PERL_CALLCONV CV *      Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags);
2387 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2388         assert(subaddr)
2389 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2390 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2391                         __attribute__warn_unused_result__;
2392
2393 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2394 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2395         assert(ver)
2396 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2397                         __attribute__warn_unused_result__;
2398 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2399         assert(bits)
2400
2401 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen);
2402 #define PERL_ARGS_ASSERT_NEXTARGV       \
2403         assert(gv)
2404 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2405                         __attribute__noreturn__
2406                         __attribute__format__(__printf__,1,2);
2407 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2408         assert(pat)
2409
2410 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2411 PERL_CALLCONV void      Perl_notify_parser_that_changed_to_utf8(pTHX);
2412 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2413                         __attribute__warn_unused_result__;
2414 #define PERL_ARGS_ASSERT_OOPSAV \
2415         assert(o)
2416
2417 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2418                         __attribute__warn_unused_result__;
2419 #define PERL_ARGS_ASSERT_OOPSHV \
2420         assert(o)
2421
2422 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2423 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2424 PERL_CALLCONV OPclass   Perl_op_class(pTHX_ const OP *o);
2425 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
2426 #define PERL_ARGS_ASSERT_OP_CLEAR       \
2427         assert(o)
2428 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
2429 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
2430         assert(o)
2431 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
2432                         __attribute__warn_unused_result__;
2433
2434 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
2435 #define PERL_ARGS_ASSERT_OP_DUMP        \
2436         assert(o)
2437 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2438 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
2439 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
2440         assert(o)
2441 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
2442 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
2443 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
2444 #define PERL_ARGS_ASSERT_OP_NULL        \
2445         assert(o)
2446 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
2447 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
2448 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
2449 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
2450 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
2451 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
2452 PERL_CALLCONV void      Perl_optimize_optree(pTHX_ OP* o);
2453 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE        \
2454         assert(o)
2455 PERL_CALLCONV void      Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags);
2456 #define PERL_ARGS_ASSERT_PACK_CAT       \
2457         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2458 PERL_CALLCONV void      Perl_package(pTHX_ OP* o);
2459 #define PERL_ARGS_ASSERT_PACKAGE        \
2460         assert(o)
2461 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v);
2462 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2463         assert(v)
2464 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
2465 #define PERL_ARGS_ASSERT_PACKLIST       \
2466         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2467 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
2468 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
2469         assert(func)
2470 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
2471 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
2472         assert(name)
2473 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
2474 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
2475         assert(namepv)
2476 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
2477 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
2478         assert(name)
2479 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func);
2480 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
2481         assert(func)
2482 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2483 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
2484 #ifndef NO_MATHOMS
2485 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
2486                         __attribute__warn_unused_result__;
2487 #endif
2488
2489 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
2490 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
2491         assert(name)
2492 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
2493 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
2494         assert(namepv)
2495 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
2496 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
2497         assert(name)
2498 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv);
2499 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
2500         assert(padlist); assert(old_cv); assert(new_cv)
2501 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2502 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
2503 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
2504                         __attribute__warn_unused_result__;
2505
2506 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
2507 #define PERL_ARGS_ASSERT_PAD_PUSH       \
2508         assert(padlist)
2509 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2510 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
2511 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val);
2512 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
2513         assert(padlist)
2514 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
2515 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
2516         assert(pn)
2517 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
2518                         __attribute__warn_unused_result__;
2519 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
2520         assert(pnl)
2521
2522 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
2523 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
2524         assert(pnl)
2525 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
2526 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
2527         assert(pnl)
2528 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
2529 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
2530 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
2531 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
2532 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
2533 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
2534 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
2535 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
2536 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
2537 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt);
2538 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
2539         assert(popt)
2540 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser);
2541 #define PERL_ARGS_ASSERT_PARSER_FREE    \
2542         assert(parser)
2543 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2544 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
2545 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
2546 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
2547         assert(my_perl)
2548 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
2549 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
2550         assert(my_perl)
2551 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
2552 #define PERL_ARGS_ASSERT_PERL_FREE      \
2553         assert(my_perl)
2554 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
2555 #define PERL_ARGS_ASSERT_PERL_PARSE     \
2556         assert(my_perl)
2557 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
2558 #define PERL_ARGS_ASSERT_PERL_RUN       \
2559         assert(my_perl)
2560 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
2561 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor);
2562 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2563         assert(o); assert(expr)
2564 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2565 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...);
2566 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
2567         assert(name)
2568 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
2569 #define PERL_ARGS_ASSERT_PREGCOMP       \
2570         assert(pattern)
2571 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
2572 #define PERL_ARGS_ASSERT_PREGEXEC       \
2573         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2574 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2575 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
2576 #define PERL_ARGS_ASSERT_PREGFREE2      \
2577         assert(rx)
2578 PERL_CALLCONV const char*       Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
2579 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2580         assert(s)
2581 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
2582                         __attribute__deprecated__;
2583
2584 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
2585                         __attribute__warn_unused_result__;
2586 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
2587         assert(tbl)
2588
2589 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
2590 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
2591                         __attribute__warn_unused_result__;
2592
2593 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
2594 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
2595         assert(tbl)
2596 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
2597 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
2598         assert(tbl); assert(newsv)
2599 PERL_CALLCONV void      Perl_push_scope(pTHX);
2600 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
2601 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
2602         assert(dsv); assert(pv)
2603 PERL_CALLCONV char*     Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags);
2604 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
2605         assert(str)
2606 PERL_CALLCONV char*     Perl_pv_pretty(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags);
2607 #define PERL_ARGS_ASSERT_PV_PRETTY      \
2608         assert(dsv); assert(str)
2609 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
2610 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
2611         assert(dsv); assert(spv)
2612 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
2613 #define PERL_ARGS_ASSERT_QERROR \
2614         assert(err)
2615 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
2616 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2617         assert(pattern)
2618 PERL_CALLCONV char*     Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data);
2619 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2620         assert(rx); assert(strbeg); assert(strpos); assert(strend)
2621 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
2622 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2623         assert(r)
2624 PERL_CALLCONV REGEXP*   Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, U32 rx_flags, U32 pm_flags);
2625 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
2626         assert(eng)
2627 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
2628                         __attribute__warn_unused_result__;
2629
2630 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2631 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2632 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
2633 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2634         assert(f)
2635 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2636 #ifndef NO_MATHOMS
2637 PERL_CALLCONV OP*       Perl_ref(pTHX_ OP* o, I32 type);
2638 #endif
2639 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
2640 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
2641 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
2642         assert(key)
2643 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
2644 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
2645         assert(keypv)
2646 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
2647 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
2648         assert(key)
2649 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
2650 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
2651 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
2652 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
2653         assert(key)
2654 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
2655 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
2656         assert(keypv)
2657 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
2658 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
2659         assert(key)
2660 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
2661 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2662         assert(rx)
2663 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
2664 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2665         assert(rx)
2666 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
2667 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2668         assert(rx); assert(key)
2669 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
2670 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2671         assert(rx); assert(namesv)
2672 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
2673 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2674         assert(rx)
2675 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
2676 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2677         assert(rx)
2678 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
2679 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2680         assert(rx)
2681 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
2682 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2683         assert(rx)
2684 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
2685 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2686         assert(rx)
2687 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
2688 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2689         assert(rx); assert(sv)
2690 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
2691 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2692         assert(rx)
2693 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
2694 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2695         assert(rx)
2696 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
2697 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2698         assert(ssv)
2699 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp);
2700 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2701         assert(node)
2702 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
2703 #define PERL_ARGS_ASSERT_REGDUMP        \
2704         assert(r)
2705 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
2706 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2707         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2708 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
2709 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2710         assert(rx)
2711 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
2712 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2713                         __attribute__warn_unused_result__;
2714
2715 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
2716 #define PERL_ARGS_ASSERT_REPEATCPY      \
2717         assert(to); assert(from)
2718 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
2719 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
2720 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
2721 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
2722 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2723         assert(pv)
2724 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2725                         __attribute__warn_unused_result__
2726                         __attribute__pure__;
2727 #define PERL_ARGS_ASSERT_RNINSTR        \
2728         assert(big); assert(bigend); assert(little); assert(lend)
2729
2730 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
2731 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2732 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2733 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save);
2734 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2735         assert(save)
2736 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2737 PERL_CALLCONV int       Perl_runops_debug(pTHX);
2738 PERL_CALLCONV int       Perl_runops_standard(pTHX);
2739 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
2740 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
2741         assert(cvop)
2742 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx);
2743 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2744         assert(rsp); assert(rx)
2745 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
2746                         __attribute__malloc__
2747                         __attribute__warn_unused_result__;
2748
2749 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
2750 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
2751                         __attribute__malloc__
2752                         __attribute__warn_unused_result__;
2753
2754 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
2755                         __attribute__warn_unused_result__;
2756
2757 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
2758 #define PERL_ARGS_ASSERT_SAVE_I16       \
2759         assert(intp)
2760 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
2761 #define PERL_ARGS_ASSERT_SAVE_I32       \
2762         assert(intp)
2763 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
2764 #define PERL_ARGS_ASSERT_SAVE_I8        \
2765         assert(bytep)
2766 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
2767 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2768         assert(av)
2769 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
2770 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
2771 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2772         assert(av); assert(sptr)
2773 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2774 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
2775 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2776         assert(aptr)
2777 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
2778 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2779         assert(gv)
2780 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
2781 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2782         assert(boolp)
2783 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
2784 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2785         assert(svp)
2786 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
2787 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2788         assert(hv); assert(key)
2789 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
2790 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2791         assert(p)
2792 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2793 #ifndef NO_MATHOMS
2794 PERL_CALLCONV void      Perl_save_freeop(pTHX_ OP* o);
2795 #endif
2796 #ifndef NO_MATHOMS
2797 PERL_CALLCONV void      Perl_save_freepv(pTHX_ char* pv);
2798 #endif
2799 #ifndef NO_MATHOMS
2800 PERL_CALLCONV void      Perl_save_freesv(pTHX_ SV* sv);
2801 #endif
2802 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
2803 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2804         assert(str)
2805 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
2806 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2807         assert(sptr)
2808 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
2809 #define PERL_ARGS_ASSERT_SAVE_GP        \
2810         assert(gv)
2811 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
2812 #define PERL_ARGS_ASSERT_SAVE_HASH      \
2813         assert(gv)
2814 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
2815 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2816         assert(hv); assert(keysv)
2817 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
2818 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
2819 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
2820         assert(hv); assert(key); assert(sptr)
2821 PERL_CALLCONV void      Perl_save_hints(pTHX);
2822 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
2823 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
2824         assert(hptr)
2825 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
2826 #define PERL_ARGS_ASSERT_SAVE_INT       \
2827         assert(intp)
2828 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
2829 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
2830         assert(item)
2831 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
2832 #define PERL_ARGS_ASSERT_SAVE_IV        \
2833         assert(ivp)
2834 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg);
2835 #define PERL_ARGS_ASSERT_SAVE_LIST      \
2836         assert(sarg)
2837 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp);
2838 #define PERL_ARGS_ASSERT_SAVE_LONG      \
2839         assert(longp)
2840 #ifndef NO_MATHOMS
2841 PERL_CALLCONV void      Perl_save_mortalizesv(pTHX_ SV* sv);
2842 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
2843         assert(sv)
2844 #endif
2845 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv);
2846 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
2847         assert(gv)
2848 #ifndef NO_MATHOMS
2849 PERL_CALLCONV void      Perl_save_op(pTHX);
2850 #endif
2851 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2852 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
2853 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
2854         assert(pptr)
2855 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
2856 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
2857 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
2858 PERL_CALLCONV void      Perl_save_re_context(pTHX);
2859 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
2860 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
2861         assert(gv)
2862 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
2863 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
2864         assert(sv)
2865 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
2866 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
2867         assert(str)
2868 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
2869 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
2870         assert(sptr)
2871 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
2872 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
2873         assert(ptr)
2874 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
2875 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
2876         assert(sptr)
2877 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
2878 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
2879         assert(ptr)
2880 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2881                         __attribute__malloc__
2882                         __attribute__warn_unused_result__;
2883
2884 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2885                         __attribute__malloc__
2886                         __attribute__warn_unused_result__;
2887
2888 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2889                         __attribute__malloc__
2890                         __attribute__warn_unused_result__;
2891
2892 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2893                         __attribute__malloc__
2894                         __attribute__warn_unused_result__;
2895
2896 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
2897                         __attribute__malloc__
2898                         __attribute__warn_unused_result__;
2899 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
2900         assert(sv)
2901
2902 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2903 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2904 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2905                         __attribute__malloc__
2906                         __attribute__warn_unused_result__;
2907 #define PERL_ARGS_ASSERT_SAVESVPV       \
2908         assert(sv)
2909
2910 PERL_CALLCONV void      Perl_savetmps(pTHX);
2911 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
2912 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
2913 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o);
2914 #define PERL_ARGS_ASSERT_SCALARVOID     \
2915         assert(o)
2916 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2917 #define PERL_ARGS_ASSERT_SCAN_BIN       \
2918         assert(start); assert(retlen)
2919 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2920 #define PERL_ARGS_ASSERT_SCAN_HEX       \
2921         assert(start); assert(retlen)
2922 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
2923 #define PERL_ARGS_ASSERT_SCAN_NUM       \
2924         assert(s); assert(lvalp)
2925 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2926 #define PERL_ARGS_ASSERT_SCAN_OCT       \
2927         assert(start); assert(retlen)
2928 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
2929 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2930         assert(s); assert(rv)
2931 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
2932 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2933         assert(s); assert(e); assert(sv)
2934 PERL_CALLCONV U32       Perl_seed(pTHX);
2935 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
2936 PERL_CALLCONV void      Perl_set_context(void *t);
2937 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
2938         assert(t)
2939 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2940 PERL_CALLCONV void      Perl_set_numeric_underlying(pTHX);
2941 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
2942 #define PERL_ARGS_ASSERT_SETDEFOUT      \
2943         assert(gv)
2944 PERL_CALLCONV void      Perl_setfd_cloexec(int fd);
2945 PERL_CALLCONV void      Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd);
2946 PERL_CALLCONV void      Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd);
2947 PERL_CALLCONV void      Perl_setfd_inhexec(int fd);
2948 PERL_CALLCONV void      Perl_setfd_inhexec_for_sysfd(pTHX_ int fd);
2949 PERL_CALLCONV char*     Perl_setlocale(int category, const char* locale);
2950 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
2951 #define PERL_ARGS_ASSERT_SHARE_HEK      \
2952         assert(str)
2953 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
2954 #define PERL_ARGS_ASSERT_SORTSV \
2955         assert(cmp)
2956 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
2957 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
2958         assert(cmp)
2959 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
2960 #define PERL_ARGS_ASSERT_STACK_GROW     \
2961         assert(sp); assert(p)
2962 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io);
2963 #define PERL_ARGS_ASSERT_START_GLOB     \
2964         assert(tmpglob); assert(io)
2965 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2966 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
2967                         __attribute__warn_unused_result__;
2968 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
2969         assert(sv)
2970
2971 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv);
2972 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
2973         assert(cv)
2974 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv); */
2975 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
2976 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
2977         assert(sv)
2978 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
2979 #define PERL_ARGS_ASSERT_SV_2CV \
2980         assert(st); assert(gvp)
2981 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
2982 #define PERL_ARGS_ASSERT_SV_2IO \
2983         assert(sv)
2984 #ifndef NO_MATHOMS
2985 PERL_CALLCONV IV        Perl_sv_2iv(pTHX_ SV *sv);
2986 #define PERL_ARGS_ASSERT_SV_2IV \
2987         assert(sv)
2988 #endif
2989 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
2990 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
2991         assert(sv)
2992 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
2993 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv);
2994 #define PERL_ARGS_ASSERT_SV_2NUM        \
2995         assert(sv)
2996 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
2997 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
2998         assert(sv)
2999 #ifndef NO_MATHOMS
3000 PERL_CALLCONV char*     Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3001 #define PERL_ARGS_ASSERT_SV_2PV \
3002         assert(sv)
3003 #endif
3004 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3005 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
3006         assert(sv)
3007 #ifndef NO_MATHOMS
3008 PERL_CALLCONV char*     Perl_sv_2pv_nolen(pTHX_ SV* sv)
3009                         __attribute__warn_unused_result__;
3010 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3011         assert(sv)
3012 #endif
3013
3014 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3015 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3016         assert(sv)
3017 #ifndef NO_MATHOMS
3018 PERL_CALLCONV char*     Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3019                         __attribute__warn_unused_result__;
3020 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3021         assert(sv)
3022 #endif
3023
3024 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3025 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3026         assert(sv)
3027 #ifndef NO_MATHOMS
3028 PERL_CALLCONV char*     Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3029                         __attribute__warn_unused_result__;
3030 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3031         assert(sv)
3032 #endif
3033
3034 #ifndef NO_MATHOMS
3035 PERL_CALLCONV UV        Perl_sv_2uv(pTHX_ SV *sv);
3036 #define PERL_ARGS_ASSERT_SV_2UV \
3037         assert(sv)
3038 #endif
3039 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3040 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
3041         assert(sv)
3042 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
3043 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3044         assert(sv)
3045 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3046 #define PERL_ARGS_ASSERT_SV_BLESS       \
3047         assert(sv); assert(stash)
3048 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3049 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3050         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3051 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr);
3052 #define PERL_ARGS_ASSERT_SV_CATPV       \
3053         assert(sv)
3054 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags);
3055 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3056         assert(dstr); assert(sstr)
3057 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr);
3058 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3059         assert(sv)
3060 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3061                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3062 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3063         assert(sv); assert(pat)
3064
3065 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3066                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3067 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3068         assert(sv); assert(pat)
3069
3070 #ifndef NO_MATHOMS
3071 PERL_CALLCONV void      Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3072 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3073         assert(dsv); assert(sstr)
3074 #endif
3075 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags);
3076 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
3077         assert(dstr); assert(sstr)
3078 #ifndef NO_MATHOMS
3079 PERL_CALLCONV void      Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len);
3080 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3081         assert(sv); assert(ptr)
3082 #endif
3083 #ifndef NO_MATHOMS
3084 PERL_CALLCONV void      Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr);
3085 #define PERL_ARGS_ASSERT_SV_CATSV       \
3086         assert(dstr)
3087 #endif
3088 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3089 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3090         assert(dsv)
3091 #ifndef NO_MATHOMS
3092 PERL_CALLCONV void      Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv);
3093 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3094         assert(dsv)
3095 #endif
3096 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3097 #define PERL_ARGS_ASSERT_SV_CHOP        \
3098         assert(sv)
3099 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3100 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3101 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
3102 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3103         assert(orig_sv)
3104 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3105 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3106 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3107 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3108 #ifndef NO_MATHOMS
3109 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3110 #define PERL_ARGS_ASSERT_SV_COPYPV      \
3111         assert(dsv); assert(ssv)
3112 #endif
3113 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3114 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
3115         assert(dsv); assert(ssv)
3116 /* PERL_CALLCONV void   Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3117 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3118 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3119 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3120 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3121         assert(tsv); assert(sv)
3122 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3123                         __attribute__warn_unused_result__;
3124 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3125         assert(sv); assert(name)
3126
3127 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3128                         __attribute__warn_unused_result__;
3129 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
3130         assert(sv); assert(name)
3131
3132 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3133                         __attribute__warn_unused_result__;
3134 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
3135         assert(sv); assert(name)
3136
3137 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3138                         __attribute__warn_unused_result__;
3139 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
3140         assert(sv); assert(namesv)
3141
3142 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
3143 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3144                         __attribute__warn_unused_result__;
3145 #define PERL_ARGS_ASSERT_SV_DOES        \
3146         assert(sv); assert(name)
3147
3148 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3149                         __attribute__warn_unused_result__;
3150 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
3151         assert(sv); assert(name)
3152
3153 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3154                         __attribute__warn_unused_result__;
3155 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
3156         assert(sv); assert(name)
3157
3158 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3159                         __attribute__warn_unused_result__;
3160 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
3161         assert(sv); assert(namesv)
3162
3163 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
3164 /* PERL_CALLCONV I32    sv_eq(pTHX_ SV* sv1, SV* sv2); */
3165 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3166 #ifndef NO_MATHOMS
3167 PERL_CALLCONV void      Perl_sv_force_normal(pTHX_ SV *sv);
3168 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3169         assert(sv)
3170 #endif
3171 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3172 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3173         assert(sv)
3174 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3175 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3176 #define PERL_ARGS_ASSERT_SV_FREE2       \
3177         assert(sv)
3178 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3179 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv);
3180 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3181         assert(sv)
3182 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3183 #define PERL_ARGS_ASSERT_SV_GETS        \
3184         assert(sv); assert(fp)
3185 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3186 #define PERL_ARGS_ASSERT_SV_GROW        \
3187         assert(sv)
3188 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3189 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3190 #ifndef NO_MATHOMS
3191 PERL_CALLCONV void      Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3192 #define PERL_ARGS_ASSERT_SV_INSERT      \
3193         assert(bigstr); assert(little)
3194 #endif
3195 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
3196 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3197         assert(bigstr); assert(little)
3198 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3199 #define PERL_ARGS_ASSERT_SV_ISA \
3200         assert(name)
3201 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3202 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv);
3203 #define PERL_ARGS_ASSERT_SV_IV  \
3204         assert(sv)
3205 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3206 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3207 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3208 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3209         assert(sv)
3210 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3211 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3212         assert(sv)
3213 PERL_CALLCONV MAGIC *   Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen);
3214 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3215         assert(sv)
3216 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
3217 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
3218         assert(sv)
3219 #ifndef NO_MATHOMS
3220 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3221                         __attribute__warn_unused_result__;
3222 #endif
3223
3224 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
3225                         __attribute__warn_unused_result__;
3226
3227 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3228                         __attribute__warn_unused_result__;
3229
3230 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3231 #ifndef NO_MATHOMS
3232 PERL_CALLCONV void      Perl_sv_nolocking(pTHX_ SV *sv);
3233 #endif
3234 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
3235 #ifndef NO_MATHOMS
3236 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
3237 #endif
3238 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv);
3239 #define PERL_ARGS_ASSERT_SV_NV  \
3240         assert(sv)
3241 #ifndef PERL_NO_INLINE_FUNCTIONS
3242 PERL_STATIC_INLINE bool S_sv_only_taint_gmagic(SV *sv);
3243 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
3244         assert(sv)
3245 #endif
3246 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3247 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
3248 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3249         assert(offsetp)
3250 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
3251 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
3252         assert(sv)
3253 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
3254 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3255         assert(offsetp)
3256 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
3257 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3258         assert(sv)
3259 #ifndef NO_MATHOMS
3260 PERL_CALLCONV char*     Perl_sv_pv(pTHX_ SV *sv)
3261                         __attribute__warn_unused_result__;
3262 #define PERL_ARGS_ASSERT_SV_PV  \
3263         assert(sv)
3264 #endif
3265
3266 #ifndef NO_MATHOMS
3267 PERL_CALLCONV char*     Perl_sv_pvbyte(pTHX_ SV *sv)
3268                         __attribute__warn_unused_result__;
3269 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3270         assert(sv)
3271 #endif
3272
3273 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp);
3274 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3275         assert(sv); assert(lp)
3276 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
3277 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3278         assert(sv)
3279 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp);
3280 #define PERL_ARGS_ASSERT_SV_PVN \
3281         assert(sv); assert(lp)
3282 #ifndef NO_MATHOMS
3283 PERL_CALLCONV char*     Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
3284 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3285         assert(sv)
3286 #endif
3287 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3288 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
3289         assert(sv)
3290 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp);
3291 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3292         assert(sv)
3293 #ifndef NO_MATHOMS
3294 PERL_CALLCONV char*     Perl_sv_pvutf8(pTHX_ SV *sv)
3295                         __attribute__warn_unused_result__;
3296 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3297         assert(sv)
3298 #endif
3299
3300 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp);
3301 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3302         assert(sv); assert(lp)
3303 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
3304 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3305         assert(sv)
3306 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
3307 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3308         assert(sv); assert(encoding)
3309 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
3310 #define PERL_ARGS_ASSERT_SV_REF \
3311         assert(sv)
3312 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3313                         __attribute__warn_unused_result__;
3314 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3315         assert(sv)
3316
3317 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
3318 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3319         assert(sv); assert(nsv)
3320 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3321 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
3322 #define PERL_ARGS_ASSERT_SV_RESET       \
3323         assert(s)
3324 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash);
3325 PERL_CALLCONV SV*       Perl_sv_rvunweaken(pTHX_ SV *const sv);
3326 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN  \
3327         assert(sv)
3328 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
3329 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
3330         assert(sv)
3331 PERL_CALLCONV void      Perl_sv_set_undef(pTHX_ SV *sv);
3332 #define PERL_ARGS_ASSERT_SV_SET_UNDEF   \
3333         assert(sv)
3334 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
3335 #define PERL_ARGS_ASSERT_SV_SETHEK      \
3336         assert(sv)
3337 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
3338 #define PERL_ARGS_ASSERT_SV_SETIV       \
3339         assert(sv)
3340 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
3341 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3342         assert(sv)
3343 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
3344 #define PERL_ARGS_ASSERT_SV_SETNV       \
3345         assert(sv)
3346 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
3347 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3348         assert(sv)
3349 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
3350 #define PERL_ARGS_ASSERT_SV_SETPV       \
3351         assert(sv)
3352 PERL_CALLCONV char  *   Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
3353 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE       \
3354         assert(sv)
3355 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
3356 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3357         assert(sv)
3358 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3359                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3360 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3361         assert(sv); assert(pat)
3362
3363 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3364                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3365 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3366         assert(sv); assert(pat)
3367
3368 #ifndef NO_MATHOMS
3369 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num);
3370 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3371         assert(sv)
3372 #endif
3373 #ifndef NO_MATHOMS
3374 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv);
3375 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3376         assert(sv)
3377 #endif
3378 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3379 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3380         assert(sv)
3381 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3382 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3383         assert(sv); assert(ptr)
3384 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
3385 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3386         assert(rv)
3387 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
3388 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3389         assert(rv)
3390 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
3391 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3392         assert(rv)
3393 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
3394 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3395         assert(rv); assert(pv)
3396 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
3397 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3398         assert(rv)
3399 #ifndef NO_MATHOMS
3400 PERL_CALLCONV void      Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr);
3401 #define PERL_ARGS_ASSERT_SV_SETSV       \
3402         assert(dstr)
3403 #endif
3404 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags);
3405 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
3406         assert(dstr)
3407 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr);
3408 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3409         assert(dstr)
3410 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
3411 #define PERL_ARGS_ASSERT_SV_SETUV       \
3412         assert(sv)
3413 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
3414 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3415         assert(sv)
3416 PERL_CALLCONV SV*       Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
3417 #ifndef NO_MATHOMS
3418 PERL_CALLCONV void      Perl_sv_taint(pTHX_ SV* sv);
3419 #define PERL_ARGS_ASSERT_SV_TAINT       \
3420         assert(sv)
3421 #endif
3422 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3423                         __attribute__warn_unused_result__;
3424 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3425         assert(sv)
3426
3427 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3428 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3429                         __attribute__warn_unused_result__;
3430 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3431         assert(dsv); assert(ssv)
3432
3433 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
3434 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3435         assert(sv)
3436 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
3437 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
3438         assert(sv)
3439 #ifndef NO_MATHOMS
3440 PERL_CALLCONV void      Perl_sv_unref(pTHX_ SV* sv);
3441 #define PERL_ARGS_ASSERT_SV_UNREF       \
3442         assert(sv)
3443 #endif
3444 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
3445 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3446         assert(ref)
3447 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
3448 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3449         assert(sv)
3450 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
3451 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3452         assert(sv)
3453 #ifndef NO_MATHOMS
3454 PERL_CALLCONV void      Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
3455 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3456         assert(sv)
3457 #endif
3458 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
3459 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3460         assert(sv)
3461 #ifndef NO_MATHOMS
3462 PERL_CALLCONV void      Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
3463 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3464         assert(sv)
3465 #endif
3466 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
3467 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3468         assert(sv)
3469 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
3470 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3471         assert(sv)
3472 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
3473 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3474         assert(sv)
3475 #ifndef NO_MATHOMS
3476 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade(pTHX_ SV *sv);
3477 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3478         assert(sv)
3479 #endif
3480 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
3481 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
3482 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
3483         assert(sv)
3484 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
3485 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv);
3486 #define PERL_ARGS_ASSERT_SV_UV  \
3487         assert(sv)
3488 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3489 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3490         assert(sv); assert(pat)
3491 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3492 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3493         assert(sv); assert(pat)
3494 PERL_CALLCONV void      Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
3495 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3496         assert(sv); assert(pat)
3497 PERL_CALLCONV void      Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted, const U32 flags);
3498 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
3499         assert(sv); assert(pat)
3500 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3501 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3502         assert(sv); assert(pat)
3503 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3504 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3505         assert(sv); assert(pat)
3506 PERL_CALLCONV void      Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
3507 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3508         assert(sv); assert(pat)
3509 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8);
3510 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3511         assert(swash); assert(ptr)
3512 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3513                         __attribute__warn_unused_result__;
3514 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3515         assert(pkg); assert(name); assert(listsv)
3516
3517 PERL_CALLCONV void      Perl_sync_locale(pTHX);
3518 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
3519 #define PERL_ARGS_ASSERT_SYS_INIT       \
3520         assert(argc); assert(argv)
3521 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
3522 #define PERL_ARGS_ASSERT_SYS_INIT3      \
3523         assert(argc); assert(argv); assert(env)
3524 PERL_CALLCONV void      Perl_sys_term(void);
3525 PERL_CALLCONV void      Perl_taint_env(pTHX);
3526 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
3527 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3528         assert(s)
3529 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...);
3530 #define PERL_ARGS_ASSERT_TIED_METHOD    \
3531         assert(methname); assert(sp); assert(sv); assert(mg)
3532 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
3533 /* PERL_CALLCONV UV     Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
3534 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
3535 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
3536         assert(p); assert(lenp)
3537 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
3538                         __attribute__deprecated__
3539                         __attribute__warn_unused_result__;
3540
3541 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
3542 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
3543         assert(p); assert(lenp)
3544 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
3545                         __attribute__deprecated__
3546                         __attribute__warn_unused_result__;
3547
3548 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
3549 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
3550         assert(p); assert(lenp)
3551 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
3552                         __attribute__deprecated__
3553                         __attribute__warn_unused_result__;
3554
3555 #ifndef NO_MATHOMS
3556 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3557                         __attribute__deprecated__;
3558 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3559         assert(p); assert(ustrp)
3560 #endif
3561
3562 #ifndef NO_MATHOMS
3563 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3564                         __attribute__deprecated__;
3565 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3566         assert(p); assert(ustrp)
3567 #endif
3568
3569 #ifndef NO_MATHOMS
3570 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3571                         __attribute__deprecated__;
3572 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3573         assert(p); assert(ustrp)
3574 #endif
3575
3576 #ifndef NO_MATHOMS
3577 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3578                         __attribute__deprecated__;
3579 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3580         assert(p); assert(ustrp)
3581 #endif
3582
3583 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
3584 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
3585 PERL_CALLCONV SSize_t   Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags);
3586 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3587         assert(pat); assert(patend); assert(s); assert(strend)
3588 PERL_CALLCONV SSize_t   Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
3589 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3590         assert(pat); assert(patend); assert(s); assert(strend)
3591 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3592 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3593 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
3594 #define PERL_ARGS_ASSERT_UPG_VERSION    \
3595         assert(ver)
3596 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3597 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3598         assert(p); assert(d); assert(newlen)
3599 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3600 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3601         assert(p); assert(d); assert(newlen)
3602 #ifndef PERL_NO_INLINE_FUNCTIONS
3603 PERL_STATIC_INLINE IV   Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3604                         __attribute__warn_unused_result__;
3605 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3606         assert(a); assert(b)
3607 #endif
3608
3609 #ifndef PERL_NO_INLINE_FUNCTIONS
3610 PERL_STATIC_INLINE U8*  Perl_utf8_hop(const U8 *s, SSize_t off)
3611                         __attribute__warn_unused_result__;
3612 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3613         assert(s)
3614 #endif
3615
3616 #ifndef PERL_NO_INLINE_FUNCTIONS
3617 PERL_STATIC_INLINE U8*  Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
3618                         __attribute__warn_unused_result__;
3619 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK  \
3620         assert(s); assert(start)
3621 #endif
3622
3623 #ifndef PERL_NO_INLINE_FUNCTIONS
3624 PERL_STATIC_INLINE U8*  Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
3625                         __attribute__warn_unused_result__;
3626 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD       \
3627         assert(s); assert(end)
3628 #endif
3629
3630 #ifndef PERL_NO_INLINE_FUNCTIONS
3631 PERL_STATIC_INLINE U8*  Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
3632                         __attribute__warn_unused_result__;
3633 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE  \
3634         assert(s); assert(start); assert(end)
3635 #endif
3636
3637 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3638                         __attribute__warn_unused_result__;
3639 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3640         assert(s); assert(e)
3641
3642 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
3643 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3644         assert(s); assert(lenp)
3645 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3646                         __attribute__deprecated__;
3647 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3648         assert(s)
3649
3650 PERL_CALLCONV UV        Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
3651 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF      \
3652         assert(s); assert(send)
3653 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3654                         __attribute__deprecated__;
3655 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3656         assert(s)
3657
3658 PERL_CALLCONV UV        Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
3659                         __attribute__deprecated__;
3660 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF      \
3661         assert(s); assert(send)
3662
3663 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
3664 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3665         assert(s)
3666 PERL_CALLCONV UV        Perl_utf8n_to_uvchr_error(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
3667 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR   \
3668         assert(s)
3669 PERL_CALLCONV UV        Perl_utf8n_to_uvchr_msgs(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
3670 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS    \
3671         assert(s)
3672 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags);
3673 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3674         assert(s)
3675 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg);
3676 #define PERL_ARGS_ASSERT_UTILIZE        \
3677         assert(idop)
3678 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
3679 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
3680 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, const UV flags);
3681 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
3682         assert(d)
3683 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
3684 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3685         assert(d)
3686 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
3687 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3688         assert(d)
3689 #ifndef PERL_NO_INLINE_FUNCTIONS
3690 PERL_STATIC_INLINE UV   Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
3691                         __attribute__warn_unused_result__;
3692 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
3693         assert(s)
3694 #endif
3695
3696 PERL_CALLCONV UV        Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3697                         __attribute__deprecated__;
3698 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI    \
3699         assert(s)
3700
3701 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
3702 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
3703         assert(name)
3704 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
3705 #define PERL_ARGS_ASSERT_VCMP   \
3706         assert(lhv); assert(rhv)
3707 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
3708                         __attribute__noreturn__;
3709
3710 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
3711 #define PERL_ARGS_ASSERT_VDEB   \
3712         assert(pat)
3713 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
3714 #define PERL_ARGS_ASSERT_VFORM  \
3715         assert(pat)
3716 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
3717 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3718         assert(sv)
3719 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3720                         __attribute__warn_unused_result__;
3721 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3722         assert(sv)
3723
3724 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
3725 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
3726         assert(name)
3727 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
3728 #define PERL_ARGS_ASSERT_VMESS  \
3729         assert(pat)
3730 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
3731                         __attribute__warn_unused_result__;
3732 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
3733         assert(pat)
3734
3735 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
3736 #define PERL_ARGS_ASSERT_VNORMAL        \
3737         assert(vs)
3738 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
3739 #define PERL_ARGS_ASSERT_VNUMIFY        \
3740         assert(vs)
3741 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
3742 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
3743         assert(vs)
3744 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
3745 #define PERL_ARGS_ASSERT_VVERIFY        \
3746         assert(vs)
3747 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
3748 #define PERL_ARGS_ASSERT_VWARN  \
3749         assert(pat)
3750 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
3751 #define PERL_ARGS_ASSERT_VWARNER        \
3752         assert(pat)
3753 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags);
3754 #define PERL_ARGS_ASSERT_WAIT4PID       \
3755         assert(statusp)
3756 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3757                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
3758 #define PERL_ARGS_ASSERT_WARN   \
3759         assert(pat)
3760
3761 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
3762 #define PERL_ARGS_ASSERT_WARN_SV        \
3763         assert(baseex)
3764 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3765                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3766 #define PERL_ARGS_ASSERT_WARNER \
3767         assert(pat)
3768
3769 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
3770                         __attribute__warn_unused_result__;
3771
3772 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr);
3773 #define PERL_ARGS_ASSERT_WATCH  \
3774         assert(addr)
3775 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
3776 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
3777 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
3778         assert(sig)
3779 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
3780 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
3781         assert(sig)
3782 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
3783 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
3784         assert(sigsv)
3785 PERL_CALLCONV void      Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
3786 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN    \
3787         assert(new_plugin); assert(old_plugin_p)
3788 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
3789 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
3790         assert(new_checker); assert(old_checker_p)
3791 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv);
3792 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3793         assert(msv)
3794 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
3795 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
3796 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
3797         assert(v_my_perl); assert(file)
3798 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s);
3799 #define PERL_ARGS_ASSERT_YYERROR        \
3800         assert(s)
3801 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags);
3802 #define PERL_ARGS_ASSERT_YYERROR_PV     \
3803         assert(s)
3804 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags);
3805 PERL_CALLCONV int       Perl_yylex(pTHX);
3806 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
3807 PERL_CALLCONV void      Perl_yyquit(pTHX);
3808 PERL_CALLCONV void      Perl_yyunlex(pTHX);
3809 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
3810 #ifndef PERL_NO_INLINE_FUNCTIONS
3811 PERL_STATIC_INLINE void *       S_my_memrchr(const char * s, const char c, const STRLEN len);
3812 #define PERL_ARGS_ASSERT_MY_MEMRCHR     \
3813         assert(s)
3814 #endif
3815 #endif
3816 #if !(defined(DEBUGGING))
3817 #  if !defined(NV_PRESERVES_UV)
3818 #    if defined(PERL_IN_SV_C)
3819 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
3820 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3821         assert(sv)
3822 #    endif
3823 #  endif
3824 #endif
3825 #if !(defined(HAS_MEMMEM))
3826 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
3827                         __attribute__warn_unused_result__
3828                         __attribute__pure__;
3829 #define PERL_ARGS_ASSERT_NINSTR \
3830         assert(big); assert(bigend); assert(little); assert(lend)
3831
3832 #endif
3833 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
3834 PERL_CALLCONV const char*       Perl_langinfo(const int item);
3835 #endif
3836 #if !(defined(HAS_NL_LANGINFO))
3837 #  if defined(PERL_IN_LOCALE_C)
3838 STATIC const char*      S_my_nl_langinfo(const int item, bool toggle);
3839 #  endif
3840 #endif
3841 #if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO))
3842 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
3843 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
3844 #endif
3845 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
3846 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd);
3847 #define PERL_ARGS_ASSERT_DO_EXEC        \
3848         assert(cmd)
3849 #endif
3850 #if !(defined(PERL_GLOBAL_STRUCT_PRIVATE))
3851 #  if defined(PERL_IMPLICIT_CONTEXT)
3852 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *index, size_t size);
3853 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
3854         assert(index)
3855 #  endif
3856 #endif
3857 #if !(defined(_MSC_VER))
3858 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
3859                         __attribute__noreturn__;
3860 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
3861         assert(sv); assert(mg)
3862
3863 #endif
3864 #if !defined(HAS_GETENV_LEN)
3865 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len);
3866 #define PERL_ARGS_ASSERT_GETENV_LEN     \
3867         assert(env_elem); assert(len)
3868 #endif
3869 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
3870 #  if defined(PERL_IN_PP_SYS_C)
3871 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
3872                         __attribute__warn_unused_result__;
3873 #define PERL_ARGS_ASSERT_DOONELINER     \
3874         assert(cmd); assert(filename)
3875
3876 #  endif
3877 #endif
3878 #if !defined(HAS_MKOSTEMP)
3879 PERL_CALLCONV int       Perl_my_mkostemp(char *templte, int flags);
3880 #define PERL_ARGS_ASSERT_MY_MKOSTEMP    \
3881         assert(templte)
3882 #endif
3883 #if !defined(HAS_MKSTEMP)
3884 PERL_CALLCONV int       Perl_my_mkstemp(char *templte);
3885 #define PERL_ARGS_ASSERT_MY_MKSTEMP     \
3886         assert(templte)
3887 #endif
3888 #if !defined(HAS_RENAME)
3889 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b);
3890 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
3891         assert(a); assert(b)
3892 #endif
3893 #if !defined(HAS_SIGNBIT)
3894 PERL_CALLCONV int       Perl_signbit(NV f)
3895                         __attribute__warn_unused_result__
3896                         __attribute__pure__;
3897
3898 #endif
3899 #if !defined(HAS_STRLCAT)
3900 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
3901 #endif
3902 #if !defined(HAS_STRLCPY)
3903 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
3904 #endif
3905 #if !defined(HAS_STRNLEN)
3906 PERL_CALLCONV Size_t    Perl_my_strnlen(const char *str, Size_t maxlen);
3907 #define PERL_ARGS_ASSERT_MY_STRNLEN     \
3908         assert(str)
3909 #endif
3910 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
3911 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
3912                         __attribute__warn_unused_result__;
3913
3914 #endif
3915 #if !defined(NV_PRESERVES_UV)
3916 #  if defined(DEBUGGING)
3917 #    if defined(PERL_IN_SV_C)
3918 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
3919 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3920         assert(sv)
3921 #    endif
3922 #  endif
3923 #endif
3924 #if !defined(PERL_DISABLE_PMC)
3925 #  if defined(PERL_IN_PP_CTL_C)
3926 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
3927                         __attribute__warn_unused_result__;
3928 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
3929         assert(name)
3930
3931 #  endif
3932 #endif
3933 #if !defined(PERL_EXT_RE_BUILD)
3934 #  if defined(PERL_IN_REGCOMP_C)
3935 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
3936 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
3937         assert(invlist)
3938 #ifndef PERL_NO_INLINE_FUNCTIONS
3939 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
3940                         __attribute__warn_unused_result__;
3941 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
3942         assert(invlist)
3943 #endif
3944
3945 #ifndef PERL_NO_INLINE_FUNCTIONS
3946 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
3947                         __attribute__warn_unused_result__;
3948 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
3949         assert(invlist)
3950 #endif
3951
3952 #ifndef PERL_NO_INLINE_FUNCTIONS
3953 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
3954 #define PERL_ARGS_ASSERT_INVLIST_CLEAR  \
3955         assert(invlist)
3956 #endif
3957 STATIC void     S_invlist_extend(pTHX_ SV* const invlist, const UV len);
3958 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
3959         assert(invlist)
3960 #ifndef PERL_NO_INLINE_FUNCTIONS
3961 PERL_STATIC_INLINE UV   S_invlist_max(SV* const invlist)
3962                         __attribute__warn_unused_result__;
3963 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
3964         assert(invlist)
3965 #endif
3966
3967 #ifndef PERL_NO_INLINE_FUNCTIONS
3968 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
3969                         __attribute__warn_unused_result__;
3970 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
3971         assert(invlist)
3972 #endif
3973
3974 STATIC void     S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
3975 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC      \
3976         assert(dest); assert(src)
3977 #ifndef PERL_NO_INLINE_FUNCTIONS
3978 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
3979 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
3980         assert(invlist)
3981 #endif
3982 #ifndef PERL_NO_INLINE_FUNCTIONS
3983 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
3984 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
3985         assert(invlist)
3986 #endif
3987 #  endif
3988 #endif
3989 #if !defined(PERL_IMPLICIT_SYS)
3990 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
3991 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
3992 #define PERL_ARGS_ASSERT_MY_POPEN       \
3993         assert(cmd); assert(mode)
3994 #endif
3995 #if !defined(PERL_IS_MINIPERL)
3996 #  if defined(PERL_IN_PERL_C)
3997 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
3998 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
3999         assert(av); assert(dir); assert(stem)
4000 #  endif
4001 #endif
4002 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4003 #ifndef PERL_NO_INLINE_FUNCTIONS
4004 PERL_STATIC_INLINE void S_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4005 #define PERL_ARGS_ASSERT_CX_POPBLOCK    \
4006         assert(cx)
4007 #endif
4008 #ifndef PERL_NO_INLINE_FUNCTIONS
4009 PERL_STATIC_INLINE void S_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4010 #define PERL_ARGS_ASSERT_CX_POPEVAL     \
4011         assert(cx)
4012 #endif
4013 #ifndef PERL_NO_INLINE_FUNCTIONS
4014 PERL_STATIC_INLINE void S_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4015 #define PERL_ARGS_ASSERT_CX_POPFORMAT   \
4016         assert(cx)
4017 #endif
4018 #ifndef PERL_NO_INLINE_FUNCTIONS
4019 PERL_STATIC_INLINE void S_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4020 #define PERL_ARGS_ASSERT_CX_POPGIVEN    \
4021         assert(cx)
4022 #endif
4023 #ifndef PERL_NO_INLINE_FUNCTIONS
4024 PERL_STATIC_INLINE void S_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4025 #define PERL_ARGS_ASSERT_CX_POPLOOP     \
4026         assert(cx)
4027 #endif
4028 #ifndef PERL_NO_INLINE_FUNCTIONS
4029 PERL_STATIC_INLINE void S_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4030 #define PERL_ARGS_ASSERT_CX_POPSUB      \
4031         assert(cx)
4032 #endif
4033 #ifndef PERL_NO_INLINE_FUNCTIONS
4034 PERL_STATIC_INLINE void S_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4035 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4036         assert(cx)
4037 #endif
4038 #ifndef PERL_NO_INLINE_FUNCTIONS
4039 PERL_STATIC_INLINE void S_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4040 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON       \
4041         assert(cx)
4042 #endif
4043 #ifndef PERL_NO_INLINE_FUNCTIONS
4044 PERL_STATIC_INLINE void S_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4045 #define PERL_ARGS_ASSERT_CX_POPWHEN     \
4046         assert(cx)
4047 #endif
4048 #ifndef PERL_NO_INLINE_FUNCTIONS
4049 PERL_STATIC_INLINE PERL_CONTEXT *       S_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4050 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK   \
4051         assert(sp)
4052 #endif
4053 #ifndef PERL_NO_INLINE_FUNCTIONS
4054 PERL_STATIC_INLINE void S_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4055 #define PERL_ARGS_ASSERT_CX_PUSHEVAL    \
4056         assert(cx)
4057 #endif
4058 #ifndef PERL_NO_INLINE_FUNCTIONS
4059 PERL_STATIC_INLINE void S_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4060 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT  \
4061         assert(cx); assert(cv)
4062 #endif
4063 #ifndef PERL_NO_INLINE_FUNCTIONS
4064 PERL_STATIC_INLINE void S_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4065 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN   \
4066         assert(cx)
4067 #endif
4068 #ifndef PERL_NO_INLINE_FUNCTIONS
4069 PERL_STATIC_INLINE void S_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4070 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR        \
4071         assert(cx); assert(itervarp)
4072 #endif
4073 #ifndef PERL_NO_INLINE_FUNCTIONS
4074 PERL_STATIC_INLINE void S_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
4075 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN      \
4076         assert(cx)
4077 #endif
4078 #ifndef PERL_NO_INLINE_FUNCTIONS
4079 PERL_STATIC_INLINE void S_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
4080 #define PERL_ARGS_ASSERT_CX_PUSHSUB     \
4081         assert(cx); assert(cv)
4082 #endif
4083 #ifndef PERL_NO_INLINE_FUNCTIONS
4084 PERL_STATIC_INLINE void S_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
4085 #define PERL_ARGS_ASSERT_CX_PUSHWHEN    \
4086         assert(cx)
4087 #endif
4088 #ifndef PERL_NO_INLINE_FUNCTIONS
4089 PERL_STATIC_INLINE void S_cx_topblock(pTHX_ PERL_CONTEXT *cx);
4090 #define PERL_ARGS_ASSERT_CX_TOPBLOCK    \
4091         assert(cx)
4092 #endif
4093 #endif
4094 #if !defined(PERL_NO_UTF16_FILTER)
4095 #  if defined(PERL_IN_TOKE_C)
4096 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
4097 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
4098         assert(s)
4099 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4100 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
4101         assert(sv)
4102 #  endif
4103 #endif
4104 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
4105 #  if defined(PERL_IN_PERL_C)
4106 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
4107 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
4108         assert(rsfp)
4109 #  endif
4110 #endif
4111 #if !defined(USE_QUADMATH)
4112 #  if defined(PERL_IN_NUMERIC_C)
4113 STATIC NV       S_mulexp10(NV value, I32 exponent);
4114 #  endif
4115 #endif
4116 #if !defined(UV_IS_QUAD)
4117 #  if defined(PERL_IN_UTF8_C)
4118 STATIC int      S_is_utf8_cp_above_31_bits(const U8 * const s, const U8 * const e, const bool consider_overlongs)
4119                         __attribute__warn_unused_result__;
4120 #define PERL_ARGS_ASSERT_IS_UTF8_CP_ABOVE_31_BITS       \
4121         assert(s); assert(e)
4122
4123 #  endif
4124 #endif
4125 #if !defined(WIN32)
4126 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report);
4127 #define PERL_ARGS_ASSERT_DO_EXEC3       \
4128         assert(incmd)
4129 #endif
4130 #if defined (HAS_SOCKETPAIR) ||     (defined (HAS_SOCKET) && defined(SOCK_DGRAM) &&     defined(AF_INET) && defined(PF_INET))
4131 PERL_CALLCONV int       Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
4132                         __attribute__warn_unused_result__;
4133 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC    \
4134         assert(pairfd)
4135
4136 #endif
4137 #if defined(DEBUGGING)
4138 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
4139                         __attribute__warn_unused_result__;
4140 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
4141         assert(s)
4142
4143 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
4144 #define PERL_ARGS_ASSERT_HV_ASSERT      \
4145         assert(hv)
4146 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
4147 #define PERL_ARGS_ASSERT_PAD_SETSV      \
4148         assert(sv)
4149 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
4150 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
4151 #define PERL_ARGS_ASSERT_SET_PADLIST    \
4152         assert(cv)
4153 #  if defined(PERL_IN_LOCALE_C)
4154 #    if defined(USE_LOCALE)
4155 STATIC void     S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
4156 #define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
4157         assert(s); assert(e)
4158 STATIC void     S_print_collxfrm_input_and_return(pTHX_ const char * const s, const char * const e, const STRLEN * const xlen, const bool is_utf8);
4159 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN        \
4160         assert(s); assert(e)
4161 STATIC char *   S_setlocale_debug_string(const int category, const char* const locale, const char* const retval)
4162                         __attribute__warn_unused_result__;
4163
4164 #    endif
4165 #  endif
4166 #  if defined(PERL_IN_PAD_C)
4167 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
4168 #define PERL_ARGS_ASSERT_CV_DUMP        \
4169         assert(cv); assert(title)
4170 #  endif
4171 #  if defined(PERL_IN_REGCOMP_C)
4172 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
4173 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
4174         assert(trie); assert(revcharmap)
4175 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
4176 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
4177         assert(trie); assert(revcharmap)
4178 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
4179 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
4180         assert(trie); assert(revcharmap)
4181 STATIC const regnode*   S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV* sv, I32 indent, U32 depth);
4182 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
4183         assert(r); assert(start); assert(node); assert(sv)
4184 STATIC bool     S_put_charclass_bitmap_innards(pTHX_ SV* sv, char* bitmap, SV* nonbitmap_invlist, SV* only_utf8_locale_invlist, const regnode * const node, const bool force_as_is_display);
4185 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
4186         assert(sv)
4187 STATIC SV*      S_put_charclass_bitmap_innards_common(pTHX_ SV* invlist, SV* posixes, SV* only_utf8, SV* not_utf8, SV* only_utf8_locale, const bool invert);
4188 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON    \
4189         assert(invlist)
4190 STATIC void     S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
4191 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST   \
4192         assert(sv); assert(invlist)
4193 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
4194 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
4195         assert(sv)
4196 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
4197 #define PERL_ARGS_ASSERT_PUT_RANGE      \
4198         assert(sv)
4199 PERL_CALLCONV int       Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...);
4200 #define PERL_ARGS_ASSERT_RE_INDENTF     \
4201         assert(fmt)
4202 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
4203 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
4204 STATIC U8       S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth);
4205 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
4206         assert(pRExC_state); assert(p); assert(val)
4207 #  endif
4208 #  if defined(PERL_IN_REGEXEC_C)
4209 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
4210 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
4211         assert(prog); assert(start); assert(end); assert(blurb)
4212 STATIC void     S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, const U32 depth);
4213 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
4214         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
4215 PERL_CALLCONV int       Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...);
4216 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF        \
4217         assert(fmt)
4218 #  endif
4219 #  if defined(PERL_IN_SV_C)
4220 STATIC void     S_del_sv(pTHX_ SV *p);
4221 #define PERL_ARGS_ASSERT_DEL_SV \
4222         assert(p)
4223 #  endif
4224 #  if defined(PERL_IN_TOKE_C)
4225 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
4226                         __attribute__format__(__printf__,pTHX_1,0);
4227 #define PERL_ARGS_ASSERT_PRINTBUF       \
4228         assert(fmt); assert(s)
4229
4230 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
4231 #define PERL_ARGS_ASSERT_TOKEREPORT     \
4232         assert(lvalp)
4233 #  endif
4234 #endif
4235 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
4236 #  if defined(PERL_IN_REGCOMP_C)
4237 STATIC void     S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
4238 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES     \
4239         assert(pRExC_state); assert(stack); assert(fence_stack)
4240 #  endif
4241 #endif
4242 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
4243 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv);
4244 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
4245         assert(sv)
4246 #endif
4247 #if defined(HAS_MEMMEM)
4248 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
4249                         __attribute__warn_unused_result__
4250                         __attribute__pure__;
4251 #define PERL_ARGS_ASSERT_NINSTR \
4252         assert(big); assert(bigend); assert(little); assert(lend)
4253
4254 #endif
4255 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
4256 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp);
4257 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
4258         assert(mark); assert(sp)
4259 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp);
4260 #define PERL_ARGS_ASSERT_DO_IPCGET      \
4261         assert(mark); assert(sp)
4262 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp);
4263 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
4264         assert(mark); assert(sp)
4265 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp);
4266 #define PERL_ARGS_ASSERT_DO_MSGSND      \
4267         assert(mark); assert(sp)
4268 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp);
4269 #define PERL_ARGS_ASSERT_DO_SEMOP       \
4270         assert(mark); assert(sp)
4271 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp);
4272 #define PERL_ARGS_ASSERT_DO_SHMIO       \
4273         assert(mark); assert(sp)
4274 #endif
4275 #if defined(HAS_NL_LANGINFO)
4276 #  if defined(PERL_IN_LOCALE_C)
4277 STATIC const char*      S_my_nl_langinfo(const nl_item item, bool toggle);
4278 #  endif
4279 #endif
4280 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
4281 PERL_CALLCONV const char*       Perl_langinfo(const nl_item item);
4282 #endif
4283 #if defined(HAS_PIPE)
4284 PERL_CALLCONV int       Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
4285                         __attribute__warn_unused_result__;
4286 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC  \
4287         assert(pipefd)
4288
4289 #endif
4290 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
4291 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
4292 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
4293 #endif
4294 #if defined(HAS_SOCKET)
4295 PERL_CALLCONV int       Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
4296                         __attribute__warn_unused_result__;
4297
4298 PERL_CALLCONV int       Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
4299                         __attribute__warn_unused_result__;
4300
4301 #endif
4302 #if defined(HAVE_INTERP_INTERN)
4303 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
4304 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
4305 #  if defined(USE_ITHREADS)
4306 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
4307 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4308         assert(src); assert(dst)
4309 #  endif
4310 #endif
4311 #if defined(MYMALLOC)
4312 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
4313 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
4314         assert(s)
4315 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
4316 #define PERL_ARGS_ASSERT_GET_MSTATS     \
4317         assert(buf)
4318 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
4319                         __attribute__warn_unused_result__;
4320
4321 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
4322                         __attribute__warn_unused_result__;
4323 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
4324         assert(p)
4325
4326 #endif
4327 #if defined(PERL_ANY_COW)
4328 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr);
4329 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
4330         assert(sstr)
4331 #endif
4332 #if defined(PERL_CORE)
4333 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab);
4334 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
4335         assert(slab)
4336 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab);
4337 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
4338         assert(slab)
4339 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab);
4340 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
4341         assert(slab)
4342 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab);
4343 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
4344         assert(parser); assert(slab)
4345 #ifndef PERL_NO_INLINE_FUNCTIONS
4346 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
4347                         __attribute__warn_unused_result__;
4348 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
4349         assert(pv)
4350 #endif
4351
4352 #  if defined(PERL_DEBUG_READONLY_OPS)
4353 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
4354 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
4355         assert(slab)
4356 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
4357 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
4358         assert(slab)
4359 #  endif
4360 #endif
4361 #if defined(PERL_CORE) || defined (PERL_EXT)
4362 #ifndef PERL_NO_INLINE_FUNCTIONS
4363 PERL_STATIC_INLINE bool S_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
4364                         __attribute__warn_unused_result__;
4365 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING   \
4366         assert(s)
4367 #endif
4368
4369 #ifndef PERL_NO_INLINE_FUNCTIONS
4370 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
4371 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
4372         assert(sv); assert(pv)
4373 #endif
4374 #endif
4375 #if defined(PERL_CORE) || defined(PERL_EXT)
4376 PERL_CALLCONV bool      Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target, SCX_enum * ret_script)
4377                         __attribute__warn_unused_result__;
4378 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN   \
4379         assert(s); assert(send)
4380
4381 #ifndef PERL_NO_INLINE_FUNCTIONS
4382 PERL_STATIC_INLINE Size_t       S_variant_under_utf8_count(const U8* const s, const U8* const e)
4383                         __attribute__warn_unused_result__;
4384 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT       \
4385         assert(s); assert(e)
4386 #endif
4387
4388 #endif
4389 #if defined(PERL_CR_FILTER)
4390 #  if defined(PERL_IN_TOKE_C)
4391 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4392 STATIC void     S_strip_return(pTHX_ SV *sv);
4393 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
4394         assert(sv)
4395 #  endif
4396 #endif
4397 #if defined(PERL_DEBUG_READONLY_COW)
4398 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv);
4399 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
4400         assert(sv)
4401 #  if defined(PERL_IN_SV_C)
4402 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
4403 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
4404         assert(sv)
4405 #  endif
4406 #endif
4407 #if defined(PERL_DEBUG_READONLY_OPS)
4408 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
4409 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
4410         assert(o)
4411 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
4412 #endif
4413 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
4414 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd); */
4415 #endif
4416 #if defined(PERL_DONT_CREATE_GVSV)
4417 #ifndef NO_MATHOMS
4418 PERL_CALLCONV GV*       Perl_gv_SVadd(pTHX_ GV *gv);
4419 #endif
4420 #endif
4421 #if defined(PERL_GLOBAL_STRUCT)
4422 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
4423 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp);
4424 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
4425         assert(plvarsp)
4426 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
4427 #endif
4428 #if defined(PERL_GLOBAL_STRUCT_PRIVATE)
4429 #  if defined(PERL_IMPLICIT_CONTEXT)
4430 PERL_CALLCONV int       Perl_my_cxt_index(pTHX_ const char *my_cxt_key);
4431 #define PERL_ARGS_ASSERT_MY_CXT_INDEX   \
4432         assert(my_cxt_key)
4433 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size);
4434 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
4435         assert(my_cxt_key)
4436 #  endif
4437 #endif
4438 #if defined(PERL_IMPLICIT_CONTEXT)
4439 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
4440                         __attribute__noreturn__
4441                         __attribute__format__null_ok__(__printf__,1,2);
4442
4443 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
4444                         __attribute__format__(__printf__,1,2);
4445 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
4446         assert(pat)
4447
4448 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
4449                         __attribute__noreturn__
4450                         __attribute__format__null_ok__(__printf__,1,2);
4451
4452 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
4453                         __attribute__format__(__printf__,1,2);
4454 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
4455         assert(pat)
4456
4457 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
4458                         __attribute__format__(__printf__,2,3);
4459 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
4460         assert(stream); assert(format)
4461
4462 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
4463 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
4464         assert(name)
4465 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
4466                         __attribute__format__(__printf__,1,2);
4467 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
4468         assert(pat)
4469
4470 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
4471                         __attribute__format__(__printf__,1,2);
4472 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
4473         assert(pat)
4474
4475 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
4476                         __attribute__format__(__printf__,1,2);
4477 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
4478         assert(format)
4479
4480 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4481                         __attribute__format__(__printf__,2,3);
4482 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
4483         assert(sv); assert(pat)
4484
4485 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
4486                         __attribute__format__(__printf__,2,3);
4487 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
4488         assert(sv); assert(pat)
4489
4490 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4491                         __attribute__format__(__printf__,2,3);
4492 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
4493         assert(sv); assert(pat)
4494
4495 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
4496                         __attribute__format__(__printf__,2,3);
4497 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
4498         assert(sv); assert(pat)
4499
4500 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
4501                         __attribute__format__(__printf__,1,2);
4502 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
4503         assert(pat)
4504
4505 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
4506                         __attribute__format__(__printf__,2,3);
4507 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
4508         assert(pat)
4509
4510 #endif
4511 #if defined(PERL_IMPLICIT_SYS)
4512 PERL_CALLCONV PerlInterpreter*  perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP);
4513 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
4514         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4515 #  if defined(USE_ITHREADS)
4516 PERL_CALLCONV PerlInterpreter*  perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem* ipM, struct IPerlMem* ipMS, struct IPerlMem* ipMP, struct IPerlEnv* ipE, struct IPerlStdIO* ipStd, struct IPerlLIO* ipLIO, struct IPerlDir* ipD, struct IPerlSock* ipS, struct IPerlProc* ipP);
4517 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
4518         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4519 #  endif
4520 #endif
4521 #if defined(PERL_IN_AV_C)
4522 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
4523 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
4524         assert(av)
4525 #endif
4526 #if defined(PERL_IN_DEB_C)
4527 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
4528 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
4529         assert(stack_base)
4530 #endif
4531 #if defined(PERL_IN_DOIO_C)
4532 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
4533 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
4534         assert(cmd)
4535 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
4536                         __attribute__warn_unused_result__;
4537
4538 STATIC bool     S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type, Stat_t *statbufp);
4539 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
4540         assert(gv); assert(io); assert(mode); assert(oname)
4541 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
4542 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
4543         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
4544 #endif
4545 #if defined(PERL_IN_DOOP_C)
4546 STATIC Size_t   S_do_trans_complex(pTHX_ SV * const sv)
4547                         __attribute__warn_unused_result__;
4548 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4549         assert(sv)
4550
4551 STATIC Size_t   S_do_trans_complex_utf8(pTHX_ SV * const sv)
4552                         __attribute__warn_unused_result__;
4553 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
4554         assert(sv)
4555
4556 STATIC Size_t   S_do_trans_count(pTHX_ SV * const sv)
4557                         __attribute__warn_unused_result__;
4558 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4559         assert(sv)
4560
4561 STATIC Size_t   S_do_trans_count_utf8(pTHX_ SV * const sv)
4562                         __attribute__warn_unused_result__;
4563 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
4564         assert(sv)
4565
4566 STATIC Size_t   S_do_trans_simple(pTHX_ SV * const sv)
4567                         __attribute__warn_unused_result__;
4568 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4569         assert(sv)
4570
4571 STATIC Size_t   S_do_trans_simple_utf8(pTHX_ SV * const sv)
4572                         __attribute__warn_unused_result__;
4573 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
4574         assert(sv)
4575
4576 #endif
4577 #if defined(PERL_IN_DUMP_C)
4578 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
4579 STATIC void     S_debprof(pTHX_ const OP *o);
4580 #define PERL_ARGS_ASSERT_DEBPROF        \
4581         assert(o)
4582 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
4583 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
4584         assert(pm)
4585 STATIC UV       S_sequence_num(pTHX_ const OP *o);
4586 #endif
4587 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
4588 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv);
4589 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
4590         assert(hv)
4591 #endif
4592 #if defined(PERL_IN_GV_C)
4593 STATIC bool     S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
4594 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
4595         assert(stash); assert(name)
4596 #ifndef PERL_NO_INLINE_FUNCTIONS
4597 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
4598 #endif
4599 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
4600 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
4601         assert(gv)
4602 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
4603 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
4604         assert(name)
4605 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
4606 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
4607         assert(gv); assert(stash); assert(name)
4608 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
4609 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
4610         assert(gv)
4611 #ifndef PERL_NO_INLINE_FUNCTIONS
4612 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
4613 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
4614         assert(name)
4615 #endif
4616 #ifndef PERL_NO_INLINE_FUNCTIONS
4617 PERL_STATIC_INLINE HV*  S_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags);
4618 #endif
4619 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
4620 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
4621         assert(gv); assert(name)
4622 STATIC bool     S_parse_gv_stash_name(pTHX_ HV **stash, GV **gv, const char **name, STRLEN *len, const char *nambeg, STRLEN full_len, const U32 is_utf8, const I32 add);
4623 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
4624         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
4625 STATIC void     S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
4626 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
4627         assert(gv); assert(varname); assert(name)
4628 #endif
4629 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
4630 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv);
4631 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
4632         assert(tsv); assert(sv)
4633 #endif
4634 #if defined(PERL_IN_HV_C)
4635 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
4636 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
4637         assert(hv)
4638 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
4639 #define PERL_ARGS_ASSERT_HSPLIT \
4640         assert(hv)
4641 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
4642 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
4643         assert(hv)
4644 STATIC struct xpvhv_aux*        S_hv_auxinit_internal(struct xpvhv_aux *iter);
4645 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL    \
4646         assert(iter)
4647 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4648 STATIC SV*      S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry);
4649 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
4650         assert(hv); assert(entry)
4651 STATIC void     S_hv_free_entries(pTHX_ HV *hv);
4652 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES        \
4653         assert(hv)
4654 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
4655 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4656         assert(hv); assert(needs_copy); assert(needs_store)
4657 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4658                         __attribute__noreturn__;
4659 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
4660         assert(key); assert(msg)
4661
4662 STATIC HE*      S_new_he(pTHX)
4663                         __attribute__warn_unused_result__;
4664
4665 #ifndef PERL_NO_INLINE_FUNCTIONS
4666 PERL_STATIC_INLINE U32  S_ptr_hash(PTRV u);
4667 #endif
4668 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
4669 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
4670         assert(he)
4671 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4672                         __attribute__malloc__
4673                         __attribute__warn_unused_result__;
4674 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4675         assert(str)
4676
4677 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
4678                         __attribute__warn_unused_result__;
4679 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
4680         assert(str)
4681
4682 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4683 #endif
4684 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
4685 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av);
4686 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
4687         assert(sv)
4688 #endif
4689 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
4690 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp);
4691 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
4692         assert(hv); assert(indexp)
4693 #endif
4694 #if defined(PERL_IN_LOCALE_C)
4695 STATIC const char*      S_category_name(const int category);
4696 STATIC void     S_restore_switched_locale(pTHX_ const int category, const char * const original_locale);
4697 #ifndef PERL_NO_INLINE_FUNCTIONS
4698 PERL_STATIC_INLINE const char * S_save_to_buffer(const char * string, char **buf, Size_t *buf_size, const Size_t offset);
4699 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER \
4700         assert(string); assert(buf_size)
4701 #endif
4702 STATIC const char*      S_switch_category_locale_to_template(pTHX_ const int switch_category, const int template_category, const char * template_locale);
4703 #  if defined(USE_LOCALE)
4704 STATIC void     S_new_collate(pTHX_ const char* newcoll);
4705 STATIC void     S_new_ctype(pTHX_ const char* newctype);
4706 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
4707         assert(newctype)
4708 STATIC void     S_set_numeric_radix(pTHX_ const bool use_locale);
4709 STATIC char*    S_stdize_locale(pTHX_ char* locs);
4710 #define PERL_ARGS_ASSERT_STDIZE_LOCALE  \
4711         assert(locs)
4712 #    if defined(WIN32)
4713 STATIC char*    S_win32_setlocale(pTHX_ int category, const char* locale);
4714 #    endif
4715 #  endif
4716 #endif
4717 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
4718 #  if defined(USE_LOCALE_COLLATE)
4719 PERL_CALLCONV char*     Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8);
4720 #define PERL_ARGS_ASSERT__MEM_COLLXFRM  \
4721         assert(input_string); assert(xlen)
4722 #  endif
4723 #endif
4724 #if defined(PERL_IN_MALLOC_C)
4725 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
4726 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
4727         assert(nbytes_p)
4728 #endif
4729 #if defined(PERL_IN_MG_C)
4730 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
4731 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
4732         assert(sv)
4733 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
4734 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
4735         assert(sv); assert(mg); assert(meth)
4736 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
4737 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4738         assert(sv); assert(mg); assert(meth)
4739 STATIC void     S_restore_magic(pTHX_ const void *p);
4740 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
4741 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
4742         assert(sv)
4743 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
4744 #endif
4745 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
4746 PERL_CALLCONV bool      Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp);
4747 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
4748         assert(posp); assert(lenp)
4749 #endif
4750 #if defined(PERL_IN_MRO_C)
4751 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
4752 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
4753         assert(isa); assert(name)
4754 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
4755 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
4756         assert(stashes); assert(seen_stashes); assert(namesv)
4757 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
4758 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
4759         assert(stash)
4760 #endif
4761 #if defined(PERL_IN_OP_C)
4762 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
4763 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
4764         assert(stash); assert(target)
4765 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
4766 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
4767         assert(stash); assert(target); assert(imopsp)
4768 STATIC I32      S_assignment_type(pTHX_ const OP *o)
4769                         __attribute__warn_unused_result__;
4770
4771 STATIC void     S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
4772 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
4773         assert(gv); assert(kid); assert(t)
4774 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
4775 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
4776         assert(t); assert(o); assert(kid)
4777 STATIC void     S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
4778 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS   \
4779         assert(fullname); assert(gv); assert(cv)
4780 STATIC void     S_cop_free(pTHX_ COP *cop);
4781 #define PERL_ARGS_ASSERT_COP_FREE       \
4782         assert(cop)
4783 STATIC OP *     S_dup_attrlist(pTHX_ OP *o);
4784 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
4785         assert(o)
4786 STATIC void     S_finalize_op(pTHX_ OP* o);
4787 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
4788         assert(o)
4789 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o);
4790 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
4791         assert(o)
4792 STATIC OP*      S_fold_constants(pTHX_ OP * const o);
4793 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
4794         assert(o)
4795 STATIC OP*      S_force_list(pTHX_ OP* arg, bool nullit);
4796 STATIC void     S_forget_pmop(pTHX_ PMOP *const o);
4797 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
4798         assert(o)
4799 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
4800 STATIC void     S_inplace_aassign(pTHX_ OP* o);
4801 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
4802         assert(o)
4803 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
4804                         __attribute__warn_unused_result__;
4805 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
4806         assert(o)
4807
4808 STATIC OP*      S_listkids(pTHX_ OP* o);
4809 STATIC bool     S_looks_like_bool(pTHX_ const OP* o);
4810 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
4811         assert(o)
4812 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
4813 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
4814 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
4815         assert(proto); assert(attrs); assert(name)
4816 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
4817 #define PERL_ARGS_ASSERT_MY_KID \
4818         assert(imopsp)
4819 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
4820 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
4821         assert(block)
4822 #ifndef PERL_NO_INLINE_FUNCTIONS
4823 PERL_STATIC_INLINE OP*  S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
4824 #endif
4825 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
4826                         __attribute__warn_unused_result__;
4827 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
4828         assert(firstp); assert(otherp)
4829
4830 STATIC void     S_no_bareword_allowed(pTHX_ OP *o);
4831 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
4832         assert(o)
4833 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
4834                         __attribute__warn_unused_result__;
4835 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
4836         assert(o)
4837
4838 #ifndef PERL_NO_INLINE_FUNCTIONS
4839 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o);
4840 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
4841         assert(o)
4842 #endif
4843 #ifndef PERL_NO_INLINE_FUNCTIONS
4844 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o);
4845 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
4846         assert(o)
4847 #endif
4848 STATIC void     S_optimize_op(pTHX_ OP* o);
4849 #define PERL_ARGS_ASSERT_OPTIMIZE_OP    \
4850         assert(o)
4851 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
4852 #define PERL_ARGS_ASSERT_PMTRANS        \
4853         assert(o); assert(expr); assert(repl)
4854 STATIC bool     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
4855 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
4856         assert(fullname); assert(gv); assert(cv)
4857 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
4858 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
4859 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
4860                         __attribute__warn_unused_result__;
4861
4862 STATIC OP*      S_scalarboolean(pTHX_ OP *o);
4863 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
4864         assert(o)
4865 STATIC OP*      S_scalarkids(pTHX_ OP* o);
4866 STATIC OP*      S_scalarseq(pTHX_ OP* o);
4867 STATIC OP*      S_search_const(pTHX_ OP *o)
4868                         __attribute__warn_unused_result__;
4869 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
4870         assert(o)
4871
4872 STATIC void     S_simplify_sort(pTHX_ OP *o);
4873 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
4874         assert(o)
4875 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
4876                         __attribute__warn_unused_result__;
4877 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
4878         assert(o); assert(name)
4879
4880 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
4881 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
4882         assert(o); assert(name)
4883 #  if defined(USE_ITHREADS)
4884 #ifndef PERL_NO_INLINE_FUNCTIONS
4885 PERL_STATIC_INLINE void S_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp);
4886 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
4887         assert(svp); assert(targp)
4888 #endif
4889 #  endif
4890 #endif
4891 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
4892 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp);
4893 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
4894         assert(name); assert(old_cv)
4895 #endif
4896 #if defined(PERL_IN_PAD_C)
4897 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
4898 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
4899         assert(name)
4900 STATIC void     S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
4901 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
4902         assert(name)
4903 STATIC PADOFFSET        S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, PADNAME** out_name, int *out_flags);
4904 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
4905         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
4906 STATIC void     S_pad_reset(pTHX);
4907 #endif
4908 #if defined(PERL_IN_PERL_C)
4909 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
4910 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
4911         assert(linestr_sv); assert(rsfp)
4912 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
4913 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
4914 #define PERL_ARGS_ASSERT_INCPUSH        \
4915         assert(dir)
4916 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
4917 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
4918         assert(p)
4919 STATIC void     S_init_ids(pTHX);
4920 STATIC void     S_init_interp(pTHX);
4921 STATIC void     S_init_main_stash(pTHX);
4922 STATIC void     S_init_perllib(pTHX);
4923 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
4924 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
4925         assert(argv)
4926 STATIC void     S_init_predump_symbols(pTHX);
4927 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
4928 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
4929         assert(dir)
4930 PERL_STATIC_NO_RET void S_minus_v(pTHX)
4931                         __attribute__noreturn__;
4932
4933 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
4934                         __attribute__noreturn__;
4935
4936 STATIC void     S_nuke_stacks(pTHX);
4937 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
4938 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
4939         assert(scriptname); assert(suidscript)
4940 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
4941 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
4942                         __attribute__noreturn__;
4943
4944 PERL_STATIC_NO_RET void S_usage(pTHX)
4945                         __attribute__noreturn__;
4946
4947 #endif
4948 #if defined(PERL_IN_PP_C)
4949 STATIC size_t   S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
4950 #define PERL_ARGS_ASSERT_DO_CHOMP       \
4951         assert(retval); assert(sv)
4952 STATIC OP*      S_do_delete_local(pTHX);
4953 STATIC SV*      S_refto(pTHX_ SV* sv)
4954                         __attribute__warn_unused_result__;
4955 #define PERL_ARGS_ASSERT_REFTO  \
4956         assert(sv)
4957
4958 #endif
4959 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
4960 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
4961                         __attribute__warn_unused_result__;
4962 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
4963         assert(sv); assert(what); assert(spp)
4964
4965 #endif
4966 #if defined(PERL_IN_PP_CTL_C)
4967 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
4968                         __attribute__warn_unused_result__;
4969 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
4970         assert(name)
4971
4972 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher);
4973 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
4974         assert(matcher)
4975 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
4976 STATIC OP*      S_docatch(pTHX_ Perl_ppaddr_t firstpp)
4977                         __attribute__warn_unused_result__;
4978
4979 STATIC bool     S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
4980 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
4981                         __attribute__warn_unused_result__;
4982 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
4983         assert(o); assert(label); assert(opstack); assert(oplimit)
4984
4985 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv);
4986 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
4987         assert(sv)
4988 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
4989                         __attribute__warn_unused_result__;
4990
4991 STATIC I32      S_dopoptogivenfor(pTHX_ I32 startingblock)
4992                         __attribute__warn_unused_result__;
4993
4994 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
4995                         __attribute__warn_unused_result__;
4996 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
4997         assert(label)
4998
4999 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
5000                         __attribute__warn_unused_result__;
5001
5002 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
5003                         __attribute__warn_unused_result__;
5004 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
5005         assert(cxstk)
5006
5007 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
5008                         __attribute__warn_unused_result__;
5009
5010 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
5011                         __attribute__warn_unused_result__;
5012 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
5013         assert(re)
5014
5015 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
5016                         __attribute__warn_unused_result__;
5017 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
5018         assert(matcher); assert(sv)
5019
5020 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
5021                         __attribute__warn_unused_result__;
5022
5023 #ifndef PERL_NO_INLINE_FUNCTIONS
5024 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
5025                         __attribute__warn_unused_result__;
5026 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
5027         assert(name)
5028 #endif
5029
5030 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
5031                         __attribute__warn_unused_result__;
5032 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
5033         assert(buf_sv)
5034
5035 STATIC void     S_rxres_free(pTHX_ void** rsp);
5036 #define PERL_ARGS_ASSERT_RXRES_FREE     \
5037         assert(rsp)
5038 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
5039 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
5040         assert(rsp); assert(rx)
5041 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv);
5042 #define PERL_ARGS_ASSERT_SAVE_LINES     \
5043         assert(sv)
5044 #endif
5045 #if defined(PERL_IN_PP_HOT_C)
5046 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
5047 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
5048         assert(oddkey); assert(firstkey)
5049 #ifndef PERL_NO_INLINE_FUNCTIONS
5050 PERL_STATIC_INLINE HV*  S_opmethod_stash(pTHX_ SV* meth);
5051 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
5052         assert(meth)
5053 #endif
5054 #endif
5055 #if defined(PERL_IN_PP_PACK_C)
5056 STATIC int      S_div128(pTHX_ SV *pnum, bool *done);
5057 #define PERL_ARGS_ASSERT_DIV128 \
5058         assert(pnum); assert(done)
5059 STATIC char     S_first_symbol(const char *pat, const char *patend);
5060 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
5061         assert(pat); assert(patend)
5062 STATIC const char *     S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
5063                         __attribute__warn_unused_result__;
5064 #define PERL_ARGS_ASSERT_GET_NUM        \
5065         assert(patptr); assert(lenptr)
5066
5067 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
5068 #define PERL_ARGS_ASSERT_GROUP_END      \
5069         assert(patptr); assert(patend)
5070 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
5071                         __attribute__warn_unused_result__;
5072 #define PERL_ARGS_ASSERT_IS_AN_INT      \
5073         assert(s)
5074
5075 STATIC SSize_t  S_measure_struct(pTHX_ struct tempsym* symptr);
5076 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
5077         assert(symptr)
5078 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m);
5079 #define PERL_ARGS_ASSERT_MUL128 \
5080         assert(sv)
5081 STATIC char *   S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
5082                         __attribute__warn_unused_result__;
5083 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8       \
5084         assert(start); assert(dest)
5085
5086 STATIC bool     S_need_utf8(const char *pat, const char *patend);
5087 #define PERL_ARGS_ASSERT_NEED_UTF8      \
5088         assert(pat); assert(patend)
5089 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr);
5090 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
5091         assert(symptr)
5092 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
5093 #define PERL_ARGS_ASSERT_PACK_REC       \
5094         assert(cat); assert(symptr); assert(beglist); assert(endlist)
5095 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
5096                         __attribute__warn_unused_result__;
5097 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
5098         assert(sv)
5099
5100 STATIC SSize_t  S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
5101 #define PERL_ARGS_ASSERT_UNPACK_REC     \
5102         assert(symptr); assert(s); assert(strbeg); assert(strend)
5103 #endif
5104 #if defined(PERL_IN_PP_SORT_C)
5105 STATIC I32      S_amagic_cmp(pTHX_ SV *const str1, SV *const str2);
5106 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
5107         assert(str1); assert(str2)
5108 STATIC I32      S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b);
5109 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
5110         assert(a); assert(b)
5111 STATIC I32      S_amagic_ncmp(pTHX_ SV *const a, SV *const b);
5112 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
5113         assert(a); assert(b)
5114 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b);
5115 #define PERL_ARGS_ASSERT_SORTCV \
5116         assert(a); assert(b)
5117 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
5118 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
5119         assert(a); assert(b)
5120 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
5121 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
5122         assert(a); assert(b)
5123 STATIC I32      S_sv_i_ncmp(pTHX_ SV *const a, SV *const b);
5124 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
5125         assert(a); assert(b)
5126 STATIC I32      S_sv_ncmp(pTHX_ SV *const a, SV *const b);
5127 #define PERL_ARGS_ASSERT_SV_NCMP        \
5128         assert(a); assert(b)
5129 #  if defined(USE_LOCALE_COLLATE)
5130 STATIC I32      S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2);
5131 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
5132         assert(str1); assert(str2)
5133 #  endif
5134 #endif
5135 #if defined(PERL_IN_PP_SYS_C)
5136 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
5137 #define PERL_ARGS_ASSERT_DOFORM \
5138         assert(cv); assert(gv)
5139 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array);
5140 #endif
5141 #if defined(PERL_IN_REGCOMP_C)
5142 STATIC SV*      S__make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
5143                         __attribute__warn_unused_result__;
5144 #define PERL_ARGS_ASSERT__MAKE_EXACTF_INVLIST   \
5145         assert(pRExC_state); assert(node)
5146
5147 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
5148 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
5149         assert(pRExC_state); assert(invlist)
5150 #ifndef PERL_NO_INLINE_FUNCTIONS
5151 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
5152                         __attribute__warn_unused_result__;
5153 #endif
5154
5155 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
5156                         __attribute__warn_unused_result__;
5157 #define PERL_ARGS_ASSERT_ADD_DATA       \
5158         assert(pRExC_state); assert(s)
5159
5160 STATIC AV*      S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
5161 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH        \
5162         assert(multi_string)
5163 #ifndef PERL_NO_INLINE_FUNCTIONS
5164 PERL_STATIC_INLINE void S_alloc_maybe_populate_EXACT(pTHX_ RExC_state_t *pRExC_state, regnode *node, I32 *flagp, STRLEN len, UV code_point, bool downgradable);
5165 #define PERL_ARGS_ASSERT_ALLOC_MAYBE_POPULATE_EXACT     \
5166         assert(pRExC_state); assert(node); assert(flagp)
5167 #endif
5168 STATIC const char *     S_cntrl_to_mnemonic(const U8 c)
5169                         __attribute__warn_unused_result__;
5170
5171 #ifndef PERL_NO_INLINE_FUNCTIONS
5172 PERL_STATIC_INLINE U8   S_compute_EXACTish(RExC_state_t *pRExC_state);
5173 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
5174         assert(pRExC_state)
5175 #endif
5176 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
5177 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
5178         assert(pRExC_state); assert(source)
5179 STATIC int      S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
5180                         __attribute__warn_unused_result__;
5181 #define PERL_ARGS_ASSERT_EDIT_DISTANCE  \
5182         assert(src); assert(tgt)
5183
5184 STATIC SV *     S_get_ANYOFM_contents(pTHX_ const regnode * n)
5185                         __attribute__warn_unused_result__;
5186 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS    \
5187         assert(n)
5188
5189 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
5190 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
5191         assert(pRExC_state); assert(node)
5192 #ifndef PERL_NO_INLINE_FUNCTIONS
5193 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
5194                         __attribute__warn_unused_result__;
5195 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
5196         assert(invlist)
5197 #endif
5198
5199 STATIC bool     S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode** nodep, UV *code_point_p, int* cp_count, I32 *flagp, const bool strict, const U32 depth);
5200 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
5201         assert(pRExC_state); assert(flagp)
5202 #ifndef PERL_NO_INLINE_FUNCTIONS
5203 PERL_STATIC_INLINE regnode*     S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * parse_start, char ch);
5204 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF   \
5205         assert(pRExC_state); assert(flagp); assert(parse_start)
5206 #endif
5207 STATIC int      S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* const s, char ** updated_parse_ptr, AV** posix_warnings, const bool check_only);
5208 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX  \
5209         assert(pRExC_state); assert(s)
5210 STATIC regnode* S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse);
5211 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
5212         assert(pRExC_state); assert(flagp); assert(oregcomp_parse)
5213 #ifndef PERL_NO_INLINE_FUNCTIONS
5214 PERL_STATIC_INLINE SV*  S_invlist_clone(pTHX_ SV* const invlist)
5215                         __attribute__warn_unused_result__;
5216 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
5217         assert(invlist)
5218 #endif
5219
5220 STATIC SV*      S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
5221                         __attribute__warn_unused_result__;
5222 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS       \
5223         assert(invlist)
5224
5225 #ifndef PERL_NO_INLINE_FUNCTIONS
5226 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
5227                         __attribute__warn_unused_result__;
5228 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
5229         assert(invlist)
5230 #endif
5231
5232 #ifndef PERL_NO_INLINE_FUNCTIONS
5233 PERL_STATIC_INLINE bool S_invlist_is_iterating(SV* const invlist)
5234                         __attribute__warn_unused_result__;
5235 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
5236         assert(invlist)
5237 #endif
5238
5239 #ifndef PERL_NO_INLINE_FUNCTIONS
5240 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
5241 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
5242         assert(invlist)
5243 #endif
5244 #ifndef PERL_NO_INLINE_FUNCTIONS
5245 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
5246 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
5247         assert(invlist)
5248 #endif
5249 STATIC bool     S_invlist_iternext(SV* invlist, UV* start, UV* end)
5250                         __attribute__warn_unused_result__;
5251 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
5252         assert(invlist); assert(start); assert(end)
5253
5254 #ifndef PERL_NO_INLINE_FUNCTIONS
5255 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
5256 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
5257         assert(invlist)
5258 #endif
5259 STATIC bool     S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
5260 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT        \
5261         assert(pRExC_state); assert(ssc)
5262 STATIC U32      S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth);
5263 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
5264         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
5265 STATIC I32      S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth);
5266 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
5267         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
5268 STATIC bool     S_new_regcurly(const char *s, const char *e)
5269                         __attribute__warn_unused_result__;
5270 #define PERL_ARGS_ASSERT_NEW_REGCURLY   \
5271         assert(s); assert(e)
5272
5273 STATIC void     S_nextchar(pTHX_ RExC_state_t *pRExC_state);
5274 #define PERL_ARGS_ASSERT_NEXTCHAR       \
5275         assert(pRExC_state)
5276 STATIC void     S_output_or_return_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings, AV** return_posix_warnings);
5277 #define PERL_ARGS_ASSERT_OUTPUT_OR_RETURN_POSIX_WARNINGS        \
5278         assert(pRExC_state); assert(posix_warnings)
5279 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
5280 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
5281         assert(pRExC_state)
5282 STATIC void     S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
5283 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST    \
5284         assert(node); assert(invlist_ptr)
5285 PERL_STATIC_NO_RET void S_re_croak2(pTHX_ bool utf8, const char* pat1, const char* pat2, ...)
5286                         __attribute__noreturn__;
5287 #define PERL_ARGS_ASSERT_RE_CROAK2      \
5288         assert(pat1); assert(pat2)
5289
5290 STATIC regnode* S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
5291 #define PERL_ARGS_ASSERT_REG    \
5292         assert(pRExC_state); assert(flagp)
5293 STATIC regnode* S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
5294 #define PERL_ARGS_ASSERT_REG2LANODE     \
5295         assert(pRExC_state)
5296 STATIC regnode* S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
5297 #define PERL_ARGS_ASSERT_REG_NODE       \
5298         assert(pRExC_state)
5299 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
5300 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
5301         assert(pRExC_state)
5302 #ifndef PERL_NO_INLINE_FUNCTIONS
5303 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
5304 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
5305         assert(pRExC_state); assert(p)
5306 #endif
5307 STATIC regnode* S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
5308 #define PERL_ARGS_ASSERT_REGANODE       \
5309         assert(pRExC_state)
5310 STATIC regnode* S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
5311 #define PERL_ARGS_ASSERT_REGATOM        \
5312         assert(pRExC_state); assert(flagp)
5313 STATIC regnode* S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
5314 #define PERL_ARGS_ASSERT_REGBRANCH      \
5315         assert(pRExC_state); assert(flagp)
5316 STATIC regnode* S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1, bool allow_multi_fold, const bool silence_non_portable, const bool strict, bool optimizable, SV** ret_invlist, AV** return_posix_warnings);
5317 #define PERL_ARGS_ASSERT_REGCLASS       \
5318         assert(pRExC_state); assert(flagp)
5319 STATIC unsigned int     S_regex_set_precedence(const U8 my_operator)
5320                         __attribute__warn_unused_result__;
5321
5322 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *operand, U32 depth);
5323 #define PERL_ARGS_ASSERT_REGINSERT      \
5324         assert(pRExC_state); assert(operand)
5325 STATIC regnode* S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len, const char* const name);
5326 #define PERL_ARGS_ASSERT_REGNODE_GUTS   \
5327         assert(pRExC_state); assert(name)
5328 STATIC regnode* S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
5329 #define PERL_ARGS_ASSERT_REGPIECE       \
5330         assert(pRExC_state); assert(flagp)
5331 STATIC void     S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode * const p, const regnode * const val, const U32 depth);
5332 #define PERL_ARGS_ASSERT_REGTAIL        \
5333         assert(pRExC_state); assert(p); assert(val)
5334 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
5335 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
5336         assert(pRExC_state); assert(data); assert(minlenp)
5337 STATIC void     S_set_ANYOF_arg(pTHX_ RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const only_utf8_locale_list, SV* const swash, const bool has_user_defined_property);
5338 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
5339         assert(pRExC_state); assert(node)
5340 STATIC void     S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
5341 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT        \
5342         assert(pRExC_state); assert(p)
5343 #ifndef PERL_NO_INLINE_FUNCTIONS
5344 PERL_STATIC_INLINE void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
5345 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
5346         assert(ssc)
5347 #endif
5348 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
5349 #define PERL_ARGS_ASSERT_SSC_AND        \
5350         assert(pRExC_state); assert(ssc); assert(and_with)
5351 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc);
5352 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
5353         assert(ssc)
5354 #ifndef PERL_NO_INLINE_FUNCTIONS
5355 PERL_STATIC_INLINE void S_ssc_clear_locale(regnode_ssc *ssc);
5356 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
5357         assert(ssc)
5358 #endif
5359 #ifndef PERL_NO_INLINE_FUNCTIONS
5360 PERL_STATIC_INLINE void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
5361 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
5362         assert(ssc)
5363 #endif
5364 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
5365 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
5366         assert(pRExC_state); assert(ssc)
5367 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
5368 #define PERL_ARGS_ASSERT_SSC_INIT       \
5369         assert(pRExC_state); assert(ssc)
5370 #ifndef PERL_NO_INLINE_FUNCTIONS
5371 PERL_STATIC_INLINE void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
5372 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
5373         assert(ssc); assert(invlist)
5374 #endif
5375 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
5376                         __attribute__warn_unused_result__;
5377 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
5378         assert(ssc)
5379
5380 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
5381                         __attribute__warn_unused_result__;
5382 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
5383         assert(pRExC_state); assert(ssc)
5384
5385 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
5386 #define PERL_ARGS_ASSERT_SSC_OR \
5387         assert(pRExC_state); assert(ssc); assert(or_with)
5388 #ifndef PERL_NO_INLINE_FUNCTIONS
5389 PERL_STATIC_INLINE void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
5390 #define PERL_ARGS_ASSERT_SSC_UNION      \
5391         assert(ssc); assert(invlist)
5392 #endif
5393 STATIC SSize_t  S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth);
5394 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
5395         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
5396 #endif
5397 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
5398 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
5399 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
5400         assert(file); assert(indent); assert(invlist)
5401 #endif
5402 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
5403 PERL_CALLCONV bool      Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
5404 #define PERL_ARGS_ASSERT__INVLISTEQ     \
5405         assert(a); assert(b)
5406 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
5407                         __attribute__warn_unused_result__;
5408 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
5409         assert(list)
5410
5411 #endif
5412 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
5413 PERL_CALLCONV SV*       Perl__get_regclass_nonbitmap_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist);
5414 #define PERL_ARGS_ASSERT__GET_REGCLASS_NONBITMAP_DATA   \
5415         assert(node)
5416 PERL_CALLCONV void      Perl__load_PL_utf8_foldclosures(pTHX);
5417 PERL_CALLCONV int       Perl_re_printf(pTHX_ const char *fmt, ...);
5418 #define PERL_ARGS_ASSERT_RE_PRINTF      \
5419         assert(fmt)
5420 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state);
5421 #define PERL_ARGS_ASSERT_REGPROP        \
5422         assert(sv); assert(o)
5423 #endif
5424 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
5425 PERL_CALLCONV SV*       Perl__get_swash_invlist(pTHX_ SV* const swash)
5426                         __attribute__warn_unused_result__;
5427 #define PERL_ARGS_ASSERT__GET_SWASH_INVLIST     \
5428         assert(swash)
5429
5430 #ifndef PERL_NO_INLINE_FUNCTIONS
5431 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
5432                         __attribute__warn_unused_result__;
5433 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
5434         assert(invlist)
5435 #endif
5436
5437 #ifndef PERL_NO_INLINE_FUNCTIONS
5438 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
5439                         __attribute__warn_unused_result__;
5440 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
5441         assert(invlist)
5442 #endif
5443
5444 PERL_CALLCONV SSize_t   Perl__invlist_search(SV* const invlist, const UV cp)
5445                         __attribute__warn_unused_result__;
5446 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
5447         assert(invlist)
5448
5449 PERL_CALLCONV HV*       Perl__swash_inversion_hash(pTHX_ SV* const swash)
5450                         __attribute__warn_unused_result__;
5451 #define PERL_ARGS_ASSERT__SWASH_INVERSION_HASH  \
5452         assert(swash)
5453
5454 #ifndef PERL_NO_INLINE_FUNCTIONS
5455 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
5456                         __attribute__warn_unused_result__;
5457 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
5458         assert(invlist)
5459 #endif
5460
5461 #ifndef PERL_NO_INLINE_FUNCTIONS
5462 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
5463                         __attribute__warn_unused_result__;
5464 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
5465         assert(invlist)
5466 #endif
5467
5468 #endif
5469 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
5470 PERL_CALLCONV SV*       Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none, SV* invlist, U8* const flags_p);
5471 #define PERL_ARGS_ASSERT__CORE_SWASH_INIT       \
5472         assert(pkg); assert(name); assert(listsv)
5473 #endif
5474 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
5475 #ifndef PERL_NO_INLINE_FUNCTIONS
5476 PERL_STATIC_INLINE char*        S_form_short_octal_warning(pTHX_ const char * const s, const STRLEN len)
5477                         __attribute__warn_unused_result__;
5478 #define PERL_ARGS_ASSERT_FORM_SHORT_OCTAL_WARNING       \
5479         assert(s)
5480 #endif
5481
5482 PERL_CALLCONV char      Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning)
5483                         __attribute__warn_unused_result__;
5484
5485 PERL_CALLCONV bool      Perl_grok_bslash_o(pTHX_ char** s, const char* const send, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
5486                         __attribute__warn_unused_result__;
5487 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
5488         assert(s); assert(send); assert(uv); assert(error_msg)
5489
5490 PERL_CALLCONV bool      Perl_grok_bslash_x(pTHX_ char** s, const char* const send, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
5491                         __attribute__warn_unused_result__;
5492 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
5493         assert(s); assert(send); assert(uv); assert(error_msg)
5494
5495 #ifndef PERL_NO_INLINE_FUNCTIONS
5496 PERL_STATIC_INLINE I32  S_regcurly(const char *s)
5497                         __attribute__warn_unused_result__;
5498 #define PERL_ARGS_ASSERT_REGCURLY       \
5499         assert(s)
5500 #endif
5501
5502 #endif
5503 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
5504 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
5505                         __attribute__warn_unused_result__;
5506
5507 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
5508 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
5509 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
5510         assert(b); assert(i)
5511 PERL_CALLCONV void      Perl__invlist_invert(pTHX_ SV* const invlist);
5512 #define PERL_ARGS_ASSERT__INVLIST_INVERT        \
5513         assert(invlist)
5514 PERL_CALLCONV void      Perl__invlist_populate_swatch(SV* const invlist, const UV start, const UV end, U8* swatch);
5515 #define PERL_ARGS_ASSERT__INVLIST_POPULATE_SWATCH       \
5516         assert(invlist); assert(swatch)
5517 /* PERL_CALLCONV void   _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
5518 /* PERL_CALLCONV void   _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
5519 PERL_CALLCONV void      Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
5520 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND    \
5521         assert(b); assert(output)
5522 PERL_CALLCONV SV*       Perl__new_invlist(pTHX_ IV initial_size)
5523                         __attribute__warn_unused_result__;
5524
5525 PERL_CALLCONV SV*       Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
5526                         __attribute__warn_unused_result__;
5527 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST  \
5528         assert(other_elements_ptr)
5529
5530 PERL_CALLCONV SV*       Perl__swash_to_invlist(pTHX_ SV* const swash)
5531                         __attribute__warn_unused_result__;
5532 #define PERL_ARGS_ASSERT__SWASH_TO_INVLIST      \
5533         assert(swash)
5534
5535 #endif
5536 #if defined(PERL_IN_REGEXEC_C)
5537 STATIC LB_enum  S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
5538                         __attribute__warn_unused_result__;
5539 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
5540         assert(curpos); assert(strend)
5541
5542 STATIC SB_enum  S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
5543                         __attribute__warn_unused_result__;
5544 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
5545         assert(curpos); assert(strend)
5546
5547 STATIC WB_enum  S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
5548                         __attribute__warn_unused_result__;
5549 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
5550         assert(curpos); assert(strend)
5551
5552 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
5553                         __attribute__warn_unused_result__;
5554 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
5555         assert(strbeg); assert(curpos)
5556
5557 STATIC LB_enum  S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
5558                         __attribute__warn_unused_result__;
5559 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB  \
5560         assert(strbeg); assert(curpos)
5561
5562 STATIC SB_enum  S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
5563                         __attribute__warn_unused_result__;
5564 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB  \
5565         assert(strbeg); assert(curpos)
5566
5567 STATIC WB_enum  S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
5568                         __attribute__warn_unused_result__;
5569 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB  \
5570         assert(previous); assert(strbeg); assert(curpos)
5571
5572 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
5573                         __attribute__warn_unused_result__;
5574 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
5575         assert(prog); assert(c); assert(s); assert(strend)
5576
5577 STATIC char *   S_find_next_ascii(char* s, const char * send, const bool is_utf8)
5578                         __attribute__warn_unused_result__;
5579 #define PERL_ARGS_ASSERT_FIND_NEXT_ASCII        \
5580         assert(s); assert(send)
5581
5582 STATIC char *   S_find_next_masked(char * s, const char * send, const U8 byte, const U8 mask)
5583                         __attribute__warn_unused_result__;
5584 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED       \
5585         assert(s); assert(send)
5586
5587 STATIC char *   S_find_next_non_ascii(char* s, const char * send, const bool is_utf8)
5588                         __attribute__warn_unused_result__;
5589 #define PERL_ARGS_ASSERT_FIND_NEXT_NON_ASCII    \
5590         assert(s); assert(send)
5591
5592 STATIC char *   S_find_span_end(char* s, const char * send, const char span_byte)
5593                         __attribute__warn_unused_result__;
5594 #define PERL_ARGS_ASSERT_FIND_SPAN_END  \
5595         assert(s); assert(send)
5596
5597 STATIC U8 *     S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
5598                         __attribute__warn_unused_result__;
5599 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK     \
5600         assert(s); assert(send)
5601
5602 STATIC bool     S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character)
5603                         __attribute__warn_unused_result__;
5604 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC  \
5605         assert(character)
5606
5607 STATIC bool     S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
5608                         __attribute__warn_unused_result__;
5609 #define PERL_ARGS_ASSERT_ISGCB  \
5610         assert(strbeg); assert(curpos)
5611
5612 STATIC bool     S_isLB(pTHX_ LB_enum before, LB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
5613                         __attribute__warn_unused_result__;
5614 #define PERL_ARGS_ASSERT_ISLB   \
5615         assert(strbeg); assert(curpos); assert(strend)
5616
5617 STATIC bool     S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
5618                         __attribute__warn_unused_result__;
5619 #define PERL_ARGS_ASSERT_ISSB   \
5620         assert(strbeg); assert(curpos); assert(strend)
5621
5622 STATIC bool     S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
5623                         __attribute__warn_unused_result__;
5624 #define PERL_ARGS_ASSERT_ISWB   \
5625         assert(strbeg); assert(curpos); assert(strend)
5626
5627 STATIC I32      S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
5628                         __attribute__warn_unused_result__;
5629 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
5630         assert(rex); assert(scan)
5631
5632 STATIC void     S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
5633 #define PERL_ARGS_ASSERT_REGCP_RESTORE  \
5634         assert(rex); assert(maxopenparen_p)
5635 STATIC void     S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
5636 #define PERL_ARGS_ASSERT_REGCPPOP       \
5637         assert(rex); assert(maxopenparen_p)
5638 STATIC CHECKPOINT       S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
5639 #define PERL_ARGS_ASSERT_REGCPPUSH      \
5640         assert(rex)
5641 STATIC U8*      S_reghop3(U8 *s, SSize_t off, const U8 *lim)
5642                         __attribute__warn_unused_result__;
5643 #define PERL_ARGS_ASSERT_REGHOP3        \
5644         assert(s); assert(lim)
5645
5646 STATIC U8*      S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
5647                         __attribute__warn_unused_result__;
5648 #define PERL_ARGS_ASSERT_REGHOP4        \
5649         assert(s); assert(llim); assert(rlim)
5650
5651 STATIC U8*      S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
5652                         __attribute__warn_unused_result__;
5653 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
5654         assert(s); assert(lim)
5655
5656 STATIC bool     S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
5657                         __attribute__warn_unused_result__;
5658 #define PERL_ARGS_ASSERT_REGINCLASS     \
5659         assert(n); assert(p); assert(p_end)
5660
5661 STATIC SSize_t  S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
5662                         __attribute__warn_unused_result__;
5663 #define PERL_ARGS_ASSERT_REGMATCH       \
5664         assert(reginfo); assert(startpos); assert(prog)
5665
5666 STATIC I32      S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, regmatch_info *const reginfo, I32 max _pDEPTH)
5667                         __attribute__warn_unused_result__;
5668 #define PERL_ARGS_ASSERT_REGREPEAT      \
5669         assert(prog); assert(startposp); assert(p); assert(reginfo)
5670
5671 STATIC bool     S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
5672                         __attribute__warn_unused_result__;
5673 #define PERL_ARGS_ASSERT_REGTRY \
5674         assert(reginfo); assert(startposp)
5675
5676 STATIC bool     S_to_byte_substr(pTHX_ regexp * prog);
5677 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
5678         assert(prog)
5679 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog);
5680 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
5681         assert(prog)
5682 #endif
5683 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
5684 PERL_CALLCONV bool      Perl__is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
5685                         __attribute__warn_unused_result__;
5686 #define PERL_ARGS_ASSERT__IS_GRAPHEME   \
5687         assert(strbeg); assert(s); assert(strend)
5688
5689 #endif
5690 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
5691 PERL_CALLCONV bool      Perl_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
5692                         __attribute__warn_unused_result__;
5693
5694 #endif
5695 #if defined(PERL_IN_SCOPE_C)
5696 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
5697 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
5698 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
5699         assert(sptr)
5700 #endif
5701 #if defined(PERL_IN_SV_C)
5702 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
5703 #define PERL_ARGS_ASSERT_F0CONVERT      \
5704         assert(endbuf); assert(len)
5705 STATIC void     S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
5706 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE     \
5707         assert(gv); assert(cv)
5708 STATIC void     S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
5709 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT     \
5710         assert(func); assert(sv)
5711 STATIC bool     S_curse(pTHX_ SV * const sv, const bool check_refcnt);
5712 #define PERL_ARGS_ASSERT_CURSE  \
5713         assert(sv)
5714 STATIC STRLEN   S_expect_number(pTHX_ const char **const pattern)
5715                         __attribute__warn_unused_result__;
5716 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
5717         assert(pattern)
5718
5719 STATIC SSize_t  S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
5720 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
5721         assert(val)
5722 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
5723 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
5724         assert(val)
5725 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
5726 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR        \
5727         assert(desc_p)
5728 STATIC bool     S_glob_2number(pTHX_ GV* const gv);
5729 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
5730         assert(gv)
5731 STATIC void     S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype);
5732 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
5733         assert(dstr); assert(sstr)
5734 STATIC SV *     S_more_sv(pTHX);
5735 STATIC void     S_not_a_number(pTHX_ SV *const sv);
5736 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
5737         assert(sv)
5738 STATIC void     S_not_incrementable(pTHX_ SV *const sv);
5739 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE      \
5740         assert(sv)
5741 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
5742                         __attribute__warn_unused_result__;
5743 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
5744         assert(tbl)
5745
5746 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv);
5747 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
5748         assert(sv)
5749 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
5750 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
5751         assert(ptr)
5752 STATIC const char *     S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
5753 #define PERL_ARGS_ASSERT_SV_DISPLAY     \
5754         assert(sv); assert(tmpbuf)
5755 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
5756 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
5757         assert(s); assert(target); assert(end)
5758 STATIC STRLEN   S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0);
5759 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
5760         assert(sv); assert(mgp); assert(start); assert(send)
5761 STATIC STRLEN   S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end);
5762 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
5763         assert(start); assert(send); assert(uoffset); assert(at_end)
5764 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
5765 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
5766         assert(start); assert(send)
5767 #ifndef PERL_NO_INLINE_FUNCTIONS
5768 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
5769 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
5770         assert(sv)
5771 #endif
5772 STATIC char *   S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
5773                         __attribute__warn_unused_result__;
5774 #define PERL_ARGS_ASSERT_UIV_2BUF       \
5775         assert(buf); assert(peob)
5776
5777 STATIC void     S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
5778 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE       \
5779         assert(sv); assert(mgp)
5780 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
5781 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
5782         assert(sv); assert(mgp)
5783 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
5784 #define PERL_ARGS_ASSERT_VISIT  \
5785         assert(f)
5786 #  if defined(USE_ITHREADS)
5787 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
5788                         __attribute__warn_unused_result__;
5789 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
5790         assert(sstr); assert(param)
5791
5792 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
5793 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
5794         assert(source); assert(dest); assert(param)
5795 STATIC void     S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
5796 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK      \
5797         assert(unreferenced)
5798 #  endif
5799 #endif
5800 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
5801 PERL_CALLCONV SV *      Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, SSize_t aindex, int subscript_type)
5802                         __attribute__warn_unused_result__;
5803
5804 #endif
5805 #if defined(PERL_IN_TOKE_C)
5806 STATIC int      S_ao(pTHX_ int toketype);
5807 STATIC void     S_check_uni(pTHX);
5808 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
5809 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
5810         assert(s); assert(name); assert(what)
5811 STATIC char *   S_filter_gets(pTHX_ SV *sv, STRLEN append)
5812                         __attribute__warn_unused_result__;
5813 #define PERL_ARGS_ASSERT_FILTER_GETS    \
5814         assert(sv)
5815
5816 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
5817                         __attribute__warn_unused_result__;
5818 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
5819         assert(pkgname)
5820
5821 STATIC void     S_force_ident(pTHX_ const char *s, int kind);
5822 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
5823         assert(s)
5824 STATIC void     S_force_ident_maybe_lex(pTHX_ char pit);
5825 STATIC void     S_force_next(pTHX_ I32 type);
5826 STATIC char*    S_force_strict_version(pTHX_ char *s);
5827 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION   \
5828         assert(s)
5829 STATIC char*    S_force_version(pTHX_ char *s, int guessing);
5830 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
5831         assert(s)
5832 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
5833 #define PERL_ARGS_ASSERT_FORCE_WORD     \
5834         assert(start)
5835 STATIC SV*      S_get_and_check_backslash_N_name(pTHX_ const char* s, const char* const e)
5836                         __attribute__warn_unused_result__;
5837 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
5838         assert(s); assert(e)
5839
5840 STATIC void     S_incline(pTHX_ const char *s, const char *end);
5841 #define PERL_ARGS_ASSERT_INCLINE        \
5842         assert(s); assert(end)
5843 STATIC int      S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
5844 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
5845         assert(s)
5846 STATIC int      S_intuit_more(pTHX_ char *s, char *e);
5847 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
5848         assert(s); assert(e)
5849 STATIC I32      S_lop(pTHX_ I32 f, U8 x, char *s);
5850 #define PERL_ARGS_ASSERT_LOP    \
5851         assert(s)
5852 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
5853                         __attribute__noreturn__;
5854
5855 STATIC SV*      S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen);
5856 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
5857         assert(key); assert(sv)
5858 STATIC void     S_no_op(pTHX_ const char *const what, char *s);
5859 #define PERL_ARGS_ASSERT_NO_OP  \
5860         assert(what)
5861 STATIC void     S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
5862 #define PERL_ARGS_ASSERT_PARSE_IDENT    \
5863         assert(s); assert(d); assert(e)
5864 STATIC int      S_pending_ident(pTHX);
5865 STATIC char*    S_scan_const(pTHX_ char *start)
5866                         __attribute__warn_unused_result__;
5867 #define PERL_ARGS_ASSERT_SCAN_CONST     \
5868         assert(start)
5869
5870 STATIC char*    S_scan_formline(pTHX_ char *s)
5871                         __attribute__warn_unused_result__;
5872 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
5873         assert(s)
5874
5875 STATIC char*    S_scan_heredoc(pTHX_ char *s)
5876                         __attribute__warn_unused_result__;
5877 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
5878         assert(s)
5879
5880 STATIC char*    S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
5881 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
5882         assert(s); assert(dest)
5883 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
5884                         __attribute__warn_unused_result__;
5885 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
5886         assert(start)
5887
5888 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
5889                         __attribute__warn_unused_result__;
5890 #define PERL_ARGS_ASSERT_SCAN_PAT       \
5891         assert(start)
5892
5893 STATIC char*    S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
5894                         __attribute__warn_unused_result__;
5895 #define PERL_ARGS_ASSERT_SCAN_STR       \
5896         assert(start)
5897
5898 STATIC char*    S_scan_subst(pTHX_ char *start)
5899                         __attribute__warn_unused_result__;
5900 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
5901         assert(start)
5902
5903 STATIC char*    S_scan_trans(pTHX_ char *start)
5904                         __attribute__warn_unused_result__;
5905 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
5906         assert(start)
5907
5908 STATIC char*    S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
5909 #define PERL_ARGS_ASSERT_SCAN_WORD      \
5910         assert(s); assert(dest); assert(slp)
5911 STATIC char*    S_skipspace_flags(pTHX_ char *s, U32 flags)
5912                         __attribute__warn_unused_result__;
5913 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
5914         assert(s)
5915
5916 STATIC I32      S_sublex_done(pTHX)
5917                         __attribute__warn_unused_result__;
5918
5919 STATIC I32      S_sublex_push(pTHX)
5920                         __attribute__warn_unused_result__;
5921
5922 STATIC I32      S_sublex_start(pTHX)
5923                         __attribute__warn_unused_result__;
5924
5925 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
5926                         __attribute__warn_unused_result__;
5927 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
5928         assert(s)
5929
5930 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
5931                         __attribute__warn_unused_result__;
5932 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
5933         assert(s)
5934
5935 STATIC SV*      S_tokeq(pTHX_ SV *sv);
5936 #define PERL_ARGS_ASSERT_TOKEQ  \
5937         assert(sv)
5938 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
5939 STATIC int      S_yywarn(pTHX_ const char *const s, U32 flags);
5940 #define PERL_ARGS_ASSERT_YYWARN \
5941         assert(s)
5942 #endif
5943 #if defined(PERL_IN_UNIVERSAL_C)
5944 STATIC bool     S_isa_lookup(pTHX_ HV *stash, const char * const name, STRLEN len, U32 flags);
5945 #define PERL_ARGS_ASSERT_ISA_LOOKUP     \
5946         assert(stash); assert(name)
5947 #endif
5948 #if defined(PERL_IN_UTF8_C)
5949 STATIC UV       S__to_utf8_case(pTHX_ const UV uv1, const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special);
5950 #define PERL_ARGS_ASSERT__TO_UTF8_CASE  \
5951         assert(p); assert(ustrp); assert(swashp); assert(normal)
5952 STATIC U32      S_check_and_deprecate(pTHX_ const U8 * p, const U8 ** e, const unsigned type, const bool use_locale, const char * const file, const unsigned line);
5953 #define PERL_ARGS_ASSERT_CHECK_AND_DEPRECATE    \
5954         assert(p); assert(e); assert(file)
5955 STATIC UV       S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
5956                         __attribute__warn_unused_result__;
5957 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
5958         assert(p); assert(ustrp); assert(lenp)
5959
5960 #ifndef PERL_NO_INLINE_FUNCTIONS
5961 PERL_STATIC_INLINE int  S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
5962                         __attribute__warn_unused_result__;
5963 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW     \
5964         assert(s); assert(e)
5965 #endif
5966
5967 #ifndef PERL_NO_INLINE_FUNCTIONS
5968 PERL_STATIC_INLINE int  S_isFF_OVERLONG(const U8 * const s, const STRLEN len)
5969                         __attribute__warn_unused_result__;
5970 #define PERL_ARGS_ASSERT_ISFF_OVERLONG  \
5971         assert(s)
5972 #endif
5973
5974 #ifndef PERL_NO_INLINE_FUNCTIONS
5975 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname, SV* const invlist)
5976                         __attribute__warn_unused_result__;
5977 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
5978         assert(p); assert(swash); assert(swashname)
5979 #endif
5980
5981 #ifndef PERL_NO_INLINE_FUNCTIONS
5982 PERL_STATIC_INLINE bool S_is_utf8_common_with_len(pTHX_ const U8 *const p, const U8 *const e, SV **swash, const char * const swashname, SV* const invlist)
5983                         __attribute__warn_unused_result__;
5984 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON_WITH_LEN        \
5985         assert(p); assert(e); assert(swash); assert(swashname)
5986 #endif
5987
5988 #ifndef PERL_NO_INLINE_FUNCTIONS
5989 PERL_STATIC_INLINE int  S_is_utf8_overlong_given_start_byte_ok(const U8 * const s, const STRLEN len)
5990                         __attribute__warn_unused_result__;
5991 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG_GIVEN_START_BYTE_OK   \
5992         assert(s)
5993 #endif
5994
5995 STATIC U8*      S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val, const bool wants_value, const U8* const typestr)
5996                         __attribute__warn_unused_result__;
5997 #define PERL_ARGS_ASSERT_SWASH_SCAN_LIST_LINE   \
5998         assert(l); assert(lend); assert(min); assert(max); assert(val); assert(typestr)
5999
6000 STATIC SV*      S_swatch_get(pTHX_ SV* swash, UV start, UV span)
6001                         __attribute__warn_unused_result__;
6002 #define PERL_ARGS_ASSERT_SWATCH_GET     \
6003         assert(swash)
6004
6005 STATIC U8       S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
6006                         __attribute__warn_unused_result__;
6007
6008 STATIC char *   S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
6009                         __attribute__warn_unused_result__;
6010 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT       \
6011         assert(s)
6012
6013 STATIC void     S_warn_on_first_deprecated_use(pTHX_ const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
6014 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE   \
6015         assert(name); assert(alternative); assert(file)
6016 #endif
6017 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
6018 PERL_CALLCONV UV        Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s);
6019 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
6020         assert(p); assert(lenp)
6021 #endif
6022 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6023 PERL_CALLCONV UV        Perl__to_fold_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6024 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1        \
6025         assert(p); assert(lenp)
6026 #endif
6027 #if defined(PERL_IN_UTIL_C)
6028 STATIC bool     S_ckwarn_common(pTHX_ U32 w);
6029 STATIC bool     S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
6030 STATIC SV*      S_mess_alloc(pTHX);
6031 STATIC SV *     S_with_queued_errors(pTHX_ SV *ex);
6032 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS     \
6033         assert(ex)
6034 STATIC void     S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
6035 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK   \
6036         assert(xs_p)
6037 #  if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
6038 STATIC void     S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
6039 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
6040         assert(type_name); assert(filename); assert(funcname)
6041 #  endif
6042 #endif
6043 #if defined(PERL_MEM_LOG)
6044 PERL_CALLCONV Malloc_t  Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
6045 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC  \
6046         assert(type_name); assert(filename); assert(funcname)
6047 PERL_CALLCONV Malloc_t  Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
6048 #define PERL_ARGS_ASSERT_MEM_LOG_FREE   \
6049         assert(filename); assert(funcname)
6050 PERL_CALLCONV Malloc_t  Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
6051 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC        \
6052         assert(type_name); assert(filename); assert(funcname)
6053 #endif
6054 #if defined(PERL_OP_PARENT)
6055 PERL_CALLCONV OP*       Perl_op_parent(OP *o);
6056 #define PERL_ARGS_ASSERT_OP_PARENT      \
6057         assert(o)
6058 #endif
6059 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
6060 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
6061 #endif
6062 #if defined(UNLINK_ALL_VERSIONS)
6063 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f);
6064 #define PERL_ARGS_ASSERT_UNLNK  \
6065         assert(f)
6066 #endif
6067 #if defined(USE_C_BACKTRACE)
6068 PERL_CALLCONV bool      Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
6069 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE       \
6070         assert(fp)
6071 /* PERL_CALLCONV void   free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
6072 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip);
6073 PERL_CALLCONV SV*       Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
6074 #endif
6075 #if defined(USE_DTRACE)
6076 PERL_CALLCONV void      Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
6077 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL      \
6078         assert(cv)
6079 PERL_CALLCONV void      Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
6080 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD      \
6081         assert(name)
6082 PERL_CALLCONV void      Perl_dtrace_probe_op(pTHX_ const OP *op);
6083 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP        \
6084         assert(op)
6085 PERL_CALLCONV void      Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
6086 #endif
6087 #if defined(USE_ITHREADS)
6088 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
6089 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH  \
6090         assert(hv)
6091 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
6092                         __attribute__warn_unused_result__;
6093 #define PERL_ARGS_ASSERT_ANY_DUP        \
6094         assert(proto_perl)
6095
6096 PERL_CALLCONV void      Perl_clone_params_del(CLONE_PARAMS *param);
6097 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL       \
6098         assert(param)
6099 PERL_CALLCONV CLONE_PARAMS *    Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
6100                         __attribute__warn_unused_result__;
6101 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW       \
6102         assert(from); assert(to)
6103
6104 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
6105                         __attribute__warn_unused_result__;
6106 #define PERL_ARGS_ASSERT_CX_DUP \
6107         assert(param)
6108
6109 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
6110                         __attribute__warn_unused_result__;
6111 #define PERL_ARGS_ASSERT_DIRP_DUP       \
6112         assert(param)
6113
6114 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
6115 #define PERL_ARGS_ASSERT_FP_DUP \
6116         assert(param)
6117 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
6118                         __attribute__warn_unused_result__;
6119 #define PERL_ARGS_ASSERT_GP_DUP \
6120         assert(param)
6121
6122 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
6123                         __attribute__warn_unused_result__;
6124 #define PERL_ARGS_ASSERT_HE_DUP \
6125         assert(param)
6126
6127 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
6128                         __attribute__warn_unused_result__;
6129 #define PERL_ARGS_ASSERT_HEK_DUP        \
6130         assert(param)
6131
6132 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
6133                         __attribute__warn_unused_result__;
6134 #define PERL_ARGS_ASSERT_MG_DUP \
6135         assert(param)
6136
6137 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param);
6138 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
6139         assert(smeta); assert(param)
6140 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
6141                         __attribute__warn_unused_result__;
6142 #define PERL_ARGS_ASSERT_NEWPADOP       \
6143         assert(sv)
6144
6145 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
6146                         __attribute__warn_unused_result__;
6147 #define PERL_ARGS_ASSERT_PADLIST_DUP    \
6148         assert(srcpad); assert(param)
6149
6150 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
6151                         __attribute__warn_unused_result__;
6152 #define PERL_ARGS_ASSERT_PADNAME_DUP    \
6153         assert(src); assert(param)
6154
6155 PERL_CALLCONV PADNAMELIST *     Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
6156                         __attribute__warn_unused_result__;
6157 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP        \
6158         assert(srcpad); assert(param)
6159
6160 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
6161 #define PERL_ARGS_ASSERT_PARSER_DUP     \
6162         assert(param)
6163 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags);
6164 #define PERL_ARGS_ASSERT_PERL_CLONE     \
6165         assert(proto_perl)
6166 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
6167 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
6168         assert(sstr); assert(dstr); assert(param)
6169 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
6170 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
6171         assert(r); assert(param)
6172 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param);
6173 #define PERL_ARGS_ASSERT_RVPV_DUP       \
6174         assert(dstr); assert(sstr); assert(param)
6175 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
6176                         __attribute__warn_unused_result__;
6177 #define PERL_ARGS_ASSERT_SI_DUP \
6178         assert(param)
6179
6180 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
6181                         __attribute__warn_unused_result__;
6182 #define PERL_ARGS_ASSERT_SS_DUP \
6183         assert(proto_perl); assert(param)
6184
6185 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
6186                         __attribute__warn_unused_result__;
6187 #define PERL_ARGS_ASSERT_SV_DUP \
6188         assert(param)
6189
6190 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
6191                         __attribute__warn_unused_result__;
6192 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
6193         assert(param)
6194
6195 #endif
6196 #if defined(USE_LOCALE)             && (   defined(PERL_IN_LOCALE_C)            || defined(PERL_IN_MG_C)                || defined (PERL_EXT_POSIX))
6197 PERL_CALLCONV bool      Perl__is_cur_LC_category_utf8(pTHX_ int category);
6198 #endif
6199 #if defined(USE_LOCALE_COLLATE)
6200 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg);
6201 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
6202         assert(sv); assert(mg)
6203 #ifndef NO_MATHOMS
6204 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen);
6205 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
6206         assert(input_string); assert(xlen)
6207 #endif
6208 /* PERL_CALLCONV char*  sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp); */
6209 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
6210 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
6211         assert(sv); assert(nxp)
6212 #endif
6213 #if defined(USE_PERLIO)
6214 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
6215 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
6216 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
6217 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
6218 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
6219 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
6220 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
6221 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
6222 PERL_CALLCONV SSize_t   Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
6223                         __attribute__warn_unused_result__;
6224
6225 PERL_CALLCONV SSize_t   Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
6226                         __attribute__warn_unused_result__;
6227
6228 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
6229 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
6230 #define PERL_ARGS_ASSERT_PERLIO_READ    \
6231         assert(vbuf)
6232 PERL_CALLCONV void      Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
6233 PERL_CALLCONV void      Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
6234 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
6235 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
6236 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
6237 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
6238 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
6239                         __attribute__warn_unused_result__;
6240
6241 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
6242                         __attribute__warn_unused_result__;
6243
6244 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
6245                         __attribute__warn_unused_result__;
6246
6247 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
6248 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
6249 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
6250         assert(vbuf)
6251 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
6252 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
6253         assert(vbuf)
6254 #endif
6255 #if defined(USE_QUADMATH)
6256 PERL_CALLCONV bool      Perl_quadmath_format_needed(const char* format);
6257 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
6258         assert(format)
6259 PERL_CALLCONV const char*       Perl_quadmath_format_single(const char* format);
6260 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_SINGLE \
6261         assert(format)
6262 #endif
6263 #if defined(WIN32)
6264 PERL_CALLCONV_NO_RET void       win32_croak_not_implemented(const char * fname)
6265                         __attribute__noreturn__;
6266 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED    \
6267         assert(fname)
6268
6269 #endif
6270 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
6271 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
6272 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
6273         assert(mark); assert(sp)
6274 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd);
6275 #define PERL_ARGS_ASSERT_DO_SPAWN       \
6276         assert(cmd)
6277 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd);
6278 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
6279         assert(cmd)
6280 #endif
6281 #if defined(_MSC_VER)
6282 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg);
6283 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
6284         assert(sv); assert(mg)
6285 #endif
6286 #ifdef PERL_CORE
6287 #  include "pp_proto.h"
6288 #endif
6289 END_EXTERN_C
6290
6291 /* ex: set ro: */