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