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