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