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