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