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