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