This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
new perldelta
[perl5.git] / proto.h
1 /* -*- mode: C; 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, 2010, 2011, 2012, 2013,
7  *    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022
8  *    by Larry Wall and others
9  *
10  *    You may distribute under the terms of either the GNU General Public
11  *    License or the Artistic License, as specified in the README file.
12  *
13  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
14  * This file is built by regen/embed.pl from embed.fnc, intrpvar.h,
15  * perlvars.h, regen/opcodes, regen/embed.pl, regen/embed_lib.pl and
16  * regen/HeaderParser.pm.
17  * Any changes made here will be lost!
18  *
19  * Edit those files and run 'make regen_headers' to effect changes.
20  */
21
22 START_EXTERN_C
23 PERL_CALLCONV int
24 Perl_Gv_AMupdate(pTHX_ HV *stash, bool destructing);
25 #define PERL_ARGS_ASSERT_GV_AMUPDATE            \
26         assert(stash)
27
28 PERL_CALLCONV const char *
29 Perl_PerlIO_context_layers(pTHX_ const char *mode);
30 #define PERL_ARGS_ASSERT_PERLIO_CONTEXT_LAYERS
31
32 PERL_CALLCONV int
33 Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd)
34         __attribute__visibility__("hidden");
35 #define PERL_ARGS_ASSERT_PERLLIO_DUP2_CLOEXEC
36
37 PERL_CALLCONV int
38 Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
39         __attribute__warn_unused_result__
40         __attribute__visibility__("hidden");
41 #define PERL_ARGS_ASSERT_PERLLIO_DUP_CLOEXEC
42
43 PERL_CALLCONV int
44 Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
45         __attribute__warn_unused_result__
46         __attribute__visibility__("hidden");
47 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC  \
48         assert(file)
49
50 PERL_CALLCONV int
51 Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
52         __attribute__warn_unused_result__
53         __attribute__visibility__("hidden");
54 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC   \
55         assert(file)
56
57 /* PERL_CALLCONV const XOP *
58 Perl_custom_op_xop(pTHX_ const OP *o); */
59
60 PERL_CALLCONV const char *
61 Perl_langinfo(const nl_item item);
62 #define PERL_ARGS_ASSERT_PERL_LANGINFO
63
64 PERL_CALLCONV const char *
65 Perl_langinfo8(const nl_item item, utf8ness_t *utf8ness);
66 #define PERL_ARGS_ASSERT_PERL_LANGINFO8         \
67         assert(utf8ness)
68
69 PERL_CALLCONV HV *
70 Perl_localeconv(pTHX);
71 #define PERL_ARGS_ASSERT_PERL_LOCALECONV
72
73 PERL_CALLCONV const char *
74 Perl_setlocale(const int category, const char *locale);
75 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
76
77 PERL_CALLCONV void *
78 Perl_Slab_Alloc(pTHX_ size_t sz)
79         __attribute__warn_unused_result__;
80 #define PERL_ARGS_ASSERT_SLAB_ALLOC
81
82 PERL_CALLCONV void
83 Perl_Slab_Free(pTHX_ void *op);
84 #define PERL_ARGS_ASSERT_SLAB_FREE              \
85         assert(op)
86
87 /* PERL_CALLCONV void
88 SvREFCNT_dec_set_NULL(pTHX_ SV *sv); */
89
90 PERL_CALLCONV const char *
91 Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
92 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING
93
94 PERL_CALLCONV void
95 Perl__force_out_malformed_utf8_message(pTHX_ const U8 * const p, const U8 * const e, const U32 flags, const bool die_here);
96 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE \
97         assert(p); assert(e)
98
99 PERL_CALLCONV Size_t
100 Perl__inverse_folds(pTHX_ const UV cp, U32 *first_folds_to, const U32 **remaining_folds_to)
101         __attribute__warn_unused_result__;
102 #define PERL_ARGS_ASSERT__INVERSE_FOLDS         \
103         assert(first_folds_to); assert(remaining_folds_to)
104
105 PERL_CALLCONV bool
106 Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
107 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
108
109 PERL_CALLCONV bool
110 Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
111         __attribute__warn_unused_result__;
112 #define PERL_ARGS_ASSERT__IS_UNI_FOO
113
114 PERL_CALLCONV bool
115 Perl__is_uni_perl_idcont(pTHX_ UV c)
116         __attribute__warn_unused_result__;
117 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
118
119 PERL_CALLCONV bool
120 Perl__is_uni_perl_idstart(pTHX_ UV c)
121         __attribute__warn_unused_result__;
122 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
123
124 PERL_CALLCONV bool
125 Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
126         __attribute__warn_unused_result__;
127 #define PERL_ARGS_ASSERT__IS_UTF8_FOO           \
128         assert(p); assert(e)
129
130 PERL_CALLCONV bool
131 Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
132         __attribute__warn_unused_result__;
133 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
134         assert(p); assert(e)
135
136 PERL_CALLCONV bool
137 Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
138         __attribute__warn_unused_result__;
139 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
140         assert(p); assert(e)
141
142 PERL_CALLCONV UV
143 Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
144 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
145         assert(p); assert(lenp)
146
147 PERL_CALLCONV UV
148 Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, U8 flags);
149 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
150         assert(p); assert(ustrp)
151
152 PERL_CALLCONV UV
153 Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
154 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
155         assert(p); assert(ustrp)
156
157 PERL_CALLCONV UV
158 Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
159 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
160         assert(p); assert(ustrp)
161
162 PERL_CALLCONV UV
163 Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
164 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
165         assert(p); assert(ustrp)
166
167 PERL_CALLCONV UV
168 Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors, AV **msgs);
169 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER \
170         assert(s)
171
172 PERL_CALLCONV_NO_RET void
173 Perl_abort_execution(pTHX_ SV *msg_sv, const char * const name)
174         __attribute__noreturn__
175         __attribute__visibility__("hidden");
176 #define PERL_ARGS_ASSERT_ABORT_EXECUTION        \
177         assert(name)
178
179 PERL_CALLCONV LOGOP *
180 Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
181         __attribute__visibility__("hidden");
182 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
183
184 PERL_CALLCONV PADOFFSET
185 Perl_allocmy(pTHX_ const char * const name, const STRLEN len, const U32 flags)
186         __attribute__visibility__("hidden");
187 #define PERL_ARGS_ASSERT_ALLOCMY                \
188         assert(name)
189
190 PERL_CALLCONV bool
191 Perl_amagic_applies(pTHX_ SV *sv, int method, int flags);
192 #define PERL_ARGS_ASSERT_AMAGIC_APPLIES         \
193         assert(sv)
194
195 PERL_CALLCONV SV *
196 Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int dir);
197 #define PERL_ARGS_ASSERT_AMAGIC_CALL            \
198         assert(left); assert(right)
199
200 PERL_CALLCONV SV *
201 Perl_amagic_deref_call(pTHX_ SV *ref, int method);
202 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
203         assert(ref)
204
205 PERL_CALLCONV bool
206 Perl_amagic_is_enabled(pTHX_ int method)
207         __attribute__visibility__("hidden");
208 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
209
210 PERL_CALLCONV SSize_t
211 Perl_apply(pTHX_ I32 type, SV **mark, SV **sp)
212         __attribute__visibility__("hidden");
213 #define PERL_ARGS_ASSERT_APPLY                  \
214         assert(mark); assert(sp)
215
216 PERL_CALLCONV void
217 Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
218 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
219         assert(stashpv); assert(cv); assert(attrstr)
220
221 PERL_CALLCONV OP *
222 Perl_apply_builtin_cv_attributes(pTHX_ CV *cv, OP *attrlist);
223 #define PERL_ARGS_ASSERT_APPLY_BUILTIN_CV_ATTRIBUTES \
224         assert(cv)
225
226 PERL_CALLCONV void
227 Perl_atfork_lock(void);
228 #define PERL_ARGS_ASSERT_ATFORK_LOCK
229
230 PERL_CALLCONV void
231 Perl_atfork_unlock(void);
232 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
233
234 PERL_CALLCONV SV **
235 Perl_av_arylen_p(pTHX_ AV *av);
236 #define PERL_ARGS_ASSERT_AV_ARYLEN_P            \
237         assert(av)
238
239 PERL_CALLCONV void
240 Perl_av_clear(pTHX_ AV *av);
241 #define PERL_ARGS_ASSERT_AV_CLEAR               \
242         assert(av)
243
244 PERL_CALLCONV void
245 Perl_av_create_and_push(pTHX_ AV ** const avp, SV * const val);
246 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
247         assert(avp); assert(val)
248
249 PERL_CALLCONV SV **
250 Perl_av_create_and_unshift_one(pTHX_ AV ** const avp, SV * const val);
251 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
252         assert(avp); assert(val)
253
254 PERL_CALLCONV SV *
255 Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
256 #define PERL_ARGS_ASSERT_AV_DELETE              \
257         assert(av)
258
259 PERL_CALLCONV void
260 Perl_av_dump(pTHX_ AV *av);
261 #define PERL_ARGS_ASSERT_AV_DUMP
262
263 PERL_CALLCONV bool
264 Perl_av_exists(pTHX_ AV *av, SSize_t key)
265         __attribute__warn_unused_result__;
266 #define PERL_ARGS_ASSERT_AV_EXISTS              \
267         assert(av)
268
269 PERL_CALLCONV void
270 Perl_av_extend(pTHX_ AV *av, SSize_t key);
271 #define PERL_ARGS_ASSERT_AV_EXTEND              \
272         assert(av)
273
274 PERL_CALLCONV void
275 Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
276         __attribute__visibility__("hidden");
277 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS         \
278         assert(maxp); assert(allocp); assert(arrayp)
279
280 PERL_CALLCONV SV **
281 Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
282         __attribute__warn_unused_result__;
283 #define PERL_ARGS_ASSERT_AV_FETCH               \
284         assert(av)
285
286 PERL_CALLCONV void
287 Perl_av_fill(pTHX_ AV *av, SSize_t fill);
288 #define PERL_ARGS_ASSERT_AV_FILL                \
289         assert(av)
290
291 PERL_CALLCONV IV *
292 Perl_av_iter_p(pTHX_ AV *av);
293 #define PERL_ARGS_ASSERT_AV_ITER_P              \
294         assert(av)
295
296 PERL_CALLCONV SSize_t
297 Perl_av_len(pTHX_ AV *av)
298         __attribute__warn_unused_result__;
299 #define PERL_ARGS_ASSERT_AV_LEN                 \
300         assert(av)
301
302 PERL_CALLCONV AV *
303 Perl_av_make(pTHX_ SSize_t size, SV **strp)
304         __attribute__warn_unused_result__;
305 #define PERL_ARGS_ASSERT_AV_MAKE                \
306         assert(strp)
307
308 PERL_CALLCONV SV *
309 Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
310         __attribute__visibility__("hidden");
311 #define PERL_ARGS_ASSERT_AV_NONELEM             \
312         assert(av)
313
314 PERL_CALLCONV SV *
315 Perl_av_pop(pTHX_ AV *av);
316 #define PERL_ARGS_ASSERT_AV_POP                 \
317         assert(av)
318
319 PERL_CALLCONV void
320 Perl_av_push(pTHX_ AV *av, SV *val);
321 #define PERL_ARGS_ASSERT_AV_PUSH                \
322         assert(av); assert(val)
323
324 PERL_CALLCONV void
325 Perl_av_reify(pTHX_ AV *av);
326 #define PERL_ARGS_ASSERT_AV_REIFY               \
327         assert(av)
328
329 PERL_CALLCONV SV *
330 Perl_av_shift(pTHX_ AV *av)
331         __attribute__warn_unused_result__;
332 #define PERL_ARGS_ASSERT_AV_SHIFT               \
333         assert(av)
334
335 PERL_CALLCONV SV **
336 Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
337 #define PERL_ARGS_ASSERT_AV_STORE               \
338         assert(av)
339
340 /* PERL_CALLCONV SSize_t
341 av_tindex(pTHX_ AV *av)
342         __attribute__warn_unused_result__; */
343
344 /* PERL_CALLCONV SSize_t
345 av_top_index(pTHX_ AV *av)
346         __attribute__warn_unused_result__; */
347
348 PERL_CALLCONV void
349 Perl_av_undef(pTHX_ AV *av);
350 #define PERL_ARGS_ASSERT_AV_UNDEF               \
351         assert(av)
352
353 PERL_CALLCONV void
354 Perl_av_unshift(pTHX_ AV *av, SSize_t num);
355 #define PERL_ARGS_ASSERT_AV_UNSHIFT             \
356         assert(av)
357
358 PERL_CALLCONV OP *
359 Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
360         __attribute__warn_unused_result__
361         __attribute__visibility__("hidden");
362 #define PERL_ARGS_ASSERT_BIND_MATCH             \
363         assert(left); assert(right)
364
365 PERL_CALLCONV OP *
366 Perl_block_end(pTHX_ I32 floor, OP *seq)
367         __attribute__warn_unused_result__;
368 #define PERL_ARGS_ASSERT_BLOCK_END
369
370 PERL_CALLCONV U8
371 Perl_block_gimme(pTHX)
372         __attribute__warn_unused_result__;
373 #define PERL_ARGS_ASSERT_BLOCK_GIMME
374
375 PERL_CALLCONV int
376 Perl_block_start(pTHX_ int full)
377         __attribute__warn_unused_result__;
378 #define PERL_ARGS_ASSERT_BLOCK_START
379
380 PERL_CALLCONV void
381 Perl_blockhook_register(pTHX_ BHK *hk);
382 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
383         assert(hk)
384
385 PERL_CALLCONV void
386 Perl_boot_core_PerlIO(pTHX)
387         __attribute__visibility__("hidden");
388 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
389
390 PERL_CALLCONV void
391 Perl_boot_core_UNIVERSAL(pTHX)
392         __attribute__visibility__("hidden");
393 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
394
395 PERL_CALLCONV void
396 Perl_boot_core_builtin(pTHX)
397         __attribute__visibility__("hidden");
398 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
399
400 PERL_CALLCONV void
401 Perl_boot_core_mro(pTHX)
402         __attribute__visibility__("hidden");
403 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
404
405 PERL_CALLCONV OP *
406 Perl_build_infix_plugin(pTHX_ OP *lhs, OP *rhs, void *tokendata)
407         __attribute__visibility__("hidden");
408 #define PERL_ARGS_ASSERT_BUILD_INFIX_PLUGIN     \
409         assert(lhs); assert(rhs); assert(tokendata)
410
411 PERL_CALLCONV int
412 Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
413 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8         \
414         assert(b); assert(u)
415
416 PERL_CALLCONV U8 *
417 Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
418 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
419         assert(s); assert(lenp); assert(is_utf8p)
420
421 PERL_CALLCONV U8 *
422 Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 **first_unconverted);
423 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC    \
424         assert(s); assert(lenp); assert(is_utf8p)
425
426 PERL_CALLCONV U8 *
427 Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
428 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8          \
429         assert(s); assert(lenp)
430
431 PERL_CALLCONV SSize_t
432 Perl_call_argv(pTHX_ const char *sub_name, I32 flags, char **argv);
433 #define PERL_ARGS_ASSERT_CALL_ARGV              \
434         assert(sub_name); assert(argv)
435
436 PERL_CALLCONV void
437 Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
438 #define PERL_ARGS_ASSERT_CALL_ATEXIT
439
440 PERL_CALLCONV void
441 Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
442 #define PERL_ARGS_ASSERT_CALL_LIST              \
443         assert(paramList)
444
445 PERL_CALLCONV SSize_t
446 Perl_call_method(pTHX_ const char *methname, I32 flags);
447 #define PERL_ARGS_ASSERT_CALL_METHOD            \
448         assert(methname)
449
450 PERL_CALLCONV SSize_t
451 Perl_call_pv(pTHX_ const char *sub_name, I32 flags);
452 #define PERL_ARGS_ASSERT_CALL_PV                \
453         assert(sub_name)
454
455 PERL_CALLCONV SSize_t
456 Perl_call_sv(pTHX_ SV *sv, I32 flags);
457 #define PERL_ARGS_ASSERT_CALL_SV                \
458         assert(sv)
459
460 PERL_CALLCONV const PERL_CONTEXT *
461 Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
462 #define PERL_ARGS_ASSERT_CALLER_CX
463
464 PERL_CALLCONV Malloc_t
465 Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
466         __attribute__malloc__
467         __attribute__warn_unused_result__;
468 #define PERL_ARGS_ASSERT_CALLOC
469
470 PERL_CALLCONV bool
471 Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t *statbufp)
472         __attribute__warn_unused_result__
473         __attribute__visibility__("hidden");
474 #define PERL_ARGS_ASSERT_CANDO                  \
475         assert(statbufp)
476
477 PERL_CALLCONV I32
478 Perl_cast_i32(NV f)
479         __attribute__warn_unused_result__;
480 #define PERL_ARGS_ASSERT_CAST_I32
481
482 PERL_CALLCONV IV
483 Perl_cast_iv(NV f)
484         __attribute__warn_unused_result__;
485 #define PERL_ARGS_ASSERT_CAST_IV
486
487 PERL_CALLCONV U32
488 Perl_cast_ulong(NV f)
489         __attribute__warn_unused_result__;
490 #define PERL_ARGS_ASSERT_CAST_ULONG
491
492 PERL_CALLCONV UV
493 Perl_cast_uv(NV f)
494         __attribute__warn_unused_result__;
495 #define PERL_ARGS_ASSERT_CAST_UV
496
497 PERL_CALLCONV bool
498 Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
499         __attribute__visibility__("hidden");
500 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
501         assert(s)
502
503 PERL_CALLCONV OP *
504 Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
505         __attribute__visibility__("hidden");
506 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
507         assert(entersubop); assert(namegv); assert(protosv)
508
509 PERL_CALLCONV OP *
510 Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
511 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
512         assert(entersubop)
513
514 PERL_CALLCONV OP *
515 Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
516 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
517         assert(entersubop); assert(namegv); assert(protosv)
518
519 PERL_CALLCONV OP *
520 Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
521 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
522         assert(entersubop); assert(namegv); assert(protosv)
523
524 PERL_CALLCONV void
525 Perl_ck_warner(pTHX_ U32 err, const char *pat, ...)
526         __attribute__format__(__printf__,pTHX_2,pTHX_3);
527 #define PERL_ARGS_ASSERT_CK_WARNER              \
528         assert(pat)
529
530 PERL_CALLCONV void
531 Perl_ck_warner_d(pTHX_ U32 err, const char *pat, ...)
532         __attribute__format__(__printf__,pTHX_2,pTHX_3);
533 #define PERL_ARGS_ASSERT_CK_WARNER_D            \
534         assert(pat)
535
536 PERL_CALLCONV bool
537 Perl_ckwarn(pTHX_ U32 w)
538         __attribute__warn_unused_result__
539         __attribute__pure__;
540 #define PERL_ARGS_ASSERT_CKWARN
541
542 PERL_CALLCONV bool
543 Perl_ckwarn_d(pTHX_ U32 w)
544         __attribute__warn_unused_result__
545         __attribute__pure__;
546 #define PERL_ARGS_ASSERT_CKWARN_D
547
548 PERL_CALLCONV void
549 Perl_clear_defarray(pTHX_ AV *av, bool abandon);
550 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY         \
551         assert(av)
552
553 PERL_CALLCONV const COP *
554 Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
555         __attribute__visibility__("hidden");
556 #define PERL_ARGS_ASSERT_CLOSEST_COP            \
557         assert(cop)
558
559 PERL_CALLCONV OP *
560 Perl_cmpchain_extend(pTHX_ I32 type, OP *ch, OP *right)
561         __attribute__warn_unused_result__
562         __attribute__visibility__("hidden");
563 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND        \
564         assert(ch)
565
566 PERL_CALLCONV OP *
567 Perl_cmpchain_finish(pTHX_ OP *ch)
568         __attribute__warn_unused_result__
569         __attribute__visibility__("hidden");
570 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH        \
571         assert(ch)
572
573 PERL_CALLCONV OP *
574 Perl_cmpchain_start(pTHX_ I32 type, OP *left, OP *right)
575         __attribute__warn_unused_result__
576         __attribute__visibility__("hidden");
577 #define PERL_ARGS_ASSERT_CMPCHAIN_START
578
579 PERL_CALLCONV const char *
580 Perl_cntrl_to_mnemonic(const U8 c)
581         __attribute__warn_unused_result__;
582 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
583
584 PERL_CALLCONV const char *
585 Perl_cop_fetch_label(pTHX_ COP * const cop, STRLEN *len, U32 *flags);
586 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
587         assert(cop)
588
589 PERL_CALLCONV void
590 Perl_cop_store_label(pTHX_ COP * const cop, const char *label, STRLEN len, U32 flags);
591 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
592         assert(cop); assert(label)
593
594 PERL_CALLCONV SV *
595 Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
596         __attribute__visibility__("hidden");
597 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE         \
598         assert(name)
599
600 PERL_CALLCONV OP *
601 Perl_coresub_op(pTHX_ SV * const coreargssv, const int code, const int opnum)
602         __attribute__visibility__("hidden");
603 #define PERL_ARGS_ASSERT_CORESUB_OP             \
604         assert(coreargssv)
605
606 PERL_CALLCONV void
607 Perl_create_eval_scope(pTHX_ OP *retop, SV **sp, U32 flags)
608         __attribute__visibility__("hidden");
609 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE      \
610         assert(sp)
611
612 PERL_CALLCONV_NO_RET void
613 Perl_croak(pTHX_ const char *pat, ...)
614         __attribute__noreturn__
615         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
616 #define PERL_ARGS_ASSERT_CROAK
617
618 PERL_CALLCONV_NO_RET void
619 Perl_croak_caller(const char *pat, ...)
620         __attribute__noreturn__
621         __attribute__visibility__("hidden")
622         __attribute__format__null_ok__(__printf__,1,2);
623 #define PERL_ARGS_ASSERT_CROAK_CALLER
624
625 PERL_STATIC_NO_RET void
626 Perl_croak_memory_wrap(void)
627         __attribute__noreturn__;
628 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
629
630 PERL_CALLCONV_NO_RET void
631 Perl_croak_no_mem(void)
632         __attribute__noreturn__
633         __attribute__visibility__("hidden");
634 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
635
636 PERL_CALLCONV_NO_RET void
637 Perl_croak_no_mem_ext(const char *context, STRLEN len)
638         __attribute__noreturn__
639         __attribute__visibility__("hidden");
640 #define PERL_ARGS_ASSERT_CROAK_NO_MEM_EXT       \
641         assert(context)
642
643 PERL_CALLCONV_NO_RET void
644 Perl_croak_no_modify(void)
645         __attribute__noreturn__;
646 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
647
648 PERL_CALLCONV_NO_RET void
649 Perl_croak_popstack(void)
650         __attribute__noreturn__;
651 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
652
653 PERL_CALLCONV_NO_RET void
654 Perl_croak_sv(pTHX_ SV *baseex)
655         __attribute__noreturn__;
656 #define PERL_ARGS_ASSERT_CROAK_SV               \
657         assert(baseex)
658
659 PERL_CALLCONV_NO_RET void
660 Perl_croak_xs_usage(const CV * const cv, const char * const params)
661         __attribute__noreturn__;
662 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE         \
663         assert(cv); assert(params)
664
665 PERL_CALLCONV Signal_t
666 Perl_csighandler1(int sig);
667 #define PERL_ARGS_ASSERT_CSIGHANDLER1
668
669 PERL_CALLCONV Signal_t
670 Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
671 #define PERL_ARGS_ASSERT_CSIGHANDLER3
672
673 PERL_CALLCONV regexp_engine const *
674 Perl_current_re_engine(pTHX);
675 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
676
677 PERL_CALLCONV XOPRETANY
678 Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
679         __attribute__warn_unused_result__;
680 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
681         assert(o)
682
683 PERL_CALLCONV void
684 Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
685 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
686         assert(ppaddr); assert(xop)
687
688 PERL_CALLCONV void
689 Perl_cv_ckproto_len_flags(pTHX_ const CV *cv, const GV *gv, const char *p, const STRLEN len, const U32 flags);
690 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
691         assert(cv)
692
693 PERL_CALLCONV CV *
694 Perl_cv_clone(pTHX_ CV *proto);
695 #define PERL_ARGS_ASSERT_CV_CLONE               \
696         assert(proto)
697
698 PERL_CALLCONV CV *
699 Perl_cv_clone_into(pTHX_ CV *proto, CV *target)
700         __attribute__visibility__("hidden");
701 #define PERL_ARGS_ASSERT_CV_CLONE_INTO          \
702         assert(proto); assert(target)
703
704 PERL_CALLCONV SV *
705 Perl_cv_const_sv(const CV * const cv)
706         __attribute__warn_unused_result__;
707 #define PERL_ARGS_ASSERT_CV_CONST_SV
708
709 PERL_CALLCONV SV *
710 Perl_cv_const_sv_or_av(const CV * const cv)
711         __attribute__warn_unused_result__
712         __attribute__visibility__("hidden");
713 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
714
715 PERL_CALLCONV void
716 Perl_cv_forget_slab(pTHX_ CV *cv)
717         __attribute__visibility__("hidden");
718 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
719
720 PERL_CALLCONV void
721 Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
722 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
723         assert(cv); assert(ckfun_p); assert(ckobj_p)
724
725 PERL_CALLCONV void
726 Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
727 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS \
728         assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
729
730 PERL_CALLCONV SV *
731 Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
732 #define PERL_ARGS_ASSERT_CV_NAME                \
733         assert(cv)
734
735 PERL_CALLCONV void
736 Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
737 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
738         assert(cv); assert(ckfun); assert(ckobj)
739
740 PERL_CALLCONV void
741 Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
742 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
743         assert(cv); assert(ckfun); assert(ckobj)
744
745 PERL_CALLCONV void
746 Perl_cv_undef(pTHX_ CV *cv);
747 #define PERL_ARGS_ASSERT_CV_UNDEF               \
748         assert(cv)
749
750 PERL_CALLCONV void
751 Perl_cv_undef_flags(pTHX_ CV *cv, U32 flags)
752         __attribute__visibility__("hidden");
753 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS         \
754         assert(cv)
755
756 PERL_CALLCONV GV *
757 Perl_cvgv_from_hek(pTHX_ CV *cv);
758 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK          \
759         assert(cv)
760
761 PERL_CALLCONV void
762 Perl_cvgv_set(pTHX_ CV *cv, GV *gv);
763 #define PERL_ARGS_ASSERT_CVGV_SET               \
764         assert(cv)
765
766 PERL_CALLCONV void
767 Perl_cvstash_set(pTHX_ CV *cv, HV *stash);
768 #define PERL_ARGS_ASSERT_CVSTASH_SET            \
769         assert(cv)
770
771 PERL_CALLCONV void
772 Perl_cx_dump(pTHX_ PERL_CONTEXT *cx);
773 #define PERL_ARGS_ASSERT_CX_DUMP                \
774         assert(cx)
775
776 PERL_CALLCONV I32
777 Perl_cxinc(pTHX)
778         __attribute__warn_unused_result__;
779 #define PERL_ARGS_ASSERT_CXINC
780
781 PERL_CALLCONV void
782 Perl_deb(pTHX_ const char *pat, ...)
783         __attribute__format__(__printf__,pTHX_1,pTHX_2);
784 #define PERL_ARGS_ASSERT_DEB                    \
785         assert(pat)
786
787 PERL_CALLCONV void
788 Perl_deb_stack_all(pTHX)
789         __attribute__visibility__("hidden");
790 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
791
792 PERL_CALLCONV I32
793 Perl_debop(pTHX_ const OP *o);
794 #define PERL_ARGS_ASSERT_DEBOP                  \
795         assert(o)
796
797 PERL_CALLCONV void
798 Perl_debprofdump(pTHX);
799 #define PERL_ARGS_ASSERT_DEBPROFDUMP
800
801 PERL_CALLCONV I32
802 Perl_debstack(pTHX);
803 #define PERL_ARGS_ASSERT_DEBSTACK
804
805 PERL_CALLCONV I32
806 Perl_debstackptrs(pTHX);
807 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
808
809 PERL_CALLCONV void
810 Perl_debug_hash_seed(pTHX_ bool via_debug_h)
811         __attribute__visibility__("hidden");
812 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
813
814 PERL_CALLCONV SV *
815 Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
816         __attribute__warn_unused_result__
817         __attribute__visibility__("hidden");
818 #define PERL_ARGS_ASSERT_DEFELEM_TARGET         \
819         assert(sv)
820
821 PERL_CALLCONV void
822 Perl_delete_eval_scope(pTHX)
823         __attribute__visibility__("hidden");
824 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
825
826 PERL_CALLCONV char *
827 Perl_delimcpy(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
828 #define PERL_ARGS_ASSERT_DELIMCPY               \
829         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
830
831 PERL_CALLCONV char *
832 Perl_delimcpy_no_escape(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
833 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE     \
834         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
835
836 PERL_CALLCONV void
837 Perl_despatch_signals(pTHX);
838 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
839
840 PERL_CALLCONV_NO_RET OP *
841 Perl_die(pTHX_ const char *pat, ...)
842         __attribute__noreturn__
843         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
844 #define PERL_ARGS_ASSERT_DIE
845
846 PERL_CALLCONV_NO_RET OP *
847 Perl_die_sv(pTHX_ SV *baseex)
848         __attribute__noreturn__;
849 #define PERL_ARGS_ASSERT_DIE_SV                 \
850         assert(baseex)
851
852 PERL_CALLCONV_NO_RET void
853 Perl_die_unwind(pTHX_ SV *msv)
854         __attribute__noreturn__
855         __attribute__visibility__("hidden");
856 #define PERL_ARGS_ASSERT_DIE_UNWIND             \
857         assert(msv)
858
859 PERL_CALLCONV bool
860 Perl_do_aexec5(pTHX_ SV *really, SV **mark, SV **sp, int fd, int do_report)
861         __attribute__visibility__("hidden");
862 #define PERL_ARGS_ASSERT_DO_AEXEC5              \
863         assert(mark); assert(sp)
864
865 PERL_CALLCONV bool
866 Perl_do_close(pTHX_ GV *gv, bool is_explicit);
867 #define PERL_ARGS_ASSERT_DO_CLOSE
868
869 PERL_CALLCONV void
870 Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
871         __attribute__visibility__("hidden");
872 #define PERL_ARGS_ASSERT_DO_DUMP_PAD            \
873         assert(file)
874
875 PERL_CALLCONV bool
876 Perl_do_eof(pTHX_ GV *gv)
877         __attribute__visibility__("hidden");
878 #define PERL_ARGS_ASSERT_DO_EOF                 \
879         assert(gv)
880
881 PERL_CALLCONV void
882 Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
883 #define PERL_ARGS_ASSERT_DO_GV_DUMP             \
884         assert(file); assert(name)
885
886 PERL_CALLCONV void
887 Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
888 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP           \
889         assert(file); assert(name)
890
891 PERL_CALLCONV void
892 Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
893 #define PERL_ARGS_ASSERT_DO_HV_DUMP             \
894         assert(file); assert(name)
895
896 PERL_CALLCONV void
897 Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
898 #define PERL_ARGS_ASSERT_DO_JOIN                \
899         assert(sv); assert(delim); assert(mark); assert(sp)
900
901 PERL_CALLCONV void
902 Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
903 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP          \
904         assert(file)
905
906 PERL_CALLCONV I32
907 Perl_do_ncmp(pTHX_ SV * const left, SV * const right)
908         __attribute__warn_unused_result__
909         __attribute__visibility__("hidden");
910 #define PERL_ARGS_ASSERT_DO_NCMP                \
911         assert(left); assert(right)
912
913 PERL_CALLCONV void
914 Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
915 #define PERL_ARGS_ASSERT_DO_OP_DUMP             \
916         assert(file)
917
918 PERL_CALLCONV bool
919 Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
920         __attribute__visibility__("hidden");
921 #define PERL_ARGS_ASSERT_DO_OPEN6               \
922         assert(gv); assert(oname)
923
924 PERL_CALLCONV bool
925 Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
926         __attribute__visibility__("hidden");
927 #define PERL_ARGS_ASSERT_DO_OPEN_RAW            \
928         assert(gv); assert(oname)
929
930 PERL_CALLCONV bool
931 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);
932 #define PERL_ARGS_ASSERT_DO_OPENN               \
933         assert(gv); assert(oname)
934
935 PERL_CALLCONV void
936 Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
937 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP           \
938         assert(file)
939
940 PERL_CALLCONV bool
941 Perl_do_print(pTHX_ SV *sv, PerlIO *fp)
942         __attribute__visibility__("hidden");
943 #define PERL_ARGS_ASSERT_DO_PRINT               \
944         assert(fp)
945
946 PERL_CALLCONV OP *
947 Perl_do_readline(pTHX)
948         __attribute__warn_unused_result__
949         __attribute__visibility__("hidden");
950 #define PERL_ARGS_ASSERT_DO_READLINE
951
952 PERL_CALLCONV bool
953 Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
954         __attribute__visibility__("hidden");
955 #define PERL_ARGS_ASSERT_DO_SEEK
956
957 PERL_CALLCONV void
958 Perl_do_sprintf(pTHX_ SV *sv, SSize_t len, SV **sarg);
959 #define PERL_ARGS_ASSERT_DO_SPRINTF             \
960         assert(sv); assert(sarg)
961
962 PERL_CALLCONV void
963 Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
964 #define PERL_ARGS_ASSERT_DO_SV_DUMP             \
965         assert(file)
966
967 PERL_CALLCONV Off_t
968 Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence)
969         __attribute__visibility__("hidden");
970 #define PERL_ARGS_ASSERT_DO_SYSSEEK             \
971         assert(gv)
972
973 PERL_CALLCONV Off_t
974 Perl_do_tell(pTHX_ GV *gv)
975         __attribute__warn_unused_result__
976         __attribute__visibility__("hidden");
977 #define PERL_ARGS_ASSERT_DO_TELL                \
978         assert(gv)
979
980 PERL_CALLCONV Size_t
981 Perl_do_trans(pTHX_ SV *sv)
982         __attribute__visibility__("hidden");
983 #define PERL_ARGS_ASSERT_DO_TRANS               \
984         assert(sv)
985
986 PERL_CALLCONV I16
987 Perl_do_uniprop_match(const char * const key, const U16 key_len)
988         __attribute__warn_unused_result__;
989 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH       \
990         assert(key)
991
992 PERL_CALLCONV UV
993 Perl_do_vecget(pTHX_ SV *sv, STRLEN offset, int size)
994         __attribute__visibility__("hidden");
995 #define PERL_ARGS_ASSERT_DO_VECGET              \
996         assert(sv)
997
998 PERL_CALLCONV void
999 Perl_do_vecset(pTHX_ SV *sv)
1000         __attribute__visibility__("hidden");
1001 #define PERL_ARGS_ASSERT_DO_VECSET              \
1002         assert(sv)
1003
1004 PERL_CALLCONV void
1005 Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right)
1006         __attribute__visibility__("hidden");
1007 #define PERL_ARGS_ASSERT_DO_VOP                 \
1008         assert(sv); assert(left); assert(right)
1009
1010 PERL_CALLCONV OP *
1011 Perl_dofile(pTHX_ OP *term, I32 force_builtin)
1012         __attribute__visibility__("hidden");
1013 #define PERL_ARGS_ASSERT_DOFILE                 \
1014         assert(term)
1015
1016 PERL_CALLCONV bool
1017 Perl_doing_taint(int argc, char **argv, char **env)
1018         __attribute__warn_unused_result__;
1019 #define PERL_ARGS_ASSERT_DOING_TAINT
1020
1021 PERL_CALLCONV OP *
1022 Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1023 #define PERL_ARGS_ASSERT_DOREF                  \
1024         assert(o)
1025
1026 PERL_CALLCONV void
1027 Perl_dounwind(pTHX_ I32 cxix);
1028 #define PERL_ARGS_ASSERT_DOUNWIND
1029
1030 PERL_CALLCONV U8
1031 Perl_dowantarray(pTHX)
1032         __attribute__deprecated__
1033         __attribute__warn_unused_result__;
1034 #define PERL_ARGS_ASSERT_DOWANTARRAY
1035
1036 PERL_CALLCONV void
1037 Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1038 #define PERL_ARGS_ASSERT_DRAND48_INIT_R         \
1039         assert(random_state)
1040
1041 PERL_CALLCONV double
1042 Perl_drand48_r(perl_drand48_t *random_state);
1043 #define PERL_ARGS_ASSERT_DRAND48_R              \
1044         assert(random_state)
1045
1046 PERL_CALLCONV void
1047 Perl_dump_all(pTHX);
1048 #define PERL_ARGS_ASSERT_DUMP_ALL
1049
1050 PERL_CALLCONV void
1051 Perl_dump_all_perl(pTHX_ bool justperl)
1052         __attribute__visibility__("hidden");
1053 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1054
1055 PERL_CALLCONV void
1056 Perl_dump_eval(pTHX);
1057 #define PERL_ARGS_ASSERT_DUMP_EVAL
1058
1059 PERL_CALLCONV void
1060 Perl_dump_form(pTHX_ const GV *gv);
1061 #define PERL_ARGS_ASSERT_DUMP_FORM              \
1062         assert(gv)
1063
1064 PERL_CALLCONV void
1065 Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char *pat, ...)
1066         __attribute__format__(__printf__,pTHX_3,pTHX_4);
1067 #define PERL_ARGS_ASSERT_DUMP_INDENT            \
1068         assert(file); assert(pat)
1069
1070 PERL_CALLCONV void
1071 Perl_dump_packsubs(pTHX_ const HV *stash);
1072 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS          \
1073         assert(stash)
1074
1075 PERL_CALLCONV void
1076 Perl_dump_packsubs_perl(pTHX_ const HV *stash, bool justperl)
1077         __attribute__visibility__("hidden");
1078 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
1079         assert(stash)
1080
1081 PERL_CALLCONV void
1082 Perl_dump_sub(pTHX_ const GV *gv);
1083 #define PERL_ARGS_ASSERT_DUMP_SUB               \
1084         assert(gv)
1085
1086 PERL_CALLCONV void
1087 Perl_dump_sub_perl(pTHX_ const GV *gv, bool justperl)
1088         __attribute__visibility__("hidden");
1089 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL          \
1090         assert(gv)
1091
1092 PERL_CALLCONV void
1093 Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char *pat, va_list *args);
1094 #define PERL_ARGS_ASSERT_DUMP_VINDENT           \
1095         assert(file); assert(pat)
1096
1097 PERL_CALLCONV char  *
1098 Perl_dup_warnings(pTHX_ char *warnings);
1099 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1100
1101 PERL_CALLCONV void
1102 Perl_emulate_cop_io(pTHX_ const COP * const c, SV * const sv);
1103 #define PERL_ARGS_ASSERT_EMULATE_COP_IO         \
1104         assert(c); assert(sv)
1105
1106 PERL_CALLCONV SV *
1107 Perl_eval_pv(pTHX_ const char *p, I32 croak_on_error);
1108 #define PERL_ARGS_ASSERT_EVAL_PV                \
1109         assert(p)
1110
1111 PERL_CALLCONV SSize_t
1112 Perl_eval_sv(pTHX_ SV *sv, I32 flags);
1113 #define PERL_ARGS_ASSERT_EVAL_SV                \
1114         assert(sv)
1115
1116 PERL_CALLCONV void
1117 Perl_fatal_warner(pTHX_ U32 err, const char *pat, ...)
1118         __attribute__format__(__printf__,pTHX_2,pTHX_3);
1119 #define PERL_ARGS_ASSERT_FATAL_WARNER           \
1120         assert(pat)
1121
1122 PERL_CALLCONV void
1123 Perl_fbm_compile(pTHX_ SV *sv, U32 flags);
1124 #define PERL_ARGS_ASSERT_FBM_COMPILE            \
1125         assert(sv)
1126
1127 PERL_CALLCONV char *
1128 Perl_fbm_instr(pTHX_ unsigned char *big, unsigned char *bigend, SV *littlestr, U32 flags)
1129         __attribute__warn_unused_result__;
1130 #define PERL_ARGS_ASSERT_FBM_INSTR              \
1131         assert(big); assert(bigend); assert(littlestr)
1132
1133 PERL_CALLCONV SV *
1134 Perl_filter_add(pTHX_ filter_t funcp, SV *datasv);
1135 #define PERL_ARGS_ASSERT_FILTER_ADD
1136
1137 PERL_CALLCONV void
1138 Perl_filter_del(pTHX_ filter_t funcp);
1139 #define PERL_ARGS_ASSERT_FILTER_DEL             \
1140         assert(funcp)
1141
1142 PERL_CALLCONV I32
1143 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1144         __attribute__warn_unused_result__;
1145 #define PERL_ARGS_ASSERT_FILTER_READ            \
1146         assert(buf_sv)
1147
1148 PERL_CALLCONV CV *
1149 Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1150         __attribute__visibility__("hidden");
1151 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1152
1153 PERL_CALLCONV CV *
1154 Perl_find_runcv(pTHX_ U32 *db_seqp)
1155         __attribute__warn_unused_result__;
1156 #define PERL_ARGS_ASSERT_FIND_RUNCV
1157
1158 PERL_CALLCONV CV *
1159 Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1160         __attribute__warn_unused_result__
1161         __attribute__visibility__("hidden");
1162 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1163
1164 PERL_CALLCONV SV *
1165 Perl_find_rundefsv(pTHX);
1166 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1167
1168 PERL_CALLCONV char *
1169 Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char * const * const search_ext, I32 flags)
1170         __attribute__visibility__("hidden");
1171 #define PERL_ARGS_ASSERT_FIND_SCRIPT            \
1172         assert(scriptname)
1173
1174 /* PERL_CALLCONV I32
1175 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1176
1177 PERL_CALLCONV I32
1178 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);
1179 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
1180         assert(s1); assert(s2)
1181
1182 PERL_CALLCONV void
1183 Perl_forbid_outofblock_ops(pTHX_ OP *o, const char *blockname);
1184 #define PERL_ARGS_ASSERT_FORBID_OUTOFBLOCK_OPS  \
1185         assert(o); assert(blockname)
1186
1187 PERL_CALLCONV void
1188 Perl_force_locale_unlock(pTHX)
1189         __attribute__visibility__("hidden");
1190 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1191
1192 PERL_CALLCONV char *
1193 Perl_form(pTHX_ const char *pat, ...)
1194         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1195 #define PERL_ARGS_ASSERT_FORM                   \
1196         assert(pat)
1197
1198 PERL_CALLCONV void
1199 Perl_free_tied_hv_pool(pTHX)
1200         __attribute__visibility__("hidden");
1201 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1202
1203 PERL_CALLCONV void
1204 Perl_free_tmps(pTHX);
1205 #define PERL_ARGS_ASSERT_FREE_TMPS
1206
1207 PERL_CALLCONV SV *
1208 Perl_get_and_check_backslash_N_name(pTHX_ const char *s, const char *e, const bool is_utf8, const char **error_msg)
1209         __attribute__warn_unused_result__;
1210 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1211         assert(s); assert(e); assert(error_msg)
1212
1213 PERL_CALLCONV AV *
1214 Perl_get_av(pTHX_ const char *name, I32 flags);
1215 #define PERL_ARGS_ASSERT_GET_AV                 \
1216         assert(name)
1217
1218 PERL_CALLCONV CV *
1219 Perl_get_cv(pTHX_ const char *name, I32 flags);
1220 #define PERL_ARGS_ASSERT_GET_CV                 \
1221         assert(name)
1222
1223 PERL_CALLCONV CV *
1224 Perl_get_cvn_flags(pTHX_ const char *name, STRLEN len, I32 flags);
1225 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS          \
1226         assert(name)
1227
1228 PERL_CALLCONV void
1229 Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1230 #define PERL_ARGS_ASSERT_GET_DB_SUB             \
1231         assert(cv)
1232
1233 PERL_CALLCONV const char *
1234 Perl_get_deprecated_property_msg(const Size_t warning_offset)
1235         __attribute__warn_unused_result__;
1236 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1237
1238 PERL_CALLCONV int
1239 Perl_get_extended_os_errno(void)
1240         __attribute__visibility__("hidden");
1241 #define PERL_ARGS_ASSERT_GET_EXTENDED_OS_ERRNO
1242
1243 PERL_CALLCONV void
1244 Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1245         __attribute__visibility__("hidden");
1246 #define PERL_ARGS_ASSERT_GET_HASH_SEED          \
1247         assert(seed_buffer)
1248
1249 PERL_CALLCONV HV *
1250 Perl_get_hv(pTHX_ const char *name, I32 flags);
1251 #define PERL_ARGS_ASSERT_GET_HV                 \
1252         assert(name)
1253
1254 PERL_CALLCONV const char *
1255 Perl_get_no_modify(pTHX)
1256         __attribute__deprecated__
1257         __attribute__warn_unused_result__
1258         __attribute__pure__
1259         __attribute__visibility__("hidden");
1260 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1261
1262 PERL_CALLCONV char **
1263 Perl_get_op_descs(pTHX)
1264         __attribute__deprecated__
1265         __attribute__warn_unused_result__
1266         __attribute__pure__;
1267 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1268
1269 PERL_CALLCONV char **
1270 Perl_get_op_names(pTHX)
1271         __attribute__deprecated__
1272         __attribute__warn_unused_result__
1273         __attribute__pure__;
1274 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1275
1276 PERL_CALLCONV U32 *
1277 Perl_get_opargs(pTHX)
1278         __attribute__deprecated__
1279         __attribute__warn_unused_result__
1280         __attribute__pure__
1281         __attribute__visibility__("hidden");
1282 #define PERL_ARGS_ASSERT_GET_OPARGS
1283
1284 PERL_CALLCONV PPADDR_t *
1285 Perl_get_ppaddr(pTHX)
1286         __attribute__deprecated__
1287         __attribute__warn_unused_result__
1288         __attribute__pure__;
1289 #define PERL_ARGS_ASSERT_GET_PPADDR
1290
1291 PERL_CALLCONV SV *
1292 Perl_get_prop_definition(pTHX_ const int table_index)
1293         __attribute__warn_unused_result__;
1294 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1295
1296 PERL_CALLCONV const char * const *
1297 Perl_get_prop_values(const int table_index)
1298         __attribute__warn_unused_result__;
1299 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1300
1301 PERL_CALLCONV REGEXP *
1302 Perl_get_re_arg(pTHX_ SV *sv);
1303 #define PERL_ARGS_ASSERT_GET_RE_ARG
1304
1305 PERL_CALLCONV SV *
1306 Perl_get_sv(pTHX_ const char *name, I32 flags);
1307 #define PERL_ARGS_ASSERT_GET_SV                 \
1308         assert(name)
1309
1310 PERL_CALLCONV int
1311 Perl_getcwd_sv(pTHX_ SV *sv);
1312 #define PERL_ARGS_ASSERT_GETCWD_SV              \
1313         assert(sv)
1314
1315 PERL_CALLCONV void
1316 Perl_gp_free(pTHX_ GV *gv);
1317 #define PERL_ARGS_ASSERT_GP_FREE
1318
1319 PERL_CALLCONV GP *
1320 Perl_gp_ref(pTHX_ GP *gp);
1321 #define PERL_ARGS_ASSERT_GP_REF
1322
1323 PERL_CALLCONV bool
1324 Perl_grok_atoUV(const char *pv, UV *valptr, const char **endptr);
1325 #define PERL_ARGS_ASSERT_GROK_ATOUV             \
1326         assert(pv); assert(valptr)
1327
1328 PERL_CALLCONV UV
1329 Perl_grok_bin(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1330 #define PERL_ARGS_ASSERT_GROK_BIN               \
1331         assert(start); assert(len_p); assert(flags)
1332
1333 PERL_CALLCONV UV
1334 Perl_grok_bin_oct_hex(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result, const unsigned shift, const U8 lookup_bit, const char prefix);
1335 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX       \
1336         assert(start); assert(len_p); assert(flags)
1337
1338 PERL_CALLCONV UV
1339 Perl_grok_hex(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1340 #define PERL_ARGS_ASSERT_GROK_HEX               \
1341         assert(start); assert(len_p); assert(flags)
1342
1343 PERL_CALLCONV int
1344 Perl_grok_infnan(pTHX_ const char **sp, const char *send);
1345 #define PERL_ARGS_ASSERT_GROK_INFNAN            \
1346         assert(sp); assert(send)
1347
1348 PERL_CALLCONV int
1349 Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1350 #define PERL_ARGS_ASSERT_GROK_NUMBER            \
1351         assert(pv)
1352
1353 PERL_CALLCONV int
1354 Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1355 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
1356         assert(pv)
1357
1358 PERL_CALLCONV bool
1359 Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1360         __attribute__warn_unused_result__;
1361 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1362         assert(sp); assert(send)
1363
1364 PERL_CALLCONV UV
1365 Perl_grok_oct(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1366 #define PERL_ARGS_ASSERT_GROK_OCT               \
1367         assert(start); assert(len_p); assert(flags)
1368
1369 PERL_CALLCONV GV *
1370 Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1371 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1372
1373 /* PERL_CALLCONV GV *
1374 gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method)
1375         __attribute__warn_unused_result__; */
1376
1377 PERL_CALLCONV GV *
1378 Perl_gv_autoload_pv(pTHX_ HV *stash, const char *namepv, U32 flags)
1379         __attribute__warn_unused_result__;
1380 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV         \
1381         assert(namepv)
1382
1383 PERL_CALLCONV GV *
1384 Perl_gv_autoload_pvn(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags)
1385         __attribute__warn_unused_result__;
1386 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
1387         assert(name)
1388
1389 PERL_CALLCONV GV *
1390 Perl_gv_autoload_sv(pTHX_ HV *stash, SV *namesv, U32 flags)
1391         __attribute__warn_unused_result__;
1392 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV         \
1393         assert(namesv)
1394
1395 PERL_CALLCONV void
1396 Perl_gv_check(pTHX_ HV *stash);
1397 #define PERL_ARGS_ASSERT_GV_CHECK               \
1398         assert(stash)
1399
1400 PERL_CALLCONV SV *
1401 Perl_gv_const_sv(pTHX_ GV *gv)
1402         __attribute__warn_unused_result__;
1403 #define PERL_ARGS_ASSERT_GV_CONST_SV            \
1404         assert(gv)
1405
1406 PERL_CALLCONV void
1407 Perl_gv_dump(pTHX_ GV *gv);
1408 #define PERL_ARGS_ASSERT_GV_DUMP
1409
1410 PERL_CALLCONV void
1411 Perl_gv_efullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1412 #define PERL_ARGS_ASSERT_GV_EFULLNAME4          \
1413         assert(sv); assert(gv)
1414
1415 PERL_CALLCONV GV *
1416 Perl_gv_fetchfile(pTHX_ const char *name);
1417 #define PERL_ARGS_ASSERT_GV_FETCHFILE           \
1418         assert(name)
1419
1420 PERL_CALLCONV GV *
1421 Perl_gv_fetchfile_flags(pTHX_ const char * const name, const STRLEN len, const U32 flags);
1422 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1423         assert(name)
1424
1425 /* PERL_CALLCONV GV *
1426 gv_fetchmeth(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1427
1428 /* PERL_CALLCONV GV *
1429 gv_fetchmeth_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1430
1431 PERL_CALLCONV GV *
1432 Perl_gv_fetchmeth_pv(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1433 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1434         assert(name)
1435
1436 PERL_CALLCONV GV *
1437 Perl_gv_fetchmeth_pv_autoload(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1438 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
1439         assert(name)
1440
1441 PERL_CALLCONV GV *
1442 Perl_gv_fetchmeth_pvn(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1443 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1444         assert(name)
1445
1446 PERL_CALLCONV GV *
1447 Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1448 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1449         assert(name)
1450
1451 PERL_CALLCONV GV *
1452 Perl_gv_fetchmeth_sv(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1453 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1454         assert(namesv)
1455
1456 PERL_CALLCONV GV *
1457 Perl_gv_fetchmeth_sv_autoload(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1458 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1459         assert(namesv)
1460
1461 PERL_CALLCONV GV *
1462 Perl_gv_fetchmethod_autoload(pTHX_ HV *stash, const char *name, I32 autoload);
1463 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
1464         assert(stash); assert(name)
1465
1466 PERL_CALLCONV GV *
1467 Perl_gv_fetchmethod_pv_flags(pTHX_ HV *stash, const char *name, U32 flags);
1468 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
1469         assert(stash); assert(name)
1470
1471 PERL_CALLCONV GV *
1472 Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN len, U32 flags);
1473 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1474         assert(stash); assert(name)
1475
1476 PERL_CALLCONV GV *
1477 Perl_gv_fetchmethod_sv_flags(pTHX_ HV *stash, SV *namesv, U32 flags);
1478 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1479         assert(stash); assert(namesv)
1480
1481 PERL_CALLCONV GV *
1482 Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1483 #define PERL_ARGS_ASSERT_GV_FETCHPV             \
1484         assert(nambeg)
1485
1486 PERL_CALLCONV GV *
1487 Perl_gv_fetchpvn_flags(pTHX_ const char *name, STRLEN len, I32 flags, const svtype sv_type);
1488 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1489         assert(name)
1490
1491 PERL_CALLCONV GV *
1492 Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1493 #define PERL_ARGS_ASSERT_GV_FETCHSV             \
1494         assert(name)
1495
1496 PERL_CALLCONV void
1497 Perl_gv_fullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1498 #define PERL_ARGS_ASSERT_GV_FULLNAME4           \
1499         assert(sv); assert(gv)
1500
1501 PERL_CALLCONV CV *
1502 Perl_gv_handler(pTHX_ HV *stash, I32 id)
1503         __attribute__warn_unused_result__;
1504 #define PERL_ARGS_ASSERT_GV_HANDLER
1505
1506 /* PERL_CALLCONV void
1507 gv_init(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, int multi); */
1508
1509 PERL_CALLCONV void
1510 Perl_gv_init_pv(pTHX_ GV *gv, HV *stash, const char *name, U32 flags);
1511 #define PERL_ARGS_ASSERT_GV_INIT_PV             \
1512         assert(gv); assert(name)
1513
1514 PERL_CALLCONV void
1515 Perl_gv_init_pvn(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, U32 flags);
1516 #define PERL_ARGS_ASSERT_GV_INIT_PVN            \
1517         assert(gv); assert(name)
1518
1519 PERL_CALLCONV void
1520 Perl_gv_init_sv(pTHX_ GV *gv, HV *stash, SV *namesv, U32 flags);
1521 #define PERL_ARGS_ASSERT_GV_INIT_SV             \
1522         assert(gv); assert(namesv)
1523
1524 PERL_CALLCONV void
1525 Perl_gv_name_set(pTHX_ GV *gv, const char *name, U32 len, U32 flags);
1526 #define PERL_ARGS_ASSERT_GV_NAME_SET            \
1527         assert(gv); assert(name)
1528
1529 PERL_CALLCONV GV *
1530 Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1531 #define PERL_ARGS_ASSERT_GV_OVERRIDE            \
1532         assert(name)
1533
1534 PERL_CALLCONV void
1535 Perl_gv_setref(pTHX_ SV * const dsv, SV * const ssv)
1536         __attribute__visibility__("hidden");
1537 #define PERL_ARGS_ASSERT_GV_SETREF              \
1538         assert(dsv); assert(ssv)
1539
1540 PERL_CALLCONV HV *
1541 Perl_gv_stashpv(pTHX_ const char *name, I32 flags);
1542 #define PERL_ARGS_ASSERT_GV_STASHPV             \
1543         assert(name)
1544
1545 PERL_CALLCONV HV *
1546 Perl_gv_stashpvn(pTHX_ const char *name, U32 namelen, I32 flags);
1547 #define PERL_ARGS_ASSERT_GV_STASHPVN            \
1548         assert(name)
1549
1550 PERL_CALLCONV HV *
1551 Perl_gv_stashsv(pTHX_ SV *sv, I32 flags);
1552 #define PERL_ARGS_ASSERT_GV_STASHSV             \
1553         assert(sv)
1554
1555 PERL_CALLCONV void
1556 Perl_gv_try_downgrade(pTHX_ GV *gv);
1557 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1558         assert(gv)
1559
1560 PERL_CALLCONV struct xpvhv_aux *
1561 Perl_hv_auxalloc(pTHX_ HV *hv)
1562         __attribute__visibility__("hidden");
1563 #define PERL_ARGS_ASSERT_HV_AUXALLOC            \
1564         assert(hv)
1565
1566 PERL_CALLCONV AV **
1567 Perl_hv_backreferences_p(pTHX_ HV *hv)
1568         __attribute__visibility__("hidden");
1569 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1570         assert(hv)
1571
1572 PERL_CALLCONV SV *
1573 Perl_hv_bucket_ratio(pTHX_ HV *hv)
1574         __attribute__warn_unused_result__;
1575 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO        \
1576         assert(hv)
1577
1578 PERL_CALLCONV void
1579 Perl_hv_clear(pTHX_ HV *hv);
1580 #define PERL_ARGS_ASSERT_HV_CLEAR
1581
1582 PERL_CALLCONV void
1583 Perl_hv_clear_placeholders(pTHX_ HV *hv);
1584 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1585         assert(hv)
1586
1587 PERL_CALLCONV void *
1588 Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1589 #define PERL_ARGS_ASSERT_HV_COMMON
1590
1591 PERL_CALLCONV void *
1592 Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1593 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1594         assert(key)
1595
1596 PERL_CALLCONV HV *
1597 Perl_hv_copy_hints_hv(pTHX_ HV * const ohv)
1598         __attribute__warn_unused_result__;
1599 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1600
1601 PERL_CALLCONV void
1602 Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1603 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1604
1605 PERL_CALLCONV void
1606 Perl_hv_dump(pTHX_ HV *hv);
1607 #define PERL_ARGS_ASSERT_HV_DUMP
1608
1609 PERL_CALLCONV HE **
1610 Perl_hv_eiter_p(pTHX_ HV *hv)
1611         __attribute__warn_unused_result__;
1612 #define PERL_ARGS_ASSERT_HV_EITER_P             \
1613         assert(hv)
1614
1615 PERL_CALLCONV void
1616 Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1617 #define PERL_ARGS_ASSERT_HV_EITER_SET           \
1618         assert(hv)
1619
1620 PERL_CALLCONV void
1621 Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1622         __attribute__visibility__("hidden");
1623 #define PERL_ARGS_ASSERT_HV_ENAME_ADD           \
1624         assert(hv); assert(name)
1625
1626 PERL_CALLCONV void
1627 Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1628         __attribute__visibility__("hidden");
1629 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1630         assert(hv); assert(name)
1631
1632 PERL_CALLCONV STRLEN
1633 Perl_hv_fill(pTHX_ HV * const hv);
1634 #define PERL_ARGS_ASSERT_HV_FILL                \
1635         assert(hv)
1636
1637 PERL_CALLCONV void
1638 Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1639 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1640
1641 PERL_CALLCONV I32
1642 Perl_hv_iterinit(pTHX_ HV *hv);
1643 #define PERL_ARGS_ASSERT_HV_ITERINIT            \
1644         assert(hv)
1645
1646 PERL_CALLCONV char *
1647 Perl_hv_iterkey(pTHX_ HE *entry, I32 *retlen)
1648         __attribute__warn_unused_result__;
1649 #define PERL_ARGS_ASSERT_HV_ITERKEY             \
1650         assert(entry); assert(retlen)
1651
1652 PERL_CALLCONV SV *
1653 Perl_hv_iterkeysv(pTHX_ HE *entry)
1654         __attribute__warn_unused_result__;
1655 #define PERL_ARGS_ASSERT_HV_ITERKEYSV           \
1656         assert(entry)
1657
1658 PERL_CALLCONV HE *
1659 Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1660         __attribute__warn_unused_result__;
1661 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1662         assert(hv)
1663
1664 PERL_CALLCONV SV *
1665 Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1666         __attribute__warn_unused_result__;
1667 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV          \
1668         assert(hv); assert(key); assert(retlen)
1669
1670 PERL_CALLCONV SV *
1671 Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1672         __attribute__warn_unused_result__;
1673 #define PERL_ARGS_ASSERT_HV_ITERVAL             \
1674         assert(hv); assert(entry)
1675
1676 PERL_CALLCONV void
1677 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1678 #define PERL_ARGS_ASSERT_HV_KSPLIT              \
1679         assert(hv)
1680
1681 PERL_CALLCONV void
1682 Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1683 #define PERL_ARGS_ASSERT_HV_NAME_SET            \
1684         assert(hv)
1685
1686 PERL_CALLCONV I32
1687 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1688         __attribute__warn_unused_result__;
1689 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1690         assert(hv)
1691
1692 PERL_CALLCONV SSize_t *
1693 Perl_hv_placeholders_p(pTHX_ HV *hv)
1694         __attribute__warn_unused_result__;
1695 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1696         assert(hv)
1697
1698 PERL_CALLCONV void
1699 Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1700 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1701         assert(hv)
1702
1703 PERL_CALLCONV void
1704 Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1705         __attribute__visibility__("hidden");
1706 #define PERL_ARGS_ASSERT_HV_PUSHKV              \
1707         assert(hv)
1708
1709 PERL_CALLCONV void
1710 Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1711 #define PERL_ARGS_ASSERT_HV_RAND_SET            \
1712         assert(hv)
1713
1714 PERL_CALLCONV I32 *
1715 Perl_hv_riter_p(pTHX_ HV *hv)
1716         __attribute__warn_unused_result__;
1717 #define PERL_ARGS_ASSERT_HV_RITER_P             \
1718         assert(hv)
1719
1720 PERL_CALLCONV void
1721 Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1722 #define PERL_ARGS_ASSERT_HV_RITER_SET           \
1723         assert(hv)
1724
1725 PERL_CALLCONV SV *
1726 Perl_hv_scalar(pTHX_ HV *hv)
1727         __attribute__warn_unused_result__;
1728 #define PERL_ARGS_ASSERT_HV_SCALAR              \
1729         assert(hv)
1730
1731 /* PERL_CALLCONV SV **
1732 hv_stores(pTHX_ HV *hv, const char * const key, SV *val); */
1733
1734 /* PERL_CALLCONV void
1735 hv_undef(pTHX_ HV *hv); */
1736
1737 PERL_CALLCONV void
1738 Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1739 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1740
1741 /* PERL_CALLCONV I32
1742 ibcmp(pTHX_ const char *a, const char *b, I32 len)
1743         __attribute__warn_unused_result__
1744         __attribute__pure__; */
1745
1746 /* PERL_CALLCONV I32
1747 ibcmp_locale(pTHX_ const char *a, const char *b, I32 len)
1748         __attribute__warn_unused_result__
1749         __attribute__pure__; */
1750
1751 /* PERL_CALLCONV I32
1752 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1753
1754 PERL_CALLCONV STRLEN
1755 Perl_infix_plugin_standard(pTHX_ char *operator_ptr, STRLEN operator_len, struct Perl_custom_infix **def);
1756 #define PERL_ARGS_ASSERT_INFIX_PLUGIN_STANDARD  \
1757         assert(operator_ptr); assert(def)
1758
1759 PERL_CALLCONV void
1760 Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1761         __attribute__visibility__("hidden");
1762 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1763         assert(argv)
1764
1765 PERL_CALLCONV void
1766 Perl_init_constants(pTHX)
1767         __attribute__visibility__("hidden");
1768 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1769
1770 PERL_CALLCONV void
1771 Perl_init_dbargs(pTHX)
1772         __attribute__visibility__("hidden");
1773 #define PERL_ARGS_ASSERT_INIT_DBARGS
1774
1775 PERL_CALLCONV void
1776 Perl_init_debugger(pTHX)
1777         __attribute__visibility__("hidden");
1778 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1779
1780 PERL_CALLCONV int
1781 Perl_init_i18nl10n(pTHX_ int printwarn);
1782 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1783
1784 PERL_CALLCONV void
1785 Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1786 #define PERL_ARGS_ASSERT_INIT_NAMED_CV          \
1787         assert(cv); assert(nameop)
1788
1789 PERL_CALLCONV void
1790 Perl_init_stacks(pTHX);
1791 #define PERL_ARGS_ASSERT_INIT_STACKS
1792
1793 PERL_CALLCONV void
1794 Perl_init_tm(pTHX_ struct tm *ptm);
1795 #define PERL_ARGS_ASSERT_INIT_TM                \
1796         assert(ptm)
1797
1798 PERL_CALLCONV void
1799 Perl_init_uniprops(pTHX)
1800         __attribute__visibility__("hidden");
1801 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1802
1803 PERL_CALLCONV U32
1804 Perl_intro_my(pTHX);
1805 #define PERL_ARGS_ASSERT_INTRO_MY
1806
1807 PERL_CALLCONV OP *
1808 Perl_invert(pTHX_ OP *cmd)
1809         __attribute__warn_unused_result__
1810         __attribute__visibility__("hidden");
1811 #define PERL_ARGS_ASSERT_INVERT
1812
1813 PERL_CALLCONV void
1814 Perl_invmap_dump(pTHX_ SV *invlist, UV *map)
1815         __attribute__visibility__("hidden");
1816 #define PERL_ARGS_ASSERT_INVMAP_DUMP            \
1817         assert(invlist); assert(map)
1818
1819 PERL_CALLCONV bool
1820 Perl_io_close(pTHX_ IO *io, GV *gv, bool is_explicit, bool warn_on_fail)
1821         __attribute__visibility__("hidden");
1822 #define PERL_ARGS_ASSERT_IO_CLOSE               \
1823         assert(io)
1824
1825 /* PERL_CALLCONV bool
1826 is_ascii_string(const U8 * const s, STRLEN len)
1827         __attribute__warn_unused_result__
1828         __attribute__pure__; */
1829
1830 /* PERL_CALLCONV bool
1831 is_c9strict_utf8_string(const U8 *s, STRLEN len)
1832         __attribute__warn_unused_result__; */
1833
1834 /* PERL_CALLCONV bool
1835 is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1836
1837 /* PERL_CALLCONV bool
1838 is_invariant_string(const U8 * const s, STRLEN len)
1839         __attribute__warn_unused_result__
1840         __attribute__pure__; */
1841
1842 PERL_CALLCONV I32
1843 Perl_is_lvalue_sub(pTHX)
1844         __attribute__warn_unused_result__;
1845 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1846
1847 /* PERL_CALLCONV bool
1848 is_strict_utf8_string(const U8 *s, STRLEN len)
1849         __attribute__warn_unused_result__; */
1850
1851 /* PERL_CALLCONV bool
1852 is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1853
1854 PERL_CALLCONV Size_t
1855 Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1856         __attribute__warn_unused_result__
1857         __attribute__pure__;
1858 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_     \
1859         assert(s0); assert(e)
1860
1861 PERL_CALLCONV STRLEN
1862 Perl_is_utf8_char_helper_(const U8 * const s, const U8 *e, const U32 flags)
1863         __attribute__warn_unused_result__
1864         __attribute__pure__;
1865 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_   \
1866         assert(s); assert(e)
1867
1868 /* PERL_CALLCONV bool
1869 is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1870
1871 /* PERL_CALLCONV bool
1872 is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1873
1874 /* PERL_CALLCONV bool
1875 is_utf8_invariant_string(const U8 * const s, STRLEN len)
1876         __attribute__warn_unused_result__; */
1877
1878 /* PERL_CALLCONV bool
1879 is_utf8_string(const U8 *s, STRLEN len)
1880         __attribute__warn_unused_result__; */
1881
1882 /* PERL_CALLCONV bool
1883 is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1884
1885 /* PERL_CALLCONV bool
1886 is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1887         __attribute__warn_unused_result__
1888         __attribute__pure__; */
1889
1890 PERL_CALLCONV bool
1891 Perl_isinfnan(NV nv)
1892         __attribute__warn_unused_result__
1893         __attribute__pure__;
1894 #define PERL_ARGS_ASSERT_ISINFNAN
1895
1896 PERL_CALLCONV bool
1897 Perl_isinfnansv(pTHX_ SV *sv)
1898         __attribute__visibility__("hidden");
1899 #define PERL_ARGS_ASSERT_ISINFNANSV             \
1900         assert(sv)
1901
1902 PERL_CALLCONV OP *
1903 Perl_jmaybe(pTHX_ OP *o)
1904         __attribute__visibility__("hidden");
1905 #define PERL_ARGS_ASSERT_JMAYBE                 \
1906         assert(o)
1907
1908 PERL_CALLCONV I32
1909 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1910         __attribute__warn_unused_result__
1911         __attribute__pure__
1912         __attribute__visibility__("hidden");
1913 #define PERL_ARGS_ASSERT_KEYWORD                \
1914         assert(name)
1915
1916 PERL_CALLCONV int
1917 Perl_keyword_plugin_standard(pTHX_ char *keyword_ptr, STRLEN keyword_len, OP **op_ptr);
1918 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1919         assert(keyword_ptr); assert(op_ptr)
1920
1921 PERL_CALLCONV void
1922 Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1923 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS    \
1924         assert(from_sp); assert(to_sp)
1925
1926 PERL_CALLCONV void
1927 Perl_leave_scope(pTHX_ I32 base);
1928 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
1929
1930 PERL_CALLCONV bool
1931 Perl_lex_bufutf8(pTHX);
1932 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
1933
1934 PERL_CALLCONV void
1935 Perl_lex_discard_to(pTHX_ char *ptr);
1936 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO         \
1937         assert(ptr)
1938
1939 PERL_CALLCONV char *
1940 Perl_lex_grow_linestr(pTHX_ STRLEN len);
1941 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
1942
1943 PERL_CALLCONV bool
1944 Perl_lex_next_chunk(pTHX_ U32 flags);
1945 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
1946
1947 PERL_CALLCONV I32
1948 Perl_lex_peek_unichar(pTHX_ U32 flags);
1949 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
1950
1951 PERL_CALLCONV void
1952 Perl_lex_read_space(pTHX_ U32 flags);
1953 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
1954
1955 PERL_CALLCONV void
1956 Perl_lex_read_to(pTHX_ char *ptr);
1957 #define PERL_ARGS_ASSERT_LEX_READ_TO            \
1958         assert(ptr)
1959
1960 PERL_CALLCONV I32
1961 Perl_lex_read_unichar(pTHX_ U32 flags);
1962 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
1963
1964 PERL_CALLCONV void
1965 Perl_lex_start(pTHX_ SV *line, PerlIO *rsfp, U32 flags);
1966 #define PERL_ARGS_ASSERT_LEX_START
1967
1968 PERL_CALLCONV void
1969 Perl_lex_stuff_pv(pTHX_ const char *pv, U32 flags);
1970 #define PERL_ARGS_ASSERT_LEX_STUFF_PV           \
1971         assert(pv)
1972
1973 PERL_CALLCONV void
1974 Perl_lex_stuff_pvn(pTHX_ const char *pv, STRLEN len, U32 flags);
1975 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN          \
1976         assert(pv)
1977
1978 PERL_CALLCONV void
1979 Perl_lex_stuff_sv(pTHX_ SV *sv, U32 flags);
1980 #define PERL_ARGS_ASSERT_LEX_STUFF_SV           \
1981         assert(sv)
1982
1983 PERL_CALLCONV void
1984 Perl_lex_unstuff(pTHX_ char *ptr);
1985 #define PERL_ARGS_ASSERT_LEX_UNSTUFF            \
1986         assert(ptr)
1987
1988 PERL_CALLCONV OP *
1989 Perl_list(pTHX_ OP *o)
1990         __attribute__visibility__("hidden");
1991 #define PERL_ARGS_ASSERT_LIST
1992
1993 PERL_CALLCONV HV *
1994 Perl_load_charnames(pTHX_ SV *char_name, const char *context, const STRLEN context_len, const char **error_msg)
1995         __attribute__warn_unused_result__;
1996 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES         \
1997         assert(char_name); assert(context); assert(error_msg)
1998
1999 PERL_CALLCONV void
2000 Perl_load_module(pTHX_ U32 flags, SV *name, SV *ver, ...);
2001 #define PERL_ARGS_ASSERT_LOAD_MODULE            \
2002         assert(name)
2003
2004 PERL_CALLCONV_NO_RET void
2005 Perl_locale_panic(const char *msg, const line_t immediate_caller_line, const char * const higher_caller_file, const line_t higher_caller_line)
2006         __attribute__noreturn__;
2007 #define PERL_ARGS_ASSERT_LOCALE_PANIC           \
2008         assert(msg); assert(higher_caller_file)
2009
2010 PERL_CALLCONV OP *
2011 Perl_localize(pTHX_ OP *o, I32 lex)
2012         __attribute__visibility__("hidden");
2013 #define PERL_ARGS_ASSERT_LOCALIZE               \
2014         assert(o)
2015
2016 PERL_CALLCONV I32
2017 Perl_looks_like_number(pTHX_ SV * const sv)
2018         __attribute__warn_unused_result__;
2019 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
2020         assert(sv)
2021
2022 PERL_CALLCONV int
2023 Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg)
2024         __attribute__visibility__("hidden");
2025 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
2026         assert(sv); assert(mg)
2027
2028 PERL_CALLCONV int
2029 Perl_magic_cleararylen_p(pTHX_ SV *sv, MAGIC *mg)
2030         __attribute__visibility__("hidden");
2031 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
2032         assert(sv); assert(mg)
2033
2034 PERL_CALLCONV int
2035 Perl_magic_clearenv(pTHX_ SV *sv, MAGIC *mg)
2036         __attribute__visibility__("hidden");
2037 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV         \
2038         assert(sv); assert(mg)
2039
2040 PERL_CALLCONV int
2041 Perl_magic_clearhint(pTHX_ SV *sv, MAGIC *mg)
2042         __attribute__visibility__("hidden");
2043 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
2044         assert(sv); assert(mg)
2045
2046 PERL_CALLCONV int
2047 Perl_magic_clearhints(pTHX_ SV *sv, MAGIC *mg)
2048         __attribute__visibility__("hidden");
2049 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
2050         assert(sv); assert(mg)
2051
2052 PERL_CALLCONV int
2053 Perl_magic_clearhook(pTHX_ SV *sv, MAGIC *mg)
2054         __attribute__visibility__("hidden");
2055 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOK        \
2056         assert(mg)
2057
2058 PERL_CALLCONV int
2059 Perl_magic_clearhookall(pTHX_ SV *sv, MAGIC *mg)
2060         __attribute__visibility__("hidden");
2061 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOKALL     \
2062         assert(mg)
2063
2064 PERL_CALLCONV int
2065 Perl_magic_clearisa(pTHX_ SV *sv, MAGIC *mg)
2066         __attribute__visibility__("hidden");
2067 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA         \
2068         assert(mg)
2069
2070 PERL_CALLCONV int
2071 Perl_magic_clearpack(pTHX_ SV *sv, MAGIC *mg)
2072         __attribute__visibility__("hidden");
2073 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
2074         assert(sv); assert(mg)
2075
2076 PERL_CALLCONV int
2077 Perl_magic_clearsig(pTHX_ SV *sv, MAGIC *mg)
2078         __attribute__visibility__("hidden");
2079 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG         \
2080         assert(sv); assert(mg)
2081
2082 PERL_CALLCONV int
2083 Perl_magic_copycallchecker(pTHX_ SV *sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2084         __attribute__visibility__("hidden");
2085 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
2086         assert(sv); assert(mg); assert(nsv)
2087
2088 PERL_CALLCONV void
2089 Perl_magic_dump(pTHX_ const MAGIC *mg);
2090 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2091
2092 PERL_CALLCONV int
2093 Perl_magic_existspack(pTHX_ SV *sv, const MAGIC *mg)
2094         __attribute__visibility__("hidden");
2095 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
2096         assert(sv); assert(mg)
2097
2098 PERL_CALLCONV int
2099 Perl_magic_freearylen_p(pTHX_ SV *sv, MAGIC *mg)
2100         __attribute__visibility__("hidden");
2101 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
2102         assert(sv); assert(mg)
2103
2104 PERL_CALLCONV int
2105 Perl_magic_freedestruct(pTHX_ SV *sv, MAGIC *mg)
2106         __attribute__visibility__("hidden");
2107 #define PERL_ARGS_ASSERT_MAGIC_FREEDESTRUCT     \
2108         assert(sv); assert(mg)
2109
2110 PERL_CALLCONV int
2111 Perl_magic_freemglob(pTHX_ SV *sv, MAGIC *mg)
2112         __attribute__visibility__("hidden");
2113 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB        \
2114         assert(sv); assert(mg)
2115
2116 PERL_CALLCONV int
2117 Perl_magic_freeovrld(pTHX_ SV *sv, MAGIC *mg)
2118         __attribute__visibility__("hidden");
2119 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
2120         assert(sv); assert(mg)
2121
2122 PERL_CALLCONV int
2123 Perl_magic_freeutf8(pTHX_ SV *sv, MAGIC *mg)
2124         __attribute__visibility__("hidden");
2125 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8         \
2126         assert(sv); assert(mg)
2127
2128 PERL_CALLCONV int
2129 Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
2130         __attribute__visibility__("hidden");
2131 #define PERL_ARGS_ASSERT_MAGIC_GET              \
2132         assert(sv); assert(mg)
2133
2134 PERL_CALLCONV int
2135 Perl_magic_getarylen(pTHX_ SV *sv, const MAGIC *mg)
2136         __attribute__visibility__("hidden");
2137 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
2138         assert(sv); assert(mg)
2139
2140 PERL_CALLCONV int
2141 Perl_magic_getdebugvar(pTHX_ SV *sv, MAGIC *mg)
2142         __attribute__visibility__("hidden");
2143 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
2144         assert(sv); assert(mg)
2145
2146 PERL_CALLCONV int
2147 Perl_magic_getdefelem(pTHX_ SV *sv, MAGIC *mg)
2148         __attribute__visibility__("hidden");
2149 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
2150         assert(sv); assert(mg)
2151
2152 PERL_CALLCONV int
2153 Perl_magic_getnkeys(pTHX_ SV *sv, MAGIC *mg)
2154         __attribute__visibility__("hidden");
2155 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS         \
2156         assert(sv); assert(mg)
2157
2158 PERL_CALLCONV int
2159 Perl_magic_getpack(pTHX_ SV *sv, MAGIC *mg)
2160         __attribute__visibility__("hidden");
2161 #define PERL_ARGS_ASSERT_MAGIC_GETPACK          \
2162         assert(sv); assert(mg)
2163
2164 PERL_CALLCONV int
2165 Perl_magic_getpos(pTHX_ SV *sv, MAGIC *mg)
2166         __attribute__visibility__("hidden");
2167 #define PERL_ARGS_ASSERT_MAGIC_GETPOS           \
2168         assert(sv); assert(mg)
2169
2170 PERL_CALLCONV int
2171 Perl_magic_getsig(pTHX_ SV *sv, MAGIC *mg)
2172         __attribute__visibility__("hidden");
2173 #define PERL_ARGS_ASSERT_MAGIC_GETSIG           \
2174         assert(sv); assert(mg)
2175
2176 PERL_CALLCONV int
2177 Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg)
2178         __attribute__visibility__("hidden");
2179 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
2180         assert(sv); assert(mg)
2181
2182 PERL_CALLCONV int
2183 Perl_magic_gettaint(pTHX_ SV *sv, MAGIC *mg)
2184         __attribute__visibility__("hidden");
2185 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT         \
2186         assert(sv); assert(mg)
2187
2188 PERL_CALLCONV int
2189 Perl_magic_getuvar(pTHX_ SV *sv, MAGIC *mg)
2190         __attribute__visibility__("hidden");
2191 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR          \
2192         assert(sv); assert(mg)
2193
2194 PERL_CALLCONV int
2195 Perl_magic_getvec(pTHX_ SV *sv, MAGIC *mg)
2196         __attribute__visibility__("hidden");
2197 #define PERL_ARGS_ASSERT_MAGIC_GETVEC           \
2198         assert(sv); assert(mg)
2199
2200 PERL_CALLCONV int
2201 Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2202         __attribute__visibility__("hidden");
2203 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
2204         assert(sv); assert(mg)
2205
2206 PERL_CALLCONV SV *
2207 Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2208         __attribute__visibility__("hidden");
2209 #define PERL_ARGS_ASSERT_MAGIC_METHCALL         \
2210         assert(sv); assert(mg); assert(meth)
2211
2212 PERL_CALLCONV int
2213 Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2214         __attribute__visibility__("hidden");
2215 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK         \
2216         assert(sv); assert(mg); assert(key)
2217
2218 PERL_CALLCONV U32
2219 Perl_magic_regdata_cnt(pTHX_ SV *sv, MAGIC *mg)
2220         __attribute__visibility__("hidden");
2221 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
2222         assert(sv); assert(mg)
2223
2224 PERL_CALLCONV int
2225 Perl_magic_regdatum_get(pTHX_ SV *sv, MAGIC *mg)
2226         __attribute__visibility__("hidden");
2227 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
2228         assert(sv); assert(mg)
2229
2230 PERL_CALLCONV SV *
2231 Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2232         __attribute__visibility__("hidden");
2233 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
2234         assert(hv); assert(mg)
2235
2236 PERL_CALLCONV int
2237 Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
2238         __attribute__visibility__("hidden");
2239 #define PERL_ARGS_ASSERT_MAGIC_SET              \
2240         assert(sv); assert(mg)
2241
2242 PERL_CALLCONV int
2243 Perl_magic_set_all_env(pTHX_ SV *sv, MAGIC *mg)
2244         __attribute__visibility__("hidden");
2245 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
2246         assert(sv); assert(mg)
2247
2248 PERL_CALLCONV int
2249 Perl_magic_setarylen(pTHX_ SV *sv, MAGIC *mg)
2250         __attribute__visibility__("hidden");
2251 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
2252         assert(sv); assert(mg)
2253
2254 PERL_CALLCONV int
2255 Perl_magic_setdbline(pTHX_ SV *sv, MAGIC *mg)
2256         __attribute__visibility__("hidden");
2257 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
2258         assert(sv); assert(mg)
2259
2260 PERL_CALLCONV int
2261 Perl_magic_setdebugvar(pTHX_ SV *sv, MAGIC *mg)
2262         __attribute__visibility__("hidden");
2263 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
2264         assert(sv); assert(mg)
2265
2266 PERL_CALLCONV int
2267 Perl_magic_setdefelem(pTHX_ SV *sv, MAGIC *mg)
2268         __attribute__visibility__("hidden");
2269 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
2270         assert(sv); assert(mg)
2271
2272 PERL_CALLCONV int
2273 Perl_magic_setenv(pTHX_ SV *sv, MAGIC *mg)
2274         __attribute__visibility__("hidden");
2275 #define PERL_ARGS_ASSERT_MAGIC_SETENV           \
2276         assert(sv); assert(mg)
2277
2278 PERL_CALLCONV int
2279 Perl_magic_sethint(pTHX_ SV *sv, MAGIC *mg)
2280         __attribute__visibility__("hidden");
2281 #define PERL_ARGS_ASSERT_MAGIC_SETHINT          \
2282         assert(sv); assert(mg)
2283
2284 PERL_CALLCONV int
2285 Perl_magic_sethook(pTHX_ SV *sv, MAGIC *mg)
2286         __attribute__visibility__("hidden");
2287 #define PERL_ARGS_ASSERT_MAGIC_SETHOOK          \
2288         assert(mg)
2289
2290 PERL_CALLCONV int
2291 Perl_magic_sethookall(pTHX_ SV *sv, MAGIC *mg)
2292         __attribute__visibility__("hidden");
2293 #define PERL_ARGS_ASSERT_MAGIC_SETHOOKALL       \
2294         assert(sv); assert(mg)
2295
2296 PERL_CALLCONV int
2297 Perl_magic_setisa(pTHX_ SV *sv, MAGIC *mg)
2298         __attribute__visibility__("hidden");
2299 #define PERL_ARGS_ASSERT_MAGIC_SETISA           \
2300         assert(sv); assert(mg)
2301
2302 PERL_CALLCONV int
2303 Perl_magic_setlvref(pTHX_ SV *sv, MAGIC *mg)
2304         __attribute__visibility__("hidden");
2305 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF         \
2306         assert(sv); assert(mg)
2307
2308 PERL_CALLCONV int
2309 Perl_magic_setmglob(pTHX_ SV *sv, MAGIC *mg)
2310         __attribute__visibility__("hidden");
2311 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB         \
2312         assert(sv); assert(mg)
2313
2314 PERL_CALLCONV int
2315 Perl_magic_setnkeys(pTHX_ SV *sv, MAGIC *mg)
2316         __attribute__visibility__("hidden");
2317 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS         \
2318         assert(sv); assert(mg)
2319
2320 PERL_CALLCONV int
2321 Perl_magic_setnonelem(pTHX_ SV *sv, MAGIC *mg)
2322         __attribute__visibility__("hidden");
2323 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM       \
2324         assert(sv); assert(mg)
2325
2326 PERL_CALLCONV int
2327 Perl_magic_setpack(pTHX_ SV *sv, MAGIC *mg)
2328         __attribute__visibility__("hidden");
2329 #define PERL_ARGS_ASSERT_MAGIC_SETPACK          \
2330         assert(sv); assert(mg)
2331
2332 PERL_CALLCONV int
2333 Perl_magic_setpos(pTHX_ SV *sv, MAGIC *mg)
2334         __attribute__visibility__("hidden");
2335 #define PERL_ARGS_ASSERT_MAGIC_SETPOS           \
2336         assert(sv); assert(mg)
2337
2338 PERL_CALLCONV int
2339 Perl_magic_setregexp(pTHX_ SV *sv, MAGIC *mg)
2340         __attribute__visibility__("hidden");
2341 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
2342         assert(sv); assert(mg)
2343
2344 PERL_CALLCONV int
2345 Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
2346         __attribute__visibility__("hidden");
2347 #define PERL_ARGS_ASSERT_MAGIC_SETSIG           \
2348         assert(mg)
2349
2350 PERL_CALLCONV int
2351 Perl_magic_setsigall(pTHX_ SV *sv, MAGIC *mg)
2352         __attribute__visibility__("hidden");
2353 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL        \
2354         assert(sv); assert(mg)
2355
2356 PERL_CALLCONV int
2357 Perl_magic_setsubstr(pTHX_ SV *sv, MAGIC *mg)
2358         __attribute__visibility__("hidden");
2359 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
2360         assert(sv); assert(mg)
2361
2362 PERL_CALLCONV int
2363 Perl_magic_settaint(pTHX_ SV *sv, MAGIC *mg)
2364         __attribute__visibility__("hidden");
2365 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT         \
2366         assert(sv); assert(mg)
2367
2368 PERL_CALLCONV int
2369 Perl_magic_setutf8(pTHX_ SV *sv, MAGIC *mg)
2370         __attribute__visibility__("hidden");
2371 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8          \
2372         assert(sv); assert(mg)
2373
2374 PERL_CALLCONV int
2375 Perl_magic_setuvar(pTHX_ SV *sv, MAGIC *mg)
2376         __attribute__visibility__("hidden");
2377 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR          \
2378         assert(sv); assert(mg)
2379
2380 PERL_CALLCONV int
2381 Perl_magic_setvec(pTHX_ SV *sv, MAGIC *mg)
2382         __attribute__visibility__("hidden");
2383 #define PERL_ARGS_ASSERT_MAGIC_SETVEC           \
2384         assert(sv); assert(mg)
2385
2386 PERL_CALLCONV U32
2387 Perl_magic_sizepack(pTHX_ SV *sv, MAGIC *mg)
2388         __attribute__visibility__("hidden");
2389 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK         \
2390         assert(sv); assert(mg)
2391
2392 PERL_CALLCONV int
2393 Perl_magic_wipepack(pTHX_ SV *sv, MAGIC *mg)
2394         __attribute__visibility__("hidden");
2395 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK         \
2396         assert(sv); assert(mg)
2397
2398 PERL_CALLCONV Malloc_t
2399 Perl_malloc(MEM_SIZE nbytes)
2400         __attribute__malloc__
2401         __attribute__warn_unused_result__;
2402 #define PERL_ARGS_ASSERT_MALLOC
2403
2404 PERL_CALLCONV Stack_off_t *
2405 Perl_markstack_grow(pTHX);
2406 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2407
2408 PERL_CALLCONV int
2409 Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
2410 #define PERL_ARGS_ASSERT_MBTOWC_
2411
2412 PERL_CALLCONV SV *
2413 Perl_mess(pTHX_ const char *pat, ...)
2414         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2415 #define PERL_ARGS_ASSERT_MESS                   \
2416         assert(pat)
2417
2418 PERL_CALLCONV SV *
2419 Perl_mess_sv(pTHX_ SV *basemsg, bool consume);
2420 #define PERL_ARGS_ASSERT_MESS_SV                \
2421         assert(basemsg)
2422
2423 PERL_CALLCONV Free_t
2424 Perl_mfree(Malloc_t where);
2425 #define PERL_ARGS_ASSERT_MFREE
2426
2427 PERL_CALLCONV int
2428 Perl_mg_clear(pTHX_ SV *sv);
2429 #define PERL_ARGS_ASSERT_MG_CLEAR               \
2430         assert(sv)
2431
2432 PERL_CALLCONV int
2433 Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2434 #define PERL_ARGS_ASSERT_MG_COPY                \
2435         assert(sv); assert(nsv)
2436
2437 PERL_CALLCONV MAGIC *
2438 Perl_mg_find(const SV *sv, int type)
2439         __attribute__warn_unused_result__;
2440 #define PERL_ARGS_ASSERT_MG_FIND
2441
2442 PERL_CALLCONV MAGIC *
2443 Perl_mg_find_mglob(pTHX_ SV *sv)
2444         __attribute__warn_unused_result__;
2445 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB          \
2446         assert(sv)
2447
2448 PERL_CALLCONV MAGIC *
2449 Perl_mg_findext(const SV *sv, int type, const MGVTBL *vtbl)
2450         __attribute__warn_unused_result__;
2451 #define PERL_ARGS_ASSERT_MG_FINDEXT
2452
2453 PERL_CALLCONV int
2454 Perl_mg_free(pTHX_ SV *sv);
2455 #define PERL_ARGS_ASSERT_MG_FREE                \
2456         assert(sv)
2457
2458 PERL_CALLCONV void
2459 Perl_mg_free_type(pTHX_ SV *sv, int how);
2460 #define PERL_ARGS_ASSERT_MG_FREE_TYPE           \
2461         assert(sv)
2462
2463 PERL_CALLCONV void
2464 Perl_mg_freeext(pTHX_ SV *sv, int how, const MGVTBL *vtbl);
2465 #define PERL_ARGS_ASSERT_MG_FREEEXT             \
2466         assert(sv)
2467
2468 PERL_CALLCONV int
2469 Perl_mg_get(pTHX_ SV *sv);
2470 #define PERL_ARGS_ASSERT_MG_GET                 \
2471         assert(sv)
2472
2473 PERL_CALLCONV void
2474 Perl_mg_localize(pTHX_ SV *sv, SV *nsv, bool setmagic)
2475         __attribute__visibility__("hidden");
2476 #define PERL_ARGS_ASSERT_MG_LOCALIZE            \
2477         assert(sv); assert(nsv)
2478
2479 PERL_CALLCONV void
2480 Perl_mg_magical(SV *sv);
2481 #define PERL_ARGS_ASSERT_MG_MAGICAL             \
2482         assert(sv)
2483
2484 PERL_CALLCONV int
2485 Perl_mg_set(pTHX_ SV *sv);
2486 #define PERL_ARGS_ASSERT_MG_SET                 \
2487         assert(sv)
2488
2489 PERL_CALLCONV I32
2490 Perl_mg_size(pTHX_ SV *sv);
2491 #define PERL_ARGS_ASSERT_MG_SIZE                \
2492         assert(sv)
2493
2494 PERL_CALLCONV void
2495 Perl_mini_mktime(struct tm *ptm);
2496 #define PERL_ARGS_ASSERT_MINI_MKTIME            \
2497         assert(ptm)
2498
2499 PERL_CALLCONV int
2500 Perl_mode_from_discipline(pTHX_ const char *s, STRLEN len)
2501         __attribute__visibility__("hidden");
2502 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2503
2504 PERL_CALLCONV void *
2505 Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2506 #define PERL_ARGS_ASSERT_MORE_BODIES
2507
2508 PERL_CALLCONV const char *
2509 Perl_moreswitches(pTHX_ const char *s);
2510 #define PERL_ARGS_ASSERT_MORESWITCHES           \
2511         assert(s)
2512
2513 PERL_CALLCONV void
2514 Perl_mortal_destructor_sv(pTHX_ SV *coderef, SV *args);
2515 #define PERL_ARGS_ASSERT_MORTAL_DESTRUCTOR_SV   \
2516         assert(coderef)
2517
2518 PERL_CALLCONV void
2519 Perl_mortal_svfunc_x(pTHX_ SVFUNC_t f, SV *p);
2520 #define PERL_ARGS_ASSERT_MORTAL_SVFUNC_X
2521
2522 PERL_CALLCONV const struct mro_alg *
2523 Perl_mro_get_from_name(pTHX_ SV *name);
2524 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2525         assert(name)
2526
2527 PERL_CALLCONV AV *
2528 Perl_mro_get_linear_isa(pTHX_ HV *stash);
2529 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2530         assert(stash)
2531
2532 PERL_CALLCONV SV *
2533 Perl_mro_get_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which);
2534 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2535         assert(smeta); assert(which)
2536
2537 PERL_CALLCONV void
2538 Perl_mro_isa_changed_in(pTHX_ HV *stash)
2539         __attribute__visibility__("hidden");
2540 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2541         assert(stash)
2542
2543 PERL_CALLCONV struct mro_meta *
2544 Perl_mro_meta_init(pTHX_ HV *stash);
2545 #define PERL_ARGS_ASSERT_MRO_META_INIT          \
2546         assert(stash)
2547
2548 PERL_CALLCONV void
2549 Perl_mro_method_changed_in(pTHX_ HV *stash);
2550 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2551         assert(stash)
2552
2553 PERL_CALLCONV void
2554 Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2555 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2556         assert(gv)
2557
2558 PERL_CALLCONV void
2559 Perl_mro_register(pTHX_ const struct mro_alg *mro);
2560 #define PERL_ARGS_ASSERT_MRO_REGISTER           \
2561         assert(mro)
2562
2563 PERL_CALLCONV void
2564 Perl_mro_set_mro(pTHX_ struct mro_meta * const meta, SV * const name);
2565 #define PERL_ARGS_ASSERT_MRO_SET_MRO            \
2566         assert(meta); assert(name)
2567
2568 PERL_CALLCONV SV *
2569 Perl_mro_set_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which, SV * const data);
2570 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2571         assert(smeta); assert(which); assert(data)
2572
2573 PERL_CALLCONV SV *
2574 Perl_multiconcat_stringify(pTHX_ const OP *o);
2575 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY  \
2576         assert(o)
2577
2578 PERL_CALLCONV SV *
2579 Perl_multideref_stringify(pTHX_ const OP *o, CV *cv);
2580 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
2581         assert(o)
2582
2583 PERL_CALLCONV NV
2584 Perl_my_atof(pTHX_ const char *s);
2585 #define PERL_ARGS_ASSERT_MY_ATOF                \
2586         assert(s)
2587
2588 PERL_CALLCONV char *
2589 Perl_my_atof2(pTHX_ const char *orig, NV *value);
2590 #define PERL_ARGS_ASSERT_MY_ATOF2               \
2591         assert(orig); assert(value)
2592
2593 PERL_CALLCONV char *
2594 Perl_my_atof3(pTHX_ const char *orig, NV *value, const STRLEN len);
2595 #define PERL_ARGS_ASSERT_MY_ATOF3               \
2596         assert(orig); assert(value)
2597
2598 PERL_CALLCONV OP *
2599 Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2600         __attribute__visibility__("hidden");
2601 #define PERL_ARGS_ASSERT_MY_ATTRS               \
2602         assert(o)
2603
2604 PERL_CALLCONV void
2605 Perl_my_clearenv(pTHX);
2606 #define PERL_ARGS_ASSERT_MY_CLEARENV
2607
2608 PERL_CALLCONV int
2609 Perl_my_dirfd(DIR *dir);
2610 #define PERL_ARGS_ASSERT_MY_DIRFD
2611
2612 PERL_CALLCONV_NO_RET void
2613 Perl_my_exit(pTHX_ U32 status)
2614         __attribute__noreturn__;
2615 #define PERL_ARGS_ASSERT_MY_EXIT
2616
2617 PERL_CALLCONV_NO_RET void
2618 Perl_my_failure_exit(pTHX)
2619         __attribute__noreturn__;
2620 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2621
2622 PERL_CALLCONV I32
2623 Perl_my_fflush_all(pTHX);
2624 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2625
2626 PERL_CALLCONV Pid_t
2627 Perl_my_fork(void);
2628 #define PERL_ARGS_ASSERT_MY_FORK
2629
2630 /* PERL_CALLCONV I32
2631 my_lstat(pTHX); */
2632
2633 PERL_CALLCONV I32
2634 Perl_my_lstat_flags(pTHX_ const U32 flags);
2635 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2636
2637 PERL_CALLCONV int
2638 Perl_my_mkostemp_cloexec(char *templte, int flags)
2639         __attribute__warn_unused_result__
2640         __attribute__visibility__("hidden");
2641 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC    \
2642         assert(templte)
2643
2644 PERL_CALLCONV int
2645 Perl_my_mkstemp_cloexec(char *templte)
2646         __attribute__warn_unused_result__
2647         __attribute__visibility__("hidden");
2648 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC     \
2649         assert(templte)
2650
2651 PERL_CALLCONV PerlIO *
2652 Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args);
2653 #define PERL_ARGS_ASSERT_MY_POPEN_LIST          \
2654         assert(mode); assert(args)
2655
2656 PERL_CALLCONV void
2657 Perl_my_setenv(pTHX_ const char *nam, const char *val);
2658 #define PERL_ARGS_ASSERT_MY_SETENV
2659
2660 PERL_CALLCONV int
2661 Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2662         __attribute__format__(__printf__,3,4);
2663 #define PERL_ARGS_ASSERT_MY_SNPRINTF            \
2664         assert(buffer); assert(format)
2665
2666 PERL_CALLCONV int
2667 Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2668 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2669
2670 /* PERL_CALLCONV I32
2671 my_stat(pTHX); */
2672
2673 PERL_CALLCONV I32
2674 Perl_my_stat_flags(pTHX_ const U32 flags);
2675 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2676
2677 PERL_CALLCONV const char *
2678 Perl_my_strerror(pTHX_ const int errnum, utf8ness_t *utf8ness)
2679         __attribute__visibility__("hidden");
2680 #define PERL_ARGS_ASSERT_MY_STRERROR            \
2681         assert(utf8ness)
2682
2683 PERL_CALLCONV char *
2684 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)
2685         __attribute__format__(__strftime__,pTHX_1,0);
2686 #define PERL_ARGS_ASSERT_MY_STRFTIME            \
2687         assert(fmt)
2688
2689 PERL_CALLCONV NV
2690 Perl_my_strtod(const char * const s, char **e)
2691         __attribute__warn_unused_result__;
2692 #define PERL_ARGS_ASSERT_MY_STRTOD              \
2693         assert(s)
2694
2695 PERL_CALLCONV void
2696 Perl_my_unexec(pTHX)
2697         __attribute__visibility__("hidden");
2698 #define PERL_ARGS_ASSERT_MY_UNEXEC
2699
2700 PERL_CALLCONV int
2701 Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2702 #define PERL_ARGS_ASSERT_MY_VSNPRINTF           \
2703         assert(buffer); assert(format)
2704
2705 PERL_CALLCONV OP *
2706 Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2707 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2708
2709 PERL_CALLCONV OP *
2710 Perl_newANONHASH(pTHX_ OP *o)
2711         __attribute__warn_unused_result__;
2712 #define PERL_ARGS_ASSERT_NEWANONHASH
2713
2714 PERL_CALLCONV OP *
2715 Perl_newANONLIST(pTHX_ OP *o)
2716         __attribute__warn_unused_result__;
2717 #define PERL_ARGS_ASSERT_NEWANONLIST
2718
2719 PERL_CALLCONV OP *
2720 Perl_newANONSUB(pTHX_ I32 floor, OP *proto, OP *block);
2721 #define PERL_ARGS_ASSERT_NEWANONSUB
2722
2723 PERL_CALLCONV OP *
2724 Perl_newARGDEFELEMOP(pTHX_ I32 flags, OP *expr, I32 argindex)
2725         __attribute__warn_unused_result__;
2726 #define PERL_ARGS_ASSERT_NEWARGDEFELEMOP        \
2727         assert(expr)
2728
2729 PERL_CALLCONV OP *
2730 Perl_newASSIGNOP(pTHX_ I32 flags, OP *left, I32 optype, OP *right)
2731         __attribute__warn_unused_result__;
2732 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2733
2734 /* PERL_CALLCONV CV *
2735 newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2736
2737 PERL_CALLCONV CV *
2738 Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2739 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2740
2741 PERL_CALLCONV OP *
2742 Perl_newAVREF(pTHX_ OP *o)
2743         __attribute__warn_unused_result__;
2744 #define PERL_ARGS_ASSERT_NEWAVREF               \
2745         assert(o)
2746
2747 /* PERL_CALLCONV AV *
2748 newAV_alloc_x(pTHX_ SSize_t size)
2749         __attribute__warn_unused_result__; */
2750
2751 /* PERL_CALLCONV AV *
2752 newAV_alloc_xz(pTHX_ SSize_t size)
2753         __attribute__warn_unused_result__; */
2754
2755 PERL_CALLCONV AV *
2756 Perl_newAVav(pTHX_ AV *oav)
2757         __attribute__warn_unused_result__;
2758 #define PERL_ARGS_ASSERT_NEWAVAV
2759
2760 PERL_CALLCONV AV *
2761 Perl_newAVhv(pTHX_ HV *ohv)
2762         __attribute__warn_unused_result__;
2763 #define PERL_ARGS_ASSERT_NEWAVHV
2764
2765 PERL_CALLCONV OP *
2766 Perl_newBINOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2767         __attribute__warn_unused_result__;
2768 #define PERL_ARGS_ASSERT_NEWBINOP
2769
2770 PERL_CALLCONV OP *
2771 Perl_newCONDOP(pTHX_ I32 flags, OP *first, OP *trueop, OP *falseop)
2772         __attribute__warn_unused_result__;
2773 #define PERL_ARGS_ASSERT_NEWCONDOP              \
2774         assert(first)
2775
2776 PERL_CALLCONV CV *
2777 Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv);
2778 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2779
2780 PERL_CALLCONV CV *
2781 Perl_newCONSTSUB_flags(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags, SV *sv);
2782 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2783
2784 PERL_CALLCONV OP *
2785 Perl_newCVREF(pTHX_ I32 flags, OP *o)
2786         __attribute__warn_unused_result__;
2787 #define PERL_ARGS_ASSERT_NEWCVREF
2788
2789 PERL_CALLCONV OP *
2790 Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2791         __attribute__warn_unused_result__;
2792 #define PERL_ARGS_ASSERT_NEWDEFEROP             \
2793         assert(block)
2794
2795 PERL_CALLCONV OP *
2796 Perl_newDEFSVOP(pTHX)
2797         __attribute__warn_unused_result__;
2798 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2799
2800 PERL_CALLCONV void
2801 Perl_newFORM(pTHX_ I32 floor, OP *o, OP *block);
2802 #define PERL_ARGS_ASSERT_NEWFORM
2803
2804 PERL_CALLCONV OP *
2805 Perl_newFOROP(pTHX_ I32 flags, OP *sv, OP *expr, OP *block, OP *cont)
2806         __attribute__warn_unused_result__;
2807 #define PERL_ARGS_ASSERT_NEWFOROP               \
2808         assert(expr)
2809
2810 PERL_CALLCONV OP *
2811 Perl_newGIVENOP(pTHX_ OP *cond, OP *block, PADOFFSET defsv_off)
2812         __attribute__warn_unused_result__;
2813 #define PERL_ARGS_ASSERT_NEWGIVENOP             \
2814         assert(cond); assert(block)
2815
2816 PERL_CALLCONV GP *
2817 Perl_newGP(pTHX_ GV * const gv);
2818 #define PERL_ARGS_ASSERT_NEWGP                  \
2819         assert(gv)
2820
2821 PERL_CALLCONV OP *
2822 Perl_newGVOP(pTHX_ I32 type, I32 flags, GV *gv)
2823         __attribute__warn_unused_result__;
2824 #define PERL_ARGS_ASSERT_NEWGVOP                \
2825         assert(gv)
2826
2827 PERL_CALLCONV OP *
2828 Perl_newGVREF(pTHX_ I32 type, OP *o)
2829         __attribute__warn_unused_result__;
2830 #define PERL_ARGS_ASSERT_NEWGVREF
2831
2832 /* PERL_CALLCONV GV *
2833 newGVgen(pTHX_ const char *pack); */
2834
2835 PERL_CALLCONV GV *
2836 Perl_newGVgen_flags(pTHX_ const char *pack, U32 flags)
2837         __attribute__warn_unused_result__;
2838 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS         \
2839         assert(pack)
2840
2841 PERL_CALLCONV OP *
2842 Perl_newHVREF(pTHX_ OP *o)
2843         __attribute__warn_unused_result__;
2844 #define PERL_ARGS_ASSERT_NEWHVREF               \
2845         assert(o)
2846
2847 PERL_CALLCONV HV *
2848 Perl_newHVhv(pTHX_ HV *hv)
2849         __attribute__warn_unused_result__;
2850 #define PERL_ARGS_ASSERT_NEWHVHV
2851
2852 PERL_CALLCONV OP *
2853 Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2854         __attribute__warn_unused_result__;
2855 #define PERL_ARGS_ASSERT_NEWLISTOP
2856
2857 PERL_CALLCONV OP *
2858 Perl_newLISTOPn(pTHX_ I32 type, I32 flags, ...)
2859         __attribute__warn_unused_result__;
2860 #define PERL_ARGS_ASSERT_NEWLISTOPN
2861
2862 PERL_CALLCONV OP *
2863 Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2864         __attribute__warn_unused_result__;
2865 #define PERL_ARGS_ASSERT_NEWLOGOP               \
2866         assert(first); assert(other)
2867
2868 PERL_CALLCONV OP *
2869 Perl_newLOOPEX(pTHX_ I32 type, OP *label)
2870         __attribute__warn_unused_result__;
2871 #define PERL_ARGS_ASSERT_NEWLOOPEX              \
2872         assert(label)
2873
2874 PERL_CALLCONV OP *
2875 Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP *expr, OP *block)
2876         __attribute__warn_unused_result__;
2877 #define PERL_ARGS_ASSERT_NEWLOOPOP              \
2878         assert(expr)
2879
2880 PERL_CALLCONV OP *
2881 Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP *dynamic_meth)
2882         __attribute__warn_unused_result__;
2883 #define PERL_ARGS_ASSERT_NEWMETHOP              \
2884         assert(dynamic_meth)
2885
2886 PERL_CALLCONV OP *
2887 Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV * const_meth)
2888         __attribute__warn_unused_result__;
2889 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2890         assert(const_meth)
2891
2892 PERL_CALLCONV CV *
2893 Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2894 #define PERL_ARGS_ASSERT_NEWMYSUB               \
2895         assert(o)
2896
2897 PERL_CALLCONV OP *
2898 Perl_newNULLLIST(pTHX)
2899         __attribute__warn_unused_result__;
2900 #define PERL_ARGS_ASSERT_NEWNULLLIST
2901
2902 PERL_CALLCONV OP *
2903 Perl_newOP(pTHX_ I32 optype, I32 flags)
2904         __attribute__warn_unused_result__;
2905 #define PERL_ARGS_ASSERT_NEWOP
2906
2907 PERL_CALLCONV PADNAMELIST *
2908 Perl_newPADNAMELIST(size_t max)
2909         __attribute__warn_unused_result__;
2910 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2911
2912 PERL_CALLCONV PADNAME *
2913 Perl_newPADNAMEouter(PADNAME *outer)
2914         __attribute__warn_unused_result__;
2915 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2916         assert(outer)
2917
2918 PERL_CALLCONV PADNAME *
2919 Perl_newPADNAMEpvn(const char *s, STRLEN len)
2920         __attribute__warn_unused_result__;
2921 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN          \
2922         assert(s)
2923
2924 PERL_CALLCONV OP *
2925 Perl_newPMOP(pTHX_ I32 type, I32 flags)
2926         __attribute__warn_unused_result__;
2927 #define PERL_ARGS_ASSERT_NEWPMOP
2928
2929 PERL_CALLCONV void
2930 Perl_newPROG(pTHX_ OP *o);
2931 #define PERL_ARGS_ASSERT_NEWPROG                \
2932         assert(o)
2933
2934 PERL_CALLCONV OP *
2935 Perl_newPVOP(pTHX_ I32 type, I32 flags, char *pv)
2936         __attribute__warn_unused_result__;
2937 #define PERL_ARGS_ASSERT_NEWPVOP
2938
2939 PERL_CALLCONV OP *
2940 Perl_newRANGE(pTHX_ I32 flags, OP *left, OP *right)
2941         __attribute__warn_unused_result__;
2942 #define PERL_ARGS_ASSERT_NEWRANGE               \
2943         assert(left); assert(right)
2944
2945 PERL_CALLCONV SV *
2946 Perl_newRV(pTHX_ SV * const sv)
2947         __attribute__warn_unused_result__;
2948 #define PERL_ARGS_ASSERT_NEWRV                  \
2949         assert(sv)
2950
2951 PERL_CALLCONV OP *
2952 Perl_newSLICEOP(pTHX_ I32 flags, OP *subscript, OP *listop)
2953         __attribute__warn_unused_result__;
2954 #define PERL_ARGS_ASSERT_NEWSLICEOP
2955
2956 PERL_CALLCONV OP *
2957 Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o)
2958         __attribute__warn_unused_result__;
2959 #define PERL_ARGS_ASSERT_NEWSTATEOP
2960
2961 PERL_CALLCONV CV *
2962 Perl_newSTUB(pTHX_ GV *gv, bool fake)
2963         __attribute__visibility__("hidden");
2964 #define PERL_ARGS_ASSERT_NEWSTUB                \
2965         assert(gv)
2966
2967 PERL_CALLCONV SV *
2968 Perl_newSV(pTHX_ const STRLEN len)
2969         __attribute__warn_unused_result__;
2970 #define PERL_ARGS_ASSERT_NEWSV
2971
2972 PERL_CALLCONV OP *
2973 Perl_newSVOP(pTHX_ I32 type, I32 flags, SV *sv)
2974         __attribute__warn_unused_result__;
2975 #define PERL_ARGS_ASSERT_NEWSVOP                \
2976         assert(sv)
2977
2978 PERL_CALLCONV OP *
2979 Perl_newSVREF(pTHX_ OP *o)
2980         __attribute__warn_unused_result__;
2981 #define PERL_ARGS_ASSERT_NEWSVREF               \
2982         assert(o)
2983
2984 PERL_CALLCONV SV *
2985 Perl_newSV_false(pTHX)
2986         __attribute__warn_unused_result__;
2987 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2988
2989 PERL_CALLCONV SV *
2990 Perl_newSV_true(pTHX)
2991         __attribute__warn_unused_result__;
2992 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2993
2994 PERL_CALLCONV SV *
2995 Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2996         __attribute__warn_unused_result__
2997         __attribute__visibility__("hidden");
2998 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM         \
2999         assert(av)
3000
3001 PERL_CALLCONV SV *
3002 Perl_newSVbool(pTHX_ const bool bool_val)
3003         __attribute__warn_unused_result__;
3004 #define PERL_ARGS_ASSERT_NEWSVBOOL
3005
3006 PERL_CALLCONV SV *
3007 Perl_newSVhek(pTHX_ const HEK * const hek)
3008         __attribute__warn_unused_result__;
3009 #define PERL_ARGS_ASSERT_NEWSVHEK
3010
3011 PERL_CALLCONV SV *
3012 Perl_newSVhek_mortal(pTHX_ const HEK * const hek)
3013         __attribute__warn_unused_result__;
3014 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
3015
3016 PERL_CALLCONV SV *
3017 Perl_newSViv(pTHX_ const IV i)
3018         __attribute__warn_unused_result__;
3019 #define PERL_ARGS_ASSERT_NEWSVIV
3020
3021 PERL_CALLCONV SV *
3022 Perl_newSVnv(pTHX_ const NV n)
3023         __attribute__warn_unused_result__;
3024 #define PERL_ARGS_ASSERT_NEWSVNV
3025
3026 PERL_CALLCONV SV *
3027 Perl_newSVpv(pTHX_ const char * const s, const STRLEN len)
3028         __attribute__warn_unused_result__;
3029 #define PERL_ARGS_ASSERT_NEWSVPV
3030
3031 PERL_CALLCONV SV *
3032 Perl_newSVpv_share(pTHX_ const char *s, U32 hash)
3033         __attribute__warn_unused_result__;
3034 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
3035
3036 PERL_CALLCONV SV *
3037 Perl_newSVpvf(pTHX_ const char * const pat, ...)
3038         __attribute__warn_unused_result__
3039         __attribute__format__(__printf__,pTHX_1,pTHX_2);
3040 #define PERL_ARGS_ASSERT_NEWSVPVF               \
3041         assert(pat)
3042
3043 PERL_CALLCONV SV *
3044 Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len)
3045         __attribute__warn_unused_result__;
3046 #define PERL_ARGS_ASSERT_NEWSVPVN
3047
3048 PERL_CALLCONV SV *
3049 Perl_newSVpvn_flags(pTHX_ const char * const s, const STRLEN len, const U32 flags)
3050         __attribute__warn_unused_result__;
3051 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
3052
3053 PERL_CALLCONV SV *
3054 Perl_newSVpvn_share(pTHX_ const char *s, I32 len, U32 hash)
3055         __attribute__warn_unused_result__;
3056 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
3057
3058 PERL_CALLCONV SV *
3059 Perl_newSVrv(pTHX_ SV * const rv, const char * const classname);
3060 #define PERL_ARGS_ASSERT_NEWSVRV                \
3061         assert(rv)
3062
3063 PERL_CALLCONV SV *
3064 Perl_newSVsv_flags(pTHX_ SV * const old, I32 flags)
3065         __attribute__warn_unused_result__;
3066 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
3067
3068 /* PERL_CALLCONV SV *
3069 newSVsv_nomg(pTHX_ SV * const old)
3070         __attribute__warn_unused_result__; */
3071
3072 PERL_CALLCONV SV *
3073 Perl_newSVuv(pTHX_ const UV u)
3074         __attribute__warn_unused_result__;
3075 #define PERL_ARGS_ASSERT_NEWSVUV
3076
3077 PERL_CALLCONV OP *
3078 Perl_newTRYCATCHOP(pTHX_ I32 flags, OP *tryblock, OP *catchvar, OP *catchblock)
3079         __attribute__warn_unused_result__;
3080 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP          \
3081         assert(tryblock); assert(catchvar); assert(catchblock)
3082
3083 PERL_CALLCONV OP *
3084 Perl_newUNOP(pTHX_ I32 type, I32 flags, OP *first)
3085         __attribute__warn_unused_result__;
3086 #define PERL_ARGS_ASSERT_NEWUNOP
3087
3088 PERL_CALLCONV OP *
3089 Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP *first, UNOP_AUX_item *aux)
3090         __attribute__warn_unused_result__;
3091 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
3092
3093 PERL_CALLCONV OP *
3094 Perl_newWHENOP(pTHX_ OP *cond, OP *block)
3095         __attribute__warn_unused_result__;
3096 #define PERL_ARGS_ASSERT_NEWWHENOP              \
3097         assert(block)
3098
3099 PERL_CALLCONV OP *
3100 Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP *loop, OP *expr, OP *block, OP *cont, I32 has_my)
3101         __attribute__warn_unused_result__;
3102 #define PERL_ARGS_ASSERT_NEWWHILEOP
3103
3104 PERL_CALLCONV CV *
3105 Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
3106 #define PERL_ARGS_ASSERT_NEWXS                  \
3107         assert(subaddr); assert(filename)
3108
3109 PERL_CALLCONV CV *
3110 Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
3111 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE          \
3112         assert(name); assert(subaddr)
3113
3114 PERL_CALLCONV CV *
3115 Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char * const filename, const char * const proto, U32 flags);
3116 #define PERL_ARGS_ASSERT_NEWXS_FLAGS            \
3117         assert(subaddr); assert(filename)
3118
3119 PERL_CALLCONV CV *
3120 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)
3121         __attribute__visibility__("hidden");
3122 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
3123         assert(subaddr)
3124
3125 PERL_CALLCONV PERL_SI *
3126 Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3127         __attribute__warn_unused_result__;
3128 #define PERL_ARGS_ASSERT_NEW_STACKINFO
3129
3130 PERL_CALLCONV PERL_SI *
3131 Perl_new_stackinfo_flags(pTHX_ I32 stitems, I32 cxitems, UV flags)
3132         __attribute__warn_unused_result__;
3133 #define PERL_ARGS_ASSERT_NEW_STACKINFO_FLAGS
3134
3135 PERL_CALLCONV SV *
3136 Perl_new_version(pTHX_ SV *ver);
3137 #define PERL_ARGS_ASSERT_NEW_VERSION            \
3138         assert(ver)
3139
3140 PERL_CALLCONV char *
3141 Perl_new_warnings_bitfield(pTHX_ char *buffer, const char * const bits, STRLEN size)
3142         __attribute__warn_unused_result__;
3143 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
3144         assert(bits)
3145
3146 PERL_CALLCONV PerlIO *
3147 Perl_nextargv(pTHX_ GV *gv, bool nomagicopen)
3148         __attribute__visibility__("hidden");
3149 #define PERL_ARGS_ASSERT_NEXTARGV               \
3150         assert(gv)
3151
3152 PERL_CALLCONV char *
3153 Perl_ninstr(const char *big, const char *bigend, const char *little, const char *lend)
3154         __attribute__warn_unused_result__
3155         __attribute__pure__;
3156 #define PERL_ARGS_ASSERT_NINSTR                 \
3157         assert(big); assert(bigend); assert(little); assert(lend)
3158
3159 PERL_CALLCONV void
3160 Perl_no_bareword_filehandle(pTHX_ const char *fhname)
3161         __attribute__visibility__("hidden");
3162 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
3163         assert(fhname)
3164
3165 PERL_CALLCONV_NO_RET void
3166 Perl_noperl_die(const char *pat, ...)
3167         __attribute__noreturn__
3168         __attribute__format__(__printf__,1,2);
3169 #define PERL_ARGS_ASSERT_NOPERL_DIE             \
3170         assert(pat)
3171
3172 PERL_CALLCONV int
3173 Perl_nothreadhook(pTHX);
3174 #define PERL_ARGS_ASSERT_NOTHREADHOOK
3175
3176 PERL_CALLCONV void
3177 Perl_notify_parser_that_changed_to_utf8(pTHX)
3178         __attribute__visibility__("hidden");
3179 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
3180
3181 PERL_CALLCONV OP *
3182 Perl_oopsAV(pTHX_ OP *o)
3183         __attribute__warn_unused_result__
3184         __attribute__visibility__("hidden");
3185 #define PERL_ARGS_ASSERT_OOPSAV                 \
3186         assert(o)
3187
3188 PERL_CALLCONV OP *
3189 Perl_oopsHV(pTHX_ OP *o)
3190         __attribute__warn_unused_result__
3191         __attribute__visibility__("hidden");
3192 #define PERL_ARGS_ASSERT_OOPSHV                 \
3193         assert(o)
3194
3195 PERL_CALLCONV OP *
3196 Perl_op_append_elem(pTHX_ I32 optype, OP *first, OP *last);
3197 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
3198
3199 PERL_CALLCONV OP *
3200 Perl_op_append_list(pTHX_ I32 optype, OP *first, OP *last);
3201 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
3202
3203 PERL_CALLCONV OPclass
3204 Perl_op_class(pTHX_ const OP *o);
3205 #define PERL_ARGS_ASSERT_OP_CLASS
3206
3207 PERL_CALLCONV void
3208 Perl_op_clear(pTHX_ OP *o);
3209 #define PERL_ARGS_ASSERT_OP_CLEAR               \
3210         assert(o)
3211
3212 PERL_CALLCONV OP *
3213 Perl_op_contextualize(pTHX_ OP *o, I32 context);
3214 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
3215         assert(o)
3216
3217 PERL_CALLCONV OP *
3218 Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP *o)
3219         __attribute__warn_unused_result__;
3220 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3221
3222 PERL_CALLCONV void
3223 Perl_op_dump(pTHX_ const OP *o);
3224 #define PERL_ARGS_ASSERT_OP_DUMP                \
3225         assert(o)
3226
3227 PERL_CALLCONV OP *
3228 Perl_op_force_list(pTHX_ OP *o);
3229 #define PERL_ARGS_ASSERT_OP_FORCE_LIST
3230
3231 PERL_CALLCONV void
3232 Perl_op_free(pTHX_ OP *arg);
3233 #define PERL_ARGS_ASSERT_OP_FREE
3234
3235 PERL_CALLCONV OP *
3236 Perl_op_linklist(pTHX_ OP *o);
3237 #define PERL_ARGS_ASSERT_OP_LINKLIST            \
3238         assert(o)
3239
3240 /* PERL_CALLCONV OP *
3241 op_lvalue(pTHX_ OP *o, I32 type); */
3242
3243 PERL_CALLCONV OP *
3244 Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags);
3245 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3246
3247 PERL_CALLCONV void
3248 Perl_op_null(pTHX_ OP *o);
3249 #define PERL_ARGS_ASSERT_OP_NULL                \
3250         assert(o)
3251
3252 PERL_CALLCONV OP *
3253 Perl_op_parent(OP *o);
3254 #define PERL_ARGS_ASSERT_OP_PARENT              \
3255         assert(o)
3256
3257 PERL_CALLCONV OP *
3258 Perl_op_prepend_elem(pTHX_ I32 optype, OP *first, OP *last);
3259 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3260
3261 PERL_CALLCONV void
3262 Perl_op_refcnt_lock(pTHX);
3263 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3264
3265 PERL_CALLCONV void
3266 Perl_op_refcnt_unlock(pTHX);
3267 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3268
3269 PERL_CALLCONV OP *
3270 Perl_op_scope(pTHX_ OP *o);
3271 #define PERL_ARGS_ASSERT_OP_SCOPE
3272
3273 PERL_CALLCONV OP *
3274 Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP *insert);
3275 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3276
3277 PERL_CALLCONV OP *
3278 Perl_op_unscope(pTHX_ OP *o)
3279         __attribute__visibility__("hidden");
3280 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3281
3282 PERL_CALLCONV OP *
3283 Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3284         __attribute__warn_unused_result__;
3285 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY        \
3286         assert(block); assert(finally)
3287
3288 PERL_CALLCONV void
3289 Perl_package(pTHX_ OP *o)
3290         __attribute__visibility__("hidden");
3291 #define PERL_ARGS_ASSERT_PACKAGE                \
3292         assert(o)
3293
3294 PERL_CALLCONV void
3295 Perl_package_version(pTHX_ OP *v)
3296         __attribute__visibility__("hidden");
3297 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
3298         assert(v)
3299
3300 PERL_CALLCONV void
3301 Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3302 #define PERL_ARGS_ASSERT_PACKLIST               \
3303         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3304
3305 PERL_CALLCONV PADOFFSET
3306 Perl_pad_add_anon(pTHX_ CV *func, I32 optype);
3307 #define PERL_ARGS_ASSERT_PAD_ADD_ANON           \
3308         assert(func)
3309
3310 PERL_CALLCONV PADOFFSET
3311 Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3312 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
3313         assert(name)
3314
3315 PERL_CALLCONV PADOFFSET
3316 Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3317 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
3318         assert(namepv)
3319
3320 PERL_CALLCONV PADOFFSET
3321 Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3322 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
3323         assert(name)
3324
3325 PERL_CALLCONV void
3326 Perl_pad_add_weakref(pTHX_ CV *func)
3327         __attribute__visibility__("hidden");
3328 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
3329         assert(func)
3330
3331 PERL_CALLCONV PADOFFSET
3332 Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3333 #define PERL_ARGS_ASSERT_PAD_ALLOC
3334
3335 PERL_CALLCONV void
3336 Perl_pad_block_start(pTHX_ int full)
3337         __attribute__visibility__("hidden");
3338 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3339
3340 PERL_CALLCONV PADOFFSET
3341 Perl_pad_findmy_pv(pTHX_ const char *name, U32 flags);
3342 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV          \
3343         assert(name)
3344
3345 PERL_CALLCONV PADOFFSET
3346 Perl_pad_findmy_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags);
3347 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN         \
3348         assert(namepv)
3349
3350 PERL_CALLCONV PADOFFSET
3351 Perl_pad_findmy_sv(pTHX_ SV *name, U32 flags);
3352 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV          \
3353         assert(name)
3354
3355 PERL_CALLCONV void
3356 Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3357         __attribute__visibility__("hidden");
3358 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
3359         assert(padlist); assert(old_cv); assert(new_cv)
3360
3361 PERL_CALLCONV void
3362 Perl_pad_free(pTHX_ PADOFFSET po)
3363         __attribute__visibility__("hidden");
3364 #define PERL_ARGS_ASSERT_PAD_FREE
3365
3366 PERL_CALLCONV OP *
3367 Perl_pad_leavemy(pTHX)
3368         __attribute__visibility__("hidden");
3369 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3370
3371 PERL_CALLCONV PADLIST *
3372 Perl_pad_new(pTHX_ int flags)
3373         __attribute__warn_unused_result__;
3374 #define PERL_ARGS_ASSERT_PAD_NEW
3375
3376 PERL_CALLCONV void
3377 Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3378 #define PERL_ARGS_ASSERT_PAD_PUSH               \
3379         assert(padlist)
3380
3381 PERL_CALLCONV void
3382 Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3383         __attribute__visibility__("hidden");
3384 #define PERL_ARGS_ASSERT_PAD_SWIPE
3385
3386 PERL_CALLCONV void
3387 Perl_pad_tidy(pTHX_ padtidy_type type);
3388 #define PERL_ARGS_ASSERT_PAD_TIDY
3389
3390 PERL_CALLCONV PAD **
3391 Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3392         __attribute__visibility__("hidden");
3393 #define PERL_ARGS_ASSERT_PADLIST_STORE          \
3394         assert(padlist)
3395
3396 PERL_CALLCONV void
3397 Perl_padname_free(pTHX_ PADNAME *pn);
3398 #define PERL_ARGS_ASSERT_PADNAME_FREE           \
3399         assert(pn)
3400
3401 PERL_CALLCONV PADNAME *
3402 Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3403         __attribute__warn_unused_result__;
3404 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
3405         assert(pnl)
3406
3407 PERL_CALLCONV void
3408 Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3409 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
3410         assert(pnl)
3411
3412 PERL_CALLCONV PADNAME **
3413 Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3414 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
3415         assert(pnl)
3416
3417 PERL_CALLCONV OP *
3418 Perl_parse_arithexpr(pTHX_ U32 flags);
3419 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3420
3421 PERL_CALLCONV OP *
3422 Perl_parse_barestmt(pTHX_ U32 flags);
3423 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3424
3425 PERL_CALLCONV OP *
3426 Perl_parse_block(pTHX_ U32 flags);
3427 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3428
3429 PERL_CALLCONV OP *
3430 Perl_parse_fullexpr(pTHX_ U32 flags);
3431 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3432
3433 PERL_CALLCONV OP *
3434 Perl_parse_fullstmt(pTHX_ U32 flags);
3435 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3436
3437 PERL_CALLCONV SV *
3438 Perl_parse_label(pTHX_ U32 flags);
3439 #define PERL_ARGS_ASSERT_PARSE_LABEL
3440
3441 PERL_CALLCONV OP *
3442 Perl_parse_listexpr(pTHX_ U32 flags);
3443 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3444
3445 PERL_CALLCONV OP *
3446 Perl_parse_stmtseq(pTHX_ U32 flags);
3447 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3448
3449 PERL_CALLCONV OP *
3450 Perl_parse_subsignature(pTHX_ U32 flags);
3451 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3452
3453 PERL_CALLCONV OP *
3454 Perl_parse_termexpr(pTHX_ U32 flags);
3455 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3456
3457 PERL_CALLCONV U32
3458 Perl_parse_unicode_opts(pTHX_ const char **popt)
3459         __attribute__visibility__("hidden");
3460 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3461         assert(popt)
3462
3463 PERL_CALLCONV void
3464 Perl_parser_free(pTHX_ const yy_parser *parser)
3465         __attribute__visibility__("hidden");
3466 #define PERL_ARGS_ASSERT_PARSER_FREE            \
3467         assert(parser)
3468
3469 PERL_CALLCONV void
3470 Perl_peep(pTHX_ OP *o)
3471         __attribute__visibility__("hidden");
3472 #define PERL_ARGS_ASSERT_PEEP
3473
3474 PERL_CALLCONV PerlInterpreter *
3475 perl_alloc(void);
3476 #define PERL_ARGS_ASSERT_PERL_ALLOC
3477
3478 PERL_CALLCONV void
3479 perl_construct(PerlInterpreter *my_perl);
3480 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT         \
3481         assert(my_perl)
3482
3483 PERL_CALLCONV int
3484 perl_destruct(PerlInterpreter *my_perl);
3485 #define PERL_ARGS_ASSERT_PERL_DESTRUCT          \
3486         assert(my_perl)
3487
3488 PERL_CALLCONV void
3489 perl_free(PerlInterpreter *my_perl);
3490 #define PERL_ARGS_ASSERT_PERL_FREE              \
3491         assert(my_perl)
3492
3493 PERL_CALLCONV int
3494 perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char **argv, char **env);
3495 #define PERL_ARGS_ASSERT_PERL_PARSE             \
3496         assert(my_perl)
3497
3498 PERL_CALLCONV int
3499 perl_run(PerlInterpreter *my_perl);
3500 #define PERL_ARGS_ASSERT_PERL_RUN               \
3501         assert(my_perl)
3502
3503 PERL_CALLCONV Signal_t
3504 Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3505 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3506
3507 /* PERL_CALLCONV const char * const
3508 phase_name(pTHX_ enum perl_phase); */
3509
3510 PERL_CALLCONV void
3511 Perl_pmop_dump(pTHX_ PMOP *pm);
3512 #define PERL_ARGS_ASSERT_PMOP_DUMP
3513
3514 PERL_CALLCONV OP *
3515 Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3516         __attribute__visibility__("hidden");
3517 #define PERL_ARGS_ASSERT_PMRUNTIME              \
3518         assert(o); assert(expr)
3519
3520 PERL_CALLCONV void
3521 Perl_pop_scope(pTHX);
3522 #define PERL_ARGS_ASSERT_POP_SCOPE
3523
3524 PERL_CALLCONV void
3525 Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3526         __attribute__visibility__("hidden");
3527 #define PERL_ARGS_ASSERT_POPULATE_ISA           \
3528         assert(name)
3529
3530 PERL_CALLCONV REGEXP *
3531 Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3532 #define PERL_ARGS_ASSERT_PREGCOMP               \
3533         assert(pattern)
3534
3535 PERL_CALLCONV I32
3536 Perl_pregexec(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
3537 #define PERL_ARGS_ASSERT_PREGEXEC               \
3538         assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
3539         assert(screamer)
3540
3541 PERL_CALLCONV void
3542 Perl_pregfree(pTHX_ REGEXP *r);
3543 #define PERL_ARGS_ASSERT_PREGFREE
3544
3545 PERL_CALLCONV void
3546 Perl_pregfree2(pTHX_ REGEXP *rx);
3547 #define PERL_ARGS_ASSERT_PREGFREE2              \
3548         assert(rx)
3549
3550 PERL_CALLCONV const char *
3551 Perl_prescan_version(pTHX_ const char *s, bool strict, const char **errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
3552 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
3553         assert(s)
3554
3555 PERL_CALLCONV void *
3556 Perl_ptr_table_fetch(pTHX_ PTR_TBL_t * const tbl, const void * const sv)
3557         __attribute__warn_unused_result__;
3558 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
3559         assert(tbl)
3560
3561 PERL_CALLCONV void
3562 Perl_ptr_table_free(pTHX_ PTR_TBL_t * const tbl);
3563 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3564
3565 PERL_CALLCONV PTR_TBL_t *
3566 Perl_ptr_table_new(pTHX)
3567         __attribute__warn_unused_result__;
3568 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3569
3570 PERL_CALLCONV void
3571 Perl_ptr_table_split(pTHX_ PTR_TBL_t * const tbl);
3572 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
3573         assert(tbl)
3574
3575 PERL_CALLCONV void
3576 Perl_ptr_table_store(pTHX_ PTR_TBL_t * const tbl, const void * const oldsv, void * const newsv);
3577 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
3578         assert(tbl); assert(newsv)
3579
3580 PERL_CALLCONV void
3581 Perl_push_scope(pTHX);
3582 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3583
3584 PERL_CALLCONV char *
3585 Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3586 #define PERL_ARGS_ASSERT_PV_DISPLAY             \
3587         assert(dsv); assert(pv)
3588
3589 PERL_CALLCONV char *
3590 Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, STRLEN max, STRLEN * const escaped, U32 flags);
3591 #define PERL_ARGS_ASSERT_PV_ESCAPE              \
3592         assert(str)
3593
3594 PERL_CALLCONV char *
3595 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);
3596 #define PERL_ARGS_ASSERT_PV_PRETTY              \
3597         assert(dsv); assert(str)
3598
3599 PERL_CALLCONV char *
3600 Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3601 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY         \
3602         assert(dsv); assert(spv)
3603
3604 PERL_CALLCONV void
3605 Perl_qerror(pTHX_ SV *err);
3606 #define PERL_ARGS_ASSERT_QERROR
3607
3608 PERL_CALLCONV char *
3609 Perl_rcpv_copy(pTHX_ char * const pv);
3610 #define PERL_ARGS_ASSERT_RCPV_COPY
3611
3612 PERL_CALLCONV char *
3613 Perl_rcpv_free(pTHX_ char * const pv);
3614 #define PERL_ARGS_ASSERT_RCPV_FREE
3615
3616 PERL_CALLCONV char *
3617 Perl_rcpv_new(pTHX_ const char * const pv, STRLEN len, U32 flags)
3618         __attribute__malloc__
3619         __attribute__warn_unused_result__;
3620 #define PERL_ARGS_ASSERT_RCPV_NEW
3621
3622 PERL_CALLCONV REGEXP *
3623 Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3624 #define PERL_ARGS_ASSERT_RE_COMPILE             \
3625         assert(pattern)
3626
3627 PERL_CALLCONV char *
3628 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);
3629 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
3630         assert(rx); assert(strbeg); assert(strpos); assert(strend)
3631
3632 PERL_CALLCONV SV *
3633 Perl_re_intuit_string(pTHX_ REGEXP  * const r);
3634 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
3635         assert(r)
3636
3637 PERL_CALLCONV REGEXP *
3638 Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine *eng, REGEXP *old_re, bool *is_bare_re, const U32 rx_flags, const U32 pm_flags);
3639 #define PERL_ARGS_ASSERT_RE_OP_COMPILE          \
3640         assert(eng)
3641
3642 PERL_CALLCONV Malloc_t
3643 Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3644         __attribute__warn_unused_result__;
3645 #define PERL_ARGS_ASSERT_REALLOC
3646
3647 PERL_CALLCONV void
3648 Perl_reentrant_free(pTHX);
3649 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3650
3651 PERL_CALLCONV void
3652 Perl_reentrant_init(pTHX);
3653 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3654
3655 PERL_CALLCONV void *
3656 Perl_reentrant_retry(const char *f, ...);
3657 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
3658         assert(f)
3659
3660 PERL_CALLCONV void
3661 Perl_reentrant_size(pTHX);
3662 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3663
3664 PERL_CALLCONV HV *
3665 Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3666 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3667
3668 PERL_CALLCONV SV *
3669 Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3670 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3671         assert(key)
3672
3673 PERL_CALLCONV SV *
3674 Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3675 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3676         assert(keypv)
3677
3678 PERL_CALLCONV SV *
3679 Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3680 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3681         assert(key)
3682
3683 PERL_CALLCONV void
3684 Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3685 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3686
3687 PERL_CALLCONV struct refcounted_he *
3688 Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3689 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3690
3691 PERL_CALLCONV struct refcounted_he *
3692 Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3693 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
3694         assert(key)
3695
3696 PERL_CALLCONV struct refcounted_he *
3697 Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
3698 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
3699         assert(keypv)
3700
3701 PERL_CALLCONV struct refcounted_he *
3702 Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3703 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
3704         assert(key)
3705
3706 PERL_CALLCONV SV *
3707 Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3708 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF         \
3709         assert(rx)
3710
3711 PERL_CALLCONV SV *
3712 Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3713 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
3714         assert(rx)
3715
3716 PERL_CALLCONV bool
3717 Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3718 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
3719         assert(rx); assert(key)
3720
3721 PERL_CALLCONV SV *
3722 Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3723 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
3724         assert(rx); assert(namesv)
3725
3726 PERL_CALLCONV SV *
3727 Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3728 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3729         assert(rx)
3730
3731 PERL_CALLCONV SV *
3732 Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3733 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
3734         assert(rx)
3735
3736 PERL_CALLCONV SV *
3737 Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3738 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3739         assert(rx)
3740
3741 PERL_CALLCONV SV *
3742 Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3743 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
3744         assert(rx)
3745
3746 PERL_CALLCONV void
3747 Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const re, const I32 paren, SV * const sv);
3748 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3749         assert(re)
3750
3751 PERL_CALLCONV void
3752 Perl_reg_numbered_buff_fetch_flags(pTHX_ REGEXP * const re, const I32 paren, SV * const sv, U32 flags);
3753 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH_FLAGS \
3754         assert(re)
3755
3756 PERL_CALLCONV I32
3757 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3758 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3759         assert(rx); assert(sv)
3760
3761 PERL_CALLCONV void
3762 Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3763 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3764         assert(rx)
3765
3766 PERL_CALLCONV SV *
3767 Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3768 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE         \
3769         assert(rx)
3770
3771 PERL_CALLCONV REGEXP *
3772 Perl_reg_temp_copy(pTHX_ REGEXP *dsv, REGEXP *ssv);
3773 #define PERL_ARGS_ASSERT_REG_TEMP_COPY          \
3774         assert(ssv)
3775
3776 PERL_CALLCONV void
3777 Perl_regdump(pTHX_ const regexp *r);
3778 #define PERL_ARGS_ASSERT_REGDUMP                \
3779         assert(r)
3780
3781 PERL_CALLCONV I32
3782 Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
3783 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS          \
3784         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3785
3786 PERL_CALLCONV void
3787 Perl_regfree_internal(pTHX_ REGEXP * const rx);
3788 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
3789         assert(rx)
3790
3791 PERL_CALLCONV void
3792 Perl_reginitcolors(pTHX);
3793 #define PERL_ARGS_ASSERT_REGINITCOLORS
3794
3795 PERL_CALLCONV void
3796 Perl_repeatcpy(char *to, const char *from, SSize_t len, IV count);
3797 #define PERL_ARGS_ASSERT_REPEATCPY              \
3798         assert(to); assert(from)
3799
3800 PERL_CALLCONV void
3801 Perl_report_evil_fh(pTHX_ const GV *gv)
3802         __attribute__visibility__("hidden");
3803 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3804
3805 PERL_CALLCONV void
3806 Perl_report_uninit(pTHX_ const SV *uninit_sv);
3807 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3808
3809 PERL_CALLCONV void
3810 Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3811         __attribute__visibility__("hidden");
3812 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3813
3814 PERL_CALLCONV void
3815 Perl_require_pv(pTHX_ const char *pv);
3816 #define PERL_ARGS_ASSERT_REQUIRE_PV             \
3817         assert(pv)
3818
3819 PERL_CALLCONV void
3820 Perl_resume_compcv(pTHX_ struct suspended_compcv *buffer, bool save);
3821 #define PERL_ARGS_ASSERT_RESUME_COMPCV          \
3822         assert(buffer)
3823
3824 /* PERL_CALLCONV void
3825 resume_compcv_and_save(pTHX_ struct suspended_compcv *buffer); */
3826
3827 /* PERL_CALLCONV void
3828 resume_compcv_final(pTHX_ struct suspended_compcv *buffer); */
3829
3830 PERL_CALLCONV char *
3831 Perl_rninstr(const char *big, const char *bigend, const char *little, const char *lend)
3832         __attribute__warn_unused_result__
3833         __attribute__pure__;
3834 #define PERL_ARGS_ASSERT_RNINSTR                \
3835         assert(big); assert(bigend); assert(little); assert(lend)
3836
3837 PERL_CALLCONV void
3838 Perl_rpeep(pTHX_ OP *o)
3839         __attribute__visibility__("hidden");
3840 #define PERL_ARGS_ASSERT_RPEEP
3841
3842 PERL_CALLCONV void
3843 Perl_rpp_free_2_(pTHX_ SV * const sv1, SV * const sv2, const U32 rc1, const U32 rc2);
3844 #define PERL_ARGS_ASSERT_RPP_FREE_2_            \
3845         assert(sv1); assert(sv2)
3846
3847 PERL_CALLCONV void
3848 Perl_rpp_obliterate_stack_to(pTHX_ I32 ix);
3849 #define PERL_ARGS_ASSERT_RPP_OBLITERATE_STACK_TO
3850
3851 PERL_CALLCONV Sighandler_t
3852 Perl_rsignal(pTHX_ int i, Sighandler_t t);
3853 #define PERL_ARGS_ASSERT_RSIGNAL
3854
3855 PERL_CALLCONV int
3856 Perl_rsignal_restore(pTHX_ int i, Sigsave_t *t)
3857         __attribute__visibility__("hidden");
3858 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3859
3860 PERL_CALLCONV int
3861 Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t *save)
3862         __attribute__visibility__("hidden");
3863 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE           \
3864         assert(save)
3865
3866 PERL_CALLCONV Sighandler_t
3867 Perl_rsignal_state(pTHX_ int i);
3868 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3869
3870 PERL_CALLCONV int
3871 Perl_runops_debug(pTHX);
3872 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3873
3874 PERL_CALLCONV int
3875 Perl_runops_standard(pTHX);
3876 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3877
3878 PERL_CALLCONV CV *
3879 Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3880 #define PERL_ARGS_ASSERT_RV2CV_OP_CV            \
3881         assert(cvop)
3882
3883 PERL_CALLCONV void
3884 Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3885         __attribute__visibility__("hidden");
3886 #define PERL_ARGS_ASSERT_RXRES_SAVE             \
3887         assert(rsp); assert(rx)
3888
3889 PERL_CALLCONV Malloc_t
3890 Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3891         __attribute__malloc__
3892         __attribute__warn_unused_result__;
3893 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3894
3895 PERL_CALLCONV Free_t
3896 Perl_safesysfree(Malloc_t where);
3897 #define PERL_ARGS_ASSERT_SAFESYSFREE
3898
3899 PERL_CALLCONV Malloc_t
3900 Perl_safesysmalloc(MEM_SIZE nbytes)
3901         __attribute__malloc__
3902         __attribute__warn_unused_result__;
3903 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3904
3905 PERL_CALLCONV Malloc_t
3906 Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3907         __attribute__warn_unused_result__;
3908 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3909
3910 PERL_CALLCONV void
3911 Perl_save_I16(pTHX_ I16 *intp);
3912 #define PERL_ARGS_ASSERT_SAVE_I16               \
3913         assert(intp)
3914
3915 PERL_CALLCONV void
3916 Perl_save_I32(pTHX_ I32 *intp);
3917 #define PERL_ARGS_ASSERT_SAVE_I32               \
3918         assert(intp)
3919
3920 PERL_CALLCONV void
3921 Perl_save_I8(pTHX_ I8 *bytep);
3922 #define PERL_ARGS_ASSERT_SAVE_I8                \
3923         assert(bytep)
3924
3925 PERL_CALLCONV void
3926 Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3927 #define PERL_ARGS_ASSERT_SAVE_ADELETE           \
3928         assert(av)
3929
3930 /* PERL_CALLCONV void
3931 save_aelem(pTHX_ AV *av, SSize_t idx, SV **sptr); */
3932
3933 PERL_CALLCONV void
3934 Perl_save_aelem_flags(pTHX_ AV *av, SSize_t idx, SV **sptr, const U32 flags);
3935 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
3936         assert(av); assert(sptr)
3937
3938 PERL_CALLCONV SSize_t
3939 Perl_save_alloc(pTHX_ SSize_t size, I32 pad);
3940 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3941
3942 PERL_CALLCONV void
3943 Perl_save_aptr(pTHX_ AV **aptr);
3944 #define PERL_ARGS_ASSERT_SAVE_APTR              \
3945         assert(aptr)
3946
3947 PERL_CALLCONV AV *
3948 Perl_save_ary(pTHX_ GV *gv);
3949 #define PERL_ARGS_ASSERT_SAVE_ARY               \
3950         assert(gv)
3951
3952 PERL_CALLCONV void
3953 Perl_save_bool(pTHX_ bool *boolp);
3954 #define PERL_ARGS_ASSERT_SAVE_BOOL              \
3955         assert(boolp)
3956
3957 PERL_CALLCONV void
3958 Perl_save_clearsv(pTHX_ SV **svp);
3959 #define PERL_ARGS_ASSERT_SAVE_CLEARSV           \
3960         assert(svp)
3961
3962 PERL_CALLCONV void
3963 Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3964 #define PERL_ARGS_ASSERT_SAVE_DELETE            \
3965         assert(hv); assert(key)
3966
3967 PERL_CALLCONV void
3968 Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void *p);
3969 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3970         assert(p)
3971
3972 PERL_CALLCONV void
3973 Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void *p);
3974 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3975
3976 PERL_CALLCONV void
3977 Perl_save_freercpv(pTHX_ char *rcpv);
3978 #define PERL_ARGS_ASSERT_SAVE_FREERCPV          \
3979         assert(rcpv)
3980
3981 PERL_CALLCONV void
3982 Perl_save_generic_pvref(pTHX_ char **str);
3983 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3984         assert(str)
3985
3986 PERL_CALLCONV void
3987 Perl_save_generic_svref(pTHX_ SV **sptr);
3988 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3989         assert(sptr)
3990
3991 PERL_CALLCONV void
3992 Perl_save_gp(pTHX_ GV *gv, I32 empty);
3993 #define PERL_ARGS_ASSERT_SAVE_GP                \
3994         assert(gv)
3995
3996 PERL_CALLCONV HV *
3997 Perl_save_hash(pTHX_ GV *gv);
3998 #define PERL_ARGS_ASSERT_SAVE_HASH              \
3999         assert(gv)
4000
4001 PERL_CALLCONV void
4002 Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
4003 #define PERL_ARGS_ASSERT_SAVE_HDELETE           \
4004         assert(hv); assert(keysv)
4005
4006 /* PERL_CALLCONV void
4007 save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
4008
4009 PERL_CALLCONV void
4010 Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
4011 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
4012         assert(hv); assert(key); assert(sptr)
4013
4014 PERL_CALLCONV void
4015 Perl_save_hints(pTHX);
4016 #define PERL_ARGS_ASSERT_SAVE_HINTS
4017
4018 PERL_CALLCONV void
4019 Perl_save_hptr(pTHX_ HV **hptr);
4020 #define PERL_ARGS_ASSERT_SAVE_HPTR              \
4021         assert(hptr)
4022
4023 PERL_CALLCONV void
4024 Perl_save_int(pTHX_ int *intp);
4025 #define PERL_ARGS_ASSERT_SAVE_INT               \
4026         assert(intp)
4027
4028 PERL_CALLCONV void
4029 Perl_save_item(pTHX_ SV *item);
4030 #define PERL_ARGS_ASSERT_SAVE_ITEM              \
4031         assert(item)
4032
4033 PERL_CALLCONV void
4034 Perl_save_iv(pTHX_ IV *ivp);
4035 #define PERL_ARGS_ASSERT_SAVE_IV                \
4036         assert(ivp)
4037
4038 PERL_CALLCONV void
4039 Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
4040 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
4041
4042 PERL_CALLCONV void
4043 Perl_save_pptr(pTHX_ char **pptr);
4044 #define PERL_ARGS_ASSERT_SAVE_PPTR              \
4045         assert(pptr)
4046
4047 PERL_CALLCONV void
4048 Perl_save_pushi32ptr(pTHX_ const I32 i, void * const ptr, const int type);
4049 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
4050
4051 PERL_CALLCONV void
4052 Perl_save_pushptr(pTHX_ void * const ptr, const int type);
4053 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
4054
4055 PERL_CALLCONV void
4056 Perl_save_pushptrptr(pTHX_ void * const ptr1, void * const ptr2, const int type);
4057 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
4058
4059 PERL_CALLCONV void
4060 Perl_save_rcpv(pTHX_ char **prcpv);
4061 #define PERL_ARGS_ASSERT_SAVE_RCPV              \
4062         assert(prcpv)
4063
4064 PERL_CALLCONV void
4065 Perl_save_re_context(pTHX);
4066 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
4067
4068 PERL_CALLCONV SV *
4069 Perl_save_scalar(pTHX_ GV *gv);
4070 #define PERL_ARGS_ASSERT_SAVE_SCALAR            \
4071         assert(gv)
4072
4073 PERL_CALLCONV void
4074 Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
4075 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
4076         assert(sv)
4077
4078 PERL_CALLCONV void
4079 Perl_save_shared_pvref(pTHX_ char **str);
4080 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
4081         assert(str)
4082
4083 PERL_CALLCONV void
4084 Perl_save_sptr(pTHX_ SV **sptr);
4085 #define PERL_ARGS_ASSERT_SAVE_SPTR              \
4086         assert(sptr)
4087
4088 PERL_CALLCONV void
4089 Perl_save_strlen(pTHX_ STRLEN *ptr);
4090 #define PERL_ARGS_ASSERT_SAVE_STRLEN            \
4091         assert(ptr)
4092
4093 PERL_CALLCONV SV *
4094 Perl_save_svref(pTHX_ SV **sptr);
4095 #define PERL_ARGS_ASSERT_SAVE_SVREF             \
4096         assert(sptr)
4097
4098 PERL_CALLCONV void
4099 Perl_save_vptr(pTHX_ void *ptr);
4100 #define PERL_ARGS_ASSERT_SAVE_VPTR              \
4101         assert(ptr)
4102
4103 PERL_CALLCONV char *
4104 Perl_savesharedpv(pTHX_ const char *pv)
4105         __attribute__malloc__
4106         __attribute__warn_unused_result__;
4107 #define PERL_ARGS_ASSERT_SAVESHAREDPV
4108
4109 PERL_CALLCONV char *
4110 Perl_savesharedpvn(pTHX_ const char * const pv, const STRLEN len)
4111         __attribute__malloc__
4112         __attribute__warn_unused_result__;
4113 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
4114
4115 PERL_CALLCONV void
4116 Perl_savestack_grow(pTHX);
4117 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
4118
4119 PERL_CALLCONV void
4120 Perl_savestack_grow_cnt(pTHX_ I32 need);
4121 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
4122
4123 PERL_CALLCONV void
4124 Perl_savetmps(pTHX);
4125 #define PERL_ARGS_ASSERT_SAVETMPS
4126
4127 PERL_CALLCONV OP *
4128 Perl_sawparens(pTHX_ OP *o)
4129         __attribute__visibility__("hidden");
4130 #define PERL_ARGS_ASSERT_SAWPARENS
4131
4132 PERL_CALLCONV OP *
4133 Perl_scalar(pTHX_ OP *o)
4134         __attribute__visibility__("hidden");
4135 #define PERL_ARGS_ASSERT_SCALAR
4136
4137 PERL_CALLCONV OP *
4138 Perl_scalarvoid(pTHX_ OP *o)
4139         __attribute__visibility__("hidden");
4140 #define PERL_ARGS_ASSERT_SCALARVOID             \
4141         assert(o)
4142
4143 PERL_CALLCONV NV
4144 Perl_scan_bin(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4145 #define PERL_ARGS_ASSERT_SCAN_BIN               \
4146         assert(start); assert(retlen)
4147
4148 PERL_CALLCONV NV
4149 Perl_scan_hex(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4150 #define PERL_ARGS_ASSERT_SCAN_HEX               \
4151         assert(start); assert(retlen)
4152
4153 PERL_CALLCONV char *
4154 Perl_scan_num(pTHX_ const char *s, YYSTYPE *lvalp);
4155 #define PERL_ARGS_ASSERT_SCAN_NUM               \
4156         assert(s); assert(lvalp)
4157
4158 PERL_CALLCONV NV
4159 Perl_scan_oct(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4160 #define PERL_ARGS_ASSERT_SCAN_OCT               \
4161         assert(start); assert(retlen)
4162
4163 PERL_CALLCONV char *
4164 Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
4165         __attribute__warn_unused_result__;
4166 #define PERL_ARGS_ASSERT_SCAN_STR               \
4167         assert(start)
4168
4169 PERL_CALLCONV const char *
4170 Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
4171 #define PERL_ARGS_ASSERT_SCAN_VERSION           \
4172         assert(s); assert(rv)
4173
4174 PERL_CALLCONV char *
4175 Perl_scan_vstring(pTHX_ const char *s, const char * const e, SV *sv);
4176 #define PERL_ARGS_ASSERT_SCAN_VSTRING           \
4177         assert(s); assert(e); assert(sv)
4178
4179 PERL_CALLCONV char *
4180 Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
4181 #define PERL_ARGS_ASSERT_SCAN_WORD              \
4182         assert(s); assert(dest); assert(slp)
4183
4184 PERL_CALLCONV char *
4185 Perl_scan_word6(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp, bool warn_tick);
4186 #define PERL_ARGS_ASSERT_SCAN_WORD6             \
4187         assert(s); assert(dest); assert(slp)
4188
4189 PERL_CALLCONV U32
4190 Perl_seed(pTHX);
4191 #define PERL_ARGS_ASSERT_SEED
4192
4193 PERL_CALLCONV void
4194 Perl_set_caret_X(pTHX);
4195 #define PERL_ARGS_ASSERT_SET_CARET_X
4196
4197 PERL_CALLCONV void
4198 Perl_set_context(void *t);
4199 #define PERL_ARGS_ASSERT_SET_CONTEXT            \
4200         assert(t)
4201
4202 PERL_CALLCONV void
4203 Perl_set_numeric_standard(pTHX_ const char *file, const line_t caller_line);
4204 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD   \
4205         assert(file)
4206
4207 PERL_CALLCONV void
4208 Perl_set_numeric_underlying(pTHX_ const char *file, const line_t caller_line);
4209 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING \
4210         assert(file)
4211
4212 PERL_CALLCONV void
4213 Perl_setdefout(pTHX_ GV *gv);
4214 #define PERL_ARGS_ASSERT_SETDEFOUT              \
4215         assert(gv)
4216
4217 PERL_CALLCONV void
4218 Perl_setfd_cloexec(int fd)
4219         __attribute__visibility__("hidden");
4220 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
4221
4222 PERL_CALLCONV void
4223 Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
4224         __attribute__visibility__("hidden");
4225 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
4226
4227 PERL_CALLCONV void
4228 Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
4229         __attribute__visibility__("hidden");
4230 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
4231
4232 PERL_CALLCONV void
4233 Perl_setfd_inhexec(int fd)
4234         __attribute__visibility__("hidden");
4235 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
4236
4237 PERL_CALLCONV void
4238 Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
4239         __attribute__visibility__("hidden");
4240 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
4241
4242 PERL_CALLCONV HEK *
4243 Perl_share_hek(pTHX_ const char *str, SSize_t len, U32 hash);
4244 #define PERL_ARGS_ASSERT_SHARE_HEK              \
4245         assert(str)
4246
4247 PERL_CALLCONV Signal_t
4248 Perl_sighandler1(int sig)
4249         __attribute__visibility__("hidden");
4250 #define PERL_ARGS_ASSERT_SIGHANDLER1
4251
4252 PERL_CALLCONV Signal_t
4253 Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
4254         __attribute__visibility__("hidden");
4255 #define PERL_ARGS_ASSERT_SIGHANDLER3
4256
4257 PERL_CALLCONV char *
4258 Perl_skipspace_flags(pTHX_ char *s, U32 flags)
4259         __attribute__warn_unused_result__;
4260 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
4261         assert(s)
4262
4263 PERL_CALLCONV void
4264 Perl_sortsv(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp);
4265 #define PERL_ARGS_ASSERT_SORTSV                 \
4266         assert(cmp)
4267
4268 PERL_CALLCONV void
4269 Perl_sortsv_flags(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
4270 #define PERL_ARGS_ASSERT_SORTSV_FLAGS           \
4271         assert(cmp)
4272
4273 PERL_CALLCONV SV **
4274 Perl_stack_grow(pTHX_ SV **sp, SV **p, SSize_t n);
4275 #define PERL_ARGS_ASSERT_STACK_GROW             \
4276         assert(sp); assert(p)
4277
4278 PERL_CALLCONV PerlIO *
4279 Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
4280         __attribute__visibility__("hidden");
4281 #define PERL_ARGS_ASSERT_START_GLOB             \
4282         assert(tmpglob); assert(io)
4283
4284 PERL_CALLCONV I32
4285 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
4286 #define PERL_ARGS_ASSERT_START_SUBPARSE
4287
4288 PERL_CALLCONV NV
4289 Perl_str_to_version(pTHX_ SV *sv)
4290         __attribute__warn_unused_result__;
4291 #define PERL_ARGS_ASSERT_STR_TO_VERSION         \
4292         assert(sv)
4293
4294 PERL_CALLCONV void
4295 Perl_sub_crush_depth(pTHX_ CV *cv)
4296         __attribute__visibility__("hidden");
4297 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
4298         assert(cv)
4299
4300 PERL_CALLCONV void
4301 Perl_suspend_compcv(pTHX_ struct suspended_compcv *buffer);
4302 #define PERL_ARGS_ASSERT_SUSPEND_COMPCV         \
4303         assert(buffer)
4304
4305 PERL_CALLCONV bool
4306 Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
4307 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS         \
4308         assert(sv)
4309
4310 PERL_CALLCONV CV *
4311 Perl_sv_2cv(pTHX_ SV *sv, HV ** const st, GV ** const gvp, const I32 lref);
4312 #define PERL_ARGS_ASSERT_SV_2CV                 \
4313         assert(st); assert(gvp)
4314
4315 PERL_CALLCONV IO *
4316 Perl_sv_2io(pTHX_ SV * const sv);
4317 #define PERL_ARGS_ASSERT_SV_2IO                 \
4318         assert(sv)
4319
4320 PERL_CALLCONV IV
4321 Perl_sv_2iv_flags(pTHX_ SV * const sv, const I32 flags);
4322 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS           \
4323         assert(sv)
4324
4325 PERL_CALLCONV SV *
4326 Perl_sv_2mortal(pTHX_ SV * const sv);
4327 #define PERL_ARGS_ASSERT_SV_2MORTAL
4328
4329 PERL_CALLCONV SV *
4330 Perl_sv_2num(pTHX_ SV * const sv)
4331         __attribute__visibility__("hidden");
4332 #define PERL_ARGS_ASSERT_SV_2NUM                \
4333         assert(sv)
4334
4335 PERL_CALLCONV NV
4336 Perl_sv_2nv_flags(pTHX_ SV * const sv, const I32 flags);
4337 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS           \
4338         assert(sv)
4339
4340 PERL_CALLCONV char *
4341 Perl_sv_2pv_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4342 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS           \
4343         assert(sv)
4344
4345 PERL_CALLCONV char *
4346 Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4347 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS       \
4348         assert(sv)
4349
4350 PERL_CALLCONV char *
4351 Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4352 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS       \
4353         assert(sv)
4354
4355 PERL_CALLCONV UV
4356 Perl_sv_2uv_flags(pTHX_ SV * const sv, const I32 flags);
4357 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS           \
4358         assert(sv)
4359
4360 PERL_CALLCONV void
4361 Perl_sv_backoff(SV * const sv);
4362 #define PERL_ARGS_ASSERT_SV_BACKOFF             \
4363         assert(sv)
4364
4365 PERL_CALLCONV SV *
4366 Perl_sv_bless(pTHX_ SV * const sv, HV * const stash);
4367 #define PERL_ARGS_ASSERT_SV_BLESS               \
4368         assert(sv); assert(stash)
4369
4370 PERL_CALLCONV bool
4371 Perl_sv_cat_decode(pTHX_ SV *dsv, SV *encoding, SV *ssv, int *offset, char *tstr, int tlen);
4372 #define PERL_ARGS_ASSERT_SV_CAT_DECODE          \
4373         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
4374
4375 PERL_CALLCONV void
4376 Perl_sv_catpv(pTHX_ SV * const dsv, const char *sstr);
4377 #define PERL_ARGS_ASSERT_SV_CATPV               \
4378         assert(dsv)
4379
4380 PERL_CALLCONV void
4381 Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
4382 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS         \
4383         assert(dsv); assert(sstr)
4384
4385 PERL_CALLCONV void
4386 Perl_sv_catpv_mg(pTHX_ SV * const dsv, const char * const sstr);
4387 #define PERL_ARGS_ASSERT_SV_CATPV_MG            \
4388         assert(dsv)
4389
4390 PERL_CALLCONV void
4391 Perl_sv_catpvf(pTHX_ SV * const sv, const char * const pat, ...)
4392         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4393 #define PERL_ARGS_ASSERT_SV_CATPVF              \
4394         assert(sv); assert(pat)
4395
4396 PERL_CALLCONV void
4397 Perl_sv_catpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4398         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4399 #define PERL_ARGS_ASSERT_SV_CATPVF_MG           \
4400         assert(sv); assert(pat)
4401
4402 PERL_CALLCONV void
4403 Perl_sv_catpvn_flags(pTHX_ SV * const dsv, const char *sstr, const STRLEN len, const I32 flags);
4404 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
4405         assert(dsv); assert(sstr)
4406
4407 PERL_CALLCONV void
4408 Perl_sv_catsv_flags(pTHX_ SV * const dsv, SV * const sstr, const I32 flags);
4409 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS         \
4410         assert(dsv)
4411
4412 PERL_CALLCONV void
4413 Perl_sv_chop(pTHX_ SV * const sv, const char * const ptr);
4414 #define PERL_ARGS_ASSERT_SV_CHOP                \
4415         assert(sv)
4416
4417 PERL_CALLCONV SSize_t
4418 Perl_sv_clean_all(pTHX)
4419         __attribute__visibility__("hidden");
4420 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
4421
4422 PERL_CALLCONV void
4423 Perl_sv_clean_objs(pTHX)
4424         __attribute__visibility__("hidden");
4425 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
4426
4427 PERL_CALLCONV void
4428 Perl_sv_clear(pTHX_ SV * const orig_sv);
4429 #define PERL_ARGS_ASSERT_SV_CLEAR               \
4430         assert(orig_sv)
4431
4432 PERL_CALLCONV I32
4433 Perl_sv_cmp(pTHX_ SV * const sv1, SV * const sv2);
4434 #define PERL_ARGS_ASSERT_SV_CMP
4435
4436 PERL_CALLCONV I32
4437 Perl_sv_cmp_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4438 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
4439
4440 PERL_CALLCONV I32
4441 Perl_sv_cmp_locale(pTHX_ SV * const sv1, SV * const sv2);
4442 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
4443
4444 PERL_CALLCONV I32
4445 Perl_sv_cmp_locale_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4446 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
4447
4448 PERL_CALLCONV void
4449 Perl_sv_copypv_flags(pTHX_ SV * const dsv, SV * const ssv, const I32 flags);
4450 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
4451         assert(dsv); assert(ssv)
4452
4453 /* PERL_CALLCONV void
4454 sv_copypv_nomg(pTHX_ SV * const dsv, SV * const ssv); */
4455
4456 PERL_CALLCONV void
4457 Perl_sv_dec(pTHX_ SV * const sv);
4458 #define PERL_ARGS_ASSERT_SV_DEC
4459
4460 PERL_CALLCONV void
4461 Perl_sv_dec_nomg(pTHX_ SV * const sv);
4462 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
4463
4464 PERL_CALLCONV void
4465 Perl_sv_del_backref(pTHX_ SV * const tsv, SV * const sv);
4466 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF         \
4467         assert(tsv); assert(sv)
4468
4469 PERL_CALLCONV bool
4470 Perl_sv_derived_from(pTHX_ SV *sv, const char * const name)
4471         __attribute__warn_unused_result__;
4472 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
4473         assert(sv); assert(name)
4474
4475 PERL_CALLCONV bool
4476 Perl_sv_derived_from_hv(pTHX_ SV *sv, HV *hv)
4477         __attribute__warn_unused_result__;
4478 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_HV     \
4479         assert(sv); assert(hv)
4480
4481 PERL_CALLCONV bool
4482 Perl_sv_derived_from_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4483         __attribute__warn_unused_result__;
4484 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
4485         assert(sv); assert(name)
4486
4487 PERL_CALLCONV bool
4488 Perl_sv_derived_from_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4489         __attribute__warn_unused_result__;
4490 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
4491         assert(sv); assert(name)
4492
4493 PERL_CALLCONV bool
4494 Perl_sv_derived_from_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4495         __attribute__warn_unused_result__;
4496 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
4497         assert(sv); assert(namesv)
4498
4499 PERL_CALLCONV bool
4500 Perl_sv_destroyable(pTHX_ SV *sv);
4501 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
4502
4503 PERL_CALLCONV bool
4504 Perl_sv_does(pTHX_ SV *sv, const char * const name)
4505         __attribute__warn_unused_result__;
4506 #define PERL_ARGS_ASSERT_SV_DOES                \
4507         assert(sv); assert(name)
4508
4509 PERL_CALLCONV bool
4510 Perl_sv_does_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4511         __attribute__warn_unused_result__;
4512 #define PERL_ARGS_ASSERT_SV_DOES_PV             \
4513         assert(sv); assert(name)
4514
4515 PERL_CALLCONV bool
4516 Perl_sv_does_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4517         __attribute__warn_unused_result__;
4518 #define PERL_ARGS_ASSERT_SV_DOES_PVN            \
4519         assert(sv); assert(name)
4520
4521 PERL_CALLCONV bool
4522 Perl_sv_does_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4523         __attribute__warn_unused_result__;
4524 #define PERL_ARGS_ASSERT_SV_DOES_SV             \
4525         assert(sv); assert(namesv)
4526
4527 PERL_CALLCONV void
4528 Perl_sv_dump(pTHX_ SV *sv);
4529 #define PERL_ARGS_ASSERT_SV_DUMP
4530
4531 PERL_CALLCONV void
4532 Perl_sv_dump_depth(pTHX_ SV *sv, I32 depth);
4533 #define PERL_ARGS_ASSERT_SV_DUMP_DEPTH
4534
4535 PERL_CALLCONV I32
4536 Perl_sv_eq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4537 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
4538
4539 PERL_CALLCONV void
4540 Perl_sv_force_normal_flags(pTHX_ SV * const sv, const U32 flags);
4541 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
4542         assert(sv)
4543
4544 PERL_CALLCONV void
4545 Perl_sv_free(pTHX_ SV * const sv);
4546 #define PERL_ARGS_ASSERT_SV_FREE
4547
4548 PERL_CALLCONV void
4549 Perl_sv_free2(pTHX_ SV * const sv, const U32 refcnt);
4550 #define PERL_ARGS_ASSERT_SV_FREE2               \
4551         assert(sv)
4552
4553 PERL_CALLCONV void
4554 Perl_sv_free_arenas(pTHX)
4555         __attribute__visibility__("hidden");
4556 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
4557
4558 PERL_CALLCONV SV *
4559 Perl_sv_get_backrefs(SV * const sv);
4560 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
4561         assert(sv)
4562
4563 PERL_CALLCONV char *
4564 Perl_sv_gets(pTHX_ SV * const sv, PerlIO * const fp, I32 append);
4565 #define PERL_ARGS_ASSERT_SV_GETS                \
4566         assert(sv); assert(fp)
4567
4568 PERL_CALLCONV char *
4569 Perl_sv_grow(pTHX_ SV * const sv, STRLEN newlen);
4570 #define PERL_ARGS_ASSERT_SV_GROW                \
4571         assert(sv)
4572
4573 PERL_CALLCONV char *
4574 Perl_sv_grow_fresh(pTHX_ SV * const sv, STRLEN newlen);
4575 #define PERL_ARGS_ASSERT_SV_GROW_FRESH          \
4576         assert(sv)
4577
4578 PERL_CALLCONV void
4579 Perl_sv_inc(pTHX_ SV * const sv);
4580 #define PERL_ARGS_ASSERT_SV_INC
4581
4582 PERL_CALLCONV void
4583 Perl_sv_inc_nomg(pTHX_ SV * const sv);
4584 #define PERL_ARGS_ASSERT_SV_INC_NOMG
4585
4586 PERL_CALLCONV void
4587 Perl_sv_insert_flags(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
4588 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
4589         assert(bigstr); assert(little)
4590
4591 PERL_CALLCONV int
4592 Perl_sv_isa(pTHX_ SV *sv, const char * const name);
4593 #define PERL_ARGS_ASSERT_SV_ISA                 \
4594         assert(name)
4595
4596 PERL_CALLCONV bool
4597 Perl_sv_isa_sv(pTHX_ SV *sv, SV *namesv)
4598         __attribute__warn_unused_result__;
4599 #define PERL_ARGS_ASSERT_SV_ISA_SV              \
4600         assert(sv); assert(namesv)
4601
4602 PERL_CALLCONV int
4603 Perl_sv_isobject(pTHX_ SV *sv);
4604 #define PERL_ARGS_ASSERT_SV_ISOBJECT
4605
4606 PERL_CALLCONV SV *
4607 Perl_sv_langinfo(pTHX_ const nl_item item);
4608 #define PERL_ARGS_ASSERT_SV_LANGINFO
4609
4610 PERL_CALLCONV STRLEN
4611 Perl_sv_len(pTHX_ SV * const sv);
4612 #define PERL_ARGS_ASSERT_SV_LEN
4613
4614 PERL_CALLCONV STRLEN
4615 Perl_sv_len_utf8(pTHX_ SV * const sv);
4616 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
4617
4618 PERL_CALLCONV STRLEN
4619 Perl_sv_len_utf8_nomg(pTHX_ SV * const sv);
4620 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
4621         assert(sv)
4622
4623 PERL_CALLCONV void
4624 Perl_sv_magic(pTHX_ SV * const sv, SV * const obj, const int how, const char * const name, const I32 namlen);
4625 #define PERL_ARGS_ASSERT_SV_MAGIC               \
4626         assert(sv)
4627
4628 PERL_CALLCONV MAGIC *
4629 Perl_sv_magicext(pTHX_ SV * const sv, SV * const obj, const int how, const MGVTBL * const vtbl, const char * const name, const I32 namlen);
4630 #define PERL_ARGS_ASSERT_SV_MAGICEXT            \
4631         assert(sv)
4632
4633 PERL_CALLCONV MAGIC *
4634 Perl_sv_magicext_mglob(pTHX_ SV *sv);
4635 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
4636         assert(sv)
4637
4638 PERL_CALLCONV SV *
4639 Perl_sv_mortalcopy_flags(pTHX_ SV * const oldsv, U32 flags)
4640         __attribute__warn_unused_result__;
4641 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4642
4643 PERL_CALLCONV SV *
4644 Perl_sv_newmortal(pTHX)
4645         __attribute__warn_unused_result__;
4646 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4647
4648 PERL_CALLCONV SV *
4649 Perl_sv_newref(pTHX_ SV * const sv);
4650 #define PERL_ARGS_ASSERT_SV_NEWREF
4651
4652 PERL_CALLCONV void
4653 Perl_sv_nosharing(pTHX_ SV *sv);
4654 #define PERL_ARGS_ASSERT_SV_NOSHARING
4655
4656 /* PERL_CALLCONV bool
4657 sv_numeq(pTHX_ SV *sv1, SV *sv2); */
4658
4659 PERL_CALLCONV bool
4660 Perl_sv_numeq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4661 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4662
4663 PERL_CALLCONV char *
4664 Perl_sv_peek(pTHX_ SV *sv);
4665 #define PERL_ARGS_ASSERT_SV_PEEK
4666
4667 PERL_CALLCONV void
4668 Perl_sv_pos_b2u(pTHX_ SV * const sv, I32 * const offsetp);
4669 #define PERL_ARGS_ASSERT_SV_POS_B2U             \
4670         assert(offsetp)
4671
4672 PERL_CALLCONV STRLEN
4673 Perl_sv_pos_b2u_flags(pTHX_ SV * const sv, STRLEN const offset, U32 flags);
4674 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
4675         assert(sv)
4676
4677 PERL_CALLCONV void
4678 Perl_sv_pos_u2b(pTHX_ SV * const sv, I32 * const offsetp, I32 * const lenp);
4679 #define PERL_ARGS_ASSERT_SV_POS_U2B             \
4680         assert(offsetp)
4681
4682 PERL_CALLCONV STRLEN
4683 Perl_sv_pos_u2b_flags(pTHX_ SV * const sv, STRLEN uoffset, STRLEN * const lenp, U32 flags);
4684 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
4685         assert(sv)
4686
4687 PERL_CALLCONV char *
4688 Perl_sv_pvbyten_force(pTHX_ SV * const sv, STRLEN * const lp);
4689 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
4690         assert(sv)
4691
4692 PERL_CALLCONV char *
4693 Perl_sv_pvn_force_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4694 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
4695         assert(sv)
4696
4697 PERL_CALLCONV char *
4698 Perl_sv_pvutf8n_force(pTHX_ SV * const sv, STRLEN * const lp);
4699 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
4700         assert(sv)
4701
4702 PERL_CALLCONV char *
4703 Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding);
4704 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
4705         assert(sv); assert(encoding)
4706
4707 PERL_CALLCONV SV *
4708 Perl_sv_ref(pTHX_ SV *dst, const SV * const sv, const int ob);
4709 #define PERL_ARGS_ASSERT_SV_REF                 \
4710         assert(sv)
4711
4712 PERL_CALLCONV const char *
4713 Perl_sv_reftype(pTHX_ const SV * const sv, const int ob)
4714         __attribute__warn_unused_result__;
4715 #define PERL_ARGS_ASSERT_SV_REFTYPE             \
4716         assert(sv)
4717
4718 PERL_CALLCONV void
4719 Perl_sv_replace(pTHX_ SV * const sv, SV * const nsv);
4720 #define PERL_ARGS_ASSERT_SV_REPLACE             \
4721         assert(sv); assert(nsv)
4722
4723 PERL_CALLCONV void
4724 Perl_sv_report_used(pTHX);
4725 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4726
4727 PERL_CALLCONV void
4728 Perl_sv_reset(pTHX_ const char *s, HV * const stash);
4729 #define PERL_ARGS_ASSERT_SV_RESET               \
4730         assert(s)
4731
4732 PERL_CALLCONV void
4733 Perl_sv_resetpvn(pTHX_ const char *s, STRLEN len, HV * const stash)
4734         __attribute__visibility__("hidden");
4735 #define PERL_ARGS_ASSERT_SV_RESETPVN
4736
4737 PERL_CALLCONV SV *
4738 Perl_sv_rvunweaken(pTHX_ SV * const sv);
4739 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN          \
4740         assert(sv)
4741
4742 PERL_CALLCONV SV *
4743 Perl_sv_rvweaken(pTHX_ SV * const sv);
4744 #define PERL_ARGS_ASSERT_SV_RVWEAKEN            \
4745         assert(sv)
4746
4747 PERL_CALLCONV void
4748 Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4749 #define PERL_ARGS_ASSERT_SV_SET_BOOL            \
4750         assert(sv)
4751
4752 PERL_CALLCONV void
4753 Perl_sv_set_false(pTHX_ SV *sv);
4754 #define PERL_ARGS_ASSERT_SV_SET_FALSE           \
4755         assert(sv)
4756
4757 PERL_CALLCONV void
4758 Perl_sv_set_true(pTHX_ SV *sv);
4759 #define PERL_ARGS_ASSERT_SV_SET_TRUE            \
4760         assert(sv)
4761
4762 PERL_CALLCONV void
4763 Perl_sv_set_undef(pTHX_ SV *sv);
4764 #define PERL_ARGS_ASSERT_SV_SET_UNDEF           \
4765         assert(sv)
4766
4767 PERL_CALLCONV void
4768 Perl_sv_sethek(pTHX_ SV * const sv, const HEK * const hek);
4769 #define PERL_ARGS_ASSERT_SV_SETHEK              \
4770         assert(sv)
4771
4772 PERL_CALLCONV void
4773 Perl_sv_setiv(pTHX_ SV * const sv, const IV num);
4774 #define PERL_ARGS_ASSERT_SV_SETIV               \
4775         assert(sv)
4776
4777 PERL_CALLCONV void
4778 Perl_sv_setiv_mg(pTHX_ SV * const sv, const IV i);
4779 #define PERL_ARGS_ASSERT_SV_SETIV_MG            \
4780         assert(sv)
4781
4782 PERL_CALLCONV void
4783 Perl_sv_setnv(pTHX_ SV * const sv, const NV num);
4784 #define PERL_ARGS_ASSERT_SV_SETNV               \
4785         assert(sv)
4786
4787 PERL_CALLCONV void
4788 Perl_sv_setnv_mg(pTHX_ SV * const sv, const NV num);
4789 #define PERL_ARGS_ASSERT_SV_SETNV_MG            \
4790         assert(sv)
4791
4792 PERL_CALLCONV void
4793 Perl_sv_setpv(pTHX_ SV * const sv, const char * const ptr);
4794 #define PERL_ARGS_ASSERT_SV_SETPV               \
4795         assert(sv)
4796
4797 PERL_CALLCONV char  *
4798 Perl_sv_setpv_bufsize(pTHX_ SV * const sv, const STRLEN cur, const STRLEN len);
4799 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE       \
4800         assert(sv)
4801
4802 PERL_CALLCONV void
4803 Perl_sv_setpv_mg(pTHX_ SV * const sv, const char * const ptr);
4804 #define PERL_ARGS_ASSERT_SV_SETPV_MG            \
4805         assert(sv)
4806
4807 PERL_CALLCONV void
4808 Perl_sv_setpvf(pTHX_ SV * const sv, const char * const pat, ...)
4809         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4810 #define PERL_ARGS_ASSERT_SV_SETPVF              \
4811         assert(sv); assert(pat)
4812
4813 PERL_CALLCONV void
4814 Perl_sv_setpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4815         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4816 #define PERL_ARGS_ASSERT_SV_SETPVF_MG           \
4817         assert(sv); assert(pat)
4818
4819 PERL_CALLCONV void
4820 Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4821 #define PERL_ARGS_ASSERT_SV_SETPVN              \
4822         assert(sv)
4823
4824 PERL_CALLCONV void
4825 Perl_sv_setpvn_fresh(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4826 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH        \
4827         assert(sv)
4828
4829 PERL_CALLCONV void
4830 Perl_sv_setpvn_mg(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4831 #define PERL_ARGS_ASSERT_SV_SETPVN_MG           \
4832         assert(sv); assert(ptr)
4833
4834 PERL_CALLCONV SV *
4835 Perl_sv_setref_iv(pTHX_ SV * const rv, const char * const classname, const IV iv);
4836 #define PERL_ARGS_ASSERT_SV_SETREF_IV           \
4837         assert(rv)
4838
4839 PERL_CALLCONV SV *
4840 Perl_sv_setref_nv(pTHX_ SV * const rv, const char * const classname, const NV nv);
4841 #define PERL_ARGS_ASSERT_SV_SETREF_NV           \
4842         assert(rv)
4843
4844 PERL_CALLCONV SV *
4845 Perl_sv_setref_pv(pTHX_ SV * const rv, const char * const classname, void * const pv);
4846 #define PERL_ARGS_ASSERT_SV_SETREF_PV           \
4847         assert(rv)
4848
4849 PERL_CALLCONV SV *
4850 Perl_sv_setref_pvn(pTHX_ SV * const rv, const char * const classname, const char * const pv, const STRLEN n);
4851 #define PERL_ARGS_ASSERT_SV_SETREF_PVN          \
4852         assert(rv); assert(pv)
4853
4854 PERL_CALLCONV SV *
4855 Perl_sv_setref_uv(pTHX_ SV * const rv, const char * const classname, const UV uv);
4856 #define PERL_ARGS_ASSERT_SV_SETREF_UV           \
4857         assert(rv)
4858
4859 PERL_CALLCONV void
4860 Perl_sv_setrv_inc(pTHX_ SV * const sv, SV * const ref);
4861 #define PERL_ARGS_ASSERT_SV_SETRV_INC           \
4862         assert(sv); assert(ref)
4863
4864 PERL_CALLCONV void
4865 Perl_sv_setrv_inc_mg(pTHX_ SV * const sv, SV * const ref);
4866 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG        \
4867         assert(sv); assert(ref)
4868
4869 PERL_CALLCONV void
4870 Perl_sv_setrv_noinc(pTHX_ SV * const sv, SV * const ref);
4871 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC         \
4872         assert(sv); assert(ref)
4873
4874 PERL_CALLCONV void
4875 Perl_sv_setrv_noinc_mg(pTHX_ SV * const sv, SV * const ref);
4876 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG      \
4877         assert(sv); assert(ref)
4878
4879 PERL_CALLCONV void
4880 Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4881 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS         \
4882         assert(dsv)
4883
4884 PERL_CALLCONV void
4885 Perl_sv_setsv_mg(pTHX_ SV * const dsv, SV * const ssv);
4886 #define PERL_ARGS_ASSERT_SV_SETSV_MG            \
4887         assert(dsv)
4888
4889 PERL_CALLCONV void
4890 Perl_sv_setuv(pTHX_ SV * const sv, const UV num);
4891 #define PERL_ARGS_ASSERT_SV_SETUV               \
4892         assert(sv)
4893
4894 PERL_CALLCONV void
4895 Perl_sv_setuv_mg(pTHX_ SV * const sv, const UV u);
4896 #define PERL_ARGS_ASSERT_SV_SETUV_MG            \
4897         assert(sv)
4898
4899 /* PERL_CALLCONV bool
4900 sv_streq(pTHX_ SV *sv1, SV *sv2); */
4901
4902 PERL_CALLCONV bool
4903 Perl_sv_streq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4904 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4905
4906 PERL_CALLCONV SV *
4907 Perl_sv_strftime_ints(pTHX_ SV *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst);
4908 #define PERL_ARGS_ASSERT_SV_STRFTIME_INTS       \
4909         assert(fmt)
4910
4911 PERL_CALLCONV SV *
4912 Perl_sv_strftime_tm(pTHX_ SV *fmt, const struct tm *mytm);
4913 #define PERL_ARGS_ASSERT_SV_STRFTIME_TM         \
4914         assert(fmt); assert(mytm)
4915
4916 PERL_CALLCONV SV *
4917 Perl_sv_string_from_errnum(pTHX_ int errnum, SV *tgtsv);
4918 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4919
4920 PERL_CALLCONV bool
4921 Perl_sv_tainted(pTHX_ SV * const sv)
4922         __attribute__warn_unused_result__;
4923 #define PERL_ARGS_ASSERT_SV_TAINTED             \
4924         assert(sv)
4925
4926 PERL_CALLCONV I32
4927 Perl_sv_true(pTHX_ SV * const sv);
4928 #define PERL_ARGS_ASSERT_SV_TRUE
4929
4930 PERL_CALLCONV char *
4931 Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4932         __attribute__warn_unused_result__;
4933 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY         \
4934         assert(dsv); assert(ssv)
4935
4936 PERL_CALLCONV int
4937 Perl_sv_unmagic(pTHX_ SV * const sv, const int type);
4938 #define PERL_ARGS_ASSERT_SV_UNMAGIC             \
4939         assert(sv)
4940
4941 PERL_CALLCONV int
4942 Perl_sv_unmagicext(pTHX_ SV * const sv, const int type, const MGVTBL *vtbl);
4943 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT          \
4944         assert(sv)
4945
4946 PERL_CALLCONV void
4947 Perl_sv_unref_flags(pTHX_ SV * const ref, const U32 flags);
4948 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS         \
4949         assert(ref)
4950
4951 PERL_CALLCONV void
4952 Perl_sv_untaint(pTHX_ SV * const sv);
4953 #define PERL_ARGS_ASSERT_SV_UNTAINT             \
4954         assert(sv)
4955
4956 PERL_CALLCONV void
4957 Perl_sv_upgrade(pTHX_ SV * const sv, svtype new_type);
4958 #define PERL_ARGS_ASSERT_SV_UPGRADE             \
4959         assert(sv)
4960
4961 PERL_CALLCONV void
4962 Perl_sv_usepvn_flags(pTHX_ SV * const sv, char *ptr, const STRLEN len, const U32 flags);
4963 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
4964         assert(sv)
4965
4966 PERL_CALLCONV bool
4967 Perl_sv_utf8_decode(pTHX_ SV * const sv);
4968 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE         \
4969         assert(sv)
4970
4971 PERL_CALLCONV bool
4972 Perl_sv_utf8_downgrade_flags(pTHX_ SV * const sv, const bool fail_ok, const U32 flags);
4973 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS \
4974         assert(sv)
4975
4976 /* PERL_CALLCONV bool
4977 sv_utf8_downgrade_nomg(pTHX_ SV * const sv, const bool fail_ok); */
4978
4979 PERL_CALLCONV void
4980 Perl_sv_utf8_encode(pTHX_ SV * const sv);
4981 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE         \
4982         assert(sv)
4983
4984 /* PERL_CALLCONV STRLEN
4985 sv_utf8_upgrade_flags(pTHX_ SV * const sv, const I32 flags); */
4986
4987 PERL_CALLCONV STRLEN
4988 Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV * const sv, const I32 flags, STRLEN extra);
4989 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \
4990         assert(sv)
4991
4992 /* PERL_CALLCONV STRLEN
4993 sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4994
4995 PERL_CALLCONV void
4996 Perl_sv_vcatpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
4997 #define PERL_ARGS_ASSERT_SV_VCATPVF             \
4998         assert(sv); assert(pat)
4999
5000 PERL_CALLCONV void
5001 Perl_sv_vcatpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5002 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG          \
5003         assert(sv); assert(pat)
5004
5005 PERL_CALLCONV void
5006 Perl_sv_vcatpvfn(pTHX_ SV * const sv, const char * const pat, const STRLEN patlen, va_list * const args, SV ** const svargs, const Size_t sv_count, bool * const maybe_tainted);
5007 #define PERL_ARGS_ASSERT_SV_VCATPVFN            \
5008         assert(sv); assert(pat)
5009
5010 PERL_CALLCONV void
5011 Perl_sv_vcatpvfn_flags(pTHX_ SV * const sv, const char * const pat, const STRLEN patlen, va_list * const args, SV ** const svargs, const Size_t sv_count, bool * const maybe_tainted, const U32 flags);
5012 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
5013         assert(sv); assert(pat)
5014
5015 PERL_CALLCONV void
5016 Perl_sv_vsetpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5017 #define PERL_ARGS_ASSERT_SV_VSETPVF             \
5018         assert(sv); assert(pat)
5019
5020 PERL_CALLCONV void
5021 Perl_sv_vsetpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5022 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG          \
5023         assert(sv); assert(pat)
5024
5025 PERL_CALLCONV void
5026 Perl_sv_vsetpvfn(pTHX_ SV * const sv, const char * const pat, const STRLEN patlen, va_list * const args, SV ** const svargs, const Size_t sv_count, bool * const maybe_tainted);
5027 #define PERL_ARGS_ASSERT_SV_VSETPVFN            \
5028         assert(sv); assert(pat)
5029
5030 PERL_CALLCONV void
5031 Perl_switch_to_global_locale(pTHX);
5032 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
5033
5034 PERL_CALLCONV bool
5035 Perl_sync_locale(pTHX);
5036 #define PERL_ARGS_ASSERT_SYNC_LOCALE
5037
5038 PERL_CALLCONV void
5039 Perl_sys_init(int *argc, char ***argv);
5040 #define PERL_ARGS_ASSERT_SYS_INIT               \
5041         assert(argc); assert(argv)
5042
5043 PERL_CALLCONV void
5044 Perl_sys_init3(int *argc, char ***argv, char ***env);
5045 #define PERL_ARGS_ASSERT_SYS_INIT3              \
5046         assert(argc); assert(argv); assert(env)
5047
5048 PERL_CALLCONV void
5049 Perl_sys_term(void);
5050 #define PERL_ARGS_ASSERT_SYS_TERM
5051
5052 PERL_CALLCONV void
5053 Perl_taint_env(pTHX);
5054 #define PERL_ARGS_ASSERT_TAINT_ENV
5055
5056 PERL_CALLCONV void
5057 Perl_taint_proper(pTHX_ const char *f, const char * const s);
5058 #define PERL_ARGS_ASSERT_TAINT_PROPER           \
5059         assert(s)
5060
5061 PERL_CALLCONV void
5062 Perl_thread_locale_init(pTHX);
5063 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
5064
5065 PERL_CALLCONV void
5066 Perl_thread_locale_term(pTHX);
5067 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
5068
5069 PERL_CALLCONV OP *
5070 Perl_tied_method(pTHX_ SV *methname, SV **mark, SV * const sv, const MAGIC * const mg, const U32 flags, U32 argc, ...)
5071         __attribute__visibility__("hidden");
5072 #define PERL_ARGS_ASSERT_TIED_METHOD            \
5073         assert(methname); assert(mark); assert(sv); assert(mg)
5074
5075 PERL_CALLCONV SSize_t
5076 Perl_tmps_grow_p(pTHX_ SSize_t ix);
5077 #define PERL_ARGS_ASSERT_TMPS_GROW_P
5078
5079 /* PERL_CALLCONV UV
5080 to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
5081
5082 PERL_CALLCONV UV
5083 Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
5084 #define PERL_ARGS_ASSERT_TO_UNI_LOWER           \
5085         assert(p); assert(lenp)
5086
5087 PERL_CALLCONV UV
5088 Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
5089 #define PERL_ARGS_ASSERT_TO_UNI_TITLE           \
5090         assert(p); assert(lenp)
5091
5092 PERL_CALLCONV UV
5093 Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
5094 #define PERL_ARGS_ASSERT_TO_UNI_UPPER           \
5095         assert(p); assert(lenp)
5096
5097 PERL_CALLCONV bool
5098 Perl_try_amagic_bin(pTHX_ int method, int flags);
5099 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
5100
5101 PERL_CALLCONV bool
5102 Perl_try_amagic_un(pTHX_ int method, int flags);
5103 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
5104
5105 PERL_CALLCONV SSize_t
5106 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
5107 #define PERL_ARGS_ASSERT_UNPACKSTRING           \
5108         assert(pat); assert(patend); assert(s); assert(strend)
5109
5110 PERL_CALLCONV void
5111 Perl_unshare_hek(pTHX_ HEK *hek);
5112 #define PERL_ARGS_ASSERT_UNSHARE_HEK
5113
5114 PERL_CALLCONV void
5115 Perl_unsharepvn(pTHX_ const char *sv, I32 len, U32 hash);
5116 #define PERL_ARGS_ASSERT_UNSHAREPVN
5117
5118 PERL_CALLCONV SV *
5119 Perl_upg_version(pTHX_ SV *ver, bool qv);
5120 #define PERL_ARGS_ASSERT_UPG_VERSION            \
5121         assert(ver)
5122
5123 PERL_CALLCONV U8 *
5124 Perl_utf16_to_utf8(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5125 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8          \
5126         assert(p); assert(d); assert(newlen)
5127
5128 PERL_CALLCONV U8 *
5129 Perl_utf16_to_utf8_base(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5130 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE     \
5131         assert(p); assert(d); assert(newlen)
5132
5133 PERL_CALLCONV U8 *
5134 Perl_utf16_to_utf8_reversed(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5135 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
5136         assert(p); assert(d); assert(newlen)
5137
5138 PERL_CALLCONV STRLEN
5139 Perl_utf8_length(pTHX_ const U8 *s0, const U8 *e)
5140         __attribute__warn_unused_result__;
5141 #define PERL_ARGS_ASSERT_UTF8_LENGTH            \
5142         assert(s0); assert(e)
5143
5144 PERL_CALLCONV U8 *
5145 Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
5146 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES          \
5147         assert(s); assert(lenp)
5148
5149 PERL_CALLCONV U8 *
5150 Perl_utf8_to_utf16_base(pTHX_ U8 *s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5151 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE     \
5152         assert(s); assert(d); assert(newlen)
5153
5154 PERL_CALLCONV UV
5155 Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
5156 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF      \
5157         assert(s); assert(send)
5158
5159 PERL_CALLCONV UV
5160 Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
5161 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR         \
5162         assert(s)
5163
5164 PERL_CALLCONV UV
5165 Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors);
5166 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR   \
5167         assert(s)
5168
5169 PERL_CALLCONV void
5170 Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg)
5171         __attribute__visibility__("hidden");
5172 #define PERL_ARGS_ASSERT_UTILIZE                \
5173         assert(idop)
5174
5175 /* PERL_CALLCONV U8 *
5176 uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
5177
5178 /* PERL_CALLCONV U8 *
5179 uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
5180
5181 /* PERL_CALLCONV U8 *
5182 uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV **msgs); */
5183
5184 PERL_CALLCONV U8 *
5185 Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
5186 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
5187         assert(d)
5188
5189 PERL_CALLCONV U8 *
5190 Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV **msgs);
5191 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
5192         assert(d)
5193
5194 PERL_CALLCONV bool
5195 Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
5196 #define PERL_ARGS_ASSERT_VALIDATE_PROTO         \
5197         assert(name)
5198
5199 PERL_CALLCONV int
5200 Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
5201 #define PERL_ARGS_ASSERT_VCMP                   \
5202         assert(lhv); assert(rhv)
5203
5204 PERL_CALLCONV_NO_RET void
5205 Perl_vcroak(pTHX_ const char *pat, va_list *args)
5206         __attribute__noreturn__;
5207 #define PERL_ARGS_ASSERT_VCROAK
5208
5209 PERL_CALLCONV void
5210 Perl_vdeb(pTHX_ const char *pat, va_list *args);
5211 #define PERL_ARGS_ASSERT_VDEB                   \
5212         assert(pat)
5213
5214 PERL_CALLCONV void
5215 Perl_vfatal_warner(pTHX_ U32 err, const char *pat, va_list *args);
5216 #define PERL_ARGS_ASSERT_VFATAL_WARNER          \
5217         assert(pat)
5218
5219 PERL_CALLCONV char *
5220 Perl_vform(pTHX_ const char *pat, va_list *args);
5221 #define PERL_ARGS_ASSERT_VFORM                  \
5222         assert(pat)
5223
5224 PERL_CALLCONV void
5225 Perl_vivify_defelem(pTHX_ SV *sv);
5226 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM         \
5227         assert(sv)
5228
5229 PERL_CALLCONV SV *
5230 Perl_vivify_ref(pTHX_ SV *sv, U32 to_what)
5231         __attribute__warn_unused_result__
5232         __attribute__visibility__("hidden");
5233 #define PERL_ARGS_ASSERT_VIVIFY_REF             \
5234         assert(sv)
5235
5236 PERL_CALLCONV void
5237 Perl_vload_module(pTHX_ U32 flags, SV *name, SV *ver, va_list *args);
5238 #define PERL_ARGS_ASSERT_VLOAD_MODULE           \
5239         assert(name)
5240
5241 PERL_CALLCONV SV *
5242 Perl_vmess(pTHX_ const char *pat, va_list *args);
5243 #define PERL_ARGS_ASSERT_VMESS                  \
5244         assert(pat)
5245
5246 PERL_CALLCONV SV *
5247 Perl_vnewSVpvf(pTHX_ const char * const pat, va_list * const args)
5248         __attribute__warn_unused_result__;
5249 #define PERL_ARGS_ASSERT_VNEWSVPVF              \
5250         assert(pat)
5251
5252 PERL_CALLCONV SV *
5253 Perl_vnormal(pTHX_ SV *vs);
5254 #define PERL_ARGS_ASSERT_VNORMAL                \
5255         assert(vs)
5256
5257 PERL_CALLCONV SV *
5258 Perl_vnumify(pTHX_ SV *vs);
5259 #define PERL_ARGS_ASSERT_VNUMIFY                \
5260         assert(vs)
5261
5262 PERL_CALLCONV SV *
5263 Perl_vstringify(pTHX_ SV *vs);
5264 #define PERL_ARGS_ASSERT_VSTRINGIFY             \
5265         assert(vs)
5266
5267 PERL_CALLCONV SV *
5268 Perl_vverify(pTHX_ SV *vs);
5269 #define PERL_ARGS_ASSERT_VVERIFY                \
5270         assert(vs)
5271
5272 PERL_CALLCONV void
5273 Perl_vwarn(pTHX_ const char *pat, va_list *args);
5274 #define PERL_ARGS_ASSERT_VWARN                  \
5275         assert(pat)
5276
5277 PERL_CALLCONV void
5278 Perl_vwarner(pTHX_ U32 err, const char *pat, va_list *args);
5279 #define PERL_ARGS_ASSERT_VWARNER                \
5280         assert(pat)
5281
5282 PERL_CALLCONV I32
5283 Perl_wait4pid(pTHX_ Pid_t pid, int *statusp, int flags)
5284         __attribute__visibility__("hidden");
5285 #define PERL_ARGS_ASSERT_WAIT4PID               \
5286         assert(statusp)
5287
5288 PERL_CALLCONV void
5289 Perl_warn(pTHX_ const char *pat, ...)
5290         __attribute__format__(__printf__,pTHX_1,pTHX_2);
5291 #define PERL_ARGS_ASSERT_WARN                   \
5292         assert(pat)
5293
5294 PERL_CALLCONV void
5295 Perl_warn_sv(pTHX_ SV *baseex);
5296 #define PERL_ARGS_ASSERT_WARN_SV                \
5297         assert(baseex)
5298
5299 PERL_CALLCONV void
5300 Perl_warner(pTHX_ U32 err, const char *pat, ...)
5301         __attribute__format__(__printf__,pTHX_2,pTHX_3);
5302 #define PERL_ARGS_ASSERT_WARNER                 \
5303         assert(pat)
5304
5305 PERL_CALLCONV I32
5306 Perl_was_lvalue_sub(pTHX)
5307         __attribute__warn_unused_result__;
5308 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
5309
5310 PERL_CALLCONV void
5311 Perl_watch(pTHX_ char **addr)
5312         __attribute__visibility__("hidden");
5313 #define PERL_ARGS_ASSERT_WATCH                  \
5314         assert(addr)
5315
5316 /* PERL_CALLCONV I32
5317 whichsig(pTHX_ const char *sig); */
5318
5319 PERL_CALLCONV I32
5320 Perl_whichsig_pv(pTHX_ const char *sig);
5321 #define PERL_ARGS_ASSERT_WHICHSIG_PV            \
5322         assert(sig)
5323
5324 PERL_CALLCONV I32
5325 Perl_whichsig_pvn(pTHX_ const char *sig, STRLEN len);
5326 #define PERL_ARGS_ASSERT_WHICHSIG_PVN           \
5327         assert(sig)
5328
5329 PERL_CALLCONV I32
5330 Perl_whichsig_sv(pTHX_ SV *sigsv);
5331 #define PERL_ARGS_ASSERT_WHICHSIG_SV            \
5332         assert(sigsv)
5333
5334 PERL_CALLCONV void
5335 Perl_wrap_infix_plugin(pTHX_ Perl_infix_plugin_t new_plugin, Perl_infix_plugin_t *old_plugin_p);
5336 #define PERL_ARGS_ASSERT_WRAP_INFIX_PLUGIN      \
5337         assert(new_plugin); assert(old_plugin_p)
5338
5339 PERL_CALLCONV void
5340 Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
5341 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN    \
5342         assert(new_plugin); assert(old_plugin_p)
5343
5344 PERL_CALLCONV void
5345 Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
5346 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
5347         assert(new_checker); assert(old_checker_p)
5348
5349 PERL_CALLCONV void
5350 Perl_write_to_stderr(pTHX_ SV *msv)
5351         __attribute__visibility__("hidden");
5352 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
5353         assert(msv)
5354
5355 PERL_CALLCONV void
5356 Perl_xs_boot_epilog(pTHX_ const SSize_t ax);
5357 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
5358
5359 PERL_CALLCONV Stack_off_t
5360 Perl_xs_handshake(const U32 key, void *v_my_perl, const char *file, ...);
5361 #define PERL_ARGS_ASSERT_XS_HANDSHAKE           \
5362         assert(v_my_perl); assert(file)
5363
5364 PERL_CALLCONV int
5365 Perl_yyerror(pTHX_ const char * const s)
5366         __attribute__visibility__("hidden");
5367 #define PERL_ARGS_ASSERT_YYERROR                \
5368         assert(s)
5369
5370 PERL_CALLCONV int
5371 Perl_yyerror_pv(pTHX_ const char * const s, U32 flags)
5372         __attribute__visibility__("hidden");
5373 #define PERL_ARGS_ASSERT_YYERROR_PV             \
5374         assert(s)
5375
5376 PERL_CALLCONV int
5377 Perl_yyerror_pvn(pTHX_ const char * const s, STRLEN len, U32 flags)
5378         __attribute__visibility__("hidden");
5379 #define PERL_ARGS_ASSERT_YYERROR_PVN
5380
5381 PERL_CALLCONV int
5382 Perl_yylex(pTHX);
5383 #define PERL_ARGS_ASSERT_YYLEX
5384
5385 PERL_CALLCONV int
5386 Perl_yyparse(pTHX_ int gramtype)
5387         __attribute__visibility__("hidden");
5388 #define PERL_ARGS_ASSERT_YYPARSE
5389
5390 PERL_CALLCONV void
5391 Perl_yyquit(pTHX)
5392         __attribute__visibility__("hidden");
5393 #define PERL_ARGS_ASSERT_YYQUIT
5394
5395 PERL_CALLCONV void
5396 Perl_yyunlex(pTHX)
5397         __attribute__visibility__("hidden");
5398 #define PERL_ARGS_ASSERT_YYUNLEX
5399
5400 #if defined(DEBUGGING)
5401 PERL_CALLCONV int
5402 Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5403         __attribute__warn_unused_result__
5404         __attribute__visibility__("hidden");
5405 # define PERL_ARGS_ASSERT_GET_DEBUG_OPTS        \
5406         assert(s)
5407
5408 PERL_CALLCONV void
5409 Perl_hv_assert(pTHX_ HV *hv);
5410 # define PERL_ARGS_ASSERT_HV_ASSERT             \
5411         assert(hv)
5412
5413 PERL_CALLCONV void
5414 Perl_pad_setsv(pTHX_ PADOFFSET po, SV *sv);
5415 # define PERL_ARGS_ASSERT_PAD_SETSV             \
5416         assert(sv)
5417
5418 PERL_CALLCONV SV *
5419 Perl_pad_sv(pTHX_ PADOFFSET po);
5420 # define PERL_ARGS_ASSERT_PAD_SV
5421
5422 PERL_CALLCONV void
5423 Perl_set_padlist(CV *cv, PADLIST *padlist);
5424 # define PERL_ARGS_ASSERT_SET_PADLIST           \
5425         assert(cv)
5426
5427 #endif /* defined(DEBUGGING) */
5428 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5429 PERL_CALLCONV void
5430 Perl_dump_sv_child(pTHX_ SV *sv)
5431         __attribute__visibility__("hidden");
5432 # define PERL_ARGS_ASSERT_DUMP_SV_CHILD         \
5433         assert(sv)
5434
5435 #endif
5436 #if !defined(EBCDIC)
5437
5438 # if !defined(PERL_NO_INLINE_FUNCTIONS)
5439 PERL_STATIC_INLINE unsigned int
5440 Perl_variant_byte_number(PERL_UINTMAX_T word)
5441         __attribute__warn_unused_result__;
5442 #   define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
5443
5444 # endif
5445 #endif
5446 #if defined(F_FREESP) && !defined(HAS_CHSIZE) && !defined(HAS_TRUNCATE)
5447 PERL_CALLCONV I32
5448 Perl_my_chsize(pTHX_ int fd, Off_t length)
5449         __attribute__warn_unused_result__;
5450 # define PERL_ARGS_ASSERT_MY_CHSIZE
5451
5452 #endif
5453 #if !defined(HAS_GETENV_LEN)
5454 PERL_CALLCONV char *
5455 Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
5456         __attribute__visibility__("hidden");
5457 # define PERL_ARGS_ASSERT_GETENV_LEN            \
5458         assert(env_elem); assert(len)
5459
5460 #endif
5461 #if !defined(HAS_MKOSTEMP)
5462 PERL_CALLCONV int
5463 Perl_my_mkostemp(char *templte, int flags)
5464         __attribute__visibility__("hidden");
5465 # define PERL_ARGS_ASSERT_MY_MKOSTEMP           \
5466         assert(templte)
5467
5468 #endif
5469 #if !defined(HAS_MKSTEMP)
5470 PERL_CALLCONV int
5471 Perl_my_mkstemp(char *templte)
5472         __attribute__visibility__("hidden");
5473 # define PERL_ARGS_ASSERT_MY_MKSTEMP            \
5474         assert(templte)
5475
5476 #endif
5477 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5478 PERL_CALLCONV I32
5479 Perl_do_ipcctl(pTHX_ I32 optype, SV **mark, SV **sp)
5480         __attribute__visibility__("hidden");
5481 # define PERL_ARGS_ASSERT_DO_IPCCTL             \
5482         assert(mark); assert(sp)
5483
5484 PERL_CALLCONV I32
5485 Perl_do_ipcget(pTHX_ I32 optype, SV **mark, SV **sp)
5486         __attribute__visibility__("hidden");
5487 # define PERL_ARGS_ASSERT_DO_IPCGET             \
5488         assert(mark); assert(sp)
5489
5490 PERL_CALLCONV SSize_t
5491 Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
5492         __attribute__visibility__("hidden");
5493 # define PERL_ARGS_ASSERT_DO_MSGRCV             \
5494         assert(mark); assert(sp)
5495
5496 PERL_CALLCONV I32
5497 Perl_do_msgsnd(pTHX_ SV **mark, SV **sp)
5498         __attribute__visibility__("hidden");
5499 # define PERL_ARGS_ASSERT_DO_MSGSND             \
5500         assert(mark); assert(sp)
5501
5502 PERL_CALLCONV I32
5503 Perl_do_semop(pTHX_ SV **mark, SV **sp)
5504         __attribute__visibility__("hidden");
5505 # define PERL_ARGS_ASSERT_DO_SEMOP              \
5506         assert(mark); assert(sp)
5507
5508 PERL_CALLCONV I32
5509 Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp)
5510         __attribute__visibility__("hidden");
5511 # define PERL_ARGS_ASSERT_DO_SHMIO              \
5512         assert(mark); assert(sp)
5513
5514 #endif /* defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) */
5515 #if defined(HAS_PIPE)
5516 PERL_CALLCONV int
5517 Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5518         __attribute__warn_unused_result__
5519         __attribute__visibility__("hidden");
5520 # define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC \
5521         assert(pipefd)
5522
5523 #endif
5524 #if !defined(HAS_RENAME)
5525 PERL_CALLCONV I32
5526 Perl_same_dirent(pTHX_ const char *a, const char *b)
5527         __attribute__visibility__("hidden");
5528 # define PERL_ARGS_ASSERT_SAME_DIRENT           \
5529         assert(a); assert(b)
5530
5531 #endif
5532 #if !defined(HAS_SIGNBIT)
5533 PERL_CALLCONV int
5534 Perl_signbit(NV f)
5535         __attribute__warn_unused_result__
5536         __attribute__pure__;
5537 # define PERL_ARGS_ASSERT_PERL_SIGNBIT
5538
5539 #endif
5540 #if defined(HAS_SOCKET)
5541 PERL_CALLCONV int
5542 Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5543         __attribute__warn_unused_result__
5544         __attribute__visibility__("hidden");
5545 # define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5546
5547 PERL_CALLCONV int
5548 Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5549         __attribute__warn_unused_result__
5550         __attribute__visibility__("hidden");
5551 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5552
5553 #endif /* defined(HAS_SOCKET) */
5554 #if   defined(HAS_SOCKETPAIR) ||                                     \
5555     ( defined(AF_INET) && defined(HAS_SOCKET) && defined(PF_INET) && \
5556       defined(SOCK_DGRAM) )
5557 PERL_CALLCONV int
5558 Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5559         __attribute__warn_unused_result__
5560         __attribute__visibility__("hidden");
5561 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC \
5562         assert(pairfd)
5563
5564 #endif
5565 #if !defined(HAS_STRLCPY)
5566 STATIC Size_t
5567 Perl_my_strlcpy(char *dst, const char *src, Size_t size);
5568 # define PERL_ARGS_ASSERT_MY_STRLCPY
5569
5570 #endif
5571 #if defined(HAVE_INTERP_INTERN)
5572 PERL_CALLCONV void
5573 Perl_sys_intern_clear(pTHX);
5574 # define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5575
5576 PERL_CALLCONV void
5577 Perl_sys_intern_init(pTHX);
5578 # define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5579
5580 # if defined(USE_ITHREADS)
5581 PERL_CALLCONV void
5582 Perl_sys_intern_dup(pTHX_ struct interp_intern *src, struct interp_intern *dst);
5583 #   define PERL_ARGS_ASSERT_SYS_INTERN_DUP      \
5584         assert(src); assert(dst)
5585
5586 # endif
5587 #endif /* defined(HAVE_INTERP_INTERN) */
5588 #if defined(_MSC_VER)
5589 PERL_CALLCONV int
5590 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5591         __attribute__visibility__("hidden");
5592 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET    \
5593         assert(sv); assert(mg)
5594
5595 #else
5596 PERL_CALLCONV_NO_RET int
5597 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5598         __attribute__noreturn__
5599         __attribute__visibility__("hidden");
5600 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET    \
5601         assert(sv); assert(mg)
5602
5603 #endif
5604 #if defined(MULTIPLICITY)
5605 PERL_CALLCONV_NO_RET void
5606 Perl_croak_nocontext(const char *pat, ...)
5607         __attribute__noreturn__
5608         __attribute__format__null_ok__(__printf__,1,2);
5609 # define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5610
5611 PERL_CALLCONV void
5612 Perl_deb_nocontext(const char *pat, ...)
5613         __attribute__format__(__printf__,1,2);
5614 # define PERL_ARGS_ASSERT_DEB_NOCONTEXT         \
5615         assert(pat)
5616
5617 PERL_CALLCONV_NO_RET OP *
5618 Perl_die_nocontext(const char *pat, ...)
5619         __attribute__noreturn__
5620         __attribute__format__null_ok__(__printf__,1,2);
5621 # define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5622
5623 PERL_CALLCONV char *
5624 Perl_form_nocontext(const char *pat, ...)
5625         __attribute__format__(__printf__,1,2);
5626 # define PERL_ARGS_ASSERT_FORM_NOCONTEXT        \
5627         assert(pat)
5628
5629 PERL_CALLCONV void
5630 Perl_load_module_nocontext(U32 flags, SV *name, SV *ver, ...);
5631 # define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
5632         assert(name)
5633
5634 PERL_CALLCONV SV *
5635 Perl_mess_nocontext(const char *pat, ...)
5636         __attribute__format__(__printf__,1,2);
5637 # define PERL_ARGS_ASSERT_MESS_NOCONTEXT        \
5638         assert(pat)
5639
5640 PERL_CALLCONV void *
5641 Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5642 # define PERL_ARGS_ASSERT_MY_CXT_INIT           \
5643         assert(indexp)
5644
5645 PERL_CALLCONV SV *
5646 Perl_newSVpvf_nocontext(const char * const pat, ...)
5647         __attribute__format__(__printf__,1,2);
5648 # define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT    \
5649         assert(pat)
5650
5651 PERL_CALLCONV void
5652 Perl_sv_catpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5653         __attribute__format__(__printf__,2,3);
5654 # define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5655         assert(sv); assert(pat)
5656
5657 PERL_CALLCONV void
5658 Perl_sv_catpvf_nocontext(SV * const sv, const char * const pat, ...)
5659         __attribute__format__(__printf__,2,3);
5660 # define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT   \
5661         assert(sv); assert(pat)
5662
5663 PERL_CALLCONV void
5664 Perl_sv_setpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5665         __attribute__format__(__printf__,2,3);
5666 # define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5667         assert(sv); assert(pat)
5668
5669 PERL_CALLCONV void
5670 Perl_sv_setpvf_nocontext(SV * const sv, const char * const pat, ...)
5671         __attribute__format__(__printf__,2,3);
5672 # define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT   \
5673         assert(sv); assert(pat)
5674
5675 PERL_CALLCONV void
5676 Perl_warn_nocontext(const char *pat, ...)
5677         __attribute__format__(__printf__,1,2);
5678 # define PERL_ARGS_ASSERT_WARN_NOCONTEXT        \
5679         assert(pat)
5680
5681 PERL_CALLCONV void
5682 Perl_warner_nocontext(U32 err, const char *pat, ...)
5683         __attribute__format__(__printf__,2,3);
5684 # define PERL_ARGS_ASSERT_WARNER_NOCONTEXT      \
5685         assert(pat)
5686
5687 #endif /* defined(MULTIPLICITY) */
5688 #if defined(MYMALLOC)
5689 PERL_CALLCONV void
5690 Perl_dump_mstats(pTHX_ const char *s);
5691 # define PERL_ARGS_ASSERT_DUMP_MSTATS           \
5692         assert(s)
5693
5694 PERL_CALLCONV int
5695 Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5696 # define PERL_ARGS_ASSERT_GET_MSTATS            \
5697         assert(buf)
5698
5699 PERL_CALLCONV MEM_SIZE
5700 Perl_malloc_good_size(size_t nbytes)
5701         __attribute__warn_unused_result__
5702         __attribute__visibility__("hidden");
5703 # define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5704
5705 PERL_CALLCONV MEM_SIZE
5706 Perl_malloced_size(void *p)
5707         __attribute__warn_unused_result__
5708         __attribute__visibility__("hidden");
5709 # define PERL_ARGS_ASSERT_MALLOCED_SIZE         \
5710         assert(p)
5711
5712 #endif /* defined(MYMALLOC) */
5713 #if !defined(NO_MATHOMS)
5714 PERL_CALLCONV bool
5715 Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp);
5716 # define PERL_ARGS_ASSERT_DO_AEXEC              \
5717         assert(mark); assert(sp)
5718
5719 PERL_CALLCONV bool
5720 Perl_do_open(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp);
5721 # define PERL_ARGS_ASSERT_DO_OPEN               \
5722         assert(gv); assert(name)
5723
5724 PERL_CALLCONV GV *
5725 Perl_gv_AVadd(pTHX_ GV *gv);
5726 # define PERL_ARGS_ASSERT_GV_AVADD
5727
5728 PERL_CALLCONV GV *
5729 Perl_gv_HVadd(pTHX_ GV *gv);
5730 # define PERL_ARGS_ASSERT_GV_HVADD
5731
5732 PERL_CALLCONV GV *
5733 Perl_gv_IOadd(pTHX_ GV *gv);
5734 # define PERL_ARGS_ASSERT_GV_IOADD
5735
5736 PERL_CALLCONV void
5737 Perl_gv_efullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5738 # define PERL_ARGS_ASSERT_GV_EFULLNAME3         \
5739         assert(sv); assert(gv)
5740
5741 PERL_CALLCONV GV *
5742 Perl_gv_fetchmethod(pTHX_ HV *stash, const char *name);
5743 # define PERL_ARGS_ASSERT_GV_FETCHMETHOD        \
5744         assert(stash); assert(name)
5745
5746 PERL_CALLCONV void
5747 Perl_gv_fullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5748 # define PERL_ARGS_ASSERT_GV_FULLNAME3          \
5749         assert(sv); assert(gv)
5750
5751 PERL_CALLCONV SV *
5752 Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
5753 # define PERL_ARGS_ASSERT_HV_DELETE             \
5754         assert(key)
5755
5756 PERL_CALLCONV SV *
5757 Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
5758 # define PERL_ARGS_ASSERT_HV_DELETE_ENT         \
5759         assert(keysv)
5760
5761 PERL_CALLCONV bool
5762 Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
5763         __attribute__warn_unused_result__;
5764 # define PERL_ARGS_ASSERT_HV_EXISTS             \
5765         assert(key)
5766
5767 PERL_CALLCONV bool
5768 Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
5769         __attribute__warn_unused_result__;
5770 # define PERL_ARGS_ASSERT_HV_EXISTS_ENT         \
5771         assert(keysv)
5772
5773 PERL_CALLCONV SV **
5774 Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
5775 # define PERL_ARGS_ASSERT_HV_FETCH              \
5776         assert(key)
5777
5778 PERL_CALLCONV HE *
5779 Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
5780 # define PERL_ARGS_ASSERT_HV_FETCH_ENT          \
5781         assert(keysv)
5782
5783 PERL_CALLCONV HE *
5784 Perl_hv_iternext(pTHX_ HV *hv)
5785         __attribute__warn_unused_result__;
5786 # define PERL_ARGS_ASSERT_HV_ITERNEXT           \
5787         assert(hv)
5788
5789 PERL_CALLCONV void
5790 Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
5791 # define PERL_ARGS_ASSERT_HV_MAGIC              \
5792         assert(hv)
5793
5794 PERL_CALLCONV SV **
5795 Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
5796 # define PERL_ARGS_ASSERT_HV_STORE
5797
5798 PERL_CALLCONV HE *
5799 Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
5800 # define PERL_ARGS_ASSERT_HV_STORE_ENT
5801
5802 PERL_CALLCONV SV **
5803 Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
5804 # define PERL_ARGS_ASSERT_HV_STORE_FLAGS
5805
5806 PERL_CALLCONV char *
5807 Perl_instr(const char *big, const char *little)
5808         __attribute__warn_unused_result__
5809         __attribute__pure__;
5810 # define PERL_ARGS_ASSERT_INSTR                 \
5811         assert(big); assert(little)
5812
5813 PERL_CALLCONV STRLEN
5814 Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
5815 # define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF      \
5816         assert(buf); assert(buf_end)
5817
5818 PERL_CALLCONV bool
5819 Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
5820 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC    \
5821         assert(s); assert(ep)
5822
5823 PERL_CALLCONV AV *
5824 Perl_newAV(pTHX)
5825         __attribute__warn_unused_result__;
5826 # define PERL_ARGS_ASSERT_NEWAV
5827
5828 PERL_CALLCONV HV *
5829 Perl_newHV(pTHX)
5830         __attribute__warn_unused_result__;
5831 # define PERL_ARGS_ASSERT_NEWHV
5832
5833 PERL_CALLCONV IO *
5834 Perl_newIO(pTHX)
5835         __attribute__warn_unused_result__;
5836 # define PERL_ARGS_ASSERT_NEWIO
5837
5838 PERL_CALLCONV CV *
5839 Perl_newSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *block);
5840 # define PERL_ARGS_ASSERT_NEWSUB
5841
5842 PERL_CALLCONV SV *
5843 Perl_newSVsv(pTHX_ SV * const old)
5844         __attribute__warn_unused_result__;
5845 # define PERL_ARGS_ASSERT_NEWSVSV
5846
5847 PERL_CALLCONV void
5848 Perl_save_freeop(pTHX_ OP *o);
5849 # define PERL_ARGS_ASSERT_SAVE_FREEOP
5850
5851 PERL_CALLCONV void
5852 Perl_save_freepv(pTHX_ char *pv);
5853 # define PERL_ARGS_ASSERT_SAVE_FREEPV
5854
5855 PERL_CALLCONV void
5856 Perl_save_freesv(pTHX_ SV *sv);
5857 # define PERL_ARGS_ASSERT_SAVE_FREESV
5858
5859 PERL_CALLCONV void
5860 Perl_save_mortalizesv(pTHX_ SV *sv);
5861 # define PERL_ARGS_ASSERT_SAVE_MORTALIZESV      \
5862         assert(sv)
5863
5864 PERL_CALLCONV void
5865 Perl_save_op(pTHX);
5866 # define PERL_ARGS_ASSERT_SAVE_OP
5867
5868 PERL_CALLCONV bool
5869 Perl_sv_2bool(pTHX_ SV * const sv);
5870 # define PERL_ARGS_ASSERT_SV_2BOOL              \
5871         assert(sv)
5872
5873 PERL_CALLCONV IV
5874 Perl_sv_2iv(pTHX_ SV *sv);
5875 # define PERL_ARGS_ASSERT_SV_2IV                \
5876         assert(sv)
5877
5878 PERL_CALLCONV char *
5879 Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
5880 # define PERL_ARGS_ASSERT_SV_2PV                \
5881         assert(sv)
5882
5883 PERL_CALLCONV char *
5884 Perl_sv_2pv_nolen(pTHX_ SV *sv)
5885         __attribute__warn_unused_result__;
5886 # define PERL_ARGS_ASSERT_SV_2PV_NOLEN          \
5887         assert(sv)
5888
5889 PERL_CALLCONV char *
5890 Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN * const lp);
5891 # define PERL_ARGS_ASSERT_SV_2PVBYTE            \
5892         assert(sv)
5893
5894 PERL_CALLCONV char *
5895 Perl_sv_2pvbyte_nolen(pTHX_ SV *sv)
5896         __attribute__warn_unused_result__;
5897 # define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN      \
5898         assert(sv)
5899
5900 PERL_CALLCONV char *
5901 Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN * const lp);
5902 # define PERL_ARGS_ASSERT_SV_2PVUTF8            \
5903         assert(sv)
5904
5905 PERL_CALLCONV char *
5906 Perl_sv_2pvutf8_nolen(pTHX_ SV *sv)
5907         __attribute__warn_unused_result__;
5908 # define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN      \
5909         assert(sv)
5910
5911 PERL_CALLCONV UV
5912 Perl_sv_2uv(pTHX_ SV *sv);
5913 # define PERL_ARGS_ASSERT_SV_2UV                \
5914         assert(sv)
5915
5916 PERL_CALLCONV void
5917 Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
5918 # define PERL_ARGS_ASSERT_SV_CATPVN             \
5919         assert(dsv); assert(sstr)
5920
5921 PERL_CALLCONV void
5922 Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
5923 # define PERL_ARGS_ASSERT_SV_CATPVN_MG          \
5924         assert(dsv); assert(sstr)
5925
5926 PERL_CALLCONV void
5927 Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
5928 # define PERL_ARGS_ASSERT_SV_CATSV              \
5929         assert(dsv)
5930
5931 PERL_CALLCONV void
5932 Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
5933 # define PERL_ARGS_ASSERT_SV_CATSV_MG           \
5934         assert(dsv)
5935
5936 PERL_CALLCONV void
5937 Perl_sv_copypv(pTHX_ SV * const dsv, SV * const ssv);
5938 # define PERL_ARGS_ASSERT_SV_COPYPV             \
5939         assert(dsv); assert(ssv)
5940
5941 PERL_CALLCONV I32
5942 Perl_sv_eq(pTHX_ SV *sv1, SV *sv2);
5943 # define PERL_ARGS_ASSERT_SV_EQ
5944
5945 PERL_CALLCONV void
5946 Perl_sv_force_normal(pTHX_ SV *sv);
5947 # define PERL_ARGS_ASSERT_SV_FORCE_NORMAL       \
5948         assert(sv)
5949
5950 PERL_CALLCONV void
5951 Perl_sv_insert(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char * const little, const STRLEN littlelen);
5952 # define PERL_ARGS_ASSERT_SV_INSERT             \
5953         assert(bigstr); assert(little)
5954
5955 PERL_CALLCONV SV *
5956 Perl_sv_mortalcopy(pTHX_ SV * const oldsv)
5957         __attribute__warn_unused_result__;
5958 # define PERL_ARGS_ASSERT_SV_MORTALCOPY
5959
5960 PERL_CALLCONV void
5961 Perl_sv_nolocking(pTHX_ SV *sv)
5962         __attribute__deprecated__;
5963 # define PERL_ARGS_ASSERT_SV_NOLOCKING
5964
5965 PERL_CALLCONV void
5966 Perl_sv_nounlocking(pTHX_ SV *sv)
5967         __attribute__deprecated__;
5968 # define PERL_ARGS_ASSERT_SV_NOUNLOCKING
5969
5970 PERL_CALLCONV char *
5971 Perl_sv_pv(pTHX_ SV *sv)
5972         __attribute__warn_unused_result__;
5973 # define PERL_ARGS_ASSERT_SV_PV                 \
5974         assert(sv)
5975
5976 PERL_CALLCONV char *
5977 Perl_sv_pvbyte(pTHX_ SV *sv)
5978         __attribute__warn_unused_result__;
5979 # define PERL_ARGS_ASSERT_SV_PVBYTE             \
5980         assert(sv)
5981
5982 PERL_CALLCONV char *
5983 Perl_sv_pvn_force(pTHX_ SV *sv, STRLEN *lp);
5984 # define PERL_ARGS_ASSERT_SV_PVN_FORCE          \
5985         assert(sv)
5986
5987 PERL_CALLCONV char *
5988 Perl_sv_pvutf8(pTHX_ SV *sv)
5989         __attribute__warn_unused_result__;
5990 # define PERL_ARGS_ASSERT_SV_PVUTF8             \
5991         assert(sv)
5992
5993 PERL_CALLCONV void
5994 Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
5995 # define PERL_ARGS_ASSERT_SV_SETSV              \
5996         assert(dsv)
5997
5998 PERL_CALLCONV void
5999 Perl_sv_taint(pTHX_ SV *sv);
6000 # define PERL_ARGS_ASSERT_SV_TAINT              \
6001         assert(sv)
6002
6003 PERL_CALLCONV void
6004 Perl_sv_unref(pTHX_ SV *sv);
6005 # define PERL_ARGS_ASSERT_SV_UNREF              \
6006         assert(sv)
6007
6008 PERL_CALLCONV void
6009 Perl_sv_usepvn(pTHX_ SV *sv, char *ptr, STRLEN len);
6010 # define PERL_ARGS_ASSERT_SV_USEPVN             \
6011         assert(sv)
6012
6013 PERL_CALLCONV void
6014 Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
6015 # define PERL_ARGS_ASSERT_SV_USEPVN_MG          \
6016         assert(sv)
6017
6018 PERL_CALLCONV bool
6019 Perl_sv_utf8_downgrade(pTHX_ SV * const sv, const bool fail_ok);
6020 # define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE     \
6021         assert(sv)
6022
6023 PERL_CALLCONV STRLEN
6024 Perl_sv_utf8_upgrade(pTHX_ SV *sv);
6025 # define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE       \
6026         assert(sv)
6027
6028 PERL_CALLCONV UV
6029 Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
6030         __attribute__deprecated__;
6031 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR         \
6032         assert(s)
6033
6034 PERL_CALLCONV UV
6035 Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
6036         __attribute__deprecated__;
6037 # define PERL_ARGS_ASSERT_UTF8_TO_UVUNI         \
6038         assert(s)
6039
6040 PERL_CALLCONV UV
6041 Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
6042         __attribute__deprecated__;
6043 # define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI        \
6044         assert(s)
6045
6046 PERL_CALLCONV U8 *
6047 Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
6048         __attribute__deprecated__;
6049 # define PERL_ARGS_ASSERT_UVUNI_TO_UTF8         \
6050         assert(d)
6051
6052 # if defined(PERL_DONT_CREATE_GVSV)
6053 PERL_CALLCONV GV *
6054 Perl_gv_SVadd(pTHX_ GV *gv);
6055 #   define PERL_ARGS_ASSERT_GV_SVADD
6056
6057 # endif
6058 # if defined(PERL_IN_MATHOMS_C) || defined(PERL_IN_OP_C) || \
6059      defined(PERL_IN_PERLY_C)   || defined(PERL_IN_TOKE_C)
6060 PERL_CALLCONV OP *
6061 Perl_ref(pTHX_ OP *o, I32 type);
6062 #   define PERL_ARGS_ASSERT_REF
6063
6064 # endif
6065 # if defined(USE_LOCALE_COLLATE)
6066 PERL_CALLCONV char *
6067 Perl_sv_collxfrm(pTHX_ SV * const sv, STRLEN * const nxp);
6068 #   define PERL_ARGS_ASSERT_SV_COLLXFRM         \
6069         assert(sv); assert(nxp)
6070
6071 # endif
6072 #endif /* !defined(NO_MATHOMS) */
6073 #if defined(PERL_ANY_COW)
6074 PERL_CALLCONV SV *
6075 Perl_sv_setsv_cow(pTHX_ SV *dsv, SV *ssv);
6076 # define PERL_ARGS_ASSERT_SV_SETSV_COW          \
6077         assert(ssv)
6078
6079 #endif
6080 #if defined(PERL_CORE)
6081 PERL_CALLCONV void
6082 Perl_opslab_force_free(pTHX_ OPSLAB *slab)
6083         __attribute__visibility__("hidden");
6084 # define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE     \
6085         assert(slab)
6086
6087 PERL_CALLCONV void
6088 Perl_opslab_free(pTHX_ OPSLAB *slab)
6089         __attribute__visibility__("hidden");
6090 # define PERL_ARGS_ASSERT_OPSLAB_FREE           \
6091         assert(slab)
6092
6093 PERL_CALLCONV void
6094 Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
6095         __attribute__visibility__("hidden");
6096 # define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD     \
6097         assert(slab)
6098
6099 PERL_CALLCONV void
6100 Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
6101         __attribute__visibility__("hidden");
6102 # define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \
6103         assert(parser); assert(slab)
6104
6105 # if defined(PERL_DEBUG_READONLY_OPS)
6106 PERL_CALLCONV void
6107 Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
6108 #   define PERL_ARGS_ASSERT_SLAB_TO_RO          \
6109         assert(slab)
6110
6111 PERL_CALLCONV void
6112 Perl_Slab_to_rw(pTHX_ OPSLAB * const slab);
6113 #   define PERL_ARGS_ASSERT_SLAB_TO_RW          \
6114         assert(slab)
6115
6116 # endif /* defined(PERL_DEBUG_READONLY_OPS) */
6117 # if !defined(PERL_NO_INLINE_FUNCTIONS)
6118 PERL_STATIC_INLINE bool
6119 S_should_warn_nl(const char *pv)
6120         __attribute__warn_unused_result__;
6121 #   define PERL_ARGS_ASSERT_SHOULD_WARN_NL      \
6122         assert(pv)
6123
6124 # endif
6125 #endif /* defined(PERL_CORE) */
6126 #if defined(PERL_CORE) || defined(PERL_EXT)
6127 PERL_CALLCONV bool
6128 Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
6129         __attribute__warn_unused_result__;
6130 # define PERL_ARGS_ASSERT_ISSCRIPT_RUN          \
6131         assert(s); assert(send)
6132
6133 #endif /* defined(PERL_CORE) || defined(PERL_EXT) */
6134 #if defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API)
6135 PERL_CALLCONV void
6136 Perl_finalize_optree(pTHX_ OP *o);
6137 # define PERL_ARGS_ASSERT_FINALIZE_OPTREE       \
6138         assert(o)
6139
6140 PERL_CALLCONV void
6141 Perl_optimize_optree(pTHX_ OP *o);
6142 # define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE       \
6143         assert(o)
6144
6145 #endif /* defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API) */
6146 #if defined(PERL_DEBUG_READONLY_COW)
6147 PERL_CALLCONV void
6148 Perl_sv_buf_to_ro(pTHX_ SV *sv)
6149         __attribute__visibility__("hidden");
6150 # define PERL_ARGS_ASSERT_SV_BUF_TO_RO          \
6151         assert(sv)
6152
6153 #endif
6154 #if defined(PERL_DEBUG_READONLY_OPS)
6155 PERL_CALLCONV PADOFFSET
6156 Perl_op_refcnt_dec(pTHX_ OP *o);
6157 # define PERL_ARGS_ASSERT_OP_REFCNT_DEC         \
6158         assert(o)
6159
6160 PERL_CALLCONV OP *
6161 Perl_op_refcnt_inc(pTHX_ OP *o);
6162 # define PERL_ARGS_ASSERT_OP_REFCNT_INC
6163
6164 #endif /* defined(PERL_DEBUG_READONLY_OPS) */
6165 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
6166 PERL_CALLCONV bool
6167 Perl_do_exec(pTHX_ const char *cmd)
6168         __attribute__visibility__("hidden");
6169 # define PERL_ARGS_ASSERT_DO_EXEC               \
6170         assert(cmd)
6171
6172 #else
6173 PERL_CALLCONV bool
6174 Perl_do_exec(pTHX_ const char *cmd)
6175         __attribute__visibility__("hidden");
6176 # define PERL_ARGS_ASSERT_DO_EXEC               \
6177         assert(cmd)
6178
6179 #endif
6180 #if defined(PERL_IMPLICIT_SYS)
6181 PERL_CALLCONV PerlInterpreter *
6182 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);
6183 # define PERL_ARGS_ASSERT_PERL_ALLOC_USING      \
6184         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); \
6185         assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6186
6187 # if defined(USE_ITHREADS)
6188 PERL_CALLCONV PerlInterpreter *
6189 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);
6190 #   define PERL_ARGS_ASSERT_PERL_CLONE_USING    \
6191         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); \
6192         assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6193
6194 # endif
6195 #else /* if !defined(PERL_IMPLICIT_SYS) */
6196 PERL_CALLCONV I32
6197 Perl_my_pclose(pTHX_ PerlIO *ptr);
6198 # define PERL_ARGS_ASSERT_MY_PCLOSE
6199
6200 PERL_CALLCONV PerlIO *
6201 Perl_my_popen(pTHX_ const char *cmd, const char *mode);
6202 # define PERL_ARGS_ASSERT_MY_POPEN              \
6203         assert(cmd); assert(mode)
6204
6205 #endif /* !defined(PERL_IMPLICIT_SYS) */
6206 #if defined(PERL_IN_AV_C)
6207 STATIC MAGIC *
6208 S_get_aux_mg(pTHX_ AV *av);
6209 # define PERL_ARGS_ASSERT_GET_AUX_MG            \
6210         assert(av)
6211
6212 #endif
6213 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) || \
6214     defined(PERL_IN_OP_C)    || defined(PERL_IN_PEEP_C)
6215 PERL_CALLCONV OP *
6216 Perl_ck_anoncode(pTHX_ OP *o)
6217         __attribute__warn_unused_result__
6218         __attribute__visibility__("hidden");
6219 # define PERL_ARGS_ASSERT_CK_ANONCODE           \
6220         assert(o)
6221
6222 PERL_CALLCONV OP *
6223 Perl_ck_backtick(pTHX_ OP *o)
6224         __attribute__warn_unused_result__
6225         __attribute__visibility__("hidden");
6226 # define PERL_ARGS_ASSERT_CK_BACKTICK           \
6227         assert(o)
6228
6229 PERL_CALLCONV OP *
6230 Perl_ck_bitop(pTHX_ OP *o)
6231         __attribute__warn_unused_result__
6232         __attribute__visibility__("hidden");
6233 # define PERL_ARGS_ASSERT_CK_BITOP              \
6234         assert(o)
6235
6236 PERL_CALLCONV OP *
6237 Perl_ck_classname(pTHX_ OP *o)
6238         __attribute__warn_unused_result__
6239         __attribute__visibility__("hidden");
6240 # define PERL_ARGS_ASSERT_CK_CLASSNAME          \
6241         assert(o)
6242
6243 PERL_CALLCONV OP *
6244 Perl_ck_cmp(pTHX_ OP *o)
6245         __attribute__warn_unused_result__
6246         __attribute__visibility__("hidden");
6247 # define PERL_ARGS_ASSERT_CK_CMP                \
6248         assert(o)
6249
6250 PERL_CALLCONV OP *
6251 Perl_ck_concat(pTHX_ OP *o)
6252         __attribute__warn_unused_result__
6253         __attribute__visibility__("hidden");
6254 # define PERL_ARGS_ASSERT_CK_CONCAT             \
6255         assert(o)
6256
6257 PERL_CALLCONV OP *
6258 Perl_ck_defined(pTHX_ OP *o)
6259         __attribute__warn_unused_result__
6260         __attribute__visibility__("hidden");
6261 # define PERL_ARGS_ASSERT_CK_DEFINED            \
6262         assert(o)
6263
6264 PERL_CALLCONV OP *
6265 Perl_ck_delete(pTHX_ OP *o)
6266         __attribute__warn_unused_result__
6267         __attribute__visibility__("hidden");
6268 # define PERL_ARGS_ASSERT_CK_DELETE             \
6269         assert(o)
6270
6271 PERL_CALLCONV OP *
6272 Perl_ck_each(pTHX_ OP *o)
6273         __attribute__warn_unused_result__
6274         __attribute__visibility__("hidden");
6275 # define PERL_ARGS_ASSERT_CK_EACH               \
6276         assert(o)
6277
6278 PERL_CALLCONV OP *
6279 Perl_ck_eof(pTHX_ OP *o)
6280         __attribute__warn_unused_result__
6281         __attribute__visibility__("hidden");
6282 # define PERL_ARGS_ASSERT_CK_EOF                \
6283         assert(o)
6284
6285 PERL_CALLCONV OP *
6286 Perl_ck_eval(pTHX_ OP *o)
6287         __attribute__warn_unused_result__
6288         __attribute__visibility__("hidden");
6289 # define PERL_ARGS_ASSERT_CK_EVAL               \
6290         assert(o)
6291
6292 PERL_CALLCONV OP *
6293 Perl_ck_exec(pTHX_ OP *o)
6294         __attribute__warn_unused_result__
6295         __attribute__visibility__("hidden");
6296 # define PERL_ARGS_ASSERT_CK_EXEC               \
6297         assert(o)
6298
6299 PERL_CALLCONV OP *
6300 Perl_ck_exists(pTHX_ OP *o)
6301         __attribute__warn_unused_result__
6302         __attribute__visibility__("hidden");
6303 # define PERL_ARGS_ASSERT_CK_EXISTS             \
6304         assert(o)
6305
6306 PERL_CALLCONV OP *
6307 Perl_ck_ftst(pTHX_ OP *o)
6308         __attribute__warn_unused_result__
6309         __attribute__visibility__("hidden");
6310 # define PERL_ARGS_ASSERT_CK_FTST               \
6311         assert(o)
6312
6313 PERL_CALLCONV OP *
6314 Perl_ck_fun(pTHX_ OP *o)
6315         __attribute__warn_unused_result__
6316         __attribute__visibility__("hidden");
6317 # define PERL_ARGS_ASSERT_CK_FUN                \
6318         assert(o)
6319
6320 PERL_CALLCONV OP *
6321 Perl_ck_glob(pTHX_ OP *o)
6322         __attribute__warn_unused_result__
6323         __attribute__visibility__("hidden");
6324 # define PERL_ARGS_ASSERT_CK_GLOB               \
6325         assert(o)
6326
6327 PERL_CALLCONV OP *
6328 Perl_ck_grep(pTHX_ OP *o)
6329         __attribute__warn_unused_result__
6330         __attribute__visibility__("hidden");
6331 # define PERL_ARGS_ASSERT_CK_GREP               \
6332         assert(o)
6333
6334 PERL_CALLCONV OP *
6335 Perl_ck_helemexistsor(pTHX_ OP *o)
6336         __attribute__warn_unused_result__
6337         __attribute__visibility__("hidden");
6338 # define PERL_ARGS_ASSERT_CK_HELEMEXISTSOR      \
6339         assert(o)
6340
6341 PERL_CALLCONV OP *
6342 Perl_ck_index(pTHX_ OP *o)
6343         __attribute__warn_unused_result__
6344         __attribute__visibility__("hidden");
6345 # define PERL_ARGS_ASSERT_CK_INDEX              \
6346         assert(o)
6347
6348 PERL_CALLCONV OP *
6349 Perl_ck_isa(pTHX_ OP *o)
6350         __attribute__warn_unused_result__
6351         __attribute__visibility__("hidden");
6352 # define PERL_ARGS_ASSERT_CK_ISA                \
6353         assert(o)
6354
6355 PERL_CALLCONV OP *
6356 Perl_ck_join(pTHX_ OP *o)
6357         __attribute__warn_unused_result__
6358         __attribute__visibility__("hidden");
6359 # define PERL_ARGS_ASSERT_CK_JOIN               \
6360         assert(o)
6361
6362 PERL_CALLCONV OP *
6363 Perl_ck_length(pTHX_ OP *o)
6364         __attribute__warn_unused_result__
6365         __attribute__visibility__("hidden");
6366 # define PERL_ARGS_ASSERT_CK_LENGTH             \
6367         assert(o)
6368
6369 PERL_CALLCONV OP *
6370 Perl_ck_lfun(pTHX_ OP *o)
6371         __attribute__warn_unused_result__
6372         __attribute__visibility__("hidden");
6373 # define PERL_ARGS_ASSERT_CK_LFUN               \
6374         assert(o)
6375
6376 PERL_CALLCONV OP *
6377 Perl_ck_listiob(pTHX_ OP *o)
6378         __attribute__warn_unused_result__
6379         __attribute__visibility__("hidden");
6380 # define PERL_ARGS_ASSERT_CK_LISTIOB            \
6381         assert(o)
6382
6383 PERL_CALLCONV OP *
6384 Perl_ck_match(pTHX_ OP *o)
6385         __attribute__warn_unused_result__
6386         __attribute__visibility__("hidden");
6387 # define PERL_ARGS_ASSERT_CK_MATCH              \
6388         assert(o)
6389
6390 PERL_CALLCONV OP *
6391 Perl_ck_method(pTHX_ OP *o)
6392         __attribute__warn_unused_result__
6393         __attribute__visibility__("hidden");
6394 # define PERL_ARGS_ASSERT_CK_METHOD             \
6395         assert(o)
6396
6397 PERL_CALLCONV OP *
6398 Perl_ck_null(pTHX_ OP *o)
6399         __attribute__warn_unused_result__
6400         __attribute__visibility__("hidden");
6401 # define PERL_ARGS_ASSERT_CK_NULL               \
6402         assert(o)
6403
6404 PERL_CALLCONV OP *
6405 Perl_ck_open(pTHX_ OP *o)
6406         __attribute__warn_unused_result__
6407         __attribute__visibility__("hidden");
6408 # define PERL_ARGS_ASSERT_CK_OPEN               \
6409         assert(o)
6410
6411 PERL_CALLCONV OP *
6412 Perl_ck_prototype(pTHX_ OP *o)
6413         __attribute__warn_unused_result__
6414         __attribute__visibility__("hidden");
6415 # define PERL_ARGS_ASSERT_CK_PROTOTYPE          \
6416         assert(o)
6417
6418 PERL_CALLCONV OP *
6419 Perl_ck_readline(pTHX_ OP *o)
6420         __attribute__warn_unused_result__
6421         __attribute__visibility__("hidden");
6422 # define PERL_ARGS_ASSERT_CK_READLINE           \
6423         assert(o)
6424
6425 PERL_CALLCONV OP *
6426 Perl_ck_refassign(pTHX_ OP *o)
6427         __attribute__warn_unused_result__
6428         __attribute__visibility__("hidden");
6429 # define PERL_ARGS_ASSERT_CK_REFASSIGN          \
6430         assert(o)
6431
6432 PERL_CALLCONV OP *
6433 Perl_ck_repeat(pTHX_ OP *o)
6434         __attribute__warn_unused_result__
6435         __attribute__visibility__("hidden");
6436 # define PERL_ARGS_ASSERT_CK_REPEAT             \
6437         assert(o)
6438
6439 PERL_CALLCONV OP *
6440 Perl_ck_require(pTHX_ OP *o)
6441         __attribute__warn_unused_result__
6442         __attribute__visibility__("hidden");
6443 # define PERL_ARGS_ASSERT_CK_REQUIRE            \
6444         assert(o)
6445
6446 PERL_CALLCONV OP *
6447 Perl_ck_return(pTHX_ OP *o)
6448         __attribute__warn_unused_result__
6449         __attribute__visibility__("hidden");
6450 # define PERL_ARGS_ASSERT_CK_RETURN             \
6451         assert(o)
6452
6453 PERL_CALLCONV OP *
6454 Perl_ck_rfun(pTHX_ OP *o)
6455         __attribute__warn_unused_result__
6456         __attribute__visibility__("hidden");
6457 # define PERL_ARGS_ASSERT_CK_RFUN               \
6458         assert(o)
6459
6460 PERL_CALLCONV OP *
6461 Perl_ck_rvconst(pTHX_ OP *o)
6462         __attribute__warn_unused_result__
6463         __attribute__visibility__("hidden");
6464 # define PERL_ARGS_ASSERT_CK_RVCONST            \
6465         assert(o)
6466
6467 PERL_CALLCONV OP *
6468 Perl_ck_sassign(pTHX_ OP *o)
6469         __attribute__warn_unused_result__
6470         __attribute__visibility__("hidden");
6471 # define PERL_ARGS_ASSERT_CK_SASSIGN            \
6472         assert(o)
6473
6474 PERL_CALLCONV OP *
6475 Perl_ck_select(pTHX_ OP *o)
6476         __attribute__warn_unused_result__
6477         __attribute__visibility__("hidden");
6478 # define PERL_ARGS_ASSERT_CK_SELECT             \
6479         assert(o)
6480
6481 PERL_CALLCONV OP *
6482 Perl_ck_shift(pTHX_ OP *o)
6483         __attribute__warn_unused_result__
6484         __attribute__visibility__("hidden");
6485 # define PERL_ARGS_ASSERT_CK_SHIFT              \
6486         assert(o)
6487
6488 PERL_CALLCONV OP *
6489 Perl_ck_smartmatch(pTHX_ OP *o)
6490         __attribute__warn_unused_result__
6491         __attribute__visibility__("hidden");
6492 # define PERL_ARGS_ASSERT_CK_SMARTMATCH         \
6493         assert(o)
6494
6495 PERL_CALLCONV OP *
6496 Perl_ck_sort(pTHX_ OP *o)
6497         __attribute__warn_unused_result__
6498         __attribute__visibility__("hidden");
6499 # define PERL_ARGS_ASSERT_CK_SORT               \
6500         assert(o)
6501
6502 PERL_CALLCONV OP *
6503 Perl_ck_spair(pTHX_ OP *o)
6504         __attribute__warn_unused_result__
6505         __attribute__visibility__("hidden");
6506 # define PERL_ARGS_ASSERT_CK_SPAIR              \
6507         assert(o)
6508
6509 PERL_CALLCONV OP *
6510 Perl_ck_split(pTHX_ OP *o)
6511         __attribute__warn_unused_result__
6512         __attribute__visibility__("hidden");
6513 # define PERL_ARGS_ASSERT_CK_SPLIT              \
6514         assert(o)
6515
6516 PERL_CALLCONV OP *
6517 Perl_ck_stringify(pTHX_ OP *o)
6518         __attribute__warn_unused_result__
6519         __attribute__visibility__("hidden");
6520 # define PERL_ARGS_ASSERT_CK_STRINGIFY          \
6521         assert(o)
6522
6523 PERL_CALLCONV OP *
6524 Perl_ck_subr(pTHX_ OP *o)
6525         __attribute__warn_unused_result__
6526         __attribute__visibility__("hidden");
6527 # define PERL_ARGS_ASSERT_CK_SUBR               \
6528         assert(o)
6529
6530 PERL_CALLCONV OP *
6531 Perl_ck_substr(pTHX_ OP *o)
6532         __attribute__warn_unused_result__
6533         __attribute__visibility__("hidden");
6534 # define PERL_ARGS_ASSERT_CK_SUBSTR             \
6535         assert(o)
6536
6537 PERL_CALLCONV OP *
6538 Perl_ck_svconst(pTHX_ OP *o)
6539         __attribute__warn_unused_result__
6540         __attribute__visibility__("hidden");
6541 # define PERL_ARGS_ASSERT_CK_SVCONST            \
6542         assert(o)
6543
6544 PERL_CALLCONV OP *
6545 Perl_ck_tell(pTHX_ OP *o)
6546         __attribute__warn_unused_result__
6547         __attribute__visibility__("hidden");
6548 # define PERL_ARGS_ASSERT_CK_TELL               \
6549         assert(o)
6550
6551 PERL_CALLCONV OP *
6552 Perl_ck_trunc(pTHX_ OP *o)
6553         __attribute__warn_unused_result__
6554         __attribute__visibility__("hidden");
6555 # define PERL_ARGS_ASSERT_CK_TRUNC              \
6556         assert(o)
6557
6558 PERL_CALLCONV OP *
6559 Perl_ck_trycatch(pTHX_ OP *o)
6560         __attribute__warn_unused_result__
6561         __attribute__visibility__("hidden");
6562 # define PERL_ARGS_ASSERT_CK_TRYCATCH           \
6563         assert(o)
6564
6565 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) ||
6566           defined(PERL_IN_OP_C)    || defined(PERL_IN_PEEP_C) */
6567 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C)    || \
6568     defined(PERL_IN_PAD_C)   || defined(PERL_IN_PERLY_C) || \
6569     defined(PERL_IN_TOKE_C)
6570 PERL_CALLCONV void
6571 Perl_class_add_ADJUST(pTHX_ HV *stash, CV *cv);
6572 # define PERL_ARGS_ASSERT_CLASS_ADD_ADJUST      \
6573         assert(stash); assert(cv)
6574
6575 PERL_CALLCONV void
6576 Perl_class_add_field(pTHX_ HV *stash, PADNAME *pn);
6577 # define PERL_ARGS_ASSERT_CLASS_ADD_FIELD       \
6578         assert(stash); assert(pn)
6579
6580 PERL_CALLCONV void
6581 Perl_class_apply_attributes(pTHX_ HV *stash, OP *attrlist);
6582 # define PERL_ARGS_ASSERT_CLASS_APPLY_ATTRIBUTES \
6583         assert(stash)
6584
6585 PERL_CALLCONV void
6586 Perl_class_apply_field_attributes(pTHX_ PADNAME *pn, OP *attrlist);
6587 # define PERL_ARGS_ASSERT_CLASS_APPLY_FIELD_ATTRIBUTES \
6588         assert(pn)
6589
6590 PERL_CALLCONV void
6591 Perl_class_prepare_initfield_parse(pTHX);
6592 # define PERL_ARGS_ASSERT_CLASS_PREPARE_INITFIELD_PARSE
6593
6594 PERL_CALLCONV void
6595 Perl_class_prepare_method_parse(pTHX_ CV *cv);
6596 # define PERL_ARGS_ASSERT_CLASS_PREPARE_METHOD_PARSE \
6597         assert(cv)
6598
6599 PERL_CALLCONV void
6600 Perl_class_seal_stash(pTHX_ HV *stash);
6601 # define PERL_ARGS_ASSERT_CLASS_SEAL_STASH      \
6602         assert(stash)
6603
6604 PERL_CALLCONV void
6605 Perl_class_set_field_defop(pTHX_ PADNAME *pn, OPCODE defmode, OP *defop);
6606 # define PERL_ARGS_ASSERT_CLASS_SET_FIELD_DEFOP \
6607         assert(pn); assert(defop)
6608
6609 PERL_CALLCONV void
6610 Perl_class_setup_stash(pTHX_ HV *stash);
6611 # define PERL_ARGS_ASSERT_CLASS_SETUP_STASH     \
6612         assert(stash)
6613
6614 PERL_CALLCONV OP *
6615 Perl_class_wrap_method_body(pTHX_ OP *o);
6616 # define PERL_ARGS_ASSERT_CLASS_WRAP_METHOD_BODY
6617
6618 PERL_CALLCONV void
6619 Perl_croak_kw_unless_class(pTHX_ const char *kw);
6620 # define PERL_ARGS_ASSERT_CROAK_KW_UNLESS_CLASS \
6621         assert(kw)
6622
6623 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C)    ||
6624           defined(PERL_IN_PAD_C)   || defined(PERL_IN_PERLY_C) ||
6625           defined(PERL_IN_TOKE_C) */
6626 #if defined(PERL_IN_DEB_C)
6627 STATIC void
6628 S_deb_stack_n(pTHX_ SV **stack_base, SSize_t stack_min, SSize_t stack_max, SSize_t mark_min, SSize_t mark_max, SSize_t nonrc_base);
6629 # define PERL_ARGS_ASSERT_DEB_STACK_N           \
6630         assert(stack_base)
6631
6632 #endif
6633 #if defined(PERL_IN_DOIO_C)
6634 STATIC bool
6635 S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
6636 # define PERL_ARGS_ASSERT_ARGVOUT_FINAL         \
6637         assert(mg); assert(io)
6638
6639 STATIC void
6640 S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
6641 # define PERL_ARGS_ASSERT_EXEC_FAILED           \
6642         assert(cmd)
6643
6644 STATIC bool
6645 S_ingroup(pTHX_ Gid_t testgid, bool effective)
6646         __attribute__warn_unused_result__;
6647 # define PERL_ARGS_ASSERT_INGROUP
6648
6649 STATIC bool
6650 S_is_fork_open(const char *name);
6651 # define PERL_ARGS_ASSERT_IS_FORK_OPEN          \
6652         assert(name)
6653
6654 STATIC bool
6655 S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type, Stat_t *statbufp);
6656 # define PERL_ARGS_ASSERT_OPENN_CLEANUP         \
6657         assert(gv); assert(io); assert(mode); assert(oname)
6658
6659 STATIC IO *
6660 S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
6661 # define PERL_ARGS_ASSERT_OPENN_SETUP           \
6662         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); \
6663         assert(savetype)
6664
6665 #endif /* defined(PERL_IN_DOIO_C) */
6666 #if defined(PERL_IN_DOOP_C)
6667 STATIC Size_t
6668 S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6669         __attribute__warn_unused_result__;
6670 # define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX      \
6671         assert(sv); assert(tbl)
6672
6673 STATIC Size_t
6674 S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6675         __attribute__warn_unused_result__;
6676 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT        \
6677         assert(sv); assert(tbl)
6678
6679 STATIC Size_t
6680 S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
6681         __attribute__warn_unused_result__;
6682 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP \
6683         assert(sv); assert(map)
6684
6685 STATIC Size_t
6686 S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
6687         __attribute__warn_unused_result__;
6688 # define PERL_ARGS_ASSERT_DO_TRANS_INVMAP       \
6689         assert(sv); assert(map)
6690
6691 STATIC Size_t
6692 S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6693         __attribute__warn_unused_result__;
6694 # define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE       \
6695         assert(sv); assert(tbl)
6696
6697 #endif /* defined(PERL_IN_DOOP_C) */
6698 #if defined(PERL_IN_DOOP_C)    || defined(PERL_IN_OP_C)        || \
6699     defined(PERL_IN_PP_C)      || defined(PERL_IN_REGCOMP_ANY) || \
6700     defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)      || \
6701     defined(PERL_IN_UTF8_C)
6702
6703 PERL_CALLCONV SSize_t
6704 Perl__invlist_search(SV * const invlist, const UV cp)
6705         __attribute__warn_unused_result__;
6706 # define PERL_ARGS_ASSERT__INVLIST_SEARCH       \
6707         assert(invlist)
6708
6709 #endif /* defined(PERL_IN_DOOP_C)    || defined(PERL_IN_OP_C)        ||
6710           defined(PERL_IN_PP_C)      || defined(PERL_IN_REGCOMP_ANY) ||
6711           defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)      ||
6712           defined(PERL_IN_UTF8_C) */
6713 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6714     defined(PERL_IN_REGCOMP_ANY)
6715
6716 #endif
6717 #if defined(PERL_IN_DOOP_C)      || defined(PERL_IN_OP_C) || \
6718     defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C)
6719 PERL_CALLCONV SV *
6720 Perl__add_range_to_invlist(pTHX_ SV *invlist, UV start, UV end)
6721         __attribute__warn_unused_result__;
6722 # define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6723
6724 /* PERL_CALLCONV void
6725 _invlist_intersection(pTHX_ SV * const a, SV * const b, SV **i); */
6726
6727 PERL_CALLCONV void
6728 Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **i);
6729 # define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \
6730         assert(b); assert(i)
6731
6732 PERL_CALLCONV void
6733 Perl__invlist_invert(pTHX_ SV * const invlist);
6734 # define PERL_ARGS_ASSERT__INVLIST_INVERT       \
6735         assert(invlist)
6736
6737 /* PERL_CALLCONV void
6738 _invlist_subtract(pTHX_ SV * const a, SV * const b, SV **result); */
6739
6740 /* PERL_CALLCONV void
6741 _invlist_union(pTHX_ SV * const a, SV * const b, SV **output); */
6742
6743 PERL_CALLCONV void
6744 Perl__invlist_union_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **output);
6745 # define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \
6746         assert(b); assert(output)
6747
6748 PERL_CALLCONV SV *
6749 Perl__new_invlist(pTHX_ IV initial_size)
6750         __attribute__warn_unused_result__;
6751 # define PERL_ARGS_ASSERT__NEW_INVLIST
6752
6753 PERL_CALLCONV SV *
6754 Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV **other_elements_ptr)
6755         __attribute__warn_unused_result__;
6756 # define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \
6757         assert(other_elements_ptr)
6758
6759 #endif /* defined(PERL_IN_DOOP_C)      || defined(PERL_IN_OP_C) ||
6760           defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C) */
6761 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6762     defined(PERL_IN_TOKE_C)
6763 PERL_CALLCONV const char *
6764 Perl_form_alien_digit_msg(pTHX_ const U8 which, const STRLEN valids_len, const char * const first_bad, const char * const send, const bool UTF, const bool braced)
6765         __attribute__warn_unused_result__;
6766 # define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG  \
6767         assert(first_bad); assert(send)
6768
6769 PERL_CALLCONV bool
6770 Perl_grok_bslash_c(pTHX_ const char source, U8 *result, const char **message, U32 *packed_warn)
6771         __attribute__warn_unused_result__;
6772 # define PERL_ARGS_ASSERT_GROK_BSLASH_C         \
6773         assert(result); assert(message)
6774
6775 PERL_CALLCONV bool
6776 Perl_grok_bslash_o(pTHX_ char **s, const char * const send, UV *uv, const char **message, U32 *packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6777         __attribute__warn_unused_result__;
6778 # define PERL_ARGS_ASSERT_GROK_BSLASH_O         \
6779         assert(s); assert(send); assert(uv); assert(message)
6780
6781 PERL_CALLCONV bool
6782 Perl_grok_bslash_x(pTHX_ char **s, const char * const send, UV *uv, const char **message, U32 *packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6783         __attribute__warn_unused_result__;
6784 # define PERL_ARGS_ASSERT_GROK_BSLASH_X         \
6785         assert(s); assert(send); assert(uv); assert(message)
6786
6787 #endif /* defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) ||
6788           defined(PERL_IN_TOKE_C) */
6789 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6790     defined(PERL_IN_TOKE_C)   || defined(PERL_IN_UTF8_C)
6791 PERL_CALLCONV const char *
6792 Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char *string, const Size_t len, const UV cp)
6793         __attribute__warn_unused_result__;
6794 # define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6795
6796 #endif
6797 #if defined(PERL_IN_DUMP_C)
6798 STATIC CV *
6799 S_deb_curcv(pTHX_ I32 ix);
6800 # define PERL_ARGS_ASSERT_DEB_CURCV
6801
6802 STATIC void
6803 S_debprof(pTHX_ const OP *o);
6804 # define PERL_ARGS_ASSERT_DEBPROF               \
6805         assert(o)
6806
6807 STATIC SV *
6808 S_pm_description(pTHX_ const PMOP *pm);
6809 # define PERL_ARGS_ASSERT_PM_DESCRIPTION        \
6810         assert(pm)
6811
6812 STATIC UV
6813 S_sequence_num(pTHX_ const OP *o);
6814 # define PERL_ARGS_ASSERT_SEQUENCE_NUM
6815
6816 #endif /* defined(PERL_IN_DUMP_C) */
6817 #if defined(PERL_IN_DUMP_C)  || defined(PERL_IN_HV_C) || \
6818     defined(PERL_IN_SCOPE_C) || defined(PERL_IN_SV_C)
6819 PERL_CALLCONV void
6820 Perl_hv_kill_backrefs(pTHX_ HV *hv)
6821         __attribute__visibility__("hidden");
6822 # define PERL_ARGS_ASSERT_HV_KILL_BACKREFS      \
6823         assert(hv)
6824
6825 #endif
6826 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_OP_C) || \
6827     defined(PERL_IN_REGCOMP_ANY)
6828 PERL_CALLCONV void
6829 Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char * const indent, SV * const invlist);
6830 # define PERL_ARGS_ASSERT__INVLIST_DUMP         \
6831         assert(file); assert(indent); assert(invlist)
6832
6833 #endif
6834 #if defined(PERL_IN_GV_C)
6835 STATIC bool
6836 S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
6837 # define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH    \
6838         assert(stash); assert(name)
6839
6840 STATIC void
6841 S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
6842 # define PERL_ARGS_ASSERT_GV_INIT_SVTYPE        \
6843         assert(gv)
6844
6845 STATIC bool
6846 S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
6847 # define PERL_ARGS_ASSERT_GV_IS_IN_MAIN         \
6848         assert(name)
6849
6850 STATIC bool
6851 S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
6852 # define PERL_ARGS_ASSERT_GV_MAGICALIZE         \
6853         assert(gv); assert(stash); assert(name)
6854
6855 STATIC void
6856 S_gv_magicalize_isa(pTHX_ GV *gv);
6857 # define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA     \
6858         assert(gv)
6859
6860 STATIC void
6861 S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
6862 # define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV   \
6863         assert(gv); assert(name)
6864
6865 STATIC bool
6866 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);
6867 # define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME   \
6868         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
6869
6870 STATIC void
6871 S_require_tie_mod(pTHX_ GV *gv, const char varname, const char *name, STRLEN len, const U32 flags);
6872 # define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD       \
6873         assert(gv); assert(varname); assert(name)
6874
6875 # if !defined(PERL_NO_INLINE_FUNCTIONS)
6876 PERL_STATIC_INLINE GV *
6877 S_gv_fetchmeth_internal(pTHX_ HV *stash, SV *meth, const char *name, STRLEN len, I32 level, U32 flags);
6878 #   define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
6879
6880 PERL_STATIC_INLINE HV *
6881 S_gv_stashpvn_internal(pTHX_ const char *name, U32 namelen, I32 flags);
6882 #   define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \
6883         assert(name)
6884
6885 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
6886 #endif /* defined(PERL_IN_GV_C) */
6887 #if defined(PERL_IN_GV_C)  || defined(PERL_IN_OP_C) || \
6888     defined(PERL_IN_PAD_C) || defined(PERL_IN_SV_C)
6889 PERL_CALLCONV void
6890 Perl_sv_add_backref(pTHX_ SV * const tsv, SV * const sv)
6891         __attribute__visibility__("hidden");
6892 # define PERL_ARGS_ASSERT_SV_ADD_BACKREF        \
6893         assert(tsv); assert(sv)
6894
6895 #endif
6896 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
6897 PERL_CALLCONV HV *
6898 Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char *name, U32 namelen, I32 flags)
6899         __attribute__visibility__("hidden");
6900
6901 #endif
6902 #if defined(PERL_IN_HV_C)
6903 STATIC void
6904 S_clear_placeholders(pTHX_ HV *hv, U32 items);
6905 # define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS    \
6906         assert(hv)
6907
6908 STATIC void
6909 S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
6910 # define PERL_ARGS_ASSERT_HSPLIT                \
6911         assert(hv)
6912
6913 STATIC struct xpvhv_aux *
6914 S_hv_auxinit(pTHX_ HV *hv);
6915 # define PERL_ARGS_ASSERT_HV_AUXINIT            \
6916         assert(hv)
6917
6918 STATIC SV *
6919 S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
6920 # define PERL_ARGS_ASSERT_HV_DELETE_COMMON
6921
6922 STATIC SV *
6923 S_hv_free_ent_ret(pTHX_ HE *entry);
6924 # define PERL_ARGS_ASSERT_HV_FREE_ENT_RET       \
6925         assert(entry)
6926
6927 STATIC void
6928 S_hv_free_entries(pTHX_ HV *hv);
6929 # define PERL_ARGS_ASSERT_HV_FREE_ENTRIES       \
6930         assert(hv)
6931
6932 STATIC void
6933 S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
6934 # define PERL_ARGS_ASSERT_HV_MAGIC_CHECK        \
6935         assert(hv); assert(needs_copy); assert(needs_store)
6936
6937 PERL_STATIC_NO_RET void
6938 S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
6939         __attribute__noreturn__;
6940 # define PERL_ARGS_ASSERT_HV_NOTALLOWED         \
6941         assert(key); assert(msg)
6942
6943 STATIC SV *
6944 S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
6945 # define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE   \
6946         assert(he)
6947
6948 STATIC HEK *
6949 S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
6950         __attribute__malloc__
6951         __attribute__warn_unused_result__;
6952 # define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS        \
6953         assert(str)
6954
6955 STATIC HEK *
6956 S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
6957         __attribute__warn_unused_result__;
6958 # define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS       \
6959         assert(str)
6960
6961 STATIC void
6962 S_unshare_hek_or_pvn(pTHX_ const HEK *hek, const char *str, I32 len, U32 hash);
6963 # define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
6964
6965 # if !defined(PURIFY)
6966 STATIC HE *
6967 S_new_he(pTHX)
6968         __attribute__warn_unused_result__;
6969 #   define PERL_ARGS_ASSERT_NEW_HE
6970
6971 # endif
6972 #endif /* defined(PERL_IN_HV_C) */
6973 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
6974 PERL_CALLCONV void
6975 Perl_sv_kill_backrefs(pTHX_ SV * const sv, AV * const av)
6976         __attribute__visibility__("hidden");
6977 # define PERL_ARGS_ASSERT_SV_KILL_BACKREFS      \
6978         assert(sv)
6979
6980 #endif
6981 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
6982 PERL_CALLCONV SV *
6983 Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
6984         __attribute__visibility__("hidden");
6985 # define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY      \
6986         assert(hv); assert(indexp)
6987
6988 #endif
6989 #if defined(PERL_IN_LOCALE_C)
6990 STATIC utf8ness_t
6991 S_get_locale_string_utf8ness_i(pTHX_ const char *string, const locale_utf8ness_t known_utf8, const char *locale, const locale_category_index cat_index);
6992 # define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
6993
6994 STATIC void
6995 S_ints_to_tm(pTHX_ struct tm *my_tm, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst);
6996 # define PERL_ARGS_ASSERT_INTS_TO_TM            \
6997         assert(my_tm)
6998
6999 STATIC bool
7000 S_is_locale_utf8(pTHX_ const char *locale);
7001 # define PERL_ARGS_ASSERT_IS_LOCALE_UTF8        \
7002         assert(locale)
7003
7004 STATIC HV *
7005 S_my_localeconv(pTHX_ const int item);
7006 # define PERL_ARGS_ASSERT_MY_LOCALECONV
7007
7008 STATIC void
7009 S_populate_hash_from_C_localeconv(pTHX_ HV *hv, const char *locale, const U32 which_mask, const lconv_offset_t *strings[2], const lconv_offset_t *integers[2]);
7010 # define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_C_LOCALECONV \
7011         assert(hv); assert(locale); assert(strings); assert(integers)
7012
7013 STATIC const char *
7014 S_save_to_buffer(pTHX_ const char *string, char **buf, Size_t *buf_size);
7015 # define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
7016
7017 STATIC void
7018 S_set_save_buffer_min_size(pTHX_ const Size_t min_len, char **buf, Size_t *buf_size);
7019 # define PERL_ARGS_ASSERT_SET_SAVE_BUFFER_MIN_SIZE
7020
7021 STATIC char *
7022 S_strftime8(pTHX_ const char *fmt, const struct tm *mytm, const utf8ness_t fmt_utf8ness, utf8ness_t *result_utf8ness, const bool came_from_sv);
7023 # define PERL_ARGS_ASSERT_STRFTIME8             \
7024         assert(fmt); assert(mytm); assert(result_utf8ness)
7025
7026 STATIC char *
7027 S_strftime_tm(pTHX_ const char *fmt, const struct tm *mytm)
7028         __attribute__format__(__strftime__,pTHX_1,0);
7029 # define PERL_ARGS_ASSERT_STRFTIME_TM           \
7030         assert(fmt); assert(mytm)
7031
7032 # if defined(HAS_MISSING_LANGINFO_ITEM_) || !defined(HAS_NL_LANGINFO)
7033 STATIC const char *
7034 S_emulate_langinfo(pTHX_ const int item, const char *locale, SV *sv, utf8ness_t *utf8ness);
7035 #   define PERL_ARGS_ASSERT_EMULATE_LANGINFO    \
7036         assert(locale); assert(sv)
7037
7038 # endif
7039 # if defined(USE_LOCALE)
7040 STATIC const char *
7041 S_calculate_LC_ALL_string(pTHX_ const char **category_locales_list, const calc_LC_ALL_format format, const calc_LC_ALL_return returning, const line_t caller_line);
7042 #   define PERL_ARGS_ASSERT_CALCULATE_LC_ALL_STRING
7043
7044 STATIC const char *
7045 S_external_call_langinfo(pTHX_ const nl_item item, SV *sv, utf8ness_t *utf8ness);
7046 #   define PERL_ARGS_ASSERT_EXTERNAL_CALL_LANGINFO \
7047         assert(sv)
7048
7049 STATIC locale_category_index
7050 S_get_category_index_helper(pTHX_ const int category, bool *success, const line_t caller_line)
7051         __attribute__warn_unused_result__;
7052 #   define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX_HELPER
7053
7054 STATIC const char *
7055 S_native_querylocale_i(pTHX_ const locale_category_index cat_index);
7056 #   define PERL_ARGS_ASSERT_NATIVE_QUERYLOCALE_I
7057
7058 STATIC void
7059 S_new_LC_ALL(pTHX_ const char *lc_all, bool force);
7060 #   define PERL_ARGS_ASSERT_NEW_LC_ALL          \
7061         assert(lc_all)
7062
7063 STATIC void
7064 S_output_check_environment_warning(pTHX_ const char * const language, const char * const lc_all, const char * const lang);
7065 #   define PERL_ARGS_ASSERT_OUTPUT_CHECK_ENVIRONMENT_WARNING
7066
7067 STATIC parse_LC_ALL_string_return
7068 S_parse_LC_ALL_string(pTHX_ const char *string, const char **output, const parse_LC_ALL_STRING_action, bool always_use_full_array, const bool panic_on_error, const line_t caller_line);
7069 #   define PERL_ARGS_ASSERT_PARSE_LC_ALL_STRING \
7070         assert(string); assert(output)
7071
7072 STATIC void
7073 S_restore_toggled_locale_i(pTHX_ const locale_category_index cat_index, const char *original_locale, const line_t caller_line);
7074 #   define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
7075
7076 PERL_STATIC_NO_RET void
7077 S_setlocale_failure_panic_via_i(pTHX_ const locale_category_index cat_index, const char *current, const char *failed, const line_t proxy_caller_line, const line_t immediate_caller_line, const char *higher_caller_file, const line_t higher_caller_line)
7078         __attribute__noreturn__;
7079 #   define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_VIA_I \
7080         assert(failed); assert(higher_caller_file)
7081
7082 STATIC const char *
7083 S_toggle_locale_i(pTHX_ const locale_category_index cat_index, const char *new_locale, const line_t caller_line);
7084 #   define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I     \
7085         assert(new_locale)
7086
7087 #   if defined(DEBUGGING)
7088 STATIC char *
7089 S_my_setlocale_debug_string_i(pTHX_ const locale_category_index cat_index, const char *locale, const char *retval, const line_t line)
7090         __attribute__warn_unused_result__;
7091 #     define PERL_ARGS_ASSERT_MY_SETLOCALE_DEBUG_STRING_I
7092
7093 #   endif
7094 #   if defined(HAS_NL_LANGINFO)
7095 STATIC const char *
7096 S_langinfo_sv_i(pTHX_ const nl_item item, locale_category_index cat_index, const char *locale, SV *sv, utf8ness_t *utf8ness);
7097 #     define PERL_ARGS_ASSERT_LANGINFO_SV_I     \
7098         assert(locale); assert(sv)
7099
7100 #   endif
7101 #   if defined(LC_ALL)
7102 STATIC void
7103 S_give_perl_locale_control(pTHX_ const char *lc_all_string, const line_t caller_line);
7104 #     define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7105         assert(lc_all_string)
7106
7107 #   else
7108 STATIC void
7109 S_give_perl_locale_control(pTHX_ const char **curlocales, const line_t caller_line);
7110 #     define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7111         assert(curlocales)
7112
7113 #   endif
7114 #   if !defined(PERL_NO_INLINE_FUNCTIONS)
7115 PERL_STATIC_INLINE const char *
7116 S_mortalized_pv_copy(pTHX_ const char * const pv)
7117         __attribute__warn_unused_result__;
7118 #     define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
7119
7120 #   endif
7121 #   if defined(USE_LOCALE_COLLATE)
7122 STATIC void
7123 S_new_collate(pTHX_ const char *newcoll, bool force);
7124 #     define PERL_ARGS_ASSERT_NEW_COLLATE       \
7125         assert(newcoll)
7126
7127 #     if defined(DEBUGGING)
7128 STATIC void
7129 S_print_collxfrm_input_and_return(pTHX_ const char *s, const char *e, const char *xbuf, const STRLEN xlen, const bool is_utf8);
7130 #       define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN \
7131         assert(s); assert(e)
7132
7133 #     endif
7134 #   endif /* defined(USE_LOCALE_COLLATE) */
7135 #   if defined(USE_LOCALE_CTYPE)
7136 STATIC bool
7137 S_is_codeset_name_UTF8(const char *name);
7138 #     define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8 \
7139         assert(name)
7140
7141 STATIC void
7142 S_new_ctype(pTHX_ const char *newctype, bool force);
7143 #     define PERL_ARGS_ASSERT_NEW_CTYPE         \
7144         assert(newctype)
7145
7146 #   endif /* defined(USE_LOCALE_CTYPE) */
7147 #   if defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC)
7148 STATIC void
7149 S_populate_hash_from_localeconv(pTHX_ HV *hv, const char *locale, const U32 which_mask, const lconv_offset_t *strings[2], const lconv_offset_t *integers[2]);
7150 #     define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_LOCALECONV \
7151         assert(hv); assert(locale); assert(strings); assert(integers)
7152
7153 #   endif
7154 #   if defined(USE_LOCALE_NUMERIC)
7155 STATIC void
7156 S_new_numeric(pTHX_ const char *newnum, bool force);
7157 #     define PERL_ARGS_ASSERT_NEW_NUMERIC       \
7158         assert(newnum)
7159
7160 #   endif
7161 #   if defined(USE_PERL_SWITCH_LOCALE_CONTEXT) || defined(DEBUGGING)
7162 STATIC const char *
7163 S_get_LC_ALL_display(pTHX);
7164 #     define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
7165
7166 #   endif
7167 #   if defined(USE_POSIX_2008_LOCALE)
7168 STATIC bool
7169 S_bool_setlocale_2008_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7170 #     define PERL_ARGS_ASSERT_BOOL_SETLOCALE_2008_I \
7171         assert(new_locale)
7172
7173 STATIC const char *
7174 S_querylocale_2008_i(pTHX_ const locale_category_index index, const line_t line);
7175 #     define PERL_ARGS_ASSERT_QUERYLOCALE_2008_I
7176
7177 STATIC locale_t
7178 S_use_curlocale_scratch(pTHX);
7179 #     define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
7180
7181 #     if !defined(USE_QUERYLOCALE)
7182 STATIC void
7183 S_update_PL_curlocales_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7184 #       define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
7185         assert(new_locale)
7186
7187 #     endif
7188 #   elif  defined(USE_LOCALE_THREADS) &&                  \
7189          !defined(USE_THREAD_SAFE_LOCALE) &&              \
7190          !defined(USE_THREAD_SAFE_LOCALE_EMULATION) /* &&
7191          !defined(USE_POSIX_2008_LOCALE) */
7192 STATIC bool
7193 S_less_dicey_bool_setlocale_r(pTHX_ const int cat, const char *locale);
7194 #     define PERL_ARGS_ASSERT_LESS_DICEY_BOOL_SETLOCALE_R \
7195         assert(locale)
7196
7197 STATIC const char *
7198 S_less_dicey_setlocale_r(pTHX_ const int category, const char *locale);
7199 #     define PERL_ARGS_ASSERT_LESS_DICEY_SETLOCALE_R
7200
7201 #   endif /*  defined(USE_LOCALE_THREADS) &&
7202              !defined(USE_POSIX_2008_LOCALE) &&
7203              !defined(USE_THREAD_SAFE_LOCALE) &&
7204              !defined(USE_THREAD_SAFE_LOCALE_EMULATION) */
7205 #   if defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES)
7206 STATIC wchar_t *
7207 S_Win_byte_string_to_wstring(const UINT code_page, const char *byte_string);
7208 #     define PERL_ARGS_ASSERT_WIN_BYTE_STRING_TO_WSTRING
7209
7210 STATIC char *
7211 S_Win_wstring_to_byte_string(const UINT code_page, const wchar_t *wstring);
7212 #     define PERL_ARGS_ASSERT_WIN_WSTRING_TO_BYTE_STRING
7213
7214 STATIC const char *
7215 S_win32_setlocale(pTHX_ int category, const char *locale);
7216 #     define PERL_ARGS_ASSERT_WIN32_SETLOCALE
7217
7218 STATIC const char *
7219 S_wrap_wsetlocale(pTHX_ const int category, const char *locale);
7220 #     define PERL_ARGS_ASSERT_WRAP_WSETLOCALE
7221
7222 #   endif /* defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) */
7223 #   if   defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) || \
7224        ( defined(USE_POSIX_2008_LOCALE) && !defined(USE_QUERYLOCALE) )
7225 STATIC const char *
7226 S_find_locale_from_environment(pTHX_ const locale_category_index index);
7227 #     define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
7228
7229 #   endif
7230 # endif /* defined(USE_LOCALE) */
7231 # if defined(USE_LOCALE) || defined(DEBUGGING)
7232 STATIC const char *
7233 S_get_displayable_string(pTHX_ const char * const s, const char * const e, const bool is_utf8);
7234 #   define PERL_ARGS_ASSERT_GET_DISPLAYABLE_STRING \
7235         assert(s); assert(e)
7236
7237 # endif
7238 #endif /* defined(PERL_IN_LOCALE_C) */
7239 #if defined(PERL_IN_MALLOC_C)
7240 STATIC int
7241 S_adjust_size_and_find_bucket(size_t *nbytes_p);
7242 # define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \
7243         assert(nbytes_p)
7244
7245 #endif
7246 #if defined(PERL_IN_MG_C)
7247 STATIC void
7248 S_fixup_errno_string(pTHX_ SV *sv);
7249 # define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING    \
7250         assert(sv)
7251
7252 STATIC SV *
7253 S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
7254 # define PERL_ARGS_ASSERT_MAGIC_METHCALL1       \
7255         assert(sv); assert(mg); assert(meth)
7256
7257 STATIC int
7258 S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
7259 # define PERL_ARGS_ASSERT_MAGIC_METHPACK        \
7260         assert(sv); assert(mg); assert(meth)
7261
7262 STATIC void
7263 S_restore_magic(pTHX_ const void *p);
7264 # define PERL_ARGS_ASSERT_RESTORE_MAGIC
7265
7266 STATIC void
7267 S_save_magic_flags(pTHX_ SSize_t mgs_ix, SV *sv, U32 flags);
7268 # define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS      \
7269         assert(sv)
7270
7271 STATIC void
7272 S_unwind_handler_stack(pTHX_ const void *p);
7273 # define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
7274
7275 #endif /* defined(PERL_IN_MG_C) */
7276 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
7277 PERL_CALLCONV bool
7278 Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
7279         __attribute__visibility__("hidden");
7280 # define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \
7281         assert(posp); assert(lenp)
7282
7283 #endif
7284 #if defined(PERL_IN_MRO_C)
7285 STATIC void
7286 S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
7287 # define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV      \
7288         assert(isa); assert(name)
7289
7290 STATIC void
7291 S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
7292 # define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \
7293         assert(stashes); assert(seen_stashes); assert(namesv)
7294
7295 STATIC AV *
7296 S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level);
7297 # define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
7298         assert(stash)
7299
7300 #endif /* defined(PERL_IN_MRO_C) */
7301 #if defined(PERL_IN_NUMERIC_C)
7302 STATIC void
7303 S_output_non_portable(pTHX_ const U8 shift);
7304 # define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
7305
7306 #endif
7307 #if defined(PERL_IN_OP_C)
7308 STATIC void
7309 S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
7310 # define PERL_ARGS_ASSERT_APPLY_ATTRS           \
7311         assert(stash); assert(target)
7312
7313 STATIC void
7314 S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
7315 # define PERL_ARGS_ASSERT_APPLY_ATTRS_MY        \
7316         assert(stash); assert(target); assert(imopsp)
7317
7318 STATIC I32
7319 S_assignment_type(pTHX_ const OP *o)
7320         __attribute__warn_unused_result__;
7321 # define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
7322
7323 STATIC void
7324 S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
7325 # define PERL_ARGS_ASSERT_BAD_TYPE_GV           \
7326         assert(gv); assert(kid); assert(t)
7327
7328 STATIC void
7329 S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
7330 # define PERL_ARGS_ASSERT_BAD_TYPE_PV           \
7331         assert(t); assert(o); assert(kid)
7332
7333 STATIC void
7334 S_clear_special_blocks(pTHX_ const char * const fullname, GV * const gv, CV * const cv);
7335 # define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS  \
7336         assert(fullname); assert(gv); assert(cv)
7337
7338 STATIC void
7339 S_cop_free(pTHX_ COP *cop);
7340 # define PERL_ARGS_ASSERT_COP_FREE              \
7341         assert(cop)
7342
7343 STATIC OP *
7344 S_dup_attrlist(pTHX_ OP *o);
7345 # define PERL_ARGS_ASSERT_DUP_ATTRLIST          \
7346         assert(o)
7347
7348 STATIC void
7349 S_find_and_forget_pmops(pTHX_ OP *o);
7350 # define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
7351         assert(o)
7352
7353 STATIC OP *
7354 S_fold_constants(pTHX_ OP * const o);
7355 # define PERL_ARGS_ASSERT_FOLD_CONSTANTS        \
7356         assert(o)
7357
7358 STATIC OP *
7359 S_force_list(pTHX_ OP *arg, bool nullit);
7360 # define PERL_ARGS_ASSERT_FORCE_LIST
7361
7362 STATIC void
7363 S_forget_pmop(pTHX_ PMOP * const o);
7364 # define PERL_ARGS_ASSERT_FORGET_PMOP           \
7365         assert(o)
7366
7367 STATIC void
7368 S_gen_constant_list(pTHX_ OP *o);
7369 # define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
7370
7371 STATIC void
7372 S_inplace_aassign(pTHX_ OP *o);
7373 # define PERL_ARGS_ASSERT_INPLACE_AASSIGN       \
7374         assert(o)
7375
7376 STATIC bool
7377 S_is_handle_constructor(const OP *o, I32 numargs)
7378         __attribute__warn_unused_result__;
7379 # define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
7380         assert(o)
7381
7382 STATIC OP *
7383 S_listkids(pTHX_ OP *o);
7384 # define PERL_ARGS_ASSERT_LISTKIDS
7385
7386 STATIC bool
7387 S_looks_like_bool(pTHX_ const OP *o);
7388 # define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL       \
7389         assert(o)
7390
7391 STATIC OP *
7392 S_modkids(pTHX_ OP *o, I32 type);
7393 # define PERL_ARGS_ASSERT_MODKIDS
7394
7395 STATIC void
7396 S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
7397 # define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR       \
7398         assert(proto); assert(attrs); assert(name)
7399
7400 STATIC OP *
7401 S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
7402 # define PERL_ARGS_ASSERT_MY_KID                \
7403         assert(imopsp)
7404
7405 STATIC OP *
7406 S_newGIVWHENOP(pTHX_ OP *cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
7407 # define PERL_ARGS_ASSERT_NEWGIVWHENOP          \
7408         assert(block)
7409
7410 STATIC OP *
7411 S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
7412         __attribute__warn_unused_result__;
7413 # define PERL_ARGS_ASSERT_NEW_LOGOP             \
7414         assert(firstp); assert(otherp)
7415
7416 STATIC OP *
7417 S_no_fh_allowed(pTHX_ OP *o)
7418         __attribute__warn_unused_result__;
7419 # define PERL_ARGS_ASSERT_NO_FH_ALLOWED         \
7420         assert(o)
7421
7422 STATIC OP *
7423 S_pmtrans(pTHX_ OP *o, OP *expr, OP *repl);
7424 # define PERL_ARGS_ASSERT_PMTRANS               \
7425         assert(o); assert(expr); assert(repl)
7426
7427 STATIC bool
7428 S_process_special_blocks(pTHX_ I32 floor, const char * const fullname, GV * const gv, CV * const cv);
7429 # define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
7430         assert(fullname); assert(gv); assert(cv)
7431
7432 STATIC OP *
7433 S_ref_array_or_hash(pTHX_ OP *cond);
7434 # define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
7435
7436 STATIC OP *
7437 S_refkids(pTHX_ OP *o, I32 type);
7438 # define PERL_ARGS_ASSERT_REFKIDS
7439
7440 STATIC bool
7441 S_scalar_mod_type(const OP *o, I32 type)
7442         __attribute__warn_unused_result__;
7443 # define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
7444
7445 STATIC OP *
7446 S_scalarboolean(pTHX_ OP *o);
7447 # define PERL_ARGS_ASSERT_SCALARBOOLEAN         \
7448         assert(o)
7449
7450 STATIC OP *
7451 S_scalarkids(pTHX_ OP *o);
7452 # define PERL_ARGS_ASSERT_SCALARKIDS
7453
7454 STATIC OP *
7455 S_search_const(pTHX_ OP *o)
7456         __attribute__warn_unused_result__;
7457 # define PERL_ARGS_ASSERT_SEARCH_CONST          \
7458         assert(o)
7459
7460 STATIC void
7461 S_simplify_sort(pTHX_ OP *o);
7462 # define PERL_ARGS_ASSERT_SIMPLIFY_SORT         \
7463         assert(o)
7464
7465 STATIC OP *
7466 S_too_few_arguments_pv(pTHX_ OP *o, const char *name, U32 flags)
7467         __attribute__warn_unused_result__;
7468 # define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV  \
7469         assert(o); assert(name)
7470
7471 STATIC OP *
7472 S_too_many_arguments_pv(pTHX_ OP *o, const char *name, U32 flags);
7473 # define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
7474         assert(o); assert(name)
7475
7476 STATIC OP *
7477 S_voidnonfinal(pTHX_ OP *o);
7478 # define PERL_ARGS_ASSERT_VOIDNONFINAL
7479
7480 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7481 PERL_STATIC_INLINE OP *
7482 S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP *dynamic_meth, SV * const_meth);
7483 #   define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
7484
7485 PERL_STATIC_INLINE OP *
7486 S_op_integerize(pTHX_ OP *o);
7487 #   define PERL_ARGS_ASSERT_OP_INTEGERIZE       \
7488         assert(o)
7489
7490 PERL_STATIC_INLINE OP *
7491 S_op_std_init(pTHX_ OP *o);
7492 #   define PERL_ARGS_ASSERT_OP_STD_INIT         \
7493         assert(o)
7494
7495 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7496 #endif /* defined(PERL_IN_OP_C) */
7497 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
7498 PERL_CALLCONV void
7499 Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
7500         __attribute__visibility__("hidden");
7501 # define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
7502
7503 PERL_CALLCONV void
7504 Perl_no_bareword_allowed(pTHX_ OP *o)
7505         __attribute__visibility__("hidden");
7506 # define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED   \
7507         assert(o)
7508
7509 PERL_CALLCONV void
7510 Perl_op_prune_chain_head(OP **op_p)
7511         __attribute__visibility__("hidden");
7512 # define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD   \
7513         assert(op_p)
7514
7515 PERL_CALLCONV SV *
7516 Perl_op_varname(pTHX_ const OP *o)
7517         __attribute__visibility__("hidden");
7518 # define PERL_ARGS_ASSERT_OP_VARNAME            \
7519         assert(o)
7520
7521 PERL_CALLCONV void
7522 Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
7523         __attribute__visibility__("hidden");
7524 # define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT \
7525         assert(o); assert(name)
7526
7527 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */
7528 #if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
7529
7530 #endif
7531 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
7532 PERL_CALLCONV void
7533 Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
7534         __attribute__visibility__("hidden");
7535 # define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV   \
7536         assert(name); assert(old_cv)
7537
7538 PERL_CALLCONV SV *
7539 Perl_varname(pTHX_ const GV * const gv, const char gvtype, PADOFFSET targ, const SV * const keyname, SSize_t aindex, int subscript_type)
7540         __attribute__warn_unused_result__
7541         __attribute__visibility__("hidden");
7542 # define PERL_ARGS_ASSERT_VARNAME
7543
7544 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C) */
7545 #if defined(PERL_IN_PAD_C)
7546 STATIC PADOFFSET
7547 S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
7548 # define PERL_ARGS_ASSERT_PAD_ALLOC_NAME        \
7549         assert(name)
7550
7551 STATIC void
7552 S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
7553 # define PERL_ARGS_ASSERT_PAD_CHECK_DUP         \
7554         assert(name)
7555
7556 STATIC PADOFFSET
7557 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);
7558 # define PERL_ARGS_ASSERT_PAD_FINDLEX           \
7559         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
7560
7561 STATIC void
7562 S_pad_reset(pTHX);
7563 # define PERL_ARGS_ASSERT_PAD_RESET
7564
7565 # if defined(DEBUGGING)
7566 STATIC void
7567 S_cv_dump(pTHX_ const CV *cv, const char *title);
7568 #   define PERL_ARGS_ASSERT_CV_DUMP             \
7569         assert(cv); assert(title)
7570
7571 # endif
7572 #endif /* defined(PERL_IN_PAD_C) */
7573 #if defined(PERL_IN_PEEP_C)
7574 STATIC void
7575 S_finalize_op(pTHX_ OP *o);
7576 # define PERL_ARGS_ASSERT_FINALIZE_OP           \
7577         assert(o)
7578
7579 STATIC void
7580 S_optimize_op(pTHX_ OP *o);
7581 # define PERL_ARGS_ASSERT_OPTIMIZE_OP           \
7582         assert(o)
7583
7584 STATIC OP *
7585 S_traverse_op_tree(pTHX_ OP *top, OP *o);
7586 # define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE      \
7587         assert(top); assert(o)
7588
7589 #endif /* defined(PERL_IN_PEEP_C) */
7590 #if defined(PERL_IN_PERL_C)
7591 STATIC void
7592 S_find_beginning(pTHX_ SV *linestr_sv, PerlIO *rsfp);
7593 # define PERL_ARGS_ASSERT_FIND_BEGINNING        \
7594         assert(linestr_sv); assert(rsfp)
7595
7596 STATIC void
7597 S_forbid_setid(pTHX_ const char flag, const bool suidscript);
7598 # define PERL_ARGS_ASSERT_FORBID_SETID
7599
7600 STATIC void
7601 S_incpush(pTHX_ const char * const dir, STRLEN len, U32 flags);
7602 # define PERL_ARGS_ASSERT_INCPUSH               \
7603         assert(dir)
7604
7605 STATIC void
7606 S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
7607 # define PERL_ARGS_ASSERT_INCPUSH_USE_SEP       \
7608         assert(p)
7609
7610 STATIC void
7611 S_init_ids(pTHX);
7612 # define PERL_ARGS_ASSERT_INIT_IDS
7613
7614 STATIC void
7615 S_init_interp(pTHX);
7616 # define PERL_ARGS_ASSERT_INIT_INTERP
7617
7618 STATIC void
7619 S_init_main_stash(pTHX);
7620 # define PERL_ARGS_ASSERT_INIT_MAIN_STASH
7621
7622 STATIC void
7623 S_init_perllib(pTHX);
7624 # define PERL_ARGS_ASSERT_INIT_PERLLIB
7625
7626 STATIC void
7627 S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
7628 # define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
7629         assert(argv)
7630
7631 STATIC void
7632 S_init_predump_symbols(pTHX);
7633 # define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
7634
7635 STATIC SV *
7636 S_mayberelocate(pTHX_ const char * const dir, STRLEN len, U32 flags);
7637 # define PERL_ARGS_ASSERT_MAYBERELOCATE         \
7638         assert(dir)
7639
7640 PERL_STATIC_NO_RET void
7641 S_minus_v(pTHX)
7642         __attribute__noreturn__;
7643 # define PERL_ARGS_ASSERT_MINUS_V
7644
7645 PERL_STATIC_NO_RET void
7646 S_my_exit_jump(pTHX)
7647         __attribute__noreturn__;
7648 # define PERL_ARGS_ASSERT_MY_EXIT_JUMP
7649
7650 STATIC void
7651 S_nuke_stacks(pTHX);
7652 # define PERL_ARGS_ASSERT_NUKE_STACKS
7653
7654 STATIC PerlIO *
7655 S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
7656 # define PERL_ARGS_ASSERT_OPEN_SCRIPT           \
7657         assert(scriptname); assert(suidscript)
7658
7659 STATIC void *
7660 S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
7661 # define PERL_ARGS_ASSERT_PARSE_BODY
7662
7663 PERL_STATIC_NO_RET void
7664 S_run_body(pTHX_ I32 oldscope)
7665         __attribute__noreturn__;
7666 # define PERL_ARGS_ASSERT_RUN_BODY
7667
7668 PERL_STATIC_NO_RET void
7669 S_usage(pTHX)
7670         __attribute__noreturn__;
7671 # define PERL_ARGS_ASSERT_USAGE
7672
7673 # if !defined(PERL_IS_MINIPERL)
7674 STATIC SV *
7675 S_incpush_if_exists(pTHX_ AV * const av, SV *dir, SV * const stem);
7676 #   define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS   \
7677         assert(av); assert(dir); assert(stem)
7678
7679 # endif
7680 # if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
7681 STATIC void
7682 S_validate_suid(pTHX_ PerlIO *rsfp);
7683 #   define PERL_ARGS_ASSERT_VALIDATE_SUID       \
7684         assert(rsfp)
7685
7686 # endif
7687 #endif /* defined(PERL_IN_PERL_C) */
7688 #if defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) || \
7689     defined(PERL_IN_UTF8_C)
7690 PERL_CALLCONV bool
7691 Perl__invlistEQ(pTHX_ SV * const a, SV * const b, const bool complement_b);
7692 # define PERL_ARGS_ASSERT__INVLISTEQ            \
7693         assert(a); assert(b)
7694
7695 PERL_CALLCONV SV *
7696 Perl__new_invlist_C_array(pTHX_ const UV * const list)
7697         __attribute__warn_unused_result__;
7698 # define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY  \
7699         assert(list)
7700
7701 #endif /* defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) ||
7702           defined(PERL_IN_UTF8_C) */
7703 #if defined(PERL_IN_PP_C)
7704 STATIC size_t
7705 S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
7706 # define PERL_ARGS_ASSERT_DO_CHOMP              \
7707         assert(retval); assert(sv)
7708
7709 STATIC OP *
7710 S_do_delete_local(pTHX);
7711 # define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
7712
7713 STATIC SV *
7714 S_refto(pTHX_ SV *sv)
7715         __attribute__warn_unused_result__;
7716 # define PERL_ARGS_ASSERT_REFTO                 \
7717         assert(sv)
7718
7719 #endif /* defined(PERL_IN_PP_C) */
7720 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
7721
7722 PERL_CALLCONV GV *
7723 Perl_softref2xv(pTHX_ SV * const sv, const char * const what, const svtype type)
7724         __attribute__warn_unused_result__;
7725 # define PERL_ARGS_ASSERT_SOFTREF2XV            \
7726         assert(sv); assert(what)
7727
7728 #endif
7729 #if defined(PERL_IN_PP_C) || defined(PERL_IN_UTF8_C)
7730 PERL_CALLCONV UV
7731 Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7732         __attribute__visibility__("hidden");
7733 # define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7734         assert(p); assert(lenp)
7735
7736 #endif
7737 #if defined(PERL_IN_PP_CTL_C)
7738 STATIC PerlIO *
7739 S_check_type_and_open(pTHX_ SV *name)
7740         __attribute__warn_unused_result__;
7741 # define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN   \
7742         assert(name)
7743
7744 STATIC void
7745 S_destroy_matcher(pTHX_ PMOP *matcher);
7746 # define PERL_ARGS_ASSERT_DESTROY_MATCHER       \
7747         assert(matcher)
7748
7749 STATIC OP *
7750 S_do_smartmatch(pTHX_ HV *seen_this, HV *seen_other, const bool copied);
7751 # define PERL_ARGS_ASSERT_DO_SMARTMATCH
7752
7753 STATIC OP *
7754 S_docatch(pTHX_ Perl_ppaddr_t firstpp)
7755         __attribute__warn_unused_result__;
7756 # define PERL_ARGS_ASSERT_DOCATCH
7757
7758 STATIC bool
7759 S_doeval_compile(pTHX_ U8 gimme, CV *outside, U32 seq, HV *hh);
7760 # define PERL_ARGS_ASSERT_DOEVAL_COMPILE
7761
7762 STATIC OP *
7763 S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
7764         __attribute__warn_unused_result__;
7765 # define PERL_ARGS_ASSERT_DOFINDLABEL           \
7766         assert(o); assert(label); assert(opstack); assert(oplimit)
7767
7768 STATIC MAGIC *
7769 S_doparseform(pTHX_ SV *sv);
7770 # define PERL_ARGS_ASSERT_DOPARSEFORM           \
7771         assert(sv)
7772
7773 STATIC I32
7774 S_dopoptoeval(pTHX_ I32 startingblock)
7775         __attribute__warn_unused_result__;
7776 # define PERL_ARGS_ASSERT_DOPOPTOEVAL
7777
7778 STATIC I32
7779 S_dopoptogivenfor(pTHX_ I32 startingblock)
7780         __attribute__warn_unused_result__;
7781 # define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
7782
7783 STATIC I32
7784 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
7785         __attribute__warn_unused_result__;
7786 # define PERL_ARGS_ASSERT_DOPOPTOLABEL          \
7787         assert(label)
7788
7789 STATIC I32
7790 S_dopoptoloop(pTHX_ I32 startingblock)
7791         __attribute__warn_unused_result__;
7792 # define PERL_ARGS_ASSERT_DOPOPTOLOOP
7793
7794 STATIC I32
7795 S_dopoptosub_at(pTHX_ const PERL_CONTEXT *cxstk, I32 startingblock)
7796         __attribute__warn_unused_result__;
7797 # define PERL_ARGS_ASSERT_DOPOPTOSUB_AT         \
7798         assert(cxstk)
7799
7800 STATIC I32
7801 S_dopoptowhen(pTHX_ I32 startingblock)
7802         __attribute__warn_unused_result__;
7803 # define PERL_ARGS_ASSERT_DOPOPTOWHEN
7804
7805 STATIC PMOP *
7806 S_make_matcher(pTHX_ REGEXP *re)
7807         __attribute__warn_unused_result__;
7808 # define PERL_ARGS_ASSERT_MAKE_MATCHER          \
7809         assert(re)
7810
7811 STATIC bool
7812 S_matcher_matches_sv(pTHX_ PMOP *matcher, SV *sv)
7813         __attribute__warn_unused_result__;
7814 # define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV    \
7815         assert(matcher); assert(sv)
7816
7817 STATIC bool
7818 S_num_overflow(NV value, I32 fldsize, I32 frcsize)
7819         __attribute__warn_unused_result__;
7820 # define PERL_ARGS_ASSERT_NUM_OVERFLOW
7821
7822 STATIC I32
7823 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
7824         __attribute__warn_unused_result__;
7825 # define PERL_ARGS_ASSERT_RUN_USER_FILTER       \
7826         assert(buf_sv)
7827
7828 STATIC void
7829 S_rxres_free(pTHX_ void **rsp);
7830 # define PERL_ARGS_ASSERT_RXRES_FREE            \
7831         assert(rsp)
7832
7833 STATIC void
7834 S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
7835 # define PERL_ARGS_ASSERT_RXRES_RESTORE         \
7836         assert(rsp); assert(rx)
7837
7838 STATIC void
7839 S_save_lines(pTHX_ AV *array, SV *sv);
7840 # define PERL_ARGS_ASSERT_SAVE_LINES            \
7841         assert(sv)
7842
7843 # if !defined(PERL_DISABLE_PMC)
7844 STATIC PerlIO *
7845 S_doopen_pm(pTHX_ SV *name)
7846         __attribute__warn_unused_result__;
7847 #   define PERL_ARGS_ASSERT_DOOPEN_PM           \
7848         assert(name)
7849
7850 # endif
7851 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7852 PERL_STATIC_INLINE bool
7853 S_path_is_searchable(const char *name)
7854         __attribute__warn_unused_result__;
7855 #   define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE  \
7856         assert(name)
7857
7858 # endif
7859 #endif /* defined(PERL_IN_PP_CTL_C) */
7860 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_IN_UTIL_C)
7861 PERL_CALLCONV bool
7862 Perl_invoke_exception_hook(pTHX_ SV *ex, bool warn)
7863         __attribute__visibility__("hidden");
7864 # define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7865
7866 #endif
7867 #if defined(PERL_IN_PP_HOT_C)
7868 STATIC void
7869 S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
7870 # define PERL_ARGS_ASSERT_DO_ODDBALL            \
7871         assert(oddkey); assert(firstkey)
7872
7873 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7874 PERL_STATIC_INLINE HV *
7875 S_opmethod_stash(pTHX_ SV *meth);
7876 #   define PERL_ARGS_ASSERT_OPMETHOD_STASH      \
7877         assert(meth)
7878
7879 PERL_STATIC_FORCE_INLINE bool
7880 S_should_we_output_Debug_r(pTHX_ regexp *prog)
7881         __attribute__warn_unused_result__
7882         __attribute__always_inline__;
7883 #   define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R \
7884         assert(prog)
7885
7886 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7887 #endif /* defined(PERL_IN_PP_HOT_C) */
7888 #if defined(PERL_IN_PP_PACK_C)
7889 STATIC int
7890 S_div128(pTHX_ SV *pnum, bool *done);
7891 # define PERL_ARGS_ASSERT_DIV128                \
7892         assert(pnum); assert(done)
7893
7894 STATIC char
7895 S_first_symbol(const char *pat, const char *patend);
7896 # define PERL_ARGS_ASSERT_FIRST_SYMBOL          \
7897         assert(pat); assert(patend)
7898
7899 STATIC const char *
7900 S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
7901         __attribute__warn_unused_result__;
7902 # define PERL_ARGS_ASSERT_GET_NUM               \
7903         assert(patptr); assert(lenptr)
7904
7905 STATIC const char *
7906 S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
7907 # define PERL_ARGS_ASSERT_GROUP_END             \
7908         assert(patptr); assert(patend)
7909
7910 STATIC SV *
7911 S_is_an_int(pTHX_ const char *s, STRLEN l)
7912         __attribute__warn_unused_result__;
7913 # define PERL_ARGS_ASSERT_IS_AN_INT             \
7914         assert(s)
7915
7916 STATIC SSize_t
7917 S_measure_struct(pTHX_ struct tempsym *symptr);
7918 # define PERL_ARGS_ASSERT_MEASURE_STRUCT        \
7919         assert(symptr)
7920
7921 STATIC SV *
7922 S_mul128(pTHX_ SV *sv, U8 m);
7923 # define PERL_ARGS_ASSERT_MUL128                \
7924         assert(sv)
7925
7926 STATIC char *
7927 S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
7928         __attribute__warn_unused_result__;
7929 # define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8      \
7930         assert(start); assert(dest)
7931
7932 STATIC bool
7933 S_need_utf8(const char *pat, const char *patend);
7934 # define PERL_ARGS_ASSERT_NEED_UTF8             \
7935         assert(pat); assert(patend)
7936
7937 STATIC bool
7938 S_next_symbol(pTHX_ struct tempsym *symptr);
7939 # define PERL_ARGS_ASSERT_NEXT_SYMBOL           \
7940         assert(symptr)
7941
7942 STATIC SV **
7943 S_pack_rec(pTHX_ SV *cat, struct tempsym *symptr, SV **beglist, SV **endlist);
7944 # define PERL_ARGS_ASSERT_PACK_REC              \
7945         assert(cat); assert(symptr); assert(beglist); assert(endlist)
7946
7947 STATIC char *
7948 S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
7949         __attribute__warn_unused_result__;
7950 # define PERL_ARGS_ASSERT_SV_EXP_GROW           \
7951         assert(sv)
7952
7953 STATIC SSize_t
7954 S_unpack_rec(pTHX_ struct tempsym *symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
7955 # define PERL_ARGS_ASSERT_UNPACK_REC            \
7956         assert(symptr); assert(s); assert(strbeg); assert(strend)
7957
7958 #endif /* defined(PERL_IN_PP_PACK_C) */
7959 #if defined(PERL_IN_PP_SORT_C)
7960 STATIC I32
7961 S_sortcv(pTHX_ SV * const a, SV * const b);
7962 # define PERL_ARGS_ASSERT_SORTCV                \
7963         assert(a); assert(b)
7964
7965 STATIC I32
7966 S_sortcv_stacked(pTHX_ SV * const a, SV * const b);
7967 # define PERL_ARGS_ASSERT_SORTCV_STACKED        \
7968         assert(a); assert(b)
7969
7970 STATIC I32
7971 S_sortcv_xsub(pTHX_ SV * const a, SV * const b);
7972 # define PERL_ARGS_ASSERT_SORTCV_XSUB           \
7973         assert(a); assert(b)
7974
7975 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7976 PERL_STATIC_INLINE I32
7977 S_amagic_cmp(pTHX_ SV * const str1, SV * const str2);
7978 #   define PERL_ARGS_ASSERT_AMAGIC_CMP          \
7979         assert(str1); assert(str2)
7980
7981 PERL_STATIC_INLINE I32
7982 S_amagic_cmp_desc(pTHX_ SV * const str1, SV * const str2);
7983 #   define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC     \
7984         assert(str1); assert(str2)
7985
7986 PERL_STATIC_INLINE I32
7987 S_amagic_i_ncmp(pTHX_ SV * const a, SV * const b);
7988 #   define PERL_ARGS_ASSERT_AMAGIC_I_NCMP       \
7989         assert(a); assert(b)
7990
7991 PERL_STATIC_INLINE I32
7992 S_amagic_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
7993 #   define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC  \
7994         assert(a); assert(b)
7995
7996 PERL_STATIC_INLINE I32
7997 S_amagic_ncmp(pTHX_ SV * const a, SV * const b);
7998 #   define PERL_ARGS_ASSERT_AMAGIC_NCMP         \
7999         assert(a); assert(b)
8000
8001 PERL_STATIC_INLINE I32
8002 S_amagic_ncmp_desc(pTHX_ SV * const a, SV * const b);
8003 #   define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC    \
8004         assert(a); assert(b)
8005
8006 PERL_STATIC_INLINE I32
8007 S_cmp_desc(pTHX_ SV * const str1, SV * const str2);
8008 #   define PERL_ARGS_ASSERT_CMP_DESC            \
8009         assert(str1); assert(str2)
8010
8011 PERL_STATIC_FORCE_INLINE void
8012 S_sortsv_flags_impl(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
8013         __attribute__always_inline__;
8014 #   define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL   \
8015         assert(cmp)
8016
8017 PERL_STATIC_INLINE I32
8018 S_sv_i_ncmp(pTHX_ SV * const a, SV * const b);
8019 #   define PERL_ARGS_ASSERT_SV_I_NCMP           \
8020         assert(a); assert(b)
8021
8022 PERL_STATIC_INLINE I32
8023 S_sv_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
8024 #   define PERL_ARGS_ASSERT_SV_I_NCMP_DESC      \
8025         assert(a); assert(b)
8026
8027 PERL_STATIC_INLINE I32
8028 S_sv_ncmp(pTHX_ SV * const a, SV * const b);
8029 #   define PERL_ARGS_ASSERT_SV_NCMP             \
8030         assert(a); assert(b)
8031
8032 PERL_STATIC_INLINE I32
8033 S_sv_ncmp_desc(pTHX_ SV * const a, SV * const b);
8034 #   define PERL_ARGS_ASSERT_SV_NCMP_DESC        \
8035         assert(a); assert(b)
8036
8037 #   if defined(USE_LOCALE_COLLATE)
8038 PERL_STATIC_INLINE I32
8039 S_amagic_cmp_locale(pTHX_ SV * const str1, SV * const str2);
8040 #     define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
8041         assert(str1); assert(str2)
8042
8043 PERL_STATIC_INLINE I32
8044 S_amagic_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8045 #     define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
8046         assert(str1); assert(str2)
8047
8048 PERL_STATIC_INLINE I32
8049 S_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8050 #     define PERL_ARGS_ASSERT_CMP_LOCALE_DESC   \
8051         assert(str1); assert(str2)
8052
8053 #   endif /* defined(USE_LOCALE_COLLATE) */
8054 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8055 #endif /* defined(PERL_IN_PP_SORT_C) */
8056 #if defined(PERL_IN_PP_SYS_C)
8057 STATIC OP *
8058 S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
8059 # define PERL_ARGS_ASSERT_DOFORM                \
8060         assert(cv); assert(gv)
8061
8062 STATIC SV *
8063 S_space_join_names_mortal(pTHX_ char * const *array);
8064 # define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
8065
8066 # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
8067 STATIC int
8068 S_dooneliner(pTHX_ const char *cmd, const char *filename)
8069         __attribute__warn_unused_result__;
8070 #   define PERL_ARGS_ASSERT_DOONELINER          \
8071         assert(cmd); assert(filename)
8072
8073 # endif
8074 #endif /* defined(PERL_IN_PP_SYS_C) */
8075 #if defined(PERL_IN_REGCOMP_ANY)
8076 PERL_CALLCONV void
8077 Perl_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV **invlist)
8078         __attribute__visibility__("hidden");
8079 # define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
8080         assert(pRExC_state); assert(invlist)
8081
8082 PERL_CALLCONV regnode *
8083 Perl_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth)
8084         __attribute__visibility__("hidden");
8085 # define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \
8086         assert(pRExC_state); assert(source)
8087
8088 PERL_CALLCONV SV *
8089 Perl_get_ANYOFHbbm_contents(pTHX_ const regnode *n)
8090         __attribute__warn_unused_result__
8091         __attribute__visibility__("hidden");
8092 # define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
8093         assert(n)
8094
8095 PERL_CALLCONV SV *
8096 Perl_get_ANYOFM_contents(pTHX_ const regnode *n)
8097         __attribute__warn_unused_result__
8098         __attribute__visibility__("hidden");
8099 # define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS   \
8100         assert(n)
8101
8102 PERL_CALLCONV bool
8103 Perl_is_ssc_worth_it(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
8104         __attribute__visibility__("hidden");
8105 # define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT       \
8106         assert(pRExC_state); assert(ssc)
8107
8108 PERL_CALLCONV U32
8109 Perl_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth)
8110         __attribute__visibility__("hidden");
8111 # define PERL_ARGS_ASSERT_JOIN_EXACT            \
8112         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
8113
8114 PERL_CALLCONV I32
8115 Perl_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth)
8116         __attribute__visibility__("hidden");
8117 # define PERL_ARGS_ASSERT_MAKE_TRIE             \
8118         assert(pRExC_state); assert(startbranch); assert(first); assert(last); \
8119         assert(tail)
8120
8121 PERL_CALLCONV void
8122 Perl_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV **invlist_ptr)
8123         __attribute__visibility__("hidden");
8124 # define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST \
8125         assert(node); assert(invlist_ptr)
8126
8127 PERL_CALLCONV U32
8128 Perl_reg_add_data(RExC_state_t * const pRExC_state, const char * const s, const U32 n)
8129         __attribute__warn_unused_result__
8130         __attribute__visibility__("hidden");
8131 # define PERL_ARGS_ASSERT_REG_ADD_DATA          \
8132         assert(pRExC_state); assert(s)
8133
8134 PERL_CALLCONV void
8135 Perl_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf)
8136         __attribute__visibility__("hidden");
8137 # define PERL_ARGS_ASSERT_SCAN_COMMIT           \
8138         assert(pRExC_state); assert(data); assert(minlenp)
8139
8140 PERL_CALLCONV void
8141 Perl_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)
8142         __attribute__visibility__("hidden");
8143 # define PERL_ARGS_ASSERT_SET_ANYOF_ARG         \
8144         assert(pRExC_state); assert(node)
8145
8146 PERL_CALLCONV void
8147 Perl_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc)
8148         __attribute__visibility__("hidden");
8149 # define PERL_ARGS_ASSERT_SSC_FINALIZE          \
8150         assert(pRExC_state); assert(ssc)
8151
8152 PERL_CALLCONV void
8153 Perl_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc)
8154         __attribute__visibility__("hidden");
8155 # define PERL_ARGS_ASSERT_SSC_INIT              \
8156         assert(pRExC_state); assert(ssc)
8157
8158 PERL_CALLCONV SSize_t
8159 Perl_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, bool was_mutate_ok)
8160         __attribute__visibility__("hidden");
8161 # define PERL_ARGS_ASSERT_STUDY_CHUNK           \
8162         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); \
8163         assert(last)
8164
8165 # if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
8166 STATIC void
8167 S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 depth);
8168 #   define PERL_ARGS_ASSERT_DUMP_TRIE           \
8169         assert(trie); assert(revcharmap)
8170
8171 STATIC void
8172 S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8173 #   define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
8174         assert(trie); assert(revcharmap)
8175
8176 STATIC void
8177 S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8178 #   define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
8179         assert(trie); assert(revcharmap)
8180
8181 # endif /* defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING) */
8182 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8183 PERL_STATIC_INLINE SV *
8184 S_invlist_contents(pTHX_ SV * const invlist, const bool traditional_style)
8185         __attribute__warn_unused_result__;
8186 #   define PERL_ARGS_ASSERT_INVLIST_CONTENTS    \
8187         assert(invlist)
8188
8189 PERL_STATIC_INLINE UV
8190 S_invlist_highest_range_start(SV * const invlist)
8191         __attribute__warn_unused_result__;
8192 #   define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START \
8193         assert(invlist)
8194
8195 PERL_STATIC_INLINE bool
8196 S_invlist_is_iterating(const SV * const invlist)
8197         __attribute__warn_unused_result__;
8198 #   define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \
8199         assert(invlist)
8200
8201 PERL_STATIC_INLINE UV
8202 S_invlist_lowest(SV * const invlist)
8203         __attribute__warn_unused_result__;
8204 #   define PERL_ARGS_ASSERT_INVLIST_LOWEST      \
8205         assert(invlist)
8206
8207 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8208 #endif /* defined(PERL_IN_REGCOMP_ANY) */
8209 #if defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_SV_C)
8210 PERL_CALLCONV SV *
8211 Perl_invlist_clone(pTHX_ SV * const invlist, SV *newlist);
8212 # define PERL_ARGS_ASSERT_INVLIST_CLONE         \
8213         assert(invlist)
8214
8215 #endif
8216 #if defined(PERL_IN_REGCOMP_C)
8217 STATIC AV *
8218 S_add_multi_match(pTHX_ AV *multi_char_matches, SV *multi_string, const STRLEN cp_count);
8219 # define PERL_ARGS_ASSERT_ADD_MULTI_MATCH       \
8220         assert(multi_string)
8221
8222 STATIC void
8223 S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
8224 # define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE    \
8225         assert(pRExC_state)
8226
8227 STATIC REGEXP *
8228 S_compile_wildcard(pTHX_ const char *subpattern, const STRLEN len, const bool ignore_case)
8229         __attribute__warn_unused_result__;
8230 # define PERL_ARGS_ASSERT_COMPILE_WILDCARD      \
8231         assert(subpattern)
8232
8233 STATIC U8
8234 S_compute_EXACTish(RExC_state_t *pRExC_state);
8235 # define PERL_ARGS_ASSERT_COMPUTE_EXACTISH      \
8236         assert(pRExC_state)
8237
8238 STATIC int
8239 S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
8240         __attribute__warn_unused_result__;
8241 # define PERL_ARGS_ASSERT_EDIT_DISTANCE         \
8242         assert(src); assert(tgt)
8243
8244 STATIC I32
8245 S_execute_wildcard(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
8246 # define PERL_ARGS_ASSERT_EXECUTE_WILDCARD      \
8247         assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
8248         assert(screamer)
8249
8250 STATIC U32
8251 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char *start, const char *end);
8252 # define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE  \
8253         assert(pRExC_state); assert(start); assert(end)
8254
8255 STATIC bool
8256 S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode_offset *nodep, UV *code_point_p, int *cp_count, I32 *flagp, const bool strict, const U32 depth);
8257 # define PERL_ARGS_ASSERT_GROK_BSLASH_N         \
8258         assert(pRExC_state); assert(flagp)
8259
8260 STATIC regnode_offset
8261 S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char *backref_parse_start, char ch);
8262 # define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF  \
8263         assert(pRExC_state); assert(flagp); assert(backref_parse_start)
8264
8265 STATIC bool
8266 S_handle_names_wildcard(pTHX_ const char *wname, const STRLEN wname_len, SV **prop_definition, AV **strings);
8267 # define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
8268         assert(wname); assert(prop_definition); assert(strings)
8269
8270 STATIC int
8271 S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char * const s, char **updated_parse_ptr, AV **posix_warnings, const bool check_only);
8272 # define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
8273         assert(pRExC_state); assert(s)
8274
8275 STATIC regnode_offset
8276 S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV **return_invlist, I32 *flagp, U32 depth);
8277 # define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS     \
8278         assert(pRExC_state); assert(flagp)
8279
8280 STATIC SV *
8281 S_handle_user_defined_property(pTHX_ const char *name, const STRLEN name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, SV *contents, bool *user_defined_ptr, SV *msg, const STRLEN level);
8282 # define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY \
8283         assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
8284
8285 STATIC void
8286 S_nextchar(pTHX_ RExC_state_t *pRExC_state);
8287 # define PERL_ARGS_ASSERT_NEXTCHAR              \
8288         assert(pRExC_state)
8289
8290 STATIC U8
8291 S_optimize_regclass(pTHX_ RExC_state_t *pRExC_state, SV *cp_list, SV *only_utf8_locale_list, SV *upper_latin1_only_utf8_matches, const U32 has_runtime_dependency, const U32 posixl, U8 *anyof_flags, bool *invert, regnode_offset *ret, I32 *flagp);
8292 # define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS     \
8293         assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); \
8294         assert(flagp)
8295
8296 STATIC void
8297 S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV *posix_warnings);
8298 # define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS \
8299         assert(pRExC_state); assert(posix_warnings)
8300
8301 STATIC void
8302 S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
8303 # define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \
8304         assert(pRExC_state)
8305
8306 STATIC SV *
8307 S_parse_uniprop_string(pTHX_ const char * const name, Size_t name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, AV **strings, bool *user_defined_ptr, SV *msg, const STRLEN level);
8308 # define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING  \
8309         assert(name); assert(user_defined_ptr); assert(msg)
8310
8311 PERL_STATIC_NO_RET void
8312 S_re_croak(pTHX_ bool utf8, const char *pat, ...)
8313         __attribute__noreturn__
8314         __attribute__format__(__printf__,pTHX_2,pTHX_3);
8315 # define PERL_ARGS_ASSERT_RE_CROAK              \
8316         assert(pat)
8317
8318 STATIC regnode_offset
8319 S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
8320 # define PERL_ARGS_ASSERT_REG                   \
8321         assert(pRExC_state); assert(flagp)
8322
8323 STATIC regnode_offset
8324 S_reg1node(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
8325 # define PERL_ARGS_ASSERT_REG1NODE              \
8326         assert(pRExC_state)
8327
8328 STATIC regnode_offset
8329 S_reg2node(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
8330 # define PERL_ARGS_ASSERT_REG2NODE              \
8331         assert(pRExC_state)
8332
8333 STATIC regnode_offset
8334 S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8335 # define PERL_ARGS_ASSERT_REG_LA_NOTHING        \
8336         assert(pRExC_state); assert(type)
8337
8338 STATIC regnode_offset
8339 S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8340 # define PERL_ARGS_ASSERT_REG_LA_OPFAIL         \
8341         assert(pRExC_state); assert(type)
8342
8343 STATIC regnode_offset
8344 S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
8345 # define PERL_ARGS_ASSERT_REG_NODE              \
8346         assert(pRExC_state)
8347
8348 STATIC SV *
8349 S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
8350 # define PERL_ARGS_ASSERT_REG_SCAN_NAME         \
8351         assert(pRExC_state)
8352
8353 STATIC regnode_offset
8354 S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8355 # define PERL_ARGS_ASSERT_REGATOM               \
8356         assert(pRExC_state); assert(flagp)
8357
8358 STATIC regnode_offset
8359 S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
8360 # define PERL_ARGS_ASSERT_REGBRANCH             \
8361         assert(pRExC_state); assert(flagp)
8362
8363 STATIC regnode_offset
8364 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);
8365 # define PERL_ARGS_ASSERT_REGCLASS              \
8366         assert(pRExC_state); assert(flagp)
8367
8368 STATIC unsigned int
8369 S_regex_set_precedence(const U8 my_operator)
8370         __attribute__warn_unused_result__;
8371 # define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
8372
8373 STATIC void
8374 S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
8375 # define PERL_ARGS_ASSERT_REGINSERT             \
8376         assert(pRExC_state)
8377
8378 STATIC regnode_offset
8379 S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
8380 # define PERL_ARGS_ASSERT_REGNODE_GUTS          \
8381         assert(pRExC_state)
8382
8383 STATIC regnode_offset
8384 S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8385 # define PERL_ARGS_ASSERT_REGPIECE              \
8386         assert(pRExC_state); assert(flagp)
8387
8388 STATIC regnode_offset
8389 S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV *arg);
8390 # define PERL_ARGS_ASSERT_REGPNODE              \
8391         assert(pRExC_state); assert(arg)
8392
8393 STATIC bool
8394 S_regtail(pTHX_ RExC_state_t *pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
8395         __attribute__warn_unused_result__;
8396 # define PERL_ARGS_ASSERT_REGTAIL               \
8397         assert(pRExC_state); assert(p); assert(val)
8398
8399 STATIC void
8400 S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
8401 # define PERL_ARGS_ASSERT_SET_REGEX_PV          \
8402         assert(pRExC_state); assert(Rx)
8403
8404 STATIC void
8405 S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char **p, const bool force_to_xmod);
8406 # define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT \
8407         assert(pRExC_state); assert(p)
8408
8409 # if defined(DEBUGGING)
8410 STATIC regnode_offset
8411 S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
8412 #   define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG  \
8413         assert(pRExC_state)
8414
8415 STATIC bool
8416 S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
8417         __attribute__warn_unused_result__;
8418 #   define PERL_ARGS_ASSERT_REGTAIL_STUDY       \
8419         assert(pRExC_state); assert(p); assert(val)
8420
8421 #   if defined(ENABLE_REGEX_SETS_DEBUGGING)
8422 STATIC void
8423 S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV *stack, const IV fence, AV *fence_stack);
8424 #     define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES \
8425         assert(pRExC_state); assert(stack); assert(fence_stack)
8426
8427 #   endif
8428 # endif /* defined(DEBUGGING) */
8429 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8430 PERL_STATIC_INLINE Size_t
8431 S_find_first_differing_byte_pos(const U8 *s1, const U8 *s2, const Size_t max);
8432 #   define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS \
8433         assert(s1); assert(s2)
8434
8435 PERL_STATIC_INLINE char *
8436 S_reg_skipcomment(RExC_state_t *pRExC_state, char *p);
8437 #   define PERL_ARGS_ASSERT_REG_SKIPCOMMENT     \
8438         assert(pRExC_state); assert(p)
8439
8440 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8441 #endif /* defined(PERL_IN_REGCOMP_C) */
8442 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C)
8443 PERL_CALLCONV void
8444 Perl_populate_bitmap_from_invlist(pTHX_ SV *invlist, const UV offset, const U8 *bitmap, const Size_t len)
8445         __attribute__visibility__("hidden");
8446 # define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST \
8447         assert(invlist); assert(bitmap)
8448
8449 PERL_CALLCONV void
8450 Perl_populate_invlist_from_bitmap(pTHX_ const U8 *bitmap, const Size_t bitmap_len, SV **invlist, const UV offset)
8451         __attribute__visibility__("hidden");
8452 # define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP \
8453         assert(bitmap); assert(invlist)
8454
8455 #endif /* defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C) */
8456 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8457     defined(PERL_IN_TOKE_C)
8458 PERL_CALLCONV bool
8459 Perl_is_grapheme(pTHX_ const U8 *strbeg, const U8 *s, const U8 *strend, const UV cp)
8460         __attribute__warn_unused_result__
8461         __attribute__visibility__("hidden");
8462 # define PERL_ARGS_ASSERT_IS_GRAPHEME           \
8463         assert(strbeg); assert(s); assert(strend)
8464
8465 #endif
8466 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8467     defined(PERL_IN_UTF8_C)
8468 PERL_CALLCONV UV
8469 Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
8470 # define PERL_ARGS_ASSERT__TO_FOLD_LATIN1       \
8471         assert(p); assert(lenp)
8472
8473 #endif
8474 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
8475 PERL_CALLCONV bool
8476 Perl_regcurly(const char *s, const char *e, const char *result[5])
8477         __attribute__warn_unused_result__;
8478 # define PERL_ARGS_ASSERT_REGCURLY              \
8479         assert(s); assert(e)
8480
8481 #endif
8482 #if defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING)
8483 STATIC U8
8484 S_put_charclass_bitmap_innards(pTHX_ SV *sv, char *bitmap, SV *nonbitmap_invlist, SV *only_utf8_locale_invlist, const regnode * const node, const U8 flags, const bool force_as_is_display);
8485 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \
8486         assert(sv)
8487
8488 STATIC SV *
8489 S_put_charclass_bitmap_innards_common(pTHX_ SV *invlist, SV *posixes, SV *only_utf8, SV *not_utf8, SV *only_utf8_locale, const bool invert);
8490 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON \
8491         assert(invlist)
8492
8493 STATIC void
8494 S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV *invlist);
8495 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST \
8496         assert(sv); assert(invlist)
8497
8498 STATIC void
8499 S_put_code_point(pTHX_ SV *sv, UV c);
8500 # define PERL_ARGS_ASSERT_PUT_CODE_POINT        \
8501         assert(sv)
8502
8503 STATIC void
8504 S_put_range(pTHX_ SV *sv, UV start, const UV end, const bool allow_literals);
8505 # define PERL_ARGS_ASSERT_PUT_RANGE             \
8506         assert(sv)
8507
8508 STATIC void
8509 S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
8510 # define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
8511
8512 STATIC void
8513 S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
8514 # define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
8515
8516 #endif /* defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING) */
8517 #if defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD)
8518 STATIC void
8519 S__append_range_to_invlist(pTHX_ SV * const invlist, const UV start, const UV end);
8520 # define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \
8521         assert(invlist)
8522
8523 STATIC void
8524 S_initialize_invlist_guts(pTHX_ SV *invlist, const Size_t initial_size);
8525 # define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS \
8526         assert(invlist)
8527
8528 STATIC void
8529 S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
8530 # define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC \
8531         assert(dest); assert(src)
8532
8533 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8534 PERL_STATIC_INLINE UV *
8535 S__invlist_array_init(SV * const invlist, const bool will_have_0)
8536         __attribute__warn_unused_result__;
8537 #   define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
8538         assert(invlist)
8539
8540 PERL_STATIC_INLINE IV *
8541 S_get_invlist_previous_index_addr(SV *invlist)
8542         __attribute__warn_unused_result__;
8543 #   define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \
8544         assert(invlist)
8545
8546 PERL_STATIC_INLINE void
8547 S_invlist_clear(pTHX_ SV *invlist);
8548 #   define PERL_ARGS_ASSERT_INVLIST_CLEAR       \
8549         assert(invlist)
8550
8551 PERL_STATIC_INLINE UV
8552 S_invlist_max(const SV * const invlist)
8553         __attribute__warn_unused_result__;
8554 #   define PERL_ARGS_ASSERT_INVLIST_MAX         \
8555         assert(invlist)
8556
8557 PERL_STATIC_INLINE IV
8558 S_invlist_previous_index(SV * const invlist)
8559         __attribute__warn_unused_result__;
8560 #   define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
8561         assert(invlist)
8562
8563 PERL_STATIC_INLINE void
8564 S_invlist_set_previous_index(SV * const invlist, const IV index);
8565 #   define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \
8566         assert(invlist)
8567
8568 PERL_STATIC_INLINE void
8569 S_invlist_trim(SV *invlist);
8570 #   define PERL_ARGS_ASSERT_INVLIST_TRIM        \
8571         assert(invlist)
8572
8573 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8574 #endif /* defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD) */
8575 #if defined(PERL_IN_REGCOMP_STUDY_C)
8576 STATIC SV *
8577 S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass * const node);
8578 # define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \
8579         assert(pRExC_state); assert(node)
8580
8581 STATIC SV *
8582 S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
8583         __attribute__warn_unused_result__;
8584 # define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST   \
8585         assert(pRExC_state); assert(node)
8586
8587 STATIC void
8588 S_rck_elide_nothing(pTHX_ regnode *node);
8589 # define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING     \
8590         assert(node)
8591
8592 STATIC void
8593 S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
8594 # define PERL_ARGS_ASSERT_SSC_ADD_RANGE         \
8595         assert(ssc)
8596
8597 STATIC void
8598 S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
8599 # define PERL_ARGS_ASSERT_SSC_AND               \
8600         assert(pRExC_state); assert(ssc); assert(and_with)
8601
8602 STATIC void
8603 S_ssc_anything(pTHX_ regnode_ssc *ssc);
8604 # define PERL_ARGS_ASSERT_SSC_ANYTHING          \
8605         assert(ssc)
8606
8607 STATIC void
8608 S_ssc_clear_locale(regnode_ssc *ssc);
8609 # define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE      \
8610         assert(ssc)
8611
8612 STATIC void
8613 S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
8614 # define PERL_ARGS_ASSERT_SSC_CP_AND            \
8615         assert(ssc)
8616
8617 STATIC void
8618 S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8619 # define PERL_ARGS_ASSERT_SSC_INTERSECTION      \
8620         assert(ssc); assert(invlist)
8621
8622 STATIC int
8623 S_ssc_is_anything(const regnode_ssc *ssc)
8624         __attribute__warn_unused_result__;
8625 # define PERL_ARGS_ASSERT_SSC_IS_ANYTHING       \
8626         assert(ssc)
8627
8628 STATIC int
8629 S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
8630         __attribute__warn_unused_result__;
8631 # define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \
8632         assert(pRExC_state); assert(ssc)
8633
8634 STATIC void
8635 S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
8636 # define PERL_ARGS_ASSERT_SSC_OR                \
8637         assert(pRExC_state); assert(ssc); assert(or_with)
8638
8639 STATIC void
8640 S_ssc_union(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8641 # define PERL_ARGS_ASSERT_SSC_UNION             \
8642         assert(ssc); assert(invlist)
8643
8644 STATIC void
8645 S_unwind_scan_frames(pTHX_ const void *p);
8646 # define PERL_ARGS_ASSERT_UNWIND_SCAN_FRAMES    \
8647         assert(p)
8648
8649 #endif /* defined(PERL_IN_REGCOMP_STUDY_C) */
8650 #if defined(PERL_IN_REGEXEC_C)
8651 STATIC LB_enum
8652 S_advance_one_LB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8653         __attribute__warn_unused_result__;
8654 # define PERL_ARGS_ASSERT_ADVANCE_ONE_LB        \
8655         assert(curpos); assert(strend)
8656
8657 STATIC SB_enum
8658 S_advance_one_SB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8659         __attribute__warn_unused_result__;
8660 # define PERL_ARGS_ASSERT_ADVANCE_ONE_SB        \
8661         assert(curpos); assert(strend)
8662
8663 STATIC WB_enum
8664 S_advance_one_WB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
8665         __attribute__warn_unused_result__;
8666 # define PERL_ARGS_ASSERT_ADVANCE_ONE_WB        \
8667         assert(curpos); assert(strend)
8668
8669 STATIC GCB_enum
8670 S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8671         __attribute__warn_unused_result__;
8672 # define PERL_ARGS_ASSERT_BACKUP_ONE_GCB        \
8673         assert(strbeg); assert(curpos)
8674
8675 STATIC LB_enum
8676 S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8677         __attribute__warn_unused_result__;
8678 # define PERL_ARGS_ASSERT_BACKUP_ONE_LB         \
8679         assert(strbeg); assert(curpos)
8680
8681 STATIC SB_enum
8682 S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8683         __attribute__warn_unused_result__;
8684 # define PERL_ARGS_ASSERT_BACKUP_ONE_SB         \
8685         assert(strbeg); assert(curpos)
8686
8687 STATIC WB_enum
8688 S_backup_one_WB(pTHX_ WB_enum *previous, const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8689         __attribute__warn_unused_result__;
8690 # define PERL_ARGS_ASSERT_BACKUP_ONE_WB         \
8691         assert(previous); assert(strbeg); assert(curpos)
8692
8693 STATIC char *
8694 S_find_byclass(pTHX_ regexp *prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
8695         __attribute__warn_unused_result__;
8696 # define PERL_ARGS_ASSERT_FIND_BYCLASS          \
8697         assert(prog); assert(c); assert(s); assert(strend)
8698
8699 STATIC U8 *
8700 S_find_next_masked(U8 *s, const U8 *send, const U8 byte, const U8 mask)
8701         __attribute__warn_unused_result__;
8702 # define PERL_ARGS_ASSERT_FIND_NEXT_MASKED      \
8703         assert(s); assert(send)
8704
8705 STATIC U8 *
8706 S_find_span_end(U8 *s, const U8 *send, const U8 span_byte)
8707         __attribute__warn_unused_result__;
8708 # define PERL_ARGS_ASSERT_FIND_SPAN_END         \
8709         assert(s); assert(send)
8710
8711 STATIC U8 *
8712 S_find_span_end_mask(U8 *s, const U8 *send, const U8 span_byte, const U8 mask)
8713         __attribute__warn_unused_result__;
8714 # define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK    \
8715         assert(s); assert(send)
8716
8717 STATIC bool
8718 S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
8719         __attribute__warn_unused_result__;
8720 # define PERL_ARGS_ASSERT_ISFOO_LC
8721
8722 STATIC bool
8723 S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8 *character, const U8 *e)
8724         __attribute__warn_unused_result__;
8725 # define PERL_ARGS_ASSERT_ISFOO_UTF8_LC         \
8726         assert(character); assert(e)
8727
8728 STATIC bool
8729 S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
8730         __attribute__warn_unused_result__;
8731 # define PERL_ARGS_ASSERT_ISGCB                 \
8732         assert(strbeg); assert(curpos)
8733
8734 STATIC bool
8735 S_isLB(pTHX_ LB_enum before, LB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
8736         __attribute__warn_unused_result__;
8737 # define PERL_ARGS_ASSERT_ISLB                  \
8738         assert(strbeg); assert(curpos); assert(strend)
8739
8740 STATIC bool
8741 S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
8742         __attribute__warn_unused_result__;
8743 # define PERL_ARGS_ASSERT_ISSB                  \
8744         assert(strbeg); assert(curpos); assert(strend)
8745
8746 STATIC bool
8747 S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
8748         __attribute__warn_unused_result__;
8749 # define PERL_ARGS_ASSERT_ISWB                  \
8750         assert(strbeg); assert(curpos); assert(strend)
8751
8752 STATIC I32
8753 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
8754         __attribute__warn_unused_result__;
8755 # define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
8756         assert(rex); assert(scan)
8757
8758 STATIC void
8759 S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p comma_pDEPTH);
8760 # define PERL_ARGS_ASSERT_REGCP_RESTORE         \
8761         assert(rex); assert(maxopenparen_p)
8762
8763 STATIC void
8764 S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p comma_pDEPTH);
8765 # define PERL_ARGS_ASSERT_REGCPPOP              \
8766         assert(rex); assert(maxopenparen_p)
8767
8768 STATIC CHECKPOINT
8769 S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen comma_pDEPTH);
8770 # define PERL_ARGS_ASSERT_REGCPPUSH             \
8771         assert(rex)
8772
8773 STATIC U8 *
8774 S_reghop3(U8 *s, SSize_t off, const U8 *lim)
8775         __attribute__warn_unused_result__;
8776 # define PERL_ARGS_ASSERT_REGHOP3               \
8777         assert(s); assert(lim)
8778
8779 STATIC U8 *
8780 S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
8781         __attribute__warn_unused_result__;
8782 # define PERL_ARGS_ASSERT_REGHOP4               \
8783         assert(s); assert(llim); assert(rlim)
8784
8785 STATIC U8 *
8786 S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
8787         __attribute__warn_unused_result__;
8788 # define PERL_ARGS_ASSERT_REGHOPMAYBE3          \
8789         assert(s); assert(lim)
8790
8791 STATIC bool
8792 S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
8793         __attribute__warn_unused_result__;
8794 # define PERL_ARGS_ASSERT_REGINCLASS            \
8795         assert(n); assert(p); assert(p_end)
8796
8797 STATIC SSize_t
8798 S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
8799         __attribute__warn_unused_result__;
8800 # define PERL_ARGS_ASSERT_REGMATCH              \
8801         assert(reginfo); assert(startpos); assert(prog)
8802
8803 STATIC I32
8804 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info * const reginfo, I32 max comma_pDEPTH)
8805         __attribute__warn_unused_result__;
8806 # define PERL_ARGS_ASSERT_REGREPEAT             \
8807         assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo); \
8808         assert(max)
8809
8810 STATIC bool
8811 S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
8812         __attribute__warn_unused_result__;
8813 # define PERL_ARGS_ASSERT_REGTRY                \
8814         assert(reginfo); assert(startposp)
8815
8816 STATIC bool
8817 S_to_byte_substr(pTHX_ regexp *prog);
8818 # define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR        \
8819         assert(prog)
8820
8821 STATIC void
8822 S_to_utf8_substr(pTHX_ regexp *prog);
8823 # define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR        \
8824         assert(prog)
8825
8826 # if defined(DEBUGGING)
8827 STATIC void
8828 S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
8829 #   define PERL_ARGS_ASSERT_DEBUG_START_MATCH   \
8830         assert(prog); assert(start); assert(end); assert(blurb)
8831
8832 STATIC void
8833 S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, const U32 depth);
8834 #   define PERL_ARGS_ASSERT_DUMP_EXEC_POS       \
8835         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); \
8836         assert(loc_reg_starttry)
8837
8838 PERL_CALLCONV int
8839 Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
8840         __attribute__visibility__("hidden");
8841 #   define PERL_ARGS_ASSERT_RE_EXEC_INDENTF     \
8842         assert(fmt)
8843
8844 # endif /* defined(DEBUGGING) */
8845 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8846 PERL_STATIC_INLINE void
8847 S_capture_clear(pTHX_ regexp *rex, U16 from_ix, U16 to_ix, const char *str comma_pDEPTH);
8848 #   define PERL_ARGS_ASSERT_CAPTURE_CLEAR       \
8849         assert(rex); assert(str)
8850
8851 PERL_STATIC_INLINE I32
8852 S_foldEQ_latin1_s2_folded(pTHX_ const char *a, const char *b, I32 len);
8853 #   define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED \
8854         assert(a); assert(b)
8855
8856 PERL_STATIC_INLINE void
8857 S_unwind_paren(pTHX_ regexp *rex, U32 lp, U32 lcp comma_pDEPTH);
8858 #   define PERL_ARGS_ASSERT_UNWIND_PAREN        \
8859         assert(rex)
8860
8861 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8862 #endif /* defined(PERL_IN_REGEXEC_C) */
8863 #if defined(PERL_IN_REGEX_ENGINE)
8864
8865 # if defined(DEBUGGING)
8866 PERL_CALLCONV void
8867 Perl_debug_peep(pTHX_ const char *str, const RExC_state_t *pRExC_state, regnode *scan, U32 depth, U32 flags)
8868         __attribute__visibility__("hidden");
8869 #   define PERL_ARGS_ASSERT_DEBUG_PEEP          \
8870         assert(str); assert(pRExC_state)
8871
8872 PERL_CALLCONV void
8873 Perl_debug_show_study_flags(pTHX_ U32 flags, const char *open_str, const char *close_str)
8874         __attribute__visibility__("hidden");
8875 #   define PERL_ARGS_ASSERT_DEBUG_SHOW_STUDY_FLAGS \
8876         assert(open_str); assert(close_str)
8877
8878 PERL_CALLCONV void
8879 Perl_debug_studydata(pTHX_ const char *where, scan_data_t *data, U32 depth, int is_inf, SSize_t min, SSize_t stopmin, SSize_t delta)
8880         __attribute__visibility__("hidden");
8881 #   define PERL_ARGS_ASSERT_DEBUG_STUDYDATA     \
8882         assert(where)
8883
8884 PERL_CALLCONV const regnode *
8885 Perl_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV *sv, I32 indent, U32 depth)
8886         __attribute__visibility__("hidden");
8887 #   define PERL_ARGS_ASSERT_DUMPUNTIL           \
8888         assert(r); assert(start); assert(node); assert(sv)
8889
8890 PERL_CALLCONV int
8891 Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
8892         __attribute__visibility__("hidden");
8893 #   define PERL_ARGS_ASSERT_RE_INDENTF          \
8894         assert(fmt)
8895
8896 PERL_CALLCONV int
8897 Perl_re_printf(pTHX_ const char *fmt, ...)
8898         __attribute__visibility__("hidden")
8899         __attribute__format__(__printf__,pTHX_1,pTHX_2);
8900 #   define PERL_ARGS_ASSERT_RE_PRINTF           \
8901         assert(fmt)
8902
8903 PERL_CALLCONV void
8904 Perl_regprop(pTHX_ const regexp *prog, SV *sv, const regnode *o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
8905         __attribute__visibility__("hidden");
8906 #   define PERL_ARGS_ASSERT_REGPROP             \
8907         assert(sv); assert(o)
8908
8909 # endif /* defined(DEBUGGING) */
8910 # if defined(PERL_EXT_RE_BUILD)
8911 PERL_CALLCONV SV *
8912 Perl_get_re_gclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
8913         __attribute__visibility__("hidden");
8914 #   define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
8915         assert(node)
8916
8917 # else
8918 PERL_CALLCONV SV *
8919 Perl_get_regclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
8920         __attribute__visibility__("hidden");
8921 #   define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA \
8922         assert(node)
8923
8924 # endif
8925 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8926 PERL_STATIC_INLINE bool
8927 Perl_check_regnode_after(pTHX_ const regnode *p, const STRLEN extra)
8928         __attribute__warn_unused_result__;
8929 #   define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
8930
8931 PERL_STATIC_INLINE regnode *
8932 Perl_regnext(pTHX_ const regnode *p)
8933         __attribute__warn_unused_result__;
8934 #   define PERL_ARGS_ASSERT_REGNEXT
8935
8936 PERL_STATIC_INLINE regnode *
8937 Perl_regnode_after(pTHX_ const regnode *p, bool varies)
8938         __attribute__warn_unused_result__;
8939 #   define PERL_ARGS_ASSERT_REGNODE_AFTER
8940
8941 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8942 #endif /* defined(PERL_IN_REGEX_ENGINE) */
8943 #if defined(PERL_IN_SCOPE_C)
8944 STATIC void
8945 S_save_pushptri32ptr(pTHX_ void * const ptr1, const I32 i, void * const ptr2, const int type);
8946 # define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
8947
8948 STATIC SV *
8949 S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
8950 # define PERL_ARGS_ASSERT_SAVE_SCALAR_AT        \
8951         assert(sptr)
8952
8953 #endif /* defined(PERL_IN_SCOPE_C) */
8954 #if defined(PERL_IN_SV_C)
8955 STATIC char *
8956 S_F0convert(NV nv, char * const endbuf, STRLEN * const len);
8957 # define PERL_ARGS_ASSERT_F0CONVERT             \
8958         assert(endbuf); assert(len)
8959
8960 STATIC void
8961 S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
8962 # define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE    \
8963         assert(gv); assert(cv)
8964
8965 STATIC void
8966 S_assert_uft8_cache_coherent(pTHX_ const char * const func, STRLEN from_cache, STRLEN real, SV * const sv);
8967 # define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \
8968         assert(func); assert(sv)
8969
8970 STATIC bool
8971 S_curse(pTHX_ SV * const sv, const bool check_refcnt);
8972 # define PERL_ARGS_ASSERT_CURSE                 \
8973         assert(sv)
8974
8975 STATIC STRLEN
8976 S_expect_number(pTHX_ const char ** const pattern)
8977         __attribute__warn_unused_result__;
8978 # define PERL_ARGS_ASSERT_EXPECT_NUMBER         \
8979         assert(pattern)
8980
8981 STATIC SSize_t
8982 S_find_array_subscript(pTHX_ const AV * const av, const SV * const val);
8983 # define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT  \
8984         assert(val)
8985
8986 STATIC SV *
8987 S_find_hash_subscript(pTHX_ const HV * const hv, const SV * const val);
8988 # define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT   \
8989         assert(val)
8990
8991 STATIC SV *
8992 S_find_uninit_var(pTHX_ const OP * const obase, const SV * const uninit_sv, bool match, const char **desc_p);
8993 # define PERL_ARGS_ASSERT_FIND_UNINIT_VAR       \
8994         assert(desc_p)
8995
8996 STATIC bool
8997 S_glob_2number(pTHX_ GV * const gv);
8998 # define PERL_ARGS_ASSERT_GLOB_2NUMBER          \
8999         assert(gv)
9000
9001 STATIC void
9002 S_glob_assign_glob(pTHX_ SV * const dsv, SV * const ssv, const int dtype);
9003 # define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB      \
9004         assert(dsv); assert(ssv)
9005
9006 PERL_CALLCONV SV *
9007 Perl_more_sv(pTHX);
9008 # define PERL_ARGS_ASSERT_MORE_SV
9009
9010 STATIC void
9011 S_not_a_number(pTHX_ SV * const sv);
9012 # define PERL_ARGS_ASSERT_NOT_A_NUMBER          \
9013         assert(sv)
9014
9015 STATIC void
9016 S_not_incrementable(pTHX_ SV * const sv);
9017 # define PERL_ARGS_ASSERT_NOT_INCREMENTABLE     \
9018         assert(sv)
9019
9020 STATIC PTR_TBL_ENT_t *
9021 S_ptr_table_find(PTR_TBL_t * const tbl, const void * const sv)
9022         __attribute__warn_unused_result__;
9023 # define PERL_ARGS_ASSERT_PTR_TABLE_FIND        \
9024         assert(tbl)
9025
9026 STATIC bool
9027 S_sv_2iuv_common(pTHX_ SV * const sv);
9028 # define PERL_ARGS_ASSERT_SV_2IUV_COMMON        \
9029         assert(sv)
9030
9031 STATIC void
9032 S_sv_add_arena(pTHX_ char * const ptr, const U32 size, const U32 flags);
9033 # define PERL_ARGS_ASSERT_SV_ADD_ARENA          \
9034         assert(ptr)
9035
9036 STATIC const char *
9037 S_sv_display(pTHX_ SV * const sv, char *tmpbuf, STRLEN tmpbuf_size);
9038 # define PERL_ARGS_ASSERT_SV_DISPLAY            \
9039         assert(sv); assert(tmpbuf)
9040
9041 STATIC STRLEN
9042 S_sv_pos_b2u_midway(pTHX_ const U8 * const s, const U8 * const target, const U8 *end, STRLEN endu);
9043 # define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY     \
9044         assert(s); assert(target); assert(end)
9045
9046 STATIC STRLEN
9047 S_sv_pos_u2b_cached(pTHX_ SV * const sv, MAGIC ** const mgp, const U8 * const start, const U8 * const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0);
9048 # define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED     \
9049         assert(sv); assert(mgp); assert(start); assert(send)
9050
9051 STATIC STRLEN
9052 S_sv_pos_u2b_forwards(const U8 * const start, const U8 * const send, STRLEN * const uoffset, bool * const at_end, bool *canonical_position);
9053 # define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS   \
9054         assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
9055
9056 STATIC STRLEN
9057 S_sv_pos_u2b_midway(const U8 * const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
9058 # define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY     \
9059         assert(start); assert(send)
9060
9061 STATIC void
9062 S_utf8_mg_len_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN ulen);
9063 # define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \
9064         assert(sv); assert(mgp)
9065
9066 STATIC void
9067 S_utf8_mg_pos_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
9068 # define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
9069         assert(sv); assert(mgp)
9070
9071 STATIC SSize_t
9072 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
9073 # define PERL_ARGS_ASSERT_VISIT                 \
9074         assert(f)
9075
9076 # if defined(DEBUGGING)
9077 STATIC void
9078 S_del_sv(pTHX_ SV *p);
9079 #   define PERL_ARGS_ASSERT_DEL_SV              \
9080         assert(p)
9081
9082 PERL_CALLCONV void
9083 Perl_sv_mark_arenas(pTHX)
9084         __attribute__visibility__("hidden");
9085 #   define PERL_ARGS_ASSERT_SV_MARK_ARENAS
9086
9087 PERL_CALLCONV void
9088 Perl_sv_sweep_arenas(pTHX)
9089         __attribute__visibility__("hidden");
9090 #   define PERL_ARGS_ASSERT_SV_SWEEP_ARENAS
9091
9092 # endif /* defined(DEBUGGING) */
9093 # if !defined(NV_PRESERVES_UV)
9094 #   if defined(DEBUGGING)
9095 STATIC int
9096 S_sv_2iuv_non_preserve(pTHX_ SV * const sv, I32 numtype);
9097 #     define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9098         assert(sv)
9099
9100 #   else
9101 STATIC int
9102 S_sv_2iuv_non_preserve(pTHX_ SV * const sv);
9103 #     define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9104         assert(sv)
9105
9106 #   endif
9107 # endif /* !defined(NV_PRESERVES_UV) */
9108 # if defined(PERL_DEBUG_READONLY_COW)
9109 STATIC void
9110 S_sv_buf_to_rw(pTHX_ SV *sv);
9111 #   define PERL_ARGS_ASSERT_SV_BUF_TO_RW        \
9112         assert(sv)
9113
9114 # endif
9115 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9116 PERL_STATIC_INLINE void
9117 S_sv_unglob(pTHX_ SV * const sv, U32 flags);
9118 #   define PERL_ARGS_ASSERT_SV_UNGLOB           \
9119         assert(sv)
9120
9121 PERL_STATIC_INLINE char *
9122 S_uiv_2buf(char * const buf, const IV iv, UV uv, const int is_uv, char ** const peob)
9123         __attribute__warn_unused_result__;
9124 #   define PERL_ARGS_ASSERT_UIV_2BUF            \
9125         assert(buf); assert(peob)
9126
9127 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9128 # if defined(USE_ITHREADS)
9129 STATIC SV *
9130 S_sv_dup_common(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
9131         __attribute__warn_unused_result__;
9132 #   define PERL_ARGS_ASSERT_SV_DUP_COMMON       \
9133         assert(ssv); assert(param)
9134
9135 STATIC void
9136 S_sv_dup_hvaux(pTHX_ const SV * const ssv, SV *dsv, CLONE_PARAMS * const param);
9137 #   define PERL_ARGS_ASSERT_SV_DUP_HVAUX        \
9138         assert(ssv); assert(dsv); assert(param)
9139
9140 STATIC SV **
9141 S_sv_dup_inc_multiple(pTHX_ SV * const *source, SV **dest, SSize_t items, CLONE_PARAMS * const param);
9142 #   define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \
9143         assert(source); assert(dest); assert(param)
9144
9145 STATIC void
9146 S_unreferenced_to_tmp_stack(pTHX_ AV * const unreferenced);
9147 #   define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \
9148         assert(unreferenced)
9149
9150 # endif /* defined(USE_ITHREADS) */
9151 #endif /* defined(PERL_IN_SV_C) */
9152 #if defined(PERL_IN_TOKE_C)
9153 STATIC int
9154 S_ao(pTHX_ int toketype);
9155 # define PERL_ARGS_ASSERT_AO
9156
9157 STATIC void
9158 S_check_uni(pTHX);
9159 # define PERL_ARGS_ASSERT_CHECK_UNI
9160
9161 STATIC void
9162 S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
9163 # define PERL_ARGS_ASSERT_CHECKCOMMA            \
9164         assert(s); assert(name); assert(what)
9165
9166 STATIC char *
9167 S_filter_gets(pTHX_ SV *sv, STRLEN append)
9168         __attribute__warn_unused_result__;
9169 # define PERL_ARGS_ASSERT_FILTER_GETS           \
9170         assert(sv)
9171
9172 STATIC HV *
9173 S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
9174         __attribute__warn_unused_result__;
9175 # define PERL_ARGS_ASSERT_FIND_IN_MY_STASH      \
9176         assert(pkgname)
9177
9178 STATIC void
9179 S_force_ident(pTHX_ const char *s, int kind);
9180 # define PERL_ARGS_ASSERT_FORCE_IDENT           \
9181         assert(s)
9182
9183 STATIC void
9184 S_force_ident_maybe_lex(pTHX_ char pit);
9185 # define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
9186
9187 STATIC void
9188 S_force_next(pTHX_ I32 type);
9189 # define PERL_ARGS_ASSERT_FORCE_NEXT
9190
9191 STATIC char *
9192 S_force_strict_version(pTHX_ char *s);
9193 # define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION  \
9194         assert(s)
9195
9196 STATIC char *
9197 S_force_version(pTHX_ char *s, int guessing);
9198 # define PERL_ARGS_ASSERT_FORCE_VERSION         \
9199         assert(s)
9200
9201 STATIC char *
9202 S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
9203 # define PERL_ARGS_ASSERT_FORCE_WORD            \
9204         assert(start)
9205
9206 STATIC SV *
9207 S_get_and_check_backslash_N_name_wrapper(pTHX_ const char *s, const char * const e)
9208         __attribute__warn_unused_result__;
9209 # define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
9210         assert(s); assert(e)
9211
9212 STATIC void
9213 S_incline(pTHX_ const char *s, const char *end);
9214 # define PERL_ARGS_ASSERT_INCLINE               \
9215         assert(s); assert(end)
9216
9217 STATIC int
9218 S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
9219 # define PERL_ARGS_ASSERT_INTUIT_METHOD         \
9220         assert(s)
9221
9222 STATIC int
9223 S_intuit_more(pTHX_ char *s, char *e);
9224 # define PERL_ARGS_ASSERT_INTUIT_MORE           \
9225         assert(s); assert(e)
9226
9227 STATIC I32
9228 S_lop(pTHX_ I32 f, U8 x, char *s);
9229 # define PERL_ARGS_ASSERT_LOP                   \
9230         assert(s)
9231
9232 PERL_STATIC_NO_RET void
9233 S_missingterm(pTHX_ char *s, STRLEN len)
9234         __attribute__noreturn__;
9235 # define PERL_ARGS_ASSERT_MISSINGTERM
9236
9237 STATIC SV *
9238 S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen, const char **error_msg);
9239 # define PERL_ARGS_ASSERT_NEW_CONSTANT          \
9240         assert(key); assert(sv)
9241
9242 STATIC void
9243 S_no_op(pTHX_ const char * const what, char *s);
9244 # define PERL_ARGS_ASSERT_NO_OP                 \
9245         assert(what)
9246
9247 STATIC void
9248 S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
9249 # define PERL_ARGS_ASSERT_PARSE_IDENT           \
9250         assert(s); assert(d); assert(e)
9251
9252 STATIC int
9253 S_pending_ident(pTHX);
9254 # define PERL_ARGS_ASSERT_PENDING_IDENT
9255
9256 STATIC char *
9257 S_scan_const(pTHX_ char *start)
9258         __attribute__warn_unused_result__;
9259 # define PERL_ARGS_ASSERT_SCAN_CONST            \
9260         assert(start)
9261
9262 STATIC char *
9263 S_scan_formline(pTHX_ char *s)
9264         __attribute__warn_unused_result__;
9265 # define PERL_ARGS_ASSERT_SCAN_FORMLINE         \
9266         assert(s)
9267
9268 STATIC char *
9269 S_scan_heredoc(pTHX_ char *s)
9270         __attribute__warn_unused_result__;
9271 # define PERL_ARGS_ASSERT_SCAN_HEREDOC          \
9272         assert(s)
9273
9274 STATIC char *
9275 S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
9276 # define PERL_ARGS_ASSERT_SCAN_IDENT            \
9277         assert(s); assert(dest)
9278
9279 STATIC char *
9280 S_scan_inputsymbol(pTHX_ char *start)
9281         __attribute__warn_unused_result__;
9282 # define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL      \
9283         assert(start)
9284
9285 STATIC char *
9286 S_scan_pat(pTHX_ char *start, I32 type)
9287         __attribute__warn_unused_result__;
9288 # define PERL_ARGS_ASSERT_SCAN_PAT              \
9289         assert(start)
9290
9291 STATIC char *
9292 S_scan_subst(pTHX_ char *start)
9293         __attribute__warn_unused_result__;
9294 # define PERL_ARGS_ASSERT_SCAN_SUBST            \
9295         assert(start)
9296
9297 STATIC char *
9298 S_scan_trans(pTHX_ char *start)
9299         __attribute__warn_unused_result__;
9300 # define PERL_ARGS_ASSERT_SCAN_TRANS            \
9301         assert(start)
9302
9303 STATIC I32
9304 S_sublex_done(pTHX)
9305         __attribute__warn_unused_result__;
9306 # define PERL_ARGS_ASSERT_SUBLEX_DONE
9307
9308 STATIC I32
9309 S_sublex_push(pTHX)
9310         __attribute__warn_unused_result__;
9311 # define PERL_ARGS_ASSERT_SUBLEX_PUSH
9312
9313 STATIC I32
9314 S_sublex_start(pTHX)
9315         __attribute__warn_unused_result__;
9316 # define PERL_ARGS_ASSERT_SUBLEX_START
9317
9318 STATIC char *
9319 S_swallow_bom(pTHX_ U8 *s)
9320         __attribute__warn_unused_result__;
9321 # define PERL_ARGS_ASSERT_SWALLOW_BOM           \
9322         assert(s)
9323
9324 STATIC char *
9325 S_tokenize_use(pTHX_ int is_use, char *s)
9326         __attribute__warn_unused_result__;
9327 # define PERL_ARGS_ASSERT_TOKENIZE_USE          \
9328         assert(s)
9329
9330 STATIC SV *
9331 S_tokeq(pTHX_ SV *sv);
9332 # define PERL_ARGS_ASSERT_TOKEQ                 \
9333         assert(sv)
9334
9335 STATIC void
9336 S_update_debugger_info(pTHX_ SV *orig_sv, const char * const buf, STRLEN len);
9337 # define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
9338
9339 STATIC int
9340 S_yywarn(pTHX_ const char * const s, U32 flags);
9341 # define PERL_ARGS_ASSERT_YYWARN                \
9342         assert(s)
9343
9344 # if defined(DEBUGGING)
9345 STATIC void
9346 S_printbuf(pTHX_ const char * const fmt, const char * const s)
9347         __attribute__format__(__printf__,pTHX_1,0);
9348 #   define PERL_ARGS_ASSERT_PRINTBUF            \
9349         assert(fmt); assert(s)
9350
9351 STATIC int
9352 S_tokereport(pTHX_ I32 rv, const YYSTYPE *lvalp);
9353 #   define PERL_ARGS_ASSERT_TOKEREPORT          \
9354         assert(lvalp)
9355
9356 # endif /* defined(DEBUGGING) */
9357 # if defined(PERL_CR_FILTER)
9358 STATIC I32
9359 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
9360 #   define PERL_ARGS_ASSERT_CR_TEXTFILTER
9361
9362 STATIC void
9363 S_strip_return(pTHX_ SV *sv);
9364 #   define PERL_ARGS_ASSERT_STRIP_RETURN        \
9365         assert(sv)
9366
9367 # endif /* defined(PERL_CR_FILTER) */
9368 # if !defined(PERL_NO_UTF16_FILTER)
9369 STATIC U8 *
9370 S_add_utf16_textfilter(pTHX_ U8 * const s, bool reversed);
9371 #   define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
9372         assert(s)
9373
9374 STATIC I32
9375 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
9376 #   define PERL_ARGS_ASSERT_UTF16_TEXTFILTER    \
9377         assert(sv)
9378
9379 # endif /* !defined(PERL_NO_UTF16_FILTER) */
9380 #endif /* defined(PERL_IN_TOKE_C) */
9381 #if defined(PERL_IN_UNIVERSAL_C)
9382 STATIC bool
9383 S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char *name, STRLEN len, U32 flags);
9384
9385 STATIC bool
9386 S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char *name, const STRLEN len, U32 flags);
9387
9388 #endif
9389 #if defined(PERL_IN_UTF8_C)
9390 STATIC UV
9391 S__to_utf8_case(pTHX_ const UV original, const U8 *p, U8 *ustrp, STRLEN *lenp, SV *invlist, const I32 * const invmap, const U32 * const * const aux_tables, const U8 * const aux_table_lengths, const char * const normal);
9392 # define PERL_ARGS_ASSERT__TO_UTF8_CASE         \
9393         assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
9394
9395 STATIC UV
9396 S_check_locale_boundary_crossing(pTHX_ const U8 * const p, const UV result, U8 * const ustrp, STRLEN *lenp)
9397         __attribute__warn_unused_result__;
9398 # define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
9399         assert(p); assert(ustrp); assert(lenp)
9400
9401 STATIC HV *
9402 S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
9403         __attribute__warn_unused_result__;
9404 # define PERL_ARGS_ASSERT_NEW_MSG_HV            \
9405         assert(message)
9406
9407 STATIC UV
9408 S_to_case_cp_list(pTHX_ const UV original, const U32 ** const remaining_list, Size_t *remaining_count, SV *invlist, const I32 * const invmap, const U32 * const * const aux_tables, const U8 * const aux_table_lengths, const char * const normal);
9409 # define PERL_ARGS_ASSERT_TO_CASE_CP_LIST       \
9410         assert(invlist); assert(invmap); assert(normal)
9411
9412 STATIC U8
9413 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
9414         __attribute__warn_unused_result__;
9415 # define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
9416
9417 STATIC UV
9418 S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9419 # define PERL_ARGS_ASSERT_TURKIC_FC             \
9420         assert(p); assert(e); assert(ustrp); assert(lenp)
9421
9422 STATIC UV
9423 S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9424 # define PERL_ARGS_ASSERT_TURKIC_LC             \
9425         assert(p0); assert(e); assert(ustrp); assert(lenp)
9426
9427 STATIC UV
9428 S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9429 # define PERL_ARGS_ASSERT_TURKIC_UC             \
9430         assert(p); assert(e); assert(ustrp); assert(lenp)
9431
9432 STATIC char *
9433 S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
9434         __attribute__warn_unused_result__;
9435 # define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT \
9436         assert(s)
9437
9438 # if 0
9439 STATIC void
9440 S_warn_on_first_deprecated_use(pTHX_ U32 category, const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
9441 #   define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE \
9442         assert(name); assert(alternative); assert(file)
9443
9444 # endif
9445 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9446 PERL_STATIC_INLINE int
9447 S_does_utf8_overflow(const U8 * const s, const U8 *e, const bool consider_overlongs)
9448         __attribute__warn_unused_result__;
9449 #   define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW  \
9450         assert(s); assert(e)
9451
9452 PERL_STATIC_INLINE int
9453 S_isFF_overlong(const U8 * const s, const STRLEN len)
9454         __attribute__warn_unused_result__;
9455 #   define PERL_ARGS_ASSERT_ISFF_OVERLONG       \
9456         assert(s)
9457
9458 PERL_STATIC_INLINE bool
9459 S_is_utf8_common(pTHX_ const U8 * const p, const U8 * const e, SV * const invlist)
9460         __attribute__warn_unused_result__;
9461 #   define PERL_ARGS_ASSERT_IS_UTF8_COMMON      \
9462         assert(p); assert(e)
9463
9464 PERL_STATIC_INLINE int
9465 S_is_utf8_overlong(const U8 * const s, const STRLEN len)
9466         __attribute__warn_unused_result__;
9467 #   define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG    \
9468         assert(s)
9469
9470 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9471 #endif /* defined(PERL_IN_UTF8_C) */
9472 #if defined(PERL_IN_UTIL_C)
9473 STATIC bool
9474 S_ckwarn_common(pTHX_ U32 w);
9475 # define PERL_ARGS_ASSERT_CKWARN_COMMON
9476
9477 STATIC SV *
9478 S_mess_alloc(pTHX);
9479 # define PERL_ARGS_ASSERT_MESS_ALLOC
9480
9481 STATIC SV *
9482 S_with_queued_errors(pTHX_ SV *ex);
9483 # define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS    \
9484         assert(ex)
9485
9486 STATIC void
9487 S_xs_version_bootcheck(pTHX_ SSize_t items, SSize_t ax, const char *xs_p, STRLEN xs_len);
9488 # define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK  \
9489         assert(xs_p)
9490
9491 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9492 STATIC void
9493 S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
9494 #   define PERL_ARGS_ASSERT_MEM_LOG_COMMON      \
9495         assert(type_name); assert(filename); assert(funcname)
9496
9497 # endif
9498 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9499 PERL_STATIC_INLINE U32
9500 S_ptr_hash(PTRV u);
9501 #   define PERL_ARGS_ASSERT_PTR_HASH
9502
9503 # endif
9504 # if defined(PERL_USES_PL_PIDSTATUS)
9505 STATIC void
9506 S_pidgone(pTHX_ Pid_t pid, int status);
9507 #   define PERL_ARGS_ASSERT_PIDGONE
9508
9509 # endif
9510 #endif /* defined(PERL_IN_UTIL_C) */
9511 #if defined(PERL_MEM_LOG)
9512 PERL_CALLCONV Malloc_t
9513 Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
9514 # define PERL_ARGS_ASSERT_MEM_LOG_ALLOC         \
9515         assert(type_name); assert(filename); assert(funcname)
9516
9517 PERL_CALLCONV void
9518 Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9519 # define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV        \
9520         assert(sv); assert(filename); assert(funcname)
9521
9522 PERL_CALLCONV Malloc_t
9523 Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
9524 # define PERL_ARGS_ASSERT_MEM_LOG_FREE          \
9525         assert(filename); assert(funcname)
9526
9527 PERL_CALLCONV void
9528 Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9529 # define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV        \
9530         assert(sv); assert(filename); assert(funcname)
9531
9532 PERL_CALLCONV Malloc_t
9533 Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
9534 # define PERL_ARGS_ASSERT_MEM_LOG_REALLOC       \
9535         assert(type_name); assert(filename); assert(funcname)
9536
9537 #endif /* defined(PERL_MEM_LOG) */
9538 #if !defined(PERL_NO_INLINE_FUNCTIONS)
9539 PERL_STATIC_INLINE I32 *
9540 Perl_CvDEPTH(const CV * const sv);
9541 # define PERL_ARGS_ASSERT_CVDEPTH               \
9542         assert(sv)
9543
9544 PERL_STATIC_INLINE GV *
9545 Perl_CvGV(pTHX_ CV *sv);
9546 # define PERL_ARGS_ASSERT_CVGV                  \
9547         assert(sv)
9548
9549 PERL_STATIC_INLINE Stack_off_t
9550 Perl_POPMARK(pTHX);
9551 # define PERL_ARGS_ASSERT_POPMARK
9552
9553 PERL_STATIC_INLINE struct regexp *
9554 Perl_ReANY(const REGEXP * const re);
9555 # define PERL_ARGS_ASSERT_REANY                 \
9556         assert(re)
9557
9558 PERL_STATIC_INLINE void
9559 Perl_SvAMAGIC_off(SV *sv);
9560 # define PERL_ARGS_ASSERT_SVAMAGIC_OFF          \
9561         assert(sv)
9562
9563 PERL_STATIC_INLINE void
9564 Perl_SvAMAGIC_on(SV *sv);
9565 # define PERL_ARGS_ASSERT_SVAMAGIC_ON           \
9566         assert(sv)
9567
9568 PERL_STATIC_INLINE void
9569 Perl_SvGETMAGIC(pTHX_ SV *sv);
9570 # define PERL_ARGS_ASSERT_SVGETMAGIC            \
9571         assert(sv)
9572
9573 PERL_STATIC_INLINE IV
9574 Perl_SvIV(pTHX_ SV *sv);
9575 # define PERL_ARGS_ASSERT_SVIV                  \
9576         assert(sv)
9577
9578 PERL_STATIC_INLINE IV
9579 Perl_SvIV_nomg(pTHX_ SV *sv);
9580 # define PERL_ARGS_ASSERT_SVIV_NOMG             \
9581         assert(sv)
9582
9583 PERL_STATIC_INLINE NV
9584 Perl_SvNV(pTHX_ SV *sv);
9585 # define PERL_ARGS_ASSERT_SVNV                  \
9586         assert(sv)
9587
9588 PERL_STATIC_INLINE NV
9589 Perl_SvNV_nomg(pTHX_ SV *sv);
9590 # define PERL_ARGS_ASSERT_SVNV_NOMG             \
9591         assert(sv)
9592
9593 PERL_STATIC_FORCE_INLINE bool
9594 Perl_SvPVXtrue(pTHX_ SV *sv)
9595         __attribute__always_inline__;
9596 # define PERL_ARGS_ASSERT_SVPVXTRUE             \
9597         assert(sv)
9598
9599 PERL_STATIC_INLINE void
9600 Perl_SvREFCNT_dec(pTHX_ SV *sv);
9601 # define PERL_ARGS_ASSERT_SVREFCNT_DEC
9602
9603 PERL_STATIC_INLINE void
9604 Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
9605 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN       \
9606         assert(sv)
9607
9608 PERL_STATIC_INLINE SV *
9609 Perl_SvREFCNT_dec_ret_NULL(pTHX_ SV *sv);
9610 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_RET_NULL
9611
9612 PERL_STATIC_INLINE SV *
9613 Perl_SvREFCNT_inc(SV *sv);
9614 # define PERL_ARGS_ASSERT_SVREFCNT_INC
9615
9616 PERL_STATIC_INLINE SV *
9617 Perl_SvREFCNT_inc_NN(SV *sv);
9618 # define PERL_ARGS_ASSERT_SVREFCNT_INC_NN       \
9619         assert(sv)
9620
9621 PERL_STATIC_INLINE void
9622 Perl_SvREFCNT_inc_void(SV *sv);
9623 # define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
9624
9625 PERL_STATIC_INLINE bool
9626 Perl_SvTRUE(pTHX_ SV *sv);
9627 # define PERL_ARGS_ASSERT_SVTRUE
9628
9629 PERL_STATIC_INLINE bool
9630 Perl_SvTRUE_NN(pTHX_ SV *sv);
9631 # define PERL_ARGS_ASSERT_SVTRUE_NN             \
9632         assert(sv)
9633
9634 PERL_STATIC_INLINE bool
9635 Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
9636 # define PERL_ARGS_ASSERT_SVTRUE_COMMON         \
9637         assert(sv)
9638
9639 PERL_STATIC_INLINE bool
9640 Perl_SvTRUE_nomg(pTHX_ SV *sv);
9641 # define PERL_ARGS_ASSERT_SVTRUE_NOMG
9642
9643 PERL_STATIC_INLINE UV
9644 Perl_SvUV(pTHX_ SV *sv);
9645 # define PERL_ARGS_ASSERT_SVUV                  \
9646         assert(sv)
9647
9648 PERL_STATIC_INLINE UV
9649 Perl_SvUV_nomg(pTHX_ SV *sv);
9650 # define PERL_ARGS_ASSERT_SVUV_NOMG             \
9651         assert(sv)
9652
9653 PERL_STATIC_INLINE Stack_off_t
9654 Perl_TOPMARK(pTHX);
9655 # define PERL_ARGS_ASSERT_TOPMARK
9656
9657 PERL_STATIC_INLINE void
9658 Perl_append_utf8_from_native_byte(const U8 byte, U8 **dest);
9659 # define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
9660         assert(dest)
9661
9662 PERL_STATIC_INLINE Size_t
9663 Perl_av_count(pTHX_ AV *av)
9664         __attribute__warn_unused_result__;
9665 # define PERL_ARGS_ASSERT_AV_COUNT              \
9666         assert(av)
9667
9668 PERL_STATIC_INLINE SV **
9669 Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
9670         __attribute__warn_unused_result__;
9671 # define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE       \
9672         assert(av)
9673
9674 PERL_STATIC_INLINE AV *
9675 Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
9676         __attribute__warn_unused_result__;
9677 # define PERL_ARGS_ASSERT_AV_NEW_ALLOC
9678
9679 PERL_STATIC_INLINE void
9680 Perl_av_push_simple(pTHX_ AV *av, SV *val);
9681 # define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE        \
9682         assert(av); assert(val)
9683
9684 PERL_STATIC_INLINE void
9685 Perl_av_remove_offset(pTHX_ AV *av);
9686 # define PERL_ARGS_ASSERT_AV_REMOVE_OFFSET      \
9687         assert(av)
9688
9689 PERL_STATIC_INLINE SV **
9690 Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
9691 # define PERL_ARGS_ASSERT_AV_STORE_SIMPLE       \
9692         assert(av)
9693
9694 PERL_STATIC_INLINE void
9695 Perl_clear_defarray_simple(pTHX_ AV *av);
9696 # define PERL_ARGS_ASSERT_CLEAR_DEFARRAY_SIMPLE \
9697         assert(av)
9698
9699 PERL_STATIC_INLINE I32
9700 Perl_foldEQ(pTHX_ const char *a, const char *b, I32 len);
9701 # define PERL_ARGS_ASSERT_FOLDEQ                \
9702         assert(a); assert(b)
9703
9704 PERL_STATIC_INLINE I32
9705 Perl_foldEQ_latin1(pTHX_ const char *a, const char *b, I32 len);
9706 # define PERL_ARGS_ASSERT_FOLDEQ_LATIN1         \
9707         assert(a); assert(b)
9708
9709 PERL_STATIC_INLINE I32
9710 Perl_foldEQ_locale(pTHX_ const char *a, const char *b, I32 len);
9711 # define PERL_ARGS_ASSERT_FOLDEQ_LOCALE         \
9712         assert(a); assert(b)
9713
9714 PERL_STATIC_INLINE MGVTBL *
9715 Perl_get_vtbl(pTHX_ int vtbl_id)
9716         __attribute__warn_unused_result__;
9717 # define PERL_ARGS_ASSERT_GET_VTBL
9718
9719 PERL_STATIC_INLINE Size_t
9720 Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9721         __attribute__warn_unused_result__;
9722 # define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR \
9723         assert(s0); assert(e)
9724
9725 PERL_STATIC_INLINE Size_t
9726 Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9727         __attribute__warn_unused_result__;
9728 # define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR    \
9729         assert(s0); assert(e)
9730
9731 PERL_STATIC_INLINE Size_t
9732 Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
9733         __attribute__warn_unused_result__;
9734 # define PERL_ARGS_ASSERT_ISUTF8_CHAR           \
9735         assert(s0); assert(e)
9736
9737 PERL_STATIC_INLINE Size_t
9738 Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9739         __attribute__warn_unused_result__;
9740 # define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS     \
9741         assert(s0); assert(e)
9742
9743 PERL_STATIC_INLINE bool
9744 Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9745 # define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
9746         assert(s)
9747
9748 PERL_STATIC_INLINE bool
9749 Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
9750         __attribute__warn_unused_result__;
9751 # define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL       \
9752         assert(pv); assert(what); assert(op_name)
9753
9754 PERL_STATIC_INLINE bool
9755 Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9756 # define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
9757         assert(s)
9758
9759 PERL_STATIC_INLINE bool
9760 Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9761 # define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
9762         assert(s)
9763
9764 PERL_STATIC_INLINE bool
9765 Perl_is_utf8_invariant_string_loc(const U8 * const s, STRLEN len, const U8 **ep)
9766         __attribute__warn_unused_result__;
9767 # define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC \
9768         assert(s)
9769
9770 PERL_STATIC_INLINE bool
9771 Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
9772         __attribute__warn_unused_result__;
9773 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS  \
9774         assert(s)
9775
9776 PERL_STATIC_INLINE bool
9777 Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9778 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
9779         assert(s)
9780
9781 PERL_STATIC_INLINE bool
9782 Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9783 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
9784         assert(s)
9785
9786 PERL_STATIC_INLINE bool
9787 Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9788         __attribute__warn_unused_result__;
9789 # define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
9790         assert(s0); assert(e)
9791
9792 PERL_STATIC_INLINE unsigned
9793 Perl_lsbit_pos32(U32 word)
9794         __attribute__warn_unused_result__;
9795 # define PERL_ARGS_ASSERT_LSBIT_POS32
9796
9797 PERL_STATIC_INLINE char *
9798 Perl_mortal_getenv(const char *str)
9799         __attribute__warn_unused_result__;
9800 # define PERL_ARGS_ASSERT_MORTAL_GETENV         \
9801         assert(str)
9802
9803 PERL_STATIC_INLINE unsigned
9804 Perl_msbit_pos32(U32 word)
9805         __attribute__warn_unused_result__;
9806 # define PERL_ARGS_ASSERT_MSBIT_POS32
9807
9808 PERL_STATIC_INLINE OP *
9809 Perl_newPADxVOP(pTHX_ I32 type, I32 flags, PADOFFSET padix)
9810         __attribute__warn_unused_result__;
9811 # define PERL_ARGS_ASSERT_NEWPADXVOP
9812
9813 PERL_STATIC_INLINE SV *
9814 Perl_newRV_noinc(pTHX_ SV * const tmpRef)
9815         __attribute__warn_unused_result__;
9816 # define PERL_ARGS_ASSERT_NEWRV_NOINC           \
9817         assert(tmpRef)
9818
9819 PERL_STATIC_INLINE SV *
9820 Perl_newSV_type(pTHX_ const svtype type)
9821         __attribute__warn_unused_result__;
9822 # define PERL_ARGS_ASSERT_NEWSV_TYPE
9823
9824 PERL_STATIC_FORCE_INLINE SV *
9825 Perl_newSV_type_mortal(pTHX_ const svtype type)
9826         __attribute__warn_unused_result__
9827         __attribute__always_inline__;
9828 # define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
9829
9830 PERL_STATIC_INLINE void
9831 Perl_pop_stackinfo(pTHX);
9832 # define PERL_ARGS_ASSERT_POP_STACKINFO
9833
9834 PERL_STATIC_INLINE void
9835 Perl_push_stackinfo(pTHX_ I32 type, UV flags);
9836 # define PERL_ARGS_ASSERT_PUSH_STACKINFO
9837
9838 PERL_STATIC_INLINE void
9839 Perl_rpp_context(pTHX_ SV **mark, U8 gimme, SSize_t extra);
9840 # define PERL_ARGS_ASSERT_RPP_CONTEXT           \
9841         assert(mark)
9842
9843 PERL_STATIC_INLINE void
9844 Perl_rpp_extend(pTHX_ SSize_t n);
9845 # define PERL_ARGS_ASSERT_RPP_EXTEND
9846
9847 PERL_STATIC_INLINE void
9848 Perl_rpp_invoke_xs(pTHX_ CV *cv);
9849 # define PERL_ARGS_ASSERT_RPP_INVOKE_XS         \
9850         assert(cv)
9851
9852 PERL_STATIC_INLINE bool
9853 Perl_rpp_is_lone(pTHX_ SV *sv);
9854 # define PERL_ARGS_ASSERT_RPP_IS_LONE           \
9855         assert(sv)
9856
9857 PERL_STATIC_INLINE SV *
9858 Perl_rpp_pop_1_norc(pTHX);
9859 # define PERL_ARGS_ASSERT_RPP_POP_1_NORC
9860
9861 PERL_STATIC_INLINE void
9862 Perl_rpp_popfree_1(pTHX);
9863 # define PERL_ARGS_ASSERT_RPP_POPFREE_1
9864
9865 PERL_STATIC_INLINE void
9866 Perl_rpp_popfree_1_NN(pTHX);
9867 # define PERL_ARGS_ASSERT_RPP_POPFREE_1_NN
9868
9869 PERL_STATIC_INLINE void
9870 Perl_rpp_popfree_2(pTHX);
9871 # define PERL_ARGS_ASSERT_RPP_POPFREE_2
9872
9873 PERL_STATIC_INLINE void
9874 Perl_rpp_popfree_2_NN(pTHX);
9875 # define PERL_ARGS_ASSERT_RPP_POPFREE_2_NN
9876
9877 PERL_STATIC_INLINE void
9878 Perl_rpp_popfree_to(pTHX_ SV **sp);
9879 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO        \
9880         assert(sp)
9881
9882 PERL_STATIC_INLINE void
9883 Perl_rpp_popfree_to_NN(pTHX_ SV **sp);
9884 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO_NN     \
9885         assert(sp)
9886
9887 PERL_STATIC_INLINE void
9888 Perl_rpp_push_1(pTHX_ SV *sv);
9889 # define PERL_ARGS_ASSERT_RPP_PUSH_1            \
9890         assert(sv)
9891
9892 PERL_STATIC_INLINE void
9893 Perl_rpp_push_1_norc(pTHX_ SV *sv);
9894 # define PERL_ARGS_ASSERT_RPP_PUSH_1_NORC       \
9895         assert(sv)
9896
9897 PERL_STATIC_INLINE void
9898 Perl_rpp_push_2(pTHX_ SV *sv1, SV *sv2);
9899 # define PERL_ARGS_ASSERT_RPP_PUSH_2            \
9900         assert(sv1); assert(sv2)
9901
9902 PERL_STATIC_INLINE void
9903 Perl_rpp_push_IMM(pTHX_ SV *sv);
9904 # define PERL_ARGS_ASSERT_RPP_PUSH_IMM          \
9905         assert(sv)
9906
9907 PERL_STATIC_INLINE void
9908 Perl_rpp_replace_1_1(pTHX_ SV *sv);
9909 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1       \
9910         assert(sv)
9911
9912 PERL_STATIC_INLINE void
9913 Perl_rpp_replace_1_1_NN(pTHX_ SV *sv);
9914 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1_NN    \
9915         assert(sv)
9916
9917 PERL_STATIC_INLINE void
9918 Perl_rpp_replace_1_IMM_NN(pTHX_ SV *sv);
9919 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_IMM_NN  \
9920         assert(sv)
9921
9922 PERL_STATIC_INLINE void
9923 Perl_rpp_replace_2_1(pTHX_ SV *sv);
9924 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1       \
9925         assert(sv)
9926
9927 PERL_STATIC_INLINE void
9928 Perl_rpp_replace_2_1_COMMON(pTHX_ SV *sv);
9929 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_COMMON \
9930         assert(sv)
9931
9932 PERL_STATIC_INLINE void
9933 Perl_rpp_replace_2_1_NN(pTHX_ SV *sv);
9934 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_NN    \
9935         assert(sv)
9936
9937 PERL_STATIC_INLINE void
9938 Perl_rpp_replace_2_IMM_NN(pTHX_ SV *sv);
9939 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_IMM_NN  \
9940         assert(sv)
9941
9942 PERL_STATIC_INLINE void
9943 Perl_rpp_replace_at(pTHX_ SV **sp, SV *sv);
9944 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT        \
9945         assert(sp); assert(sv)
9946
9947 PERL_STATIC_INLINE void
9948 Perl_rpp_replace_at_NN(pTHX_ SV **sp, SV *sv);
9949 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NN     \
9950         assert(sp); assert(sv)
9951
9952 PERL_STATIC_INLINE void
9953 Perl_rpp_replace_at_norc(pTHX_ SV **sp, SV *sv);
9954 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC   \
9955         assert(sp); assert(sv)
9956
9957 PERL_STATIC_INLINE void
9958 Perl_rpp_replace_at_norc_NN(pTHX_ SV **sp, SV *sv);
9959 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC_NN \
9960         assert(sp); assert(sv)
9961
9962 PERL_STATIC_INLINE bool
9963 Perl_rpp_stack_is_rc(pTHX);
9964 # define PERL_ARGS_ASSERT_RPP_STACK_IS_RC
9965
9966 PERL_STATIC_INLINE bool
9967 Perl_rpp_try_AMAGIC_1(pTHX_ int method, int flags);
9968 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_1
9969
9970 PERL_STATIC_INLINE bool
9971 Perl_rpp_try_AMAGIC_2(pTHX_ int method, int flags);
9972 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_2
9973
9974 PERL_STATIC_INLINE void
9975 Perl_rpp_xpush_1(pTHX_ SV *sv);
9976 # define PERL_ARGS_ASSERT_RPP_XPUSH_1           \
9977         assert(sv)
9978
9979 PERL_STATIC_INLINE void
9980 Perl_rpp_xpush_2(pTHX_ SV *sv1, SV *sv2);
9981 # define PERL_ARGS_ASSERT_RPP_XPUSH_2           \
9982         assert(sv1); assert(sv2)
9983
9984 PERL_STATIC_INLINE void
9985 Perl_rpp_xpush_IMM(pTHX_ SV *sv);
9986 # define PERL_ARGS_ASSERT_RPP_XPUSH_IMM         \
9987         assert(sv)
9988
9989 PERL_STATIC_INLINE char *
9990 Perl_savepv(pTHX_ const char *pv)
9991         __attribute__malloc__
9992         __attribute__warn_unused_result__;
9993 # define PERL_ARGS_ASSERT_SAVEPV
9994
9995 PERL_STATIC_INLINE char *
9996 Perl_savepvn(pTHX_ const char *pv, Size_t len)
9997         __attribute__malloc__
9998         __attribute__warn_unused_result__;
9999 # define PERL_ARGS_ASSERT_SAVEPVN
10000
10001 PERL_STATIC_INLINE char *
10002 Perl_savesharedsvpv(pTHX_ SV *sv)
10003         __attribute__malloc__
10004         __attribute__warn_unused_result__;
10005 # define PERL_ARGS_ASSERT_SAVESHAREDSVPV        \
10006         assert(sv)
10007
10008 PERL_STATIC_INLINE char *
10009 Perl_savesvpv(pTHX_ SV *sv)
10010         __attribute__malloc__
10011         __attribute__warn_unused_result__;
10012 # define PERL_ARGS_ASSERT_SAVESVPV              \
10013         assert(sv)
10014
10015 PERL_STATIC_INLINE unsigned
10016 Perl_single_1bit_pos32(U32 word)
10017         __attribute__warn_unused_result__;
10018 # define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
10019
10020 PERL_STATIC_INLINE bool
10021 Perl_sv_only_taint_gmagic(SV *sv);
10022 # define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC  \
10023         assert(sv)
10024
10025 PERL_STATIC_INLINE char *
10026 Perl_sv_pvbyten_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10027 # define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER \
10028         assert(sv)
10029
10030 PERL_STATIC_INLINE char *
10031 Perl_sv_pvutf8n_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10032 # define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER \
10033         assert(sv)
10034
10035 PERL_STATIC_INLINE char  *
10036 Perl_sv_setpv_freshbuf(pTHX_ SV * const sv);
10037 # define PERL_ARGS_ASSERT_SV_SETPV_FRESHBUF     \
10038         assert(sv)
10039
10040 PERL_STATIC_INLINE void
10041 Perl_switch_argstack(pTHX_ AV *to);
10042 # define PERL_ARGS_ASSERT_SWITCH_ARGSTACK       \
10043         assert(to)
10044
10045 PERL_STATIC_INLINE IV
10046 Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
10047         __attribute__warn_unused_result__;
10048 # define PERL_ARGS_ASSERT_UTF8_DISTANCE         \
10049         assert(a); assert(b)
10050
10051 PERL_STATIC_INLINE U8 *
10052 Perl_utf8_hop(const U8 *s, SSize_t off)
10053         __attribute__warn_unused_result__;
10054 # define PERL_ARGS_ASSERT_UTF8_HOP              \
10055         assert(s)
10056
10057 PERL_STATIC_INLINE U8 *
10058 Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
10059         __attribute__warn_unused_result__;
10060 # define PERL_ARGS_ASSERT_UTF8_HOP_BACK         \
10061         assert(s); assert(start)
10062
10063 PERL_STATIC_INLINE U8 *
10064 Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
10065         __attribute__warn_unused_result__;
10066 # define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD      \
10067         assert(s); assert(end)
10068
10069 PERL_STATIC_INLINE U8 *
10070 Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
10071         __attribute__warn_unused_result__;
10072 # define PERL_ARGS_ASSERT_UTF8_HOP_SAFE         \
10073         assert(s); assert(start); assert(end)
10074
10075 PERL_STATIC_INLINE UV
10076 Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
10077 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER \
10078         assert(s); assert(send)
10079
10080 PERL_STATIC_INLINE UV
10081 Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors, AV **msgs);
10082 # define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS   \
10083         assert(s)
10084
10085 PERL_STATIC_INLINE UV
10086 Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
10087         __attribute__warn_unused_result__;
10088 # define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR   \
10089         assert(s)
10090
10091 PERL_STATIC_INLINE void
10092 Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
10093 # define PERL_ARGS_ASSERT_CX_POPBLOCK           \
10094         assert(cx)
10095
10096 PERL_STATIC_INLINE void
10097 Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
10098 # define PERL_ARGS_ASSERT_CX_POPEVAL            \
10099         assert(cx)
10100
10101 PERL_STATIC_INLINE void
10102 Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
10103 # define PERL_ARGS_ASSERT_CX_POPFORMAT          \
10104         assert(cx)
10105
10106 PERL_STATIC_INLINE void
10107 Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
10108 # define PERL_ARGS_ASSERT_CX_POPGIVEN           \
10109         assert(cx)
10110
10111 PERL_STATIC_INLINE void
10112 Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
10113 # define PERL_ARGS_ASSERT_CX_POPLOOP            \
10114         assert(cx)
10115
10116 PERL_STATIC_INLINE void
10117 Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
10118 # define PERL_ARGS_ASSERT_CX_POPSUB             \
10119         assert(cx)
10120
10121 PERL_STATIC_INLINE void
10122 Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
10123 # define PERL_ARGS_ASSERT_CX_POPSUB_ARGS        \
10124         assert(cx)
10125
10126 PERL_STATIC_INLINE void
10127 Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
10128 # define PERL_ARGS_ASSERT_CX_POPSUB_COMMON      \
10129         assert(cx)
10130
10131 PERL_STATIC_INLINE void
10132 Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
10133 # define PERL_ARGS_ASSERT_CX_POPWHEN            \
10134         assert(cx)
10135
10136 PERL_STATIC_INLINE PERL_CONTEXT *
10137 Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV **sp, I32 saveix);
10138 # define PERL_ARGS_ASSERT_CX_PUSHBLOCK          \
10139         assert(sp)
10140
10141 PERL_STATIC_INLINE void
10142 Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
10143 # define PERL_ARGS_ASSERT_CX_PUSHEVAL           \
10144         assert(cx)
10145
10146 PERL_STATIC_INLINE void
10147 Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
10148 # define PERL_ARGS_ASSERT_CX_PUSHFORMAT         \
10149         assert(cx); assert(cv)
10150
10151 PERL_STATIC_INLINE void
10152 Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
10153 # define PERL_ARGS_ASSERT_CX_PUSHGIVEN          \
10154         assert(cx)
10155
10156 PERL_STATIC_INLINE void
10157 Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
10158 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR       \
10159         assert(cx); assert(itervarp)
10160
10161 PERL_STATIC_INLINE void
10162 Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
10163 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN     \
10164         assert(cx)
10165
10166 PERL_STATIC_INLINE void
10167 Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
10168 # define PERL_ARGS_ASSERT_CX_PUSHSUB            \
10169         assert(cx); assert(cv)
10170
10171 PERL_STATIC_INLINE void
10172 Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
10173 # define PERL_ARGS_ASSERT_CX_PUSHTRY            \
10174         assert(cx)
10175
10176 PERL_STATIC_INLINE void
10177 Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
10178 # define PERL_ARGS_ASSERT_CX_PUSHWHEN           \
10179         assert(cx)
10180
10181 PERL_STATIC_INLINE void
10182 Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
10183 # define PERL_ARGS_ASSERT_CX_TOPBLOCK           \
10184         assert(cx)
10185
10186 PERL_STATIC_INLINE U8
10187 Perl_gimme_V(pTHX);
10188 # define PERL_ARGS_ASSERT_GIMME_V
10189
10190 # if !defined(HAS_STRLCAT)
10191 PERL_STATIC_INLINE Size_t
10192 Perl_my_strlcat(char *dst, const char *src, Size_t size);
10193 #   define PERL_ARGS_ASSERT_MY_STRLCAT
10194
10195 # endif
10196 # if !defined(HAS_STRNLEN)
10197 PERL_STATIC_INLINE Size_t
10198 Perl_my_strnlen(const char *str, Size_t maxlen);
10199 #   define PERL_ARGS_ASSERT_MY_STRNLEN          \
10200         assert(str)
10201
10202 # endif
10203 # if defined(PERL_CORE) || defined(PERL_EXT)
10204 PERL_STATIC_INLINE bool
10205 Perl_is_utf8_non_invariant_string(const U8 * const s, STRLEN len)
10206         __attribute__warn_unused_result__;
10207 #   define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \
10208         assert(s)
10209
10210 PERL_STATIC_INLINE STRLEN
10211 S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
10212 #   define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B    \
10213         assert(sv); assert(pv)
10214
10215 PERL_STATIC_INLINE Size_t
10216 S_variant_under_utf8_count(const U8 * const s, const U8 * const e)
10217         __attribute__warn_unused_result__;
10218 #   define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT \
10219         assert(s); assert(e)
10220
10221 #   if !defined(HAS_MEMRCHR)
10222 PERL_STATIC_INLINE void *
10223 S_my_memrchr(const char *s, const char c, const STRLEN len);
10224 #     define PERL_ARGS_ASSERT_MY_MEMRCHR        \
10225         assert(s)
10226
10227 #   endif
10228 # endif /* defined(PERL_CORE) || defined(PERL_EXT) */
10229 # if defined(PERL_IN_DOOP_C)    || defined(PERL_IN_OP_C)        || \
10230      defined(PERL_IN_PP_C)      || defined(PERL_IN_REGCOMP_ANY) || \
10231      defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)      || \
10232      defined(PERL_IN_UTF8_C)
10233 PERL_STATIC_INLINE bool
10234 S__invlist_contains_cp(SV * const invlist, const UV cp)
10235         __attribute__warn_unused_result__;
10236 #   define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
10237         assert(invlist)
10238
10239 PERL_STATIC_INLINE UV
10240 S__invlist_len(SV * const invlist)
10241         __attribute__warn_unused_result__;
10242 #   define PERL_ARGS_ASSERT__INVLIST_LEN        \
10243         assert(invlist)
10244
10245 PERL_STATIC_INLINE bool *
10246 S_get_invlist_offset_addr(SV *invlist)
10247         __attribute__warn_unused_result__;
10248 #   define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \
10249         assert(invlist)
10250
10251 PERL_STATIC_INLINE UV *
10252 S_invlist_array(SV * const invlist)
10253         __attribute__warn_unused_result__;
10254 #   define PERL_ARGS_ASSERT_INVLIST_ARRAY       \
10255         assert(invlist)
10256
10257 PERL_STATIC_INLINE bool
10258 S_is_invlist(const SV * const invlist)
10259         __attribute__warn_unused_result__;
10260 #   define PERL_ARGS_ASSERT_IS_INVLIST
10261
10262 # endif /* defined(PERL_IN_DOOP_C)    || defined(PERL_IN_OP_C)        ||
10263            defined(PERL_IN_PP_C)      || defined(PERL_IN_REGCOMP_ANY) ||
10264            defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)      ||
10265            defined(PERL_IN_UTF8_C) */
10266 # if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
10267      defined(PERL_IN_REGCOMP_ANY)
10268 PERL_STATIC_INLINE SV *
10269 S_add_cp_to_invlist(pTHX_ SV *invlist, const UV cp)
10270         __attribute__warn_unused_result__;
10271 #   define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
10272
10273 PERL_STATIC_INLINE void
10274 S_invlist_extend(pTHX_ SV * const invlist, const UV len);
10275 #   define PERL_ARGS_ASSERT_INVLIST_EXTEND      \
10276         assert(invlist)
10277
10278 PERL_STATIC_INLINE UV
10279 S_invlist_highest(SV * const invlist)
10280         __attribute__warn_unused_result__;
10281 #   define PERL_ARGS_ASSERT_INVLIST_HIGHEST     \
10282         assert(invlist)
10283
10284 PERL_STATIC_INLINE void
10285 S_invlist_set_len(pTHX_ SV * const invlist, const UV len, const bool offset);
10286 #   define PERL_ARGS_ASSERT_INVLIST_SET_LEN     \
10287         assert(invlist)
10288
10289 # endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
10290            defined(PERL_IN_REGCOMP_ANY) */
10291 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PAD_C)
10292 PERL_STATIC_INLINE bool
10293 S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
10294 #   define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE     \
10295         assert(pn)
10296
10297 # endif
10298 # if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
10299 PERL_STATIC_INLINE STRLEN *
10300 S_get_invlist_iter_addr(SV *invlist)
10301         __attribute__warn_unused_result__;
10302 #   define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \
10303         assert(invlist)
10304
10305 PERL_STATIC_INLINE void
10306 S_invlist_iterfinish(SV *invlist);
10307 #   define PERL_ARGS_ASSERT_INVLIST_ITERFINISH  \
10308         assert(invlist)
10309
10310 PERL_STATIC_INLINE void
10311 S_invlist_iterinit(SV *invlist);
10312 #   define PERL_ARGS_ASSERT_INVLIST_ITERINIT    \
10313         assert(invlist)
10314
10315 PERL_STATIC_INLINE bool
10316 S_invlist_iternext(SV *invlist, UV *start, UV *end)
10317         __attribute__warn_unused_result__;
10318 #   define PERL_ARGS_ASSERT_INVLIST_ITERNEXT    \
10319         assert(invlist); assert(start); assert(end)
10320
10321 # endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY) */
10322 # if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
10323 PERL_STATIC_INLINE bool
10324 S_lossless_NV_to_IV(const NV nv, IV *ivp)
10325         __attribute__warn_unused_result__;
10326 #   define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV   \
10327         assert(ivp)
10328
10329 # endif
10330 # if defined(PERL_IN_PP_C)   || defined(PERL_IN_REGCOMP_ANY) || \
10331      defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
10332 PERL_STATIC_INLINE const char *
10333 S_get_regex_charset_name(const U32 flags, STRLEN * const lenp);
10334 #   define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
10335         assert(lenp)
10336
10337 # endif
10338 # if defined(U64TYPE)
10339 PERL_STATIC_INLINE unsigned
10340 Perl_lsbit_pos64(U64 word)
10341         __attribute__warn_unused_result__;
10342 #   define PERL_ARGS_ASSERT_LSBIT_POS64
10343
10344 PERL_STATIC_INLINE unsigned
10345 Perl_msbit_pos64(U64 word)
10346         __attribute__warn_unused_result__;
10347 #   define PERL_ARGS_ASSERT_MSBIT_POS64
10348
10349 PERL_STATIC_INLINE unsigned
10350 Perl_single_1bit_pos64(U64 word)
10351         __attribute__warn_unused_result__;
10352 #   define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
10353
10354 # endif /* defined(U64TYPE) */
10355 # if defined(USE_ITHREADS)
10356 PERL_STATIC_INLINE AV *
10357 Perl_cop_file_avn(pTHX_ const COP *cop);
10358 #   define PERL_ARGS_ASSERT_COP_FILE_AVN        \
10359         assert(cop)
10360
10361 #   if !defined(PERL_IMPLICIT_SYS)
10362 PERL_STATIC_INLINE bool
10363 S_PerlEnv_putenv(pTHX_ char *str);
10364 #     define PERL_ARGS_ASSERT_PERLENV_PUTENV    \
10365         assert(str)
10366
10367 #   endif
10368 # endif /* defined(USE_ITHREADS) */
10369 # if !defined(WIN32)
10370 PERL_STATIC_INLINE void *
10371 Perl_get_context(void)
10372         __attribute__warn_unused_result__;
10373 #   define PERL_ARGS_ASSERT_GET_CONTEXT
10374
10375 # endif
10376 #endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
10377 #if defined(PERL_RC_STACK)
10378 PERL_CALLCONV OP *
10379 Perl_pp_wrap(pTHX_ Perl_ppaddr_t real_pp_fn, I32 nargs, int nlists);
10380 # define PERL_ARGS_ASSERT_PP_WRAP               \
10381         assert(real_pp_fn)
10382
10383 PERL_CALLCONV int
10384 Perl_runops_wrap(pTHX);
10385 # define PERL_ARGS_ASSERT_RUNOPS_WRAP
10386
10387 PERL_CALLCONV void
10388 Perl_xs_wrap(pTHX_ XSUBADDR_t xsub, CV *cv);
10389 # define PERL_ARGS_ASSERT_XS_WRAP               \
10390         assert(xsub); assert(cv)
10391
10392 #endif /* defined(PERL_RC_STACK) */
10393 #if defined(PERL_USE_3ARG_SIGHANDLER)
10394 PERL_CALLCONV Signal_t
10395 Perl_csighandler(int sig, Siginfo_t *info, void *uap);
10396 # define PERL_ARGS_ASSERT_CSIGHANDLER
10397
10398 PERL_CALLCONV Signal_t
10399 Perl_sighandler(int sig, Siginfo_t *info, void *uap)
10400         __attribute__visibility__("hidden");
10401 # define PERL_ARGS_ASSERT_SIGHANDLER
10402
10403 #else /* if !defined(PERL_USE_3ARG_SIGHANDLER) */
10404 PERL_CALLCONV Signal_t
10405 Perl_csighandler(int sig);
10406 # define PERL_ARGS_ASSERT_CSIGHANDLER
10407
10408 PERL_CALLCONV Signal_t
10409 Perl_sighandler(int sig)
10410         __attribute__visibility__("hidden");
10411 # define PERL_ARGS_ASSERT_SIGHANDLER
10412
10413 #endif /* !defined(PERL_USE_3ARG_SIGHANDLER) */
10414 #if defined(U64TYPE)
10415
10416 #endif
10417 #if defined(UNLINK_ALL_VERSIONS)
10418 PERL_CALLCONV I32
10419 Perl_unlnk(pTHX_ const char *f);
10420 # define PERL_ARGS_ASSERT_UNLNK                 \
10421         assert(f)
10422
10423 #endif
10424 #if defined(USE_C_BACKTRACE)
10425 PERL_CALLCONV bool
10426 Perl_dump_c_backtrace(pTHX_ PerlIO *fp, int max_depth, int skip);
10427 # define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE      \
10428         assert(fp)
10429
10430 /* PERL_CALLCONV void
10431 free_c_backtrace(pTHX_ Perl_c_backtrace *bt); */
10432
10433 PERL_CALLCONV Perl_c_backtrace *
10434 Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
10435         __attribute__visibility__("hidden");
10436 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE
10437
10438 PERL_CALLCONV SV *
10439 Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
10440 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
10441
10442 #endif /* defined(USE_C_BACKTRACE) */
10443 #if defined(USE_DTRACE)
10444 PERL_CALLCONV void
10445 Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
10446 # define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL     \
10447         assert(cv)
10448
10449 PERL_CALLCONV void
10450 Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
10451 # define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD     \
10452         assert(name)
10453
10454 PERL_CALLCONV void
10455 Perl_dtrace_probe_op(pTHX_ const OP *op);
10456 # define PERL_ARGS_ASSERT_DTRACE_PROBE_OP       \
10457         assert(op)
10458
10459 PERL_CALLCONV void
10460 Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
10461 # define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
10462
10463 #endif /* defined(USE_DTRACE) */
10464 #if defined(USE_ITHREADS)
10465 PERL_CALLCONV PADOFFSET
10466 Perl_alloccopstash(pTHX_ HV *hv);
10467 # define PERL_ARGS_ASSERT_ALLOCCOPSTASH         \
10468         assert(hv)
10469
10470 PERL_CALLCONV void *
10471 Perl_any_dup(pTHX_ void *v, const PerlInterpreter *proto_perl)
10472         __attribute__warn_unused_result__;
10473 # define PERL_ARGS_ASSERT_ANY_DUP               \
10474         assert(proto_perl)
10475
10476 PERL_CALLCONV void
10477 Perl_clone_params_del(CLONE_PARAMS *param);
10478 # define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL      \
10479         assert(param)
10480
10481 PERL_CALLCONV CLONE_PARAMS *
10482 Perl_clone_params_new(PerlInterpreter * const from, PerlInterpreter * const to)
10483         __attribute__warn_unused_result__;
10484 # define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW      \
10485         assert(from); assert(to)
10486
10487 PERL_CALLCONV PERL_CONTEXT *
10488 Perl_cx_dup(pTHX_ PERL_CONTEXT *cx, I32 ix, I32 max, CLONE_PARAMS *param)
10489         __attribute__warn_unused_result__;
10490 # define PERL_ARGS_ASSERT_CX_DUP                \
10491         assert(param)
10492
10493 PERL_CALLCONV DIR *
10494 Perl_dirp_dup(pTHX_ DIR * const dp, CLONE_PARAMS * const param)
10495         __attribute__warn_unused_result__;
10496 # define PERL_ARGS_ASSERT_DIRP_DUP              \
10497         assert(param)
10498
10499 PERL_CALLCONV PerlIO *
10500 Perl_fp_dup(pTHX_ PerlIO * const fp, const char type, CLONE_PARAMS * const param);
10501 # define PERL_ARGS_ASSERT_FP_DUP                \
10502         assert(param)
10503
10504 PERL_CALLCONV GP *
10505 Perl_gp_dup(pTHX_ GP * const gp, CLONE_PARAMS * const param)
10506         __attribute__warn_unused_result__;
10507 # define PERL_ARGS_ASSERT_GP_DUP                \
10508         assert(param)
10509
10510 PERL_CALLCONV HE *
10511 Perl_he_dup(pTHX_ const HE *e, bool shared, CLONE_PARAMS *param)
10512         __attribute__warn_unused_result__;
10513 # define PERL_ARGS_ASSERT_HE_DUP                \
10514         assert(param)
10515
10516 PERL_CALLCONV HEK *
10517 Perl_hek_dup(pTHX_ HEK *e, CLONE_PARAMS *param)
10518         __attribute__warn_unused_result__;
10519 # define PERL_ARGS_ASSERT_HEK_DUP               \
10520         assert(param)
10521
10522 PERL_CALLCONV MAGIC *
10523 Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS * const param)
10524         __attribute__warn_unused_result__;
10525 # define PERL_ARGS_ASSERT_MG_DUP                \
10526         assert(param)
10527
10528 PERL_CALLCONV struct mro_meta *
10529 Perl_mro_meta_dup(pTHX_ struct mro_meta *smeta, CLONE_PARAMS *param)
10530         __attribute__visibility__("hidden");
10531 # define PERL_ARGS_ASSERT_MRO_META_DUP          \
10532         assert(smeta); assert(param)
10533
10534 PERL_CALLCONV OP *
10535 Perl_newPADOP(pTHX_ I32 type, I32 flags, SV *sv)
10536         __attribute__warn_unused_result__;
10537 # define PERL_ARGS_ASSERT_NEWPADOP              \
10538         assert(sv)
10539
10540 PERL_CALLCONV PADLIST *
10541 Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
10542         __attribute__warn_unused_result__
10543         __attribute__visibility__("hidden");
10544 # define PERL_ARGS_ASSERT_PADLIST_DUP           \
10545         assert(srcpad); assert(param)
10546
10547 PERL_CALLCONV PADNAME *
10548 Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
10549         __attribute__warn_unused_result__
10550         __attribute__visibility__("hidden");
10551 # define PERL_ARGS_ASSERT_PADNAME_DUP           \
10552         assert(src); assert(param)
10553
10554 PERL_CALLCONV PADNAMELIST *
10555 Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
10556         __attribute__warn_unused_result__
10557         __attribute__visibility__("hidden");
10558 # define PERL_ARGS_ASSERT_PADNAMELIST_DUP       \
10559         assert(srcpad); assert(param)
10560
10561 PERL_CALLCONV yy_parser *
10562 Perl_parser_dup(pTHX_ const yy_parser * const proto, CLONE_PARAMS * const param);
10563 # define PERL_ARGS_ASSERT_PARSER_DUP            \
10564         assert(param)
10565
10566 PERL_CALLCONV PerlInterpreter *
10567 perl_clone(PerlInterpreter *proto_perl, UV flags);
10568 # define PERL_ARGS_ASSERT_PERL_CLONE            \
10569         assert(proto_perl)
10570
10571 PERL_CALLCONV void
10572 Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS *param);
10573 # define PERL_ARGS_ASSERT_RE_DUP_GUTS           \
10574         assert(sstr); assert(dstr); assert(param)
10575
10576 PERL_CALLCONV void *
10577 Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS *param);
10578 # define PERL_ARGS_ASSERT_REGDUPE_INTERNAL      \
10579         assert(r); assert(param)
10580
10581 PERL_CALLCONV void
10582 Perl_rvpv_dup(pTHX_ SV * const dsv, const SV * const ssv, CLONE_PARAMS * const param);
10583 # define PERL_ARGS_ASSERT_RVPV_DUP              \
10584         assert(dsv); assert(ssv); assert(param)
10585
10586 PERL_CALLCONV PERL_SI *
10587 Perl_si_dup(pTHX_ PERL_SI *si, CLONE_PARAMS *param)
10588         __attribute__warn_unused_result__;
10589 # define PERL_ARGS_ASSERT_SI_DUP                \
10590         assert(param)
10591
10592 PERL_CALLCONV ANY *
10593 Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS *param)
10594         __attribute__warn_unused_result__;
10595 # define PERL_ARGS_ASSERT_SS_DUP                \
10596         assert(proto_perl); assert(param)
10597
10598 PERL_CALLCONV SV *
10599 Perl_sv_dup(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10600         __attribute__warn_unused_result__;
10601 # define PERL_ARGS_ASSERT_SV_DUP                \
10602         assert(param)
10603
10604 PERL_CALLCONV SV *
10605 Perl_sv_dup_inc(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10606         __attribute__warn_unused_result__;
10607 # define PERL_ARGS_ASSERT_SV_DUP_INC            \
10608         assert(param)
10609
10610 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
10611 PERL_CALLCONV void
10612 Perl_op_relocate_sv(pTHX_ SV **svp, PADOFFSET *targp)
10613         __attribute__visibility__("hidden");
10614 #   define PERL_ARGS_ASSERT_OP_RELOCATE_SV      \
10615         assert(svp); assert(targp)
10616
10617 # endif
10618 #else /* if !defined(USE_ITHREADS) */
10619 /* PERL_CALLCONV void
10620 CopFILEGV_set(pTHX_ COP *c, GV *gv); */
10621
10622 #endif
10623 #if defined(USE_LOCALE_COLLATE)
10624 PERL_CALLCONV int
10625 Perl_magic_freecollxfrm(pTHX_ SV *sv, MAGIC *mg)
10626         __attribute__visibility__("hidden");
10627 # define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM    \
10628         assert(sv); assert(mg)
10629
10630 PERL_CALLCONV int
10631 Perl_magic_setcollxfrm(pTHX_ SV *sv, MAGIC *mg)
10632         __attribute__visibility__("hidden");
10633 # define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM     \
10634         assert(sv); assert(mg)
10635
10636 PERL_CALLCONV SV *
10637 Perl_strxfrm(pTHX_ SV *src);
10638 # define PERL_ARGS_ASSERT_STRXFRM               \
10639         assert(src)
10640
10641 PERL_CALLCONV char *
10642 Perl_sv_collxfrm_flags(pTHX_ SV * const sv, STRLEN * const nxp, I32 const flags);
10643 # define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS     \
10644         assert(sv); assert(nxp)
10645
10646 # if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_MATHOMS_C) || \
10647      defined(PERL_IN_SV_C)
10648 PERL_CALLCONV char *
10649 Perl_mem_collxfrm_(pTHX_ const char *input_string, STRLEN len, STRLEN *xlen, bool utf8)
10650         __attribute__visibility__("hidden");
10651 #   define PERL_ARGS_ASSERT_MEM_COLLXFRM_       \
10652         assert(input_string); assert(xlen)
10653
10654 # endif
10655 #endif /* defined(USE_LOCALE_COLLATE) */
10656 #if defined(USE_LOCALE_CTYPE)
10657 PERL_CALLCONV void
10658 Perl_warn_problematic_locale(void);
10659 # define PERL_ARGS_ASSERT_WARN_PROBLEMATIC_LOCALE
10660
10661 #endif
10662 #if defined(USE_PERLIO)
10663 PERL_CALLCONV void
10664 Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
10665 # define PERL_ARGS_ASSERT_PERLIO_CLEARERR
10666
10667 PERL_CALLCONV int
10668 Perl_PerlIO_close(pTHX_ PerlIO *f);
10669 # define PERL_ARGS_ASSERT_PERLIO_CLOSE
10670
10671 PERL_CALLCONV int
10672 Perl_PerlIO_eof(pTHX_ PerlIO *f);
10673 # define PERL_ARGS_ASSERT_PERLIO_EOF
10674
10675 PERL_CALLCONV int
10676 Perl_PerlIO_error(pTHX_ PerlIO *f);
10677 # define PERL_ARGS_ASSERT_PERLIO_ERROR
10678
10679 PERL_CALLCONV int
10680 Perl_PerlIO_fileno(pTHX_ PerlIO *f);
10681 # define PERL_ARGS_ASSERT_PERLIO_FILENO
10682
10683 PERL_CALLCONV int
10684 Perl_PerlIO_fill(pTHX_ PerlIO *f);
10685 # define PERL_ARGS_ASSERT_PERLIO_FILL
10686
10687 PERL_CALLCONV int
10688 Perl_PerlIO_flush(pTHX_ PerlIO *f);
10689 # define PERL_ARGS_ASSERT_PERLIO_FLUSH
10690
10691 PERL_CALLCONV STDCHAR *
10692 Perl_PerlIO_get_base(pTHX_ PerlIO *f);
10693 # define PERL_ARGS_ASSERT_PERLIO_GET_BASE
10694
10695 PERL_CALLCONV SSize_t
10696 Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
10697         __attribute__warn_unused_result__;
10698 # define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
10699
10700 PERL_CALLCONV SSize_t
10701 Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
10702         __attribute__warn_unused_result__;
10703 # define PERL_ARGS_ASSERT_PERLIO_GET_CNT
10704
10705 PERL_CALLCONV STDCHAR *
10706 Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
10707 # define PERL_ARGS_ASSERT_PERLIO_GET_PTR
10708
10709 PERL_CALLCONV SSize_t
10710 Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
10711 # define PERL_ARGS_ASSERT_PERLIO_READ           \
10712         assert(vbuf)
10713
10714 PERL_CALLCONV void
10715 Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
10716 # define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
10717
10718 PERL_CALLCONV void
10719 Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
10720 # define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
10721
10722 PERL_CALLCONV int
10723 Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
10724 # define PERL_ARGS_ASSERT_PERLIO_SEEK
10725
10726 PERL_CALLCONV void
10727 Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
10728 # define PERL_ARGS_ASSERT_PERLIO_SET_CNT
10729
10730 PERL_CALLCONV void
10731 Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
10732 # define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
10733
10734 PERL_CALLCONV void
10735 Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
10736 # define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
10737
10738 PERL_CALLCONV PerlIO *
10739 Perl_PerlIO_stderr(pTHX)
10740         __attribute__warn_unused_result__;
10741 # define PERL_ARGS_ASSERT_PERLIO_STDERR
10742
10743 PERL_CALLCONV PerlIO *
10744 Perl_PerlIO_stdin(pTHX)
10745         __attribute__warn_unused_result__;
10746 # define PERL_ARGS_ASSERT_PERLIO_STDIN
10747
10748 PERL_CALLCONV PerlIO *
10749 Perl_PerlIO_stdout(pTHX)
10750         __attribute__warn_unused_result__;
10751 # define PERL_ARGS_ASSERT_PERLIO_STDOUT
10752
10753 PERL_CALLCONV Off_t
10754 Perl_PerlIO_tell(pTHX_ PerlIO *f);
10755 # define PERL_ARGS_ASSERT_PERLIO_TELL
10756
10757 PERL_CALLCONV SSize_t
10758 Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10759 # define PERL_ARGS_ASSERT_PERLIO_UNREAD         \
10760         assert(vbuf)
10761
10762 PERL_CALLCONV SSize_t
10763 Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10764 # define PERL_ARGS_ASSERT_PERLIO_WRITE          \
10765         assert(vbuf)
10766
10767 #endif /* defined(USE_PERLIO) */
10768 #if defined(USE_PERL_SWITCH_LOCALE_CONTEXT)
10769 PERL_CALLCONV void
10770 Perl_switch_locale_context(pTHX);
10771 # define PERL_ARGS_ASSERT_SWITCH_LOCALE_CONTEXT
10772
10773 #endif
10774 #if defined(USE_QUADMATH)
10775 PERL_CALLCONV bool
10776 Perl_quadmath_format_needed(const char *format)
10777         __attribute__visibility__("hidden");
10778 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
10779         assert(format)
10780
10781 PERL_CALLCONV bool
10782 Perl_quadmath_format_valid(const char *format)
10783         __attribute__visibility__("hidden");
10784 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID \
10785         assert(format)
10786
10787 #endif /* defined(USE_QUADMATH) */
10788 #if defined(VMS) || defined(WIN32)
10789 PERL_CALLCONV int
10790 Perl_do_aspawn(pTHX_ SV *really, SV **mark, SV **sp);
10791 # define PERL_ARGS_ASSERT_DO_ASPAWN             \
10792         assert(mark); assert(sp)
10793
10794 PERL_CALLCONV int
10795 Perl_do_spawn(pTHX_ char *cmd);
10796 # define PERL_ARGS_ASSERT_DO_SPAWN              \
10797         assert(cmd)
10798
10799 PERL_CALLCONV int
10800 Perl_do_spawn_nowait(pTHX_ char *cmd);
10801 # define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT       \
10802         assert(cmd)
10803
10804 #endif /* defined(VMS) || defined(WIN32) */
10805 #if defined(WIN32)
10806 PERL_CALLCONV void *
10807 Perl_get_context(void)
10808         __attribute__warn_unused_result__;
10809 # define PERL_ARGS_ASSERT_GET_CONTEXT
10810
10811 PERL_CALLCONV bool
10812 Perl_get_win32_message_utf8ness(pTHX_ const char *string)
10813         __attribute__visibility__("hidden");
10814 # define PERL_ARGS_ASSERT_GET_WIN32_MESSAGE_UTF8NESS
10815
10816 PERL_CALLCONV_NO_RET void
10817 win32_croak_not_implemented(const char *fname)
10818         __attribute__noreturn__;
10819 # define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \
10820         assert(fname)
10821
10822 #else /* if !defined(WIN32) */
10823 PERL_CALLCONV bool
10824 Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
10825         __attribute__visibility__("hidden");
10826 # define PERL_ARGS_ASSERT_DO_EXEC3              \
10827         assert(incmd)
10828
10829 #endif
10830
10831 #ifdef PERL_CORE
10832 #  include "pp_proto.h"
10833 #endif
10834 END_EXTERN_C
10835
10836 /* ex: set ro ft=c: */