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