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