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