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