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