Move OP prototypes from pp_proto.h to proto.h
[perl.git] / proto.h
1 /*  -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6  *    2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, by Larry Wall and others
7  *
8  *    You may distribute under the terms of either the GNU General Public
9  *    License or the Artistic License, as specified in the README file.
10  *
11  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
12  * This file is built by embed.pl from data in embed.fnc, embed.pl,
13  * pp.sym, intrpvar.h, and perlvars.h.
14  * Any changes made here will be lost!
15  *
16  * Edit those files and run 'make regen_headers' to effect changes.
17  */
18
19 START_EXTERN_C
20
21 #if defined(PERL_IMPLICIT_SYS)
22 PERL_CALLCONV PerlInterpreter*  perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP)
23                         __attribute__nonnull__(1)
24                         __attribute__nonnull__(2)
25                         __attribute__nonnull__(3)
26                         __attribute__nonnull__(4)
27                         __attribute__nonnull__(5)
28                         __attribute__nonnull__(6)
29                         __attribute__nonnull__(7)
30                         __attribute__nonnull__(8)
31                         __attribute__nonnull__(9);
32 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
33         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
34
35 #endif
36 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
37 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl)
38                         __attribute__nonnull__(1);
39 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
40         assert(my_perl)
41
42 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl)
43                         __attribute__nonnull__(1);
44 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
45         assert(my_perl)
46
47 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl)
48                         __attribute__nonnull__(1);
49 #define PERL_ARGS_ASSERT_PERL_FREE      \
50         assert(my_perl)
51
52 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl)
53                         __attribute__nonnull__(1);
54 #define PERL_ARGS_ASSERT_PERL_RUN       \
55         assert(my_perl)
56
57 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
58                         __attribute__nonnull__(1);
59 #define PERL_ARGS_ASSERT_PERL_PARSE     \
60         assert(my_perl)
61
62 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
63                         __attribute__warn_unused_result__;
64
65 #if defined(USE_ITHREADS)
66 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags)
67                         __attribute__nonnull__(1);
68 #define PERL_ARGS_ASSERT_PERL_CLONE     \
69         assert(proto_perl)
70
71 #  if defined(PERL_IMPLICIT_SYS)
72 PERL_CALLCONV PerlInterpreter*  perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem* ipM, struct IPerlMem* ipMS, struct IPerlMem* ipMP, struct IPerlEnv* ipE, struct IPerlStdIO* ipStd, struct IPerlLIO* ipLIO, struct IPerlDir* ipD, struct IPerlSock* ipS, struct IPerlProc* ipP)
73                         __attribute__nonnull__(1)
74                         __attribute__nonnull__(3)
75                         __attribute__nonnull__(4)
76                         __attribute__nonnull__(5)
77                         __attribute__nonnull__(6)
78                         __attribute__nonnull__(7)
79                         __attribute__nonnull__(8)
80                         __attribute__nonnull__(9)
81                         __attribute__nonnull__(10)
82                         __attribute__nonnull__(11);
83 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
84         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
85
86 #  endif
87 #endif
88
89 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
90                         __attribute__malloc__
91                         __attribute__warn_unused_result__;
92
93 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
94                         __attribute__malloc__
95                         __attribute__warn_unused_result__;
96
97 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
98                         __attribute__malloc__
99                         __attribute__warn_unused_result__;
100
101 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
102 #if defined(MYMALLOC)
103 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
104                         __attribute__warn_unused_result__
105                         __attribute__nonnull__(1);
106 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
107         assert(p)
108
109 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
110                         __attribute__warn_unused_result__;
111
112 #endif
113
114 PERL_CALLCONV void*     Perl_get_context(void)
115                         __attribute__warn_unused_result__;
116
117 PERL_CALLCONV void      Perl_set_context(void *t)
118                         __attribute__nonnull__(1);
119 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
120         assert(t)
121
122
123 END_EXTERN_C
124
125 /* functions with flag 'n' should come before here */
126 START_EXTERN_C
127 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
128 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
129 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
130                         __attribute__nonnull__(pTHX_1)
131                         __attribute__nonnull__(pTHX_2);
132 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
133         assert(left); assert(right)
134
135 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
136                         __attribute__nonnull__(pTHX_1);
137 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
138         assert(stash)
139
140 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
141                         __attribute__warn_unused_result__;
142
143 PERL_CALLCONV OP*       Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last);
144 PERL_CALLCONV OP*       Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
145 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
146                         __attribute__nonnull__(pTHX_2)
147                         __attribute__nonnull__(pTHX_3);
148 #define PERL_ARGS_ASSERT_APPLY  \
149         assert(mark); assert(sp)
150
151 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
152                         __attribute__nonnull__(pTHX_1)
153                         __attribute__nonnull__(pTHX_2)
154                         __attribute__nonnull__(pTHX_3);
155 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
156         assert(stashpv); assert(cv); assert(attrstr)
157
158 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av)
159                         __attribute__nonnull__(pTHX_1);
160 #define PERL_ARGS_ASSERT_AV_CLEAR       \
161         assert(av)
162
163 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
164                         __attribute__nonnull__(pTHX_1);
165 #define PERL_ARGS_ASSERT_AV_DELETE      \
166         assert(av)
167
168 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, I32 key)
169                         __attribute__warn_unused_result__
170                         __attribute__nonnull__(pTHX_1);
171 #define PERL_ARGS_ASSERT_AV_EXISTS      \
172         assert(av)
173
174 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, I32 key)
175                         __attribute__nonnull__(pTHX_1);
176 #define PERL_ARGS_ASSERT_AV_EXTEND      \
177         assert(av)
178
179 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval)
180                         __attribute__warn_unused_result__
181                         __attribute__nonnull__(pTHX_1);
182 #define PERL_ARGS_ASSERT_AV_FETCH       \
183         assert(av)
184
185 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, I32 fill)
186                         __attribute__nonnull__(pTHX_1);
187 #define PERL_ARGS_ASSERT_AV_FILL        \
188         assert(av)
189
190 PERL_CALLCONV I32       Perl_av_len(pTHX_ AV *av)
191                         __attribute__warn_unused_result__
192                         __attribute__nonnull__(pTHX_1);
193 #define PERL_ARGS_ASSERT_AV_LEN \
194         assert(av)
195
196 PERL_CALLCONV AV*       Perl_av_make(pTHX_ I32 size, SV **strp)
197                         __attribute__warn_unused_result__
198                         __attribute__nonnull__(pTHX_2);
199 #define PERL_ARGS_ASSERT_AV_MAKE        \
200         assert(strp)
201
202 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av)
203                         __attribute__nonnull__(pTHX_1);
204 #define PERL_ARGS_ASSERT_AV_POP \
205         assert(av)
206
207 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
208                         __attribute__nonnull__(pTHX_1)
209                         __attribute__nonnull__(pTHX_2);
210 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
211         assert(avp); assert(val)
212
213 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val)
214                         __attribute__nonnull__(pTHX_1)
215                         __attribute__nonnull__(pTHX_2);
216 #define PERL_ARGS_ASSERT_AV_PUSH        \
217         assert(av); assert(val)
218
219 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av)
220                         __attribute__nonnull__(pTHX_1);
221 #define PERL_ARGS_ASSERT_AV_REIFY       \
222         assert(av)
223
224 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
225                         __attribute__warn_unused_result__
226                         __attribute__nonnull__(pTHX_1);
227 #define PERL_ARGS_ASSERT_AV_SHIFT       \
228         assert(av)
229
230 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, I32 key, SV *val)
231                         __attribute__nonnull__(pTHX_1);
232 #define PERL_ARGS_ASSERT_AV_STORE       \
233         assert(av)
234
235 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av)
236                         __attribute__nonnull__(pTHX_1);
237 #define PERL_ARGS_ASSERT_AV_UNDEF       \
238         assert(av)
239
240 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
241                         __attribute__nonnull__(pTHX_1)
242                         __attribute__nonnull__(pTHX_2);
243 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
244         assert(avp); assert(val)
245
246 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, I32 num)
247                         __attribute__nonnull__(pTHX_1);
248 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
249         assert(av)
250
251 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av)
252                         __attribute__nonnull__(pTHX_1);
253 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
254         assert(av)
255
256 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av)
257                         __attribute__nonnull__(pTHX_1);
258 #define PERL_ARGS_ASSERT_AV_ITER_P      \
259         assert(av)
260
261 #if defined(PERL_IN_AV_C)
262 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av)
263                         __attribute__nonnull__(pTHX_1);
264 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
265         assert(av)
266
267 #endif
268 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
269                         __attribute__warn_unused_result__
270                         __attribute__nonnull__(pTHX_2)
271                         __attribute__nonnull__(pTHX_3);
272 #define PERL_ARGS_ASSERT_BIND_MATCH     \
273         assert(left); assert(right)
274
275 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
276                         __attribute__warn_unused_result__;
277
278 PERL_CALLCONV I32       Perl_block_gimme(pTHX)
279                         __attribute__warn_unused_result__;
280
281 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
282                         __attribute__warn_unused_result__;
283
284 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk)
285                         __attribute__nonnull__(pTHX_1);
286 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
287         assert(hk)
288
289 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
290 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
291 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
292                         __attribute__nonnull__(pTHX_2);
293 #define PERL_ARGS_ASSERT_CALL_LIST      \
294         assert(paramList)
295
296 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
297 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
298                         __attribute__warn_unused_result__
299                         __attribute__nonnull__(pTHX_3);
300 #define PERL_ARGS_ASSERT_CANDO  \
301         assert(statbufp)
302
303 PERL_CALLCONV U32       Perl_cast_ulong(pTHX_ NV f)
304                         __attribute__warn_unused_result__;
305
306 PERL_CALLCONV I32       Perl_cast_i32(pTHX_ NV f)
307                         __attribute__warn_unused_result__;
308
309 PERL_CALLCONV IV        Perl_cast_iv(pTHX_ NV f)
310                         __attribute__warn_unused_result__;
311
312 PERL_CALLCONV UV        Perl_cast_uv(pTHX_ NV f)
313                         __attribute__warn_unused_result__;
314
315 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
316 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
317                         __attribute__warn_unused_result__;
318
319 #endif
320 PERL_CALLCONV OP*       Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
321                         __attribute__warn_unused_result__;
322
323 PERL_CALLCONV HV*       Perl_cop_hints_2hv(pTHX_ const COP *cop)
324                         __attribute__nonnull__(pTHX_1);
325 #define PERL_ARGS_ASSERT_COP_HINTS_2HV  \
326         assert(cop)
327
328 PERL_CALLCONV SV*       Perl_cop_hints_fetchpvn(pTHX_ const COP *cop, const char *key, STRLEN klen, int flags, U32 hash)
329                         __attribute__nonnull__(pTHX_1)
330                         __attribute__nonnull__(pTHX_2);
331 #define PERL_ARGS_ASSERT_COP_HINTS_FETCHPVN     \
332         assert(cop); assert(key)
333
334 /* PERL_CALLCONV SV*    cop_hints_fetchpvs(pTHX_ const COP *cop, const char *const key)
335                         __attribute__nonnull__(pTHX_1)
336                         __attribute__nonnull__(pTHX_2); */
337
338 /* PERL_CALLCONV SV*    cop_hints_fetchsv(pTHX_ const COP *cop, SV *keysv, U32 hash)
339                         __attribute__nonnull__(pTHX_1)
340                         __attribute__nonnull__(pTHX_2); */
341
342 PERL_CALLCONV PERL_CONTEXT*     Perl_create_eval_scope(pTHX_ U32 flags);
343 PERL_CALLCONV void      Perl_croak_sv(pTHX_ SV *baseex)
344                         __attribute__noreturn__
345                         __attribute__nonnull__(pTHX_1);
346 #define PERL_ARGS_ASSERT_CROAK_SV       \
347         assert(baseex)
348
349 PERL_CALLCONV void      Perl_croak(pTHX_ const char* pat, ...)
350                         __attribute__noreturn__
351                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
352
353 PERL_CALLCONV void      Perl_vcroak(pTHX_ const char* pat, va_list* args)
354                         __attribute__noreturn__;
355
356 PERL_CALLCONV void      Perl_croak_no_modify(pTHX)
357                         __attribute__noreturn__;
358
359 PERL_CALLCONV void      Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
360                         __attribute__noreturn__
361                         __attribute__nonnull__(pTHX_1)
362                         __attribute__nonnull__(pTHX_2);
363 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
364         assert(cv); assert(params)
365
366
367 #if defined(PERL_IMPLICIT_CONTEXT)
368 PERL_CALLCONV void      Perl_croak_nocontext(const char* pat, ...)
369                         __attribute__noreturn__
370                         __attribute__format__null_ok__(__printf__,1,2);
371
372 PERL_CALLCONV OP*       Perl_die_nocontext(const char* pat, ...)
373                         __attribute__format__null_ok__(__printf__,1,2);
374
375 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
376                         __attribute__format__(__printf__,1,2)
377                         __attribute__nonnull__(1);
378 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
379         assert(pat)
380
381 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
382                         __attribute__format__(__printf__,1,2)
383                         __attribute__nonnull__(1);
384 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
385         assert(pat)
386
387 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
388                         __attribute__nonnull__(2);
389 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
390         assert(name)
391
392 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
393                         __attribute__format__(__printf__,1,2)
394                         __attribute__nonnull__(1);
395 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
396         assert(pat)
397
398 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
399                         __attribute__format__(__printf__,1,2)
400                         __attribute__nonnull__(1);
401 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
402         assert(pat)
403
404 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
405                         __attribute__format__(__printf__,2,3)
406                         __attribute__nonnull__(2);
407 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
408         assert(pat)
409
410 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
411                         __attribute__format__(__printf__,1,2)
412                         __attribute__nonnull__(1);
413 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
414         assert(pat)
415
416 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
417                         __attribute__format__(__printf__,2,3)
418                         __attribute__nonnull__(1)
419                         __attribute__nonnull__(2);
420 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
421         assert(sv); assert(pat)
422
423 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
424                         __attribute__format__(__printf__,2,3)
425                         __attribute__nonnull__(1)
426                         __attribute__nonnull__(2);
427 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
428         assert(sv); assert(pat)
429
430 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
431                         __attribute__format__(__printf__,2,3)
432                         __attribute__nonnull__(1)
433                         __attribute__nonnull__(2);
434 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
435         assert(sv); assert(pat)
436
437 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
438                         __attribute__format__(__printf__,2,3)
439                         __attribute__nonnull__(1)
440                         __attribute__nonnull__(2);
441 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
442         assert(sv); assert(pat)
443
444 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
445                         __attribute__format__(__printf__,2,3)
446                         __attribute__nonnull__(1)
447                         __attribute__nonnull__(2);
448 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
449         assert(stream); assert(format)
450
451 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
452                         __attribute__format__(__printf__,1,2)
453                         __attribute__nonnull__(1);
454 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
455         assert(format)
456
457 #endif
458 PERL_CALLCONV void      Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len)
459                         __attribute__nonnull__(pTHX_1);
460 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \
461         assert(cv)
462
463 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto)
464                         __attribute__nonnull__(pTHX_1);
465 #define PERL_ARGS_ASSERT_CV_CLONE       \
466         assert(proto)
467
468 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
469                         __attribute__warn_unused_result__
470                         __attribute__nonnull__(pTHX_1);
471 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
472         assert(gv)
473
474 PERL_CALLCONV SV*       Perl_cv_const_sv(pTHX_ const CV *const cv)
475                         __attribute__warn_unused_result__;
476
477 PERL_CALLCONV SV*       Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
478                         __attribute__warn_unused_result__;
479
480 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv)
481                         __attribute__nonnull__(pTHX_1);
482 #define PERL_ARGS_ASSERT_CV_UNDEF       \
483         assert(cv)
484
485 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
486                         __attribute__nonnull__(pTHX_1);
487 #define PERL_ARGS_ASSERT_CX_DUMP        \
488         assert(cx)
489
490 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
491 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp)
492                         __attribute__nonnull__(pTHX_1);
493 #define PERL_ARGS_ASSERT_FILTER_DEL     \
494         assert(funcp)
495
496 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
497                         __attribute__warn_unused_result__
498                         __attribute__nonnull__(pTHX_2);
499 #define PERL_ARGS_ASSERT_FILTER_READ    \
500         assert(buf_sv)
501
502 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
503                         __attribute__warn_unused_result__
504                         __attribute__pure__;
505
506 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
507                         __attribute__warn_unused_result__
508                         __attribute__pure__;
509
510 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
511                         __attribute__warn_unused_result__
512                         __attribute__pure__;
513
514 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
515                         __attribute__warn_unused_result__
516                         __attribute__pure__;
517
518 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
519                         __attribute__warn_unused_result__
520                         __attribute__pure__;
521
522 PERL_CALLCONV I32       Perl_cxinc(pTHX)
523                         __attribute__warn_unused_result__;
524
525 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
526                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
527                         __attribute__nonnull__(pTHX_1);
528 #define PERL_ARGS_ASSERT_DEB    \
529         assert(pat)
530
531 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args)
532                         __attribute__nonnull__(pTHX_1);
533 #define PERL_ARGS_ASSERT_VDEB   \
534         assert(pat)
535
536 PERL_CALLCONV void      Perl_debprofdump(pTHX);
537 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o)
538                         __attribute__nonnull__(pTHX_1);
539 #define PERL_ARGS_ASSERT_DEBOP  \
540         assert(o)
541
542 PERL_CALLCONV I32       Perl_debstack(pTHX);
543 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
544 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
545                         __attribute__nonnull__(1)
546                         __attribute__nonnull__(2)
547                         __attribute__nonnull__(3)
548                         __attribute__nonnull__(4)
549                         __attribute__nonnull__(6);
550 #define PERL_ARGS_ASSERT_DELIMCPY       \
551         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
552
553 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
554 PERL_CALLCONV OP*       Perl_die_sv(pTHX_ SV *baseex)
555                         __attribute__nonnull__(pTHX_1);
556 #define PERL_ARGS_ASSERT_DIE_SV \
557         assert(baseex)
558
559 PERL_CALLCONV OP*       Perl_die(pTHX_ const char* pat, ...)
560                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
561
562 PERL_CALLCONV void      Perl_die_unwind(pTHX_ SV* msv)
563                         __attribute__noreturn__
564                         __attribute__nonnull__(pTHX_1);
565 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
566         assert(msv)
567
568 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
569 /* PERL_CALLCONV bool   Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
570                         __attribute__nonnull__(pTHX_2)
571                         __attribute__nonnull__(pTHX_3); */
572 #define PERL_ARGS_ASSERT_DO_AEXEC       \
573         assert(mark); assert(sp)
574
575 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
576                         __attribute__nonnull__(pTHX_2)
577                         __attribute__nonnull__(pTHX_3);
578 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
579         assert(mark); assert(sp)
580
581 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
582                         __attribute__nonnull__(pTHX_1);
583 #define PERL_ARGS_ASSERT_DO_BINMODE     \
584         assert(fp)
585
586 PERL_CALLCONV void      Perl_do_chop(pTHX_ SV *astr, SV *sv)
587                         __attribute__nonnull__(pTHX_1)
588                         __attribute__nonnull__(pTHX_2);
589 #define PERL_ARGS_ASSERT_DO_CHOP        \
590         assert(astr); assert(sv)
591
592 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
593 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv)
594                         __attribute__nonnull__(pTHX_1);
595 #define PERL_ARGS_ASSERT_DO_EOF \
596         assert(gv)
597
598
599 #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
600 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd)
601                         __attribute__nonnull__(pTHX_1); */
602 #define PERL_ARGS_ASSERT_DO_EXEC        \
603         assert(cmd)
604
605 #else
606 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
607                         __attribute__nonnull__(pTHX_1);
608 #define PERL_ARGS_ASSERT_DO_EXEC        \
609         assert(cmd)
610
611 #endif
612
613 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
614 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
615                         __attribute__nonnull__(pTHX_2)
616                         __attribute__nonnull__(pTHX_3);
617 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
618         assert(mark); assert(sp)
619
620 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd)
621                         __attribute__nonnull__(pTHX_1);
622 #define PERL_ARGS_ASSERT_DO_SPAWN       \
623         assert(cmd)
624
625 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd)
626                         __attribute__nonnull__(pTHX_1);
627 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
628         assert(cmd)
629
630 #endif
631 #if !defined(WIN32)
632 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
633                         __attribute__nonnull__(pTHX_1);
634 #define PERL_ARGS_ASSERT_DO_EXEC3       \
635         assert(incmd)
636
637 #endif
638 PERL_CALLCONV void      Perl_do_execfree(pTHX);
639 #if defined(PERL_IN_DOIO_C)
640 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
641                         __attribute__nonnull__(pTHX_1);
642 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
643         assert(cmd)
644
645 #endif
646 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
647 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
648                         __attribute__nonnull__(pTHX_2)
649                         __attribute__nonnull__(pTHX_3);
650 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
651         assert(mark); assert(sp)
652
653 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
654                         __attribute__nonnull__(pTHX_2)
655                         __attribute__nonnull__(pTHX_3);
656 #define PERL_ARGS_ASSERT_DO_IPCGET      \
657         assert(mark); assert(sp)
658
659 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
660                         __attribute__nonnull__(pTHX_1)
661                         __attribute__nonnull__(pTHX_2);
662 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
663         assert(mark); assert(sp)
664
665 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
666                         __attribute__nonnull__(pTHX_1)
667                         __attribute__nonnull__(pTHX_2);
668 #define PERL_ARGS_ASSERT_DO_MSGSND      \
669         assert(mark); assert(sp)
670
671 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
672                         __attribute__nonnull__(pTHX_1)
673                         __attribute__nonnull__(pTHX_2);
674 #define PERL_ARGS_ASSERT_DO_SEMOP       \
675         assert(mark); assert(sp)
676
677 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
678                         __attribute__nonnull__(pTHX_2)
679                         __attribute__nonnull__(pTHX_3);
680 #define PERL_ARGS_ASSERT_DO_SHMIO       \
681         assert(mark); assert(sp)
682
683 #endif
684 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
685                         __attribute__nonnull__(pTHX_1)
686                         __attribute__nonnull__(pTHX_2)
687                         __attribute__nonnull__(pTHX_3)
688                         __attribute__nonnull__(pTHX_4);
689 #define PERL_ARGS_ASSERT_DO_JOIN        \
690         assert(sv); assert(delim); assert(mark); assert(sp)
691
692 PERL_CALLCONV OP*       Perl_do_kv(pTHX);
693 /* PERL_CALLCONV bool   Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
694                         __attribute__nonnull__(pTHX_1)
695                         __attribute__nonnull__(pTHX_2); */
696 #define PERL_ARGS_ASSERT_DO_OPEN        \
697         assert(gv); assert(name)
698
699 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)
700                         __attribute__nonnull__(pTHX_1)
701                         __attribute__nonnull__(pTHX_2)
702                         __attribute__nonnull__(pTHX_8);
703 #define PERL_ARGS_ASSERT_DO_OPEN9       \
704         assert(gv); assert(name); assert(svs)
705
706 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)
707                         __attribute__nonnull__(pTHX_1)
708                         __attribute__nonnull__(pTHX_2);
709 #define PERL_ARGS_ASSERT_DO_OPENN       \
710         assert(gv); assert(oname)
711
712 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
713                         __attribute__nonnull__(pTHX_2);
714 #define PERL_ARGS_ASSERT_DO_PRINT       \
715         assert(fp)
716
717 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
718                         __attribute__warn_unused_result__;
719
720 PERL_CALLCONV I32       Perl_do_chomp(pTHX_ SV* sv)
721                         __attribute__nonnull__(pTHX_1);
722 #define PERL_ARGS_ASSERT_DO_CHOMP       \
723         assert(sv)
724
725 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
726 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
727                         __attribute__nonnull__(pTHX_1)
728                         __attribute__nonnull__(pTHX_3);
729 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
730         assert(sv); assert(sarg)
731
732 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
733                         __attribute__nonnull__(pTHX_1);
734 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
735         assert(gv)
736
737 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
738                         __attribute__warn_unused_result__
739                         __attribute__nonnull__(pTHX_1);
740 #define PERL_ARGS_ASSERT_DO_TELL        \
741         assert(gv)
742
743 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv)
744                         __attribute__nonnull__(pTHX_1);
745 #define PERL_ARGS_ASSERT_DO_TRANS       \
746         assert(sv)
747
748 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size)
749                         __attribute__nonnull__(pTHX_1);
750 #define PERL_ARGS_ASSERT_DO_VECGET      \
751         assert(sv)
752
753 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv)
754                         __attribute__nonnull__(pTHX_1);
755 #define PERL_ARGS_ASSERT_DO_VECSET      \
756         assert(sv)
757
758 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
759                         __attribute__nonnull__(pTHX_2)
760                         __attribute__nonnull__(pTHX_3)
761                         __attribute__nonnull__(pTHX_4);
762 #define PERL_ARGS_ASSERT_DO_VOP \
763         assert(sv); assert(left); assert(right)
764
765 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin)
766                         __attribute__nonnull__(pTHX_1);
767 #define PERL_ARGS_ASSERT_DOFILE \
768         assert(term)
769
770 PERL_CALLCONV I32       Perl_dowantarray(pTHX)
771                         __attribute__warn_unused_result__;
772
773 PERL_CALLCONV void      Perl_dump_all(pTHX);
774 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
775 PERL_CALLCONV void      Perl_dump_eval(pTHX);
776 #if defined(DUMP_FDS)
777 PERL_CALLCONV void      Perl_dump_fds(pTHX_ char* s)
778                         __attribute__nonnull__(pTHX_1);
779 #define PERL_ARGS_ASSERT_DUMP_FDS       \
780         assert(s)
781
782 #endif
783 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv)
784                         __attribute__nonnull__(pTHX_1);
785 #define PERL_ARGS_ASSERT_DUMP_FORM      \
786         assert(gv)
787
788 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv)
789                         __attribute__nonnull__(pTHX_1);
790 #define PERL_ARGS_ASSERT_GV_DUMP        \
791         assert(gv)
792
793 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o)
794                         __attribute__nonnull__(pTHX_1);
795 #define PERL_ARGS_ASSERT_OP_DUMP        \
796         assert(o)
797
798 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
799 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash)
800                         __attribute__nonnull__(pTHX_1);
801 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
802         assert(stash)
803
804 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
805                         __attribute__nonnull__(pTHX_1);
806 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
807         assert(stash)
808
809 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv)
810                         __attribute__nonnull__(pTHX_1);
811 #define PERL_ARGS_ASSERT_DUMP_SUB       \
812         assert(gv)
813
814 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
815                         __attribute__nonnull__(pTHX_1);
816 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
817         assert(gv)
818
819 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
820                         __attribute__nonnull__(pTHX_1);
821 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
822         assert(sv)
823
824 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
825                         __attribute__warn_unused_result__
826                         __attribute__nonnull__(pTHX_1)
827                         __attribute__nonnull__(pTHX_2)
828                         __attribute__nonnull__(pTHX_3);
829 #define PERL_ARGS_ASSERT_FBM_INSTR      \
830         assert(big); assert(bigend); assert(littlestr)
831
832 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
833                         __attribute__nonnull__(pTHX_1);
834 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
835         assert(scriptname)
836
837 #if defined(PERL_IN_OP_C)
838 STATIC OP*      S_force_list(pTHX_ OP* arg);
839 STATIC OP*      S_fold_constants(pTHX_ OP *o)
840                         __attribute__nonnull__(pTHX_1);
841 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
842         assert(o)
843
844 #endif
845 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
846                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
847                         __attribute__nonnull__(pTHX_1);
848 #define PERL_ARGS_ASSERT_FORM   \
849         assert(pat)
850
851 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args)
852                         __attribute__nonnull__(pTHX_1);
853 #define PERL_ARGS_ASSERT_VFORM  \
854         assert(pat)
855
856 PERL_CALLCONV void      Perl_free_tmps(pTHX);
857 #if defined(PERL_IN_OP_C)
858 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
859 #endif
860 #if !defined(HAS_GETENV_LEN)
861 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
862                         __attribute__nonnull__(pTHX_1)
863                         __attribute__nonnull__(pTHX_2);
864 #define PERL_ARGS_ASSERT_GETENV_LEN     \
865         assert(env_elem); assert(len)
866
867 #endif
868 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
869                         __attribute__nonnull__(pTHX_2);
870 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
871         assert(cv)
872
873 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
874 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
875 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
876 /* PERL_CALLCONV GV*    Perl_gv_AVadd(pTHX_ GV *gv); */
877 /* PERL_CALLCONV GV*    Perl_gv_HVadd(pTHX_ GV *gv); */
878 /* PERL_CALLCONV GV*    Perl_gv_IOadd(pTHX_ GV* gv); */
879 PERL_CALLCONV GV*       Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
880                         __attribute__warn_unused_result__
881                         __attribute__nonnull__(pTHX_2);
882 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4   \
883         assert(name)
884
885 PERL_CALLCONV void      Perl_gv_check(pTHX_ const HV* stash)
886                         __attribute__nonnull__(pTHX_1);
887 #define PERL_ARGS_ASSERT_GV_CHECK       \
888         assert(stash)
889
890 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
891                         __attribute__nonnull__(pTHX_1)
892                         __attribute__nonnull__(pTHX_2);
893 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
894         assert(sv); assert(gv)
895
896 /* PERL_CALLCONV void   Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
897                         __attribute__nonnull__(pTHX_1)
898                         __attribute__nonnull__(pTHX_2); */
899 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
900         assert(sv); assert(gv)
901
902 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
903                         __attribute__nonnull__(pTHX_1)
904                         __attribute__nonnull__(pTHX_2);
905 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
906         assert(sv); assert(gv)
907
908 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name)
909                         __attribute__nonnull__(pTHX_1);
910 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
911         assert(name)
912
913 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
914                         __attribute__nonnull__(pTHX_1);
915 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
916         assert(name)
917
918 PERL_CALLCONV GV*       Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
919                         __attribute__nonnull__(pTHX_2);
920 #define PERL_ARGS_ASSERT_GV_FETCHMETH   \
921         assert(name)
922
923 PERL_CALLCONV GV*       Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
924                         __attribute__nonnull__(pTHX_2);
925 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD  \
926         assert(name)
927
928 /* PERL_CALLCONV GV*    Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
929                         __attribute__nonnull__(pTHX_1)
930                         __attribute__nonnull__(pTHX_2); */
931 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
932         assert(stash); assert(name)
933
934 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
935                         __attribute__nonnull__(pTHX_1)
936                         __attribute__nonnull__(pTHX_2);
937 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
938         assert(stash); assert(name)
939
940 PERL_CALLCONV GV*       Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
941                         __attribute__nonnull__(pTHX_1)
942                         __attribute__nonnull__(pTHX_2);
943 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS   \
944         assert(stash); assert(name)
945
946 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
947                         __attribute__nonnull__(pTHX_1);
948 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
949         assert(nambeg)
950
951 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
952                         __attribute__nonnull__(pTHX_1)
953                         __attribute__nonnull__(pTHX_2);
954 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
955         assert(sv); assert(gv)
956
957 /* PERL_CALLCONV void   Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
958                         __attribute__nonnull__(pTHX_1)
959                         __attribute__nonnull__(pTHX_2); */
960 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
961         assert(sv); assert(gv)
962
963 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
964                         __attribute__nonnull__(pTHX_1)
965                         __attribute__nonnull__(pTHX_2);
966 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
967         assert(sv); assert(gv)
968
969 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv)
970                         __attribute__nonnull__(pTHX_1);
971 #define PERL_ARGS_ASSERT_NEWGP  \
972         assert(gv)
973
974 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv)
975                         __attribute__nonnull__(pTHX_1);
976 #define PERL_ARGS_ASSERT_CVGV_SET       \
977         assert(cv)
978
979 PERL_CALLCONV void      Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
980                         __attribute__nonnull__(pTHX_1)
981                         __attribute__nonnull__(pTHX_3);
982 #define PERL_ARGS_ASSERT_GV_INIT        \
983         assert(gv); assert(name)
984
985 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
986                         __attribute__nonnull__(pTHX_1)
987                         __attribute__nonnull__(pTHX_2);
988 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
989         assert(gv); assert(name)
990
991 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv)
992                         __attribute__nonnull__(pTHX_1);
993 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
994         assert(gv)
995
996 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
997                         __attribute__nonnull__(pTHX_1);
998 #define PERL_ARGS_ASSERT_GV_STASHPV     \
999         assert(name)
1000
1001 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
1002                         __attribute__nonnull__(pTHX_1);
1003 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1004         assert(name)
1005
1006 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
1007                         __attribute__nonnull__(pTHX_1);
1008 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1009         assert(sv)
1010
1011 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1012 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1013                         __attribute__warn_unused_result__;
1014
1015 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
1016                         __attribute__nonnull__(pTHX_1);
1017 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1018         assert(hv)
1019
1020 /* PERL_CALLCONV SV*    Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
1021                         __attribute__nonnull__(pTHX_2); */
1022 #define PERL_ARGS_ASSERT_HV_DELETE      \
1023         assert(key)
1024
1025 /* PERL_CALLCONV SV*    Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
1026                         __attribute__nonnull__(pTHX_2); */
1027 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1028         assert(keysv)
1029
1030 /* PERL_CALLCONV bool   Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1031                         __attribute__warn_unused_result__
1032                         __attribute__nonnull__(pTHX_2); */
1033 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1034         assert(key)
1035
1036 /* PERL_CALLCONV bool   Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1037                         __attribute__warn_unused_result__
1038                         __attribute__nonnull__(pTHX_2); */
1039 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1040         assert(keysv)
1041
1042 /* PERL_CALLCONV SV**   Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
1043                         __attribute__nonnull__(pTHX_2); */
1044 #define PERL_ARGS_ASSERT_HV_FETCH       \
1045         assert(key)
1046
1047 /* PERL_CALLCONV HE*    Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
1048                         __attribute__nonnull__(pTHX_2); */
1049 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1050         assert(keysv)
1051
1052 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1053 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)
1054                         __attribute__nonnull__(pTHX_2);
1055 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1056         assert(key)
1057
1058 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV const *const hv)
1059                         __attribute__nonnull__(pTHX_1);
1060 #define PERL_ARGS_ASSERT_HV_FILL        \
1061         assert(hv)
1062
1063 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
1064                         __attribute__nonnull__(pTHX_1);
1065 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1066         assert(hv)
1067
1068 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv)
1069                         __attribute__nonnull__(pTHX_1);
1070 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1071         assert(hv)
1072
1073 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1074                         __attribute__warn_unused_result__
1075                         __attribute__nonnull__(pTHX_1)
1076                         __attribute__nonnull__(pTHX_2);
1077 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1078         assert(entry); assert(retlen)
1079
1080 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1081                         __attribute__warn_unused_result__
1082                         __attribute__nonnull__(pTHX_1);
1083 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1084         assert(entry)
1085
1086 /* PERL_CALLCONV HE*    Perl_hv_iternext(pTHX_ HV *hv)
1087                         __attribute__warn_unused_result__
1088                         __attribute__nonnull__(pTHX_1); */
1089 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1090         assert(hv)
1091
1092 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1093                         __attribute__warn_unused_result__
1094                         __attribute__nonnull__(pTHX_1)
1095                         __attribute__nonnull__(pTHX_2)
1096                         __attribute__nonnull__(pTHX_3);
1097 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1098         assert(hv); assert(key); assert(retlen)
1099
1100 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1101                         __attribute__warn_unused_result__
1102                         __attribute__nonnull__(pTHX_1);
1103 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1104         assert(hv)
1105
1106 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1107                         __attribute__warn_unused_result__
1108                         __attribute__nonnull__(pTHX_1)
1109                         __attribute__nonnull__(pTHX_2);
1110 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1111         assert(hv); assert(entry)
1112
1113 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
1114                         __attribute__nonnull__(pTHX_1);
1115 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1116         assert(hv)
1117
1118 /* PERL_CALLCONV void   Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
1119                         __attribute__nonnull__(pTHX_1); */
1120 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1121         assert(hv)
1122
1123 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
1124 PERL_CALLCONV SV *      Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
1125 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
1126 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
1127 #if defined(PERL_IN_HV_C)
1128 STATIC struct refcounted_he *   S_refcounted_he_new_common(pTHX_ struct refcounted_he *const parent, const char *const key_p, const STRLEN key_len, const char flags, char value_type, const void *value, const STRLEN value_len)
1129                         __attribute__nonnull__(pTHX_2)
1130                         __attribute__nonnull__(pTHX_6);
1131 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON       \
1132         assert(key_p); assert(value)
1133
1134 #endif
1135 /* PERL_CALLCONV SV**   Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1136 /* PERL_CALLCONV HE*    Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1137 /* PERL_CALLCONV SV**   Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1138 PERL_CALLCONV void      Perl_hv_undef(pTHX_ HV *hv);
1139 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1140                         __attribute__nonnull__(pTHX_1)
1141                         __attribute__nonnull__(pTHX_2); */
1142
1143 PERL_CALLCONV I32       Perl_foldEQ(const char* a, const char* b, I32 len)
1144                         __attribute__pure__
1145                         __attribute__nonnull__(1)
1146                         __attribute__nonnull__(2);
1147 #define PERL_ARGS_ASSERT_FOLDEQ \
1148         assert(a); assert(b)
1149
1150 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1151                         __attribute__nonnull__(pTHX_1)
1152                         __attribute__nonnull__(pTHX_2); */
1153
1154 PERL_CALLCONV I32       Perl_foldEQ_locale(const char* a, const char* b, I32 len)
1155                         __attribute__pure__
1156                         __attribute__nonnull__(1)
1157                         __attribute__nonnull__(2);
1158 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
1159         assert(a); assert(b)
1160
1161 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1162                         __attribute__nonnull__(pTHX_1)
1163                         __attribute__nonnull__(pTHX_5); */
1164
1165 PERL_CALLCONV I32       Perl_foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1166                         __attribute__nonnull__(pTHX_1)
1167                         __attribute__nonnull__(pTHX_5);
1168 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8    \
1169         assert(s1); assert(s2)
1170
1171 #if defined(PERL_IN_DOIO_C)
1172 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
1173                         __attribute__warn_unused_result__;
1174
1175 #endif
1176 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1177                         __attribute__nonnull__(pTHX_2);
1178 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1179         assert(argv)
1180
1181 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1182 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1183 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1184 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm)
1185                         __attribute__nonnull__(pTHX_1);
1186 #define PERL_ARGS_ASSERT_INIT_TM        \
1187         assert(ptm)
1188
1189 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1190 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1191                         __attribute__warn_unused_result__
1192                         __attribute__pure__
1193                         __attribute__nonnull__(1)
1194                         __attribute__nonnull__(2);
1195 #define PERL_ARGS_ASSERT_INSTR  \
1196         assert(big); assert(little)
1197
1198 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, bool not_implicit)
1199                         __attribute__nonnull__(pTHX_1);
1200 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1201         assert(io)
1202
1203 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1204                         __attribute__warn_unused_result__;
1205
1206 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1207                         __attribute__warn_unused_result__;
1208
1209 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
1210                         __attribute__warn_unused_result__
1211                         __attribute__pure__;
1212
1213 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
1214                         __attribute__warn_unused_result__
1215                         __attribute__pure__;
1216
1217 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
1218                         __attribute__warn_unused_result__
1219                         __attribute__pure__;
1220
1221 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1222                         __attribute__warn_unused_result__
1223                         __attribute__pure__;
1224
1225 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1226                         __attribute__warn_unused_result__
1227                         __attribute__pure__;
1228
1229 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1230                         __attribute__warn_unused_result__
1231                         __attribute__pure__;
1232
1233 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1234                         __attribute__warn_unused_result__
1235                         __attribute__pure__;
1236
1237 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1238                         __attribute__warn_unused_result__
1239                         __attribute__pure__;
1240
1241 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1242                         __attribute__warn_unused_result__
1243                         __attribute__pure__;
1244
1245 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1246                         __attribute__warn_unused_result__
1247                         __attribute__pure__;
1248
1249 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1250                         __attribute__warn_unused_result__
1251                         __attribute__pure__;
1252
1253 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1254                         __attribute__warn_unused_result__
1255                         __attribute__pure__;
1256
1257 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1258                         __attribute__warn_unused_result__
1259                         __attribute__pure__;
1260
1261 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1262                         __attribute__warn_unused_result__
1263                         __attribute__pure__;
1264
1265 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1266                         __attribute__warn_unused_result__
1267                         __attribute__pure__;
1268
1269 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1270                         __attribute__warn_unused_result__
1271                         __attribute__pure__;
1272
1273 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
1274                         __attribute__nonnull__(pTHX_2)
1275                         __attribute__nonnull__(pTHX_3);
1276 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
1277         assert(p); assert(lenp)
1278
1279 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
1280                         __attribute__nonnull__(pTHX_2)
1281                         __attribute__nonnull__(pTHX_3);
1282 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
1283         assert(p); assert(lenp)
1284
1285 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
1286                         __attribute__nonnull__(pTHX_2)
1287                         __attribute__nonnull__(pTHX_3);
1288 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
1289         assert(p); assert(lenp)
1290
1291 PERL_CALLCONV UV        Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
1292                         __attribute__nonnull__(pTHX_2)
1293                         __attribute__nonnull__(pTHX_3);
1294 #define PERL_ARGS_ASSERT_TO_UNI_FOLD    \
1295         assert(p); assert(lenp)
1296
1297 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1298                         __attribute__warn_unused_result__
1299                         __attribute__pure__;
1300
1301 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1302                         __attribute__warn_unused_result__
1303                         __attribute__pure__;
1304
1305 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1306                         __attribute__warn_unused_result__
1307                         __attribute__pure__;
1308
1309 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1310                         __attribute__warn_unused_result__
1311                         __attribute__pure__;
1312
1313 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1314                         __attribute__warn_unused_result__
1315                         __attribute__pure__;
1316
1317 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1318                         __attribute__warn_unused_result__
1319                         __attribute__pure__;
1320
1321 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1322                         __attribute__warn_unused_result__
1323                         __attribute__pure__;
1324
1325 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1326                         __attribute__warn_unused_result__
1327                         __attribute__pure__;
1328
1329 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1330                         __attribute__warn_unused_result__
1331                         __attribute__pure__;
1332
1333 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1334                         __attribute__warn_unused_result__
1335                         __attribute__pure__;
1336
1337 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1338                         __attribute__warn_unused_result__
1339                         __attribute__pure__;
1340
1341 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1342                         __attribute__warn_unused_result__
1343                         __attribute__pure__;
1344
1345 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1346                         __attribute__warn_unused_result__
1347                         __attribute__pure__;
1348
1349 PERL_CALLCONV bool      Perl_is_ascii_string(const U8 *s, STRLEN len)
1350                         __attribute__nonnull__(1);
1351 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1352         assert(s)
1353
1354 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1355                         __attribute__nonnull__(1);
1356 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1357         assert(s)
1358
1359 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
1360                         __attribute__nonnull__(1);
1361 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1362         assert(s)
1363
1364 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1365                         __attribute__nonnull__(1); */
1366 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1367         assert(s)
1368
1369 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1370                         __attribute__nonnull__(1);
1371 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1372         assert(s)
1373
1374 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1375                         __attribute__warn_unused_result__
1376                         __attribute__nonnull__(pTHX_1);
1377 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1378         assert(p)
1379
1380 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1381                         __attribute__warn_unused_result__
1382                         __attribute__nonnull__(pTHX_1);
1383 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1384         assert(p)
1385
1386 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1387                         __attribute__warn_unused_result__
1388                         __attribute__nonnull__(pTHX_1);
1389 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1390         assert(p)
1391
1392 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1393                         __attribute__warn_unused_result__
1394                         __attribute__nonnull__(pTHX_1);
1395 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1396         assert(p)
1397
1398 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1399                         __attribute__warn_unused_result__
1400                         __attribute__nonnull__(pTHX_1);
1401 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1402         assert(p)
1403
1404 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1405                         __attribute__warn_unused_result__
1406                         __attribute__nonnull__(pTHX_1);
1407 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1408         assert(p)
1409
1410 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1411                         __attribute__warn_unused_result__
1412                         __attribute__nonnull__(pTHX_1);
1413 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
1414         assert(p)
1415
1416 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1417                         __attribute__warn_unused_result__
1418                         __attribute__nonnull__(pTHX_1);
1419 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
1420         assert(p)
1421
1422 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1423                         __attribute__warn_unused_result__
1424                         __attribute__nonnull__(pTHX_1);
1425 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1426         assert(p)
1427
1428 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1429                         __attribute__warn_unused_result__
1430                         __attribute__nonnull__(pTHX_1);
1431 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1432         assert(p)
1433
1434 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1435                         __attribute__warn_unused_result__
1436                         __attribute__nonnull__(pTHX_1);
1437 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
1438         assert(p)
1439
1440 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1441                         __attribute__warn_unused_result__
1442                         __attribute__nonnull__(pTHX_1);
1443 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1444         assert(p)
1445
1446 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1447                         __attribute__warn_unused_result__
1448                         __attribute__nonnull__(pTHX_1);
1449 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1450         assert(p)
1451
1452 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1453                         __attribute__warn_unused_result__
1454                         __attribute__nonnull__(pTHX_1);
1455 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1456         assert(p)
1457
1458 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1459                         __attribute__warn_unused_result__
1460                         __attribute__nonnull__(pTHX_1);
1461 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1462         assert(p)
1463
1464 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1465                         __attribute__warn_unused_result__
1466                         __attribute__nonnull__(pTHX_1);
1467 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1468         assert(p)
1469
1470 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1471                         __attribute__warn_unused_result__
1472                         __attribute__nonnull__(pTHX_1);
1473 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1474         assert(p)
1475
1476 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1477                         __attribute__warn_unused_result__
1478                         __attribute__nonnull__(pTHX_1);
1479 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1480         assert(p)
1481
1482 PERL_CALLCONV bool      Perl_is_utf8_X_begin(pTHX_ const U8 *p)
1483                         __attribute__warn_unused_result__
1484                         __attribute__nonnull__(pTHX_1);
1485 #define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN        \
1486         assert(p)
1487
1488 PERL_CALLCONV bool      Perl_is_utf8_X_extend(pTHX_ const U8 *p)
1489                         __attribute__warn_unused_result__
1490                         __attribute__nonnull__(pTHX_1);
1491 #define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND       \
1492         assert(p)
1493
1494 PERL_CALLCONV bool      Perl_is_utf8_X_prepend(pTHX_ const U8 *p)
1495                         __attribute__warn_unused_result__
1496                         __attribute__nonnull__(pTHX_1);
1497 #define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND      \
1498         assert(p)
1499
1500 PERL_CALLCONV bool      Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p)
1501                         __attribute__warn_unused_result__
1502                         __attribute__nonnull__(pTHX_1);
1503 #define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL   \
1504         assert(p)
1505
1506 PERL_CALLCONV bool      Perl_is_utf8_X_L(pTHX_ const U8 *p)
1507                         __attribute__warn_unused_result__
1508                         __attribute__nonnull__(pTHX_1);
1509 #define PERL_ARGS_ASSERT_IS_UTF8_X_L    \
1510         assert(p)
1511
1512 PERL_CALLCONV bool      Perl_is_utf8_X_LV(pTHX_ const U8 *p)
1513                         __attribute__warn_unused_result__
1514                         __attribute__nonnull__(pTHX_1);
1515 #define PERL_ARGS_ASSERT_IS_UTF8_X_LV   \
1516         assert(p)
1517
1518 PERL_CALLCONV bool      Perl_is_utf8_X_LVT(pTHX_ const U8 *p)
1519                         __attribute__warn_unused_result__
1520                         __attribute__nonnull__(pTHX_1);
1521 #define PERL_ARGS_ASSERT_IS_UTF8_X_LVT  \
1522         assert(p)
1523
1524 PERL_CALLCONV bool      Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p)
1525                         __attribute__warn_unused_result__
1526                         __attribute__nonnull__(pTHX_1);
1527 #define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V     \
1528         assert(p)
1529
1530 PERL_CALLCONV bool      Perl_is_utf8_X_T(pTHX_ const U8 *p)
1531                         __attribute__warn_unused_result__
1532                         __attribute__nonnull__(pTHX_1);
1533 #define PERL_ARGS_ASSERT_IS_UTF8_X_T    \
1534         assert(p)
1535
1536 PERL_CALLCONV bool      Perl_is_utf8_X_V(pTHX_ const U8 *p)
1537                         __attribute__warn_unused_result__
1538                         __attribute__nonnull__(pTHX_1);
1539 #define PERL_ARGS_ASSERT_IS_UTF8_X_V    \
1540         assert(p)
1541
1542 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
1543                         __attribute__nonnull__(pTHX_1);
1544 #define PERL_ARGS_ASSERT_JMAYBE \
1545         assert(o)
1546
1547 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1548                         __attribute__pure__
1549                         __attribute__nonnull__(pTHX_1);
1550 #define PERL_ARGS_ASSERT_KEYWORD        \
1551         assert(name)
1552
1553 #if defined(PERL_IN_OP_C)
1554 STATIC OP*      S_opt_scalarhv(pTHX_ OP* rep_op)
1555                         __attribute__nonnull__(pTHX_1);
1556 #define PERL_ARGS_ASSERT_OPT_SCALARHV   \
1557         assert(rep_op)
1558
1559 STATIC OP*      S_is_inplace_av(pTHX_ OP* o, OP* oright)
1560                         __attribute__nonnull__(pTHX_1);
1561 #define PERL_ARGS_ASSERT_IS_INPLACE_AV  \
1562         assert(o)
1563
1564 #endif
1565 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1566 PERL_CALLCONV void      Perl_lex_end(pTHX);
1567 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
1568 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1569 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1570 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
1571                         __attribute__nonnull__(pTHX_1);
1572 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1573         assert(pv)
1574
1575 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
1576                         __attribute__nonnull__(pTHX_1);
1577 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1578         assert(sv)
1579
1580 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr)
1581                         __attribute__nonnull__(pTHX_1);
1582 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1583         assert(ptr)
1584
1585 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr)
1586                         __attribute__nonnull__(pTHX_1);
1587 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1588         assert(ptr)
1589
1590 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr)
1591                         __attribute__nonnull__(pTHX_1);
1592 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1593         assert(ptr)
1594
1595 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1596 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1597 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1598 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1599 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
1600 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
1601                         __attribute__nonnull__(pTHX_1);
1602 #define PERL_ARGS_ASSERT_OP_NULL        \
1603         assert(o)
1604
1605 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
1606                         __attribute__nonnull__(pTHX_1);
1607 #define PERL_ARGS_ASSERT_OP_CLEAR       \
1608         assert(o)
1609
1610 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
1611 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
1612 #if defined(PERL_IN_OP_C)
1613 STATIC OP*      S_linklist(pTHX_ OP *o)
1614                         __attribute__nonnull__(pTHX_1);
1615 #define PERL_ARGS_ASSERT_LINKLIST       \
1616         assert(o)
1617
1618 STATIC OP*      S_listkids(pTHX_ OP* o);
1619 #endif
1620 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1621 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1622                         __attribute__nonnull__(pTHX_2);
1623 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1624         assert(name)
1625
1626 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1627                         __attribute__nonnull__(pTHX_2);
1628 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
1629         assert(name)
1630
1631 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
1632                         __attribute__nonnull__(pTHX_1);
1633 #define PERL_ARGS_ASSERT_LOCALIZE       \
1634         assert(o)
1635
1636 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1637                         __attribute__warn_unused_result__
1638                         __attribute__nonnull__(pTHX_1);
1639 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1640         assert(sv)
1641
1642 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1643                         __attribute__nonnull__(pTHX_1)
1644                         __attribute__nonnull__(pTHX_2)
1645                         __attribute__nonnull__(pTHX_3);
1646 #define PERL_ARGS_ASSERT_GROK_BIN       \
1647         assert(start); assert(len_p); assert(flags)
1648
1649 PERL_CALLCONV char      Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning)
1650                         __attribute__warn_unused_result__;
1651
1652 PERL_CALLCONV bool      Perl_grok_bslash_o(pTHX_ const char* s, UV* uv, STRLEN* len, const char** error_msg, const bool output_warning)
1653                         __attribute__warn_unused_result__
1654                         __attribute__nonnull__(pTHX_1)
1655                         __attribute__nonnull__(pTHX_2)
1656                         __attribute__nonnull__(pTHX_3)
1657                         __attribute__nonnull__(pTHX_4);
1658 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
1659         assert(s); assert(uv); assert(len); assert(error_msg)
1660
1661 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1662                         __attribute__nonnull__(pTHX_1)
1663                         __attribute__nonnull__(pTHX_2)
1664                         __attribute__nonnull__(pTHX_3);
1665 #define PERL_ARGS_ASSERT_GROK_HEX       \
1666         assert(start); assert(len_p); assert(flags)
1667
1668 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1669                         __attribute__nonnull__(pTHX_1);
1670 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1671         assert(pv)
1672
1673 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1674                         __attribute__warn_unused_result__
1675                         __attribute__nonnull__(pTHX_1)
1676                         __attribute__nonnull__(pTHX_2);
1677 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1678         assert(sp); assert(send)
1679
1680 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1681                         __attribute__nonnull__(pTHX_1)
1682                         __attribute__nonnull__(pTHX_2)
1683                         __attribute__nonnull__(pTHX_3);
1684 #define PERL_ARGS_ASSERT_GROK_OCT       \
1685         assert(start); assert(len_p); assert(flags)
1686
1687 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1688                         __attribute__nonnull__(pTHX_1)
1689                         __attribute__nonnull__(pTHX_2);
1690 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1691         assert(sv); assert(mg)
1692
1693 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1694                         __attribute__nonnull__(pTHX_1)
1695                         __attribute__nonnull__(pTHX_2);
1696 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1697         assert(sv); assert(mg)
1698
1699 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1700                         __attribute__nonnull__(pTHX_1)
1701                         __attribute__nonnull__(pTHX_2);
1702 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1703         assert(sv); assert(mg)
1704
1705 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1706                         __attribute__nonnull__(pTHX_1)
1707                         __attribute__nonnull__(pTHX_2);
1708 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1709         assert(sv); assert(mg)
1710
1711 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
1712                         __attribute__nonnull__(pTHX_2);
1713 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1714         assert(mg)
1715
1716 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1717                         __attribute__nonnull__(pTHX_1)
1718                         __attribute__nonnull__(pTHX_2);
1719 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1720         assert(sv); assert(mg)
1721
1722 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1723                         __attribute__nonnull__(pTHX_1)
1724                         __attribute__nonnull__(pTHX_2);
1725 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1726         assert(sv); assert(mg)
1727
1728 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
1729                         __attribute__nonnull__(pTHX_1)
1730                         __attribute__nonnull__(pTHX_2);
1731 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1732         assert(sv); assert(mg)
1733
1734 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1735                         __attribute__nonnull__(pTHX_1)
1736                         __attribute__nonnull__(pTHX_2);
1737 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1738         assert(sv); assert(mg)
1739
1740 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1741                         __attribute__nonnull__(pTHX_1)
1742                         __attribute__nonnull__(pTHX_2);
1743 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1744         assert(sv); assert(mg)
1745
1746 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1747                         __attribute__nonnull__(pTHX_1)
1748                         __attribute__nonnull__(pTHX_2);
1749 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1750         assert(sv); assert(mg)
1751
1752 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1753                         __attribute__nonnull__(pTHX_1)
1754                         __attribute__nonnull__(pTHX_2);
1755 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1756         assert(sv); assert(mg)
1757
1758 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1759                         __attribute__nonnull__(pTHX_1)
1760                         __attribute__nonnull__(pTHX_2);
1761 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1762         assert(sv); assert(mg)
1763
1764 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1765                         __attribute__nonnull__(pTHX_1)
1766                         __attribute__nonnull__(pTHX_2);
1767 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1768         assert(sv); assert(mg)
1769
1770 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1771                         __attribute__nonnull__(pTHX_1)
1772                         __attribute__nonnull__(pTHX_2);
1773 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1774         assert(sv); assert(mg)
1775
1776 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1777                         __attribute__nonnull__(pTHX_1)
1778                         __attribute__nonnull__(pTHX_2);
1779 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1780         assert(sv); assert(mg)
1781
1782 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1783                         __attribute__nonnull__(pTHX_1)
1784                         __attribute__nonnull__(pTHX_2);
1785 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1786         assert(sv); assert(mg)
1787
1788 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1789                         __attribute__nonnull__(pTHX_1)
1790                         __attribute__nonnull__(pTHX_2);
1791 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1792         assert(sv); assert(mg)
1793
1794 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1795                         __attribute__nonnull__(pTHX_1)
1796                         __attribute__nonnull__(pTHX_2);
1797 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1798         assert(sv); assert(mg)
1799
1800 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1801                         __attribute__nonnull__(pTHX_1)
1802                         __attribute__nonnull__(pTHX_2);
1803 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1804         assert(sv); assert(mg)
1805
1806 PERL_CALLCONV U32       Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1807                         __attribute__nonnull__(pTHX_1)
1808                         __attribute__nonnull__(pTHX_2);
1809 #define PERL_ARGS_ASSERT_MAGIC_LEN      \
1810         assert(sv); assert(mg)
1811
1812 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
1813                         __attribute__nonnull__(pTHX_1)
1814                         __attribute__nonnull__(pTHX_2)
1815                         __attribute__nonnull__(pTHX_3);
1816 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1817         assert(sv); assert(mg); assert(key)
1818
1819 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1820                         __attribute__nonnull__(pTHX_1)
1821                         __attribute__nonnull__(pTHX_2);
1822 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1823         assert(sv); assert(mg)
1824
1825 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1826                         __attribute__nonnull__(pTHX_1)
1827                         __attribute__nonnull__(pTHX_2);
1828 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1829         assert(sv); assert(mg)
1830
1831 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
1832                         __attribute__noreturn__
1833                         __attribute__nonnull__(pTHX_1)
1834                         __attribute__nonnull__(pTHX_2);
1835 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
1836         assert(sv); assert(mg)
1837
1838 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1839                         __attribute__nonnull__(pTHX_1)
1840                         __attribute__nonnull__(pTHX_2);
1841 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1842         assert(sv); assert(mg)
1843
1844 PERL_CALLCONV int       Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1845                         __attribute__nonnull__(pTHX_1)
1846                         __attribute__nonnull__(pTHX_2);
1847 #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC        \
1848         assert(sv); assert(mg)
1849
1850 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1851                         __attribute__nonnull__(pTHX_1)
1852                         __attribute__nonnull__(pTHX_2);
1853 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1854         assert(sv); assert(mg)
1855
1856 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1857                         __attribute__nonnull__(pTHX_1)
1858                         __attribute__nonnull__(pTHX_2);
1859 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1860         assert(sv); assert(mg)
1861
1862 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
1863                         __attribute__nonnull__(pTHX_1)
1864                         __attribute__nonnull__(pTHX_2);
1865 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1866         assert(sv); assert(mg)
1867
1868 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
1869                         __attribute__nonnull__(pTHX_1)
1870                         __attribute__nonnull__(pTHX_2);
1871 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1872         assert(sv); assert(mg)
1873
1874 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
1875                         __attribute__nonnull__(pTHX_1)
1876                         __attribute__nonnull__(pTHX_2);
1877 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1878         assert(sv); assert(mg)
1879
1880 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1881                         __attribute__nonnull__(pTHX_1)
1882                         __attribute__nonnull__(pTHX_2);
1883 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1884         assert(sv); assert(mg)
1885
1886 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1887                         __attribute__nonnull__(pTHX_1)
1888                         __attribute__nonnull__(pTHX_2);
1889 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1890         assert(sv); assert(mg)
1891
1892 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1893                         __attribute__nonnull__(pTHX_1)
1894                         __attribute__nonnull__(pTHX_2);
1895 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1896         assert(sv); assert(mg)
1897
1898 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1899                         __attribute__nonnull__(pTHX_1)
1900                         __attribute__nonnull__(pTHX_2);
1901 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1902         assert(sv); assert(mg)
1903
1904 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1905                         __attribute__nonnull__(pTHX_1)
1906                         __attribute__nonnull__(pTHX_2);
1907 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1908         assert(sv); assert(mg)
1909
1910 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1911                         __attribute__nonnull__(pTHX_1)
1912                         __attribute__nonnull__(pTHX_2);
1913 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1914         assert(sv); assert(mg)
1915
1916 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1917                         __attribute__nonnull__(pTHX_1)
1918                         __attribute__nonnull__(pTHX_2);
1919 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1920         assert(sv); assert(mg)
1921
1922 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
1923                         __attribute__nonnull__(pTHX_2);
1924 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1925         assert(mg)
1926
1927 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1928                         __attribute__nonnull__(pTHX_1)
1929                         __attribute__nonnull__(pTHX_2);
1930 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1931         assert(sv); assert(mg)
1932
1933 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1934                         __attribute__nonnull__(pTHX_1)
1935                         __attribute__nonnull__(pTHX_2);
1936 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1937         assert(sv); assert(mg)
1938
1939 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1940                         __attribute__nonnull__(pTHX_1)
1941                         __attribute__nonnull__(pTHX_2);
1942 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1943         assert(sv); assert(mg)
1944
1945 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1946                         __attribute__nonnull__(pTHX_1)
1947                         __attribute__nonnull__(pTHX_2);
1948 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1949         assert(sv); assert(mg)
1950
1951 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1952                         __attribute__nonnull__(pTHX_1)
1953                         __attribute__nonnull__(pTHX_2);
1954 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1955         assert(sv); assert(mg)
1956
1957 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1958                         __attribute__nonnull__(pTHX_1)
1959                         __attribute__nonnull__(pTHX_2);
1960 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1961         assert(sv); assert(mg)
1962
1963 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1964                         __attribute__nonnull__(pTHX_1)
1965                         __attribute__nonnull__(pTHX_2);
1966 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1967         assert(sv); assert(mg)
1968
1969 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1970                         __attribute__nonnull__(pTHX_1)
1971                         __attribute__nonnull__(pTHX_2);
1972 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1973         assert(sv); assert(mg)
1974
1975 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, U32 argc, ...)
1976                         __attribute__nonnull__(pTHX_1)
1977                         __attribute__nonnull__(pTHX_2)
1978                         __attribute__nonnull__(pTHX_3);
1979 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1980         assert(sv); assert(mg); assert(meth)
1981
1982 PERL_CALLCONV void      Perl_markstack_grow(pTHX);
1983 #if defined(USE_LOCALE_COLLATE)
1984 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1985                         __attribute__nonnull__(pTHX_1)
1986                         __attribute__nonnull__(pTHX_2);
1987 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
1988         assert(sv); assert(mg)
1989
1990 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1991                         __attribute__nonnull__(pTHX_1)
1992                         __attribute__nonnull__(pTHX_3);
1993 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
1994         assert(s); assert(xlen)
1995
1996 #endif
1997 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1998                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
1999                         __attribute__nonnull__(pTHX_1);
2000 #define PERL_ARGS_ASSERT_MESS   \
2001         assert(pat)
2002
2003 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2004                         __attribute__nonnull__(pTHX_1);
2005 #define PERL_ARGS_ASSERT_MESS_SV        \
2006         assert(basemsg)
2007
2008 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args)
2009                         __attribute__nonnull__(pTHX_1);
2010 #define PERL_ARGS_ASSERT_VMESS  \
2011         assert(pat)
2012
2013 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
2014                         __attribute__nonnull__(pTHX_1);
2015 #define PERL_ARGS_ASSERT_QERROR \
2016         assert(err)
2017
2018 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
2019                         __attribute__nonnull__(pTHX_3);
2020 #define PERL_ARGS_ASSERT_SORTSV \
2021         assert(cmp)
2022
2023 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
2024                         __attribute__nonnull__(pTHX_3);
2025 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
2026         assert(cmp)
2027
2028 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
2029                         __attribute__nonnull__(pTHX_1);
2030 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2031         assert(sv)
2032
2033 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
2034                         __attribute__nonnull__(pTHX_1)
2035                         __attribute__nonnull__(pTHX_2);
2036 #define PERL_ARGS_ASSERT_MG_COPY        \
2037         assert(sv); assert(nsv)
2038
2039 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2040                         __attribute__nonnull__(pTHX_1)
2041                         __attribute__nonnull__(pTHX_2);
2042 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2043         assert(sv); assert(nsv)
2044
2045 PERL_CALLCONV MAGIC*    Perl_mg_find(pTHX_ const SV* sv, int type)
2046                         __attribute__warn_unused_result__;
2047
2048 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
2049                         __attribute__nonnull__(pTHX_1);
2050 #define PERL_ARGS_ASSERT_MG_FREE        \
2051         assert(sv)
2052
2053 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
2054                         __attribute__nonnull__(pTHX_1);
2055 #define PERL_ARGS_ASSERT_MG_GET \
2056         assert(sv)
2057
2058 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2059                         __attribute__nonnull__(pTHX_1);
2060 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2061         assert(sv)
2062
2063 PERL_CALLCONV void      Perl_mg_magical(pTHX_ SV* sv)
2064                         __attribute__nonnull__(pTHX_1);
2065 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2066         assert(sv)
2067
2068 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
2069                         __attribute__nonnull__(pTHX_1);
2070 #define PERL_ARGS_ASSERT_MG_SET \
2071         assert(sv)
2072
2073 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
2074                         __attribute__nonnull__(pTHX_1);
2075 #define PERL_ARGS_ASSERT_MG_SIZE        \
2076         assert(sv)
2077
2078 PERL_CALLCONV void      Perl_mini_mktime(pTHX_ struct tm *ptm)
2079                         __attribute__nonnull__(pTHX_1);
2080 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2081         assert(ptm)
2082
2083 PERL_CALLCONV OP*       Perl_mod(pTHX_ OP* o, I32 type);
2084 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2085 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
2086                         __attribute__nonnull__(pTHX_1);
2087 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2088         assert(s)
2089
2090 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
2091                         __attribute__nonnull__(pTHX_1);
2092 #define PERL_ARGS_ASSERT_MY_ATOF        \
2093         assert(s)
2094
2095 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
2096 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len)
2097                         __attribute__nonnull__(1)
2098                         __attribute__nonnull__(2);
2099 #define PERL_ARGS_ASSERT_MY_BCOPY       \
2100         assert(from); assert(to)
2101
2102 #endif
2103 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
2104 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len)
2105                         __attribute__nonnull__(1);
2106 #define PERL_ARGS_ASSERT_MY_BZERO       \
2107         assert(loc)
2108
2109 #endif
2110 PERL_CALLCONV void      Perl_my_exit(pTHX_ U32 status)
2111                         __attribute__noreturn__;
2112
2113 PERL_CALLCONV void      Perl_my_failure_exit(pTHX)
2114                         __attribute__noreturn__;
2115
2116 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2117 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2118 PERL_CALLCONV void      Perl_atfork_lock(void);
2119 PERL_CALLCONV void      Perl_atfork_unlock(void);
2120 /* PERL_CALLCONV I32    Perl_my_lstat(pTHX); */
2121 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2122 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
2123 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
2124                         __attribute__pure__
2125                         __attribute__nonnull__(1)
2126                         __attribute__nonnull__(2);
2127 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
2128         assert(s1); assert(s2)
2129
2130 #endif
2131 #if !defined(HAS_MEMSET)
2132 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len)
2133                         __attribute__nonnull__(1);
2134 #define PERL_ARGS_ASSERT_MY_MEMSET      \
2135         assert(loc)
2136
2137 #endif
2138 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
2139 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode)
2140                         __attribute__nonnull__(pTHX_1)
2141                         __attribute__nonnull__(pTHX_2);
2142 #define PERL_ARGS_ASSERT_MY_POPEN       \
2143         assert(cmd); assert(mode)
2144
2145 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
2146                         __attribute__nonnull__(pTHX_1)
2147                         __attribute__nonnull__(pTHX_3);
2148 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2149         assert(mode); assert(args)
2150
2151 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2152 /* PERL_CALLCONV I32    Perl_my_stat(pTHX); */
2153 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2154 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)
2155                         __attribute__nonnull__(pTHX_1);
2156 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2157         assert(fmt)
2158
2159 #if defined(MYSWAP)
2160 PERL_CALLCONV short     Perl_my_swap(pTHX_ short s)
2161                         __attribute__malloc__
2162                         __attribute__warn_unused_result__
2163                         __attribute__pure__;
2164
2165 PERL_CALLCONV long      Perl_my_htonl(pTHX_ long l)
2166                         __attribute__malloc__
2167                         __attribute__warn_unused_result__
2168                         __attribute__pure__;
2169
2170 PERL_CALLCONV long      Perl_my_ntohl(pTHX_ long l)
2171                         __attribute__malloc__
2172                         __attribute__warn_unused_result__
2173                         __attribute__pure__;
2174
2175 #endif
2176 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2177 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2178                         __attribute__malloc__
2179                         __attribute__warn_unused_result__;
2180
2181 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2182                         __attribute__malloc__
2183                         __attribute__warn_unused_result__;
2184
2185 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2186 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2187                         __attribute__malloc__
2188                         __attribute__warn_unused_result__;
2189
2190 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2191                         __attribute__malloc__
2192                         __attribute__warn_unused_result__
2193                         __attribute__nonnull__(pTHX_2);
2194 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2195         assert(first)
2196
2197 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2198 #ifdef PERL_MAD
2199 PERL_CALLCONV OP*       Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2200 #else
2201 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2202 #endif
2203 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
2204                         __attribute__malloc__
2205                         __attribute__warn_unused_result__
2206                         __attribute__nonnull__(pTHX_5);
2207 #define PERL_ARGS_ASSERT_NEWFOROP       \
2208         assert(expr)
2209
2210 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2211                         __attribute__malloc__
2212                         __attribute__warn_unused_result__
2213                         __attribute__nonnull__(pTHX_1)
2214                         __attribute__nonnull__(pTHX_2);
2215 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2216         assert(cond); assert(block)
2217
2218 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2219                         __attribute__malloc__
2220                         __attribute__warn_unused_result__
2221                         __attribute__nonnull__(pTHX_3)
2222                         __attribute__nonnull__(pTHX_4);
2223 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2224         assert(first); assert(other)
2225
2226 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2227                         __attribute__malloc__
2228                         __attribute__warn_unused_result__
2229                         __attribute__nonnull__(pTHX_2);
2230 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2231         assert(label)
2232
2233 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2234                         __attribute__malloc__
2235                         __attribute__warn_unused_result__;
2236
2237 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2238                         __attribute__malloc__
2239                         __attribute__warn_unused_result__;
2240
2241 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2242                         __attribute__malloc__
2243                         __attribute__warn_unused_result__;
2244
2245 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2246                         __attribute__nonnull__(pTHX_1);
2247 #define PERL_ARGS_ASSERT_NEWPROG        \
2248         assert(o)
2249
2250 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2251                         __attribute__malloc__
2252                         __attribute__warn_unused_result__
2253                         __attribute__nonnull__(pTHX_2)
2254                         __attribute__nonnull__(pTHX_3);
2255 #define PERL_ARGS_ASSERT_NEWRANGE       \
2256         assert(left); assert(right)
2257
2258 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2259                         __attribute__malloc__
2260                         __attribute__warn_unused_result__;
2261
2262 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2263                         __attribute__malloc__
2264                         __attribute__warn_unused_result__;
2265
2266 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2267 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2268                         __attribute__nonnull__(pTHX_2)
2269                         __attribute__nonnull__(pTHX_3);
2270 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2271         assert(subaddr); assert(filename)
2272
2273 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
2274                         __attribute__nonnull__(pTHX_2)
2275                         __attribute__nonnull__(pTHX_3);
2276 #define PERL_ARGS_ASSERT_NEWXS  \
2277         assert(subaddr); assert(filename)
2278
2279 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2280                         __attribute__warn_unused_result__; */
2281
2282 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2283                         __attribute__malloc__
2284                         __attribute__warn_unused_result__
2285                         __attribute__nonnull__(pTHX_1);
2286 #define PERL_ARGS_ASSERT_NEWAVREF       \
2287         assert(o)
2288
2289 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2290                         __attribute__malloc__
2291                         __attribute__warn_unused_result__;
2292
2293 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2294                         __attribute__malloc__
2295                         __attribute__warn_unused_result__;
2296
2297 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2298                         __attribute__malloc__
2299                         __attribute__warn_unused_result__
2300                         __attribute__nonnull__(pTHX_3);
2301 #define PERL_ARGS_ASSERT_NEWGVOP        \
2302         assert(gv)
2303
2304 PERL_CALLCONV GV*       Perl_newGVgen(pTHX_ const char* pack)
2305                         __attribute__malloc__
2306                         __attribute__warn_unused_result__
2307                         __attribute__nonnull__(pTHX_1);
2308 #define PERL_ARGS_ASSERT_NEWGVGEN       \
2309         assert(pack)
2310
2311 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2312                         __attribute__malloc__
2313                         __attribute__warn_unused_result__;
2314
2315 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2316                         __attribute__malloc__
2317                         __attribute__warn_unused_result__
2318                         __attribute__nonnull__(pTHX_1);
2319 #define PERL_ARGS_ASSERT_NEWHVREF       \
2320         assert(o)
2321
2322 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2323                         __attribute__warn_unused_result__; */
2324
2325 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2326                         __attribute__malloc__
2327                         __attribute__warn_unused_result__;
2328
2329 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2330                         __attribute__malloc__
2331                         __attribute__warn_unused_result__; */
2332
2333 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2334                         __attribute__malloc__
2335                         __attribute__warn_unused_result__;
2336
2337 #ifdef USE_ITHREADS
2338 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
2339                         __attribute__malloc__
2340                         __attribute__warn_unused_result__
2341                         __attribute__nonnull__(pTHX_3);
2342 #define PERL_ARGS_ASSERT_NEWPADOP       \
2343         assert(sv)
2344
2345 #endif
2346 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2347                         __attribute__malloc__
2348                         __attribute__warn_unused_result__;
2349
2350 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2351                         __attribute__malloc__
2352                         __attribute__warn_unused_result__;
2353
2354 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2355                         __attribute__malloc__
2356                         __attribute__warn_unused_result__
2357                         __attribute__nonnull__(pTHX_1);
2358 #define PERL_ARGS_ASSERT_NEWRV  \
2359         assert(sv)
2360
2361 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
2362                         __attribute__malloc__
2363                         __attribute__warn_unused_result__
2364                         __attribute__nonnull__(pTHX_1);
2365 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2366         assert(sv)
2367
2368 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2369                         __attribute__malloc__
2370                         __attribute__warn_unused_result__;
2371
2372 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2373                         __attribute__malloc__
2374                         __attribute__warn_unused_result__
2375                         __attribute__nonnull__(pTHX_1);
2376 #define PERL_ARGS_ASSERT_NEWSVREF       \
2377         assert(o)
2378
2379 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2380                         __attribute__malloc__
2381                         __attribute__warn_unused_result__
2382                         __attribute__nonnull__(pTHX_3);
2383 #define PERL_ARGS_ASSERT_NEWSVOP        \
2384         assert(sv)
2385
2386 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2387                         __attribute__malloc__
2388                         __attribute__warn_unused_result__;
2389
2390 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2391                         __attribute__malloc__
2392                         __attribute__warn_unused_result__;
2393
2394 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2395                         __attribute__malloc__
2396                         __attribute__warn_unused_result__;
2397
2398 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2399                         __attribute__malloc__
2400                         __attribute__warn_unused_result__;
2401
2402 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2403                         __attribute__malloc__
2404                         __attribute__warn_unused_result__;
2405
2406 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2407                         __attribute__malloc__
2408                         __attribute__warn_unused_result__;
2409
2410 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2411                         __attribute__malloc__
2412                         __attribute__warn_unused_result__;
2413
2414 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2415                         __attribute__malloc__
2416                         __attribute__warn_unused_result__;
2417
2418 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2419                         __attribute__malloc__
2420                         __attribute__warn_unused_result__
2421                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2422                         __attribute__nonnull__(pTHX_1);
2423 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2424         assert(pat)
2425
2426 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
2427                         __attribute__malloc__
2428                         __attribute__warn_unused_result__
2429                         __attribute__nonnull__(pTHX_1);
2430 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
2431         assert(pat)
2432
2433 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2434                         __attribute__nonnull__(pTHX_1);
2435 #define PERL_ARGS_ASSERT_NEWSVRV        \
2436         assert(rv)
2437
2438 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2439                         __attribute__malloc__
2440                         __attribute__warn_unused_result__;
2441
2442 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2443                         __attribute__malloc__
2444                         __attribute__warn_unused_result__;
2445
2446 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2447                         __attribute__malloc__
2448                         __attribute__warn_unused_result__;
2449
2450 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2451                         __attribute__malloc__
2452                         __attribute__warn_unused_result__
2453                         __attribute__nonnull__(pTHX_2);
2454 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2455         assert(block)
2456
2457 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
2458                         __attribute__malloc__
2459                         __attribute__warn_unused_result__;
2460
2461 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2462                         __attribute__malloc__
2463                         __attribute__warn_unused_result__;
2464
2465 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
2466                         __attribute__nonnull__(pTHX_1)
2467                         __attribute__nonnull__(pTHX_2)
2468                         __attribute__nonnull__(pTHX_3);
2469 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2470         assert(s); assert(e); assert(sv)
2471
2472 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
2473                         __attribute__nonnull__(pTHX_1)
2474                         __attribute__nonnull__(pTHX_2);
2475 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2476         assert(s); assert(rv)
2477
2478 PERL_CALLCONV const char*       Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
2479                         __attribute__nonnull__(pTHX_1);
2480 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2481         assert(s)
2482
2483 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
2484                         __attribute__nonnull__(pTHX_1);
2485 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2486         assert(ver)
2487
2488 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv)
2489                         __attribute__nonnull__(pTHX_1);
2490 #define PERL_ARGS_ASSERT_UPG_VERSION    \
2491         assert(ver)
2492
2493 PERL_CALLCONV bool      Perl_vverify(pTHX_ SV *vs)
2494                         __attribute__nonnull__(pTHX_1);
2495 #define PERL_ARGS_ASSERT_VVERIFY        \
2496         assert(vs)
2497
2498 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs)
2499                         __attribute__nonnull__(pTHX_1);
2500 #define PERL_ARGS_ASSERT_VNUMIFY        \
2501         assert(vs)
2502
2503 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs)
2504                         __attribute__nonnull__(pTHX_1);
2505 #define PERL_ARGS_ASSERT_VNORMAL        \
2506         assert(vs)
2507
2508 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs)
2509                         __attribute__nonnull__(pTHX_1);
2510 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
2511         assert(vs)
2512
2513 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
2514                         __attribute__nonnull__(pTHX_1)
2515                         __attribute__nonnull__(pTHX_2);
2516 #define PERL_ARGS_ASSERT_VCMP   \
2517         assert(lhv); assert(rhv)
2518
2519 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv)
2520                         __attribute__nonnull__(pTHX_1);
2521 #define PERL_ARGS_ASSERT_NEXTARGV       \
2522         assert(gv)
2523
2524 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2525                         __attribute__pure__
2526                         __attribute__nonnull__(1)
2527                         __attribute__nonnull__(2)
2528                         __attribute__nonnull__(3)
2529                         __attribute__nonnull__(4);
2530 #define PERL_ARGS_ASSERT_NINSTR \
2531         assert(big); assert(bigend); assert(little); assert(lend)
2532
2533 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2534 #ifdef PERL_MAD
2535 PERL_CALLCONV OP*       Perl_package(pTHX_ OP* o)
2536                         __attribute__nonnull__(pTHX_1);
2537 #define PERL_ARGS_ASSERT_PACKAGE        \
2538         assert(o)
2539
2540 #else
2541 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
2542                         __attribute__nonnull__(pTHX_1);
2543 #define PERL_ARGS_ASSERT_PACKAGE        \
2544         assert(o)
2545
2546 #endif
2547 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
2548                         __attribute__nonnull__(pTHX_1);
2549 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2550         assert(v)
2551
2552 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2553 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
2554                         __attribute__nonnull__(pTHX_1);
2555 #define PERL_ARGS_ASSERT_ALLOCMY        \
2556         assert(name)
2557
2558 PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags)
2559                         __attribute__warn_unused_result__
2560                         __attribute__nonnull__(pTHX_1);
2561 #define PERL_ARGS_ASSERT_PAD_FINDMY     \
2562         assert(name)
2563
2564 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
2565                         __attribute__deprecated__;
2566
2567 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
2568 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2569                         __attribute__warn_unused_result__
2570                         __attribute__nonnull__(pTHX_1);
2571 #define PERL_ARGS_ASSERT_OOPSAV \
2572         assert(o)
2573
2574 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2575                         __attribute__warn_unused_result__
2576                         __attribute__nonnull__(pTHX_1);
2577 #define PERL_ARGS_ASSERT_OOPSHV \
2578         assert(o)
2579
2580 PERL_CALLCONV void      Perl_pad_leavemy(pTHX);
2581 #ifdef DEBUGGING
2582 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
2583 #endif
2584 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2585 #if defined(PERL_IN_PAD_C)
2586 STATIC void     S_pad_reset(pTHX);
2587 #endif
2588 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2589 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2590 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
2591 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2592                         __attribute__nonnull__(pTHX_1)
2593                         __attribute__nonnull__(pTHX_2);
2594 #define PERL_ARGS_ASSERT_START_GLOB     \
2595         assert(tmpglob); assert(io)
2596
2597 #if defined(USE_REENTRANT_API)
2598 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2599 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2600 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2601 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
2602                         __attribute__nonnull__(1);
2603 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2604         assert(f)
2605
2606 #endif
2607 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
2608 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
2609                         __attribute__nonnull__(pTHX_1)
2610                         __attribute__nonnull__(pTHX_3);
2611 #define PERL_ARGS_ASSERT_CALL_ARGV      \
2612         assert(sub_name); assert(argv)
2613
2614 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags)
2615                         __attribute__nonnull__(pTHX_1);
2616 #define PERL_ARGS_ASSERT_CALL_METHOD    \
2617         assert(methname)
2618
2619 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
2620                         __attribute__nonnull__(pTHX_1);
2621 #define PERL_ARGS_ASSERT_CALL_PV        \
2622         assert(sub_name)
2623
2624 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
2625                         __attribute__nonnull__(pTHX_1);
2626 #define PERL_ARGS_ASSERT_CALL_SV        \
2627         assert(sv)
2628
2629 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
2630 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2631                         __attribute__nonnull__(pTHX_1);
2632 #define PERL_ARGS_ASSERT_DOREF  \
2633         assert(o)
2634
2635 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
2636                         __attribute__nonnull__(pTHX_1);
2637 #define PERL_ARGS_ASSERT_EVAL_PV        \
2638         assert(p)
2639
2640 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags)
2641                         __attribute__nonnull__(pTHX_1);
2642 #define PERL_ARGS_ASSERT_EVAL_SV        \
2643         assert(sv)
2644
2645 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags)
2646                         __attribute__nonnull__(pTHX_1);
2647 #define PERL_ARGS_ASSERT_GET_SV \
2648         assert(name)
2649
2650 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags)
2651                         __attribute__nonnull__(pTHX_1);
2652 #define PERL_ARGS_ASSERT_GET_AV \
2653         assert(name)
2654
2655 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags)
2656                         __attribute__nonnull__(pTHX_1);
2657 #define PERL_ARGS_ASSERT_GET_HV \
2658         assert(name)
2659
2660 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags)
2661                         __attribute__nonnull__(pTHX_1);
2662 #define PERL_ARGS_ASSERT_GET_CV \
2663         assert(name)
2664
2665 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
2666                         __attribute__nonnull__(pTHX_1);
2667 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
2668         assert(name)
2669
2670 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
2671 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
2672 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2673 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
2674                         __attribute__nonnull__(pTHX_1);
2675 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2676         assert(newctype)
2677
2678 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2679 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2680 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2681 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2682 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
2683                         __attribute__nonnull__(pTHX_1);
2684 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2685         assert(pv)
2686
2687 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)
2688                         __attribute__nonnull__(pTHX_1)
2689                         __attribute__nonnull__(pTHX_2)
2690                         __attribute__nonnull__(pTHX_3)
2691                         __attribute__nonnull__(pTHX_4)
2692                         __attribute__nonnull__(pTHX_5)
2693                         __attribute__nonnull__(pTHX_6);
2694 #define PERL_ARGS_ASSERT_PACK_CAT       \
2695         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2696
2697 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2698                         __attribute__nonnull__(pTHX_1)
2699                         __attribute__nonnull__(pTHX_2)
2700                         __attribute__nonnull__(pTHX_3)
2701                         __attribute__nonnull__(pTHX_4)
2702                         __attribute__nonnull__(pTHX_5);
2703 #define PERL_ARGS_ASSERT_PACKLIST       \
2704         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2705
2706 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2707 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
2708 #endif
2709 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
2710                         __attribute__nonnull__(pTHX_1)
2711                         __attribute__nonnull__(pTHX_2);
2712 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2713         assert(o); assert(expr)
2714
2715 #if defined(PERL_IN_OP_C)
2716 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
2717                         __attribute__nonnull__(pTHX_1)
2718                         __attribute__nonnull__(pTHX_2)
2719                         __attribute__nonnull__(pTHX_3);
2720 #define PERL_ARGS_ASSERT_PMTRANS        \
2721         assert(o); assert(expr); assert(repl)
2722
2723 #endif
2724 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2725 PERL_CALLCONV OP*       Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
2726 PERL_CALLCONV void      Perl_push_scope(pTHX);
2727 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
2728 #if defined(PERL_IN_OP_C)
2729 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
2730 #endif
2731 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2732                         __attribute__nonnull__(pTHX_1);
2733 #define PERL_ARGS_ASSERT_REGDUMP        \
2734         assert(r)
2735
2736 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2737                         __attribute__nonnull__(pTHX_1);
2738 #define PERL_ARGS_ASSERT_REGDUMP        \
2739         assert(r)
2740
2741 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
2742                         __attribute__nonnull__(pTHX_2);
2743 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2744         assert(node)
2745
2746 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2747                         __attribute__nonnull__(pTHX_1)
2748                         __attribute__nonnull__(pTHX_2)
2749                         __attribute__nonnull__(pTHX_3)
2750                         __attribute__nonnull__(pTHX_4)
2751                         __attribute__nonnull__(pTHX_6);
2752 #define PERL_ARGS_ASSERT_PREGEXEC       \
2753         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2754
2755 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2756 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
2757                         __attribute__nonnull__(pTHX_1);
2758 #define PERL_ARGS_ASSERT_PREGFREE2      \
2759         assert(rx)
2760
2761 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
2762                         __attribute__nonnull__(pTHX_2);
2763 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2764         assert(rx)
2765
2766 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
2767                         __attribute__nonnull__(pTHX_1);
2768 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2769         assert(rx)
2770
2771 #if defined(USE_ITHREADS)
2772 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
2773                         __attribute__nonnull__(pTHX_1)
2774                         __attribute__nonnull__(pTHX_2);
2775 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
2776         assert(r); assert(param)
2777
2778 #endif
2779 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2780                         __attribute__nonnull__(pTHX_1);
2781 #define PERL_ARGS_ASSERT_PREGCOMP       \
2782         assert(pattern)
2783
2784 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
2785                         __attribute__nonnull__(pTHX_1);
2786 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2787         assert(pattern)
2788
2789 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)
2790                         __attribute__nonnull__(pTHX_1)
2791                         __attribute__nonnull__(pTHX_3)
2792                         __attribute__nonnull__(pTHX_4);
2793 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2794         assert(rx); assert(strpos); assert(strend)
2795
2796 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
2797                         __attribute__nonnull__(pTHX_1);
2798 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2799         assert(r)
2800
2801 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
2802                         __attribute__nonnull__(pTHX_1)
2803                         __attribute__nonnull__(pTHX_2)
2804                         __attribute__nonnull__(pTHX_3)
2805                         __attribute__nonnull__(pTHX_4)
2806                         __attribute__nonnull__(pTHX_6);
2807 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2808         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2809
2810 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2811                         __attribute__warn_unused_result__;
2812
2813
2814 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2815                         __attribute__nonnull__(pTHX_1);
2816 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2817         assert(rx)
2818
2819 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2820                         __attribute__nonnull__(pTHX_1);
2821 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2822         assert(rx)
2823
2824 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
2825                         __attribute__nonnull__(pTHX_1)
2826                         __attribute__nonnull__(pTHX_2);
2827 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2828         assert(rx); assert(namesv)
2829
2830 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2831                         __attribute__nonnull__(pTHX_1)
2832                         __attribute__nonnull__(pTHX_2);
2833 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2834         assert(rx); assert(key)
2835
2836 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2837                         __attribute__nonnull__(pTHX_1);
2838 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2839         assert(rx)
2840
2841 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2842                         __attribute__nonnull__(pTHX_1);
2843 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2844         assert(rx)
2845
2846 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2847                         __attribute__nonnull__(pTHX_1);
2848 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2849         assert(rx)
2850
2851 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2852                         __attribute__nonnull__(pTHX_1);
2853 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2854         assert(rx)
2855
2856
2857 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2858                         __attribute__nonnull__(pTHX_1);
2859 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2860         assert(rx)
2861
2862 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
2863                         __attribute__nonnull__(pTHX_1);
2864 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2865         assert(rx)
2866
2867 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2868                         __attribute__nonnull__(pTHX_1)
2869                         __attribute__nonnull__(pTHX_2);
2870 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2871         assert(rx); assert(sv)
2872
2873
2874 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
2875                         __attribute__nonnull__(pTHX_1);
2876 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2877         assert(rx)
2878
2879
2880 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2881                         __attribute__nonnull__(pTHX_2)
2882                         __attribute__nonnull__(pTHX_3);
2883 #define PERL_ARGS_ASSERT_REGPROP        \
2884         assert(sv); assert(o)
2885
2886 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2887                         __attribute__nonnull__(1)
2888                         __attribute__nonnull__(2);
2889 #define PERL_ARGS_ASSERT_REPEATCPY      \
2890         assert(to); assert(from)
2891
2892 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2893                         __attribute__pure__
2894                         __attribute__nonnull__(1)
2895                         __attribute__nonnull__(2)
2896                         __attribute__nonnull__(3)
2897                         __attribute__nonnull__(4);
2898 #define PERL_ARGS_ASSERT_RNINSTR        \
2899         assert(big); assert(bigend); assert(little); assert(lend)
2900
2901 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2902 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2903 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
2904                         __attribute__nonnull__(pTHX_3);
2905 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2906         assert(save)
2907
2908 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2909 #if defined(PERL_IN_PP_CTL_C)
2910 STATIC void     S_rxres_free(pTHX_ void** rsp)
2911                         __attribute__nonnull__(pTHX_1);
2912 #define PERL_ARGS_ASSERT_RXRES_FREE     \
2913         assert(rsp)
2914
2915 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
2916                         __attribute__nonnull__(pTHX_1)
2917                         __attribute__nonnull__(pTHX_2);
2918 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
2919         assert(rsp); assert(rx)
2920
2921 #endif
2922 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
2923                         __attribute__nonnull__(pTHX_1)
2924                         __attribute__nonnull__(pTHX_2);
2925 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2926         assert(rsp); assert(rx)
2927
2928 #if !defined(HAS_RENAME)
2929 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
2930                         __attribute__nonnull__(pTHX_1)
2931                         __attribute__nonnull__(pTHX_2);
2932 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
2933         assert(a); assert(b)
2934
2935 #endif
2936 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2937                         __attribute__malloc__
2938                         __attribute__warn_unused_result__;
2939
2940 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2941                         __attribute__malloc__
2942                         __attribute__warn_unused_result__;
2943
2944 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2945                         __attribute__malloc__
2946                         __attribute__warn_unused_result__;
2947
2948 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2949                         __attribute__malloc__
2950                         __attribute__warn_unused_result__
2951                         __attribute__nonnull__(pTHX_1);
2952 #define PERL_ARGS_ASSERT_SAVESHAREDPVN  \
2953         assert(pv)
2954
2955 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2956                         __attribute__malloc__
2957                         __attribute__warn_unused_result__
2958                         __attribute__nonnull__(pTHX_1);
2959 #define PERL_ARGS_ASSERT_SAVESVPV       \
2960         assert(sv)
2961
2962 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2963 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2964 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2965                         __attribute__nonnull__(pTHX_1)
2966                         __attribute__nonnull__(pTHX_3); */
2967
2968 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
2969                         __attribute__nonnull__(pTHX_1)
2970                         __attribute__nonnull__(pTHX_3);
2971 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2972         assert(av); assert(sptr)
2973
2974 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2975 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
2976                         __attribute__nonnull__(pTHX_1);
2977 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2978         assert(aptr)
2979
2980 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
2981                         __attribute__nonnull__(pTHX_1);
2982 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2983         assert(gv)
2984
2985 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
2986                         __attribute__nonnull__(pTHX_1);
2987 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2988         assert(boolp)
2989
2990 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
2991                         __attribute__nonnull__(pTHX_1);
2992 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2993         assert(svp)
2994
2995 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
2996                         __attribute__nonnull__(pTHX_1)
2997                         __attribute__nonnull__(pTHX_2);
2998 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2999         assert(hv); assert(key)
3000
3001 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
3002                         __attribute__nonnull__(pTHX_1)
3003                         __attribute__nonnull__(pTHX_2);
3004 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3005         assert(hv); assert(keysv)
3006
3007 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, I32 key)
3008                         __attribute__nonnull__(pTHX_1);
3009 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
3010         assert(av)
3011
3012 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3013                         __attribute__nonnull__(pTHX_2);
3014 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3015         assert(p)
3016
3017 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3018 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
3019 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
3020 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
3021 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
3022                         __attribute__nonnull__(pTHX_1);
3023 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3024         assert(sptr)
3025
3026 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
3027                         __attribute__nonnull__(pTHX_1);
3028 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3029         assert(str)
3030
3031 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
3032                         __attribute__nonnull__(pTHX_1);
3033 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3034         assert(str)
3035
3036 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
3037                         __attribute__nonnull__(pTHX_1);
3038 #define PERL_ARGS_ASSERT_SAVE_GP        \
3039         assert(gv)
3040
3041 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
3042                         __attribute__nonnull__(pTHX_1);
3043 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3044         assert(gv)
3045
3046 PERL_CALLCONV void      Perl_save_hints(pTHX);
3047 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
3048                         __attribute__nonnull__(pTHX_1)
3049                         __attribute__nonnull__(pTHX_2)
3050                         __attribute__nonnull__(pTHX_3); */
3051
3052 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3053                         __attribute__nonnull__(pTHX_1)
3054                         __attribute__nonnull__(pTHX_2)
3055                         __attribute__nonnull__(pTHX_3);
3056 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3057         assert(hv); assert(key); assert(sptr)
3058
3059 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
3060                         __attribute__nonnull__(pTHX_1);
3061 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3062         assert(hptr)
3063
3064 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
3065                         __attribute__nonnull__(pTHX_1);
3066 #define PERL_ARGS_ASSERT_SAVE_I16       \
3067         assert(intp)
3068
3069 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
3070                         __attribute__nonnull__(pTHX_1);
3071 #define PERL_ARGS_ASSERT_SAVE_I32       \
3072         assert(intp)
3073
3074 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
3075                         __attribute__nonnull__(pTHX_1);
3076 #define PERL_ARGS_ASSERT_SAVE_I8        \
3077         assert(bytep)
3078
3079 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
3080                         __attribute__nonnull__(pTHX_1);
3081 #define PERL_ARGS_ASSERT_SAVE_INT       \
3082         assert(intp)
3083
3084 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
3085                         __attribute__nonnull__(pTHX_1);
3086 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3087         assert(item)
3088
3089 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
3090                         __attribute__nonnull__(pTHX_1);
3091 #define PERL_ARGS_ASSERT_SAVE_IV        \
3092         assert(ivp)
3093
3094 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3095                         __attribute__nonnull__(pTHX_1);
3096 #define PERL_ARGS_ASSERT_SAVE_LIST      \
3097         assert(sarg)
3098
3099 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
3100                         __attribute__nonnull__(pTHX_1);
3101 #define PERL_ARGS_ASSERT_SAVE_LONG      \
3102         assert(longp)
3103
3104 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
3105                         __attribute__nonnull__(pTHX_1); */
3106 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3107         assert(sv)
3108
3109 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
3110                         __attribute__nonnull__(pTHX_1);
3111 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
3112         assert(gv)
3113
3114 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
3115 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
3116                         __attribute__nonnull__(pTHX_1);
3117 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3118         assert(gv)
3119
3120 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
3121                         __attribute__nonnull__(pTHX_1);
3122 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3123         assert(pptr)
3124
3125 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
3126                         __attribute__nonnull__(pTHX_1);
3127 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3128         assert(ptr)
3129
3130 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3131 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3132 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
3133                         __attribute__nonnull__(pTHX_1);
3134 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3135         assert(sptr)
3136
3137 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
3138                         __attribute__nonnull__(pTHX_1);
3139 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3140         assert(sptr)
3141
3142 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3143 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3144 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3145 #if defined(PERL_IN_SCOPE_C)
3146 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
3147 #endif
3148 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
3149 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
3150 #if defined(PERL_IN_OP_C)
3151 STATIC OP*      S_scalarkids(pTHX_ OP* o);
3152 STATIC OP*      S_scalarseq(pTHX_ OP* o);
3153 #endif
3154 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3155                         __attribute__nonnull__(pTHX_1);
3156 #define PERL_ARGS_ASSERT_SCALARVOID     \
3157         assert(o)
3158
3159 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3160                         __attribute__nonnull__(pTHX_1)
3161                         __attribute__nonnull__(pTHX_3);
3162 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3163         assert(start); assert(retlen)
3164
3165 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3166                         __attribute__nonnull__(pTHX_1)
3167                         __attribute__nonnull__(pTHX_3);
3168 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3169         assert(start); assert(retlen)
3170
3171 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3172                         __attribute__nonnull__(pTHX_1)
3173                         __attribute__nonnull__(pTHX_2);
3174 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3175         assert(s); assert(lvalp)
3176
3177 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3178                         __attribute__nonnull__(pTHX_1)
3179                         __attribute__nonnull__(pTHX_3);
3180 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3181         assert(start); assert(retlen)
3182
3183 PERL_CALLCONV OP*       Perl_scope(pTHX_ OP* o);
3184 PERL_CALLCONV char*     Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
3185                         __attribute__nonnull__(pTHX_1)
3186                         __attribute__nonnull__(pTHX_2)
3187                         __attribute__nonnull__(pTHX_5);
3188 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
3189         assert(bigstr); assert(littlestr); assert(old_posp)
3190
3191 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
3192 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3193                         __attribute__nonnull__(pTHX_1);
3194 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3195         assert(str)
3196
3197 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
3198 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
3199 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
3200 #else
3201 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
3202 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
3203 #endif
3204 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
3205                         __attribute__nonnull__(pTHX_1)
3206                         __attribute__nonnull__(pTHX_2);
3207 #define PERL_ARGS_ASSERT_STACK_GROW     \
3208         assert(sp); assert(p)
3209
3210 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3211 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
3212                         __attribute__nonnull__(pTHX_1);
3213 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3214         assert(cv)
3215
3216 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv)
3217                         __attribute__nonnull__(pTHX_1); */
3218
3219 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *const sv, const I32 flags)
3220                         __attribute__nonnull__(pTHX_1);
3221 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3222         assert(sv)
3223
3224 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3225                         __attribute__nonnull__(pTHX_2)
3226                         __attribute__nonnull__(pTHX_3);
3227 #define PERL_ARGS_ASSERT_SV_2CV \
3228         assert(st); assert(gvp)
3229
3230 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
3231                         __attribute__nonnull__(pTHX_1);
3232 #define PERL_ARGS_ASSERT_SV_2IO \
3233         assert(sv)
3234
3235 #if defined(PERL_IN_SV_C)
3236 STATIC bool     S_glob_2number(pTHX_ GV* const gv)
3237                         __attribute__nonnull__(pTHX_1);
3238 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
3239         assert(gv)
3240
3241 #endif
3242 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv); */
3243 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3244 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3245 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3246 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3247                         __attribute__nonnull__(pTHX_1);
3248 #define PERL_ARGS_ASSERT_SV_2NUM        \
3249         assert(sv)
3250
3251 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3252 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3253 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3254                         __attribute__nonnull__(pTHX_1);
3255 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3256         assert(sv)
3257
3258 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3259                         __attribute__nonnull__(pTHX_1);
3260 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3261         assert(sv)
3262
3263 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3264                         __attribute__nonnull__(pTHX_1);
3265 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3266         assert(sv)
3267
3268 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv); */
3269 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3270 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
3271                         __attribute__nonnull__(pTHX_1);
3272 #define PERL_ARGS_ASSERT_SV_IV  \
3273         assert(sv)
3274
3275 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
3276                         __attribute__nonnull__(pTHX_1);
3277 #define PERL_ARGS_ASSERT_SV_UV  \
3278         assert(sv)
3279
3280 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
3281                         __attribute__nonnull__(pTHX_1);
3282 #define PERL_ARGS_ASSERT_SV_NV  \
3283         assert(sv)
3284
3285 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3286                         __attribute__nonnull__(pTHX_1)
3287                         __attribute__nonnull__(pTHX_2);
3288 #define PERL_ARGS_ASSERT_SV_PVN \
3289         assert(sv); assert(lp)
3290
3291 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3292                         __attribute__nonnull__(pTHX_1)
3293                         __attribute__nonnull__(pTHX_2);
3294 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3295         assert(sv); assert(lp)
3296
3297 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3298                         __attribute__nonnull__(pTHX_1)
3299                         __attribute__nonnull__(pTHX_2);
3300 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3301         assert(sv); assert(lp)
3302
3303 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3304 #if defined(PERL_IN_SV_C)
3305 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
3306                         __attribute__nonnull__(pTHX_1);
3307 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
3308         assert(ptr)
3309
3310 #endif
3311 PERL_CALLCONV int       Perl_sv_backoff(pTHX_ SV *const sv)
3312                         __attribute__nonnull__(pTHX_1);
3313 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3314         assert(sv)
3315
3316 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3317                         __attribute__nonnull__(pTHX_1)
3318                         __attribute__nonnull__(pTHX_2);
3319 #define PERL_ARGS_ASSERT_SV_BLESS       \
3320         assert(sv); assert(stash)
3321
3322 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3323                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3324                         __attribute__nonnull__(pTHX_1)
3325                         __attribute__nonnull__(pTHX_2);
3326 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3327         assert(sv); assert(pat)
3328
3329 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3330                         __attribute__nonnull__(pTHX_1)
3331                         __attribute__nonnull__(pTHX_2);
3332 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3333         assert(sv); assert(pat)
3334
3335 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3336                         __attribute__nonnull__(pTHX_1);
3337 #define PERL_ARGS_ASSERT_SV_CATPV       \
3338         assert(sv)
3339
3340 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3341                         __attribute__nonnull__(pTHX_1)
3342                         __attribute__nonnull__(pTHX_2); */
3343 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3344         assert(dsv); assert(sstr)
3345
3346 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3347                         __attribute__nonnull__(pTHX_1); */
3348 #define PERL_ARGS_ASSERT_SV_CATSV       \
3349         assert(dstr)
3350
3351 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3352                         __attribute__nonnull__(pTHX_1);
3353 #define PERL_ARGS_ASSERT_SV_CHOP        \
3354         assert(sv)
3355
3356 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3357 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3358 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const sv)
3359                         __attribute__nonnull__(pTHX_1);
3360 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3361         assert(sv)
3362
3363 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3364 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const I32 flags);
3365 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3366 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const I32 flags);
3367 #if defined(USE_LOCALE_COLLATE)
3368 /* PERL_CALLCONV char*  sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
3369                         __attribute__nonnull__(pTHX_1)
3370                         __attribute__nonnull__(pTHX_2); */
3371
3372 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags)
3373                         __attribute__nonnull__(pTHX_1)
3374                         __attribute__nonnull__(pTHX_2);
3375 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
3376         assert(sv); assert(nxp)
3377
3378 #endif
3379 PERL_CALLCONV OP*       Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
3380                         __attribute__nonnull__(pTHX_1)
3381                         __attribute__nonnull__(pTHX_2)
3382                         __attribute__nonnull__(pTHX_3)
3383                         __attribute__nonnull__(pTHX_4);
3384 #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \
3385         assert(sv); assert(startop); assert(code); assert(padp)
3386
3387 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv)
3388                         __attribute__nonnull__(pTHX_1);
3389 #define PERL_ARGS_ASSERT_GETCWD_SV      \
3390         assert(sv)
3391
3392 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3393 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3394 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv)
3395                         __attribute__nonnull__(pTHX_1);
3396 #define PERL_ARGS_ASSERT_SV_DUMP        \
3397         assert(sv)
3398
3399 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3400                         __attribute__warn_unused_result__
3401                         __attribute__nonnull__(pTHX_1)
3402                         __attribute__nonnull__(pTHX_2);
3403 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3404         assert(sv); assert(name)
3405
3406 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3407                         __attribute__warn_unused_result__
3408                         __attribute__nonnull__(pTHX_1)
3409                         __attribute__nonnull__(pTHX_2);
3410 #define PERL_ARGS_ASSERT_SV_DOES        \
3411         assert(sv); assert(name)
3412
3413 /* PERL_CALLCONV I32    sv_eq(pTHX_ SV* sv1, SV* sv2); */
3414 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const I32 flags);
3415 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3416 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv)
3417                         __attribute__nonnull__(pTHX_1);
3418 #define PERL_ARGS_ASSERT_SV_FREE2       \
3419         assert(sv)
3420
3421 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3422 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
3423                         __attribute__nonnull__(pTHX_1)
3424                         __attribute__nonnull__(pTHX_2);
3425 #define PERL_ARGS_ASSERT_SV_GETS        \
3426         assert(sv); assert(fp)
3427
3428 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
3429                         __attribute__nonnull__(pTHX_1);
3430 #define PERL_ARGS_ASSERT_SV_GROW        \
3431         assert(sv)
3432
3433 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3434 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3435 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
3436                         __attribute__nonnull__(pTHX_1)
3437                         __attribute__nonnull__(pTHX_4); */
3438 #define PERL_ARGS_ASSERT_SV_INSERT      \
3439         assert(bigstr); assert(little)
3440
3441 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags)
3442                         __attribute__nonnull__(pTHX_1)
3443                         __attribute__nonnull__(pTHX_4);
3444 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3445         assert(bigstr); assert(little)
3446
3447 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name)
3448                         __attribute__nonnull__(pTHX_2);
3449 #define PERL_ARGS_ASSERT_SV_ISA \
3450         assert(name)
3451
3452 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3453 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3454 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3455 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
3456                         __attribute__nonnull__(pTHX_1);
3457 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3458         assert(sv)
3459
3460 PERL_CALLCONV MAGIC *   Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen)
3461                         __attribute__nonnull__(pTHX_1);
3462 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3463         assert(sv)
3464
3465 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3466                         __attribute__malloc__
3467                         __attribute__warn_unused_result__;
3468
3469 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3470                         __attribute__warn_unused_result__;
3471
3472 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3473 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3474 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
3475                         __attribute__nonnull__(pTHX_2);
3476 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3477         assert(offsetp)
3478
3479 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags)
3480                         __attribute__nonnull__(pTHX_1);
3481 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3482         assert(sv)
3483
3484 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
3485                         __attribute__nonnull__(pTHX_2);
3486 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3487         assert(offsetp)
3488
3489 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
3490                         __attribute__nonnull__(pTHX_1); */
3491 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3492         assert(sv)
3493
3494 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
3495                         __attribute__nonnull__(pTHX_1);
3496 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3497         assert(sv)
3498
3499 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
3500                         __attribute__nonnull__(pTHX_1);
3501 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3502         assert(sv)
3503
3504 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
3505                         __attribute__nonnull__(pTHX_1)
3506                         __attribute__nonnull__(pTHX_2);
3507 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3508         assert(sv); assert(encoding)
3509
3510 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3511                         __attribute__nonnull__(pTHX_1)
3512                         __attribute__nonnull__(pTHX_2)
3513                         __attribute__nonnull__(pTHX_3)
3514                         __attribute__nonnull__(pTHX_4)
3515                         __attribute__nonnull__(pTHX_5);
3516 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3517         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3518
3519 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3520                         __attribute__warn_unused_result__
3521                         __attribute__nonnull__(pTHX_1);
3522 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3523         assert(sv)
3524
3525 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
3526                         __attribute__nonnull__(pTHX_1)
3527                         __attribute__nonnull__(pTHX_2);
3528 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3529         assert(sv); assert(nsv)
3530
3531 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3532 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash)
3533                         __attribute__nonnull__(pTHX_1);
3534 #define PERL_ARGS_ASSERT_SV_RESET       \
3535         assert(s)
3536
3537 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3538                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3539                         __attribute__nonnull__(pTHX_1)
3540                         __attribute__nonnull__(pTHX_2);
3541 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3542         assert(sv); assert(pat)
3543
3544 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3545                         __attribute__nonnull__(pTHX_1)
3546                         __attribute__nonnull__(pTHX_2);
3547 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3548         assert(sv); assert(pat)
3549
3550 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
3551                         __attribute__nonnull__(pTHX_1);
3552 #define PERL_ARGS_ASSERT_SV_SETIV       \
3553         assert(sv)
3554
3555 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3556                         __attribute__nonnull__(pTHX_1);
3557 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3558         assert(sv)
3559
3560 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
3561                         __attribute__nonnull__(pTHX_1);
3562 #define PERL_ARGS_ASSERT_SV_SETUV       \
3563         assert(sv)
3564
3565 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
3566                         __attribute__nonnull__(pTHX_1);
3567 #define PERL_ARGS_ASSERT_SV_SETNV       \
3568         assert(sv)
3569
3570 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
3571                         __attribute__nonnull__(pTHX_1);
3572 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3573         assert(rv)
3574
3575 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
3576                         __attribute__nonnull__(pTHX_1);
3577 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3578         assert(rv)
3579
3580 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
3581                         __attribute__nonnull__(pTHX_1);
3582 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3583         assert(rv)
3584
3585 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
3586                         __attribute__nonnull__(pTHX_1);
3587 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3588         assert(rv)
3589
3590 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
3591                         __attribute__nonnull__(pTHX_1)
3592                         __attribute__nonnull__(pTHX_3);
3593 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3594         assert(rv); assert(pv)
3595
3596 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
3597                         __attribute__nonnull__(pTHX_1);
3598 #define PERL_ARGS_ASSERT_SV_SETPV       \
3599         assert(sv)
3600
3601 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3602                         __attribute__nonnull__(pTHX_1);
3603 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3604         assert(sv)
3605
3606 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
3607                         __attribute__nonnull__(pTHX_1); */
3608 #define PERL_ARGS_ASSERT_SV_SETSV       \
3609         assert(dstr)
3610
3611 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv)
3612                         __attribute__nonnull__(pTHX_1); */
3613 #define PERL_ARGS_ASSERT_SV_TAINT       \
3614         assert(sv)
3615
3616 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3617                         __attribute__warn_unused_result__
3618                         __attribute__nonnull__(pTHX_1);
3619 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3620         assert(sv)
3621
3622 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
3623                         __attribute__nonnull__(pTHX_1);
3624 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3625         assert(sv)
3626
3627 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv)
3628                         __attribute__nonnull__(pTHX_1); */
3629 #define PERL_ARGS_ASSERT_SV_UNREF       \
3630         assert(sv)
3631
3632 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
3633                         __attribute__nonnull__(pTHX_1);
3634 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3635         assert(ref)
3636
3637 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv)
3638                         __attribute__nonnull__(pTHX_1);
3639 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3640         assert(sv)
3641
3642 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
3643                         __attribute__nonnull__(pTHX_1);
3644 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3645         assert(sv)
3646
3647 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
3648                         __attribute__nonnull__(pTHX_1); */
3649 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3650         assert(sv)
3651
3652 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
3653                         __attribute__nonnull__(pTHX_1);
3654 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3655         assert(sv)
3656
3657 PERL_CALLCONV void      Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
3658                         __attribute__nonnull__(pTHX_1)
3659                         __attribute__nonnull__(pTHX_2);
3660 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3661         assert(sv); assert(pat)
3662
3663 PERL_CALLCONV void      Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
3664                         __attribute__nonnull__(pTHX_1)
3665                         __attribute__nonnull__(pTHX_2);
3666 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3667         assert(sv); assert(pat)
3668
3669 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3670                         __attribute__warn_unused_result__
3671                         __attribute__nonnull__(pTHX_1);
3672 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3673         assert(sv)
3674
3675 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3676                         __attribute__nonnull__(pTHX_1)
3677                         __attribute__nonnull__(pTHX_2)
3678                         __attribute__nonnull__(pTHX_3);
3679 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3680         assert(pkg); assert(name); assert(listsv)
3681
3682 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
3683                         __attribute__nonnull__(pTHX_1)
3684                         __attribute__nonnull__(pTHX_2);
3685 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3686         assert(swash); assert(ptr)
3687
3688 PERL_CALLCONV void      Perl_taint_env(pTHX);
3689 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s)
3690                         __attribute__nonnull__(pTHX_2);
3691 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3692         assert(s)
3693
3694 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3695                         __attribute__nonnull__(pTHX_1)
3696                         __attribute__nonnull__(pTHX_2)
3697                         __attribute__nonnull__(pTHX_4)
3698                         __attribute__nonnull__(pTHX_5)
3699                         __attribute__nonnull__(pTHX_6);
3700 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3701         assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special)
3702
3703 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3704                         __attribute__nonnull__(pTHX_1)
3705                         __attribute__nonnull__(pTHX_2);
3706 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3707         assert(p); assert(ustrp)
3708
3709 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3710                         __attribute__nonnull__(pTHX_1)
3711                         __attribute__nonnull__(pTHX_2);
3712 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3713         assert(p); assert(ustrp)
3714
3715 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3716                         __attribute__nonnull__(pTHX_1)
3717                         __attribute__nonnull__(pTHX_2);
3718 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3719         assert(p); assert(ustrp)
3720
3721 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3722                         __attribute__nonnull__(pTHX_1)
3723                         __attribute__nonnull__(pTHX_2);
3724 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3725         assert(p); assert(ustrp)
3726
3727 #if defined(UNLINK_ALL_VERSIONS)
3728 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f)
3729                         __attribute__nonnull__(pTHX_1);
3730 #define PERL_ARGS_ASSERT_UNLNK  \
3731         assert(f)
3732
3733 #endif
3734 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)
3735                         __attribute__nonnull__(pTHX_1)
3736                         __attribute__nonnull__(pTHX_2)
3737                         __attribute__nonnull__(pTHX_3)
3738                         __attribute__nonnull__(pTHX_5);
3739 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3740         assert(pat); assert(patend); assert(s); assert(strend)
3741
3742 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
3743                         __attribute__nonnull__(pTHX_1)
3744                         __attribute__nonnull__(pTHX_2)
3745                         __attribute__nonnull__(pTHX_3)
3746                         __attribute__nonnull__(pTHX_4);
3747 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3748         assert(pat); assert(patend); assert(s); assert(strend)
3749
3750 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3751 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3752 #ifdef PERL_MAD
3753 PERL_CALLCONV OP *      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3754                         __attribute__nonnull__(pTHX_4);
3755 #define PERL_ARGS_ASSERT_UTILIZE        \
3756         assert(idop)
3757
3758 #else
3759 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3760                         __attribute__nonnull__(pTHX_4);
3761 #define PERL_ARGS_ASSERT_UTILIZE        \
3762         assert(idop)
3763
3764 #endif
3765 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3766                         __attribute__nonnull__(pTHX_1)
3767                         __attribute__nonnull__(pTHX_2)
3768                         __attribute__nonnull__(pTHX_4);
3769 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3770         assert(p); assert(d); assert(newlen)
3771
3772 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3773                         __attribute__nonnull__(pTHX_1)
3774                         __attribute__nonnull__(pTHX_2)
3775                         __attribute__nonnull__(pTHX_4);
3776 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3777         assert(p); assert(d); assert(newlen)
3778
3779 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3780                         __attribute__warn_unused_result__
3781                         __attribute__pure__
3782                         __attribute__nonnull__(pTHX_1)
3783                         __attribute__nonnull__(pTHX_2);
3784 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3785         assert(s); assert(e)
3786
3787 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3788                         __attribute__warn_unused_result__
3789                         __attribute__pure__
3790                         __attribute__nonnull__(pTHX_1)
3791                         __attribute__nonnull__(pTHX_2);
3792 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3793         assert(a); assert(b)
3794
3795 PERL_CALLCONV U8*       Perl_utf8_hop(pTHX_ const U8 *s, I32 off)
3796                         __attribute__warn_unused_result__
3797                         __attribute__pure__
3798                         __attribute__nonnull__(pTHX_1);
3799 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3800         assert(s)
3801
3802 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
3803                         __attribute__nonnull__(pTHX_1)
3804                         __attribute__nonnull__(pTHX_2);
3805 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3806         assert(s); assert(len)
3807
3808 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
3809                         __attribute__nonnull__(pTHX_1)
3810                         __attribute__nonnull__(pTHX_2);
3811 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
3812         assert(s); assert(len)
3813
3814 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
3815                         __attribute__nonnull__(pTHX_1)
3816                         __attribute__nonnull__(pTHX_2);
3817 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
3818         assert(s); assert(len)
3819
3820 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3821                         __attribute__nonnull__(pTHX_1);
3822 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3823         assert(s)
3824
3825 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3826                         __attribute__nonnull__(pTHX_1);
3827 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3828         assert(s)
3829
3830
3831 #ifdef EBCDIC
3832 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3833                         __attribute__nonnull__(pTHX_1);
3834 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3835         assert(s)
3836
3837 #else
3838 /* PERL_CALLCONV UV     Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3839                         __attribute__nonnull__(pTHX_1); */
3840 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3841         assert(s)
3842
3843 #endif
3844
3845 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3846                         __attribute__nonnull__(pTHX_1);
3847 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3848         assert(s)
3849
3850
3851 #ifdef EBCDIC
3852 PERL_CALLCONV U8*       Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3853                         __attribute__nonnull__(pTHX_1);
3854 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3855         assert(d)
3856
3857 #else
3858 /* PERL_CALLCONV U8*    Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3859                         __attribute__nonnull__(pTHX_1); */
3860 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3861         assert(d)
3862
3863 #endif
3864
3865 /* PERL_CALLCONV U8*    Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
3866                         __attribute__nonnull__(pTHX_1); */
3867 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3868         assert(d)
3869
3870 PERL_CALLCONV U8*       Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3871                         __attribute__nonnull__(pTHX_1);
3872 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS    \
3873         assert(d)
3874
3875 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3876                         __attribute__nonnull__(pTHX_1);
3877 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3878         assert(d)
3879
3880 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3881                         __attribute__nonnull__(pTHX_1)
3882                         __attribute__nonnull__(pTHX_2);
3883 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3884         assert(dsv); assert(spv)
3885
3886 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3887                         __attribute__warn_unused_result__
3888                         __attribute__nonnull__(pTHX_1)
3889                         __attribute__nonnull__(pTHX_2);
3890 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3891         assert(dsv); assert(ssv)
3892
3893 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv)
3894                         __attribute__nonnull__(pTHX_1);
3895 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3896         assert(sv)
3897
3898 PERL_CALLCONV void      Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3899                         __attribute__nonnull__(pTHX_1);
3900 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3901         assert(sv)
3902
3903 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
3904                         __attribute__nonnull__(pTHX_2);
3905 #define PERL_ARGS_ASSERT_WAIT4PID       \
3906         assert(statusp)
3907
3908 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3909                         __attribute__nonnull__(pTHX_1);
3910 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3911         assert(popt)
3912
3913 PERL_CALLCONV U32       Perl_seed(pTHX);
3914 PERL_CALLCONV UV        Perl_get_hash_seed(pTHX)
3915                         __attribute__warn_unused_result__;
3916
3917 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op);
3918 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3919 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex)
3920                         __attribute__nonnull__(pTHX_1);
3921 #define PERL_ARGS_ASSERT_WARN_SV        \
3922         assert(baseex)
3923
3924 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3925                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
3926                         __attribute__nonnull__(pTHX_1);
3927 #define PERL_ARGS_ASSERT_WARN   \
3928         assert(pat)
3929
3930 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args)
3931                         __attribute__nonnull__(pTHX_1);
3932 #define PERL_ARGS_ASSERT_VWARN  \
3933         assert(pat)
3934
3935 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3936                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3937                         __attribute__nonnull__(pTHX_2);
3938 #define PERL_ARGS_ASSERT_WARNER \
3939         assert(pat)
3940
3941 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
3942                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3943                         __attribute__nonnull__(pTHX_2);
3944 #define PERL_ARGS_ASSERT_CK_WARNER      \
3945         assert(pat)
3946
3947 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
3948                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3949                         __attribute__nonnull__(pTHX_2);
3950 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
3951         assert(pat)
3952
3953 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
3954                         __attribute__nonnull__(pTHX_2);
3955 #define PERL_ARGS_ASSERT_VWARNER        \
3956         assert(pat)
3957
3958 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
3959                         __attribute__nonnull__(pTHX_1);
3960 #define PERL_ARGS_ASSERT_WATCH  \
3961         assert(addr)
3962
3963 PERL_CALLCONV I32       Perl_whichsig(pTHX_ const char* sig)
3964                         __attribute__nonnull__(pTHX_1);
3965 #define PERL_ARGS_ASSERT_WHICHSIG       \
3966         assert(sig)
3967
3968 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv)
3969                         __attribute__nonnull__(pTHX_1);
3970 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3971         assert(msv)
3972
3973 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
3974                         __attribute__nonnull__(pTHX_1);
3975 #define PERL_ARGS_ASSERT_YYERROR        \
3976         assert(s)
3977
3978 PERL_CALLCONV int       Perl_yylex(pTHX);
3979 PERL_CALLCONV void      Perl_yyunlex(pTHX);
3980 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
3981 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3982                         __attribute__nonnull__(pTHX_1);
3983 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3984         assert(parser)
3985
3986 #if defined(PERL_IN_TOKE_C)
3987 STATIC int      S_yywarn(pTHX_ const char *const s)
3988                         __attribute__nonnull__(pTHX_1);
3989 #define PERL_ARGS_ASSERT_YYWARN \
3990         assert(s)
3991
3992 #endif
3993 #if defined(MYMALLOC)
3994 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s)
3995                         __attribute__nonnull__(pTHX_1);
3996 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
3997         assert(s)
3998
3999 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
4000                         __attribute__nonnull__(pTHX_1);
4001 #define PERL_ARGS_ASSERT_GET_MSTATS     \
4002         assert(buf)
4003
4004 #endif
4005 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
4006                         __attribute__malloc__
4007                         __attribute__warn_unused_result__;
4008
4009 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
4010                         __attribute__malloc__
4011                         __attribute__warn_unused_result__;
4012
4013 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
4014                         __attribute__malloc__
4015                         __attribute__warn_unused_result__;
4016
4017 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
4018 #if defined(PERL_GLOBAL_STRUCT)
4019 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
4020 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
4021 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
4022                         __attribute__nonnull__(pTHX_1);
4023 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
4024         assert(plvarsp)
4025
4026 #endif
4027 PERL_CALLCONV int       Perl_runops_standard(pTHX);
4028 PERL_CALLCONV int       Perl_runops_debug(pTHX);
4029 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4030                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4031                         __attribute__nonnull__(pTHX_1)
4032                         __attribute__nonnull__(pTHX_2);
4033 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
4034         assert(sv); assert(pat)
4035
4036 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4037                         __attribute__nonnull__(pTHX_1)
4038                         __attribute__nonnull__(pTHX_2);
4039 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
4040         assert(sv); assert(pat)
4041
4042 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
4043                         __attribute__nonnull__(pTHX_1);
4044 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
4045         assert(sv)
4046
4047 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
4048                         __attribute__nonnull__(pTHX_1)
4049                         __attribute__nonnull__(pTHX_2); */
4050 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
4051         assert(sv); assert(ptr)
4052
4053 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
4054                         __attribute__nonnull__(pTHX_1); */
4055 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
4056         assert(dsv)
4057
4058 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4059                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4060                         __attribute__nonnull__(pTHX_1)
4061                         __attribute__nonnull__(pTHX_2);
4062 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
4063         assert(sv); assert(pat)
4064
4065 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4066                         __attribute__nonnull__(pTHX_1)
4067                         __attribute__nonnull__(pTHX_2);
4068 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
4069         assert(sv); assert(pat)
4070
4071 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
4072                         __attribute__nonnull__(pTHX_1);
4073 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
4074         assert(sv)
4075
4076 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
4077                         __attribute__nonnull__(pTHX_1);
4078 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
4079         assert(sv)
4080
4081 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
4082                         __attribute__nonnull__(pTHX_1);
4083 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
4084         assert(sv)
4085
4086 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
4087                         __attribute__nonnull__(pTHX_1);
4088 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
4089         assert(sv)
4090
4091 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
4092                         __attribute__nonnull__(pTHX_1);
4093 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
4094         assert(sv)
4095
4096 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
4097                         __attribute__nonnull__(pTHX_1)
4098                         __attribute__nonnull__(pTHX_2);
4099 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
4100         assert(sv); assert(ptr)
4101
4102 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
4103                         __attribute__nonnull__(pTHX_1);
4104 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
4105         assert(dstr)
4106
4107 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
4108                         __attribute__nonnull__(pTHX_1); */
4109 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
4110         assert(sv)
4111
4112 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
4113                         __attribute__warn_unused_result__;
4114
4115 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
4116                         __attribute__nonnull__(pTHX_1)
4117                         __attribute__nonnull__(pTHX_2);
4118 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
4119         assert(dsv); assert(pv)
4120
4121 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)
4122                         __attribute__nonnull__(pTHX_1)
4123                         __attribute__nonnull__(pTHX_2);
4124 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
4125         assert(dsv); assert(str)
4126
4127 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)
4128                         __attribute__nonnull__(pTHX_1)
4129                         __attribute__nonnull__(pTHX_2);
4130 #define PERL_ARGS_ASSERT_PV_PRETTY      \
4131         assert(dsv); assert(str)
4132
4133 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
4134                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
4135                         __attribute__nonnull__(pTHX_2)
4136                         __attribute__nonnull__(pTHX_3);
4137 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
4138         assert(file); assert(pat)
4139
4140 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
4141                         __attribute__nonnull__(pTHX_2)
4142                         __attribute__nonnull__(pTHX_3);
4143 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
4144         assert(file); assert(pat)
4145
4146 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
4147                         __attribute__nonnull__(pTHX_2)
4148                         __attribute__nonnull__(pTHX_3);
4149 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
4150         assert(file); assert(name)
4151
4152 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
4153                         __attribute__nonnull__(pTHX_2)
4154                         __attribute__nonnull__(pTHX_3);
4155 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
4156         assert(file); assert(name)
4157
4158 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
4159                         __attribute__nonnull__(pTHX_2)
4160                         __attribute__nonnull__(pTHX_3);
4161 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
4162         assert(file); assert(name)
4163
4164 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
4165                         __attribute__nonnull__(pTHX_2)
4166                         __attribute__nonnull__(pTHX_3);
4167 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
4168         assert(file); assert(mg)
4169
4170 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
4171                         __attribute__nonnull__(pTHX_2);
4172 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
4173         assert(file)
4174
4175 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
4176                         __attribute__nonnull__(pTHX_2);
4177 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
4178         assert(file)
4179
4180 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
4181                         __attribute__nonnull__(pTHX_2);
4182 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
4183         assert(file)
4184
4185 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
4186 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
4187 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
4188                         __attribute__warn_unused_result__
4189                         __attribute__nonnull__(pTHX_1); */
4190 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
4191         assert(sv)
4192
4193 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
4194                         __attribute__warn_unused_result__
4195                         __attribute__nonnull__(pTHX_1); */
4196 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
4197         assert(sv)
4198
4199 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
4200                         __attribute__warn_unused_result__
4201                         __attribute__nonnull__(pTHX_1); */
4202 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
4203         assert(sv)
4204
4205 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
4206                         __attribute__warn_unused_result__
4207                         __attribute__nonnull__(pTHX_1); */
4208 #define PERL_ARGS_ASSERT_SV_PV  \
4209         assert(sv)
4210
4211 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
4212                         __attribute__warn_unused_result__
4213                         __attribute__nonnull__(pTHX_1); */
4214 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
4215         assert(sv)
4216
4217 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
4218                         __attribute__warn_unused_result__
4219                         __attribute__nonnull__(pTHX_1); */
4220 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
4221         assert(sv)
4222
4223 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
4224                         __attribute__nonnull__(pTHX_1); */
4225 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
4226         assert(sv)
4227
4228 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv)
4229                         __attribute__nonnull__(pTHX_1); */
4230
4231 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
4232                         __attribute__nonnull__(pTHX_1);
4233 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
4234         assert(sv)
4235
4236 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv)
4237                         __attribute__nonnull__(pTHX_1);
4238 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4239         assert(sv)
4240
4241 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv)
4242                         __attribute__nonnull__(pTHX_1);
4243 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4244         assert(sv)
4245
4246 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv)
4247                         __attribute__nonnull__(pTHX_1); */
4248 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
4249         assert(sv)
4250
4251 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
4252                         __attribute__nonnull__(pTHX_1);
4253 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
4254         assert(sv)
4255
4256 PERL_CALLCONV void      Perl_tmps_grow(pTHX_ I32 n);
4257 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv)
4258                         __attribute__nonnull__(pTHX_1);
4259 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4260         assert(sv)
4261
4262 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
4263                         __attribute__nonnull__(pTHX_1)
4264                         __attribute__nonnull__(pTHX_2);
4265 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
4266         assert(sv); assert(mg)
4267
4268 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
4269 PERL_CALLCONV CV*       Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
4270 #ifdef PERL_MAD
4271 PERL_CALLCONV OP *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4272                         __attribute__noreturn__;
4273
4274 #else
4275 PERL_CALLCONV void      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4276                         __attribute__noreturn__;
4277
4278 #endif
4279 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
4280                         __attribute__nonnull__(pTHX_1);
4281 #define PERL_ARGS_ASSERT_MY_ATTRS       \
4282         assert(o)
4283
4284 #if defined(USE_ITHREADS)
4285 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
4286                         __attribute__warn_unused_result__
4287                         __attribute__nonnull__(pTHX_4);
4288 #define PERL_ARGS_ASSERT_CX_DUP \
4289         assert(param)
4290
4291 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
4292                         __attribute__warn_unused_result__
4293                         __attribute__nonnull__(pTHX_2);
4294 #define PERL_ARGS_ASSERT_SI_DUP \
4295         assert(param)
4296
4297 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
4298                         __attribute__malloc__
4299                         __attribute__warn_unused_result__
4300                         __attribute__nonnull__(pTHX_1)
4301                         __attribute__nonnull__(pTHX_2);
4302 #define PERL_ARGS_ASSERT_SS_DUP \
4303         assert(proto_perl); assert(param)
4304
4305 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
4306                         __attribute__warn_unused_result__
4307                         __attribute__nonnull__(pTHX_2);
4308 #define PERL_ARGS_ASSERT_ANY_DUP        \
4309         assert(proto_perl)
4310
4311 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
4312                         __attribute__warn_unused_result__
4313                         __attribute__nonnull__(pTHX_3);
4314 #define PERL_ARGS_ASSERT_HE_DUP \
4315         assert(param)
4316
4317 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
4318                         __attribute__warn_unused_result__
4319                         __attribute__nonnull__(pTHX_2);
4320 #define PERL_ARGS_ASSERT_HEK_DUP        \
4321         assert(param)
4322
4323 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
4324                         __attribute__nonnull__(pTHX_1)
4325                         __attribute__nonnull__(pTHX_2)
4326                         __attribute__nonnull__(pTHX_3);
4327 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
4328         assert(sstr); assert(dstr); assert(param)
4329
4330 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
4331                         __attribute__nonnull__(pTHX_3);
4332 #define PERL_ARGS_ASSERT_FP_DUP \
4333         assert(param)
4334
4335 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp)
4336                         __attribute__warn_unused_result__;
4337
4338 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
4339                         __attribute__warn_unused_result__
4340                         __attribute__nonnull__(pTHX_2);
4341 #define PERL_ARGS_ASSERT_GP_DUP \
4342         assert(param)
4343
4344 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
4345                         __attribute__warn_unused_result__
4346                         __attribute__nonnull__(pTHX_2);
4347 #define PERL_ARGS_ASSERT_MG_DUP \
4348         assert(param)
4349
4350 #if defined(PERL_IN_SV_C)
4351 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param)
4352                         __attribute__nonnull__(pTHX_1)
4353                         __attribute__nonnull__(pTHX_2)
4354                         __attribute__nonnull__(pTHX_4);
4355 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
4356         assert(source); assert(dest); assert(param)
4357
4358 #endif
4359 #if defined(PERL_IN_SV_C)
4360 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4361                         __attribute__warn_unu