This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Do better locale collation in UTF-8 locales
[perl5.git] / proto.h
1 /* -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6  *    2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
7  *
8  *    You may distribute under the terms of either the GNU General Public
9  *    License or the Artistic License, as specified in the README file.
10  *
11  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
12  * This file is built by regen/embed.pl from data in embed.fnc,
13  * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h.
14  * Any changes made here will be lost!
15  *
16  * Edit those files and run 'make regen_headers' to effect changes.
17  */
18
19 START_EXTERN_C
20 #ifndef NO_MATHOMS
21 PERL_CALLCONV UV        ASCII_TO_NEED(const UV enc, const UV ch)
22                         __attribute__deprecated__
23                         __attribute__warn_unused_result__
24                         __attribute__pure__;
25 #endif
26
27 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
28 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
29         assert(stash)
30 #ifndef NO_MATHOMS
31 PERL_CALLCONV UV        NATIVE_TO_NEED(const UV enc, const UV ch)
32                         __attribute__deprecated__
33                         __attribute__warn_unused_result__
34                         __attribute__pure__;
35 #endif
36
37 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
38 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
39                         __attribute__malloc__
40                         __attribute__warn_unused_result__;
41
42 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op);
43 #define PERL_ARGS_ASSERT_SLAB_FREE      \
44         assert(op)
45 PERL_CALLCONV SV*       Perl__get_encoding(pTHX)
46                         __attribute__pure__;
47
48 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
49 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
50                         __attribute__warn_unused_result__;
51
52 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
53                         __attribute__warn_unused_result__;
54
55 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
56                         __attribute__warn_unused_result__;
57
58 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p)
59                         __attribute__warn_unused_result__;
60 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
61         assert(p)
62
63 PERL_CALLCONV bool      Perl__is_utf8_idcont(pTHX_ const U8 *p)
64                         __attribute__warn_unused_result__;
65 #define PERL_ARGS_ASSERT__IS_UTF8_IDCONT        \
66         assert(p)
67
68 PERL_CALLCONV bool      Perl__is_utf8_idstart(pTHX_ const U8 *p)
69                         __attribute__warn_unused_result__;
70 #define PERL_ARGS_ASSERT__IS_UTF8_IDSTART       \
71         assert(p)
72
73 PERL_CALLCONV bool      Perl__is_utf8_mark(pTHX_ const U8 *p)
74                         __attribute__warn_unused_result__;
75 #define PERL_ARGS_ASSERT__IS_UTF8_MARK  \
76         assert(p)
77
78 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont(pTHX_ const U8 *p)
79                         __attribute__warn_unused_result__;
80 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
81         assert(p)
82
83 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart(pTHX_ const U8 *p)
84                         __attribute__warn_unused_result__;
85 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
86         assert(p)
87
88 PERL_CALLCONV bool      Perl__is_utf8_xidcont(pTHX_ const U8 *p)
89                         __attribute__warn_unused_result__;
90 #define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT       \
91         assert(p)
92
93 PERL_CALLCONV bool      Perl__is_utf8_xidstart(pTHX_ const U8 *p)
94                         __attribute__warn_unused_result__;
95 #define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART      \
96         assert(p)
97
98 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
99 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
100         assert(p); assert(lenp)
101 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, U8 flags);
102 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
103         assert(p); assert(ustrp)
104 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
105 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
106         assert(p); assert(ustrp)
107 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
108 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
109         assert(p); assert(ustrp)
110 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags);
111 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
112         assert(p); assert(ustrp)
113 PERL_CALLCONV void      Perl__warn_problematic_locale(void);
114 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags);
115 #define PERL_ARGS_ASSERT_ALLOCMY        \
116         assert(name)
117 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
118 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
119         assert(left); assert(right)
120 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method);
121 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
122         assert(ref)
123 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method);
124 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
125 #define PERL_ARGS_ASSERT_APPLY  \
126         assert(mark); assert(sp)
127 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
128 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
129         assert(stashpv); assert(cv); assert(attrstr)
130 PERL_CALLCONV void      Perl_atfork_lock(void);
131 PERL_CALLCONV void      Perl_atfork_unlock(void);
132 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av);
133 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
134         assert(av)
135 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av);
136 #define PERL_ARGS_ASSERT_AV_CLEAR       \
137         assert(av)
138 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
139 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
140         assert(avp); assert(val)
141 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
142 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
143         assert(avp); assert(val)
144 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
145 #define PERL_ARGS_ASSERT_AV_DELETE      \
146         assert(av)
147 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
148                         __attribute__warn_unused_result__;
149 #define PERL_ARGS_ASSERT_AV_EXISTS      \
150         assert(av)
151
152 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key);
153 #define PERL_ARGS_ASSERT_AV_EXTEND      \
154         assert(av)
155 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp);
156 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
157         assert(maxp); assert(allocp); assert(arrayp)
158 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
159                         __attribute__warn_unused_result__;
160 #define PERL_ARGS_ASSERT_AV_FETCH       \
161         assert(av)
162
163 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill);
164 #define PERL_ARGS_ASSERT_AV_FILL        \
165         assert(av)
166 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av);
167 #define PERL_ARGS_ASSERT_AV_ITER_P      \
168         assert(av)
169 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
170                         __attribute__warn_unused_result__;
171 #define PERL_ARGS_ASSERT_AV_LEN \
172         assert(av)
173
174 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
175                         __attribute__warn_unused_result__;
176 #define PERL_ARGS_ASSERT_AV_MAKE        \
177         assert(strp)
178
179 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av);
180 #define PERL_ARGS_ASSERT_AV_POP \
181         assert(av)
182 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val);
183 #define PERL_ARGS_ASSERT_AV_PUSH        \
184         assert(av); assert(val)
185 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av);
186 #define PERL_ARGS_ASSERT_AV_REIFY       \
187         assert(av)
188 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
189                         __attribute__warn_unused_result__;
190 #define PERL_ARGS_ASSERT_AV_SHIFT       \
191         assert(av)
192
193 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
194 #define PERL_ARGS_ASSERT_AV_STORE       \
195         assert(av)
196 /* PERL_CALLCONV SSize_t        Perl_av_tindex(pTHX_ AV *av)
197                         __attribute__warn_unused_result__; */
198
199 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av);
200 #define PERL_ARGS_ASSERT_AV_UNDEF       \
201         assert(av)
202 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num);
203 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
204         assert(av)
205 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
206                         __attribute__warn_unused_result__;
207 #define PERL_ARGS_ASSERT_BIND_MATCH     \
208         assert(left); assert(right)
209
210 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
211                         __attribute__warn_unused_result__;
212
213 PERL_CALLCONV U8        Perl_block_gimme(pTHX)
214                         __attribute__warn_unused_result__;
215
216 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
217                         __attribute__warn_unused_result__;
218
219 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk);
220 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
221         assert(hk)
222 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
223 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
224 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
225 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
226 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
227         assert(b); assert(u)
228 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8);
229 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
230         assert(s); assert(len)
231 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len);
232 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
233         assert(s); assert(len)
234 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
235 #define PERL_ARGS_ASSERT_CALL_ARGV      \
236         assert(sub_name); assert(argv)
237 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
238 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
239 #define PERL_ARGS_ASSERT_CALL_LIST      \
240         assert(paramList)
241 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags);
242 #define PERL_ARGS_ASSERT_CALL_METHOD    \
243         assert(methname)
244 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
245 #define PERL_ARGS_ASSERT_CALL_PV        \
246         assert(sub_name)
247 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags);
248 #define PERL_ARGS_ASSERT_CALL_SV        \
249         assert(sv)
250 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
251 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
252                         __attribute__malloc__
253                         __attribute__warn_unused_result__;
254
255 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
256                         __attribute__warn_unused_result__;
257 #define PERL_ARGS_ASSERT_CANDO  \
258         assert(statbufp)
259
260 PERL_CALLCONV I32       Perl_cast_i32(NV f)
261                         __attribute__warn_unused_result__;
262
263 PERL_CALLCONV IV        Perl_cast_iv(NV f)
264                         __attribute__warn_unused_result__;
265
266 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
267                         __attribute__warn_unused_result__;
268
269 PERL_CALLCONV UV        Perl_cast_uv(NV f)
270                         __attribute__warn_unused_result__;
271
272 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len);
273 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
274         assert(s)
275 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
276                         __attribute__warn_unused_result__;
277 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
278         assert(o)
279
280 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
281                         __attribute__warn_unused_result__;
282 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
283         assert(o)
284
285 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
286                         __attribute__warn_unused_result__;
287 #define PERL_ARGS_ASSERT_CK_BITOP       \
288         assert(o)
289
290 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
291                         __attribute__warn_unused_result__;
292 #define PERL_ARGS_ASSERT_CK_CMP \
293         assert(o)
294
295 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
296                         __attribute__warn_unused_result__;
297 #define PERL_ARGS_ASSERT_CK_CONCAT      \
298         assert(o)
299
300 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
301                         __attribute__warn_unused_result__;
302 #define PERL_ARGS_ASSERT_CK_DEFINED     \
303         assert(o)
304
305 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
306                         __attribute__warn_unused_result__;
307 #define PERL_ARGS_ASSERT_CK_DELETE      \
308         assert(o)
309
310 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
311                         __attribute__warn_unused_result__;
312 #define PERL_ARGS_ASSERT_CK_EACH        \
313         assert(o)
314
315 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
316 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
317         assert(entersubop); assert(namegv); assert(protosv)
318 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
319 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
320         assert(entersubop)
321 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
322 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
323         assert(entersubop); assert(namegv); assert(protosv)
324 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
325 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
326         assert(entersubop); assert(namegv); assert(protosv)
327 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
328                         __attribute__warn_unused_result__;
329 #define PERL_ARGS_ASSERT_CK_EOF \
330         assert(o)
331
332 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
333                         __attribute__warn_unused_result__;
334 #define PERL_ARGS_ASSERT_CK_EVAL        \
335         assert(o)
336
337 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
338                         __attribute__warn_unused_result__;
339 #define PERL_ARGS_ASSERT_CK_EXEC        \
340         assert(o)
341
342 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
343                         __attribute__warn_unused_result__;
344 #define PERL_ARGS_ASSERT_CK_EXISTS      \
345         assert(o)
346
347 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
348                         __attribute__warn_unused_result__;
349 #define PERL_ARGS_ASSERT_CK_FTST        \
350         assert(o)
351
352 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
353                         __attribute__warn_unused_result__;
354 #define PERL_ARGS_ASSERT_CK_FUN \
355         assert(o)
356
357 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
358                         __attribute__warn_unused_result__;
359 #define PERL_ARGS_ASSERT_CK_GLOB        \
360         assert(o)
361
362 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
363                         __attribute__warn_unused_result__;
364 #define PERL_ARGS_ASSERT_CK_GREP        \
365         assert(o)
366
367 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
368                         __attribute__warn_unused_result__;
369 #define PERL_ARGS_ASSERT_CK_INDEX       \
370         assert(o)
371
372 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
373                         __attribute__warn_unused_result__;
374 #define PERL_ARGS_ASSERT_CK_JOIN        \
375         assert(o)
376
377 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
378                         __attribute__warn_unused_result__;
379 #define PERL_ARGS_ASSERT_CK_LENGTH      \
380         assert(o)
381
382 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
383                         __attribute__warn_unused_result__;
384 #define PERL_ARGS_ASSERT_CK_LFUN        \
385         assert(o)
386
387 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
388                         __attribute__warn_unused_result__;
389 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
390         assert(o)
391
392 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
393                         __attribute__warn_unused_result__;
394 #define PERL_ARGS_ASSERT_CK_MATCH       \
395         assert(o)
396
397 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
398                         __attribute__warn_unused_result__;
399 #define PERL_ARGS_ASSERT_CK_METHOD      \
400         assert(o)
401
402 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
403                         __attribute__warn_unused_result__;
404 #define PERL_ARGS_ASSERT_CK_NULL        \
405         assert(o)
406
407 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
408                         __attribute__warn_unused_result__;
409 #define PERL_ARGS_ASSERT_CK_OPEN        \
410         assert(o)
411
412 PERL_CALLCONV OP *      Perl_ck_prototype(pTHX_ OP *o)
413                         __attribute__warn_unused_result__;
414 #define PERL_ARGS_ASSERT_CK_PROTOTYPE   \
415         assert(o)
416
417 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
418                         __attribute__warn_unused_result__;
419 #define PERL_ARGS_ASSERT_CK_READLINE    \
420         assert(o)
421
422 PERL_CALLCONV OP *      Perl_ck_refassign(pTHX_ OP *o)
423                         __attribute__warn_unused_result__;
424 #define PERL_ARGS_ASSERT_CK_REFASSIGN   \
425         assert(o)
426
427 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
428                         __attribute__warn_unused_result__;
429 #define PERL_ARGS_ASSERT_CK_REPEAT      \
430         assert(o)
431
432 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
433                         __attribute__warn_unused_result__;
434 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
435         assert(o)
436
437 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
438                         __attribute__warn_unused_result__;
439 #define PERL_ARGS_ASSERT_CK_RETURN      \
440         assert(o)
441
442 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
443                         __attribute__warn_unused_result__;
444 #define PERL_ARGS_ASSERT_CK_RFUN        \
445         assert(o)
446
447 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
448                         __attribute__warn_unused_result__;
449 #define PERL_ARGS_ASSERT_CK_RVCONST     \
450         assert(o)
451
452 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
453                         __attribute__warn_unused_result__;
454 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
455         assert(o)
456
457 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
458                         __attribute__warn_unused_result__;
459 #define PERL_ARGS_ASSERT_CK_SELECT      \
460         assert(o)
461
462 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
463                         __attribute__warn_unused_result__;
464 #define PERL_ARGS_ASSERT_CK_SHIFT       \
465         assert(o)
466
467 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
468                         __attribute__warn_unused_result__;
469 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
470         assert(o)
471
472 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
473                         __attribute__warn_unused_result__;
474 #define PERL_ARGS_ASSERT_CK_SORT        \
475         assert(o)
476
477 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
478                         __attribute__warn_unused_result__;
479 #define PERL_ARGS_ASSERT_CK_SPAIR       \
480         assert(o)
481
482 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
483                         __attribute__warn_unused_result__;
484 #define PERL_ARGS_ASSERT_CK_SPLIT       \
485         assert(o)
486
487 PERL_CALLCONV OP *      Perl_ck_stringify(pTHX_ OP *o)
488                         __attribute__warn_unused_result__;
489 #define PERL_ARGS_ASSERT_CK_STRINGIFY   \
490         assert(o)
491
492 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
493                         __attribute__warn_unused_result__;
494 #define PERL_ARGS_ASSERT_CK_SUBR        \
495         assert(o)
496
497 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
498                         __attribute__warn_unused_result__;
499 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
500         assert(o)
501
502 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
503                         __attribute__warn_unused_result__;
504 #define PERL_ARGS_ASSERT_CK_SVCONST     \
505         assert(o)
506
507 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
508                         __attribute__warn_unused_result__;
509 #define PERL_ARGS_ASSERT_CK_TELL        \
510         assert(o)
511
512 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
513                         __attribute__warn_unused_result__;
514 #define PERL_ARGS_ASSERT_CK_TRUNC       \
515         assert(o)
516
517 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
518                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
519 #define PERL_ARGS_ASSERT_CK_WARNER      \
520         assert(pat)
521
522 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
523                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
524 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
525         assert(pat)
526
527 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w);
528 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w);
529 PERL_CALLCONV void      Perl_clear_defarray(pTHX_ AV* av, bool abandon);
530 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
531         assert(av)
532 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext);
533 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
534         assert(cop)
535 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
536 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
537         assert(cop)
538 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
539 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
540         assert(cop); assert(label)
541 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum);
542 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
543         assert(name)
544 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum);
545 #define PERL_ARGS_ASSERT_CORESUB_OP     \
546         assert(coreargssv)
547 PERL_CALLCONV void      Perl_create_eval_scope(pTHX_ OP *retop, U32 flags);
548 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
549                         __attribute__noreturn__
550                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
551
552 PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
553                         __attribute__noreturn__;
554
555 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
556                         __attribute__noreturn__;
557
558 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
559                         __attribute__noreturn__;
560
561 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
562                         __attribute__noreturn__;
563
564 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
565                         __attribute__noreturn__;
566 #define PERL_ARGS_ASSERT_CROAK_SV       \
567         assert(baseex)
568
569 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
570                         __attribute__noreturn__;
571 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
572         assert(cv); assert(params)
573
574 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
575 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
576                         __attribute__warn_unused_result__;
577 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
578         assert(o)
579
580 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
581                         __attribute__warn_unused_result__;
582 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
583         assert(o)
584
585 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
586                         __attribute__warn_unused_result__;
587 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
588         assert(o)
589
590 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
591 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
592         assert(ppaddr); assert(xop)
593 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o)
594                         __attribute__pure__; */
595
596 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
597 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
598         assert(cv)
599 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto);
600 #define PERL_ARGS_ASSERT_CV_CLONE       \
601         assert(proto)
602 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target);
603 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
604         assert(proto); assert(target)
605 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
606                         __attribute__warn_unused_result__;
607
608 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
609                         __attribute__warn_unused_result__;
610
611 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv);
612 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
613 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
614         assert(cv); assert(ckfun_p); assert(ckobj_p)
615 PERL_CALLCONV SV *      Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
616 #define PERL_ARGS_ASSERT_CV_NAME        \
617         assert(cv)
618 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
619 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
620         assert(cv); assert(ckfun); assert(ckobj)
621 PERL_CALLCONV void      Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 flags);
622 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS      \
623         assert(cv); assert(ckfun); assert(ckobj)
624 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv);
625 #define PERL_ARGS_ASSERT_CV_UNDEF       \
626         assert(cv)
627 PERL_CALLCONV void      Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags);
628 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
629         assert(cv)
630 PERL_CALLCONV GV *      Perl_cvgv_from_hek(pTHX_ CV* cv);
631 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK  \
632         assert(cv)
633 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
634 #define PERL_ARGS_ASSERT_CVGV_SET       \
635         assert(cv)
636 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
637 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
638         assert(cv)
639 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
640 #define PERL_ARGS_ASSERT_CX_DUMP        \
641         assert(cx)
642 PERL_CALLCONV I32       Perl_cxinc(pTHX)
643                         __attribute__warn_unused_result__;
644
645 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
646                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
647 #define PERL_ARGS_ASSERT_DEB    \
648         assert(pat)
649
650 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
651 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o);
652 #define PERL_ARGS_ASSERT_DEBOP  \
653         assert(o)
654 PERL_CALLCONV void      Perl_debprofdump(pTHX);
655 PERL_CALLCONV I32       Perl_debstack(pTHX);
656 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
657 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
658                         __attribute__warn_unused_result__;
659 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
660         assert(sv)
661
662 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
663 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
664 #define PERL_ARGS_ASSERT_DELIMCPY       \
665         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
666 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
667 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
668                         __attribute__noreturn__
669                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
670
671 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
672                         __attribute__noreturn__;
673 #define PERL_ARGS_ASSERT_DIE_SV \
674         assert(baseex)
675
676 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
677                         __attribute__noreturn__;
678 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
679         assert(msv)
680
681 #ifndef NO_MATHOMS
682 PERL_CALLCONV bool      Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp);
683 #define PERL_ARGS_ASSERT_DO_AEXEC       \
684         assert(mark); assert(sp)
685 #endif
686 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report);
687 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
688         assert(mark); assert(sp)
689 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode);
690 #define PERL_ARGS_ASSERT_DO_BINMODE     \
691         assert(fp)
692 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
693 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full);
694 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
695         assert(file)
696 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv);
697 #define PERL_ARGS_ASSERT_DO_EOF \
698         assert(gv)
699 PERL_CALLCONV void      Perl_do_execfree(pTHX);
700 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
701 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
702         assert(file); assert(name)
703 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
704 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
705         assert(file); assert(name)
706 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
707 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
708         assert(file); assert(name)
709 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
710 #define PERL_ARGS_ASSERT_DO_JOIN        \
711         assert(sv); assert(delim); assert(mark); assert(sp)
712 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
713 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
714         assert(file)
715 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
716                         __attribute__warn_unused_result__;
717 #define PERL_ARGS_ASSERT_DO_NCMP        \
718         assert(left); assert(right)
719
720 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
721 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
722         assert(file)
723 #ifndef NO_MATHOMS
724 PERL_CALLCONV bool      Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
725 #define PERL_ARGS_ASSERT_DO_OPEN        \
726         assert(gv); assert(name)
727 #endif
728 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num);
729 #define PERL_ARGS_ASSERT_DO_OPEN6       \
730         assert(gv); assert(oname)
731 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);
732 #define PERL_ARGS_ASSERT_DO_OPEN9       \
733         assert(gv); assert(name); assert(svs)
734 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm);
735 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
736         assert(gv); assert(oname)
737 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);
738 #define PERL_ARGS_ASSERT_DO_OPENN       \
739         assert(gv); assert(oname)
740 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
741 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
742         assert(file)
743 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
744 #define PERL_ARGS_ASSERT_DO_PRINT       \
745         assert(fp)
746 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
747                         __attribute__warn_unused_result__;
748
749 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
750 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg);
751 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
752         assert(sv); assert(sarg)
753 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
754 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
755         assert(file)
756 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
757 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
758         assert(gv)
759 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
760                         __attribute__warn_unused_result__;
761 #define PERL_ARGS_ASSERT_DO_TELL        \
762         assert(gv)
763
764 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv);
765 #define PERL_ARGS_ASSERT_DO_TRANS       \
766         assert(sv)
767 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size);
768 #define PERL_ARGS_ASSERT_DO_VECGET      \
769         assert(sv)
770 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv);
771 #define PERL_ARGS_ASSERT_DO_VECSET      \
772         assert(sv)
773 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
774 #define PERL_ARGS_ASSERT_DO_VOP \
775         assert(sv); assert(left); assert(right)
776 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin);
777 #define PERL_ARGS_ASSERT_DOFILE \
778         assert(term)
779 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
780                         __attribute__warn_unused_result__;
781
782 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
783 #define PERL_ARGS_ASSERT_DOREF  \
784         assert(o)
785 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
786 PERL_CALLCONV U8        Perl_dowantarray(pTHX)
787                         __attribute__warn_unused_result__;
788
789 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
790 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
791         assert(random_state)
792 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state);
793 #define PERL_ARGS_ASSERT_DRAND48_R      \
794         assert(random_state)
795 PERL_CALLCONV void      Perl_dump_all(pTHX);
796 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
797 PERL_CALLCONV void      Perl_dump_eval(pTHX);
798 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv);
799 #define PERL_ARGS_ASSERT_DUMP_FORM      \
800         assert(gv)
801 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
802                         __attribute__format__(__printf__,pTHX_3,pTHX_4);
803 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
804         assert(file); assert(pat)
805
806 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash);
807 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
808         assert(stash)
809 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl);
810 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
811         assert(stash)
812 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv);
813 #define PERL_ARGS_ASSERT_DUMP_SUB       \
814         assert(gv)
815 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl);
816 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
817         assert(gv)
818 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
819 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
820         assert(file); assert(pat)
821 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
822 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
823         assert(c); assert(sv)
824 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
825 #define PERL_ARGS_ASSERT_EVAL_PV        \
826         assert(p)
827 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags);
828 #define PERL_ARGS_ASSERT_EVAL_SV        \
829         assert(sv)
830 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
831 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
832         assert(sv)
833 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
834                         __attribute__warn_unused_result__;
835 #define PERL_ARGS_ASSERT_FBM_INSTR      \
836         assert(big); assert(bigend); assert(littlestr)
837
838 PERL_CALLCONV bool      Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen);
839 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED     \
840         assert(name)
841 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
842 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp);
843 #define PERL_ARGS_ASSERT_FILTER_DEL     \
844         assert(funcp)
845 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
846                         __attribute__warn_unused_result__;
847 #define PERL_ARGS_ASSERT_FILTER_READ    \
848         assert(buf_sv)
849
850 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o);
851 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
852         assert(o)
853 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off);
854 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
855                         __attribute__warn_unused_result__;
856
857 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
858                         __attribute__warn_unused_result__;
859
860 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
861 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
862                         __attribute__deprecated__;
863
864 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags);
865 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
866         assert(scriptname)
867 PERL_CALLCONV I32       Perl_foldEQ(const char* a, const char* b, I32 len)
868                         __attribute__pure__;
869 #define PERL_ARGS_ASSERT_FOLDEQ \
870         assert(a); assert(b)
871
872 PERL_CALLCONV I32       Perl_foldEQ_latin1(const char* a, const char* b, I32 len)
873                         __attribute__pure__;
874 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
875         assert(a); assert(b)
876
877 PERL_CALLCONV I32       Perl_foldEQ_locale(const char* a, const char* b, I32 len)
878                         __attribute__pure__;
879 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
880         assert(a); assert(b)
881
882 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
883 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);
884 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
885         assert(s1); assert(s2)
886 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
887                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
888 #define PERL_ARGS_ASSERT_FORM   \
889         assert(pat)
890
891 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
892 PERL_CALLCONV void      Perl_free_tmps(pTHX);
893 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags);
894 #define PERL_ARGS_ASSERT_GET_AV \
895         assert(name)
896 PERL_CALLCONV void*     Perl_get_context(void)
897                         __attribute__warn_unused_result__;
898
899 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags);
900 #define PERL_ARGS_ASSERT_GET_CV \
901         assert(name)
902 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
903 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
904         assert(name)
905 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
906 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
907         assert(cv)
908 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer);
909 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
910         assert(seed_buffer)
911 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags);
912 #define PERL_ARGS_ASSERT_GET_HV \
913         assert(name)
914 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
915                         __attribute__warn_unused_result__
916                         __attribute__pure__;
917
918 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
919                         __attribute__warn_unused_result__
920                         __attribute__pure__;
921
922 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
923                         __attribute__warn_unused_result__
924                         __attribute__pure__;
925
926 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
927                         __attribute__warn_unused_result__
928                         __attribute__pure__;
929
930 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
931                         __attribute__warn_unused_result__
932                         __attribute__pure__;
933
934 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
935 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags);
936 #define PERL_ARGS_ASSERT_GET_SV \
937         assert(name)
938 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
939                         __attribute__warn_unused_result__;
940
941 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv);
942 #define PERL_ARGS_ASSERT_GETCWD_SV      \
943         assert(sv)
944 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
945 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
946 PERL_CALLCONV bool      Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
947 #define PERL_ARGS_ASSERT_GROK_ATOUV     \
948         assert(pv); assert(valptr)
949 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
950 #define PERL_ARGS_ASSERT_GROK_BIN       \
951         assert(start); assert(len_p); assert(flags)
952 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
953 #define PERL_ARGS_ASSERT_GROK_HEX       \
954         assert(start); assert(len_p); assert(flags)
955 PERL_CALLCONV int       Perl_grok_infnan(pTHX_ const char** sp, const char *send);
956 #define PERL_ARGS_ASSERT_GROK_INFNAN    \
957         assert(sp); assert(send)
958 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
959 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
960         assert(pv)
961 PERL_CALLCONV int       Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
962 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
963         assert(pv)
964 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
965                         __attribute__warn_unused_result__;
966 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
967         assert(sp); assert(send)
968
969 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
970 #define PERL_ARGS_ASSERT_GROK_OCT       \
971         assert(start); assert(len_p); assert(flags)
972 #ifndef NO_MATHOMS
973 PERL_CALLCONV GV*       Perl_gv_AVadd(pTHX_ GV *gv);
974 #endif
975 #ifndef NO_MATHOMS
976 PERL_CALLCONV GV*       Perl_gv_HVadd(pTHX_ GV *gv);
977 #endif
978 #ifndef NO_MATHOMS
979 PERL_CALLCONV GV*       Perl_gv_IOadd(pTHX_ GV* gv);
980 #endif
981 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
982 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
983                         __attribute__warn_unused_result__; */
984
985 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
986                         __attribute__warn_unused_result__;
987 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
988         assert(namepv)
989
990 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
991                         __attribute__warn_unused_result__;
992 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
993         assert(name)
994
995 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
996                         __attribute__warn_unused_result__;
997 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
998         assert(namesv)
999
1000 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash);
1001 #define PERL_ARGS_ASSERT_GV_CHECK       \
1002         assert(stash)
1003 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1004                         __attribute__warn_unused_result__;
1005 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1006         assert(gv)
1007
1008 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv);
1009 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv);
1010 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
1011         assert(sv); assert(gv)
1012 #ifndef NO_MATHOMS
1013 PERL_CALLCONV void      Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1014 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1015         assert(sv); assert(gv)
1016 #endif
1017 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1018 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1019         assert(sv); assert(gv)
1020 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name);
1021 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1022         assert(name)
1023 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1024 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1025         assert(name)
1026 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1027 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1028 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1029 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1030         assert(name)
1031 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1032 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1033         assert(name)
1034 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1035 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1036         assert(name)
1037 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1038 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1039         assert(name)
1040 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1041 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1042         assert(namesv)
1043 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1044 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1045         assert(namesv)
1046 #ifndef NO_MATHOMS
1047 PERL_CALLCONV GV*       Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1048 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1049         assert(stash); assert(name)
1050 #endif
1051 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1052 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1053         assert(stash); assert(name)
1054 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1055 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1056         assert(stash); assert(name)
1057 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1058 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1059         assert(stash); assert(name)
1060 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1061 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1062         assert(stash); assert(namesv)
1063 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type);
1064 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1065         assert(nambeg)
1066 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1067 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1068         assert(name)
1069 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1070 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1071         assert(name)
1072 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv);
1073 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
1074         assert(sv); assert(gv)
1075 #ifndef NO_MATHOMS
1076 PERL_CALLCONV void      Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1077 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1078         assert(sv); assert(gv)
1079 #endif
1080 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1081 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1082         assert(sv); assert(gv)
1083 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1084                         __attribute__warn_unused_result__;
1085
1086 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1087 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1088 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1089         assert(gv); assert(name)
1090 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1091 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1092         assert(gv); assert(name)
1093 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1094 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1095         assert(gv); assert(namesv)
1096 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1097 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1098         assert(gv); assert(name)
1099 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1100 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1101         assert(name)
1102 PERL_CALLCONV void      Perl_gv_setref(pTHX_ SV *const dstr, SV *const sstr);
1103 #define PERL_ARGS_ASSERT_GV_SETREF      \
1104         assert(dstr); assert(sstr)
1105 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1106 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1107         assert(name)
1108 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1109 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1110         assert(name)
1111 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1112 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1113         assert(sv)
1114 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv);
1115 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1116         assert(gv)
1117 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv);
1118 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1119         assert(hv)
1120 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1121 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv);
1122 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1123         assert(hv)
1124 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1125 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);
1126 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1127         assert(key)
1128 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1129                         __attribute__warn_unused_result__;
1130
1131 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry);
1132 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1133         assert(hv)
1134 #ifndef NO_MATHOMS
1135 PERL_CALLCONV SV*       Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1136 #define PERL_ARGS_ASSERT_HV_DELETE      \
1137         assert(key)
1138 #endif
1139 #ifndef NO_MATHOMS
1140 PERL_CALLCONV SV*       Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1141 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1142         assert(keysv)
1143 #endif
1144 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1145                         __attribute__warn_unused_result__;
1146 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1147         assert(hv)
1148
1149 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1150 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1151         assert(hv)
1152 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1153 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1154         assert(hv); assert(name)
1155 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1156 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1157         assert(hv); assert(name)
1158 #ifndef NO_MATHOMS
1159 PERL_CALLCONV bool      Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1160                         __attribute__warn_unused_result__;
1161 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1162         assert(key)
1163 #endif
1164
1165 #ifndef NO_MATHOMS
1166 PERL_CALLCONV bool      Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1167                         __attribute__warn_unused_result__;
1168 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1169         assert(keysv)
1170 #endif
1171
1172 #ifndef NO_MATHOMS
1173 PERL_CALLCONV SV**      Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1174 #define PERL_ARGS_ASSERT_HV_FETCH       \
1175         assert(key)
1176 #endif
1177 #ifndef NO_MATHOMS
1178 PERL_CALLCONV HE*       Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1179 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1180         assert(keysv)
1181 #endif
1182 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv);
1183 #define PERL_ARGS_ASSERT_HV_FILL        \
1184         assert(hv)
1185 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entry);
1186 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1187         assert(hv)
1188 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv);
1189 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1190         assert(hv)
1191 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1192                         __attribute__warn_unused_result__;
1193 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1194         assert(entry); assert(retlen)
1195
1196 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1197                         __attribute__warn_unused_result__;
1198 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1199         assert(entry)
1200
1201 #ifndef NO_MATHOMS
1202 PERL_CALLCONV HE*       Perl_hv_iternext(pTHX_ HV *hv)
1203                         __attribute__warn_unused_result__;
1204 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1205         assert(hv)
1206 #endif
1207
1208 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1209                         __attribute__warn_unused_result__;
1210 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1211         assert(hv)
1212
1213 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1214                         __attribute__warn_unused_result__;
1215 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1216         assert(hv); assert(key); assert(retlen)
1217
1218 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1219                         __attribute__warn_unused_result__;
1220 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1221         assert(hv); assert(entry)
1222
1223 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1224 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1225         assert(hv)
1226 #ifndef NO_MATHOMS
1227 PERL_CALLCONV void      Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1228 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1229         assert(hv)
1230 #endif
1231 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1232 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1233         assert(hv)
1234 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1235                         __attribute__warn_unused_result__;
1236 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1237         assert(hv)
1238
1239 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1240                         __attribute__warn_unused_result__;
1241 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1242         assert(hv)
1243
1244 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1245 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1246         assert(hv)
1247 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1248 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1249         assert(hv)
1250 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1251                         __attribute__warn_unused_result__;
1252 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1253         assert(hv)
1254
1255 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1256 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1257         assert(hv)
1258 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1259                         __attribute__warn_unused_result__;
1260 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1261         assert(hv)
1262
1263 #ifndef NO_MATHOMS
1264 PERL_CALLCONV SV**      Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1265 #endif
1266 #ifndef NO_MATHOMS
1267 PERL_CALLCONV HE*       Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1268 #endif
1269 #ifndef NO_MATHOMS
1270 PERL_CALLCONV SV**      Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1271 #endif
1272 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1273 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1274 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len); */
1275 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len); */
1276 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1277 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv);
1278 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1279         assert(argv)
1280 PERL_CALLCONV void      Perl_init_constants(pTHX);
1281 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1282 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1283 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1284 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
1285 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1286 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm);
1287 #define PERL_ARGS_ASSERT_INIT_TM        \
1288         assert(ptm)
1289 #ifndef NO_MATHOMS
1290 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1291                         __attribute__warn_unused_result__
1292                         __attribute__pure__;
1293 #define PERL_ARGS_ASSERT_INSTR  \
1294         assert(big); assert(little)
1295 #endif
1296
1297 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1298 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1299                         __attribute__warn_unused_result__;
1300
1301 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail);
1302 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1303         assert(io)
1304 PERL_CALLCONV bool      Perl_isALNUM_lazy(pTHX_ const char* p)
1305                         __attribute__deprecated__
1306                         __attribute__warn_unused_result__
1307                         __attribute__pure__;
1308 #define PERL_ARGS_ASSERT_ISALNUM_LAZY   \
1309         assert(p)
1310
1311 PERL_CALLCONV bool      Perl_isIDFIRST_lazy(pTHX_ const char* p)
1312                         __attribute__deprecated__
1313                         __attribute__warn_unused_result__
1314                         __attribute__pure__;
1315 #define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1316         assert(p)
1317
1318 /* PERL_CALLCONV bool   Perl_is_ascii_string(pTHX_ const U8 *s, STRLEN len)
1319                         __attribute__warn_unused_result__; */
1320
1321 PERL_CALLCONV bool      Perl_is_invariant_string(const U8 *s, STRLEN len)
1322                         __attribute__warn_unused_result__;
1323 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING    \
1324         assert(s)
1325
1326 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1327                         __attribute__warn_unused_result__;
1328
1329 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1330                         __attribute__deprecated__
1331                         __attribute__warn_unused_result__
1332                         __attribute__pure__;
1333
1334 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1335                         __attribute__deprecated__
1336                         __attribute__warn_unused_result__
1337                         __attribute__pure__;
1338
1339 PERL_CALLCONV bool      Perl_is_uni_alnumc(pTHX_ UV c)
1340                         __attribute__deprecated__
1341                         __attribute__warn_unused_result__
1342                         __attribute__pure__;
1343
1344 PERL_CALLCONV bool      Perl_is_uni_alnumc_lc(pTHX_ UV c)
1345                         __attribute__deprecated__
1346                         __attribute__warn_unused_result__
1347                         __attribute__pure__;
1348
1349 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1350                         __attribute__deprecated__
1351                         __attribute__warn_unused_result__
1352                         __attribute__pure__;
1353
1354 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1355                         __attribute__deprecated__
1356                         __attribute__warn_unused_result__
1357                         __attribute__pure__;
1358
1359 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1360                         __attribute__deprecated__
1361                         __attribute__warn_unused_result__
1362                         __attribute__pure__;
1363
1364 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1365                         __attribute__deprecated__
1366                         __attribute__warn_unused_result__
1367                         __attribute__pure__;
1368
1369 PERL_CALLCONV bool      Perl_is_uni_blank(pTHX_ UV c)
1370                         __attribute__deprecated__
1371                         __attribute__warn_unused_result__
1372                         __attribute__pure__;
1373
1374 PERL_CALLCONV bool      Perl_is_uni_blank_lc(pTHX_ UV c)
1375                         __attribute__deprecated__
1376                         __attribute__warn_unused_result__
1377                         __attribute__pure__;
1378
1379 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1380                         __attribute__deprecated__
1381                         __attribute__warn_unused_result__
1382                         __attribute__pure__;
1383
1384 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1385                         __attribute__deprecated__
1386                         __attribute__warn_unused_result__
1387                         __attribute__pure__;
1388
1389 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1390                         __attribute__deprecated__
1391                         __attribute__warn_unused_result__
1392                         __attribute__pure__;
1393
1394 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1395                         __attribute__deprecated__
1396                         __attribute__warn_unused_result__
1397                         __attribute__pure__;
1398
1399 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1400                         __attribute__deprecated__
1401                         __attribute__warn_unused_result__
1402                         __attribute__pure__;
1403
1404 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1405                         __attribute__deprecated__
1406                         __attribute__warn_unused_result__
1407                         __attribute__pure__;
1408
1409 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1410                         __attribute__deprecated__
1411                         __attribute__warn_unused_result__
1412                         __attribute__pure__;
1413
1414 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1415                         __attribute__deprecated__
1416                         __attribute__warn_unused_result__
1417                         __attribute__pure__;
1418
1419 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1420                         __attribute__deprecated__
1421                         __attribute__warn_unused_result__
1422                         __attribute__pure__;
1423
1424 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1425                         __attribute__deprecated__
1426                         __attribute__warn_unused_result__
1427                         __attribute__pure__;
1428
1429 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1430                         __attribute__deprecated__
1431                         __attribute__warn_unused_result__
1432                         __attribute__pure__;
1433
1434 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1435                         __attribute__deprecated__
1436                         __attribute__warn_unused_result__
1437                         __attribute__pure__;
1438
1439 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1440                         __attribute__deprecated__
1441                         __attribute__warn_unused_result__
1442                         __attribute__pure__;
1443
1444 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1445                         __attribute__deprecated__
1446                         __attribute__warn_unused_result__
1447                         __attribute__pure__;
1448
1449 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1450                         __attribute__deprecated__
1451                         __attribute__warn_unused_result__
1452                         __attribute__pure__;
1453
1454 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1455                         __attribute__deprecated__
1456                         __attribute__warn_unused_result__
1457                         __attribute__pure__;
1458
1459 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1460                         __attribute__deprecated__
1461                         __attribute__warn_unused_result__
1462                         __attribute__pure__;
1463
1464 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1465                         __attribute__deprecated__
1466                         __attribute__warn_unused_result__
1467                         __attribute__pure__;
1468
1469 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1470                         __attribute__deprecated__
1471                         __attribute__warn_unused_result__
1472                         __attribute__pure__;
1473
1474 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1475                         __attribute__deprecated__
1476                         __attribute__warn_unused_result__
1477                         __attribute__pure__;
1478
1479 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1480                         __attribute__deprecated__
1481                         __attribute__warn_unused_result__;
1482 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1483         assert(p)
1484
1485 PERL_CALLCONV bool      Perl_is_utf8_alnumc(pTHX_ const U8 *p)
1486                         __attribute__deprecated__
1487                         __attribute__warn_unused_result__;
1488 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1489         assert(p)
1490
1491 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1492                         __attribute__deprecated__
1493                         __attribute__warn_unused_result__;
1494 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1495         assert(p)
1496
1497 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1498                         __attribute__deprecated__
1499                         __attribute__warn_unused_result__;
1500 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1501         assert(p)
1502
1503 PERL_CALLCONV bool      Perl_is_utf8_blank(pTHX_ const U8 *p)
1504                         __attribute__deprecated__
1505                         __attribute__warn_unused_result__;
1506 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK  \
1507         assert(p)
1508
1509 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1510                         __attribute__deprecated__;
1511 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1512         assert(s)
1513
1514 #ifndef NO_MATHOMS
1515 PERL_CALLCONV STRLEN    Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1516 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
1517         assert(buf); assert(buf_end)
1518 #endif
1519 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1520                         __attribute__deprecated__
1521                         __attribute__warn_unused_result__;
1522 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1523         assert(p)
1524
1525 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1526                         __attribute__deprecated__
1527                         __attribute__warn_unused_result__;
1528 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1529         assert(p)
1530
1531 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1532                         __attribute__deprecated__
1533                         __attribute__warn_unused_result__;
1534 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1535         assert(p)
1536
1537 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1538                         __attribute__deprecated__
1539                         __attribute__warn_unused_result__;
1540 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1541         assert(p)
1542
1543 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1544                         __attribute__deprecated__
1545                         __attribute__warn_unused_result__;
1546 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1547         assert(p)
1548
1549 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1550                         __attribute__deprecated__
1551                         __attribute__warn_unused_result__;
1552 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1553         assert(p)
1554
1555 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1556                         __attribute__deprecated__
1557                         __attribute__warn_unused_result__;
1558 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1559         assert(p)
1560
1561 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1562                         __attribute__deprecated__
1563                         __attribute__warn_unused_result__;
1564 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
1565         assert(p)
1566
1567 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1568                         __attribute__deprecated__
1569                         __attribute__warn_unused_result__;
1570 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
1571         assert(p)
1572
1573 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1574                         __attribute__deprecated__
1575                         __attribute__warn_unused_result__;
1576 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
1577         assert(p)
1578
1579 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1580                         __attribute__deprecated__
1581                         __attribute__warn_unused_result__;
1582 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1583         assert(p)
1584
1585 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1586                         __attribute__deprecated__
1587                         __attribute__warn_unused_result__;
1588 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1589         assert(p)
1590
1591 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1592                         __attribute__deprecated__
1593                         __attribute__warn_unused_result__;
1594 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1595         assert(p)
1596
1597 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len);
1598 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1599         assert(s)
1600 #ifndef NO_MATHOMS
1601 PERL_CALLCONV bool      Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep);
1602 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1603         assert(s)
1604 #endif
1605 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1606 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1607         assert(s)
1608 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1609                         __attribute__deprecated__
1610                         __attribute__warn_unused_result__;
1611 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1612         assert(p)
1613
1614 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1615                         __attribute__deprecated__
1616                         __attribute__warn_unused_result__;
1617 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1618         assert(p)
1619
1620 PERL_CALLCONV bool      Perl_is_utf8_xidcont(pTHX_ const U8 *p)
1621                         __attribute__deprecated__
1622                         __attribute__warn_unused_result__;
1623 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT        \
1624         assert(p)
1625
1626 PERL_CALLCONV bool      Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
1627                         __attribute__deprecated__
1628                         __attribute__warn_unused_result__;
1629 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST       \
1630         assert(p)
1631
1632 PERL_CALLCONV bool      Perl_isinfnan(NV nv);
1633 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv);
1634 #define PERL_ARGS_ASSERT_ISINFNANSV     \
1635         assert(sv)
1636 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o);
1637 #define PERL_ARGS_ASSERT_JMAYBE \
1638         assert(o)
1639 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1640                         __attribute__pure__;
1641 #define PERL_ARGS_ASSERT_KEYWORD        \
1642         assert(name)
1643
1644 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
1645 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
1646         assert(keyword_ptr); assert(op_ptr)
1647 PERL_CALLCONV void      Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1648 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS    \
1649         assert(from_sp); assert(to_sp)
1650 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1651 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1652 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr);
1653 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1654         assert(ptr)
1655 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1656 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1657 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1658 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1659 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr);
1660 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1661         assert(ptr)
1662 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1663 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
1664 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
1665 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
1666         assert(pv)
1667 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
1668 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1669         assert(pv)
1670 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
1671 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1672         assert(sv)
1673 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr);
1674 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1675         assert(ptr)
1676 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1677 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
1678 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1679         assert(name)
1680 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex);
1681 #define PERL_ARGS_ASSERT_LOCALIZE       \
1682         assert(o)
1683 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1684                         __attribute__warn_unused_result__;
1685 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1686         assert(sv)
1687
1688 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
1689 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1690         assert(sv); assert(mg)
1691 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg);
1692 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
1693         assert(sv); assert(mg)
1694 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
1695 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1696         assert(sv); assert(mg)
1697 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg);
1698 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1699         assert(sv); assert(mg)
1700 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg);
1701 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1702         assert(sv); assert(mg)
1703 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg);
1704 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1705         assert(mg)
1706 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
1707 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1708         assert(sv); assert(mg)
1709 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
1710 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1711         assert(sv); assert(mg)
1712 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen);
1713 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
1714         assert(sv); assert(mg); assert(nsv)
1715 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
1716 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg);
1717 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1718         assert(sv); assert(mg)
1719 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg);
1720 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1721         assert(sv); assert(mg)
1722 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg);
1723 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1724         assert(sv); assert(mg)
1725 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
1726 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1727         assert(sv); assert(mg)
1728 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg);
1729 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1730         assert(sv); assert(mg)
1731 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg);
1732 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
1733         assert(sv); assert(mg)
1734 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
1735 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1736         assert(sv); assert(mg)
1737 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
1738 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1739         assert(sv); assert(mg)
1740 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
1741 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1742         assert(sv); assert(mg)
1743 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
1744 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1745         assert(sv); assert(mg)
1746 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
1747 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1748         assert(sv); assert(mg)
1749 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
1750 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1751         assert(sv); assert(mg)
1752 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
1753 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1754         assert(sv); assert(mg)
1755 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
1756 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1757         assert(sv); assert(mg)
1758 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
1759 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1760         assert(sv); assert(mg)
1761 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
1762 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
1763         assert(sv); assert(mg)
1764 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...);
1765 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1766         assert(sv); assert(mg); assert(meth)
1767 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key);
1768 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1769         assert(sv); assert(mg); assert(key)
1770 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
1771 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1772         assert(sv); assert(mg)
1773 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
1774 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1775         assert(sv); assert(mg)
1776 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg);
1777 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
1778         assert(hv); assert(mg)
1779 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
1780 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1781         assert(sv); assert(mg)
1782 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
1783 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1784         assert(sv); assert(mg)
1785 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
1786 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1787         assert(sv); assert(mg)
1788 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
1789 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1790         assert(sv); assert(mg)
1791 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg);
1792 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
1793         assert(sv); assert(mg)
1794 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
1795 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1796         assert(sv); assert(mg)
1797 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
1798 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1799         assert(sv); assert(mg)
1800 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg);
1801 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1802         assert(sv); assert(mg)
1803 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
1804 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1805         assert(sv); assert(mg)
1806 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg);
1807 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
1808         assert(sv); assert(mg)
1809 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
1810 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1811         assert(sv); assert(mg)
1812 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
1813 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1814         assert(sv); assert(mg)
1815 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
1816 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1817         assert(sv); assert(mg)
1818 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
1819 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1820         assert(sv); assert(mg)
1821 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg);
1822 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1823         assert(sv); assert(mg)
1824 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
1825 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1826         assert(mg)
1827 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
1828 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1829         assert(sv); assert(mg)
1830 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
1831 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1832         assert(sv); assert(mg)
1833 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg);
1834 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1835         assert(sv); assert(mg)
1836 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
1837 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1838         assert(sv); assert(mg)
1839 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
1840 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1841         assert(sv); assert(mg)
1842 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
1843 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1844         assert(sv); assert(mg)
1845 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
1846 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1847         assert(sv); assert(mg)
1848 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
1849                         __attribute__malloc__
1850                         __attribute__warn_unused_result__;
1851
1852 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
1853 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1854                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1855 #define PERL_ARGS_ASSERT_MESS   \
1856         assert(pat)
1857
1858 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
1859 #define PERL_ARGS_ASSERT_MESS_SV        \
1860         assert(basemsg)
1861 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
1862 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv);
1863 #define PERL_ARGS_ASSERT_MG_CLEAR       \
1864         assert(sv)
1865 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
1866 #define PERL_ARGS_ASSERT_MG_COPY        \
1867         assert(sv); assert(nsv)
1868 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
1869                         __attribute__warn_unused_result__;
1870
1871 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
1872                         __attribute__warn_unused_result__;
1873 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
1874         assert(sv)
1875
1876 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
1877                         __attribute__warn_unused_result__;
1878
1879 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv);
1880 #define PERL_ARGS_ASSERT_MG_FREE        \
1881         assert(sv)
1882 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how);
1883 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
1884         assert(sv)
1885 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv);
1886 #define PERL_ARGS_ASSERT_MG_GET \
1887         assert(sv)
1888 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
1889                         __attribute__deprecated__;
1890 #define PERL_ARGS_ASSERT_MG_LENGTH      \
1891         assert(sv)
1892
1893 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic);
1894 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
1895         assert(sv); assert(nsv)
1896 PERL_CALLCONV void      Perl_mg_magical(SV* sv);
1897 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
1898         assert(sv)
1899 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv);
1900 #define PERL_ARGS_ASSERT_MG_SET \
1901         assert(sv)
1902 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv);
1903 #define PERL_ARGS_ASSERT_MG_SIZE        \
1904         assert(sv)
1905 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm);
1906 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
1907         assert(ptm)
1908 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
1909 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
1910 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s);
1911 #define PERL_ARGS_ASSERT_MORESWITCHES   \
1912         assert(s)
1913 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name);
1914 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
1915         assert(name)
1916 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash);
1917 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
1918         assert(stash)
1919 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
1920 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
1921         assert(smeta); assert(which)
1922 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash);
1923 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
1924         assert(stash)
1925 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash);
1926 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
1927         assert(stash)
1928 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash);
1929 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
1930         assert(stash)
1931 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
1932 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
1933         assert(gv)
1934 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro);
1935 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
1936         assert(mro)
1937 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
1938 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
1939         assert(meta); assert(name)
1940 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
1941 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
1942         assert(smeta); assert(which); assert(data)
1943 PERL_CALLCONV SV*       Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
1944 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
1945         assert(o)
1946 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s);
1947 #define PERL_ARGS_ASSERT_MY_ATOF        \
1948         assert(s)
1949 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value);
1950 #define PERL_ARGS_ASSERT_MY_ATOF2       \
1951         assert(s); assert(value)
1952 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs);
1953 #define PERL_ARGS_ASSERT_MY_ATTRS       \
1954         assert(o)
1955 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
1956 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
1957 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
1958                         __attribute__noreturn__;
1959
1960 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
1961                         __attribute__noreturn__;
1962
1963 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
1964 PERL_CALLCONV Pid_t     Perl_my_fork(void);
1965 #ifndef NO_MATHOMS
1966 PERL_CALLCONV I32       Perl_my_lstat(pTHX);
1967 #endif
1968 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
1969 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
1970 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
1971         assert(mode); assert(args)
1972 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
1973 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
1974                         __attribute__format__(__printf__,3,4);
1975 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
1976         assert(buffer); assert(format)
1977
1978 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
1979 #ifndef NO_MATHOMS
1980 PERL_CALLCONV I32       Perl_my_stat(pTHX);
1981 #endif
1982 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
1983 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
1984 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)
1985                         __attribute__format__(__strftime__,pTHX_1,0);
1986 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
1987         assert(fmt)
1988
1989 PERL_CALLCONV void      Perl_my_unexec(pTHX);
1990 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
1991 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
1992         assert(buffer); assert(format)
1993 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
1994 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
1995                         __attribute__malloc__
1996                         __attribute__warn_unused_result__;
1997
1998 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
1999                         __attribute__malloc__
2000                         __attribute__warn_unused_result__;
2001
2002 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2003 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2004                         __attribute__malloc__
2005                         __attribute__warn_unused_result__;
2006
2007 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2008 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2009 #ifndef NO_MATHOMS
2010 PERL_CALLCONV AV*       Perl_newAV(pTHX)
2011                         __attribute__warn_unused_result__;
2012 #endif
2013
2014 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2015                         __attribute__malloc__
2016                         __attribute__warn_unused_result__;
2017 #define PERL_ARGS_ASSERT_NEWAVREF       \
2018         assert(o)
2019
2020 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2021                         __attribute__malloc__
2022                         __attribute__warn_unused_result__;
2023
2024 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2025                         __attribute__malloc__
2026                         __attribute__warn_unused_result__;
2027 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2028         assert(first)
2029
2030 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2031 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2032 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2033                         __attribute__malloc__
2034                         __attribute__warn_unused_result__;
2035
2036 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2037                         __attribute__warn_unused_result__;
2038
2039 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2040 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2041                         __attribute__malloc__
2042                         __attribute__warn_unused_result__;
2043 #define PERL_ARGS_ASSERT_NEWFOROP       \
2044         assert(expr)
2045
2046 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2047                         __attribute__malloc__
2048                         __attribute__warn_unused_result__;
2049 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2050         assert(cond); assert(block)
2051
2052 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2053 #define PERL_ARGS_ASSERT_NEWGP  \
2054         assert(gv)
2055 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2056                         __attribute__malloc__
2057                         __attribute__warn_unused_result__;
2058 #define PERL_ARGS_ASSERT_NEWGVOP        \
2059         assert(gv)
2060
2061 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2062                         __attribute__malloc__
2063                         __attribute__warn_unused_result__;
2064
2065 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2066 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2067                         __attribute__malloc__
2068                         __attribute__warn_unused_result__;
2069 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2070         assert(pack)
2071
2072 #ifndef NO_MATHOMS
2073 PERL_CALLCONV HV*       Perl_newHV(pTHX)
2074                         __attribute__warn_unused_result__;
2075 #endif
2076
2077 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2078                         __attribute__malloc__
2079                         __attribute__warn_unused_result__;
2080 #define PERL_ARGS_ASSERT_NEWHVREF       \
2081         assert(o)
2082
2083 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2084                         __attribute__malloc__
2085                         __attribute__warn_unused_result__;
2086
2087 #ifndef NO_MATHOMS
2088 PERL_CALLCONV IO*       Perl_newIO(pTHX)
2089                         __attribute__malloc__
2090                         __attribute__warn_unused_result__;
2091 #endif
2092
2093 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2094                         __attribute__malloc__
2095                         __attribute__warn_unused_result__;
2096
2097 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2098                         __attribute__malloc__
2099                         __attribute__warn_unused_result__;
2100 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2101         assert(first); assert(other)
2102
2103 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2104                         __attribute__malloc__
2105                         __attribute__warn_unused_result__;
2106 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2107         assert(label)
2108
2109 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2110                         __attribute__malloc__
2111                         __attribute__warn_unused_result__;
2112
2113 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2114                         __attribute__malloc__
2115                         __attribute__warn_unused_result__;
2116 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2117         assert(dynamic_meth)
2118
2119 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2120                         __attribute__malloc__
2121                         __attribute__warn_unused_result__;
2122 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2123         assert(const_meth)
2124
2125 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2126 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2127         assert(o)
2128 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2129                         __attribute__malloc__
2130                         __attribute__warn_unused_result__;
2131
2132 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2133                         __attribute__malloc__
2134                         __attribute__warn_unused_result__;
2135
2136 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2137                         __attribute__malloc__
2138                         __attribute__warn_unused_result__;
2139
2140 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2141                         __attribute__malloc__
2142                         __attribute__warn_unused_result__;
2143 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2144         assert(outer)
2145
2146 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2147                         __attribute__malloc__
2148                         __attribute__warn_unused_result__;
2149 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2150         assert(s)
2151
2152 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2153                         __attribute__malloc__
2154                         __attribute__warn_unused_result__;
2155
2156 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2157 #define PERL_ARGS_ASSERT_NEWPROG        \
2158         assert(o)
2159 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2160                         __attribute__malloc__
2161                         __attribute__warn_unused_result__;
2162
2163 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2164                         __attribute__malloc__
2165                         __attribute__warn_unused_result__;
2166 #define PERL_ARGS_ASSERT_NEWRANGE       \
2167         assert(left); assert(right)
2168
2169 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2170                         __attribute__malloc__
2171                         __attribute__warn_unused_result__;
2172 #define PERL_ARGS_ASSERT_NEWRV  \
2173         assert(sv)
2174
2175 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2176                         __attribute__malloc__
2177                         __attribute__warn_unused_result__;
2178 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2179         assert(tmpRef)
2180
2181 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2182                         __attribute__malloc__
2183                         __attribute__warn_unused_result__;
2184
2185 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2186                         __attribute__malloc__
2187                         __attribute__warn_unused_result__;
2188
2189 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake);
2190 #define PERL_ARGS_ASSERT_NEWSTUB        \
2191         assert(gv)
2192 #ifndef NO_MATHOMS
2193 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2194 #endif
2195 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2196                         __attribute__malloc__
2197                         __attribute__warn_unused_result__;
2198
2199 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2200                         __attribute__malloc__
2201                         __attribute__warn_unused_result__;
2202 #define PERL_ARGS_ASSERT_NEWSVOP        \
2203         assert(sv)
2204
2205 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2206                         __attribute__malloc__
2207                         __attribute__warn_unused_result__;
2208 #define PERL_ARGS_ASSERT_NEWSVREF       \
2209         assert(o)
2210
2211 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2212                         __attribute__malloc__
2213                         __attribute__warn_unused_result__;
2214
2215 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2216                         __attribute__malloc__
2217                         __attribute__warn_unused_result__;
2218 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2219         assert(av)
2220
2221 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2222                         __attribute__malloc__
2223                         __attribute__warn_unused_result__;
2224
2225 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2226                         __attribute__malloc__
2227                         __attribute__warn_unused_result__;
2228
2229 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2230                         __attribute__malloc__
2231                         __attribute__warn_unused_result__;
2232
2233 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2234                         __attribute__malloc__
2235                         __attribute__warn_unused_result__;
2236
2237 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2238                         __attribute__malloc__
2239                         __attribute__warn_unused_result__;
2240
2241 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2242                         __attribute__malloc__
2243                         __attribute__warn_unused_result__
2244                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2245 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2246         assert(pat)
2247
2248 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2249                         __attribute__malloc__
2250                         __attribute__warn_unused_result__;
2251
2252 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2253                         __attribute__malloc__
2254                         __attribute__warn_unused_result__;
2255
2256 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2257                         __attribute__malloc__
2258                         __attribute__warn_unused_result__;
2259
2260 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2261 #define PERL_ARGS_ASSERT_NEWSVRV        \
2262         assert(rv)
2263 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2264                         __attribute__malloc__
2265                         __attribute__warn_unused_result__;
2266
2267 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2268                         __attribute__malloc__
2269                         __attribute__warn_unused_result__;
2270
2271 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2272                         __attribute__malloc__
2273                         __attribute__warn_unused_result__;
2274
2275 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2276                         __attribute__malloc__
2277                         __attribute__warn_unused_result__;
2278
2279 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2280                         __attribute__malloc__
2281                         __attribute__warn_unused_result__;
2282 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2283         assert(block)
2284
2285 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2286                         __attribute__malloc__
2287                         __attribute__warn_unused_result__;
2288
2289 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2290 #define PERL_ARGS_ASSERT_NEWXS  \
2291         assert(subaddr); assert(filename)
2292 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2293 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2294         assert(name); assert(subaddr)
2295 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2296 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2297         assert(subaddr); assert(filename)
2298 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);
2299 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2300         assert(subaddr)
2301 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2302 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype);
2303 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2304         assert(newctype)
2305 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2306 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2307                         __attribute__malloc__
2308                         __attribute__warn_unused_result__;
2309
2310 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2311 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2312         assert(ver)
2313 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2314                         __attribute__malloc__
2315                         __attribute__warn_unused_result__;
2316 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2317         assert(bits)
2318
2319 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen);
2320 #define PERL_ARGS_ASSERT_NEXTARGV       \
2321         assert(gv)
2322 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2323                         __attribute__noreturn__
2324                         __attribute__format__(__printf__,1,2);
2325 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2326         assert(pat)
2327
2328 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2329 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2330                         __attribute__warn_unused_result__;
2331 #define PERL_ARGS_ASSERT_OOPSAV \
2332         assert(o)
2333
2334 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2335                         __attribute__warn_unused_result__;
2336 #define PERL_ARGS_ASSERT_OOPSHV \
2337         assert(o)
2338
2339 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2340 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2341 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
2342 #define PERL_ARGS_ASSERT_OP_CLEAR       \
2343         assert(o)
2344 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
2345 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
2346         assert(o)
2347 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
2348                         __attribute__warn_unused_result__;
2349
2350 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
2351 #define PERL_ARGS_ASSERT_OP_DUMP        \
2352         assert(o)
2353 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2354 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
2355 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
2356         assert(o)
2357 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
2358 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
2359 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
2360 #define PERL_ARGS_ASSERT_OP_NULL        \
2361         assert(o)
2362 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
2363 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
2364 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
2365 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
2366 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
2367 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
2368 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);
2369 #define PERL_ARGS_ASSERT_PACK_CAT       \
2370         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2371 PERL_CALLCONV void      Perl_package(pTHX_ OP* o);
2372 #define PERL_ARGS_ASSERT_PACKAGE        \
2373         assert(o)
2374 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v);
2375 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2376         assert(v)
2377 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
2378 #define PERL_ARGS_ASSERT_PACKLIST       \
2379         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2380 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
2381 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
2382         assert(func)
2383 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
2384 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
2385         assert(name)
2386 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
2387 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
2388         assert(namepv)
2389 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
2390 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
2391         assert(name)
2392 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func);
2393 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
2394         assert(func)
2395 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2396 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
2397 #ifndef NO_MATHOMS
2398 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
2399                         __attribute__warn_unused_result__;
2400 #endif
2401
2402 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
2403 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
2404         assert(name)
2405 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
2406 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
2407         assert(namepv)
2408 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
2409 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
2410         assert(name)
2411 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv);
2412 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
2413         assert(padlist); assert(old_cv); assert(new_cv)
2414 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2415 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
2416 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
2417                         __attribute__malloc__
2418                         __attribute__warn_unused_result__;
2419
2420 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
2421 #define PERL_ARGS_ASSERT_PAD_PUSH       \
2422         assert(padlist)
2423 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2424 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
2425 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val);
2426 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
2427         assert(padlist)
2428 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
2429 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
2430         assert(pn)
2431 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
2432                         __attribute__warn_unused_result__;
2433 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
2434         assert(pnl)
2435
2436 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
2437 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
2438         assert(pnl)
2439 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
2440 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
2441         assert(pnl)
2442 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
2443 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
2444 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
2445 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
2446 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
2447 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
2448 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
2449 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
2450 PERL_CALLCONV OP *      Perl_parse_subsignature(pTHX)
2451                         __attribute__warn_unused_result__;
2452
2453 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
2454 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt);
2455 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
2456         assert(popt)
2457 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser);
2458 #define PERL_ARGS_ASSERT_PARSER_FREE    \
2459         assert(parser)
2460 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2461 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
2462 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
2463 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
2464         assert(my_perl)
2465 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
2466 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
2467         assert(my_perl)
2468 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
2469 #define PERL_ARGS_ASSERT_PERL_FREE      \
2470         assert(my_perl)
2471 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
2472 #define PERL_ARGS_ASSERT_PERL_PARSE     \
2473         assert(my_perl)
2474 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
2475 #define PERL_ARGS_ASSERT_PERL_RUN       \
2476         assert(my_perl)
2477 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
2478 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, bool isreg, I32 floor);
2479 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2480         assert(o); assert(expr)
2481 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2482 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...);
2483 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
2484         assert(name)
2485 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
2486 #define PERL_ARGS_ASSERT_PREGCOMP       \
2487         assert(pattern)
2488 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
2489 #define PERL_ARGS_ASSERT_PREGEXEC       \
2490         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2491 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2492 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
2493 #define PERL_ARGS_ASSERT_PREGFREE2      \
2494         assert(rx)
2495 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);
2496 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2497         assert(s)
2498 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
2499                         __attribute__deprecated__;
2500
2501 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
2502                         __attribute__warn_unused_result__;
2503 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
2504         assert(tbl)
2505
2506 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
2507 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
2508                         __attribute__malloc__
2509                         __attribute__warn_unused_result__;
2510
2511 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
2512 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
2513         assert(tbl)
2514 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
2515 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
2516         assert(tbl); assert(newsv)
2517 PERL_CALLCONV void      Perl_push_scope(pTHX);
2518 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
2519 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
2520         assert(dsv); assert(pv)
2521 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);
2522 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
2523         assert(str)
2524 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);
2525 #define PERL_ARGS_ASSERT_PV_PRETTY      \
2526         assert(dsv); assert(str)
2527 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
2528 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
2529         assert(dsv); assert(spv)
2530 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
2531 #define PERL_ARGS_ASSERT_QERROR \
2532         assert(err)
2533 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
2534 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2535         assert(pattern)
2536 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);
2537 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2538         assert(rx); assert(strbeg); assert(strpos); assert(strend)
2539 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
2540 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2541         assert(r)
2542 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);
2543 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
2544         assert(eng)
2545 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
2546                         __attribute__malloc__
2547                         __attribute__warn_unused_result__;
2548
2549 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2550 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2551 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
2552 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2553         assert(f)
2554 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2555 #ifndef NO_MATHOMS
2556 PERL_CALLCONV OP*       Perl_ref(pTHX_ OP* o, I32 type);
2557 #endif
2558 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
2559 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
2560 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
2561         assert(key)
2562 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
2563 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
2564         assert(keypv)
2565 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
2566 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
2567         assert(key)
2568 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
2569 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
2570 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
2571 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
2572         assert(key)
2573 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);
2574 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
2575         assert(keypv)
2576 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
2577 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
2578         assert(key)
2579 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
2580 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2581         assert(rx)
2582 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
2583 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2584         assert(rx)
2585 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
2586 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2587         assert(rx); assert(key)
2588 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
2589 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2590         assert(rx); assert(namesv)
2591 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
2592 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2593         assert(rx)
2594 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
2595 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2596         assert(rx)
2597 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
2598 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2599         assert(rx)
2600 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
2601 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2602         assert(rx)
2603 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
2604 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2605         assert(rx)
2606 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
2607 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2608         assert(rx); assert(sv)
2609 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
2610 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2611         assert(rx)
2612 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
2613 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2614         assert(rx)
2615 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx);
2616 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2617         assert(rx)
2618 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp);
2619 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2620         assert(node)
2621 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
2622 #define PERL_ARGS_ASSERT_REGDUMP        \
2623         assert(r)
2624 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);
2625 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2626         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2627 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
2628 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2629         assert(rx)
2630 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
2631 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2632                         __attribute__warn_unused_result__;
2633
2634 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
2635 #define PERL_ARGS_ASSERT_REPEATCPY      \
2636         assert(to); assert(from)
2637 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
2638 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
2639 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
2640 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
2641 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2642         assert(pv)
2643 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2644                         __attribute__pure__;
2645 #define PERL_ARGS_ASSERT_RNINSTR        \
2646         assert(big); assert(bigend); assert(little); assert(lend)
2647
2648 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
2649 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2650 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2651 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save);
2652 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2653         assert(save)
2654 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2655 PERL_CALLCONV int       Perl_runops_debug(pTHX);
2656 PERL_CALLCONV int       Perl_runops_standard(pTHX);
2657 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
2658 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
2659         assert(cvop)
2660 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx);
2661 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2662         assert(rsp); assert(rx)
2663 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
2664                         __attribute__malloc__
2665                         __attribute__warn_unused_result__;
2666
2667 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
2668 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
2669                         __attribute__malloc__
2670                         __attribute__warn_unused_result__;
2671
2672 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
2673                         __attribute__malloc__
2674                         __attribute__warn_unused_result__;
2675
2676 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
2677 #define PERL_ARGS_ASSERT_SAVE_I16       \
2678         assert(intp)
2679 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
2680 #define PERL_ARGS_ASSERT_SAVE_I32       \
2681         assert(intp)
2682 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
2683 #define PERL_ARGS_ASSERT_SAVE_I8        \
2684         assert(bytep)
2685 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
2686 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2687         assert(av)
2688 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
2689 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
2690 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2691         assert(av); assert(sptr)
2692 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2693 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
2694 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2695         assert(aptr)
2696 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
2697 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2698         assert(gv)
2699 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
2700 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2701         assert(boolp)
2702 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
2703 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2704         assert(svp)
2705 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
2706 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2707         assert(hv); assert(key)
2708 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
2709 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2710         assert(p)
2711 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2712 #ifndef NO_MATHOMS
2713 PERL_CALLCONV void      Perl_save_freeop(pTHX_ OP* o);
2714 #endif
2715 #ifndef NO_MATHOMS
2716 PERL_CALLCONV void      Perl_save_freepv(pTHX_ char* pv);
2717 #endif
2718 #ifndef NO_MATHOMS
2719 PERL_CALLCONV void      Perl_save_freesv(pTHX_ SV* sv);
2720 #endif
2721 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
2722 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2723         assert(str)
2724 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
2725 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2726         assert(sptr)
2727 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
2728 #define PERL_ARGS_ASSERT_SAVE_GP        \
2729         assert(gv)
2730 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
2731 #define PERL_ARGS_ASSERT_SAVE_HASH      \
2732         assert(gv)
2733 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
2734 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2735         assert(hv); assert(keysv)
2736 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
2737 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
2738 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
2739         assert(hv); assert(key); assert(sptr)
2740 PERL_CALLCONV void      Perl_save_hints(pTHX);
2741 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
2742 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
2743         assert(hptr)
2744 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
2745 #define PERL_ARGS_ASSERT_SAVE_INT       \
2746         assert(intp)
2747 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
2748 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
2749         assert(item)
2750 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
2751 #define PERL_ARGS_ASSERT_SAVE_IV        \
2752         assert(ivp)
2753 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg);
2754 #define PERL_ARGS_ASSERT_SAVE_LIST      \
2755         assert(sarg)
2756 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp);
2757 #define PERL_ARGS_ASSERT_SAVE_LONG      \
2758         assert(longp)
2759 #ifndef NO_MATHOMS
2760 PERL_CALLCONV void      Perl_save_mortalizesv(pTHX_ SV* sv);
2761 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
2762         assert(sv)
2763 #endif
2764 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv);
2765 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
2766         assert(gv)
2767 #ifndef NO_MATHOMS
2768 PERL_CALLCONV void      Perl_save_op(pTHX);
2769 #endif
2770 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2771 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
2772 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
2773         assert(pptr)
2774 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
2775 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
2776 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
2777 PERL_CALLCONV void      Perl_save_re_context(pTHX);
2778 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
2779 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
2780         assert(gv)
2781 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
2782 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
2783         assert(sv)
2784 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
2785 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
2786         assert(str)
2787 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
2788 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
2789         assert(sptr)
2790 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
2791 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
2792         assert(ptr)
2793 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
2794 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
2795         assert(sptr)
2796 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
2797 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
2798         assert(ptr)
2799 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2800                         __attribute__malloc__
2801                         __attribute__warn_unused_result__;
2802
2803 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2804                         __attribute__malloc__
2805                         __attribute__warn_unused_result__;
2806
2807 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2808                         __attribute__malloc__
2809                         __attribute__warn_unused_result__;
2810
2811 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2812                         __attribute__malloc__
2813                         __attribute__warn_unused_result__;
2814
2815 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
2816                         __attribute__malloc__
2817                         __attribute__warn_unused_result__;
2818 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
2819         assert(sv)
2820
2821 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2822 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2823 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2824                         __attribute__malloc__
2825                         __attribute__warn_unused_result__;
2826 #define PERL_ARGS_ASSERT_SAVESVPV       \
2827         assert(sv)
2828
2829 PERL_CALLCONV void      Perl_savetmps(pTHX);
2830 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
2831 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
2832 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o);
2833 #define PERL_ARGS_ASSERT_SCALARVOID     \
2834         assert(o)
2835 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2836 #define PERL_ARGS_ASSERT_SCAN_BIN       \
2837         assert(start); assert(retlen)
2838 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2839 #define PERL_ARGS_ASSERT_SCAN_HEX       \
2840         assert(start); assert(retlen)
2841 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
2842 #define PERL_ARGS_ASSERT_SCAN_NUM       \
2843         assert(s); assert(lvalp)
2844 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
2845 #define PERL_ARGS_ASSERT_SCAN_OCT       \
2846         assert(start); assert(retlen)
2847 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
2848 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2849         assert(s); assert(rv)
2850 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
2851 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2852         assert(s); assert(e); assert(sv)
2853 PERL_CALLCONV U32       Perl_seed(pTHX);
2854 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
2855 PERL_CALLCONV void      Perl_set_context(void *t);
2856 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
2857         assert(t)
2858 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2859 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2860 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2861 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
2862 #define PERL_ARGS_ASSERT_SETDEFOUT      \
2863         assert(gv)
2864 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash);
2865 #define PERL_ARGS_ASSERT_SHARE_HEK      \
2866         assert(str)
2867 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
2868 #define PERL_ARGS_ASSERT_SORTSV \
2869         assert(cmp)
2870 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
2871 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
2872         assert(cmp)
2873 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
2874 #define PERL_ARGS_ASSERT_STACK_GROW     \
2875         assert(sp); assert(p)
2876 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io);
2877 #define PERL_ARGS_ASSERT_START_GLOB     \
2878         assert(tmpglob); assert(io)
2879 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2880 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
2881                         __attribute__warn_unused_result__;
2882 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
2883         assert(sv)
2884
2885 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv);
2886 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
2887         assert(cv)
2888 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv); */
2889 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
2890 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
2891         assert(sv)
2892 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
2893 #define PERL_ARGS_ASSERT_SV_2CV \
2894         assert(st); assert(gvp)
2895 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
2896 #define PERL_ARGS_ASSERT_SV_2IO \
2897         assert(sv)
2898 #ifndef NO_MATHOMS
2899 PERL_CALLCONV IV        Perl_sv_2iv(pTHX_ SV *sv);
2900 #define PERL_ARGS_ASSERT_SV_2IV \
2901         assert(sv)
2902 #endif
2903 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
2904 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
2905         assert(sv)
2906 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
2907 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv);
2908 #define PERL_ARGS_ASSERT_SV_2NUM        \
2909         assert(sv)
2910 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
2911 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
2912         assert(sv)
2913 #ifndef NO_MATHOMS
2914 PERL_CALLCONV char*     Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
2915 #define PERL_ARGS_ASSERT_SV_2PV \
2916         assert(sv)
2917 #endif
2918 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
2919 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
2920         assert(sv)
2921 #ifndef NO_MATHOMS
2922 PERL_CALLCONV char*     Perl_sv_2pv_nolen(pTHX_ SV* sv)
2923                         __attribute__warn_unused_result__;
2924 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
2925         assert(sv)
2926 #endif
2927
2928 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
2929 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
2930         assert(sv)
2931 #ifndef NO_MATHOMS
2932 PERL_CALLCONV char*     Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
2933                         __attribute__warn_unused_result__;
2934 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
2935         assert(sv)
2936 #endif
2937
2938 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
2939 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
2940         assert(sv)
2941 #ifndef NO_MATHOMS
2942 PERL_CALLCONV char*     Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
2943                         __attribute__warn_unused_result__;
2944 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
2945         assert(sv)
2946 #endif
2947
2948 #ifndef NO_MATHOMS
2949 PERL_CALLCONV UV        Perl_sv_2uv(pTHX_ SV *sv);
2950 #define PERL_ARGS_ASSERT_SV_2UV \
2951         assert(sv)
2952 #endif
2953 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
2954 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
2955         assert(sv)
2956 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
2957 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
2958         assert(sv)
2959 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
2960 #define PERL_ARGS_ASSERT_SV_BLESS       \
2961         assert(sv); assert(stash)
2962 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
2963 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
2964         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
2965 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr);
2966 #define PERL_ARGS_ASSERT_SV_CATPV       \
2967         assert(sv)
2968 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags);
2969 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
2970         assert(dstr); assert(sstr)
2971 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr);
2972 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
2973         assert(sv)
2974 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
2975                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
2976 #define PERL_ARGS_ASSERT_SV_CATPVF      \
2977         assert(sv); assert(pat)
2978
2979 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
2980                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
2981 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
2982         assert(sv); assert(pat)
2983
2984 #ifndef NO_MATHOMS
2985 PERL_CALLCONV void      Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
2986 #define PERL_ARGS_ASSERT_SV_CATPVN      \
2987         assert(dsv); assert(sstr)
2988 #endif
2989 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags);
2990 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
2991         assert(dstr); assert(sstr)
2992 #ifndef NO_MATHOMS
2993 PERL_CALLCONV void      Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len);
2994 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
2995         assert(sv); assert(ptr)
2996 #endif
2997 #ifndef NO_MATHOMS
2998 PERL_CALLCONV void      Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr);
2999 #define PERL_ARGS_ASSERT_SV_CATSV       \
3000         assert(dstr)
3001 #endif
3002 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3003 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3004         assert(dsv)
3005 #ifndef NO_MATHOMS
3006 PERL_CALLCONV void      Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv);
3007 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3008         assert(dsv)
3009 #endif
3010 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3011 #define PERL_ARGS_ASSERT_SV_CHOP        \
3012         assert(sv)
3013 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3014 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3015 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
3016 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3017         assert(orig_sv)
3018 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3019 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3020 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3021 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3022 #ifndef NO_MATHOMS
3023 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3024 #define PERL_ARGS_ASSERT_SV_COPYPV      \
3025         assert(dsv); assert(ssv)
3026 #endif
3027 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3028 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
3029         assert(dsv); assert(ssv)
3030 /* PERL_CALLCONV void   Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3031 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3032 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3033 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3034 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3035         assert(tsv); assert(sv)
3036 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3037                         __attribute__warn_unused_result__;
3038 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3039         assert(sv); assert(name)
3040
3041 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3042                         __attribute__warn_unused_result__;
3043 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
3044         assert(sv); assert(name)
3045
3046 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3047                         __attribute__warn_unused_result__;
3048 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
3049         assert(sv); assert(name)
3050
3051 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3052                         __attribute__warn_unused_result__;
3053 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
3054         assert(sv); assert(namesv)
3055
3056 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
3057 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3058                         __attribute__warn_unused_result__;
3059 #define PERL_ARGS_ASSERT_SV_DOES        \
3060         assert(sv); assert(name)
3061
3062 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3063                         __attribute__warn_unused_result__;
3064 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
3065         assert(sv); assert(name)
3066
3067 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3068                         __attribute__warn_unused_result__;
3069 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
3070         assert(sv); assert(name)
3071
3072 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3073                         __attribute__warn_unused_result__;
3074 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
3075         assert(sv); assert(namesv)
3076
3077 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
3078 #define PERL_ARGS_ASSERT_SV_DUMP        \
3079         assert(sv)
3080 /* PERL_CALLCONV I32    sv_eq(pTHX_ SV* sv1, SV* sv2); */
3081 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3082 #ifndef NO_MATHOMS
3083 PERL_CALLCONV void      Perl_sv_force_normal(pTHX_ SV *sv);
3084 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3085         assert(sv)
3086 #endif
3087 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3088 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3089         assert(sv)
3090 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3091 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3092 #define PERL_ARGS_ASSERT_SV_FREE2       \
3093         assert(sv)
3094 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3095 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv)
3096                         __attribute__pure__;
3097 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3098         assert(sv)
3099
3100 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3101 #define PERL_ARGS_ASSERT_SV_GETS        \
3102         assert(sv); assert(fp)
3103 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3104 #define PERL_ARGS_ASSERT_SV_GROW        \
3105         assert(sv)
3106 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3107 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3108 #ifndef NO_MATHOMS
3109 PERL_CALLCONV void      Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3110 #define PERL_ARGS_ASSERT_SV_INSERT      \
3111         assert(bigstr); assert(little)
3112 #endif
3113 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags);
3114 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3115         assert(bigstr); assert(little)
3116 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3117 #define PERL_ARGS_ASSERT_SV_ISA \
3118         assert(name)
3119 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3120 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv);
3121 #define PERL_ARGS_ASSERT_SV_IV  \
3122         assert(sv)
3123 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3124 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3125 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3126 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3127         assert(sv)
3128 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3129 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3130         assert(sv)
3131 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);
3132 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3133         assert(sv)
3134 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
3135 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
3136         assert(sv)
3137 #ifndef NO_MATHOMS
3138 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3139                         __attribute__malloc__
3140                         __attribute__warn_unused_result__;
3141 #endif
3142
3143 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
3144                         __attribute__malloc__
3145                         __attribute__warn_unused_result__;
3146
3147 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3148                         __attribute__warn_unused_result__;
3149
3150 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3151 #ifndef NO_MATHOMS
3152 PERL_CALLCONV void      Perl_sv_nolocking(pTHX_ SV *sv);
3153 #endif
3154 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
3155 #ifndef NO_MATHOMS
3156 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
3157 #endif
3158 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv);
3159 #define PERL_ARGS_ASSERT_SV_NV  \
3160         assert(sv)
3161 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3162 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
3163 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3164         assert(offsetp)
3165 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
3166 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
3167         assert(sv)
3168 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
3169 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3170         assert(offsetp)
3171 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
3172 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3173         assert(sv)
3174 #ifndef NO_MATHOMS
3175 PERL_CALLCONV char*     Perl_sv_pv(pTHX_ SV *sv)
3176                         __attribute__warn_unused_result__;
3177 #define PERL_ARGS_ASSERT_SV_PV  \
3178         assert(sv)
3179 #endif
3180
3181 #ifndef NO_MATHOMS
3182 PERL_CALLCONV char*     Perl_sv_pvbyte(pTHX_ SV *sv)
3183                         __attribute__warn_unused_result__;
3184 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3185         assert(sv)
3186 #endif
3187
3188 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp);
3189 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3190         assert(sv); assert(lp)
3191 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
3192 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3193         assert(sv)
3194 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp);
3195 #define PERL_ARGS_ASSERT_SV_PVN \
3196         assert(sv); assert(lp)
3197 #ifndef NO_MATHOMS
3198 PERL_CALLCONV char*     Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
3199 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3200         assert(sv)
3201 #endif
3202 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3203 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
3204         assert(sv)
3205 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp);
3206 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3207         assert(sv)
3208 #ifndef NO_MATHOMS
3209 PERL_CALLCONV char*     Perl_sv_pvutf8(pTHX_ SV *sv)
3210                         __attribute__warn_unused_result__;
3211 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3212         assert(sv)
3213 #endif
3214
3215 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp);
3216 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3217         assert(sv); assert(lp)
3218 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
3219 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3220         assert(sv)
3221 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
3222 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3223         assert(sv); assert(encoding)
3224 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
3225 #define PERL_ARGS_ASSERT_SV_REF \
3226         assert(sv)
3227 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3228                         __attribute__warn_unused_result__;
3229 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3230         assert(sv)
3231
3232 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
3233 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3234         assert(sv); assert(nsv)
3235 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3236 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
3237 #define PERL_ARGS_ASSERT_SV_RESET       \
3238         assert(s)
3239 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash);
3240 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
3241 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
3242         assert(sv)
3243 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
3244 #define PERL_ARGS_ASSERT_SV_SETHEK      \
3245         assert(sv)
3246 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
3247 #define PERL_ARGS_ASSERT_SV_SETIV       \
3248         assert(sv)
3249 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
3250 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3251         assert(sv)
3252 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
3253 #define PERL_ARGS_ASSERT_SV_SETNV       \
3254         assert(sv)
3255 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
3256 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3257         assert(sv)
3258 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
3259 #define PERL_ARGS_ASSERT_SV_SETPV       \
3260         assert(sv)
3261 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
3262 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3263         assert(sv)
3264 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3265                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3266 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3267         assert(sv); assert(pat)
3268
3269 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3270                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3271 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3272         assert(sv); assert(pat)
3273
3274 #ifndef NO_MATHOMS
3275 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num);
3276 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3277         assert(sv)
3278 #endif
3279 #ifndef NO_MATHOMS
3280 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv);
3281 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3282         assert(sv)
3283 #endif
3284 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3285 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3286         assert(sv)
3287 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3288 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3289         assert(sv); assert(ptr)
3290 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
3291 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3292         assert(rv)
3293 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
3294 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3295         assert(rv)
3296 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
3297 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3298         assert(rv)
3299 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
3300 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3301         assert(rv); assert(pv)
3302 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
3303 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3304         assert(rv)
3305 #ifndef NO_MATHOMS
3306 PERL_CALLCONV void      Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr);
3307 #define PERL_ARGS_ASSERT_SV_SETSV       \
3308         assert(dstr)
3309 #endif
3310 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags);
3311 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
3312         assert(dstr)
3313 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr);
3314 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3315         assert(dstr)
3316 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
3317 #define PERL_ARGS_ASSERT_SV_SETUV       \
3318         assert(sv)
3319 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
3320 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3321         assert(sv)
3322 #ifndef NO_MATHOMS
3323 PERL_CALLCONV void      Perl_sv_taint(pTHX_ SV* sv);
3324 #define PERL_ARGS_ASSERT_SV_TAINT       \
3325         assert(sv)
3326 #endif
3327 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3328                         __attribute__warn_unused_result__;
3329 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3330         assert(sv)
3331
3332 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3333 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3334                         __attribute__warn_unused_result__;
3335 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3336         assert(dsv); assert(ssv)
3337
3338 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
3339 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3340         assert(sv)
3341 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
3342 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
3343         assert(sv)
3344 #ifndef NO_MATHOMS
3345 PERL_CALLCONV void      Perl_sv_unref(pTHX_ SV* sv);
3346 #define PERL_ARGS_ASSERT_SV_UNREF       \
3347         assert(sv)
3348 #endif
3349 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
3350 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3351         assert(ref)
3352 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
3353 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3354         assert(sv)
3355 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
3356 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3357         assert(sv)
3358 #ifndef NO_MATHOMS
3359 PERL_CALLCONV void      Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
3360 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3361         assert(sv)
3362 #endif
3363 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
3364 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3365         assert(sv)
3366 #ifndef NO_MATHOMS
3367 PERL_CALLCONV void      Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
3368 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3369         assert(sv)
3370 #endif
3371 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
3372 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3373         assert(sv)
3374 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
3375 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3376         assert(sv)
3377 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
3378 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3379         assert(sv)
3380 #ifndef NO_MATHOMS
3381 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade(pTHX_ SV *sv);
3382 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3383         assert(sv)
3384 #endif
3385 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
3386 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
3387 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
3388         assert(sv)
3389 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
3390 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv);
3391 #define PERL_ARGS_ASSERT_SV_UV  \
3392         assert(sv)
3393 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3394 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3395         assert(sv); assert(pat)
3396 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3397 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3398         assert(sv); assert(pat)
3399 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 I32 svmax, bool *const maybe_tainted);
3400 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3401         assert(sv); assert(pat)
3402 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 I32 svmax, bool *const maybe_tainted, const U32 flags);
3403 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
3404         assert(sv); assert(pat)
3405 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3406 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3407         assert(sv); assert(pat)
3408 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3409 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3410         assert(sv); assert(pat)
3411 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 I32 svmax, bool *const maybe_tainted);
3412 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3413         assert(sv); assert(pat)
3414 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8);
3415 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3416         assert(swash); assert(ptr)
3417 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3418                         __attribute__warn_unused_result__;
3419 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3420         assert(pkg); assert(name); assert(listsv)
3421
3422 PERL_CALLCONV void      Perl_sync_locale(pTHX);
3423 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
3424 #define PERL_ARGS_ASSERT_SYS_INIT       \
3425         assert(argc); assert(argv)
3426 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
3427 #define PERL_ARGS_ASSERT_SYS_INIT3      \
3428         assert(argc); assert(argv); assert(env)
3429 PERL_CALLCONV void      Perl_sys_term(void);
3430 PERL_CALLCONV void      Perl_taint_env(pTHX);
3431 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
3432 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3433         assert(s)
3434 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...);
3435 #define PERL_ARGS_ASSERT_TIED_METHOD    \
3436         assert(methname); assert(sp); assert(sv); assert(mg)
3437 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
3438 /* PERL_CALLCONV UV     Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
3439 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
3440 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
3441         assert(p); assert(lenp)
3442 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
3443                         __attribute__deprecated__
3444                         __attribute__warn_unused_result__
3445                         __attribute__pure__;
3446
3447 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
3448 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
3449         assert(p); assert(lenp)
3450 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
3451                         __attribute__deprecated__
3452                         __attribute__warn_unused_result__
3453                         __attribute__pure__;
3454
3455 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
3456 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
3457         assert(p); assert(lenp)
3458 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
3459                         __attribute__deprecated__
3460                         __attribute__warn_unused_result__
3461                         __attribute__pure__;
3462
3463 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3464                         __attribute__deprecated__;
3465 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3466         assert(p); assert(ustrp); assert(swashp); assert(normal)
3467
3468 #ifndef NO_MATHOMS
3469 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp);
3470 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3471         assert(p); assert(ustrp)
3472 #endif
3473 #ifndef NO_MATHOMS
3474 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp);
3475 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3476         assert(p); assert(ustrp)
3477 #endif
3478 #ifndef NO_MATHOMS
3479 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp);
3480 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3481         assert(p); assert(ustrp)
3482 #endif
3483 #ifndef NO_MATHOMS
3484 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp);
3485 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3486         assert(p); assert(ustrp)
3487 #endif
3488 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
3489 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
3490 PERL_CALLCONV I32       Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags);
3491 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3492         assert(pat); assert(patend); assert(s); assert(strend)
3493 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
3494 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3495         assert(pat); assert(patend); assert(s); assert(strend)
3496 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3497 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3498 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
3499 #define PERL_ARGS_ASSERT_UPG_VERSION    \
3500         assert(ver)
3501 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3502 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3503         assert(p); assert(d); assert(newlen)
3504 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen);
3505 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3506         assert(p); assert(d); assert(newlen)
3507 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3508                         __attribute__warn_unused_result__
3509                         __attribute__pure__;
3510 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3511         assert(a); assert(b)
3512
3513 PERL_CALLCONV U8*       Perl_utf8_hop(const U8 *s, SSize_t off)
3514                         __attribute__warn_unused_result__
3515                         __attribute__pure__;
3516 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3517         assert(s)
3518
3519 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3520                         __attribute__warn_unused_result__
3521                         __attribute__pure__;
3522 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3523         assert(s); assert(e)
3524
3525 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len);
3526 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3527         assert(s); assert(len)
3528 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3529                         __attribute__deprecated__;
3530 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3531         assert(s)
3532
3533 /* PERL_CALLCONV UV     utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen); */
3534 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3535                         __attribute__deprecated__;
3536 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3537         assert(s)
3538
3539 PERL_CALLCONV UV        Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
3540                         __attribute__deprecated__;
3541 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF      \
3542         assert(s); assert(send)
3543
3544 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags);
3545 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3546         assert(s)
3547 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags);
3548 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3549         assert(s)
3550 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg);
3551 #define PERL_ARGS_ASSERT_UTILIZE        \
3552         assert(idop)
3553 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
3554 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
3555 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
3556 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
3557         assert(d)
3558 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
3559 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3560         assert(d)
3561 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
3562 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3563         assert(d)
3564 PERL_CALLCONV UV        Perl_valid_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen);
3565 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
3566         assert(s)
3567 PERL_CALLCONV UV        Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3568                         __attribute__deprecated__;
3569 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI    \
3570         assert(s)
3571
3572 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn);
3573 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
3574         assert(name)
3575 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
3576 #define PERL_ARGS_ASSERT_VCMP   \
3577         assert(lhv); assert(rhv)
3578 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
3579                         __attribute__noreturn__;
3580
3581 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
3582 #define PERL_ARGS_ASSERT_VDEB   \
3583         assert(pat)
3584 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
3585 #define PERL_ARGS_ASSERT_VFORM  \
3586         assert(pat)
3587 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
3588 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3589         assert(sv)
3590 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3591                         __attribute__warn_unused_result__;
3592 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3593         assert(sv)
3594
3595 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
3596 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
3597         assert(name)
3598 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
3599 #define PERL_ARGS_ASSERT_VMESS  \
3600         assert(pat)
3601 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
3602                         __attribute__malloc__
3603                         __attribute__warn_unused_result__;
3604 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
3605         assert(pat)
3606
3607 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
3608 #define PERL_ARGS_ASSERT_VNORMAL        \
3609         assert(vs)
3610 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
3611 #define PERL_ARGS_ASSERT_VNUMIFY        \
3612         assert(vs)
3613 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
3614 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
3615         assert(vs)
3616 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
3617 #define PERL_ARGS_ASSERT_VVERIFY        \
3618         assert(vs)
3619 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
3620 #define PERL_ARGS_ASSERT_VWARN  \
3621         assert(pat)
3622 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
3623 #define PERL_ARGS_ASSERT_VWARNER        \
3624         assert(pat)
3625 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags);
3626 #define PERL_ARGS_ASSERT_WAIT4PID       \
3627         assert(statusp)
3628 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3629                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
3630 #define PERL_ARGS_ASSERT_WARN   \
3631         assert(pat)
3632
3633 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
3634 #define PERL_ARGS_ASSERT_WARN_SV        \
3635         assert(baseex)
3636 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3637                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3638 #define PERL_ARGS_ASSERT_WARNER \
3639         assert(pat)
3640
3641 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
3642                         __attribute__warn_unused_result__;
3643
3644 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr);
3645 #define PERL_ARGS_ASSERT_WATCH  \
3646         assert(addr)
3647 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
3648 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
3649 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
3650         assert(sig)
3651 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
3652 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
3653         assert(sig)
3654 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
3655 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
3656         assert(sigsv)
3657 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
3658 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
3659         assert(new_checker); assert(old_checker_p)
3660 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv);
3661 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3662         assert(msv)
3663 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
3664 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
3665 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
3666         assert(v_my_perl); assert(file)
3667 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s);
3668 #define PERL_ARGS_ASSERT_YYERROR        \
3669         assert(s)
3670 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags);
3671 #define PERL_ARGS_ASSERT_YYERROR_PV     \
3672         assert(s)
3673 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags);
3674 #define PERL_ARGS_ASSERT_YYERROR_PVN    \
3675         assert(s)
3676 PERL_CALLCONV int       Perl_yylex(pTHX);
3677 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
3678 PERL_CALLCONV void      Perl_yyunlex(pTHX);
3679 #if !(defined(DEBUGGING))
3680 #  if !defined(NV_PRESERVES_UV)
3681 #    if defined(PERL_IN_SV_C)
3682 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
3683 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3684         assert(sv)
3685 #    endif
3686 #  endif
3687 #endif
3688 #if !(defined(HAS_MEMMEM))
3689 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
3690                         __attribute__pure__;
3691 #define PERL_ARGS_ASSERT_NINSTR \
3692         assert(big); assert(bigend); assert(little); assert(lend)
3693
3694 #endif
3695 #if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO))
3696 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
3697 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
3698 #endif
3699 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
3700 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd);
3701 #define PERL_ARGS_ASSERT_DO_EXEC        \
3702         assert(cmd)
3703 #endif
3704 #if !(defined(PERL_GLOBAL_STRUCT_PRIVATE))
3705 #  if defined(PERL_IMPLICIT_CONTEXT)
3706 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *index, size_t size);
3707 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
3708         assert(index)
3709 #  endif
3710 #endif
3711 #if !(defined(WIN32))
3712 /* PERL_CALLCONV char*  my_setlocale(pTHX_ int category, const char* locale)
3713                         __attribute__pure__; */
3714
3715 #endif
3716 #if !(defined(_MSC_VER))
3717 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
3718                         __attribute__noreturn__;
3719 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
3720         assert(sv); assert(mg)
3721
3722 #endif
3723 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
3724 PERL_CALLCONV void*     Perl_my_bzero(void* vloc, size_t len);
3725 #define PERL_ARGS_ASSERT_MY_BZERO       \
3726         assert(vloc)
3727 #endif
3728 #if !defined(HAS_GETENV_LEN)
3729 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len);
3730 #define PERL_ARGS_ASSERT_GETENV_LEN     \
3731         assert(env_elem); assert(len)
3732 #endif
3733 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
3734 PERL_CALLCONV int       Perl_my_memcmp(const void* vs1, const void* vs2, size_t len)
3735                         __attribute__pure__;
3736 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
3737         assert(vs1); assert(vs2)
3738
3739 #endif
3740 #if !defined(HAS_MEMCPY) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY))
3741 PERL_CALLCONV void*     Perl_my_bcopy(const void* vfrom, void* vto, size_t len);
3742 #define PERL_ARGS_ASSERT_MY_BCOPY       \
3743         assert(vfrom); assert(vto)
3744 #endif
3745 #if !defined(HAS_MEMSET)
3746 PERL_CALLCONV void*     Perl_my_memset(void* vloc, int ch, size_t len);
3747 #define PERL_ARGS_ASSERT_MY_MEMSET      \
3748         assert(vloc)
3749 #endif
3750 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
3751 #  if defined(PERL_IN_PP_SYS_C)
3752 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
3753                         __attribute__warn_unused_result__;
3754 #define PERL_ARGS_ASSERT_DOONELINER     \
3755         assert(cmd); assert(filename)
3756
3757 #  endif
3758 #endif
3759 #if !defined(HAS_RENAME)
3760 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b);
3761 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
3762         assert(a); assert(b)
3763 #endif
3764 #if !defined(HAS_SIGNBIT)
3765 PERL_CALLCONV int       Perl_signbit(NV f)
3766                         __attribute__pure__;
3767
3768 #endif
3769 #if !defined(HAS_STRLCAT)
3770 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
3771 #endif
3772 #if !defined(HAS_STRLCPY)
3773 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
3774 #endif
3775 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
3776 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
3777                         __attribute__warn_unused_result__;
3778
3779 #endif
3780 #if !defined(NV_PRESERVES_UV)
3781 #  if defined(DEBUGGING)
3782 #    if defined(PERL_IN_SV_C)
3783 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
3784 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
3785         assert(sv)
3786 #    endif
3787 #  endif
3788 #endif
3789 #if !defined(PERL_DISABLE_PMC)
3790 #  if defined(PERL_IN_PP_CTL_C)
3791 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
3792                         __attribute__warn_unused_result__;
3793 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
3794         assert(name)
3795
3796 #  endif
3797 #endif
3798 #if !defined(PERL_EXT_RE_BUILD)
3799 #  if defined(PERL_IN_REGCOMP_C)
3800 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
3801                         __attribute__warn_unused_result__;
3802 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
3803         assert(invlist)
3804
3805 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
3806 #define PERL_ARGS_ASSERT_INVLIST_CLEAR  \
3807         assert(invlist)
3808 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
3809                         __attribute__warn_unused_result__;
3810 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
3811         assert(invlist)
3812
3813 STATIC void     S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
3814 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC      \
3815         assert(dest); assert(src)
3816 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
3817 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
3818         assert(invlist)
3819 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
3820 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
3821         assert(invlist)
3822 #  endif
3823 #endif
3824 #if !defined(PERL_IMPLICIT_SYS)
3825 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
3826 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
3827 #define PERL_ARGS_ASSERT_MY_POPEN       \
3828         assert(cmd); assert(mode)
3829 #endif
3830 #if !defined(PERL_IS_MINIPERL)
3831 #  if defined(PERL_IN_PERL_C)
3832 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
3833 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
3834         assert(av); assert(dir); assert(stem)
3835 #  endif
3836 #endif
3837 #if !defined(PERL_NO_INLINE_FUNCTIONS)
3838 PERL_STATIC_INLINE STRLEN       S__is_utf8_char_slow(const U8 *s, const U8 *e)
3839                         __attribute__warn_unused_result__;
3840 #define PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW     \
3841         assert(s); assert(e)
3842
3843 PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest);
3844 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
3845         assert(dest)
3846 PERL_STATIC_INLINE SSize_t      S_av_top_index(pTHX_ AV *av)
3847                         __attribute__warn_unused_result__;
3848 #define PERL_ARGS_ASSERT_AV_TOP_INDEX   \
3849         assert(av)
3850
3851 PERL_STATIC_INLINE void S_cx_popblock(pTHX_ PERL_CONTEXT *cx);
3852 #define PERL_ARGS_ASSERT_CX_POPBLOCK    \
3853         assert(cx)
3854 PERL_STATIC_INLINE void S_cx_popeval(pTHX_ PERL_CONTEXT *cx);
3855 #define PERL_ARGS_ASSERT_CX_POPEVAL     \
3856         assert(cx)
3857 PERL_STATIC_INLINE void S_cx_popformat(pTHX_ PERL_CONTEXT *cx);
3858 #define PERL_ARGS_ASSERT_CX_POPFORMAT   \
3859         assert(cx)
3860 PERL_STATIC_INLINE void S_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
3861 #define PERL_ARGS_ASSERT_CX_POPGIVEN    \
3862         assert(cx)
3863 PERL_STATIC_INLINE void S_cx_poploop(pTHX_ PERL_CONTEXT *cx);
3864 #define PERL_ARGS_ASSERT_CX_POPLOOP     \
3865         assert(cx)
3866 PERL_STATIC_INLINE void S_cx_popsub(pTHX_ PERL_CONTEXT *cx);
3867 #define PERL_ARGS_ASSERT_CX_POPSUB      \
3868         assert(cx)
3869 PERL_STATIC_INLINE void S_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
3870 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
3871         assert(cx)
3872 PERL_STATIC_INLINE void S_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
3873 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON       \
3874         assert(cx)
3875 PERL_STATIC_INLINE void S_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
3876 #define PERL_ARGS_ASSERT_CX_POPWHEN     \
3877         assert(cx)
3878 PERL_STATIC_INLINE PERL_CONTEXT *       S_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
3879 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK   \
3880         assert(sp)
3881 PERL_STATIC_INLINE void S_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
3882 #define PERL_ARGS_ASSERT_CX_PUSHEVAL    \
3883         assert(cx)
3884 PERL_STATIC_INLINE void S_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
3885 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT  \
3886         assert(cx); assert(cv)
3887 PERL_STATIC_INLINE void S_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
3888 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN   \
3889         assert(cx)
3890 PERL_STATIC_INLINE void S_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
3891 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR        \
3892         assert(cx); assert(itervarp)
3893 PERL_STATIC_INLINE void S_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
3894 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN      \
3895         assert(cx)
3896 PERL_STATIC_INLINE void S_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
3897 #define PERL_ARGS_ASSERT_CX_PUSHSUB     \
3898         assert(cx); assert(cv)
3899 PERL_STATIC_INLINE void S_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
3900 #define PERL_ARGS_ASSERT_CX_PUSHWHEN    \
3901         assert(cx)
3902 PERL_STATIC_INLINE void S_cx_topblock(pTHX_ PERL_CONTEXT *cx);
3903 #define PERL_ARGS_ASSERT_CX_TOPBLOCK    \
3904         assert(cx)
3905 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
3906                         __attribute__warn_unused_result__;
3907 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
3908         assert(pv); assert(what); assert(op_name)
3909
3910 PERL_STATIC_INLINE bool S_sv_only_taint_gmagic(SV *sv);
3911 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
3912         assert(sv)
3913 #endif
3914 #if !defined(PERL_NO_UTF16_FILTER)
3915 #  if defined(PERL_IN_TOKE_C)
3916 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
3917 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
3918         assert(s)
3919 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
3920 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
3921         assert(sv)
3922 #  endif
3923 #endif
3924 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
3925 #  if defined(PERL_IN_PERL_C)
3926 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
3927 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
3928         assert(rsfp)
3929 #  endif
3930 #endif
3931 #if !defined(SPRINTF_RETURNS_STRLEN)
3932 PERL_CALLCONV int       Perl_my_sprintf(char *buffer, const char *pat, ...);
3933 #define PERL_ARGS_ASSERT_MY_SPRINTF     \
3934         assert(buffer); assert(pat)
3935 #endif
3936 #if !defined(USE_QUADMATH)
3937 #  if defined(PERL_IN_NUMERIC_C)
3938 STATIC NV       S_mulexp10(NV value, I32 exponent);
3939 #  endif
3940 #endif
3941 #if !defined(WIN32)
3942 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report);
3943 #define PERL_ARGS_ASSERT_DO_EXEC3       \
3944         assert(incmd)
3945 #endif
3946 #if defined(DEBUGGING)
3947 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
3948                         __attribute__warn_unused_result__;
3949 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
3950         assert(s)
3951
3952 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
3953 #define PERL_ARGS_ASSERT_HV_ASSERT      \
3954         assert(hv)
3955 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
3956 #define PERL_ARGS_ASSERT_PAD_SETSV      \
3957         assert(sv)
3958 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
3959 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
3960 #define PERL_ARGS_ASSERT_SET_PADLIST    \
3961         assert(cv)
3962 #  if defined(PERL_IN_PAD_C)
3963 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
3964 #define PERL_ARGS_ASSERT_CV_DUMP        \
3965         assert(cv); assert(title)
3966 #  endif
3967 #  if defined(PERL_IN_REGCOMP_C)
3968 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
3969 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
3970         assert(trie); assert(revcharmap)
3971 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
3972 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
3973         assert(trie); assert(revcharmap)
3974 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
3975 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
3976         assert(trie); assert(revcharmap)
3977 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);
3978 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
3979         assert(r); assert(start); assert(node); assert(sv)
3980 STATIC bool     S_put_charclass_bitmap_innards(pTHX_ SV* sv, char* bitmap, SV* nonbitmap_invlist, SV* only_utf8_locale_invlist, const regnode * const node);
3981 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
3982         assert(sv); assert(bitmap)
3983 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);
3984 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON    \
3985         assert(invlist)
3986 STATIC void     S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
3987 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST   \
3988         assert(sv); assert(invlist)
3989 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
3990 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
3991         assert(sv)
3992 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
3993 #define PERL_ARGS_ASSERT_PUT_RANGE      \
3994         assert(sv)
3995 PERL_CALLCONV int       Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...);
3996 #define PERL_ARGS_ASSERT_RE_INDENTF     \
3997         assert(fmt)
3998 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
3999 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
4000 STATIC U8       S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth);
4001 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
4002         assert(pRExC_state); assert(p); assert(val)
4003 #  endif
4004 #  if defined(PERL_IN_REGEXEC_C)
4005 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
4006 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
4007         assert(prog); assert(start); assert(end); assert(blurb)
4008 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);
4009 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
4010         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
4011 PERL_CALLCONV int       Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...);
4012 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF        \
4013         assert(fmt)
4014 #  endif
4015 #  if defined(PERL_IN_SV_C)
4016 STATIC void     S_del_sv(pTHX_ SV *p);
4017 #define PERL_ARGS_ASSERT_DEL_SV \
4018         assert(p)
4019 #  endif
4020 #  if defined(PERL_IN_TOKE_C)
4021 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
4022                         __attribute__format__(__printf__,pTHX_1,0);
4023 #define PERL_ARGS_ASSERT_PRINTBUF       \
4024         assert(fmt); assert(s)
4025
4026 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
4027 #define PERL_ARGS_ASSERT_TOKEREPORT     \
4028         assert(lvalp)
4029 #  endif
4030 #  if defined(USE_LOCALE)     && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX))
4031 PERL_CALLCONV char *    Perl__setlocale_debug_string(const int category, const char* const locale, const char* const retval)
4032                         __attribute__warn_unused_result__
4033                         __attribute__pure__;
4034
4035 #  endif
4036 #endif
4037 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
4038 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv);
4039 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
4040         assert(sv)
4041 #endif
4042 #if defined(HAS_MEMMEM)
4043 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
4044                         __attribute__pure__;
4045 #define PERL_ARGS_ASSERT_NINSTR \
4046         assert(big); assert(bigend); assert(little); assert(lend)
4047
4048 #endif
4049 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
4050 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp);
4051 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
4052         assert(mark); assert(sp)
4053 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp);
4054 #define PERL_ARGS_ASSERT_DO_IPCGET      \
4055         assert(mark); assert(sp)
4056 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp);
4057 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
4058         assert(mark); assert(sp)
4059 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp);
4060 #define PERL_ARGS_ASSERT_DO_MSGSND      \
4061         assert(mark); assert(sp)
4062 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp);
4063 #define PERL_ARGS_ASSERT_DO_SEMOP       \
4064         assert(mark); assert(sp)
4065 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp);
4066 #define PERL_ARGS_ASSERT_DO_SHMIO       \
4067         assert(mark); assert(sp)
4068 #endif
4069 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
4070 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
4071 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
4072 #endif
4073 #if defined(HAVE_INTERP_INTERN)
4074 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
4075 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
4076 #  if defined(USE_ITHREADS)
4077 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
4078 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4079         assert(src); assert(dst)
4080 #  endif
4081 #endif
4082 #if defined(MYMALLOC)
4083 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
4084 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
4085         assert(s)
4086 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
4087 #define PERL_ARGS_ASSERT_GET_MSTATS     \
4088         assert(buf)
4089 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
4090                         __attribute__warn_unused_result__;
4091
4092 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
4093                         __attribute__warn_unused_result__;
4094 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
4095         assert(p)
4096
4097 #endif
4098 #if defined(PERL_ANY_COW)
4099 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr);
4100 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
4101         assert(sstr)
4102 #endif
4103 #if defined(PERL_CORE)
4104 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab);
4105 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
4106         assert(slab)
4107 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab);
4108 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
4109         assert(slab)
4110 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab);
4111 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
4112         assert(slab)
4113 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab);
4114 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
4115         assert(parser); assert(slab)
4116 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
4117                         __attribute__warn_unused_result__;
4118 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
4119         assert(pv)
4120
4121 #  if defined(PERL_DEBUG_READONLY_OPS)
4122 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
4123 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
4124         assert(slab)
4125 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
4126 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
4127         assert(slab)
4128 #  endif
4129 #endif
4130 #if defined(PERL_CORE) || defined (PERL_EXT)
4131 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
4132 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
4133         assert(sv); assert(pv)
4134 #endif
4135 #if defined(PERL_CR_FILTER)
4136 #  if defined(PERL_IN_TOKE_C)
4137 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4138 STATIC void     S_strip_return(pTHX_ SV *sv);
4139 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
4140         assert(sv)
4141 #  endif
4142 #endif
4143 #if defined(PERL_DEBUG_READONLY_COW)
4144 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv);
4145 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
4146         assert(sv)
4147 #  if defined(PERL_IN_SV_C)
4148 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
4149 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
4150         assert(sv)
4151 #  endif
4152 #endif
4153 #if defined(PERL_DEBUG_READONLY_OPS)
4154 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
4155 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
4156         assert(o)
4157 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
4158 #endif
4159 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
4160 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd); */
4161 #endif
4162 #if defined(PERL_DONT_CREATE_GVSV)
4163 #ifndef NO_MATHOMS
4164 PERL_CALLCONV GV*       Perl_gv_SVadd(pTHX_ GV *gv);
4165 #endif
4166 #endif
4167 #if defined(PERL_GLOBAL_STRUCT)
4168 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
4169 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp);
4170 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
4171         assert(plvarsp)
4172 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
4173 #endif
4174 #if defined(PERL_GLOBAL_STRUCT_PRIVATE)
4175 #  if defined(PERL_IMPLICIT_CONTEXT)
4176 PERL_CALLCONV int       Perl_my_cxt_index(pTHX_ const char *my_cxt_key);
4177 #define PERL_ARGS_ASSERT_MY_CXT_INDEX   \
4178         assert(my_cxt_key)
4179 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size);
4180 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
4181         assert(my_cxt_key)
4182 #  endif
4183 #endif
4184 #if defined(PERL_IMPLICIT_CONTEXT)
4185 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
4186                         __attribute__noreturn__
4187                         __attribute__format__null_ok__(__printf__,1,2);
4188
4189 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
4190                         __attribute__format__(__printf__,1,2);
4191 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
4192         assert(pat)
4193
4194 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
4195                         __attribute__noreturn__
4196                         __attribute__format__null_ok__(__printf__,1,2);
4197
4198 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
4199                         __attribute__format__(__printf__,1,2);
4200 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
4201         assert(pat)
4202
4203 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
4204                         __attribute__format__(__printf__,2,3);
4205 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
4206         assert(stream); assert(format)
4207
4208 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
4209 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
4210         assert(name)
4211 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
4212                         __attribute__format__(__printf__,1,2);
4213 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
4214         assert(pat)
4215
4216 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
4217                         __attribute__format__(__printf__,1,2);
4218 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
4219         assert(pat)
4220
4221 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
4222                         __attribute__format__(__printf__,1,2);
4223 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
4224         assert(format)
4225
4226 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4227                         __attribute__format__(__printf__,2,3);
4228 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
4229         assert(sv); assert(pat)
4230
4231 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
4232                         __attribute__format__(__printf__,2,3);
4233 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
4234         assert(sv); assert(pat)
4235
4236 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4237                         __attribute__format__(__printf__,2,3);
4238 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
4239         assert(sv); assert(pat)
4240
4241 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
4242                         __attribute__format__(__printf__,2,3);
4243 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
4244         assert(sv); assert(pat)
4245
4246 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
4247                         __attribute__format__(__printf__,1,2);
4248 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
4249         assert(pat)
4250
4251 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
4252                         __attribute__format__(__printf__,2,3);
4253 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
4254         assert(pat)
4255
4256 #endif
4257 #if defined(PERL_IMPLICIT_SYS)
4258 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);
4259 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
4260         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4261 #  if defined(USE_ITHREADS)
4262 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);
4263 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
4264         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4265 #  endif
4266 #endif
4267 #if defined(PERL_IN_AV_C)
4268 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
4269 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
4270         assert(av)
4271 #endif
4272 #if defined(PERL_IN_DEB_C)
4273 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
4274 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
4275         assert(stack_base)
4276 #endif
4277 #if defined(PERL_IN_DOIO_C)
4278 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
4279 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
4280         assert(cmd)
4281 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
4282                         __attribute__warn_unused_result__;
4283
4284 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);
4285 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
4286         assert(gv); assert(io); assert(mode); assert(oname)
4287 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
4288 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
4289         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
4290 #endif
4291 #if defined(PERL_IN_DOOP_C)
4292 STATIC I32      S_do_trans_complex(pTHX_ SV * const sv)
4293                         __attribute__warn_unused_result__;
4294 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4295         assert(sv)
4296
4297 STATIC I32      S_do_trans_complex_utf8(pTHX_ SV * const sv)
4298                         __attribute__warn_unused_result__;
4299 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
4300         assert(sv)
4301
4302 STATIC I32      S_do_trans_count(pTHX_ SV * const sv)
4303                         __attribute__warn_unused_result__;
4304 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4305         assert(sv)
4306
4307 STATIC I32      S_do_trans_count_utf8(pTHX_ SV * const sv)
4308                         __attribute__warn_unused_result__;
4309 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
4310         assert(sv)
4311
4312 STATIC I32      S_do_trans_simple(pTHX_ SV * const sv)
4313                         __attribute__warn_unused_result__;
4314 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4315         assert(sv)
4316
4317 STATIC I32      S_do_trans_simple_utf8(pTHX_ SV * const sv)
4318                         __attribute__warn_unused_result__;
4319 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
4320         assert(sv)
4321
4322 #endif
4323 #if defined(PERL_IN_DUMP_C)
4324 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
4325 STATIC void     S_debprof(pTHX_ const OP *o);
4326 #define PERL_ARGS_ASSERT_DEBPROF        \
4327         assert(o)
4328 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
4329 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
4330         assert(pm)
4331 STATIC UV       S_sequence_num(pTHX_ const OP *o);
4332 #endif
4333 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
4334 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv);
4335 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
4336         assert(hv)
4337 #endif
4338 #if defined(PERL_IN_GV_C)
4339 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);
4340 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
4341         assert(stash); assert(name)
4342 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
4343 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
4344 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
4345         assert(gv)
4346 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
4347 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
4348         assert(name)
4349 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, const svtype sv_type);
4350 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
4351         assert(gv); assert(stash); assert(name)
4352 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
4353 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
4354         assert(gv)
4355 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
4356 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
4357         assert(name)
4358 PERL_STATIC_INLINE HV*  S_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags);
4359 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
4360 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
4361         assert(gv); assert(name)
4362 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);
4363 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
4364         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
4365 STATIC HV*      S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags);
4366 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
4367         assert(gv); assert(varpv); assert(namesv); assert(methpv)
4368 #endif
4369 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
4370 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv);
4371 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
4372         assert(tsv); assert(sv)
4373 #endif
4374 #if defined(PERL_IN_HV_C)
4375 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
4376 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
4377         assert(hv)
4378 STATIC void     S_hfreeentries(pTHX_ HV *hv);
4379 #define PERL_ARGS_ASSERT_HFREEENTRIES   \
4380         assert(hv)
4381 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
4382 #define PERL_ARGS_ASSERT_HSPLIT \
4383         assert(hv)
4384 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
4385 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
4386         assert(hv)
4387 STATIC struct xpvhv_aux*        S_hv_auxinit_internal(struct xpvhv_aux *iter);
4388 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL    \
4389         assert(iter)
4390 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4391 STATIC SV*      S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry);
4392 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
4393         assert(hv); assert(entry)
4394 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
4395 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4396         assert(hv); assert(needs_copy); assert(needs_store)
4397 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4398                         __attribute__noreturn__;
4399 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
4400         assert(key); assert(msg)
4401
4402 STATIC HE*      S_new_he(pTHX)
4403                         __attribute__malloc__
4404                         __attribute__warn_unused_result__;
4405
4406 PERL_STATIC_INLINE U32  S_ptr_hash(PTRV u);
4407 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
4408 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
4409         assert(he)
4410 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4411                         __attribute__malloc__
4412                         __attribute__warn_unused_result__;
4413 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4414         assert(str)
4415
4416 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
4417                         __attribute__warn_unused_result__;
4418 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
4419         assert(str)
4420
4421 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4422 #endif
4423 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
4424 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av);
4425 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
4426         assert(sv)
4427 #endif
4428 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
4429 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp);
4430 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
4431         assert(hv); assert(indexp)
4432 #endif
4433 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C)
4434 #  if defined(USE_LOCALE_COLLATE)
4435 PERL_CALLCONV char*     Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8);
4436 #define PERL_ARGS_ASSERT__MEM_COLLXFRM  \
4437         assert(input_string); assert(xlen)
4438 #  endif
4439 #endif
4440 #if defined(PERL_IN_MALLOC_C)
4441 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
4442 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
4443         assert(nbytes_p)
4444 #endif
4445 #if defined(PERL_IN_MG_C)
4446 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
4447 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
4448         assert(sv)
4449 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
4450 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
4451         assert(sv); assert(mg); assert(meth)
4452 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
4453 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4454         assert(sv); assert(mg); assert(meth)
4455 STATIC void     S_restore_magic(pTHX_ const void *p);
4456 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
4457 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
4458         assert(sv)
4459 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
4460 #endif
4461 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
4462 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);
4463 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
4464         assert(posp); assert(lenp)
4465 #endif
4466 #if defined(PERL_IN_MRO_C)
4467 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
4468 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
4469         assert(isa); assert(name)
4470 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
4471 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
4472         assert(stashes); assert(seen_stashes); assert(namesv)
4473 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
4474 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
4475         assert(stash)
4476 #endif
4477 #if defined(PERL_IN_OP_C)
4478 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
4479 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
4480         assert(stash); assert(target)
4481 STATIC void