This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove context param from set_padlist
[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(const U8 *s, STRLEN len)
1872                         __attribute__nonnull__(1);
1873 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1874         assert(s)
1875
1876 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1877                         __attribute__warn_unused_result__;
1878
1879 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1880                         __attribute__warn_unused_result__
1881                         __attribute__nonnull__(pTHX_1)
1882                         __attribute__nonnull__(pTHX_3)
1883                         __attribute__nonnull__(pTHX_4);
1884 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
1885         assert(pv); assert(what); assert(op_name)
1886
1887 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1888                         __attribute__deprecated__
1889                         __attribute__warn_unused_result__
1890                         __attribute__pure__;
1891
1892 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1893                         __attribute__deprecated__
1894                         __attribute__warn_unused_result__
1895                         __attribute__pure__;
1896
1897 PERL_CALLCONV bool      Perl_is_uni_alnumc(pTHX_ UV c)
1898                         __attribute__deprecated__
1899                         __attribute__warn_unused_result__
1900                         __attribute__pure__;
1901
1902 PERL_CALLCONV bool      Perl_is_uni_alnumc_lc(pTHX_ UV c)
1903                         __attribute__deprecated__
1904                         __attribute__warn_unused_result__
1905                         __attribute__pure__;
1906
1907 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1908                         __attribute__deprecated__
1909                         __attribute__warn_unused_result__
1910                         __attribute__pure__;
1911
1912 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1913                         __attribute__deprecated__
1914                         __attribute__warn_unused_result__
1915                         __attribute__pure__;
1916
1917 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1918                         __attribute__deprecated__
1919                         __attribute__warn_unused_result__
1920                         __attribute__pure__;
1921
1922 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1923                         __attribute__deprecated__
1924                         __attribute__warn_unused_result__
1925                         __attribute__pure__;
1926
1927 PERL_CALLCONV bool      Perl_is_uni_blank(pTHX_ UV c)
1928                         __attribute__deprecated__
1929                         __attribute__warn_unused_result__
1930                         __attribute__pure__;
1931
1932 PERL_CALLCONV bool      Perl_is_uni_blank_lc(pTHX_ UV c)
1933                         __attribute__deprecated__
1934                         __attribute__warn_unused_result__
1935                         __attribute__pure__;
1936
1937 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1938                         __attribute__deprecated__
1939                         __attribute__warn_unused_result__
1940                         __attribute__pure__;
1941
1942 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1943                         __attribute__deprecated__
1944                         __attribute__warn_unused_result__
1945                         __attribute__pure__;
1946
1947 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1948                         __attribute__deprecated__
1949                         __attribute__warn_unused_result__
1950                         __attribute__pure__;
1951
1952 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1953                         __attribute__deprecated__
1954                         __attribute__warn_unused_result__
1955                         __attribute__pure__;
1956
1957 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1958                         __attribute__deprecated__
1959                         __attribute__warn_unused_result__
1960                         __attribute__pure__;
1961
1962 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1963                         __attribute__deprecated__
1964                         __attribute__warn_unused_result__
1965                         __attribute__pure__;
1966
1967 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1968                         __attribute__deprecated__
1969                         __attribute__warn_unused_result__
1970                         __attribute__pure__;
1971
1972 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1973                         __attribute__deprecated__
1974                         __attribute__warn_unused_result__
1975                         __attribute__pure__;
1976
1977 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1978                         __attribute__deprecated__
1979                         __attribute__warn_unused_result__
1980                         __attribute__pure__;
1981
1982 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1983                         __attribute__deprecated__
1984                         __attribute__warn_unused_result__
1985                         __attribute__pure__;
1986
1987 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1988                         __attribute__deprecated__
1989                         __attribute__warn_unused_result__
1990                         __attribute__pure__;
1991
1992 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1993                         __attribute__deprecated__
1994                         __attribute__warn_unused_result__
1995                         __attribute__pure__;
1996
1997 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1998                         __attribute__deprecated__
1999                         __attribute__warn_unused_result__
2000                         __attribute__pure__;
2001
2002 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
2003                         __attribute__deprecated__
2004                         __attribute__warn_unused_result__
2005                         __attribute__pure__;
2006
2007 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
2008                         __attribute__deprecated__
2009                         __attribute__warn_unused_result__
2010                         __attribute__pure__;
2011
2012 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
2013                         __attribute__deprecated__
2014                         __attribute__warn_unused_result__
2015                         __attribute__pure__;
2016
2017 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
2018                         __attribute__deprecated__
2019                         __attribute__warn_unused_result__
2020                         __attribute__pure__;
2021
2022 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
2023                         __attribute__deprecated__
2024                         __attribute__warn_unused_result__
2025                         __attribute__pure__;
2026
2027 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
2028                         __attribute__deprecated__
2029                         __attribute__warn_unused_result__
2030                         __attribute__pure__;
2031
2032 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
2033                         __attribute__deprecated__
2034                         __attribute__warn_unused_result__
2035                         __attribute__pure__;
2036
2037 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
2038                         __attribute__deprecated__
2039                         __attribute__warn_unused_result__
2040                         __attribute__nonnull__(pTHX_1);
2041 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
2042         assert(p)
2043
2044 PERL_CALLCONV bool      Perl_is_utf8_alnumc(pTHX_ const U8 *p)
2045                         __attribute__deprecated__
2046                         __attribute__warn_unused_result__
2047                         __attribute__nonnull__(pTHX_1);
2048 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
2049         assert(p)
2050
2051 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
2052                         __attribute__deprecated__
2053                         __attribute__warn_unused_result__
2054                         __attribute__nonnull__(pTHX_1);
2055 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
2056         assert(p)
2057
2058 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
2059                         __attribute__deprecated__
2060                         __attribute__warn_unused_result__
2061                         __attribute__nonnull__(pTHX_1);
2062 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
2063         assert(p)
2064
2065 PERL_CALLCONV bool      Perl_is_utf8_blank(pTHX_ const U8 *p)
2066                         __attribute__deprecated__
2067                         __attribute__warn_unused_result__
2068                         __attribute__nonnull__(pTHX_1);
2069 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK  \
2070         assert(p)
2071
2072 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
2073                         __attribute__deprecated__
2074                         __attribute__nonnull__(1);
2075 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
2076         assert(s)
2077
2078 /* PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end)
2079                         __attribute__nonnull__(1)
2080                         __attribute__nonnull__(2); */
2081 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
2082         assert(buf); assert(buf_end)
2083
2084 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
2085                         __attribute__deprecated__
2086                         __attribute__warn_unused_result__
2087                         __attribute__nonnull__(pTHX_1);
2088 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
2089         assert(p)
2090
2091 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
2092                         __attribute__deprecated__
2093                         __attribute__warn_unused_result__
2094                         __attribute__nonnull__(pTHX_1);
2095 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
2096         assert(p)
2097
2098 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
2099                         __attribute__deprecated__
2100                         __attribute__warn_unused_result__
2101                         __attribute__nonnull__(pTHX_1);
2102 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
2103         assert(p)
2104
2105 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
2106                         __attribute__deprecated__
2107                         __attribute__warn_unused_result__
2108                         __attribute__nonnull__(pTHX_1);
2109 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
2110         assert(p)
2111
2112 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
2113                         __attribute__deprecated__
2114                         __attribute__warn_unused_result__
2115                         __attribute__nonnull__(pTHX_1);
2116 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
2117         assert(p)
2118
2119 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
2120                         __attribute__deprecated__
2121                         __attribute__warn_unused_result__
2122                         __attribute__nonnull__(pTHX_1);
2123 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
2124         assert(p)
2125
2126 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
2127                         __attribute__deprecated__
2128                         __attribute__warn_unused_result__
2129                         __attribute__nonnull__(pTHX_1);
2130 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
2131         assert(p)
2132
2133 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
2134                         __attribute__deprecated__
2135                         __attribute__warn_unused_result__
2136                         __attribute__nonnull__(pTHX_1);
2137 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
2138         assert(p)
2139
2140 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
2141                         __attribute__deprecated__
2142                         __attribute__warn_unused_result__
2143                         __attribute__nonnull__(pTHX_1);
2144 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
2145         assert(p)
2146
2147 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
2148                         __attribute__deprecated__
2149                         __attribute__warn_unused_result__
2150                         __attribute__nonnull__(pTHX_1);
2151 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
2152         assert(p)
2153
2154 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
2155                         __attribute__deprecated__
2156                         __attribute__warn_unused_result__
2157                         __attribute__nonnull__(pTHX_1);
2158 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
2159         assert(p)
2160
2161 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
2162                         __attribute__deprecated__
2163                         __attribute__warn_unused_result__
2164                         __attribute__nonnull__(pTHX_1);
2165 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
2166         assert(p)
2167
2168 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
2169                         __attribute__deprecated__
2170                         __attribute__warn_unused_result__
2171                         __attribute__nonnull__(pTHX_1);
2172 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
2173         assert(p)
2174
2175 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
2176                         __attribute__nonnull__(1);
2177 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
2178         assert(s)
2179
2180 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep)
2181                         __attribute__nonnull__(1); */
2182 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
2183         assert(s)
2184
2185 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
2186                         __attribute__nonnull__(1);
2187 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
2188         assert(s)
2189
2190 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
2191                         __attribute__deprecated__
2192                         __attribute__warn_unused_result__
2193                         __attribute__nonnull__(pTHX_1);
2194 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
2195         assert(p)
2196
2197 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
2198                         __attribute__deprecated__
2199                         __attribute__warn_unused_result__
2200                         __attribute__nonnull__(pTHX_1);
2201 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
2202         assert(p)
2203
2204 PERL_CALLCONV bool      Perl_is_utf8_xidcont(pTHX_ const U8 *p)
2205                         __attribute__deprecated__
2206                         __attribute__warn_unused_result__
2207                         __attribute__nonnull__(pTHX_1);
2208 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT        \
2209         assert(p)
2210
2211 PERL_CALLCONV bool      Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
2212                         __attribute__deprecated__
2213                         __attribute__warn_unused_result__
2214                         __attribute__nonnull__(pTHX_1);
2215 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST       \
2216         assert(p)
2217
2218 PERL_CALLCONV bool      Perl_isinfnan(NV nv);
2219 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv)
2220                         __attribute__nonnull__(pTHX_1);
2221 #define PERL_ARGS_ASSERT_ISINFNANSV     \
2222         assert(sv)
2223
2224 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
2225                         __attribute__nonnull__(pTHX_1);
2226 #define PERL_ARGS_ASSERT_JMAYBE \
2227         assert(o)
2228
2229 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
2230                         __attribute__pure__
2231                         __attribute__nonnull__(pTHX_1);
2232 #define PERL_ARGS_ASSERT_KEYWORD        \
2233         assert(name)
2234
2235 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr)
2236                         __attribute__nonnull__(pTHX_1)
2237                         __attribute__nonnull__(pTHX_3);
2238 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
2239         assert(keyword_ptr); assert(op_ptr)
2240
2241 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
2242 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
2243 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr)
2244                         __attribute__nonnull__(pTHX_1);
2245 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2246         assert(ptr)
2247
2248 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
2249 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
2250 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
2251 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
2252 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr)
2253                         __attribute__nonnull__(pTHX_1);
2254 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
2255         assert(ptr)
2256
2257 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
2258 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
2259 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags)
2260                         __attribute__nonnull__(pTHX_1);
2261 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
2262         assert(pv)
2263
2264 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
2265                         __attribute__nonnull__(pTHX_1);
2266 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
2267         assert(pv)
2268
2269 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
2270                         __attribute__nonnull__(pTHX_1);
2271 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
2272         assert(sv)
2273
2274 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr)
2275                         __attribute__nonnull__(pTHX_1);
2276 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
2277         assert(ptr)
2278
2279 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
2280 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
2281                         __attribute__nonnull__(pTHX_2);
2282 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
2283         assert(name)
2284
2285 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
2286                         __attribute__nonnull__(pTHX_1);
2287 #define PERL_ARGS_ASSERT_LOCALIZE       \
2288         assert(o)
2289
2290 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
2291                         __attribute__warn_unused_result__
2292                         __attribute__nonnull__(pTHX_1);
2293 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
2294         assert(sv)
2295
2296 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
2297                         __attribute__nonnull__(pTHX_1)
2298                         __attribute__nonnull__(pTHX_2);
2299 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
2300         assert(sv); assert(mg)
2301
2302 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2303                         __attribute__nonnull__(pTHX_1)
2304                         __attribute__nonnull__(pTHX_2);
2305 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
2306         assert(sv); assert(mg)
2307
2308 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2309                         __attribute__nonnull__(pTHX_1)
2310                         __attribute__nonnull__(pTHX_2);
2311 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2312         assert(sv); assert(mg)
2313
2314 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2315                         __attribute__nonnull__(pTHX_1)
2316                         __attribute__nonnull__(pTHX_2);
2317 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
2318         assert(sv); assert(mg)
2319
2320 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2321                         __attribute__nonnull__(pTHX_1)
2322                         __attribute__nonnull__(pTHX_2);
2323 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
2324         assert(sv); assert(mg)
2325
2326 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
2327                         __attribute__nonnull__(pTHX_2);
2328 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2329         assert(mg)
2330
2331 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2332                         __attribute__nonnull__(pTHX_1)
2333                         __attribute__nonnull__(pTHX_2);
2334 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
2335         assert(sv); assert(mg)
2336
2337 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2338                         __attribute__nonnull__(pTHX_1)
2339                         __attribute__nonnull__(pTHX_2);
2340 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2341         assert(sv); assert(mg)
2342
2343 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2344                         __attribute__nonnull__(pTHX_1)
2345                         __attribute__nonnull__(pTHX_2)
2346                         __attribute__nonnull__(pTHX_3);
2347 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
2348         assert(sv); assert(mg); assert(nsv)
2349
2350 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
2351 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
2352                         __attribute__nonnull__(pTHX_1)
2353                         __attribute__nonnull__(pTHX_2);
2354 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
2355         assert(sv); assert(mg)
2356
2357 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2358                         __attribute__nonnull__(pTHX_1)
2359                         __attribute__nonnull__(pTHX_2);
2360 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
2361         assert(sv); assert(mg)
2362
2363 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2364                         __attribute__nonnull__(pTHX_1)
2365                         __attribute__nonnull__(pTHX_2);
2366 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
2367         assert(sv); assert(mg)
2368
2369 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2370                         __attribute__nonnull__(pTHX_1)
2371                         __attribute__nonnull__(pTHX_2);
2372 #define PERL_ARGS_ASSERT_MAGIC_GET      \
2373         assert(sv); assert(mg)
2374
2375 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2376                         __attribute__nonnull__(pTHX_1)
2377                         __attribute__nonnull__(pTHX_2);
2378 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
2379         assert(sv); assert(mg)
2380
2381 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg)
2382                         __attribute__nonnull__(pTHX_1)
2383                         __attribute__nonnull__(pTHX_2);
2384 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
2385         assert(sv); assert(mg)
2386
2387 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2388                         __attribute__nonnull__(pTHX_1)
2389                         __attribute__nonnull__(pTHX_2);
2390 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
2391         assert(sv); assert(mg)
2392
2393 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2394                         __attribute__nonnull__(pTHX_1)
2395                         __attribute__nonnull__(pTHX_2);
2396 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2397         assert(sv); assert(mg)
2398
2399 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2400                         __attribute__nonnull__(pTHX_1)
2401                         __attribute__nonnull__(pTHX_2);
2402 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
2403         assert(sv); assert(mg)
2404
2405 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2406                         __attribute__nonnull__(pTHX_1)
2407                         __attribute__nonnull__(pTHX_2);
2408 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
2409         assert(sv); assert(mg)
2410
2411 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2412                         __attribute__nonnull__(pTHX_1)
2413                         __attribute__nonnull__(pTHX_2);
2414 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
2415         assert(sv); assert(mg)
2416
2417 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2418                         __attribute__nonnull__(pTHX_1)
2419                         __attribute__nonnull__(pTHX_2);
2420 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
2421         assert(sv); assert(mg)
2422
2423 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2424                         __attribute__nonnull__(pTHX_1)
2425                         __attribute__nonnull__(pTHX_2);
2426 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2427         assert(sv); assert(mg)
2428
2429 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2430                         __attribute__nonnull__(pTHX_1)
2431                         __attribute__nonnull__(pTHX_2);
2432 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
2433         assert(sv); assert(mg)
2434
2435 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2436                         __attribute__nonnull__(pTHX_1)
2437                         __attribute__nonnull__(pTHX_2);
2438 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
2439         assert(sv); assert(mg)
2440
2441 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2442                         __attribute__nonnull__(pTHX_1)
2443                         __attribute__nonnull__(pTHX_2);
2444 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
2445         assert(sv); assert(mg)
2446
2447 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2448                         __attribute__nonnull__(pTHX_1)
2449                         __attribute__nonnull__(pTHX_2)
2450                         __attribute__nonnull__(pTHX_3);
2451 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2452         assert(sv); assert(mg); assert(meth)
2453
2454 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2455                         __attribute__nonnull__(pTHX_1)
2456                         __attribute__nonnull__(pTHX_2)
2457                         __attribute__nonnull__(pTHX_3);
2458 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2459         assert(sv); assert(mg); assert(key)
2460
2461 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2462                         __attribute__nonnull__(pTHX_1)
2463                         __attribute__nonnull__(pTHX_2);
2464 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
2465         assert(sv); assert(mg)
2466
2467 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2468                         __attribute__nonnull__(pTHX_1)
2469                         __attribute__nonnull__(pTHX_2);
2470 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
2471         assert(sv); assert(mg)
2472
2473 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2474                         __attribute__nonnull__(pTHX_1)
2475                         __attribute__nonnull__(pTHX_2);
2476 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
2477         assert(hv); assert(mg)
2478
2479 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2480                         __attribute__nonnull__(pTHX_1)
2481                         __attribute__nonnull__(pTHX_2);
2482 #define PERL_ARGS_ASSERT_MAGIC_SET      \
2483         assert(sv); assert(mg)
2484
2485 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
2486                         __attribute__nonnull__(pTHX_1)
2487                         __attribute__nonnull__(pTHX_2);
2488 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
2489         assert(sv); assert(mg)
2490
2491 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
2492                         __attribute__nonnull__(pTHX_1)
2493                         __attribute__nonnull__(pTHX_2);
2494 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
2495         assert(sv); assert(mg)
2496
2497 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
2498                         __attribute__nonnull__(pTHX_1)
2499                         __attribute__nonnull__(pTHX_2);
2500 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
2501         assert(sv); assert(mg)
2502
2503 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg)
2504                         __attribute__nonnull__(pTHX_1)
2505                         __attribute__nonnull__(pTHX_2);
2506 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
2507         assert(sv); assert(mg)
2508
2509 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
2510                         __attribute__nonnull__(pTHX_1)
2511                         __attribute__nonnull__(pTHX_2);
2512 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
2513         assert(sv); assert(mg)
2514
2515 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
2516                         __attribute__nonnull__(pTHX_1)
2517                         __attribute__nonnull__(pTHX_2);
2518 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
2519         assert(sv); assert(mg)
2520
2521 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2522                         __attribute__nonnull__(pTHX_1)
2523                         __attribute__nonnull__(pTHX_2);
2524 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
2525         assert(sv); assert(mg)
2526
2527 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2528                         __attribute__nonnull__(pTHX_1)
2529                         __attribute__nonnull__(pTHX_2);
2530 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
2531         assert(sv); assert(mg)
2532
2533 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg)
2534                         __attribute__nonnull__(pTHX_1)
2535                         __attribute__nonnull__(pTHX_2);
2536 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2537         assert(sv); assert(mg)
2538
2539 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2540                         __attribute__nonnull__(pTHX_1)
2541                         __attribute__nonnull__(pTHX_2);
2542 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2543         assert(sv); assert(mg)
2544
2545 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2546                         __attribute__nonnull__(pTHX_1)
2547                         __attribute__nonnull__(pTHX_2);
2548 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2549         assert(sv); assert(mg)
2550
2551 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2552                         __attribute__nonnull__(pTHX_1)
2553                         __attribute__nonnull__(pTHX_2);
2554 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
2555         assert(sv); assert(mg)
2556
2557 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2558                         __attribute__nonnull__(pTHX_1)
2559                         __attribute__nonnull__(pTHX_2);
2560 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
2561         assert(sv); assert(mg)
2562
2563 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2564                         __attribute__nonnull__(pTHX_1)
2565                         __attribute__nonnull__(pTHX_2);
2566 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
2567         assert(sv); assert(mg)
2568
2569 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
2570                         __attribute__nonnull__(pTHX_2);
2571 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
2572         assert(mg)
2573
2574 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2575                         __attribute__nonnull__(pTHX_1)
2576                         __attribute__nonnull__(pTHX_2);
2577 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
2578         assert(sv); assert(mg)
2579
2580 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2581                         __attribute__nonnull__(pTHX_1)
2582                         __attribute__nonnull__(pTHX_2);
2583 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2584         assert(sv); assert(mg)
2585
2586 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
2587                         __attribute__nonnull__(pTHX_1)
2588                         __attribute__nonnull__(pTHX_2);
2589 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
2590         assert(sv); assert(mg)
2591
2592 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
2593                         __attribute__nonnull__(pTHX_1)
2594                         __attribute__nonnull__(pTHX_2);
2595 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
2596         assert(sv); assert(mg)
2597
2598 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
2599                         __attribute__nonnull__(pTHX_1)
2600                         __attribute__nonnull__(pTHX_2);
2601 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
2602         assert(sv); assert(mg)
2603
2604 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2605                         __attribute__nonnull__(pTHX_1)
2606                         __attribute__nonnull__(pTHX_2);
2607 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2608         assert(sv); assert(mg)
2609
2610 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2611                         __attribute__nonnull__(pTHX_1)
2612                         __attribute__nonnull__(pTHX_2);
2613 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2614         assert(sv); assert(mg)
2615
2616 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
2617                         __attribute__malloc__
2618                         __attribute__warn_unused_result__;
2619
2620 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
2621 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
2622                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2623                         __attribute__nonnull__(pTHX_1);
2624 #define PERL_ARGS_ASSERT_MESS   \
2625         assert(pat)
2626
2627 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2628                         __attribute__nonnull__(pTHX_1);
2629 #define PERL_ARGS_ASSERT_MESS_SV        \
2630         assert(basemsg)
2631
2632 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
2633 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
2634                         __attribute__nonnull__(pTHX_1);
2635 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2636         assert(sv)
2637
2638 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
2639                         __attribute__nonnull__(pTHX_1)
2640                         __attribute__nonnull__(pTHX_2);
2641 #define PERL_ARGS_ASSERT_MG_COPY        \
2642         assert(sv); assert(nsv)
2643
2644 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
2645                         __attribute__warn_unused_result__;
2646
2647 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
2648                         __attribute__warn_unused_result__
2649                         __attribute__nonnull__(pTHX_1);
2650 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
2651         assert(sv)
2652
2653 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2654                         __attribute__warn_unused_result__;
2655
2656 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
2657                         __attribute__nonnull__(pTHX_1);
2658 #define PERL_ARGS_ASSERT_MG_FREE        \
2659         assert(sv)
2660
2661 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how)
2662                         __attribute__nonnull__(pTHX_1);
2663 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
2664         assert(sv)
2665
2666 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
2667                         __attribute__nonnull__(pTHX_1);
2668 #define PERL_ARGS_ASSERT_MG_GET \
2669         assert(sv)
2670
2671 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2672                         __attribute__deprecated__
2673                         __attribute__nonnull__(pTHX_1);
2674 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2675         assert(sv)
2676
2677 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2678                         __attribute__nonnull__(pTHX_1)
2679                         __attribute__nonnull__(pTHX_2);
2680 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2681         assert(sv); assert(nsv)
2682
2683 PERL_CALLCONV void      Perl_mg_magical(SV* sv)
2684                         __attribute__nonnull__(1);
2685 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2686         assert(sv)
2687
2688 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
2689                         __attribute__nonnull__(pTHX_1);
2690 #define PERL_ARGS_ASSERT_MG_SET \
2691         assert(sv)
2692
2693 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
2694                         __attribute__nonnull__(pTHX_1);
2695 #define PERL_ARGS_ASSERT_MG_SIZE        \
2696         assert(sv)
2697
2698 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm)
2699                         __attribute__nonnull__(1);
2700 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2701         assert(ptm)
2702
2703 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2704 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2705 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
2706                         __attribute__nonnull__(pTHX_1);
2707 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2708         assert(s)
2709
2710 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name)
2711                         __attribute__nonnull__(pTHX_1);
2712 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2713         assert(name)
2714
2715 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash)
2716                         __attribute__nonnull__(pTHX_1);
2717 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2718         assert(stash)
2719
2720 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which)
2721                         __attribute__nonnull__(pTHX_1)
2722                         __attribute__nonnull__(pTHX_2);
2723 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2724         assert(smeta); assert(which)
2725
2726 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash)
2727                         __attribute__nonnull__(pTHX_1);
2728 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2729         assert(stash)
2730
2731 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash)
2732                         __attribute__nonnull__(pTHX_1);
2733 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
2734         assert(stash)
2735
2736 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash)
2737                         __attribute__nonnull__(pTHX_1);
2738 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2739         assert(stash)
2740
2741 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags)
2742                         __attribute__nonnull__(pTHX_3);
2743 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2744         assert(gv)
2745
2746 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro)
2747                         __attribute__nonnull__(pTHX_1);
2748 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
2749         assert(mro)
2750
2751 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name)
2752                         __attribute__nonnull__(pTHX_1)
2753                         __attribute__nonnull__(pTHX_2);
2754 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
2755         assert(meta); assert(name)
2756
2757 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data)
2758                         __attribute__nonnull__(pTHX_1)
2759                         __attribute__nonnull__(pTHX_2)
2760                         __attribute__nonnull__(pTHX_3);
2761 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2762         assert(smeta); assert(which); assert(data)
2763
2764 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
2765                         __attribute__nonnull__(pTHX_1);
2766 #define PERL_ARGS_ASSERT_MY_ATOF        \
2767         assert(s)
2768
2769 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value)
2770                         __attribute__nonnull__(pTHX_1)
2771                         __attribute__nonnull__(pTHX_2);
2772 #define PERL_ARGS_ASSERT_MY_ATOF2       \
2773         assert(s); assert(value)
2774
2775 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2776                         __attribute__nonnull__(pTHX_1);
2777 #define PERL_ARGS_ASSERT_MY_ATTRS       \
2778         assert(o)
2779
2780 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
2781 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
2782 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
2783                         __attribute__noreturn__;
2784
2785 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
2786                         __attribute__noreturn__;
2787
2788 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2789 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2790 /* PERL_CALLCONV I32    Perl_my_lstat(pTHX); */
2791 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2792 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
2793                         __attribute__nonnull__(pTHX_1)
2794                         __attribute__nonnull__(pTHX_3);
2795 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2796         assert(mode); assert(args)
2797
2798 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2799 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2800                         __attribute__format__(__printf__,3,4)
2801                         __attribute__nonnull__(1)
2802                         __attribute__nonnull__(3);
2803 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
2804         assert(buffer); assert(format)
2805
2806 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2807 /* PERL_CALLCONV I32    Perl_my_stat(pTHX); */
2808 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2809 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
2810 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)
2811                         __attribute__format__(__strftime__,pTHX_1,0)
2812                         __attribute__nonnull__(pTHX_1);
2813 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2814         assert(fmt)
2815
2816 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2817 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
2818                         __attribute__nonnull__(1)
2819                         __attribute__nonnull__(3);
2820 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2821         assert(buffer); assert(format)
2822
2823 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2824 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2825                         __attribute__malloc__
2826                         __attribute__warn_unused_result__;
2827
2828 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2829                         __attribute__malloc__
2830                         __attribute__warn_unused_result__;
2831
2832 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2833 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2834                         __attribute__malloc__
2835                         __attribute__warn_unused_result__;
2836
2837 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2838 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2839 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2840                         __attribute__warn_unused_result__; */
2841
2842 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2843                         __attribute__malloc__
2844                         __attribute__warn_unused_result__
2845                         __attribute__nonnull__(pTHX_1);
2846 #define PERL_ARGS_ASSERT_NEWAVREF       \
2847         assert(o)
2848
2849 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2850                         __attribute__malloc__
2851                         __attribute__warn_unused_result__;
2852
2853 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2854                         __attribute__malloc__
2855                         __attribute__warn_unused_result__
2856                         __attribute__nonnull__(pTHX_2);
2857 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2858         assert(first)
2859
2860 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2861 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2862 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2863                         __attribute__malloc__
2864                         __attribute__warn_unused_result__;
2865
2866 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2867                         __attribute__warn_unused_result__;
2868
2869 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2870 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2871                         __attribute__malloc__
2872                         __attribute__warn_unused_result__
2873                         __attribute__nonnull__(pTHX_3);
2874 #define PERL_ARGS_ASSERT_NEWFOROP       \
2875         assert(expr)
2876
2877 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2878                         __attribute__malloc__
2879                         __attribute__warn_unused_result__
2880                         __attribute__nonnull__(pTHX_1)
2881                         __attribute__nonnull__(pTHX_2);
2882 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2883         assert(cond); assert(block)
2884
2885 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv)
2886                         __attribute__nonnull__(pTHX_1);
2887 #define PERL_ARGS_ASSERT_NEWGP  \
2888         assert(gv)
2889
2890 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2891                         __attribute__malloc__
2892                         __attribute__warn_unused_result__
2893                         __attribute__nonnull__(pTHX_3);
2894 #define PERL_ARGS_ASSERT_NEWGVOP        \
2895         assert(gv)
2896
2897 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2898                         __attribute__malloc__
2899                         __attribute__warn_unused_result__;
2900
2901 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack)
2902                         __attribute__nonnull__(pTHX_1); */
2903
2904 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2905                         __attribute__malloc__
2906                         __attribute__warn_unused_result__
2907                         __attribute__nonnull__(pTHX_1);
2908 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2909         assert(pack)
2910
2911 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2912                         __attribute__warn_unused_result__; */
2913
2914 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2915                         __attribute__malloc__
2916                         __attribute__warn_unused_result__
2917                         __attribute__nonnull__(pTHX_1);
2918 #define PERL_ARGS_ASSERT_NEWHVREF       \
2919         assert(o)
2920
2921 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2922                         __attribute__malloc__
2923                         __attribute__warn_unused_result__;
2924
2925 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2926                         __attribute__malloc__
2927                         __attribute__warn_unused_result__; */
2928
2929 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2930                         __attribute__malloc__
2931                         __attribute__warn_unused_result__;
2932
2933 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2934                         __attribute__malloc__
2935                         __attribute__warn_unused_result__
2936                         __attribute__nonnull__(pTHX_3)
2937                         __attribute__nonnull__(pTHX_4);
2938 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2939         assert(first); assert(other)
2940
2941 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2942                         __attribute__malloc__
2943                         __attribute__warn_unused_result__
2944                         __attribute__nonnull__(pTHX_2);
2945 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2946         assert(label)
2947
2948 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2949                         __attribute__malloc__
2950                         __attribute__warn_unused_result__;
2951
2952 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2953                         __attribute__malloc__
2954                         __attribute__warn_unused_result__
2955                         __attribute__nonnull__(pTHX_3);
2956 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2957         assert(dynamic_meth)
2958
2959 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2960                         __attribute__malloc__
2961                         __attribute__warn_unused_result__
2962                         __attribute__nonnull__(pTHX_3);
2963 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2964         assert(const_meth)
2965
2966 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
2967                         __attribute__nonnull__(pTHX_2);
2968 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2969         assert(o)
2970
2971 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2972                         __attribute__malloc__
2973                         __attribute__warn_unused_result__;
2974
2975 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2976                         __attribute__malloc__
2977                         __attribute__warn_unused_result__;
2978
2979 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2980                         __attribute__malloc__
2981                         __attribute__warn_unused_result__;
2982
2983 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2984                         __attribute__nonnull__(pTHX_1);
2985 #define PERL_ARGS_ASSERT_NEWPROG        \
2986         assert(o)
2987
2988 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2989                         __attribute__malloc__
2990                         __attribute__warn_unused_result__;
2991
2992 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2993                         __attribute__malloc__
2994                         __attribute__warn_unused_result__
2995                         __attribute__nonnull__(pTHX_2)
2996                         __attribute__nonnull__(pTHX_3);
2997 #define PERL_ARGS_ASSERT_NEWRANGE       \
2998         assert(left); assert(right)
2999
3000 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
3001                         __attribute__malloc__
3002                         __attribute__warn_unused_result__
3003                         __attribute__nonnull__(pTHX_1);
3004 #define PERL_ARGS_ASSERT_NEWRV  \
3005         assert(sv)
3006
3007 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
3008                         __attribute__malloc__
3009                         __attribute__warn_unused_result__
3010                         __attribute__nonnull__(pTHX_1);
3011 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
3012         assert(sv)
3013
3014 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
3015                         __attribute__malloc__
3016                         __attribute__warn_unused_result__;
3017
3018 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
3019                         __attribute__malloc__
3020                         __attribute__warn_unused_result__;
3021
3022 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake)
3023                         __attribute__nonnull__(pTHX_1);
3024 #define PERL_ARGS_ASSERT_NEWSTUB        \
3025         assert(gv)
3026
3027 /* PERL_CALLCONV CV*    Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */
3028 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
3029                         __attribute__malloc__
3030                         __attribute__warn_unused_result__;
3031
3032 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
3033                         __attribute__malloc__
3034                         __attribute__warn_unused_result__
3035                         __attribute__nonnull__(pTHX_3);
3036 #define PERL_ARGS_ASSERT_NEWSVOP        \
3037         assert(sv)
3038
3039 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
3040                         __attribute__malloc__
3041                         __attribute__warn_unused_result__
3042                         __attribute__nonnull__(pTHX_1);
3043 #define PERL_ARGS_ASSERT_NEWSVREF       \
3044         assert(o)
3045
3046 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
3047                         __attribute__malloc__
3048                         __attribute__warn_unused_result__;
3049
3050 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
3051                         __attribute__malloc__
3052                         __attribute__warn_unused_result__
3053                         __attribute__nonnull__(pTHX_1);
3054 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
3055         assert(av)
3056
3057 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
3058                         __attribute__malloc__
3059                         __attribute__warn_unused_result__;
3060
3061 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
3062                         __attribute__malloc__
3063                         __attribute__warn_unused_result__;
3064
3065 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
3066                         __attribute__malloc__
3067                         __attribute__warn_unused_result__;
3068
3069 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
3070                         __attribute__malloc__
3071                         __attribute__warn_unused_result__;
3072
3073 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
3074                         __attribute__malloc__
3075                         __attribute__warn_unused_result__;
3076
3077 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
3078                         __attribute__malloc__
3079                         __attribute__warn_unused_result__
3080                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
3081                         __attribute__nonnull__(pTHX_1);
3082 #define PERL_ARGS_ASSERT_NEWSVPVF       \
3083         assert(pat)
3084
3085 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
3086                         __attribute__malloc__
3087                         __attribute__warn_unused_result__;
3088
3089 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
3090                         __attribute__malloc__
3091                         __attribute__warn_unused_result__;
3092
3093 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
3094                         __attribute__malloc__
3095                         __attribute__warn_unused_result__;
3096
3097 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
3098                         __attribute__nonnull__(pTHX_1);
3099 #define PERL_ARGS_ASSERT_NEWSVRV        \
3100         assert(rv)
3101
3102 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
3103                         __attribute__malloc__
3104                         __attribute__warn_unused_result__;
3105
3106 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
3107                         __attribute__malloc__
3108                         __attribute__warn_unused_result__;
3109
3110 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
3111                         __attribute__malloc__
3112                         __attribute__warn_unused_result__;
3113
3114 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
3115                         __attribute__malloc__
3116                         __attribute__warn_unused_result__
3117                         __attribute__nonnull__(pTHX_2);
3118 #define PERL_ARGS_ASSERT_NEWWHENOP      \
3119         assert(block)
3120
3121 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
3122                         __attribute__malloc__
3123                         __attribute__warn_unused_result__;
3124
3125 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
3126                         __attribute__nonnull__(pTHX_2)
3127                         __attribute__nonnull__(pTHX_3);
3128 #define PERL_ARGS_ASSERT_NEWXS  \
3129         assert(subaddr); assert(filename)
3130
3131 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr)
3132                         __attribute__nonnull__(pTHX_1)
3133                         __attribute__nonnull__(pTHX_2);
3134 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
3135         assert(name); assert(subaddr)
3136
3137 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
3138                         __attribute__nonnull__(pTHX_2)
3139                         __attribute__nonnull__(pTHX_3);
3140 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
3141         assert(subaddr); assert(filename)
3142
3143 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)
3144                         __attribute__nonnull__(pTHX_3);
3145 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
3146         assert(subaddr)
3147
3148 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
3149 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
3150                         __attribute__nonnull__(pTHX_1);
3151 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
3152         assert(newctype)
3153
3154 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
3155 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3156                         __attribute__malloc__
3157                         __attribute__warn_unused_result__;
3158
3159 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
3160                         __attribute__nonnull__(pTHX_1);
3161 #define PERL_ARGS_ASSERT_NEW_VERSION    \
3162         assert(ver)
3163
3164 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
3165                         __attribute__malloc__
3166                         __attribute__warn_unused_result__
3167                         __attribute__nonnull__(pTHX_2);
3168 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
3169         assert(bits)
3170
3171 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen)
3172                         __attribute__nonnull__(pTHX_1);
3173 #define PERL_ARGS_ASSERT_NEXTARGV       \
3174         assert(gv)
3175
3176 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
3177                         __attribute__pure__
3178                         __attribute__nonnull__(1)
3179                         __attribute__nonnull__(2)
3180                         __attribute__nonnull__(3)
3181                         __attribute__nonnull__(4);
3182 #define PERL_ARGS_ASSERT_NINSTR \
3183         assert(big); assert(bigend); assert(little); assert(lend)
3184
3185 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
3186                         __attribute__noreturn__
3187                         __attribute__format__(__printf__,1,2)
3188                         __attribute__nonnull__(1);
3189 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
3190         assert(pat)
3191
3192 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
3193 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
3194                         __attribute__warn_unused_result__
3195                         __attribute__nonnull__(pTHX_1);
3196 #define PERL_ARGS_ASSERT_OOPSAV \
3197         assert(o)
3198
3199 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
3200                         __attribute__warn_unused_result__
3201                         __attribute__nonnull__(pTHX_1);
3202 #define PERL_ARGS_ASSERT_OOPSHV \
3203         assert(o)
3204
3205 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
3206 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
3207 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
3208                         __attribute__nonnull__(pTHX_1);
3209 #define PERL_ARGS_ASSERT_OP_CLEAR       \
3210         assert(o)
3211
3212 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context)
3213                         __attribute__nonnull__(pTHX_1);
3214 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
3215         assert(o)
3216
3217 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
3218                         __attribute__warn_unused_result__;
3219
3220 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o)
3221                         __attribute__nonnull__(pTHX_1);
3222 #define PERL_ARGS_ASSERT_OP_DUMP        \
3223         assert(o)
3224
3225 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
3226 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o)
3227                         __attribute__nonnull__(pTHX_1);
3228 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
3229         assert(o)
3230
3231 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
3232 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3233 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
3234                         __attribute__nonnull__(pTHX_1);
3235 #define PERL_ARGS_ASSERT_OP_NULL        \
3236         assert(o)
3237
3238 PERL_CALLCONV OP*       Perl_op_parent(OP *o)
3239                         __attribute__nonnull__(1);
3240 #define PERL_ARGS_ASSERT_OP_PARENT      \
3241         assert(o)
3242
3243 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3244 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
3245 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
3246 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
3247 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert)
3248                         __attribute__nonnull__(1);
3249 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE      \
3250         assert(parent)
3251
3252 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
3253 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)
3254                         __attribute__nonnull__(pTHX_1)
3255                         __attribute__nonnull__(pTHX_2)
3256                         __attribute__nonnull__(pTHX_3)
3257                         __attribute__nonnull__(pTHX_4)
3258                         __attribute__nonnull__(pTHX_5)
3259                         __attribute__nonnull__(pTHX_6);
3260 #define PERL_ARGS_ASSERT_PACK_CAT       \
3261         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
3262
3263 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
3264                         __attribute__nonnull__(pTHX_1);
3265 #define PERL_ARGS_ASSERT_PACKAGE        \
3266         assert(o)
3267
3268 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
3269                         __attribute__nonnull__(pTHX_1);
3270 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
3271         assert(v)
3272
3273 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
3274                         __attribute__nonnull__(pTHX_1)
3275                         __attribute__nonnull__(pTHX_2)
3276                         __attribute__nonnull__(pTHX_3)
3277                         __attribute__nonnull__(pTHX_4)
3278                         __attribute__nonnull__(pTHX_5);
3279 #define PERL_ARGS_ASSERT_PACKLIST       \
3280         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3281
3282 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype)
3283                         __attribute__nonnull__(pTHX_1);
3284 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
3285         assert(func)
3286
3287 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash)
3288                         __attribute__nonnull__(pTHX_1);
3289 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
3290         assert(name)
3291
3292 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash)
3293                         __attribute__nonnull__(pTHX_1);
3294 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
3295         assert(namepv)
3296
3297 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash)
3298                         __attribute__nonnull__(pTHX_1);
3299 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
3300         assert(name)
3301
3302 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3303 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
3304 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
3305                         __attribute__warn_unused_result__;
3306
3307 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags)
3308                         __attribute__nonnull__(pTHX_1);
3309 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
3310         assert(name)
3311
3312 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags)
3313                         __attribute__nonnull__(pTHX_1);
3314 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3315         assert(namepv)
3316
3317 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags)
3318                         __attribute__nonnull__(pTHX_1);
3319 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
3320         assert(name)
3321
3322 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3323                         __attribute__nonnull__(pTHX_1)
3324                         __attribute__nonnull__(pTHX_2)
3325                         __attribute__nonnull__(pTHX_3);
3326 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
3327         assert(padlist); assert(old_cv); assert(new_cv)
3328
3329 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
3330 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
3331 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
3332                         __attribute__malloc__
3333                         __attribute__warn_unused_result__;
3334
3335 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
3336                         __attribute__nonnull__(pTHX_1);
3337 #define PERL_ARGS_ASSERT_PAD_PUSH       \
3338         assert(padlist)
3339
3340 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
3341 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
3342 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3343                         __attribute__nonnull__(pTHX_1);
3344 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
3345         assert(padlist)
3346
3347 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
3348 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
3349 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
3350 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
3351 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
3352 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
3353 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
3354 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
3355 PERL_CALLCONV OP *      Perl_parse_subsignature(pTHX)
3356                         __attribute__warn_unused_result__;
3357
3358 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
3359 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3360                         __attribute__nonnull__(pTHX_1);
3361 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3362         assert(popt)
3363
3364 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3365                         __attribute__nonnull__(pTHX_1);
3366 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3367         assert(parser)
3368
3369 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
3370 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
3371 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl)
3372                         __attribute__nonnull__(1);
3373 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3374         assert(my_perl)
3375
3376 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl)
3377                         __attribute__nonnull__(1);
3378 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
3379         assert(my_perl)
3380
3381 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl)
3382                         __attribute__nonnull__(1);
3383 #define PERL_ARGS_ASSERT_PERL_FREE      \
3384         assert(my_perl)
3385
3386 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
3387                         __attribute__nonnull__(1);
3388 #define PERL_ARGS_ASSERT_PERL_PARSE     \
3389         assert(my_perl)
3390
3391 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl)
3392                         __attribute__nonnull__(1);
3393 #define PERL_ARGS_ASSERT_PERL_RUN       \
3394         assert(my_perl)
3395
3396 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
3397 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg, I32 floor)
3398                         __attribute__nonnull__(pTHX_1)
3399                         __attribute__nonnull__(pTHX_2);
3400 #define PERL_ARGS_ASSERT_PMRUNTIME      \
3401         assert(o); assert(expr)
3402
3403 PERL_CALLCONV void      Perl_pop_scope(pTHX);
3404 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3405                         __attribute__nonnull__(pTHX_1);
3406 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
3407         assert(name)
3408
3409 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
3410                         __attribute__nonnull__(pTHX_1);
3411 #define PERL_ARGS_ASSERT_PREGCOMP       \
3412         assert(pattern)
3413
3414 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave)
3415                         __attribute__nonnull__(pTHX_1)
3416                         __attribute__nonnull__(pTHX_2)
3417                         __attribute__nonnull__(pTHX_3)
3418                         __attribute__nonnull__(pTHX_4)
3419                         __attribute__nonnull__(pTHX_6);
3420 #define PERL_ARGS_ASSERT_PREGEXEC       \
3421         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3422
3423 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
3424 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
3425                         __attribute__nonnull__(pTHX_1);
3426 #define PERL_ARGS_ASSERT_PREGFREE2      \
3427         assert(rx)
3428
3429 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)
3430                         __attribute__nonnull__(pTHX_1);
3431 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
3432         assert(s)
3433
3434 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
3435                         __attribute__deprecated__;
3436
3437 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3438                         __attribute__warn_unused_result__
3439                         __attribute__nonnull__(pTHX_1);
3440 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
3441         assert(tbl)
3442
3443 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3444 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
3445                         __attribute__malloc__
3446                         __attribute__warn_unused_result__;
3447
3448 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
3449                         __attribute__nonnull__(pTHX_1);
3450 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
3451         assert(tbl)
3452
3453 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
3454                         __attribute__nonnull__(pTHX_1)
3455                         __attribute__nonnull__(pTHX_3);
3456 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
3457         assert(tbl); assert(newsv)
3458
3459 PERL_CALLCONV void      Perl_push_scope(pTHX);
3460 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3461                         __attribute__nonnull__(pTHX_1)
3462                         __attribute__nonnull__(pTHX_2);
3463 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3464         assert(dsv); assert(pv)
3465
3466 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)
3467                         __attribute__nonnull__(pTHX_2);
3468 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3469         assert(str)
3470
3471 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)
3472                         __attribute__nonnull__(pTHX_1)
3473                         __attribute__nonnull__(pTHX_2);
3474 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3475         assert(dsv); assert(str)
3476
3477 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3478                         __attribute__nonnull__(pTHX_1)
3479                         __attribute__nonnull__(pTHX_2);
3480 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3481         assert(dsv); assert(spv)
3482
3483 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
3484                         __attribute__nonnull__(pTHX_1);
3485 #define PERL_ARGS_ASSERT_QERROR \
3486         assert(err)
3487
3488 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags)
3489                         __attribute__nonnull__(pTHX_1);
3490 #define PERL_ARGS_ASSERT_RE_COMPILE     \
3491         assert(pattern)
3492
3493 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)
3494                         __attribute__nonnull__(pTHX_1)
3495                         __attribute__nonnull__(pTHX_3)
3496                         __attribute__nonnull__(pTHX_4)
3497                         __attribute__nonnull__(pTHX_5);
3498 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
3499         assert(rx); assert(strbeg); assert(strpos); assert(strend)
3500
3501 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
3502                         __attribute__nonnull__(pTHX_1);
3503 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
3504         assert(r)
3505
3506 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)
3507                         __attribute__nonnull__(pTHX_4);
3508 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
3509         assert(eng)
3510
3511 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3512                         __attribute__malloc__
3513                         __attribute__warn_unused_result__;
3514
3515 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
3516 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
3517 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
3518                         __attribute__nonnull__(1);
3519 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
3520         assert(f)
3521
3522 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
3523 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
3524 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3525 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags)
3526                         __attribute__nonnull__(pTHX_2);
3527 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3528         assert(key)
3529
3530 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags)
3531                         __attribute__nonnull__(pTHX_2);
3532 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
3533         assert(keypv)
3534
3535 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags)
3536                         __attribute__nonnull__(pTHX_2);
3537 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3538         assert(key)
3539
3540 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3541 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3542 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags)
3543                         __attribute__nonnull__(pTHX_2);
3544 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
3545         assert(key)
3546
3547 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)
3548                         __attribute__nonnull__(pTHX_2);
3549 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
3550         assert(keypv)
3551
3552 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags)
3553                         __attribute__nonnull__(pTHX_2);
3554 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
3555         assert(key)
3556
3557 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
3558                         __attribute__nonnull__(pTHX_1);
3559 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3560         assert(rx)
3561
3562 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
3563                         __attribute__nonnull__(pTHX_1);
3564 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
3565         assert(rx)
3566
3567 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
3568                         __attribute__nonnull__(pTHX_1)
3569                         __attribute__nonnull__(pTHX_2);
3570 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
3571         assert(rx); assert(key)
3572
3573 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
3574                         __attribute__nonnull__(pTHX_1)
3575                         __attribute__nonnull__(pTHX_2);
3576 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
3577         assert(rx); assert(namesv)
3578
3579 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
3580                         __attribute__nonnull__(pTHX_1);
3581 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
3582         assert(rx)
3583
3584 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
3585                         __attribute__nonnull__(pTHX_1);
3586 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
3587         assert(rx)
3588
3589 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
3590                         __attribute__nonnull__(pTHX_1);
3591 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3592         assert(rx)
3593
3594 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
3595                         __attribute__nonnull__(pTHX_1);
3596 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
3597         assert(rx)
3598
3599 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
3600                         __attribute__nonnull__(pTHX_1);
3601 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
3602         assert(rx)
3603
3604 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
3605                         __attribute__nonnull__(pTHX_1)
3606                         __attribute__nonnull__(pTHX_2);
3607 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
3608         assert(rx); assert(sv)
3609
3610 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
3611                         __attribute__nonnull__(pTHX_1);
3612 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
3613         assert(rx)
3614
3615 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
3616                         __attribute__nonnull__(pTHX_1);
3617 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3618         assert(rx)
3619
3620 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
3621                         __attribute__nonnull__(pTHX_2);
3622 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
3623         assert(rx)
3624
3625 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
3626                         __attribute__nonnull__(pTHX_2);
3627 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
3628         assert(node)
3629
3630 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
3631                         __attribute__nonnull__(pTHX_1);
3632 #define PERL_ARGS_ASSERT_REGDUMP        \
3633         assert(r)
3634
3635 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)
3636                         __attribute__nonnull__(pTHX_1)
3637                         __attribute__nonnull__(pTHX_2)
3638                         __attribute__nonnull__(pTHX_3)
3639                         __attribute__nonnull__(pTHX_4)
3640                         __attribute__nonnull__(pTHX_6);
3641 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
3642         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3643
3644 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
3645                         __attribute__nonnull__(pTHX_1);
3646 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
3647         assert(rx)
3648
3649 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3650 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
3651                         __attribute__warn_unused_result__;
3652
3653 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count)
3654                         __attribute__nonnull__(1)
3655                         __attribute__nonnull__(2);
3656 #define PERL_ARGS_ASSERT_REPEATCPY      \
3657         assert(to); assert(from)
3658
3659 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
3660 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3661 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
3662 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
3663                         __attribute__nonnull__(pTHX_1);
3664 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
3665         assert(pv)
3666
3667 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3668                         __attribute__pure__
3669                         __attribute__nonnull__(1)
3670                         __attribute__nonnull__(2)
3671                         __attribute__nonnull__(3)
3672                         __attribute__nonnull__(4);
3673 #define PERL_ARGS_ASSERT_RNINSTR        \
3674         assert(big); assert(bigend); assert(little); assert(lend)
3675
3676 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
3677 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
3678 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
3679 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3680                         __attribute__nonnull__(pTHX_3);
3681 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
3682         assert(save)
3683
3684 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
3685 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3686 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3687 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags)
3688                         __attribute__nonnull__(pTHX_1);
3689 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
3690         assert(cvop)
3691
3692 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3693                         __attribute__nonnull__(pTHX_1)
3694                         __attribute__nonnull__(pTHX_2);
3695 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
3696         assert(rsp); assert(rx)
3697
3698 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3699                         __attribute__malloc__
3700                         __attribute__warn_unused_result__;
3701
3702 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3703 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3704                         __attribute__malloc__
3705                         __attribute__warn_unused_result__;
3706
3707 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3708                         __attribute__malloc__
3709                         __attribute__warn_unused_result__;
3710
3711 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
3712                         __attribute__nonnull__(pTHX_1);
3713 #define PERL_ARGS_ASSERT_SAVE_I16       \
3714         assert(intp)
3715
3716 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
3717                         __attribute__nonnull__(pTHX_1);
3718 #define PERL_ARGS_ASSERT_SAVE_I32       \
3719         assert(intp)
3720
3721 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
3722                         __attribute__nonnull__(pTHX_1);
3723 #define PERL_ARGS_ASSERT_SAVE_I8        \
3724         assert(bytep)
3725
3726 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key)
3727                         __attribute__nonnull__(pTHX_1);
3728 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
3729         assert(av)
3730
3731 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr)
3732                         __attribute__nonnull__(pTHX_1)
3733                         __attribute__nonnull__(pTHX_3); */
3734
3735 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags)
3736                         __attribute__nonnull__(pTHX_1)
3737                         __attribute__nonnull__(pTHX_3);
3738 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
3739         assert(av); assert(sptr)
3740
3741 PERL_CALLCONV void      Perl_save_aliased_sv(pTHX_ GV* gv)
3742                         __attribute__nonnull__(pTHX_1);
3743 #define PERL_ARGS_ASSERT_SAVE_ALIASED_SV        \
3744         assert(gv)
3745
3746 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
3747 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
3748                         __attribute__nonnull__(pTHX_1);
3749 #define PERL_ARGS_ASSERT_SAVE_APTR      \
3750         assert(aptr)
3751
3752 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
3753                         __attribute__nonnull__(pTHX_1);
3754 #define PERL_ARGS_ASSERT_SAVE_ARY       \
3755         assert(gv)
3756
3757 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
3758                         __attribute__nonnull__(pTHX_1);
3759 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
3760         assert(boolp)
3761
3762 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
3763                         __attribute__nonnull__(pTHX_1);
3764 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
3765         assert(svp)
3766
3767 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
3768                         __attribute__nonnull__(pTHX_1)
3769                         __attribute__nonnull__(pTHX_2);
3770 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
3771         assert(hv); assert(key)
3772
3773 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3774                         __attribute__nonnull__(pTHX_2);
3775 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3776         assert(p)
3777
3778 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3779 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
3780 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
3781 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
3782 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
3783                         __attribute__nonnull__(pTHX_1);
3784 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3785         assert(str)
3786
3787 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
3788                         __attribute__nonnull__(pTHX_1);
3789 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3790         assert(sptr)
3791
3792 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
3793                         __attribute__nonnull__(pTHX_1);
3794 #define PERL_ARGS_ASSERT_SAVE_GP        \
3795         assert(gv)
3796
3797 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
3798                         __attribute__nonnull__(pTHX_1);
3799 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3800         assert(gv)
3801
3802 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
3803                         __attribute__nonnull__(pTHX_1)
3804                         __attribute__nonnull__(pTHX_2);
3805 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3806         assert(hv); assert(keysv)
3807
3808 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
3809                         __attribute__nonnull__(pTHX_1)
3810                         __attribute__nonnull__(pTHX_2)
3811                         __attribute__nonnull__(pTHX_3); */
3812
3813 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3814                         __attribute__nonnull__(pTHX_1)
3815                         __attribute__nonnull__(pTHX_2)
3816                         __attribute__nonnull__(pTHX_3);
3817 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3818         assert(hv); assert(key); assert(sptr)
3819
3820 PERL_CALLCONV void      Perl_save_hints(pTHX);
3821 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
3822                         __attribute__nonnull__(pTHX_1);
3823 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3824         assert(hptr)
3825
3826 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
3827                         __attribute__nonnull__(pTHX_1);
3828 #define PERL_ARGS_ASSERT_SAVE_INT       \
3829         assert(intp)
3830
3831 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
3832                         __attribute__nonnull__(pTHX_1);
3833 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3834         assert(item)
3835
3836 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
3837                         __attribute__nonnull__(pTHX_1);
3838 #define PERL_ARGS_ASSERT_SAVE_IV        \
3839         assert(ivp)
3840
3841 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3842                         __attribute__nonnull__(pTHX_1);
3843 #define PERL_ARGS_ASSERT_SAVE_LIST      \
3844         assert(sarg)
3845
3846 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
3847                         __attribute__nonnull__(pTHX_1);
3848 #define PERL_ARGS_ASSERT_SAVE_LONG      \
3849         assert(longp)
3850
3851 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
3852                         __attribute__nonnull__(pTHX_1); */
3853 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3854         assert(sv)
3855
3856 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
3857                         __attribute__nonnull__(pTHX_1);
3858 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
3859         assert(gv)
3860
3861 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
3862 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3863 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
3864                         __attribute__nonnull__(pTHX_1);
3865 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3866         assert(pptr)
3867
3868 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3869 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3870 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3871 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3872 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
3873                         __attribute__nonnull__(pTHX_1);
3874 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3875         assert(gv)
3876
3877 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val)
3878                         __attribute__nonnull__(pTHX_1);
3879 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
3880         assert(sv)
3881
3882 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
3883                         __attribute__nonnull__(pTHX_1);
3884 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3885         assert(str)
3886
3887 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
3888                         __attribute__nonnull__(pTHX_1);
3889 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3890         assert(sptr)
3891
3892 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr)
3893                         __attribute__nonnull__(pTHX_1);
3894 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
3895         assert(ptr)
3896
3897 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
3898                         __attribute__nonnull__(pTHX_1);
3899 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3900         assert(sptr)
3901
3902 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
3903                         __attribute__nonnull__(pTHX_1);
3904 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3905         assert(ptr)
3906
3907 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
3908                         __attribute__malloc__
3909                         __attribute__warn_unused_result__;
3910
3911 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
3912                         __attribute__malloc__
3913                         __attribute__warn_unused_result__;
3914
3915 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
3916                         __attribute__malloc__
3917                         __attribute__warn_unused_result__;
3918
3919 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3920                         __attribute__malloc__
3921                         __attribute__warn_unused_result__;
3922
3923 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
3924                         __attribute__malloc__
3925                         __attribute__warn_unused_result__
3926                         __attribute__nonnull__(pTHX_1);
3927 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3928         assert(sv)
3929
3930 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
3931 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
3932 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
3933                         __attribute__malloc__
3934                         __attribute__warn_unused_result__
3935                         __attribute__nonnull__(pTHX_1);
3936 #define PERL_ARGS_ASSERT_SAVESVPV       \
3937         assert(sv)
3938
3939 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
3940 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
3941 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3942                         __attribute__nonnull__(pTHX_1);
3943 #define PERL_ARGS_ASSERT_SCALARVOID     \
3944         assert(o)
3945
3946 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3947                         __attribute__nonnull__(pTHX_1)
3948                         __attribute__nonnull__(pTHX_3);
3949 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3950         assert(start); assert(retlen)
3951
3952 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3953                         __attribute__nonnull__(pTHX_1)
3954                         __attribute__nonnull__(pTHX_3);
3955 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3956         assert(start); assert(retlen)
3957
3958 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3959                         __attribute__nonnull__(pTHX_1)
3960                         __attribute__nonnull__(pTHX_2);
3961 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3962         assert(s); assert(lvalp)
3963
3964 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3965                         __attribute__nonnull__(pTHX_1)
3966                         __attribute__nonnull__(pTHX_3);
3967 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3968         assert(start); assert(retlen)
3969
3970 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
3971                         __attribute__nonnull__(pTHX_1)
3972                         __attribute__nonnull__(pTHX_2);
3973 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
3974         assert(s); assert(rv)
3975
3976 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
3977                         __attribute__nonnull__(pTHX_1)
3978                         __attribute__nonnull__(pTHX_2)
3979                         __attribute__nonnull__(pTHX_3);
3980 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
3981         assert(s); assert(e); assert(sv)
3982
3983 PERL_CALLCONV U32       Perl_seed(pTHX);
3984 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
3985 PERL_CALLCONV void      Perl_set_context(void *t)
3986                         __attribute__nonnull__(1);
3987 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
3988         assert(t)
3989
3990 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
3991 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
3992 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
3993 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv)
3994                         __attribute__nonnull__(pTHX_1);
3995 #define PERL_ARGS_ASSERT_SETDEFOUT      \
3996         assert(gv)
3997
3998 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3999                         __attribute__nonnull__(pTHX_1);
4000 #define PERL_ARGS_ASSERT_SHARE_HEK      \
4001         assert(str)
4002
4003 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
4004                         __attribute__nonnull__(pTHX_3);
4005 #define PERL_ARGS_ASSERT_SORTSV \
4006         assert(cmp)
4007
4008 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
4009                         __attribute__nonnull__(pTHX_3);
4010 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
4011         assert(cmp)
4012
4013 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n)
4014                         __attribute__nonnull__(pTHX_1)
4015                         __attribute__nonnull__(pTHX_2);
4016 #define PERL_ARGS_ASSERT_STACK_GROW     \
4017         assert(sp); assert(p)
4018
4019 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
4020                         __attribute__nonnull__(pTHX_1)
4021                         __attribute__nonnull__(pTHX_2);
4022 #define PERL_ARGS_ASSERT_START_GLOB     \
4023         assert(tmpglob); assert(io)
4024
4025 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
4026 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
4027                         __attribute__warn_unused_result__
4028                         __attribute__nonnull__(pTHX_1);
4029 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
4030         assert(sv)
4031
4032 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
4033                         __attribute__nonnull__(pTHX_1);
4034 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
4035         assert(cv)
4036
4037 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv)
4038                         __attribute__nonnull__(pTHX_1); */
4039
4040 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags)
4041                         __attribute__nonnull__(pTHX_1);
4042 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
4043         assert(sv)
4044
4045 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
4046                         __attribute__nonnull__(pTHX_2)
4047                         __attribute__nonnull__(pTHX_3);
4048 #define PERL_ARGS_ASSERT_SV_2CV \
4049         assert(st); assert(gvp)
4050
4051 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
4052                         __attribute__nonnull__(pTHX_1);
4053 #define PERL_ARGS_ASSERT_SV_2IO \
4054         assert(sv)
4055
4056 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv)
4057                         __attribute__nonnull__(pTHX_1); */
4058 #define PERL_ARGS_ASSERT_SV_2IV \
4059         assert(sv)
4060
4061 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags)
4062                         __attribute__nonnull__(pTHX_1);
4063 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
4064         assert(sv)
4065
4066 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
4067 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
4068                         __attribute__nonnull__(pTHX_1);
4069 #define PERL_ARGS_ASSERT_SV_2NUM        \
4070         assert(sv)
4071
4072 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags)
4073                         __attribute__nonnull__(pTHX_1);
4074 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
4075         assert(sv)
4076
4077 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp)
4078                         __attribute__nonnull__(pTHX_1); */
4079 #define PERL_ARGS_ASSERT_SV_2PV \
4080         assert(sv)
4081
4082 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
4083                         __attribute__nonnull__(pTHX_1);
4084 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
4085         assert(sv)
4086
4087 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
4088                         __attribute__warn_unused_result__
4089                         __attribute__nonnull__(pTHX_1); */
4090 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
4091         assert(sv)
4092
4093 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp)
4094                         __attribute__nonnull__(pTHX_1);
4095 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
4096         assert(sv)
4097
4098 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
4099                         __attribute__warn_unused_result__
4100                         __attribute__nonnull__(pTHX_1); */
4101 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
4102         assert(sv)
4103
4104 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp)
4105                         __attribute__nonnull__(pTHX_1);
4106 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
4107         assert(sv)
4108
4109 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
4110                         __attribute__warn_unused_result__
4111                         __attribute__nonnull__(pTHX_1); */
4112 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
4113         assert(sv)
4114
4115 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv)
4116                         __attribute__nonnull__(pTHX_1); */
4117 #define PERL_ARGS_ASSERT_SV_2UV \
4118         assert(sv)
4119
4120 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags)
4121                         __attribute__nonnull__(pTHX_1);
4122 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
4123         assert(sv)
4124
4125 PERL_CALLCONV int       Perl_sv_backoff(SV *const sv)
4126                         __attribute__nonnull__(1);
4127 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
4128         assert(sv)
4129
4130 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
4131                         __attribute__nonnull__(pTHX_1)
4132                         __attribute__nonnull__(pTHX_2);
4133 #define PERL_ARGS_ASSERT_SV_BLESS       \
4134         assert(sv); assert(stash)
4135
4136 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
4137                         __attribute__nonnull__(pTHX_1)
4138                         __attribute__nonnull__(pTHX_2)
4139                         __attribute__nonnull__(pTHX_3)
4140                         __attribute__nonnull__(pTHX_4)
4141                         __attribute__nonnull__(pTHX_5);
4142 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
4143         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
4144
4145 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
4146                         __attribute__nonnull__(pTHX_1);
4147 #define PERL_ARGS_ASSERT_SV_CATPV       \
4148         assert(sv)
4149
4150 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags)
4151                         __attribute__nonnull__(pTHX_1)
4152                         __attribute__nonnull__(pTHX_2);
4153 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
4154         assert(dstr); assert(sstr)
4155
4156 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
4157                         __attribute__nonnull__(pTHX_1);
4158 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
4159         assert(sv)
4160
4161 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
4162                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4163                         __attribute__nonnull__(pTHX_1)
4164                         __attribute__nonnull__(pTHX_2);
4165 #define PERL_ARGS_ASSERT_SV_CATPVF      \
4166         assert(sv); assert(pat)
4167
4168 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4169                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4170                         __attribute__nonnull__(pTHX_1)
4171                         __attribute__nonnull__(pTHX_2);
4172 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
4173         assert(sv); assert(pat)
4174
4175 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
4176                         __attribute__nonnull__(pTHX_1)
4177                         __attribute__nonnull__(pTHX_2); */
4178 #define PERL_ARGS_ASSERT_SV_CATPVN      \
4179         assert(dsv); assert(sstr)
4180
4181 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags)
4182                         __attribute__nonnull__(pTHX_1)
4183                         __attribute__nonnull__(pTHX_2);
4184 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
4185         assert(dstr); assert(sstr)
4186
4187 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
4188                         __attribute__nonnull__(pTHX_1)
4189                         __attribute__nonnull__(pTHX_2); */
4190 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
4191         assert(sv); assert(ptr)
4192
4193 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
4194                         __attribute__nonnull__(pTHX_1); */
4195 #define PERL_ARGS_ASSERT_SV_CATSV       \
4196         assert(dstr)
4197
4198 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
4199                         __attribute__nonnull__(pTHX_1);
4200 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
4201         assert(dsv)
4202
4203 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
4204                         __attribute__nonnull__(pTHX_1); */
4205 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
4206         assert(dsv)
4207
4208 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
4209                         __attribute__nonnull__(pTHX_1);
4210 #define PERL_ARGS_ASSERT_SV_CHOP        \
4211         assert(sv)
4212
4213 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
4214 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
4215 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv)
4216                         __attribute__nonnull__(pTHX_1);
4217 #define PERL_ARGS_ASSERT_SV_CLEAR       \
4218         assert(orig_sv)
4219
4220 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
4221 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
4222 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
4223 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
4224 /* PERL_CALLCONV void   Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
4225                         __attribute__nonnull__(pTHX_1)
4226                         __attribute__nonnull__(pTHX_2); */
4227 #define PERL_ARGS_ASSERT_SV_COPYPV      \
4228         assert(dsv); assert(ssv)
4229
4230 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
4231                         __attribute__nonnull__(pTHX_1)
4232                         __attribute__nonnull__(pTHX_2);
4233 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
4234         assert(dsv); assert(ssv)
4235
4236 /* PERL_CALLCONV void   Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv)
4237                         __attribute__nonnull__(pTHX_1)
4238                         __attribute__nonnull__(pTHX_2); */
4239
4240 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
4241 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
4242 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv)
4243                         __attribute__nonnull__(pTHX_1)
4244                         __attribute__nonnull__(pTHX_2);
4245 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
4246         assert(tsv); assert(sv)
4247
4248 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
4249                         __attribute__warn_unused_result__
4250                         __attribute__nonnull__(pTHX_1)
4251                         __attribute__nonnull__(pTHX_2);
4252 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
4253         assert(sv); assert(name)
4254
4255 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
4256                         __attribute__warn_unused_result__
4257                         __attribute__nonnull__(pTHX_1)
4258                         __attribute__nonnull__(pTHX_2);
4259 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
4260         assert(sv); assert(name)
4261
4262 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
4263                         __attribute__warn_unused_result__
4264                         __attribute__nonnull__(pTHX_1)
4265                         __attribute__nonnull__(pTHX_2);
4266 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
4267         assert(sv); assert(name)
4268
4269 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
4270                         __attribute__warn_unused_result__
4271                         __attribute__nonnull__(pTHX_1)
4272                         __attribute__nonnull__(pTHX_2);
4273 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
4274         assert(sv); assert(namesv)
4275
4276 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
4277 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
4278                         __attribute__warn_unused_result__
4279                         __attribute__nonnull__(pTHX_1)
4280                         __attribute__nonnull__(pTHX_2);
4281 #define PERL_ARGS_ASSERT_SV_DOES        \
4282         assert(sv); assert(name)
4283
4284 PERL_CALLCONV bool      Perl