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