Make Win32 treat IO-Compress as an XS extension, as was done elsewhere by
[p5sagit/p5-mst-13.2.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
123 END_EXTERN_C
124
125 /* functions with flag 'n' should come before here */
126 START_EXTERN_C
127 #  include "pp_proto.h"
128 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
129                         __attribute__nonnull__(pTHX_1)
130                         __attribute__nonnull__(pTHX_2);
131 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
132         assert(left); assert(right)
133
134 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
135                         __attribute__nonnull__(pTHX_1);
136 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
137         assert(stash)
138
139 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
140                         __attribute__warn_unused_result__;
141
142 PERL_CALLCONV OP*       Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last);
143 PERL_CALLCONV OP*       Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
144 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
145                         __attribute__nonnull__(pTHX_2)
146                         __attribute__nonnull__(pTHX_3);
147 #define PERL_ARGS_ASSERT_APPLY  \
148         assert(mark); assert(sp)
149
150 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
151                         __attribute__nonnull__(pTHX_1)
152                         __attribute__nonnull__(pTHX_2)
153                         __attribute__nonnull__(pTHX_3);
154 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
155         assert(stashpv); assert(cv); assert(attrstr)
156
157 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av)
158                         __attribute__nonnull__(pTHX_1);
159 #define PERL_ARGS_ASSERT_AV_CLEAR       \
160         assert(av)
161
162 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
163                         __attribute__nonnull__(pTHX_1);
164 #define PERL_ARGS_ASSERT_AV_DELETE      \
165         assert(av)
166
167 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, I32 key)
168                         __attribute__warn_unused_result__
169                         __attribute__nonnull__(pTHX_1);
170 #define PERL_ARGS_ASSERT_AV_EXISTS      \
171         assert(av)
172
173 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, I32 key)
174                         __attribute__nonnull__(pTHX_1);
175 #define PERL_ARGS_ASSERT_AV_EXTEND      \
176         assert(av)
177
178 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval)
179                         __attribute__warn_unused_result__
180                         __attribute__nonnull__(pTHX_1);
181 #define PERL_ARGS_ASSERT_AV_FETCH       \
182         assert(av)
183
184 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, I32 fill)
185                         __attribute__nonnull__(pTHX_1);
186 #define PERL_ARGS_ASSERT_AV_FILL        \
187         assert(av)
188
189 PERL_CALLCONV I32       Perl_av_len(pTHX_ AV *av)
190                         __attribute__warn_unused_result__
191                         __attribute__nonnull__(pTHX_1);
192 #define PERL_ARGS_ASSERT_AV_LEN \
193         assert(av)
194
195 PERL_CALLCONV AV*       Perl_av_make(pTHX_ I32 size, SV **strp)
196                         __attribute__warn_unused_result__
197                         __attribute__nonnull__(pTHX_2);
198 #define PERL_ARGS_ASSERT_AV_MAKE        \
199         assert(strp)
200
201 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av)
202                         __attribute__nonnull__(pTHX_1);
203 #define PERL_ARGS_ASSERT_AV_POP \
204         assert(av)
205
206 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
207                         __attribute__nonnull__(pTHX_1)
208                         __attribute__nonnull__(pTHX_2);
209 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
210         assert(avp); assert(val)
211
212 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val)
213                         __attribute__nonnull__(pTHX_1)
214                         __attribute__nonnull__(pTHX_2);
215 #define PERL_ARGS_ASSERT_AV_PUSH        \
216         assert(av); assert(val)
217
218 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av)
219                         __attribute__nonnull__(pTHX_1);
220 #define PERL_ARGS_ASSERT_AV_REIFY       \
221         assert(av)
222
223 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
224                         __attribute__warn_unused_result__
225                         __attribute__nonnull__(pTHX_1);
226 #define PERL_ARGS_ASSERT_AV_SHIFT       \
227         assert(av)
228
229 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, I32 key, SV *val)
230                         __attribute__nonnull__(pTHX_1);
231 #define PERL_ARGS_ASSERT_AV_STORE       \
232         assert(av)
233
234 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av)
235                         __attribute__nonnull__(pTHX_1);
236 #define PERL_ARGS_ASSERT_AV_UNDEF       \
237         assert(av)
238
239 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
240                         __attribute__nonnull__(pTHX_1)
241                         __attribute__nonnull__(pTHX_2);
242 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
243         assert(avp); assert(val)
244
245 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, I32 num)
246                         __attribute__nonnull__(pTHX_1);
247 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
248         assert(av)
249
250 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av)
251                         __attribute__nonnull__(pTHX_1);
252 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
253         assert(av)
254
255 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av)
256                         __attribute__nonnull__(pTHX_1);
257 #define PERL_ARGS_ASSERT_AV_ITER_P      \
258         assert(av)
259
260 #if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT)
261 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av)
262                         __attribute__nonnull__(pTHX_1);
263 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
264         assert(av)
265
266 #endif
267 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
268                         __attribute__warn_unused_result__
269                         __attribute__nonnull__(pTHX_2)
270                         __attribute__nonnull__(pTHX_3);
271 #define PERL_ARGS_ASSERT_BIND_MATCH     \
272         assert(left); assert(right)
273
274 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
275                         __attribute__warn_unused_result__;
276
277 PERL_CALLCONV I32       Perl_block_gimme(pTHX)
278                         __attribute__warn_unused_result__;
279
280 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
281                         __attribute__warn_unused_result__;
282
283 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
284 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
285 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
286                         __attribute__nonnull__(pTHX_2);
287 #define PERL_ARGS_ASSERT_CALL_LIST      \
288         assert(paramList)
289
290 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
291                         __attribute__warn_unused_result__
292                         __attribute__nonnull__(pTHX_3);
293 #define PERL_ARGS_ASSERT_CANDO  \
294         assert(statbufp)
295
296 PERL_CALLCONV U32       Perl_cast_ulong(pTHX_ NV f)
297                         __attribute__warn_unused_result__;
298
299 PERL_CALLCONV I32       Perl_cast_i32(pTHX_ NV f)
300                         __attribute__warn_unused_result__;
301
302 PERL_CALLCONV IV        Perl_cast_iv(pTHX_ NV f)
303                         __attribute__warn_unused_result__;
304
305 PERL_CALLCONV UV        Perl_cast_uv(pTHX_ NV f)
306                         __attribute__warn_unused_result__;
307
308 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
309 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
310                         __attribute__warn_unused_result__;
311
312 #endif
313 PERL_CALLCONV OP*       Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
314                         __attribute__warn_unused_result__;
315
316 PERL_CALLCONV PERL_CONTEXT*     Perl_create_eval_scope(pTHX_ U32 flags);
317 PERL_CALLCONV void      Perl_croak(pTHX_ const char* pat, ...)
318                         __attribute__noreturn__
319                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
320
321 PERL_CALLCONV void      Perl_vcroak(pTHX_ const char* pat, va_list* args)
322                         __attribute__noreturn__;
323
324 PERL_CALLCONV void      Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
325                         __attribute__noreturn__
326                         __attribute__nonnull__(pTHX_1)
327                         __attribute__nonnull__(pTHX_2);
328 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
329         assert(cv); assert(params)
330
331
332 #if defined(PERL_IMPLICIT_CONTEXT)
333 PERL_CALLCONV void      Perl_croak_nocontext(const char* pat, ...)
334                         __attribute__noreturn__
335                         __attribute__format__null_ok__(__printf__,1,2);
336
337 PERL_CALLCONV OP*       Perl_die_nocontext(const char* pat, ...)
338                         __attribute__format__null_ok__(__printf__,1,2);
339
340 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
341                         __attribute__format__(__printf__,1,2)
342                         __attribute__nonnull__(1);
343 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
344         assert(pat)
345
346 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
347                         __attribute__format__(__printf__,1,2)
348                         __attribute__nonnull__(1);
349 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
350         assert(pat)
351
352 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
353                         __attribute__nonnull__(2);
354 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
355         assert(name)
356
357 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
358                         __attribute__format__(__printf__,1,2)
359                         __attribute__nonnull__(1);
360 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
361         assert(pat)
362
363 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
364                         __attribute__format__(__printf__,1,2)
365                         __attribute__nonnull__(1);
366 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
367         assert(pat)
368
369 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
370                         __attribute__format__(__printf__,2,3)
371                         __attribute__nonnull__(2);
372 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
373         assert(pat)
374
375 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
376                         __attribute__format__(__printf__,1,2)
377                         __attribute__nonnull__(1);
378 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
379         assert(pat)
380
381 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
382                         __attribute__format__(__printf__,2,3)
383                         __attribute__nonnull__(1)
384                         __attribute__nonnull__(2);
385 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
386         assert(sv); assert(pat)
387
388 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
389                         __attribute__format__(__printf__,2,3)
390                         __attribute__nonnull__(1)
391                         __attribute__nonnull__(2);
392 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
393         assert(sv); assert(pat)
394
395 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
396                         __attribute__format__(__printf__,2,3)
397                         __attribute__nonnull__(1)
398                         __attribute__nonnull__(2);
399 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
400         assert(sv); assert(pat)
401
402 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
403                         __attribute__format__(__printf__,2,3)
404                         __attribute__nonnull__(1)
405                         __attribute__nonnull__(2);
406 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
407         assert(sv); assert(pat)
408
409 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
410                         __attribute__format__(__printf__,2,3)
411                         __attribute__nonnull__(1)
412                         __attribute__nonnull__(2);
413 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
414         assert(stream); assert(format)
415
416 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
417                         __attribute__format__(__printf__,1,2)
418                         __attribute__nonnull__(1);
419 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
420         assert(format)
421
422 #endif
423 PERL_CALLCONV void      Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len)
424                         __attribute__nonnull__(pTHX_1);
425 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \
426         assert(cv)
427
428 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto)
429                         __attribute__nonnull__(pTHX_1);
430 #define PERL_ARGS_ASSERT_CV_CLONE       \
431         assert(proto)
432
433 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
434                         __attribute__warn_unused_result__
435                         __attribute__nonnull__(pTHX_1);
436 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
437         assert(gv)
438
439 PERL_CALLCONV SV*       Perl_cv_const_sv(pTHX_ const CV *const cv)
440                         __attribute__warn_unused_result__;
441
442 PERL_CALLCONV SV*       Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
443                         __attribute__warn_unused_result__;
444
445 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv)
446                         __attribute__nonnull__(pTHX_1);
447 #define PERL_ARGS_ASSERT_CV_UNDEF       \
448         assert(cv)
449
450 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
451                         __attribute__nonnull__(pTHX_1);
452 #define PERL_ARGS_ASSERT_CX_DUMP        \
453         assert(cx)
454
455 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
456 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp)
457                         __attribute__nonnull__(pTHX_1);
458 #define PERL_ARGS_ASSERT_FILTER_DEL     \
459         assert(funcp)
460
461 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
462                         __attribute__warn_unused_result__
463                         __attribute__nonnull__(pTHX_2);
464 #define PERL_ARGS_ASSERT_FILTER_READ    \
465         assert(buf_sv)
466
467 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
468                         __attribute__warn_unused_result__
469                         __attribute__pure__;
470
471 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
472                         __attribute__warn_unused_result__
473                         __attribute__pure__;
474
475 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
476                         __attribute__warn_unused_result__
477                         __attribute__pure__;
478
479 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
480                         __attribute__warn_unused_result__
481                         __attribute__pure__;
482
483 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
484                         __attribute__warn_unused_result__
485                         __attribute__pure__;
486
487 PERL_CALLCONV I32       Perl_cxinc(pTHX)
488                         __attribute__warn_unused_result__;
489
490 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
491                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
492                         __attribute__nonnull__(pTHX_1);
493 #define PERL_ARGS_ASSERT_DEB    \
494         assert(pat)
495
496 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args)
497                         __attribute__nonnull__(pTHX_1);
498 #define PERL_ARGS_ASSERT_VDEB   \
499         assert(pat)
500
501 PERL_CALLCONV void      Perl_debprofdump(pTHX);
502 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o)
503                         __attribute__nonnull__(pTHX_1);
504 #define PERL_ARGS_ASSERT_DEBOP  \
505         assert(o)
506
507 PERL_CALLCONV I32       Perl_debstack(pTHX);
508 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
509 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
510                         __attribute__nonnull__(1)
511                         __attribute__nonnull__(2)
512                         __attribute__nonnull__(3)
513                         __attribute__nonnull__(4)
514                         __attribute__nonnull__(6);
515 #define PERL_ARGS_ASSERT_DELIMCPY       \
516         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
517
518 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
519 PERL_CALLCONV void      Perl_deprecate(pTHX_ const char *const s)
520                         __attribute__nonnull__(pTHX_1);
521 #define PERL_ARGS_ASSERT_DEPRECATE      \
522         assert(s)
523
524 PERL_CALLCONV void      Perl_deprecate_old(pTHX_ const char *const s)
525                         __attribute__nonnull__(pTHX_1);
526 #define PERL_ARGS_ASSERT_DEPRECATE_OLD  \
527         assert(s)
528
529 PERL_CALLCONV OP*       Perl_die(pTHX_ const char* pat, ...)
530                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
531
532 #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
533 STATIC OP*      S_vdie(pTHX_ const char* pat, va_list* args);
534 #endif
535 PERL_CALLCONV OP*       Perl_die_where(pTHX_ const char* message, STRLEN msglen);
536 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
537 /* PERL_CALLCONV bool   Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
538                         __attribute__nonnull__(pTHX_2)
539                         __attribute__nonnull__(pTHX_3); */
540 #define PERL_ARGS_ASSERT_DO_AEXEC       \
541         assert(mark); assert(sp)
542
543 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
544                         __attribute__nonnull__(pTHX_2)
545                         __attribute__nonnull__(pTHX_3);
546 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
547         assert(mark); assert(sp)
548
549 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
550                         __attribute__nonnull__(pTHX_1);
551 #define PERL_ARGS_ASSERT_DO_BINMODE     \
552         assert(fp)
553
554 PERL_CALLCONV void      Perl_do_chop(pTHX_ SV *astr, SV *sv)
555                         __attribute__nonnull__(pTHX_1)
556                         __attribute__nonnull__(pTHX_2);
557 #define PERL_ARGS_ASSERT_DO_CHOP        \
558         assert(astr); assert(sv)
559
560 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
561 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv)
562                         __attribute__nonnull__(pTHX_1);
563 #define PERL_ARGS_ASSERT_DO_EOF \
564         assert(gv)
565
566
567 #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
568 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd)
569                         __attribute__nonnull__(pTHX_1); */
570 #define PERL_ARGS_ASSERT_DO_EXEC        \
571         assert(cmd)
572
573 #else
574 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
575                         __attribute__nonnull__(pTHX_1);
576 #define PERL_ARGS_ASSERT_DO_EXEC        \
577         assert(cmd)
578
579 #endif
580
581 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
582 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
583                         __attribute__nonnull__(pTHX_2)
584                         __attribute__nonnull__(pTHX_3);
585 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
586         assert(mark); assert(sp)
587
588 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd)
589                         __attribute__nonnull__(pTHX_1);
590 #define PERL_ARGS_ASSERT_DO_SPAWN       \
591         assert(cmd)
592
593 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd)
594                         __attribute__nonnull__(pTHX_1);
595 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
596         assert(cmd)
597
598 #endif
599 #if !defined(WIN32)
600 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
601                         __attribute__nonnull__(pTHX_1);
602 #define PERL_ARGS_ASSERT_DO_EXEC3       \
603         assert(incmd)
604
605 #endif
606 PERL_CALLCONV void      Perl_do_execfree(pTHX);
607 #if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
608 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
609                         __attribute__nonnull__(pTHX_1);
610 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
611         assert(cmd)
612
613 #endif
614 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
615 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
616                         __attribute__nonnull__(pTHX_2)
617                         __attribute__nonnull__(pTHX_3);
618 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
619         assert(mark); assert(sp)
620
621 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
622                         __attribute__nonnull__(pTHX_2)
623                         __attribute__nonnull__(pTHX_3);
624 #define PERL_ARGS_ASSERT_DO_IPCGET      \
625         assert(mark); assert(sp)
626
627 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
628                         __attribute__nonnull__(pTHX_1)
629                         __attribute__nonnull__(pTHX_2);
630 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
631         assert(mark); assert(sp)
632
633 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
634                         __attribute__nonnull__(pTHX_1)
635                         __attribute__nonnull__(pTHX_2);
636 #define PERL_ARGS_ASSERT_DO_MSGSND      \
637         assert(mark); assert(sp)
638
639 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
640                         __attribute__nonnull__(pTHX_1)
641                         __attribute__nonnull__(pTHX_2);
642 #define PERL_ARGS_ASSERT_DO_SEMOP       \
643         assert(mark); assert(sp)
644
645 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
646                         __attribute__nonnull__(pTHX_2)
647                         __attribute__nonnull__(pTHX_3);
648 #define PERL_ARGS_ASSERT_DO_SHMIO       \
649         assert(mark); assert(sp)
650
651 #endif
652 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
653                         __attribute__nonnull__(pTHX_1)
654                         __attribute__nonnull__(pTHX_2)
655                         __attribute__nonnull__(pTHX_3)
656                         __attribute__nonnull__(pTHX_4);
657 #define PERL_ARGS_ASSERT_DO_JOIN        \
658         assert(sv); assert(delim); assert(mark); assert(sp)
659
660 PERL_CALLCONV OP*       Perl_do_kv(pTHX);
661 /* PERL_CALLCONV bool   Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
662                         __attribute__nonnull__(pTHX_1)
663                         __attribute__nonnull__(pTHX_2); */
664 #define PERL_ARGS_ASSERT_DO_OPEN        \
665         assert(gv); assert(name)
666
667 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)
668                         __attribute__nonnull__(pTHX_1)
669                         __attribute__nonnull__(pTHX_2)
670                         __attribute__nonnull__(pTHX_8);
671 #define PERL_ARGS_ASSERT_DO_OPEN9       \
672         assert(gv); assert(name); assert(svs)
673
674 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)
675                         __attribute__nonnull__(pTHX_1)
676                         __attribute__nonnull__(pTHX_2);
677 #define PERL_ARGS_ASSERT_DO_OPENN       \
678         assert(gv); assert(oname)
679
680 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
681                         __attribute__nonnull__(pTHX_2);
682 #define PERL_ARGS_ASSERT_DO_PRINT       \
683         assert(fp)
684
685 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
686                         __attribute__warn_unused_result__;
687
688 PERL_CALLCONV I32       Perl_do_chomp(pTHX_ SV* sv)
689                         __attribute__nonnull__(pTHX_1);
690 #define PERL_ARGS_ASSERT_DO_CHOMP       \
691         assert(sv)
692
693 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
694 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
695                         __attribute__nonnull__(pTHX_1)
696                         __attribute__nonnull__(pTHX_3);
697 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
698         assert(sv); assert(sarg)
699
700 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
701                         __attribute__nonnull__(pTHX_1);
702 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
703         assert(gv)
704
705 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
706                         __attribute__warn_unused_result__
707                         __attribute__nonnull__(pTHX_1);
708 #define PERL_ARGS_ASSERT_DO_TELL        \
709         assert(gv)
710
711 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv)
712                         __attribute__nonnull__(pTHX_1);
713 #define PERL_ARGS_ASSERT_DO_TRANS       \
714         assert(sv)
715
716 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size)
717                         __attribute__nonnull__(pTHX_1);
718 #define PERL_ARGS_ASSERT_DO_VECGET      \
719         assert(sv)
720
721 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv)
722                         __attribute__nonnull__(pTHX_1);
723 #define PERL_ARGS_ASSERT_DO_VECSET      \
724         assert(sv)
725
726 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
727                         __attribute__nonnull__(pTHX_2)
728                         __attribute__nonnull__(pTHX_3)
729                         __attribute__nonnull__(pTHX_4);
730 #define PERL_ARGS_ASSERT_DO_VOP \
731         assert(sv); assert(left); assert(right)
732
733 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin)
734                         __attribute__nonnull__(pTHX_1);
735 #define PERL_ARGS_ASSERT_DOFILE \
736         assert(term)
737
738 PERL_CALLCONV I32       Perl_dowantarray(pTHX)
739                         __attribute__warn_unused_result__;
740
741 PERL_CALLCONV void      Perl_dump_all(pTHX);
742 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
743 PERL_CALLCONV void      Perl_dump_eval(pTHX);
744 #if defined(DUMP_FDS)
745 PERL_CALLCONV void      Perl_dump_fds(pTHX_ char* s)
746                         __attribute__nonnull__(pTHX_1);
747 #define PERL_ARGS_ASSERT_DUMP_FDS       \
748         assert(s)
749
750 #endif
751 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv)
752                         __attribute__nonnull__(pTHX_1);
753 #define PERL_ARGS_ASSERT_DUMP_FORM      \
754         assert(gv)
755
756 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv)
757                         __attribute__nonnull__(pTHX_1);
758 #define PERL_ARGS_ASSERT_GV_DUMP        \
759         assert(gv)
760
761 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o)
762                         __attribute__nonnull__(pTHX_1);
763 #define PERL_ARGS_ASSERT_OP_DUMP        \
764         assert(o)
765
766 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
767 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash)
768                         __attribute__nonnull__(pTHX_1);
769 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
770         assert(stash)
771
772 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
773                         __attribute__nonnull__(pTHX_1);
774 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
775         assert(stash)
776
777 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv)
778                         __attribute__nonnull__(pTHX_1);
779 #define PERL_ARGS_ASSERT_DUMP_SUB       \
780         assert(gv)
781
782 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
783                         __attribute__nonnull__(pTHX_1);
784 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
785         assert(gv)
786
787 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
788                         __attribute__nonnull__(pTHX_1);
789 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
790         assert(sv)
791
792 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
793                         __attribute__warn_unused_result__
794                         __attribute__nonnull__(pTHX_1)
795                         __attribute__nonnull__(pTHX_2)
796                         __attribute__nonnull__(pTHX_3);
797 #define PERL_ARGS_ASSERT_FBM_INSTR      \
798         assert(big); assert(bigend); assert(littlestr)
799
800 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
801                         __attribute__nonnull__(pTHX_1);
802 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
803         assert(scriptname)
804
805 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
806 STATIC OP*      S_force_list(pTHX_ OP* arg);
807 STATIC OP*      S_fold_constants(pTHX_ OP *o)
808                         __attribute__nonnull__(pTHX_1);
809 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
810         assert(o)
811
812 #endif
813 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
814                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
815                         __attribute__nonnull__(pTHX_1);
816 #define PERL_ARGS_ASSERT_FORM   \
817         assert(pat)
818
819 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args)
820                         __attribute__nonnull__(pTHX_1);
821 #define PERL_ARGS_ASSERT_VFORM  \
822         assert(pat)
823
824 PERL_CALLCONV void      Perl_free_tmps(pTHX);
825 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
826 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
827 #endif
828 #if !defined(HAS_GETENV_LEN)
829 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
830                         __attribute__nonnull__(pTHX_1)
831                         __attribute__nonnull__(pTHX_2);
832 #define PERL_ARGS_ASSERT_GETENV_LEN     \
833         assert(env_elem); assert(len)
834
835 #endif
836 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
837                         __attribute__nonnull__(pTHX_2);
838 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
839         assert(cv)
840
841 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
842 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
843 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
844 /* PERL_CALLCONV GV*    Perl_gv_AVadd(pTHX_ GV *gv); */
845 /* PERL_CALLCONV GV*    Perl_gv_HVadd(pTHX_ GV *gv); */
846 /* PERL_CALLCONV GV*    Perl_gv_IOadd(pTHX_ GV* gv); */
847 PERL_CALLCONV GV*       Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
848                         __attribute__warn_unused_result__
849                         __attribute__nonnull__(pTHX_2);
850 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4   \
851         assert(name)
852
853 PERL_CALLCONV void      Perl_gv_check(pTHX_ const HV* stash)
854                         __attribute__nonnull__(pTHX_1);
855 #define PERL_ARGS_ASSERT_GV_CHECK       \
856         assert(stash)
857
858 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
859                         __attribute__nonnull__(pTHX_1)
860                         __attribute__nonnull__(pTHX_2);
861 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
862         assert(sv); assert(gv)
863
864 /* PERL_CALLCONV void   Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
865                         __attribute__nonnull__(pTHX_1)
866                         __attribute__nonnull__(pTHX_2); */
867 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
868         assert(sv); assert(gv)
869
870 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
871                         __attribute__nonnull__(pTHX_1)
872                         __attribute__nonnull__(pTHX_2);
873 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
874         assert(sv); assert(gv)
875
876 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name)
877                         __attribute__nonnull__(pTHX_1);
878 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
879         assert(name)
880
881 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
882                         __attribute__nonnull__(pTHX_1);
883 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
884         assert(name)
885
886 PERL_CALLCONV GV*       Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
887                         __attribute__nonnull__(pTHX_2);
888 #define PERL_ARGS_ASSERT_GV_FETCHMETH   \
889         assert(name)
890
891 PERL_CALLCONV GV*       Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
892                         __attribute__nonnull__(pTHX_2);
893 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD  \
894         assert(name)
895
896 /* PERL_CALLCONV GV*    Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
897                         __attribute__nonnull__(pTHX_1)
898                         __attribute__nonnull__(pTHX_2); */
899 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
900         assert(stash); assert(name)
901
902 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
903                         __attribute__nonnull__(pTHX_1)
904                         __attribute__nonnull__(pTHX_2);
905 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
906         assert(stash); assert(name)
907
908 PERL_CALLCONV GV*       Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
909                         __attribute__nonnull__(pTHX_1)
910                         __attribute__nonnull__(pTHX_2);
911 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS   \
912         assert(stash); assert(name)
913
914 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
915                         __attribute__nonnull__(pTHX_1);
916 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
917         assert(nambeg)
918
919 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
920                         __attribute__nonnull__(pTHX_1)
921                         __attribute__nonnull__(pTHX_2);
922 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
923         assert(sv); assert(gv)
924
925 /* PERL_CALLCONV void   Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
926                         __attribute__nonnull__(pTHX_1)
927                         __attribute__nonnull__(pTHX_2); */
928 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
929         assert(sv); assert(gv)
930
931 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
932                         __attribute__nonnull__(pTHX_1)
933                         __attribute__nonnull__(pTHX_2);
934 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
935         assert(sv); assert(gv)
936
937 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv)
938                         __attribute__nonnull__(pTHX_1);
939 #define PERL_ARGS_ASSERT_NEWGP  \
940         assert(gv)
941
942 PERL_CALLCONV void      Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
943                         __attribute__nonnull__(pTHX_1)
944                         __attribute__nonnull__(pTHX_3);
945 #define PERL_ARGS_ASSERT_GV_INIT        \
946         assert(gv); assert(name)
947
948 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
949                         __attribute__nonnull__(pTHX_1)
950                         __attribute__nonnull__(pTHX_2);
951 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
952         assert(gv); assert(name)
953
954 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
955                         __attribute__nonnull__(pTHX_1);
956 #define PERL_ARGS_ASSERT_GV_STASHPV     \
957         assert(name)
958
959 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
960                         __attribute__nonnull__(pTHX_1);
961 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
962         assert(name)
963
964 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
965                         __attribute__nonnull__(pTHX_1);
966 #define PERL_ARGS_ASSERT_GV_STASHSV     \
967         assert(sv)
968
969 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
970 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv);
971 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
972                         __attribute__nonnull__(pTHX_1);
973 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
974         assert(hv)
975
976 /* PERL_CALLCONV SV*    Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
977                         __attribute__nonnull__(pTHX_2); */
978 #define PERL_ARGS_ASSERT_HV_DELETE      \
979         assert(key)
980
981 /* PERL_CALLCONV SV*    Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
982                         __attribute__nonnull__(pTHX_2); */
983 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
984         assert(keysv)
985
986 /* PERL_CALLCONV bool   Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
987                         __attribute__warn_unused_result__
988                         __attribute__nonnull__(pTHX_2); */
989 #define PERL_ARGS_ASSERT_HV_EXISTS      \
990         assert(key)
991
992 /* PERL_CALLCONV bool   Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
993                         __attribute__warn_unused_result__
994                         __attribute__nonnull__(pTHX_2); */
995 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
996         assert(keysv)
997
998 /* PERL_CALLCONV SV**   Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
999                         __attribute__nonnull__(pTHX_2); */
1000 #define PERL_ARGS_ASSERT_HV_FETCH       \
1001         assert(key)
1002
1003 /* PERL_CALLCONV HE*    Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
1004                         __attribute__nonnull__(pTHX_2); */
1005 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1006         assert(keysv)
1007
1008 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1009 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)
1010                         __attribute__nonnull__(pTHX_2);
1011 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1012         assert(key)
1013
1014 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
1015                         __attribute__nonnull__(pTHX_1);
1016 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1017         assert(hv)
1018
1019 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv)
1020                         __attribute__nonnull__(pTHX_1);
1021 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1022         assert(hv)
1023
1024 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1025                         __attribute__warn_unused_result__
1026                         __attribute__nonnull__(pTHX_1)
1027                         __attribute__nonnull__(pTHX_2);
1028 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1029         assert(entry); assert(retlen)
1030
1031 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1032                         __attribute__warn_unused_result__
1033                         __attribute__nonnull__(pTHX_1);
1034 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1035         assert(entry)
1036
1037 /* PERL_CALLCONV HE*    Perl_hv_iternext(pTHX_ HV *hv)
1038                         __attribute__warn_unused_result__
1039                         __attribute__nonnull__(pTHX_1); */
1040 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1041         assert(hv)
1042
1043 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1044                         __attribute__warn_unused_result__
1045                         __attribute__nonnull__(pTHX_1)
1046                         __attribute__nonnull__(pTHX_2)
1047                         __attribute__nonnull__(pTHX_3);
1048 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1049         assert(hv); assert(key); assert(retlen)
1050
1051 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1052                         __attribute__warn_unused_result__
1053                         __attribute__nonnull__(pTHX_1);
1054 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1055         assert(hv)
1056
1057 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1058                         __attribute__warn_unused_result__
1059                         __attribute__nonnull__(pTHX_1)
1060                         __attribute__nonnull__(pTHX_2);
1061 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1062         assert(hv); assert(entry)
1063
1064 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
1065                         __attribute__nonnull__(pTHX_1);
1066 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1067         assert(hv)
1068
1069 /* PERL_CALLCONV void   Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
1070                         __attribute__nonnull__(pTHX_1); */
1071 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1072         assert(hv)
1073
1074 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
1075 PERL_CALLCONV SV *      Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
1076 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
1077 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
1078 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
1079 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)
1080                         __attribute__nonnull__(pTHX_2)
1081                         __attribute__nonnull__(pTHX_6);
1082 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON       \
1083         assert(key_p); assert(value)
1084
1085 #endif
1086 /* PERL_CALLCONV SV**   Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1087 /* PERL_CALLCONV HE*    Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1088 /* PERL_CALLCONV SV**   Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1089 PERL_CALLCONV void      Perl_hv_undef(pTHX_ HV *hv);
1090 PERL_CALLCONV I32       Perl_ibcmp(const char* a, const char* b, I32 len)
1091                         __attribute__pure__
1092                         __attribute__nonnull__(1)
1093                         __attribute__nonnull__(2);
1094 #define PERL_ARGS_ASSERT_IBCMP  \
1095         assert(a); assert(b)
1096
1097 PERL_CALLCONV I32       Perl_ibcmp_locale(const char* a, const char* b, I32 len)
1098                         __attribute__pure__
1099                         __attribute__nonnull__(1)
1100                         __attribute__nonnull__(2);
1101 #define PERL_ARGS_ASSERT_IBCMP_LOCALE   \
1102         assert(a); assert(b)
1103
1104 PERL_CALLCONV I32       Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1105                         __attribute__nonnull__(pTHX_1)
1106                         __attribute__nonnull__(pTHX_5);
1107 #define PERL_ARGS_ASSERT_IBCMP_UTF8     \
1108         assert(s1); assert(s2)
1109
1110 #if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
1111 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
1112                         __attribute__warn_unused_result__;
1113
1114 #endif
1115 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1116                         __attribute__nonnull__(pTHX_2);
1117 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1118         assert(argv)
1119
1120 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1121 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1122 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm)
1123                         __attribute__nonnull__(pTHX_1);
1124 #define PERL_ARGS_ASSERT_INIT_TM        \
1125         assert(ptm)
1126
1127 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1128 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1129                         __attribute__warn_unused_result__
1130                         __attribute__pure__
1131                         __attribute__nonnull__(1)
1132                         __attribute__nonnull__(2);
1133 #define PERL_ARGS_ASSERT_INSTR  \
1134         assert(big); assert(little)
1135
1136 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, bool not_implicit)
1137                         __attribute__nonnull__(pTHX_1);
1138 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1139         assert(io)
1140
1141 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1142                         __attribute__warn_unused_result__;
1143
1144 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1145                         __attribute__warn_unused_result__;
1146
1147 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
1148                         __attribute__warn_unused_result__
1149                         __attribute__pure__;
1150
1151 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
1152                         __attribute__warn_unused_result__
1153                         __attribute__pure__;
1154
1155 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
1156                         __attribute__warn_unused_result__
1157                         __attribute__pure__;
1158
1159 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1160                         __attribute__warn_unused_result__
1161                         __attribute__pure__;
1162
1163 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1164                         __attribute__warn_unused_result__
1165                         __attribute__pure__;
1166
1167 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1168                         __attribute__warn_unused_result__
1169                         __attribute__pure__;
1170
1171 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1172                         __attribute__warn_unused_result__
1173                         __attribute__pure__;
1174
1175 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1176                         __attribute__warn_unused_result__
1177                         __attribute__pure__;
1178
1179 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1180                         __attribute__warn_unused_result__
1181                         __attribute__pure__;
1182
1183 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1184                         __attribute__warn_unused_result__
1185                         __attribute__pure__;
1186
1187 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1188                         __attribute__warn_unused_result__
1189                         __attribute__pure__;
1190
1191 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1192                         __attribute__warn_unused_result__
1193                         __attribute__pure__;
1194
1195 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1196                         __attribute__warn_unused_result__
1197                         __attribute__pure__;
1198
1199 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1200                         __attribute__warn_unused_result__
1201                         __attribute__pure__;
1202
1203 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1204                         __attribute__warn_unused_result__
1205                         __attribute__pure__;
1206
1207 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1208                         __attribute__warn_unused_result__
1209                         __attribute__pure__;
1210
1211 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
1212                         __attribute__nonnull__(pTHX_2)
1213                         __attribute__nonnull__(pTHX_3);
1214 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
1215         assert(p); assert(lenp)
1216
1217 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
1218                         __attribute__nonnull__(pTHX_2)
1219                         __attribute__nonnull__(pTHX_3);
1220 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
1221         assert(p); assert(lenp)
1222
1223 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
1224                         __attribute__nonnull__(pTHX_2)
1225                         __attribute__nonnull__(pTHX_3);
1226 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
1227         assert(p); assert(lenp)
1228
1229 PERL_CALLCONV UV        Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
1230                         __attribute__nonnull__(pTHX_2)
1231                         __attribute__nonnull__(pTHX_3);
1232 #define PERL_ARGS_ASSERT_TO_UNI_FOLD    \
1233         assert(p); assert(lenp)
1234
1235 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1236                         __attribute__warn_unused_result__
1237                         __attribute__pure__;
1238
1239 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1240                         __attribute__warn_unused_result__
1241                         __attribute__pure__;
1242
1243 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1244                         __attribute__warn_unused_result__
1245                         __attribute__pure__;
1246
1247 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1248                         __attribute__warn_unused_result__
1249                         __attribute__pure__;
1250
1251 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1252                         __attribute__warn_unused_result__
1253                         __attribute__pure__;
1254
1255 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1256                         __attribute__warn_unused_result__
1257                         __attribute__pure__;
1258
1259 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1260                         __attribute__warn_unused_result__
1261                         __attribute__pure__;
1262
1263 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1264                         __attribute__warn_unused_result__
1265                         __attribute__pure__;
1266
1267 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1268                         __attribute__warn_unused_result__
1269                         __attribute__pure__;
1270
1271 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1272                         __attribute__warn_unused_result__
1273                         __attribute__pure__;
1274
1275 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1276                         __attribute__warn_unused_result__
1277                         __attribute__pure__;
1278
1279 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1280                         __attribute__warn_unused_result__
1281                         __attribute__pure__;
1282
1283 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1284                         __attribute__warn_unused_result__
1285                         __attribute__pure__;
1286
1287 PERL_CALLCONV bool      Perl_is_ascii_string(const U8 *s, STRLEN len)
1288                         __attribute__nonnull__(1);
1289 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1290         assert(s)
1291
1292 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1293                         __attribute__nonnull__(1);
1294 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1295         assert(s)
1296
1297 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
1298                         __attribute__nonnull__(1);
1299 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1300         assert(s)
1301
1302 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1303                         __attribute__nonnull__(1); */
1304 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1305         assert(s)
1306
1307 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1308                         __attribute__nonnull__(1);
1309 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1310         assert(s)
1311
1312 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1313                         __attribute__warn_unused_result__
1314                         __attribute__nonnull__(pTHX_1);
1315 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1316         assert(p)
1317
1318 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1319                         __attribute__warn_unused_result__
1320                         __attribute__nonnull__(pTHX_1);
1321 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1322         assert(p)
1323
1324 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1325                         __attribute__warn_unused_result__
1326                         __attribute__nonnull__(pTHX_1);
1327 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1328         assert(p)
1329
1330 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1331                         __attribute__warn_unused_result__
1332                         __attribute__nonnull__(pTHX_1);
1333 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1334         assert(p)
1335
1336 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1337                         __attribute__warn_unused_result__
1338                         __attribute__nonnull__(pTHX_1);
1339 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1340         assert(p)
1341
1342 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1343                         __attribute__warn_unused_result__
1344                         __attribute__nonnull__(pTHX_1);
1345 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1346         assert(p)
1347
1348 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1349                         __attribute__warn_unused_result__
1350                         __attribute__nonnull__(pTHX_1);
1351 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1352         assert(p)
1353
1354 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1355                         __attribute__warn_unused_result__
1356                         __attribute__nonnull__(pTHX_1);
1357 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1358         assert(p)
1359
1360 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1361                         __attribute__warn_unused_result__
1362                         __attribute__nonnull__(pTHX_1);
1363 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1364         assert(p)
1365
1366 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1367                         __attribute__warn_unused_result__
1368                         __attribute__nonnull__(pTHX_1);
1369 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1370         assert(p)
1371
1372 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1373                         __attribute__warn_unused_result__
1374                         __attribute__nonnull__(pTHX_1);
1375 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1376         assert(p)
1377
1378 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1379                         __attribute__warn_unused_result__
1380                         __attribute__nonnull__(pTHX_1);
1381 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1382         assert(p)
1383
1384 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1385                         __attribute__warn_unused_result__
1386                         __attribute__nonnull__(pTHX_1);
1387 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1388         assert(p)
1389
1390 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1391                         __attribute__warn_unused_result__
1392                         __attribute__nonnull__(pTHX_1);
1393 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1394         assert(p)
1395
1396 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1397                         __attribute__warn_unused_result__
1398                         __attribute__nonnull__(pTHX_1);
1399 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1400         assert(p)
1401
1402 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
1403                         __attribute__nonnull__(pTHX_1);
1404 #define PERL_ARGS_ASSERT_JMAYBE \
1405         assert(o)
1406
1407 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1408                         __attribute__pure__
1409                         __attribute__nonnull__(pTHX_1);
1410 #define PERL_ARGS_ASSERT_KEYWORD        \
1411         assert(name)
1412
1413 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1414 PERL_CALLCONV void      Perl_lex_end(pTHX);
1415 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
1416 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
1417                         __attribute__nonnull__(pTHX_1);
1418 #define PERL_ARGS_ASSERT_OP_NULL        \
1419         assert(o)
1420
1421 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
1422                         __attribute__nonnull__(pTHX_1);
1423 #define PERL_ARGS_ASSERT_OP_CLEAR       \
1424         assert(o)
1425
1426 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
1427 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
1428 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
1429 STATIC OP*      S_linklist(pTHX_ OP *o)
1430                         __attribute__nonnull__(pTHX_1);
1431 #define PERL_ARGS_ASSERT_LINKLIST       \
1432         assert(o)
1433
1434 STATIC OP*      S_listkids(pTHX_ OP* o);
1435 #endif
1436 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1437 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1438                         __attribute__nonnull__(pTHX_2);
1439 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1440         assert(name)
1441
1442 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1443                         __attribute__nonnull__(pTHX_2);
1444 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
1445         assert(name)
1446
1447 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
1448                         __attribute__nonnull__(pTHX_1);
1449 #define PERL_ARGS_ASSERT_LOCALIZE       \
1450         assert(o)
1451
1452 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1453                         __attribute__warn_unused_result__
1454                         __attribute__nonnull__(pTHX_1);
1455 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1456         assert(sv)
1457
1458 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1459                         __attribute__nonnull__(pTHX_1)
1460                         __attribute__nonnull__(pTHX_2)
1461                         __attribute__nonnull__(pTHX_3);
1462 #define PERL_ARGS_ASSERT_GROK_BIN       \
1463         assert(start); assert(len_p); assert(flags)
1464
1465 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1466                         __attribute__nonnull__(pTHX_1)
1467                         __attribute__nonnull__(pTHX_2)
1468                         __attribute__nonnull__(pTHX_3);
1469 #define PERL_ARGS_ASSERT_GROK_HEX       \
1470         assert(start); assert(len_p); assert(flags)
1471
1472 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1473                         __attribute__nonnull__(pTHX_1);
1474 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1475         assert(pv)
1476
1477 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1478                         __attribute__warn_unused_result__
1479                         __attribute__nonnull__(pTHX_1)
1480                         __attribute__nonnull__(pTHX_2);
1481 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1482         assert(sp); assert(send)
1483
1484 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1485                         __attribute__nonnull__(pTHX_1)
1486                         __attribute__nonnull__(pTHX_2)
1487                         __attribute__nonnull__(pTHX_3);
1488 #define PERL_ARGS_ASSERT_GROK_OCT       \
1489         assert(start); assert(len_p); assert(flags)
1490
1491 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1492                         __attribute__nonnull__(pTHX_1)
1493                         __attribute__nonnull__(pTHX_2);
1494 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1495         assert(sv); assert(mg)
1496
1497 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1498                         __attribute__nonnull__(pTHX_1)
1499                         __attribute__nonnull__(pTHX_2);
1500 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1501         assert(sv); assert(mg)
1502
1503 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1504                         __attribute__nonnull__(pTHX_1)
1505                         __attribute__nonnull__(pTHX_2);
1506 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1507         assert(sv); assert(mg)
1508
1509 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1510                         __attribute__nonnull__(pTHX_1)
1511                         __attribute__nonnull__(pTHX_2);
1512 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1513         assert(sv); assert(mg)
1514
1515 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
1516                         __attribute__nonnull__(pTHX_2);
1517 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1518         assert(mg)
1519
1520 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1521                         __attribute__nonnull__(pTHX_1)
1522                         __attribute__nonnull__(pTHX_2);
1523 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1524         assert(sv); assert(mg)
1525
1526 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1527                         __attribute__nonnull__(pTHX_1)
1528                         __attribute__nonnull__(pTHX_2);
1529 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1530         assert(sv); assert(mg)
1531
1532 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
1533                         __attribute__nonnull__(pTHX_1)
1534                         __attribute__nonnull__(pTHX_2);
1535 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1536         assert(sv); assert(mg)
1537
1538 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1539                         __attribute__nonnull__(pTHX_1)
1540                         __attribute__nonnull__(pTHX_2);
1541 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1542         assert(sv); assert(mg)
1543
1544 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1545                         __attribute__nonnull__(pTHX_1)
1546                         __attribute__nonnull__(pTHX_2);
1547 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1548         assert(sv); assert(mg)
1549
1550 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1551                         __attribute__nonnull__(pTHX_1)
1552                         __attribute__nonnull__(pTHX_2);
1553 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1554         assert(sv); assert(mg)
1555
1556 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1557                         __attribute__nonnull__(pTHX_1)
1558                         __attribute__nonnull__(pTHX_2);
1559 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1560         assert(sv); assert(mg)
1561
1562 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1563                         __attribute__nonnull__(pTHX_1)
1564                         __attribute__nonnull__(pTHX_2);
1565 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1566         assert(sv); assert(mg)
1567
1568 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1569                         __attribute__nonnull__(pTHX_1)
1570                         __attribute__nonnull__(pTHX_2);
1571 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1572         assert(sv); assert(mg)
1573
1574 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1575                         __attribute__nonnull__(pTHX_1)
1576                         __attribute__nonnull__(pTHX_2);
1577 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1578         assert(sv); assert(mg)
1579
1580 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1581                         __attribute__nonnull__(pTHX_1)
1582                         __attribute__nonnull__(pTHX_2);
1583 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1584         assert(sv); assert(mg)
1585
1586 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1587                         __attribute__nonnull__(pTHX_1)
1588                         __attribute__nonnull__(pTHX_2);
1589 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1590         assert(sv); assert(mg)
1591
1592 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1593                         __attribute__nonnull__(pTHX_1)
1594                         __attribute__nonnull__(pTHX_2);
1595 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1596         assert(sv); assert(mg)
1597
1598 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1599                         __attribute__nonnull__(pTHX_1)
1600                         __attribute__nonnull__(pTHX_2);
1601 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1602         assert(sv); assert(mg)
1603
1604 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1605                         __attribute__nonnull__(pTHX_1)
1606                         __attribute__nonnull__(pTHX_2);
1607 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1608         assert(sv); assert(mg)
1609
1610 PERL_CALLCONV U32       Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1611                         __attribute__nonnull__(pTHX_1)
1612                         __attribute__nonnull__(pTHX_2);
1613 #define PERL_ARGS_ASSERT_MAGIC_LEN      \
1614         assert(sv); assert(mg)
1615
1616 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
1617                         __attribute__nonnull__(pTHX_1)
1618                         __attribute__nonnull__(pTHX_2)
1619                         __attribute__nonnull__(pTHX_3);
1620 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1621         assert(sv); assert(mg); assert(key)
1622
1623 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1624                         __attribute__nonnull__(pTHX_1)
1625                         __attribute__nonnull__(pTHX_2);
1626 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1627         assert(sv); assert(mg)
1628
1629 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1630                         __attribute__nonnull__(pTHX_1)
1631                         __attribute__nonnull__(pTHX_2);
1632 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1633         assert(sv); assert(mg)
1634
1635 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
1636                         __attribute__noreturn__
1637                         __attribute__nonnull__(pTHX_1)
1638                         __attribute__nonnull__(pTHX_2);
1639 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
1640         assert(sv); assert(mg)
1641
1642 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1643                         __attribute__nonnull__(pTHX_1)
1644                         __attribute__nonnull__(pTHX_2);
1645 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1646         assert(sv); assert(mg)
1647
1648 PERL_CALLCONV int       Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1649                         __attribute__nonnull__(pTHX_1)
1650                         __attribute__nonnull__(pTHX_2);
1651 #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC        \
1652         assert(sv); assert(mg)
1653
1654 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1655                         __attribute__nonnull__(pTHX_1)
1656                         __attribute__nonnull__(pTHX_2);
1657 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1658         assert(sv); assert(mg)
1659
1660 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1661                         __attribute__nonnull__(pTHX_1)
1662                         __attribute__nonnull__(pTHX_2);
1663 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1664         assert(sv); assert(mg)
1665
1666 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
1667                         __attribute__nonnull__(pTHX_1)
1668                         __attribute__nonnull__(pTHX_2);
1669 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1670         assert(sv); assert(mg)
1671
1672 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
1673                         __attribute__nonnull__(pTHX_1)
1674                         __attribute__nonnull__(pTHX_2);
1675 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1676         assert(sv); assert(mg)
1677
1678 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
1679                         __attribute__nonnull__(pTHX_1)
1680                         __attribute__nonnull__(pTHX_2);
1681 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1682         assert(sv); assert(mg)
1683
1684 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1685                         __attribute__nonnull__(pTHX_1)
1686                         __attribute__nonnull__(pTHX_2);
1687 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1688         assert(sv); assert(mg)
1689
1690 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1691                         __attribute__nonnull__(pTHX_1)
1692                         __attribute__nonnull__(pTHX_2);
1693 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1694         assert(sv); assert(mg)
1695
1696 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1697                         __attribute__nonnull__(pTHX_1)
1698                         __attribute__nonnull__(pTHX_2);
1699 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1700         assert(sv); assert(mg)
1701
1702 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1703                         __attribute__nonnull__(pTHX_1)
1704                         __attribute__nonnull__(pTHX_2);
1705 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1706         assert(sv); assert(mg)
1707
1708 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1709                         __attribute__nonnull__(pTHX_1)
1710                         __attribute__nonnull__(pTHX_2);
1711 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1712         assert(sv); assert(mg)
1713
1714 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1715                         __attribute__nonnull__(pTHX_1)
1716                         __attribute__nonnull__(pTHX_2);
1717 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1718         assert(sv); assert(mg)
1719
1720 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1721                         __attribute__nonnull__(pTHX_1)
1722                         __attribute__nonnull__(pTHX_2);
1723 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1724         assert(sv); assert(mg)
1725
1726 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
1727                         __attribute__nonnull__(pTHX_2);
1728 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1729         assert(mg)
1730
1731 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1732                         __attribute__nonnull__(pTHX_1)
1733                         __attribute__nonnull__(pTHX_2);
1734 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1735         assert(sv); assert(mg)
1736
1737 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1738                         __attribute__nonnull__(pTHX_1)
1739                         __attribute__nonnull__(pTHX_2);
1740 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1741         assert(sv); assert(mg)
1742
1743 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1744                         __attribute__nonnull__(pTHX_1)
1745                         __attribute__nonnull__(pTHX_2);
1746 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1747         assert(sv); assert(mg)
1748
1749 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1750                         __attribute__nonnull__(pTHX_1)
1751                         __attribute__nonnull__(pTHX_2);
1752 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1753         assert(sv); assert(mg)
1754
1755 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1756                         __attribute__nonnull__(pTHX_1)
1757                         __attribute__nonnull__(pTHX_2);
1758 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1759         assert(sv); assert(mg)
1760
1761 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1762                         __attribute__nonnull__(pTHX_1)
1763                         __attribute__nonnull__(pTHX_2);
1764 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1765         assert(sv); assert(mg)
1766
1767 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1768                         __attribute__nonnull__(pTHX_1)
1769                         __attribute__nonnull__(pTHX_2);
1770 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1771         assert(sv); assert(mg)
1772
1773 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1774                         __attribute__nonnull__(pTHX_1)
1775                         __attribute__nonnull__(pTHX_2);
1776 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1777         assert(sv); assert(mg)
1778
1779 PERL_CALLCONV void      Perl_markstack_grow(pTHX);
1780 #if defined(USE_LOCALE_COLLATE)
1781 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1782                         __attribute__nonnull__(pTHX_1)
1783                         __attribute__nonnull__(pTHX_2);
1784 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
1785         assert(sv); assert(mg)
1786
1787 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1788                         __attribute__nonnull__(pTHX_1)
1789                         __attribute__nonnull__(pTHX_3);
1790 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
1791         assert(s); assert(xlen)
1792
1793 #endif
1794 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1795                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
1796                         __attribute__nonnull__(pTHX_1);
1797 #define PERL_ARGS_ASSERT_MESS   \
1798         assert(pat)
1799
1800 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args)
1801                         __attribute__nonnull__(pTHX_1);
1802 #define PERL_ARGS_ASSERT_VMESS  \
1803         assert(pat)
1804
1805 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
1806                         __attribute__nonnull__(pTHX_1);
1807 #define PERL_ARGS_ASSERT_QERROR \
1808         assert(err)
1809
1810 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
1811                         __attribute__nonnull__(pTHX_3);
1812 #define PERL_ARGS_ASSERT_SORTSV \
1813         assert(cmp)
1814
1815 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
1816                         __attribute__nonnull__(pTHX_3);
1817 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
1818         assert(cmp)
1819
1820 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
1821                         __attribute__nonnull__(pTHX_1);
1822 #define PERL_ARGS_ASSERT_MG_CLEAR       \
1823         assert(sv)
1824
1825 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
1826                         __attribute__nonnull__(pTHX_1)
1827                         __attribute__nonnull__(pTHX_2);
1828 #define PERL_ARGS_ASSERT_MG_COPY        \
1829         assert(sv); assert(nsv)
1830
1831 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
1832                         __attribute__nonnull__(pTHX_1)
1833                         __attribute__nonnull__(pTHX_2);
1834 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
1835         assert(sv); assert(nsv)
1836
1837 PERL_CALLCONV MAGIC*    Perl_mg_find(pTHX_ const SV* sv, int type)
1838                         __attribute__warn_unused_result__;
1839
1840 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
1841                         __attribute__nonnull__(pTHX_1);
1842 #define PERL_ARGS_ASSERT_MG_FREE        \
1843         assert(sv)
1844
1845 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
1846                         __attribute__nonnull__(pTHX_1);
1847 #define PERL_ARGS_ASSERT_MG_GET \
1848         assert(sv)
1849
1850 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
1851                         __attribute__nonnull__(pTHX_1);
1852 #define PERL_ARGS_ASSERT_MG_LENGTH      \
1853         assert(sv)
1854
1855 PERL_CALLCONV void      Perl_mg_magical(pTHX_ SV* sv)
1856                         __attribute__nonnull__(pTHX_1);
1857 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
1858         assert(sv)
1859
1860 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
1861                         __attribute__nonnull__(pTHX_1);
1862 #define PERL_ARGS_ASSERT_MG_SET \
1863         assert(sv)
1864
1865 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
1866                         __attribute__nonnull__(pTHX_1);
1867 #define PERL_ARGS_ASSERT_MG_SIZE        \
1868         assert(sv)
1869
1870 PERL_CALLCONV void      Perl_mini_mktime(pTHX_ struct tm *ptm)
1871                         __attribute__nonnull__(pTHX_1);
1872 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
1873         assert(ptm)
1874
1875 PERL_CALLCONV OP*       Perl_mod(pTHX_ OP* o, I32 type);
1876 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
1877 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
1878                         __attribute__nonnull__(pTHX_1);
1879 #define PERL_ARGS_ASSERT_MORESWITCHES   \
1880         assert(s)
1881
1882 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
1883                         __attribute__nonnull__(pTHX_1);
1884 #define PERL_ARGS_ASSERT_MY_ATOF        \
1885         assert(s)
1886
1887 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
1888 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len)
1889                         __attribute__nonnull__(1)
1890                         __attribute__nonnull__(2);
1891 #define PERL_ARGS_ASSERT_MY_BCOPY       \
1892         assert(from); assert(to)
1893
1894 #endif
1895 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
1896 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len)
1897                         __attribute__nonnull__(1);
1898 #define PERL_ARGS_ASSERT_MY_BZERO       \
1899         assert(loc)
1900
1901 #endif
1902 PERL_CALLCONV void      Perl_my_exit(pTHX_ U32 status)
1903                         __attribute__noreturn__;
1904
1905 PERL_CALLCONV void      Perl_my_failure_exit(pTHX)
1906                         __attribute__noreturn__;
1907
1908 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
1909 PERL_CALLCONV Pid_t     Perl_my_fork(void);
1910 PERL_CALLCONV void      Perl_atfork_lock(void);
1911 PERL_CALLCONV void      Perl_atfork_unlock(void);
1912 PERL_CALLCONV I32       Perl_my_lstat(pTHX);
1913 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
1914 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
1915                         __attribute__pure__
1916                         __attribute__nonnull__(1)
1917                         __attribute__nonnull__(2);
1918 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
1919         assert(s1); assert(s2)
1920
1921 #endif
1922 #if !defined(HAS_MEMSET)
1923 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len)
1924                         __attribute__nonnull__(1);
1925 #define PERL_ARGS_ASSERT_MY_MEMSET      \
1926         assert(loc)
1927
1928 #endif
1929 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
1930 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode)
1931                         __attribute__nonnull__(pTHX_1)
1932                         __attribute__nonnull__(pTHX_2);
1933 #define PERL_ARGS_ASSERT_MY_POPEN       \
1934         assert(cmd); assert(mode)
1935
1936 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
1937                         __attribute__nonnull__(pTHX_1)
1938                         __attribute__nonnull__(pTHX_3);
1939 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
1940         assert(mode); assert(args)
1941
1942 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
1943 PERL_CALLCONV I32       Perl_my_stat(pTHX);
1944 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)
1945                         __attribute__nonnull__(pTHX_1);
1946 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
1947         assert(fmt)
1948
1949 #if defined(MYSWAP)
1950 PERL_CALLCONV short     Perl_my_swap(pTHX_ short s)
1951                         __attribute__malloc__
1952                         __attribute__warn_unused_result__
1953                         __attribute__pure__;
1954
1955 PERL_CALLCONV long      Perl_my_htonl(pTHX_ long l)
1956                         __attribute__malloc__
1957                         __attribute__warn_unused_result__
1958                         __attribute__pure__;
1959
1960 PERL_CALLCONV long      Perl_my_ntohl(pTHX_ long l)
1961                         __attribute__malloc__
1962                         __attribute__warn_unused_result__
1963                         __attribute__pure__;
1964
1965 #endif
1966 PERL_CALLCONV void      Perl_my_unexec(pTHX);
1967 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
1968                         __attribute__malloc__
1969                         __attribute__warn_unused_result__;
1970
1971 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
1972                         __attribute__malloc__
1973                         __attribute__warn_unused_result__;
1974
1975 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
1976 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
1977                         __attribute__malloc__
1978                         __attribute__warn_unused_result__;
1979
1980 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
1981                         __attribute__malloc__
1982                         __attribute__warn_unused_result__
1983                         __attribute__nonnull__(pTHX_2);
1984 #define PERL_ARGS_ASSERT_NEWCONDOP      \
1985         assert(first)
1986
1987 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
1988 #ifdef PERL_MAD
1989 PERL_CALLCONV OP*       Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
1990 #else
1991 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
1992 #endif
1993 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
1994                         __attribute__malloc__
1995                         __attribute__warn_unused_result__
1996                         __attribute__nonnull__(pTHX_5);
1997 #define PERL_ARGS_ASSERT_NEWFOROP       \
1998         assert(expr)
1999
2000 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2001                         __attribute__malloc__
2002                         __attribute__warn_unused_result__
2003                         __attribute__nonnull__(pTHX_1)
2004                         __attribute__nonnull__(pTHX_2);
2005 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2006         assert(cond); assert(block)
2007
2008 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2009                         __attribute__malloc__
2010                         __attribute__warn_unused_result__
2011                         __attribute__nonnull__(pTHX_3)
2012                         __attribute__nonnull__(pTHX_4);
2013 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2014         assert(first); assert(other)
2015
2016 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2017                         __attribute__malloc__
2018                         __attribute__warn_unused_result__
2019                         __attribute__nonnull__(pTHX_2);
2020 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2021         assert(label)
2022
2023 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2024                         __attribute__malloc__
2025                         __attribute__warn_unused_result__;
2026
2027 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2028                         __attribute__malloc__
2029                         __attribute__warn_unused_result__;
2030
2031 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2032                         __attribute__malloc__
2033                         __attribute__warn_unused_result__;
2034
2035 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2036                         __attribute__nonnull__(pTHX_1);
2037 #define PERL_ARGS_ASSERT_NEWPROG        \
2038         assert(o)
2039
2040 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2041                         __attribute__malloc__
2042                         __attribute__warn_unused_result__
2043                         __attribute__nonnull__(pTHX_2)
2044                         __attribute__nonnull__(pTHX_3);
2045 #define PERL_ARGS_ASSERT_NEWRANGE       \
2046         assert(left); assert(right)
2047
2048 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2049                         __attribute__malloc__
2050                         __attribute__warn_unused_result__;
2051
2052 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2053                         __attribute__malloc__
2054                         __attribute__warn_unused_result__;
2055
2056 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2057 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2058                         __attribute__nonnull__(pTHX_2)
2059                         __attribute__nonnull__(pTHX_3);
2060 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2061         assert(subaddr); assert(filename)
2062
2063 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
2064                         __attribute__nonnull__(pTHX_2)
2065                         __attribute__nonnull__(pTHX_3);
2066 #define PERL_ARGS_ASSERT_NEWXS  \
2067         assert(subaddr); assert(filename)
2068
2069 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2070                         __attribute__warn_unused_result__; */
2071
2072 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2073                         __attribute__malloc__
2074                         __attribute__warn_unused_result__
2075                         __attribute__nonnull__(pTHX_1);
2076 #define PERL_ARGS_ASSERT_NEWAVREF       \
2077         assert(o)
2078
2079 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2080                         __attribute__malloc__
2081                         __attribute__warn_unused_result__;
2082
2083 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2084                         __attribute__malloc__
2085                         __attribute__warn_unused_result__;
2086
2087 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2088                         __attribute__malloc__
2089                         __attribute__warn_unused_result__
2090                         __attribute__nonnull__(pTHX_3);
2091 #define PERL_ARGS_ASSERT_NEWGVOP        \
2092         assert(gv)
2093
2094 PERL_CALLCONV GV*       Perl_newGVgen(pTHX_ const char* pack)
2095                         __attribute__malloc__
2096                         __attribute__warn_unused_result__
2097                         __attribute__nonnull__(pTHX_1);
2098 #define PERL_ARGS_ASSERT_NEWGVGEN       \
2099         assert(pack)
2100
2101 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2102                         __attribute__malloc__
2103                         __attribute__warn_unused_result__;
2104
2105 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2106                         __attribute__malloc__
2107                         __attribute__warn_unused_result__
2108                         __attribute__nonnull__(pTHX_1);
2109 #define PERL_ARGS_ASSERT_NEWHVREF       \
2110         assert(o)
2111
2112 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2113                         __attribute__warn_unused_result__; */
2114
2115 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2116                         __attribute__malloc__
2117                         __attribute__warn_unused_result__;
2118
2119 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2120                         __attribute__malloc__
2121                         __attribute__warn_unused_result__; */
2122
2123 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2124                         __attribute__malloc__
2125                         __attribute__warn_unused_result__;
2126
2127 #ifdef USE_ITHREADS
2128 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
2129                         __attribute__malloc__
2130                         __attribute__warn_unused_result__
2131                         __attribute__nonnull__(pTHX_3);
2132 #define PERL_ARGS_ASSERT_NEWPADOP       \
2133         assert(sv)
2134
2135 #endif
2136 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2137                         __attribute__malloc__
2138                         __attribute__warn_unused_result__;
2139
2140 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2141                         __attribute__malloc__
2142                         __attribute__warn_unused_result__;
2143
2144 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2145                         __attribute__malloc__
2146                         __attribute__warn_unused_result__
2147                         __attribute__nonnull__(pTHX_1);
2148 #define PERL_ARGS_ASSERT_NEWRV  \
2149         assert(sv)
2150
2151 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
2152                         __attribute__malloc__
2153                         __attribute__warn_unused_result__
2154                         __attribute__nonnull__(pTHX_1);
2155 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2156         assert(sv)
2157
2158 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2159                         __attribute__malloc__
2160                         __attribute__warn_unused_result__;
2161
2162 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2163                         __attribute__malloc__
2164                         __attribute__warn_unused_result__
2165                         __attribute__nonnull__(pTHX_1);
2166 #define PERL_ARGS_ASSERT_NEWSVREF       \
2167         assert(o)
2168
2169 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2170                         __attribute__malloc__
2171                         __attribute__warn_unused_result__
2172                         __attribute__nonnull__(pTHX_3);
2173 #define PERL_ARGS_ASSERT_NEWSVOP        \
2174         assert(sv)
2175
2176 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2177                         __attribute__malloc__
2178                         __attribute__warn_unused_result__;
2179
2180 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2181                         __attribute__malloc__
2182                         __attribute__warn_unused_result__;
2183
2184 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2185                         __attribute__malloc__
2186                         __attribute__warn_unused_result__;
2187
2188 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2189                         __attribute__malloc__
2190                         __attribute__warn_unused_result__;
2191
2192 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2193                         __attribute__malloc__
2194                         __attribute__warn_unused_result__;
2195
2196 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2197                         __attribute__malloc__
2198                         __attribute__warn_unused_result__;
2199
2200 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2201                         __attribute__malloc__
2202                         __attribute__warn_unused_result__;
2203
2204 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2205                         __attribute__malloc__
2206                         __attribute__warn_unused_result__;
2207
2208 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2209                         __attribute__malloc__
2210                         __attribute__warn_unused_result__
2211                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2212                         __attribute__nonnull__(pTHX_1);
2213 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2214         assert(pat)
2215
2216 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
2217                         __attribute__malloc__
2218                         __attribute__warn_unused_result__
2219                         __attribute__nonnull__(pTHX_1);
2220 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
2221         assert(pat)
2222
2223 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2224                         __attribute__nonnull__(pTHX_1);
2225 #define PERL_ARGS_ASSERT_NEWSVRV        \
2226         assert(rv)
2227
2228 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2229                         __attribute__malloc__
2230                         __attribute__warn_unused_result__;
2231
2232 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2233                         __attribute__malloc__
2234                         __attribute__warn_unused_result__;
2235
2236 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2237                         __attribute__malloc__
2238                         __attribute__warn_unused_result__;
2239
2240 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2241                         __attribute__malloc__
2242                         __attribute__warn_unused_result__
2243                         __attribute__nonnull__(pTHX_2);
2244 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2245         assert(block)
2246
2247 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
2248                         __attribute__malloc__
2249                         __attribute__warn_unused_result__;
2250
2251 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2252                         __attribute__malloc__
2253                         __attribute__warn_unused_result__;
2254
2255 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
2256                         __attribute__nonnull__(pTHX_1)
2257                         __attribute__nonnull__(pTHX_2)
2258                         __attribute__nonnull__(pTHX_3);
2259 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2260         assert(s); assert(e); assert(sv)
2261
2262 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
2263                         __attribute__nonnull__(pTHX_1)
2264                         __attribute__nonnull__(pTHX_2);
2265 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2266         assert(s); assert(rv)
2267
2268 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
2269                         __attribute__nonnull__(pTHX_1);
2270 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2271         assert(ver)
2272
2273 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv)
2274                         __attribute__nonnull__(pTHX_1);
2275 #define PERL_ARGS_ASSERT_UPG_VERSION    \
2276         assert(ver)
2277
2278 PERL_CALLCONV bool      Perl_vverify(pTHX_ SV *vs)
2279                         __attribute__nonnull__(pTHX_1);
2280 #define PERL_ARGS_ASSERT_VVERIFY        \
2281         assert(vs)
2282
2283 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs)
2284                         __attribute__nonnull__(pTHX_1);
2285 #define PERL_ARGS_ASSERT_VNUMIFY        \
2286         assert(vs)
2287
2288 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs)
2289                         __attribute__nonnull__(pTHX_1);
2290 #define PERL_ARGS_ASSERT_VNORMAL        \
2291         assert(vs)
2292
2293 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs)
2294                         __attribute__nonnull__(pTHX_1);
2295 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
2296         assert(vs)
2297
2298 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
2299                         __attribute__nonnull__(pTHX_1)
2300                         __attribute__nonnull__(pTHX_2);
2301 #define PERL_ARGS_ASSERT_VCMP   \
2302         assert(lhv); assert(rhv)
2303
2304 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv)
2305                         __attribute__nonnull__(pTHX_1);
2306 #define PERL_ARGS_ASSERT_NEXTARGV       \
2307         assert(gv)
2308
2309 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2310                         __attribute__pure__
2311                         __attribute__nonnull__(1)
2312                         __attribute__nonnull__(2)
2313                         __attribute__nonnull__(3)
2314                         __attribute__nonnull__(4);
2315 #define PERL_ARGS_ASSERT_NINSTR \
2316         assert(big); assert(bigend); assert(little); assert(lend)
2317
2318 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2319 #ifdef PERL_MAD
2320 PERL_CALLCONV OP*       Perl_package(pTHX_ OP* o)
2321                         __attribute__nonnull__(pTHX_1);
2322 #define PERL_ARGS_ASSERT_PACKAGE        \
2323         assert(o)
2324
2325 #else
2326 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
2327                         __attribute__nonnull__(pTHX_1);
2328 #define PERL_ARGS_ASSERT_PACKAGE        \
2329         assert(o)
2330
2331 #endif
2332 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2333 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name)
2334                         __attribute__nonnull__(pTHX_1);
2335 #define PERL_ARGS_ASSERT_ALLOCMY        \
2336         assert(name)
2337
2338 PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name)
2339                         __attribute__warn_unused_result__
2340                         __attribute__nonnull__(pTHX_1);
2341 #define PERL_ARGS_ASSERT_PAD_FINDMY     \
2342         assert(name)
2343
2344 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX);
2345 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2346                         __attribute__warn_unused_result__
2347                         __attribute__nonnull__(pTHX_1);
2348 #define PERL_ARGS_ASSERT_OOPSAV \
2349         assert(o)
2350
2351 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2352                         __attribute__warn_unused_result__
2353                         __attribute__nonnull__(pTHX_1);
2354 #define PERL_ARGS_ASSERT_OOPSHV \
2355         assert(o)
2356
2357 PERL_CALLCONV void      Perl_pad_leavemy(pTHX);
2358 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
2359 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2360 #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
2361 STATIC void     S_pad_reset(pTHX);
2362 #endif
2363 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2364 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2365 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2366                         __attribute__nonnull__(pTHX_1)
2367                         __attribute__nonnull__(pTHX_2);
2368 #define PERL_ARGS_ASSERT_START_GLOB     \
2369         assert(tmpglob); assert(io)
2370
2371 #if defined(USE_REENTRANT_API)
2372 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2373 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2374 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2375 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
2376                         __attribute__nonnull__(1);
2377 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2378         assert(f)
2379
2380 #endif
2381 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
2382 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
2383                         __attribute__nonnull__(pTHX_1)
2384                         __attribute__nonnull__(pTHX_3);
2385 #define PERL_ARGS_ASSERT_CALL_ARGV      \
2386         assert(sub_name); assert(argv)
2387
2388 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags)
2389                         __attribute__nonnull__(pTHX_1);
2390 #define PERL_ARGS_ASSERT_CALL_METHOD    \
2391         assert(methname)
2392
2393 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
2394                         __attribute__nonnull__(pTHX_1);
2395 #define PERL_ARGS_ASSERT_CALL_PV        \
2396         assert(sub_name)
2397
2398 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
2399                         __attribute__nonnull__(pTHX_1);
2400 #define PERL_ARGS_ASSERT_CALL_SV        \
2401         assert(sv)
2402
2403 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
2404 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2405                         __attribute__nonnull__(pTHX_1);
2406 #define PERL_ARGS_ASSERT_DOREF  \
2407         assert(o)
2408
2409 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
2410                         __attribute__nonnull__(pTHX_1);
2411 #define PERL_ARGS_ASSERT_EVAL_PV        \
2412         assert(p)
2413
2414 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags)
2415                         __attribute__nonnull__(pTHX_1);
2416 #define PERL_ARGS_ASSERT_EVAL_SV        \
2417         assert(sv)
2418
2419 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags)
2420                         __attribute__nonnull__(pTHX_1);
2421 #define PERL_ARGS_ASSERT_GET_SV \
2422         assert(name)
2423
2424 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags)
2425                         __attribute__nonnull__(pTHX_1);
2426 #define PERL_ARGS_ASSERT_GET_AV \
2427         assert(name)
2428
2429 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags)
2430                         __attribute__nonnull__(pTHX_1);
2431 #define PERL_ARGS_ASSERT_GET_HV \
2432         assert(name)
2433
2434 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags)
2435                         __attribute__nonnull__(pTHX_1);
2436 #define PERL_ARGS_ASSERT_GET_CV \
2437         assert(name)
2438
2439 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
2440                         __attribute__nonnull__(pTHX_1);
2441 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
2442         assert(name)
2443
2444 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
2445 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
2446 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2447 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
2448                         __attribute__nonnull__(pTHX_1);
2449 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2450         assert(newctype)
2451
2452 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2453 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2454 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2455 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2456 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
2457                         __attribute__nonnull__(pTHX_1);
2458 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2459         assert(pv)
2460
2461 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)
2462                         __attribute__nonnull__(pTHX_1)
2463                         __attribute__nonnull__(pTHX_2)
2464                         __attribute__nonnull__(pTHX_3)
2465                         __attribute__nonnull__(pTHX_4)
2466                         __attribute__nonnull__(pTHX_5)
2467                         __attribute__nonnull__(pTHX_6);
2468 #define PERL_ARGS_ASSERT_PACK_CAT       \
2469         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2470
2471 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2472                         __attribute__nonnull__(pTHX_1)
2473                         __attribute__nonnull__(pTHX_2)
2474                         __attribute__nonnull__(pTHX_3)
2475                         __attribute__nonnull__(pTHX_4)
2476                         __attribute__nonnull__(pTHX_5);
2477 #define PERL_ARGS_ASSERT_PACKLIST       \
2478         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2479
2480 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2481 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
2482 #endif
2483 PERL_CALLCONV void      Perl_pmflag(pTHX_ U32* pmfl, int ch)
2484                         __attribute__nonnull__(pTHX_1);
2485 #define PERL_ARGS_ASSERT_PMFLAG \
2486         assert(pmfl)
2487
2488 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
2489                         __attribute__nonnull__(pTHX_1)
2490                         __attribute__nonnull__(pTHX_2);
2491 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2492         assert(o); assert(expr)
2493
2494 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2495 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
2496                         __attribute__nonnull__(pTHX_1)
2497                         __attribute__nonnull__(pTHX_2)
2498                         __attribute__nonnull__(pTHX_3);
2499 #define PERL_ARGS_ASSERT_PMTRANS        \
2500         assert(o); assert(expr); assert(repl)
2501
2502 #endif
2503 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2504 PERL_CALLCONV OP*       Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
2505 PERL_CALLCONV void      Perl_push_scope(pTHX);
2506 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
2507 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2508 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
2509 #endif
2510 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2511                         __attribute__nonnull__(pTHX_1);
2512 #define PERL_ARGS_ASSERT_REGDUMP        \
2513         assert(r)
2514
2515 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2516                         __attribute__nonnull__(pTHX_1);
2517 #define PERL_ARGS_ASSERT_REGDUMP        \
2518         assert(r)
2519
2520 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
2521                         __attribute__nonnull__(pTHX_2);
2522 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2523         assert(node)
2524
2525 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2526                         __attribute__nonnull__(pTHX_1)
2527                         __attribute__nonnull__(pTHX_2)
2528                         __attribute__nonnull__(pTHX_3)
2529                         __attribute__nonnull__(pTHX_4)
2530                         __attribute__nonnull__(pTHX_6);
2531 #define PERL_ARGS_ASSERT_PREGEXEC       \
2532         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2533
2534 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2535 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
2536                         __attribute__nonnull__(pTHX_1);
2537 #define PERL_ARGS_ASSERT_PREGFREE2      \
2538         assert(rx)
2539
2540 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* r)
2541                         __attribute__nonnull__(pTHX_1);
2542 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2543         assert(r)
2544
2545 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
2546                         __attribute__nonnull__(pTHX_1);
2547 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2548         assert(rx)
2549
2550 #if defined(USE_ITHREADS)
2551 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
2552                         __attribute__nonnull__(pTHX_1)
2553                         __attribute__nonnull__(pTHX_2);
2554 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
2555         assert(r); assert(param)
2556
2557 #endif
2558 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2559                         __attribute__nonnull__(pTHX_1);
2560 #define PERL_ARGS_ASSERT_PREGCOMP       \
2561         assert(pattern)
2562
2563 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
2564                         __attribute__nonnull__(pTHX_1);
2565 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2566         assert(pattern)
2567
2568 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)
2569                         __attribute__nonnull__(pTHX_1)
2570                         __attribute__nonnull__(pTHX_3)
2571                         __attribute__nonnull__(pTHX_4);
2572 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2573         assert(rx); assert(strpos); assert(strend)
2574
2575 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
2576                         __attribute__nonnull__(pTHX_1);
2577 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2578         assert(r)
2579
2580 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
2581                         __attribute__nonnull__(pTHX_1)
2582                         __attribute__nonnull__(pTHX_2)
2583                         __attribute__nonnull__(pTHX_3)
2584                         __attribute__nonnull__(pTHX_4)
2585                         __attribute__nonnull__(pTHX_6);
2586 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2587         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2588
2589 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2590                         __attribute__warn_unused_result__;
2591
2592
2593 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2594                         __attribute__nonnull__(pTHX_1);
2595 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2596         assert(rx)
2597
2598 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2599                         __attribute__nonnull__(pTHX_1);
2600 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2601         assert(rx)
2602
2603 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
2604                         __attribute__nonnull__(pTHX_1)
2605                         __attribute__nonnull__(pTHX_2);
2606 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2607         assert(rx); assert(namesv)
2608
2609 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2610                         __attribute__nonnull__(pTHX_1)
2611                         __attribute__nonnull__(pTHX_2);
2612 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2613         assert(rx); assert(key)
2614
2615 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2616                         __attribute__nonnull__(pTHX_1);
2617 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2618         assert(rx)
2619
2620 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2621                         __attribute__nonnull__(pTHX_1);
2622 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2623         assert(rx)
2624
2625 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2626                         __attribute__nonnull__(pTHX_1);
2627 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2628         assert(rx)
2629
2630 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2631                         __attribute__nonnull__(pTHX_1);
2632 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2633         assert(rx)
2634
2635
2636 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2637                         __attribute__nonnull__(pTHX_1);
2638 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2639         assert(rx)
2640
2641 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
2642                         __attribute__nonnull__(pTHX_1);
2643 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2644         assert(rx)
2645
2646 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2647                         __attribute__nonnull__(pTHX_1)
2648                         __attribute__nonnull__(pTHX_2);
2649 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2650         assert(rx); assert(sv)
2651
2652
2653 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
2654                         __attribute__nonnull__(pTHX_1);
2655 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2656         assert(rx)
2657
2658
2659 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2660                         __attribute__nonnull__(pTHX_2)
2661                         __attribute__nonnull__(pTHX_3);
2662 #define PERL_ARGS_ASSERT_REGPROP        \
2663         assert(sv); assert(o)
2664
2665 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2666                         __attribute__nonnull__(1)
2667                         __attribute__nonnull__(2);
2668 #define PERL_ARGS_ASSERT_REPEATCPY      \
2669         assert(to); assert(from)
2670
2671 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2672                         __attribute__pure__
2673                         __attribute__nonnull__(1)
2674                         __attribute__nonnull__(2)
2675                         __attribute__nonnull__(3)
2676                         __attribute__nonnull__(4);
2677 #define PERL_ARGS_ASSERT_RNINSTR        \
2678         assert(big); assert(bigend); assert(little); assert(lend)
2679
2680 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2681 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2682 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
2683                         __attribute__nonnull__(pTHX_3);
2684 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2685         assert(save)
2686
2687 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2688 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
2689 STATIC void     S_rxres_free(pTHX_ void** rsp)
2690                         __attribute__nonnull__(pTHX_1);
2691 #define PERL_ARGS_ASSERT_RXRES_FREE     \
2692         assert(rsp)
2693
2694 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
2695                         __attribute__nonnull__(pTHX_1)
2696                         __attribute__nonnull__(pTHX_2);
2697 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
2698         assert(rsp); assert(rx)
2699
2700 #endif
2701 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
2702                         __attribute__nonnull__(pTHX_1)
2703                         __attribute__nonnull__(pTHX_2);
2704 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2705         assert(rsp); assert(rx)
2706
2707 #if !defined(HAS_RENAME)
2708 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
2709                         __attribute__nonnull__(pTHX_1)
2710                         __attribute__nonnull__(pTHX_2);
2711 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
2712         assert(a); assert(b)
2713
2714 #endif
2715 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2716                         __attribute__malloc__
2717                         __attribute__warn_unused_result__;
2718
2719 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2720                         __attribute__malloc__
2721                         __attribute__warn_unused_result__;
2722
2723 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2724                         __attribute__malloc__
2725                         __attribute__warn_unused_result__;
2726
2727 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2728                         __attribute__malloc__
2729                         __attribute__warn_unused_result__
2730                         __attribute__nonnull__(pTHX_1);
2731 #define PERL_ARGS_ASSERT_SAVESHAREDPVN  \
2732         assert(pv)
2733
2734 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2735                         __attribute__malloc__
2736                         __attribute__warn_unused_result__
2737                         __attribute__nonnull__(pTHX_1);
2738 #define PERL_ARGS_ASSERT_SAVESVPV       \
2739         assert(sv)
2740
2741 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2742 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2743 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2744                         __attribute__nonnull__(pTHX_1)
2745                         __attribute__nonnull__(pTHX_3); */
2746
2747 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
2748                         __attribute__nonnull__(pTHX_1)
2749                         __attribute__nonnull__(pTHX_3);
2750 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2751         assert(av); assert(sptr)
2752
2753 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2754 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
2755                         __attribute__nonnull__(pTHX_1);
2756 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2757         assert(aptr)
2758
2759 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
2760                         __attribute__nonnull__(pTHX_1);
2761 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2762         assert(gv)
2763
2764 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
2765                         __attribute__nonnull__(pTHX_1);
2766 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2767         assert(boolp)
2768
2769 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
2770                         __attribute__nonnull__(pTHX_1);
2771 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2772         assert(svp)
2773
2774 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
2775                         __attribute__nonnull__(pTHX_1)
2776                         __attribute__nonnull__(pTHX_2);
2777 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2778         assert(hv); assert(key)
2779
2780 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
2781                         __attribute__nonnull__(pTHX_1)
2782                         __attribute__nonnull__(pTHX_2);
2783 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2784         assert(hv); assert(keysv)
2785
2786 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, I32 key)
2787                         __attribute__nonnull__(pTHX_1);
2788 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2789         assert(av)
2790
2791 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
2792                         __attribute__nonnull__(pTHX_2);
2793 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2794         assert(p)
2795
2796 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2797 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
2798 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
2799 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
2800 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
2801                         __attribute__nonnull__(pTHX_1);
2802 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2803         assert(sptr)
2804
2805 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
2806                         __attribute__nonnull__(pTHX_1);
2807 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2808         assert(str)
2809
2810 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
2811                         __attribute__nonnull__(pTHX_1);
2812 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
2813         assert(str)
2814
2815 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
2816                         __attribute__nonnull__(pTHX_1);
2817 #define PERL_ARGS_ASSERT_SAVE_GP        \
2818         assert(gv)
2819
2820 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
2821                         __attribute__nonnull__(pTHX_1);
2822 #define PERL_ARGS_ASSERT_SAVE_HASH      \
2823         assert(gv)
2824
2825 PERL_CALLCONV void      Perl_save_hints(pTHX);
2826 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
2827                         __attribute__nonnull__(pTHX_1)
2828                         __attribute__nonnull__(pTHX_2)
2829                         __attribute__nonnull__(pTHX_3); */
2830
2831 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
2832                         __attribute__nonnull__(pTHX_1)
2833                         __attribute__nonnull__(pTHX_2)
2834                         __attribute__nonnull__(pTHX_3);
2835 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
2836         assert(hv); assert(key); assert(sptr)
2837
2838 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
2839                         __attribute__nonnull__(pTHX_1);
2840 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
2841         assert(hptr)
2842
2843 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
2844                         __attribute__nonnull__(pTHX_1);
2845 #define PERL_ARGS_ASSERT_SAVE_I16       \
2846         assert(intp)
2847
2848 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
2849                         __attribute__nonnull__(pTHX_1);
2850 #define PERL_ARGS_ASSERT_SAVE_I32       \
2851         assert(intp)
2852
2853 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
2854                         __attribute__nonnull__(pTHX_1);
2855 #define PERL_ARGS_ASSERT_SAVE_I8        \
2856         assert(bytep)
2857
2858 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
2859                         __attribute__nonnull__(pTHX_1);
2860 #define PERL_ARGS_ASSERT_SAVE_INT       \
2861         assert(intp)
2862
2863 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
2864                         __attribute__nonnull__(pTHX_1);
2865 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
2866         assert(item)
2867
2868 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
2869                         __attribute__nonnull__(pTHX_1);
2870 #define PERL_ARGS_ASSERT_SAVE_IV        \
2871         assert(ivp)
2872
2873 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
2874                         __attribute__nonnull__(pTHX_1);
2875 #define PERL_ARGS_ASSERT_SAVE_LIST      \
2876         assert(sarg)
2877
2878 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
2879                         __attribute__nonnull__(pTHX_1);
2880 #define PERL_ARGS_ASSERT_SAVE_LONG      \
2881         assert(longp)
2882
2883 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
2884                         __attribute__nonnull__(pTHX_1); */
2885 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
2886         assert(sv)
2887
2888 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
2889                         __attribute__nonnull__(pTHX_1);
2890 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
2891         assert(gv)
2892
2893 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
2894 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
2895                         __attribute__nonnull__(pTHX_1);
2896 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
2897         assert(gv)
2898
2899 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
2900                         __attribute__nonnull__(pTHX_1);
2901 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
2902         assert(pptr)
2903
2904 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
2905                         __attribute__nonnull__(pTHX_1);
2906 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
2907         assert(ptr)
2908
2909 PERL_CALLCONV void      Perl_save_re_context(pTHX);
2910 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2911 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
2912                         __attribute__nonnull__(pTHX_1);
2913 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
2914         assert(sptr)
2915
2916 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
2917                         __attribute__nonnull__(pTHX_1);
2918 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
2919         assert(sptr)
2920
2921 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
2922 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
2923 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
2924 #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
2925 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
2926 #endif
2927 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
2928 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
2929 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2930 STATIC OP*      S_scalarkids(pTHX_ OP* o);
2931 STATIC OP*      S_scalarseq(pTHX_ OP* o);
2932 #endif
2933 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
2934                         __attribute__nonnull__(pTHX_1);
2935 #define PERL_ARGS_ASSERT_SCALARVOID     \
2936         assert(o)
2937
2938 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2939                         __attribute__nonnull__(pTHX_1)
2940                         __attribute__nonnull__(pTHX_3);
2941 #define PERL_ARGS_ASSERT_SCAN_BIN       \
2942         assert(start); assert(retlen)
2943
2944 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2945                         __attribute__nonnull__(pTHX_1)
2946                         __attribute__nonnull__(pTHX_3);
2947 #define PERL_ARGS_ASSERT_SCAN_HEX       \
2948         assert(start); assert(retlen)
2949
2950 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
2951                         __attribute__nonnull__(pTHX_1)
2952                         __attribute__nonnull__(pTHX_2);
2953 #define PERL_ARGS_ASSERT_SCAN_NUM       \
2954         assert(s); assert(lvalp)
2955
2956 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2957                         __attribute__nonnull__(pTHX_1)
2958                         __attribute__nonnull__(pTHX_3);
2959 #define PERL_ARGS_ASSERT_SCAN_OCT       \
2960         assert(start); assert(retlen)
2961
2962 PERL_CALLCONV OP*       Perl_scope(pTHX_ OP* o);
2963 PERL_CALLCONV char*     Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
2964                         __attribute__nonnull__(pTHX_1)
2965                         __attribute__nonnull__(pTHX_2)
2966                         __attribute__nonnull__(pTHX_5);
2967 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
2968         assert(bigstr); assert(littlestr); assert(old_posp)
2969
2970 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
2971 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
2972                         __attribute__nonnull__(pTHX_1);
2973 #define PERL_ARGS_ASSERT_SHARE_HEK      \
2974         assert(str)
2975
2976 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
2977 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
2978 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
2979 #else
2980 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
2981 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
2982 #endif
2983 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
2984                         __attribute__nonnull__(pTHX_1)
2985                         __attribute__nonnull__(pTHX_2);
2986 #define PERL_ARGS_ASSERT_STACK_GROW     \
2987         assert(sp); assert(p)
2988
2989 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2990 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
2991                         __attribute__nonnull__(pTHX_1);
2992 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
2993         assert(cv)
2994
2995 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv)
2996                         __attribute__nonnull__(pTHX_1);
2997 #define PERL_ARGS_ASSERT_SV_2BOOL       \
2998         assert(sv)
2999
3000 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3001                         __attribute__nonnull__(pTHX_2)
3002                         __attribute__nonnull__(pTHX_3);
3003 #define PERL_ARGS_ASSERT_SV_2CV \
3004         assert(st); assert(gvp)
3005
3006 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
3007                         __attribute__nonnull__(pTHX_1);
3008 #define PERL_ARGS_ASSERT_SV_2IO \
3009         assert(sv)
3010
3011 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
3012 STATIC bool     S_glob_2number(pTHX_ GV* const gv)
3013                         __attribute__nonnull__(pTHX_1);
3014 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
3015         assert(gv)
3016
3017 #endif
3018 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv); */
3019 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3020 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3021 PERL_CALLCONV NV        Perl_sv_2nv(pTHX_ SV *const sv);
3022 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3023                         __attribute__nonnull__(pTHX_1);
3024 #define PERL_ARGS_ASSERT_SV_2NUM        \
3025         assert(sv)
3026
3027 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3028 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3029 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3030                         __attribute__nonnull__(pTHX_1);
3031 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3032         assert(sv)
3033
3034 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3035                         __attribute__nonnull__(pTHX_1);
3036 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3037         assert(sv)
3038
3039 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3040                         __attribute__nonnull__(pTHX_1);
3041 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3042         assert(sv)
3043
3044 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv); */
3045 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3046 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
3047                         __attribute__nonnull__(pTHX_1);
3048 #define PERL_ARGS_ASSERT_SV_IV  \
3049         assert(sv)
3050
3051 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
3052                         __attribute__nonnull__(pTHX_1);
3053 #define PERL_ARGS_ASSERT_SV_UV  \
3054         assert(sv)
3055
3056 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
3057                         __attribute__nonnull__(pTHX_1);
3058 #define PERL_ARGS_ASSERT_SV_NV  \
3059         assert(sv)
3060
3061 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3062                         __attribute__nonnull__(pTHX_1)
3063                         __attribute__nonnull__(pTHX_2);
3064 #define PERL_ARGS_ASSERT_SV_PVN \
3065         assert(sv); assert(lp)
3066
3067 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3068                         __attribute__nonnull__(pTHX_1)
3069                         __attribute__nonnull__(pTHX_2);
3070 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3071         assert(sv); assert(lp)
3072
3073 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3074                         __attribute__nonnull__(pTHX_1)
3075                         __attribute__nonnull__(pTHX_2);
3076 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3077         assert(sv); assert(lp)
3078
3079 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3080 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
3081 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
3082                         __attribute__nonnull__(pTHX_1);
3083 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
3084         assert(ptr)
3085
3086 #endif
3087 PERL_CALLCONV int       Perl_sv_backoff(pTHX_ SV *const sv)
3088                         __attribute__nonnull__(pTHX_1);
3089 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3090         assert(sv)
3091
3092 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3093                         __attribute__nonnull__(pTHX_1)
3094                         __attribute__nonnull__(pTHX_2);
3095 #define PERL_ARGS_ASSERT_SV_BLESS       \
3096         assert(sv); assert(stash)
3097
3098 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3099                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3100                         __attribute__nonnull__(pTHX_1)
3101                         __attribute__nonnull__(pTHX_2);
3102 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3103         assert(sv); assert(pat)
3104
3105 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3106                         __attribute__nonnull__(pTHX_1)
3107                         __attribute__nonnull__(pTHX_2);
3108 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3109         assert(sv); assert(pat)
3110
3111 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3112                         __attribute__nonnull__(pTHX_1);
3113 #define PERL_ARGS_ASSERT_SV_CATPV       \
3114         assert(sv)
3115
3116 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3117                         __attribute__nonnull__(pTHX_1)
3118                         __attribute__nonnull__(pTHX_2); */
3119 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3120         assert(dsv); assert(sstr)
3121
3122 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3123                         __attribute__nonnull__(pTHX_1); */
3124 #define PERL_ARGS_ASSERT_SV_CATSV       \
3125         assert(dstr)
3126
3127 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3128                         __attribute__nonnull__(pTHX_1);
3129 #define PERL_ARGS_ASSERT_SV_CHOP        \
3130         assert(sv)
3131
3132 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3133 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3134 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const sv)
3135                         __attribute__nonnull__(pTHX_1);
3136 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3137         assert(sv)
3138
3139 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3140 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3141 #if defined(USE_LOCALE_COLLATE)
3142 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
3143                         __attribute__nonnull__(pTHX_1)
3144                         __attribute__nonnull__(pTHX_2);
3145 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
3146         assert(sv); assert(nxp)
3147
3148 #endif
3149 PERL_CALLCONV OP*       Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
3150                         __attribute__nonnull__(pTHX_1)
3151                         __attribute__nonnull__(pTHX_2)
3152                         __attribute__nonnull__(pTHX_3)
3153                         __attribute__nonnull__(pTHX_4);
3154 #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \
3155         assert(sv); assert(startop); assert(code); assert(padp)
3156
3157 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv)
3158                         __attribute__nonnull__(pTHX_1);
3159 #define PERL_ARGS_ASSERT_GETCWD_SV      \
3160         assert(sv)
3161
3162 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3163 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv)
3164                         __attribute__nonnull__(pTHX_1);
3165 #define PERL_ARGS_ASSERT_SV_DUMP        \
3166         assert(sv)
3167
3168 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3169                         __attribute__warn_unused_result__
3170                         __attribute__nonnull__(pTHX_1)
3171                         __attribute__nonnull__(pTHX_2);
3172 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3173         assert(sv); assert(name)
3174
3175 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3176                         __attribute__warn_unused_result__
3177                         __attribute__nonnull__(pTHX_1)
3178                         __attribute__nonnull__(pTHX_2);
3179 #define PERL_ARGS_ASSERT_SV_DOES        \
3180         assert(sv); assert(name)
3181
3182 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3183 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3184 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv)
3185                         __attribute__nonnull__(pTHX_1);
3186 #define PERL_ARGS_ASSERT_SV_FREE2       \
3187         assert(sv)
3188
3189 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3190 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
3191                         __attribute__nonnull__(pTHX_1)
3192                         __attribute__nonnull__(pTHX_2);
3193 #define PERL_ARGS_ASSERT_SV_GETS        \
3194         assert(sv); assert(fp)
3195
3196 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
3197                         __attribute__nonnull__(pTHX_1);
3198 #define PERL_ARGS_ASSERT_SV_GROW        \
3199         assert(sv)
3200
3201 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3202 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
3203                         __attribute__nonnull__(pTHX_1)
3204                         __attribute__nonnull__(pTHX_4); */
3205 #define PERL_ARGS_ASSERT_SV_INSERT      \
3206         assert(bigstr); assert(little)
3207
3208 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)
3209                         __attribute__nonnull__(pTHX_1)
3210                         __attribute__nonnull__(pTHX_4);
3211 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3212         assert(bigstr); assert(little)
3213
3214 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name)
3215                         __attribute__nonnull__(pTHX_2);
3216 #define PERL_ARGS_ASSERT_SV_ISA \
3217         assert(name)
3218
3219 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3220 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3221 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3222 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
3223                         __attribute__nonnull__(pTHX_1);
3224 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3225         assert(sv)
3226
3227 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)
3228                         __attribute__nonnull__(pTHX_1);
3229 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3230         assert(sv)
3231
3232 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3233                         __attribute__malloc__
3234                         __attribute__warn_unused_result__;
3235
3236 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3237                         __attribute__warn_unused_result__;
3238
3239 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3240 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3241 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
3242                         __attribute__nonnull__(pTHX_2);
3243 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3244         assert(offsetp)
3245
3246 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
3247                         __attribute__nonnull__(pTHX_2);
3248 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3249         assert(offsetp)
3250
3251 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
3252                         __attribute__nonnull__(pTHX_1); */
3253 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3254         assert(sv)
3255
3256 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
3257                         __attribute__nonnull__(pTHX_1);
3258 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3259         assert(sv)
3260
3261 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
3262                         __attribute__nonnull__(pTHX_1);
3263 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3264         assert(sv)
3265
3266 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
3267                         __attribute__nonnull__(pTHX_1)
3268                         __attribute__nonnull__(pTHX_2);
3269 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3270         assert(sv); assert(encoding)
3271
3272 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3273                         __attribute__nonnull__(pTHX_1)
3274                         __attribute__nonnull__(pTHX_2)
3275                         __attribute__nonnull__(pTHX_3)
3276                         __attribute__nonnull__(pTHX_4)
3277                         __attribute__nonnull__(pTHX_5);
3278 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3279         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3280
3281 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3282                         __attribute__warn_unused_result__
3283                         __attribute__nonnull__(pTHX_1);
3284 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3285         assert(sv)
3286
3287 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
3288                         __attribute__nonnull__(pTHX_1)
3289                         __attribute__nonnull__(pTHX_2);
3290 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3291         assert(sv); assert(nsv)
3292
3293 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3294 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash)
3295                         __attribute__nonnull__(pTHX_1);
3296 #define PERL_ARGS_ASSERT_SV_RESET       \
3297         assert(s)
3298
3299 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3300                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3301                         __attribute__nonnull__(pTHX_1)
3302                         __attribute__nonnull__(pTHX_2);
3303 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3304         assert(sv); assert(pat)
3305
3306 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3307                         __attribute__nonnull__(pTHX_1)
3308                         __attribute__nonnull__(pTHX_2);
3309 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3310         assert(sv); assert(pat)
3311
3312 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
3313                         __attribute__nonnull__(pTHX_1);
3314 #define PERL_ARGS_ASSERT_SV_SETIV       \
3315         assert(sv)
3316
3317 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3318                         __attribute__nonnull__(pTHX_1);
3319 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3320         assert(sv)
3321
3322 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
3323                         __attribute__nonnull__(pTHX_1);
3324 #define PERL_ARGS_ASSERT_SV_SETUV       \
3325         assert(sv)
3326
3327 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
3328                         __attribute__nonnull__(pTHX_1);
3329 #define PERL_ARGS_ASSERT_SV_SETNV       \
3330         assert(sv)
3331
3332 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
3333                         __attribute__nonnull__(pTHX_1);
3334 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3335         assert(rv)
3336
3337 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
3338                         __attribute__nonnull__(pTHX_1);
3339 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3340         assert(rv)
3341
3342 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
3343                         __attribute__nonnull__(pTHX_1);
3344 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3345         assert(rv)
3346
3347 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
3348                         __attribute__nonnull__(pTHX_1);
3349 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3350         assert(rv)
3351
3352 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
3353                         __attribute__nonnull__(pTHX_1)
3354                         __attribute__nonnull__(pTHX_3);
3355 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3356         assert(rv); assert(pv)
3357
3358 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
3359                         __attribute__nonnull__(pTHX_1);
3360 #define PERL_ARGS_ASSERT_SV_SETPV       \
3361         assert(sv)
3362
3363 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3364                         __attribute__nonnull__(pTHX_1);
3365 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3366         assert(sv)
3367
3368 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
3369                         __attribute__nonnull__(pTHX_1); */
3370 #define PERL_ARGS_ASSERT_SV_SETSV       \
3371         assert(dstr)
3372
3373 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv)
3374                         __attribute__nonnull__(pTHX_1); */
3375 #define PERL_ARGS_ASSERT_SV_TAINT       \
3376         assert(sv)
3377
3378 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3379                         __attribute__warn_unused_result__
3380                         __attribute__nonnull__(pTHX_1);
3381 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3382         assert(sv)
3383
3384 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
3385                         __attribute__nonnull__(pTHX_1);
3386 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3387         assert(sv)
3388
3389 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv)
3390                         __attribute__nonnull__(pTHX_1); */
3391 #define PERL_ARGS_ASSERT_SV_UNREF       \
3392         assert(sv)
3393
3394 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
3395                         __attribute__nonnull__(pTHX_1);
3396 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3397         assert(ref)
3398
3399 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv)
3400                         __attribute__nonnull__(pTHX_1);
3401 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3402         assert(sv)
3403
3404 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
3405                         __attribute__nonnull__(pTHX_1);
3406 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3407         assert(sv)
3408
3409 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
3410                         __attribute__nonnull__(pTHX_1); */
3411 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3412         assert(sv)
3413
3414 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
3415                         __attribute__nonnull__(pTHX_1);
3416 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3417         assert(sv)
3418
3419 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)
3420                         __attribute__nonnull__(pTHX_1)
3421                         __attribute__nonnull__(pTHX_2);
3422 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3423         assert(sv); assert(pat)
3424
3425 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)
3426                         __attribute__nonnull__(pTHX_1)
3427                         __attribute__nonnull__(pTHX_2);
3428 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3429         assert(sv); assert(pat)
3430
3431 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3432                         __attribute__warn_unused_result__
3433                         __attribute__nonnull__(pTHX_1);
3434 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3435         assert(sv)
3436
3437 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3438                         __attribute__nonnull__(pTHX_1)
3439                         __attribute__nonnull__(pTHX_2)
3440                         __attribute__nonnull__(pTHX_3);
3441 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3442         assert(pkg); assert(name); assert(listsv)
3443
3444 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
3445                         __attribute__nonnull__(pTHX_1)
3446                         __attribute__nonnull__(pTHX_2);
3447 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3448         assert(swash); assert(ptr)
3449
3450 PERL_CALLCONV void      Perl_taint_env(pTHX);
3451 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s)
3452                         __attribute__nonnull__(pTHX_2);
3453 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3454         assert(s)
3455
3456 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3457                         __attribute__nonnull__(pTHX_1)
3458                         __attribute__nonnull__(pTHX_2)
3459                         __attribute__nonnull__(pTHX_4)
3460                         __attribute__nonnull__(pTHX_5)
3461                         __attribute__nonnull__(pTHX_6);
3462 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3463         assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special)
3464
3465 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3466                         __attribute__nonnull__(pTHX_1)
3467                         __attribute__nonnull__(pTHX_2);
3468 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3469         assert(p); assert(ustrp)
3470
3471 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3472                         __attribute__nonnull__(pTHX_1)
3473                         __attribute__nonnull__(pTHX_2);
3474 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3475         assert(p); assert(ustrp)
3476
3477 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3478                         __attribute__nonnull__(pTHX_1)
3479                         __attribute__nonnull__(pTHX_2);
3480 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3481         assert(p); assert(ustrp)
3482
3483 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3484                         __attribute__nonnull__(pTHX_1)
3485                         __attribute__nonnull__(pTHX_2);
3486 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3487         assert(p); assert(ustrp)
3488
3489 #if defined(UNLINK_ALL_VERSIONS)
3490 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f)
3491                         __attribute__nonnull__(pTHX_1);
3492 #define PERL_ARGS_ASSERT_UNLNK  \
3493         assert(f)
3494
3495 #endif
3496 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)
3497                         __attribute__nonnull__(pTHX_1)
3498                         __attribute__nonnull__(pTHX_2)
3499                         __attribute__nonnull__(pTHX_3)
3500                         __attribute__nonnull__(pTHX_5);
3501 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3502         assert(pat); assert(patend); assert(s); assert(strend)
3503
3504 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
3505                         __attribute__nonnull__(pTHX_1)
3506                         __attribute__nonnull__(pTHX_2)
3507                         __attribute__nonnull__(pTHX_3)
3508                         __attribute__nonnull__(pTHX_4);
3509 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3510         assert(pat); assert(patend); assert(s); assert(strend)
3511
3512 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3513 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3514 #ifdef PERL_MAD
3515 PERL_CALLCONV OP *      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3516                         __attribute__nonnull__(pTHX_4);
3517 #define PERL_ARGS_ASSERT_UTILIZE        \
3518         assert(idop)
3519
3520 #else
3521 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3522                         __attribute__nonnull__(pTHX_4);
3523 #define PERL_ARGS_ASSERT_UTILIZE        \
3524         assert(idop)
3525
3526 #endif
3527 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3528                         __attribute__nonnull__(pTHX_1)
3529                         __attribute__nonnull__(pTHX_2)
3530                         __attribute__nonnull__(pTHX_4);
3531 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3532         assert(p); assert(d); assert(newlen)
3533
3534 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3535                         __attribute__nonnull__(pTHX_1)
3536                         __attribute__nonnull__(pTHX_2)
3537                         __attribute__nonnull__(pTHX_4);
3538 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3539         assert(p); assert(d); assert(newlen)
3540
3541 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3542                         __attribute__warn_unused_result__
3543                         __attribute__pure__
3544                         __attribute__nonnull__(pTHX_1)
3545                         __attribute__nonnull__(pTHX_2);
3546 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3547         assert(s); assert(e)
3548
3549 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3550                         __attribute__warn_unused_result__
3551                         __attribute__pure__
3552                         __attribute__nonnull__(pTHX_1)
3553                         __attribute__nonnull__(pTHX_2);
3554 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3555         assert(a); assert(b)
3556
3557 PERL_CALLCONV U8*       Perl_utf8_hop(pTHX_ const U8 *s, I32 off)
3558                         __attribute__warn_unused_result__
3559                         __attribute__pure__
3560                         __attribute__nonnull__(pTHX_1);
3561 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3562         assert(s)
3563
3564 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
3565                         __attribute__nonnull__(pTHX_1)
3566                         __attribute__nonnull__(pTHX_2);
3567 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3568         assert(s); assert(len)
3569
3570 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
3571                         __attribute__nonnull__(pTHX_1)
3572                         __attribute__nonnull__(pTHX_2);
3573 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
3574         assert(s); assert(len)
3575
3576 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
3577                         __attribute__nonnull__(pTHX_1)
3578                         __attribute__nonnull__(pTHX_2);
3579 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
3580         assert(s); assert(len)
3581
3582 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3583                         __attribute__nonnull__(pTHX_1);
3584 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3585         assert(s)
3586
3587 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3588                         __attribute__nonnull__(pTHX_1);
3589 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3590         assert(s)
3591
3592
3593 #ifdef EBCDIC
3594 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3595                         __attribute__nonnull__(pTHX_1);
3596 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3597         assert(s)
3598
3599 #else
3600 /* PERL_CALLCONV UV     Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3601                         __attribute__nonnull__(pTHX_1); */
3602 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3603         assert(s)
3604
3605 #endif
3606
3607 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3608                         __attribute__nonnull__(pTHX_1);
3609 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3610         assert(s)
3611
3612
3613 #ifdef EBCDIC
3614 PERL_CALLCONV U8*       Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3615                         __attribute__nonnull__(pTHX_1);
3616 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3617         assert(d)
3618
3619 #else
3620 /* PERL_CALLCONV U8*    Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3621                         __attribute__nonnull__(pTHX_1); */
3622 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3623         assert(d)
3624
3625 #endif
3626
3627 /* PERL_CALLCONV U8*    Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
3628                         __attribute__nonnull__(pTHX_1); */
3629 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3630         assert(d)
3631
3632 PERL_CALLCONV U8*       Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3633                         __attribute__nonnull__(pTHX_1);
3634 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS    \
3635         assert(d)
3636
3637 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3638                         __attribute__nonnull__(pTHX_1);
3639 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3640         assert(d)
3641
3642 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3643                         __attribute__nonnull__(pTHX_1)
3644                         __attribute__nonnull__(pTHX_2);
3645 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3646         assert(dsv); assert(spv)
3647
3648 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3649                         __attribute__warn_unused_result__
3650                         __attribute__nonnull__(pTHX_1)
3651                         __attribute__nonnull__(pTHX_2);
3652 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3653         assert(dsv); assert(ssv)
3654
3655 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv)
3656                         __attribute__nonnull__(pTHX_1);
3657 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3658         assert(sv)
3659
3660 PERL_CALLCONV void      Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3661                         __attribute__nonnull__(pTHX_1);
3662 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3663         assert(sv)
3664
3665 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
3666                         __attribute__nonnull__(pTHX_2);
3667 #define PERL_ARGS_ASSERT_WAIT4PID       \
3668         assert(statusp)
3669
3670 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3671                         __attribute__nonnull__(pTHX_1);
3672 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3673         assert(popt)
3674
3675 PERL_CALLCONV U32       Perl_seed(pTHX);
3676 PERL_CALLCONV UV        Perl_get_hash_seed(pTHX)
3677                         __attribute__warn_unused_result__;
3678
3679 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op);
3680 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3681 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3682                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
3683                         __attribute__nonnull__(pTHX_1);
3684 #define PERL_ARGS_ASSERT_WARN   \
3685         assert(pat)
3686
3687 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args)
3688                         __attribute__nonnull__(pTHX_1);
3689 #define PERL_ARGS_ASSERT_VWARN  \
3690         assert(pat)
3691
3692 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3693                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3694                         __attribute__nonnull__(pTHX_2);
3695 #define PERL_ARGS_ASSERT_WARNER \
3696         assert(pat)
3697
3698 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
3699                         __attribute__nonnull__(pTHX_2);
3700 #define PERL_ARGS_ASSERT_VWARNER        \
3701         assert(pat)
3702
3703 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
3704                         __attribute__nonnull__(pTHX_1);
3705 #define PERL_ARGS_ASSERT_WATCH  \
3706         assert(addr)
3707
3708 PERL_CALLCONV I32       Perl_whichsig(pTHX_ const char* sig)
3709                         __attribute__nonnull__(pTHX_1);
3710 #define PERL_ARGS_ASSERT_WHICHSIG       \
3711         assert(sig)
3712
3713 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ const char* message, int msglen)
3714                         __attribute__nonnull__(pTHX_1);
3715 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3716         assert(message)
3717
3718 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
3719                         __attribute__nonnull__(pTHX_1);
3720 #define PERL_ARGS_ASSERT_YYERROR        \
3721         assert(s)
3722
3723 PERL_CALLCONV int       Perl_yylex(pTHX);
3724 PERL_CALLCONV int       Perl_yyparse(pTHX);
3725 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3726                         __attribute__nonnull__(pTHX_1);
3727 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3728         assert(parser)
3729
3730 #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
3731 STATIC int      S_yywarn(pTHX_ const char *const s)
3732                         __attribute__nonnull__(pTHX_1);
3733 #define PERL_ARGS_ASSERT_YYWARN \
3734         assert(s)
3735
3736 #endif
3737 #if defined(MYMALLOC)
3738 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s)
3739                         __attribute__nonnull__(pTHX_1);
3740 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
3741         assert(s)
3742
3743 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
3744                         __attribute__nonnull__(pTHX_1);
3745 #define PERL_ARGS_ASSERT_GET_MSTATS     \
3746         assert(buf)
3747
3748 #endif
3749 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3750                         __attribute__malloc__
3751                         __attribute__warn_unused_result__;
3752
3753 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3754                         __attribute__malloc__
3755                         __attribute__warn_unused_result__;
3756
3757 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3758                         __attribute__malloc__
3759                         __attribute__warn_unused_result__;
3760
3761 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3762 #if defined(PERL_GLOBAL_STRUCT)
3763 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
3764 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
3765 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
3766                         __attribute__nonnull__(pTHX_1);
3767 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
3768         assert(plvarsp)
3769
3770 #endif
3771 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3772 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3773 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3774                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3775                         __attribute__nonnull__(pTHX_1)
3776                         __attribute__nonnull__(pTHX_2);
3777 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3778         assert(sv); assert(pat)
3779
3780 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3781                         __attribute__nonnull__(pTHX_1)
3782                         __attribute__nonnull__(pTHX_2);
3783 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3784         assert(sv); assert(pat)
3785
3786 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
3787                         __attribute__nonnull__(pTHX_1);
3788 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3789         assert(sv)
3790
3791 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
3792                         __attribute__nonnull__(pTHX_1)
3793                         __attribute__nonnull__(pTHX_2); */
3794 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3795         assert(sv); assert(ptr)
3796
3797 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
3798                         __attribute__nonnull__(pTHX_1); */
3799 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3800         assert(dsv)
3801
3802 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3803                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3804                         __attribute__nonnull__(pTHX_1)
3805                         __attribute__nonnull__(pTHX_2);
3806 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3807         assert(sv); assert(pat)
3808
3809 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3810                         __attribute__nonnull__(pTHX_1)
3811                         __attribute__nonnull__(pTHX_2);
3812 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3813         assert(sv); assert(pat)
3814
3815 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
3816                         __attribute__nonnull__(pTHX_1);
3817 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3818         assert(sv)
3819
3820 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
3821                         __attribute__nonnull__(pTHX_1);
3822 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3823         assert(sv)
3824
3825 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
3826                         __attribute__nonnull__(pTHX_1);
3827 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3828         assert(sv)
3829
3830 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
3831                         __attribute__nonnull__(pTHX_1);
3832 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3833         assert(sv)
3834
3835 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
3836                         __attribute__nonnull__(pTHX_1);
3837 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3838         assert(sv)
3839
3840 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3841                         __attribute__nonnull__(pTHX_1)
3842                         __attribute__nonnull__(pTHX_2);
3843 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3844         assert(sv); assert(ptr)
3845
3846 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
3847                         __attribute__nonnull__(pTHX_1);
3848 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3849         assert(dstr)
3850
3851 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
3852                         __attribute__nonnull__(pTHX_1); */
3853 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3854         assert(sv)
3855
3856 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
3857                         __attribute__warn_unused_result__;
3858
3859 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3860                         __attribute__nonnull__(pTHX_1)
3861                         __attribute__nonnull__(pTHX_2);
3862 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3863         assert(dsv); assert(pv)
3864
3865 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)
3866                         __attribute__nonnull__(pTHX_1)
3867                         __attribute__nonnull__(pTHX_2);
3868 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3869         assert(dsv); assert(str)
3870
3871 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)
3872                         __attribute__nonnull__(pTHX_1)
3873                         __attribute__nonnull__(pTHX_2);
3874 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3875         assert(dsv); assert(str)
3876
3877 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
3878                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
3879                         __attribute__nonnull__(pTHX_2)
3880                         __attribute__nonnull__(pTHX_3);
3881 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
3882         assert(file); assert(pat)
3883
3884 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
3885                         __attribute__nonnull__(pTHX_2)
3886                         __attribute__nonnull__(pTHX_3);
3887 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
3888         assert(file); assert(pat)
3889
3890 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3891                         __attribute__nonnull__(pTHX_2)
3892                         __attribute__nonnull__(pTHX_3);
3893 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
3894         assert(file); assert(name)
3895
3896 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3897                         __attribute__nonnull__(pTHX_2)
3898                         __attribute__nonnull__(pTHX_3);
3899 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
3900         assert(file); assert(name)
3901
3902 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
3903                         __attribute__nonnull__(pTHX_2)
3904                         __attribute__nonnull__(pTHX_3);
3905 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
3906         assert(file); assert(name)
3907
3908 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3909                         __attribute__nonnull__(pTHX_2)
3910                         __attribute__nonnull__(pTHX_3);
3911 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
3912         assert(file); assert(mg)
3913
3914 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
3915                         __attribute__nonnull__(pTHX_2);
3916 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
3917         assert(file)
3918
3919 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
3920                         __attribute__nonnull__(pTHX_2);
3921 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
3922         assert(file)
3923
3924 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3925                         __attribute__nonnull__(pTHX_2);
3926 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
3927         assert(file)
3928
3929 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
3930 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3931 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
3932                         __attribute__warn_unused_result__
3933                         __attribute__nonnull__(pTHX_1); */
3934 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3935         assert(sv)
3936
3937 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3938                         __attribute__warn_unused_result__
3939                         __attribute__nonnull__(pTHX_1); */
3940 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3941         assert(sv)
3942
3943 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3944                         __attribute__warn_unused_result__
3945                         __attribute__nonnull__(pTHX_1); */
3946 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3947         assert(sv)
3948
3949 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
3950                         __attribute__warn_unused_result__
3951                         __attribute__nonnull__(pTHX_1); */
3952 #define PERL_ARGS_ASSERT_SV_PV  \
3953         assert(sv)
3954
3955 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
3956                         __attribute__warn_unused_result__
3957                         __attribute__nonnull__(pTHX_1); */
3958 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3959         assert(sv)
3960
3961 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
3962                         __attribute__warn_unused_result__
3963                         __attribute__nonnull__(pTHX_1); */
3964 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3965         assert(sv)
3966
3967 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
3968                         __attribute__nonnull__(pTHX_1); */
3969 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3970         assert(sv)
3971
3972 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv)
3973                         __attribute__nonnull__(pTHX_1); */
3974
3975 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
3976                         __attribute__nonnull__(pTHX_1);
3977 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3978         assert(sv)
3979
3980 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv)
3981                         __attribute__nonnull__(pTHX_1);
3982 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3983         assert(sv)
3984
3985 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv)
3986                         __attribute__nonnull__(pTHX_1);
3987 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3988         assert(sv)
3989
3990 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv)
3991                         __attribute__nonnull__(pTHX_1); */
3992 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3993         assert(sv)
3994
3995 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
3996                         __attribute__nonnull__(pTHX_1);
3997 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3998         assert(sv)
3999
4000 PERL_CALLCONV void      Perl_tmps_grow(pTHX_ I32 n);
4001 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv)
4002                         __attribute__nonnull__(pTHX_1);
4003 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4004         assert(sv)
4005
4006 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
4007                         __attribute__nonnull__(pTHX_1)
4008                         __attribute__nonnull__(pTHX_2);
4009 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
4010         assert(sv); assert(mg)
4011
4012 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
4013 PERL_CALLCONV CV*       Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
4014 #ifdef PERL_MAD
4015 PERL_CALLCONV OP *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4016                         __attribute__noreturn__;
4017
4018 #else
4019 PERL_CALLCONV void      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4020                         __attribute__noreturn__;
4021
4022 #endif
4023 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
4024                         __attribute__nonnull__(pTHX_1);
4025 #define PERL_ARGS_ASSERT_MY_ATTRS       \
4026         assert(o)
4027
4028 #if defined(USE_ITHREADS)
4029 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
4030                         __attribute__warn_unused_result__
4031                         __attribute__nonnull__(pTHX_4);
4032 #define PERL_ARGS_ASSERT_CX_DUP \
4033         assert(param)
4034
4035 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
4036                         __attribute__warn_unused_result__
4037                         __attribute__nonnull__(pTHX_2);
4038 #define PERL_ARGS_ASSERT_SI_DUP \
4039         assert(param)
4040
4041 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
4042                         __attribute__malloc__
4043                         __attribute__warn_unused_result__
4044                         __attribute__nonnull__(pTHX_1)
4045                         __attribute__nonnull__(pTHX_2);
4046 #define PERL_ARGS_ASSERT_SS_DUP \
4047         assert(proto_perl); assert(param)
4048
4049 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
4050                         __attribute__warn_unused_result__
4051                         __attribute__nonnull__(pTHX_2);
4052 #define PERL_ARGS_ASSERT_ANY_DUP        \
4053         assert(proto_perl)
4054
4055 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
4056                         __attribute__warn_unused_result__
4057                         __attribute__nonnull__(pTHX_3);
4058 #define PERL_ARGS_ASSERT_HE_DUP \
4059         assert(param)
4060
4061 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
4062                         __attribute__warn_unused_result__
4063                         __attribute__nonnull__(pTHX_2);
4064 #define PERL_ARGS_ASSERT_HEK_DUP        \
4065         assert(param)
4066
4067 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
4068                         __attribute__nonnull__(pTHX_1)
4069                         __attribute__nonnull__(pTHX_2)
4070                         __attribute__nonnull__(pTHX_3);
4071 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
4072         assert(sstr); assert(dstr); assert(param)
4073
4074 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
4075                         __attribute__nonnull__(pTHX_3);
4076 #define PERL_ARGS_ASSERT_FP_DUP \
4077         assert(param)
4078
4079 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp)
4080                         __attribute__warn_unused_result__;
4081
4082 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
4083                         __attribute__warn_unused_result__
4084                         __attribute__nonnull__(pTHX_2);
4085 #define PERL_ARGS_ASSERT_GP_DUP \
4086         assert(param)
4087
4088 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
4089                         __attribute__warn_unused_result__
4090                         __attribute__nonnull__(pTHX_2);
4091 #define PERL_ARGS_ASSERT_MG_DUP \
4092         assert(param)
4093
4094 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
4095 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param)
4096                         __attribute__nonnull__(pTHX_1)
4097                         __attribute__nonnull__(pTHX_2)
4098                         __attribute__nonnull__(pTHX_4);
4099 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
4100         assert(source); assert(dest); assert(param)
4101
4102 #endif
4103 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4104                         __attribute__warn_unused_result__
4105                         __attribute__nonnull__(pTHX_2);
4106 #define PERL_ARGS_ASSERT_SV_DUP \
4107         assert(param)
4108
4109 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
4110                         __attribute__nonnull__(pTHX_1)
4111                         __attribute__nonnull__(pTHX_2)
4112                         __attribute__nonnull__(pTHX_3);
4113 #define PERL_ARGS_ASSERT_RVPV_DUP       \
4114         assert(dstr); assert(sstr); assert(param)
4115
4116 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param)
4117                         __attribute__nonnull__(pTHX_2);
4118 #define PERL_ARGS_ASSERT_PARSER_DUP     \
4119         assert(param)
4120
4121 #endif
4122 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
4123                         __attribute__malloc__
4124                         __attribute__warn_unused_result__;
4125
4126 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
4127                         __attribute__warn_unused_result__
4128                         __attribute__nonnull__(pTHX_1);
4129 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
4130         assert(tbl)
4131
4132 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
4133                         __attribute__nonnull__(pTHX_1)
4134                         __attribute__nonnull__(pTHX_3);
4135 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
4136         assert(tbl); assert(newsv)
4137
4138 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
4139                         __attribute__nonnull__(pTHX_1);
4140 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
4141         assert(tbl)
4142
4143 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl);
4144 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
4145 #if defined(USE_ITHREADS)
4146 #  if defined(HAVE_INTERP_INTERN)
4147 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst)
4148                         __attribute__nonnull__(pTHX_1)
4149                         __attribute__nonnull__(pTHX_2);
4150 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4151         assert(src); assert(dst)
4152
4153 #  endif
4154 #endif
4155 #if defined(HAVE_INTERP_INTERN)
4156 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
4157 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
4158 #endif
4159
4160 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
4161                         __attribute__warn_unused_result__
4162                         __attribute__nonnull__(pTHX_1);
4163 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
4164         assert(o)
4165
4166 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
4167                         __attribute__warn_unused_result__
4168                         __attribute__nonnull__(pTHX_1);
4169 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
4170         assert(o)
4171
4172
4173 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
4174 /* PERL_CALLCONV void   Perl_sv_nolocking(pTHX_ SV *sv); */
4175 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
4176 #ifdef NO_MATHOMS
4177 /* PERL_CALLCONV void   Perl_sv_nounlocking(pTHX_ SV *sv); */
4178 #else
4179 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
4180 #endif
4181 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
4182
4183 END_EXTERN_C
4184
4185 #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
4186 STATIC I32      S_do_trans_simple(pTHX_ SV * const sv)
4187                         __attribute__warn_unused_result__
4188                         __attribute__nonnull__(pTHX_1);
4189 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4190         assert(sv)
4191
4192 STATIC I32      S_do_trans_count(pTHX_ SV * const sv)
4193                         __attribute__warn_unused_result__
4194                         __attribute__nonnull__(pTHX_1);
4195 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4196         assert(sv)
4197
4198 STATIC I32      S_do_trans_complex(pTHX_ SV * const sv)
4199                         __attribute__warn_unused_result__
4200                         __attribute__nonnull__(pTHX_1);
4201 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4202         assert(sv)
4203
4204 STATIC I32      S_do_trans_simple_utf8(pTHX_ SV * const sv)
4205                         __attribute__warn_unused_result__
4206                         __attribute__nonnull__(pTHX_1);
4207 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
4208         assert(sv)
4209
4210 STATIC I32      S_do_trans_count_utf8(pTHX_ SV * const sv)
4211                         __attribute__warn_unused_result__
4212                         __attribute__nonnull__(pTHX_1);
4213 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
4214         assert(sv)
4215
4216 STATIC I32      S_do_trans_complex_utf8(pTHX_ SV * const sv)
4217                         __attribute__warn_unused_result__
4218                         __attribute__nonnull__(pTHX_1);
4219 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
4220         assert(sv)
4221
4222 #endif
4223
4224 #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
4225 STATIC void     S_gv_init_sv(pTHX_ GV *gv, const svtype sv_type)
4226                         __attribute__nonnull__(pTHX_1);
4227 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
4228         assert(gv)
4229
4230 STATIC HV*      S_gv_get_super_pkg(pTHX_ const char* name, I32 namelen)
4231                         __attribute__nonnull__(pTHX_1);
4232 #define PERL_ARGS_ASSERT_GV_GET_SUPER_PKG       \
4233         assert(name)
4234
4235 STATIC HV*      S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags)
4236                         __attribute__nonnull__(pTHX_1)
4237                         __attribute__nonnull__(pTHX_2)
4238                         __attribute__nonnull__(pTHX_3)
4239                         __attribute__nonnull__(pTHX_4);
4240 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
4241         assert(gv); assert(varpv); assert(namesv); assert(methpv)
4242
4243 #endif
4244
4245 PERL_CALLCONV void*     Perl_get_arena(pTHX_ const size_t svtype, const U32 misc)
4246                         __attribute__malloc__
4247                         __attribute__warn_unused_result__;
4248
4249
4250 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
4251 STATIC void     S_hsplit(pTHX_ HV *hv)
4252                         __attribute__nonnull__(pTHX_1);
4253 #define PERL_ARGS_ASSERT_HSPLIT \
4254         assert(hv)
4255
4256 STATIC void     S_hfreeentries(pTHX_ HV *hv)
4257                         __attribute__nonnull__(pTHX_1);
4258 #define PERL_ARGS_ASSERT_HFREEENTRIES   \
4259         assert(hv)
4260
4261 STATIC I32      S_anonymise_cv(pTHX_ HEK *stash, SV *val)
4262                         __attribute__nonnull__(pTHX_2);
4263 #define PERL_ARGS_ASSERT_ANONYMISE_CV   \
4264         assert(val)
4265
4266 STATIC HE*      S_new_he(pTHX)
4267                         __attribute__malloc__
4268                         __attribute__warn_unused_result__;
4269
4270 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4271                         __attribute__malloc__
4272                         __attribute__warn_unused_result__
4273                         __attribute__nonnull__(1);
4274 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4275         assert(str)
4276
4277 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store)
4278                         __attribute__nonnull__(1)
4279                         __attribute__nonnull__(2)
4280                         __attribute__nonnull__(3);
4281 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4282         assert(hv); assert(needs_copy); assert(needs_store)
4283
4284 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4285 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
4286                         __attribute__warn_unused_result__
4287                         __attribute__nonnull__(pTHX_1);
4288 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
4289         assert(str)
4290
4291 STATIC void     S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4292                         __attribute__noreturn__
4293                         __attribute__nonnull__(pTHX_2)
4294                         __attribute__nonnull__(pTHX_4);
4295 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
4296         assert(key); assert(msg)
4297
4298 STATIC struct xpvhv_aux*        S_hv_auxinit(HV *hv)
4299                         __attribute__nonnull__(1);
4300 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
4301         assert(hv)
4302
4303 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4304 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items)
4305                         __attribute__nonnull__(pTHX_1);
4306 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
4307         assert(hv)
4308
4309 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he)
4310                         __attribute__nonnull__(pTHX_1);
4311 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
4312         assert(he)
4313
4314 #endif
4315
4316 #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
4317 STATIC void     S_save_magic(pTHX_ I32 mgs_ix, SV *sv)
4318                         __attribute__nonnull__(pTHX_2);
4319 #define PERL_ARGS_ASSERT_SAVE_MAGIC     \
4320         assert(sv)
4321
4322 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth)
4323                         __attribute__nonnull__(pTHX_1)
4324                         __attribute__nonnull__(pTHX_2)
4325                         __attribute__nonnull__(pTHX_3);
4326 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4327         assert(sv); assert(mg); assert(meth)
4328
4329 STATIC int      S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val)
4330                         __attribute__nonnull__(pTHX_1)
4331                         __attribute__nonnull__(pTHX_2)
4332                         __attribute__nonnull__(pTHX_3);
4333 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
4334         assert(sv); assert(mg); assert(meth)
4335
4336 STATIC void     S_restore_magic(pTHX_ const void *p);
4337 STATIC void     S_unwind_handler_stack(pTHX_ const void *p)
4338                         __attribute__nonnull__(pTHX_1);
4339 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK   \
4340         assert(p)
4341
4342
4343 #endif
4344
4345 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
4346 PERL_CALLCONV OP*       Perl_ck_anoncode(pTHX_ OP *o)
4347                         __attribute__warn_unused_result__
4348                         __attribute__nonnull__(pTHX_1);
4349 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
4350         assert(o)
4351
4352 PERL_CALLCONV OP*       Perl_ck_bitop(pTHX_ OP *o)
4353                         __attribute__warn_unused_result__
4354                         __attribute__nonnull__(pTHX_1);
4355 #define PERL_ARGS_ASSERT_CK_BITOP       \
4356         assert(o)
4357
4358 PERL_CALLCONV OP*       Perl_ck_concat(pTHX_ OP *o)
4359                         __attribute__warn_unused_result__
4360                         __attribute__nonnull__(pTHX_1);
4361 #define PERL_ARGS_ASSERT_CK_CONCAT      \
4362         assert(o)
4363
4364 PERL_CALLCONV OP*       Perl_ck_defined(pTHX_ OP *o)
4365                         __attribute__warn_unused_result__
4366                         __attribute__nonnull__(pTHX_1);
4367 #define PERL_ARGS_ASSERT_CK_DEFINED     \
4368         assert(o)
4369
4370 PERL_CALLCONV OP*       Perl_ck_delete(pTHX_ OP *o)
4371                         __attribute__warn_unused_result__
4372                         __attribute__nonnull__(pTHX_1);
4373 #define PERL_ARGS_ASSERT_CK_DELETE      \
4374         assert(o)
4375
4376 PERL_CALLCONV OP*       Perl_ck_die(pTHX_ OP *o)
4377                         __attribute__warn_unused_result__
4378                         __attribute__nonnull__(pTHX_1);
4379 #define PERL_ARGS_ASSERT_CK_DIE \
4380         assert(o)
4381
4382 PERL_CALLCONV OP*       Perl_ck_eof(pTHX_ OP *o)
4383                         __attribute__warn_unused_result__
4384                         __attribute__nonnull__(pTHX_1);
4385 #define PERL_ARGS_ASSERT_CK_EOF \
4386         assert(o)
4387
4388 PERL_CALLCONV OP*       Perl_ck_eval(pTHX_ OP *o)
4389                         __attribute__warn_unused_result__
4390                         __attribute__nonnull__(pTHX_1);
4391 #define PERL_ARGS_ASSERT_CK_EVAL        \
4392         assert(o)
4393
4394 PERL_CALLCONV OP*       Perl_ck_exec(pTHX_ OP *o)
4395                         __attribute__warn_unused_result__
4396                         __attribute__nonnull__(pTHX_1);
4397 #define PERL_ARGS_ASSERT_CK_EXEC        \
4398         assert(o)
4399
4400 PERL_CALLCONV OP*       Perl_ck_exists(pTHX_ OP *o)
4401                         __attribute__warn_unused_result__
4402                         __attribute__nonnull__(pTHX_1);
4403 #define PERL_ARGS_ASSERT_CK_EXISTS      \
4404         assert(o)
4405
4406 PERL_CALLCONV OP*       Perl_ck_exit(pTHX_ OP *o)
4407                         __attribute__warn_unused_result__
4408                         __attribute__nonnull__(pTHX_1);
4409 #define PERL_ARGS_ASSERT_CK_EXIT        \
4410         assert(o)
4411
4412 PERL_CALLCONV OP*       Perl_ck_ftst(pTHX_ OP *o)
4413                         __attribute__warn_unused_result__
4414                         __attribute__nonnull__(pTHX_1);
4415 #define PERL_ARGS_ASSERT_CK_FTST        \
4416         assert(o)
4417
4418 PERL_CALLCONV OP*       Perl_ck_fun(pTHX_ OP *o)
4419                         __attribute__warn_unused_result__
4420                         __attribute__nonnull__(pTHX_1);
4421 #define PERL_ARGS_ASSERT_CK_FUN \
4422         assert(o)
4423
4424 PERL_CALLCONV OP*       Perl_ck_glob(pTHX_ OP *o)
4425                         __attribute__warn_unused_result__
4426                         __attribute__nonnull__(pTHX_1);
4427 #define PERL_ARGS_ASSERT_CK_GLOB        \
4428         assert(o)
4429
4430 PERL_CALLCONV OP*       Perl_ck_grep(pTHX_ OP *o)
4431                         __attribute__warn_unused_result__
4432                         __attribute__nonnull__(pTHX_1);
4433 #define PERL_ARGS_ASSERT_CK_GREP        \
4434         assert(o)
4435
4436 PERL_CALLCONV OP*       Perl_ck_index(pTHX_ OP *o)
4437                         __attribute__warn_unused_result__
4438                         __attribute__nonnull__(pTHX_1);
4439 #define PERL_ARGS_ASSERT_CK_INDEX       \
4440         assert(o)
4441
4442 PERL_CALLCONV OP*       Perl_ck_join(pTHX_ OP *o)
4443                         __attribute__warn_unused_result__
4444                         __attribute__nonnull__(pTHX_1);
4445 #define PERL_ARGS_ASSERT_CK_JOIN        \
4446         assert(o)
4447
4448 PERL_CALLCONV OP*       Perl_ck_lfun(pTHX_ OP *o)
4449                         __attribute__warn_unused_result__
4450                         __attribute__nonnull__(pTHX_1);
4451 #define PERL_ARGS_ASSERT_CK_LFUN        \
4452         assert(o)
4453
4454 PERL_CALLCONV OP*       Perl_ck_listiob(pTHX_ OP *o)
4455                         __attribute__warn_unused_result__
4456                         __attribute__nonnull__(pTHX_1);
4457 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
4458         assert(o)
4459
4460 PERL_CALLCONV OP*       Perl_ck_match(pTHX_ OP *o)
4461                         __attribute__warn_unused_result__
4462                         __attribute__nonnull__(pTHX_1);
4463 #define PERL_ARGS_ASSERT_CK_MATCH       \
4464         assert(o)
4465
4466 PERL_CALLCONV OP*       Perl_ck_method(pTHX_ OP *o)
4467                         __attribute__warn_unused_result__
4468                         __attribute__nonnull__(pTHX_1);
4469 #define PERL_ARGS_ASSERT_CK_METHOD      \
4470         assert(o)
4471
4472 PERL_CALLCONV OP*       Perl_ck_null(pTHX_ OP *o)
4473                         __attribute__warn_unused_result__
4474                         __attribute__nonnull__(pTHX_1);
4475 #define PERL_ARGS_ASSERT_CK_NULL        \
4476         assert(o)
4477
4478 PERL_CALLCONV OP*       Perl_ck_open(pTHX_ OP *o)
4479                         __attribute__warn_unused_result__
4480                         __attribute__nonnull__(pTHX_1);
4481 #define PERL_ARGS_ASSERT_CK_OPEN        \
4482         assert(o)
4483
4484 PERL_CALLCONV OP*       Perl_ck_readline(pTHX_ OP *o)
4485                         __attribute__warn_unused_result__
4486                         __attribute__nonnull__(pTHX_1);
4487 #define PERL_ARGS_ASSERT_CK_READLINE    \
4488         assert(o)
4489
4490 PERL_CALLCONV OP*       Perl_ck_repeat(pTHX_ OP *o)
4491                         __attribute__warn_unused_result__
4492                         __attribute__nonnull__(pTHX_1);
4493 #define PERL_ARGS_ASSERT_CK_REPEAT      \
4494         assert(o)
4495
4496 PERL_CALLCONV OP*       Perl_ck_require(pTHX_ OP *o)
4497                         __attribute__warn_unused_result__
4498                         __attribute__nonnull__(pTHX_1);
4499 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
4500         assert(o)
4501
4502 PERL_CALLCONV OP*       Perl_ck_return(pTHX_ OP *o)
4503                         __attribute__warn_unused_result__
4504                         __attribute__nonnull__(pTHX_1);
4505 #define PERL_ARGS_ASSERT_CK_RETURN      \
4506         assert(o)
4507
4508 PERL_CALLCONV OP*       Perl_ck_rfun(pTHX_ OP *o)
4509                         __attribute__warn_unused_result__
4510                         __attribute__nonnull__(pTHX_1);
4511 #define PERL_ARGS_ASSERT_CK_RFUN        \
4512         assert(o)
4513
4514 PERL_CALLCONV OP*       Perl_ck_rvconst(pTHX_ OP *o)
4515                         __attribute__warn_unused_result__
4516                         __attribute__nonnull__(pTHX_1);
4517 #define PERL_ARGS_ASSERT_CK_RVCONST     \
4518         assert(o)
4519
4520 PERL_CALLCONV OP*       Perl_ck_sassign(pTHX_ OP *o)
4521                         __attribute__warn_unused_result__
4522                         __attribute__nonnull__(pTHX_1);
4523 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
4524         assert(o)
4525
4526 PERL_CALLCONV OP*       Perl_ck_select(pTHX_ OP *o)
4527                         __attribute__warn_unused_result__
4528                         __attribute__nonnull__(pTHX_1);
4529 #define PERL_ARGS_ASSERT_CK_SELECT      \
4530         assert(o)
4531
4532 PERL_CALLCONV OP*       Perl_ck_shift(pTHX_ OP *o)
4533                         __attribute__warn_unused_result__
4534                         __attribute__nonnull__(pTHX_1);
4535 #define PERL_ARGS_ASSERT_CK_SHIFT       \
4536         assert(o)
4537
4538 PERL_CALLCONV OP*       Perl_ck_sort(pTHX_ OP *o)
4539                         __attribute__warn_unused_result__
4540                         __attribute__nonnull__(pTHX_1);
4541 #define PERL_ARGS_ASSERT_CK_SORT        \
4542         assert(o)
4543
4544 PERL_CALLCONV OP*       Perl_ck_spair(pTHX_ OP *o)
4545                         __attribute__warn_unused_result__
4546                         __attribute__nonnull__(pTHX_1);
4547 #define PERL_ARGS_ASSERT_CK_SPAIR       \
4548         assert(o)
4549
4550 PERL_CALLCONV OP*       Perl_ck_split(pTHX_ OP *o)
4551                         __attribute__warn_unused_result__
4552                         __attribute__nonnull__(pTHX_1);
4553 #define PERL_ARGS_ASSERT_CK_SPLIT       \
4554         assert(o)
4555
4556 PERL_CALLCONV OP*       Perl_ck_subr(pTHX_ OP *o)
4557                         __attribute__warn_unused_result__
4558                         __attribute__nonnull__(pTHX_1);
4559 #define PERL_ARGS_ASSERT_CK_SUBR        \
4560         assert(o)
4561
4562 PERL_CALLCONV OP*       Perl_ck_substr(pTHX_ OP *o)
4563                         __attribute__warn_unused_result__
4564                         __attribute__nonnull__(pTHX_1);
4565 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
4566         assert(o)
4567
4568 PERL_CALLCONV OP*       Perl_ck_svconst(pTHX_ OP *o)
4569                         __attribute__warn_unused_result__
4570                         __attribute__nonnull__(pTHX_1);
4571 #define PERL_ARGS_ASSERT_CK_SVCONST     \
4572         assert(o)
4573
4574 PERL_CALLCONV OP*       Perl_ck_trunc(pTHX_ OP *o)
4575                         __attribute__warn_unused_result__
4576                         __attribute__nonnull__(pTHX_1);
4577 #define PERL_ARGS_ASSERT_CK_TRUNC       \
4578         assert(o)
4579
4580 PERL_CALLCONV OP*       Perl_ck_unpack(pTHX_ OP *o)
4581                         __attribute__warn_unused_result__
4582                         __attribute__nonnull__(pTHX_1);
4583 #define PERL_ARGS_ASSERT_CK_UNPACK      \
4584         assert(o)
4585
4586 PERL_CALLCONV OP*       Perl_ck_each(pTHX_ OP *o)
4587                         __attribute__warn_unused_result__
4588                         __attribute__nonnull__(pTHX_1);
4589 #define PERL_ARGS_ASSERT_CK_EACH        \
4590         assert(o)
4591
4592 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
4593                         __attribute__warn_unused_result__
4594                         __attribute__nonnull__(1);
4595 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
4596         assert(o)
4597
4598 STATIC I32      S_is_list_assignment(pTHX_ const OP *o)
4599                         __attribute__warn_unused_result__;
4600
4601 #  ifdef USE_ITHREADS
4602 STATIC void     S_forget_pmop(pTHX_ PMOP *const o, U32 flags)
4603                         __attribute__nonnull__(pTHX_1);
4604 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
4605         assert(o)
4606
4607 #  else
4608 STATIC void     S_forget_pmop(pTHX_ PMOP *const o)
4609                         __attribute__nonnull__(pTHX_1);
4610 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
4611         assert(o)
4612
4613 #  endif
4614 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o)
4615                         __attribute__nonnull__(pTHX_1);
4616 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
4617         assert(o)
4618
4619 STATIC void     S_cop_free(pTHX_ COP *cop)
4620                         __attribute__nonnull__(pTHX_1);
4621 #define PERL_ARGS_ASSERT_COP_FREE       \
4622         assert(cop)
4623
4624 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
4625 STATIC OP*      S_scalarboolean(pTHX_ OP *o)
4626                         __attribute__nonnull__(pTHX_1);
4627 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
4628         assert(o)
4629
4630 STATIC OP*      S_newDEFSVOP(pTHX)
4631                         __attribute__warn_unused_result__;
4632
4633 STATIC OP*      S_search_const(pTHX_ OP *o)
4634                         __attribute__warn_unused_result__
4635                         __attribute__nonnull__(pTHX_1);
4636 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
4637         assert(o)
4638
4639 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
4640                         __attribute__warn_unused_result__
4641                         __attribute__nonnull__(pTHX_3)
4642                         __attribute__nonnull__(pTHX_4);
4643 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
4644         assert(firstp); assert(otherp)
4645
4646 STATIC void     S_simplify_sort(pTHX_ OP *o)
4647                         __attribute__nonnull__(pTHX_1);
4648 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
4649         assert(o)
4650
4651 STATIC const char*      S_gv_ename(pTHX_ GV *gv)
4652                         __attribute__nonnull__(pTHX_1);
4653 #define PERL_ARGS_ASSERT_GV_ENAME       \
4654         assert(gv)
4655
4656 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
4657                         __attribute__warn_unused_result__
4658                         __attribute__nonnull__(1);
4659 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE        \
4660         assert(o)
4661
4662 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp)
4663                         __attribute__nonnull__(pTHX_3);
4664 #define PERL_ARGS_ASSERT_MY_KID \
4665         assert(imopsp)
4666
4667 STATIC OP *     S_dup_attrlist(pTHX_ OP *o)
4668                         __attribute__nonnull__(pTHX_1);
4669 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
4670         assert(o)
4671
4672 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my)
4673                         __attribute__nonnull__(pTHX_1)
4674                         __attribute__nonnull__(pTHX_2);
4675 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
4676         assert(stash); assert(target)
4677
4678 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp)
4679                         __attribute__nonnull__(pTHX_1)
4680                         __attribute__nonnull__(pTHX_2)
4681                         __attribute__nonnull__(pTHX_4);
4682 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
4683         assert(stash); assert(target); assert(imopsp)
4684
4685 STATIC void     S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid)
4686                         __attribute__nonnull__(pTHX_2)
4687                         __attribute__nonnull__(pTHX_3)
4688                         __attribute__nonnull__(pTHX_4);
4689 #define PERL_ARGS_ASSERT_BAD_TYPE       \
4690         assert(t); assert(name); assert(kid)
4691
4692 STATIC void     S_no_bareword_allowed(pTHX_ const OP *o)
4693                         __attribute__nonnull__(pTHX_1);
4694 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
4695         assert(o)
4696
4697 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
4698                         __attribute__warn_unused_result__
4699                         __attribute__nonnull__(pTHX_1);
4700 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
4701         assert(o)
4702
4703 STATIC OP*      S_too_few_arguments(pTHX_ OP *o, const char* name)
4704                         __attribute__warn_unused_result__
4705                         __attribute__nonnull__(pTHX_1)
4706                         __attribute__nonnull__(pTHX_2);
4707 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS      \
4708         assert(o); assert(name)
4709
4710 STATIC OP*      S_too_many_arguments(pTHX_ OP *o, const char* name)
4711                         __attribute__warn_unused_result__
4712                         __attribute__nonnull__(pTHX_1)
4713                         __attribute__nonnull__(pTHX_2);
4714 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS     \
4715         assert(o); assert(name)
4716
4717 STATIC bool     S_looks_like_bool(pTHX_ const OP* o)
4718                         __attribute__nonnull__(pTHX_1);
4719 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
4720         assert(o)
4721
4722 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg)
4723                         __attribute__nonnull__(pTHX_2);
4724 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
4725         assert(block)
4726
4727 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
4728 STATIC void     S_process_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv)
4729                         __attribute__nonnull__(pTHX_1)
4730                         __attribute__nonnull__(pTHX_2)
4731                         __attribute__nonnull__(pTHX_3);
4732 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
4733         assert(fullname); assert(gv); assert(cv)
4734
4735 #endif
4736 #if defined(PL_OP_SLAB_ALLOC)
4737 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
4738                         __attribute__malloc__
4739                         __attribute__warn_unused_result__;
4740
4741 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op)
4742                         __attribute__nonnull__(pTHX_1);
4743 #define PERL_ARGS_ASSERT_SLAB_FREE      \
4744         assert(op)
4745
4746 #  if defined(PERL_DEBUG_READONLY_OPS)
4747 PERL_CALLCONV void      Perl_pending_Slabs_to_ro(pTHX);
4748 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
4749 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o)
4750                         __attribute__nonnull__(pTHX_1);
4751 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
4752         assert(o)
4753
4754 #    if defined(PERL_IN_OP_C)
4755 STATIC void     S_Slab_to_rw(pTHX_ void *op)
4756                         __attribute__nonnull__(pTHX_1);
4757 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
4758         assert(op)
4759
4760 #    endif
4761 #  endif
4762 #endif
4763
4764 #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
4765 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp)
4766                         __attribute__nonnull__(pTHX_1)
4767                         __attribute__nonnull__(pTHX_2);
4768 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
4769         assert(linestr_sv); assert(rsfp)
4770
4771 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
4772 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags)
4773                         __attribute__nonnull__(pTHX_1);
4774 #define PERL_ARGS_ASSERT_INCPUSH        \
4775         assert(dir)
4776
4777 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags)
4778                         __attribute__nonnull__(pTHX_1);
4779 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
4780         assert(p)
4781
4782 STATIC void     S_init_interp(pTHX);
4783 STATIC void     S_init_ids(pTHX);
4784 STATIC void     S_init_main_stash(pTHX);
4785 STATIC void     S_init_perllib(pTHX);
4786 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env)
4787                         __attribute__nonnull__(pTHX_2);
4788 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
4789         assert(argv)
4790
4791 STATIC void     S_init_predump_symbols(pTHX);
4792 STATIC void     S_my_exit_jump(pTHX)
4793                         __attribute__noreturn__;
4794
4795 STATIC void     S_nuke_stacks(pTHX);
4796 STATIC int      S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript, PerlIO **rsfpp)
4797                         __attribute__nonnull__(pTHX_1)
4798                         __attribute__nonnull__(pTHX_3)
4799                         __attribute__nonnull__(pTHX_4);
4800 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
4801         assert(scriptname); assert(suidscript); assert(rsfpp)
4802
4803 STATIC void     S_usage(pTHX_ const char *name)
4804                         __attribute__nonnull__(pTHX_1);
4805 #define PERL_ARGS_ASSERT_USAGE  \
4806         assert(name)
4807
4808 #ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
4809 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp)
4810                         __attribute__nonnull__(pTHX_1);
4811 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
4812         assert(rsfp)
4813
4814 #endif
4815
4816 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
4817 STATIC void     S_run_body(pTHX_ I32 oldscope)
4818                         __attribute__noreturn__;
4819
4820 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem)
4821                         __attribute__nonnull__(pTHX_1)
4822                         __attribute__nonnull__(pTHX_2)
4823                         __attribute__nonnull__(pTHX_3);
4824 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
4825         assert(av); assert(dir); assert(stem)
4826
4827 #endif
4828
4829 #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)
4830 STATIC OP*      S_do_delete_local(pTHX);
4831 STATIC SV*      S_refto(pTHX_ SV* sv)
4832                         __attribute__warn_unused_result__
4833                         __attribute__nonnull__(pTHX_1);
4834 #define PERL_ARGS_ASSERT_REFTO  \
4835         assert(sv)
4836
4837 #endif
4838 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
4839 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
4840                         __attribute__warn_unused_result__
4841                         __attribute__nonnull__(pTHX_1)
4842                         __attribute__nonnull__(pTHX_2)
4843                         __attribute__nonnull__(pTHX_4);
4844 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
4845         assert(sv); assert(what); assert(spp)
4846
4847 #endif
4848
4849 #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT)
4850 STATIC I32      S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s)
4851                         __attribute__nonnull__(pTHX_1)
4852                         __attribute__nonnull__(pTHX_2)
4853                         __attribute__nonnull__(pTHX_3)
4854                         __attribute__nonnull__(pTHX_4);
4855 #define PERL_ARGS_ASSERT_UNPACK_REC     \
4856         assert(symptr); assert(s); assert(strbeg); assert(strend)
4857
4858 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist)
4859                         __attribute__nonnull__(pTHX_1)
4860                         __attribute__nonnull__(pTHX_2)
4861                         __attribute__nonnull__(pTHX_3)
4862                         __attribute__nonnull__(pTHX_4);
4863 #define PERL_ARGS_ASSERT_PACK_REC       \
4864         assert(cat); assert(symptr); assert(beglist); assert(endlist)
4865
4866 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m)
4867                         __attribute__nonnull__(pTHX_1);
4868 #define PERL_ARGS_ASSERT_MUL128 \
4869         assert(sv)
4870
4871 STATIC I32      S_measure_struct(pTHX_ struct tempsym* symptr)
4872                         __attribute__nonnull__(pTHX_1);
4873 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
4874         assert(symptr)
4875
4876 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr)
4877                         __attribute__nonnull__(pTHX_1);
4878 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
4879         assert(symptr)
4880
4881 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
4882                         __attribute__warn_unused_result__
4883                         __attribute__nonnull__(pTHX_1);
4884 #define PERL_ARGS_ASSERT_IS_AN_INT      \
4885         assert(s)
4886
4887 STATIC int      S_div128(pTHX_ SV *pnum, bool *done)
4888                         __attribute__nonnull__(pTHX_1)
4889                         __attribute__nonnull__(pTHX_2);
4890 #define PERL_ARGS_ASSERT_DIV128 \
4891         assert(pnum); assert(done)
4892
4893 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender)
4894                         __attribute__nonnull__(pTHX_1)
4895                         __attribute__nonnull__(pTHX_2);
4896 #define PERL_ARGS_ASSERT_GROUP_END      \
4897         assert(patptr); assert(patend)
4898
4899 STATIC const char *     S_get_num(pTHX_ const char *patptr, I32 *lenptr)
4900                         __attribute__warn_unused_result__
4901                         __attribute__nonnull__(pTHX_1)
4902                         __attribute__nonnull__(pTHX_2);
4903 #define PERL_ARGS_ASSERT_GET_NUM        \
4904         assert(patptr); assert(lenptr)
4905
4906 STATIC bool     S_need_utf8(const char *pat, const char *patend)
4907                         __attribute__nonnull__(1)
4908                         __attribute__nonnull__(2);
4909 #define PERL_ARGS_ASSERT_NEED_UTF8      \
4910         assert(pat); assert(patend)
4911
4912 STATIC char     S_first_symbol(const char *pat, const char *patend)
4913                         __attribute__nonnull__(1)
4914                         __attribute__nonnull__(2);
4915 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
4916         assert(pat); assert(patend)
4917
4918 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
4919                         __attribute__warn_unused_result__
4920                         __attribute__nonnull__(pTHX_1);
4921 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
4922         assert(sv)
4923
4924 STATIC char *   S_bytes_to_uni(const U8 *start, STRLEN len, char *dest)
4925                         __attribute__warn_unused_result__
4926                         __attribute__nonnull__(1)
4927                         __attribute__nonnull__(3);
4928 #define PERL_ARGS_ASSERT_BYTES_TO_UNI   \
4929         assert(start); assert(dest)
4930
4931 #endif
4932
4933 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
4934 STATIC OP*      S_docatch(pTHX_ OP *o)
4935                         __attribute__warn_unused_result__;
4936
4937 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit)
4938                         __attribute__warn_unused_result__
4939                         __attribute__nonnull__(pTHX_1)
4940                         __attribute__nonnull__(pTHX_2)
4941                         __attribute__nonnull__(pTHX_3)
4942                         __attribute__nonnull__(pTHX_4);
4943 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
4944         assert(o); assert(label); assert(opstack); assert(oplimit)
4945
4946 STATIC OP*      S_doparseform(pTHX_ SV *sv)
4947                         __attribute__warn_unused_result__
4948                         __attribute__nonnull__(pTHX_1);
4949 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
4950         assert(sv)
4951
4952 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
4953                         __attribute__warn_unused_result__;
4954
4955 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
4956                         __attribute__warn_unused_result__;
4957
4958 STATIC I32      S_dopoptogiven(pTHX_ I32 startingblock)
4959                         __attribute__warn_unused_result__;
4960
4961 STATIC I32      S_dopoptolabel(pTHX_ const char *label)
4962                         __attribute__warn_unused_result__
4963                         __attribute__nonnull__(pTHX_1);
4964 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
4965         assert(label)
4966
4967 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
4968                         __attribute__warn_unused_result__;
4969
4970 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
4971                         __attribute__warn_unused_result__
4972                         __attribute__nonnull__(pTHX_1);
4973 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
4974         assert(cxstk)
4975
4976 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
4977                         __attribute__warn_unused_result__;
4978
4979 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv)
4980                         __attribute__nonnull__(pTHX_2);
4981 #define PERL_ARGS_ASSERT_SAVE_LINES     \
4982         assert(sv)
4983
4984 STATIC bool     S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq);
4985 STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name)
4986                         __attribute__warn_unused_result__
4987                         __attribute__nonnull__(pTHX_1);
4988 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
4989         assert(name)
4990
4991 #ifndef PERL_DISABLE_PMC
4992 STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const STRLEN namelen)
4993                         __attribute__warn_unused_result__
4994                         __attribute__nonnull__(pTHX_1);
4995 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
4996         assert(name)
4997
4998 #endif
4999 STATIC bool     S_path_is_absolute(const char *name)
5000                         __attribute__warn_unused_result__
5001                         __attribute__nonnull__(1);
5002 #define PERL_ARGS_ASSERT_PATH_IS_ABSOLUTE       \
5003         assert(name)
5004
5005 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
5006                         __attribute__warn_unused_result__
5007                         __attribute__nonnull__(pTHX_2);
5008 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
5009         assert(buf_sv)
5010
5011 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
5012                         __attribute__warn_unused_result__
5013                         __attribute__nonnull__(pTHX_1);
5014 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
5015         assert(re)
5016
5017 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
5018                         __attribute__warn_unused_result__
5019                         __attribute__nonnull__(pTHX_1)
5020                         __attribute__nonnull__(pTHX_2);
5021 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
5022         assert(matcher); assert(sv)
5023
5024 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher)
5025                         __attribute__nonnull__(pTHX_1);
5026 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
5027         assert(matcher)
5028
5029 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other);
5030 #endif
5031
5032 #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
5033 STATIC void     S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem)
5034                         __attribute__nonnull__(pTHX_1)
5035                         __attribute__nonnull__(pTHX_2)
5036                         __attribute__nonnull__(pTHX_3);
5037 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
5038         assert(hash); assert(relem); assert(firstrelem)
5039
5040 STATIC SV*      S_method_common(pTHX_ SV* meth, U32* hashp)
5041                         __attribute__warn_unused_result__
5042                         __attribute__nonnull__(pTHX_1);
5043 #define PERL_ARGS_ASSERT_METHOD_COMMON  \
5044         assert(meth)
5045
5046 #endif
5047
5048 #if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT)
5049 STATIC I32      S_sv_ncmp(pTHX_ SV *const a, SV *const b)
5050                         __attribute__nonnull__(pTHX_1)
5051                         __attribute__nonnull__(pTHX_2);
5052 #define PERL_ARGS_ASSERT_SV_NCMP        \
5053         assert(a); assert(b)
5054
5055 STATIC I32      S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
5056                         __attribute__nonnull__(pTHX_1)
5057                         __attribute__nonnull__(pTHX_2);
5058 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
5059         assert(a); assert(b)
5060
5061 STATIC I32      S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
5062                         __attribute__nonnull__(pTHX_1)
5063                         __attribute__nonnull__(pTHX_2);
5064 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
5065         assert(a); assert(b)
5066
5067 STATIC I32      S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
5068                         __attribute__nonnull__(pTHX_1)
5069                         __attribute__nonnull__(pTHX_2);
5070 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
5071         assert(a); assert(b)
5072
5073 STATIC I32      S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
5074                         __attribute__nonnull__(pTHX_1)
5075                         __attribute__nonnull__(pTHX_2);
5076 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
5077         assert(str1); assert(str2)
5078
5079 STATIC I32      S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
5080                         __attribute__nonnull__(pTHX_1)
5081                         __attribute__nonnull__(pTHX_2);
5082 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
5083         assert(str1); assert(str2)
5084
5085 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b)
5086                         __attribute__nonnull__(pTHX_1)
5087                         __attribute__nonnull__(pTHX_2);
5088 #define PERL_ARGS_ASSERT_SORTCV \
5089         assert(a); assert(b)
5090
5091 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b)
5092                         __attribute__nonnull__(pTHX_1)
5093                         __attribute__nonnull__(pTHX_2);
5094 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
5095         assert(a); assert(b)
5096
5097 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b)
5098                         __attribute__nonnull__(pTHX_1)
5099                         __attribute__nonnull__(pTHX_2);
5100 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
5101         assert(a); assert(b)
5102
5103 STATIC void     S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare)
5104                         __attribute__nonnull__(pTHX_3);
5105 #define PERL_ARGS_ASSERT_QSORTSVU       \
5106         assert(compare)
5107
5108 #endif
5109
5110 #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT)
5111 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop)
5112                         __attribute__nonnull__(pTHX_1)
5113                         __attribute__nonnull__(pTHX_2)
5114                         __attribute__nonnull__(pTHX_3);
5115 #define PERL_ARGS_ASSERT_DOFORM \
5116         assert(cv); assert(gv); assert(retop)
5117
5118 #  if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
5119 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
5120                         __attribute__warn_unused_result__
5121                         __attribute__nonnull__(pTHX_1)
5122                         __attribute__nonnull__(pTHX_2);
5123 #define PERL_ARGS_ASSERT_DOONELINER     \
5124         assert(cmd); assert(filename)
5125
5126 #  endif
5127 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array)
5128                         __attribute__nonnull__(pTHX_1);
5129 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL        \
5130         assert(array)
5131
5132 #endif
5133
5134 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)
5135 STATIC regnode* S_reg(pTHX_ struct RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth)
5136                         __attribute__nonnull__(pTHX_1)
5137                         __attribute__nonnull__(pTHX_3);
5138 #define PERL_ARGS_ASSERT_REG    \
5139         assert(pRExC_state); assert(flagp)
5140
5141 STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *pRExC_state, U8 op, U32 arg)
5142                         __attribute__nonnull__(pTHX_1);
5143 #define PERL_ARGS_ASSERT_REGANODE       \
5144         assert(pRExC_state)
5145
5146 STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
5147                         __attribute__nonnull__(pTHX_1)
5148                         __attribute__nonnull__(pTHX_2);
5149 #define PERL_ARGS_ASSERT_REGATOM        \
5150         assert(pRExC_state); assert(flagp)
5151
5152 STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth)
5153                         __attribute__nonnull__(pTHX_1)
5154                         __attribute__nonnull__(pTHX_2);
5155 #define PERL_ARGS_ASSERT_REGBRANCH      \
5156         assert(pRExC_state); assert(flagp)
5157
5158 STATIC STRLEN   S_reguni(pTHX_ const struct RExC_state_t *pRExC_state, UV uv, char *s)
5159                         __attribute__nonnull__(pTHX_1)
5160                         __attribute__nonnull__(pTHX_3);
5161 #define PERL_ARGS_ASSERT_REGUNI \
5162         assert(pRExC_state); assert(s)
5163
5164 STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *pRExC_state, U32 depth)
5165                         __attribute__nonnull__(pTHX_1);
5166 #define PERL_ARGS_ASSERT_REGCLASS       \
5167         assert(pRExC_state)
5168
5169 STATIC I32      S_regcurly(const char *s)
5170                         __attribute__warn_unused_result__
5171                         __attribute__nonnull__(1);
5172 #define PERL_ARGS_ASSERT_REGCURLY       \
5173         assert(s)
5174
5175 STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *pRExC_state, U8 op)
5176                         __attribute__nonnull__(pTHX_1);
5177 #define PERL_ARGS_ASSERT_REG_NODE       \
5178         assert(pRExC_state)
5179
5180 STATIC UV       S_reg_recode(pTHX_ const char value, SV **encp)
5181                         __attribute__nonnull__(pTHX_2);
5182 #define PERL_ARGS_ASSERT_REG_RECODE     \
5183         assert(encp)
5184
5185 STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
5186                         __attribute__nonnull__(pTHX_1)
5187                         __attribute__nonnull__(pTHX_2);
5188 #define PERL_ARGS_ASSERT_REGPIECE       \
5189         assert(pRExC_state); assert(flagp)
5190
5191 STATIC regnode* S_reg_namedseq(pTHX_ struct RExC_state_t *pRExC_state, UV *valuep, I32 *flagp)
5192                         __attribute__nonnull__(pTHX_1);
5193 #define PERL_ARGS_ASSERT_REG_NAMEDSEQ   \
5194         assert(pRExC_state)
5195
5196 STATIC void     S_reginsert(pTHX_ struct RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth)
5197                         __attribute__nonnull__(pTHX_1)
5198                         __attribute__nonnull__(pTHX_3);
5199 #define PERL_ARGS_ASSERT_REGINSERT      \
5200         assert(pRExC_state); assert(opnd)
5201
5202 STATIC void     S_regtail(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
5203                         __attribute__nonnull__(pTHX_1)
5204                         __attribute__nonnull__(pTHX_2)
5205                         __attribute__nonnull__(pTHX_3);
5206 #define PERL_ARGS_ASSERT_REGTAIL        \
5207         assert(pRExC_state); assert(p); assert(val)
5208
5209 STATIC SV *     S_reg_scan_name(pTHX_ struct RExC_state_t *pRExC_state, U32 flags)
5210                         __attribute__nonnull__(pTHX_1);
5211 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
5212         assert(pRExC_state)
5213
5214 STATIC U32      S_join_exact(pTHX_ struct RExC_state_t *pRExC_state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth)
5215                         __attribute__nonnull__(pTHX_1)
5216                         __attribute__nonnull__(pTHX_2)
5217                         __attribute__nonnull__(pTHX_3);
5218 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
5219         assert(pRExC_state); assert(scan); assert(min)
5220
5221 STATIC char *   S_regwhite(struct RExC_state_t *pRExC_state, char *p)
5222                         __attribute__warn_unused_result__
5223                         __attribute__nonnull__(1)
5224                         __attribute__nonnull__(2);
5225 #define PERL_ARGS_ASSERT_REGWHITE       \
5226         assert(pRExC_state); assert(p)
5227
5228 STATIC char *   S_nextchar(pTHX_ struct RExC_state_t *pRExC_state)
5229                         __attribute__nonnull__(pTHX_1);
5230 #define PERL_ARGS_ASSERT_NEXTCHAR       \
5231         assert(pRExC_state)
5232
5233 STATIC bool     S_reg_skipcomment(pTHX_ struct RExC_state_t *pRExC_state)
5234                         __attribute__nonnull__(pTHX_1);
5235 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
5236         assert(pRExC_state)
5237
5238 STATIC void     S_scan_commit(pTHX_ const struct RExC_state_t *pRExC_state, struct scan_data_t *data, I32 *minlenp, int is_inf)
5239                         __attribute__nonnull__(pTHX_1)
5240                         __attribute__nonnull__(pTHX_2)
5241                         __attribute__nonnull__(pTHX_3);
5242 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
5243         assert(pRExC_state); assert(data); assert(minlenp)
5244
5245 STATIC void     S_cl_anything(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5246                         __attribute__nonnull__(1)
5247                         __attribute__nonnull__(2);
5248 #define PERL_ARGS_ASSERT_CL_ANYTHING    \
5249         assert(pRExC_state); assert(cl)
5250
5251 STATIC int      S_cl_is_anything(const struct regnode_charclass_class *cl)
5252                         __attribute__warn_unused_result__
5253                         __attribute__nonnull__(1);
5254 #define PERL_ARGS_ASSERT_CL_IS_ANYTHING \
5255         assert(cl)
5256
5257 STATIC void     S_cl_init(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5258                         __attribute__nonnull__(1)
5259                         __attribute__nonnull__(2);
5260 #define PERL_ARGS_ASSERT_CL_INIT        \
5261         assert(pRExC_state); assert(cl)
5262
5263 STATIC void     S_cl_init_zero(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5264                         __attribute__nonnull__(1)
5265                         __attribute__nonnull__(2);
5266 #define PERL_ARGS_ASSERT_CL_INIT_ZERO   \
5267         assert(pRExC_state); assert(cl)
5268
5269 STATIC void     S_cl_and(struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with)
5270                         __attribute__nonnull__(1)
5271                         __attribute__nonnull__(2);
5272 #define PERL_ARGS_ASSERT_CL_AND \
5273         assert(cl); assert(and_with)
5274
5275 STATIC void     S_cl_or(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with)
5276                         __attribute__nonnull__(1)
5277                         __attribute__nonnull__(2)
5278                         __attribute__nonnull__(3);
5279 #define PERL_ARGS_ASSERT_CL_OR  \
5280         assert(pRExC_state); assert(cl); assert(or_with)
5281
5282 STATIC I32      S_study_chunk(pTHX_ struct RExC_state_t *pRExC_state, regnode **scanp, I32 *minlenp, I32 *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U8* recursed, struct regnode_charclass_class *and_withp, U32 flags, U32 depth)
5283                         __attribute__nonnull__(pTHX_1)
5284                         __attribute__nonnull__(pTHX_2)
5285                         __attribute__nonnull__(pTHX_3)
5286                         __attribute__nonnull__(pTHX_4)
5287                         __attribute__nonnull__(pTHX_5);
5288 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
5289         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
5290
5291 STATIC U32      S_add_data(struct RExC_state_t *pRExC_state, U32 n, const char *s)
5292                         __attribute__warn_unused_result__
5293                         __attribute__nonnull__(1)
5294                         __attribute__nonnull__(3);
5295 #define PERL_ARGS_ASSERT_ADD_DATA       \
5296         assert(pRExC_state); assert(s)
5297
5298 STATIC void     S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...)
5299                         __attribute__noreturn__
5300                         __attribute__nonnull__(pTHX_1)
5301                         __attribute__nonnull__(pTHX_2);
5302 #define PERL_ARGS_ASSERT_RE_CROAK2      \
5303         assert(pat1); assert(pat2)
5304
5305 STATIC I32      S_regpposixcc(pTHX_ struct RExC_state_t *pRExC_state, I32 value)
5306                         __attribute__nonnull__(pTHX_1);
5307 #define PERL_ARGS_ASSERT_REGPPOSIXCC    \
5308         assert(pRExC_state)
5309
5310 STATIC void     S_checkposixcc(pTHX_ struct RExC_state_t *pRExC_state)
5311                         __attribute__nonnull__(pTHX_1);
5312 #define PERL_ARGS_ASSERT_CHECKPOSIXCC   \
5313         assert(pRExC_state)
5314
5315 STATIC I32      S_make_trie(pTHX_ struct RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth)
5316                         __attribute__nonnull__(pTHX_1)
5317                         __attribute__nonnull__(pTHX_2)
5318                         __attribute__nonnull__(pTHX_3)
5319                         __attribute__nonnull__(pTHX_4)
5320                         __attribute__nonnull__(pTHX_5);
5321 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
5322         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
5323
5324 STATIC void     S_make_trie_failtable(pTHX_ struct RExC_state_t *pRExC_state, regnode *source, regnode *stclass, U32 depth)
5325                         __attribute__nonnull__(pTHX_1)
5326                         __attribute__nonnull__(pTHX_2)
5327                         __attribute__nonnull__(pTHX_3);
5328 #define PERL_ARGS_ASSERT_MAKE_TRIE_FAILTABLE    \
5329         assert(pRExC_state); assert(source); assert(stclass)
5330
5331 #  ifdef DEBUGGING
5332 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5333 STATIC const regnode*   S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV* sv, I32 indent, U32 depth)
5334                         __attribute__nonnull__(pTHX_1)
5335                         __attribute__nonnull__(pTHX_2)
5336                         __attribute__nonnull__(pTHX_3)
5337                         __attribute__nonnull__(pTHX_6);
5338 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
5339         assert(r); assert(start); assert(node); assert(sv)
5340
5341 STATIC void     S_put_byte(pTHX_ SV* sv, int c)
5342                         __attribute__nonnull__(pTHX_1);
5343 #define PERL_ARGS_ASSERT_PUT_BYTE       \
5344         assert(sv)
5345
5346 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth)
5347                         __attribute__nonnull__(pTHX_1)
5348                         __attribute__nonnull__(pTHX_3);
5349 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
5350         assert(trie); assert(revcharmap)
5351
5352 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5353                         __attribute__nonnull__(pTHX_1)
5354                         __attribute__nonnull__(pTHX_3);
5355 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5356         assert(trie); assert(revcharmap)
5357
5358 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5359                         __attribute__nonnull__(pTHX_1)
5360                         __attribute__nonnull__(pTHX_3);
5361 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
5362         assert(trie); assert(revcharmap)
5363
5364 STATIC U8       S_regtail_study(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
5365                         __attribute__nonnull__(pTHX_1)
5366                         __attribute__nonnull__(pTHX_2)
5367                         __attribute__nonnull__(pTHX_3);
5368 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
5369         assert(pRExC_state); assert(p); assert(val)
5370
5371 #  endif
5372 #endif
5373
5374 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)
5375 STATIC I32      S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
5376                         __attribute__warn_unused_result__
5377                         __attribute__nonnull__(pTHX_1)
5378                         __attribute__nonnull__(pTHX_2);
5379 #define PERL_ARGS_ASSERT_REGMATCH       \
5380         assert(reginfo); assert(prog)
5381
5382 STATIC I32      S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max, int depth)
5383                         __attribute__warn_unused_result__
5384                         __attribute__nonnull__(pTHX_1)
5385                         __attribute__nonnull__(pTHX_2);
5386 #define PERL_ARGS_ASSERT_REGREPEAT      \
5387         assert(prog); assert(p)
5388
5389 STATIC I32      S_regtry(pTHX_ regmatch_info *reginfo, char **startpos)
5390                         __attribute__warn_unused_result__
5391                         __attribute__nonnull__(pTHX_1)
5392                         __attribute__nonnull__(pTHX_2);
5393 #define PERL_ARGS_ASSERT_REGTRY \
5394         assert(reginfo); assert(startpos)
5395
5396 STATIC bool     S_reginclass(pTHX_ const regexp *prog, const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8)
5397                         __attribute__warn_unused_result__
5398                         __attribute__nonnull__(pTHX_2)
5399                         __attribute__nonnull__(pTHX_3);
5400 #define PERL_ARGS_ASSERT_REGINCLASS     \
5401         assert(n); assert(p)
5402
5403 STATIC CHECKPOINT       S_regcppush(pTHX_ I32 parenfloor);
5404 STATIC char*    S_regcppop(pTHX_ const regexp *rex)
5405                         __attribute__nonnull__(pTHX_1);
5406 #define PERL_ARGS_ASSERT_REGCPPOP       \
5407         assert(rex)
5408
5409 STATIC U8*      S_reghop3(U8 *s, I32 off, const U8 *lim)
5410                         __attribute__warn_unused_result__
5411                         __attribute__nonnull__(1)
5412                         __attribute__nonnull__(3);
5413 #define PERL_ARGS_ASSERT_REGHOP3        \
5414         assert(s); assert(lim)
5415
5416 #ifdef XXX_dmq
5417 STATIC U8*      S_reghop4(U8 *s, I32 off, const U8 *llim, const U8 *rlim)
5418                         __attribute__warn_unused_result__
5419                         __attribute__nonnull__(1)
5420                         __attribute__nonnull__(3)
5421                         __attribute__nonnull__(4);
5422 #define PERL_ARGS_ASSERT_REGHOP4        \
5423         assert(s); assert(llim); assert(rlim)
5424
5425 #endif
5426 STATIC U8*      S_reghopmaybe3(U8 *s, I32 off, const U8 *lim)
5427                         __attribute__warn_unused_result__
5428                         __attribute__nonnull__(1)
5429                         __attribute__nonnull__(3);
5430 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
5431         assert(s); assert(lim)
5432
5433 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
5434                         __attribute__warn_unused_result__
5435                         __attribute__nonnull__(pTHX_1)
5436                         __attribute__nonnull__(pTHX_2)
5437                         __attribute__nonnull__(pTHX_3)
5438                         __attribute__nonnull__(pTHX_4);
5439 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
5440         assert(prog); assert(c); assert(s); assert(strend)
5441
5442 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog)
5443                         __attribute__nonnull__(pTHX_1);
5444 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
5445         assert(prog)
5446
5447 STATIC void     S_to_byte_substr(pTHX_ regexp * prog)
5448                         __attribute__nonnull__(pTHX_1);
5449 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
5450         assert(prog)
5451
5452 STATIC I32      S_reg_check_named_buff_matched(pTHX_ const regexp *rex, const regnode *scan)
5453                         __attribute__warn_unused_result__
5454                         __attribute__nonnull__(pTHX_1)
5455                         __attribute__nonnull__(pTHX_2);
5456 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
5457         assert(rex); assert(scan)
5458
5459 #  ifdef DEBUGGING
5460 STATIC void     S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8)
5461                         __attribute__nonnull__(pTHX_1)
5462                         __attribute__nonnull__(pTHX_2)
5463                         __attribute__nonnull__(pTHX_3)
5464                         __attribute__nonnull__(pTHX_4)
5465                         __attribute__nonnull__(pTHX_5);
5466 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
5467         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5468
5469 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb)
5470                         __attribute__nonnull__(pTHX_1)
5471                         __attribute__nonnull__(pTHX_3)
5472                         __attribute__nonnull__(pTHX_4)
5473                         __attribute__nonnull__(pTHX_5);
5474 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
5475         assert(prog); assert(start); assert(end); assert(blurb)
5476
5477 #  endif
5478 #endif
5479
5480 #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
5481 STATIC CV*      S_deb_curcv(pTHX_ const I32 ix);
5482 STATIC void     S_debprof(pTHX_ const OP *o)
5483                         __attribute__nonnull__(pTHX_1);
5484 #define PERL_ARGS_ASSERT_DEBPROF        \
5485         assert(o)
5486
5487 STATIC void     S_sequence(pTHX_ const OP *o);
5488 STATIC void     S_sequence_tail(pTHX_ const OP *o);
5489 STATIC UV       S_sequence_num(pTHX_ const OP *o);
5490 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm)
5491                         __attribute__nonnull__(pTHX_1);
5492 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5493         assert(pm)
5494
5495 #endif
5496
5497 #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
5498 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
5499                         __attribute__nonnull__(pTHX_1);
5500 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
5501         assert(sptr)
5502
5503 #endif
5504
5505 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
5506 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5507                         __attribute__nonnull__(pTHX_1)
5508                         __attribute__nonnull__(pTHX_2);
5509 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5510         assert(tsv); assert(sv)
5511
5512 #endif
5513
5514 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5515 PERL_CALLCONV int       Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5516                         __attribute__nonnull__(pTHX_1)
5517                         __attribute__nonnull__(pTHX_2);
5518 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
5519         assert(sv); assert(av)
5520
5521 #endif
5522
5523 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5524 STATIC char *   S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
5525                         __attribute__warn_unused_result__
5526                         __attribute__nonnull__(1)
5527                         __attribute__nonnull__(5);
5528 #define PERL_ARGS_ASSERT_UIV_2BUF       \
5529         assert(buf); assert(peob)
5530
5531 STATIC void     S_sv_unglob(pTHX_ SV *const sv)
5532                         __attribute__nonnull__(pTHX_1);
5533 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
5534         assert(sv)
5535
5536 STATIC void     S_not_a_number(pTHX_ SV *const sv)
5537                         __attribute__nonnull__(pTHX_1);
5538 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
5539         assert(sv)
5540
5541 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask)
5542                         __attribute__nonnull__(pTHX_1);
5543 #define PERL_ARGS_ASSERT_VISIT  \
5544         assert(f)
5545
5546 STATIC void     S_sv_del_backref(pTHX_ SV *const tsv, SV *const sv)
5547                         __attribute__nonnull__(pTHX_1)
5548                         __attribute__nonnull__(pTHX_2);
5549 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
5550         assert(tsv); assert(sv)
5551
5552 STATIC SV *     S_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, I32 aindex, int subscript_type)
5553                         __attribute__warn_unused_result__;
5554
5555 #  ifdef DEBUGGING
5556 STATIC void     S_del_sv(pTHX_ SV *p)
5557                         __attribute__nonnull__(pTHX_1);
5558 #define PERL_ARGS_ASSERT_DEL_SV \
5559         assert(p)
5560
5561 #  endif
5562 #  if !defined(NV_PRESERVES_UV)
5563 #    ifdef DEBUGGING
5564 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype)
5565                         __attribute__nonnull__(pTHX_1);
5566 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
5567         assert(sv)
5568
5569 #    else
5570 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv)
5571                         __attribute__nonnull__(pTHX_1);
5572 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
5573         assert(sv)
5574
5575 #    endif
5576 #  endif
5577 STATIC I32      S_expect_number(pTHX_ char **const pattern)
5578                         __attribute__warn_unused_result__
5579                         __attribute__nonnull__(pTHX_1);
5580 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
5581         assert(pattern)
5582
5583 #
5584 STATIC STRLEN   S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN uoffset)
5585                         __attribute__nonnull__(1)
5586                         __attribute__nonnull__(2);
5587 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
5588         assert(start); assert(send)
5589
5590 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, const STRLEN uoffset, const STRLEN uend)
5591                         __attribute__nonnull__(1)
5592                         __attribute__nonnull__(2);
5593 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
5594         assert(start); assert(send)
5595
5596 STATIC STRLEN   S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, const STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0)
5597                         __attribute__nonnull__(pTHX_1)
5598                         __attribute__nonnull__(pTHX_2)
5599                         __attribute__nonnull__(pTHX_3)
5600                         __attribute__nonnull__(pTHX_4);
5601 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
5602         assert(sv); assert(mgp); assert(start); assert(send)
5603
5604 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen)
5605                         __attribute__nonnull__(pTHX_1)
5606                         __attribute__nonnull__(pTHX_2);
5607 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
5608         assert(sv); assert(mgp)
5609
5610 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu)
5611                         __attribute__nonnull__(pTHX_1)
5612                         __attribute__nonnull__(pTHX_2)
5613                         __attribute__nonnull__(pTHX_3);
5614 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
5615         assert(s); assert(target); assert(end)
5616
5617 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len)
5618                         __attribute__nonnull__(2)
5619                         __attribute__nonnull__(3);
5620 #define PERL_ARGS_ASSERT_F0CONVERT      \
5621         assert(endbuf); assert(len)
5622
5623 #  if defined(PERL_OLD_COPY_ON_WRITE)
5624 STATIC void     S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after)
5625                         __attribute__nonnull__(pTHX_1)
5626                         __attribute__nonnull__(pTHX_2)
5627                         __attribute__nonnull__(pTHX_3);
5628 #define PERL_ARGS_ASSERT_SV_RELEASE_COW \
5629         assert(sv); assert(pvx); assert(after)
5630
5631 #  endif
5632 STATIC SV *     S_more_sv(pTHX);
5633 STATIC void *   S_more_bodies(pTHX_ const svtype sv_type);
5634 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv)
5635                         __attribute__nonnull__(pTHX_1);
5636 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
5637         assert(sv)
5638
5639 STATIC void     S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype)
5640                         __attribute__nonnull__(pTHX_1)
5641                         __attribute__nonnull__(pTHX_2);
5642 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
5643         assert(dstr); assert(sstr)
5644
5645 STATIC void     S_glob_assign_ref(pTHX_ SV *const dstr, SV *const sstr)
5646                         __attribute__nonnull__(pTHX_1)
5647                         __attribute__nonnull__(pTHX_2);
5648 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_REF        \
5649         assert(dstr); assert(sstr)
5650
5651 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
5652                         __attribute__warn_unused_result__
5653                         __attribute__nonnull__(1);
5654 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
5655         assert(tbl)
5656
5657 #endif
5658
5659 #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
5660 STATIC void     S_check_uni(pTHX);
5661 STATIC void     S_force_next(pTHX_ I32 type);
5662 STATIC char*    S_force_version(pTHX_ char *s, int guessing)
5663                         __attribute__nonnull__(pTHX_1);
5664 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
5665         assert(s)
5666
5667 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick)
5668                         __attribute__nonnull__(pTHX_1);
5669 #define PERL_ARGS_ASSERT_FORCE_WORD     \
5670         assert(start)
5671
5672 STATIC SV*      S_tokeq(pTHX_ SV *sv)
5673                         __attribute__nonnull__(pTHX_1);
5674 #define PERL_ARGS_ASSERT_TOKEQ  \
5675         assert(sv)
5676
5677 STATIC void     S_readpipe_override(pTHX);
5678 STATIC char*    S_scan_const(pTHX_ char *start)
5679                         __attribute__warn_unused_result__
5680                         __attribute__nonnull__(pTHX_1);
5681 #define PERL_ARGS_ASSERT_SCAN_CONST     \
5682         assert(start)
5683
5684 STATIC char*    S_scan_formline(pTHX_ char *s)
5685                         __attribute__warn_unused_result__
5686                         __attribute__nonnull__(pTHX_1);
5687 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
5688         assert(s)
5689
5690 STATIC char*    S_scan_heredoc(pTHX_ char *s)
5691                         __attribute__warn_unused_result__
5692                         __attribute__nonnull__(pTHX_1);
5693 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
5694         assert(s)
5695
5696 STATIC char*    S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni)
5697                         __attribute__nonnull__(pTHX_1)
5698                         __attribute__nonnull__(pTHX_2)
5699                         __attribute__nonnull__(pTHX_3);
5700 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
5701         assert(s); assert(send); assert(dest)
5702
5703 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
5704                         __attribute__warn_unused_result__
5705                         __attribute__nonnull__(pTHX_1);
5706 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
5707         assert(start)
5708
5709 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
5710                         __attribute__warn_unused_result__
5711                         __attribute__nonnull__(pTHX_1);
5712 #define PERL_ARGS_ASSERT_SCAN_PAT       \
5713         assert(start)
5714
5715 STATIC char*    S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims)
5716                         __attribute__warn_unused_result__
5717                         __attribute__nonnull__(pTHX_1);
5718 #define PERL_ARGS_ASSERT_SCAN_STR       \
5719         assert(start)
5720
5721 STATIC char*    S_scan_subst(pTHX_ char *start)
5722                         __attribute__warn_unused_result__
5723                         __attribute__nonnull__(pTHX_1);
5724 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
5725         assert(start)
5726
5727 STATIC char*    S_scan_trans(pTHX_ char *start)
5728                         __attribute__warn_unused_result__
5729                         __attribute__nonnull__(pTHX_1);
5730 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
5731         assert(start)
5732
5733 STATIC char*    S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp)
5734                         __attribute__nonnull__(pTHX_1)
5735                         __attribute__nonnull__(pTHX_2)
5736                         __attribute__nonnull__(pTHX_5);
5737 #define PERL_ARGS_ASSERT_SCAN_WORD      \
5738         assert(s); assert(dest); assert(slp)
5739
5740 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
5741 STATIC char*    S_skipspace(pTHX_ char *s)
5742                         __attribute__warn_unused_result__
5743                         __attribute__nonnull__(pTHX_1);
5744 #define PERL_ARGS_ASSERT_SKIPSPACE      \
5745         assert(s)
5746
5747 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
5748                         __attribute__warn_unused_result__
5749                         __attribute__nonnull__(pTHX_1);
5750 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
5751         assert(s)
5752
5753 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what)
5754                         __attribute__nonnull__(pTHX_1)
5755                         __attribute__nonnull__(pTHX_2)
5756                         __attribute__nonnull__(pTHX_3);
5757 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
5758         assert(s); assert(name); assert(what)
5759
5760 STATIC bool     S_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen)
5761                         __attribute__nonnull__(pTHX_1);
5762 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED     \
5763         assert(name)
5764
5765 STATIC void     S_force_ident(pTHX_ const char *s, int kind)
5766                         __attribute__nonnull__(pTHX_1);
5767 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
5768         assert(s)
5769
5770 STATIC void     S_incline(pTHX_ const char *s)
5771                         __attribute__nonnull__(pTHX_1);
5772 #define PERL_ARGS_ASSERT_INCLINE        \
5773         assert(s)
5774
5775 STATIC int      S_intuit_method(pTHX_ char *s, GV *gv, CV *cv)
5776                         __attribute__nonnull__(pTHX_1);
5777 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
5778         assert(s)
5779
5780 STATIC int      S_intuit_more(pTHX_ char *s)
5781                         __attribute__nonnull__(pTHX_1);
5782 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
5783         assert(s)
5784
5785 STATIC I32      S_lop(pTHX_ I32 f, int x, char *s)
5786                         __attribute__nonnull__(pTHX_3);
5787 #define PERL_ARGS_ASSERT_LOP    \
5788         assert(s)
5789
5790 STATIC void     S_missingterm(pTHX_ char *s)
5791                         __attribute__noreturn__;
5792
5793 STATIC void     S_no_op(pTHX_ const char *const what, char *s)
5794                         __attribute__nonnull__(pTHX_1);
5795 #define PERL_ARGS_ASSERT_NO_OP  \
5796         assert(what)
5797
5798 STATIC I32      S_sublex_done(pTHX)
5799                         __attribute__warn_unused_result__;
5800
5801 STATIC I32      S_sublex_push(pTHX)
5802                         __attribute__warn_unused_result__;
5803
5804 STATIC I32      S_sublex_start(pTHX)
5805                         __attribute__warn_unused_result__;
5806
5807 STATIC char *   S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append)
5808                         __attribute__warn_unused_result__
5809                         __attribute__nonnull__(pTHX_1)
5810                         __attribute__nonnull__(pTHX_2);
5811 #define PERL_ARGS_ASSERT_FILTER_GETS    \
5812         assert(sv); assert(fp)
5813
5814 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
5815                         __attribute__warn_unused_result__
5816                         __attribute__nonnull__(pTHX_1);
5817 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
5818         assert(pkgname)
5819
5820 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
5821                         __attribute__warn_unused_result__
5822                         __attribute__nonnull__(pTHX_2);
5823 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
5824         assert(s)
5825
5826 STATIC SV*      S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen)
5827                         __attribute__nonnull__(pTHX_3)
5828                         __attribute__nonnull__(pTHX_5);
5829 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
5830         assert(key); assert(sv)
5831
5832 STATIC int      S_ao(pTHX_ int toketype);
5833 #  if defined(PERL_CR_FILTER)
5834 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5835 STATIC void     S_strip_return(pTHX_ SV *sv)
5836                         __attribute__nonnull__(pTHX_1);
5837 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
5838         assert(sv)
5839
5840 #  endif
5841 #  if defined(DEBUGGING)
5842 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp)
5843                         __attribute__nonnull__(pTHX_2);
5844 #define PERL_ARGS_ASSERT_TOKEREPORT     \
5845         assert(lvalp)
5846
5847 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
5848                         __attribute__nonnull__(pTHX_1)
5849                         __attribute__nonnull__(pTHX_2);
5850 #define PERL_ARGS_ASSERT_PRINTBUF       \
5851         assert(fmt); assert(s)
5852
5853 #  endif
5854 #endif
5855
5856 #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
5857 STATIC bool     S_isa_lookup(pTHX_ HV *stash, const char * const name)
5858                         __attribute__nonnull__(pTHX_1)
5859                         __attribute__nonnull__(pTHX_2);
5860 #define PERL_ARGS_ASSERT_ISA_LOOKUP     \
5861         assert(stash); assert(name)
5862
5863 STATIC HV *     S_get_isa_hash(pTHX_ HV *const stash)
5864                         __attribute__nonnull__(pTHX_1);
5865 #define PERL_ARGS_ASSERT_GET_ISA_HASH   \
5866         assert(stash)
5867
5868 #endif
5869
5870 #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
5871 #if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE)
5872 STATIC char*    S_stdize_locale(pTHX_ char* locs)
5873                         __attribute__nonnull__(pTHX_1);
5874 #define PERL_ARGS_ASSERT_STDIZE_LOCALE  \
5875         assert(locs)
5876
5877 #endif
5878 #endif
5879
5880 #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
5881 STATIC const COP*       S_closest_cop(pTHX_ const COP *cop, const OP *o)
5882                         __attribute__nonnull__(pTHX_1);
5883 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
5884         assert(cop)
5885
5886 STATIC SV*      S_mess_alloc(pTHX);
5887 STATIC const char *     S_vdie_croak_common(pTHX_ const char *pat, va_list *args, STRLEN *msglen, I32* utf8);
5888 STATIC bool     S_vdie_common(pTHX_ const char *message, STRLEN msglen, I32 utf8, bool warn);
5889 STATIC char *   S_write_no_mem(pTHX)
5890                         __attribute__noreturn__;
5891
5892 #if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
5893 STATIC void     S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname)
5894                         __attribute__nonnull__(4)
5895                         __attribute__nonnull__(8)
5896                         __attribute__nonnull__(10);
5897 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
5898         assert(type_name); assert(filename); assert(funcname)
5899
5900 #endif
5901 #endif
5902
5903 #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT)
5904 STATIC NV       S_mulexp10(NV value, I32 exponent);
5905 #endif
5906
5907 #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT)
5908 STATIC STRLEN   S_is_utf8_char_slow(const U8 *s, const STRLEN len)
5909                         __attribute__warn_unused_result__
5910                         __attribute__nonnull__(1);
5911 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_SLOW      \
5912         assert(s)
5913
5914 STATIC bool     S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname)
5915                         __attribute__warn_unused_result__
5916                         __attribute__nonnull__(pTHX_1)
5917                         __attribute__nonnull__(pTHX_2)
5918                         __attribute__nonnull__(pTHX_3);
5919 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
5920         assert(p); assert(swash); assert(swashname)
5921
5922 STATIC SV*      S_swash_get(pTHX_ SV* swash, UV start, UV span)
5923                         __attribute__warn_unused_result__
5924                         __attribute__nonnull__(pTHX_1);
5925 #define PERL_ARGS_ASSERT_SWASH_GET      \
5926         assert(swash)
5927
5928 #endif
5929
5930 START_EXTERN_C
5931
5932 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags)
5933                         __attribute__nonnull__(pTHX_1);
5934 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
5935         assert(dstr)
5936
5937 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags)
5938                         __attribute__nonnull__(pTHX_1)
5939                         __attribute__nonnull__(pTHX_2);
5940 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
5941         assert(dstr); assert(sstr)
5942
5943 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
5944                         __attribute__nonnull__(pTHX_1);
5945 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
5946         assert(dsv)
5947
5948 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags)
5949                         __attribute__nonnull__(pTHX_1); */
5950
5951 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra)
5952                         __attribute__nonnull__(pTHX_1);
5953 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
5954         assert(sv)
5955
5956 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
5957                         __attribute__nonnull__(pTHX_1);
5958 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
5959         assert(sv)
5960
5961 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
5962                         __attribute__nonnull__(pTHX_1)
5963                         __attribute__nonnull__(pTHX_2);
5964 #define PERL_ARGS_ASSERT_SV_COPYPV      \
5965         assert(dsv); assert(ssv)
5966
5967 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value)
5968                         __attribute__nonnull__(pTHX_1)
5969                         __attribute__nonnull__(pTHX_2);
5970 #define PERL_ARGS_ASSERT_MY_ATOF2       \
5971         assert(s); assert(value)
5972
5973 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
5974 PERL_CALLCONV int       Perl_my_dirfd(pTHX_ DIR* dir);
5975 #ifdef PERL_OLD_COPY_ON_WRITE
5976 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr)
5977                         __attribute__nonnull__(pTHX_2);
5978 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
5979         assert(sstr)
5980
5981 #endif
5982
5983 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
5984
5985 #if defined(USE_PERLIO) && !defined(USE_SFIO)
5986 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
5987 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
5988 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
5989 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
5990 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
5991 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
5992 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
5993 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt);
5994 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt);
5995 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
5996 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count)
5997                         __attribute__nonnull__(pTHX_2);
5998 #define PERL_ARGS_ASSERT_PERLIO_READ    \
5999         assert(vbuf)
6000
6001 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
6002                         __attribute__nonnull__(pTHX_2);
6003 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
6004         assert(vbuf)
6005
6006 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
6007                         __attribute__nonnull__(pTHX_2);
6008 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
6009         assert(vbuf)
6010
6011 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
6012 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
6013
6014 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
6015 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
6016 PERL_CALLCONV int       Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
6017                         __attribute__warn_unused_result__;
6018
6019 PERL_CALLCONV int       Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
6020                         __attribute__warn_unused_result__;
6021
6022
6023 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
6024                         __attribute__warn_unused_result__;
6025
6026 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
6027                         __attribute__warn_unused_result__;
6028
6029 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
6030                         __attribute__warn_unused_result__;
6031
6032 #endif /* PERLIO_LAYERS */
6033
6034 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
6035 #if defined(PERL_IN_DEB_C) || defined(PERL_DECL_PROT)
6036 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max)
6037                         __attribute__nonnull__(pTHX_1);
6038 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
6039         assert(stack_base)
6040
6041 #endif
6042
6043 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
6044                         __attribute__malloc__
6045                         __attribute__warn_unused_result__;
6046
6047 PERL_CALLCONV void      Perl_pad_undef(pTHX_ CV* cv)
6048                         __attribute__nonnull__(pTHX_1);
6049 #define PERL_ARGS_ASSERT_PAD_UNDEF      \
6050         assert(cv)
6051
6052 PERL_CALLCONV PADOFFSET Perl_pad_add_name(pTHX_ const char *name, HV* typestash, HV* ourstash, bool clone, bool state)
6053                         __attribute__nonnull__(pTHX_1);
6054 #define PERL_ARGS_ASSERT_PAD_ADD_NAME   \
6055         assert(name)
6056
6057 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ SV* sv, OPCODE op_type)
6058                         __attribute__nonnull__(pTHX_1);
6059 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
6060         assert(sv)
6061
6062 PERL_CALLCONV void      Perl_pad_check_dup(pTHX_ const char* name, bool is_our, const HV* ourstash)
6063                         __attribute__nonnull__(pTHX_1)
6064                         __attribute__nonnull__(pTHX_3);
6065 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
6066         assert(name); assert(ourstash)
6067
6068 #ifdef DEBUGGING
6069 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv)
6070                         __attribute__nonnull__(pTHX_2);
6071 #define PERL_ARGS_ASSERT_PAD_SETSV      \
6072         assert(sv)
6073
6074 #endif
6075 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
6076 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
6077 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
6078                         __attribute__nonnull__(pTHX_2);
6079 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
6080         assert(file)
6081
6082 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
6083                         __attribute__nonnull__(pTHX_1)
6084                         __attribute__nonnull__(pTHX_2)
6085                         __attribute__nonnull__(pTHX_3);
6086 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
6087         assert(padlist); assert(old_cv); assert(new_cv)
6088
6089
6090 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
6091                         __attribute__nonnull__(pTHX_1);
6092 #define PERL_ARGS_ASSERT_PAD_PUSH       \
6093         assert(padlist)
6094
6095 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
6096                         __attribute__warn_unused_result__;
6097
6098
6099 #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
6100 STATIC PADOFFSET        S_pad_findlex(pTHX_ const char *name, const CV* cv, U32 seq, int warn, SV** out_capture, SV** out_name_sv, int *out_flags)
6101                         __attribute__nonnull__(pTHX_1)
6102                         __attribute__nonnull__(pTHX_2)
6103                         __attribute__nonnull__(pTHX_6)
6104                         __attribute__nonnull__(pTHX_7);
6105 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
6106         assert(name); assert(cv); assert(out_name_sv); assert(out_flags)
6107
6108 #  if defined(DEBUGGING)
6109 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title)
6110                         __attribute__nonnull__(pTHX_1)
6111                         __attribute__nonnull__(pTHX_2);
6112 #define PERL_ARGS_ASSERT_CV_DUMP        \
6113         assert(cv); assert(title)
6114
6115 #  endif
6116 #endif
6117 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
6118                         __attribute__warn_unused_result__;
6119
6120 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
6121 #if defined(DEBUGGING)
6122 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
6123                         __attribute__warn_unused_result__
6124                         __attribute__nonnull__(pTHX_1);
6125 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
6126         assert(s)
6127
6128 #endif
6129 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val)
6130                         __attribute__nonnull__(pTHX_1);
6131 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
6132         assert(sv)
6133
6134 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv)
6135                         __attribute__nonnull__(pTHX_1);
6136 #define PERL_ARGS_ASSERT_HV_ASSERT      \
6137         assert(hv)
6138
6139
6140 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
6141                         __attribute__warn_unused_result__
6142                         __attribute__nonnull__(pTHX_1);
6143 #define PERL_ARGS_ASSERT_HV_SCALAR      \
6144         assert(hv)
6145
6146 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
6147                         __attribute__warn_unused_result__
6148                         __attribute__nonnull__(pTHX_1);
6149 #define PERL_ARGS_ASSERT_HV_RITER_P     \
6150         assert(hv)
6151
6152 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
6153                         __attribute__warn_unused_result__
6154                         __attribute__nonnull__(pTHX_1);
6155 #define PERL_ARGS_ASSERT_HV_EITER_P     \
6156         assert(hv)
6157
6158 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter)
6159                         __attribute__nonnull__(pTHX_1);
6160 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
6161         assert(hv)
6162
6163 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter)
6164                         __attribute__nonnull__(pTHX_1);
6165 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
6166         assert(hv)
6167
6168 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
6169                         __attribute__nonnull__(pTHX_1);
6170 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
6171         assert(hv)
6172
6173 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv)
6174                         __attribute__nonnull__(pTHX_1);
6175 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
6176         assert(hv)
6177
6178 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6179 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv)
6180                         __attribute__nonnull__(pTHX_1);
6181 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
6182         assert(hv)
6183
6184 #endif
6185 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv)
6186                         __attribute__nonnull__(pTHX_1);
6187 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
6188         assert(hv)
6189
6190 PERL_CALLCONV I32*      Perl_hv_placeholders_p(pTHX_ HV *hv)
6191                         __attribute__warn_unused_result__
6192                         __attribute__nonnull__(pTHX_1);
6193 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
6194         assert(hv)
6195
6196 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
6197                         __attribute__warn_unused_result__
6198                         __attribute__nonnull__(pTHX_1);
6199 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
6200         assert(hv)
6201
6202 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph)
6203                         __attribute__nonnull__(pTHX_1);
6204 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
6205         assert(hv)
6206
6207
6208 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
6209                         __attribute__nonnull__(pTHX_1)
6210                         __attribute__nonnull__(pTHX_2);
6211 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
6212         assert(hv); assert(mg)
6213
6214
6215 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6216 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val)
6217                         __attribute__nonnull__(pTHX_2);
6218 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
6219         assert(val)
6220
6221 STATIC I32      S_find_array_subscript(pTHX_ const AV *const av, const SV *const val)
6222                         __attribute__nonnull__(pTHX_2);
6223 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
6224         assert(val)
6225
6226 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool top);
6227 #endif
6228
6229 #ifdef PERL_NEED_MY_HTOLE16
6230 PERL_CALLCONV U16       Perl_my_htole16(U16 n);
6231 #endif
6232 #ifdef PERL_NEED_MY_LETOH16
6233 PERL_CALLCONV U16       Perl_my_letoh16(U16 n);
6234 #endif
6235 #ifdef PERL_NEED_MY_HTOBE16
6236 PERL_CALLCONV U16       Perl_my_htobe16(U16 n);
6237 #endif
6238 #ifdef PERL_NEED_MY_BETOH16
6239 PERL_CALLCONV U16       Perl_my_betoh16(U16 n);
6240 #endif
6241 #ifdef PERL_NEED_MY_HTOLE32
6242 PERL_CALLCONV U32       Perl_my_htole32(U32 n);
6243 #endif
6244 #ifdef PERL_NEED_MY_LETOH32
6245 PERL_CALLCONV U32       Perl_my_letoh32(U32 n);
6246 #endif
6247 #ifdef PERL_NEED_MY_HTOBE32
6248 PERL_CALLCONV U32       Perl_my_htobe32(U32 n);
6249 #endif
6250 #ifdef PERL_NEED_MY_BETOH32
6251 PERL_CALLCONV U32       Perl_my_betoh32(U32 n);
6252 #endif
6253 #ifdef PERL_NEED_MY_HTOLE64
6254 PERL_CALLCONV U64       Perl_my_htole64(U64 n);
6255 #endif
6256 #ifdef PERL_NEED_MY_LETOH64
6257 PERL_CALLCONV U64       Perl_my_letoh64(U64 n);
6258 #endif
6259 #ifdef PERL_NEED_MY_HTOBE64
6260 PERL_CALLCONV U64       Perl_my_htobe64(U64 n);
6261 #endif
6262 #ifdef PERL_NEED_MY_BETOH64
6263 PERL_CALLCONV U64       Perl_my_betoh64(U64 n);
6264 #endif
6265
6266 #ifdef PERL_NEED_MY_HTOLES
6267 PERL_CALLCONV short     Perl_my_htoles(short n);
6268 #endif
6269 #ifdef PERL_NEED_MY_LETOHS
6270 PERL_CALLCONV short     Perl_my_letohs(short n);
6271 #endif
6272 #ifdef PERL_NEED_MY_HTOBES
6273 PERL_CALLCONV short     Perl_my_htobes(short n);
6274 #endif
6275 #ifdef PERL_NEED_MY_BETOHS
6276 PERL_CALLCONV short     Perl_my_betohs(short n);
6277 #endif
6278 #ifdef PERL_NEED_MY_HTOLEI
6279 PERL_CALLCONV int       Perl_my_htolei(int n);
6280 #endif
6281 #ifdef PERL_NEED_MY_LETOHI
6282 PERL_CALLCONV int       Perl_my_letohi(int n);
6283 #endif
6284 #ifdef PERL_NEED_MY_HTOBEI
6285 PERL_CALLCONV int       Perl_my_htobei(int n);
6286 #endif
6287 #ifdef PERL_NEED_MY_BETOHI
6288 PERL_CALLCONV int       Perl_my_betohi(int n);
6289 #endif
6290 #ifdef PERL_NEED_MY_HTOLEL
6291 PERL_CALLCONV long      Perl_my_htolel(long n);
6292 #endif
6293 #ifdef PERL_NEED_MY_LETOHL
6294 PERL_CALLCONV long      Perl_my_letohl(long n);
6295 #endif
6296 #ifdef PERL_NEED_MY_HTOBEL
6297 PERL_CALLCONV long      Perl_my_htobel(long n);
6298 #endif
6299 #ifdef PERL_NEED_MY_BETOHL
6300 PERL_CALLCONV long      Perl_my_betohl(long n);
6301 #endif
6302
6303 PERL_CALLCONV void      Perl_my_swabn(void* ptr, int n)
6304                         __attribute__nonnull__(1);
6305 #define PERL_ARGS_ASSERT_MY_SWABN       \
6306         assert(ptr)
6307
6308
6309 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type)
6310                         __attribute__nonnull__(pTHX_1);
6311 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
6312         assert(name)
6313
6314 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type)
6315                         __attribute__nonnull__(pTHX_1);
6316 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
6317         assert(name)
6318
6319 PERL_CALLCONV bool      Perl_is_gv_magical_sv(pTHX_ SV *const name_sv, U32 flags)
6320                         __attribute__warn_unused_result__
6321                         __attribute__nonnull__(pTHX_1);
6322 #define PERL_ARGS_ASSERT_IS_GV_MAGICAL_SV       \
6323         assert(name_sv)
6324
6325
6326 PERL_CALLCONV bool      Perl_stashpv_hvname_match(pTHX_ const COP *c, const HV *hv)
6327                         __attribute__warn_unused_result__
6328                         __attribute__nonnull__(pTHX_1)
6329                         __attribute__nonnull__(pTHX_2);
6330 #define PERL_ARGS_ASSERT_STASHPV_HVNAME_MATCH   \
6331         assert(c); assert(hv)
6332
6333
6334 #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
6335 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv)
6336                         __attribute__nonnull__(pTHX_1);
6337 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
6338         assert(sv)
6339
6340 #endif
6341
6342 #ifdef PERL_DONT_CREATE_GVSV
6343 /* PERL_CALLCONV GV*    Perl_gv_SVadd(pTHX_ GV *gv); */
6344 #endif
6345 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w);
6346 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w);
6347 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
6348                         __attribute__malloc__
6349                         __attribute__warn_unused_result__
6350                         __attribute__nonnull__(pTHX_2);
6351 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
6352         assert(bits)
6353
6354
6355 PERL_CALLCONV void      Perl_offer_nice_chunk(pTHX_ void *const chunk, const U32 chunk_size)
6356                         __attribute__nonnull__(pTHX_1);
6357 #define PERL_ARGS_ASSERT_OFFER_NICE_CHUNK       \
6358         assert(chunk)
6359
6360
6361 #ifndef SPRINTF_RETURNS_STRLEN
6362 PERL_CALLCONV int       Perl_my_sprintf(char *buffer, const char *pat, ...)
6363                         __attribute__nonnull__(1)
6364                         __attribute__nonnull__(2);
6365 #define PERL_ARGS_ASSERT_MY_SPRINTF     \
6366         assert(buffer); assert(pat)
6367
6368 #endif
6369
6370 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
6371                         __attribute__format__(__printf__,3,4)
6372                         __attribute__nonnull__(1)
6373                         __attribute__nonnull__(3);
6374 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
6375         assert(buffer); assert(format)
6376
6377 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
6378                         __attribute__nonnull__(1)
6379                         __attribute__nonnull__(3);
6380 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
6381         assert(buffer); assert(format)
6382
6383
6384 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
6385
6386 #ifdef PERL_IMPLICIT_CONTEXT
6387 #ifdef PERL_GLOBAL_STRUCT_PRIVATE
6388 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size)
6389                         __attribute__nonnull__(pTHX_1);
6390 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
6391         assert(my_cxt_key)
6392
6393 PERL_CALLCONV int       Perl_my_cxt_index(pTHX_ const char *my_cxt_key)
6394                         __attribute__nonnull__(pTHX_1);
6395 #define PERL_ARGS_ASSERT_MY_CXT_INDEX   \
6396         assert(my_cxt_key)
6397
6398 #else
6399 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *index, size_t size)
6400                         __attribute__nonnull__(pTHX_1);
6401 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
6402         assert(index)
6403
6404 #endif
6405 #endif
6406
6407 #ifndef HAS_STRLCAT
6408 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
6409 #endif
6410
6411 #ifndef HAS_STRLCPY
6412 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
6413 #endif
6414
6415 #ifdef PERL_MAD
6416 PERL_CALLCONV void      Perl_pad_peg(const char* s)
6417                         __attribute__nonnull__(1);
6418 #define PERL_ARGS_ASSERT_PAD_PEG        \
6419         assert(s)
6420
6421 #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
6422 STATIC void     S_xmldump_attr(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
6423                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
6424                         __attribute__nonnull__(pTHX_2)
6425                         __attribute__nonnull__(pTHX_3);
6426 #define PERL_ARGS_ASSERT_XMLDUMP_ATTR   \
6427         assert(file); assert(pat)
6428
6429 #endif
6430 PERL_CALLCONV void      Perl_xmldump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
6431                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
6432                         __attribute__nonnull__(pTHX_2)
6433                         __attribute__nonnull__(pTHX_3);
6434 #define PERL_ARGS_ASSERT_XMLDUMP_INDENT \
6435         assert(file); assert(pat)
6436
6437 PERL_CALLCONV void      Perl_xmldump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
6438                         __attribute__nonnull__(pTHX_2)
6439                         __attribute__nonnull__(pTHX_3);
6440 #define PERL_ARGS_ASSERT_XMLDUMP_VINDENT        \
6441         assert(file); assert(pat)
6442
6443 PERL_CALLCONV void      Perl_xmldump_all(pTHX);
6444 PERL_CALLCONV void      Perl_xmldump_all_perl(pTHX_ bool justperl);
6445 PERL_CALLCONV void      Perl_xmldump_packsubs(pTHX_ const HV* stash)
6446                         __attribute__nonnull__(pTHX_1);
6447 #define PERL_ARGS_ASSERT_XMLDUMP_PACKSUBS       \
6448         assert(stash)
6449
6450 PERL_CALLCONV void      Perl_xmldump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
6451                         __attribute__nonnull__(pTHX_1);
6452 #define PERL_ARGS_ASSERT_XMLDUMP_PACKSUBS_PERL  \
6453         assert(stash)
6454
6455 PERL_CALLCONV void      Perl_xmldump_sub(pTHX_ const GV* gv)
6456                         __attribute__nonnull__(pTHX_1);
6457 #define PERL_ARGS_ASSERT_XMLDUMP_SUB    \
6458         assert(gv)
6459
6460 PERL_CALLCONV void      Perl_xmldump_sub_perl(pTHX_ const GV* gv, bool justperl)
6461                         __attribute__nonnull__(pTHX_1);
6462 #define PERL_ARGS_ASSERT_XMLDUMP_SUB_PERL       \
6463         assert(gv)
6464
6465 PERL_CALLCONV void      Perl_xmldump_form(pTHX_ const GV* gv)
6466                         __attribute__nonnull__(pTHX_1);
6467 #define PERL_ARGS_ASSERT_XMLDUMP_FORM   \
6468         assert(gv)
6469
6470 PERL_CALLCONV void      Perl_xmldump_eval(pTHX);
6471 PERL_CALLCONV char*     Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv)
6472                         __attribute__nonnull__(pTHX_1)
6473                         __attribute__nonnull__(pTHX_2);
6474 #define PERL_ARGS_ASSERT_SV_CATXMLSV    \
6475         assert(dsv); assert(ssv)
6476
6477 PERL_CALLCONV char*     Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8)
6478                         __attribute__nonnull__(pTHX_1)
6479                         __attribute__nonnull__(pTHX_2);
6480 #define PERL_ARGS_ASSERT_SV_CATXMLPVN   \
6481         assert(dsv); assert(pv)
6482
6483 PERL_CALLCONV char*     Perl_sv_xmlpeek(pTHX_ SV* sv)
6484                         __attribute__nonnull__(pTHX_1);
6485 #define PERL_ARGS_ASSERT_SV_XMLPEEK     \
6486         assert(sv)
6487
6488 PERL_CALLCONV void      Perl_do_pmop_xmldump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
6489                         __attribute__nonnull__(pTHX_2);
6490 #define PERL_ARGS_ASSERT_DO_PMOP_XMLDUMP        \
6491         assert(file)
6492
6493 PERL_CALLCONV void      Perl_pmop_xmldump(pTHX_ const PMOP* pm);
6494 PERL_CALLCONV void      Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o)
6495                         __attribute__nonnull__(pTHX_2);
6496 #define PERL_ARGS_ASSERT_DO_OP_XMLDUMP  \
6497         assert(file)
6498
6499 PERL_CALLCONV void      Perl_op_xmldump(pTHX_ const OP *o)
6500                         __attribute__nonnull__(pTHX_1);
6501 #define PERL_ARGS_ASSERT_OP_XMLDUMP     \
6502         assert(o)
6503
6504
6505 PERL_CALLCONV TOKEN*    Perl_newTOKEN(pTHX_ I32 optype, YYSTYPE lval, MADPROP* madprop);
6506 PERL_CALLCONV void      Perl_token_free(pTHX_ TOKEN *tk)
6507                         __attribute__nonnull__(pTHX_1);
6508 #define PERL_ARGS_ASSERT_TOKEN_FREE     \
6509         assert(tk)
6510
6511 PERL_CALLCONV void      Perl_token_getmad(pTHX_ TOKEN *tk, OP *o, char slot)
6512                         __attribute__nonnull__(pTHX_1);
6513 #define PERL_ARGS_ASSERT_TOKEN_GETMAD   \
6514         assert(tk)
6515
6516 PERL_CALLCONV void      Perl_op_getmad_weak(pTHX_ OP* from, OP* o, char slot);
6517 PERL_CALLCONV void      Perl_op_getmad(pTHX_ OP* from, OP* o, char slot);
6518 PERL_CALLCONV void      Perl_prepend_madprops(pTHX_ MADPROP* mp, OP* o, char slot);
6519 PERL_CALLCONV void      Perl_append_madprops(pTHX_ MADPROP* tm, OP* o, char slot);
6520 PERL_CALLCONV void      Perl_addmad(pTHX_ MADPROP* tm, MADPROP** root, char slot);
6521 PERL_CALLCONV MADPROP*  Perl_newMADsv(pTHX_ char key, SV* sv)
6522                         __attribute__nonnull__(pTHX_2);
6523 #define PERL_ARGS_ASSERT_NEWMADSV       \
6524         assert(sv)
6525
6526 PERL_CALLCONV MADPROP*  Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen);
6527 PERL_CALLCONV void      Perl_mad_free(pTHX_ MADPROP* mp);
6528
6529 #  if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
6530 STATIC char*    S_skipspace0(pTHX_ char *s)
6531                         __attribute__nonnull__(pTHX_1);
6532 #define PERL_ARGS_ASSERT_SKIPSPACE0     \
6533         assert(s)
6534
6535 STATIC char*    S_skipspace1(pTHX_ char *s)
6536                         __attribute__nonnull__(pTHX_1);
6537 #define PERL_ARGS_ASSERT_SKIPSPACE1     \
6538         assert(s)
6539
6540 STATIC char*    S_skipspace2(pTHX_ char *s, SV **sv)
6541                         __attribute__nonnull__(pTHX_1);
6542 #define PERL_ARGS_ASSERT_SKIPSPACE2     \
6543         assert(s)
6544
6545 STATIC void     S_start_force(pTHX_ int where);
6546 STATIC void     S_curmad(pTHX_ char slot, SV *sv);
6547 #  endif
6548 PERL_CALLCONV int       Perl_madlex(pTHX);
6549 PERL_CALLCONV int       Perl_madparse(pTHX);
6550 #endif
6551 #if !defined(HAS_SIGNBIT)
6552 PERL_CALLCONV int       Perl_signbit(NV f)
6553                         __attribute__pure__;
6554
6555 #endif
6556
6557 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv)
6558                         __attribute__nonnull__(pTHX_1)
6559                         __attribute__nonnull__(pTHX_2);
6560 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
6561         assert(c); assert(sv)
6562
6563 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
6564
6565 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which)
6566                         __attribute__nonnull__(pTHX_1)
6567                         __attribute__nonnull__(pTHX_2);
6568 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
6569         assert(smeta); assert(which)
6570
6571 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data)
6572                         __attribute__nonnull__(pTHX_1)
6573                         __attribute__nonnull__(pTHX_2)
6574                         __attribute__nonnull__(pTHX_3);
6575 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
6576         assert(smeta); assert(which); assert(data)
6577
6578 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name)
6579                         __attribute__nonnull__(pTHX_1);
6580 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
6581         assert(name)
6582
6583 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro)
6584                         __attribute__nonnull__(pTHX_1);
6585 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
6586         assert(mro)
6587
6588 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name)
6589                         __attribute__nonnull__(pTHX_1)
6590                         __attribute__nonnull__(pTHX_2);
6591 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
6592         assert(meta); assert(name)
6593
6594 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash)
6595                         __attribute__nonnull__(pTHX_1);
6596 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
6597         assert(stash)
6598
6599 #if defined(USE_ITHREADS)
6600 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
6601                         __attribute__nonnull__(pTHX_1)
6602                         __attribute__nonnull__(pTHX_2);
6603 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
6604         assert(smeta); assert(param)
6605
6606 #endif
6607 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash)
6608                         __attribute__nonnull__(pTHX_1);
6609 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
6610         assert(stash)
6611
6612 #if defined(PERL_IN_MRO_C) || defined(PERL_DECL_PROT)
6613 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level)
6614                         __attribute__nonnull__(pTHX_1);
6615 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
6616         assert(stash)
6617
6618 #endif
6619 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash)
6620                         __attribute__nonnull__(pTHX_1);
6621 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
6622         assert(stash)
6623
6624 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash)
6625                         __attribute__nonnull__(pTHX_1);
6626 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
6627         assert(stash)
6628
6629 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
6630 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv)
6631                         __attribute__nonnull__(1)
6632                         __attribute__nonnull__(2);
6633 #define PERL_ARGS_ASSERT_SYS_INIT       \
6634         assert(argc); assert(argv)
6635
6636 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env)
6637                         __attribute__nonnull__(1)
6638                         __attribute__nonnull__(2)
6639                         __attribute__nonnull__(3);
6640 #define PERL_ARGS_ASSERT_SYS_INIT3      \
6641         assert(argc); assert(argv); assert(env)
6642
6643 PERL_CALLCONV void      Perl_sys_term(void);
6644 PERL_CALLCONV const char *      Perl_fetch_cop_label(pTHX_ struct refcounted_he *const chain, STRLEN *len, U32 *flags);
6645 PERL_CALLCONV struct refcounted_he *    Perl_store_cop_label(pTHX_ struct refcounted_he *const chain, const char *label)
6646                         __attribute__nonnull__(pTHX_2);
6647 #define PERL_ARGS_ASSERT_STORE_COP_LABEL        \
6648         assert(label)
6649
6650
6651 END_EXTERN_C
6652 /*
6653  * ex: set ts=8 sts=4 sw=4 noet:
6654  */
6655 /* ex: set ro: */