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