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