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