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