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