This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move #include from locale.c to perl.h
[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_ SV *msg_sv, const char * const name)
235                         __attribute__noreturn__
236                         __attribute__visibility__("hidden");
237 #define PERL_ARGS_ASSERT_ABORT_EXECUTION        \
238         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 const char*       Perl_my_strerror(pTHX_ const int errnum, utf8ness_t * utf8ness)
2549                         __attribute__visibility__("hidden");
2550 #define PERL_ARGS_ASSERT_MY_STRERROR    \
2551         assert(utf8ness)
2552
2553 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)
2554                         __attribute__format__(__strftime__,pTHX_1,0);
2555 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2556         assert(fmt)
2557
2558 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)
2559                         __attribute__format__(__strftime__,pTHX_1,0);
2560 #define PERL_ARGS_ASSERT_MY_STRFTIME8   \
2561         assert(fmt)
2562
2563 PERL_CALLCONV NV        Perl_my_strtod(const char * const s, char ** e)
2564                         __attribute__warn_unused_result__;
2565 #define PERL_ARGS_ASSERT_MY_STRTOD      \
2566         assert(s)
2567
2568 PERL_CALLCONV void      Perl_my_unexec(pTHX)
2569                         __attribute__visibility__("hidden");
2570 #define PERL_ARGS_ASSERT_MY_UNEXEC
2571
2572 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2573 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2574         assert(buffer); assert(format)
2575 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2576 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2577 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2578                         __attribute__warn_unused_result__;
2579 #define PERL_ARGS_ASSERT_NEWANONHASH
2580
2581 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2582                         __attribute__warn_unused_result__;
2583 #define PERL_ARGS_ASSERT_NEWANONLIST
2584
2585 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2586 #define PERL_ARGS_ASSERT_NEWANONSUB
2587 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2588                         __attribute__warn_unused_result__;
2589 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2590
2591 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2592 #define PERL_ARGS_ASSERT_NEWATTRSUB
2593 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2594 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2595 #ifndef NO_MATHOMS
2596 PERL_CALLCONV AV*       Perl_newAV(pTHX)
2597                         __attribute__warn_unused_result__;
2598 #define PERL_ARGS_ASSERT_NEWAV
2599 #endif
2600
2601 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2602                         __attribute__warn_unused_result__;
2603 #define PERL_ARGS_ASSERT_NEWAVREF       \
2604         assert(o)
2605
2606 /* PERL_CALLCONV AV*    newAV_alloc_x(pTHX_ SSize_t size)
2607                         __attribute__warn_unused_result__; */
2608 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_X
2609
2610 /* PERL_CALLCONV AV*    newAV_alloc_xz(pTHX_ SSize_t size)
2611                         __attribute__warn_unused_result__; */
2612 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_XZ
2613
2614 PERL_CALLCONV AV*       Perl_newAVav(pTHX_ AV *oav)
2615                         __attribute__warn_unused_result__;
2616 #define PERL_ARGS_ASSERT_NEWAVAV
2617
2618 PERL_CALLCONV AV*       Perl_newAVhv(pTHX_ HV *ohv)
2619                         __attribute__warn_unused_result__;
2620 #define PERL_ARGS_ASSERT_NEWAVHV
2621
2622 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2623                         __attribute__warn_unused_result__;
2624 #define PERL_ARGS_ASSERT_NEWBINOP
2625
2626 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2627                         __attribute__warn_unused_result__;
2628 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2629         assert(first)
2630
2631 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2632 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2633 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2634 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2635 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2636                         __attribute__warn_unused_result__;
2637 #define PERL_ARGS_ASSERT_NEWCVREF
2638
2639 PERL_CALLCONV OP*       Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2640                         __attribute__warn_unused_result__;
2641 #define PERL_ARGS_ASSERT_NEWDEFEROP     \
2642         assert(block)
2643
2644 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2645                         __attribute__warn_unused_result__;
2646 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2647
2648 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2649 #define PERL_ARGS_ASSERT_NEWFORM
2650 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2651                         __attribute__warn_unused_result__;
2652 #define PERL_ARGS_ASSERT_NEWFOROP       \
2653         assert(expr)
2654
2655 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2656                         __attribute__warn_unused_result__;
2657 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2658         assert(cond); assert(block)
2659
2660 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2661 #define PERL_ARGS_ASSERT_NEWGP  \
2662         assert(gv)
2663 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2664                         __attribute__warn_unused_result__;
2665 #define PERL_ARGS_ASSERT_NEWGVOP        \
2666         assert(gv)
2667
2668 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2669                         __attribute__warn_unused_result__;
2670 #define PERL_ARGS_ASSERT_NEWGVREF
2671
2672 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2673 #define PERL_ARGS_ASSERT_NEWGVGEN
2674 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2675                         __attribute__warn_unused_result__;
2676 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2677         assert(pack)
2678
2679 #ifndef NO_MATHOMS
2680 PERL_CALLCONV HV*       Perl_newHV(pTHX)
2681                         __attribute__warn_unused_result__;
2682 #define PERL_ARGS_ASSERT_NEWHV
2683 #endif
2684
2685 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2686                         __attribute__warn_unused_result__;
2687 #define PERL_ARGS_ASSERT_NEWHVREF       \
2688         assert(o)
2689
2690 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2691                         __attribute__warn_unused_result__;
2692 #define PERL_ARGS_ASSERT_NEWHVHV
2693
2694 #ifndef NO_MATHOMS
2695 PERL_CALLCONV IO*       Perl_newIO(pTHX)
2696                         __attribute__warn_unused_result__;
2697 #define PERL_ARGS_ASSERT_NEWIO
2698 #endif
2699
2700 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2701                         __attribute__warn_unused_result__;
2702 #define PERL_ARGS_ASSERT_NEWLISTOP
2703
2704 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2705                         __attribute__warn_unused_result__;
2706 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2707         assert(first); assert(other)
2708
2709 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2710                         __attribute__warn_unused_result__;
2711 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2712         assert(label)
2713
2714 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2715                         __attribute__warn_unused_result__;
2716 #define PERL_ARGS_ASSERT_NEWLOOPOP
2717
2718 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2719                         __attribute__warn_unused_result__;
2720 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2721         assert(dynamic_meth)
2722
2723 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2724                         __attribute__warn_unused_result__;
2725 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2726         assert(const_meth)
2727
2728 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2729 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2730         assert(o)
2731 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2732                         __attribute__warn_unused_result__;
2733 #define PERL_ARGS_ASSERT_NEWNULLLIST
2734
2735 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2736                         __attribute__warn_unused_result__;
2737 #define PERL_ARGS_ASSERT_NEWOP
2738
2739 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2740                         __attribute__warn_unused_result__;
2741 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2742
2743 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2744                         __attribute__warn_unused_result__;
2745 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2746         assert(outer)
2747
2748 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2749                         __attribute__warn_unused_result__;
2750 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2751         assert(s)
2752
2753 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2754                         __attribute__warn_unused_result__;
2755 #define PERL_ARGS_ASSERT_NEWPMOP
2756
2757 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2758 #define PERL_ARGS_ASSERT_NEWPROG        \
2759         assert(o)
2760 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2761                         __attribute__warn_unused_result__;
2762 #define PERL_ARGS_ASSERT_NEWPVOP
2763
2764 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2765                         __attribute__warn_unused_result__;
2766 #define PERL_ARGS_ASSERT_NEWRANGE       \
2767         assert(left); assert(right)
2768
2769 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2770                         __attribute__warn_unused_result__;
2771 #define PERL_ARGS_ASSERT_NEWRV  \
2772         assert(sv)
2773
2774 #ifndef PERL_NO_INLINE_FUNCTIONS
2775 PERL_STATIC_INLINE SV*  Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2776                         __attribute__warn_unused_result__;
2777 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2778         assert(tmpRef)
2779 #endif
2780
2781 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2782                         __attribute__warn_unused_result__;
2783 #define PERL_ARGS_ASSERT_NEWSLICEOP
2784
2785 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2786                         __attribute__warn_unused_result__;
2787 #define PERL_ARGS_ASSERT_NEWSTATEOP
2788
2789 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake)
2790                         __attribute__visibility__("hidden");
2791 #define PERL_ARGS_ASSERT_NEWSTUB        \
2792         assert(gv)
2793
2794 #ifndef NO_MATHOMS
2795 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2796 #define PERL_ARGS_ASSERT_NEWSUB
2797 #endif
2798 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2799                         __attribute__warn_unused_result__;
2800 #define PERL_ARGS_ASSERT_NEWSV
2801
2802 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2803                         __attribute__warn_unused_result__;
2804 #define PERL_ARGS_ASSERT_NEWSVOP        \
2805         assert(sv)
2806
2807 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2808                         __attribute__warn_unused_result__;
2809 #define PERL_ARGS_ASSERT_NEWSVREF       \
2810         assert(o)
2811
2812 PERL_CALLCONV SV*       Perl_newSV_false(pTHX)
2813                         __attribute__warn_unused_result__;
2814 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2815
2816 PERL_CALLCONV SV*       Perl_newSV_true(pTHX)
2817                         __attribute__warn_unused_result__;
2818 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2819
2820 #ifndef PERL_NO_INLINE_FUNCTIONS
2821 PERL_STATIC_INLINE SV*  Perl_newSV_type(pTHX_ const svtype type)
2822                         __attribute__warn_unused_result__;
2823 #define PERL_ARGS_ASSERT_NEWSV_TYPE
2824 #endif
2825
2826 #ifndef PERL_NO_INLINE_FUNCTIONS
2827 PERL_STATIC_FORCE_INLINE SV*    Perl_newSV_type_mortal(pTHX_ const svtype type)
2828                         __attribute__warn_unused_result__
2829                         __attribute__always_inline__;
2830 #define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
2831 #endif
2832
2833 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2834                         __attribute__warn_unused_result__
2835                         __attribute__visibility__("hidden");
2836 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2837         assert(av)
2838
2839 PERL_CALLCONV SV*       Perl_newSVbool(pTHX_ const bool bool_val)
2840                         __attribute__warn_unused_result__;
2841 #define PERL_ARGS_ASSERT_NEWSVBOOL
2842
2843 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2844                         __attribute__warn_unused_result__;
2845 #define PERL_ARGS_ASSERT_NEWSVHEK
2846
2847 PERL_CALLCONV SV*       Perl_newSVhek_mortal(pTHX_ const HEK *const hek)
2848                         __attribute__warn_unused_result__;
2849 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
2850
2851 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2852                         __attribute__warn_unused_result__;
2853 #define PERL_ARGS_ASSERT_NEWSVIV
2854
2855 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2856                         __attribute__warn_unused_result__;
2857 #define PERL_ARGS_ASSERT_NEWSVNV
2858
2859 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2860                         __attribute__warn_unused_result__;
2861 #define PERL_ARGS_ASSERT_NEWSVPV
2862
2863 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2864                         __attribute__warn_unused_result__;
2865 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
2866
2867 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2868                         __attribute__warn_unused_result__
2869                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2870 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2871         assert(pat)
2872
2873 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2874                         __attribute__warn_unused_result__;
2875 #define PERL_ARGS_ASSERT_NEWSVPVN
2876
2877 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2878                         __attribute__warn_unused_result__;
2879 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
2880
2881 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2882                         __attribute__warn_unused_result__;
2883 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
2884
2885 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2886 #define PERL_ARGS_ASSERT_NEWSVRV        \
2887         assert(rv)
2888 #ifndef NO_MATHOMS
2889 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2890                         __attribute__warn_unused_result__;
2891 #define PERL_ARGS_ASSERT_NEWSVSV
2892 #endif
2893
2894 PERL_CALLCONV SV*       Perl_newSVsv_flags(pTHX_ SV *const old, I32 flags)
2895                         __attribute__warn_unused_result__;
2896 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
2897
2898 /* PERL_CALLCONV SV*    newSVsv_nomg(pTHX_ SV *const old)
2899                         __attribute__warn_unused_result__; */
2900 #define PERL_ARGS_ASSERT_NEWSVSV_NOMG
2901
2902 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2903                         __attribute__warn_unused_result__;
2904 #define PERL_ARGS_ASSERT_NEWSVUV
2905
2906 PERL_CALLCONV OP*       Perl_newTRYCATCHOP(pTHX_ I32 flags, OP* tryblock, OP *catchvar, OP* catchblock)
2907                         __attribute__warn_unused_result__;
2908 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP  \
2909         assert(tryblock); assert(catchvar); assert(catchblock)
2910
2911 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2912                         __attribute__warn_unused_result__;
2913 #define PERL_ARGS_ASSERT_NEWUNOP
2914
2915 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2916                         __attribute__warn_unused_result__;
2917 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
2918
2919 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2920                         __attribute__warn_unused_result__;
2921 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2922         assert(block)
2923
2924 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2925                         __attribute__warn_unused_result__;
2926 #define PERL_ARGS_ASSERT_NEWWHILEOP
2927
2928 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2929 #define PERL_ARGS_ASSERT_NEWXS  \
2930         assert(subaddr); assert(filename)
2931 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2932 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2933         assert(name); assert(subaddr)
2934 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2935 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2936         assert(subaddr); assert(filename)
2937 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)
2938                         __attribute__visibility__("hidden");
2939 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2940         assert(subaddr)
2941
2942 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2943                         __attribute__warn_unused_result__;
2944 #define PERL_ARGS_ASSERT_NEW_STACKINFO
2945
2946 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2947 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2948         assert(ver)
2949 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2950                         __attribute__warn_unused_result__;
2951 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2952         assert(bits)
2953
2954 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen)
2955                         __attribute__visibility__("hidden");
2956 #define PERL_ARGS_ASSERT_NEXTARGV       \
2957         assert(gv)
2958
2959 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2960                         __attribute__warn_unused_result__
2961                         __attribute__pure__;
2962 #define PERL_ARGS_ASSERT_NINSTR \
2963         assert(big); assert(bigend); assert(little); assert(lend)
2964
2965 PERL_CALLCONV void      Perl_no_bareword_filehandle(pTHX_ const char *fhname)
2966                         __attribute__visibility__("hidden");
2967 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
2968         assert(fhname)
2969
2970 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2971                         __attribute__noreturn__
2972                         __attribute__format__(__printf__,1,2);
2973 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2974         assert(pat)
2975
2976 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2977 #define PERL_ARGS_ASSERT_NOTHREADHOOK
2978 PERL_CALLCONV void      Perl_notify_parser_that_changed_to_utf8(pTHX)
2979                         __attribute__visibility__("hidden");
2980 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
2981
2982 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2983                         __attribute__warn_unused_result__
2984                         __attribute__visibility__("hidden");
2985 #define PERL_ARGS_ASSERT_OOPSAV \
2986         assert(o)
2987
2988 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2989                         __attribute__warn_unused_result__
2990                         __attribute__visibility__("hidden");
2991 #define PERL_ARGS_ASSERT_OOPSHV \
2992         assert(o)
2993
2994 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2995 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
2996 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2997 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
2998 PERL_CALLCONV OPclass   Perl_op_class(pTHX_ const OP *o);
2999 #define PERL_ARGS_ASSERT_OP_CLASS
3000 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
3001 #define PERL_ARGS_ASSERT_OP_CLEAR       \
3002         assert(o)
3003 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
3004 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
3005         assert(o)
3006 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
3007                         __attribute__warn_unused_result__;
3008 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3009
3010 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
3011 #define PERL_ARGS_ASSERT_OP_DUMP        \
3012         assert(o)
3013 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
3014 #define PERL_ARGS_ASSERT_OP_FREE
3015 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
3016 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
3017         assert(o)
3018 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
3019 #define PERL_ARGS_ASSERT_OP_LVALUE
3020 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3021 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3022 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
3023 #define PERL_ARGS_ASSERT_OP_NULL        \
3024         assert(o)
3025 PERL_CALLCONV OP*       Perl_op_parent(OP *o);
3026 #define PERL_ARGS_ASSERT_OP_PARENT      \
3027         assert(o)
3028 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3029 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3030 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
3031 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3032 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
3033 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3034 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
3035 #define PERL_ARGS_ASSERT_OP_SCOPE
3036 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
3037 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3038 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o)
3039                         __attribute__visibility__("hidden");
3040 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3041
3042 PERL_CALLCONV OP*       Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3043                         __attribute__warn_unused_result__;
3044 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY        \
3045         assert(block); assert(finally)
3046
3047 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
3048                         __attribute__visibility__("hidden");
3049 #define PERL_ARGS_ASSERT_PACKAGE        \
3050         assert(o)
3051
3052 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
3053                         __attribute__visibility__("hidden");
3054 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
3055         assert(v)
3056
3057 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3058 #define PERL_ARGS_ASSERT_PACKLIST       \
3059         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3060 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
3061 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
3062         assert(func)
3063 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3064 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
3065         assert(name)
3066 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3067 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
3068         assert(namepv)
3069 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3070 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
3071         assert(name)
3072 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func)
3073                         __attribute__visibility__("hidden");
3074 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
3075         assert(func)
3076
3077 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3078 #define PERL_ARGS_ASSERT_PAD_ALLOC
3079 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full)
3080                         __attribute__visibility__("hidden");
3081 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3082
3083 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
3084 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
3085         assert(name)
3086 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
3087 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3088         assert(namepv)
3089 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
3090 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
3091         assert(name)
3092 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3093                         __attribute__visibility__("hidden");
3094 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
3095         assert(padlist); assert(old_cv); assert(new_cv)
3096
3097 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po)
3098                         __attribute__visibility__("hidden");
3099 #define PERL_ARGS_ASSERT_PAD_FREE
3100
3101 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX)
3102                         __attribute__visibility__("hidden");
3103 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3104
3105 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
3106                         __attribute__warn_unused_result__;
3107 #define PERL_ARGS_ASSERT_PAD_NEW
3108
3109 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3110 #define PERL_ARGS_ASSERT_PAD_PUSH       \
3111         assert(padlist)
3112 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3113                         __attribute__visibility__("hidden");
3114 #define PERL_ARGS_ASSERT_PAD_SWIPE
3115
3116 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
3117 #define PERL_ARGS_ASSERT_PAD_TIDY
3118 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3119                         __attribute__visibility__("hidden");
3120 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
3121         assert(padlist)
3122
3123 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
3124 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
3125         assert(pn)
3126 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3127                         __attribute__warn_unused_result__;
3128 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
3129         assert(pnl)
3130
3131 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3132 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
3133         assert(pnl)
3134 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3135 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
3136         assert(pnl)
3137 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
3138 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3139 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
3140 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3141 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
3142 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3143 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
3144 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3145 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
3146 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3147 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
3148 #define PERL_ARGS_ASSERT_PARSE_LABEL
3149 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
3150 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3151 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
3152 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3153 PERL_CALLCONV OP*       Perl_parse_subsignature(pTHX_ U32 flags);
3154 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3155 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
3156 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3157 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3158                         __attribute__visibility__("hidden");
3159 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3160         assert(popt)
3161
3162 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3163                         __attribute__visibility__("hidden");
3164 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3165         assert(parser)
3166
3167 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o)
3168                         __attribute__visibility__("hidden");
3169 #define PERL_ARGS_ASSERT_PEEP
3170
3171 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
3172 #define PERL_ARGS_ASSERT_PERL_ALLOC
3173 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
3174 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3175         assert(my_perl)
3176 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
3177 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
3178         assert(my_perl)
3179 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
3180 #define PERL_ARGS_ASSERT_PERL_FREE      \
3181         assert(my_perl)
3182 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
3183 #define PERL_ARGS_ASSERT_PERL_PARSE     \
3184         assert(my_perl)
3185 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
3186 #define PERL_ARGS_ASSERT_PERL_RUN       \
3187         assert(my_perl)
3188 PERL_CALLCONV Signal_t  Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3189 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3190 /* PERL_CALLCONV const char *const      phase_name(pTHX_ enum perl_phase); */
3191 #define PERL_ARGS_ASSERT_PHASE_NAME
3192 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
3193 #define PERL_ARGS_ASSERT_PMOP_DUMP
3194 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3195                         __attribute__visibility__("hidden");
3196 #define PERL_ARGS_ASSERT_PMRUNTIME      \
3197         assert(o); assert(expr)
3198
3199 PERL_CALLCONV void      Perl_pop_scope(pTHX);
3200 #define PERL_ARGS_ASSERT_POP_SCOPE
3201 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3202                         __attribute__visibility__("hidden");
3203 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
3204         assert(name)
3205
3206 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3207 #define PERL_ARGS_ASSERT_PREGCOMP       \
3208         assert(pattern)
3209 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
3210 #define PERL_ARGS_ASSERT_PREGEXEC       \
3211         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3212 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
3213 #define PERL_ARGS_ASSERT_PREGFREE
3214 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
3215 #define PERL_ARGS_ASSERT_PREGFREE2      \
3216         assert(rx)
3217 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);
3218 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
3219         assert(s)
3220 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3221                         __attribute__warn_unused_result__;
3222 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
3223         assert(tbl)
3224
3225 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3226 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3227 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
3228                         __attribute__warn_unused_result__;
3229 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3230
3231 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
3232 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
3233         assert(tbl)
3234 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
3235 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
3236         assert(tbl); assert(newsv)
3237 PERL_CALLCONV void      Perl_push_scope(pTHX);
3238 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3239 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3240 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3241         assert(dsv); assert(pv)
3242 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);
3243 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3244         assert(str)
3245 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);
3246 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3247         assert(dsv); assert(str)
3248 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3249 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3250         assert(dsv); assert(spv)
3251 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
3252 #define PERL_ARGS_ASSERT_QERROR \
3253         assert(err)
3254 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3255 #define PERL_ARGS_ASSERT_RE_COMPILE     \
3256         assert(pattern)
3257 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);
3258 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
3259         assert(rx); assert(strbeg); assert(strpos); assert(strend)
3260 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
3261 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
3262         assert(r)
3263 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)
3264                         __attribute__visibility__("hidden");
3265 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
3266         assert(eng)
3267
3268 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3269                         __attribute__warn_unused_result__;
3270 #define PERL_ARGS_ASSERT_REALLOC
3271
3272 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
3273 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3274 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
3275 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3276 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
3277 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
3278         assert(f)
3279 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
3280 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3281 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3282 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3283 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3284 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3285         assert(key)
3286 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3287 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
3288         assert(keypv)
3289 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3290 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3291         assert(key)
3292 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3293 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3294 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3295 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3296 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3297 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
3298         assert(key)
3299 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);
3300 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
3301         assert(keypv)
3302 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3303 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
3304         assert(key)
3305 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3306 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3307         assert(rx)
3308 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3309 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
3310         assert(rx)
3311 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3312 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
3313         assert(rx); assert(key)
3314 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3315 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
3316         assert(rx); assert(namesv)
3317 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3318 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
3319         assert(rx)
3320 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3321 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
3322         assert(rx)
3323 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3324 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3325         assert(rx)
3326 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3327 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
3328         assert(rx)
3329 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
3330 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
3331         assert(rx)
3332 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3333 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
3334         assert(rx); assert(sv)
3335 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3336 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
3337         assert(rx)
3338 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3339 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3340         assert(rx)
3341 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
3342 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
3343         assert(ssv)
3344 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
3345 #define PERL_ARGS_ASSERT_REGDUMP        \
3346         assert(r)
3347 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);
3348 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
3349         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3350 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
3351 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
3352         assert(rx)
3353 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3354 #define PERL_ARGS_ASSERT_REGINITCOLORS
3355 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
3356 #define PERL_ARGS_ASSERT_REPEATCPY      \
3357         assert(to); assert(from)
3358 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv)
3359                         __attribute__visibility__("hidden");
3360 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3361
3362 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3363 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3364 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3365                         __attribute__visibility__("hidden");
3366 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3367
3368 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
3369 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
3370         assert(pv)
3371 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3372                         __attribute__warn_unused_result__
3373                         __attribute__pure__;
3374 #define PERL_ARGS_ASSERT_RNINSTR        \
3375         assert(big); assert(bigend); assert(little); assert(lend)
3376
3377 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o)
3378                         __attribute__visibility__("hidden");
3379 #define PERL_ARGS_ASSERT_RPEEP
3380
3381 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
3382 #define PERL_ARGS_ASSERT_RSIGNAL
3383 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t)
3384                         __attribute__visibility__("hidden");
3385 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3386
3387 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3388                         __attribute__visibility__("hidden");
3389 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
3390         assert(save)
3391
3392 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
3393 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3394 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3395 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3396 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3397 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3398 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3399 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
3400         assert(cvop)
3401 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3402                         __attribute__visibility__("hidden");
3403 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
3404         assert(rsp); assert(rx)
3405
3406 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3407                         __attribute__malloc__
3408                         __attribute__warn_unused_result__;
3409 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3410
3411 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3412 #define PERL_ARGS_ASSERT_SAFESYSFREE
3413 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3414                         __attribute__malloc__
3415                         __attribute__warn_unused_result__;
3416 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3417
3418 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3419                         __attribute__warn_unused_result__;
3420 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3421
3422 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
3423 #define PERL_ARGS_ASSERT_SAVE_I16       \
3424         assert(intp)
3425 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
3426 #define PERL_ARGS_ASSERT_SAVE_I32       \
3427         assert(intp)
3428 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
3429 #define PERL_ARGS_ASSERT_SAVE_I8        \
3430         assert(bytep)
3431 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3432 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
3433         assert(av)
3434 /* PERL_CALLCONV void   save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
3435 #define PERL_ARGS_ASSERT_SAVE_AELEM
3436 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
3437 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
3438         assert(av); assert(sptr)
3439 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
3440 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3441 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
3442 #define PERL_ARGS_ASSERT_SAVE_APTR      \
3443         assert(aptr)
3444 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
3445 #define PERL_ARGS_ASSERT_SAVE_ARY       \
3446         assert(gv)
3447 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
3448 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
3449         assert(boolp)
3450 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
3451 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
3452         assert(svp)
3453 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3454 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
3455         assert(hv); assert(key)
3456 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
3457 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3458         assert(p)
3459 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3460 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3461 #ifndef NO_MATHOMS
3462 PERL_CALLCONV void      Perl_save_freeop(pTHX_ OP* o);
3463 #define PERL_ARGS_ASSERT_SAVE_FREEOP
3464 #endif
3465 #ifndef NO_MATHOMS
3466 PERL_CALLCONV void      Perl_save_freepv(pTHX_ char* pv);
3467 #define PERL_ARGS_ASSERT_SAVE_FREEPV
3468 #endif
3469 #ifndef NO_MATHOMS
3470 PERL_CALLCONV void      Perl_save_freesv(pTHX_ SV* sv);
3471 #define PERL_ARGS_ASSERT_SAVE_FREESV
3472 #endif
3473 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
3474 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3475         assert(str)
3476 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
3477 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3478         assert(sptr)
3479 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
3480 #define PERL_ARGS_ASSERT_SAVE_GP        \
3481         assert(gv)
3482 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
3483 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3484         assert(gv)
3485 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
3486 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3487         assert(hv); assert(keysv)
3488 /* PERL_CALLCONV void   save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
3489 #define PERL_ARGS_ASSERT_SAVE_HELEM
3490 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
3491 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3492         assert(hv); assert(key); assert(sptr)
3493 PERL_CALLCONV void      Perl_save_hints(pTHX);
3494 #define PERL_ARGS_ASSERT_SAVE_HINTS
3495 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
3496 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3497         assert(hptr)
3498 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
3499 #define PERL_ARGS_ASSERT_SAVE_INT       \
3500         assert(intp)
3501 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
3502 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3503         assert(item)
3504 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
3505 #define PERL_ARGS_ASSERT_SAVE_IV        \
3506         assert(ivp)
3507 #ifndef NO_MATHOMS
3508 PERL_CALLCONV void      Perl_save_mortalizesv(pTHX_ SV* sv);
3509 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3510         assert(sv)
3511 #endif
3512 #ifndef NO_MATHOMS
3513 PERL_CALLCONV void      Perl_save_op(pTHX);
3514 #define PERL_ARGS_ASSERT_SAVE_OP
3515 #endif
3516 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3517 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
3518 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
3519 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3520         assert(pptr)
3521 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3522 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
3523 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3524 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
3525 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3526 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
3527 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3528 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
3529 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
3530 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3531         assert(gv)
3532 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
3533 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
3534         assert(sv)
3535 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
3536 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3537         assert(str)
3538 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
3539 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3540         assert(sptr)
3541 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
3542 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
3543         assert(ptr)
3544 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
3545 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3546         assert(sptr)
3547 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
3548 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3549         assert(ptr)
3550 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
3551                         __attribute__malloc__
3552                         __attribute__warn_unused_result__;
3553 #define PERL_ARGS_ASSERT_SAVEPV
3554
3555 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, Size_t len)
3556                         __attribute__malloc__
3557                         __attribute__warn_unused_result__;
3558 #define PERL_ARGS_ASSERT_SAVEPVN
3559
3560 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
3561                         __attribute__malloc__
3562                         __attribute__warn_unused_result__;
3563 #define PERL_ARGS_ASSERT_SAVESHAREDPV
3564
3565 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3566                         __attribute__malloc__
3567                         __attribute__warn_unused_result__;
3568 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
3569
3570 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
3571                         __attribute__malloc__
3572                         __attribute__warn_unused_result__;
3573 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3574         assert(sv)
3575
3576 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
3577 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
3578 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
3579 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
3580 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
3581                         __attribute__malloc__
3582                         __attribute__warn_unused_result__;
3583 #define PERL_ARGS_ASSERT_SAVESVPV       \
3584         assert(sv)
3585
3586 PERL_CALLCONV void      Perl_savetmps(pTHX);
3587 #define PERL_ARGS_ASSERT_SAVETMPS
3588 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o)
3589                         __attribute__visibility__("hidden");
3590 #define PERL_ARGS_ASSERT_SAWPARENS
3591
3592 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o)
3593                         __attribute__visibility__("hidden");
3594 #define PERL_ARGS_ASSERT_SCALAR
3595
3596 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3597                         __attribute__visibility__("hidden");
3598 #define PERL_ARGS_ASSERT_SCALARVOID     \
3599         assert(o)
3600
3601 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3602 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3603         assert(start); assert(retlen)
3604 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3605 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3606         assert(start); assert(retlen)
3607 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
3608 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3609         assert(s); assert(lvalp)
3610 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3611 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3612         assert(start); assert(retlen)
3613 PERL_CALLCONV char*     Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
3614                         __attribute__warn_unused_result__;
3615 #define PERL_ARGS_ASSERT_SCAN_STR       \
3616         assert(start)
3617
3618 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
3619 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
3620         assert(s); assert(rv)
3621 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
3622 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
3623         assert(s); assert(e); assert(sv)
3624 PERL_CALLCONV char*     Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
3625 #define PERL_ARGS_ASSERT_SCAN_WORD      \
3626         assert(s); assert(dest); assert(slp)
3627 PERL_CALLCONV U32       Perl_seed(pTHX);
3628 #define PERL_ARGS_ASSERT_SEED
3629 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
3630 #define PERL_ARGS_ASSERT_SET_CARET_X
3631 PERL_CALLCONV void      Perl_set_context(void *t);
3632 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
3633         assert(t)
3634 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
3635 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD
3636 PERL_CALLCONV void      Perl_set_numeric_underlying(pTHX);
3637 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING
3638 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
3639 #define PERL_ARGS_ASSERT_SETDEFOUT      \
3640         assert(gv)
3641 PERL_CALLCONV void      Perl_setfd_cloexec(int fd)
3642                         __attribute__visibility__("hidden");
3643 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
3644
3645 PERL_CALLCONV void      Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
3646                         __attribute__visibility__("hidden");
3647 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
3648
3649 PERL_CALLCONV void      Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
3650                         __attribute__visibility__("hidden");
3651 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
3652
3653 PERL_CALLCONV void      Perl_setfd_inhexec(int fd)
3654                         __attribute__visibility__("hidden");
3655 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
3656
3657 PERL_CALLCONV void      Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
3658                         __attribute__visibility__("hidden");
3659 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
3660
3661 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
3662 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3663         assert(str)
3664 PERL_CALLCONV Signal_t  Perl_sighandler1(int sig)
3665                         __attribute__visibility__("hidden");
3666 #define PERL_ARGS_ASSERT_SIGHANDLER1
3667
3668 PERL_CALLCONV Signal_t  Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
3669                         __attribute__visibility__("hidden");
3670 #define PERL_ARGS_ASSERT_SIGHANDLER3
3671
3672 #ifndef PERL_NO_INLINE_FUNCTIONS
3673 PERL_STATIC_INLINE unsigned     Perl_single_1bit_pos32(U32 word)
3674                         __attribute__warn_unused_result__;
3675 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
3676 #endif
3677
3678 PERL_CALLCONV char*     Perl_skipspace_flags(pTHX_ char *s, U32 flags)
3679                         __attribute__warn_unused_result__;
3680 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
3681         assert(s)
3682
3683 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
3684 #define PERL_ARGS_ASSERT_SORTSV \
3685         assert(cmp)
3686 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
3687 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
3688         assert(cmp)
3689 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
3690 #define PERL_ARGS_ASSERT_STACK_GROW     \
3691         assert(sp); assert(p)
3692 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3693                         __attribute__visibility__("hidden");
3694 #define PERL_ARGS_ASSERT_START_GLOB     \
3695         assert(tmpglob); assert(io)
3696
3697 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3698 #define PERL_ARGS_ASSERT_START_SUBPARSE
3699 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3700                         __attribute__warn_unused_result__;
3701 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3702         assert(sv)
3703
3704 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
3705                         __attribute__visibility__("hidden");
3706 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3707         assert(cv)
3708
3709 #ifndef NO_MATHOMS
3710 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv);
3711 #define PERL_ARGS_ASSERT_SV_2BOOL       \
3712         assert(sv)
3713 #endif
3714 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
3715 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3716         assert(sv)
3717 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
3718 #define PERL_ARGS_ASSERT_SV_2CV \
3719         assert(st); assert(gvp)
3720 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
3721 #define PERL_ARGS_ASSERT_SV_2IO \
3722         assert(sv)
3723 #ifndef NO_MATHOMS
3724 PERL_CALLCONV IV        Perl_sv_2iv(pTHX_ SV *sv);
3725 #define PERL_ARGS_ASSERT_SV_2IV \
3726         assert(sv)
3727 #endif
3728 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3729 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
3730         assert(sv)
3731 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3732 #define PERL_ARGS_ASSERT_SV_2MORTAL
3733 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3734                         __attribute__visibility__("hidden");
3735 #define PERL_ARGS_ASSERT_SV_2NUM        \
3736         assert(sv)
3737
3738 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3739 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
3740         assert(sv)
3741 #ifndef NO_MATHOMS
3742 PERL_CALLCONV char*     Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3743 #define PERL_ARGS_ASSERT_SV_2PV \
3744         assert(sv)
3745 #endif
3746 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3747 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
3748         assert(sv)
3749 #ifndef NO_MATHOMS
3750 PERL_CALLCONV char*     Perl_sv_2pv_nolen(pTHX_ SV* sv)
3751                         __attribute__warn_unused_result__;
3752 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3753         assert(sv)
3754 #endif
3755
3756 #ifndef NO_MATHOMS
3757 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3758 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3759         assert(sv)
3760 #endif
3761 PERL_CALLCONV char*     Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3762 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS       \
3763         assert(sv)
3764 #ifndef NO_MATHOMS
3765 PERL_CALLCONV char*     Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3766                         __attribute__warn_unused_result__;
3767 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3768         assert(sv)
3769 #endif
3770
3771 #ifndef NO_MATHOMS
3772 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3773 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3774         assert(sv)
3775 #endif
3776 PERL_CALLCONV char*     Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3777 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS       \
3778         assert(sv)
3779 #ifndef NO_MATHOMS
3780 PERL_CALLCONV char*     Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3781                         __attribute__warn_unused_result__;
3782 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3783         assert(sv)
3784 #endif
3785
3786 #ifndef NO_MATHOMS
3787 PERL_CALLCONV UV        Perl_sv_2uv(pTHX_ SV *sv);
3788 #define PERL_ARGS_ASSERT_SV_2UV \
3789         assert(sv)
3790 #endif
3791 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3792 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
3793         assert(sv)
3794 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
3795 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3796         assert(sv)
3797 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3798 #define PERL_ARGS_ASSERT_SV_BLESS       \
3799         assert(sv); assert(stash)
3800 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3801 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3802         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3803 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const dsv, const char* sstr);
3804 #define PERL_ARGS_ASSERT_SV_CATPV       \
3805         assert(dsv)
3806 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
3807 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3808         assert(dsv); assert(sstr)
3809 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const dsv, const char *const sstr);
3810 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3811         assert(dsv)
3812 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3813                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3814 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3815         assert(sv); assert(pat)
3816
3817 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3818                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3819 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3820         assert(sv); assert(pat)
3821
3822 #ifndef NO_MATHOMS
3823 PERL_CALLCONV void      Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3824 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3825         assert(dsv); assert(sstr)
3826 #endif
3827 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dsv, const char *sstr, const STRLEN len, const I32 flags);
3828 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
3829         assert(dsv); assert(sstr)
3830 #ifndef NO_MATHOMS
3831 PERL_CALLCONV void      Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3832 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3833         assert(dsv); assert(sstr)
3834 #endif
3835 #ifndef NO_MATHOMS
3836 PERL_CALLCONV void      Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
3837 #define PERL_ARGS_ASSERT_SV_CATSV       \
3838         assert(dsv)
3839 #endif
3840 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const sstr, const I32 flags);
3841 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3842         assert(dsv)
3843 #ifndef NO_MATHOMS
3844 PERL_CALLCONV void      Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
3845 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3846         assert(dsv)
3847 #endif
3848 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3849 #define PERL_ARGS_ASSERT_SV_CHOP        \
3850         assert(sv)
3851 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX)
3852                         __attribute__visibility__("hidden");
3853 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
3854
3855 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX)
3856                         __attribute__visibility__("hidden");
3857 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
3858
3859 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
3860 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3861         assert(orig_sv)
3862 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3863 #define PERL_ARGS_ASSERT_SV_CMP
3864 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3865 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
3866 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3867 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
3868 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3869 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
3870 #ifndef NO_MATHOMS
3871 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3872 #define PERL_ARGS_ASSERT_SV_COPYPV      \
3873         assert(dsv); assert(ssv)
3874 #endif
3875 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3876 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
3877         assert(dsv); assert(ssv)
3878 /* PERL_CALLCONV void   sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3879 #define PERL_ARGS_ASSERT_SV_COPYPV_NOMG
3880 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3881 #define PERL_ARGS_ASSERT_SV_DEC
3882 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3883 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
3884 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3885 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3886         assert(tsv); assert(sv)
3887 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3888                         __attribute__warn_unused_result__;
3889 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3890         assert(sv); assert(name)
3891
3892 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3893                         __attribute__warn_unused_result__;
3894 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
3895         assert(sv); assert(name)
3896
3897 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3898                         __attribute__warn_unused_result__;
3899 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
3900         assert(sv); assert(name)
3901
3902 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3903                         __attribute__warn_unused_result__;
3904 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
3905         assert(sv); assert(namesv)
3906
3907 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
3908 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
3909 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3910                         __attribute__warn_unused_result__;
3911 #define PERL_ARGS_ASSERT_SV_DOES        \
3912         assert(sv); assert(name)
3913
3914 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3915                         __attribute__warn_unused_result__;
3916 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
3917         assert(sv); assert(name)
3918
3919 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3920                         __attribute__warn_unused_result__;
3921 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
3922         assert(sv); assert(name)
3923
3924 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3925                         __attribute__warn_unused_result__;
3926 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
3927         assert(sv); assert(namesv)
3928
3929 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
3930 #define PERL_ARGS_ASSERT_SV_DUMP
3931 #ifndef NO_MATHOMS
3932 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3933 #define PERL_ARGS_ASSERT_SV_EQ
3934 #endif
3935 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3936 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
3937 #ifndef NO_MATHOMS
3938 PERL_CALLCONV void      Perl_sv_force_normal(pTHX_ SV *sv);
3939 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3940         assert(sv)
3941 #endif
3942 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3943 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3944         assert(sv)
3945 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3946 #define PERL_ARGS_ASSERT_SV_FREE
3947 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3948 #define PERL_ARGS_ASSERT_SV_FREE2       \
3949         assert(sv)
3950 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX)
3951                         __attribute__visibility__("hidden");
3952 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
3953
3954 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv);
3955 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3956         assert(sv)
3957 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3958 #define PERL_ARGS_ASSERT_SV_GETS        \
3959         assert(sv); assert(fp)
3960 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3961 #define PERL_ARGS_ASSERT_SV_GROW        \
3962         assert(sv)
3963 PERL_CALLCONV char*     Perl_sv_grow_fresh(pTHX_ SV *const sv, STRLEN newlen);
3964 #define PERL_ARGS_ASSERT_SV_GROW_FRESH  \
3965         assert(sv)
3966 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3967 #define PERL_ARGS_ASSERT_SV_INC
3968 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3969 #define PERL_ARGS_ASSERT_SV_INC_NOMG
3970 #ifndef NO_MATHOMS
3971 PERL_CALLCONV void      Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3972 #define PERL_ARGS_ASSERT_SV_INSERT      \
3973         assert(bigstr); assert(little)
3974 #endif
3975 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);
3976 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3977         assert(bigstr); assert(little)
3978 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3979 #define PERL_ARGS_ASSERT_SV_ISA \
3980         assert(name)
3981 PERL_CALLCONV bool      Perl_sv_isa_sv(pTHX_ SV* sv, SV* namesv)
3982                         __attribute__warn_unused_result__;
3983 #define PERL_ARGS_ASSERT_SV_ISA_SV      \
3984         assert(sv); assert(namesv)
3985
3986 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3987 #define PERL_ARGS_ASSERT_SV_ISOBJECT
3988 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3989 #define PERL_ARGS_ASSERT_SV_LEN
3990 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3991 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
3992 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3993 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3994         assert(sv)
3995 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3996 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3997         assert(sv)
3998 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);
3999 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
4000         assert(sv)
4001 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
4002 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
4003         assert(sv)
4004 #ifndef NO_MATHOMS
4005 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
4006                         __attribute__warn_unused_result__;
4007 #define PERL_ARGS_ASSERT_SV_MORTALCOPY
4008 #endif
4009
4010 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
4011                         __attribute__warn_unused_result__;
4012 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4013
4014 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
4015                         __attribute__warn_unused_result__;
4016 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4017
4018 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
4019 #define PERL_ARGS_ASSERT_SV_NEWREF
4020 #ifndef NO_MATHOMS
4021 PERL_CALLCONV void      Perl_sv_nolocking(pTHX_ SV *sv)
4022                         __attribute__deprecated__;
4023 #define PERL_ARGS_ASSERT_SV_NOLOCKING
4024 #endif
4025
4026 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
4027 #define PERL_ARGS_ASSERT_SV_NOSHARING
4028 #ifndef NO_MATHOMS
4029 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv)
4030                         __attribute__deprecated__;
4031 #define PERL_ARGS_ASSERT_SV_NOUNLOCKING
4032 #endif
4033
4034 /* PERL_CALLCONV bool   sv_numeq(pTHX_ SV* sv1, SV* sv2); */
4035 #define PERL_ARGS_ASSERT_SV_NUMEQ
4036 PERL_CALLCONV bool      Perl_sv_numeq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4037 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4038 #ifndef PERL_NO_INLINE_FUNCTIONS
4039 PERL_STATIC_INLINE bool Perl_sv_only_taint_gmagic(SV *sv);
4040 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
4041         assert(sv)
4042 #endif
4043 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
4044 #define PERL_ARGS_ASSERT_SV_PEEK
4045 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
4046 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
4047         assert(offsetp)
4048 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
4049 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
4050         assert(sv)
4051 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
4052 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
4053         assert(offsetp)
4054 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
4055 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
4056         assert(sv)
4057 #ifndef NO_MATHOMS
4058 PERL_CALLCONV char*     Perl_sv_pv(pTHX_ SV *sv)
4059                         __attribute__warn_unused_result__;
4060 #define PERL_ARGS_ASSERT_SV_PV  \
4061         assert(sv)
4062 #endif
4063
4064 #ifndef NO_MATHOMS
4065 PERL_CALLCONV char*     Perl_sv_pvbyte(pTHX_ SV *sv)
4066                         __attribute__warn_unused_result__;
4067 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
4068         assert(sv)
4069 #endif
4070
4071 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
4072 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
4073         assert(sv)
4074 #ifndef PERL_NO_INLINE_FUNCTIONS
4075 PERL_STATIC_INLINE char*        Perl_sv_pvbyten_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4076 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER       \
4077         assert(sv)
4078 #endif
4079 #ifndef NO_MATHOMS
4080 PERL_CALLCONV char*     Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
4081 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
4082         assert(sv)
4083 #endif
4084 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
4085 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
4086         assert(sv)
4087 #ifndef NO_MATHOMS
4088 PERL_CALLCONV char*     Perl_sv_pvutf8(pTHX_ SV *sv)
4089                         __attribute__warn_unused_result__;
4090 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
4091         assert(sv)
4092 #endif
4093
4094 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
4095 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
4096         assert(sv)
4097 #ifndef PERL_NO_INLINE_FUNCTIONS
4098 PERL_STATIC_INLINE char*        Perl_sv_pvutf8n_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4099 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER       \
4100         assert(sv)
4101 #endif
4102 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
4103 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
4104         assert(sv); assert(encoding)
4105 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
4106 #define PERL_ARGS_ASSERT_SV_REF \
4107         assert(sv)
4108 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
4109                         __attribute__warn_unused_result__;
4110 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
4111         assert(sv)
4112
4113 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
4114 #define PERL_ARGS_ASSERT_SV_REPLACE     \
4115         assert(sv); assert(nsv)
4116 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
4117 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4118 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
4119 #define PERL_ARGS_ASSERT_SV_RESET       \
4120         assert(s)
4121 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash)
4122                         __attribute__visibility__("hidden");
4123 #define PERL_ARGS_ASSERT_SV_RESETPVN
4124
4125 PERL_CALLCONV SV*       Perl_sv_rvunweaken(pTHX_ SV *const sv);
4126 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN  \
4127         assert(sv)
4128 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
4129 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4130         assert(sv)
4131 PERL_CALLCONV void      Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4132 #define PERL_ARGS_ASSERT_SV_SET_BOOL    \
4133         assert(sv)
4134 PERL_CALLCONV void      Perl_sv_set_false(pTHX_ SV *sv);
4135 #define PERL_ARGS_ASSERT_SV_SET_FALSE   \
4136         assert(sv)
4137 PERL_CALLCONV void      Perl_sv_set_true(pTHX_ SV *sv);
4138 #define PERL_ARGS_ASSERT_SV_SET_TRUE    \
4139         assert(sv)
4140 PERL_CALLCONV void      Perl_sv_set_undef(pTHX_ SV *sv);
4141 #define PERL_ARGS_ASSERT_SV_SET_UNDEF   \
4142         assert(sv)
4143 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
4144 #define PERL_ARGS_ASSERT_SV_SETHEK      \
4145         assert(sv)
4146 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
4147 #define PERL_ARGS_ASSERT_SV_SETIV       \
4148         assert(sv)
4149 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
4150 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
4151         assert(sv)
4152 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
4153 #define PERL_ARGS_ASSERT_SV_SETNV       \
4154         assert(sv)
4155 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
4156 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
4157         assert(sv)
4158 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
4159 #define PERL_ARGS_ASSERT_SV_SETPV       \
4160         assert(sv)
4161 PERL_CALLCONV char  *   Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
4162 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE       \
4163         assert(sv)
4164 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
4165 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
4166         assert(sv)
4167 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
4168                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4169 #define PERL_ARGS_ASSERT_SV_SETPVF      \
4170         assert(sv); assert(pat)
4171
4172 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4173                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4174 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
4175         assert(sv); assert(pat)
4176
4177 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4178 #define PERL_ARGS_ASSERT_SV_SETPVN      \
4179         assert(sv)
4180 PERL_CALLCONV void      Perl_sv_setpvn_fresh(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4181 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH        \
4182         assert(sv)
4183 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4184 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
4185         assert(sv); assert(ptr)
4186 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
4187 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
4188         assert(rv)
4189 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
4190 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
4191         assert(rv)
4192 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
4193 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
4194         assert(rv)
4195 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
4196 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
4197         assert(rv); assert(pv)
4198 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
4199 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
4200         assert(rv)
4201 PERL_CALLCONV void      Perl_sv_setrv_inc(pTHX_ SV *const sv, SV *const ref);
4202 #define PERL_ARGS_ASSERT_SV_SETRV_INC   \
4203         assert(sv); assert(ref)
4204 PERL_CALLCONV void      Perl_sv_setrv_inc_mg(pTHX_ SV *const sv, SV *const ref);
4205 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG        \
4206         assert(sv); assert(ref)
4207 PERL_CALLCONV void      Perl_sv_setrv_noinc(pTHX_ SV *const sv, SV *const ref);
4208 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4209         assert(sv); assert(ref)
4210 PERL_CALLCONV void      Perl_sv_setrv_noinc_mg(pTHX_ SV *const sv, SV *const ref);
4211 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG      \
4212         assert(sv); assert(ref)
4213 #ifndef NO_MATHOMS
4214 PERL_CALLCONV void      Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
4215 #define PERL_ARGS_ASSERT_SV_SETSV       \
4216         assert(dsv)
4217 #endif
4218 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4219 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4220         assert(dsv)
4221 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dsv, SV *const ssv);
4222 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
4223         assert(dsv)
4224 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
4225 #define PERL_ARGS_ASSERT_SV_SETUV       \
4226         assert(sv)
4227 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
4228 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
4229         assert(sv)
4230 /* PERL_CALLCONV bool   sv_streq(pTHX_ SV* sv1, SV* sv2); */
4231 #define PERL_ARGS_ASSERT_SV_STREQ
4232 PERL_CALLCONV bool      Perl_sv_streq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4233 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4234 PERL_CALLCONV SV*       Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
4235 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4236 #ifndef NO_MATHOMS
4237 PERL_CALLCONV void      Perl_sv_taint(pTHX_ SV* sv);
4238 #define PERL_ARGS_ASSERT_SV_TAINT       \
4239         assert(sv)
4240 #endif
4241 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
4242                         __attribute__warn_unused_result__;
4243 #define PERL_ARGS_ASSERT_SV_TAINTED     \
4244         assert(sv)
4245
4246 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
4247 #define PERL_ARGS_ASSERT_SV_TRUE
4248 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4249                         __attribute__warn_unused_result__;
4250 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4251         assert(dsv); assert(ssv)
4252
4253 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
4254 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
4255         assert(sv)
4256 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
4257 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
4258         assert(sv)
4259 #ifndef NO_MATHOMS
4260 PERL_CALLCONV void      Perl_sv_unref(pTHX_ SV* sv);
4261 #define PERL_ARGS_ASSERT_SV_UNREF       \
4262         assert(sv)
4263 #endif
4264 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
4265 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4266         assert(ref)
4267 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
4268 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
4269         assert(sv)
4270 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
4271 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
4272         assert(sv)
4273 #ifndef NO_MATHOMS
4274 PERL_CALLCONV void      Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
4275 #define PERL_ARGS_ASSERT_SV_USEPVN      \
4276         assert(sv)
4277 #endif
4278 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
4279 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
4280         assert(sv)
4281 #ifndef NO_MATHOMS
4282 PERL_CALLCONV void      Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
4283 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
4284         assert(sv)
4285 #endif
4286 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
4287 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4288         assert(sv)
4289 #ifndef NO_MATHOMS
4290 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
4291 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
4292         assert(sv)
4293 #endif
4294 PERL_CALLCONV bool      Perl_sv_utf8_downgrade_flags(pTHX_ SV *const sv, const bool fail_ok, const U32 flags);
4295 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS        \
4296         assert(sv)
4297 /* PERL_CALLCONV bool   sv_utf8_downgrade_nomg(pTHX_ SV *const sv, const bool fail_ok); */
4298 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_NOMG
4299 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
4300 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4301         assert(sv)
4302 #ifndef NO_MATHOMS
4303 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade(pTHX_ SV *sv);
4304 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
4305         assert(sv)
4306 #endif
4307 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
4308 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS
4309 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
4310 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
4311         assert(sv)
4312 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4313 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_NOMG
4314 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4315 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
4316         assert(sv); assert(pat)
4317 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4318 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
4319         assert(sv); assert(pat)
4320 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);
4321 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
4322         assert(sv); assert(pat)
4323 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);
4324 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
4325         assert(sv); assert(pat)
4326 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4327 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
4328         assert(sv); assert(pat)
4329 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4330 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
4331         assert(sv); assert(pat)
4332 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);
4333 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
4334         assert(sv); assert(pat)
4335 PERL_CALLCONV void      Perl_switch_to_global_locale(void);
4336 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
4337 PERL_CALLCONV bool      Perl_sync_locale(void);
4338 #define PERL_ARGS_ASSERT_SYNC_LOCALE
4339 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
4340 #define PERL_ARGS_ASSERT_SYS_INIT       \
4341         assert(argc); assert(argv)
4342 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
4343 #define PERL_ARGS_ASSERT_SYS_INIT3      \
4344         assert(argc); assert(argv); assert(env)
4345 PERL_CALLCONV void      Perl_sys_term(void);
4346 #define PERL_ARGS_ASSERT_SYS_TERM
4347 PERL_CALLCONV void      Perl_taint_env(pTHX);
4348 #define PERL_ARGS_ASSERT_TAINT_ENV
4349 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
4350 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
4351         assert(s)
4352 PERL_CALLCONV void      Perl_thread_locale_init(void);
4353 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
4354 PERL_CALLCONV void      Perl_thread_locale_term(void);
4355 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
4356 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...)
4357                         __attribute__visibility__("hidden");
4358 #define PERL_ARGS_ASSERT_TIED_METHOD    \
4359         assert(methname); assert(sp); assert(sv); assert(mg)
4360
4361 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
4362 #define PERL_ARGS_ASSERT_TMPS_GROW_P
4363 /* PERL_CALLCONV UV     to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
4364 #define PERL_ARGS_ASSERT_TO_UNI_FOLD
4365 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
4366 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
4367         assert(p); assert(lenp)
4368 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
4369 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
4370         assert(p); assert(lenp)
4371 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
4372 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
4373         assert(p); assert(lenp)
4374 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
4375 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
4376 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
4377 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
4378 PERL_CALLCONV SSize_t   Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
4379 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
4380         assert(pat); assert(patend); assert(s); assert(strend)
4381 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
4382 #define PERL_ARGS_ASSERT_UNSHARE_HEK
4383 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
4384 #define PERL_ARGS_ASSERT_UNSHAREPVN
4385 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
4386 #define PERL_ARGS_ASSERT_UPG_VERSION    \
4387         assert(ver)
4388 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4389 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
4390         assert(p); assert(d); assert(newlen)
4391 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);
4392 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE     \
4393         assert(p); assert(d); assert(newlen)
4394 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4395 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
4396         assert(p); assert(d); assert(newlen)
4397 #ifndef PERL_NO_INLINE_FUNCTIONS
4398 PERL_STATIC_INLINE IV   Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
4399                         __attribute__warn_unused_result__;
4400 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
4401         assert(a); assert(b)
4402 #endif
4403
4404 #ifndef PERL_NO_INLINE_FUNCTIONS
4405 PERL_STATIC_INLINE U8*  Perl_utf8_hop(const U8 *s, SSize_t off)
4406                         __attribute__warn_unused_result__;
4407 #define PERL_ARGS_ASSERT_UTF8_HOP       \
4408         assert(s)
4409 #endif
4410
4411 #ifndef PERL_NO_INLINE_FUNCTIONS
4412 PERL_STATIC_INLINE U8*  Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
4413                         __attribute__warn_unused_result__;
4414 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK  \
4415         assert(s); assert(start)
4416 #endif
4417
4418 #ifndef PERL_NO_INLINE_FUNCTIONS
4419 PERL_STATIC_INLINE U8*  Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
4420                         __attribute__warn_unused_result__;
4421 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD       \
4422         assert(s); assert(end)
4423 #endif
4424
4425 #ifndef PERL_NO_INLINE_FUNCTIONS
4426 PERL_STATIC_INLINE U8*  Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
4427                         __attribute__warn_unused_result__;
4428 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE  \
4429         assert(s); assert(start); assert(end)
4430 #endif
4431
4432 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
4433                         __attribute__warn_unused_result__;
4434 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
4435         assert(s); assert(e)
4436
4437 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
4438 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
4439         assert(s); assert(lenp)
4440 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);
4441 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE     \
4442         assert(s); assert(d); assert(newlen)
4443 #ifndef NO_MATHOMS
4444 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4445                         __attribute__deprecated__;
4446 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
4447         assert(s)
4448 #endif
4449
4450 PERL_CALLCONV UV        Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4451 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF      \
4452         assert(s); assert(send)
4453 #ifndef PERL_NO_INLINE_FUNCTIONS
4454 PERL_STATIC_INLINE UV   Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4455 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER       \
4456         assert(s); assert(send)
4457 #endif
4458 #ifndef NO_MATHOMS
4459 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4460                         __attribute__deprecated__;
4461 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
4462         assert(s)
4463 #endif
4464
4465 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
4466 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
4467         assert(s)
4468 PERL_CALLCONV UV        Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
4469 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR   \
4470         assert(s)
4471 #ifndef PERL_NO_INLINE_FUNCTIONS
4472 PERL_STATIC_INLINE UV   Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
4473 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS    \
4474         assert(s)
4475 #endif
4476 #ifndef NO_MATHOMS
4477 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4478                         __attribute__deprecated__;
4479 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4480         assert(s)
4481 #endif
4482
4483 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
4484                         __attribute__visibility__("hidden");
4485 #define PERL_ARGS_ASSERT_UTILIZE        \
4486         assert(idop)
4487
4488 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
4489 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8
4490 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
4491 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS
4492 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
4493 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS_MSGS
4494 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
4495 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4496         assert(d)
4497 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV** msgs);
4498 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS    \
4499         assert(d)
4500 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
4501 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
4502         assert(d)
4503 #ifndef PERL_NO_INLINE_FUNCTIONS
4504 PERL_STATIC_INLINE UV   Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
4505                         __attribute__warn_unused_result__;
4506 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
4507         assert(s)
4508 #endif
4509
4510 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
4511 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4512         assert(name)
4513 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
4514 #define PERL_ARGS_ASSERT_VCMP   \
4515         assert(lhv); assert(rhv)
4516 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
4517                         __attribute__noreturn__;
4518 #define PERL_ARGS_ASSERT_VCROAK
4519
4520 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
4521 #define PERL_ARGS_ASSERT_VDEB   \
4522         assert(pat)
4523 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
4524 #define PERL_ARGS_ASSERT_VFORM  \
4525         assert(pat)
4526 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
4527 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4528         assert(sv)
4529 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4530                         __attribute__warn_unused_result__
4531                         __attribute__visibility__("hidden");
4532 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
4533         assert(sv)
4534
4535 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
4536 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
4537         assert(name)
4538 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
4539 #define PERL_ARGS_ASSERT_VMESS  \
4540         assert(pat)
4541 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4542                         __attribute__warn_unused_result__;
4543 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
4544         assert(pat)
4545
4546 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
4547 #define PERL_ARGS_ASSERT_VNORMAL        \
4548         assert(vs)
4549 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
4550 #define PERL_ARGS_ASSERT_VNUMIFY        \
4551         assert(vs)
4552 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
4553 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
4554         assert(vs)
4555 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
4556 #define PERL_ARGS_ASSERT_VVERIFY        \
4557         assert(vs)
4558 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
4559 #define PERL_ARGS_ASSERT_VWARN  \
4560         assert(pat)
4561 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
4562 #define PERL_ARGS_ASSERT_VWARNER        \
4563         assert(pat)
4564 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
4565                         __attribute__visibility__("hidden");
4566 #define PERL_ARGS_ASSERT_WAIT4PID       \
4567         assert(statusp)
4568
4569 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
4570                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
4571 #define PERL_ARGS_ASSERT_WARN   \
4572         assert(pat)
4573
4574 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
4575 #define PERL_ARGS_ASSERT_WARN_SV        \
4576         assert(baseex)
4577 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
4578                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4579 #define PERL_ARGS_ASSERT_WARNER \
4580         assert(pat)
4581
4582 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
4583                         __attribute__warn_unused_result__;
4584 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
4585
4586 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
4587                         __attribute__visibility__("hidden");
4588 #define PERL_ARGS_ASSERT_WATCH  \
4589         assert(addr)
4590
4591 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
4592 #define PERL_ARGS_ASSERT_WHICHSIG
4593 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
4594 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
4595         assert(sig)
4596 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
4597 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
4598         assert(sig)
4599 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
4600 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
4601         assert(sigsv)
4602 PERL_CALLCONV void      Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
4603 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN    \
4604         assert(new_plugin); assert(old_plugin_p)
4605 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
4606 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
4607         assert(new_checker); assert(old_checker_p)
4608 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv)
4609                         __attribute__visibility__("hidden");
4610 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
4611         assert(msv)
4612
4613 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
4614 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
4615 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
4616 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
4617         assert(v_my_perl); assert(file)
4618 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
4619                         __attribute__visibility__("hidden");
4620 #define PERL_ARGS_ASSERT_YYERROR        \
4621         assert(s)
4622
4623 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
4624                         __attribute__visibility__("hidden");
4625 #define PERL_ARGS_ASSERT_YYERROR_PV     \
4626         assert(s)
4627
4628 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
4629                         __attribute__visibility__("hidden");
4630 #define PERL_ARGS_ASSERT_YYERROR_PVN
4631
4632 PERL_CALLCONV int       Perl_yylex(pTHX);
4633 #define PERL_ARGS_ASSERT_YYLEX
4634 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype)
4635                         __attribute__visibility__("hidden");
4636 #define PERL_ARGS_ASSERT_YYPARSE
4637
4638 PERL_CALLCONV void      Perl_yyquit(pTHX)
4639                         __attribute__visibility__("hidden");
4640 #define PERL_ARGS_ASSERT_YYQUIT
4641
4642 PERL_CALLCONV void      Perl_yyunlex(pTHX)
4643                         __attribute__visibility__("hidden");
4644 #define PERL_ARGS_ASSERT_YYUNLEX
4645
4646 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
4647 #ifndef PERL_NO_INLINE_FUNCTIONS
4648 PERL_STATIC_INLINE void *       S_my_memrchr(const char * s, const char c, const STRLEN len);
4649 #define PERL_ARGS_ASSERT_MY_MEMRCHR     \
4650         assert(s)
4651 #endif
4652 #endif
4653 #if ! defined(HAS_NL_LANGINFO_L) && ! defined(HAS_NL_LANGINFO)
4654 #  if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L))                 && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
4655 #    if defined(PERL_IN_LOCALE_C)
4656 #      if defined(USE_LOCALE)
4657 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);
4658 #define PERL_ARGS_ASSERT_GET_NL_ITEM_FROM_LOCALECONV    \
4659         assert(lcbuf)
4660 #      endif
4661 #    endif
4662 #  endif
4663 #endif
4664 #if !(!defined(PERL_EXT_RE_BUILD))
4665 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4666 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)
4667                         __attribute__visibility__("hidden");
4668 #define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
4669         assert(node)
4670
4671 #  endif
4672 #endif
4673 #if !(defined(DEBUGGING))
4674 #  if !defined(NV_PRESERVES_UV)
4675 #    if defined(PERL_IN_SV_C)
4676 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
4677 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4678         assert(sv)
4679 #    endif
4680 #  endif
4681 #endif
4682 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
4683 PERL_CALLCONV const char*       Perl_langinfo(const int item);
4684 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4685 PERL_CALLCONV const char*       Perl_langinfo8(const int item, utf8ness_t * utf8ness);
4686 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
4687 #endif
4688 #if !(defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L))
4689 #  if defined(PERL_IN_LOCALE_C)
4690 #    if defined(USE_LOCALE)
4691 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);
4692 #define PERL_ARGS_ASSERT_MY_LANGINFO_I  \
4693         assert(locale); assert(retbufp)
4694 #    endif
4695 #  endif
4696 #endif
4697 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
4698 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
4699                         __attribute__visibility__("hidden");
4700 #define PERL_ARGS_ASSERT_DO_EXEC        \
4701         assert(cmd)
4702
4703 #endif
4704 #if !(defined(PERL_USE_3ARG_SIGHANDLER))
4705 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
4706 #define PERL_ARGS_ASSERT_CSIGHANDLER
4707 PERL_CALLCONV Signal_t  Perl_sighandler(int sig)
4708                         __attribute__visibility__("hidden");
4709 #define PERL_ARGS_ASSERT_SIGHANDLER
4710
4711 #endif
4712 #if !(defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE))
4713 #  if defined(PERL_IN_LOCALE_C)
4714 #    if defined(USE_LOCALE)
4715 #      if defined(USE_POSIX_2008_LOCALE) || ! defined(LC_ALL)
4716 STATIC const char *     S_calculate_LC_ALL(pTHX_ const char ** individ_locales);
4717 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL       \
4718         assert(individ_locales)
4719 #      endif
4720 #    endif
4721 #  endif
4722 #endif
4723 #if !(defined(_MSC_VER))
4724 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
4725                         __attribute__noreturn__
4726                         __attribute__visibility__("hidden");
4727 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
4728         assert(sv); assert(mg)
4729
4730 #endif
4731 #if !defined(EBCDIC)
4732 #ifndef PERL_NO_INLINE_FUNCTIONS
4733 PERL_STATIC_INLINE unsigned int Perl_variant_byte_number(PERL_UINTMAX_T word)
4734                         __attribute__warn_unused_result__;
4735 #define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
4736 #endif
4737
4738 #endif
4739 #if !defined(HAS_GETENV_LEN)
4740 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
4741                         __attribute__visibility__("hidden");
4742 #define PERL_ARGS_ASSERT_GETENV_LEN     \
4743         assert(env_elem); assert(len)
4744
4745 #endif
4746 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
4747 #  if defined(PERL_IN_PP_SYS_C)
4748 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
4749                         __attribute__warn_unused_result__;
4750 #define PERL_ARGS_ASSERT_DOONELINER     \
4751         assert(cmd); assert(filename)
4752
4753 #  endif
4754 #endif
4755 #if !defined(HAS_MKOSTEMP)
4756 PERL_CALLCONV int       Perl_my_mkostemp(char *templte, int flags)
4757                         __attribute__visibility__("hidden");
4758 #define PERL_ARGS_ASSERT_MY_MKOSTEMP    \
4759         assert(templte)
4760
4761 #endif
4762 #if !defined(HAS_MKSTEMP)
4763 PERL_CALLCONV int       Perl_my_mkstemp(char *templte)
4764                         __attribute__visibility__("hidden");
4765 #define PERL_ARGS_ASSERT_MY_MKSTEMP     \
4766         assert(templte)
4767
4768 #endif
4769 #if !defined(HAS_RENAME)
4770 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
4771                         __attribute__visibility__("hidden");
4772 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
4773         assert(a); assert(b)
4774
4775 #endif
4776 #if !defined(HAS_SIGNBIT)
4777 PERL_CALLCONV int       Perl_signbit(NV f)
4778                         __attribute__warn_unused_result__
4779                         __attribute__pure__;
4780 #define PERL_ARGS_ASSERT_PERL_SIGNBIT
4781
4782 #endif
4783 #if !defined(HAS_STRLCAT)
4784 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
4785 #define PERL_ARGS_ASSERT_MY_STRLCAT
4786 #endif
4787 #if !defined(HAS_STRLCPY)
4788 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
4789 #define PERL_ARGS_ASSERT_MY_STRLCPY
4790 #endif
4791 #if !defined(HAS_STRNLEN)
4792 #ifndef PERL_NO_INLINE_FUNCTIONS
4793 PERL_STATIC_INLINE Size_t       Perl_my_strnlen(const char *str, Size_t maxlen);
4794 #define PERL_ARGS_ASSERT_MY_STRNLEN     \
4795         assert(str)
4796 #endif
4797 #endif
4798 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
4799 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
4800                         __attribute__warn_unused_result__;
4801 #define PERL_ARGS_ASSERT_MY_CHSIZE
4802
4803 #endif
4804 #if !defined(NV_PRESERVES_UV)
4805 #  if defined(DEBUGGING)
4806 #    if defined(PERL_IN_SV_C)
4807 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
4808 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4809         assert(sv)
4810 #    endif
4811 #  endif
4812 #endif
4813 #if !defined(PERL_DISABLE_PMC)
4814 #  if defined(PERL_IN_PP_CTL_C)
4815 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
4816                         __attribute__warn_unused_result__;
4817 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
4818         assert(name)
4819
4820 #  endif
4821 #endif
4822 #if !defined(PERL_EXT_RE_BUILD)
4823 #  if defined(PERL_IN_REGCOMP_C)
4824 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4825 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
4826         assert(invlist)
4827 #ifndef PERL_NO_INLINE_FUNCTIONS
4828 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
4829                         __attribute__warn_unused_result__;
4830 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
4831         assert(invlist)
4832 #endif
4833
4834 #ifndef PERL_NO_INLINE_FUNCTIONS
4835 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
4836                         __attribute__warn_unused_result__;
4837 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
4838         assert(invlist)
4839 #endif
4840
4841 STATIC void     S_initialize_invlist_guts(pTHX_ SV* invlist, const Size_t initial_size);
4842 #define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS        \
4843         assert(invlist)
4844 #ifndef PERL_NO_INLINE_FUNCTIONS
4845 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
4846 #define PERL_ARGS_ASSERT_INVLIST_CLEAR  \
4847         assert(invlist)
4848 #endif
4849 #ifndef PERL_NO_INLINE_FUNCTIONS
4850 PERL_STATIC_INLINE UV   S_invlist_max(const SV* const invlist)
4851                         __attribute__warn_unused_result__;
4852 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
4853         assert(invlist)
4854 #endif
4855
4856 #ifndef PERL_NO_INLINE_FUNCTIONS
4857 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
4858                         __attribute__warn_unused_result__;
4859 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
4860         assert(invlist)
4861 #endif
4862
4863 STATIC void     S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
4864 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC      \
4865         assert(dest); assert(src)
4866 #ifndef PERL_NO_INLINE_FUNCTIONS
4867 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
4868 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
4869         assert(invlist)
4870 #endif
4871 #ifndef PERL_NO_INLINE_FUNCTIONS
4872 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
4873 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
4874         assert(invlist)
4875 #endif
4876 #  endif
4877 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4878 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)
4879                         __attribute__visibility__("hidden");
4880 #define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA  \
4881         assert(node)
4882
4883 #  endif
4884 #endif
4885 #if !defined(PERL_IMPLICIT_SYS)
4886 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
4887 #define PERL_ARGS_ASSERT_MY_PCLOSE
4888 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
4889 #define PERL_ARGS_ASSERT_MY_POPEN       \
4890         assert(cmd); assert(mode)
4891 #endif
4892 #if !defined(PERL_IS_MINIPERL)
4893 #  if defined(PERL_IN_PERL_C)
4894 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
4895 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
4896         assert(av); assert(dir); assert(stem)
4897 #  endif
4898 #endif
4899 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4900 #ifndef PERL_NO_INLINE_FUNCTIONS
4901 PERL_STATIC_INLINE void Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4902 #define PERL_ARGS_ASSERT_CX_POPBLOCK    \
4903         assert(cx)
4904 #endif
4905 #ifndef PERL_NO_INLINE_FUNCTIONS
4906 PERL_STATIC_INLINE void Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4907 #define PERL_ARGS_ASSERT_CX_POPEVAL     \
4908         assert(cx)
4909 #endif
4910 #ifndef PERL_NO_INLINE_FUNCTIONS
4911 PERL_STATIC_INLINE void Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4912 #define PERL_ARGS_ASSERT_CX_POPFORMAT   \
4913         assert(cx)
4914 #endif
4915 #ifndef PERL_NO_INLINE_FUNCTIONS
4916 PERL_STATIC_INLINE void Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4917 #define PERL_ARGS_ASSERT_CX_POPGIVEN    \
4918         assert(cx)
4919 #endif
4920 #ifndef PERL_NO_INLINE_FUNCTIONS
4921 PERL_STATIC_INLINE void Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4922 #define PERL_ARGS_ASSERT_CX_POPLOOP     \
4923         assert(cx)
4924 #endif
4925 #ifndef PERL_NO_INLINE_FUNCTIONS
4926 PERL_STATIC_INLINE void Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4927 #define PERL_ARGS_ASSERT_CX_POPSUB      \
4928         assert(cx)
4929 #endif
4930 #ifndef PERL_NO_INLINE_FUNCTIONS
4931 PERL_STATIC_INLINE void Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4932 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4933         assert(cx)
4934 #endif
4935 #ifndef PERL_NO_INLINE_FUNCTIONS
4936 PERL_STATIC_INLINE void Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4937 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON       \
4938         assert(cx)
4939 #endif
4940 #ifndef PERL_NO_INLINE_FUNCTIONS
4941 PERL_STATIC_INLINE void Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4942 #define PERL_ARGS_ASSERT_CX_POPWHEN     \
4943         assert(cx)
4944 #endif
4945 #ifndef PERL_NO_INLINE_FUNCTIONS
4946 PERL_STATIC_INLINE PERL_CONTEXT *       Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4947 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK   \
4948         assert(sp)
4949 #endif
4950 #ifndef PERL_NO_INLINE_FUNCTIONS
4951 PERL_STATIC_INLINE void Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4952 #define PERL_ARGS_ASSERT_CX_PUSHEVAL    \
4953         assert(cx)
4954 #endif
4955 #ifndef PERL_NO_INLINE_FUNCTIONS
4956 PERL_STATIC_INLINE void Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4957 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT  \
4958         assert(cx); assert(cv)
4959 #endif
4960 #ifndef PERL_NO_INLINE_FUNCTIONS
4961 PERL_STATIC_INLINE void Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4962 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN   \
4963         assert(cx)
4964 #endif
4965 #ifndef PERL_NO_INLINE_FUNCTIONS
4966 PERL_STATIC_INLINE void Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4967 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR        \
4968         assert(cx); assert(itervarp)
4969 #endif
4970 #ifndef PERL_NO_INLINE_FUNCTIONS
4971 PERL_STATIC_INLINE void Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
4972 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN      \
4973         assert(cx)
4974 #endif
4975 #ifndef PERL_NO_INLINE_FUNCTIONS
4976 PERL_STATIC_INLINE void Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
4977 #define PERL_ARGS_ASSERT_CX_PUSHSUB     \
4978         assert(cx); assert(cv)
4979 #endif
4980 #ifndef PERL_NO_INLINE_FUNCTIONS
4981 PERL_STATIC_INLINE void Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
4982 #define PERL_ARGS_ASSERT_CX_PUSHTRY     \
4983         assert(cx)
4984 #endif
4985 #ifndef PERL_NO_INLINE_FUNCTIONS
4986 PERL_STATIC_INLINE void Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
4987 #define PERL_ARGS_ASSERT_CX_PUSHWHEN    \
4988         assert(cx)
4989 #endif
4990 #ifndef PERL_NO_INLINE_FUNCTIONS
4991 PERL_STATIC_INLINE void Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
4992 #define PERL_ARGS_ASSERT_CX_TOPBLOCK    \
4993         assert(cx)
4994 #endif
4995 #ifndef PERL_NO_INLINE_FUNCTIONS
4996 PERL_STATIC_INLINE U8   Perl_gimme_V(pTHX);
4997 #define PERL_ARGS_ASSERT_GIMME_V
4998 #endif
4999 #endif
5000 #if !defined(PERL_NO_UTF16_FILTER)
5001 #  if defined(PERL_IN_TOKE_C)
5002 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
5003 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
5004         assert(s)
5005 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5006 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
5007         assert(sv)
5008 #  endif
5009 #endif
5010 #if !defined(PURIFY)
5011 #  if defined(PERL_IN_HV_C)
5012 STATIC HE*      S_new_he(pTHX)
5013                         __attribute__warn_unused_result__;
5014 #define PERL_ARGS_ASSERT_NEW_HE
5015
5016 #  endif
5017 #endif
5018 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
5019 #  if defined(PERL_IN_PERL_C)
5020 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
5021 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
5022         assert(rsfp)
5023 #  endif
5024 #endif
5025 #if !defined(USE_ITHREADS)
5026 /* PERL_CALLCONV void   CopFILEGV_set(pTHX_ COP * c, GV * gv); */
5027 #define PERL_ARGS_ASSERT_COPFILEGV_SET
5028 #endif
5029 #if !defined(USE_QUERYLOCALE)
5030 #  if defined(PERL_IN_LOCALE_C)
5031 #    if defined(USE_LOCALE)
5032 #      if defined(USE_POSIX_2008_LOCALE)
5033 STATIC const char *     S_find_locale_from_environment(pTHX_ const unsigned int index);
5034 #define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
5035 STATIC const char*      S_update_PL_curlocales_i(pTHX_ const unsigned int index, const char * new_locale, recalc_lc_all_t recalc_LC_ALL);
5036 #define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
5037         assert(new_locale)
5038 #      endif
5039 #    endif
5040 #  endif
5041 #endif
5042 #if !defined(WIN32)
5043 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
5044                         __attribute__visibility__("hidden");
5045 #define PERL_ARGS_ASSERT_DO_EXEC3       \
5046         assert(incmd)
5047
5048 #endif
5049 #if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L))                   && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
5050 #  if defined(PERL_IN_LOCALE_C)
5051 #    if defined(USE_LOCALE)
5052 STATIC HV *     S_my_localeconv(pTHX_ const int item, const locale_utf8ness_t locale_is_utf8);
5053 #define PERL_ARGS_ASSERT_MY_LOCALECONV
5054 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);
5055 #define PERL_ARGS_ASSERT_POPULATE_LOCALECONV    \
5056         assert(lcbuf)
5057 #    endif
5058 #  endif
5059 #endif
5060 #if 0   /* Not currently used, but may be needed in the future */
5061 #  if defined(PERL_IN_UTF8_C)
5062 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);
5063 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE   \
5064         assert(name); assert(alternative); assert(file)
5065 #  endif
5066 #endif
5067 #if defined (HAS_SOCKETPAIR) ||     (defined (HAS_SOCKET) && defined(SOCK_DGRAM) &&     defined(AF_INET) && defined(PF_INET))
5068 PERL_CALLCONV int       Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5069                         __attribute__warn_unused_result__
5070                         __attribute__visibility__("hidden");
5071 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC    \
5072         assert(pairfd)
5073
5074 #endif
5075 #if defined(DEBUGGING)
5076 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5077                         __attribute__warn_unused_result__
5078                         __attribute__visibility__("hidden");
5079 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5080         assert(s)
5081
5082 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
5083 #define PERL_ARGS_ASSERT_HV_ASSERT      \
5084         assert(hv)
5085 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
5086 #define PERL_ARGS_ASSERT_PAD_SETSV      \
5087         assert(sv)
5088 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
5089 #define PERL_ARGS_ASSERT_PAD_SV
5090 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
5091 #define PERL_ARGS_ASSERT_SET_PADLIST    \
5092         assert(cv)
5093 #  if defined(PERL_IN_LOCALE_C)
5094 STATIC void     S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
5095 #define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
5096         assert(s); assert(e)
5097 #    if defined(USE_LOCALE)
5098 STATIC const char *     S_get_LC_ALL_display(pTHX);
5099 #define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
5100 STATIC char *   S_setlocale_debug_string_i(const unsigned cat_index, const char* const locale, const char* const retval)
5101                         __attribute__warn_unused_result__;
5102 #define PERL_ARGS_ASSERT_SETLOCALE_DEBUG_STRING_I
5103
5104 #      if defined(USE_LOCALE_COLLATE)
5105 STATIC void     S_print_collxfrm_input_and_return(pTHX_ const char * s, const char * e, const char * xbuf, const STRLEN xlen, const bool is_utf8);
5106 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN        \
5107         assert(s); assert(e)
5108 #      endif
5109 #    endif
5110 #  endif
5111 #  if defined(PERL_IN_PAD_C)
5112 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
5113 #define PERL_ARGS_ASSERT_CV_DUMP        \
5114         assert(cv); assert(title)
5115 #  endif
5116 #  if defined(PERL_IN_REGCOMP_C)
5117 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
5118 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
5119         assert(trie); assert(revcharmap)
5120 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5121 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5122         assert(trie); assert(revcharmap)
5123 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5124 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
5125         assert(trie); assert(revcharmap)
5126 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);
5127 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
5128         assert(r); assert(start); assert(node); assert(sv)
5129 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);
5130 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
5131         assert(sv)
5132 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);
5133 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON    \
5134         assert(invlist)
5135 STATIC void     S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
5136 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST   \
5137         assert(sv); assert(invlist)
5138 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
5139 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
5140         assert(sv)
5141 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
5142 #define PERL_ARGS_ASSERT_PUT_RANGE      \
5143         assert(sv)
5144 PERL_CALLCONV int       Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
5145                         __attribute__visibility__("hidden");
5146 #define PERL_ARGS_ASSERT_RE_INDENTF     \
5147         assert(fmt)
5148
5149 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5150 #define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
5151 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
5152 #define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
5153 STATIC regnode_offset   S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
5154 #define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG     \
5155         assert(pRExC_state)
5156 STATIC bool     S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
5157                         __attribute__warn_unused_result__;
5158 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
5159         assert(pRExC_state); assert(p); assert(val)
5160
5161 #  endif
5162 #  if defined(PERL_IN_REGEXEC_C)
5163 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
5164 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
5165         assert(prog); assert(start); assert(end); assert(blurb)
5166 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);
5167 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
5168         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5169 PERL_CALLCONV int       Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
5170                         __attribute__visibility__("hidden");
5171 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF        \
5172         assert(fmt)
5173
5174 #  endif
5175 #  if defined(PERL_IN_SV_C)
5176 STATIC void     S_del_sv(pTHX_ SV *p);
5177 #define PERL_ARGS_ASSERT_DEL_SV \
5178         assert(p)
5179 #  endif
5180 #  if defined(PERL_IN_TOKE_C)
5181 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
5182                         __attribute__format__(__printf__,pTHX_1,0);
5183 #define PERL_ARGS_ASSERT_PRINTBUF       \
5184         assert(fmt); assert(s)
5185
5186 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
5187 #define PERL_ARGS_ASSERT_TOKEREPORT     \
5188         assert(lvalp)
5189 #  endif
5190 #endif
5191 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
5192 #  if defined(PERL_IN_REGCOMP_C)
5193 STATIC void     S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
5194 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES     \
5195         assert(pRExC_state); assert(stack); assert(fence_stack)
5196 #  endif
5197 #endif
5198 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5199 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv)
5200                         __attribute__visibility__("hidden");
5201 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
5202         assert(sv)
5203
5204 #endif
5205 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5206 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
5207                         __attribute__visibility__("hidden");
5208 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
5209         assert(mark); assert(sp)
5210
5211 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
5212                         __attribute__visibility__("hidden");
5213 #define PERL_ARGS_ASSERT_DO_IPCGET      \
5214         assert(mark); assert(sp)
5215
5216 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
5217                         __attribute__visibility__("hidden");
5218 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
5219         assert(mark); assert(sp)
5220
5221 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
5222                         __attribute__visibility__("hidden");
5223 #define PERL_ARGS_ASSERT_DO_MSGSND      \
5224         assert(mark); assert(sp)
5225
5226 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
5227                         __attribute__visibility__("hidden");
5228 #define PERL_ARGS_ASSERT_DO_SEMOP       \
5229         assert(mark); assert(sp)
5230
5231 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
5232                         __attribute__visibility__("hidden");
5233 #define PERL_ARGS_ASSERT_DO_SHMIO       \
5234         assert(mark); assert(sp)
5235
5236 #endif
5237 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
5238 PERL_CALLCONV const char*       Perl_langinfo(const nl_item item);
5239 #define PERL_ARGS_ASSERT_PERL_LANGINFO
5240 PERL_CALLCONV const char*       Perl_langinfo8(const nl_item item, utf8ness_t * utf8ness);
5241 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
5242 #endif
5243 #if defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L)
5244 #  if defined(PERL_IN_LOCALE_C)
5245 #    if defined(USE_LOCALE)
5246 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);
5247 #define PERL_ARGS_ASSERT_MY_LANGINFO_I  \
5248         assert(locale); assert(retbufp)
5249 #    endif
5250 #  endif
5251 #endif
5252 #if defined(HAS_PIPE)
5253 PERL_CALLCONV int       Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5254                         __attribute__warn_unused_result__
5255                         __attribute__visibility__("hidden");
5256 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC  \
5257         assert(pipefd)
5258
5259 #endif
5260 #if defined(HAS_SOCKET)
5261 PERL_CALLCONV int       Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5262                         __attribute__warn_unused_result__
5263                         __attribute__visibility__("hidden");
5264 #define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5265
5266 PERL_CALLCONV int       Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5267                         __attribute__warn_unused_result__
5268                         __attribute__visibility__("hidden");
5269 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5270
5271 #endif
5272 #if defined(HAVE_INTERP_INTERN)
5273 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
5274 #define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5275 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
5276 #define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5277 #  if defined(USE_ITHREADS)
5278 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
5279 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5280         assert(src); assert(dst)
5281 #  endif
5282 #endif
5283 #if defined(MULTIPLICITY)
5284 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
5285                         __attribute__noreturn__
5286                         __attribute__format__null_ok__(__printf__,1,2);
5287 #define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5288
5289 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
5290                         __attribute__format__(__printf__,1,2);
5291 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
5292         assert(pat)
5293
5294 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
5295                         __attribute__noreturn__
5296                         __attribute__format__null_ok__(__printf__,1,2);
5297 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5298
5299 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
5300                         __attribute__format__(__printf__,1,2);
5301 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5302         assert(pat)
5303
5304 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
5305 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
5306         assert(name)
5307 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
5308                         __attribute__format__(__printf__,1,2);
5309 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5310         assert(pat)
5311
5312 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5313 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
5314         assert(indexp)
5315 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
5316                         __attribute__format__(__printf__,1,2);
5317 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
5318         assert(pat)
5319
5320 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5321                         __attribute__format__(__printf__,2,3);
5322 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5323         assert(sv); assert(pat)
5324
5325 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
5326                         __attribute__format__(__printf__,2,3);
5327 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
5328         assert(sv); assert(pat)
5329
5330 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5331                         __attribute__format__(__printf__,2,3);
5332 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5333         assert(sv); assert(pat)
5334
5335 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
5336                         __attribute__format__(__printf__,2,3);
5337 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
5338         assert(sv); assert(pat)
5339
5340 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
5341                         __attribute__format__(__printf__,1,2);
5342 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5343         assert(pat)
5344
5345 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
5346                         __attribute__format__(__printf__,2,3);
5347 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
5348         assert(pat)
5349
5350 #endif
5351 #if defined(MYMALLOC)
5352 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
5353 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
5354         assert(s)
5355 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5356 #define PERL_ARGS_ASSERT_GET_MSTATS     \
5357         assert(buf)
5358 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
5359                         __attribute__warn_unused_result__
5360                         __attribute__visibility__("hidden");
5361 #define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5362
5363 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
5364                         __attribute__warn_unused_result__
5365                         __attribute__visibility__("hidden");
5366 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
5367         assert(p)
5368
5369 #endif
5370 #if defined(PERL_ANY_COW)
5371 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv);
5372 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
5373         assert(ssv)
5374 #endif
5375 #if defined(PERL_CORE)
5376 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab)
5377                         __attribute__visibility__("hidden");
5378 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
5379         assert(slab)
5380
5381 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab)
5382                         __attribute__visibility__("hidden");
5383 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
5384         assert(slab)
5385
5386 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
5387                         __attribute__visibility__("hidden");
5388 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
5389         assert(slab)
5390
5391 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
5392                         __attribute__visibility__("hidden");
5393 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
5394         assert(parser); assert(slab)
5395
5396 #ifndef PERL_NO_INLINE_FUNCTIONS
5397 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
5398                         __attribute__warn_unused_result__;
5399 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
5400         assert(pv)
5401 #endif
5402
5403 #  if defined(PERL_DEBUG_READONLY_OPS)
5404 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
5405 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
5406         assert(slab)
5407 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
5408 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
5409         assert(slab)
5410 #  endif
5411 #endif
5412 #if defined(PERL_CORE) || defined (PERL_EXT)
5413 #ifndef PERL_NO_INLINE_FUNCTIONS
5414 PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
5415                         __attribute__warn_unused_result__;
5416 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING   \
5417         assert(s)
5418 #endif
5419
5420 #ifndef PERL_NO_INLINE_FUNCTIONS
5421 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
5422 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
5423         assert(sv); assert(pv)
5424 #endif
5425 #endif
5426 #if defined(PERL_CORE) || defined(PERL_EXT)
5427 PERL_CALLCONV bool      Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
5428                         __attribute__warn_unused_result__;
5429 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN   \
5430         assert(s); assert(send)
5431
5432 #ifndef PERL_NO_INLINE_FUNCTIONS
5433 PERL_STATIC_INLINE Size_t       S_variant_under_utf8_count(const U8* const s, const U8* const e)
5434                         __attribute__warn_unused_result__;
5435 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT       \
5436         assert(s); assert(e)
5437 #endif
5438
5439 #endif
5440 #if defined(PERL_CR_FILTER)
5441 #  if defined(PERL_IN_TOKE_C)
5442 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5443 #define PERL_ARGS_ASSERT_CR_TEXTFILTER
5444 STATIC void     S_strip_return(pTHX_ SV *sv);
5445 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
5446         assert(sv)
5447 #  endif
5448 #endif
5449 #if defined(PERL_DEBUG_READONLY_COW)
5450 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv)
5451                         __attribute__visibility__("hidden");
5452 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
5453         assert(sv)
5454
5455 #  if defined(PERL_IN_SV_C)
5456 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
5457 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
5458         assert(sv)
5459 #  endif
5460 #endif
5461 #if defined(PERL_DEBUG_READONLY_OPS)
5462 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
5463 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
5464         assert(o)
5465 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
5466 #define PERL_ARGS_ASSERT_OP_REFCNT_INC
5467 #endif
5468 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
5469 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
5470                         __attribute__visibility__("hidden");
5471 #define PERL_ARGS_ASSERT_DO_EXEC        \
5472         assert(cmd)
5473
5474 #endif
5475 #if defined(PERL_DONT_CREATE_GVSV)
5476 #ifndef NO_MATHOMS
5477 PERL_CALLCONV GV*       Perl_gv_SVadd(pTHX_ GV *gv);
5478 #define PERL_ARGS_ASSERT_GV_SVADD
5479 #endif
5480 #endif
5481 #if defined(PERL_IMPLICIT_SYS)
5482 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);
5483 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
5484         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5485 #  if defined(USE_ITHREADS)
5486 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);
5487 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
5488         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5489 #  endif
5490 #endif
5491 #if defined(PERL_IN_AV_C)
5492 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
5493 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
5494         assert(av)
5495 #endif
5496 #if defined(PERL_IN_DEB_C)
5497 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
5498 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
5499         assert(stack_base)
5500 #endif
5501 #if defined(PERL_IN_DOIO_C)
5502 STATIC bool     S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
5503 #define PERL_ARGS_ASSERT_ARGVOUT_FINAL  \
5504         assert(mg); assert(io)
5505 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
5506 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
5507         assert(cmd)
5508 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
5509                         __attribute__warn_unused_result__;
5510 #define PERL_ARGS_ASSERT_INGROUP
5511
5512 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);
5513 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
5514         assert(gv); assert(io); assert(mode); assert(oname)
5515 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
5516 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
5517         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
5518 #endif
5519 #if defined(PERL_IN_DOOP_C)
5520 STATIC Size_t   S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5521                         __attribute__warn_unused_result__;
5522 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
5523         assert(sv); assert(tbl)
5524
5525 STATIC Size_t   S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5526                         __attribute__warn_unused_result__;
5527 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
5528         assert(sv); assert(tbl)
5529
5530 STATIC Size_t   S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
5531                         __attribute__warn_unused_result__;
5532 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP  \
5533         assert(sv); assert(map)
5534
5535 STATIC Size_t   S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
5536                         __attribute__warn_unused_result__;
5537 #define PERL_ARGS_ASSERT_DO_TRANS_INVMAP        \
5538         assert(sv); assert(map)
5539
5540 STATIC Size_t   S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5541                         __attribute__warn_unused_result__;
5542 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
5543         assert(sv); assert(tbl)
5544
5545 #endif
5546 #if defined(PERL_IN_DUMP_C)
5547 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
5548 #define PERL_ARGS_ASSERT_DEB_CURCV
5549 STATIC void     S_debprof(pTHX_ const OP *o);
5550 #define PERL_ARGS_ASSERT_DEBPROF        \
5551         assert(o)
5552 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
5553 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5554         assert(pm)
5555 STATIC UV       S_sequence_num(pTHX_ const OP *o);
5556 #define PERL_ARGS_ASSERT_SEQUENCE_NUM
5557 #endif
5558 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
5559 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv)
5560                         __attribute__visibility__("hidden");
5561 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
5562         assert(hv)
5563
5564 #endif
5565 #if defined(PERL_IN_GV_C)
5566 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);
5567 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
5568         assert(stash); assert(name)
5569 #ifndef PERL_NO_INLINE_FUNCTIONS
5570 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
5571 #define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
5572 #endif
5573 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
5574 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
5575         assert(gv)
5576 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
5577 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
5578         assert(name)
5579 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
5580 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
5581         assert(gv); assert(stash); assert(name)
5582 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
5583 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
5584         assert(gv)
5585 #ifndef PERL_NO_INLINE_FUNCTIONS
5586 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
5587 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
5588         assert(name)
5589 #endif
5590 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
5591 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
5592         assert(gv); assert(name)
5593 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);
5594 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
5595         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5596 STATIC void     S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
5597 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
5598         assert(gv); assert(varname); assert(name)
5599 #endif
5600 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5601 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5602                         __attribute__visibility__("hidden");
5603 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5604         assert(tsv); assert(sv)
5605
5606 #endif
5607 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
5608 PERL_CALLCONV HV*       Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags)
5609                         __attribute__visibility__("hidden");
5610
5611 #endif
5612 #if defined(PERL_IN_HV_C)
5613 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
5614 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
5615         assert(hv)
5616 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
5617 #define PERL_ARGS_ASSERT_HSPLIT \
5618         assert(hv)
5619 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
5620 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
5621         assert(hv)
5622 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5623 #define PERL_ARGS_ASSERT_HV_DELETE_COMMON
5624 STATIC SV*      S_hv_free_ent_ret(pTHX_ HE *entry);
5625 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
5626         assert(entry)
5627 STATIC void     S_hv_free_entries(pTHX_ HV *hv);
5628 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES        \
5629         assert(hv)
5630 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
5631 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5632         assert(hv); assert(needs_copy); assert(needs_store)
5633 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5634                         __attribute__noreturn__;
5635 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
5636         assert(key); assert(msg)
5637
5638 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
5639 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
5640         assert(he)
5641 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5642                         __attribute__malloc__
5643                         __attribute__warn_unused_result__;
5644 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5645         assert(str)
5646
5647 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
5648                         __attribute__warn_unused_result__;
5649 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
5650         assert(str)
5651
5652 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5653 #define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
5654 #endif
5655 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5656 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5657                         __attribute__visibility__("hidden");
5658 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
5659         assert(sv)
5660
5661 #endif
5662 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5663 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
5664                         __attribute__visibility__("hidden");
5665 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
5666         assert(hv); assert(indexp)
5667
5668 #endif
5669 #if defined(PERL_IN_LOCALE_C)
5670 #  if defined(USE_LOCALE)
5671 STATIC unsigned int     S_get_category_index(const int category, const char * locale);
5672 #define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
5673 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);
5674 #define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
5675 STATIC bool     S_is_locale_utf8(pTHX_ const char * locale);
5676 #define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \
5677         assert(locale)
5678 #ifndef PERL_NO_INLINE_FUNCTIONS
5679 PERL_STATIC_INLINE const char * S_mortalized_pv_copy(pTHX_ const char * const pv)
5680                         __attribute__warn_unused_result__;
5681 #define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
5682 #endif
5683
5684 STATIC void     S_new_LC_ALL(pTHX_ const char* unused);
5685 #define PERL_ARGS_ASSERT_NEW_LC_ALL
5686 STATIC void     S_restore_toggled_locale_i(pTHX_ const unsigned cat_index, const char * original_locale, const line_t caller_line);
5687 #define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
5688 STATIC const char *     S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size);
5689 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
5690 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)
5691                         __attribute__noreturn__;
5692 #define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_I      \
5693         assert(failed)
5694
5695 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);
5696 #define PERL_ARGS_ASSERT_STDIZE_LOCALE
5697 STATIC const char *     S_toggle_locale_i(pTHX_ const unsigned switch_cat_index, const char * new_locale, const line_t caller_line);
5698 #define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I        \
5699         assert(new_locale)
5700 #    if defined(USE_LOCALE_COLLATE)
5701 STATIC void     S_new_collate(pTHX_ const char* newcoll);
5702 #define PERL_ARGS_ASSERT_NEW_COLLATE    \
5703         assert(newcoll)
5704 #    endif
5705 #    if defined(USE_LOCALE_CTYPE)
5706 STATIC bool     S_is_codeset_name_UTF8(const char * name);
5707 #define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8   \
5708         assert(name)
5709 STATIC void     S_new_ctype(pTHX_ const char* newctype);
5710 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
5711         assert(newctype)
5712 #    endif
5713 #    if defined(USE_LOCALE_NUMERIC)
5714 STATIC void     S_new_numeric(pTHX_ const char* newnum);
5715 #define PERL_ARGS_ASSERT_NEW_NUMERIC    \
5716         assert(newnum)
5717 #    endif
5718 #    if defined(USE_POSIX_2008_LOCALE)
5719 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);
5720 #define PERL_ARGS_ASSERT_EMULATE_SETLOCALE_I
5721 STATIC const char*      S_my_querylocale_i(pTHX_ const unsigned int index);
5722 #define PERL_ARGS_ASSERT_MY_QUERYLOCALE_I
5723 STATIC const char *     S_setlocale_from_aggregate_LC_ALL(pTHX_ const char * locale, const line_t line);
5724 #define PERL_ARGS_ASSERT_SETLOCALE_FROM_AGGREGATE_LC_ALL        \
5725         assert(locale)
5726 STATIC locale_t S_use_curlocale_scratch(pTHX);
5727 #define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
5728 #    endif
5729 #    if defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE)
5730 STATIC const char *     S_calculate_LC_ALL(pTHX_ const locale_t cur_obj);
5731 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL
5732 #    endif
5733 #    if defined(WIN32)
5734 PERL_CALLCONV wchar_t * Perl_Win_utf8_string_to_wstring(const char * utf8_string);
5735 #define PERL_ARGS_ASSERT_WIN_UTF8_STRING_TO_WSTRING
5736 PERL_CALLCONV char *    Perl_Win_wstring_to_utf8_string(const wchar_t * wstring);
5737 #define PERL_ARGS_ASSERT_WIN_WSTRING_TO_UTF8_STRING
5738 STATIC char*    S_win32_setlocale(pTHX_ int category, const char* locale);
5739 #define PERL_ARGS_ASSERT_WIN32_SETLOCALE
5740 #    endif
5741 #  endif
5742 #endif
5743 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
5744 #  if defined(USE_LOCALE_COLLATE)
5745 PERL_CALLCONV char*     Perl_mem_collxfrm_(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8)
5746                         __attribute__visibility__("hidden");
5747 #define PERL_ARGS_ASSERT_MEM_COLLXFRM_  \
5748         assert(input_string); assert(xlen)
5749
5750 #  endif
5751 #endif
5752 #if defined(PERL_IN_MALLOC_C)
5753 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
5754 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
5755         assert(nbytes_p)
5756 #endif
5757 #if defined(PERL_IN_MG_C)
5758 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
5759 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
5760         assert(sv)
5761 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
5762 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
5763         assert(sv); assert(mg); assert(meth)
5764 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
5765 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
5766         assert(sv); assert(mg); assert(meth)
5767 STATIC void     S_restore_magic(pTHX_ const void *p);
5768 #define PERL_ARGS_ASSERT_RESTORE_MAGIC
5769 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
5770 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
5771         assert(sv)
5772 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
5773 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
5774 #endif
5775 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
5776 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)
5777                         __attribute__visibility__("hidden");
5778 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
5779         assert(posp); assert(lenp)
5780
5781 #endif
5782 #if defined(PERL_IN_MRO_C)
5783 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
5784 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
5785         assert(isa); assert(name)
5786 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
5787 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
5788         assert(stashes); assert(seen_stashes); assert(namesv)
5789 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
5790 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
5791         assert(stash)
5792 #endif
5793 #if defined(PERL_IN_NUMERIC_C)
5794 STATIC void     S_output_non_portable(pTHX_ const U8 shift);
5795 #define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
5796 #endif
5797 #if defined(PERL_IN_OP_C)
5798 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
5799 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
5800         assert(stash); assert(target)
5801 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
5802 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
5803         assert(stash); assert(target); assert(imopsp)
5804 STATIC I32      S_assignment_type(pTHX_ const OP *o)
5805                         __attribute__warn_unused_result__;
5806 #define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
5807
5808 STATIC void     S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
5809 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
5810         assert(gv); assert(kid); assert(t)
5811 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
5812 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
5813         assert(t); assert(o); assert(kid)
5814 STATIC void     S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
5815 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS   \
5816         assert(fullname); assert(gv); assert(cv)
5817 STATIC void     S_cop_free(pTHX_ COP *cop);
5818 #define PERL_ARGS_ASSERT_COP_FREE       \
5819         assert(cop)
5820 STATIC OP *     S_dup_attrlist(pTHX_ OP *o);
5821 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
5822         assert(o)
5823 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o);
5824 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
5825         assert(o)
5826 STATIC OP*      S_fold_constants(pTHX_ OP * const o);
5827 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
5828         assert(o)
5829 STATIC OP*      S_force_list(pTHX_ OP* arg, bool nullit);
5830 #define PERL_ARGS_ASSERT_FORCE_LIST
5831 STATIC void     S_forget_pmop(pTHX_ PMOP *const o);
5832 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
5833         assert(o)
5834 STATIC void     S_gen_constant_list(pTHX_ OP* o);
5835 #define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
5836 STATIC void     S_inplace_aassign(pTHX_ OP* o);
5837 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
5838         assert(o)
5839 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
5840                         __attribute__warn_unused_result__;
5841 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
5842         assert(o)
5843
5844 STATIC OP*      S_listkids(pTHX_ OP* o);
5845 #define PERL_ARGS_ASSERT_LISTKIDS
5846 STATIC bool     S_looks_like_bool(pTHX_ const OP* o);
5847 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
5848         assert(o)
5849 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
5850 #define PERL_ARGS_ASSERT_MODKIDS
5851 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
5852 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
5853         assert(proto); assert(attrs); assert(name)
5854 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
5855 #define PERL_ARGS_ASSERT_MY_KID \
5856         assert(imopsp)
5857 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
5858 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
5859         assert(block)
5860 #ifndef PERL_NO_INLINE_FUNCTIONS
5861 PERL_STATIC_INLINE OP*  S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
5862 #define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
5863 #endif
5864 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
5865                         __attribute__warn_unused_result__;
5866 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
5867         assert(firstp); assert(otherp)
5868
5869 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
5870                         __attribute__warn_unused_result__;
5871 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
5872         assert(o)
5873
5874 #ifndef PERL_NO_INLINE_FUNCTIONS
5875 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o);
5876 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
5877         assert(o)
5878 #endif
5879 #ifndef PERL_NO_INLINE_FUNCTIONS
5880 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o);
5881 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
5882         assert(o)
5883 #endif
5884 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
5885 #define PERL_ARGS_ASSERT_PMTRANS        \
5886         assert(o); assert(expr); assert(repl)
5887 STATIC bool     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
5888 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
5889         assert(fullname); assert(gv); assert(cv)
5890 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
5891 #define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
5892 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
5893 #define PERL_ARGS_ASSERT_REFKIDS
5894 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
5895                         __attribute__warn_unused_result__;
5896 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
5897
5898 STATIC OP*      S_scalarboolean(pTHX_ OP *o);
5899 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
5900         assert(o)
5901 STATIC OP*      S_scalarkids(pTHX_ OP* o);
5902 #define PERL_ARGS_ASSERT_SCALARKIDS
5903 STATIC OP*      S_search_const(pTHX_ OP *o)
5904                         __attribute__warn_unused_result__;
5905 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
5906         assert(o)
5907
5908 STATIC void     S_simplify_sort(pTHX_ OP *o);
5909 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
5910         assert(o)
5911 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
5912                         __attribute__warn_unused_result__;
5913 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
5914         assert(o); assert(name)
5915
5916 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
5917 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
5918         assert(o); assert(name)
5919 STATIC OP*      S_voidnonfinal(pTHX_ OP* o);
5920 #define PERL_ARGS_ASSERT_VOIDNONFINAL
5921 #endif
5922 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
5923 PERL_CALLCONV void      Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
5924                         __attribute__visibility__("hidden");
5925 #define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
5926
5927 PERL_CALLCONV void      Perl_no_bareword_allowed(pTHX_ OP *o)
5928                         __attribute__visibility__("hidden");
5929 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
5930         assert(o)
5931
5932 PERL_CALLCONV void      Perl_op_prune_chain_head(OP **op_p)
5933                         __attribute__visibility__("hidden");
5934 #define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD    \
5935         assert(op_p)
5936
5937 PERL_CALLCONV SV *      Perl_op_varname(pTHX_ const OP *o)
5938                         __attribute__visibility__("hidden");
5939 #define PERL_ARGS_ASSERT_OP_VARNAME     \
5940         assert(o)
5941
5942 PERL_CALLCONV void      Perl_optimize_optree(pTHX_ OP* o)
5943                         __attribute__visibility__("hidden");
5944 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE        \
5945         assert(o)
5946
5947 PERL_CALLCONV void      Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
5948                         __attribute__visibility__("hidden");
5949 #define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT       \
5950         assert(o); assert(name)
5951
5952 #  if defined(USE_ITHREADS)
5953 PERL_CALLCONV void      Perl_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp)
5954                         __attribute__visibility__("hidden");
5955 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
5956         assert(svp); assert(targp)
5957
5958 #  endif
5959 #endif
5960 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
5961 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
5962                         __attribute__visibility__("hidden");
5963 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
5964         assert(name); assert(old_cv)
5965
5966 #endif
5967 #if defined(PERL_IN_PAD_C)
5968 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
5969 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
5970         assert(name)
5971 STATIC void     S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
5972 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
5973         assert(name)
5974 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);
5975 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
5976         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
5977 STATIC void     S_pad_reset(pTHX);
5978 #define PERL_ARGS_ASSERT_PAD_RESET
5979 #endif
5980 #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5981 #ifndef PERL_NO_INLINE_FUNCTIONS
5982 PERL_STATIC_INLINE bool S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
5983 #define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE        \
5984         assert(pn)
5985 #endif
5986 #endif
5987 #if defined(PERL_IN_PEEP_C)
5988 STATIC void     S_finalize_op(pTHX_ OP* o);
5989 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
5990         assert(o)
5991 STATIC void     S_optimize_op(pTHX_ OP* o);
5992 #define PERL_ARGS_ASSERT_OPTIMIZE_OP    \
5993         assert(o)
5994 STATIC OP*      S_traverse_op_tree(pTHX_ OP* top, OP* o);
5995 #define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE       \
5996         assert(top); assert(o)
5997 #endif
5998 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
5999 #ifndef NO_MATHOMS
6000 PERL_CALLCONV OP*       Perl_ref(pTHX_ OP* o, I32 type)
6001                         __attribute__visibility__("hidden");
6002 #define PERL_ARGS_ASSERT_REF
6003 #endif
6004
6005 #endif
6006 #if defined(PERL_IN_PERL_C)
6007 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
6008 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
6009         assert(linestr_sv); assert(rsfp)
6010 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
6011 #define PERL_ARGS_ASSERT_FORBID_SETID
6012 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
6013 #define PERL_ARGS_ASSERT_INCPUSH        \
6014         assert(dir)
6015 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
6016 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
6017         assert(p)
6018 STATIC void     S_init_ids(pTHX);
6019 #define PERL_ARGS_ASSERT_INIT_IDS
6020 STATIC void     S_init_interp(pTHX);
6021 #define PERL_ARGS_ASSERT_INIT_INTERP
6022 STATIC void     S_init_main_stash(pTHX);
6023 #define PERL_ARGS_ASSERT_INIT_MAIN_STASH
6024 STATIC void     S_init_perllib(pTHX);
6025 #define PERL_ARGS_ASSERT_INIT_PERLLIB
6026 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
6027 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
6028         assert(argv)
6029 STATIC void     S_init_predump_symbols(pTHX);
6030 #define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
6031 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
6032 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
6033         assert(dir)
6034 PERL_STATIC_NO_RET void S_minus_v(pTHX)
6035                         __attribute__noreturn__;
6036 #define PERL_ARGS_ASSERT_MINUS_V
6037
6038 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
6039                         __attribute__noreturn__;
6040 #define PERL_ARGS_ASSERT_MY_EXIT_JUMP
6041
6042 STATIC void     S_nuke_stacks(pTHX);
6043 #define PERL_ARGS_ASSERT_NUKE_STACKS
6044 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
6045 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
6046         assert(scriptname); assert(suidscript)
6047 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
6048 #define PERL_ARGS_ASSERT_PARSE_BODY
6049 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
6050                         __attribute__noreturn__;
6051 #define PERL_ARGS_ASSERT_RUN_BODY
6052
6053 PERL_STATIC_NO_RET void S_usage(pTHX)
6054                         __attribute__noreturn__;
6055 #define PERL_ARGS_ASSERT_USAGE
6056
6057 #endif
6058 #if defined(PERL_IN_PP_C)
6059 STATIC size_t   S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
6060 #define PERL_ARGS_ASSERT_DO_CHOMP       \
6061         assert(retval); assert(sv)
6062 STATIC OP*      S_do_delete_local(pTHX);
6063 #define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
6064 STATIC SV*      S_refto(pTHX_ SV* sv)
6065                         __attribute__warn_unused_result__;
6066 #define PERL_ARGS_ASSERT_REFTO  \
6067         assert(sv)
6068
6069 #endif
6070 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
6071 #ifndef PERL_NO_INLINE_FUNCTIONS
6072 PERL_STATIC_INLINE bool S_lossless_NV_to_IV(const NV nv, IV * ivp)
6073                         __attribute__warn_unused_result__;
6074 #define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV      \
6075         assert(ivp)
6076 #endif
6077
6078 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
6079                         __attribute__warn_unused_result__;
6080 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
6081         assert(sv); assert(what); assert(spp)
6082
6083 #endif
6084 #if defined(PERL_IN_PP_CTL_C)
6085 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
6086                         __attribute__warn_unused_result__;
6087 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
6088         assert(name)
6089
6090 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher);
6091 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
6092         assert(matcher)
6093 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
6094 #define PERL_ARGS_ASSERT_DO_SMARTMATCH
6095 STATIC OP*      S_docatch(pTHX_ Perl_ppaddr_t firstpp)
6096                         __attribute__warn_unused_result__;
6097 #define PERL_ARGS_ASSERT_DOCATCH
6098
6099 STATIC bool     S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
6100 #define PERL_ARGS_ASSERT_DOEVAL_COMPILE
6101 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
6102                         __attribute__warn_unused_result__;
6103 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
6104         assert(o); assert(label); assert(opstack); assert(oplimit)
6105
6106 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv);
6107 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
6108         assert(sv)
6109 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
6110                         __attribute__warn_unused_result__;
6111 #define PERL_ARGS_ASSERT_DOPOPTOEVAL
6112
6113 STATIC I32      S_dopoptogivenfor(pTHX_ I32 startingblock)
6114                         __attribute__warn_unused_result__;
6115 #define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
6116
6117 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
6118                         __attribute__warn_unused_result__;
6119 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
6120         assert(label)
6121
6122 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
6123                         __attribute__warn_unused_result__;
6124 #define PERL_ARGS_ASSERT_DOPOPTOLOOP
6125
6126 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
6127                         __attribute__warn_unused_result__;
6128 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
6129         assert(cxstk)
6130
6131 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
6132                         __attribute__warn_unused_result__;
6133 #define PERL_ARGS_ASSERT_DOPOPTOWHEN
6134
6135 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
6136                         __attribute__warn_unused_result__;
6137 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
6138         assert(re)
6139
6140 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
6141                         __attribute__warn_unused_result__;
6142 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
6143         assert(matcher); assert(sv)
6144
6145 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
6146                         __attribute__warn_unused_result__;
6147 #define PERL_ARGS_ASSERT_NUM_OVERFLOW
6148
6149 #ifndef PERL_NO_INLINE_FUNCTIONS
6150 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
6151                         __attribute__warn_unused_result__;
6152 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
6153         assert(name)
6154 #endif
6155
6156 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
6157                         __attribute__warn_unused_result__;
6158 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
6159         assert(buf_sv)
6160
6161 STATIC void     S_rxres_free(pTHX_ void** rsp);
6162 #define PERL_ARGS_ASSERT_RXRES_FREE     \
6163         assert(rsp)
6164 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
6165 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
6166         assert(rsp); assert(rx)
6167 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv);
6168 #define PERL_ARGS_ASSERT_SAVE_LINES     \
6169         assert(sv)
6170 #endif
6171 #if defined(PERL_IN_PP_HOT_C)
6172 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
6173 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
6174         assert(oddkey); assert(firstkey)
6175 #ifndef PERL_NO_INLINE_FUNCTIONS
6176 PERL_STATIC_INLINE HV*  S_opmethod_stash(pTHX_ SV* meth);
6177 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
6178         assert(meth)
6179 #endif
6180 #ifndef PERL_NO_INLINE_FUNCTIONS
6181 PERL_STATIC_FORCE_INLINE bool   S_should_we_output_Debug_r(pTHX_ regexp * prog)
6182                         __attribute__warn_unused_result__
6183                         __attribute__always_inline__;
6184 #define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R       \
6185         assert(prog)
6186 #endif
6187
6188 #endif
6189 #if defined(PERL_IN_PP_PACK_C)
6190 STATIC int      S_div128(pTHX_ SV *pnum, bool *done);
6191 #define PERL_ARGS_ASSERT_DIV128 \
6192         assert(pnum); assert(done)
6193 STATIC char     S_first_symbol(const char *pat, const char *patend);
6194 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
6195         assert(pat); assert(patend)
6196 STATIC const char *     S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
6197                         __attribute__warn_unused_result__;
6198 #define PERL_ARGS_ASSERT_GET_NUM        \
6199         assert(patptr); assert(lenptr)
6200
6201 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
6202 #define PERL_ARGS_ASSERT_GROUP_END      \
6203         assert(patptr); assert(patend)
6204 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
6205                         __attribute__warn_unused_result__;
6206 #define PERL_ARGS_ASSERT_IS_AN_INT      \
6207         assert(s)
6208
6209 STATIC SSize_t  S_measure_struct(pTHX_ struct tempsym* symptr);
6210 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
6211         assert(symptr)
6212 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m);
6213 #define PERL_ARGS_ASSERT_MUL128 \
6214         assert(sv)
6215 STATIC char *   S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
6216                         __attribute__warn_unused_result__;
6217 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8       \
6218         assert(start); assert(dest)
6219
6220 STATIC bool     S_need_utf8(const char *pat, const char *patend);
6221 #define PERL_ARGS_ASSERT_NEED_UTF8      \
6222         assert(pat); assert(patend)
6223 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr);
6224 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
6225         assert(symptr)
6226 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
6227 #define PERL_ARGS_ASSERT_PACK_REC       \
6228         assert(cat); assert(symptr); assert(beglist); assert(endlist)
6229 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
6230                         __attribute__warn_unused_result__;
6231 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
6232         assert(sv)
6233
6234 STATIC SSize_t  S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
6235 #define PERL_ARGS_ASSERT_UNPACK_REC     \
6236         assert(symptr); assert(s); assert(strbeg); assert(strend)
6237 #endif
6238 #if defined(PERL_IN_PP_SORT_C)
6239 #ifndef PERL_NO_INLINE_FUNCTIONS
6240 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
6241                         __attribute__always_inline__;
6242 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
6243         assert(str1); assert(str2)
6244 #endif
6245
6246 #ifndef PERL_NO_INLINE_FUNCTIONS
6247 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6248                         __attribute__always_inline__;
6249 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC        \
6250         assert(str1); assert(str2)
6251 #endif
6252
6253 #ifndef PERL_NO_INLINE_FUNCTIONS
6254 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
6255                         __attribute__always_inline__;
6256 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
6257         assert(a); assert(b)
6258 #endif
6259
6260 #ifndef PERL_NO_INLINE_FUNCTIONS
6261 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6262                         __attribute__always_inline__;
6263 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC     \
6264         assert(a); assert(b)
6265 #endif
6266
6267 #ifndef PERL_NO_INLINE_FUNCTIONS
6268 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
6269                         __attribute__always_inline__;
6270 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
6271         assert(a); assert(b)
6272 #endif
6273
6274 #ifndef PERL_NO_INLINE_FUNCTIONS
6275 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
6276                         __attribute__always_inline__;
6277 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC       \
6278         assert(a); assert(b)
6279 #endif
6280
6281 #ifndef PERL_NO_INLINE_FUNCTIONS
6282 PERL_STATIC_FORCE_INLINE I32    S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6283                         __attribute__always_inline__;
6284 #define PERL_ARGS_ASSERT_CMP_DESC       \
6285         assert(str1); assert(str2)
6286 #endif
6287
6288 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b);
6289 #define PERL_ARGS_ASSERT_SORTCV \
6290         assert(a); assert(b)
6291 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
6292 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
6293         assert(a); assert(b)
6294 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
6295 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
6296         assert(a); assert(b)
6297 #ifndef PERL_NO_INLINE_FUNCTIONS
6298 PERL_STATIC_FORCE_INLINE void   S_sortsv_flags_impl(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
6299                         __attribute__always_inline__;
6300 #define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL      \
6301         assert(cmp)
6302 #endif
6303
6304 #ifndef PERL_NO_INLINE_FUNCTIONS
6305 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
6306                         __attribute__always_inline__;
6307 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
6308         assert(a); assert(b)
6309 #endif
6310
6311 #ifndef PERL_NO_INLINE_FUNCTIONS
6312 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6313                         __attribute__always_inline__;
6314 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
6315         assert(a); assert(b)
6316 #endif
6317
6318 #ifndef PERL_NO_INLINE_FUNCTIONS
6319 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp(pTHX_ SV *const a, SV *const b)
6320                         __attribute__always_inline__;
6321 #define PERL_ARGS_ASSERT_SV_NCMP        \
6322         assert(a); assert(b)
6323 #endif
6324
6325 #ifndef PERL_NO_INLINE_FUNCTIONS
6326 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
6327                         __attribute__always_inline__;
6328 #define PERL_ARGS_ASSERT_SV_NCMP_DESC   \
6329         assert(a); assert(b)
6330 #endif
6331
6332 #  if defined(USE_LOCALE_COLLATE)
6333 #ifndef PERL_NO_INLINE_FUNCTIONS
6334 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
6335                         __attribute__always_inline__;
6336 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
6337         assert(str1); assert(str2)
6338 #endif
6339
6340 #ifndef PERL_NO_INLINE_FUNCTIONS
6341 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6342                         __attribute__always_inline__;
6343 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
6344         assert(str1); assert(str2)
6345 #endif
6346
6347 #ifndef PERL_NO_INLINE_FUNCTIONS
6348 PERL_STATIC_FORCE_INLINE I32    S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6349                         __attribute__always_inline__;
6350 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC        \
6351         assert(str1); assert(str2)
6352 #endif
6353
6354 #  endif
6355 #endif
6356 #if defined(PERL_IN_PP_SYS_C)
6357 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
6358 #define PERL_ARGS_ASSERT_DOFORM \
6359         assert(cv); assert(gv)
6360 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array);
6361 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
6362 #endif
6363 #if defined(PERL_IN_REGCOMP_C)
6364 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
6365 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
6366         assert(pRExC_state); assert(invlist)
6367 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
6368                         __attribute__warn_unused_result__;
6369 #define PERL_ARGS_ASSERT_ADD_DATA       \
6370         assert(pRExC_state); assert(s)
6371
6372 STATIC AV*      S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
6373 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH        \
6374         assert(multi_string)
6375 STATIC void     S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
6376 #define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE     \
6377         assert(pRExC_state)
6378 STATIC REGEXP*  S_compile_wildcard(pTHX_ const char * subpattern, const STRLEN len, const bool ignore_case)
6379                         __attribute__warn_unused_result__;
6380 #define PERL_ARGS_ASSERT_COMPILE_WILDCARD       \
6381         assert(subpattern)
6382
6383 STATIC U8       S_compute_EXACTish(RExC_state_t *pRExC_state);
6384 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
6385         assert(pRExC_state)
6386 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
6387 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
6388         assert(pRExC_state); assert(source)
6389 STATIC int      S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
6390                         __attribute__warn_unused_result__;
6391 #define PERL_ARGS_ASSERT_EDIT_DISTANCE  \
6392         assert(src); assert(tgt)
6393
6394 STATIC I32      S_execute_wildcard(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
6395 #define PERL_ARGS_ASSERT_EXECUTE_WILDCARD       \
6396         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
6397 #ifndef PERL_NO_INLINE_FUNCTIONS
6398 PERL_STATIC_INLINE Size_t       S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max);
6399 #define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS  \
6400         assert(s1); assert(s2)
6401 #endif
6402 STATIC SV *     S_get_ANYOFHbbm_contents(pTHX_ const regnode * n)
6403                         __attribute__warn_unused_result__;
6404 #define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
6405         assert(n)
6406
6407 STATIC SV *     S_get_ANYOFM_contents(pTHX_ const regnode * n)
6408                         __attribute__warn_unused_result__;
6409 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS    \
6410         assert(n)
6411
6412 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
6413 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
6414         assert(pRExC_state); assert(node)
6415 STATIC U32      S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char * start, const char * end);
6416 #define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE   \
6417         assert(pRExC_state); assert(start); assert(end)
6418 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);
6419 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
6420         assert(pRExC_state); assert(flagp)
6421 STATIC regnode_offset   S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * backref_parse_start, char ch);
6422 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF   \
6423         assert(pRExC_state); assert(flagp); assert(backref_parse_start)
6424 STATIC bool     S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
6425 #define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD  \
6426         assert(wname); assert(prop_definition); assert(strings)
6427 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);
6428 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX  \
6429         assert(pRExC_state); assert(s)
6430 STATIC regnode_offset   S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth);
6431 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
6432         assert(pRExC_state); assert(flagp)
6433 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);
6434 #define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY   \
6435         assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
6436 #ifndef PERL_NO_INLINE_FUNCTIONS
6437 PERL_STATIC_INLINE SV*  S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
6438                         __attribute__warn_unused_result__;
6439 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS       \
6440         assert(invlist)
6441 #endif
6442
6443 #ifndef PERL_NO_INLINE_FUNCTIONS
6444 PERL_STATIC_INLINE UV   S_invlist_highest_range_start(SV* const invlist)
6445                         __attribute__warn_unused_result__;
6446 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START    \
6447         assert(invlist)
6448 #endif
6449
6450 #ifndef PERL_NO_INLINE_FUNCTIONS
6451 PERL_STATIC_INLINE bool S_invlist_is_iterating(const SV* const invlist)
6452                         __attribute__warn_unused_result__;
6453 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
6454         assert(invlist)
6455 #endif
6456
6457 #ifndef PERL_NO_INLINE_FUNCTIONS
6458 PERL_STATIC_INLINE UV   S_invlist_lowest(SV* const invlist)
6459                         __attribute__warn_unused_result__;
6460 #define PERL_ARGS_ASSERT_INVLIST_LOWEST \
6461         assert(invlist)
6462 #endif
6463
6464 STATIC bool     S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
6465 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT        \
6466         assert(pRExC_state); assert(ssc)
6467 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);
6468 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
6469         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
6470 STATIC SV*      S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
6471                         __attribute__warn_unused_result__;
6472 #define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST    \
6473         assert(pRExC_state); assert(node)
6474
6475 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);
6476 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
6477         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
6478 STATIC void     S_nextchar(pTHX_ RExC_state_t *pRExC_state);
6479 #define PERL_ARGS_ASSERT_NEXTCHAR       \
6480         assert(pRExC_state)
6481 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);
6482 #define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS      \
6483         assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); assert(flagp)
6484 STATIC void     S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings);
6485 #define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS  \
6486         assert(pRExC_state); assert(posix_warnings)
6487 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
6488 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
6489         assert(pRExC_state)
6490 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);
6491 #define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING   \
6492         assert(name); assert(user_defined_ptr); assert(msg)
6493 STATIC void     S_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
6494 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST     \
6495         assert(node); assert(invlist_ptr)
6496 STATIC void     S_populate_bitmap_from_invlist(pTHX_ SV * invlist, const UV offset, const U8 * bitmap, const Size_t len);
6497 #define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST   \
6498         assert(invlist); assert(bitmap)
6499 STATIC void     S_populate_invlist_from_bitmap(pTHX_ const U8 * bitmap, const Size_t bitmap_len, SV ** invlist, const UV offset);
6500 #define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP   \
6501         assert(bitmap); assert(invlist)
6502 STATIC void     S_rck_elide_nothing(pTHX_ regnode *node);
6503 #define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING      \
6504         assert(node)
6505 PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
6506                         __attribute__noreturn__
6507                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
6508 #define PERL_ARGS_ASSERT_RE_CROAK       \
6509         assert(pat)
6510
6511 STATIC regnode_offset   S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
6512 #define PERL_ARGS_ASSERT_REG    \
6513         assert(pRExC_state); assert(flagp)
6514 STATIC regnode_offset   S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
6515 #define PERL_ARGS_ASSERT_REG2LANODE     \
6516         assert(pRExC_state)
6517 STATIC regnode_offset   S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6518 #define PERL_ARGS_ASSERT_REG_LA_NOTHING \
6519         assert(pRExC_state); assert(type)
6520 STATIC regnode_offset   S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6521 #define PERL_ARGS_ASSERT_REG_LA_OPFAIL  \
6522         assert(pRExC_state); assert(type)
6523 STATIC regnode_offset   S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
6524 #define PERL_ARGS_ASSERT_REG_NODE       \
6525         assert(pRExC_state)
6526 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
6527 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
6528         assert(pRExC_state)
6529 #ifndef PERL_NO_INLINE_FUNCTIONS
6530 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
6531 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
6532         assert(pRExC_state); assert(p)
6533 #endif
6534 STATIC regnode_offset   S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
6535 #define PERL_ARGS_ASSERT_REGANODE       \
6536         assert(pRExC_state)
6537 STATIC regnode_offset   S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6538 #define PERL_ARGS_ASSERT_REGATOM        \
6539         assert(pRExC_state); assert(flagp)
6540 STATIC regnode_offset   S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
6541 #define PERL_ARGS_ASSERT_REGBRANCH      \
6542         assert(pRExC_state); assert(flagp)
6543 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);
6544 #define PERL_ARGS_ASSERT_REGCLASS       \
6545         assert(pRExC_state); assert(flagp)
6546 STATIC unsigned int     S_regex_set_precedence(const U8 my_operator)
6547                         __attribute__warn_unused_result__;
6548 #define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
6549
6550 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
6551 #define PERL_ARGS_ASSERT_REGINSERT      \
6552         assert(pRExC_state)
6553 STATIC regnode_offset   S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
6554 #define PERL_ARGS_ASSERT_REGNODE_GUTS   \
6555         assert(pRExC_state)
6556 STATIC regnode_offset   S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6557 #define PERL_ARGS_ASSERT_REGPIECE       \
6558         assert(pRExC_state); assert(flagp)
6559 STATIC regnode_offset   S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV * arg);
6560 #define PERL_ARGS_ASSERT_REGPNODE       \
6561         assert(pRExC_state); assert(arg)
6562 STATIC bool     S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
6563                         __attribute__warn_unused_result__;
6564 #define PERL_ARGS_ASSERT_REGTAIL        \
6565         assert(pRExC_state); assert(p); assert(val)
6566
6567 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
6568 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
6569         assert(pRExC_state); assert(data); assert(minlenp)
6570 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);
6571 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
6572         assert(pRExC_state); assert(node)
6573 STATIC void     S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
6574 #define PERL_ARGS_ASSERT_SET_REGEX_PV   \
6575         assert(pRExC_state); assert(Rx)
6576 STATIC void     S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
6577 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT        \
6578         assert(pRExC_state); assert(p)
6579 STATIC void     S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
6580 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
6581         assert(ssc)
6582 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
6583 #define PERL_ARGS_ASSERT_SSC_AND        \
6584         assert(pRExC_state); assert(ssc); assert(and_with)
6585 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc);
6586 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
6587         assert(ssc)
6588 STATIC void     S_ssc_clear_locale(regnode_ssc *ssc);
6589 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
6590         assert(ssc)
6591 STATIC void     S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
6592 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
6593         assert(ssc)
6594 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
6595 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
6596         assert(pRExC_state); assert(ssc)
6597 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
6598 #define PERL_ARGS_ASSERT_SSC_INIT       \
6599         assert(pRExC_state); assert(ssc)
6600 STATIC void     S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6601 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
6602         assert(ssc); assert(invlist)
6603 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
6604                         __attribute__warn_unused_result__;
6605 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
6606         assert(ssc)
6607
6608 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
6609                         __attribute__warn_unused_result__;
6610 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
6611         assert(pRExC_state); assert(ssc)
6612
6613 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
6614 #define PERL_ARGS_ASSERT_SSC_OR \
6615         assert(pRExC_state); assert(ssc); assert(or_with)
6616 STATIC void     S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6617 #define PERL_ARGS_ASSERT_SSC_UNION      \
6618         assert(ssc); assert(invlist)
6619 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);
6620 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
6621         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
6622 #endif
6623 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
6624 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
6625 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
6626         assert(file); assert(indent); assert(invlist)
6627 #endif
6628 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
6629 #ifndef PERL_NO_INLINE_FUNCTIONS
6630 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
6631                         __attribute__warn_unused_result__;
6632 #define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
6633 #endif
6634
6635 #ifndef PERL_NO_INLINE_FUNCTIONS
6636 PERL_STATIC_INLINE void S_invlist_extend(pTHX_ SV* const invlist, const UV len);
6637 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
6638         assert(invlist)
6639 #endif
6640 #ifndef PERL_NO_INLINE_FUNCTIONS
6641 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
6642                         __attribute__warn_unused_result__;
6643 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
6644         assert(invlist)
6645 #endif
6646
6647 #ifndef PERL_NO_INLINE_FUNCTIONS
6648 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
6649 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
6650         assert(invlist)
6651 #endif
6652 #endif
6653 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
6654 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
6655                         __attribute__warn_unused_result__;
6656 #define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6657
6658 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
6659 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION
6660 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
6661 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
6662         assert(b); assert(i)
6663 PERL_CALLCONV void      Perl__invlist_invert(pTHX_ SV* const invlist);
6664 #define PERL_ARGS_ASSERT__INVLIST_INVERT        \
6665         assert(invlist)
6666 /* PERL_CALLCONV void   _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
6667 #define PERL_ARGS_ASSERT__INVLIST_SUBTRACT
6668 /* PERL_CALLCONV void   _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
6669 #define PERL_ARGS_ASSERT__INVLIST_UNION
6670 PERL_CALLCONV void      Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
6671 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND    \
6672         assert(b); assert(output)
6673 PERL_CALLCONV SV*       Perl__new_invlist(pTHX_ IV initial_size)
6674                         __attribute__warn_unused_result__;
6675 #define PERL_ARGS_ASSERT__NEW_INVLIST
6676
6677 PERL_CALLCONV SV*       Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
6678                         __attribute__warn_unused_result__;
6679 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST  \
6680         assert(other_elements_ptr)
6681
6682 #endif
6683 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
6684 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)
6685                         __attribute__warn_unused_result__;
6686 #define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG   \
6687         assert(first_bad); assert(send)
6688
6689 PERL_CALLCONV bool      Perl_grok_bslash_c(pTHX_ const char source, U8 * result, const char** message, U32 * packed_warn)
6690                         __attribute__warn_unused_result__;
6691 #define PERL_ARGS_ASSERT_GROK_BSLASH_C  \
6692         assert(result); assert(message)
6693
6694 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)
6695                         __attribute__warn_unused_result__;
6696 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
6697         assert(s); assert(send); assert(uv); assert(message)
6698
6699 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)
6700                         __attribute__warn_unused_result__;
6701 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
6702         assert(s); assert(send); assert(uv); assert(message)
6703
6704 #endif
6705 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6706 PERL_CALLCONV const char *      Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char * string, const Size_t len, const UV cp)
6707                         __attribute__warn_unused_result__;
6708 #define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6709
6710 #endif
6711 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
6712 #ifndef PERL_NO_INLINE_FUNCTIONS
6713 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
6714                         __attribute__warn_unused_result__;
6715 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
6716         assert(invlist)
6717 #endif
6718
6719 #ifndef PERL_NO_INLINE_FUNCTIONS
6720 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
6721 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
6722         assert(invlist)
6723 #endif
6724 #ifndef PERL_NO_INLINE_FUNCTIONS
6725 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
6726 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
6727         assert(invlist)
6728 #endif
6729 #ifndef PERL_NO_INLINE_FUNCTIONS
6730 PERL_STATIC_INLINE bool S_invlist_iternext(SV* invlist, UV* start, UV* end)
6731                         __attribute__warn_unused_result__;
6732 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
6733         assert(invlist); assert(start); assert(end)
6734 #endif
6735
6736 #endif
6737 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
6738 PERL_CALLCONV bool      Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
6739 #define PERL_ARGS_ASSERT__INVLISTEQ     \
6740         assert(a); assert(b)
6741 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
6742                         __attribute__warn_unused_result__;
6743 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
6744         assert(list)
6745
6746 #endif
6747 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
6748 #ifndef PERL_NO_INLINE_FUNCTIONS
6749 PERL_STATIC_INLINE const char * S_get_regex_charset_name(const U32 flags, STRLEN* const lenp);
6750 #define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
6751         assert(lenp)
6752 #endif
6753 #endif
6754 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6755 #ifndef PERL_NO_INLINE_FUNCTIONS
6756 PERL_STATIC_INLINE bool Perl_check_regnode_after(pTHX_ const regnode* p, const STRLEN extra)
6757                         __attribute__warn_unused_result__;
6758 #define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
6759 #endif
6760
6761 PERL_CALLCONV int       Perl_re_printf(pTHX_ const char *fmt, ...)
6762                         __attribute__visibility__("hidden")
6763                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
6764 #define PERL_ARGS_ASSERT_RE_PRINTF      \
6765         assert(fmt)
6766
6767 #ifndef PERL_NO_INLINE_FUNCTIONS
6768 PERL_STATIC_INLINE regnode*     Perl_regnext(pTHX_ const regnode* p)
6769                         __attribute__warn_unused_result__;
6770 #define PERL_ARGS_ASSERT_REGNEXT
6771 #endif
6772
6773 #ifndef PERL_NO_INLINE_FUNCTIONS
6774 PERL_STATIC_INLINE regnode*     Perl_regnode_after(pTHX_ const regnode* p, bool varies)
6775                         __attribute__warn_unused_result__;
6776 #define PERL_ARGS_ASSERT_REGNODE_AFTER
6777 #endif
6778
6779 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
6780                         __attribute__visibility__("hidden");
6781 #define PERL_ARGS_ASSERT_REGPROP        \
6782         assert(sv); assert(o)
6783
6784 #endif
6785 #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)
6786 #ifndef PERL_NO_INLINE_FUNCTIONS
6787 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
6788                         __attribute__warn_unused_result__;
6789 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
6790         assert(invlist)
6791 #endif
6792
6793 #ifndef PERL_NO_INLINE_FUNCTIONS
6794 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
6795                         __attribute__warn_unused_result__;
6796 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
6797         assert(invlist)
6798 #endif
6799
6800 PERL_CALLCONV SSize_t   Perl__invlist_search(SV* const invlist, const UV cp)
6801                         __attribute__warn_unused_result__;
6802 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
6803         assert(invlist)
6804
6805 #ifndef PERL_NO_INLINE_FUNCTIONS
6806 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
6807                         __attribute__warn_unused_result__;
6808 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
6809         assert(invlist)
6810 #endif
6811
6812 #ifndef PERL_NO_INLINE_FUNCTIONS
6813 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
6814                         __attribute__warn_unused_result__;
6815 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
6816         assert(invlist)
6817 #endif
6818
6819 #ifndef PERL_NO_INLINE_FUNCTIONS
6820 PERL_STATIC_INLINE bool S_is_invlist(const SV* const invlist)
6821                         __attribute__warn_unused_result__;
6822 #define PERL_ARGS_ASSERT_IS_INVLIST
6823 #endif
6824
6825 #endif
6826 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
6827 PERL_CALLCONV bool      Perl_is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
6828                         __attribute__warn_unused_result__
6829                         __attribute__visibility__("hidden");
6830 #define PERL_ARGS_ASSERT_IS_GRAPHEME    \
6831         assert(strbeg); assert(s); assert(strend)
6832
6833 #endif
6834 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6835 PERL_CALLCONV UV        Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6836 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1        \
6837         assert(p); assert(lenp)
6838 #endif
6839 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
6840 PERL_CALLCONV SV*       Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
6841 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
6842         assert(invlist)
6843 #endif
6844 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
6845 PERL_CALLCONV bool      Perl_regcurly(const char *s, const char *e, const char * result[5])
6846                         __attribute__warn_unused_result__;
6847 #define PERL_ARGS_ASSERT_REGCURLY       \
6848         assert(s); assert(e)
6849
6850 #endif
6851 #if defined(PERL_IN_REGEXEC_C)
6852 STATIC LB_enum  S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6853                         __attribute__warn_unused_result__;
6854 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
6855         assert(curpos); assert(strend)
6856
6857 STATIC SB_enum  S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6858                         __attribute__warn_unused_result__;
6859 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
6860         assert(curpos); assert(strend)
6861
6862 STATIC WB_enum  S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
6863                         __attribute__warn_unused_result__;
6864 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
6865         assert(curpos); assert(strend)
6866
6867 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6868                         __attribute__warn_unused_result__;
6869 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
6870         assert(strbeg); assert(curpos)
6871
6872 STATIC LB_enum  S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6873                         __attribute__warn_unused_result__;
6874 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB  \
6875         assert(strbeg); assert(curpos)
6876
6877 STATIC SB_enum  S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6878                         __attribute__warn_unused_result__;
6879 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB  \
6880         assert(strbeg); assert(curpos)
6881
6882 STATIC WB_enum  S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6883                         __attribute__warn_unused_result__;
6884 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB  \
6885         assert(previous); assert(strbeg); assert(curpos)
6886
6887 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
6888                         __attribute__warn_unused_result__;
6889 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
6890         assert(prog); assert(c); assert(s); assert(strend)
6891
6892 STATIC U8 *     S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
6893                         __attribute__warn_unused_result__;
6894 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED       \
6895         assert(s); assert(send)
6896
6897 STATIC U8 *     S_find_span_end(U8* s, const U8 * send, const U8 span_byte)
6898                         __attribute__warn_unused_result__;
6899 #define PERL_ARGS_ASSERT_FIND_SPAN_END  \
6900         assert(s); assert(send)
6901
6902 STATIC U8 *     S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
6903                         __attribute__warn_unused_result__;
6904 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK     \
6905         assert(s); assert(send)
6906
6907 #ifndef PERL_NO_INLINE_FUNCTIONS
6908 PERL_STATIC_INLINE I32  S_foldEQ_latin1_s2_folded(pTHX_ const char* a, const char* b, I32 len);
6909 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED        \
6910         assert(a); assert(b)
6911 #endif
6912 STATIC bool     S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
6913                         __attribute__warn_unused_result__;
6914 #define PERL_ARGS_ASSERT_ISFOO_LC
6915
6916 STATIC bool     S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
6917                         __attribute__warn_unused_result__;
6918 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC  \
6919         assert(character); assert(e)
6920
6921 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)
6922                         __attribute__warn_unused_result__;
6923 #define PERL_ARGS_ASSERT_ISGCB  \
6924         assert(strbeg); assert(curpos)
6925
6926 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)
6927                         __attribute__warn_unused_result__;
6928 #define PERL_ARGS_ASSERT_ISLB   \
6929         assert(strbeg); assert(curpos); assert(strend)
6930
6931 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)
6932                         __attribute__warn_unused_result__;
6933 #define PERL_ARGS_ASSERT_ISSB   \
6934         assert(strbeg); assert(curpos); assert(strend)
6935
6936 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)
6937                         __attribute__warn_unused_result__;
6938 #define PERL_ARGS_ASSERT_ISWB   \
6939         assert(strbeg); assert(curpos); assert(strend)
6940
6941 STATIC I32      S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
6942                         __attribute__warn_unused_result__;
6943 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
6944         assert(rex); assert(scan)
6945
6946 STATIC void     S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
6947 #define PERL_ARGS_ASSERT_REGCP_RESTORE  \
6948         assert(rex); assert(maxopenparen_p)
6949 STATIC void     S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
6950 #define PERL_ARGS_ASSERT_REGCPPOP       \
6951         assert(rex); assert(maxopenparen_p)
6952 STATIC CHECKPOINT       S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
6953 #define PERL_ARGS_ASSERT_REGCPPUSH      \
6954         assert(rex)
6955 STATIC U8*      S_reghop3(U8 *s, SSize_t off, const U8 *lim)
6956                         __attribute__warn_unused_result__;
6957 #define PERL_ARGS_ASSERT_REGHOP3        \
6958         assert(s); assert(lim)
6959
6960 STATIC U8*      S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
6961                         __attribute__warn_unused_result__;
6962 #define PERL_ARGS_ASSERT_REGHOP4        \
6963         assert(s); assert(llim); assert(rlim)
6964
6965 STATIC U8*      S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
6966                         __attribute__warn_unused_result__;
6967 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
6968         assert(s); assert(lim)
6969
6970 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)
6971                         __attribute__warn_unused_result__;
6972 #define PERL_ARGS_ASSERT_REGINCLASS     \
6973         assert(n); assert(p); assert(p_end)
6974
6975 STATIC SSize_t  S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
6976                         __attribute__warn_unused_result__;
6977 #define PERL_ARGS_ASSERT_REGMATCH       \
6978         assert(reginfo); assert(startpos); assert(prog)
6979
6980 STATIC I32      S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info *const reginfo, I32 max _pDEPTH)
6981                         __attribute__warn_unused_result__;
6982 #define PERL_ARGS_ASSERT_REGREPEAT      \
6983         assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo)
6984
6985 STATIC bool     S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
6986                         __attribute__warn_unused_result__;
6987 #define PERL_ARGS_ASSERT_REGTRY \
6988         assert(reginfo); assert(startposp)
6989
6990 STATIC bool     S_to_byte_substr(pTHX_ regexp * prog);
6991 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
6992         assert(prog)
6993 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog);
6994 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
6995         assert(prog)
6996 #endif
6997 #if defined(PERL_IN_SCOPE_C)
6998 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
6999 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
7000 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
7001 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
7002         assert(sptr)
7003 #endif
7004 #if defined(PERL_IN_SV_C)
7005 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
7006 #define PERL_ARGS_ASSERT_F0CONVERT      \
7007         assert(endbuf); assert(len)
7008 STATIC void     S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
7009 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE     \
7010         assert(gv); assert(cv)
7011 STATIC void     S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
7012 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT     \
7013         assert(func); assert(sv)
7014 STATIC bool     S_curse(pTHX_ SV * const sv, const bool check_refcnt);
7015 #define PERL_ARGS_ASSERT_CURSE  \
7016         assert(sv)
7017 STATIC STRLEN   S_expect_number(pTHX_ const char **const pattern)
7018                         __attribute__warn_unused_result__;
7019 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
7020         assert(pattern)
7021
7022 STATIC SSize_t  S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
7023 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
7024         assert(val)
7025 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
7026 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
7027         assert(val)
7028 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
7029 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR        \
7030         assert(desc_p)
7031 STATIC bool     S_glob_2number(pTHX_ GV* const gv);
7032 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
7033         assert(gv)
7034 STATIC void     S_glob_assign_glob(pTHX_ SV *const dsv, SV *const ssv, const int dtype);
7035 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
7036         assert(dsv); assert(ssv)
7037 PERL_CALLCONV SV *      Perl_more_sv(pTHX);
7038 #define PERL_ARGS_ASSERT_MORE_SV
7039 STATIC void     S_not_a_number(pTHX_ SV *const sv);
7040 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
7041         assert(sv)
7042 STATIC void     S_not_incrementable(pTHX_ SV *const sv);
7043 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE      \
7044         assert(sv)
7045 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
7046                         __attribute__warn_unused_result__;
7047 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
7048         assert(tbl)
7049
7050 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv);
7051 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
7052         assert(sv)
7053 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
7054 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
7055         assert(ptr)
7056 STATIC const char *     S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
7057 #define PERL_ARGS_ASSERT_SV_DISPLAY     \
7058         assert(sv); assert(tmpbuf)
7059 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
7060 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
7061         assert(s); assert(target); assert(end)
7062 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);
7063 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
7064         assert(sv); assert(mgp); assert(start); assert(send)
7065 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);
7066 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
7067         assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
7068 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
7069 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
7070         assert(start); assert(send)
7071 #ifndef PERL_NO_INLINE_FUNCTIONS
7072 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
7073 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
7074         assert(sv)
7075 #endif
7076 #ifndef PERL_NO_INLINE_FUNCTIONS
7077 PERL_STATIC_INLINE char *       S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
7078                         __attribute__warn_unused_result__;
7079 #define PERL_ARGS_ASSERT_UIV_2BUF       \
7080         assert(buf); assert(peob)
7081 #endif
7082
7083 STATIC void     S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
7084 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE       \
7085         assert(sv); assert(mgp)
7086 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
7087 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
7088         assert(sv); assert(mgp)
7089 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
7090 #define PERL_ARGS_ASSERT_VISIT  \
7091         assert(f)
7092 #  if defined(USE_ITHREADS)
7093 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7094                         __attribute__warn_unused_result__;
7095 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
7096         assert(ssv); assert(param)
7097
7098 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
7099 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
7100         assert(source); assert(dest); assert(param)
7101 STATIC void     S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
7102 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK      \
7103         assert(unreferenced)
7104 #  endif
7105 #endif
7106 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
7107 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)
7108                         __attribute__warn_unused_result__
7109                         __attribute__visibility__("hidden");
7110 #define PERL_ARGS_ASSERT_VARNAME
7111
7112 #endif
7113 #if defined(PERL_IN_TOKE_C)
7114 STATIC int      S_ao(pTHX_ int toketype);
7115 #define PERL_ARGS_ASSERT_AO
7116 STATIC void     S_check_uni(pTHX);
7117 #define PERL_ARGS_ASSERT_CHECK_UNI
7118 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
7119 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
7120         assert(s); assert(name); assert(what)
7121 STATIC char *   S_filter_gets(pTHX_ SV *sv, STRLEN append)
7122                         __attribute__warn_unused_result__;
7123 #define PERL_ARGS_ASSERT_FILTER_GETS    \
7124         assert(sv)
7125
7126 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
7127                         __attribute__warn_unused_result__;
7128 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
7129         assert(pkgname)
7130
7131 STATIC void     S_force_ident(pTHX_ const char *s, int kind);
7132 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
7133         assert(s)
7134 STATIC void     S_force_ident_maybe_lex(pTHX_ char pit);
7135 #define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
7136 STATIC void     S_force_next(pTHX_ I32 type);
7137 #define PERL_ARGS_ASSERT_FORCE_NEXT
7138 STATIC char*    S_force_strict_version(pTHX_ char *s);
7139 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION   \
7140         assert(s)
7141 STATIC char*    S_force_version(pTHX_ char *s, int guessing);
7142 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
7143         assert(s)
7144 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
7145 #define PERL_ARGS_ASSERT_FORCE_WORD     \
7146         assert(start)
7147 STATIC SV*      S_get_and_check_backslash_N_name_wrapper(pTHX_ const char* s, const char* const e)
7148                         __attribute__warn_unused_result__;
7149 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
7150         assert(s); assert(e)
7151
7152 STATIC void     S_incline(pTHX_ const char *s, const char *end);
7153 #define PERL_ARGS_ASSERT_INCLINE        \
7154         assert(s); assert(end)
7155 STATIC int      S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
7156 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
7157         assert(s)
7158 STATIC int      S_intuit_more(pTHX_ char *s, char *e);
7159 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
7160         assert(s); assert(e)
7161 STATIC I32      S_lop(pTHX_ I32 f, U8 x, char *s);
7162 #define PERL_ARGS_ASSERT_LOP    \
7163         assert(s)
7164 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
7165                         __attribute__noreturn__;
7166 #define PERL_ARGS_ASSERT_MISSINGTERM
7167
7168 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);
7169 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
7170         assert(key); assert(sv)
7171 STATIC void     S_no_op(pTHX_ const char *const what, char *s);
7172 #define PERL_ARGS_ASSERT_NO_OP  \
7173         assert(what)
7174 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);
7175 #define PERL_ARGS_ASSERT_PARSE_IDENT    \
7176         assert(s); assert(d); assert(e)
7177 STATIC int      S_pending_ident(pTHX);
7178 #define PERL_ARGS_ASSERT_PENDING_IDENT
7179 STATIC char*    S_scan_const(pTHX_ char *start)
7180                         __attribute__warn_unused_result__;
7181 #define PERL_ARGS_ASSERT_SCAN_CONST     \
7182         assert(start)
7183
7184 STATIC char*    S_scan_formline(pTHX_ char *s)
7185                         __attribute__warn_unused_result__;
7186 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
7187         assert(s)
7188
7189 STATIC char*    S_scan_heredoc(pTHX_ char *s)
7190                         __attribute__warn_unused_result__;
7191 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
7192         assert(s)
7193
7194 STATIC char*    S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
7195 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
7196         assert(s); assert(dest)
7197 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
7198                         __attribute__warn_unused_result__;
7199 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
7200         assert(start)
7201
7202 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
7203                         __attribute__warn_unused_result__;
7204 #define PERL_ARGS_ASSERT_SCAN_PAT       \
7205         assert(start)
7206
7207 STATIC char*    S_scan_subst(pTHX_ char *start)
7208                         __attribute__warn_unused_result__;
7209 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
7210         assert(start)
7211
7212 STATIC char*    S_scan_trans(pTHX_ char *start)
7213                         __attribute__warn_unused_result__;
7214 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
7215         assert(start)
7216
7217 STATIC I32      S_sublex_done(pTHX)
7218                         __attribute__warn_unused_result__;
7219 #define PERL_ARGS_ASSERT_SUBLEX_DONE
7220
7221 STATIC I32      S_sublex_push(pTHX)
7222                         __attribute__warn_unused_result__;
7223 #define PERL_ARGS_ASSERT_SUBLEX_PUSH
7224
7225 STATIC I32      S_sublex_start(pTHX)
7226                         __attribute__warn_unused_result__;
7227 #define PERL_ARGS_ASSERT_SUBLEX_START
7228
7229 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
7230                         __attribute__warn_unused_result__;
7231 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
7232         assert(s)
7233
7234 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
7235                         __attribute__warn_unused_result__;
7236 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
7237         assert(s)
7238
7239 STATIC SV*      S_tokeq(pTHX_ SV *sv);
7240 #define PERL_ARGS_ASSERT_TOKEQ  \
7241         assert(sv)
7242 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
7243 #define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
7244 STATIC int      S_yywarn(pTHX_ const char *const s, U32 flags);
7245 #define PERL_ARGS_ASSERT_YYWARN \
7246         assert(s)
7247 #endif
7248 #if defined(PERL_IN_UNIVERSAL_C)
7249 STATIC bool     S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char * name, STRLEN len, U32 flags);
7250 STATIC bool     S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLEN len, U32 flags);
7251 #endif
7252 #if defined(PERL_IN_UTF8_C)
7253 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);
7254 #define PERL_ARGS_ASSERT__TO_UTF8_CASE  \
7255         assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
7256 STATIC UV       S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
7257                         __attribute__warn_unused_result__;
7258 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
7259         assert(p); assert(ustrp); assert(lenp)
7260
7261 #ifndef PERL_NO_INLINE_FUNCTIONS
7262 PERL_STATIC_INLINE int  S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
7263                         __attribute__warn_unused_result__;
7264 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW     \
7265         assert(s); assert(e)
7266 #endif
7267
7268 #ifndef PERL_NO_INLINE_FUNCTIONS
7269 PERL_STATIC_INLINE int  S_isFF_overlong(const U8 * const s, const STRLEN len)
7270                         __attribute__warn_unused_result__;
7271 #define PERL_ARGS_ASSERT_ISFF_OVERLONG  \
7272         assert(s)
7273 #endif
7274
7275 #ifndef PERL_NO_INLINE_FUNCTIONS
7276 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, const U8 *const e, SV* const invlist)
7277                         __attribute__warn_unused_result__;
7278 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
7279         assert(p); assert(e)
7280 #endif
7281
7282 #ifndef PERL_NO_INLINE_FUNCTIONS
7283 PERL_STATIC_INLINE int  S_is_utf8_overlong(const U8 * const s, const STRLEN len)
7284                         __attribute__warn_unused_result__;
7285 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG       \
7286         assert(s)
7287 #endif
7288
7289 STATIC HV *     S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
7290                         __attribute__warn_unused_result__;
7291 #define PERL_ARGS_ASSERT_NEW_MSG_HV     \
7292         assert(message)
7293
7294 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);
7295 #define PERL_ARGS_ASSERT_TO_CASE_CP_LIST        \
7296         assert(invlist); assert(invmap); assert(normal)
7297 STATIC U8       S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
7298                         __attribute__warn_unused_result__;
7299 #define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
7300
7301 STATIC UV       S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7302 #define PERL_ARGS_ASSERT_TURKIC_FC      \
7303         assert(p); assert(e); assert(ustrp); assert(lenp)
7304 STATIC UV       S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8* ustrp, STRLEN *lenp);
7305 #define PERL_ARGS_ASSERT_TURKIC_LC      \
7306         assert(p0); assert(e); assert(ustrp); assert(lenp)
7307 STATIC UV       S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7308 #define PERL_ARGS_ASSERT_TURKIC_UC      \
7309         assert(p); assert(e); assert(ustrp); assert(lenp)
7310 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)
7311                         __attribute__warn_unused_result__;
7312 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT       \
7313         assert(s)
7314
7315 #endif
7316 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
7317 PERL_CALLCONV UV        Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7318                         __attribute__visibility__("hidden");
7319 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7320         assert(p); assert(lenp)
7321
7322 #endif
7323 #if defined(PERL_IN_UTIL_C)
7324 STATIC bool     S_ckwarn_common(pTHX_ U32 w);
7325 #define PERL_ARGS_ASSERT_CKWARN_COMMON
7326 STATIC bool     S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
7327 #define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7328 STATIC SV*      S_mess_alloc(pTHX);
7329 #define PERL_ARGS_ASSERT_MESS_ALLOC
7330 STATIC SV *     S_with_queued_errors(pTHX_ SV *ex);
7331 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS     \
7332         assert(ex)
7333 STATIC void     S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
7334 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK   \
7335         assert(xs_p)
7336 #  if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
7337 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);
7338 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
7339         assert(type_name); assert(filename); assert(funcname)
7340 #  endif
7341 #endif
7342 #if defined(PERL_MEM_LOG)
7343 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);
7344 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC  \
7345         assert(type_name); assert(filename); assert(funcname)
7346 PERL_CALLCONV void      Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7347 #define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
7348         assert(sv); assert(filename); assert(funcname)
7349 PERL_CALLCONV Malloc_t  Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
7350 #define PERL_ARGS_ASSERT_MEM_LOG_FREE   \
7351         assert(filename); assert(funcname)
7352 PERL_CALLCONV void      Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7353 #define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
7354         assert(sv); assert(filename); assert(funcname)
7355 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);
7356 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC        \
7357         assert(type_name); assert(filename); assert(funcname)
7358 #endif
7359 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
7360 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
7361 #define PERL_ARGS_ASSERT_PIDGONE
7362 #endif
7363 #if defined(PERL_USE_3ARG_SIGHANDLER)
7364 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, Siginfo_t *info, void *uap);
7365 #define PERL_ARGS_ASSERT_CSIGHANDLER
7366 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, Siginfo_t *info, void *uap)
7367                         __attribute__visibility__("hidden");
7368 #define PERL_ARGS_ASSERT_SIGHANDLER
7369
7370 #endif
7371 #if defined(U64TYPE)    /* HAS_QUAD undefined outside of core */
7372 #ifndef PERL_NO_INLINE_FUNCTIONS
7373 PERL_STATIC_INLINE unsigned     Perl_lsbit_pos64(U64 word)
7374                         __attribute__warn_unused_result__;
7375 #define PERL_ARGS_ASSERT_LSBIT_POS64
7376 #endif
7377
7378 #ifndef PERL_NO_INLINE_FUNCTIONS
7379 PERL_STATIC_INLINE unsigned     Perl_msbit_pos64(U64 word)
7380                         __attribute__warn_unused_result__;
7381 #define PERL_ARGS_ASSERT_MSBIT_POS64
7382 #endif
7383
7384 #ifndef PERL_NO_INLINE_FUNCTIONS
7385 PERL_STATIC_INLINE unsigned     Perl_single_1bit_pos64(U64 word)
7386                         __attribute__warn_unused_result__;
7387 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
7388 #endif
7389
7390 #endif
7391 #if defined(UNLINK_ALL_VERSIONS)
7392 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f);
7393 #define PERL_ARGS_ASSERT_UNLNK  \
7394         assert(f)
7395 #endif
7396 #if defined(USE_C_BACKTRACE)
7397 PERL_CALLCONV bool      Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
7398 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE       \
7399         assert(fp)
7400 /* PERL_CALLCONV void   free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
7401 #define PERL_ARGS_ASSERT_FREE_C_BACKTRACE
7402 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
7403                         __attribute__visibility__("hidden");
7404 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE
7405
7406 PERL_CALLCONV SV*       Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
7407 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
7408 #endif
7409 #if defined(USE_DTRACE)
7410 PERL_CALLCONV void      Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
7411 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL      \
7412         assert(cv)
7413 PERL_CALLCONV void      Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
7414 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD      \
7415         assert(name)
7416 PERL_CALLCONV void      Perl_dtrace_probe_op(pTHX_ const OP *op);
7417 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP        \
7418         assert(op)
7419 PERL_CALLCONV void      Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
7420 #define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
7421 #endif
7422 #if defined(USE_ITHREADS)
7423 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
7424 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH  \
7425         assert(hv)
7426 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
7427                         __attribute__warn_unused_result__;
7428 #define PERL_ARGS_ASSERT_ANY_DUP        \
7429         assert(proto_perl)
7430
7431 PERL_CALLCONV void      Perl_clone_params_del(CLONE_PARAMS *param);
7432 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL       \
7433         assert(param)
7434 PERL_CALLCONV CLONE_PARAMS *    Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
7435                         __attribute__warn_unused_result__;
7436 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW       \
7437         assert(from); assert(to)
7438
7439 #ifndef PERL_NO_INLINE_FUNCTIONS
7440 PERL_STATIC_INLINE AV*  Perl_cop_file_avn(pTHX_ const COP *cop);
7441 #define PERL_ARGS_ASSERT_COP_FILE_AVN   \
7442         assert(cop)
7443 #endif
7444 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
7445                         __attribute__warn_unused_result__;
7446 #define PERL_ARGS_ASSERT_CX_DUP \
7447         assert(param)
7448
7449 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
7450                         __attribute__warn_unused_result__;
7451 #define PERL_ARGS_ASSERT_DIRP_DUP       \
7452         assert(param)
7453
7454 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
7455 #define PERL_ARGS_ASSERT_FP_DUP \
7456         assert(param)
7457 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
7458                         __attribute__warn_unused_result__;
7459 #define PERL_ARGS_ASSERT_GP_DUP \
7460         assert(param)
7461
7462 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
7463                         __attribute__warn_unused_result__;
7464 #define PERL_ARGS_ASSERT_HE_DUP \
7465         assert(param)
7466
7467 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
7468                         __attribute__warn_unused_result__;
7469 #define PERL_ARGS_ASSERT_HEK_DUP        \
7470         assert(param)
7471
7472 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
7473                         __attribute__warn_unused_result__;
7474 #define PERL_ARGS_ASSERT_MG_DUP \
7475         assert(param)
7476
7477 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
7478                         __attribute__visibility__("hidden");
7479 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
7480         assert(smeta); assert(param)
7481
7482 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
7483                         __attribute__warn_unused_result__;
7484 #define PERL_ARGS_ASSERT_NEWPADOP       \
7485         assert(sv)
7486
7487 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
7488                         __attribute__warn_unused_result__
7489                         __attribute__visibility__("hidden");
7490 #define PERL_ARGS_ASSERT_PADLIST_DUP    \
7491         assert(srcpad); assert(param)
7492
7493 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
7494                         __attribute__warn_unused_result__
7495                         __attribute__visibility__("hidden");
7496 #define PERL_ARGS_ASSERT_PADNAME_DUP    \
7497         assert(src); assert(param)
7498
7499 PERL_CALLCONV PADNAMELIST *     Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
7500                         __attribute__warn_unused_result__
7501                         __attribute__visibility__("hidden");
7502 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP        \
7503         assert(srcpad); assert(param)
7504
7505 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
7506 #define PERL_ARGS_ASSERT_PARSER_DUP     \
7507         assert(param)
7508 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags);
7509 #define PERL_ARGS_ASSERT_PERL_CLONE     \
7510         assert(proto_perl)
7511 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
7512 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
7513         assert(sstr); assert(dstr); assert(param)
7514 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
7515 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
7516         assert(r); assert(param)
7517 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dsv, const SV *const ssv, CLONE_PARAMS *const param);
7518 #define PERL_ARGS_ASSERT_RVPV_DUP       \
7519         assert(dsv); assert(ssv); assert(param)
7520 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
7521                         __attribute__warn_unused_result__;
7522 #define PERL_ARGS_ASSERT_SI_DUP \
7523         assert(param)
7524
7525 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
7526                         __attribute__warn_unused_result__;
7527 #define PERL_ARGS_ASSERT_SS_DUP \
7528         assert(proto_perl); assert(param)
7529
7530 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7531                         __attribute__warn_unused_result__;
7532 #define PERL_ARGS_ASSERT_SV_DUP \
7533         assert(param)
7534
7535 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7536                         __attribute__warn_unused_result__;
7537 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
7538         assert(param)
7539
7540 #endif
7541 #if defined(USE_LOCALE_COLLATE)
7542 PERL_CALLCONV int       Perl_magic_freecollxfrm(pTHX_ SV* sv, MAGIC* mg)
7543                         __attribute__visibility__("hidden");
7544 #define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM     \
7545         assert(sv); assert(mg)
7546
7547 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
7548                         __attribute__visibility__("hidden");
7549 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
7550         assert(sv); assert(mg)
7551
7552 #ifndef NO_MATHOMS
7553 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp);
7554 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
7555         assert(sv); assert(nxp)
7556 #endif
7557 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
7558 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
7559         assert(sv); assert(nxp)
7560 #endif
7561 #if defined(USE_PERLIO)
7562 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
7563 #define PERL_ARGS_ASSERT_PERLIO_CLEARERR
7564 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
7565 #define PERL_ARGS_ASSERT_PERLIO_CLOSE
7566 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
7567 #define PERL_ARGS_ASSERT_PERLIO_EOF
7568 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
7569 #define PERL_ARGS_ASSERT_PERLIO_ERROR
7570 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
7571 #define PERL_ARGS_ASSERT_PERLIO_FILENO
7572 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
7573 #define PERL_ARGS_ASSERT_PERLIO_FILL
7574 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
7575 #define PERL_ARGS_ASSERT_PERLIO_FLUSH
7576 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
7577 #define PERL_ARGS_ASSERT_PERLIO_GET_BASE
7578 PERL_CALLCONV SSize_t   Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
7579                         __attribute__warn_unused_result__;
7580 #define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
7581
7582 PERL_CALLCONV SSize_t   Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
7583                         __attribute__warn_unused_result__;
7584 #define PERL_ARGS_ASSERT_PERLIO_GET_CNT
7585
7586 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
7587 #define PERL_ARGS_ASSERT_PERLIO_GET_PTR
7588 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
7589 #define PERL_ARGS_ASSERT_PERLIO_READ    \
7590         assert(vbuf)
7591 PERL_CALLCONV void      Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
7592 #define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
7593 PERL_CALLCONV void      Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
7594 #define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
7595 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
7596 #define PERL_ARGS_ASSERT_PERLIO_SEEK
7597 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
7598 #define PERL_ARGS_ASSERT_PERLIO_SET_CNT
7599 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
7600 #define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
7601 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
7602 #define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
7603 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
7604                         __attribute__warn_unused_result__;
7605 #define PERL_ARGS_ASSERT_PERLIO_STDERR
7606
7607 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
7608                         __attribute__warn_unused_result__;
7609 #define PERL_ARGS_ASSERT_PERLIO_STDIN
7610
7611 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
7612                         __attribute__warn_unused_result__;
7613 #define PERL_ARGS_ASSERT_PERLIO_STDOUT
7614
7615 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
7616 #define PERL_ARGS_ASSERT_PERLIO_TELL
7617 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7618 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
7619         assert(vbuf)
7620 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7621 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
7622         assert(vbuf)
7623 #endif
7624 #if defined(USE_QUADMATH)
7625 PERL_CALLCONV bool      Perl_quadmath_format_needed(const char* format)
7626                         __attribute__visibility__("hidden");
7627 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
7628         assert(format)
7629
7630 PERL_CALLCONV bool      Perl_quadmath_format_valid(const char* format)
7631                         __attribute__visibility__("hidden");
7632 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID  \
7633         assert(format)
7634
7635 #endif
7636 #if defined(WIN32)
7637 PERL_CALLCONV bool      Perl_get_win32_message_utf8ness(pTHX_ const char * string)
7638                         __attribute__visibility__("hidden");
7639 #define PERL_ARGS_ASSERT_GET_WIN32_MESSAGE_UTF8NESS
7640
7641 PERL_CALLCONV_NO_RET void       win32_croak_not_implemented(const char * fname)
7642                         __attribute__noreturn__;
7643 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED    \
7644         assert(fname)
7645
7646 #endif
7647 #if defined(WIN32) || defined(VMS)
7648 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
7649 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
7650         assert(mark); assert(sp)
7651 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd);
7652 #define PERL_ARGS_ASSERT_DO_SPAWN       \
7653         assert(cmd)
7654 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd);
7655 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
7656         assert(cmd)
7657 #endif
7658 #if defined(_MSC_VER)
7659 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
7660                         __attribute__visibility__("hidden");
7661 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
7662         assert(sv); assert(mg)
7663
7664 #endif
7665 #ifdef PERL_CORE
7666 #  include "pp_proto.h"
7667 #endif
7668 END_EXTERN_C
7669
7670 /* ex: set ro: */