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