add ~~x and x~~ overloads, deprecating ~~ overloads
[perl.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 PERL_CALLCONV UV        ASCII_TO_NEED(const UV enc, const UV ch)
21                         __attribute__deprecated__
22                         __attribute__warn_unused_result__
23                         __attribute__pure__;
24
25 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
26 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
27         assert(stash)
28 PERL_CALLCONV UV        NATIVE_TO_NEED(const UV enc, const UV ch)
29                         __attribute__deprecated__
30                         __attribute__warn_unused_result__
31                         __attribute__pure__;
32
33 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
34 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
35                         __attribute__malloc__
36                         __attribute__warn_unused_result__;
37
38 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op);
39 #define PERL_ARGS_ASSERT_SLAB_FREE      \
40         assert(op)
41 PERL_CALLCONV SV*       Perl__get_encoding(pTHX)
42                         __attribute__pure__;
43
44 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
45 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
46                         __attribute__warn_unused_result__;
47
48 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
49                         __attribute__warn_unused_result__;
50
51 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
52                         __attribute__warn_unused_result__;
53
54 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p)
55                         __attribute__warn_unused_result__;
56 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
57         assert(p)
58
59 PERL_CALLCONV bool      Perl__is_utf8_idcont(pTHX_ const U8 *p)
60                         __attribute__warn_unused_result__;
61 #define PERL_ARGS_ASSERT__IS_UTF8_IDCONT        \
62         assert(p)
63
64 PERL_CALLCONV bool      Perl__is_utf8_idstart(pTHX_ const U8 *p)
65                         __attribute__warn_unused_result__;
66 #define PERL_ARGS_ASSERT__IS_UTF8_IDSTART       \
67         assert(p)
68
69 PERL_CALLCONV bool      Perl__is_utf8_mark(pTHX_ const U8 *p)
70                         __attribute__warn_unused_result__;
71 #define PERL_ARGS_ASSERT__IS_UTF8_MARK  \
72         assert(p)
73
74 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont(pTHX_ const U8 *p)
75                         __attribute__warn_unused_result__;
76 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
77         assert(p)
78
79 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart(pTHX_ const U8 *p)
80                         __attribute__warn_unused_result__;
81 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
82         assert(p)
83
84 PERL_CALLCONV bool      Perl__is_utf8_xidcont(pTHX_ const U8 *p)
85                         __attribute__warn_unused_result__;
86 #define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT       \
87         assert(p)
88
89 PERL_CALLCONV bool      Perl__is_utf8_xidstart(pTHX_ const U8 *p)
90                         __attribute__warn_unused_result__;
91 #define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART      \
92         assert(p)
93
94 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
95 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
96         assert(p); assert(lenp)
97 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, U8 flags);
98 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
99         assert(p); assert(ustrp)
100 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
101 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
102         assert(p); assert(ustrp)
103 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
104 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
105         assert(p); assert(ustrp)
106 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
107 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
108         assert(p); assert(ustrp)
109 PERL_CALLCONV void      Perl__warn_problematic_locale(void);
110 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags);
111 #define PERL_ARGS_ASSERT_ALLOCMY        \
112         assert(name)
113 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
114 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
115         assert(left); assert(right)
116 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method);
117 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
118         assert(ref)
119 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method);
120 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
121 #define PERL_ARGS_ASSERT_APPLY  \
122         assert(mark); assert(sp)
123 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
124 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
125         assert(stashpv); assert(cv); assert(attrstr)
126 PERL_CALLCONV void      Perl_atfork_lock(void);
127 PERL_CALLCONV void      Perl_atfork_unlock(void);
128 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av);
129 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
130         assert(av)
131 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av);
132 #define PERL_ARGS_ASSERT_AV_CLEAR       \
133         assert(av)
134 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
135 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
136         assert(avp); assert(val)
137 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
138 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
139         assert(avp); assert(val)
140 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
141 #define PERL_ARGS_ASSERT_AV_DELETE      \
142         assert(av)
143 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
144                         __attribute__warn_unused_result__;
145 #define PERL_ARGS_ASSERT_AV_EXISTS      \
146         assert(av)
147
148 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key);
149 #define PERL_ARGS_ASSERT_AV_EXTEND      \
150         assert(av)
151 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp);
152 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
153         assert(maxp); assert(allocp); assert(arrayp)
154 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
155                         __attribute__warn_unused_result__;
156 #define PERL_ARGS_ASSERT_AV_FETCH       \
157         assert(av)
158
159 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill);
160 #define PERL_ARGS_ASSERT_AV_FILL        \
161         assert(av)
162 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av);
163 #define PERL_ARGS_ASSERT_AV_ITER_P      \
164         assert(av)
165 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
166                         __attribute__warn_unused_result__;
167 #define PERL_ARGS_ASSERT_AV_LEN \
168         assert(av)
169
170 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
171                         __attribute__warn_unused_result__;
172 #define PERL_ARGS_ASSERT_AV_MAKE        \
173         assert(strp)
174
175 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av);
176 #define PERL_ARGS_ASSERT_AV_POP \
177         assert(av)
178 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val);
179 #define PERL_ARGS_ASSERT_AV_PUSH        \
180         assert(av); assert(val)
181 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av);
182 #define PERL_ARGS_ASSERT_AV_REIFY       \
183         assert(av)
184 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
185                         __attribute__warn_unused_result__;
186 #define PERL_ARGS_ASSERT_AV_SHIFT       \
187         assert(av)
188
189 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
190 #define PERL_ARGS_ASSERT_AV_STORE       \
191         assert(av)
192 /* PERL_CALLCONV SSize_t        Perl_av_tindex(pTHX_ AV *av)
193                         __attribute__warn_unused_result__; */
194
195 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av);
196 #define PERL_ARGS_ASSERT_AV_UNDEF       \
197         assert(av)
198 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num);
199 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
200         assert(av)
201 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
202                         __attribute__warn_unused_result__;
203 #define PERL_ARGS_ASSERT_BIND_MATCH     \
204         assert(left); assert(right)
205
206 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
207                         __attribute__warn_unused_result__;
208
209 PERL_CALLCONV I32       Perl_block_gimme(pTHX)
210                         __attribute__warn_unused_result__;
211
212 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
213                         __attribute__warn_unused_result__;
214
215 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk);
216 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
217         assert(hk)
218 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
219 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
220 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
221 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
222 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
223         assert(b); assert(u)
224 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8);
225 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
226         assert(s); assert(len)
227 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len);
228 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
229         assert(s); assert(len)
230 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
231 #define PERL_ARGS_ASSERT_CALL_ARGV      \
232         assert(sub_name); assert(argv)
233 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
234 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
235 #define PERL_ARGS_ASSERT_CALL_LIST      \
236         assert(paramList)
237 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags);
238 #define PERL_ARGS_ASSERT_CALL_METHOD    \
239         assert(methname)
240 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
241 #define PERL_ARGS_ASSERT_CALL_PV        \
242         assert(sub_name)
243 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags);
244 #define PERL_ARGS_ASSERT_CALL_SV        \
245         assert(sv)
246 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
247 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
248                         __attribute__malloc__
249                         __attribute__warn_unused_result__;
250
251 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
252                         __attribute__warn_unused_result__;
253 #define PERL_ARGS_ASSERT_CANDO  \
254         assert(statbufp)
255
256 PERL_CALLCONV I32       Perl_cast_i32(NV f)
257                         __attribute__warn_unused_result__;
258
259 PERL_CALLCONV IV        Perl_cast_iv(NV f)
260                         __attribute__warn_unused_result__;
261
262 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
263                         __attribute__warn_unused_result__;
264
265 PERL_CALLCONV UV        Perl_cast_uv(NV f)
266                         __attribute__warn_unused_result__;
267
268 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len);
269 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
270         assert(s)
271 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
272                         __attribute__warn_unused_result__;
273 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
274         assert(o)
275
276 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
277                         __attribute__warn_unused_result__;
278 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
279         assert(o)
280
281 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
282                         __attribute__warn_unused_result__;
283 #define PERL_ARGS_ASSERT_CK_BITOP       \
284         assert(o)
285
286 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
287                         __attribute__warn_unused_result__;
288 #define PERL_ARGS_ASSERT_CK_CMP \
289         assert(o)
290
291 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
292                         __attribute__warn_unused_result__;
293 #define PERL_ARGS_ASSERT_CK_CONCAT      \
294         assert(o)
295
296 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
297                         __attribute__warn_unused_result__;
298 #define PERL_ARGS_ASSERT_CK_DEFINED     \
299         assert(o)
300
301 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
302                         __attribute__warn_unused_result__;
303 #define PERL_ARGS_ASSERT_CK_DELETE      \
304         assert(o)
305
306 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
307                         __attribute__warn_unused_result__;
308 #define PERL_ARGS_ASSERT_CK_EACH        \
309         assert(o)
310
311 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
312 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
313         assert(entersubop); assert(namegv); assert(protosv)
314 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
315 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
316         assert(entersubop)
317 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
318 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
319         assert(entersubop); assert(namegv); assert(protosv)
320 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
321 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
322         assert(entersubop); assert(namegv); assert(protosv)
323 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
324                         __attribute__warn_unused_result__;
325 #define PERL_ARGS_ASSERT_CK_EOF \
326         assert(o)
327
328 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
329                         __attribute__warn_unused_result__;
330 #define PERL_ARGS_ASSERT_CK_EVAL        \
331         assert(o)
332
333 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
334                         __attribute__warn_unused_result__;
335 #define PERL_ARGS_ASSERT_CK_EXEC        \
336         assert(o)
337
338 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
339                         __attribute__warn_unused_result__;
340 #define PERL_ARGS_ASSERT_CK_EXISTS      \
341         assert(o)
342
343 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
344                         __attribute__warn_unused_result__;
345 #define PERL_ARGS_ASSERT_CK_FTST        \
346         assert(o)
347
348 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
349                         __attribute__warn_unused_result__;
350 #define PERL_ARGS_ASSERT_CK_FUN \
351         assert(o)
352
353 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
354                         __attribute__warn_unused_result__;
355 #define PERL_ARGS_ASSERT_CK_GLOB        \
356         assert(o)
357
358 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
359                         __attribute__warn_unused_result__;
360 #define PERL_ARGS_ASSERT_CK_GREP        \
361         assert(o)
362
363 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
364                         __attribute__warn_unused_result__;
365 #define PERL_ARGS_ASSERT_CK_INDEX       \
366         assert(o)
367
368 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
369                         __attribute__warn_unused_result__;
370 #define PERL_ARGS_ASSERT_CK_JOIN        \
371         assert(o)
372
373 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
374                         __attribute__warn_unused_result__;
375 #define PERL_ARGS_ASSERT_CK_LENGTH      \
376         assert(o)
377
378 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
379                         __attribute__warn_unused_result__;
380 #define PERL_ARGS_ASSERT_CK_LFUN        \
381         assert(o)
382
383 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
384                         __attribute__warn_unused_result__;
385 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
386         assert(o)
387
388 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
389                         __attribute__warn_unused_result__;
390 #define PERL_ARGS_ASSERT_CK_MATCH       \
391         assert(o)
392
393 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
394                         __attribute__warn_unused_result__;
395 #define PERL_ARGS_ASSERT_CK_METHOD      \
396         assert(o)
397
398 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
399                         __attribute__warn_unused_result__;
400 #define PERL_ARGS_ASSERT_CK_NULL        \
401         assert(o)
402
403 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
404                         __attribute__warn_unused_result__;
405 #define PERL_ARGS_ASSERT_CK_OPEN        \
406         assert(o)
407
408 PERL_CALLCONV OP *      Perl_ck_prototype(pTHX_ OP *o)
409                         __attribute__warn_unused_result__;
410 #define PERL_ARGS_ASSERT_CK_PROTOTYPE   \
411         assert(o)
412
413 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
414                         __attribute__warn_unused_result__;
415 #define PERL_ARGS_ASSERT_CK_READLINE    \
416         assert(o)
417
418 PERL_CALLCONV OP *      Perl_ck_refassign(pTHX_ OP *o)
419                         __attribute__warn_unused_result__;
420 #define PERL_ARGS_ASSERT_CK_REFASSIGN   \
421         assert(o)
422
423 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
424                         __attribute__warn_unused_result__;
425 #define PERL_ARGS_ASSERT_CK_REPEAT      \
426         assert(o)
427
428 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
429                         __attribute__warn_unused_result__;
430 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
431         assert(o)
432
433 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
434                         __attribute__warn_unused_result__;
435 #define PERL_ARGS_ASSERT_CK_RETURN      \
436         assert(o)
437
438 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
439                         __attribute__warn_unused_result__;
440 #define PERL_ARGS_ASSERT_CK_RFUN        \
441         assert(o)
442
443 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
444                         __attribute__warn_unused_result__;
445 #define PERL_ARGS_ASSERT_CK_RVCONST     \
446         assert(o)
447
448 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
449                         __attribute__warn_unused_result__;
450 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
451         assert(o)
452
453 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
454                         __attribute__warn_unused_result__;
455 #define PERL_ARGS_ASSERT_CK_SELECT      \
456         assert(o)
457
458 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
459                         __attribute__warn_unused_result__;
460 #define PERL_ARGS_ASSERT_CK_SHIFT       \
461         assert(o)
462
463 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
464                         __attribute__warn_unused_result__;
465 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
466         assert(o)
467
468 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
469                         __attribute__warn_unused_result__;
470 #define PERL_ARGS_ASSERT_CK_SORT        \
471         assert(o)
472
473 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
474                         __attribute__warn_unused_result__;
475 #define PERL_ARGS_ASSERT_CK_SPAIR       \
476         assert(o)
477
478 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
479                         __attribute__warn_unused_result__;
480 #define PERL_ARGS_ASSERT_CK_SPLIT       \
481         assert(o)
482
483 PERL_CALLCONV OP *      Perl_ck_stringify(pTHX_ OP *o)
484                         __attribute__warn_unused_result__;
485 #define PERL_ARGS_ASSERT_CK_STRINGIFY   \
486         assert(o)
487
488 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
489                         __attribute__warn_unused_result__;
490 #define PERL_ARGS_ASSERT_CK_SUBR        \
491         assert(o)
492
493 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
494                         __attribute__warn_unused_result__;
495 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
496         assert(o)
497
498 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
499                         __attribute__warn_unused_result__;
500 #define PERL_ARGS_ASSERT_CK_SVCONST     \
501         assert(o)
502
503 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
504                         __attribute__warn_unused_result__;
505 #define PERL_ARGS_ASSERT_CK_TELL        \
506         assert(o)
507
508 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
509                         __attribute__warn_unused_result__;
510 #define PERL_ARGS_ASSERT_CK_TRUNC       \
511         assert(o)
512
513 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
514                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
515 #define PERL_ARGS_ASSERT_CK_WARNER      \
516         assert(pat)
517
518 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
519                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
520 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
521         assert(pat)
522
523 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w);
524 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w);
525 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext);
526 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
527         assert(cop)
528 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
529 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
530         assert(cop)
531 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
532 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
533         assert(cop); assert(label)
534 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum);
535 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
536         assert(name)
537 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum);
538 #define PERL_ARGS_ASSERT_CORESUB_OP     \
539         assert(coreargssv)
540 PERL_CALLCONV PERL_CONTEXT*     Perl_create_eval_scope(pTHX_ U32 flags);
541 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
542                         __attribute__noreturn__
543                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
544
545 PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
546                         __attribute__noreturn__;
547
548 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
549                         __attribute__noreturn__;
550
551 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
552                         __attribute__noreturn__;
553
554 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
555                         __attribute__noreturn__;
556
557 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
558                         __attribute__noreturn__;
559 #define PERL_ARGS_ASSERT_CROAK_SV       \
560         assert(baseex)
561
562 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
563                         __attribute__noreturn__;
564 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
565         assert(cv); assert(params)
566
567 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
568 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
569                         __attribute__warn_unused_result__;
570 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
571         assert(o)
572
573 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
574                         __attribute__warn_unused_result__;
575 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
576         assert(o)
577
578 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
579                         __attribute__warn_unused_result__;
580 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
581         assert(o)
582
583 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
584 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
585         assert(ppaddr); assert(xop)
586 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o)
587                         __attribute__pure__; */
588
589 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
590 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
591         assert(cv)
592 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto);
593 #define PERL_ARGS_ASSERT_CV_CLONE       \
594         assert(proto)
595 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target);
596 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
597         assert(proto); assert(target)
598 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
599                         __attribute__warn_unused_result__;
600
601 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
602                         __attribute__warn_unused_result__;
603
604 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv);
605 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
606 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
607         assert(cv); assert(ckfun_p); assert(ckobj_p)
608 PERL_CALLCONV SV *      Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
609 #define PERL_ARGS_ASSERT_CV_NAME        \
610         assert(cv)
611 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
612 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
613         assert(cv); assert(ckfun); assert(ckobj)
614 PERL_CALLCONV void      Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 flags);
615 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS      \
616         assert(cv); assert(ckfun); assert(ckobj)
617 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv);
618 #define PERL_ARGS_ASSERT_CV_UNDEF       \
619         assert(cv)
620 PERL_CALLCONV void      Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags);
621 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
622         assert(cv)
623 PERL_CALLCONV GV *      Perl_cvgv_from_hek(pTHX_ CV* cv);
624 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK  \
625         assert(cv)
626 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
627 #define PERL_ARGS_ASSERT_CVGV_SET       \
628         assert(cv)
629 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
630 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
631         assert(cv)
632 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
633 #define PERL_ARGS_ASSERT_CX_DUMP        \
634         assert(cx)
635 PERL_CALLCONV I32       Perl_cxinc(pTHX)
636                         __attribute__warn_unused_result__;
637
638 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
639                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
640 #define PERL_ARGS_ASSERT_DEB    \
641         assert(pat)
642
643 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
644 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o);
645 #define PERL_ARGS_ASSERT_DEBOP  \
646         assert(o)
647 PERL_CALLCONV void      Perl_debprofdump(pTHX);
648 PERL_CALLCONV I32       Perl_debstack(pTHX);
649 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
650 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
651                         __attribute__warn_unused_result__;
652 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
653         assert(sv)
654
655 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
656 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
657 #define PERL_ARGS_ASSERT_DELIMCPY       \
658         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
659 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
660 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
661                         __attribute__noreturn__
662                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
663
664 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
665                         __attribute__noreturn__;
666 #define PERL_ARGS_ASSERT_DIE_SV \
667         assert(baseex)
668
669 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
670                         __attribute__noreturn__;
671 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
672         assert(msv)
673
674 /* PERL_CALLCONV bool   Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp); */
675 #define PERL_ARGS_ASSERT_DO_AEXEC       \
676         assert(mark); assert(sp)
677 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report);
678 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
679         assert(mark); assert(sp)
680 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode);
681 #define PERL_ARGS_ASSERT_DO_BINMODE     \
682         assert(fp)
683 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
684 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full);
685 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
686         assert(file)
687 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv);
688 #define PERL_ARGS_ASSERT_DO_EOF \
689         assert(gv)
690 PERL_CALLCONV void      Perl_do_execfree(pTHX);
691 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
692 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
693         assert(file); assert(name)
694 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
695 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
696         assert(file); assert(name)
697 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
698 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
699         assert(file); assert(name)
700 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
701 #define PERL_ARGS_ASSERT_DO_JOIN        \
702         assert(sv); assert(delim); assert(mark); assert(sp)
703 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
704 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
705         assert(file)
706 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
707                         __attribute__warn_unused_result__;
708 #define PERL_ARGS_ASSERT_DO_NCMP        \
709         assert(left); assert(right)
710
711 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
712 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
713         assert(file)
714 /* PERL_CALLCONV bool   Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp); */
715 #define PERL_ARGS_ASSERT_DO_OPEN        \
716         assert(gv); assert(name)
717 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num);
718 #define PERL_ARGS_ASSERT_DO_OPEN6       \
719         assert(gv); assert(oname)
720 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);
721 #define PERL_ARGS_ASSERT_DO_OPEN9       \
722         assert(gv); assert(name); assert(svs)
723 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm);
724 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
725         assert(gv); assert(oname)
726 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);
727 #define PERL_ARGS_ASSERT_DO_OPENN       \
728         assert(gv); assert(oname)
729 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
730 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
731         assert(file)
732 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
733 #define PERL_ARGS_ASSERT_DO_PRINT       \
734         assert(fp)
735 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
736                         __attribute__warn_unused_result__;
737
738 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
739 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg);
740 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
741         assert(sv); assert(sarg)
742 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
743 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
744         assert(file)
745 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
746 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
747         assert(gv)
748 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
749                         __attribute__warn_unused_result__;
750 #define PERL_ARGS_ASSERT_DO_TELL        \
751         assert(gv)
752
753 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv);
754 #define PERL_ARGS_ASSERT_DO_TRANS       \
755         assert(sv)
756 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size);
757 #define PERL_ARGS_ASSERT_DO_VECGET      \
758         assert(sv)
759 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv);
760 #define PERL_ARGS_ASSERT_DO_VECSET      \
761         assert(sv)
762 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
763 #define PERL_ARGS_ASSERT_DO_VOP \
764         assert(sv); assert(left); assert(right)
765 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin);
766 #define PERL_ARGS_ASSERT_DOFILE \
767         assert(term)
768 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
769                         __attribute__warn_unused_result__;
770
771 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
772 #define PERL_ARGS_ASSERT_DOREF  \
773         assert(o)
774 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
775 PERL_CALLCONV I32       Perl_dowantarray(pTHX)
776                         __attribute__warn_unused_result__;
777
778 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
779 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
780         assert(random_state)
781 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state);
782 #define PERL_ARGS_ASSERT_DRAND48_R      \
783         assert(random_state)
784 PERL_CALLCONV void      Perl_dump_all(pTHX);
785 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
786 PERL_CALLCONV void      Perl_dump_eval(pTHX);
787 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv);
788 #define PERL_ARGS_ASSERT_DUMP_FORM      \
789         assert(gv)
790 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
791                         __attribute__format__(__printf__,pTHX_3,pTHX_4);
792 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
793         assert(file); assert(pat)
794
795 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash);
796 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
797         assert(stash)
798 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl);
799 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
800         assert(stash)
801 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv);
802 #define PERL_ARGS_ASSERT_DUMP_SUB       \
803         assert(gv)
804 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl);
805 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
806         assert(gv)
807 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
808 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
809         assert(file); assert(pat)
810 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
811 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
812         assert(c); assert(sv)
813 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
814 #define PERL_ARGS_ASSERT_EVAL_PV        \
815         assert(p)
816 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags);
817 #define PERL_ARGS_ASSERT_EVAL_SV        \
818         assert(sv)
819 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
820 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
821         assert(sv)
822 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
823                         __attribute__warn_unused_result__;
824 #define PERL_ARGS_ASSERT_FBM_INSTR      \
825         assert(big); assert(bigend); assert(littlestr)
826
827 PERL_CALLCONV bool      Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen);
828 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED     \
829         assert(name)
830 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
831 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp);
832 #define PERL_ARGS_ASSERT_FILTER_DEL     \
833         assert(funcp)
834 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
835                         __attribute__warn_unused_result__;
836 #define PERL_ARGS_ASSERT_FILTER_READ    \
837         assert(buf_sv)
838
839 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o);
840 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
841         assert(o)
842 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off);
843 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
844                         __attribute__warn_unused_result__;
845
846 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
847                         __attribute__warn_unused_result__;
848
849 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
850 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
851                         __attribute__deprecated__;
852
853 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags);
854 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
855         assert(scriptname)
856 PERL_CALLCONV I32       Perl_foldEQ(const char* a, const char* b, I32 len)
857                         __attribute__pure__;
858 #define PERL_ARGS_ASSERT_FOLDEQ \
859         assert(a); assert(b)
860
861 PERL_CALLCONV I32       Perl_foldEQ_latin1(const char* a, const char* b, I32 len)
862                         __attribute__pure__;
863 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
864         assert(a); assert(b)
865
866 PERL_CALLCONV I32       Perl_foldEQ_locale(const char* a, const char* b, I32 len)
867                         __attribute__pure__;
868 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
869         assert(a); assert(b)
870
871 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
872 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);
873 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
874         assert(s1); assert(s2)
875 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
876                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
877 #define PERL_ARGS_ASSERT_FORM   \
878         assert(pat)
879
880 PERL_CALLCONV char*     Perl_form_short_octal_warning(pTHX_ const char * const s, const STRLEN len)
881                         __attribute__warn_unused_result__
882                         __attribute__pure__;
883 #define PERL_ARGS_ASSERT_FORM_SHORT_OCTAL_WARNING       \
884         assert(s)
885
886 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
887 PERL_CALLCONV void      Perl_free_tmps(pTHX);
888 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags);
889 #define PERL_ARGS_ASSERT_GET_AV \
890         assert(name)
891 PERL_CALLCONV void*     Perl_get_context(void)
892                         __attribute__warn_unused_result__;
893
894 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags);
895 #define PERL_ARGS_ASSERT_GET_CV \
896         assert(name)
897 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
898 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
899         assert(name)
900 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
901 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
902         assert(cv)
903 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer);
904 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
905         assert(seed_buffer)
906 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags);
907 #define PERL_ARGS_ASSERT_GET_HV \
908         assert(name)
909 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
910                         __attribute__warn_unused_result__
911                         __attribute__pure__;
912
913 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
914                         __attribute__warn_unused_result__
915                         __attribute__pure__;
916
917 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
918                         __attribute__warn_unused_result__
919                         __attribute__pure__;
920
921 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
922                         __attribute__warn_unused_result__
923                         __attribute__pure__;
924
925 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
926                         __attribute__warn_unused_result__
927                         __attribute__pure__;
928
929 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
930 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags);
931 #define PERL_ARGS_ASSERT_GET_SV \
932         assert(name)
933 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
934                         __attribute__warn_unused_result__;
935
936 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv);
937 #define PERL_ARGS_ASSERT_GETCWD_SV      \
938         assert(sv)
939 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
940 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
941 PERL_CALLCONV bool      Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
942 #define PERL_ARGS_ASSERT_GROK_ATOUV     \
943         assert(pv); assert(valptr)
944 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
945 #define PERL_ARGS_ASSERT_GROK_BIN       \
946         assert(start); assert(len_p); assert(flags)
947 PERL_CALLCONV char      Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning)
948                         __attribute__warn_unused_result__;
949
950 PERL_CALLCONV bool      Perl_grok_bslash_o(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
951                         __attribute__warn_unused_result__;
952 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
953         assert(s); assert(uv); assert(error_msg)
954
955 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
956 #define PERL_ARGS_ASSERT_GROK_HEX       \
957         assert(start); assert(len_p); assert(flags)
958 PERL_CALLCONV int       Perl_grok_infnan(pTHX_ const char** sp, const char *send);
959 #define PERL_ARGS_ASSERT_GROK_INFNAN    \
960         assert(sp); assert(send)
961 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
962 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
963         assert(pv)
964 PERL_CALLCONV int       Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
965 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
966         assert(pv)
967 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
968                         __attribute__warn_unused_result__;
969 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
970         assert(sp); assert(send)
971
972 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
973 #define PERL_ARGS_ASSERT_GROK_OCT       \
974         assert(start); assert(len_p); assert(flags)
975 /* PERL_CALLCONV GV*    Perl_gv_AVadd(pTHX_ GV *gv); */
976 /* PERL_CALLCONV GV*    Perl_gv_HVadd(pTHX_ GV *gv); */
977 /* PERL_CALLCONV GV*    Perl_gv_IOadd(pTHX_ GV* gv); */
978 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
979 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
980                         __attribute__warn_unused_result__; */
981
982 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
983                         __attribute__warn_unused_result__;
984 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
985         assert(namepv)
986
987 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
988                         __attribute__warn_unused_result__;
989 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
990         assert(name)
991
992 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
993                         __attribute__warn_unused_result__;
994 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
995         assert(namesv)
996
997 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash);
998 #define PERL_ARGS_ASSERT_GV_CHECK       \
999         assert(stash)
1000 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1001                         __attribute__warn_unused_result__;
1002 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1003         assert(gv)
1004
1005 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv);
1006 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv);
1007 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
1008         assert(sv); assert(gv)
1009 /* PERL_CALLCONV void   Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix); */
1010 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1011         assert(sv); assert(gv)
1012 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1013 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1014         assert(sv); assert(gv)
1015 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name);
1016 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1017         assert(name)
1018 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1019 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1020         assert(name)
1021 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1022 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1023 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1024 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1025         assert(name)
1026 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1027 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1028         assert(name)
1029 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1030 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1031         assert(name)
1032 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1033 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1034         assert(name)
1035 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1036 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1037         assert(namesv)
1038 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1039 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1040         assert(namesv)
1041 /* PERL_CALLCONV GV*    Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name); */
1042 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1043         assert(stash); assert(name)
1044 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1045 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1046         assert(stash); assert(name)
1047 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1048 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1049         assert(stash); assert(name)
1050 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1051 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1052         assert(stash); assert(name)
1053 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1054 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1055         assert(stash); assert(namesv)
1056 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type);
1057 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1058         assert(nambeg)
1059 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1060 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1061         assert(name)
1062 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1063 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1064         assert(name)
1065 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv);
1066 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
1067         assert(sv); assert(gv)
1068 /* PERL_CALLCONV void   Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix); */
1069 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1070         assert(sv); assert(gv)
1071 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1072 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1073         assert(sv); assert(gv)
1074 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1075                         __attribute__warn_unused_result__;
1076
1077 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1078 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1079 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1080         assert(gv); assert(name)
1081 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1082 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1083         assert(gv); assert(name)
1084 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1085 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1086         assert(gv); assert(namesv)
1087 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1088 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1089         assert(gv); assert(name)
1090 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1091 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1092         assert(name)
1093 PERL_CALLCONV void      Perl_gv_setref(pTHX_ SV *const dstr, SV *const sstr);
1094 #define PERL_ARGS_ASSERT_GV_SETREF      \
1095         assert(dstr); assert(sstr)
1096 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1097 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1098         assert(name)
1099 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1100 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1101         assert(name)
1102 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1103 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1104         assert(sv)
1105 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv);
1106 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1107         assert(gv)
1108 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv);
1109 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1110         assert(hv)
1111 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1112 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv);
1113 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1114         assert(hv)
1115 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1116 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);
1117 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1118         assert(key)
1119 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1120                         __attribute__warn_unused_result__;
1121
1122 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry);
1123 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1124         assert(hv)
1125 /* PERL_CALLCONV SV*    Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags); */
1126 #define PERL_ARGS_ASSERT_HV_DELETE      \
1127         assert(key)
1128 /* PERL_CALLCONV SV*    Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash); */
1129 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1130         assert(keysv)
1131 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1132                         __attribute__warn_unused_result__;
1133 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1134         assert(hv)
1135
1136 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1137 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1138         assert(hv)
1139 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1140 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1141         assert(hv); assert(name)
1142 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1143 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1144         assert(hv); assert(name)
1145 /* PERL_CALLCONV bool   Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1146                         __attribute__warn_unused_result__; */
1147 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1148         assert(key)
1149
1150 /* PERL_CALLCONV bool   Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1151                         __attribute__warn_unused_result__; */
1152 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1153         assert(keysv)
1154
1155 /* PERL_CALLCONV SV**   Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval); */
1156 #define PERL_ARGS_ASSERT_HV_FETCH       \
1157         assert(key)
1158 /* PERL_CALLCONV HE*    Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash); */
1159 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1160         assert(keysv)
1161 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv);
1162 #define PERL_ARGS_ASSERT_HV_FILL        \
1163         assert(hv)
1164 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entry);
1165 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1166         assert(hv)
1167 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv);
1168 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1169         assert(hv)
1170 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1171                         __attribute__warn_unused_result__;
1172 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1173         assert(entry); assert(retlen)
1174
1175 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1176                         __attribute__warn_unused_result__;
1177 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1178         assert(entry)
1179
1180 /* PERL_CALLCONV HE*    Perl_hv_iternext(pTHX_ HV *hv)
1181                         __attribute__warn_unused_result__; */
1182 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1183         assert(hv)
1184
1185 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1186                         __attribute__warn_unused_result__;
1187 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1188         assert(hv)
1189
1190 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1191                         __attribute__warn_unused_result__;
1192 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1193         assert(hv); assert(key); assert(retlen)
1194
1195 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1196                         __attribute__warn_unused_result__;
1197 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1198         assert(hv); assert(entry)
1199
1200 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1201 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1202         assert(hv)
1203 /* PERL_CALLCONV void   Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how); */
1204 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1205         assert(hv)
1206 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1207 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1208         assert(hv)
1209 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1210                         __attribute__warn_unused_result__;
1211 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1212         assert(hv)
1213
1214 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1215                         __attribute__warn_unused_result__;
1216 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1217         assert(hv)
1218
1219 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1220 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1221         assert(hv)
1222 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1223 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1224         assert(hv)
1225 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1226                         __attribute__warn_unused_result__;
1227 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1228         assert(hv)
1229
1230 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1231 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1232         assert(hv)
1233 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1234                         __attribute__warn_unused_result__;
1235 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1236         assert(hv)
1237
1238 /* PERL_CALLCONV SV**   Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1239 /* PERL_CALLCONV HE*    Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1240 /* PERL_CALLCONV SV**   Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1241 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1242 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1243 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len); */
1244 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len); */
1245 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1246 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv);
1247 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1248         assert(argv)
1249 PERL_CALLCONV void      Perl_init_constants(pTHX);
1250 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1251 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1252 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1253 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
1254 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1255 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm);
1256 #define PERL_ARGS_ASSERT_INIT_TM        \
1257         assert(ptm)
1258 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1259                         __attribute__warn_unused_result__
1260                         __attribute__pure__;
1261 #define PERL_ARGS_ASSERT_INSTR  \
1262         assert(big); assert(little)
1263
1264 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1265 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1266                         __attribute__warn_unused_result__;
1267
1268 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail);
1269 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1270         assert(io)
1271 PERL_CALLCONV bool      Perl_isALNUM_lazy(pTHX_ const char* p)
1272                         __attribute__deprecated__
1273                         __attribute__warn_unused_result__
1274                         __attribute__pure__;
1275 #define PERL_ARGS_ASSERT_ISALNUM_LAZY   \
1276         assert(p)
1277
1278 PERL_CALLCONV bool      Perl_isIDFIRST_lazy(pTHX_ const char* p)
1279                         __attribute__deprecated__
1280                         __attribute__warn_unused_result__
1281                         __attribute__pure__;
1282 #define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1283         assert(p)
1284
1285 /* PERL_CALLCONV bool   Perl_is_ascii_string(pTHX_ const U8 *s, STRLEN len)
1286                         __attribute__warn_unused_result__; */
1287
1288 PERL_CALLCONV bool      Perl_is_invariant_string(const U8 *s, STRLEN len)
1289                         __attribute__warn_unused_result__;
1290 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING    \
1291         assert(s)
1292
1293 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1294                         __attribute__warn_unused_result__;
1295
1296 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1297                         __attribute__deprecated__
1298                         __attribute__warn_unused_result__
1299                         __attribute__pure__;
1300
1301 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1302                         __attribute__deprecated__
1303                         __attribute__warn_unused_result__
1304                         __attribute__pure__;
1305
1306 PERL_CALLCONV bool      Perl_is_uni_alnumc(pTHX_ UV c)
1307                         __attribute__deprecated__
1308                         __attribute__warn_unused_result__
1309                         __attribute__pure__;
1310
1311 PERL_CALLCONV bool      Perl_is_uni_alnumc_lc(pTHX_ UV c)
1312                         __attribute__deprecated__
1313                         __attribute__warn_unused_result__
1314                         __attribute__pure__;
1315
1316 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1317                         __attribute__deprecated__
1318                         __attribute__warn_unused_result__
1319                         __attribute__pure__;
1320
1321 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1322                         __attribute__deprecated__
1323                         __attribute__warn_unused_result__
1324                         __attribute__pure__;
1325
1326 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1327                         __attribute__deprecated__
1328                         __attribute__warn_unused_result__
1329                         __attribute__pure__;
1330
1331 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1332                         __attribute__deprecated__
1333                         __attribute__warn_unused_result__
1334                         __attribute__pure__;
1335
1336 PERL_CALLCONV bool      Perl_is_uni_blank(pTHX_ UV c)
1337                         __attribute__deprecated__
1338                         __attribute__warn_unused_result__
1339                         __attribute__pure__;
1340
1341 PERL_CALLCONV bool      Perl_is_uni_blank_lc(pTHX_ UV c)
1342                         __attribute__deprecated__
1343                         __attribute__warn_unused_result__
1344                         __attribute__pure__;
1345
1346 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1347                         __attribute__deprecated__
1348                         __attribute__warn_unused_result__
1349                         __attribute__pure__;
1350
1351 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1352                         __attribute__deprecated__
1353                         __attribute__warn_unused_result__
1354                         __attribute__pure__;
1355
1356 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1357                         __attribute__deprecated__
1358                         __attribute__warn_unused_result__
1359                         __attribute__pure__;
1360
1361 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1362                         __attribute__deprecated__
1363                         __attribute__warn_unused_result__
1364                         __attribute__pure__;
1365
1366 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1367                         __attribute__deprecated__
1368                         __attribute__warn_unused_result__
1369                         __attribute__pure__;
1370
1371 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1372                         __attribute__deprecated__
1373                         __attribute__warn_unused_result__
1374                         __attribute__pure__;
1375
1376 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1377                         __attribute__deprecated__
1378                         __attribute__warn_unused_result__
1379                         __attribute__pure__;
1380
1381 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1382                         __attribute__deprecated__
1383                         __attribute__warn_unused_result__
1384                         __attribute__pure__;
1385
1386 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1387                         __attribute__deprecated__
1388                         __attribute__warn_unused_result__
1389                         __attribute__pure__;
1390
1391 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1392                         __attribute__deprecated__
1393                         __attribute__warn_unused_result__
1394                         __attribute__pure__;
1395
1396 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1397                         __attribute__deprecated__
1398                         __attribute__warn_unused_result__
1399                         __attribute__pure__;
1400
1401 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1402                         __attribute__deprecated__
1403                         __attribute__warn_unused_result__
1404                         __attribute__pure__;
1405
1406 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1407                         __attribute__deprecated__
1408                         __attribute__warn_unused_result__
1409                         __attribute__pure__;
1410
1411 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1412                         __attribute__deprecated__
1413                         __attribute__warn_unused_result__
1414                         __attribute__pure__;
1415
1416 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1417                         __attribute__deprecated__
1418                         __attribute__warn_unused_result__
1419                         __attribute__pure__;
1420
1421 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1422                         __attribute__deprecated__
1423                         __attribute__warn_unused_result__
1424                         __attribute__pure__;
1425
1426 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1427                         __attribute__deprecated__
1428                         __attribute__warn_unused_result__
1429                         __attribute__pure__;
1430
1431 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1432                         __attribute__deprecated__
1433                         __attribute__warn_unused_result__
1434                         __attribute__pure__;
1435
1436 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1437                         __attribute__deprecated__
1438                         __attribute__warn_unused_result__
1439                         __attribute__pure__;
1440
1441 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1442                         __attribute__deprecated__
1443                         __attribute__warn_unused_result__
1444                         __attribute__pure__;
1445
1446 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1447                         __attribute__deprecated__
1448                         __attribute__warn_unused_result__;
1449 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1450         assert(p)
1451
1452 PERL_CALLCONV bool      Perl_is_utf8_alnumc(pTHX_ const U8 *p)
1453                         __attribute__deprecated__
1454                         __attribute__warn_unused_result__;
1455 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1456         assert(p)
1457
1458 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1459                         __attribute__deprecated__
1460                         __attribute__warn_unused_result__;
1461 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1462         assert(p)
1463
1464 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1465                         __attribute__deprecated__
1466                         __attribute__warn_unused_result__;
1467 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1468         assert(p)
1469
1470 PERL_CALLCONV bool      Perl_is_utf8_blank(pTHX_ const U8 *p)
1471                         __attribute__deprecated__
1472                         __attribute__warn_unused_result__;
1473 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK  \
1474         assert(p)
1475
1476 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1477                         __attribute__deprecated__;
1478 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1479         assert(s)
1480
1481 /* PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end); */
1482 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
1483         assert(buf); assert(buf_end)
1484 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1485                         __attribute__deprecated__
1486                         __attribute__warn_unused_result__;
1487 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1488         assert(p)
1489
1490 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1491                         __attribute__deprecated__
1492                         __attribute__warn_unused_result__;
1493 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1494         assert(p)
1495
1496 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1497                         __attribute__deprecated__
1498                         __attribute__warn_unused_result__;
1499 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1500         assert(p)
1501
1502 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1503                         __attribute__deprecated__
1504                         __attribute__warn_unused_result__;
1505 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1506         assert(p)
1507
1508 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1509                         __attribute__deprecated__
1510                         __attribute__warn_unused_result__;
1511 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1512         assert(p)
1513
1514 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1515                         __attribute__deprecated__
1516                         __attribute__warn_unused_result__;
1517 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1518         assert(p)
1519
1520 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1521                         __attribute__deprecated__
1522                         __attribute__warn_unused_result__;
1523 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1524         assert(p)
1525
1526 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1527                         __attribute__deprecated__
1528                         __attribute__warn_unused_result__;
1529 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
1530         assert(p)
1531
1532 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1533                         __attribute__deprecated__
1534                         __attribute__warn_unused_result__;
1535 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
1536         assert(p)
1537
1538 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1539                         __attribute__deprecated__
1540                         __attribute__warn_unused_result__;
1541 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
1542         assert(p)
1543
1544 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1545                         __attribute__deprecated__
1546                         __attribute__warn_unused_result__;
1547 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1548         assert(p)
1549
1550 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1551                         __attribute__deprecated__
1552                         __attribute__warn_unused_result__;
1553 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1554         assert(p)
1555
1556 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1557                         __attribute__deprecated__
1558                         __attribute__warn_unused_result__;
1559 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1560         assert(p)
1561
1562 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len);
1563 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1564         assert(s)
1565 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1566 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1567         assert(s)
1568 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1569 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1570         assert(s)
1571 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1572                         __attribute__deprecated__
1573                         __attribute__warn_unused_result__;
1574 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1575         assert(p)
1576
1577 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1578                         __attribute__deprecated__
1579                         __attribute__warn_unused_result__;
1580 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1581         assert(p)
1582
1583 PERL_CALLCONV bool      Perl_is_utf8_xidcont(pTHX_ const U8 *p)
1584                         __attribute__deprecated__
1585                         __attribute__warn_unused_result__;
1586 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT        \
1587         assert(p)
1588
1589 PERL_CALLCONV bool      Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
1590                         __attribute__deprecated__
1591                         __attribute__warn_unused_result__;
1592 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST       \
1593         assert(p)
1594
1595 PERL_CALLCONV bool      Perl_isinfnan(NV nv);
1596 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv);
1597 #define PERL_ARGS_ASSERT_ISINFNANSV     \
1598         assert(sv)
1599 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o);
1600 #define PERL_ARGS_ASSERT_JMAYBE \
1601         assert(o)
1602 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1603                         __attribute__pure__;
1604 #define PERL_ARGS_ASSERT_KEYWORD        \
1605         assert(name)
1606
1607 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
1608 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
1609         assert(keyword_ptr); assert(op_ptr)
1610 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1611 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1612 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr);
1613 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1614         assert(ptr)
1615 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1616 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1617 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1618 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1619 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr);
1620 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1621         assert(ptr)
1622 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1623 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
1624 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
1625 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
1626         assert(pv)
1627 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
1628 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1629         assert(pv)
1630 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
1631 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1632         assert(sv)
1633 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr);
1634 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1635         assert(ptr)
1636 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1637 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
1638 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1639         assert(name)
1640 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex);
1641 #define PERL_ARGS_ASSERT_LOCALIZE       \
1642         assert(o)
1643 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1644                         __attribute__warn_unused_result__;
1645 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1646         assert(sv)
1647
1648 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
1649 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1650         assert(sv); assert(mg)
1651 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg);
1652 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
1653         assert(sv); assert(mg)
1654 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
1655 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1656         assert(sv); assert(mg)
1657 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg);
1658 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1659         assert(sv); assert(mg)
1660 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg);
1661 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1662         assert(sv); assert(mg)
1663 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg);
1664 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1665         assert(mg)
1666 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
1667 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1668         assert(sv); assert(mg)
1669 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
1670 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1671         assert(sv); assert(mg)
1672 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen);
1673 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
1674         assert(sv); assert(mg); assert(nsv)
1675 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
1676 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg);
1677 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1678         assert(sv); assert(mg)
1679 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg);
1680 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1681         assert(sv); assert(mg)
1682 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg);
1683 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1684         assert(sv); assert(mg)
1685 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
1686 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1687         assert(sv); assert(mg)
1688 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg);
1689 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1690         assert(sv); assert(mg)
1691 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg);
1692 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
1693         assert(sv); assert(mg)
1694 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
1695 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1696         assert(sv); assert(mg)
1697 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
1698 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1699         assert(sv); assert(mg)
1700 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
1701 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1702         assert(sv); assert(mg)
1703 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
1704 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1705         assert(sv); assert(mg)
1706 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
1707 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1708         assert(sv); assert(mg)
1709 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
1710 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1711         assert(sv); assert(mg)
1712 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
1713 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1714         assert(sv); assert(mg)
1715 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
1716 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1717         assert(sv); assert(mg)
1718 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
1719 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1720         assert(sv); assert(mg)
1721 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
1722 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
1723         assert(sv); assert(mg)
1724 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...);
1725 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1726         assert(sv); assert(mg); assert(meth)
1727 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key);
1728 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1729         assert(sv); assert(mg); assert(key)
1730 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
1731 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1732         assert(sv); assert(mg)
1733 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
1734 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1735         assert(sv); assert(mg)
1736 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg);
1737 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
1738         assert(hv); assert(mg)
1739 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
1740 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1741         assert(sv); assert(mg)
1742 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
1743 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1744         assert(sv); assert(mg)
1745 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
1746 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1747         assert(sv); assert(mg)
1748 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
1749 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1750         assert(sv); assert(mg)
1751 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg);
1752 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
1753         assert(sv); assert(mg)
1754 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
1755 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1756         assert(sv); assert(mg)
1757 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
1758 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1759         assert(sv); assert(mg)
1760 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg);
1761 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1762         assert(sv); assert(mg)
1763 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
1764 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1765         assert(sv); assert(mg)
1766 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg);
1767 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
1768         assert(sv); assert(mg)
1769 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
1770 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1771         assert(sv); assert(mg)
1772 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
1773 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1774         assert(sv); assert(mg)
1775 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
1776 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1777         assert(sv); assert(mg)
1778 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
1779 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1780         assert(sv); assert(mg)
1781 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg);
1782 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1783         assert(sv); assert(mg)
1784 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
1785 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1786         assert(mg)
1787 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
1788 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1789         assert(sv); assert(mg)
1790 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
1791 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1792         assert(sv); assert(mg)
1793 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg);
1794 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1795         assert(sv); assert(mg)
1796 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
1797 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1798         assert(sv); assert(mg)
1799 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
1800 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1801         assert(sv); assert(mg)
1802 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
1803 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1804         assert(sv); assert(mg)
1805 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
1806 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1807         assert(sv); assert(mg)
1808 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
1809                         __attribute__malloc__
1810                         __attribute__warn_unused_result__;
1811
1812 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
1813 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1814                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1815 #define PERL_ARGS_ASSERT_MESS   \
1816         assert(pat)
1817
1818 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
1819 #define PERL_ARGS_ASSERT_MESS_SV        \
1820         assert(basemsg)
1821 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
1822 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv);
1823 #define PERL_ARGS_ASSERT_MG_CLEAR       \
1824         assert(sv)
1825 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
1826 #define PERL_ARGS_ASSERT_MG_COPY        \
1827         assert(sv); assert(nsv)
1828 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
1829                         __attribute__warn_unused_result__;
1830
1831 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
1832                         __attribute__warn_unused_result__;
1833 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
1834         assert(sv)
1835
1836 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
1837                         __attribute__warn_unused_result__;
1838
1839 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv);
1840 #define PERL_ARGS_ASSERT_MG_FREE        \
1841         assert(sv)
1842 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how);
1843 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
1844         assert(sv)
1845 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv);
1846 #define PERL_ARGS_ASSERT_MG_GET \
1847         assert(sv)
1848 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
1849                         __attribute__deprecated__;
1850 #define PERL_ARGS_ASSERT_MG_LENGTH      \
1851         assert(sv)
1852
1853 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic);
1854 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
1855         assert(sv); assert(nsv)
1856 PERL_CALLCONV void      Perl_mg_magical(SV* sv);
1857 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
1858         assert(sv)
1859 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv);
1860 #define PERL_ARGS_ASSERT_MG_SET \
1861         assert(sv)
1862 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv);
1863 #define PERL_ARGS_ASSERT_MG_SIZE        \
1864         assert(sv)
1865 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm);
1866 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
1867         assert(ptm)
1868 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
1869 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
1870 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s);
1871 #define PERL_ARGS_ASSERT_MORESWITCHES   \
1872         assert(s)
1873 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name);
1874 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
1875         assert(name)
1876 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash);
1877 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
1878         assert(stash)
1879 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
1880 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
1881         assert(smeta); assert(which)
1882 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash);
1883 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
1884         assert(stash)
1885 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash);
1886 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
1887         assert(stash)
1888 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash);
1889 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
1890         assert(stash)
1891 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
1892 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
1893         assert(gv)
1894 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro);
1895 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
1896         assert(mro)
1897 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
1898 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
1899         assert(meta); assert(name)
1900 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
1901 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
1902         assert(smeta); assert(which); assert(data)
1903 PERL_CALLCONV SV*       Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
1904 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
1905         assert(o)
1906 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s);
1907 #define PERL_ARGS_ASSERT_MY_ATOF        \
1908         assert(s)
1909 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value);
1910 #define PERL_ARGS_ASSERT_MY_ATOF2       \
1911         assert(s); assert(value)
1912 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs);
1913 #define PERL_ARGS_ASSERT_MY_ATTRS       \
1914         assert(o)
1915 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
1916 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
1917 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
1918                         __attribute__noreturn__;
1919
1920 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
1921                         __attribute__noreturn__;
1922
1923 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
1924 PERL_CALLCONV Pid_t     Perl_my_fork(void);
1925 /* PERL_CALLCONV I32    Perl_my_lstat(pTHX); */
1926 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
1927 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
1928 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
1929         assert(mode); assert(args)
1930 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
1931 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
1932                         __attribute__format__(__printf__,3,4);
1933 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
1934         assert(buffer); assert(format)
1935
1936 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
1937 /* PERL_CALLCONV I32    Perl_my_stat(pTHX); */
1938 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
1939 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
1940 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)
1941                         __attribute__format__(__strftime__,pTHX_1,0);
1942 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
1943         assert(fmt)
1944
1945 PERL_CALLCONV void      Perl_my_unexec(pTHX);
1946 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
1947 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
1948         assert(buffer); assert(format)
1949 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
1950 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
1951                         __attribute__malloc__
1952                         __attribute__warn_unused_result__;
1953
1954 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
1955                         __attribute__malloc__
1956                         __attribute__warn_unused_result__;
1957
1958 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
1959 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
1960                         __attribute__malloc__
1961                         __attribute__warn_unused_result__;
1962
1963 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
1964 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
1965 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
1966                         __attribute__warn_unused_result__; */
1967
1968 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
1969                         __attribute__malloc__
1970                         __attribute__warn_unused_result__;
1971 #define PERL_ARGS_ASSERT_NEWAVREF       \
1972         assert(o)
1973
1974 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
1975                         __attribute__malloc__
1976                         __attribute__warn_unused_result__;
1977
1978 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
1979                         __attribute__malloc__
1980                         __attribute__warn_unused_result__;
1981 #define PERL_ARGS_ASSERT_NEWCONDOP      \
1982         assert(first)
1983
1984 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
1985 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
1986 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
1987                         __attribute__malloc__
1988                         __attribute__warn_unused_result__;
1989
1990 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
1991                         __attribute__warn_unused_result__;
1992
1993 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
1994 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
1995                         __attribute__malloc__
1996                         __attribute__warn_unused_result__;
1997 #define PERL_ARGS_ASSERT_NEWFOROP       \
1998         assert(expr)
1999
2000 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2001                         __attribute__malloc__
2002                         __attribute__warn_unused_result__;
2003 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2004         assert(cond); assert(block)
2005
2006 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2007 #define PERL_ARGS_ASSERT_NEWGP  \
2008         assert(gv)
2009 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2010                         __attribute__malloc__
2011                         __attribute__warn_unused_result__;
2012 #define PERL_ARGS_ASSERT_NEWGVOP        \
2013         assert(gv)
2014
2015 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2016                         __attribute__malloc__
2017                         __attribute__warn_unused_result__;
2018
2019 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2020 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2021                         __attribute__malloc__
2022                         __attribute__warn_unused_result__;
2023 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2024         assert(pack)
2025
2026 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2027                         __attribute__warn_unused_result__; */
2028
2029 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2030                         __attribute__malloc__
2031                         __attribute__warn_unused_result__;
2032 #define PERL_ARGS_ASSERT_NEWHVREF       \
2033         assert(o)
2034
2035 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2036                         __attribute__malloc__
2037                         __attribute__warn_unused_result__;
2038
2039 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2040                         __attribute__malloc__
2041                         __attribute__warn_unused_result__; */
2042
2043 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2044                         __attribute__malloc__
2045                         __attribute__warn_unused_result__;
2046
2047 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2048                         __attribute__malloc__
2049                         __attribute__warn_unused_result__;
2050 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2051         assert(first); assert(other)
2052
2053 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2054                         __attribute__malloc__
2055                         __attribute__warn_unused_result__;
2056 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2057         assert(label)
2058
2059 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2060                         __attribute__malloc__
2061                         __attribute__warn_unused_result__;
2062
2063 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2064                         __attribute__malloc__
2065                         __attribute__warn_unused_result__;
2066 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2067         assert(dynamic_meth)
2068
2069 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2070                         __attribute__malloc__
2071                         __attribute__warn_unused_result__;
2072 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2073         assert(const_meth)
2074
2075 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2076 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2077         assert(o)
2078 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2079                         __attribute__malloc__
2080                         __attribute__warn_unused_result__;
2081
2082 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2083                         __attribute__malloc__
2084                         __attribute__warn_unused_result__;
2085
2086 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2087                         __attribute__malloc__
2088                         __attribute__warn_unused_result__;
2089
2090 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2091                         __attribute__malloc__
2092                         __attribute__warn_unused_result__;
2093 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2094         assert(outer)
2095
2096 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2097                         __attribute__malloc__
2098                         __attribute__warn_unused_result__;
2099 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2100         assert(s)
2101
2102 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2103                         __attribute__malloc__
2104                         __attribute__warn_unused_result__;
2105
2106 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2107 #define PERL_ARGS_ASSERT_NEWPROG        \
2108         assert(o)
2109 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2110                         __attribute__malloc__
2111                         __attribute__warn_unused_result__;
2112
2113 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2114                         __attribute__malloc__
2115                         __attribute__warn_unused_result__;
2116 #define PERL_ARGS_ASSERT_NEWRANGE       \
2117         assert(left); assert(right)
2118
2119 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2120                         __attribute__malloc__
2121                         __attribute__warn_unused_result__;
2122 #define PERL_ARGS_ASSERT_NEWRV  \
2123         assert(sv)
2124
2125 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2126                         __attribute__malloc__
2127                         __attribute__warn_unused_result__;
2128 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2129         assert(tmpRef)
2130
2131 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2132                         __attribute__malloc__
2133                         __attribute__warn_unused_result__;
2134
2135 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2136                         __attribute__malloc__
2137                         __attribute__warn_unused_result__;
2138
2139 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake);
2140 #define PERL_ARGS_ASSERT_NEWSTUB        \
2141         assert(gv)
2142 /* PERL_CALLCONV CV*    Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */
2143 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2144                         __attribute__malloc__
2145                         __attribute__warn_unused_result__;
2146
2147 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2148                         __attribute__malloc__
2149                         __attribute__warn_unused_result__;
2150 #define PERL_ARGS_ASSERT_NEWSVOP        \
2151         assert(sv)
2152
2153 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2154                         __attribute__malloc__
2155                         __attribute__warn_unused_result__;
2156 #define PERL_ARGS_ASSERT_NEWSVREF       \
2157         assert(o)
2158
2159 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2160                         __attribute__malloc__
2161                         __attribute__warn_unused_result__;
2162
2163 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2164                         __attribute__malloc__
2165                         __attribute__warn_unused_result__;
2166 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2167         assert(av)
2168
2169 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2170                         __attribute__malloc__
2171                         __attribute__warn_unused_result__;
2172
2173 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2174                         __attribute__malloc__
2175                         __attribute__warn_unused_result__;
2176
2177 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2178                         __attribute__malloc__
2179                         __attribute__warn_unused_result__;
2180
2181 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2182                         __attribute__malloc__
2183                         __attribute__warn_unused_result__;
2184
2185 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2186                         __attribute__malloc__
2187                         __attribute__warn_unused_result__;
2188
2189 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2190                         __attribute__malloc__
2191                         __attribute__warn_unused_result__
2192                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2193 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2194         assert(pat)
2195
2196 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2197                         __attribute__malloc__
2198                         __attribute__warn_unused_result__;
2199
2200 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2201                         __attribute__malloc__
2202                         __attribute__warn_unused_result__;
2203
2204 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2205                         __attribute__malloc__
2206                         __attribute__warn_unused_result__;
2207
2208 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2209 #define PERL_ARGS_ASSERT_NEWSVRV        \
2210         assert(rv)
2211 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2212                         __attribute__malloc__
2213                         __attribute__warn_unused_result__;
2214
2215 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2216                         __attribute__malloc__
2217                         __attribute__warn_unused_result__;
2218
2219 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2220                         __attribute__malloc__
2221                         __attribute__warn_unused_result__;
2222
2223 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2224                         __attribute__malloc__
2225                         __attribute__warn_unused_result__;
2226
2227 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2228                         __attribute__malloc__
2229                         __attribute__warn_unused_result__;
2230 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2231         assert(block)
2232
2233 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2234                         __attribute__malloc__
2235                         __attribute__warn_unused_result__;
2236
2237 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2238 #define PERL_ARGS_ASSERT_NEWXS  \
2239         assert(subaddr); assert(filename)
2240 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2241 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2242         assert(name); assert(subaddr)
2243 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2244 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2245         assert(subaddr); assert(filename)
2246 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);
2247 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2248         assert(subaddr)
2249 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2250 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype);
2251 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2252         assert(newctype)
2253 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2254 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2255                         __attribute__malloc__
2256                         __attribute__warn_unused_result__;
2257
2258 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2259 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2260         assert(ver)
2261 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2262                         __attribute__malloc__
2263                         __attribute__warn_unused_result__;
2264 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2265         assert(bits)
2266
2267 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen);
2268 #define PERL_ARGS_ASSERT_NEXTARGV       \
2269         assert(gv)
2270 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2271                         __attribute__pure__;
2272 #define PERL_ARGS_ASSERT_NINSTR \
2273         assert(big); assert(bigend); assert(little); assert(lend)
2274
2275 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2276                         __attribute__noreturn__
2277                         __attribute__format__(__printf__,1,2);
2278 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2279         assert(pat)
2280
2281 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2282 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2283                         __attribute__warn_unused_result__;
2284 #define PERL_ARGS_ASSERT_OOPSAV \
2285         assert(o)
2286
2287 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2288                         __attribute__warn_unused_result__;
2289 #define PERL_ARGS_ASSERT_OOPSHV \
2290         assert(o)
2291
2292 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2293 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2294 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
2295 #define PERL_ARGS_ASSERT_OP_CLEAR       \
2296         assert(o)
2297 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
2298 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
2299         assert(o)
2300 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
2301                         __attribute__warn_unused_result__;
2302
2303 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
2304 #define PERL_ARGS_ASSERT_OP_DUMP        \
2305         assert(o)
2306 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2307 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
2308 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
2309         assert(o)
2310 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
2311 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
2312 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
2313 #define PERL_ARGS_ASSERT_OP_NULL        \
2314         assert(o)
2315 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
2316 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
2317 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
2318 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
2319 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
2320 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
2321 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);
2322 #define PERL_ARGS_ASSERT_PACK_CAT       \
2323         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2324 PERL_CALLCONV void      Perl_package(pTHX_ OP* o);
2325 #define PERL_ARGS_ASSERT_PACKAGE        \
2326         assert(o)
2327 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v);
2328 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2329         assert(v)
2330 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
2331 #define PERL_ARGS_ASSERT_PACKLIST       \
2332         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2333 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
2334 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
2335         assert(func)
2336 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
2337 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
2338         assert(name)
2339 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
2340 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
2341         assert(namepv)
2342 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
2343 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
2344         assert(name)
2345 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func);
2346 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
2347         assert(func)
2348 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2349 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
2350 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
2351                         __attribute__warn_unused_result__;
2352
2353 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
2354 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
2355         assert(name)
2356 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
2357 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
2358         assert(namepv)
2359 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
2360 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
2361         assert(name)
2362 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv);
2363 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
2364         assert(padlist); assert(old_cv); assert(new_cv)
2365 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2366 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
2367 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
2368                         __attribute__malloc__
2369                         __attribute__warn_unused_result__;
2370
2371 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
2372 #define PERL_ARGS_ASSERT_PAD_PUSH       \
2373         assert(padlist)
2374 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2375 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
2376 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val);
2377 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
2378         assert(padlist)
2379 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
2380 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
2381         assert(pn)
2382 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
2383                         __attribute__warn_unused_result__;
2384 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
2385         assert(pnl)
2386
2387 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
2388 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
2389         assert(pnl)
2390 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
2391 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
2392         assert(pnl)
2393 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
2394 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
2395 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
2396 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
2397 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
2398 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
2399 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
2400 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
2401 PERL_CALLCONV OP *      Perl_parse_subsignature(pTHX)
2402                         __attribute__warn_unused_result__;
2403
2404 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
2405 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt);
2406 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
2407         assert(popt)
2408 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser);
2409 #define PERL_ARGS_ASSERT_PARSER_FREE    \
2410         assert(parser)
2411 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2412 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
2413 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
2414 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
2415         assert(my_perl)
2416 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
2417 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
2418         assert(my_perl)
2419 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
2420 #define PERL_ARGS_ASSERT_PERL_FREE      \
2421         assert(my_perl)
2422 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
2423 #define PERL_ARGS_ASSERT_PERL_PARSE     \
2424         assert(my_perl)
2425 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
2426 #define PERL_ARGS_ASSERT_PERL_RUN       \
2427         assert(my_perl)
2428 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
2429 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, bool isreg, I32 floor);
2430 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2431         assert(o); assert(expr)
2432 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2433 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...);
2434 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
2435         assert(name)
2436 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
2437 #define PERL_ARGS_ASSERT_PREGCOMP       \
2438         assert(pattern)
2439 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
2440 #define PERL_ARGS_ASSERT_PREGEXEC       \
2441         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2442 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2443 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
2444 #define PERL_ARGS_ASSERT_PREGFREE2      \
2445         assert(rx)
2446 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);
2447 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2448         assert(s)
2449 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
2450                         __attribute__deprecated__;
2451
2452 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
2453                         __attribute__warn_unused_result__;
2454 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
2455         assert(tbl)
2456
2457 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
2458 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
2459                         __attribute__malloc__
2460                         __attribute__warn_unused_result__;
2461
2462 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
2463 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
2464         assert(tbl)
2465 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
2466 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
2467         assert(tbl); assert(newsv)
2468 PERL_CALLCONV void      Perl_push_scope(pTHX);
2469 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
2470 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
2471         assert(dsv); assert(pv)
2472 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);
2473 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
2474         assert(str)
2475 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);
2476 #define PERL_ARGS_ASSERT_PV_PRETTY      \
2477         assert(dsv); assert(str)
2478 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
2479 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
2480         assert(dsv); assert(spv)
2481 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
2482 #define PERL_ARGS_ASSERT_QERROR \
2483         assert(err)
2484 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
2485 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2486         assert(pattern)
2487 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);
2488 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2489         assert(rx); assert(strbeg); assert(strpos); assert(strend)
2490 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
2491 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2492         assert(r)
2493 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);
2494 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
2495         assert(eng)
2496 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
2497                         __attribute__malloc__
2498                         __attribute__warn_unused_result__;
2499
2500 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2501 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2502 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
2503 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2504         assert(f)
2505 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2506 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
2507 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
2508 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
2509 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
2510         assert(key)
2511 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
2512 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
2513         assert(keypv)
2514 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
2515 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
2516         assert(key)
2517 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
2518 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
2519 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
2520 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
2521         assert(key)
2522 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);
2523 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
2524         assert(keypv)
2525 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
2526 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
2527         assert(key)
2528 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
2529 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2530         assert(rx)
2531 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
2532 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2533         assert(rx)
2534 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
2535 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2536         assert(rx); assert(key)
2537 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
2538 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2539         assert(rx); assert(namesv)
2540 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
2541 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2542         assert(rx)
2543 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
2544 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2545         assert(rx)
2546 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
2547 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2548         assert(rx)
2549 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
2550 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2551         assert(rx)
2552 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
2553 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2554         assert(rx)
2555 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
2556 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2557         assert(rx); assert(sv)
2558 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
2559 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2560         assert(rx)
2561 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
2562 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2563         assert(rx)
2564 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx);
2565 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2566         assert(rx)
2567 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp);
2568 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2569         assert(node)
2570 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
2571 #define PERL_ARGS_ASSERT_REGDUMP        \
2572         assert(r)
2573 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);
2574 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2575         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2576 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
2577 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2578         assert(rx)
2579 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
2580 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2581                         __attribute__warn_unused_result__;
2582
2583 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
2584 #define PERL_ARGS_ASSERT_REPEATCPY      \
2585         assert(to); assert(from)
2586 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
2587 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
2588 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
2589 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
2590 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2591         assert(pv)
2592 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2593                         __attribute__pure__;
2594 #define PERL_ARGS_ASSERT_RNINSTR        \
2595         assert(big); assert(bigend); assert(little); assert(lend)
2596
2597 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
2598 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2599 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2600 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save);
2601 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2602         assert(save)
2603 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2604 PERL_CALLCONV int       Perl_runops_debug(pTHX);
2605 PERL_CALLCONV int       Perl_runops_standard(pTHX);
2606 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
2607 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
2608         assert(cvop)
2609 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx);
2610 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2611         assert(rsp); assert(rx)
2612 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
2613                         __attribute__malloc__
2614                         __attribute__warn_unused_result__;
2615
2616 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
2617 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
2618                         __attribute__malloc__
2619                         __attribute__warn_unused_result__;
2620
2621 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
2622                         __attribute__malloc__
2623                         __attribute__warn_unused_result__;
2624
2625 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
2626 #define PERL_ARGS_ASSERT_SAVE_I16       \
2627         assert(intp)
2628 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
2629 #define PERL_ARGS_ASSERT_SAVE_I32       \
2630         assert(intp)
2631 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
2632 #define PERL_ARGS_ASSERT_SAVE_I8        \
2633         assert(bytep)
2634 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
2635 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2636         assert(av)
2637 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
2638 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
2639 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2640         assert(av); assert(sptr)
2641 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2642 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
2643 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2644         assert(aptr)
2645 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
2646 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2647         assert(gv)
2648 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
2649 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2650         assert(boolp)
2651 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
2652 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2653         assert(svp)
2654 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
2655 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2656         assert(hv); assert(key)
2657 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
2658 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2659         assert(p)
2660 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2661 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
2662 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
2663 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
2664 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
2665 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2666         assert(str)
2667 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
2668 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2669         assert(sptr)
2670 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
2671 #define PERL_ARGS_ASSERT_SAVE_GP        \
2672         assert(gv)
2673 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
2674 #define PERL_ARGS_ASSERT_SAVE_HASH      \
2675         assert(gv)
2676 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
2677 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2678         assert(hv); assert(keysv)
2679 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
2680 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
2681 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
2682         assert(hv); assert(key); assert(sptr)
2683 PERL_CALLCONV void      Perl_save_hints(pTHX);
2684 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
2685 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
2686         assert(hptr)
2687 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
2688 #define PERL_ARGS_ASSERT_SAVE_INT       \
2689         assert(intp)
2690 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
2691 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
2692         assert(item)
2693 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
2694 #define PERL_ARGS_ASSERT_SAVE_IV        \
2695         assert(ivp)
2696 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg);
2697 #define PERL_ARGS_ASSERT_SAVE_LIST      \
2698         assert(sarg)
2699 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp);
2700 #define PERL_ARGS_ASSERT_SAVE_LONG      \
2701         assert(longp)
2702 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv); */
2703 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
2704         assert(sv)
2705 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv);
2706 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
2707         assert(gv)
2708 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
2709 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2710 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
2711 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
2712         assert(pptr)
2713 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
2714 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
2715 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
2716 PERL_CALLCONV void      Perl_save_re_context(pTHX);
2717 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
2718 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
2719         assert(gv)
2720 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
2721 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
2722         assert(sv)
2723 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
2724 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
2725         assert(str)
2726 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
2727 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
2728         assert(sptr)
2729 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
2730 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
2731         assert(ptr)
2732 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
2733 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
2734         assert(sptr)
2735 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
2736 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
2737         assert(ptr)
2738 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2739                         __attribute__malloc__
2740                         __attribute__warn_unused_result__;
2741
2742 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2743                         __attribute__malloc__
2744                         __attribute__warn_unused_result__;
2745
2746 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2747                         __attribute__malloc__
2748                         __attribute__warn_unused_result__;
2749
2750 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2751                         __attribute__malloc__
2752                         __attribute__warn_unused_result__;
2753
2754 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
2755                         __attribute__malloc__
2756                         __attribute__warn_unused_result__;
2757 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
2758         assert(sv)
2759
2760 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2761 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2762 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2763                         __attribute__malloc__
2764                         __attribute__warn_unused_result__;
2765 #define PERL_ARGS_ASSERT_SAVESVPV       \
2766         assert(sv)
2767
2768 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
2769 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
2770 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o);
2771 #define PERL_ARGS_ASSERT_SCALARVOID     \
2772         assert(o)
2773 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2774 #define PERL_ARGS_ASSERT_SCAN_BIN       \
2775         assert(start); assert(retlen)
2776 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2777 #define PERL_ARGS_ASSERT_SCAN_HEX       \
2778         assert(start); assert(retlen)
2779 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
2780 #define PERL_ARGS_ASSERT_SCAN_NUM       \
2781         assert(s); assert(lvalp)
2782 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2783 #define PERL_ARGS_ASSERT_SCAN_OCT       \
2784         assert(start); assert(retlen)
2785 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
2786 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2787         assert(s); assert(rv)
2788 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
2789 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2790         assert(s); assert(e); assert(sv)
2791 PERL_CALLCONV U32       Perl_seed(pTHX);
2792 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
2793 PERL_CALLCONV void      Perl_set_context(void *t);
2794 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
2795         assert(t)
2796 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2797 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2798 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2799 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
2800 #define PERL_ARGS_ASSERT_SETDEFOUT      \
2801         assert(gv)
2802 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash);
2803 #define PERL_ARGS_ASSERT_SHARE_HEK      \
2804         assert(str)
2805 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
2806 #define PERL_ARGS_ASSERT_SORTSV \
2807         assert(cmp)
2808 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
2809 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
2810         assert(cmp)
2811 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
2812 #define PERL_ARGS_ASSERT_STACK_GROW     \
2813         assert(sp); assert(p)
2814 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io);
2815 #define PERL_ARGS_ASSERT_START_GLOB     \
2816         assert(tmpglob); assert(io)
2817 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2818 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
2819                         __attribute__warn_unused_result__;
2820 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
2821         assert(sv)
2822
2823 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv);
2824 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
2825         assert(cv)
2826 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv); */
2827 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
2828 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
2829         assert(sv)
2830 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
2831 #define PERL_ARGS_ASSERT_SV_2CV \
2832         assert(st); assert(gvp)
2833 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
2834 #define PERL_ARGS_ASSERT_SV_2IO \
2835         assert(sv)
2836 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv); */
2837 #define PERL_ARGS_ASSERT_SV_2IV \
2838         assert(sv)
2839 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
2840 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
2841         assert(sv)
2842 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
2843 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv);
2844 #define PERL_ARGS_ASSERT_SV_2NUM        \
2845         assert(sv)
2846 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
2847 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
2848         assert(sv)
2849 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
2850 #define PERL_ARGS_ASSERT_SV_2PV \
2851         assert(sv)
2852 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
2853 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
2854         assert(sv)
2855 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
2856                         __attribute__warn_unused_result__; */
2857 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
2858         assert(sv)
2859
2860 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
2861 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
2862         assert(sv)
2863 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
2864                         __attribute__warn_unused_result__; */
2865 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
2866         assert(sv)
2867
2868 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
2869 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
2870         assert(sv)
2871 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
2872                         __attribute__warn_unused_result__; */
2873 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
2874         assert(sv)
2875
2876 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv); */
2877 #define PERL_ARGS_ASSERT_SV_2UV \
2878         assert(sv)
2879 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
2880 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
2881         assert(sv)
2882 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
2883 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
2884         assert(sv)
2885 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
2886 #define PERL_ARGS_ASSERT_SV_BLESS       \
2887         assert(sv); assert(stash)
2888 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
2889 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
2890         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
2891 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr);
2892 #define PERL_ARGS_ASSERT_SV_CATPV       \
2893         assert(sv)
2894 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags);
2895 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
2896         assert(dstr); assert(sstr)
2897 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr);
2898 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
2899         assert(sv)
2900 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
2901                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
2902 #define PERL_ARGS_ASSERT_SV_CATPVF      \
2903         assert(sv); assert(pat)
2904
2905 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
2906                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
2907 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
2908         assert(sv); assert(pat)
2909
2910 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len); */
2911 #define PERL_ARGS_ASSERT_SV_CATPVN      \
2912         assert(dsv); assert(sstr)
2913 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags);
2914 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
2915         assert(dstr); assert(sstr)
2916 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len); */
2917 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
2918         assert(sv); assert(ptr)
2919 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr); */
2920 #define PERL_ARGS_ASSERT_SV_CATSV       \
2921         assert(dstr)
2922 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
2923 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
2924         assert(dsv)
2925 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv); */
2926 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
2927         assert(dsv)
2928 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
2929 #define PERL_ARGS_ASSERT_SV_CHOP        \
2930         assert(sv)
2931 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
2932 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
2933 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
2934 #define PERL_ARGS_ASSERT_SV_CLEAR       \
2935         assert(orig_sv)
2936 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
2937 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
2938 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
2939 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
2940 /* PERL_CALLCONV void   Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv); */
2941 #define PERL_ARGS_ASSERT_SV_COPYPV      \
2942         assert(dsv); assert(ssv)
2943 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
2944 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
2945         assert(dsv); assert(ssv)
2946 /* PERL_CALLCONV void   Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
2947 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
2948 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
2949 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
2950 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
2951         assert(tsv); assert(sv)
2952 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
2953                         __attribute__warn_unused_result__;
2954 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
2955         assert(sv); assert(name)
2956
2957 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
2958                         __attribute__warn_unused_result__;
2959 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
2960         assert(sv); assert(name)
2961
2962 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
2963                         __attribute__warn_unused_result__;
2964 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
2965         assert(sv); assert(name)
2966
2967 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
2968                         __attribute__warn_unused_result__;
2969 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
2970         assert(sv); assert(namesv)
2971
2972 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
2973 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
2974                         __attribute__warn_unused_result__;
2975 #define PERL_ARGS_ASSERT_SV_DOES        \
2976         assert(sv); assert(name)
2977
2978 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
2979                         __attribute__warn_unused_result__;
2980 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
2981         assert(sv); assert(name)
2982
2983 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
2984                         __attribute__warn_unused_result__;
2985 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
2986         assert(sv); assert(name)
2987
2988 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
2989                         __attribute__warn_unused_result__;
2990 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
2991         assert(sv); assert(namesv)
2992
2993 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
2994 #define PERL_ARGS_ASSERT_SV_DUMP        \
2995         assert(sv)
2996 /* PERL_CALLCONV I32    sv_eq(pTHX_ SV* sv1, SV* sv2); */
2997 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
2998 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv); */
2999 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3000         assert(sv)
3001 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3002 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3003         assert(sv)
3004 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3005 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3006 #define PERL_ARGS_ASSERT_SV_FREE2       \
3007         assert(sv)
3008 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3009 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv)
3010                         __attribute__pure__;
3011 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3012         assert(sv)
3013
3014 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3015 #define PERL_ARGS_ASSERT_SV_GETS        \
3016         assert(sv); assert(fp)
3017 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3018 #define PERL_ARGS_ASSERT_SV_GROW        \
3019         assert(sv)
3020 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3021 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3022 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen); */
3023 #define PERL_ARGS_ASSERT_SV_INSERT      \
3024         assert(bigstr); assert(little)
3025 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags);
3026 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3027         assert(bigstr); assert(little)
3028 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3029 #define PERL_ARGS_ASSERT_SV_ISA \
3030         assert(name)
3031 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3032 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv);
3033 #define PERL_ARGS_ASSERT_SV_IV  \
3034         assert(sv)
3035 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3036 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3037 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3038 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3039         assert(sv)
3040 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3041 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3042         assert(sv)
3043 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);
3044 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3045         assert(sv)
3046 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
3047 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
3048         assert(sv)
3049 /* PERL_CALLCONV SV*    Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3050                         __attribute__malloc__
3051                         __attribute__warn_unused_result__; */
3052
3053 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
3054                         __attribute__malloc__
3055                         __attribute__warn_unused_result__;
3056
3057 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3058                         __attribute__warn_unused_result__;
3059
3060 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3061 /* PERL_CALLCONV void   Perl_sv_nolocking(pTHX_ SV *sv); */
3062 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
3063 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv);
3064 #define PERL_ARGS_ASSERT_SV_NV  \
3065         assert(sv)
3066 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3067 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
3068 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3069         assert(offsetp)
3070 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
3071 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
3072         assert(sv)
3073 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
3074 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3075         assert(offsetp)
3076 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
3077 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3078         assert(sv)
3079 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
3080                         __attribute__warn_unused_result__; */
3081 #define PERL_ARGS_ASSERT_SV_PV  \
3082         assert(sv)
3083
3084 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
3085                         __attribute__warn_unused_result__; */
3086 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3087         assert(sv)
3088
3089 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp);
3090 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3091         assert(sv); assert(lp)
3092 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
3093 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3094         assert(sv)
3095 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp);
3096 #define PERL_ARGS_ASSERT_SV_PVN \
3097         assert(sv); assert(lp)
3098 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp); */
3099 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3100         assert(sv)
3101 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3102 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
3103         assert(sv)
3104 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp);
3105 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3106         assert(sv)
3107 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
3108                         __attribute__warn_unused_result__; */
3109 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3110         assert(sv)
3111
3112 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp);
3113 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3114         assert(sv); assert(lp)
3115 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
3116 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3117         assert(sv)
3118 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
3119 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3120         assert(sv); assert(encoding)
3121 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
3122 #define PERL_ARGS_ASSERT_SV_REF \
3123         assert(sv)
3124 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3125                         __attribute__warn_unused_result__;
3126 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3127         assert(sv)
3128
3129 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
3130 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3131         assert(sv); assert(nsv)
3132 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3133 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
3134 #define PERL_ARGS_ASSERT_SV_RESET       \
3135         assert(s)
3136 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash);
3137 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
3138 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
3139         assert(sv)
3140 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
3141 #define PERL_ARGS_ASSERT_SV_SETHEK      \
3142         assert(sv)
3143 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
3144 #define PERL_ARGS_ASSERT_SV_SETIV       \
3145         assert(sv)
3146 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
3147 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3148         assert(sv)
3149 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
3150 #define PERL_ARGS_ASSERT_SV_SETNV       \
3151         assert(sv)
3152 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
3153 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3154         assert(sv)
3155 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
3156 #define PERL_ARGS_ASSERT_SV_SETPV       \
3157         assert(sv)
3158 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
3159 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3160         assert(sv)
3161 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3162                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3163 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3164         assert(sv); assert(pat)
3165
3166 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3167                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3168 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3169         assert(sv); assert(pat)
3170
3171 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num);
3172 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3173         assert(sv)
3174 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv);
3175 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3176         assert(sv)
3177 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3178 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3179         assert(sv)
3180 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3181 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3182         assert(sv); assert(ptr)
3183 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
3184 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3185         assert(rv)
3186 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
3187 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3188         assert(rv)
3189 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
3190 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3191         assert(rv)
3192 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
3193 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3194         assert(rv); assert(pv)
3195 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
3196 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3197         assert(rv)
3198 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr); */
3199 #define PERL_ARGS_ASSERT_SV_SETSV       \
3200         assert(dstr)
3201 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags);
3202 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
3203         assert(dstr)
3204 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr);
3205 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3206         assert(dstr)
3207 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
3208 #define PERL_ARGS_ASSERT_SV_SETUV       \
3209         assert(sv)
3210 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
3211 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3212         assert(sv)
3213 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv); */
3214 #define PERL_ARGS_ASSERT_SV_TAINT       \
3215         assert(sv)
3216 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3217                         __attribute__warn_unused_result__;
3218 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3219         assert(sv)
3220
3221 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3222 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3223                         __attribute__warn_unused_result__;
3224 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3225         assert(dsv); assert(ssv)
3226
3227 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
3228 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3229         assert(sv)
3230 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
3231 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
3232         assert(sv)
3233 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv); */
3234 #define PERL_ARGS_ASSERT_SV_UNREF       \
3235         assert(sv)
3236 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
3237 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3238         assert(ref)
3239 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
3240 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3241         assert(sv)
3242 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
3243 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3244         assert(sv)
3245 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len); */
3246 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3247         assert(sv)
3248 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
3249 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3250         assert(sv)
3251 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len); */
3252 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3253         assert(sv)
3254 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
3255 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3256         assert(sv)
3257 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
3258 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3259         assert(sv)
3260 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
3261 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3262         assert(sv)
3263 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv); */
3264 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3265         assert(sv)
3266 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
3267 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
3268 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
3269         assert(sv)
3270 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
3271 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv);
3272 #define PERL_ARGS_ASSERT_SV_UV  \
3273         assert(sv)
3274 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3275 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3276         assert(sv); assert(pat)
3277 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3278 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3279         assert(sv); assert(pat)
3280 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 I32 svmax, bool *const maybe_tainted);
3281 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3282         assert(sv); assert(pat)
3283 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 I32 svmax, bool *const maybe_tainted, const U32 flags);
3284 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
3285         assert(sv); assert(pat)
3286 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3287 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3288         assert(sv); assert(pat)
3289 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3290 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3291         assert(sv); assert(pat)
3292 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 I32 svmax, bool *const maybe_tainted);
3293 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3294         assert(sv); assert(pat)
3295 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8);
3296 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3297         assert(swash); assert(ptr)
3298 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3299                         __attribute__warn_unused_result__;
3300 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3301         assert(pkg); assert(name); assert(listsv)
3302
3303 PERL_CALLCONV void      Perl_sync_locale(pTHX);
3304 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
3305 #define PERL_ARGS_ASSERT_SYS_INIT       \
3306         assert(argc); assert(argv)
3307 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
3308 #define PERL_ARGS_ASSERT_SYS_INIT3      \
3309         assert(argc); assert(argv); assert(env)
3310 PERL_CALLCONV void      Perl_sys_term(void);
3311 PERL_CALLCONV void      Perl_taint_env(pTHX);
3312 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
3313 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3314         assert(s)
3315 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...);
3316 #define PERL_ARGS_ASSERT_TIED_METHOD    \
3317         assert(methname); assert(sp); assert(sv); assert(mg)
3318 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
3319 /* PERL_CALLCONV UV     Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
3320 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
3321 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
3322         assert(p); assert(lenp)
3323 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
3324                         __attribute__deprecated__
3325                         __attribute__warn_unused_result__
3326                         __attribute__pure__;
3327
3328 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
3329 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
3330         assert(p); assert(lenp)
3331 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
3332                         __attribute__deprecated__
3333                         __attribute__warn_unused_result__
3334                         __attribute__pure__;
3335
3336 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
3337 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
3338         assert(p); assert(lenp)
3339 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
3340                         __attribute__deprecated__
3341                         __attribute__warn_unused_result__
3342                         __attribute__pure__;
3343
3344 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special);
3345 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3346         assert(p); assert(ustrp); assert(swashp); assert(normal)
3347 /* PERL_CALLCONV UV     Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); */
3348 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3349         assert(p); assert(ustrp)
3350 /* PERL_CALLCONV UV     Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); */
3351 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3352         assert(p); assert(ustrp)
3353 /* PERL_CALLCONV UV     Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); */
3354 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3355         assert(p); assert(ustrp)
3356 /* PERL_CALLCONV UV     Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); */
3357 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3358         assert(p); assert(ustrp)
3359 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
3360 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
3361 PERL_CALLCONV I32       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);
3362 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3363         assert(pat); assert(patend); assert(s); assert(strend)
3364 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
3365 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3366         assert(pat); assert(patend); assert(s); assert(strend)
3367 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3368 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3369 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
3370 #define PERL_ARGS_ASSERT_UPG_VERSION    \
3371         assert(ver)
3372 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3373 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3374         assert(p); assert(d); assert(newlen)
3375 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3376 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3377         assert(p); assert(d); assert(newlen)
3378 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3379                         __attribute__warn_unused_result__
3380                         __attribute__pure__;
3381 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3382         assert(a); assert(b)
3383
3384 PERL_CALLCONV U8*       Perl_utf8_hop(const U8 *s, I32 off)
3385                         __attribute__warn_unused_result__
3386                         __attribute__pure__;
3387 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3388         assert(s)
3389
3390 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3391                         __attribute__warn_unused_result__
3392                         __attribute__pure__;
3393 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3394         assert(s); assert(e)
3395
3396 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len);
3397 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3398         assert(s); assert(len)
3399 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3400                         __attribute__deprecated__;
3401 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3402         assert(s)
3403
3404 /* PERL_CALLCONV UV     utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen); */
3405 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3406                         __attribute__deprecated__;
3407 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3408         assert(s)
3409
3410 PERL_CALLCONV UV        Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
3411                         __attribute__deprecated__;
3412 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF      \
3413         assert(s); assert(send)
3414
3415 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags);
3416 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3417         assert(s)
3418 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags);
3419 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3420         assert(s)
3421 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg);
3422 #define PERL_ARGS_ASSERT_UTILIZE        \
3423         assert(idop)
3424 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
3425 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
3426 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
3427 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
3428         assert(d)
3429 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
3430 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3431         assert(d)
3432 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
3433 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3434         assert(d)
3435 PERL_CALLCONV UV        Perl_valid_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen);
3436 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
3437         assert(s)
3438 PERL_CALLCONV UV        Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3439                         __attribute__deprecated__;
3440 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI    \
3441         assert(s)
3442
3443 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn);
3444 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
3445         assert(name)
3446 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
3447 #define PERL_ARGS_ASSERT_VCMP   \
3448         assert(lhv); assert(rhv)
3449 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
3450                         __attribute__noreturn__;
3451
3452 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
3453 #define PERL_ARGS_ASSERT_VDEB   \
3454         assert(pat)
3455 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
3456 #define PERL_ARGS_ASSERT_VFORM  \
3457         assert(pat)
3458 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
3459 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3460         assert(sv)
3461 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3462                         __attribute__warn_unused_result__;
3463 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3464         assert(sv)
3465
3466 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
3467 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
3468         assert(name)
3469 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
3470 #define PERL_ARGS_ASSERT_VMESS  \
3471         assert(pat)
3472 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
3473                         __attribute__malloc__
3474                         __attribute__warn_unused_result__;
3475 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
3476         assert(pat)
3477
3478 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
3479 #define PERL_ARGS_ASSERT_VNORMAL        \
3480         assert(vs)
3481 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
3482 #define PERL_ARGS_ASSERT_VNUMIFY        \
3483         assert(vs)
3484 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
3485 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
3486         assert(vs)
3487 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
3488 #define PERL_ARGS_ASSERT_VVERIFY        \
3489         assert(vs)
3490 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
3491 #define PERL_ARGS_ASSERT_VWARN  \
3492         assert(pat)
3493 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
3494 #define PERL_ARGS_ASSERT_VWARNER        \
3495         assert(pat)
3496 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags);
3497 #define PERL_ARGS_ASSERT_WAIT4PID       \
3498         assert(statusp)
3499 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3500                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
3501 #define PERL_ARGS_ASSERT_WARN   \
3502         assert(pat)
3503
3504 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
3505 #define PERL_ARGS_ASSERT_WARN_SV        \
3506         assert(baseex)
3507 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3508                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3509 #define PERL_ARGS_ASSERT_WARNER \
3510         assert(pat)
3511
3512 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
3513                         __attribute__warn_unused_result__;
3514
3515 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr);
3516 #define PERL_ARGS_ASSERT_WATCH  \
3517         assert(addr)
3518 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
3519 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
3520 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
3521         assert(sig)
3522 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
3523 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
3524         assert(sig)
3525 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
3526 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
3527         assert(sigsv)
3528 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
3529 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
3530         assert(new_checker); assert(old_checker_p)
3531 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv);
3532 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3533         assert(msv)
3534 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
3535 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
3536 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
3537         assert(v_my_perl); assert(file)
3538 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s);
3539 #define PERL_ARGS_ASSERT_YYERROR        \
3540         assert(s)
3541 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags);
3542 #define PERL_ARGS_ASSERT_YYERROR_PV     \
3543         assert(s)
3544 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags);
3545 #define PERL_ARGS_ASSERT_YYERROR_PVN    \
3546         assert(s)
3547 PERL_CALLCONV int       Perl_yylex(pTHX);
3548 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
3549 PERL_CALLCONV void      Perl_yyunlex(pTHX);
3550 #if !(defined(DEBUGGING))
3551 #  if !defined(NV_PRESERVES_UV)
3552 #    if defined(PERL_IN_SV_C)
3553 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
3554 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3555         assert(sv)
3556 #    endif
3557 #  endif
3558 #endif
3559 #if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO))
3560 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
3561 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
3562 #endif
3563 #if !(defined(NO_MATHOMS))
3564 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
3565 #endif
3566 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
3567 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd);
3568 #define PERL_ARGS_ASSERT_DO_EXEC        \
3569         assert(cmd)
3570 #endif
3571 #if !(defined(PERL_GLOBAL_STRUCT_PRIVATE))
3572 #  if defined(PERL_IMPLICIT_CONTEXT)
3573 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *index, size_t size);
3574 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
3575         assert(index)
3576 #  endif
3577 #endif
3578 #if !(defined(WIN32))
3579 /* PERL_CALLCONV char*  my_setlocale(pTHX_ int category, const char* locale)
3580                         __attribute__pure__; */
3581
3582 #endif
3583 #if !(defined(_MSC_VER))
3584 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
3585                         __attribute__noreturn__;
3586 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
3587         assert(sv); assert(mg)
3588
3589 #endif
3590 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
3591 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len);
3592 #define PERL_ARGS_ASSERT_MY_BZERO       \
3593         assert(loc)
3594 #endif
3595 #if !defined(HAS_GETENV_LEN)
3596 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len);
3597 #define PERL_ARGS_ASSERT_GETENV_LEN     \
3598         assert(env_elem); assert(len)
3599 #endif
3600 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
3601 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
3602                         __attribute__pure__;
3603 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
3604         assert(s1); assert(s2)
3605
3606 #endif
3607 #if !defined(HAS_MEMSET)
3608 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len);
3609 #define PERL_ARGS_ASSERT_MY_MEMSET      \
3610         assert(loc)
3611 #endif
3612 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
3613 #  if defined(PERL_IN_PP_SYS_C)
3614 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
3615                         __attribute__warn_unused_result__;
3616 #define PERL_ARGS_ASSERT_DOONELINER     \
3617         assert(cmd); assert(filename)
3618
3619 #  endif
3620 #endif
3621 #if !defined(HAS_RENAME)
3622 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b);
3623 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
3624         assert(a); assert(b)
3625 #endif
3626 #if !defined(HAS_SIGNBIT)
3627 PERL_CALLCONV int       Perl_signbit(NV f)
3628                         __attribute__pure__;
3629
3630 #endif
3631 #if !defined(HAS_STRLCAT)
3632 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
3633 #endif
3634 #if !defined(HAS_STRLCPY)
3635 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
3636 #endif
3637 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
3638 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
3639                         __attribute__warn_unused_result__;
3640
3641 #endif
3642 #if !defined(NV_PRESERVES_UV)
3643 #  if defined(DEBUGGING)
3644 #    if defined(PERL_IN_SV_C)
3645 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
3646 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3647         assert(sv)
3648 #    endif
3649 #  endif
3650 #endif
3651 #if !defined(PERL_DISABLE_PMC)
3652 #  if defined(PERL_IN_PP_CTL_C)
3653 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
3654                         __attribute__warn_unused_result__;
3655 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
3656         assert(name)
3657
3658 #  endif
3659 #endif
3660 #if !defined(PERL_EXT_RE_BUILD)
3661 #  if defined(PERL_IN_REGCOMP_C)
3662 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
3663                         __attribute__warn_unused_result__;
3664 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
3665         assert(invlist)
3666
3667 PERL_STATIC_INLINE bool S_invlist_is_iterating(SV* const invlist)
3668                         __attribute__warn_unused_result__;
3669 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
3670         assert(invlist)
3671
3672 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
3673                         __attribute__warn_unused_result__;
3674 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
3675         assert(invlist)
3676
3677 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
3678 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
3679         assert(invlist)
3680 PERL_STATIC_INLINE void S_invlist_trim(SV* const invlist);
3681 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
3682         assert(invlist)
3683 #  endif
3684 #endif
3685 #if !defined(PERL_IMPLICIT_SYS)
3686 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
3687 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
3688 #define PERL_ARGS_ASSERT_MY_POPEN       \
3689         assert(cmd); assert(mode)
3690 #endif
3691 #if !defined(PERL_IS_MINIPERL)
3692 #  if defined(PERL_IN_PERL_C)
3693 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
3694 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
3695         assert(av); assert(dir); assert(stem)
3696 #  endif
3697 #endif
3698 #if !defined(PERL_NO_INLINE_FUNCTIONS)
3699 PERL_STATIC_INLINE STRLEN       S__is_utf8_char_slow(const U8 *s, const U8 *e)
3700                         __attribute__warn_unused_result__;
3701 #define PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW     \
3702         assert(s); assert(e)
3703
3704 PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest);
3705 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
3706         assert(dest)
3707 PERL_STATIC_INLINE SSize_t      S_av_top_index(pTHX_ AV *av)
3708                         __attribute__warn_unused_result__;
3709 #define PERL_ARGS_ASSERT_AV_TOP_INDEX   \
3710         assert(av)
3711
3712 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
3713                         __attribute__warn_unused_result__;
3714 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
3715         assert(pv); assert(what); assert(op_name)
3716
3717 PERL_STATIC_INLINE bool S_sv_only_taint_gmagic(SV *sv);
3718 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
3719         assert(sv)
3720 #endif
3721 #if !defined(PERL_NO_UTF16_FILTER)
3722 #  if defined(PERL_IN_TOKE_C)
3723 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
3724 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
3725         assert(s)
3726 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
3727 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
3728         assert(sv)
3729 #  endif
3730 #endif
3731 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
3732 #  if defined(PERL_IN_PERL_C)
3733 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
3734 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
3735         assert(rsfp)
3736 #  endif
3737 #endif
3738 #if !defined(SPRINTF_RETURNS_STRLEN)
3739 PERL_CALLCONV int       Perl_my_sprintf(char *buffer, const char *pat, ...);
3740 #define PERL_ARGS_ASSERT_MY_SPRINTF     \
3741         assert(buffer); assert(pat)
3742 #endif
3743 #if !defined(USE_QUADMATH)
3744 #  if defined(PERL_IN_NUMERIC_C)
3745 STATIC NV       S_mulexp10(NV value, I32 exponent);
3746 #  endif
3747 #endif
3748 #if !defined(WIN32)
3749 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report);
3750 #define PERL_ARGS_ASSERT_DO_EXEC3       \
3751         assert(incmd)
3752 #endif
3753 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
3754 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len);
3755 #define PERL_ARGS_ASSERT_MY_BCOPY       \
3756         assert(from); assert(to)
3757 #endif
3758 #if defined(DEBUGGING)
3759 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
3760                         __attribute__warn_unused_result__;
3761 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
3762         assert(s)
3763
3764 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
3765 #define PERL_ARGS_ASSERT_HV_ASSERT      \
3766         assert(hv)
3767 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
3768 #define PERL_ARGS_ASSERT_PAD_SETSV      \
3769         assert(sv)
3770 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
3771 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
3772 #define PERL_ARGS_ASSERT_SET_PADLIST    \
3773         assert(cv)
3774 #  if defined(PERL_IN_PAD_C)
3775 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
3776 #define PERL_ARGS_ASSERT_CV_DUMP        \
3777         assert(cv); assert(title)
3778 #  endif
3779 #  if defined(PERL_IN_REGCOMP_C)
3780 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
3781 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
3782         assert(trie); assert(revcharmap)
3783 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
3784 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
3785         assert(trie); assert(revcharmap)
3786 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
3787 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
3788         assert(trie); assert(revcharmap)
3789 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);
3790 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
3791         assert(r); assert(start); assert(node); assert(sv)
3792 STATIC bool     S_put_charclass_bitmap_innards(pTHX_ SV* sv, char* bitmap, SV** bitmap_invlist);
3793 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
3794         assert(sv); assert(bitmap)
3795 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
3796 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
3797         assert(sv)
3798 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
3799 #define PERL_ARGS_ASSERT_PUT_RANGE      \
3800         assert(sv)
3801 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
3802 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
3803 STATIC U8       S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth);
3804 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
3805         assert(pRExC_state); assert(p); assert(val)
3806 #  endif
3807 #  if defined(PERL_IN_REGEXEC_C)
3808 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
3809 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
3810         assert(prog); assert(start); assert(end); assert(blurb)
3811 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);
3812 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
3813         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
3814 #  endif
3815 #  if defined(PERL_IN_SV_C)
3816 STATIC void     S_del_sv(pTHX_ SV *p);
3817 #define PERL_ARGS_ASSERT_DEL_SV \
3818         assert(p)
3819 #  endif
3820 #  if defined(PERL_IN_TOKE_C)
3821 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
3822                         __attribute__format__(__printf__,pTHX_1,0);
3823 #define PERL_ARGS_ASSERT_PRINTBUF       \
3824         assert(fmt); assert(s)
3825
3826 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
3827 #define PERL_ARGS_ASSERT_TOKEREPORT     \
3828         assert(lvalp)
3829 #  endif
3830 #  if defined(USE_LOCALE)     && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX))
3831 PERL_CALLCONV char *    Perl__setlocale_debug_string(const int category, const char* const locale, const char* const retval)
3832                         __attribute__warn_unused_result__
3833                         __attribute__pure__;
3834
3835 #  endif
3836 #endif
3837 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
3838 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv);
3839 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
3840         assert(sv)
3841 #endif
3842 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
3843 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp);
3844 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
3845         assert(mark); assert(sp)
3846 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp);
3847 #define PERL_ARGS_ASSERT_DO_IPCGET      \
3848         assert(mark); assert(sp)
3849 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp);
3850 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
3851         assert(mark); assert(sp)
3852 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp);
3853 #define PERL_ARGS_ASSERT_DO_MSGSND      \
3854         assert(mark); assert(sp)
3855 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp);
3856 #define PERL_ARGS_ASSERT_DO_SEMOP       \
3857         assert(mark); assert(sp)
3858 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp);
3859 #define PERL_ARGS_ASSERT_DO_SHMIO       \
3860         assert(mark); assert(sp)
3861 #endif
3862 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
3863 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
3864 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
3865 #endif
3866 #if defined(HAVE_INTERP_INTERN)
3867 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
3868 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
3869 #  if defined(USE_ITHREADS)
3870 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
3871 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
3872         assert(src); assert(dst)
3873 #  endif
3874 #endif
3875 #if defined(MYMALLOC)
3876 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
3877 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
3878         assert(s)
3879 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
3880 #define PERL_ARGS_ASSERT_GET_MSTATS     \
3881         assert(buf)
3882 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
3883                         __attribute__warn_unused_result__;
3884
3885 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
3886                         __attribute__warn_unused_result__;
3887 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
3888         assert(p)
3889
3890 #endif
3891 #if defined(NO_MATHOMS)
3892 /* PERL_CALLCONV void   Perl_sv_nounlocking(pTHX_ SV *sv); */
3893 #endif
3894 #if defined(PERL_ANY_COW)
3895 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr);
3896 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
3897         assert(sstr)
3898 #endif
3899 #if defined(PERL_CORE)
3900 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab);
3901 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
3902         assert(slab)
3903 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab);
3904 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
3905         assert(slab)
3906 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab);
3907 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
3908         assert(slab)
3909 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab);
3910 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
3911         assert(parser); assert(slab)
3912 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
3913                         __attribute__warn_unused_result__;
3914 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
3915         assert(pv)
3916
3917 #  if defined(PERL_DEBUG_READONLY_OPS)
3918 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
3919 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
3920         assert(slab)
3921 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
3922 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
3923         assert(slab)
3924 #  endif
3925 #endif
3926 #if defined(PERL_CORE) || defined (PERL_EXT)
3927 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
3928 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
3929         assert(sv); assert(pv)
3930 #endif
3931 #if defined(PERL_CR_FILTER)
3932 #  if defined(PERL_IN_TOKE_C)
3933 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
3934 STATIC void     S_strip_return(pTHX_ SV *sv);
3935 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
3936         assert(sv)
3937 #  endif
3938 #endif
3939 #if defined(PERL_DEBUG_READONLY_COW)
3940 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv);
3941 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
3942         assert(sv)
3943 #  if defined(PERL_IN_SV_C)
3944 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
3945 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
3946         assert(sv)
3947 #  endif
3948 #endif
3949 #if defined(PERL_DEBUG_READONLY_OPS)
3950 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
3951 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
3952         assert(o)
3953 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
3954 #endif
3955 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
3956 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd); */
3957 #endif
3958 #if defined(PERL_DONT_CREATE_GVSV)
3959 /* PERL_CALLCONV GV*    Perl_gv_SVadd(pTHX_ GV *gv); */
3960 #endif
3961 #if defined(PERL_GLOBAL_STRUCT)
3962 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
3963 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp);
3964 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
3965         assert(plvarsp)
3966 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
3967 #endif
3968 #if defined(PERL_GLOBAL_STRUCT_PRIVATE)
3969 #  if defined(PERL_IMPLICIT_CONTEXT)
3970 PERL_CALLCONV int       Perl_my_cxt_index(pTHX_ const char *my_cxt_key);
3971 #define PERL_ARGS_ASSERT_MY_CXT_INDEX   \
3972         assert(my_cxt_key)
3973 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size);
3974 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
3975         assert(my_cxt_key)
3976 #  endif
3977 #endif
3978 #if defined(PERL_IMPLICIT_CONTEXT)
3979 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
3980                         __attribute__noreturn__
3981                         __attribute__format__null_ok__(__printf__,1,2);
3982
3983 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
3984                         __attribute__format__(__printf__,1,2);
3985 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
3986         assert(pat)
3987
3988 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
3989                         __attribute__noreturn__
3990                         __attribute__format__null_ok__(__printf__,1,2);
3991
3992 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
3993                         __attribute__format__(__printf__,1,2);
3994 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
3995         assert(pat)
3996
3997 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
3998                         __attribute__format__(__printf__,2,3);
3999 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
4000         assert(stream); assert(format)
4001
4002 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
4003 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
4004         assert(name)
4005 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
4006                         __attribute__format__(__printf__,1,2);
4007 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
4008         assert(pat)
4009
4010 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
4011                         __attribute__format__(__printf__,1,2);
4012 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
4013         assert(pat)
4014
4015 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
4016                         __attribute__format__(__printf__,1,2);
4017 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
4018         assert(format)
4019
4020 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4021                         __attribute__format__(__printf__,2,3);
4022 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
4023         assert(sv); assert(pat)
4024
4025 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
4026                         __attribute__format__(__printf__,2,3);
4027 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
4028         assert(sv); assert(pat)
4029
4030 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4031                         __attribute__format__(__printf__,2,3);
4032 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
4033         assert(sv); assert(pat)
4034
4035 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
4036                         __attribute__format__(__printf__,2,3);
4037 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
4038         assert(sv); assert(pat)
4039
4040 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
4041                         __attribute__format__(__printf__,1,2);
4042 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
4043         assert(pat)
4044
4045 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
4046                         __attribute__format__(__printf__,2,3);
4047 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
4048         assert(pat)
4049
4050 #endif
4051 #if defined(PERL_IMPLICIT_SYS)
4052 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);
4053 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
4054         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4055 #  if defined(USE_ITHREADS)
4056 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);
4057 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
4058         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4059 #  endif
4060 #endif
4061 #if defined(PERL_IN_AV_C)
4062 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
4063 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
4064         assert(av)
4065 #endif
4066 #if defined(PERL_IN_DEB_C)
4067 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
4068 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
4069         assert(stack_base)
4070 #endif
4071 #if defined(PERL_IN_DOIO_C)
4072 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
4073 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
4074         assert(cmd)
4075 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
4076                         __attribute__warn_unused_result__;
4077
4078 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);
4079 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
4080         assert(gv); assert(io); assert(mode); assert(oname)
4081 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
4082 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
4083         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
4084 #endif
4085 #if defined(PERL_IN_DOOP_C)
4086 STATIC I32      S_do_trans_complex(pTHX_ SV * const sv)
4087                         __attribute__warn_unused_result__;
4088 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4089         assert(sv)
4090
4091 STATIC I32      S_do_trans_complex_utf8(pTHX_ SV * const sv)
4092                         __attribute__warn_unused_result__;
4093 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
4094         assert(sv)
4095
4096 STATIC I32      S_do_trans_count(pTHX_ SV * const sv)
4097                         __attribute__warn_unused_result__;
4098 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4099         assert(sv)
4100
4101 STATIC I32      S_do_trans_count_utf8(pTHX_ SV * const sv)
4102                         __attribute__warn_unused_result__;
4103 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
4104         assert(sv)
4105
4106 STATIC I32      S_do_trans_simple(pTHX_ SV * const sv)
4107                         __attribute__warn_unused_result__;
4108 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4109         assert(sv)
4110
4111 STATIC I32      S_do_trans_simple_utf8(pTHX_ SV * const sv)
4112                         __attribute__warn_unused_result__;
4113 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
4114         assert(sv)
4115
4116 #endif
4117 #if defined(PERL_IN_DUMP_C)
4118 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
4119 STATIC void     S_debprof(pTHX_ const OP *o);
4120 #define PERL_ARGS_ASSERT_DEBPROF        \
4121         assert(o)
4122 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
4123 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
4124         assert(pm)
4125 STATIC UV       S_sequence_num(pTHX_ const OP *o);
4126 #endif
4127 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
4128 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv);
4129 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
4130         assert(hv)
4131 #endif
4132 #if defined(PERL_IN_GV_C)
4133 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);
4134 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
4135         assert(stash); assert(name)
4136 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
4137 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
4138 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
4139         assert(gv)
4140 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
4141 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
4142         assert(name)
4143 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, const svtype sv_type);
4144 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
4145         assert(gv); assert(stash); assert(name)
4146 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
4147 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
4148         assert(gv)
4149 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
4150 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
4151         assert(name)
4152 PERL_STATIC_INLINE HV*  S_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags);
4153 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
4154 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
4155         assert(gv); assert(name)
4156 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);
4157 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
4158         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
4159 STATIC HV*      S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags);
4160 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
4161         assert(gv); assert(varpv); assert(namesv); assert(methpv)
4162 #endif
4163 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
4164 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv);
4165 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
4166         assert(tsv); assert(sv)
4167 #endif
4168 #if defined(PERL_IN_HV_C)
4169 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
4170 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
4171         assert(hv)
4172 STATIC void     S_hfreeentries(pTHX_ HV *hv);
4173 #define PERL_ARGS_ASSERT_HFREEENTRIES   \
4174         assert(hv)
4175 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
4176 #define PERL_ARGS_ASSERT_HSPLIT \
4177         assert(hv)
4178 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
4179 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
4180         assert(hv)
4181 STATIC struct xpvhv_aux*        S_hv_auxinit_internal(struct xpvhv_aux *iter);
4182 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL    \
4183         assert(iter)
4184 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4185 STATIC SV*      S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry);
4186 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
4187         assert(hv); assert(entry)
4188 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
4189 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4190         assert(hv); assert(needs_copy); assert(needs_store)
4191 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4192                         __attribute__noreturn__;
4193 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
4194         assert(key); assert(msg)
4195
4196 STATIC HE*      S_new_he(pTHX)
4197                         __attribute__malloc__
4198                         __attribute__warn_unused_result__;
4199
4200 PERL_STATIC_INLINE U32  S_ptr_hash(PTRV u);
4201 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
4202 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
4203         assert(he)
4204 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4205                         __attribute__malloc__
4206                         __attribute__warn_unused_result__;
4207 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4208         assert(str)
4209
4210 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
4211                         __attribute__warn_unused_result__;
4212 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
4213         assert(str)
4214
4215 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4216 #endif
4217 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
4218 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av);
4219 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
4220         assert(sv)
4221 #endif
4222 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
4223 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp);
4224 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
4225         assert(hv); assert(indexp)
4226 #endif
4227 #if defined(PERL_IN_MALLOC_C)
4228 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
4229 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
4230         assert(nbytes_p)
4231 #endif
4232 #if defined(PERL_IN_MG_C)
4233 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
4234 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
4235         assert(sv)
4236 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
4237 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
4238         assert(sv); assert(mg); assert(meth)
4239 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
4240 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4241         assert(sv); assert(mg); assert(meth)
4242 STATIC void     S_restore_magic(pTHX_ const void *p);
4243 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
4244 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
4245         assert(sv)
4246 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
4247 #endif
4248 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
4249 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);
4250 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
4251         assert(posp); assert(lenp)
4252 #endif
4253 #if defined(PERL_IN_MRO_C)
4254 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
4255 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
4256         assert(isa); assert(name)
4257 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
4258 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
4259         assert(stashes); assert(seen_stashes); assert(namesv)
4260 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
4261 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
4262         assert(stash)
4263 #endif
4264 #if defined(PERL_IN_OP_C)
4265 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
4266 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
4267         assert(stash); assert(target)
4268 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
4269 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
4270         assert(stash); assert(target); assert(imopsp)
4271 STATIC I32      S_assignment_type(pTHX_ const OP *o)
4272                         __attribute__warn_unused_result__;
4273
4274 STATIC void     S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
4275 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
4276         assert(gv); assert(kid); assert(t)
4277 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
4278 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
4279         assert(t); assert(o); assert(kid)
4280 STATIC void     S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
4281 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS   \
4282         assert(fullname); assert(gv); assert(cv)
4283 STATIC void     S_cop_free(pTHX_ COP *cop);
4284 #define PERL_ARGS_ASSERT_COP_FREE       \
4285         assert(cop)
4286 STATIC OP *     S_dup_attrlist(pTHX_ OP *o);
4287 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
4288         assert(o)
4289 STATIC void     S_finalize_op(pTHX_ OP* o);
4290 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
4291         assert(o)
4292 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o);
4293 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
4294         assert(o)
4295 STATIC OP*      S_fold_constants(pTHX_ OP *o);
4296 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
4297         assert(o)
4298 STATIC OP*      S_force_list(pTHX_ OP* arg, bool nullit);
4299 STATIC void     S_forget_pmop(pTHX_ PMOP *const o);
4300 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
4301         assert(o)
4302 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
4303 STATIC void     S_inplace_aassign(pTHX_ OP* o);
4304 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
4305         assert(o)
4306 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
4307                         __attribute__warn_unused_result__;
4308 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
4309         assert(o)
4310
4311 STATIC OP*      S_listkids(pTHX_ OP* o);
4312 STATIC void     S_moan_not_so_smart(pTHX_ OP *o, bool right_side);
4313 #define PERL_ARGS_ASSERT_MOAN_NOT_SO_SMART      \
4314         assert(o)
4315 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
4316 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name);
4317 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
4318         assert(proto); assert(attrs); assert(name)
4319 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
4320 #define PERL_ARGS_ASSERT_MY_KID \
4321         assert(imopsp)
4322 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
4323 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
4324         assert(block)
4325 PERL_STATIC_INLINE OP*  S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
4326 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
4327                         __attribute__warn_unused_result__;
4328 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
4329         assert(firstp); assert(otherp)
4330
4331 STATIC void     S_no_bareword_allowed(pTHX_ OP *o);
4332 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
4333         assert(o)
4334 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
4335                         __attribute__warn_unused_result__;
4336 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
4337         assert(o)
4338
4339 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o);
4340 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
4341         assert(o)
4342 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o);
4343 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
4344         assert(o)
4345 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
4346 #define PERL_ARGS_ASSERT_PMTRANS        \
4347         assert(o); assert(expr); assert(repl)
4348 STATIC bool     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
4349 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
4350         assert(fullname); assert(gv); assert(cv)
4351 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
4352 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
4353                         __attribute__warn_unused_result__;
4354
4355 STATIC OP*      S_scalarboolean(pTHX_ OP *o);
4356 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
4357         assert(o)
4358 STATIC OP*      S_scalarkids(pTHX_ OP* o);
4359 STATIC OP*      S_scalarseq(pTHX_ OP* o);
4360 STATIC OP*      S_search_const(pTHX_ OP *o)
4361                         __attribute__warn_unused_result__;
4362 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
4363         assert(o)
4364
4365 STATIC void     S_simplify_sort(pTHX_ OP *o);
4366 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
4367         assert(o)
4368 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
4369                         __attribute__warn_unused_result__;
4370 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
4371         assert(o); assert(name)
4372
4373 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
4374 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
4375         assert(o); assert(name)
4376 #  if defined(USE_ITHREADS)
4377 PERL_STATIC_INLINE void S_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp);
4378 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
4379         assert(svp); assert(targp)
4380 #  endif
4381 #endif
4382 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
4383 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp);
4384 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
4385         assert(name); assert(old_cv)
4386 #endif
4387 #if defined(PERL_IN_PAD_C)
4388 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
4389 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
4390         assert(name)
4391 STATIC void     S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
4392 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
4393         assert(name)
4394 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);
4395 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
4396         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
4397 STATIC void     S_pad_reset(pTHX);
4398 #endif
4399 #if defined(PERL_IN_PERL_C)
4400 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
4401 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
4402         assert(linestr_sv); assert(rsfp)
4403 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
4404 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
4405 #define PERL_ARGS_ASSERT_INCPUSH        \
4406         assert(dir)
4407 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
4408 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
4409         assert(p)
4410 STATIC void     S_init_ids(pTHX);
4411 STATIC void     S_init_interp(pTHX);
4412 STATIC void     S_init_main_stash(pTHX);
4413 STATIC void     S_init_perllib(pTHX);
4414 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
4415 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
4416         assert(argv)
4417 STATIC void     S_init_predump_symbols(pTHX);
4418 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
4419 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
4420         assert(dir)
4421 PERL_STATIC_NO_RET void S_minus_v(pTHX)
4422                         __attribute__noreturn__;
4423
4424 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
4425                         __attribute__noreturn__;
4426
4427 STATIC void     S_nuke_stacks(pTHX);
4428 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
4429 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
4430         assert(scriptname); assert(suidscript)
4431 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
4432 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
4433                         __attribute__noreturn__;
4434
4435 PERL_STATIC_NO_RET void S_usage(pTHX)
4436                         __attribute__noreturn__;
4437
4438 #endif
4439 #if defined(PERL_IN_PP_C)
4440 STATIC size_t   S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
4441 #define PERL_ARGS_ASSERT_DO_CHOMP       \
4442         assert(retval); assert(sv)
4443 STATIC OP*      S_do_delete_local(pTHX);
4444 STATIC SV*      S_refto(pTHX_ SV* sv)
4445                         __attribute__warn_unused_result__;
4446 #define PERL_ARGS_ASSERT_REFTO  \
4447         assert(sv)
4448
4449 #endif
4450 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
4451 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
4452                         __attribute__warn_unused_result__;
4453 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
4454         assert(sv); assert(what); assert(spp)
4455
4456 #endif
4457 #if defined(PERL_IN_PP_CTL_C)
4458 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
4459                         __attribute__warn_unused_result__;
4460 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
4461         assert(name)
4462
4463 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher);
4464 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
4465         assert(matcher)
4466 STATIC OP*      S_docatch(pTHX_ OP *o)
4467                         __attribute__warn_unused_result__;
4468
4469 STATIC bool     S_doeval(pTHX_ int gimme, CV* outside, U32 seq, HV* hh);
4470 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
4471                         __attribute__warn_unused_result__;
4472 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
4473         assert(o); assert(label); assert(opstack); assert(oplimit)
4474
4475 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv);
4476 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
4477         assert(sv)
4478 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
4479                         __attribute__warn_unused_result__;
4480
4481 STATIC I32      S_dopoptogiven(pTHX_ I32 startingblock, bool justgiven)
4482                         __attribute__warn_unused_result__;
4483
4484 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
4485                         __attribute__warn_unused_result__;
4486 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
4487         assert(label)
4488
4489 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
4490                         __attribute__warn_unused_result__;
4491
4492 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
4493                         __attribute__warn_unused_result__;
4494 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
4495         assert(cxstk)
4496
4497 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
4498                         __attribute__warn_unused_result__;
4499
4500 STATIC SV **    S_leave_common(pTHX_ SV **newsp, SV **sp, SV **mark, I32 gimme, U32 flags, bool lvalue);
4501 #define PERL_ARGS_ASSERT_LEAVE_COMMON   \
4502         assert(newsp); assert(sp); assert(mark)
4503 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
4504                         __attribute__warn_unused_result__;
4505 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
4506         assert(re)
4507
4508 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
4509                         __attribute__warn_unused_result__;
4510 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
4511         assert(matcher); assert(sv)
4512
4513 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
4514                         __attribute__warn_unused_result__;
4515
4516 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
4517                         __attribute__warn_unused_result__;
4518 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
4519         assert(name)
4520
4521 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
4522                         __attribute__warn_unused_result__;
4523 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
4524         assert(buf_sv)
4525
4526 STATIC void     S_rxres_free(pTHX_ void** rsp);
4527 #define PERL_ARGS_ASSERT_RXRES_FREE     \
4528         assert(rsp)
4529 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
4530 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
4531         assert(rsp); assert(rx)
4532 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv);
4533 #define PERL_ARGS_ASSERT_SAVE_LINES     \
4534         assert(sv)
4535 #endif
4536 #if defined(PERL_IN_PP_HOT_C)
4537 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
4538 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
4539         assert(oddkey); assert(firstkey)
4540 PERL_STATIC_INLINE HV*  S_opmethod_stash(pTHX_ SV* meth);
4541 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
4542         assert(meth)
4543 #endif
4544 #if defined(PERL_IN_PP_PACK_C)
4545 STATIC int      S_div128(pTHX_ SV *pnum, bool *done);
4546 #define PERL_ARGS_ASSERT_DIV128 \
4547         assert(pnum); assert(done)
4548 STATIC char     S_first_symbol(const char *pat, const char *patend);
4549 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
4550         assert(pat); assert(patend)
4551 STATIC const char *     S_get_num(pTHX_ const char *patptr, I32 *lenptr)
4552                         __attribute__warn_unused_result__;
4553 #define PERL_ARGS_ASSERT_GET_NUM        \
4554         assert(patptr); assert(lenptr)
4555
4556 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
4557 #define PERL_ARGS_ASSERT_GROUP_END      \
4558         assert(patptr); assert(patend)
4559 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
4560                         __attribute__warn_unused_result__;
4561 #define PERL_ARGS_ASSERT_IS_AN_INT      \
4562         assert(s)
4563
4564 STATIC I32      S_measure_struct(pTHX_ struct tempsym* symptr);
4565 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
4566         assert(symptr)
4567 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m);
4568 #define PERL_ARGS_ASSERT_MUL128 \
4569         assert(sv)
4570 STATIC char *   S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
4571                         __attribute__warn_unused_result__;
4572 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8       \
4573         assert(start); assert(dest)
4574
4575 STATIC bool     S_need_utf8(const char *pat, const char *patend);
4576 #define PERL_ARGS_ASSERT_NEED_UTF8      \
4577         assert(pat); assert(patend)
4578 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr);
4579 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
4580         assert(symptr)
4581 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
4582 #define PERL_ARGS_ASSERT_PACK_REC       \
4583         assert(cat); assert(symptr); assert(beglist); assert(endlist)
4584 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
4585                         __attribute__warn_unused_result__;
4586 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
4587         assert(sv)
4588
4589 STATIC I32      S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
4590 #define PERL_ARGS_ASSERT_UNPACK_REC     \
4591         assert(symptr); assert(s); assert(strbeg); assert(strend)
4592 #endif
4593 #if defined(PERL_IN_PP_SORT_C)
4594 STATIC I32      S_amagic_cmp(pTHX_ SV *const str1, SV *const str2);
4595 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
4596         assert(str1); assert(str2)
4597 STATIC I32      S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b);
4598 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
4599         assert(a); assert(b)
4600 STATIC I32      S_amagic_ncmp(pTHX_ SV *const a, SV *const b);
4601 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
4602         assert(a); assert(b)
4603 STATIC void     S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare);
4604 #define PERL_ARGS_ASSERT_QSORTSVU       \
4605         assert(compare)
4606 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b);
4607 #define PERL_ARGS_ASSERT_SORTCV \
4608         assert(a); assert(b)
4609 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
4610 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
4611         assert(a); assert(b)
4612 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
4613 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
4614         assert(a); assert(b)
4615 STATIC I32      S_sv_i_ncmp(pTHX_ SV *const a, SV *const b);
4616 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
4617         assert(a); assert(b)
4618 STATIC I32      S_sv_ncmp(pTHX_ SV *const a, SV *const b);
4619 #define PERL_ARGS_ASSERT_SV_NCMP        \
4620         assert(a); assert(b)
4621 #  if defined(USE_LOCALE_COLLATE)
4622 STATIC I32      S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2);
4623 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
4624         assert(str1); assert(str2)
4625 #  endif
4626 #endif
4627 #if defined(PERL_IN_PP_SYS_C)
4628 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
4629 #define PERL_ARGS_ASSERT_DOFORM \
4630         assert(cv); assert(gv)
4631 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array);
4632 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL        \
4633         assert(array)
4634 #endif
4635 #if defined(PERL_IN_REGCOMP_C)
4636 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4637 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
4638         assert(invlist)
4639 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
4640                         __attribute__warn_unused_result__;
4641 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
4642         assert(invlist)
4643
4644 STATIC SV*      S__make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
4645                         __attribute__warn_unused_result__;
4646 #define PERL_ARGS_ASSERT__MAKE_EXACTF_INVLIST   \
4647         assert(pRExC_state); assert(node)
4648
4649 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
4650 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
4651         assert(pRExC_state); assert(invlist)
4652 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
4653                         __attribute__warn_unused_result__;
4654
4655 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
4656                         __attribute__warn_unused_result__;
4657 #define PERL_ARGS_ASSERT_ADD_DATA       \
4658         assert(pRExC_state); assert(s)
4659
4660 STATIC AV*      S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
4661 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH        \
4662         assert(multi_string)
4663 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);
4664 #define PERL_ARGS_ASSERT_ALLOC_MAYBE_POPULATE_EXACT     \
4665         assert(pRExC_state); assert(node); assert(flagp)
4666 STATIC const char *     S_cntrl_to_mnemonic(const U8 c)
4667                         __attribute__pure__;
4668
4669 PERL_STATIC_INLINE U8   S_compute_EXACTish(RExC_state_t *pRExC_state);
4670 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
4671         assert(pRExC_state)
4672 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
4673 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
4674         assert(pRExC_state); assert(source)
4675 STATIC bool     S_could_it_be_a_POSIX_class(RExC_state_t *pRExC_state);
4676 #define PERL_ARGS_ASSERT_COULD_IT_BE_A_POSIX_CLASS      \
4677         assert(pRExC_state)
4678 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
4679 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
4680         assert(pRExC_state); assert(node)
4681 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
4682                         __attribute__warn_unused_result__;
4683 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
4684         assert(invlist)
4685
4686 STATIC bool     S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode** nodep, UV *code_point_p, int* cp_count, I32 *flagp, const U32 depth);
4687 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
4688         assert(pRExC_state); assert(flagp)
4689 STATIC regnode* S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse);
4690 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
4691         assert(pRExC_state); assert(flagp); assert(oregcomp_parse)
4692 PERL_STATIC_INLINE SV*  S_invlist_clone(pTHX_ SV* const invlist)
4693                         __attribute__warn_unused_result__;
4694 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
4695         assert(invlist)
4696
4697 STATIC void     S_invlist_extend(pTHX_ SV* const invlist, const UV len);
4698 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
4699         assert(invlist)
4700 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
4701                         __attribute__warn_unused_result__;
4702 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
4703         assert(invlist)
4704
4705 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
4706 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
4707         assert(invlist)
4708 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
4709 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
4710         assert(invlist)
4711 STATIC bool     S_invlist_iternext(SV* invlist, UV* start, UV* end)
4712                         __attribute__warn_unused_result__;
4713 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
4714         assert(invlist); assert(start); assert(end)
4715
4716 PERL_STATIC_INLINE UV   S_invlist_max(SV* const invlist)
4717                         __attribute__warn_unused_result__;
4718 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
4719         assert(invlist)
4720
4721 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
4722 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
4723         assert(invlist)
4724 STATIC bool     S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
4725 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT        \
4726         assert(pRExC_state); assert(ssc)
4727 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);
4728 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
4729         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
4730 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);
4731 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
4732         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
4733 STATIC void     S_nextchar(pTHX_ RExC_state_t *pRExC_state);
4734 #define PERL_ARGS_ASSERT_NEXTCHAR       \
4735         assert(pRExC_state)
4736 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
4737 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
4738         assert(pRExC_state)
4739 STATIC void     S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
4740 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST    \
4741         assert(node); assert(invlist_ptr)
4742 PERL_STATIC_NO_RET void S_re_croak2(pTHX_ bool utf8, const char* pat1, const char* pat2, ...)
4743                         __attribute__noreturn__;
4744 #define PERL_ARGS_ASSERT_RE_CROAK2      \
4745         assert(pat1); assert(pat2)
4746
4747 STATIC regnode* S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
4748 #define PERL_ARGS_ASSERT_REG    \
4749         assert(pRExC_state); assert(flagp)
4750 STATIC regnode* S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
4751 #define PERL_ARGS_ASSERT_REG2LANODE     \
4752         assert(pRExC_state)
4753 STATIC regnode* S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
4754 #define PERL_ARGS_ASSERT_REG_NODE       \
4755         assert(pRExC_state)
4756 STATIC UV       S_reg_recode(pTHX_ const U8 value, SV **encp);
4757 #define PERL_ARGS_ASSERT_REG_RECODE     \
4758         assert(encp)
4759 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
4760 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
4761         assert(pRExC_state)
4762 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
4763 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
4764         assert(pRExC_state); assert(p)
4765 STATIC regnode* S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
4766 #define PERL_ARGS_ASSERT_REGANODE       \
4767         assert(pRExC_state)
4768 STATIC regnode* S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
4769 #define PERL_ARGS_ASSERT_REGATOM        \
4770         assert(pRExC_state); assert(flagp)
4771 STATIC regnode* S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
4772 #define PERL_ARGS_ASSERT_REGBRANCH      \
4773         assert(pRExC_state); assert(flagp)
4774 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);
4775 #define PERL_ARGS_ASSERT_REGCLASS       \
4776         assert(pRExC_state); assert(flagp)
4777 STATIC unsigned int     S_regex_set_precedence(const U8 my_operator)
4778                         __attribute__pure__;
4779
4780 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth);
4781 #define PERL_ARGS_ASSERT_REGINSERT      \
4782         assert(pRExC_state); assert(opnd)
4783 STATIC regnode* S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len, const char* const name);
4784 #define PERL_ARGS_ASSERT_REGNODE_GUTS   \
4785         assert(pRExC_state); assert(name)
4786 STATIC regnode* S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
4787 #define PERL_ARGS_ASSERT_REGPIECE       \
4788         assert(pRExC_state); assert(flagp)
4789 PERL_STATIC_INLINE I32  S_regpposixcc(pTHX_ RExC_state_t *pRExC_state, I32 value, const bool strict);
4790 #define PERL_ARGS_ASSERT_REGPPOSIXCC    \
4791         assert(pRExC_state)
4792 STATIC void     S_regtail(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth);
4793 #define PERL_ARGS_ASSERT_REGTAIL        \
4794         assert(pRExC_state); assert(p); assert(val)
4795 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
4796 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
4797         assert(pRExC_state); assert(data); assert(minlenp)
4798 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);
4799 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
4800         assert(pRExC_state); assert(node)
4801 STATIC void     S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
4802 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT        \
4803         assert(pRExC_state); assert(p)
4804 PERL_STATIC_INLINE void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
4805 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
4806         assert(ssc)
4807 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
4808 #define PERL_ARGS_ASSERT_SSC_AND        \
4809         assert(pRExC_state); assert(ssc); assert(and_with)
4810 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc);
4811 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
4812         assert(ssc)
4813 PERL_STATIC_INLINE void S_ssc_clear_locale(regnode_ssc *ssc);
4814 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
4815         assert(ssc)
4816 PERL_STATIC_INLINE void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
4817 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
4818         assert(ssc)
4819 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
4820 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
4821         assert(pRExC_state); assert(ssc)
4822 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
4823 #define PERL_ARGS_ASSERT_SSC_INIT       \
4824         assert(pRExC_state); assert(ssc)
4825 PERL_STATIC_INLINE void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
4826 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
4827         assert(ssc); assert(invlist)
4828 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
4829                         __attribute__warn_unused_result__;
4830 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
4831         assert(ssc)
4832
4833 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
4834                         __attribute__warn_unused_result__;
4835 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
4836         assert(pRExC_state); assert(ssc)
4837
4838 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
4839 #define PERL_ARGS_ASSERT_SSC_OR \
4840         assert(pRExC_state); assert(ssc); assert(or_with)
4841 PERL_STATIC_INLINE void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
4842 #define PERL_ARGS_ASSERT_SSC_UNION      \
4843         assert(ssc); assert(invlist)
4844 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);
4845 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
4846         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
4847 #endif
4848 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
4849 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
4850 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
4851         assert(file); assert(indent); assert(invlist)
4852 #endif
4853 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
4854 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
4855                         __attribute__warn_unused_result__;
4856 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
4857         assert(list)
4858
4859 #endif
4860 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4861 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 *exclude_list);
4862 #define PERL_ARGS_ASSERT__GET_REGCLASS_NONBITMAP_DATA   \
4863         assert(node)
4864 PERL_CALLCONV void      Perl__load_PL_utf8_foldclosures(pTHX);
4865 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state);
4866 #define PERL_ARGS_ASSERT_REGPROP        \
4867         assert(sv); assert(o)
4868 #endif
4869 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
4870 PERL_CALLCONV SV*       Perl__get_swash_invlist(pTHX_ SV* const swash)
4871                         __attribute__warn_unused_result__;
4872 #define PERL_ARGS_ASSERT__GET_SWASH_INVLIST     \
4873         assert(swash)
4874
4875 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
4876                         __attribute__warn_unused_result__;
4877 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
4878         assert(invlist)
4879
4880 PERL_CALLCONV SV*       Perl__invlist_contents(pTHX_ SV* const invlist)
4881                         __attribute__warn_unused_result__;
4882 #define PERL_ARGS_ASSERT__INVLIST_CONTENTS      \
4883         assert(invlist)
4884
4885 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
4886                         __attribute__warn_unused_result__;
4887 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
4888         assert(invlist)
4889
4890 PERL_CALLCONV IV        Perl__invlist_search(SV* const invlist, const UV cp)
4891                         __attribute__warn_unused_result__;
4892 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
4893         assert(invlist)
4894
4895 PERL_CALLCONV HV*       Perl__swash_inversion_hash(pTHX_ SV* const swash)
4896                         __attribute__warn_unused_result__;
4897 #define PERL_ARGS_ASSERT__SWASH_INVERSION_HASH  \
4898         assert(swash)
4899
4900 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
4901                         __attribute__warn_unused_result__;
4902 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
4903         assert(invlist)
4904
4905 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
4906                         __attribute__warn_unused_result__;
4907 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
4908         assert(invlist)
4909
4910 #endif
4911 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
4912 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);
4913 #define PERL_ARGS_ASSERT__CORE_SWASH_INIT       \
4914         assert(pkg); assert(name); assert(listsv)
4915 #endif
4916 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
4917 PERL_STATIC_INLINE bool S_grok_bslash_x(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
4918                         __attribute__warn_unused_result__;
4919 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
4920         assert(s); assert(uv); assert(error_msg)
4921
4922 PERL_STATIC_INLINE I32  S_regcurly(const char *s)
4923                         __attribute__warn_unused_result__
4924                         __attribute__pure__;
4925 #define PERL_ARGS_ASSERT_REGCURLY       \
4926         assert(s)
4927
4928 #endif
4929 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
4930 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end)
4931                         __attribute__warn_unused_result__;
4932
4933 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
4934 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
4935 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
4936         assert(b); assert(i)