This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Promote v5.36 usage and feature bundles doc
[perl5.git] / proto.h
1 /* -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6  *    2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
7  *
8  *    You may distribute under the terms of either the GNU General Public
9  *    License or the Artistic License, as specified in the README file.
10  *
11  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
12  * This file is built by regen/embed.pl from data in embed.fnc,
13  * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h.
14  * Any changes made here will be lost!
15  *
16  * Edit those files and run 'make regen_headers' to effect changes.
17  */
18
19 START_EXTERN_C
20 #ifndef PERL_NO_INLINE_FUNCTIONS
21 PERL_STATIC_INLINE I32 *        Perl_CvDEPTH(const CV * const sv);
22 #define PERL_ARGS_ASSERT_CVDEPTH        \
23         assert(sv)
24 #endif
25 #ifndef PERL_NO_INLINE_FUNCTIONS
26 PERL_STATIC_INLINE GV * Perl_CvGV(pTHX_ CV *sv);
27 #define PERL_ARGS_ASSERT_CVGV   \
28         assert(sv)
29 #endif
30 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
31 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
32         assert(stash)
33 #ifndef PERL_NO_INLINE_FUNCTIONS
34 PERL_STATIC_INLINE I32  Perl_POPMARK(pTHX);
35 #define PERL_ARGS_ASSERT_POPMARK
36 #endif
37 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
38 #define PERL_ARGS_ASSERT_PERLIO_CONTEXT_LAYERS
39 PERL_CALLCONV int       Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd)
40                         __attribute__visibility__("hidden");
41 #define PERL_ARGS_ASSERT_PERLLIO_DUP2_CLOEXEC
42
43 PERL_CALLCONV int       Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
44                         __attribute__warn_unused_result__
45                         __attribute__visibility__("hidden");
46 #define PERL_ARGS_ASSERT_PERLLIO_DUP_CLOEXEC
47
48 PERL_CALLCONV int       Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
49                         __attribute__warn_unused_result__
50                         __attribute__visibility__("hidden");
51 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC  \
52         assert(file)
53
54 PERL_CALLCONV int       Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
55                         __attribute__warn_unused_result__
56                         __attribute__visibility__("hidden");
57 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC   \
58         assert(file)
59
60 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o); */
61 #define PERL_ARGS_ASSERT_PERL_CUSTOM_OP_XOP
62 PERL_CALLCONV HV *      Perl_localeconv(pTHX);
63 #define PERL_ARGS_ASSERT_PERL_LOCALECONV
64 PERL_CALLCONV const char*       Perl_setlocale(const int category, const char* locale);
65 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
66 #ifndef PERL_NO_INLINE_FUNCTIONS
67 PERL_STATIC_INLINE struct regexp *      Perl_ReANY(const REGEXP * const re);
68 #define PERL_ARGS_ASSERT_REANY  \
69         assert(re)
70 #endif
71 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
72                         __attribute__warn_unused_result__;
73 #define PERL_ARGS_ASSERT_SLAB_ALLOC
74
75 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op);
76 #define PERL_ARGS_ASSERT_SLAB_FREE      \
77         assert(op)
78 #ifndef PERL_NO_INLINE_FUNCTIONS
79 PERL_STATIC_INLINE void Perl_SvAMAGIC_off(SV *sv);
80 #define PERL_ARGS_ASSERT_SVAMAGIC_OFF   \
81         assert(sv)
82 #endif
83 #ifndef PERL_NO_INLINE_FUNCTIONS
84 PERL_STATIC_INLINE void Perl_SvAMAGIC_on(SV *sv);
85 #define PERL_ARGS_ASSERT_SVAMAGIC_ON    \
86         assert(sv)
87 #endif
88 #ifndef PERL_NO_INLINE_FUNCTIONS
89 PERL_STATIC_INLINE void Perl_SvGETMAGIC(pTHX_ SV *sv);
90 #define PERL_ARGS_ASSERT_SVGETMAGIC     \
91         assert(sv)
92 #endif
93 #ifndef PERL_NO_INLINE_FUNCTIONS
94 PERL_STATIC_INLINE IV   Perl_SvIV(pTHX_ SV *sv);
95 #define PERL_ARGS_ASSERT_SVIV   \
96         assert(sv)
97 #endif
98 #ifndef PERL_NO_INLINE_FUNCTIONS
99 PERL_STATIC_INLINE IV   Perl_SvIV_nomg(pTHX_ SV *sv);
100 #define PERL_ARGS_ASSERT_SVIV_NOMG      \
101         assert(sv)
102 #endif
103 #ifndef PERL_NO_INLINE_FUNCTIONS
104 PERL_STATIC_INLINE NV   Perl_SvNV(pTHX_ SV *sv);
105 #define PERL_ARGS_ASSERT_SVNV   \
106         assert(sv)
107 #endif
108 #ifndef PERL_NO_INLINE_FUNCTIONS
109 PERL_STATIC_INLINE NV   Perl_SvNV_nomg(pTHX_ SV *sv);
110 #define PERL_ARGS_ASSERT_SVNV_NOMG      \
111         assert(sv)
112 #endif
113 #ifndef PERL_NO_INLINE_FUNCTIONS
114 PERL_STATIC_FORCE_INLINE bool   Perl_SvPVXtrue(pTHX_ SV *sv)
115                         __attribute__always_inline__;
116 #define PERL_ARGS_ASSERT_SVPVXTRUE      \
117         assert(sv)
118 #endif
119
120 #ifndef PERL_NO_INLINE_FUNCTIONS
121 PERL_STATIC_INLINE void Perl_SvREFCNT_dec(pTHX_ SV *sv);
122 #define PERL_ARGS_ASSERT_SVREFCNT_DEC
123 #endif
124 #ifndef PERL_NO_INLINE_FUNCTIONS
125 PERL_STATIC_INLINE void Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
126 #define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN        \
127         assert(sv)
128 #endif
129 #ifndef PERL_NO_INLINE_FUNCTIONS
130 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc(SV *sv);
131 #define PERL_ARGS_ASSERT_SVREFCNT_INC
132 #endif
133 #ifndef PERL_NO_INLINE_FUNCTIONS
134 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc_NN(SV *sv);
135 #define PERL_ARGS_ASSERT_SVREFCNT_INC_NN        \
136         assert(sv)
137 #endif
138 #ifndef PERL_NO_INLINE_FUNCTIONS
139 PERL_STATIC_INLINE void Perl_SvREFCNT_inc_void(SV *sv);
140 #define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
141 #endif
142 #ifndef PERL_NO_INLINE_FUNCTIONS
143 PERL_STATIC_INLINE bool Perl_SvTRUE(pTHX_ SV *sv);
144 #define PERL_ARGS_ASSERT_SVTRUE
145 #endif
146 #ifndef PERL_NO_INLINE_FUNCTIONS
147 PERL_STATIC_INLINE bool Perl_SvTRUE_NN(pTHX_ SV *sv);
148 #define PERL_ARGS_ASSERT_SVTRUE_NN      \
149         assert(sv)
150 #endif
151 #ifndef PERL_NO_INLINE_FUNCTIONS
152 PERL_STATIC_INLINE bool Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
153 #define PERL_ARGS_ASSERT_SVTRUE_COMMON  \
154         assert(sv)
155 #endif
156 #ifndef PERL_NO_INLINE_FUNCTIONS
157 PERL_STATIC_INLINE bool Perl_SvTRUE_nomg(pTHX_ SV *sv);
158 #define PERL_ARGS_ASSERT_SVTRUE_NOMG
159 #endif
160 #ifndef PERL_NO_INLINE_FUNCTIONS
161 PERL_STATIC_INLINE UV   Perl_SvUV(pTHX_ SV *sv);
162 #define PERL_ARGS_ASSERT_SVUV   \
163         assert(sv)
164 #endif
165 #ifndef PERL_NO_INLINE_FUNCTIONS
166 PERL_STATIC_INLINE UV   Perl_SvUV_nomg(pTHX_ SV *sv);
167 #define PERL_ARGS_ASSERT_SVUV_NOMG      \
168         assert(sv)
169 #endif
170 #ifndef PERL_NO_INLINE_FUNCTIONS
171 PERL_STATIC_INLINE I32  Perl_TOPMARK(pTHX);
172 #define PERL_ARGS_ASSERT_TOPMARK
173 #endif
174 PERL_CALLCONV char *    Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
175 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING      \
176         assert(start)
177 PERL_CALLCONV void      Perl__force_out_malformed_utf8_message(pTHX_ const U8 *const p, const U8 * const e, const U32 flags, const bool die_here);
178 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE      \
179         assert(p); assert(e)
180 PERL_CALLCONV Size_t    Perl__inverse_folds(pTHX_ const UV cp, U32 * first_folds_to, const U32 ** remaining_folds_to)
181                         __attribute__warn_unused_result__;
182 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
183         assert(first_folds_to); assert(remaining_folds_to)
184
185 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
186 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
187 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
188                         __attribute__warn_unused_result__;
189 #define PERL_ARGS_ASSERT__IS_UNI_FOO
190
191 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
192                         __attribute__warn_unused_result__;
193 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
194
195 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
196                         __attribute__warn_unused_result__;
197 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
198
199 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
200                         __attribute__warn_unused_result__;
201 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
202         assert(p); assert(e)
203
204 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
205                         __attribute__warn_unused_result__;
206 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
207         assert(p); assert(e)
208
209 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
210                         __attribute__warn_unused_result__;
211 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
212         assert(p); assert(e)
213
214 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
215 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
216         assert(p); assert(lenp)
217 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, U8 flags);
218 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
219         assert(p); assert(ustrp)
220 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
221 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
222         assert(p); assert(ustrp)
223 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
224 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
225         assert(p); assert(ustrp)
226 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, bool flags);
227 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
228         assert(p); assert(ustrp)
229 PERL_CALLCONV UV        Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
230 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER    \
231         assert(s)
232 PERL_CALLCONV void      Perl__warn_problematic_locale(void);
233 #define PERL_ARGS_ASSERT__WARN_PROBLEMATIC_LOCALE
234 PERL_CALLCONV_NO_RET void       Perl_abort_execution(pTHX_ const char * const msg, const char * const name)
235                         __attribute__noreturn__
236                         __attribute__visibility__("hidden");
237 #define PERL_ARGS_ASSERT_ABORT_EXECUTION        \
238         assert(msg); assert(name)
239
240 PERL_CALLCONV LOGOP*    Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
241                         __attribute__visibility__("hidden");
242 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
243
244 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
245                         __attribute__visibility__("hidden");
246 #define PERL_ARGS_ASSERT_ALLOCMY        \
247         assert(name)
248
249 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
250 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
251         assert(left); assert(right)
252 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method);
253 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
254         assert(ref)
255 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method)
256                         __attribute__visibility__("hidden");
257 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
258
259 #ifndef PERL_NO_INLINE_FUNCTIONS
260 PERL_STATIC_INLINE void Perl_append_utf8_from_native_byte(const U8 byte, U8** dest);
261 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
262         assert(dest)
263 #endif
264 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
265                         __attribute__visibility__("hidden");
266 #define PERL_ARGS_ASSERT_APPLY  \
267         assert(mark); assert(sp)
268
269 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
270 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
271         assert(stashpv); assert(cv); assert(attrstr)
272 PERL_CALLCONV void      Perl_atfork_lock(void);
273 #define PERL_ARGS_ASSERT_ATFORK_LOCK
274 PERL_CALLCONV void      Perl_atfork_unlock(void);
275 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
276 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av);
277 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
278         assert(av)
279 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av);
280 #define PERL_ARGS_ASSERT_AV_CLEAR       \
281         assert(av)
282 #ifndef PERL_NO_INLINE_FUNCTIONS
283 PERL_STATIC_INLINE Size_t       Perl_av_count(pTHX_ AV *av)
284                         __attribute__warn_unused_result__;
285 #define PERL_ARGS_ASSERT_AV_COUNT       \
286         assert(av)
287 #endif
288
289 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
290 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
291         assert(avp); assert(val)
292 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
293 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
294         assert(avp); assert(val)
295 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
296 #define PERL_ARGS_ASSERT_AV_DELETE      \
297         assert(av)
298 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
299                         __attribute__warn_unused_result__;
300 #define PERL_ARGS_ASSERT_AV_EXISTS      \
301         assert(av)
302
303 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key);
304 #define PERL_ARGS_ASSERT_AV_EXTEND      \
305         assert(av)
306 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
307                         __attribute__visibility__("hidden");
308 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
309         assert(maxp); assert(allocp); assert(arrayp)
310
311 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
312                         __attribute__warn_unused_result__;
313 #define PERL_ARGS_ASSERT_AV_FETCH       \
314         assert(av)
315
316 #ifndef PERL_NO_INLINE_FUNCTIONS
317 PERL_STATIC_INLINE SV** Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
318                         __attribute__warn_unused_result__;
319 #define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE        \
320         assert(av)
321 #endif
322
323 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill);
324 #define PERL_ARGS_ASSERT_AV_FILL        \
325         assert(av)
326 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av);
327 #define PERL_ARGS_ASSERT_AV_ITER_P      \
328         assert(av)
329 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
330                         __attribute__warn_unused_result__;
331 #define PERL_ARGS_ASSERT_AV_LEN \
332         assert(av)
333
334 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
335                         __attribute__warn_unused_result__;
336 #define PERL_ARGS_ASSERT_AV_MAKE        \
337         assert(strp)
338
339 #ifndef PERL_NO_INLINE_FUNCTIONS
340 PERL_STATIC_INLINE AV*  Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
341                         __attribute__warn_unused_result__;
342 #define PERL_ARGS_ASSERT_AV_NEW_ALLOC
343 #endif
344
345 PERL_CALLCONV SV*       Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
346                         __attribute__visibility__("hidden");
347 #define PERL_ARGS_ASSERT_AV_NONELEM     \
348         assert(av)
349
350 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av);
351 #define PERL_ARGS_ASSERT_AV_POP \
352         assert(av)
353 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val);
354 #define PERL_ARGS_ASSERT_AV_PUSH        \
355         assert(av); assert(val)
356 #ifndef PERL_NO_INLINE_FUNCTIONS
357 PERL_STATIC_INLINE void Perl_av_push_simple(pTHX_ AV *av, SV *val);
358 #define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE \
359         assert(av); assert(val)
360 #endif
361 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av);
362 #define PERL_ARGS_ASSERT_AV_REIFY       \
363         assert(av)
364 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
365                         __attribute__warn_unused_result__;
366 #define PERL_ARGS_ASSERT_AV_SHIFT       \
367         assert(av)
368
369 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
370 #define PERL_ARGS_ASSERT_AV_STORE       \
371         assert(av)
372 #ifndef PERL_NO_INLINE_FUNCTIONS
373 PERL_STATIC_INLINE SV** Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
374 #define PERL_ARGS_ASSERT_AV_STORE_SIMPLE        \
375         assert(av)
376 #endif
377 /* PERL_CALLCONV SSize_t        av_tindex(pTHX_ AV *av)
378                         __attribute__warn_unused_result__; */
379 #define PERL_ARGS_ASSERT_AV_TINDEX
380
381 /* PERL_CALLCONV SSize_t        av_top_index(pTHX_ AV *av)
382                         __attribute__warn_unused_result__; */
383 #define PERL_ARGS_ASSERT_AV_TOP_INDEX
384
385 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av);
386 #define PERL_ARGS_ASSERT_AV_UNDEF       \
387         assert(av)
388 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num);
389 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
390         assert(av)
391 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
392                         __attribute__warn_unused_result__
393                         __attribute__visibility__("hidden");
394 #define PERL_ARGS_ASSERT_BIND_MATCH     \
395         assert(left); assert(right)
396
397 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
398                         __attribute__warn_unused_result__;
399 #define PERL_ARGS_ASSERT_BLOCK_END
400
401 PERL_CALLCONV U8        Perl_block_gimme(pTHX)
402                         __attribute__warn_unused_result__;
403 #define PERL_ARGS_ASSERT_BLOCK_GIMME
404
405 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
406                         __attribute__warn_unused_result__;
407 #define PERL_ARGS_ASSERT_BLOCK_START
408
409 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk);
410 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
411         assert(hk)
412 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX)
413                         __attribute__visibility__("hidden");
414 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
415
416 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX)
417                         __attribute__visibility__("hidden");
418 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
419
420 PERL_CALLCONV void      Perl_boot_core_builtin(pTHX)
421                         __attribute__visibility__("hidden");
422 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
423
424 PERL_CALLCONV void      Perl_boot_core_mro(pTHX)
425                         __attribute__visibility__("hidden");
426 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
427
428 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
429 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
430         assert(b); assert(u)
431 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
432 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
433         assert(s); assert(lenp); assert(is_utf8p)
434 PERL_CALLCONV U8*       Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 ** first_unconverted);
435 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC    \
436         assert(s); assert(lenp); assert(is_utf8p)
437 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
438 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
439         assert(s); assert(lenp)
440 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
441 #define PERL_ARGS_ASSERT_CALL_ARGV      \
442         assert(sub_name); assert(argv)
443 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
444 #define PERL_ARGS_ASSERT_CALL_ATEXIT
445 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
446 #define PERL_ARGS_ASSERT_CALL_LIST      \
447         assert(paramList)
448 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags);
449 #define PERL_ARGS_ASSERT_CALL_METHOD    \
450         assert(methname)
451 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
452 #define PERL_ARGS_ASSERT_CALL_PV        \
453         assert(sub_name)
454 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, volatile I32 flags);
455 #define PERL_ARGS_ASSERT_CALL_SV        \
456         assert(sv)
457 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
458 #define PERL_ARGS_ASSERT_CALLER_CX
459 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
460                         __attribute__malloc__
461                         __attribute__warn_unused_result__;
462 #define PERL_ARGS_ASSERT_CALLOC
463
464 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
465                         __attribute__warn_unused_result__
466                         __attribute__visibility__("hidden");
467 #define PERL_ARGS_ASSERT_CANDO  \
468         assert(statbufp)
469
470 PERL_CALLCONV I32       Perl_cast_i32(NV f)
471                         __attribute__warn_unused_result__;
472 #define PERL_ARGS_ASSERT_CAST_I32
473
474 PERL_CALLCONV IV        Perl_cast_iv(NV f)
475                         __attribute__warn_unused_result__;
476 #define PERL_ARGS_ASSERT_CAST_IV
477
478 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
479                         __attribute__warn_unused_result__;
480 #define PERL_ARGS_ASSERT_CAST_ULONG
481
482 PERL_CALLCONV UV        Perl_cast_uv(NV f)
483                         __attribute__warn_unused_result__;
484 #define PERL_ARGS_ASSERT_CAST_UV
485
486 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
487                         __attribute__visibility__("hidden");
488 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
489         assert(s)
490
491 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
492                         __attribute__warn_unused_result__
493                         __attribute__visibility__("hidden");
494 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
495         assert(o)
496
497 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
498                         __attribute__warn_unused_result__
499                         __attribute__visibility__("hidden");
500 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
501         assert(o)
502
503 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
504                         __attribute__warn_unused_result__
505                         __attribute__visibility__("hidden");
506 #define PERL_ARGS_ASSERT_CK_BITOP       \
507         assert(o)
508
509 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
510                         __attribute__warn_unused_result__
511                         __attribute__visibility__("hidden");
512 #define PERL_ARGS_ASSERT_CK_CMP \
513         assert(o)
514
515 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
516                         __attribute__warn_unused_result__
517                         __attribute__visibility__("hidden");
518 #define PERL_ARGS_ASSERT_CK_CONCAT      \
519         assert(o)
520
521 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
522                         __attribute__warn_unused_result__
523                         __attribute__visibility__("hidden");
524 #define PERL_ARGS_ASSERT_CK_DEFINED     \
525         assert(o)
526
527 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
528                         __attribute__warn_unused_result__
529                         __attribute__visibility__("hidden");
530 #define PERL_ARGS_ASSERT_CK_DELETE      \
531         assert(o)
532
533 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
534                         __attribute__warn_unused_result__
535                         __attribute__visibility__("hidden");
536 #define PERL_ARGS_ASSERT_CK_EACH        \
537         assert(o)
538
539 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
540                         __attribute__visibility__("hidden");
541 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
542         assert(entersubop); assert(namegv); assert(protosv)
543
544 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
545 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
546         assert(entersubop)
547 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
548 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
549         assert(entersubop); assert(namegv); assert(protosv)
550 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
551 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
552         assert(entersubop); assert(namegv); assert(protosv)
553 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
554                         __attribute__warn_unused_result__
555                         __attribute__visibility__("hidden");
556 #define PERL_ARGS_ASSERT_CK_EOF \
557         assert(o)
558
559 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
560                         __attribute__warn_unused_result__
561                         __attribute__visibility__("hidden");
562 #define PERL_ARGS_ASSERT_CK_EVAL        \
563         assert(o)
564
565 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
566                         __attribute__warn_unused_result__
567                         __attribute__visibility__("hidden");
568 #define PERL_ARGS_ASSERT_CK_EXEC        \
569         assert(o)
570
571 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
572                         __attribute__warn_unused_result__
573                         __attribute__visibility__("hidden");
574 #define PERL_ARGS_ASSERT_CK_EXISTS      \
575         assert(o)
576
577 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
578                         __attribute__warn_unused_result__
579                         __attribute__visibility__("hidden");
580 #define PERL_ARGS_ASSERT_CK_FTST        \
581         assert(o)
582
583 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
584                         __attribute__warn_unused_result__
585                         __attribute__visibility__("hidden");
586 #define PERL_ARGS_ASSERT_CK_FUN \
587         assert(o)
588
589 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
590                         __attribute__warn_unused_result__
591                         __attribute__visibility__("hidden");
592 #define PERL_ARGS_ASSERT_CK_GLOB        \
593         assert(o)
594
595 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
596                         __attribute__warn_unused_result__
597                         __attribute__visibility__("hidden");
598 #define PERL_ARGS_ASSERT_CK_GREP        \
599         assert(o)
600
601 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
602                         __attribute__warn_unused_result__
603                         __attribute__visibility__("hidden");
604 #define PERL_ARGS_ASSERT_CK_INDEX       \
605         assert(o)
606
607 PERL_CALLCONV OP *      Perl_ck_isa(pTHX_ OP *o)
608                         __attribute__warn_unused_result__
609                         __attribute__visibility__("hidden");
610 #define PERL_ARGS_ASSERT_CK_ISA \
611         assert(o)
612
613 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
614                         __attribute__warn_unused_result__
615                         __attribute__visibility__("hidden");
616 #define PERL_ARGS_ASSERT_CK_JOIN        \
617         assert(o)
618
619 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
620                         __attribute__warn_unused_result__
621                         __attribute__visibility__("hidden");
622 #define PERL_ARGS_ASSERT_CK_LENGTH      \
623         assert(o)
624
625 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
626                         __attribute__warn_unused_result__
627                         __attribute__visibility__("hidden");
628 #define PERL_ARGS_ASSERT_CK_LFUN        \
629         assert(o)
630
631 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
632                         __attribute__warn_unused_result__
633                         __attribute__visibility__("hidden");
634 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
635         assert(o)
636
637 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
638                         __attribute__warn_unused_result__
639                         __attribute__visibility__("hidden");
640 #define PERL_ARGS_ASSERT_CK_MATCH       \
641         assert(o)
642
643 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
644                         __attribute__warn_unused_result__
645                         __attribute__visibility__("hidden");
646 #define PERL_ARGS_ASSERT_CK_METHOD      \
647         assert(o)
648
649 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
650                         __attribute__warn_unused_result__
651                         __attribute__visibility__("hidden");
652 #define PERL_ARGS_ASSERT_CK_NULL        \
653         assert(o)
654
655 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
656                         __attribute__warn_unused_result__
657                         __attribute__visibility__("hidden");
658 #define PERL_ARGS_ASSERT_CK_OPEN        \
659         assert(o)
660
661 PERL_CALLCONV OP *      Perl_ck_prototype(pTHX_ OP *o)
662                         __attribute__warn_unused_result__
663                         __attribute__visibility__("hidden");
664 #define PERL_ARGS_ASSERT_CK_PROTOTYPE   \
665         assert(o)
666
667 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
668                         __attribute__warn_unused_result__
669                         __attribute__visibility__("hidden");
670 #define PERL_ARGS_ASSERT_CK_READLINE    \
671         assert(o)
672
673 PERL_CALLCONV OP *      Perl_ck_refassign(pTHX_ OP *o)
674                         __attribute__warn_unused_result__
675                         __attribute__visibility__("hidden");
676 #define PERL_ARGS_ASSERT_CK_REFASSIGN   \
677         assert(o)
678
679 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
680                         __attribute__warn_unused_result__
681                         __attribute__visibility__("hidden");
682 #define PERL_ARGS_ASSERT_CK_REPEAT      \
683         assert(o)
684
685 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
686                         __attribute__warn_unused_result__
687                         __attribute__visibility__("hidden");
688 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
689         assert(o)
690
691 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
692                         __attribute__warn_unused_result__
693                         __attribute__visibility__("hidden");
694 #define PERL_ARGS_ASSERT_CK_RETURN      \
695         assert(o)
696
697 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
698                         __attribute__warn_unused_result__
699                         __attribute__visibility__("hidden");
700 #define PERL_ARGS_ASSERT_CK_RFUN        \
701         assert(o)
702
703 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
704                         __attribute__warn_unused_result__
705                         __attribute__visibility__("hidden");
706 #define PERL_ARGS_ASSERT_CK_RVCONST     \
707         assert(o)
708
709 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
710                         __attribute__warn_unused_result__
711                         __attribute__visibility__("hidden");
712 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
713         assert(o)
714
715 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
716                         __attribute__warn_unused_result__
717                         __attribute__visibility__("hidden");
718 #define PERL_ARGS_ASSERT_CK_SELECT      \
719         assert(o)
720
721 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
722                         __attribute__warn_unused_result__
723                         __attribute__visibility__("hidden");
724 #define PERL_ARGS_ASSERT_CK_SHIFT       \
725         assert(o)
726
727 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
728                         __attribute__warn_unused_result__
729                         __attribute__visibility__("hidden");
730 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
731         assert(o)
732
733 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
734                         __attribute__warn_unused_result__
735                         __attribute__visibility__("hidden");
736 #define PERL_ARGS_ASSERT_CK_SORT        \
737         assert(o)
738
739 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
740                         __attribute__warn_unused_result__
741                         __attribute__visibility__("hidden");
742 #define PERL_ARGS_ASSERT_CK_SPAIR       \
743         assert(o)
744
745 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
746                         __attribute__warn_unused_result__
747                         __attribute__visibility__("hidden");
748 #define PERL_ARGS_ASSERT_CK_SPLIT       \
749         assert(o)
750
751 PERL_CALLCONV OP *      Perl_ck_stringify(pTHX_ OP *o)
752                         __attribute__warn_unused_result__
753                         __attribute__visibility__("hidden");
754 #define PERL_ARGS_ASSERT_CK_STRINGIFY   \
755         assert(o)
756
757 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
758                         __attribute__warn_unused_result__
759                         __attribute__visibility__("hidden");
760 #define PERL_ARGS_ASSERT_CK_SUBR        \
761         assert(o)
762
763 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
764                         __attribute__warn_unused_result__
765                         __attribute__visibility__("hidden");
766 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
767         assert(o)
768
769 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
770                         __attribute__warn_unused_result__
771                         __attribute__visibility__("hidden");
772 #define PERL_ARGS_ASSERT_CK_SVCONST     \
773         assert(o)
774
775 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
776                         __attribute__warn_unused_result__
777                         __attribute__visibility__("hidden");
778 #define PERL_ARGS_ASSERT_CK_TELL        \
779         assert(o)
780
781 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
782                         __attribute__warn_unused_result__
783                         __attribute__visibility__("hidden");
784 #define PERL_ARGS_ASSERT_CK_TRUNC       \
785         assert(o)
786
787 PERL_CALLCONV OP *      Perl_ck_trycatch(pTHX_ OP *o)
788                         __attribute__warn_unused_result__
789                         __attribute__visibility__("hidden");
790 #define PERL_ARGS_ASSERT_CK_TRYCATCH    \
791         assert(o)
792
793 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
794                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
795 #define PERL_ARGS_ASSERT_CK_WARNER      \
796         assert(pat)
797
798 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
799                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
800 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
801         assert(pat)
802
803 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w)
804                         __attribute__warn_unused_result__
805                         __attribute__pure__;
806 #define PERL_ARGS_ASSERT_CKWARN
807
808 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w)
809                         __attribute__warn_unused_result__
810                         __attribute__pure__;
811 #define PERL_ARGS_ASSERT_CKWARN_D
812
813 PERL_CALLCONV void      Perl_clear_defarray(pTHX_ AV* av, bool abandon);
814 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
815         assert(av)
816 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
817                         __attribute__visibility__("hidden");
818 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
819         assert(cop)
820
821 PERL_CALLCONV OP*       Perl_cmpchain_extend(pTHX_ I32 type, OP* ch, OP* right)
822                         __attribute__warn_unused_result__
823                         __attribute__visibility__("hidden");
824 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND        \
825         assert(ch)
826
827 PERL_CALLCONV OP*       Perl_cmpchain_finish(pTHX_ OP* ch)
828                         __attribute__warn_unused_result__
829                         __attribute__visibility__("hidden");
830 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH        \
831         assert(ch)
832
833 PERL_CALLCONV OP*       Perl_cmpchain_start(pTHX_ I32 type, OP* left, OP* right)
834                         __attribute__warn_unused_result__
835                         __attribute__visibility__("hidden");
836 #define PERL_ARGS_ASSERT_CMPCHAIN_START
837
838 PERL_CALLCONV const char *      Perl_cntrl_to_mnemonic(const U8 c)
839                         __attribute__warn_unused_result__;
840 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
841
842 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
843 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
844         assert(cop)
845 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
846 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
847         assert(cop); assert(label)
848 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
849                         __attribute__visibility__("hidden");
850 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
851         assert(name)
852
853 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum)
854                         __attribute__visibility__("hidden");
855 #define PERL_ARGS_ASSERT_CORESUB_OP     \
856         assert(coreargssv)
857
858 PERL_CALLCONV void      Perl_create_eval_scope(pTHX_ OP *retop, U32 flags)
859                         __attribute__visibility__("hidden");
860 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE
861
862 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
863                         __attribute__noreturn__
864                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
865 #define PERL_ARGS_ASSERT_CROAK
866
867 PERL_CALLCONV_NO_RET void       Perl_croak_caller(const char* pat, ...)
868                         __attribute__noreturn__
869                         __attribute__visibility__("hidden")
870                         __attribute__format__null_ok__(__printf__,1,2);
871 #define PERL_ARGS_ASSERT_CROAK_CALLER
872
873 PERL_STATIC_NO_RET void Perl_croak_memory_wrap(void)
874                         __attribute__noreturn__;
875 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
876
877 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
878                         __attribute__noreturn__
879                         __attribute__visibility__("hidden");
880 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
881
882 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
883                         __attribute__noreturn__;
884 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
885
886 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
887                         __attribute__noreturn__;
888 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
889
890 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
891                         __attribute__noreturn__;
892 #define PERL_ARGS_ASSERT_CROAK_SV       \
893         assert(baseex)
894
895 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
896                         __attribute__noreturn__;
897 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
898         assert(cv); assert(params)
899
900 PERL_CALLCONV Signal_t  Perl_csighandler1(int sig);
901 #define PERL_ARGS_ASSERT_CSIGHANDLER1
902 PERL_CALLCONV Signal_t  Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
903 #define PERL_ARGS_ASSERT_CSIGHANDLER3
904 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
905 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
906 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
907                         __attribute__warn_unused_result__;
908 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
909         assert(o)
910
911 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
912 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
913         assert(ppaddr); assert(xop)
914 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
915 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
916         assert(cv)
917 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto);
918 #define PERL_ARGS_ASSERT_CV_CLONE       \
919         assert(proto)
920 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target)
921                         __attribute__visibility__("hidden");
922 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
923         assert(proto); assert(target)
924
925 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
926                         __attribute__warn_unused_result__;
927 #define PERL_ARGS_ASSERT_CV_CONST_SV
928
929 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
930                         __attribute__warn_unused_result__
931                         __attribute__visibility__("hidden");
932 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
933
934 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv)
935                         __attribute__visibility__("hidden");
936 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
937
938 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
939 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
940         assert(cv); assert(ckfun_p); assert(ckobj_p)
941 PERL_CALLCONV void      Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
942 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS      \
943         assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
944 PERL_CALLCONV SV *      Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
945 #define PERL_ARGS_ASSERT_CV_NAME        \
946         assert(cv)
947 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
948 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
949         assert(cv); assert(ckfun); assert(ckobj)
950 PERL_CALLCONV void      Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
951 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS      \
952         assert(cv); assert(ckfun); assert(ckobj)
953 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv);
954 #define PERL_ARGS_ASSERT_CV_UNDEF       \
955         assert(cv)
956 PERL_CALLCONV void      Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags)
957                         __attribute__visibility__("hidden");
958 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
959         assert(cv)
960
961 PERL_CALLCONV GV *      Perl_cvgv_from_hek(pTHX_ CV* cv);
962 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK  \
963         assert(cv)
964 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
965 #define PERL_ARGS_ASSERT_CVGV_SET       \
966         assert(cv)
967 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
968 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
969         assert(cv)
970 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
971 #define PERL_ARGS_ASSERT_CX_DUMP        \
972         assert(cx)
973 PERL_CALLCONV I32       Perl_cxinc(pTHX)
974                         __attribute__warn_unused_result__;
975 #define PERL_ARGS_ASSERT_CXINC
976
977 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
978                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
979 #define PERL_ARGS_ASSERT_DEB    \
980         assert(pat)
981
982 PERL_CALLCONV void      Perl_deb_stack_all(pTHX)
983                         __attribute__visibility__("hidden");
984 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
985
986 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o);
987 #define PERL_ARGS_ASSERT_DEBOP  \
988         assert(o)
989 PERL_CALLCONV void      Perl_debprofdump(pTHX);
990 #define PERL_ARGS_ASSERT_DEBPROFDUMP
991 PERL_CALLCONV I32       Perl_debstack(pTHX);
992 #define PERL_ARGS_ASSERT_DEBSTACK
993 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
994 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
995 PERL_CALLCONV void      Perl_debug_hash_seed(pTHX_ bool via_debug_h)
996                         __attribute__visibility__("hidden");
997 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
998
999 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
1000                         __attribute__warn_unused_result__
1001                         __attribute__visibility__("hidden");
1002 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
1003         assert(sv)
1004
1005 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX)
1006                         __attribute__visibility__("hidden");
1007 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
1008
1009 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
1010 #define PERL_ARGS_ASSERT_DELIMCPY       \
1011         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1012 PERL_CALLCONV char*     Perl_delimcpy_no_escape(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
1013 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE     \
1014         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1015 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
1016 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
1017 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
1018                         __attribute__noreturn__
1019                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
1020 #define PERL_ARGS_ASSERT_DIE
1021
1022 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
1023                         __attribute__noreturn__;
1024 #define PERL_ARGS_ASSERT_DIE_SV \
1025         assert(baseex)
1026
1027 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
1028                         __attribute__noreturn__
1029                         __attribute__visibility__("hidden");
1030 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
1031         assert(msv)
1032
1033 #ifndef NO_MATHOMS
1034 PERL_CALLCONV bool      Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
1035                         __attribute__visibility__("hidden");
1036 #define PERL_ARGS_ASSERT_DO_AEXEC       \
1037         assert(mark); assert(sp)
1038 #endif
1039
1040 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
1041                         __attribute__visibility__("hidden");
1042 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
1043         assert(mark); assert(sp)
1044
1045 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool is_explicit);
1046 #define PERL_ARGS_ASSERT_DO_CLOSE
1047 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
1048                         __attribute__visibility__("hidden");
1049 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
1050         assert(file)
1051
1052 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv)
1053                         __attribute__visibility__("hidden");
1054 #define PERL_ARGS_ASSERT_DO_EOF \
1055         assert(gv)
1056
1057 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1058 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
1059         assert(file); assert(name)
1060 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1061 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
1062         assert(file); assert(name)
1063 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
1064 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
1065         assert(file); assert(name)
1066 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
1067 #define PERL_ARGS_ASSERT_DO_JOIN        \
1068         assert(sv); assert(delim); assert(mark); assert(sp)
1069 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1070 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
1071         assert(file)
1072 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
1073                         __attribute__warn_unused_result__
1074                         __attribute__visibility__("hidden");
1075 #define PERL_ARGS_ASSERT_DO_NCMP        \
1076         assert(left); assert(right)
1077
1078 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
1079 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
1080         assert(file)
1081 #ifndef NO_MATHOMS
1082 PERL_CALLCONV bool      Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
1083 #define PERL_ARGS_ASSERT_DO_OPEN        \
1084         assert(gv); assert(name)
1085 #endif
1086 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
1087                         __attribute__visibility__("hidden");
1088 #define PERL_ARGS_ASSERT_DO_OPEN6       \
1089         assert(gv); assert(oname)
1090
1091 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
1092                         __attribute__visibility__("hidden");
1093 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
1094         assert(gv); assert(oname)
1095
1096 PERL_CALLCONV bool      Perl_do_openn(pTHX_ GV *gv, const char *oname, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num);
1097 #define PERL_ARGS_ASSERT_DO_OPENN       \
1098         assert(gv); assert(oname)
1099 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
1100 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
1101         assert(file)
1102 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
1103                         __attribute__visibility__("hidden");
1104 #define PERL_ARGS_ASSERT_DO_PRINT       \
1105         assert(fp)
1106
1107 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
1108                         __attribute__warn_unused_result__
1109                         __attribute__visibility__("hidden");
1110 #define PERL_ARGS_ASSERT_DO_READLINE
1111
1112 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence)
1113                         __attribute__visibility__("hidden");
1114 #define PERL_ARGS_ASSERT_DO_SEEK
1115
1116 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, SSize_t len, SV** sarg);
1117 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
1118         assert(sv); assert(sarg)
1119 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1120 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
1121         assert(file)
1122 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
1123                         __attribute__visibility__("hidden");
1124 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
1125         assert(gv)
1126
1127 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
1128                         __attribute__warn_unused_result__
1129                         __attribute__visibility__("hidden");
1130 #define PERL_ARGS_ASSERT_DO_TELL        \
1131         assert(gv)
1132
1133 PERL_CALLCONV Size_t    Perl_do_trans(pTHX_ SV* sv)
1134                         __attribute__visibility__("hidden");
1135 #define PERL_ARGS_ASSERT_DO_TRANS       \
1136         assert(sv)
1137
1138 PERL_CALLCONV I16       Perl_do_uniprop_match(const char * const key, const U16 key_len)
1139                         __attribute__warn_unused_result__;
1140 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH       \
1141         assert(key)
1142
1143 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, STRLEN offset, int size)
1144                         __attribute__visibility__("hidden");
1145 #define PERL_ARGS_ASSERT_DO_VECGET      \
1146         assert(sv)
1147
1148 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv)
1149                         __attribute__visibility__("hidden");
1150 #define PERL_ARGS_ASSERT_DO_VECSET      \
1151         assert(sv)
1152
1153 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
1154                         __attribute__visibility__("hidden");
1155 #define PERL_ARGS_ASSERT_DO_VOP \
1156         assert(sv); assert(left); assert(right)
1157
1158 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin)
1159                         __attribute__visibility__("hidden");
1160 #define PERL_ARGS_ASSERT_DOFILE \
1161         assert(term)
1162
1163 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
1164                         __attribute__warn_unused_result__;
1165 #define PERL_ARGS_ASSERT_DOING_TAINT
1166
1167 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1168 #define PERL_ARGS_ASSERT_DOREF  \
1169         assert(o)
1170 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
1171 #define PERL_ARGS_ASSERT_DOUNWIND
1172 PERL_CALLCONV U8        Perl_dowantarray(pTHX)
1173                         __attribute__warn_unused_result__;
1174 #define PERL_ARGS_ASSERT_DOWANTARRAY
1175
1176 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1177 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1178         assert(random_state)
1179 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state);
1180 #define PERL_ARGS_ASSERT_DRAND48_R      \
1181         assert(random_state)
1182 PERL_CALLCONV void      Perl_dump_all(pTHX);
1183 #define PERL_ARGS_ASSERT_DUMP_ALL
1184 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl)
1185                         __attribute__visibility__("hidden");
1186 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1187
1188 PERL_CALLCONV void      Perl_dump_eval(pTHX);
1189 #define PERL_ARGS_ASSERT_DUMP_EVAL
1190 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv);
1191 #define PERL_ARGS_ASSERT_DUMP_FORM      \
1192         assert(gv)
1193 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1194                         __attribute__format__(__printf__,pTHX_3,pTHX_4);
1195 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
1196         assert(file); assert(pat)
1197
1198 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash);
1199 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
1200         assert(stash)
1201 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
1202                         __attribute__visibility__("hidden");
1203 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
1204         assert(stash)
1205
1206 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv);
1207 #define PERL_ARGS_ASSERT_DUMP_SUB       \
1208         assert(gv)
1209 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
1210                         __attribute__visibility__("hidden");
1211 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
1212         assert(gv)
1213
1214 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
1215 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
1216         assert(file); assert(pat)
1217 PERL_CALLCONV STRLEN*   Perl_dup_warnings(pTHX_ STRLEN* warnings);
1218 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1219 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
1220 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1221         assert(c); assert(sv)
1222 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
1223 #define PERL_ARGS_ASSERT_EVAL_PV        \
1224         assert(p)
1225 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags);
1226 #define PERL_ARGS_ASSERT_EVAL_SV        \
1227         assert(sv)
1228 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
1229 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
1230         assert(sv)
1231 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
1232                         __attribute__warn_unused_result__;
1233 #define PERL_ARGS_ASSERT_FBM_INSTR      \
1234         assert(big); assert(bigend); assert(littlestr)
1235
1236 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1237 #define PERL_ARGS_ASSERT_FILTER_ADD
1238 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp);
1239 #define PERL_ARGS_ASSERT_FILTER_DEL     \
1240         assert(funcp)
1241 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1242                         __attribute__warn_unused_result__;
1243 #define PERL_ARGS_ASSERT_FILTER_READ    \
1244         assert(buf_sv)
1245
1246 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o)
1247                         __attribute__visibility__("hidden");
1248 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
1249         assert(o)
1250
1251 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1252                         __attribute__visibility__("hidden");
1253 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1254
1255 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
1256                         __attribute__warn_unused_result__;
1257 #define PERL_ARGS_ASSERT_FIND_RUNCV
1258
1259 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1260                         __attribute__warn_unused_result__
1261                         __attribute__visibility__("hidden");
1262 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1263
1264 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
1265 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1266 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
1267                         __attribute__visibility__("hidden");
1268 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
1269         assert(scriptname)
1270
1271 #ifndef PERL_NO_INLINE_FUNCTIONS
1272 PERL_STATIC_INLINE I32  Perl_foldEQ(pTHX_ const char* a, const char* b, I32 len);
1273 #define PERL_ARGS_ASSERT_FOLDEQ \
1274         assert(a); assert(b)
1275 #endif
1276 #ifndef PERL_NO_INLINE_FUNCTIONS
1277 PERL_STATIC_INLINE I32  Perl_foldEQ_latin1(pTHX_ const char* a, const char* b, I32 len);
1278 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
1279         assert(a); assert(b)
1280 #endif
1281 #ifndef PERL_NO_INLINE_FUNCTIONS
1282 PERL_STATIC_INLINE I32  Perl_foldEQ_locale(pTHX_ const char* a, const char* b, I32 len);
1283 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
1284         assert(a); assert(b)
1285 #endif
1286 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1287 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8
1288 PERL_CALLCONV I32       Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags);
1289 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
1290         assert(s1); assert(s2)
1291 PERL_CALLCONV void      Perl_force_locale_unlock(void)
1292                         __attribute__visibility__("hidden");
1293 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1294
1295 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
1296                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1297 #define PERL_ARGS_ASSERT_FORM   \
1298         assert(pat)
1299
1300 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX)
1301                         __attribute__visibility__("hidden");
1302 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1303
1304 PERL_CALLCONV void      Perl_free_tmps(pTHX);
1305 #define PERL_ARGS_ASSERT_FREE_TMPS
1306 PERL_CALLCONV SV*       Perl_get_and_check_backslash_N_name(pTHX_ const char* s, const char* e, const bool is_utf8, const char** error_msg)
1307                         __attribute__warn_unused_result__;
1308 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1309         assert(s); assert(e); assert(error_msg)
1310
1311 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags);
1312 #define PERL_ARGS_ASSERT_GET_AV \
1313         assert(name)
1314 PERL_CALLCONV void*     Perl_get_context(void)
1315                         __attribute__warn_unused_result__;
1316 #define PERL_ARGS_ASSERT_GET_CONTEXT
1317
1318 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags);
1319 #define PERL_ARGS_ASSERT_GET_CV \
1320         assert(name)
1321 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
1322 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
1323         assert(name)
1324 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1325 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
1326         assert(cv)
1327 PERL_CALLCONV const char *      Perl_get_deprecated_property_msg(const Size_t warning_offset)
1328                         __attribute__warn_unused_result__;
1329 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1330
1331 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1332                         __attribute__visibility__("hidden");
1333 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
1334         assert(seed_buffer)
1335
1336 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags);
1337 #define PERL_ARGS_ASSERT_GET_HV \
1338         assert(name)
1339 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
1340                         __attribute__deprecated__
1341                         __attribute__warn_unused_result__
1342                         __attribute__pure__
1343                         __attribute__visibility__("hidden");
1344 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1345
1346 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
1347                         __attribute__deprecated__
1348                         __attribute__warn_unused_result__
1349                         __attribute__pure__;
1350 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1351
1352 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
1353                         __attribute__deprecated__
1354                         __attribute__warn_unused_result__
1355                         __attribute__pure__;
1356 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1357
1358 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
1359                         __attribute__deprecated__
1360                         __attribute__warn_unused_result__
1361                         __attribute__pure__
1362                         __attribute__visibility__("hidden");
1363 #define PERL_ARGS_ASSERT_GET_OPARGS
1364
1365 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1366                         __attribute__deprecated__
1367                         __attribute__warn_unused_result__
1368                         __attribute__pure__;
1369 #define PERL_ARGS_ASSERT_GET_PPADDR
1370
1371 PERL_CALLCONV SV *      Perl_get_prop_definition(pTHX_ const int table_index)
1372                         __attribute__warn_unused_result__;
1373 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1374
1375 PERL_CALLCONV const char * const *      Perl_get_prop_values(const int table_index)
1376                         __attribute__warn_unused_result__;
1377 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1378
1379 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
1380 #define PERL_ARGS_ASSERT_GET_RE_ARG
1381 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags);
1382 #define PERL_ARGS_ASSERT_GET_SV \
1383         assert(name)
1384 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
1385                         __attribute__warn_unused_result__;
1386 #define PERL_ARGS_ASSERT_GET_VTBL
1387
1388 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv);
1389 #define PERL_ARGS_ASSERT_GETCWD_SV      \
1390         assert(sv)
1391 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
1392 #define PERL_ARGS_ASSERT_GP_FREE
1393 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
1394 #define PERL_ARGS_ASSERT_GP_REF
1395 PERL_CALLCONV bool      Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
1396 #define PERL_ARGS_ASSERT_GROK_ATOUV     \
1397         assert(pv); assert(valptr)
1398 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1399 #define PERL_ARGS_ASSERT_GROK_BIN       \
1400         assert(start); assert(len_p); assert(flags)
1401 PERL_CALLCONV UV        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);
1402 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX       \
1403         assert(start); assert(len_p); assert(flags)
1404 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1405 #define PERL_ARGS_ASSERT_GROK_HEX       \
1406         assert(start); assert(len_p); assert(flags)
1407 PERL_CALLCONV int       Perl_grok_infnan(pTHX_ const char** sp, const char *send);
1408 #define PERL_ARGS_ASSERT_GROK_INFNAN    \
1409         assert(sp); assert(send)
1410 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1411 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1412         assert(pv)
1413 PERL_CALLCONV int       Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1414 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
1415         assert(pv)
1416 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1417                         __attribute__warn_unused_result__;
1418 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1419         assert(sp); assert(send)
1420
1421 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1422 #define PERL_ARGS_ASSERT_GROK_OCT       \
1423         assert(start); assert(len_p); assert(flags)
1424 #ifndef NO_MATHOMS
1425 PERL_CALLCONV GV*       Perl_gv_AVadd(pTHX_ GV *gv);
1426 #define PERL_ARGS_ASSERT_GV_AVADD
1427 #endif
1428 #ifndef NO_MATHOMS
1429 PERL_CALLCONV GV*       Perl_gv_HVadd(pTHX_ GV *gv);
1430 #define PERL_ARGS_ASSERT_GV_HVADD
1431 #endif
1432 #ifndef NO_MATHOMS
1433 PERL_CALLCONV GV*       Perl_gv_IOadd(pTHX_ GV* gv);
1434 #define PERL_ARGS_ASSERT_GV_IOADD
1435 #endif
1436 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1437 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1438 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1439                         __attribute__warn_unused_result__; */
1440 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4
1441
1442 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1443                         __attribute__warn_unused_result__;
1444 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1445         assert(namepv)
1446
1447 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1448                         __attribute__warn_unused_result__;
1449 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
1450         assert(name)
1451
1452 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1453                         __attribute__warn_unused_result__;
1454 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1455         assert(namesv)
1456
1457 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash);
1458 #define PERL_ARGS_ASSERT_GV_CHECK       \
1459         assert(stash)
1460 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1461                         __attribute__warn_unused_result__;
1462 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1463         assert(gv)
1464
1465 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv);
1466 #define PERL_ARGS_ASSERT_GV_DUMP
1467 #ifndef NO_MATHOMS
1468 PERL_CALLCONV void      Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1469 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1470         assert(sv); assert(gv)
1471 #endif
1472 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1473 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1474         assert(sv); assert(gv)
1475 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name);
1476 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1477         assert(name)
1478 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1479 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1480         assert(name)
1481 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1482 #define PERL_ARGS_ASSERT_GV_FETCHMETH
1483 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1484 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD
1485 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1486 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1487         assert(name)
1488 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1489 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1490         assert(name)
1491 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1492 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1493         assert(name)
1494 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1495 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1496         assert(name)
1497 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1498 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1499         assert(namesv)
1500 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1501 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1502         assert(namesv)
1503 #ifndef NO_MATHOMS
1504 PERL_CALLCONV GV*       Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1505 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1506         assert(stash); assert(name)
1507 #endif
1508 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1509 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1510         assert(stash); assert(name)
1511 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1512 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1513         assert(stash); assert(name)
1514 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1515 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1516         assert(stash); assert(name)
1517 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1518 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1519         assert(stash); assert(namesv)
1520 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1521 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1522         assert(nambeg)
1523 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1524 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1525         assert(name)
1526 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1527 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1528         assert(name)
1529 #ifndef NO_MATHOMS
1530 PERL_CALLCONV void      Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1531 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1532         assert(sv); assert(gv)
1533 #endif
1534 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1535 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1536         assert(sv); assert(gv)
1537 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1538                         __attribute__warn_unused_result__;
1539 #define PERL_ARGS_ASSERT_GV_HANDLER
1540
1541 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1542 #define PERL_ARGS_ASSERT_GV_INIT
1543 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1544 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1545         assert(gv); assert(name)
1546 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1547 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1548         assert(gv); assert(name)
1549 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1550 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1551         assert(gv); assert(namesv)
1552 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1553 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1554         assert(gv); assert(name)
1555 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1556 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1557         assert(name)
1558 PERL_CALLCONV void      Perl_gv_setref(pTHX_ SV *const dsv, SV *const ssv)
1559                         __attribute__visibility__("hidden");
1560 #define PERL_ARGS_ASSERT_GV_SETREF      \
1561         assert(dsv); assert(ssv)
1562
1563 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1564 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1565         assert(name)
1566 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1567 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1568         assert(name)
1569 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1570 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1571         assert(sv)
1572 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv);
1573 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1574         assert(gv)
1575 PERL_CALLCONV struct xpvhv_aux* Perl_hv_auxalloc(pTHX_ HV *hv)
1576                         __attribute__visibility__("hidden");
1577 #define PERL_ARGS_ASSERT_HV_AUXALLOC    \
1578         assert(hv)
1579
1580 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv)
1581                         __attribute__visibility__("hidden");
1582 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1583         assert(hv)
1584
1585 PERL_CALLCONV SV*       Perl_hv_bucket_ratio(pTHX_ HV *hv)
1586                         __attribute__warn_unused_result__;
1587 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO        \
1588         assert(hv)
1589
1590 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1591 #define PERL_ARGS_ASSERT_HV_CLEAR
1592 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv);
1593 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1594         assert(hv)
1595 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1596 #define PERL_ARGS_ASSERT_HV_COMMON
1597 PERL_CALLCONV void*     Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1598 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1599         assert(key)
1600 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1601                         __attribute__warn_unused_result__;
1602 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1603
1604 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1605 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1606 #ifndef NO_MATHOMS
1607 PERL_CALLCONV SV*       Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1608 #define PERL_ARGS_ASSERT_HV_DELETE      \
1609         assert(key)
1610 #endif
1611 #ifndef NO_MATHOMS
1612 PERL_CALLCONV SV*       Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1613 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1614         assert(keysv)
1615 #endif
1616 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1617                         __attribute__warn_unused_result__;
1618 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1619         assert(hv)
1620
1621 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1622 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1623         assert(hv)
1624 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1625                         __attribute__visibility__("hidden");
1626 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1627         assert(hv); assert(name)
1628
1629 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1630                         __attribute__visibility__("hidden");
1631 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1632         assert(hv); assert(name)
1633
1634 #ifndef NO_MATHOMS
1635 PERL_CALLCONV bool      Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1636                         __attribute__warn_unused_result__;
1637 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1638         assert(key)
1639 #endif
1640
1641 #ifndef NO_MATHOMS
1642 PERL_CALLCONV bool      Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1643                         __attribute__warn_unused_result__;
1644 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1645         assert(keysv)
1646 #endif
1647
1648 #ifndef NO_MATHOMS
1649 PERL_CALLCONV SV**      Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1650 #define PERL_ARGS_ASSERT_HV_FETCH       \
1651         assert(key)
1652 #endif
1653 #ifndef NO_MATHOMS
1654 PERL_CALLCONV HE*       Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1655 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1656         assert(keysv)
1657 #endif
1658 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv);
1659 #define PERL_ARGS_ASSERT_HV_FILL        \
1660         assert(hv)
1661 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1662 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1663 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv);
1664 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1665         assert(hv)
1666 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1667                         __attribute__warn_unused_result__;
1668 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1669         assert(entry); assert(retlen)
1670
1671 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1672                         __attribute__warn_unused_result__;
1673 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1674         assert(entry)
1675
1676 #ifndef NO_MATHOMS
1677 PERL_CALLCONV HE*       Perl_hv_iternext(pTHX_ HV *hv)
1678                         __attribute__warn_unused_result__;
1679 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1680         assert(hv)
1681 #endif
1682
1683 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1684                         __attribute__warn_unused_result__;
1685 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1686         assert(hv)
1687
1688 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1689                         __attribute__warn_unused_result__;
1690 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1691         assert(hv); assert(key); assert(retlen)
1692
1693 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1694                         __attribute__warn_unused_result__;
1695 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1696         assert(hv); assert(entry)
1697
1698 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1699 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1700         assert(hv)
1701 #ifndef NO_MATHOMS
1702 PERL_CALLCONV void      Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1703 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1704         assert(hv)
1705 #endif
1706 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1707 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1708         assert(hv)
1709 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1710                         __attribute__warn_unused_result__;
1711 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1712         assert(hv)
1713
1714 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1715                         __attribute__warn_unused_result__;
1716 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1717         assert(hv)
1718
1719 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1720 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1721         assert(hv)
1722 PERL_CALLCONV void      Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1723                         __attribute__visibility__("hidden");
1724 #define PERL_ARGS_ASSERT_HV_PUSHKV      \
1725         assert(hv)
1726
1727 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1728 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1729         assert(hv)
1730 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1731                         __attribute__warn_unused_result__;
1732 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1733         assert(hv)
1734
1735 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1736 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1737         assert(hv)
1738 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1739                         __attribute__warn_unused_result__;
1740 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1741         assert(hv)
1742
1743 #ifndef NO_MATHOMS
1744 PERL_CALLCONV SV**      Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1745 #define PERL_ARGS_ASSERT_HV_STORE
1746 #endif
1747 #ifndef NO_MATHOMS
1748 PERL_CALLCONV HE*       Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1749 #define PERL_ARGS_ASSERT_HV_STORE_ENT
1750 #endif
1751 #ifndef NO_MATHOMS
1752 PERL_CALLCONV SV**      Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1753 #define PERL_ARGS_ASSERT_HV_STORE_FLAGS
1754 #endif
1755 /* PERL_CALLCONV SV**   hv_stores(pTHX_ HV* hv, const char * const key, SV* val); */
1756 #define PERL_ARGS_ASSERT_HV_STORES
1757 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1758 #define PERL_ARGS_ASSERT_HV_UNDEF
1759 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1760 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1761 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1762                         __attribute__warn_unused_result__
1763                         __attribute__pure__; */
1764 #define PERL_ARGS_ASSERT_IBCMP
1765
1766 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1767                         __attribute__warn_unused_result__
1768                         __attribute__pure__; */
1769 #define PERL_ARGS_ASSERT_IBCMP_LOCALE
1770
1771 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1772 #define PERL_ARGS_ASSERT_IBCMP_UTF8
1773 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1774                         __attribute__visibility__("hidden");
1775 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1776         assert(argv)
1777
1778 PERL_CALLCONV void      Perl_init_constants(pTHX)
1779                         __attribute__visibility__("hidden");
1780 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1781
1782 PERL_CALLCONV void      Perl_init_dbargs(pTHX)
1783                         __attribute__visibility__("hidden");
1784 #define PERL_ARGS_ASSERT_INIT_DBARGS
1785
1786 PERL_CALLCONV void      Perl_init_debugger(pTHX)
1787                         __attribute__visibility__("hidden");
1788 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1789
1790 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1791 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1792 PERL_CALLCONV void      Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1793 #define PERL_ARGS_ASSERT_INIT_NAMED_CV  \
1794         assert(cv); assert(nameop)
1795 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1796 #define PERL_ARGS_ASSERT_INIT_STACKS
1797 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm);
1798 #define PERL_ARGS_ASSERT_INIT_TM        \
1799         assert(ptm)
1800 PERL_CALLCONV void      Perl_init_uniprops(pTHX)
1801                         __attribute__visibility__("hidden");
1802 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1803
1804 #ifndef NO_MATHOMS
1805 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1806                         __attribute__warn_unused_result__
1807                         __attribute__pure__;
1808 #define PERL_ARGS_ASSERT_INSTR  \
1809         assert(big); assert(little)
1810 #endif
1811
1812 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1813 #define PERL_ARGS_ASSERT_INTRO_MY
1814 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1815                         __attribute__warn_unused_result__
1816                         __attribute__visibility__("hidden");
1817 #define PERL_ARGS_ASSERT_INVERT
1818
1819 PERL_CALLCONV void      Perl_invmap_dump(pTHX_ SV* invlist, UV * map)
1820                         __attribute__visibility__("hidden");
1821 #define PERL_ARGS_ASSERT_INVMAP_DUMP    \
1822         assert(invlist); assert(map)
1823
1824 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, GV *gv, bool is_explicit, bool warn_on_fail)
1825                         __attribute__visibility__("hidden");
1826 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1827         assert(io)
1828
1829 #ifndef PERL_NO_INLINE_FUNCTIONS
1830 PERL_STATIC_INLINE Size_t       Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1831                         __attribute__warn_unused_result__;
1832 #define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR  \
1833         assert(s0); assert(e)
1834 #endif
1835
1836 #ifndef PERL_NO_INLINE_FUNCTIONS
1837 PERL_STATIC_INLINE Size_t       Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1838                         __attribute__warn_unused_result__;
1839 #define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR     \
1840         assert(s0); assert(e)
1841 #endif
1842
1843 #ifndef PERL_NO_INLINE_FUNCTIONS
1844 PERL_STATIC_INLINE Size_t       Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
1845                         __attribute__warn_unused_result__;
1846 #define PERL_ARGS_ASSERT_ISUTF8_CHAR    \
1847         assert(s0); assert(e)
1848 #endif
1849
1850 #ifndef PERL_NO_INLINE_FUNCTIONS
1851 PERL_STATIC_INLINE Size_t       Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1852                         __attribute__warn_unused_result__;
1853 #define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS      \
1854         assert(s0); assert(e)
1855 #endif
1856
1857 /* PERL_CALLCONV bool   is_ascii_string(const U8* const s, STRLEN len)
1858                         __attribute__warn_unused_result__
1859                         __attribute__pure__; */
1860 #define PERL_ARGS_ASSERT_IS_ASCII_STRING
1861
1862 /* PERL_CALLCONV bool   is_c9strict_utf8_string(const U8 *s, STRLEN len)
1863                         __attribute__warn_unused_result__; */
1864 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING
1865
1866 /* PERL_CALLCONV bool   is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1867 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOC
1868 #ifndef PERL_NO_INLINE_FUNCTIONS
1869 PERL_STATIC_INLINE bool Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1870 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1871         assert(s)
1872 #endif
1873 /* PERL_CALLCONV bool   is_invariant_string(const U8* const s, STRLEN len)
1874                         __attribute__warn_unused_result__
1875                         __attribute__pure__; */
1876 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING
1877
1878 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1879                         __attribute__warn_unused_result__;
1880 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1881
1882 #ifndef PERL_NO_INLINE_FUNCTIONS
1883 PERL_STATIC_INLINE bool Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1884                         __attribute__warn_unused_result__;
1885 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
1886         assert(pv); assert(what); assert(op_name)
1887 #endif
1888
1889 /* PERL_CALLCONV bool   is_strict_utf8_string(const U8 *s, STRLEN len)
1890                         __attribute__warn_unused_result__; */
1891 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING
1892
1893 /* PERL_CALLCONV bool   is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1894 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOC
1895 #ifndef PERL_NO_INLINE_FUNCTIONS
1896 PERL_STATIC_INLINE bool Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1897 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN   \
1898         assert(s)
1899 #endif
1900 PERL_CALLCONV Size_t    Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1901                         __attribute__warn_unused_result__
1902                         __attribute__pure__;
1903 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_     \
1904         assert(s0); assert(e)
1905
1906 #ifndef NO_MATHOMS
1907 PERL_CALLCONV STRLEN    Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1908 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
1909         assert(buf); assert(buf_end)
1910 #endif
1911 PERL_CALLCONV STRLEN    Perl_is_utf8_char_helper_(const U8 * const s, const U8 * e, const U32 flags)
1912                         __attribute__warn_unused_result__
1913                         __attribute__pure__;
1914 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_   \
1915         assert(s); assert(e)
1916
1917 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1918 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_FLAGS
1919 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1920 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOC_FLAGS
1921 #ifndef PERL_NO_INLINE_FUNCTIONS
1922 PERL_STATIC_INLINE bool Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1923 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS   \
1924         assert(s)
1925 #endif
1926 /* PERL_CALLCONV bool   is_utf8_invariant_string(const U8* const s, STRLEN len)
1927                         __attribute__warn_unused_result__; */
1928 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING
1929
1930 #ifndef PERL_NO_INLINE_FUNCTIONS
1931 PERL_STATIC_INLINE bool Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
1932                         __attribute__warn_unused_result__;
1933 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC   \
1934         assert(s)
1935 #endif
1936
1937 /* PERL_CALLCONV bool   is_utf8_string(const U8 *s, STRLEN len)
1938                         __attribute__warn_unused_result__; */
1939 #define PERL_ARGS_ASSERT_IS_UTF8_STRING
1940
1941 #ifndef PERL_NO_INLINE_FUNCTIONS
1942 PERL_STATIC_INLINE bool Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
1943                         __attribute__warn_unused_result__;
1944 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS   \
1945         assert(s)
1946 #endif
1947
1948 #ifndef NO_MATHOMS
1949 PERL_CALLCONV bool      Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
1950 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1951         assert(s); assert(ep)
1952 #endif
1953 /* PERL_CALLCONV bool   is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1954 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC_FLAGS
1955 #ifndef PERL_NO_INLINE_FUNCTIONS
1956 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1957 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1958         assert(s)
1959 #endif
1960 #ifndef PERL_NO_INLINE_FUNCTIONS
1961 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1962 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS    \
1963         assert(s)
1964 #endif
1965 /* PERL_CALLCONV bool   is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1966                         __attribute__warn_unused_result__
1967                         __attribute__pure__; */
1968 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR
1969
1970 #ifndef PERL_NO_INLINE_FUNCTIONS
1971 PERL_STATIC_INLINE bool Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1972                         __attribute__warn_unused_result__;
1973 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS       \
1974         assert(s0); assert(e)
1975 #endif
1976
1977 PERL_CALLCONV bool      Perl_isinfnan(NV nv)
1978                         __attribute__warn_unused_result__
1979                         __attribute__pure__;
1980 #define PERL_ARGS_ASSERT_ISINFNAN
1981
1982 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv)
1983                         __attribute__visibility__("hidden");
1984 #define PERL_ARGS_ASSERT_ISINFNANSV     \
1985         assert(sv)
1986
1987 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
1988                         __attribute__visibility__("hidden");
1989 #define PERL_ARGS_ASSERT_JMAYBE \
1990         assert(o)
1991
1992 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1993                         __attribute__warn_unused_result__
1994                         __attribute__pure__
1995                         __attribute__visibility__("hidden");
1996 #define PERL_ARGS_ASSERT_KEYWORD        \
1997         assert(name)
1998
1999 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
2000 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
2001         assert(keyword_ptr); assert(op_ptr)
2002 PERL_CALLCONV void      Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
2003 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS    \
2004         assert(from_sp); assert(to_sp)
2005 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
2006 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
2007 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
2008 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
2009 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr);
2010 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2011         assert(ptr)
2012 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
2013 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
2014 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
2015 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
2016 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
2017 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
2018 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
2019 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
2020 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr);
2021 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
2022         assert(ptr)
2023 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
2024 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
2025 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
2026 #define PERL_ARGS_ASSERT_LEX_START
2027 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
2028 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
2029         assert(pv)
2030 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
2031 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
2032         assert(pv)
2033 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
2034 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
2035         assert(sv)
2036 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr);
2037 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
2038         assert(ptr)
2039 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o)
2040                         __attribute__visibility__("hidden");
2041 #define PERL_ARGS_ASSERT_LIST
2042
2043 PERL_CALLCONV HV*       Perl_load_charnames(pTHX_ SV * char_name, const char * context, const STRLEN context_len, const char ** error_msg)
2044                         __attribute__warn_unused_result__;
2045 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
2046         assert(char_name); assert(context); assert(error_msg)
2047
2048 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
2049 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
2050         assert(name)
2051 PERL_CALLCONV_NO_RET void       Perl_locale_panic(const char * msg, const char * file_name, const line_t line, const int errnum)
2052                         __attribute__noreturn__;
2053 #define PERL_ARGS_ASSERT_LOCALE_PANIC   \
2054         assert(msg); assert(file_name)
2055
2056 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
2057                         __attribute__visibility__("hidden");
2058 #define PERL_ARGS_ASSERT_LOCALIZE       \
2059         assert(o)
2060
2061 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
2062                         __attribute__warn_unused_result__;
2063 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
2064         assert(sv)
2065
2066 #ifndef PERL_NO_INLINE_FUNCTIONS
2067 PERL_STATIC_INLINE unsigned     Perl_lsbit_pos32(U32 word)
2068                         __attribute__warn_unused_result__;
2069 #define PERL_ARGS_ASSERT_LSBIT_POS32
2070 #endif
2071
2072 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
2073                         __attribute__visibility__("hidden");
2074 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
2075         assert(sv); assert(mg)
2076
2077 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2078                         __attribute__visibility__("hidden");
2079 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
2080         assert(sv); assert(mg)
2081
2082 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2083                         __attribute__visibility__("hidden");
2084 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2085         assert(sv); assert(mg)
2086
2087 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2088                         __attribute__visibility__("hidden");
2089 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
2090         assert(sv); assert(mg)
2091
2092 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2093                         __attribute__visibility__("hidden");
2094 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
2095         assert(sv); assert(mg)
2096
2097 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
2098                         __attribute__visibility__("hidden");
2099 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2100         assert(mg)
2101
2102 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2103                         __attribute__visibility__("hidden");
2104 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
2105         assert(sv); assert(mg)
2106
2107 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2108                         __attribute__visibility__("hidden");
2109 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2110         assert(sv); assert(mg)
2111
2112 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2113                         __attribute__visibility__("hidden");
2114 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
2115         assert(sv); assert(mg); assert(nsv)
2116
2117 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
2118 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2119 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
2120                         __attribute__visibility__("hidden");
2121 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
2122         assert(sv); assert(mg)
2123
2124 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2125                         __attribute__visibility__("hidden");
2126 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
2127         assert(sv); assert(mg)
2128
2129 PERL_CALLCONV int       Perl_magic_freemglob(pTHX_ SV* sv, MAGIC* mg)
2130                         __attribute__visibility__("hidden");
2131 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB        \
2132         assert(sv); assert(mg)
2133
2134 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2135                         __attribute__visibility__("hidden");
2136 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
2137         assert(sv); assert(mg)
2138
2139 PERL_CALLCONV int       Perl_magic_freeutf8(pTHX_ SV* sv, MAGIC* mg)
2140                         __attribute__visibility__("hidden");
2141 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
2142         assert(sv); assert(mg)
2143
2144 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2145                         __attribute__visibility__("hidden");
2146 #define PERL_ARGS_ASSERT_MAGIC_GET      \
2147         assert(sv); assert(mg)
2148
2149 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2150                         __attribute__visibility__("hidden");
2151 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
2152         assert(sv); assert(mg)
2153
2154 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg)
2155                         __attribute__visibility__("hidden");
2156 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
2157         assert(sv); assert(mg)
2158
2159 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2160                         __attribute__visibility__("hidden");
2161 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
2162         assert(sv); assert(mg)
2163
2164 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2165                         __attribute__visibility__("hidden");
2166 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2167         assert(sv); assert(mg)
2168
2169 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2170                         __attribute__visibility__("hidden");
2171 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
2172         assert(sv); assert(mg)
2173
2174 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2175                         __attribute__visibility__("hidden");
2176 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
2177         assert(sv); assert(mg)
2178
2179 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2180                         __attribute__visibility__("hidden");
2181 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
2182         assert(sv); assert(mg)
2183
2184 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2185                         __attribute__visibility__("hidden");
2186 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
2187         assert(sv); assert(mg)
2188
2189 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2190                         __attribute__visibility__("hidden");
2191 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2192         assert(sv); assert(mg)
2193
2194 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2195                         __attribute__visibility__("hidden");
2196 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
2197         assert(sv); assert(mg)
2198
2199 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2200                         __attribute__visibility__("hidden");
2201 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
2202         assert(sv); assert(mg)
2203
2204 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2205                         __attribute__visibility__("hidden");
2206 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
2207         assert(sv); assert(mg)
2208
2209 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2210                         __attribute__visibility__("hidden");
2211 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2212         assert(sv); assert(mg); assert(meth)
2213
2214 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2215                         __attribute__visibility__("hidden");
2216 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2217         assert(sv); assert(mg); assert(key)
2218
2219 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2220                         __attribute__visibility__("hidden");
2221 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
2222         assert(sv); assert(mg)
2223
2224 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2225                         __attribute__visibility__("hidden");
2226 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
2227         assert(sv); assert(mg)
2228
2229 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2230                         __attribute__visibility__("hidden");
2231 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
2232         assert(hv); assert(mg)
2233
2234 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2235                         __attribute__visibility__("hidden");
2236 #define PERL_ARGS_ASSERT_MAGIC_SET      \
2237         assert(sv); assert(mg)
2238
2239 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
2240                         __attribute__visibility__("hidden");
2241 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
2242         assert(sv); assert(mg)
2243
2244 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
2245                         __attribute__visibility__("hidden");
2246 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
2247         assert(sv); assert(mg)
2248
2249 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
2250                         __attribute__visibility__("hidden");
2251 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
2252         assert(sv); assert(mg)
2253
2254 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg)
2255                         __attribute__visibility__("hidden");
2256 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
2257         assert(sv); assert(mg)
2258
2259 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
2260                         __attribute__visibility__("hidden");
2261 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
2262         assert(sv); assert(mg)
2263
2264 PERL_CALLCONV int       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       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2270                         __attribute__visibility__("hidden");
2271 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
2272         assert(sv); assert(mg)
2273
2274 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2275                         __attribute__visibility__("hidden");
2276 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
2277         assert(sv); assert(mg)
2278
2279 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg)
2280                         __attribute__visibility__("hidden");
2281 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2282         assert(sv); assert(mg)
2283
2284 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2285                         __attribute__visibility__("hidden");
2286 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2287         assert(sv); assert(mg)
2288
2289 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2290                         __attribute__visibility__("hidden");
2291 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2292         assert(sv); assert(mg)
2293
2294 PERL_CALLCONV int       Perl_magic_setnonelem(pTHX_ SV* sv, MAGIC* mg)
2295                         __attribute__visibility__("hidden");
2296 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM       \
2297         assert(sv); assert(mg)
2298
2299 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2300                         __attribute__visibility__("hidden");
2301 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
2302         assert(sv); assert(mg)
2303
2304 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2305                         __attribute__visibility__("hidden");
2306 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
2307         assert(sv); assert(mg)
2308
2309 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2310                         __attribute__visibility__("hidden");
2311 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
2312         assert(sv); assert(mg)
2313
2314 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
2315                         __attribute__visibility__("hidden");
2316 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
2317         assert(mg)
2318
2319 PERL_CALLCONV int       Perl_magic_setsigall(pTHX_ SV* sv, MAGIC* mg)
2320                         __attribute__visibility__("hidden");
2321 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL        \
2322         assert(sv); assert(mg)
2323
2324 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2325                         __attribute__visibility__("hidden");
2326 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
2327         assert(sv); assert(mg)
2328
2329 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2330                         __attribute__visibility__("hidden");
2331 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2332         assert(sv); assert(mg)
2333
2334 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
2335                         __attribute__visibility__("hidden");
2336 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
2337         assert(sv); assert(mg)
2338
2339 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
2340                         __attribute__visibility__("hidden");
2341 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
2342         assert(sv); assert(mg)
2343
2344 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
2345                         __attribute__visibility__("hidden");
2346 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
2347         assert(sv); assert(mg)
2348
2349 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2350                         __attribute__visibility__("hidden");
2351 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2352         assert(sv); assert(mg)
2353
2354 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2355                         __attribute__visibility__("hidden");
2356 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2357         assert(sv); assert(mg)
2358
2359 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
2360                         __attribute__malloc__
2361                         __attribute__warn_unused_result__;
2362 #define PERL_ARGS_ASSERT_MALLOC
2363
2364 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
2365 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2366 PERL_CALLCONV int       Perl_mbtowc_(pTHX_ const wchar_t * pwc, const char * s, const Size_t len);
2367 #define PERL_ARGS_ASSERT_MBTOWC_
2368 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
2369                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2370 #define PERL_ARGS_ASSERT_MESS   \
2371         assert(pat)
2372
2373 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
2374 #define PERL_ARGS_ASSERT_MESS_SV        \
2375         assert(basemsg)
2376 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
2377 #define PERL_ARGS_ASSERT_MFREE
2378 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv);
2379 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2380         assert(sv)
2381 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2382 #define PERL_ARGS_ASSERT_MG_COPY        \
2383         assert(sv); assert(nsv)
2384 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
2385                         __attribute__warn_unused_result__;
2386 #define PERL_ARGS_ASSERT_MG_FIND
2387
2388 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
2389                         __attribute__warn_unused_result__;
2390 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
2391         assert(sv)
2392
2393 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2394                         __attribute__warn_unused_result__;
2395 #define PERL_ARGS_ASSERT_MG_FINDEXT
2396
2397 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv);
2398 #define PERL_ARGS_ASSERT_MG_FREE        \
2399         assert(sv)
2400 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how);
2401 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
2402         assert(sv)
2403 PERL_CALLCONV void      Perl_mg_freeext(pTHX_ SV* sv, int how, const MGVTBL *vtbl);
2404 #define PERL_ARGS_ASSERT_MG_FREEEXT     \
2405         assert(sv)
2406 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv);
2407 #define PERL_ARGS_ASSERT_MG_GET \
2408         assert(sv)
2409 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2410                         __attribute__visibility__("hidden");
2411 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2412         assert(sv); assert(nsv)
2413
2414 PERL_CALLCONV void      Perl_mg_magical(SV* sv);
2415 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2416         assert(sv)
2417 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv);
2418 #define PERL_ARGS_ASSERT_MG_SET \
2419         assert(sv)
2420 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv);
2421 #define PERL_ARGS_ASSERT_MG_SIZE        \
2422         assert(sv)
2423 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm);
2424 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2425         assert(ptm)
2426 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len)
2427                         __attribute__visibility__("hidden");
2428 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2429
2430 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2431 #define PERL_ARGS_ASSERT_MORE_BODIES
2432 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s);
2433 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2434         assert(s)
2435 #ifndef PERL_NO_INLINE_FUNCTIONS
2436 PERL_STATIC_INLINE char *       Perl_mortal_getenv(const char * str)
2437                         __attribute__warn_unused_result__;
2438 #define PERL_ARGS_ASSERT_MORTAL_GETENV  \
2439         assert(str)
2440 #endif
2441
2442 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name);
2443 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2444         assert(name)
2445 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash);
2446 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2447         assert(stash)
2448 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
2449 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2450         assert(smeta); assert(which)
2451 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash)
2452                         __attribute__visibility__("hidden");
2453 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2454         assert(stash)
2455
2456 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash);
2457 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
2458         assert(stash)
2459 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash);
2460 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2461         assert(stash)
2462 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2463 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2464         assert(gv)
2465 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro);
2466 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
2467         assert(mro)
2468 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
2469 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
2470         assert(meta); assert(name)
2471 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
2472 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2473         assert(smeta); assert(which); assert(data)
2474 #ifndef PERL_NO_INLINE_FUNCTIONS
2475 PERL_STATIC_INLINE unsigned     Perl_msbit_pos32(U32 word)
2476                         __attribute__warn_unused_result__;
2477 #define PERL_ARGS_ASSERT_MSBIT_POS32
2478 #endif
2479
2480 PERL_CALLCONV SV*       Perl_multiconcat_stringify(pTHX_ const OP* o);
2481 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY  \
2482         assert(o)
2483 PERL_CALLCONV SV*       Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
2484 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
2485         assert(o)
2486 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s);
2487 #define PERL_ARGS_ASSERT_MY_ATOF        \
2488         assert(s)
2489 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *orig, NV* value);
2490 #define PERL_ARGS_ASSERT_MY_ATOF2       \
2491         assert(orig); assert(value)
2492 PERL_CALLCONV char*     Perl_my_atof3(pTHX_ const char *orig, NV* value, const STRLEN len);
2493 #define PERL_ARGS_ASSERT_MY_ATOF3       \
2494         assert(orig); assert(value)
2495 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2496                         __attribute__visibility__("hidden");
2497 #define PERL_ARGS_ASSERT_MY_ATTRS       \
2498         assert(o)
2499
2500 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
2501 #define PERL_ARGS_ASSERT_MY_CLEARENV
2502 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
2503 #define PERL_ARGS_ASSERT_MY_DIRFD
2504 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
2505                         __attribute__noreturn__;
2506 #define PERL_ARGS_ASSERT_MY_EXIT
2507
2508 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
2509                         __attribute__noreturn__;
2510 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2511
2512 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2513 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2514 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2515 #define PERL_ARGS_ASSERT_MY_FORK
2516 /* PERL_CALLCONV I32    my_lstat(pTHX); */
2517 #define PERL_ARGS_ASSERT_MY_LSTAT
2518 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2519 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2520 PERL_CALLCONV int       Perl_my_mkostemp_cloexec(char *templte, int flags)
2521                         __attribute__warn_unused_result__
2522                         __attribute__visibility__("hidden");
2523 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC    \
2524         assert(templte)
2525
2526 PERL_CALLCONV int       Perl_my_mkstemp_cloexec(char *templte)
2527                         __attribute__warn_unused_result__
2528                         __attribute__visibility__("hidden");
2529 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC     \
2530         assert(templte)
2531
2532 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
2533 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2534         assert(mode); assert(args)
2535 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2536 #define PERL_ARGS_ASSERT_MY_SETENV
2537 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2538                         __attribute__format__(__printf__,3,4);
2539 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
2540         assert(buffer); assert(format)
2541
2542 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2543 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2544 /* PERL_CALLCONV I32    my_stat(pTHX); */
2545 #define PERL_ARGS_ASSERT_MY_STAT
2546 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2547 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2548 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum)
2549                         __attribute__visibility__("hidden");
2550 #define PERL_ARGS_ASSERT_MY_STRERROR
2551
2552 PERL_CALLCONV char *    Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
2553                         __attribute__format__(__strftime__,pTHX_1,0);
2554 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2555         assert(fmt)
2556
2557 PERL_CALLCONV char *    Perl_my_strftime8(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst, utf8ness_t * utf8ness)
2558                         __attribute__format__(__strftime__,pTHX_1,0);
2559 #define PERL_ARGS_ASSERT_MY_STRFTIME8   \
2560         assert(fmt)
2561
2562 PERL_CALLCONV NV        Perl_my_strtod(const char * const s, char ** e)
2563                         __attribute__warn_unused_result__;
2564 #define PERL_ARGS_ASSERT_MY_STRTOD      \
2565         assert(s)
2566
2567 PERL_CALLCONV void      Perl_my_unexec(pTHX)
2568                         __attribute__visibility__("hidden");
2569 #define PERL_ARGS_ASSERT_MY_UNEXEC
2570
2571 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2572 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2573         assert(buffer); assert(format)
2574 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2575 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2576 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2577                         __attribute__warn_unused_result__;
2578 #define PERL_ARGS_ASSERT_NEWANONHASH
2579
2580 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2581                         __attribute__warn_unused_result__;
2582 #define PERL_ARGS_ASSERT_NEWANONLIST
2583
2584 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2585 #define PERL_ARGS_ASSERT_NEWANONSUB
2586 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2587                         __attribute__warn_unused_result__;
2588 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2589
2590 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2591 #define PERL_ARGS_ASSERT_NEWATTRSUB
2592 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2593 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2594 #ifndef NO_MATHOMS
2595 PERL_CALLCONV AV*       Perl_newAV(pTHX)
2596                         __attribute__warn_unused_result__;
2597 #define PERL_ARGS_ASSERT_NEWAV
2598 #endif
2599
2600 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2601                         __attribute__warn_unused_result__;
2602 #define PERL_ARGS_ASSERT_NEWAVREF       \
2603         assert(o)
2604
2605 /* PERL_CALLCONV AV*    newAV_alloc_x(pTHX_ SSize_t size)
2606                         __attribute__warn_unused_result__; */
2607 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_X
2608
2609 /* PERL_CALLCONV AV*    newAV_alloc_xz(pTHX_ SSize_t size)
2610                         __attribute__warn_unused_result__; */
2611 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_XZ
2612
2613 PERL_CALLCONV AV*       Perl_newAVav(pTHX_ AV *oav)
2614                         __attribute__warn_unused_result__;
2615 #define PERL_ARGS_ASSERT_NEWAVAV
2616
2617 PERL_CALLCONV AV*       Perl_newAVhv(pTHX_ HV *ohv)
2618                         __attribute__warn_unused_result__;
2619 #define PERL_ARGS_ASSERT_NEWAVHV
2620
2621 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2622                         __attribute__warn_unused_result__;
2623 #define PERL_ARGS_ASSERT_NEWBINOP
2624
2625 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2626                         __attribute__warn_unused_result__;
2627 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2628         assert(first)
2629
2630 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2631 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2632 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2633 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2634 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2635                         __attribute__warn_unused_result__;
2636 #define PERL_ARGS_ASSERT_NEWCVREF
2637
2638 PERL_CALLCONV OP*       Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2639                         __attribute__warn_unused_result__;
2640 #define PERL_ARGS_ASSERT_NEWDEFEROP     \
2641         assert(block)
2642
2643 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2644                         __attribute__warn_unused_result__;
2645 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2646
2647 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2648 #define PERL_ARGS_ASSERT_NEWFORM
2649 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2650                         __attribute__warn_unused_result__;
2651 #define PERL_ARGS_ASSERT_NEWFOROP       \
2652         assert(expr)
2653
2654 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2655                         __attribute__warn_unused_result__;
2656 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2657         assert(cond); assert(block)
2658
2659 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2660 #define PERL_ARGS_ASSERT_NEWGP  \
2661         assert(gv)
2662 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2663                         __attribute__warn_unused_result__;
2664 #define PERL_ARGS_ASSERT_NEWGVOP        \
2665         assert(gv)
2666
2667 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2668                         __attribute__warn_unused_result__;
2669 #define PERL_ARGS_ASSERT_NEWGVREF
2670
2671 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2672 #define PERL_ARGS_ASSERT_NEWGVGEN
2673 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2674                         __attribute__warn_unused_result__;
2675 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2676         assert(pack)
2677
2678 #ifndef NO_MATHOMS
2679 PERL_CALLCONV HV*       Perl_newHV(pTHX)
2680                         __attribute__warn_unused_result__;
2681 #define PERL_ARGS_ASSERT_NEWHV
2682 #endif
2683
2684 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2685                         __attribute__warn_unused_result__;
2686 #define PERL_ARGS_ASSERT_NEWHVREF       \
2687         assert(o)
2688
2689 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2690                         __attribute__warn_unused_result__;
2691 #define PERL_ARGS_ASSERT_NEWHVHV
2692
2693 #ifndef NO_MATHOMS
2694 PERL_CALLCONV IO*       Perl_newIO(pTHX)
2695                         __attribute__warn_unused_result__;
2696 #define PERL_ARGS_ASSERT_NEWIO
2697 #endif
2698
2699 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2700                         __attribute__warn_unused_result__;
2701 #define PERL_ARGS_ASSERT_NEWLISTOP
2702
2703 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2704                         __attribute__warn_unused_result__;
2705 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2706         assert(first); assert(other)
2707
2708 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2709                         __attribute__warn_unused_result__;
2710 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2711         assert(label)
2712
2713 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2714                         __attribute__warn_unused_result__;
2715 #define PERL_ARGS_ASSERT_NEWLOOPOP
2716
2717 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2718                         __attribute__warn_unused_result__;
2719 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2720         assert(dynamic_meth)
2721
2722 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2723                         __attribute__warn_unused_result__;
2724 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2725         assert(const_meth)
2726
2727 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2728 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2729         assert(o)
2730 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2731                         __attribute__warn_unused_result__;
2732 #define PERL_ARGS_ASSERT_NEWNULLLIST
2733
2734 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2735                         __attribute__warn_unused_result__;
2736 #define PERL_ARGS_ASSERT_NEWOP
2737
2738 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2739                         __attribute__warn_unused_result__;
2740 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2741
2742 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2743                         __attribute__warn_unused_result__;
2744 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2745         assert(outer)
2746
2747 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2748                         __attribute__warn_unused_result__;
2749 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2750         assert(s)
2751
2752 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2753                         __attribute__warn_unused_result__;
2754 #define PERL_ARGS_ASSERT_NEWPMOP
2755
2756 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2757 #define PERL_ARGS_ASSERT_NEWPROG        \
2758         assert(o)
2759 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2760                         __attribute__warn_unused_result__;
2761 #define PERL_ARGS_ASSERT_NEWPVOP
2762
2763 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2764                         __attribute__warn_unused_result__;
2765 #define PERL_ARGS_ASSERT_NEWRANGE       \
2766         assert(left); assert(right)
2767
2768 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2769                         __attribute__warn_unused_result__;
2770 #define PERL_ARGS_ASSERT_NEWRV  \
2771         assert(sv)
2772
2773 #ifndef PERL_NO_INLINE_FUNCTIONS
2774 PERL_STATIC_INLINE SV*  Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2775                         __attribute__warn_unused_result__;
2776 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2777         assert(tmpRef)
2778 #endif
2779
2780 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2781                         __attribute__warn_unused_result__;
2782 #define PERL_ARGS_ASSERT_NEWSLICEOP
2783
2784 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2785                         __attribute__warn_unused_result__;
2786 #define PERL_ARGS_ASSERT_NEWSTATEOP
2787
2788 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake)
2789                         __attribute__visibility__("hidden");
2790 #define PERL_ARGS_ASSERT_NEWSTUB        \
2791         assert(gv)
2792
2793 #ifndef NO_MATHOMS
2794 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2795 #define PERL_ARGS_ASSERT_NEWSUB
2796 #endif
2797 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2798                         __attribute__warn_unused_result__;
2799 #define PERL_ARGS_ASSERT_NEWSV
2800
2801 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2802                         __attribute__warn_unused_result__;
2803 #define PERL_ARGS_ASSERT_NEWSVOP        \
2804         assert(sv)
2805
2806 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2807                         __attribute__warn_unused_result__;
2808 #define PERL_ARGS_ASSERT_NEWSVREF       \
2809         assert(o)
2810
2811 PERL_CALLCONV SV*       Perl_newSV_false(pTHX)
2812                         __attribute__warn_unused_result__;
2813 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2814
2815 PERL_CALLCONV SV*       Perl_newSV_true(pTHX)
2816                         __attribute__warn_unused_result__;
2817 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2818
2819 #ifndef PERL_NO_INLINE_FUNCTIONS
2820 PERL_STATIC_INLINE SV*  Perl_newSV_type(pTHX_ const svtype type)
2821                         __attribute__warn_unused_result__;
2822 #define PERL_ARGS_ASSERT_NEWSV_TYPE
2823 #endif
2824
2825 #ifndef PERL_NO_INLINE_FUNCTIONS
2826 PERL_STATIC_FORCE_INLINE SV*    Perl_newSV_type_mortal(pTHX_ const svtype type)
2827                         __attribute__warn_unused_result__
2828                         __attribute__always_inline__;
2829 #define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
2830 #endif
2831
2832 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2833                         __attribute__warn_unused_result__
2834                         __attribute__visibility__("hidden");
2835 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2836         assert(av)
2837
2838 PERL_CALLCONV SV*       Perl_newSVbool(pTHX_ const bool bool_val)
2839                         __attribute__warn_unused_result__;
2840 #define PERL_ARGS_ASSERT_NEWSVBOOL
2841
2842 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2843                         __attribute__warn_unused_result__;
2844 #define PERL_ARGS_ASSERT_NEWSVHEK
2845
2846 PERL_CALLCONV SV*       Perl_newSVhek_mortal(pTHX_ const HEK *const hek)
2847                         __attribute__warn_unused_result__;
2848 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
2849
2850 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2851                         __attribute__warn_unused_result__;
2852 #define PERL_ARGS_ASSERT_NEWSVIV
2853
2854 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2855                         __attribute__warn_unused_result__;
2856 #define PERL_ARGS_ASSERT_NEWSVNV
2857
2858 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2859                         __attribute__warn_unused_result__;
2860 #define PERL_ARGS_ASSERT_NEWSVPV
2861
2862 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2863                         __attribute__warn_unused_result__;
2864 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
2865
2866 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2867                         __attribute__warn_unused_result__
2868                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2869 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2870         assert(pat)
2871
2872 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2873                         __attribute__warn_unused_result__;
2874 #define PERL_ARGS_ASSERT_NEWSVPVN
2875
2876 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2877                         __attribute__warn_unused_result__;
2878 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
2879
2880 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2881                         __attribute__warn_unused_result__;
2882 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
2883
2884 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2885 #define PERL_ARGS_ASSERT_NEWSVRV        \
2886         assert(rv)
2887 #ifndef NO_MATHOMS
2888 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2889                         __attribute__warn_unused_result__;
2890 #define PERL_ARGS_ASSERT_NEWSVSV
2891 #endif
2892
2893 PERL_CALLCONV SV*       Perl_newSVsv_flags(pTHX_ SV *const old, I32 flags)
2894                         __attribute__warn_unused_result__;
2895 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
2896
2897 /* PERL_CALLCONV SV*    newSVsv_nomg(pTHX_ SV *const old)
2898                         __attribute__warn_unused_result__; */
2899 #define PERL_ARGS_ASSERT_NEWSVSV_NOMG
2900
2901 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2902                         __attribute__warn_unused_result__;
2903 #define PERL_ARGS_ASSERT_NEWSVUV
2904
2905 PERL_CALLCONV OP*       Perl_newTRYCATCHOP(pTHX_ I32 flags, OP* tryblock, OP *catchvar, OP* catchblock)
2906                         __attribute__warn_unused_result__;
2907 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP  \
2908         assert(tryblock); assert(catchvar); assert(catchblock)
2909
2910 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2911                         __attribute__warn_unused_result__;
2912 #define PERL_ARGS_ASSERT_NEWUNOP
2913
2914 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2915                         __attribute__warn_unused_result__;
2916 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
2917
2918 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2919                         __attribute__warn_unused_result__;
2920 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2921         assert(block)
2922
2923 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2924                         __attribute__warn_unused_result__;
2925 #define PERL_ARGS_ASSERT_NEWWHILEOP
2926
2927 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2928 #define PERL_ARGS_ASSERT_NEWXS  \
2929         assert(subaddr); assert(filename)
2930 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2931 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2932         assert(name); assert(subaddr)
2933 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2934 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2935         assert(subaddr); assert(filename)
2936 PERL_CALLCONV CV *      Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags)
2937                         __attribute__visibility__("hidden");
2938 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2939         assert(subaddr)
2940
2941 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2942                         __attribute__warn_unused_result__;
2943 #define PERL_ARGS_ASSERT_NEW_STACKINFO
2944
2945 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2946 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2947         assert(ver)
2948 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2949                         __attribute__warn_unused_result__;
2950 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2951         assert(bits)
2952
2953 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen)
2954                         __attribute__visibility__("hidden");
2955 #define PERL_ARGS_ASSERT_NEXTARGV       \
2956         assert(gv)
2957
2958 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2959                         __attribute__warn_unused_result__
2960                         __attribute__pure__;
2961 #define PERL_ARGS_ASSERT_NINSTR \
2962         assert(big); assert(bigend); assert(little); assert(lend)
2963
2964 PERL_CALLCONV void      Perl_no_bareword_filehandle(pTHX_ const char *fhname)
2965                         __attribute__visibility__("hidden");
2966 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
2967         assert(fhname)
2968
2969 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2970                         __attribute__noreturn__
2971                         __attribute__format__(__printf__,1,2);
2972 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2973         assert(pat)
2974
2975 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2976 #define PERL_ARGS_ASSERT_NOTHREADHOOK
2977 PERL_CALLCONV void      Perl_notify_parser_that_changed_to_utf8(pTHX)
2978                         __attribute__visibility__("hidden");
2979 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
2980
2981 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2982                         __attribute__warn_unused_result__
2983                         __attribute__visibility__("hidden");
2984 #define PERL_ARGS_ASSERT_OOPSAV \
2985         assert(o)
2986
2987 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2988                         __attribute__warn_unused_result__
2989                         __attribute__visibility__("hidden");
2990 #define PERL_ARGS_ASSERT_OOPSHV \
2991         assert(o)
2992
2993 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2994 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
2995 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2996 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
2997 PERL_CALLCONV OPclass   Perl_op_class(pTHX_ const OP *o);
2998 #define PERL_ARGS_ASSERT_OP_CLASS
2999 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
3000 #define PERL_ARGS_ASSERT_OP_CLEAR       \
3001         assert(o)
3002 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
3003 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
3004         assert(o)
3005 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
3006                         __attribute__warn_unused_result__;
3007 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3008
3009 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
3010 #define PERL_ARGS_ASSERT_OP_DUMP        \
3011         assert(o)
3012 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
3013 #define PERL_ARGS_ASSERT_OP_FREE
3014 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
3015 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
3016         assert(o)
3017 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
3018 #define PERL_ARGS_ASSERT_OP_LVALUE
3019 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3020 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3021 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
3022 #define PERL_ARGS_ASSERT_OP_NULL        \
3023         assert(o)
3024 PERL_CALLCONV OP*       Perl_op_parent(OP *o);
3025 #define PERL_ARGS_ASSERT_OP_PARENT      \
3026         assert(o)
3027 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3028 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3029 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
3030 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3031 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
3032 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3033 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
3034 #define PERL_ARGS_ASSERT_OP_SCOPE
3035 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
3036 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3037 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o)
3038                         __attribute__visibility__("hidden");
3039 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3040
3041 PERL_CALLCONV OP*       Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3042                         __attribute__warn_unused_result__;
3043 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY        \
3044         assert(block); assert(finally)
3045
3046 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
3047                         __attribute__visibility__("hidden");
3048 #define PERL_ARGS_ASSERT_PACKAGE        \
3049         assert(o)
3050
3051 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
3052                         __attribute__visibility__("hidden");
3053 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
3054         assert(v)
3055
3056 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3057 #define PERL_ARGS_ASSERT_PACKLIST       \
3058         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3059 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
3060 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
3061         assert(func)
3062 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3063 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
3064         assert(name)
3065 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3066 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
3067         assert(namepv)
3068 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3069 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
3070         assert(name)
3071 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func)
3072                         __attribute__visibility__("hidden");
3073 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
3074         assert(func)
3075
3076 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3077 #define PERL_ARGS_ASSERT_PAD_ALLOC
3078 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full)
3079                         __attribute__visibility__("hidden");
3080 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3081
3082 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
3083 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
3084         assert(name)
3085 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
3086 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3087         assert(namepv)
3088 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
3089 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
3090         assert(name)
3091 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3092                         __attribute__visibility__("hidden");
3093 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
3094         assert(padlist); assert(old_cv); assert(new_cv)
3095
3096 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po)
3097                         __attribute__visibility__("hidden");
3098 #define PERL_ARGS_ASSERT_PAD_FREE
3099
3100 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX)
3101                         __attribute__visibility__("hidden");
3102 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3103
3104 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
3105                         __attribute__warn_unused_result__;
3106 #define PERL_ARGS_ASSERT_PAD_NEW
3107
3108 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3109 #define PERL_ARGS_ASSERT_PAD_PUSH       \
3110         assert(padlist)
3111 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3112                         __attribute__visibility__("hidden");
3113 #define PERL_ARGS_ASSERT_PAD_SWIPE
3114
3115 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
3116 #define PERL_ARGS_ASSERT_PAD_TIDY
3117 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3118                         __attribute__visibility__("hidden");
3119 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
3120         assert(padlist)
3121
3122 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
3123 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
3124         assert(pn)
3125 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3126                         __attribute__warn_unused_result__;
3127 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
3128         assert(pnl)
3129
3130 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3131 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
3132         assert(pnl)
3133 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3134 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
3135         assert(pnl)
3136 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
3137 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3138 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
3139 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3140 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
3141 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3142 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
3143 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3144 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
3145 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3146 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
3147 #define PERL_ARGS_ASSERT_PARSE_LABEL
3148 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
3149 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3150 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
3151 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3152 PERL_CALLCONV OP*       Perl_parse_subsignature(pTHX_ U32 flags);
3153 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3154 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
3155 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3156 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3157                         __attribute__visibility__("hidden");
3158 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3159         assert(popt)
3160
3161 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3162                         __attribute__visibility__("hidden");
3163 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3164         assert(parser)
3165
3166 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o)
3167                         __attribute__visibility__("hidden");
3168 #define PERL_ARGS_ASSERT_PEEP
3169
3170 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
3171 #define PERL_ARGS_ASSERT_PERL_ALLOC
3172 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
3173 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3174         assert(my_perl)
3175 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
3176 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
3177         assert(my_perl)
3178 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
3179 #define PERL_ARGS_ASSERT_PERL_FREE      \
3180         assert(my_perl)
3181 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
3182 #define PERL_ARGS_ASSERT_PERL_PARSE     \
3183         assert(my_perl)
3184 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
3185 #define PERL_ARGS_ASSERT_PERL_RUN       \
3186         assert(my_perl)
3187 PERL_CALLCONV Signal_t  Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3188 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3189 /* PERL_CALLCONV const char *const      phase_name(pTHX_ enum perl_phase); */
3190 #define PERL_ARGS_ASSERT_PHASE_NAME
3191 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
3192 #define PERL_ARGS_ASSERT_PMOP_DUMP
3193 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3194                         __attribute__visibility__("hidden");
3195 #define PERL_ARGS_ASSERT_PMRUNTIME      \
3196         assert(o); assert(expr)
3197
3198 PERL_CALLCONV void      Perl_pop_scope(pTHX);
3199 #define PERL_ARGS_ASSERT_POP_SCOPE
3200 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3201                         __attribute__visibility__("hidden");
3202 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
3203         assert(name)
3204
3205 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3206 #define PERL_ARGS_ASSERT_PREGCOMP       \
3207         assert(pattern)
3208 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
3209 #define PERL_ARGS_ASSERT_PREGEXEC       \
3210         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3211 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
3212 #define PERL_ARGS_ASSERT_PREGFREE
3213 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
3214 #define PERL_ARGS_ASSERT_PREGFREE2      \
3215         assert(rx)
3216 PERL_CALLCONV const char*       Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
3217 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
3218         assert(s)
3219 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3220                         __attribute__warn_unused_result__;
3221 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
3222         assert(tbl)
3223
3224 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3225 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3226 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
3227                         __attribute__warn_unused_result__;
3228 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3229
3230 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
3231 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
3232         assert(tbl)
3233 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
3234 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
3235         assert(tbl); assert(newsv)
3236 PERL_CALLCONV void      Perl_push_scope(pTHX);
3237 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3238 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3239 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3240         assert(dsv); assert(pv)
3241 PERL_CALLCONV char*     Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags);
3242 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3243         assert(str)
3244 PERL_CALLCONV char*     Perl_pv_pretty(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags);
3245 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3246         assert(dsv); assert(str)
3247 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3248 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3249         assert(dsv); assert(spv)
3250 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
3251 #define PERL_ARGS_ASSERT_QERROR \
3252         assert(err)
3253 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3254 #define PERL_ARGS_ASSERT_RE_COMPILE     \
3255         assert(pattern)
3256 PERL_CALLCONV char*     Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data);
3257 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
3258         assert(rx); assert(strbeg); assert(strpos); assert(strend)
3259 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
3260 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
3261         assert(r)
3262 PERL_CALLCONV REGEXP*   Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, const U32 rx_flags, const U32 pm_flags)
3263                         __attribute__visibility__("hidden");
3264 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
3265         assert(eng)
3266
3267 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3268                         __attribute__warn_unused_result__;
3269 #define PERL_ARGS_ASSERT_REALLOC
3270
3271 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
3272 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3273 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
3274 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3275 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
3276 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
3277         assert(f)
3278 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
3279 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3280 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3281 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3282 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3283 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3284         assert(key)
3285 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3286 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
3287         assert(keypv)
3288 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3289 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3290         assert(key)
3291 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3292 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3293 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3294 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3295 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3296 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
3297         assert(key)
3298 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
3299 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
3300         assert(keypv)
3301 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3302 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
3303         assert(key)
3304 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3305 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3306         assert(rx)
3307 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3308 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
3309         assert(rx)
3310 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3311 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
3312         assert(rx); assert(key)
3313 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3314 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
3315         assert(rx); assert(namesv)
3316 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3317 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
3318         assert(rx)
3319 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3320 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
3321         assert(rx)
3322 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3323 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3324         assert(rx)
3325 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3326 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
3327         assert(rx)
3328 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
3329 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
3330         assert(rx)
3331 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3332 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
3333         assert(rx); assert(sv)
3334 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3335 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
3336         assert(rx)
3337 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3338 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3339         assert(rx)
3340 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
3341 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
3342         assert(ssv)
3343 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
3344 #define PERL_ARGS_ASSERT_REGDUMP        \
3345         assert(r)
3346 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
3347 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
3348         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3349 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
3350 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
3351         assert(rx)
3352 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3353 #define PERL_ARGS_ASSERT_REGINITCOLORS
3354 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
3355 #define PERL_ARGS_ASSERT_REPEATCPY      \
3356         assert(to); assert(from)
3357 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv)
3358                         __attribute__visibility__("hidden");
3359 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3360
3361 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3362 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3363 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3364                         __attribute__visibility__("hidden");
3365 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3366
3367 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
3368 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
3369         assert(pv)
3370 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3371                         __attribute__warn_unused_result__
3372                         __attribute__pure__;
3373 #define PERL_ARGS_ASSERT_RNINSTR        \
3374         assert(big); assert(bigend); assert(little); assert(lend)
3375
3376 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o)
3377                         __attribute__visibility__("hidden");
3378 #define PERL_ARGS_ASSERT_RPEEP
3379
3380 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
3381 #define PERL_ARGS_ASSERT_RSIGNAL
3382 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t)
3383                         __attribute__visibility__("hidden");
3384 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3385
3386 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3387                         __attribute__visibility__("hidden");
3388 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
3389         assert(save)
3390
3391 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
3392 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3393 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3394 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3395 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3396 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3397 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3398 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
3399         assert(cvop)
3400 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3401                         __attribute__visibility__("hidden");
3402 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
3403         assert(rsp); assert(rx)
3404
3405 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3406                         __attribute__malloc__
3407                         __attribute__warn_unused_result__;
3408 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3409
3410 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3411 #define PERL_ARGS_ASSERT_SAFESYSFREE
3412 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3413                         __attribute__malloc__
3414                         __attribute__warn_unused_result__;
3415 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3416
3417 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3418                         __attribute__warn_unused_result__;
3419 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3420
3421 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
3422 #define PERL_ARGS_ASSERT_SAVE_I16       \
3423         assert(intp)
3424 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
3425 #define PERL_ARGS_ASSERT_SAVE_I32       \
3426         assert(intp)
3427 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
3428 #define PERL_ARGS_ASSERT_SAVE_I8        \
3429         assert(bytep)
3430 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3431 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
3432         assert(av)
3433 /* PERL_CALLCONV void   save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
3434 #define PERL_ARGS_ASSERT_SAVE_AELEM
3435 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
3436 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
3437         assert(av); assert(sptr)
3438 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
3439 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3440 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
3441 #define PERL_ARGS_ASSERT_SAVE_APTR      \
3442         assert(aptr)
3443 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
3444 #define PERL_ARGS_ASSERT_SAVE_ARY       \
3445         assert(gv)
3446 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
3447 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
3448         assert(boolp)
3449 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
3450 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
3451         assert(svp)
3452 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3453 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
3454         assert(hv); assert(key)
3455 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
3456 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3457         assert(p)
3458 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3459 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3460 #ifndef NO_MATHOMS
3461 PERL_CALLCONV void      Perl_save_freeop(pTHX_ OP* o);
3462 #define PERL_ARGS_ASSERT_SAVE_FREEOP
3463 #endif
3464 #ifndef NO_MATHOMS
3465 PERL_CALLCONV void      Perl_save_freepv(pTHX_ char* pv);
3466 #define PERL_ARGS_ASSERT_SAVE_FREEPV
3467 #endif
3468 #ifndef NO_MATHOMS
3469 PERL_CALLCONV void      Perl_save_freesv(pTHX_ SV* sv);
3470 #define PERL_ARGS_ASSERT_SAVE_FREESV
3471 #endif
3472 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
3473 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3474         assert(str)
3475 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
3476 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3477         assert(sptr)
3478 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
3479 #define PERL_ARGS_ASSERT_SAVE_GP        \
3480         assert(gv)
3481 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
3482 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3483         assert(gv)
3484 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
3485 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3486         assert(hv); assert(keysv)
3487 /* PERL_CALLCONV void   save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
3488 #define PERL_ARGS_ASSERT_SAVE_HELEM
3489 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
3490 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3491         assert(hv); assert(key); assert(sptr)
3492 PERL_CALLCONV void      Perl_save_hints(pTHX);
3493 #define PERL_ARGS_ASSERT_SAVE_HINTS
3494 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
3495 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3496         assert(hptr)
3497 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
3498 #define PERL_ARGS_ASSERT_SAVE_INT       \
3499         assert(intp)
3500 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
3501 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3502         assert(item)
3503 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
3504 #define PERL_ARGS_ASSERT_SAVE_IV        \
3505         assert(ivp)
3506 #ifndef NO_MATHOMS
3507 PERL_CALLCONV void      Perl_save_mortalizesv(pTHX_ SV* sv);
3508 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3509         assert(sv)
3510 #endif
3511 #ifndef NO_MATHOMS
3512 PERL_CALLCONV void      Perl_save_op(pTHX);
3513 #define PERL_ARGS_ASSERT_SAVE_OP
3514 #endif
3515 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3516 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
3517 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
3518 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3519         assert(pptr)
3520 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3521 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
3522 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3523 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
3524 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3525 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
3526 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3527 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
3528 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
3529 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3530         assert(gv)
3531 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
3532 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
3533         assert(sv)
3534 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
3535 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3536         assert(str)
3537 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
3538 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3539         assert(sptr)
3540 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
3541 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
3542         assert(ptr)
3543 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
3544 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3545         assert(sptr)
3546 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
3547 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3548         assert(ptr)
3549 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
3550                         __attribute__malloc__
3551                         __attribute__warn_unused_result__;
3552 #define PERL_ARGS_ASSERT_SAVEPV
3553
3554 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, Size_t len)
3555                         __attribute__malloc__
3556                         __attribute__warn_unused_result__;
3557 #define PERL_ARGS_ASSERT_SAVEPVN
3558
3559 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
3560                         __attribute__malloc__
3561                         __attribute__warn_unused_result__;
3562 #define PERL_ARGS_ASSERT_SAVESHAREDPV
3563
3564 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3565                         __attribute__malloc__
3566                         __attribute__warn_unused_result__;
3567 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
3568
3569 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
3570                         __attribute__malloc__
3571                         __attribute__warn_unused_result__;
3572 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3573         assert(sv)
3574
3575 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
3576 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
3577 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
3578 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
3579 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
3580                         __attribute__malloc__
3581                         __attribute__warn_unused_result__;
3582 #define PERL_ARGS_ASSERT_SAVESVPV       \
3583         assert(sv)
3584
3585 PERL_CALLCONV void      Perl_savetmps(pTHX);
3586 #define PERL_ARGS_ASSERT_SAVETMPS
3587 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o)
3588                         __attribute__visibility__("hidden");
3589 #define PERL_ARGS_ASSERT_SAWPARENS
3590
3591 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o)
3592                         __attribute__visibility__("hidden");
3593 #define PERL_ARGS_ASSERT_SCALAR
3594
3595 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3596                         __attribute__visibility__("hidden");
3597 #define PERL_ARGS_ASSERT_SCALARVOID     \
3598         assert(o)
3599
3600 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3601 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3602         assert(start); assert(retlen)
3603 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3604 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3605         assert(start); assert(retlen)
3606 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
3607 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3608         assert(s); assert(lvalp)
3609 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3610 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3611         assert(start); assert(retlen)
3612 PERL_CALLCONV char*     Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
3613                         __attribute__warn_unused_result__;
3614 #define PERL_ARGS_ASSERT_SCAN_STR       \
3615         assert(start)
3616
3617 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
3618 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
3619         assert(s); assert(rv)
3620 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
3621 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
3622         assert(s); assert(e); assert(sv)
3623 PERL_CALLCONV char*     Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
3624 #define PERL_ARGS_ASSERT_SCAN_WORD      \
3625         assert(s); assert(dest); assert(slp)
3626 PERL_CALLCONV U32       Perl_seed(pTHX);
3627 #define PERL_ARGS_ASSERT_SEED
3628 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
3629 #define PERL_ARGS_ASSERT_SET_CARET_X
3630 PERL_CALLCONV void      Perl_set_context(void *t);
3631 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
3632         assert(t)
3633 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
3634 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD
3635 PERL_CALLCONV void      Perl_set_numeric_underlying(pTHX);
3636 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING
3637 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
3638 #define PERL_ARGS_ASSERT_SETDEFOUT      \
3639         assert(gv)
3640 PERL_CALLCONV void      Perl_setfd_cloexec(int fd)
3641                         __attribute__visibility__("hidden");
3642 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
3643
3644 PERL_CALLCONV void      Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
3645                         __attribute__visibility__("hidden");
3646 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
3647
3648 PERL_CALLCONV void      Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
3649                         __attribute__visibility__("hidden");
3650 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
3651
3652 PERL_CALLCONV void      Perl_setfd_inhexec(int fd)
3653                         __attribute__visibility__("hidden");
3654 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
3655
3656 PERL_CALLCONV void      Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
3657                         __attribute__visibility__("hidden");
3658 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
3659
3660 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
3661 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3662         assert(str)
3663 PERL_CALLCONV Signal_t  Perl_sighandler1(int sig)
3664                         __attribute__visibility__("hidden");
3665 #define PERL_ARGS_ASSERT_SIGHANDLER1
3666
3667 PERL_CALLCONV Signal_t  Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
3668                         __attribute__visibility__("hidden");
3669 #define PERL_ARGS_ASSERT_SIGHANDLER3
3670
3671 #ifndef PERL_NO_INLINE_FUNCTIONS
3672 PERL_STATIC_INLINE unsigned     Perl_single_1bit_pos32(U32 word)
3673                         __attribute__warn_unused_result__;
3674 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
3675 #endif
3676
3677 PERL_CALLCONV char*     Perl_skipspace_flags(pTHX_ char *s, U32 flags)
3678                         __attribute__warn_unused_result__;
3679 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
3680         assert(s)
3681
3682 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
3683 #define PERL_ARGS_ASSERT_SORTSV \
3684         assert(cmp)
3685 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
3686 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
3687         assert(cmp)
3688 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
3689 #define PERL_ARGS_ASSERT_STACK_GROW     \
3690         assert(sp); assert(p)
3691 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3692                         __attribute__visibility__("hidden");
3693 #define PERL_ARGS_ASSERT_START_GLOB     \
3694         assert(tmpglob); assert(io)
3695
3696 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3697 #define PERL_ARGS_ASSERT_START_SUBPARSE
3698 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3699                         __attribute__warn_unused_result__;
3700 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3701         assert(sv)
3702
3703 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
3704                         __attribute__visibility__("hidden");
3705 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3706         assert(cv)
3707
3708 #ifndef NO_MATHOMS
3709 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv);
3710 #define PERL_ARGS_ASSERT_SV_2BOOL       \
3711         assert(sv)
3712 #endif
3713 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
3714 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3715         assert(sv)
3716 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
3717 #define PERL_ARGS_ASSERT_SV_2CV \
3718         assert(st); assert(gvp)
3719 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
3720 #define PERL_ARGS_ASSERT_SV_2IO \
3721         assert(sv)
3722 #ifndef NO_MATHOMS
3723 PERL_CALLCONV IV        Perl_sv_2iv(pTHX_ SV *sv);
3724 #define PERL_ARGS_ASSERT_SV_2IV \
3725         assert(sv)
3726 #endif
3727 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3728 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
3729         assert(sv)
3730 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3731 #define PERL_ARGS_ASSERT_SV_2MORTAL
3732 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3733                         __attribute__visibility__("hidden");
3734 #define PERL_ARGS_ASSERT_SV_2NUM        \
3735         assert(sv)
3736
3737 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3738 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
3739         assert(sv)
3740 #ifndef NO_MATHOMS
3741 PERL_CALLCONV char*     Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3742 #define PERL_ARGS_ASSERT_SV_2PV \
3743         assert(sv)
3744 #endif
3745 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3746 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
3747         assert(sv)
3748 #ifndef NO_MATHOMS
3749 PERL_CALLCONV char*     Perl_sv_2pv_nolen(pTHX_ SV* sv)
3750                         __attribute__warn_unused_result__;
3751 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3752         assert(sv)
3753 #endif
3754
3755 #ifndef NO_MATHOMS
3756 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3757 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3758         assert(sv)
3759 #endif
3760 PERL_CALLCONV char*     Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3761 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS       \
3762         assert(sv)
3763 #ifndef NO_MATHOMS
3764 PERL_CALLCONV char*     Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3765                         __attribute__warn_unused_result__;
3766 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3767         assert(sv)
3768 #endif
3769
3770 #ifndef NO_MATHOMS
3771 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3772 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3773         assert(sv)
3774 #endif
3775 PERL_CALLCONV char*     Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3776 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS       \
3777         assert(sv)
3778 #ifndef NO_MATHOMS
3779 PERL_CALLCONV char*     Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3780                         __attribute__warn_unused_result__;
3781 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3782         assert(sv)
3783 #endif
3784
3785 #ifndef NO_MATHOMS
3786 PERL_CALLCONV UV        Perl_sv_2uv(pTHX_ SV *sv);
3787 #define PERL_ARGS_ASSERT_SV_2UV \
3788         assert(sv)
3789 #endif
3790 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3791 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
3792         assert(sv)
3793 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
3794 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3795         assert(sv)
3796 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3797 #define PERL_ARGS_ASSERT_SV_BLESS       \
3798         assert(sv); assert(stash)
3799 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3800 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3801         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3802 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const dsv, const char* sstr);
3803 #define PERL_ARGS_ASSERT_SV_CATPV       \
3804         assert(dsv)
3805 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
3806 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3807         assert(dsv); assert(sstr)
3808 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const dsv, const char *const sstr);
3809 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3810         assert(dsv)
3811 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3812                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3813 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3814         assert(sv); assert(pat)
3815
3816 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3817                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3818 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3819         assert(sv); assert(pat)
3820
3821 #ifndef NO_MATHOMS
3822 PERL_CALLCONV void      Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3823 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3824         assert(dsv); assert(sstr)
3825 #endif
3826 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dsv, const char *sstr, const STRLEN len, const I32 flags);
3827 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
3828         assert(dsv); assert(sstr)
3829 #ifndef NO_MATHOMS
3830 PERL_CALLCONV void      Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3831 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3832         assert(dsv); assert(sstr)
3833 #endif
3834 #ifndef NO_MATHOMS
3835 PERL_CALLCONV void      Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
3836 #define PERL_ARGS_ASSERT_SV_CATSV       \
3837         assert(dsv)
3838 #endif
3839 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const sstr, const I32 flags);
3840 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3841         assert(dsv)
3842 #ifndef NO_MATHOMS
3843 PERL_CALLCONV void      Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
3844 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3845         assert(dsv)
3846 #endif
3847 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3848 #define PERL_ARGS_ASSERT_SV_CHOP        \
3849         assert(sv)
3850 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX)
3851                         __attribute__visibility__("hidden");
3852 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
3853
3854 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX)
3855                         __attribute__visibility__("hidden");
3856 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
3857
3858 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
3859 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3860         assert(orig_sv)
3861 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3862 #define PERL_ARGS_ASSERT_SV_CMP
3863 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3864 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
3865 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3866 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
3867 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3868 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
3869 #ifndef NO_MATHOMS
3870 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3871 #define PERL_ARGS_ASSERT_SV_COPYPV      \
3872         assert(dsv); assert(ssv)
3873 #endif
3874 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3875 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
3876         assert(dsv); assert(ssv)
3877 /* PERL_CALLCONV void   sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3878 #define PERL_ARGS_ASSERT_SV_COPYPV_NOMG
3879 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3880 #define PERL_ARGS_ASSERT_SV_DEC
3881 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3882 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
3883 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3884 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3885         assert(tsv); assert(sv)
3886 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3887                         __attribute__warn_unused_result__;
3888 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3889         assert(sv); assert(name)
3890
3891 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3892                         __attribute__warn_unused_result__;
3893 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
3894         assert(sv); assert(name)
3895
3896 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3897                         __attribute__warn_unused_result__;
3898 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
3899         assert(sv); assert(name)
3900
3901 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3902                         __attribute__warn_unused_result__;
3903 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
3904         assert(sv); assert(namesv)
3905
3906 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
3907 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
3908 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3909                         __attribute__warn_unused_result__;
3910 #define PERL_ARGS_ASSERT_SV_DOES        \
3911         assert(sv); assert(name)
3912
3913 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3914                         __attribute__warn_unused_result__;
3915 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
3916         assert(sv); assert(name)
3917
3918 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3919                         __attribute__warn_unused_result__;
3920 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
3921         assert(sv); assert(name)
3922
3923 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3924                         __attribute__warn_unused_result__;
3925 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
3926         assert(sv); assert(namesv)
3927
3928 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
3929 #define PERL_ARGS_ASSERT_SV_DUMP
3930 #ifndef NO_MATHOMS
3931 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3932 #define PERL_ARGS_ASSERT_SV_EQ
3933 #endif
3934 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3935 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
3936 #ifndef NO_MATHOMS
3937 PERL_CALLCONV void      Perl_sv_force_normal(pTHX_ SV *sv);
3938 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3939         assert(sv)
3940 #endif
3941 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3942 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3943         assert(sv)
3944 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3945 #define PERL_ARGS_ASSERT_SV_FREE
3946 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3947 #define PERL_ARGS_ASSERT_SV_FREE2       \
3948         assert(sv)
3949 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX)
3950                         __attribute__visibility__("hidden");
3951 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
3952
3953 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv);
3954 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3955         assert(sv)
3956 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3957 #define PERL_ARGS_ASSERT_SV_GETS        \
3958         assert(sv); assert(fp)
3959 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3960 #define PERL_ARGS_ASSERT_SV_GROW        \
3961         assert(sv)
3962 PERL_CALLCONV char*     Perl_sv_grow_fresh(pTHX_ SV *const sv, STRLEN newlen);
3963 #define PERL_ARGS_ASSERT_SV_GROW_FRESH  \
3964         assert(sv)
3965 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3966 #define PERL_ARGS_ASSERT_SV_INC
3967 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3968 #define PERL_ARGS_ASSERT_SV_INC_NOMG
3969 #ifndef NO_MATHOMS
3970 PERL_CALLCONV void      Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3971 #define PERL_ARGS_ASSERT_SV_INSERT      \
3972         assert(bigstr); assert(little)
3973 #endif
3974 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
3975 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3976         assert(bigstr); assert(little)
3977 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3978 #define PERL_ARGS_ASSERT_SV_ISA \
3979         assert(name)
3980 PERL_CALLCONV bool      Perl_sv_isa_sv(pTHX_ SV* sv, SV* namesv)
3981                         __attribute__warn_unused_result__;
3982 #define PERL_ARGS_ASSERT_SV_ISA_SV      \
3983         assert(sv); assert(namesv)
3984
3985 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3986 #define PERL_ARGS_ASSERT_SV_ISOBJECT
3987 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3988 #define PERL_ARGS_ASSERT_SV_LEN
3989 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3990 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
3991 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3992 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3993         assert(sv)
3994 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3995 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3996         assert(sv)
3997 PERL_CALLCONV MAGIC *   Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen);
3998 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3999         assert(sv)
4000 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
4001 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
4002         assert(sv)
4003 #ifndef NO_MATHOMS
4004 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
4005                         __attribute__warn_unused_result__;
4006 #define PERL_ARGS_ASSERT_SV_MORTALCOPY
4007 #endif
4008
4009 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
4010                         __attribute__warn_unused_result__;
4011 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4012
4013 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
4014                         __attribute__warn_unused_result__;
4015 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4016
4017 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
4018 #define PERL_ARGS_ASSERT_SV_NEWREF
4019 #ifndef NO_MATHOMS
4020 PERL_CALLCONV void      Perl_sv_nolocking(pTHX_ SV *sv)
4021                         __attribute__deprecated__;
4022 #define PERL_ARGS_ASSERT_SV_NOLOCKING
4023 #endif
4024
4025 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
4026 #define PERL_ARGS_ASSERT_SV_NOSHARING
4027 #ifndef NO_MATHOMS
4028 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv)
4029                         __attribute__deprecated__;
4030 #define PERL_ARGS_ASSERT_SV_NOUNLOCKING
4031 #endif
4032
4033 /* PERL_CALLCONV bool   sv_numeq(pTHX_ SV* sv1, SV* sv2); */
4034 #define PERL_ARGS_ASSERT_SV_NUMEQ
4035 PERL_CALLCONV bool      Perl_sv_numeq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4036 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4037 #ifndef PERL_NO_INLINE_FUNCTIONS
4038 PERL_STATIC_INLINE bool Perl_sv_only_taint_gmagic(SV *sv);
4039 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
4040         assert(sv)
4041 #endif
4042 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
4043 #define PERL_ARGS_ASSERT_SV_PEEK
4044 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
4045 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
4046         assert(offsetp)
4047 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
4048 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
4049         assert(sv)
4050 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
4051 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
4052         assert(offsetp)
4053 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
4054 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
4055         assert(sv)
4056 #ifndef NO_MATHOMS
4057 PERL_CALLCONV char*     Perl_sv_pv(pTHX_ SV *sv)
4058                         __attribute__warn_unused_result__;
4059 #define PERL_ARGS_ASSERT_SV_PV  \
4060         assert(sv)
4061 #endif
4062
4063 #ifndef NO_MATHOMS
4064 PERL_CALLCONV char*     Perl_sv_pvbyte(pTHX_ SV *sv)
4065                         __attribute__warn_unused_result__;
4066 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
4067         assert(sv)
4068 #endif
4069
4070 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
4071 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
4072         assert(sv)
4073 #ifndef PERL_NO_INLINE_FUNCTIONS
4074 PERL_STATIC_INLINE char*        Perl_sv_pvbyten_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4075 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER       \
4076         assert(sv)
4077 #endif
4078 #ifndef NO_MATHOMS
4079 PERL_CALLCONV char*     Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
4080 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
4081         assert(sv)
4082 #endif
4083 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
4084 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
4085         assert(sv)
4086 #ifndef NO_MATHOMS
4087 PERL_CALLCONV char*     Perl_sv_pvutf8(pTHX_ SV *sv)
4088                         __attribute__warn_unused_result__;
4089 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
4090         assert(sv)
4091 #endif
4092
4093 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
4094 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
4095         assert(sv)
4096 #ifndef PERL_NO_INLINE_FUNCTIONS
4097 PERL_STATIC_INLINE char*        Perl_sv_pvutf8n_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4098 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER       \
4099         assert(sv)
4100 #endif
4101 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
4102 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
4103         assert(sv); assert(encoding)
4104 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
4105 #define PERL_ARGS_ASSERT_SV_REF \
4106         assert(sv)
4107 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
4108                         __attribute__warn_unused_result__;
4109 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
4110         assert(sv)
4111
4112 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
4113 #define PERL_ARGS_ASSERT_SV_REPLACE     \
4114         assert(sv); assert(nsv)
4115 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
4116 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4117 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
4118 #define PERL_ARGS_ASSERT_SV_RESET       \
4119         assert(s)
4120 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash)
4121                         __attribute__visibility__("hidden");
4122 #define PERL_ARGS_ASSERT_SV_RESETPVN
4123
4124 PERL_CALLCONV SV*       Perl_sv_rvunweaken(pTHX_ SV *const sv);
4125 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN  \
4126         assert(sv)
4127 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
4128 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4129         assert(sv)
4130 PERL_CALLCONV void      Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4131 #define PERL_ARGS_ASSERT_SV_SET_BOOL    \
4132         assert(sv)
4133 PERL_CALLCONV void      Perl_sv_set_false(pTHX_ SV *sv);
4134 #define PERL_ARGS_ASSERT_SV_SET_FALSE   \
4135         assert(sv)
4136 PERL_CALLCONV void      Perl_sv_set_true(pTHX_ SV *sv);
4137 #define PERL_ARGS_ASSERT_SV_SET_TRUE    \
4138         assert(sv)
4139 PERL_CALLCONV void      Perl_sv_set_undef(pTHX_ SV *sv);
4140 #define PERL_ARGS_ASSERT_SV_SET_UNDEF   \
4141         assert(sv)
4142 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
4143 #define PERL_ARGS_ASSERT_SV_SETHEK      \
4144         assert(sv)
4145 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
4146 #define PERL_ARGS_ASSERT_SV_SETIV       \
4147         assert(sv)
4148 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
4149 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
4150         assert(sv)
4151 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
4152 #define PERL_ARGS_ASSERT_SV_SETNV       \
4153         assert(sv)
4154 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
4155 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
4156         assert(sv)
4157 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
4158 #define PERL_ARGS_ASSERT_SV_SETPV       \
4159         assert(sv)
4160 PERL_CALLCONV char  *   Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
4161 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE       \
4162         assert(sv)
4163 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
4164 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
4165         assert(sv)
4166 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
4167                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4168 #define PERL_ARGS_ASSERT_SV_SETPVF      \
4169         assert(sv); assert(pat)
4170
4171 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4172                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4173 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
4174         assert(sv); assert(pat)
4175
4176 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4177 #define PERL_ARGS_ASSERT_SV_SETPVN      \
4178         assert(sv)
4179 PERL_CALLCONV void      Perl_sv_setpvn_fresh(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4180 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH        \
4181         assert(sv)
4182 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4183 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
4184         assert(sv); assert(ptr)
4185 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
4186 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
4187         assert(rv)
4188 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
4189 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
4190         assert(rv)
4191 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
4192 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
4193         assert(rv)
4194 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
4195 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
4196         assert(rv); assert(pv)
4197 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
4198 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
4199         assert(rv)
4200 PERL_CALLCONV void      Perl_sv_setrv_inc(pTHX_ SV *const sv, SV *const ref);
4201 #define PERL_ARGS_ASSERT_SV_SETRV_INC   \
4202         assert(sv); assert(ref)
4203 PERL_CALLCONV void      Perl_sv_setrv_inc_mg(pTHX_ SV *const sv, SV *const ref);
4204 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG        \
4205         assert(sv); assert(ref)
4206 PERL_CALLCONV void      Perl_sv_setrv_noinc(pTHX_ SV *const sv, SV *const ref);
4207 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4208         assert(sv); assert(ref)
4209 PERL_CALLCONV void      Perl_sv_setrv_noinc_mg(pTHX_ SV *const sv, SV *const ref);
4210 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG      \
4211         assert(sv); assert(ref)
4212 #ifndef NO_MATHOMS
4213 PERL_CALLCONV void      Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
4214 #define PERL_ARGS_ASSERT_SV_SETSV       \
4215         assert(dsv)
4216 #endif
4217 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4218 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4219         assert(dsv)
4220 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dsv, SV *const ssv);
4221 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
4222         assert(dsv)
4223 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
4224 #define PERL_ARGS_ASSERT_SV_SETUV       \
4225         assert(sv)
4226 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
4227 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
4228         assert(sv)
4229 /* PERL_CALLCONV bool   sv_streq(pTHX_ SV* sv1, SV* sv2); */
4230 #define PERL_ARGS_ASSERT_SV_STREQ
4231 PERL_CALLCONV bool      Perl_sv_streq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4232 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4233 PERL_CALLCONV SV*       Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
4234 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4235 #ifndef NO_MATHOMS
4236 PERL_CALLCONV void      Perl_sv_taint(pTHX_ SV* sv);
4237 #define PERL_ARGS_ASSERT_SV_TAINT       \
4238         assert(sv)
4239 #endif
4240 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
4241                         __attribute__warn_unused_result__;
4242 #define PERL_ARGS_ASSERT_SV_TAINTED     \
4243         assert(sv)
4244
4245 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
4246 #define PERL_ARGS_ASSERT_SV_TRUE
4247 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4248                         __attribute__warn_unused_result__;
4249 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4250         assert(dsv); assert(ssv)
4251
4252 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
4253 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
4254         assert(sv)
4255 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
4256 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
4257         assert(sv)
4258 #ifndef NO_MATHOMS
4259 PERL_CALLCONV void      Perl_sv_unref(pTHX_ SV* sv);
4260 #define PERL_ARGS_ASSERT_SV_UNREF       \
4261         assert(sv)
4262 #endif
4263 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
4264 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4265         assert(ref)
4266 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
4267 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
4268         assert(sv)
4269 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
4270 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
4271         assert(sv)
4272 #ifndef NO_MATHOMS
4273 PERL_CALLCONV void      Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
4274 #define PERL_ARGS_ASSERT_SV_USEPVN      \
4275         assert(sv)
4276 #endif
4277 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
4278 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
4279         assert(sv)
4280 #ifndef NO_MATHOMS
4281 PERL_CALLCONV void      Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
4282 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
4283         assert(sv)
4284 #endif
4285 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
4286 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4287         assert(sv)
4288 #ifndef NO_MATHOMS
4289 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
4290 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
4291         assert(sv)
4292 #endif
4293 PERL_CALLCONV bool      Perl_sv_utf8_downgrade_flags(pTHX_ SV *const sv, const bool fail_ok, const U32 flags);
4294 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS        \
4295         assert(sv)
4296 /* PERL_CALLCONV bool   sv_utf8_downgrade_nomg(pTHX_ SV *const sv, const bool fail_ok); */
4297 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_NOMG
4298 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
4299 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4300         assert(sv)
4301 #ifndef NO_MATHOMS
4302 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade(pTHX_ SV *sv);
4303 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
4304         assert(sv)
4305 #endif
4306 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
4307 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS
4308 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
4309 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
4310         assert(sv)
4311 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4312 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_NOMG
4313 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4314 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
4315         assert(sv); assert(pat)
4316 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4317 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
4318         assert(sv); assert(pat)
4319 PERL_CALLCONV void      Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
4320 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
4321         assert(sv); assert(pat)
4322 PERL_CALLCONV void      Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted, const U32 flags);
4323 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
4324         assert(sv); assert(pat)
4325 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4326 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
4327         assert(sv); assert(pat)
4328 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4329 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
4330         assert(sv); assert(pat)
4331 PERL_CALLCONV void      Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
4332 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
4333         assert(sv); assert(pat)
4334 PERL_CALLCONV void      Perl_switch_to_global_locale(void);
4335 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
4336 PERL_CALLCONV bool      Perl_sync_locale(void);
4337 #define PERL_ARGS_ASSERT_SYNC_LOCALE
4338 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
4339 #define PERL_ARGS_ASSERT_SYS_INIT       \
4340         assert(argc); assert(argv)
4341 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
4342 #define PERL_ARGS_ASSERT_SYS_INIT3      \
4343         assert(argc); assert(argv); assert(env)
4344 PERL_CALLCONV void      Perl_sys_term(void);
4345 #define PERL_ARGS_ASSERT_SYS_TERM
4346 PERL_CALLCONV void      Perl_taint_env(pTHX);
4347 #define PERL_ARGS_ASSERT_TAINT_ENV
4348 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
4349 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
4350         assert(s)
4351 PERL_CALLCONV void      Perl_thread_locale_init(void);
4352 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
4353 PERL_CALLCONV void      Perl_thread_locale_term(void);
4354 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
4355 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...)
4356                         __attribute__visibility__("hidden");
4357 #define PERL_ARGS_ASSERT_TIED_METHOD    \
4358         assert(methname); assert(sp); assert(sv); assert(mg)
4359
4360 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
4361 #define PERL_ARGS_ASSERT_TMPS_GROW_P
4362 /* PERL_CALLCONV UV     to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
4363 #define PERL_ARGS_ASSERT_TO_UNI_FOLD
4364 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
4365 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
4366         assert(p); assert(lenp)
4367 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
4368 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
4369         assert(p); assert(lenp)
4370 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
4371 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
4372         assert(p); assert(lenp)
4373 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
4374 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
4375 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
4376 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
4377 PERL_CALLCONV SSize_t   Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
4378 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
4379         assert(pat); assert(patend); assert(s); assert(strend)
4380 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
4381 #define PERL_ARGS_ASSERT_UNSHARE_HEK
4382 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
4383 #define PERL_ARGS_ASSERT_UNSHAREPVN
4384 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
4385 #define PERL_ARGS_ASSERT_UPG_VERSION    \
4386         assert(ver)
4387 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4388 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
4389         assert(p); assert(d); assert(newlen)
4390 PERL_CALLCONV U8*       Perl_utf16_to_utf8_base(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
4391 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE     \
4392         assert(p); assert(d); assert(newlen)
4393 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4394 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
4395         assert(p); assert(d); assert(newlen)
4396 #ifndef PERL_NO_INLINE_FUNCTIONS
4397 PERL_STATIC_INLINE IV   Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
4398                         __attribute__warn_unused_result__;
4399 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
4400         assert(a); assert(b)
4401 #endif
4402
4403 #ifndef PERL_NO_INLINE_FUNCTIONS
4404 PERL_STATIC_INLINE U8*  Perl_utf8_hop(const U8 *s, SSize_t off)
4405                         __attribute__warn_unused_result__;
4406 #define PERL_ARGS_ASSERT_UTF8_HOP       \
4407         assert(s)
4408 #endif
4409
4410 #ifndef PERL_NO_INLINE_FUNCTIONS
4411 PERL_STATIC_INLINE U8*  Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
4412                         __attribute__warn_unused_result__;
4413 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK  \
4414         assert(s); assert(start)
4415 #endif
4416
4417 #ifndef PERL_NO_INLINE_FUNCTIONS
4418 PERL_STATIC_INLINE U8*  Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
4419                         __attribute__warn_unused_result__;
4420 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD       \
4421         assert(s); assert(end)
4422 #endif
4423
4424 #ifndef PERL_NO_INLINE_FUNCTIONS
4425 PERL_STATIC_INLINE U8*  Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
4426                         __attribute__warn_unused_result__;
4427 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE  \
4428         assert(s); assert(start); assert(end)
4429 #endif
4430
4431 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
4432                         __attribute__warn_unused_result__;
4433 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
4434         assert(s); assert(e)
4435
4436 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
4437 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
4438         assert(s); assert(lenp)
4439 PERL_CALLCONV U8*       Perl_utf8_to_utf16_base(pTHX_ U8* s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
4440 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE     \
4441         assert(s); assert(d); assert(newlen)
4442 #ifndef NO_MATHOMS
4443 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4444                         __attribute__deprecated__;
4445 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
4446         assert(s)
4447 #endif
4448
4449 PERL_CALLCONV UV        Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4450 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF      \
4451         assert(s); assert(send)
4452 #ifndef PERL_NO_INLINE_FUNCTIONS
4453 PERL_STATIC_INLINE UV   Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4454 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER       \
4455         assert(s); assert(send)
4456 #endif
4457 #ifndef NO_MATHOMS
4458 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4459                         __attribute__deprecated__;
4460 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
4461         assert(s)
4462 #endif
4463
4464 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
4465 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
4466         assert(s)
4467 PERL_CALLCONV UV        Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
4468 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR   \
4469         assert(s)
4470 #ifndef PERL_NO_INLINE_FUNCTIONS
4471 PERL_STATIC_INLINE UV   Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
4472 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS    \
4473         assert(s)
4474 #endif
4475 #ifndef NO_MATHOMS
4476 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4477                         __attribute__deprecated__;
4478 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4479         assert(s)
4480 #endif
4481
4482 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
4483                         __attribute__visibility__("hidden");
4484 #define PERL_ARGS_ASSERT_UTILIZE        \
4485         assert(idop)
4486
4487 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
4488 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8
4489 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
4490 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS
4491 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
4492 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS_MSGS
4493 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
4494 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4495         assert(d)
4496 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV** msgs);
4497 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS    \
4498         assert(d)
4499 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
4500 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
4501         assert(d)
4502 #ifndef PERL_NO_INLINE_FUNCTIONS
4503 PERL_STATIC_INLINE UV   Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
4504                         __attribute__warn_unused_result__;
4505 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
4506         assert(s)
4507 #endif
4508
4509 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
4510 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4511         assert(name)
4512 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
4513 #define PERL_ARGS_ASSERT_VCMP   \
4514         assert(lhv); assert(rhv)
4515 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
4516                         __attribute__noreturn__;
4517 #define PERL_ARGS_ASSERT_VCROAK
4518
4519 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
4520 #define PERL_ARGS_ASSERT_VDEB   \
4521         assert(pat)
4522 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
4523 #define PERL_ARGS_ASSERT_VFORM  \
4524         assert(pat)
4525 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
4526 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4527         assert(sv)
4528 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4529                         __attribute__warn_unused_result__
4530                         __attribute__visibility__("hidden");
4531 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
4532         assert(sv)
4533
4534 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
4535 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
4536         assert(name)
4537 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
4538 #define PERL_ARGS_ASSERT_VMESS  \
4539         assert(pat)
4540 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4541                         __attribute__warn_unused_result__;
4542 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
4543         assert(pat)
4544
4545 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
4546 #define PERL_ARGS_ASSERT_VNORMAL        \
4547         assert(vs)
4548 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
4549 #define PERL_ARGS_ASSERT_VNUMIFY        \
4550         assert(vs)
4551 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
4552 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
4553         assert(vs)
4554 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
4555 #define PERL_ARGS_ASSERT_VVERIFY        \
4556         assert(vs)
4557 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
4558 #define PERL_ARGS_ASSERT_VWARN  \
4559         assert(pat)
4560 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
4561 #define PERL_ARGS_ASSERT_VWARNER        \
4562         assert(pat)
4563 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
4564                         __attribute__visibility__("hidden");
4565 #define PERL_ARGS_ASSERT_WAIT4PID       \
4566         assert(statusp)
4567
4568 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
4569                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
4570 #define PERL_ARGS_ASSERT_WARN   \
4571         assert(pat)
4572
4573 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
4574 #define PERL_ARGS_ASSERT_WARN_SV        \
4575         assert(baseex)
4576 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
4577                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4578 #define PERL_ARGS_ASSERT_WARNER \
4579         assert(pat)
4580
4581 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
4582                         __attribute__warn_unused_result__;
4583 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
4584
4585 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
4586                         __attribute__visibility__("hidden");
4587 #define PERL_ARGS_ASSERT_WATCH  \
4588         assert(addr)
4589
4590 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
4591 #define PERL_ARGS_ASSERT_WHICHSIG
4592 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
4593 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
4594         assert(sig)
4595 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
4596 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
4597         assert(sig)
4598 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
4599 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
4600         assert(sigsv)
4601 PERL_CALLCONV void      Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
4602 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN    \
4603         assert(new_plugin); assert(old_plugin_p)
4604 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
4605 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
4606         assert(new_checker); assert(old_checker_p)
4607 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv)
4608                         __attribute__visibility__("hidden");
4609 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
4610         assert(msv)
4611
4612 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
4613 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
4614 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
4615 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
4616         assert(v_my_perl); assert(file)
4617 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
4618                         __attribute__visibility__("hidden");
4619 #define PERL_ARGS_ASSERT_YYERROR        \
4620         assert(s)
4621
4622 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
4623                         __attribute__visibility__("hidden");
4624 #define PERL_ARGS_ASSERT_YYERROR_PV     \
4625         assert(s)
4626
4627 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
4628                         __attribute__visibility__("hidden");
4629 #define PERL_ARGS_ASSERT_YYERROR_PVN
4630
4631 PERL_CALLCONV int       Perl_yylex(pTHX);
4632 #define PERL_ARGS_ASSERT_YYLEX
4633 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype)
4634                         __attribute__visibility__("hidden");
4635 #define PERL_ARGS_ASSERT_YYPARSE
4636
4637 PERL_CALLCONV void      Perl_yyquit(pTHX)
4638                         __attribute__visibility__("hidden");
4639 #define PERL_ARGS_ASSERT_YYQUIT
4640
4641 PERL_CALLCONV void      Perl_yyunlex(pTHX)
4642                         __attribute__visibility__("hidden");
4643 #define PERL_ARGS_ASSERT_YYUNLEX
4644
4645 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
4646 #ifndef PERL_NO_INLINE_FUNCTIONS
4647 PERL_STATIC_INLINE void *       S_my_memrchr(const char * s, const char c, const STRLEN len);
4648 #define PERL_ARGS_ASSERT_MY_MEMRCHR     \
4649         assert(s)
4650 #endif
4651 #endif
4652 #if ! defined(HAS_NL_LANGINFO_L) && ! defined(HAS_NL_LANGINFO)
4653 #  if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L))                 && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
4654 #    if defined(PERL_IN_LOCALE_C)
4655 #      if defined(USE_LOCALE)
4656 STATIC HV *     S_get_nl_item_from_localeconv(pTHX_ const struct lconv *lcbuf, const int item, const locale_utf8ness_t unused1, const locale_utf8ness_t unused2);
4657 #define PERL_ARGS_ASSERT_GET_NL_ITEM_FROM_LOCALECONV    \
4658         assert(lcbuf)
4659 #      endif
4660 #    endif
4661 #  endif
4662 #endif
4663 #if !(!defined(PERL_EXT_RE_BUILD))
4664 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4665 PERL_CALLCONV SV*       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)
4666                         __attribute__visibility__("hidden");
4667 #define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
4668         assert(node)
4669
4670 #  endif
4671 #endif
4672 #if !(defined(DEBUGGING))
4673 #  if !defined(NV_PRESERVES_UV)
4674 #    if defined(PERL_IN_SV_C)
4675 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
4676 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4677         assert(sv)
4678 #    endif
4679 #  endif
4680 #endif
4681 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
4682 PERL_CALLCONV const char*       Perl_langinfo(const int item);
4683 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4684 PERL_CALLCONV const char*       Perl_langinfo8(const int item, utf8ness_t * utf8ness);
4685 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
4686 #endif
4687 #if !(defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L))
4688 #  if defined(PERL_IN_LOCALE_C)
4689 #    if defined(USE_LOCALE)
4690 STATIC const char*      S_my_langinfo_i(pTHX_ const int item, const unsigned int cat_index, const char * locale, const char ** retbufp, Size_t * retbuf_sizep, utf8ness_t * utf8ness);
4691 #define PERL_ARGS_ASSERT_MY_LANGINFO_I  \
4692         assert(locale); assert(retbufp)
4693 #    endif
4694 #  endif
4695 #endif
4696 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
4697 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
4698                         __attribute__visibility__("hidden");
4699 #define PERL_ARGS_ASSERT_DO_EXEC        \
4700         assert(cmd)
4701
4702 #endif
4703 #if !(defined(PERL_USE_3ARG_SIGHANDLER))
4704 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
4705 #define PERL_ARGS_ASSERT_CSIGHANDLER
4706 PERL_CALLCONV Signal_t  Perl_sighandler(int sig)
4707                         __attribute__visibility__("hidden");
4708 #define PERL_ARGS_ASSERT_SIGHANDLER
4709
4710 #endif
4711 #if !(defined(USE_QUERYLOCALE))
4712 #  if defined(PERL_IN_LOCALE_C)
4713 #    if defined(USE_LOCALE)
4714 #      if defined(USE_POSIX_2008_LOCALE)
4715 STATIC const char *     S_calculate_LC_ALL(pTHX_ const char ** individ_locales);
4716 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL       \
4717         assert(individ_locales)
4718 STATIC const char *     S_find_locale_from_environment(pTHX_ const unsigned int index);
4719 #define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
4720 STATIC const char*      S_update_PL_curlocales_i(pTHX_ const unsigned int index, const char * new_locale, recalc_lc_all_t recalc_LC_ALL);
4721 #define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
4722         assert(new_locale)
4723 #      endif
4724 #    endif
4725 #  endif
4726 #endif
4727 #if !(defined(_MSC_VER))
4728 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
4729                         __attribute__noreturn__
4730                         __attribute__visibility__("hidden");
4731 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
4732         assert(sv); assert(mg)
4733
4734 #endif
4735 #if !defined(EBCDIC)
4736 #ifndef PERL_NO_INLINE_FUNCTIONS
4737 PERL_STATIC_INLINE unsigned int Perl_variant_byte_number(PERL_UINTMAX_T word)
4738                         __attribute__warn_unused_result__;
4739 #define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
4740 #endif
4741
4742 #endif
4743 #if !defined(HAS_GETENV_LEN)
4744 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
4745                         __attribute__visibility__("hidden");
4746 #define PERL_ARGS_ASSERT_GETENV_LEN     \
4747         assert(env_elem); assert(len)
4748
4749 #endif
4750 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
4751 #  if defined(PERL_IN_PP_SYS_C)
4752 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
4753                         __attribute__warn_unused_result__;
4754 #define PERL_ARGS_ASSERT_DOONELINER     \
4755         assert(cmd); assert(filename)
4756
4757 #  endif
4758 #endif
4759 #if !defined(HAS_MKOSTEMP)
4760 PERL_CALLCONV int       Perl_my_mkostemp(char *templte, int flags)
4761                         __attribute__visibility__("hidden");
4762 #define PERL_ARGS_ASSERT_MY_MKOSTEMP    \
4763         assert(templte)
4764
4765 #endif
4766 #if !defined(HAS_MKSTEMP)
4767 PERL_CALLCONV int       Perl_my_mkstemp(char *templte)
4768                         __attribute__visibility__("hidden");
4769 #define PERL_ARGS_ASSERT_MY_MKSTEMP     \
4770         assert(templte)
4771
4772 #endif
4773 #if !defined(HAS_RENAME)
4774 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
4775                         __attribute__visibility__("hidden");
4776 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
4777         assert(a); assert(b)
4778
4779 #endif
4780 #if !defined(HAS_SIGNBIT)
4781 PERL_CALLCONV int       Perl_signbit(NV f)
4782                         __attribute__warn_unused_result__
4783                         __attribute__pure__;
4784 #define PERL_ARGS_ASSERT_PERL_SIGNBIT
4785
4786 #endif
4787 #if !defined(HAS_STRLCAT)
4788 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
4789 #define PERL_ARGS_ASSERT_MY_STRLCAT
4790 #endif
4791 #if !defined(HAS_STRLCPY)
4792 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
4793 #define PERL_ARGS_ASSERT_MY_STRLCPY
4794 #endif
4795 #if !defined(HAS_STRNLEN)
4796 #ifndef PERL_NO_INLINE_FUNCTIONS
4797 PERL_STATIC_INLINE Size_t       Perl_my_strnlen(const char *str, Size_t maxlen);
4798 #define PERL_ARGS_ASSERT_MY_STRNLEN     \
4799         assert(str)
4800 #endif
4801 #endif
4802 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
4803 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
4804                         __attribute__warn_unused_result__;
4805 #define PERL_ARGS_ASSERT_MY_CHSIZE
4806
4807 #endif
4808 #if !defined(NV_PRESERVES_UV)
4809 #  if defined(DEBUGGING)
4810 #    if defined(PERL_IN_SV_C)
4811 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
4812 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4813         assert(sv)
4814 #    endif
4815 #  endif
4816 #endif
4817 #if !defined(PERL_DISABLE_PMC)
4818 #  if defined(PERL_IN_PP_CTL_C)
4819 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
4820                         __attribute__warn_unused_result__;
4821 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
4822         assert(name)
4823
4824 #  endif
4825 #endif
4826 #if !defined(PERL_EXT_RE_BUILD)
4827 #  if defined(PERL_IN_REGCOMP_C)
4828 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4829 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
4830         assert(invlist)
4831 #ifndef PERL_NO_INLINE_FUNCTIONS
4832 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
4833                         __attribute__warn_unused_result__;
4834 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
4835         assert(invlist)
4836 #endif
4837
4838 #ifndef PERL_NO_INLINE_FUNCTIONS
4839 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
4840                         __attribute__warn_unused_result__;
4841 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
4842         assert(invlist)
4843 #endif
4844
4845 STATIC void     S_initialize_invlist_guts(pTHX_ SV* invlist, const Size_t initial_size);
4846 #define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS        \
4847         assert(invlist)
4848 #ifndef PERL_NO_INLINE_FUNCTIONS
4849 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
4850 #define PERL_ARGS_ASSERT_INVLIST_CLEAR  \
4851         assert(invlist)
4852 #endif
4853 #ifndef PERL_NO_INLINE_FUNCTIONS
4854 PERL_STATIC_INLINE UV   S_invlist_max(const SV* const invlist)
4855                         __attribute__warn_unused_result__;
4856 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
4857         assert(invlist)
4858 #endif
4859
4860 #ifndef PERL_NO_INLINE_FUNCTIONS
4861 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
4862                         __attribute__warn_unused_result__;
4863 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
4864         assert(invlist)
4865 #endif
4866
4867 STATIC void     S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
4868 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC      \
4869         assert(dest); assert(src)
4870 #ifndef PERL_NO_INLINE_FUNCTIONS
4871 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
4872 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
4873         assert(invlist)
4874 #endif
4875 #ifndef PERL_NO_INLINE_FUNCTIONS
4876 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
4877 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
4878         assert(invlist)
4879 #endif
4880 #  endif
4881 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4882 PERL_CALLCONV SV*       Perl_get_regclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
4883                         __attribute__visibility__("hidden");
4884 #define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA  \
4885         assert(node)
4886
4887 #  endif
4888 #endif
4889 #if !defined(PERL_IMPLICIT_SYS)
4890 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
4891 #define PERL_ARGS_ASSERT_MY_PCLOSE
4892 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
4893 #define PERL_ARGS_ASSERT_MY_POPEN       \
4894         assert(cmd); assert(mode)
4895 #endif
4896 #if !defined(PERL_IS_MINIPERL)
4897 #  if defined(PERL_IN_PERL_C)
4898 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
4899 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
4900         assert(av); assert(dir); assert(stem)
4901 #  endif
4902 #endif
4903 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4904 #ifndef PERL_NO_INLINE_FUNCTIONS
4905 PERL_STATIC_INLINE void Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4906 #define PERL_ARGS_ASSERT_CX_POPBLOCK    \
4907         assert(cx)
4908 #endif
4909 #ifndef PERL_NO_INLINE_FUNCTIONS
4910 PERL_STATIC_INLINE void Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4911 #define PERL_ARGS_ASSERT_CX_POPEVAL     \
4912         assert(cx)
4913 #endif
4914 #ifndef PERL_NO_INLINE_FUNCTIONS
4915 PERL_STATIC_INLINE void Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4916 #define PERL_ARGS_ASSERT_CX_POPFORMAT   \
4917         assert(cx)
4918 #endif
4919 #ifndef PERL_NO_INLINE_FUNCTIONS
4920 PERL_STATIC_INLINE void Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4921 #define PERL_ARGS_ASSERT_CX_POPGIVEN    \
4922         assert(cx)
4923 #endif
4924 #ifndef PERL_NO_INLINE_FUNCTIONS
4925 PERL_STATIC_INLINE void Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4926 #define PERL_ARGS_ASSERT_CX_POPLOOP     \
4927         assert(cx)
4928 #endif
4929 #ifndef PERL_NO_INLINE_FUNCTIONS
4930 PERL_STATIC_INLINE void Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4931 #define PERL_ARGS_ASSERT_CX_POPSUB      \
4932         assert(cx)
4933 #endif
4934 #ifndef PERL_NO_INLINE_FUNCTIONS
4935 PERL_STATIC_INLINE void Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4936 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4937         assert(cx)
4938 #endif
4939 #ifndef PERL_NO_INLINE_FUNCTIONS
4940 PERL_STATIC_INLINE void Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4941 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON       \
4942         assert(cx)
4943 #endif
4944 #ifndef PERL_NO_INLINE_FUNCTIONS
4945 PERL_STATIC_INLINE void Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4946 #define PERL_ARGS_ASSERT_CX_POPWHEN     \
4947         assert(cx)
4948 #endif
4949 #ifndef PERL_NO_INLINE_FUNCTIONS
4950 PERL_STATIC_INLINE PERL_CONTEXT *       Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4951 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK   \
4952         assert(sp)
4953 #endif
4954 #ifndef PERL_NO_INLINE_FUNCTIONS
4955 PERL_STATIC_INLINE void Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4956 #define PERL_ARGS_ASSERT_CX_PUSHEVAL    \
4957         assert(cx)
4958 #endif
4959 #ifndef PERL_NO_INLINE_FUNCTIONS
4960 PERL_STATIC_INLINE void Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4961 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT  \
4962         assert(cx); assert(cv)
4963 #endif
4964 #ifndef PERL_NO_INLINE_FUNCTIONS
4965 PERL_STATIC_INLINE void Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4966 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN   \
4967         assert(cx)
4968 #endif
4969 #ifndef PERL_NO_INLINE_FUNCTIONS
4970 PERL_STATIC_INLINE void Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4971 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR        \
4972         assert(cx); assert(itervarp)
4973 #endif
4974 #ifndef PERL_NO_INLINE_FUNCTIONS
4975 PERL_STATIC_INLINE void Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
4976 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN      \
4977         assert(cx)
4978 #endif
4979 #ifndef PERL_NO_INLINE_FUNCTIONS
4980 PERL_STATIC_INLINE void Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
4981 #define PERL_ARGS_ASSERT_CX_PUSHSUB     \
4982         assert(cx); assert(cv)
4983 #endif
4984 #ifndef PERL_NO_INLINE_FUNCTIONS
4985 PERL_STATIC_INLINE void Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
4986 #define PERL_ARGS_ASSERT_CX_PUSHTRY     \
4987         assert(cx)
4988 #endif
4989 #ifndef PERL_NO_INLINE_FUNCTIONS
4990 PERL_STATIC_INLINE void Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
4991 #define PERL_ARGS_ASSERT_CX_PUSHWHEN    \
4992         assert(cx)
4993 #endif
4994 #ifndef PERL_NO_INLINE_FUNCTIONS
4995 PERL_STATIC_INLINE void Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
4996 #define PERL_ARGS_ASSERT_CX_TOPBLOCK    \
4997         assert(cx)
4998 #endif
4999 #ifndef PERL_NO_INLINE_FUNCTIONS
5000 PERL_STATIC_INLINE U8   Perl_gimme_V(pTHX);
5001 #define PERL_ARGS_ASSERT_GIMME_V
5002 #endif
5003 #endif
5004 #if !defined(PERL_NO_UTF16_FILTER)
5005 #  if defined(PERL_IN_TOKE_C)
5006 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
5007 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
5008         assert(s)
5009 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5010 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
5011         assert(sv)
5012 #  endif
5013 #endif
5014 #if !defined(PURIFY)
5015 #  if defined(PERL_IN_HV_C)
5016 STATIC HE*      S_new_he(pTHX)
5017                         __attribute__warn_unused_result__;
5018 #define PERL_ARGS_ASSERT_NEW_HE
5019
5020 #  endif
5021 #endif
5022 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
5023 #  if defined(PERL_IN_PERL_C)
5024 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
5025 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
5026         assert(rsfp)
5027 #  endif
5028 #endif
5029 #if !defined(USE_ITHREADS)
5030 /* PERL_CALLCONV void   CopFILEGV_set(pTHX_ COP * c, GV * gv); */
5031 #define PERL_ARGS_ASSERT_COPFILEGV_SET
5032 #endif
5033 #if !defined(WIN32)
5034 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
5035                         __attribute__visibility__("hidden");
5036 #define PERL_ARGS_ASSERT_DO_EXEC3       \
5037         assert(incmd)
5038
5039 #endif
5040 #if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L))                   && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
5041 #  if defined(PERL_IN_LOCALE_C)
5042 #    if defined(USE_LOCALE)
5043 STATIC HV *     S_my_localeconv(pTHX_ const int item, const locale_utf8ness_t locale_is_utf8);
5044 #define PERL_ARGS_ASSERT_MY_LOCALECONV
5045 STATIC HV *     S_populate_localeconv(pTHX_ const struct lconv *lcbuf, const int unused, const locale_utf8ness_t numeric_locale_is_utf8, const locale_utf8ness_t monetary_locale_is_utf8);
5046 #define PERL_ARGS_ASSERT_POPULATE_LOCALECONV    \
5047         assert(lcbuf)
5048 #    endif
5049 #  endif
5050 #endif
5051 #if 0   /* Not currently used, but may be needed in the future */
5052 #  if defined(PERL_IN_UTF8_C)
5053 STATIC void     S_warn_on_first_deprecated_use(pTHX_ const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
5054 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE   \
5055         assert(name); assert(alternative); assert(file)
5056 #  endif
5057 #endif
5058 #if defined (HAS_SOCKETPAIR) ||     (defined (HAS_SOCKET) && defined(SOCK_DGRAM) &&     defined(AF_INET) && defined(PF_INET))
5059 PERL_CALLCONV int       Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5060                         __attribute__warn_unused_result__
5061                         __attribute__visibility__("hidden");
5062 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC    \
5063         assert(pairfd)
5064
5065 #endif
5066 #if defined(DEBUGGING)
5067 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5068                         __attribute__warn_unused_result__
5069                         __attribute__visibility__("hidden");
5070 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5071         assert(s)
5072
5073 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
5074 #define PERL_ARGS_ASSERT_HV_ASSERT      \
5075         assert(hv)
5076 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
5077 #define PERL_ARGS_ASSERT_PAD_SETSV      \
5078         assert(sv)
5079 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
5080 #define PERL_ARGS_ASSERT_PAD_SV
5081 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
5082 #define PERL_ARGS_ASSERT_SET_PADLIST    \
5083         assert(cv)
5084 #  if defined(PERL_IN_LOCALE_C)
5085 #    if defined(USE_LOCALE)
5086 STATIC void     S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
5087 #define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
5088         assert(s); assert(e)
5089 STATIC void     S_print_collxfrm_input_and_return(pTHX_ const char * const s, const char * const e, const STRLEN * const xlen, const bool is_utf8);
5090 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN        \
5091         assert(s); assert(e)
5092 STATIC char *   S_setlocale_debug_string_i(const unsigned cat_index, const char* const locale, const char* const retval)
5093                         __attribute__warn_unused_result__;
5094 #define PERL_ARGS_ASSERT_SETLOCALE_DEBUG_STRING_I
5095
5096 #    endif
5097 #  endif
5098 #  if defined(PERL_IN_PAD_C)
5099 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
5100 #define PERL_ARGS_ASSERT_CV_DUMP        \
5101         assert(cv); assert(title)
5102 #  endif
5103 #  if defined(PERL_IN_REGCOMP_C)
5104 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
5105 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
5106         assert(trie); assert(revcharmap)
5107 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5108 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5109         assert(trie); assert(revcharmap)
5110 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5111 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
5112         assert(trie); assert(revcharmap)
5113 STATIC const regnode*   S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV* sv, I32 indent, U32 depth);
5114 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
5115         assert(r); assert(start); assert(node); assert(sv)
5116 STATIC U8       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);
5117 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
5118         assert(sv)
5119 STATIC SV*      S_put_charclass_bitmap_innards_common(pTHX_ SV* invlist, SV* posixes, SV* only_utf8, SV* not_utf8, SV* only_utf8_locale, const bool invert);
5120 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON    \
5121         assert(invlist)
5122 STATIC void     S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
5123 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST   \
5124         assert(sv); assert(invlist)
5125 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
5126 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
5127         assert(sv)
5128 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
5129 #define PERL_ARGS_ASSERT_PUT_RANGE      \
5130         assert(sv)
5131 PERL_CALLCONV int       Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
5132                         __attribute__visibility__("hidden");
5133 #define PERL_ARGS_ASSERT_RE_INDENTF     \
5134         assert(fmt)
5135
5136 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5137 #define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
5138 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
5139 #define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
5140 STATIC regnode_offset   S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
5141 #define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG     \
5142         assert(pRExC_state)
5143 STATIC bool     S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
5144                         __attribute__warn_unused_result__;
5145 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
5146         assert(pRExC_state); assert(p); assert(val)
5147
5148 #  endif
5149 #  if defined(PERL_IN_REGEXEC_C)
5150 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
5151 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
5152         assert(prog); assert(start); assert(end); assert(blurb)
5153 STATIC void     S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, const U32 depth);
5154 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
5155         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5156 PERL_CALLCONV int       Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
5157                         __attribute__visibility__("hidden");
5158 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF        \
5159         assert(fmt)
5160
5161 #  endif
5162 #  if defined(PERL_IN_SV_C)
5163 STATIC void     S_del_sv(pTHX_ SV *p);
5164 #define PERL_ARGS_ASSERT_DEL_SV \
5165         assert(p)
5166 #  endif
5167 #  if defined(PERL_IN_TOKE_C)
5168 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
5169                         __attribute__format__(__printf__,pTHX_1,0);
5170 #define PERL_ARGS_ASSERT_PRINTBUF       \
5171         assert(fmt); assert(s)
5172
5173 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
5174 #define PERL_ARGS_ASSERT_TOKEREPORT     \
5175         assert(lvalp)
5176 #  endif
5177 #endif
5178 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
5179 #  if defined(PERL_IN_REGCOMP_C)
5180 STATIC void     S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
5181 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES     \
5182         assert(pRExC_state); assert(stack); assert(fence_stack)
5183 #  endif
5184 #endif
5185 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5186 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv)
5187                         __attribute__visibility__("hidden");
5188 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
5189         assert(sv)
5190
5191 #endif
5192 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5193 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
5194                         __attribute__visibility__("hidden");
5195 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
5196         assert(mark); assert(sp)
5197
5198 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
5199                         __attribute__visibility__("hidden");
5200 #define PERL_ARGS_ASSERT_DO_IPCGET      \
5201         assert(mark); assert(sp)
5202
5203 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
5204                         __attribute__visibility__("hidden");
5205 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
5206         assert(mark); assert(sp)
5207
5208 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
5209                         __attribute__visibility__("hidden");
5210 #define PERL_ARGS_ASSERT_DO_MSGSND      \
5211         assert(mark); assert(sp)
5212
5213 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
5214                         __attribute__visibility__("hidden");
5215 #define PERL_ARGS_ASSERT_DO_SEMOP       \
5216         assert(mark); assert(sp)
5217
5218 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
5219                         __attribute__visibility__("hidden");
5220 #define PERL_ARGS_ASSERT_DO_SHMIO       \
5221         assert(mark); assert(sp)
5222
5223 #endif
5224 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
5225 PERL_CALLCONV const char*       Perl_langinfo(const nl_item item);
5226 #define PERL_ARGS_ASSERT_PERL_LANGINFO
5227 PERL_CALLCONV const char*       Perl_langinfo8(const nl_item item, utf8ness_t * utf8ness);
5228 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
5229 #endif
5230 #if defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L)
5231 #  if defined(PERL_IN_LOCALE_C)
5232 #    if defined(USE_LOCALE)
5233 STATIC const char*      S_my_langinfo_i(pTHX_ const nl_item item, const unsigned int cat_index, const char * locale, const char ** retbufp, Size_t * retbuf_sizep, utf8ness_t * utf8ness);
5234 #define PERL_ARGS_ASSERT_MY_LANGINFO_I  \
5235         assert(locale); assert(retbufp)
5236 #    endif
5237 #  endif
5238 #endif
5239 #if defined(HAS_PIPE)
5240 PERL_CALLCONV int       Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5241                         __attribute__warn_unused_result__
5242                         __attribute__visibility__("hidden");
5243 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC  \
5244         assert(pipefd)
5245
5246 #endif
5247 #if defined(HAS_SOCKET)
5248 PERL_CALLCONV int       Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5249                         __attribute__warn_unused_result__
5250                         __attribute__visibility__("hidden");
5251 #define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5252
5253 PERL_CALLCONV int       Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5254                         __attribute__warn_unused_result__
5255                         __attribute__visibility__("hidden");
5256 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5257
5258 #endif
5259 #if defined(HAVE_INTERP_INTERN)
5260 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
5261 #define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5262 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
5263 #define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5264 #  if defined(USE_ITHREADS)
5265 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
5266 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5267         assert(src); assert(dst)
5268 #  endif
5269 #endif
5270 #if defined(MULTIPLICITY)
5271 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
5272                         __attribute__noreturn__
5273                         __attribute__format__null_ok__(__printf__,1,2);
5274 #define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5275
5276 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
5277                         __attribute__format__(__printf__,1,2);
5278 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
5279         assert(pat)
5280
5281 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
5282                         __attribute__noreturn__
5283                         __attribute__format__null_ok__(__printf__,1,2);
5284 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5285
5286 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
5287                         __attribute__format__(__printf__,1,2);
5288 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5289         assert(pat)
5290
5291 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
5292 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
5293         assert(name)
5294 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
5295                         __attribute__format__(__printf__,1,2);
5296 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5297         assert(pat)
5298
5299 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5300 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
5301         assert(indexp)
5302 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
5303                         __attribute__format__(__printf__,1,2);
5304 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
5305         assert(pat)
5306
5307 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5308                         __attribute__format__(__printf__,2,3);
5309 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5310         assert(sv); assert(pat)
5311
5312 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
5313                         __attribute__format__(__printf__,2,3);
5314 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
5315         assert(sv); assert(pat)
5316
5317 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5318                         __attribute__format__(__printf__,2,3);
5319 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5320         assert(sv); assert(pat)
5321
5322 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
5323                         __attribute__format__(__printf__,2,3);
5324 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
5325         assert(sv); assert(pat)
5326
5327 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
5328                         __attribute__format__(__printf__,1,2);
5329 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5330         assert(pat)
5331
5332 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
5333                         __attribute__format__(__printf__,2,3);
5334 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
5335         assert(pat)
5336
5337 #endif
5338 #if defined(MYMALLOC)
5339 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
5340 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
5341         assert(s)
5342 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5343 #define PERL_ARGS_ASSERT_GET_MSTATS     \
5344         assert(buf)
5345 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
5346                         __attribute__warn_unused_result__
5347                         __attribute__visibility__("hidden");
5348 #define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5349
5350 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
5351                         __attribute__warn_unused_result__
5352                         __attribute__visibility__("hidden");
5353 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
5354         assert(p)
5355
5356 #endif
5357 #if defined(PERL_ANY_COW)
5358 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv);
5359 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
5360         assert(ssv)
5361 #endif
5362 #if defined(PERL_CORE)
5363 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab)
5364                         __attribute__visibility__("hidden");
5365 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
5366         assert(slab)
5367
5368 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab)
5369                         __attribute__visibility__("hidden");
5370 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
5371         assert(slab)
5372
5373 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
5374                         __attribute__visibility__("hidden");
5375 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
5376         assert(slab)
5377
5378 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
5379                         __attribute__visibility__("hidden");
5380 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
5381         assert(parser); assert(slab)
5382
5383 #ifndef PERL_NO_INLINE_FUNCTIONS
5384 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
5385                         __attribute__warn_unused_result__;
5386 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
5387         assert(pv)
5388 #endif
5389
5390 #  if defined(PERL_DEBUG_READONLY_OPS)
5391 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
5392 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
5393         assert(slab)
5394 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
5395 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
5396         assert(slab)
5397 #  endif
5398 #endif
5399 #if defined(PERL_CORE) || defined (PERL_EXT)
5400 #ifndef PERL_NO_INLINE_FUNCTIONS
5401 PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
5402                         __attribute__warn_unused_result__;
5403 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING   \
5404         assert(s)
5405 #endif
5406
5407 #ifndef PERL_NO_INLINE_FUNCTIONS
5408 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
5409 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
5410         assert(sv); assert(pv)
5411 #endif
5412 #endif
5413 #if defined(PERL_CORE) || defined(PERL_EXT)
5414 PERL_CALLCONV bool      Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
5415                         __attribute__warn_unused_result__;
5416 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN   \
5417         assert(s); assert(send)
5418
5419 #ifndef PERL_NO_INLINE_FUNCTIONS
5420 PERL_STATIC_INLINE Size_t       S_variant_under_utf8_count(const U8* const s, const U8* const e)
5421                         __attribute__warn_unused_result__;
5422 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT       \
5423         assert(s); assert(e)
5424 #endif
5425
5426 #endif
5427 #if defined(PERL_CR_FILTER)
5428 #  if defined(PERL_IN_TOKE_C)
5429 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5430 #define PERL_ARGS_ASSERT_CR_TEXTFILTER
5431 STATIC void     S_strip_return(pTHX_ SV *sv);
5432 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
5433         assert(sv)
5434 #  endif
5435 #endif
5436 #if defined(PERL_DEBUG_READONLY_COW)
5437 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv)
5438                         __attribute__visibility__("hidden");
5439 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
5440         assert(sv)
5441
5442 #  if defined(PERL_IN_SV_C)
5443 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
5444 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
5445         assert(sv)
5446 #  endif
5447 #endif
5448 #if defined(PERL_DEBUG_READONLY_OPS)
5449 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
5450 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
5451         assert(o)
5452 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
5453 #define PERL_ARGS_ASSERT_OP_REFCNT_INC
5454 #endif
5455 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
5456 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
5457                         __attribute__visibility__("hidden");
5458 #define PERL_ARGS_ASSERT_DO_EXEC        \
5459         assert(cmd)
5460
5461 #endif
5462 #if defined(PERL_DONT_CREATE_GVSV)
5463 #ifndef NO_MATHOMS
5464 PERL_CALLCONV GV*       Perl_gv_SVadd(pTHX_ GV *gv);
5465 #define PERL_ARGS_ASSERT_GV_SVADD
5466 #endif
5467 #endif
5468 #if defined(PERL_IMPLICIT_SYS)
5469 PERL_CALLCONV PerlInterpreter*  perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP);
5470 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
5471         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5472 #  if defined(USE_ITHREADS)
5473 PERL_CALLCONV PerlInterpreter*  perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem* ipM, struct IPerlMem* ipMS, struct IPerlMem* ipMP, struct IPerlEnv* ipE, struct IPerlStdIO* ipStd, struct IPerlLIO* ipLIO, struct IPerlDir* ipD, struct IPerlSock* ipS, struct IPerlProc* ipP);
5474 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
5475         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5476 #  endif
5477 #endif
5478 #if defined(PERL_IN_AV_C)
5479 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
5480 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
5481         assert(av)
5482 #endif
5483 #if defined(PERL_IN_DEB_C)
5484 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
5485 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
5486         assert(stack_base)
5487 #endif
5488 #if defined(PERL_IN_DOIO_C)
5489 STATIC bool     S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
5490 #define PERL_ARGS_ASSERT_ARGVOUT_FINAL  \
5491         assert(mg); assert(io)
5492 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
5493 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
5494         assert(cmd)
5495 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
5496                         __attribute__warn_unused_result__;
5497 #define PERL_ARGS_ASSERT_INGROUP
5498
5499 STATIC bool     S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type, Stat_t *statbufp);
5500 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
5501         assert(gv); assert(io); assert(mode); assert(oname)
5502 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
5503 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
5504         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
5505 #endif
5506 #if defined(PERL_IN_DOOP_C)
5507 STATIC Size_t   S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5508                         __attribute__warn_unused_result__;
5509 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
5510         assert(sv); assert(tbl)
5511
5512 STATIC Size_t   S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5513                         __attribute__warn_unused_result__;
5514 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
5515         assert(sv); assert(tbl)
5516
5517 STATIC Size_t   S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
5518                         __attribute__warn_unused_result__;
5519 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP  \
5520         assert(sv); assert(map)
5521
5522 STATIC Size_t   S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
5523                         __attribute__warn_unused_result__;
5524 #define PERL_ARGS_ASSERT_DO_TRANS_INVMAP        \
5525         assert(sv); assert(map)
5526
5527 STATIC Size_t   S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5528                         __attribute__warn_unused_result__;
5529 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
5530         assert(sv); assert(tbl)
5531
5532 #endif
5533 #if defined(PERL_IN_DUMP_C)
5534 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
5535 #define PERL_ARGS_ASSERT_DEB_CURCV
5536 STATIC void     S_debprof(pTHX_ const OP *o);
5537 #define PERL_ARGS_ASSERT_DEBPROF        \
5538         assert(o)
5539 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
5540 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5541         assert(pm)
5542 STATIC UV       S_sequence_num(pTHX_ const OP *o);
5543 #define PERL_ARGS_ASSERT_SEQUENCE_NUM
5544 #endif
5545 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
5546 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv)
5547                         __attribute__visibility__("hidden");
5548 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
5549         assert(hv)
5550
5551 #endif
5552 #if defined(PERL_IN_GV_C)
5553 STATIC bool     S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
5554 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
5555         assert(stash); assert(name)
5556 #ifndef PERL_NO_INLINE_FUNCTIONS
5557 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
5558 #define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
5559 #endif
5560 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
5561 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
5562         assert(gv)
5563 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
5564 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
5565         assert(name)
5566 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
5567 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
5568         assert(gv); assert(stash); assert(name)
5569 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
5570 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
5571         assert(gv)
5572 #ifndef PERL_NO_INLINE_FUNCTIONS
5573 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
5574 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
5575         assert(name)
5576 #endif
5577 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
5578 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
5579         assert(gv); assert(name)
5580 STATIC bool     S_parse_gv_stash_name(pTHX_ HV **stash, GV **gv, const char **name, STRLEN *len, const char *nambeg, STRLEN full_len, const U32 is_utf8, const I32 add);
5581 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
5582         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5583 STATIC void     S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
5584 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
5585         assert(gv); assert(varname); assert(name)
5586 #endif
5587 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5588 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5589                         __attribute__visibility__("hidden");
5590 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5591         assert(tsv); assert(sv)
5592
5593 #endif
5594 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
5595 PERL_CALLCONV HV*       Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags)
5596                         __attribute__visibility__("hidden");
5597
5598 #endif
5599 #if defined(PERL_IN_HV_C)
5600 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
5601 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
5602         assert(hv)
5603 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
5604 #define PERL_ARGS_ASSERT_HSPLIT \
5605         assert(hv)
5606 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
5607 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
5608         assert(hv)
5609 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5610 #define PERL_ARGS_ASSERT_HV_DELETE_COMMON
5611 STATIC SV*      S_hv_free_ent_ret(pTHX_ HE *entry);
5612 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
5613         assert(entry)
5614 STATIC void     S_hv_free_entries(pTHX_ HV *hv);
5615 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES        \
5616         assert(hv)
5617 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
5618 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5619         assert(hv); assert(needs_copy); assert(needs_store)
5620 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5621                         __attribute__noreturn__;
5622 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
5623         assert(key); assert(msg)
5624
5625 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
5626 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
5627         assert(he)
5628 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5629                         __attribute__malloc__
5630                         __attribute__warn_unused_result__;
5631 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5632         assert(str)
5633
5634 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
5635                         __attribute__warn_unused_result__;
5636 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
5637         assert(str)
5638
5639 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5640 #define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
5641 #endif
5642 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5643 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5644                         __attribute__visibility__("hidden");
5645 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
5646         assert(sv)
5647
5648 #endif
5649 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5650 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
5651                         __attribute__visibility__("hidden");
5652 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
5653         assert(hv); assert(indexp)
5654
5655 #endif
5656 #if defined(PERL_IN_LOCALE_C)
5657 #ifndef PERL_NO_INLINE_FUNCTIONS
5658 PERL_STATIC_INLINE const char * S_mortalized_pv_copy(pTHX_ const char * const pv)
5659                         __attribute__warn_unused_result__;
5660 #define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
5661 #endif
5662
5663 #  if defined(USE_LOCALE)
5664 STATIC const char*      S_category_name(const int category);
5665 #define PERL_ARGS_ASSERT_CATEGORY_NAME
5666 STATIC unsigned int     S_get_category_index(const int category, const char * locale);
5667 #define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
5668 STATIC utf8ness_t       S_get_locale_string_utf8ness_i(pTHX_ const char * locale, const unsigned cat_index, const char * string, const locale_utf8ness_t known_utf8);
5669 #define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
5670 STATIC bool     S_is_codeset_name_UTF8(const char * name);
5671 #define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8   \
5672         assert(name)
5673 STATIC bool     S_is_locale_utf8(pTHX_ const char * locale);
5674 #define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \
5675         assert(locale)
5676 STATIC void     S_new_LC_ALL(pTHX_ const char* unused);
5677 #define PERL_ARGS_ASSERT_NEW_LC_ALL
5678 STATIC void     S_new_collate(pTHX_ const char* newcoll);
5679 #define PERL_ARGS_ASSERT_NEW_COLLATE
5680 STATIC void     S_new_ctype(pTHX_ const char* newctype);
5681 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
5682         assert(newctype)
5683 STATIC void     S_new_numeric(pTHX_ const char* newnum);
5684 #define PERL_ARGS_ASSERT_NEW_NUMERIC
5685 STATIC void     S_restore_switched_locale(pTHX_ const int category, const char * const original_locale);
5686 #define PERL_ARGS_ASSERT_RESTORE_SWITCHED_LOCALE
5687 STATIC void     S_restore_toggled_locale_i(pTHX_ const unsigned cat_index, const char * original_locale, const line_t caller_line);
5688 #define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
5689 STATIC const char *     S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size);
5690 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
5691 STATIC void     S_set_numeric_radix(pTHX_ const bool use_locale);
5692 #define PERL_ARGS_ASSERT_SET_NUMERIC_RADIX
5693 PERL_STATIC_NO_RET void S_setlocale_failure_panic_i(pTHX_ const unsigned int cat_index, const char * current, const char * failed, const line_t caller_0_line, const line_t caller_1_line)
5694                         __attribute__noreturn__;
5695 #define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_I      \
5696         assert(failed)
5697
5698 STATIC const char*      S_stdize_locale(pTHX_ const int category, const char* input_locale, const char **buf, Size_t *buf_size, line_t caller_line);
5699 #define PERL_ARGS_ASSERT_STDIZE_LOCALE
5700 STATIC const char*      S_switch_category_locale_to_template(pTHX_ const int switch_category, const int template_category, const char * template_locale);
5701 #define PERL_ARGS_ASSERT_SWITCH_CATEGORY_LOCALE_TO_TEMPLATE
5702 STATIC const char *     S_toggle_locale_i(pTHX_ const unsigned switch_cat_index, const char * new_locale, const line_t caller_line);
5703 #define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I        \
5704         assert(new_locale)
5705 #    if defined(USE_POSIX_2008_LOCALE)
5706 STATIC const char*      S_emulate_setlocale_i(pTHX_ const unsigned int index, const char* new_locale, const recalc_lc_all_t recalc_LC_ALL, const line_t line);
5707 #define PERL_ARGS_ASSERT_EMULATE_SETLOCALE_I
5708 STATIC const char*      S_my_querylocale_i(pTHX_ const unsigned int index);
5709 #define PERL_ARGS_ASSERT_MY_QUERYLOCALE_I
5710 STATIC const char *     S_setlocale_from_aggregate_LC_ALL(pTHX_ const char * locale, const line_t line);
5711 #define PERL_ARGS_ASSERT_SETLOCALE_FROM_AGGREGATE_LC_ALL        \
5712         assert(locale)
5713 STATIC locale_t S_use_curlocale_scratch(pTHX);
5714 #define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
5715 #      if defined(USE_QUERYLOCALE)
5716 STATIC const char *     S_calculate_LC_ALL(pTHX_ const locale_t cur_obj);
5717 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL
5718 #      endif
5719 #    endif
5720 #    if defined(WIN32)
5721 PERL_CALLCONV wchar_t * Perl_Win_utf8_string_to_wstring(const char * utf8_string);
5722 #define PERL_ARGS_ASSERT_WIN_UTF8_STRING_TO_WSTRING
5723 PERL_CALLCONV char *    Perl_Win_wstring_to_utf8_string(const wchar_t * wstring);
5724 #define PERL_ARGS_ASSERT_WIN_WSTRING_TO_UTF8_STRING
5725 STATIC char*    S_win32_setlocale(pTHX_ int category, const char* locale);
5726 #define PERL_ARGS_ASSERT_WIN32_SETLOCALE
5727 #    endif
5728 #  endif
5729 #endif
5730 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
5731 #  if defined(USE_LOCALE_COLLATE)
5732 PERL_CALLCONV char*     Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8)
5733                         __attribute__visibility__("hidden");
5734 #define PERL_ARGS_ASSERT__MEM_COLLXFRM  \
5735         assert(input_string); assert(xlen)
5736
5737 #  endif
5738 #endif
5739 #if defined(PERL_IN_MALLOC_C)
5740 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
5741 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
5742         assert(nbytes_p)
5743 #endif
5744 #if defined(PERL_IN_MG_C)
5745 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
5746 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
5747         assert(sv)
5748 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
5749 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
5750         assert(sv); assert(mg); assert(meth)
5751 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
5752 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
5753         assert(sv); assert(mg); assert(meth)
5754 STATIC void     S_restore_magic(pTHX_ const void *p);
5755 #define PERL_ARGS_ASSERT_RESTORE_MAGIC
5756 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
5757 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
5758         assert(sv)
5759 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
5760 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
5761 #endif
5762 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
5763 PERL_CALLCONV bool      Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
5764                         __attribute__visibility__("hidden");
5765 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
5766         assert(posp); assert(lenp)
5767
5768 #endif
5769 #if defined(PERL_IN_MRO_C)
5770 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
5771 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
5772         assert(isa); assert(name)
5773 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
5774 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
5775         assert(stashes); assert(seen_stashes); assert(namesv)
5776 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
5777 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
5778         assert(stash)
5779 #endif
5780 #if defined(PERL_IN_NUMERIC_C)
5781 STATIC void     S_output_non_portable(pTHX_ const U8 shift);
5782 #define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
5783 #endif
5784 #if defined(PERL_IN_OP_C)
5785 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
5786 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
5787         assert(stash); assert(target)
5788 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
5789 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
5790         assert(stash); assert(target); assert(imopsp)
5791 STATIC I32      S_assignment_type(pTHX_ const OP *o)
5792                         __attribute__warn_unused_result__;
5793 #define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
5794
5795 STATIC void     S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
5796 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
5797         assert(gv); assert(kid); assert(t)
5798 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
5799 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
5800         assert(t); assert(o); assert(kid)
5801 STATIC void     S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
5802 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS   \
5803         assert(fullname); assert(gv); assert(cv)
5804 STATIC void     S_cop_free(pTHX_ COP *cop);
5805 #define PERL_ARGS_ASSERT_COP_FREE       \
5806         assert(cop)
5807 STATIC OP *     S_dup_attrlist(pTHX_ OP *o);
5808 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
5809         assert(o)
5810 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o);
5811 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
5812         assert(o)
5813 STATIC OP*      S_fold_constants(pTHX_ OP * const o);
5814 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
5815         assert(o)
5816 STATIC OP*      S_force_list(pTHX_ OP* arg, bool nullit);
5817 #define PERL_ARGS_ASSERT_FORCE_LIST
5818 STATIC void     S_forget_pmop(pTHX_ PMOP *const o);
5819 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
5820         assert(o)
5821 STATIC void     S_gen_constant_list(pTHX_ OP* o);
5822 #define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
5823 STATIC void     S_inplace_aassign(pTHX_ OP* o);
5824 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
5825         assert(o)
5826 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
5827                         __attribute__warn_unused_result__;
5828 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
5829         assert(o)
5830
5831 STATIC OP*      S_listkids(pTHX_ OP* o);
5832 #define PERL_ARGS_ASSERT_LISTKIDS
5833 STATIC bool     S_looks_like_bool(pTHX_ const OP* o);
5834 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
5835         assert(o)
5836 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
5837 #define PERL_ARGS_ASSERT_MODKIDS
5838 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
5839 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
5840         assert(proto); assert(attrs); assert(name)
5841 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
5842 #define PERL_ARGS_ASSERT_MY_KID \
5843         assert(imopsp)
5844 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
5845 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
5846         assert(block)
5847 #ifndef PERL_NO_INLINE_FUNCTIONS
5848 PERL_STATIC_INLINE OP*  S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
5849 #define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
5850 #endif
5851 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
5852                         __attribute__warn_unused_result__;
5853 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
5854         assert(firstp); assert(otherp)
5855
5856 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
5857                         __attribute__warn_unused_result__;
5858 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
5859         assert(o)
5860
5861 #ifndef PERL_NO_INLINE_FUNCTIONS
5862 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o);
5863 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
5864         assert(o)
5865 #endif
5866 #ifndef PERL_NO_INLINE_FUNCTIONS
5867 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o);
5868 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
5869         assert(o)
5870 #endif
5871 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
5872 #define PERL_ARGS_ASSERT_PMTRANS        \
5873         assert(o); assert(expr); assert(repl)
5874 STATIC bool     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
5875 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
5876         assert(fullname); assert(gv); assert(cv)
5877 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
5878 #define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
5879 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
5880 #define PERL_ARGS_ASSERT_REFKIDS
5881 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
5882                         __attribute__warn_unused_result__;
5883 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
5884
5885 STATIC OP*      S_scalarboolean(pTHX_ OP *o);
5886 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
5887         assert(o)
5888 STATIC OP*      S_scalarkids(pTHX_ OP* o);
5889 #define PERL_ARGS_ASSERT_SCALARKIDS
5890 STATIC OP*      S_search_const(pTHX_ OP *o)
5891                         __attribute__warn_unused_result__;
5892 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
5893         assert(o)
5894
5895 STATIC void     S_simplify_sort(pTHX_ OP *o);
5896 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
5897         assert(o)
5898 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
5899                         __attribute__warn_unused_result__;
5900 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
5901         assert(o); assert(name)
5902
5903 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
5904 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
5905         assert(o); assert(name)
5906 STATIC OP*      S_voidnonfinal(pTHX_ OP* o);
5907 #define PERL_ARGS_ASSERT_VOIDNONFINAL
5908 #endif
5909 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
5910 PERL_CALLCONV void      Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
5911                         __attribute__visibility__("hidden");
5912 #define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
5913
5914 PERL_CALLCONV void      Perl_no_bareword_allowed(pTHX_ OP *o)
5915                         __attribute__visibility__("hidden");
5916 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
5917         assert(o)
5918
5919 PERL_CALLCONV void      Perl_op_prune_chain_head(OP **op_p)
5920                         __attribute__visibility__("hidden");
5921 #define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD    \
5922         assert(op_p)
5923
5924 PERL_CALLCONV SV *      Perl_op_varname(pTHX_ const OP *o)
5925                         __attribute__visibility__("hidden");
5926 #define PERL_ARGS_ASSERT_OP_VARNAME     \
5927         assert(o)
5928
5929 PERL_CALLCONV void      Perl_optimize_optree(pTHX_ OP* o)
5930                         __attribute__visibility__("hidden");
5931 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE        \
5932         assert(o)
5933
5934 PERL_CALLCONV void      Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
5935                         __attribute__visibility__("hidden");
5936 #define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT       \
5937         assert(o); assert(name)
5938
5939 #  if defined(USE_ITHREADS)
5940 PERL_CALLCONV void      Perl_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp)
5941                         __attribute__visibility__("hidden");
5942 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
5943         assert(svp); assert(targp)
5944
5945 #  endif
5946 #endif
5947 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
5948 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
5949                         __attribute__visibility__("hidden");
5950 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
5951         assert(name); assert(old_cv)
5952
5953 #endif
5954 #if defined(PERL_IN_PAD_C)
5955 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
5956 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
5957         assert(name)
5958 STATIC void     S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
5959 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
5960         assert(name)
5961 STATIC PADOFFSET        S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, PADNAME** out_name, int *out_flags);
5962 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
5963         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
5964 STATIC void     S_pad_reset(pTHX);
5965 #define PERL_ARGS_ASSERT_PAD_RESET
5966 #endif
5967 #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5968 #ifndef PERL_NO_INLINE_FUNCTIONS
5969 PERL_STATIC_INLINE bool S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
5970 #define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE        \
5971         assert(pn)
5972 #endif
5973 #endif
5974 #if defined(PERL_IN_PEEP_C)
5975 STATIC void     S_finalize_op(pTHX_ OP* o);
5976 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
5977         assert(o)
5978 STATIC void     S_optimize_op(pTHX_ OP* o);
5979 #define PERL_ARGS_ASSERT_OPTIMIZE_OP    \
5980         assert(o)
5981 STATIC OP*      S_traverse_op_tree(pTHX_ OP* top, OP* o);
5982 #define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE       \
5983         assert(top); assert(o)
5984 #endif
5985 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
5986 #ifndef NO_MATHOMS
5987 PERL_CALLCONV OP*       Perl_ref(pTHX_ OP* o, I32 type)
5988                         __attribute__visibility__("hidden");
5989 #define PERL_ARGS_ASSERT_REF
5990 #endif
5991
5992 #endif
5993 #if defined(PERL_IN_PERL_C)
5994 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
5995 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
5996         assert(linestr_sv); assert(rsfp)
5997 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
5998 #define PERL_ARGS_ASSERT_FORBID_SETID
5999 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
6000 #define PERL_ARGS_ASSERT_INCPUSH        \
6001         assert(dir)
6002 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
6003 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
6004         assert(p)
6005 STATIC void     S_init_ids(pTHX);
6006 #define PERL_ARGS_ASSERT_INIT_IDS
6007 STATIC void     S_init_interp(pTHX);
6008 #define PERL_ARGS_ASSERT_INIT_INTERP
6009 STATIC void     S_init_main_stash(pTHX);
6010 #define PERL_ARGS_ASSERT_INIT_MAIN_STASH
6011 STATIC void     S_init_perllib(pTHX);
6012 #define PERL_ARGS_ASSERT_INIT_PERLLIB
6013 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
6014 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
6015         assert(argv)
6016 STATIC void     S_init_predump_symbols(pTHX);
6017 #define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
6018 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
6019 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
6020         assert(dir)
6021 PERL_STATIC_NO_RET void S_minus_v(pTHX)
6022                         __attribute__noreturn__;
6023 #define PERL_ARGS_ASSERT_MINUS_V
6024
6025 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
6026                         __attribute__noreturn__;
6027 #define PERL_ARGS_ASSERT_MY_EXIT_JUMP
6028
6029 STATIC void     S_nuke_stacks(pTHX);
6030 #define PERL_ARGS_ASSERT_NUKE_STACKS
6031 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
6032 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
6033         assert(scriptname); assert(suidscript)
6034 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
6035 #define PERL_ARGS_ASSERT_PARSE_BODY
6036 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
6037                         __attribute__noreturn__;
6038 #define PERL_ARGS_ASSERT_RUN_BODY
6039
6040 PERL_STATIC_NO_RET void S_usage(pTHX)
6041                         __attribute__noreturn__;
6042 #define PERL_ARGS_ASSERT_USAGE
6043
6044 #endif
6045 #if defined(PERL_IN_PP_C)
6046 STATIC size_t   S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
6047 #define PERL_ARGS_ASSERT_DO_CHOMP       \
6048         assert(retval); assert(sv)
6049 STATIC OP*      S_do_delete_local(pTHX);
6050 #define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
6051 STATIC SV*      S_refto(pTHX_ SV* sv)
6052                         __attribute__warn_unused_result__;
6053 #define PERL_ARGS_ASSERT_REFTO  \
6054         assert(sv)
6055
6056 #endif
6057 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
6058 #ifndef PERL_NO_INLINE_FUNCTIONS
6059 PERL_STATIC_INLINE bool S_lossless_NV_to_IV(const NV nv, IV * ivp)
6060                         __attribute__warn_unused_result__;
6061 #define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV      \
6062         assert(ivp)
6063 #endif
6064
6065 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
6066                         __attribute__warn_unused_result__;
6067 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
6068         assert(sv); assert(what); assert(spp)
6069
6070 #endif
6071 #if defined(PERL_IN_PP_CTL_C)
6072 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
6073                         __attribute__warn_unused_result__;
6074 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
6075         assert(name)
6076
6077 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher);
6078 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
6079         assert(matcher)
6080 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
6081 #define PERL_ARGS_ASSERT_DO_SMARTMATCH
6082 STATIC OP*      S_docatch(pTHX_ Perl_ppaddr_t firstpp)
6083                         __attribute__warn_unused_result__;
6084 #define PERL_ARGS_ASSERT_DOCATCH
6085
6086 STATIC bool     S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
6087 #define PERL_ARGS_ASSERT_DOEVAL_COMPILE
6088 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
6089                         __attribute__warn_unused_result__;
6090 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
6091         assert(o); assert(label); assert(opstack); assert(oplimit)
6092
6093 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv);
6094 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
6095         assert(sv)
6096 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
6097                         __attribute__warn_unused_result__;
6098 #define PERL_ARGS_ASSERT_DOPOPTOEVAL
6099
6100 STATIC I32      S_dopoptogivenfor(pTHX_ I32 startingblock)
6101                         __attribute__warn_unused_result__;
6102 #define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
6103
6104 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
6105                         __attribute__warn_unused_result__;
6106 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
6107         assert(label)
6108
6109 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
6110                         __attribute__warn_unused_result__;
6111 #define PERL_ARGS_ASSERT_DOPOPTOLOOP
6112
6113 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
6114                         __attribute__warn_unused_result__;
6115 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
6116         assert(cxstk)
6117
6118 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
6119                         __attribute__warn_unused_result__;
6120 #define PERL_ARGS_ASSERT_DOPOPTOWHEN
6121
6122 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
6123                         __attribute__warn_unused_result__;
6124 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
6125         assert(re)
6126
6127 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
6128                         __attribute__warn_unused_result__;
6129 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
6130         assert(matcher); assert(sv)
6131
6132 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
6133                         __attribute__warn_unused_result__;
6134 #define PERL_ARGS_ASSERT_NUM_OVERFLOW
6135
6136 #ifndef PERL_NO_INLINE_FUNCTIONS
6137 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
6138                         __attribute__warn_unused_result__;
6139 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
6140         assert(name)
6141 #endif
6142
6143 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
6144                         __attribute__warn_unused_result__;
6145 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
6146         assert(buf_sv)
6147
6148 STATIC void     S_rxres_free(pTHX_ void** rsp);
6149 #define PERL_ARGS_ASSERT_RXRES_FREE     \
6150         assert(rsp)
6151 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
6152 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
6153         assert(rsp); assert(rx)
6154 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv);
6155 #define PERL_ARGS_ASSERT_SAVE_LINES     \
6156         assert(sv)
6157 #endif
6158 #if defined(PERL_IN_PP_HOT_C)
6159 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
6160 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
6161         assert(oddkey); assert(firstkey)
6162 #ifndef PERL_NO_INLINE_FUNCTIONS
6163 PERL_STATIC_INLINE HV*  S_opmethod_stash(pTHX_ SV* meth);
6164 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
6165         assert(meth)
6166 #endif
6167 #ifndef PERL_NO_INLINE_FUNCTIONS
6168 PERL_STATIC_FORCE_INLINE bool   S_should_we_output_Debug_r(pTHX_ regexp * prog)
6169                         __attribute__warn_unused_result__
6170                         __attribute__always_inline__;
6171 #define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R       \
6172         assert(prog)
6173 #endif
6174
6175 #endif
6176 #if defined(PERL_IN_PP_PACK_C)
6177 STATIC int      S_div128(pTHX_ SV *pnum, bool *done);
6178 #define PERL_ARGS_ASSERT_DIV128 \
6179         assert(pnum); assert(done)
6180 STATIC char     S_first_symbol(const char *pat, const char *patend);
6181 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
6182         assert(pat); assert(patend)
6183 STATIC const char *     S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
6184                         __attribute__warn_unused_result__;
6185 #define PERL_ARGS_ASSERT_GET_NUM        \
6186         assert(patptr); assert(lenptr)
6187
6188 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
6189 #define PERL_ARGS_ASSERT_GROUP_END      \
6190         assert(patptr); assert(patend)
6191 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
6192                         __attribute__warn_unused_result__;
6193 #define PERL_ARGS_ASSERT_IS_AN_INT      \
6194         assert(s)
6195
6196 STATIC SSize_t  S_measure_struct(pTHX_ struct tempsym* symptr);
6197 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
6198         assert(symptr)
6199 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m);
6200 #define PERL_ARGS_ASSERT_MUL128 \
6201         assert(sv)
6202 STATIC char *   S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
6203                         __attribute__warn_unused_result__;
6204 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8       \
6205         assert(start); assert(dest)
6206
6207 STATIC bool     S_need_utf8(const char *pat, const char *patend);
6208 #define PERL_ARGS_ASSERT_NEED_UTF8      \
6209         assert(pat); assert(patend)
6210 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr);
6211 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
6212         assert(symptr)
6213 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
6214 #define PERL_ARGS_ASSERT_PACK_REC       \
6215         assert(cat); assert(symptr); assert(beglist); assert(endlist)
6216 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
6217                         __attribute__warn_unused_result__;
6218 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
6219         assert(sv)
6220
6221 STATIC SSize_t  S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
6222 #define PERL_ARGS_ASSERT_UNPACK_REC     \
6223         assert(symptr); assert(s); assert(strbeg); assert(strend)
6224 #endif
6225 #if defined(PERL_IN_PP_SORT_C)
6226 #ifndef PERL_NO_INLINE_FUNCTIONS
6227 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
6228                         __attribute__always_inline__;
6229 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
6230         assert(str1); assert(str2)
6231 #endif
6232
6233 #ifndef PERL_NO_INLINE_FUNCTIONS
6234 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6235                         __attribute__always_inline__;
6236 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC        \
6237         assert(str1); assert(str2)
6238 #endif
6239
6240 #ifndef PERL_NO_INLINE_FUNCTIONS
6241 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
6242                         __attribute__always_inline__;
6243 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
6244         assert(a); assert(b)
6245 #endif
6246
6247 #ifndef PERL_NO_INLINE_FUNCTIONS
6248 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6249                         __attribute__always_inline__;
6250 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC     \
6251         assert(a); assert(b)
6252 #endif
6253
6254 #ifndef PERL_NO_INLINE_FUNCTIONS
6255 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
6256                         __attribute__always_inline__;
6257 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
6258         assert(a); assert(b)
6259 #endif
6260
6261 #ifndef PERL_NO_INLINE_FUNCTIONS
6262 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
6263                         __attribute__always_inline__;
6264 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC       \
6265         assert(a); assert(b)
6266 #endif
6267
6268 #ifndef PERL_NO_INLINE_FUNCTIONS
6269 PERL_STATIC_FORCE_INLINE I32    S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6270                         __attribute__always_inline__;
6271 #define PERL_ARGS_ASSERT_CMP_DESC       \
6272         assert(str1); assert(str2)
6273 #endif
6274
6275 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b);
6276 #define PERL_ARGS_ASSERT_SORTCV \
6277         assert(a); assert(b)
6278 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
6279 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
6280         assert(a); assert(b)
6281 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
6282 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
6283         assert(a); assert(b)
6284 #ifndef PERL_NO_INLINE_FUNCTIONS
6285 PERL_STATIC_FORCE_INLINE void   S_sortsv_flags_impl(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
6286                         __attribute__always_inline__;
6287 #define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL      \
6288         assert(cmp)
6289 #endif
6290
6291 #ifndef PERL_NO_INLINE_FUNCTIONS
6292 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
6293                         __attribute__always_inline__;
6294 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
6295         assert(a); assert(b)
6296 #endif
6297
6298 #ifndef PERL_NO_INLINE_FUNCTIONS
6299 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6300                         __attribute__always_inline__;
6301 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
6302         assert(a); assert(b)
6303 #endif
6304
6305 #ifndef PERL_NO_INLINE_FUNCTIONS
6306 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp(pTHX_ SV *const a, SV *const b)
6307                         __attribute__always_inline__;
6308 #define PERL_ARGS_ASSERT_SV_NCMP        \
6309         assert(a); assert(b)
6310 #endif
6311
6312 #ifndef PERL_NO_INLINE_FUNCTIONS
6313 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
6314                         __attribute__always_inline__;
6315 #define PERL_ARGS_ASSERT_SV_NCMP_DESC   \
6316         assert(a); assert(b)
6317 #endif
6318
6319 #  if defined(USE_LOCALE_COLLATE)
6320 #ifndef PERL_NO_INLINE_FUNCTIONS
6321 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
6322                         __attribute__always_inline__;
6323 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
6324         assert(str1); assert(str2)
6325 #endif
6326
6327 #ifndef PERL_NO_INLINE_FUNCTIONS
6328 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6329                         __attribute__always_inline__;
6330 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
6331         assert(str1); assert(str2)
6332 #endif
6333
6334 #ifndef PERL_NO_INLINE_FUNCTIONS
6335 PERL_STATIC_FORCE_INLINE I32    S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6336                         __attribute__always_inline__;
6337 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC        \
6338         assert(str1); assert(str2)
6339 #endif
6340
6341 #  endif
6342 #endif
6343 #if defined(PERL_IN_PP_SYS_C)
6344 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
6345 #define PERL_ARGS_ASSERT_DOFORM \
6346         assert(cv); assert(gv)
6347 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array);
6348 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
6349 #endif
6350 #if defined(PERL_IN_REGCOMP_C)
6351 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
6352 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
6353         assert(pRExC_state); assert(invlist)
6354 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
6355                         __attribute__warn_unused_result__;
6356 #define PERL_ARGS_ASSERT_ADD_DATA       \
6357         assert(pRExC_state); assert(s)
6358
6359 STATIC AV*      S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
6360 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH        \
6361         assert(multi_string)
6362 STATIC void     S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
6363 #define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE     \
6364         assert(pRExC_state)
6365 STATIC REGEXP*  S_compile_wildcard(pTHX_ const char * subpattern, const STRLEN len, const bool ignore_case)
6366                         __attribute__warn_unused_result__;
6367 #define PERL_ARGS_ASSERT_COMPILE_WILDCARD       \
6368         assert(subpattern)
6369
6370 STATIC U8       S_compute_EXACTish(RExC_state_t *pRExC_state);
6371 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
6372         assert(pRExC_state)
6373 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
6374 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
6375         assert(pRExC_state); assert(source)
6376 STATIC int      S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
6377                         __attribute__warn_unused_result__;
6378 #define PERL_ARGS_ASSERT_EDIT_DISTANCE  \
6379         assert(src); assert(tgt)
6380
6381 STATIC I32      S_execute_wildcard(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
6382 #define PERL_ARGS_ASSERT_EXECUTE_WILDCARD       \
6383         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
6384 #ifndef PERL_NO_INLINE_FUNCTIONS
6385 PERL_STATIC_INLINE Size_t       S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max);
6386 #define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS  \
6387         assert(s1); assert(s2)
6388 #endif
6389 STATIC SV *     S_get_ANYOFHbbm_contents(pTHX_ const regnode * n)
6390                         __attribute__warn_unused_result__;
6391 #define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
6392         assert(n)
6393
6394 STATIC SV *     S_get_ANYOFM_contents(pTHX_ const regnode * n)
6395                         __attribute__warn_unused_result__;
6396 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS    \
6397         assert(n)
6398
6399 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
6400 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
6401         assert(pRExC_state); assert(node)
6402 STATIC U32      S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char * start, const char * end);
6403 #define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE   \
6404         assert(pRExC_state); assert(start); assert(end)
6405 STATIC bool     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);
6406 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
6407         assert(pRExC_state); assert(flagp)
6408 STATIC regnode_offset   S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * backref_parse_start, char ch);
6409 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF   \
6410         assert(pRExC_state); assert(flagp); assert(backref_parse_start)
6411 STATIC bool     S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
6412 #define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD  \
6413         assert(wname); assert(prop_definition); assert(strings)
6414 STATIC int      S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* const s, char ** updated_parse_ptr, AV** posix_warnings, const bool check_only);
6415 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX  \
6416         assert(pRExC_state); assert(s)
6417 STATIC regnode_offset   S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth);
6418 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
6419         assert(pRExC_state); assert(flagp)
6420 STATIC SV *     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);
6421 #define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY   \
6422         assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
6423 #ifndef PERL_NO_INLINE_FUNCTIONS
6424 PERL_STATIC_INLINE SV*  S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
6425                         __attribute__warn_unused_result__;
6426 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS       \
6427         assert(invlist)
6428 #endif
6429
6430 #ifndef PERL_NO_INLINE_FUNCTIONS
6431 PERL_STATIC_INLINE UV   S_invlist_highest_range_start(SV* const invlist)
6432                         __attribute__warn_unused_result__;
6433 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START    \
6434         assert(invlist)
6435 #endif
6436
6437 #ifndef PERL_NO_INLINE_FUNCTIONS
6438 PERL_STATIC_INLINE bool S_invlist_is_iterating(const SV* const invlist)
6439                         __attribute__warn_unused_result__;
6440 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
6441         assert(invlist)
6442 #endif
6443
6444 #ifndef PERL_NO_INLINE_FUNCTIONS
6445 PERL_STATIC_INLINE UV   S_invlist_lowest(SV* const invlist)
6446                         __attribute__warn_unused_result__;
6447 #define PERL_ARGS_ASSERT_INVLIST_LOWEST \
6448         assert(invlist)
6449 #endif
6450
6451 STATIC bool     S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
6452 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT        \
6453         assert(pRExC_state); assert(ssc)
6454 STATIC U32      S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth);
6455 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
6456         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
6457 STATIC SV*      S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
6458                         __attribute__warn_unused_result__;
6459 #define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST    \
6460         assert(pRExC_state); assert(node)
6461
6462 STATIC I32      S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth);
6463 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
6464         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
6465 STATIC void     S_nextchar(pTHX_ RExC_state_t *pRExC_state);
6466 #define PERL_ARGS_ASSERT_NEXTCHAR       \
6467         assert(pRExC_state)
6468 STATIC U8       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);
6469 #define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS      \
6470         assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); assert(flagp)
6471 STATIC void     S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings);
6472 #define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS  \
6473         assert(pRExC_state); assert(posix_warnings)
6474 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
6475 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
6476         assert(pRExC_state)
6477 STATIC SV *     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);
6478 #define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING   \
6479         assert(name); assert(user_defined_ptr); assert(msg)
6480 STATIC void     S_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
6481 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST     \
6482         assert(node); assert(invlist_ptr)
6483 STATIC void     S_populate_bitmap_from_invlist(pTHX_ SV * invlist, const UV offset, const U8 * bitmap, const Size_t len);
6484 #define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST   \
6485         assert(invlist); assert(bitmap)
6486 STATIC void     S_populate_invlist_from_bitmap(pTHX_ const U8 * bitmap, const Size_t bitmap_len, SV ** invlist, const UV offset);
6487 #define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP   \
6488         assert(bitmap); assert(invlist)
6489 STATIC void     S_rck_elide_nothing(pTHX_ regnode *node);
6490 #define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING      \
6491         assert(node)
6492 PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
6493                         __attribute__noreturn__
6494                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
6495 #define PERL_ARGS_ASSERT_RE_CROAK       \
6496         assert(pat)
6497
6498 STATIC regnode_offset   S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
6499 #define PERL_ARGS_ASSERT_REG    \
6500         assert(pRExC_state); assert(flagp)
6501 STATIC regnode_offset   S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
6502 #define PERL_ARGS_ASSERT_REG2LANODE     \
6503         assert(pRExC_state)
6504 STATIC regnode_offset   S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6505 #define PERL_ARGS_ASSERT_REG_LA_NOTHING \
6506         assert(pRExC_state); assert(type)
6507 STATIC regnode_offset   S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6508 #define PERL_ARGS_ASSERT_REG_LA_OPFAIL  \
6509         assert(pRExC_state); assert(type)
6510 STATIC regnode_offset   S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
6511 #define PERL_ARGS_ASSERT_REG_NODE       \
6512         assert(pRExC_state)
6513 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
6514 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
6515         assert(pRExC_state)
6516 #ifndef PERL_NO_INLINE_FUNCTIONS
6517 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
6518 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
6519         assert(pRExC_state); assert(p)
6520 #endif
6521 STATIC regnode_offset   S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
6522 #define PERL_ARGS_ASSERT_REGANODE       \
6523         assert(pRExC_state)
6524 STATIC regnode_offset   S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6525 #define PERL_ARGS_ASSERT_REGATOM        \
6526         assert(pRExC_state); assert(flagp)
6527 STATIC regnode_offset   S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
6528 #define PERL_ARGS_ASSERT_REGBRANCH      \
6529         assert(pRExC_state); assert(flagp)
6530 STATIC regnode_offset   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);
6531 #define PERL_ARGS_ASSERT_REGCLASS       \
6532         assert(pRExC_state); assert(flagp)
6533 STATIC unsigned int     S_regex_set_precedence(const U8 my_operator)
6534                         __attribute__warn_unused_result__;
6535 #define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
6536
6537 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
6538 #define PERL_ARGS_ASSERT_REGINSERT      \
6539         assert(pRExC_state)
6540 STATIC regnode_offset   S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
6541 #define PERL_ARGS_ASSERT_REGNODE_GUTS   \
6542         assert(pRExC_state)
6543 STATIC regnode_offset   S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6544 #define PERL_ARGS_ASSERT_REGPIECE       \
6545         assert(pRExC_state); assert(flagp)
6546 STATIC regnode_offset   S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV * arg);
6547 #define PERL_ARGS_ASSERT_REGPNODE       \
6548         assert(pRExC_state); assert(arg)
6549 STATIC bool     S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
6550                         __attribute__warn_unused_result__;
6551 #define PERL_ARGS_ASSERT_REGTAIL        \
6552         assert(pRExC_state); assert(p); assert(val)
6553
6554 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
6555 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
6556         assert(pRExC_state); assert(data); assert(minlenp)
6557 STATIC void     S_set_ANYOF_arg(pTHX_ RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const only_utf8_locale_list);
6558 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
6559         assert(pRExC_state); assert(node)
6560 STATIC void     S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
6561 #define PERL_ARGS_ASSERT_SET_REGEX_PV   \
6562         assert(pRExC_state); assert(Rx)
6563 STATIC void     S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
6564 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT        \
6565         assert(pRExC_state); assert(p)
6566 STATIC void     S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
6567 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
6568         assert(ssc)
6569 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
6570 #define PERL_ARGS_ASSERT_SSC_AND        \
6571         assert(pRExC_state); assert(ssc); assert(and_with)
6572 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc);
6573 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
6574         assert(ssc)
6575 STATIC void     S_ssc_clear_locale(regnode_ssc *ssc);
6576 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
6577         assert(ssc)
6578 STATIC void     S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
6579 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
6580         assert(ssc)
6581 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
6582 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
6583         assert(pRExC_state); assert(ssc)
6584 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
6585 #define PERL_ARGS_ASSERT_SSC_INIT       \
6586         assert(pRExC_state); assert(ssc)
6587 STATIC void     S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6588 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
6589         assert(ssc); assert(invlist)
6590 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
6591                         __attribute__warn_unused_result__;
6592 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
6593         assert(ssc)
6594
6595 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
6596                         __attribute__warn_unused_result__;
6597 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
6598         assert(pRExC_state); assert(ssc)
6599
6600 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
6601 #define PERL_ARGS_ASSERT_SSC_OR \
6602         assert(pRExC_state); assert(ssc); assert(or_with)
6603 STATIC void     S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6604 #define PERL_ARGS_ASSERT_SSC_UNION      \
6605         assert(ssc); assert(invlist)
6606 STATIC SSize_t  S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth, bool was_mutate_ok);
6607 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
6608         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
6609 #endif
6610 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
6611 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
6612 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
6613         assert(file); assert(indent); assert(invlist)
6614 #endif
6615 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
6616 #ifndef PERL_NO_INLINE_FUNCTIONS
6617 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
6618                         __attribute__warn_unused_result__;
6619 #define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
6620 #endif
6621
6622 #ifndef PERL_NO_INLINE_FUNCTIONS
6623 PERL_STATIC_INLINE void S_invlist_extend(pTHX_ SV* const invlist, const UV len);
6624 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
6625         assert(invlist)
6626 #endif
6627 #ifndef PERL_NO_INLINE_FUNCTIONS
6628 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
6629                         __attribute__warn_unused_result__;
6630 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
6631         assert(invlist)
6632 #endif
6633
6634 #ifndef PERL_NO_INLINE_FUNCTIONS
6635 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
6636 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
6637         assert(invlist)
6638 #endif
6639 #endif
6640 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
6641 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
6642                         __attribute__warn_unused_result__;
6643 #define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6644
6645 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
6646 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION
6647 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
6648 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
6649         assert(b); assert(i)
6650 PERL_CALLCONV void      Perl__invlist_invert(pTHX_ SV* const invlist);
6651 #define PERL_ARGS_ASSERT__INVLIST_INVERT        \
6652         assert(invlist)
6653 /* PERL_CALLCONV void   _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
6654 #define PERL_ARGS_ASSERT__INVLIST_SUBTRACT
6655 /* PERL_CALLCONV void   _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
6656 #define PERL_ARGS_ASSERT__INVLIST_UNION
6657 PERL_CALLCONV void      Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
6658 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND    \
6659         assert(b); assert(output)
6660 PERL_CALLCONV SV*       Perl__new_invlist(pTHX_ IV initial_size)
6661                         __attribute__warn_unused_result__;
6662 #define PERL_ARGS_ASSERT__NEW_INVLIST
6663
6664 PERL_CALLCONV SV*       Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
6665                         __attribute__warn_unused_result__;
6666 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST  \
6667         assert(other_elements_ptr)
6668
6669 #endif
6670 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
6671 PERL_CALLCONV const char *      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)
6672                         __attribute__warn_unused_result__;
6673 #define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG   \
6674         assert(first_bad); assert(send)
6675
6676 PERL_CALLCONV bool      Perl_grok_bslash_c(pTHX_ const char source, U8 * result, const char** message, U32 * packed_warn)
6677                         __attribute__warn_unused_result__;
6678 #define PERL_ARGS_ASSERT_GROK_BSLASH_C  \
6679         assert(result); assert(message)
6680
6681 PERL_CALLCONV bool      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)
6682                         __attribute__warn_unused_result__;
6683 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
6684         assert(s); assert(send); assert(uv); assert(message)
6685
6686 PERL_CALLCONV bool      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)
6687                         __attribute__warn_unused_result__;
6688 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
6689         assert(s); assert(send); assert(uv); assert(message)
6690
6691 #endif
6692 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6693 PERL_CALLCONV const char *      Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char * string, const Size_t len, const UV cp)
6694                         __attribute__warn_unused_result__;
6695 #define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6696
6697 #endif
6698 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
6699 #ifndef PERL_NO_INLINE_FUNCTIONS
6700 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
6701                         __attribute__warn_unused_result__;
6702 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
6703         assert(invlist)
6704 #endif
6705
6706 #ifndef PERL_NO_INLINE_FUNCTIONS
6707 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
6708 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
6709         assert(invlist)
6710 #endif
6711 #ifndef PERL_NO_INLINE_FUNCTIONS
6712 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
6713 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
6714         assert(invlist)
6715 #endif
6716 #ifndef PERL_NO_INLINE_FUNCTIONS
6717 PERL_STATIC_INLINE bool S_invlist_iternext(SV* invlist, UV* start, UV* end)
6718                         __attribute__warn_unused_result__;
6719 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
6720         assert(invlist); assert(start); assert(end)
6721 #endif
6722
6723 #endif
6724 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
6725 PERL_CALLCONV bool      Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
6726 #define PERL_ARGS_ASSERT__INVLISTEQ     \
6727         assert(a); assert(b)
6728 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
6729                         __attribute__warn_unused_result__;
6730 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
6731         assert(list)
6732
6733 #endif
6734 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
6735 #ifndef PERL_NO_INLINE_FUNCTIONS
6736 PERL_STATIC_INLINE const char * S_get_regex_charset_name(const U32 flags, STRLEN* const lenp);
6737 #define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
6738         assert(lenp)
6739 #endif
6740 #endif
6741 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6742 #ifndef PERL_NO_INLINE_FUNCTIONS
6743 PERL_STATIC_INLINE bool Perl_check_regnode_after(pTHX_ const regnode* p, const STRLEN extra)
6744                         __attribute__warn_unused_result__;
6745 #define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
6746 #endif
6747
6748 PERL_CALLCONV int       Perl_re_printf(pTHX_ const char *fmt, ...)
6749                         __attribute__visibility__("hidden")
6750                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
6751 #define PERL_ARGS_ASSERT_RE_PRINTF      \
6752         assert(fmt)
6753
6754 #ifndef PERL_NO_INLINE_FUNCTIONS
6755 PERL_STATIC_INLINE regnode*     Perl_regnext(pTHX_ const regnode* p)
6756                         __attribute__warn_unused_result__;
6757 #define PERL_ARGS_ASSERT_REGNEXT
6758 #endif
6759
6760 #ifndef PERL_NO_INLINE_FUNCTIONS
6761 PERL_STATIC_INLINE regnode*     Perl_regnode_after(pTHX_ const regnode* p, bool varies)
6762                         __attribute__warn_unused_result__;
6763 #define PERL_ARGS_ASSERT_REGNODE_AFTER
6764 #endif
6765
6766 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
6767                         __attribute__visibility__("hidden");
6768 #define PERL_ARGS_ASSERT_REGPROP        \
6769         assert(sv); assert(o)
6770
6771 #endif
6772 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)     || defined(PERL_IN_PP_C) || defined(PERL_IN_OP_C)               || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)           || defined(PERL_IN_DOOP_C)
6773 #ifndef PERL_NO_INLINE_FUNCTIONS
6774 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
6775                         __attribute__warn_unused_result__;
6776 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
6777         assert(invlist)
6778 #endif
6779
6780 #ifndef PERL_NO_INLINE_FUNCTIONS
6781 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
6782                         __attribute__warn_unused_result__;
6783 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
6784         assert(invlist)
6785 #endif
6786
6787 PERL_CALLCONV SSize_t   Perl__invlist_search(SV* const invlist, const UV cp)
6788                         __attribute__warn_unused_result__;
6789 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
6790         assert(invlist)
6791
6792 #ifndef PERL_NO_INLINE_FUNCTIONS
6793 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
6794                         __attribute__warn_unused_result__;
6795 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
6796         assert(invlist)
6797 #endif
6798
6799 #ifndef PERL_NO_INLINE_FUNCTIONS
6800 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
6801                         __attribute__warn_unused_result__;
6802 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
6803         assert(invlist)
6804 #endif
6805
6806 #ifndef PERL_NO_INLINE_FUNCTIONS
6807 PERL_STATIC_INLINE bool S_is_invlist(const SV* const invlist)
6808                         __attribute__warn_unused_result__;
6809 #define PERL_ARGS_ASSERT_IS_INVLIST
6810 #endif
6811
6812 #endif
6813 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
6814 PERL_CALLCONV bool      Perl_is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
6815                         __attribute__warn_unused_result__
6816                         __attribute__visibility__("hidden");
6817 #define PERL_ARGS_ASSERT_IS_GRAPHEME    \
6818         assert(strbeg); assert(s); assert(strend)
6819
6820 #endif
6821 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6822 PERL_CALLCONV UV        Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6823 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1        \
6824         assert(p); assert(lenp)
6825 #endif
6826 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
6827 PERL_CALLCONV SV*       Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
6828 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
6829         assert(invlist)
6830 #endif
6831 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
6832 PERL_CALLCONV bool      Perl_regcurly(const char *s, const char *e, const char * result[5])
6833                         __attribute__warn_unused_result__;
6834 #define PERL_ARGS_ASSERT_REGCURLY       \
6835         assert(s); assert(e)
6836
6837 #endif
6838 #if defined(PERL_IN_REGEXEC_C)
6839 STATIC LB_enum  S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6840                         __attribute__warn_unused_result__;
6841 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
6842         assert(curpos); assert(strend)
6843
6844 STATIC SB_enum  S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6845                         __attribute__warn_unused_result__;
6846 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
6847         assert(curpos); assert(strend)
6848
6849 STATIC WB_enum  S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
6850                         __attribute__warn_unused_result__;
6851 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
6852         assert(curpos); assert(strend)
6853
6854 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6855                         __attribute__warn_unused_result__;
6856 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
6857         assert(strbeg); assert(curpos)
6858
6859 STATIC LB_enum  S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6860                         __attribute__warn_unused_result__;
6861 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB  \
6862         assert(strbeg); assert(curpos)
6863
6864 STATIC SB_enum  S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6865                         __attribute__warn_unused_result__;
6866 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB  \
6867         assert(strbeg); assert(curpos)
6868
6869 STATIC WB_enum  S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6870                         __attribute__warn_unused_result__;
6871 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB  \
6872         assert(previous); assert(strbeg); assert(curpos)
6873
6874 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
6875                         __attribute__warn_unused_result__;
6876 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
6877         assert(prog); assert(c); assert(s); assert(strend)
6878
6879 STATIC U8 *     S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
6880                         __attribute__warn_unused_result__;
6881 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED       \
6882         assert(s); assert(send)
6883
6884 STATIC U8 *     S_find_span_end(U8* s, const U8 * send, const U8 span_byte)
6885                         __attribute__warn_unused_result__;
6886 #define PERL_ARGS_ASSERT_FIND_SPAN_END  \
6887         assert(s); assert(send)
6888
6889 STATIC U8 *     S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
6890                         __attribute__warn_unused_result__;
6891 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK     \
6892         assert(s); assert(send)
6893
6894 #ifndef PERL_NO_INLINE_FUNCTIONS
6895 PERL_STATIC_INLINE I32  S_foldEQ_latin1_s2_folded(pTHX_ const char* a, const char* b, I32 len);
6896 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED        \
6897         assert(a); assert(b)
6898 #endif
6899 STATIC bool     S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
6900                         __attribute__warn_unused_result__;
6901 #define PERL_ARGS_ASSERT_ISFOO_LC
6902
6903 STATIC bool     S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
6904                         __attribute__warn_unused_result__;
6905 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC  \
6906         assert(character); assert(e)
6907
6908 STATIC bool     S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
6909                         __attribute__warn_unused_result__;
6910 #define PERL_ARGS_ASSERT_ISGCB  \
6911         assert(strbeg); assert(curpos)
6912
6913 STATIC bool     S_isLB(pTHX_ LB_enum before, LB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6914                         __attribute__warn_unused_result__;
6915 #define PERL_ARGS_ASSERT_ISLB   \
6916         assert(strbeg); assert(curpos); assert(strend)
6917
6918 STATIC bool     S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6919                         __attribute__warn_unused_result__;
6920 #define PERL_ARGS_ASSERT_ISSB   \
6921         assert(strbeg); assert(curpos); assert(strend)
6922
6923 STATIC bool     S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6924                         __attribute__warn_unused_result__;
6925 #define PERL_ARGS_ASSERT_ISWB   \
6926         assert(strbeg); assert(curpos); assert(strend)
6927
6928 STATIC I32      S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
6929                         __attribute__warn_unused_result__;
6930 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
6931         assert(rex); assert(scan)
6932
6933 STATIC void     S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
6934 #define PERL_ARGS_ASSERT_REGCP_RESTORE  \
6935         assert(rex); assert(maxopenparen_p)
6936 STATIC void     S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
6937 #define PERL_ARGS_ASSERT_REGCPPOP       \
6938         assert(rex); assert(maxopenparen_p)
6939 STATIC CHECKPOINT       S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
6940 #define PERL_ARGS_ASSERT_REGCPPUSH      \
6941         assert(rex)
6942 STATIC U8*      S_reghop3(U8 *s, SSize_t off, const U8 *lim)
6943                         __attribute__warn_unused_result__;
6944 #define PERL_ARGS_ASSERT_REGHOP3        \
6945         assert(s); assert(lim)
6946
6947 STATIC U8*      S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
6948                         __attribute__warn_unused_result__;
6949 #define PERL_ARGS_ASSERT_REGHOP4        \
6950         assert(s); assert(llim); assert(rlim)
6951
6952 STATIC U8*      S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
6953                         __attribute__warn_unused_result__;
6954 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
6955         assert(s); assert(lim)
6956
6957 STATIC bool     S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
6958                         __attribute__warn_unused_result__;
6959 #define PERL_ARGS_ASSERT_REGINCLASS     \
6960         assert(n); assert(p); assert(p_end)
6961
6962 STATIC SSize_t  S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
6963                         __attribute__warn_unused_result__;
6964 #define PERL_ARGS_ASSERT_REGMATCH       \
6965         assert(reginfo); assert(startpos); assert(prog)
6966
6967 STATIC I32      S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info *const reginfo, I32 max _pDEPTH)
6968                         __attribute__warn_unused_result__;
6969 #define PERL_ARGS_ASSERT_REGREPEAT      \
6970         assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo)
6971
6972 STATIC bool     S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
6973                         __attribute__warn_unused_result__;
6974 #define PERL_ARGS_ASSERT_REGTRY \
6975         assert(reginfo); assert(startposp)
6976
6977 STATIC bool     S_to_byte_substr(pTHX_ regexp * prog);
6978 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
6979         assert(prog)
6980 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog);
6981 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
6982         assert(prog)
6983 #endif
6984 #if defined(PERL_IN_SCOPE_C)
6985 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
6986 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
6987 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
6988 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
6989         assert(sptr)
6990 #endif
6991 #if defined(PERL_IN_SV_C)
6992 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
6993 #define PERL_ARGS_ASSERT_F0CONVERT      \
6994         assert(endbuf); assert(len)
6995 STATIC void     S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
6996 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE     \
6997         assert(gv); assert(cv)
6998 STATIC void     S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
6999 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT     \
7000         assert(func); assert(sv)
7001 STATIC bool     S_curse(pTHX_ SV * const sv, const bool check_refcnt);
7002 #define PERL_ARGS_ASSERT_CURSE  \
7003         assert(sv)
7004 STATIC STRLEN   S_expect_number(pTHX_ const char **const pattern)
7005                         __attribute__warn_unused_result__;
7006 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
7007         assert(pattern)
7008
7009 STATIC SSize_t  S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
7010 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
7011         assert(val)
7012 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
7013 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
7014         assert(val)
7015 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
7016 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR        \
7017         assert(desc_p)
7018 STATIC bool     S_glob_2number(pTHX_ GV* const gv);
7019 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
7020         assert(gv)
7021 STATIC void     S_glob_assign_glob(pTHX_ SV *const dsv, SV *const ssv, const int dtype);
7022 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
7023         assert(dsv); assert(ssv)
7024 PERL_CALLCONV SV *      Perl_more_sv(pTHX);
7025 #define PERL_ARGS_ASSERT_MORE_SV
7026 STATIC void     S_not_a_number(pTHX_ SV *const sv);
7027 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
7028         assert(sv)
7029 STATIC void     S_not_incrementable(pTHX_ SV *const sv);
7030 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE      \
7031         assert(sv)
7032 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
7033                         __attribute__warn_unused_result__;
7034 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
7035         assert(tbl)
7036
7037 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv);
7038 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
7039         assert(sv)
7040 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
7041 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
7042         assert(ptr)
7043 STATIC const char *     S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
7044 #define PERL_ARGS_ASSERT_SV_DISPLAY     \
7045         assert(sv); assert(tmpbuf)
7046 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
7047 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
7048         assert(s); assert(target); assert(end)
7049 STATIC STRLEN   S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0);
7050 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
7051         assert(sv); assert(mgp); assert(start); assert(send)
7052 STATIC STRLEN   S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end, bool *canonical_position);
7053 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
7054         assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
7055 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
7056 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
7057         assert(start); assert(send)
7058 #ifndef PERL_NO_INLINE_FUNCTIONS
7059 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
7060 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
7061         assert(sv)
7062 #endif
7063 #ifndef PERL_NO_INLINE_FUNCTIONS
7064 PERL_STATIC_INLINE char *       S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
7065                         __attribute__warn_unused_result__;
7066 #define PERL_ARGS_ASSERT_UIV_2BUF       \
7067         assert(buf); assert(peob)
7068 #endif
7069
7070 STATIC void     S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
7071 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE       \
7072         assert(sv); assert(mgp)
7073 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
7074 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
7075         assert(sv); assert(mgp)
7076 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
7077 #define PERL_ARGS_ASSERT_VISIT  \
7078         assert(f)
7079 #  if defined(USE_ITHREADS)
7080 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7081                         __attribute__warn_unused_result__;
7082 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
7083         assert(ssv); assert(param)
7084
7085 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
7086 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
7087         assert(source); assert(dest); assert(param)
7088 STATIC void     S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
7089 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK      \
7090         assert(unreferenced)
7091 #  endif
7092 #endif
7093 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
7094 PERL_CALLCONV SV *      Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, SSize_t aindex, int subscript_type)
7095                         __attribute__warn_unused_result__
7096                         __attribute__visibility__("hidden");
7097 #define PERL_ARGS_ASSERT_VARNAME
7098
7099 #endif
7100 #if defined(PERL_IN_TOKE_C)
7101 STATIC int      S_ao(pTHX_ int toketype);
7102 #define PERL_ARGS_ASSERT_AO
7103 STATIC void     S_check_uni(pTHX);
7104 #define PERL_ARGS_ASSERT_CHECK_UNI
7105 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
7106 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
7107         assert(s); assert(name); assert(what)
7108 STATIC char *   S_filter_gets(pTHX_ SV *sv, STRLEN append)
7109                         __attribute__warn_unused_result__;
7110 #define PERL_ARGS_ASSERT_FILTER_GETS    \
7111         assert(sv)
7112
7113 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
7114                         __attribute__warn_unused_result__;
7115 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
7116         assert(pkgname)
7117
7118 STATIC void     S_force_ident(pTHX_ const char *s, int kind);
7119 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
7120         assert(s)
7121 STATIC void     S_force_ident_maybe_lex(pTHX_ char pit);
7122 #define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
7123 STATIC void     S_force_next(pTHX_ I32 type);
7124 #define PERL_ARGS_ASSERT_FORCE_NEXT
7125 STATIC char*    S_force_strict_version(pTHX_ char *s);
7126 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION   \
7127         assert(s)
7128 STATIC char*    S_force_version(pTHX_ char *s, int guessing);
7129 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
7130         assert(s)
7131 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
7132 #define PERL_ARGS_ASSERT_FORCE_WORD     \
7133         assert(start)
7134 STATIC SV*      S_get_and_check_backslash_N_name_wrapper(pTHX_ const char* s, const char* const e)
7135                         __attribute__warn_unused_result__;
7136 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
7137         assert(s); assert(e)
7138
7139 STATIC void     S_incline(pTHX_ const char *s, const char *end);
7140 #define PERL_ARGS_ASSERT_INCLINE        \
7141         assert(s); assert(end)
7142 STATIC int      S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
7143 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
7144         assert(s)
7145 STATIC int      S_intuit_more(pTHX_ char *s, char *e);
7146 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
7147         assert(s); assert(e)
7148 STATIC I32      S_lop(pTHX_ I32 f, U8 x, char *s);
7149 #define PERL_ARGS_ASSERT_LOP    \
7150         assert(s)
7151 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
7152                         __attribute__noreturn__;
7153 #define PERL_ARGS_ASSERT_MISSINGTERM
7154
7155 STATIC SV*      S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen, const char ** error_msg);
7156 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
7157         assert(key); assert(sv)
7158 STATIC void     S_no_op(pTHX_ const char *const what, char *s);
7159 #define PERL_ARGS_ASSERT_NO_OP  \
7160         assert(what)
7161 STATIC void     S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
7162 #define PERL_ARGS_ASSERT_PARSE_IDENT    \
7163         assert(s); assert(d); assert(e)
7164 STATIC int      S_pending_ident(pTHX);
7165 #define PERL_ARGS_ASSERT_PENDING_IDENT
7166 STATIC char*    S_scan_const(pTHX_ char *start)
7167                         __attribute__warn_unused_result__;
7168 #define PERL_ARGS_ASSERT_SCAN_CONST     \
7169         assert(start)
7170
7171 STATIC char*    S_scan_formline(pTHX_ char *s)
7172                         __attribute__warn_unused_result__;
7173 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
7174         assert(s)
7175
7176 STATIC char*    S_scan_heredoc(pTHX_ char *s)
7177                         __attribute__warn_unused_result__;
7178 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
7179         assert(s)
7180
7181 STATIC char*    S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
7182 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
7183         assert(s); assert(dest)
7184 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
7185                         __attribute__warn_unused_result__;
7186 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
7187         assert(start)
7188
7189 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
7190                         __attribute__warn_unused_result__;
7191 #define PERL_ARGS_ASSERT_SCAN_PAT       \
7192         assert(start)
7193
7194 STATIC char*    S_scan_subst(pTHX_ char *start)
7195                         __attribute__warn_unused_result__;
7196 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
7197         assert(start)
7198
7199 STATIC char*    S_scan_trans(pTHX_ char *start)
7200                         __attribute__warn_unused_result__;
7201 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
7202         assert(start)
7203
7204 STATIC I32      S_sublex_done(pTHX)
7205                         __attribute__warn_unused_result__;
7206 #define PERL_ARGS_ASSERT_SUBLEX_DONE
7207
7208 STATIC I32      S_sublex_push(pTHX)
7209                         __attribute__warn_unused_result__;
7210 #define PERL_ARGS_ASSERT_SUBLEX_PUSH
7211
7212 STATIC I32      S_sublex_start(pTHX)
7213                         __attribute__warn_unused_result__;
7214 #define PERL_ARGS_ASSERT_SUBLEX_START
7215
7216 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
7217                         __attribute__warn_unused_result__;
7218 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
7219         assert(s)
7220
7221 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
7222                         __attribute__warn_unused_result__;
7223 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
7224         assert(s)
7225
7226 STATIC SV*      S_tokeq(pTHX_ SV *sv);
7227 #define PERL_ARGS_ASSERT_TOKEQ  \
7228         assert(sv)
7229 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
7230 #define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
7231 STATIC int      S_yywarn(pTHX_ const char *const s, U32 flags);
7232 #define PERL_ARGS_ASSERT_YYWARN \
7233         assert(s)
7234 #endif
7235 #if defined(PERL_IN_UNIVERSAL_C)
7236 STATIC bool     S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char * name, STRLEN len, U32 flags);
7237 STATIC bool     S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLEN len, U32 flags);
7238 #endif
7239 #if defined(PERL_IN_UTF8_C)
7240 STATIC UV       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);
7241 #define PERL_ARGS_ASSERT__TO_UTF8_CASE  \
7242         assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
7243 STATIC UV       S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
7244                         __attribute__warn_unused_result__;
7245 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
7246         assert(p); assert(ustrp); assert(lenp)
7247
7248 #ifndef PERL_NO_INLINE_FUNCTIONS
7249 PERL_STATIC_INLINE int  S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
7250                         __attribute__warn_unused_result__;
7251 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW     \
7252         assert(s); assert(e)
7253 #endif
7254
7255 #ifndef PERL_NO_INLINE_FUNCTIONS
7256 PERL_STATIC_INLINE int  S_isFF_overlong(const U8 * const s, const STRLEN len)
7257                         __attribute__warn_unused_result__;
7258 #define PERL_ARGS_ASSERT_ISFF_OVERLONG  \
7259         assert(s)
7260 #endif
7261
7262 #ifndef PERL_NO_INLINE_FUNCTIONS
7263 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, const U8 *const e, SV* const invlist)
7264                         __attribute__warn_unused_result__;
7265 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
7266         assert(p); assert(e)
7267 #endif
7268
7269 #ifndef PERL_NO_INLINE_FUNCTIONS
7270 PERL_STATIC_INLINE int  S_is_utf8_overlong(const U8 * const s, const STRLEN len)
7271                         __attribute__warn_unused_result__;
7272 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG       \
7273         assert(s)
7274 #endif
7275
7276 STATIC HV *     S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
7277                         __attribute__warn_unused_result__;
7278 #define PERL_ARGS_ASSERT_NEW_MSG_HV     \
7279         assert(message)
7280
7281 STATIC UV       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);
7282 #define PERL_ARGS_ASSERT_TO_CASE_CP_LIST        \
7283         assert(invlist); assert(invmap); assert(normal)
7284 STATIC U8       S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
7285                         __attribute__warn_unused_result__;
7286 #define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
7287
7288 STATIC UV       S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7289 #define PERL_ARGS_ASSERT_TURKIC_FC      \
7290         assert(p); assert(e); assert(ustrp); assert(lenp)
7291 STATIC UV       S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8* ustrp, STRLEN *lenp);
7292 #define PERL_ARGS_ASSERT_TURKIC_LC      \
7293         assert(p0); assert(e); assert(ustrp); assert(lenp)
7294 STATIC UV       S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7295 #define PERL_ARGS_ASSERT_TURKIC_UC      \
7296         assert(p); assert(e); assert(ustrp); assert(lenp)
7297 STATIC char *   S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
7298                         __attribute__warn_unused_result__;
7299 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT       \
7300         assert(s)
7301
7302 #endif
7303 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
7304 PERL_CALLCONV UV        Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7305                         __attribute__visibility__("hidden");
7306 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7307         assert(p); assert(lenp)
7308
7309 #endif
7310 #if defined(PERL_IN_UTIL_C)
7311 STATIC bool     S_ckwarn_common(pTHX_ U32 w);
7312 #define PERL_ARGS_ASSERT_CKWARN_COMMON
7313 STATIC bool     S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
7314 #define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7315 STATIC SV*      S_mess_alloc(pTHX);
7316 #define PERL_ARGS_ASSERT_MESS_ALLOC
7317 STATIC SV *     S_with_queued_errors(pTHX_ SV *ex);
7318 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS     \
7319         assert(ex)
7320 STATIC void     S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
7321 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK   \
7322         assert(xs_p)
7323 #  if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
7324 STATIC void     S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7325 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
7326         assert(type_name); assert(filename); assert(funcname)
7327 #  endif
7328 #endif
7329 #if defined(PERL_MEM_LOG)
7330 PERL_CALLCONV Malloc_t  Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7331 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC  \
7332         assert(type_name); assert(filename); assert(funcname)
7333 PERL_CALLCONV void      Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7334 #define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
7335         assert(sv); assert(filename); assert(funcname)
7336 PERL_CALLCONV Malloc_t  Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
7337 #define PERL_ARGS_ASSERT_MEM_LOG_FREE   \
7338         assert(filename); assert(funcname)
7339 PERL_CALLCONV void      Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7340 #define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
7341         assert(sv); assert(filename); assert(funcname)
7342 PERL_CALLCONV Malloc_t  Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7343 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC        \
7344         assert(type_name); assert(filename); assert(funcname)
7345 #endif
7346 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
7347 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
7348 #define PERL_ARGS_ASSERT_PIDGONE
7349 #endif
7350 #if defined(PERL_USE_3ARG_SIGHANDLER)
7351 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, Siginfo_t *info, void *uap);
7352 #define PERL_ARGS_ASSERT_CSIGHANDLER
7353 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, Siginfo_t *info, void *uap)
7354                         __attribute__visibility__("hidden");
7355 #define PERL_ARGS_ASSERT_SIGHANDLER
7356
7357 #endif
7358 #if defined(U64TYPE)    /* HAS_QUAD undefined outside of core */
7359 #ifndef PERL_NO_INLINE_FUNCTIONS
7360 PERL_STATIC_INLINE unsigned     Perl_lsbit_pos64(U64 word)
7361                         __attribute__warn_unused_result__;
7362 #define PERL_ARGS_ASSERT_LSBIT_POS64
7363 #endif
7364
7365 #ifndef PERL_NO_INLINE_FUNCTIONS
7366 PERL_STATIC_INLINE unsigned     Perl_msbit_pos64(U64 word)
7367                         __attribute__warn_unused_result__;
7368 #define PERL_ARGS_ASSERT_MSBIT_POS64
7369 #endif
7370
7371 #ifndef PERL_NO_INLINE_FUNCTIONS
7372 PERL_STATIC_INLINE unsigned     Perl_single_1bit_pos64(U64 word)
7373                         __attribute__warn_unused_result__;
7374 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
7375 #endif
7376
7377 #endif
7378 #if defined(UNLINK_ALL_VERSIONS)
7379 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f);
7380 #define PERL_ARGS_ASSERT_UNLNK  \
7381         assert(f)
7382 #endif
7383 #if defined(USE_C_BACKTRACE)
7384 PERL_CALLCONV bool      Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
7385 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE       \
7386         assert(fp)
7387 /* PERL_CALLCONV void   free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
7388 #define PERL_ARGS_ASSERT_FREE_C_BACKTRACE
7389 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
7390                         __attribute__visibility__("hidden");
7391 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE
7392
7393 PERL_CALLCONV SV*       Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
7394 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
7395 #endif
7396 #if defined(USE_DTRACE)
7397 PERL_CALLCONV void      Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
7398 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL      \
7399         assert(cv)
7400 PERL_CALLCONV void      Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
7401 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD      \
7402         assert(name)
7403 PERL_CALLCONV void      Perl_dtrace_probe_op(pTHX_ const OP *op);
7404 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP        \
7405         assert(op)
7406 PERL_CALLCONV void      Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
7407 #define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
7408 #endif
7409 #if defined(USE_ITHREADS)
7410 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
7411 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH  \
7412         assert(hv)
7413 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
7414                         __attribute__warn_unused_result__;
7415 #define PERL_ARGS_ASSERT_ANY_DUP        \
7416         assert(proto_perl)
7417
7418 PERL_CALLCONV void      Perl_clone_params_del(CLONE_PARAMS *param);
7419 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL       \
7420         assert(param)
7421 PERL_CALLCONV CLONE_PARAMS *    Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
7422                         __attribute__warn_unused_result__;
7423 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW       \
7424         assert(from); assert(to)
7425
7426 #ifndef PERL_NO_INLINE_FUNCTIONS
7427 PERL_STATIC_INLINE AV*  Perl_cop_file_avn(pTHX_ const COP *cop);
7428 #define PERL_ARGS_ASSERT_COP_FILE_AVN   \
7429         assert(cop)
7430 #endif
7431 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
7432                         __attribute__warn_unused_result__;
7433 #define PERL_ARGS_ASSERT_CX_DUP \
7434         assert(param)
7435
7436 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
7437                         __attribute__warn_unused_result__;
7438 #define PERL_ARGS_ASSERT_DIRP_DUP       \
7439         assert(param)
7440
7441 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
7442 #define PERL_ARGS_ASSERT_FP_DUP \
7443         assert(param)
7444 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
7445                         __attribute__warn_unused_result__;
7446 #define PERL_ARGS_ASSERT_GP_DUP \
7447         assert(param)
7448
7449 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
7450                         __attribute__warn_unused_result__;
7451 #define PERL_ARGS_ASSERT_HE_DUP \
7452         assert(param)
7453
7454 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
7455                         __attribute__warn_unused_result__;
7456 #define PERL_ARGS_ASSERT_HEK_DUP        \
7457         assert(param)
7458
7459 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
7460                         __attribute__warn_unused_result__;
7461 #define PERL_ARGS_ASSERT_MG_DUP \
7462         assert(param)
7463
7464 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
7465                         __attribute__visibility__("hidden");
7466 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
7467         assert(smeta); assert(param)
7468
7469 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
7470                         __attribute__warn_unused_result__;
7471 #define PERL_ARGS_ASSERT_NEWPADOP       \
7472         assert(sv)
7473
7474 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
7475                         __attribute__warn_unused_result__
7476                         __attribute__visibility__("hidden");
7477 #define PERL_ARGS_ASSERT_PADLIST_DUP    \
7478         assert(srcpad); assert(param)
7479
7480 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
7481                         __attribute__warn_unused_result__
7482                         __attribute__visibility__("hidden");
7483 #define PERL_ARGS_ASSERT_PADNAME_DUP    \
7484         assert(src); assert(param)
7485
7486 PERL_CALLCONV PADNAMELIST *     Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
7487                         __attribute__warn_unused_result__
7488                         __attribute__visibility__("hidden");
7489 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP        \
7490         assert(srcpad); assert(param)
7491
7492 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
7493 #define PERL_ARGS_ASSERT_PARSER_DUP     \
7494         assert(param)
7495 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags);
7496 #define PERL_ARGS_ASSERT_PERL_CLONE     \
7497         assert(proto_perl)
7498 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
7499 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
7500         assert(sstr); assert(dstr); assert(param)
7501 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
7502 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
7503         assert(r); assert(param)
7504 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dsv, const SV *const ssv, CLONE_PARAMS *const param);
7505 #define PERL_ARGS_ASSERT_RVPV_DUP       \
7506         assert(dsv); assert(ssv); assert(param)
7507 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
7508                         __attribute__warn_unused_result__;
7509 #define PERL_ARGS_ASSERT_SI_DUP \
7510         assert(param)
7511
7512 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
7513                         __attribute__warn_unused_result__;
7514 #define PERL_ARGS_ASSERT_SS_DUP \
7515         assert(proto_perl); assert(param)
7516
7517 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7518                         __attribute__warn_unused_result__;
7519 #define PERL_ARGS_ASSERT_SV_DUP \
7520         assert(param)
7521
7522 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7523                         __attribute__warn_unused_result__;
7524 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
7525         assert(param)
7526
7527 #endif
7528 #if defined(USE_LOCALE)             && (   defined(PERL_IN_LOCALE_C)            || defined(PERL_IN_MG_C)                || defined (PERL_EXT_POSIX)             || defined (PERL_EXT_LANGINFO))
7529 PERL_CALLCONV bool      Perl__is_cur_LC_category_utf8(pTHX_ int category);
7530 #define PERL_ARGS_ASSERT__IS_CUR_LC_CATEGORY_UTF8
7531 #endif
7532 #if defined(USE_LOCALE_COLLATE)
7533 PERL_CALLCONV int       Perl_magic_freecollxfrm(pTHX_ SV* sv, MAGIC* mg)
7534                         __attribute__visibility__("hidden");
7535 #define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM     \
7536         assert(sv); assert(mg)
7537
7538 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
7539                         __attribute__visibility__("hidden");
7540 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
7541         assert(sv); assert(mg)
7542
7543 #ifndef NO_MATHOMS
7544 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp);
7545 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
7546         assert(sv); assert(nxp)
7547 #endif
7548 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
7549 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
7550         assert(sv); assert(nxp)
7551 #endif
7552 #if defined(USE_PERLIO)
7553 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
7554 #define PERL_ARGS_ASSERT_PERLIO_CLEARERR
7555 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
7556 #define PERL_ARGS_ASSERT_PERLIO_CLOSE
7557 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
7558 #define PERL_ARGS_ASSERT_PERLIO_EOF
7559 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
7560 #define PERL_ARGS_ASSERT_PERLIO_ERROR
7561 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
7562 #define PERL_ARGS_ASSERT_PERLIO_FILENO
7563 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
7564 #define PERL_ARGS_ASSERT_PERLIO_FILL
7565 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
7566 #define PERL_ARGS_ASSERT_PERLIO_FLUSH
7567 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
7568 #define PERL_ARGS_ASSERT_PERLIO_GET_BASE
7569 PERL_CALLCONV SSize_t   Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
7570                         __attribute__warn_unused_result__;
7571 #define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
7572
7573 PERL_CALLCONV SSize_t   Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
7574                         __attribute__warn_unused_result__;
7575 #define PERL_ARGS_ASSERT_PERLIO_GET_CNT
7576
7577 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
7578 #define PERL_ARGS_ASSERT_PERLIO_GET_PTR
7579 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
7580 #define PERL_ARGS_ASSERT_PERLIO_READ    \
7581         assert(vbuf)
7582 PERL_CALLCONV void      Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
7583 #define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
7584 PERL_CALLCONV void      Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
7585 #define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
7586 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
7587 #define PERL_ARGS_ASSERT_PERLIO_SEEK
7588 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
7589 #define PERL_ARGS_ASSERT_PERLIO_SET_CNT
7590 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
7591 #define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
7592 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
7593 #define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
7594 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
7595                         __attribute__warn_unused_result__;
7596 #define PERL_ARGS_ASSERT_PERLIO_STDERR
7597
7598 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
7599                         __attribute__warn_unused_result__;
7600 #define PERL_ARGS_ASSERT_PERLIO_STDIN
7601
7602 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
7603                         __attribute__warn_unused_result__;
7604 #define PERL_ARGS_ASSERT_PERLIO_STDOUT
7605
7606 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
7607 #define PERL_ARGS_ASSERT_PERLIO_TELL
7608 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7609 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
7610         assert(vbuf)
7611 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7612 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
7613         assert(vbuf)
7614 #endif
7615 #if defined(USE_QUADMATH)
7616 PERL_CALLCONV bool      Perl_quadmath_format_needed(const char* format)
7617                         __attribute__visibility__("hidden");
7618 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
7619         assert(format)
7620
7621 PERL_CALLCONV bool      Perl_quadmath_format_valid(const char* format)
7622                         __attribute__visibility__("hidden");
7623 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID  \
7624         assert(format)
7625
7626 #endif
7627 #if defined(WIN32)
7628 PERL_CALLCONV_NO_RET void       win32_croak_not_implemented(const char * fname)
7629                         __attribute__noreturn__;
7630 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED    \
7631         assert(fname)
7632
7633 #endif
7634 #if defined(WIN32) || defined(VMS)
7635 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
7636 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
7637         assert(mark); assert(sp)
7638 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd);
7639 #define PERL_ARGS_ASSERT_DO_SPAWN       \
7640         assert(cmd)
7641 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd);
7642 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
7643         assert(cmd)
7644 #endif
7645 #if defined(_MSC_VER)
7646 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
7647                         __attribute__visibility__("hidden");
7648 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
7649         assert(sv); assert(mg)
7650
7651 #endif
7652 #ifdef PERL_CORE
7653 #  include "pp_proto.h"
7654 #endif
7655 END_EXTERN_C
7656
7657 /* ex: set ro: */