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