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