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