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