This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Glossary for d_ptrdiff_t
[perl5.git] / proto.h
1 /* -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6  *    2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
7  *
8  *    You may distribute under the terms of either the GNU General Public
9  *    License or the Artistic License, as specified in the README file.
10  *
11  * !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
12  * This file is built by regen/embed.pl from data in embed.fnc,
13  * regen/embed.pl, regen/opcodes, 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 PERL_CALLCONV UV        ASCII_TO_NEED(const UV enc, const UV ch)
21                         __attribute__deprecated__
22                         __attribute__warn_unused_result__
23                         __attribute__pure__;
24
25 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
26                         __attribute__nonnull__(pTHX_1);
27 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
28         assert(stash)
29
30 PERL_CALLCONV UV        NATIVE_TO_NEED(const UV enc, const UV ch)
31                         __attribute__deprecated__
32                         __attribute__warn_unused_result__
33                         __attribute__pure__;
34
35 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
36 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
37                         __attribute__malloc__
38                         __attribute__warn_unused_result__;
39
40 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op)
41                         __attribute__nonnull__(pTHX_1);
42 #define PERL_ARGS_ASSERT_SLAB_FREE      \
43         assert(op)
44
45 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
46 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
47                         __attribute__warn_unused_result__;
48
49 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
50                         __attribute__warn_unused_result__;
51
52 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
53                         __attribute__warn_unused_result__;
54
55 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p)
56                         __attribute__warn_unused_result__
57                         __attribute__nonnull__(pTHX_2);
58 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
59         assert(p)
60
61 PERL_STATIC_INLINE STRLEN       S__is_utf8_char_slow(const U8 *s, const U8 *e)
62                         __attribute__warn_unused_result__
63                         __attribute__nonnull__(1)
64                         __attribute__nonnull__(2);
65 #define PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW     \
66         assert(s); assert(e)
67
68 PERL_CALLCONV bool      Perl__is_utf8_idcont(pTHX_ const U8 *p)
69                         __attribute__warn_unused_result__
70                         __attribute__nonnull__(pTHX_1);
71 #define PERL_ARGS_ASSERT__IS_UTF8_IDCONT        \
72         assert(p)
73
74 PERL_CALLCONV bool      Perl__is_utf8_idstart(pTHX_ const U8 *p)
75                         __attribute__warn_unused_result__
76                         __attribute__nonnull__(pTHX_1);
77 #define PERL_ARGS_ASSERT__IS_UTF8_IDSTART       \
78         assert(p)
79
80 PERL_CALLCONV bool      Perl__is_utf8_mark(pTHX_ const U8 *p)
81                         __attribute__warn_unused_result__
82                         __attribute__nonnull__(pTHX_1);
83 #define PERL_ARGS_ASSERT__IS_UTF8_MARK  \
84         assert(p)
85
86 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont(pTHX_ const U8 *p)
87                         __attribute__warn_unused_result__
88                         __attribute__nonnull__(pTHX_1);
89 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
90         assert(p)
91
92 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart(pTHX_ const U8 *p)
93                         __attribute__warn_unused_result__
94                         __attribute__nonnull__(pTHX_1);
95 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
96         assert(p)
97
98 PERL_CALLCONV bool      Perl__is_utf8_xidcont(pTHX_ const U8 *p)
99                         __attribute__warn_unused_result__
100                         __attribute__nonnull__(pTHX_1);
101 #define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT       \
102         assert(p)
103
104 PERL_CALLCONV bool      Perl__is_utf8_xidstart(pTHX_ const U8 *p)
105                         __attribute__warn_unused_result__
106                         __attribute__nonnull__(pTHX_1);
107 #define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART      \
108         assert(p)
109
110 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags)
111                         __attribute__nonnull__(pTHX_2)
112                         __attribute__nonnull__(pTHX_3);
113 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
114         assert(p); assert(lenp)
115
116 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, U8 flags)
117                         __attribute__nonnull__(pTHX_1)
118                         __attribute__nonnull__(pTHX_2);
119 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
120         assert(p); assert(ustrp)
121
122 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags)
123                         __attribute__nonnull__(pTHX_1)
124                         __attribute__nonnull__(pTHX_2);
125 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
126         assert(p); assert(ustrp)
127
128 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags)
129                         __attribute__nonnull__(pTHX_1)
130                         __attribute__nonnull__(pTHX_2);
131 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
132         assert(p); assert(ustrp)
133
134 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags)
135                         __attribute__nonnull__(pTHX_1)
136                         __attribute__nonnull__(pTHX_2);
137 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
138         assert(p); assert(ustrp)
139
140 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
141                         __attribute__nonnull__(pTHX_1);
142 #define PERL_ARGS_ASSERT_ALLOCMY        \
143         assert(name)
144
145 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
146                         __attribute__nonnull__(pTHX_1)
147                         __attribute__nonnull__(pTHX_2);
148 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
149         assert(left); assert(right)
150
151 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method)
152                         __attribute__nonnull__(pTHX_1);
153 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
154         assert(ref)
155
156 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method);
157 PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest)
158                         __attribute__nonnull__(2);
159 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
160         assert(dest)
161
162 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
163                         __attribute__nonnull__(pTHX_2)
164                         __attribute__nonnull__(pTHX_3);
165 #define PERL_ARGS_ASSERT_APPLY  \
166         assert(mark); assert(sp)
167
168 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
169                         __attribute__nonnull__(pTHX_1)
170                         __attribute__nonnull__(pTHX_2)
171                         __attribute__nonnull__(pTHX_3);
172 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
173         assert(stashpv); assert(cv); assert(attrstr)
174
175 PERL_CALLCONV void      Perl_atfork_lock(void);
176 PERL_CALLCONV void      Perl_atfork_unlock(void);
177 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av)
178                         __attribute__nonnull__(pTHX_1);
179 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
180         assert(av)
181
182 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av)
183                         __attribute__nonnull__(pTHX_1);
184 #define PERL_ARGS_ASSERT_AV_CLEAR       \
185         assert(av)
186
187 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
188                         __attribute__nonnull__(pTHX_1)
189                         __attribute__nonnull__(pTHX_2);
190 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
191         assert(avp); assert(val)
192
193 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
194                         __attribute__nonnull__(pTHX_1)
195                         __attribute__nonnull__(pTHX_2);
196 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
197         assert(avp); assert(val)
198
199 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags)
200                         __attribute__nonnull__(pTHX_1);
201 #define PERL_ARGS_ASSERT_AV_DELETE      \
202         assert(av)
203
204 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
205                         __attribute__warn_unused_result__
206                         __attribute__nonnull__(pTHX_1);
207 #define PERL_ARGS_ASSERT_AV_EXISTS      \
208         assert(av)
209
210 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key)
211                         __attribute__nonnull__(pTHX_1);
212 #define PERL_ARGS_ASSERT_AV_EXTEND      \
213         assert(av)
214
215 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
216                         __attribute__nonnull__(pTHX_3)
217                         __attribute__nonnull__(pTHX_4)
218                         __attribute__nonnull__(pTHX_5);
219 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
220         assert(maxp); assert(allocp); assert(arrayp)
221
222 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
223                         __attribute__warn_unused_result__
224                         __attribute__nonnull__(pTHX_1);
225 #define PERL_ARGS_ASSERT_AV_FETCH       \
226         assert(av)
227
228 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill)
229                         __attribute__nonnull__(pTHX_1);
230 #define PERL_ARGS_ASSERT_AV_FILL        \
231         assert(av)
232
233 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av)
234                         __attribute__nonnull__(pTHX_1);
235 #define PERL_ARGS_ASSERT_AV_ITER_P      \
236         assert(av)
237
238 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
239                         __attribute__warn_unused_result__
240                         __attribute__nonnull__(pTHX_1);
241 #define PERL_ARGS_ASSERT_AV_LEN \
242         assert(av)
243
244 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
245                         __attribute__warn_unused_result__
246                         __attribute__nonnull__(pTHX_2);
247 #define PERL_ARGS_ASSERT_AV_MAKE        \
248         assert(strp)
249
250 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av)
251                         __attribute__nonnull__(pTHX_1);
252 #define PERL_ARGS_ASSERT_AV_POP \
253         assert(av)
254
255 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val)
256                         __attribute__nonnull__(pTHX_1)
257                         __attribute__nonnull__(pTHX_2);
258 #define PERL_ARGS_ASSERT_AV_PUSH        \
259         assert(av); assert(val)
260
261 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av)
262                         __attribute__nonnull__(pTHX_1);
263 #define PERL_ARGS_ASSERT_AV_REIFY       \
264         assert(av)
265
266 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
267                         __attribute__warn_unused_result__
268                         __attribute__nonnull__(pTHX_1);
269 #define PERL_ARGS_ASSERT_AV_SHIFT       \
270         assert(av)
271
272 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val)
273                         __attribute__nonnull__(pTHX_1);
274 #define PERL_ARGS_ASSERT_AV_STORE       \
275         assert(av)
276
277 /* PERL_CALLCONV SSize_t        Perl_av_tindex(pTHX_ AV *av)
278                         __attribute__warn_unused_result__
279                         __attribute__nonnull__(pTHX_1); */
280
281 PERL_STATIC_INLINE SSize_t      S_av_top_index(pTHX_ AV *av)
282                         __attribute__warn_unused_result__
283                         __attribute__nonnull__(pTHX_1);
284 #define PERL_ARGS_ASSERT_AV_TOP_INDEX   \
285         assert(av)
286
287 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av)
288                         __attribute__nonnull__(pTHX_1);
289 #define PERL_ARGS_ASSERT_AV_UNDEF       \
290         assert(av)
291
292 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num)
293                         __attribute__nonnull__(pTHX_1);
294 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
295         assert(av)
296
297 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
298                         __attribute__warn_unused_result__
299                         __attribute__nonnull__(pTHX_2)
300                         __attribute__nonnull__(pTHX_3);
301 #define PERL_ARGS_ASSERT_BIND_MATCH     \
302         assert(left); assert(right)
303
304 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
305                         __attribute__warn_unused_result__;
306
307 PERL_CALLCONV I32       Perl_block_gimme(pTHX)
308                         __attribute__warn_unused_result__;
309
310 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
311                         __attribute__warn_unused_result__;
312
313 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk)
314                         __attribute__nonnull__(pTHX_1);
315 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
316         assert(hk)
317
318 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
319 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
320 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
321 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen)
322                         __attribute__nonnull__(pTHX_1)
323                         __attribute__nonnull__(pTHX_3);
324 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
325         assert(b); assert(u)
326
327 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
328                         __attribute__nonnull__(pTHX_1)
329                         __attribute__nonnull__(pTHX_2);
330 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
331         assert(s); assert(len)
332
333 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
334                         __attribute__nonnull__(pTHX_1)
335                         __attribute__nonnull__(pTHX_2);
336 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
337         assert(s); assert(len)
338
339 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
340                         __attribute__nonnull__(pTHX_1)
341                         __attribute__nonnull__(pTHX_3);
342 #define PERL_ARGS_ASSERT_CALL_ARGV      \
343         assert(sub_name); assert(argv)
344
345 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
346 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
347                         __attribute__nonnull__(pTHX_2);
348 #define PERL_ARGS_ASSERT_CALL_LIST      \
349         assert(paramList)
350
351 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags)
352                         __attribute__nonnull__(pTHX_1);
353 #define PERL_ARGS_ASSERT_CALL_METHOD    \
354         assert(methname)
355
356 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
357                         __attribute__nonnull__(pTHX_1);
358 #define PERL_ARGS_ASSERT_CALL_PV        \
359         assert(sub_name)
360
361 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
362                         __attribute__nonnull__(pTHX_1);
363 #define PERL_ARGS_ASSERT_CALL_SV        \
364         assert(sv)
365
366 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
367 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
368                         __attribute__malloc__
369                         __attribute__warn_unused_result__;
370
371 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
372                         __attribute__warn_unused_result__
373                         __attribute__nonnull__(pTHX_3);
374 #define PERL_ARGS_ASSERT_CANDO  \
375         assert(statbufp)
376
377 PERL_CALLCONV I32       Perl_cast_i32(NV f)
378                         __attribute__warn_unused_result__;
379
380 PERL_CALLCONV IV        Perl_cast_iv(NV f)
381                         __attribute__warn_unused_result__;
382
383 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
384                         __attribute__warn_unused_result__;
385
386 PERL_CALLCONV UV        Perl_cast_uv(NV f)
387                         __attribute__warn_unused_result__;
388
389 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
390                         __attribute__nonnull__(pTHX_1);
391 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
392         assert(s)
393
394 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
395                         __attribute__warn_unused_result__
396                         __attribute__nonnull__(pTHX_1);
397 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
398         assert(o)
399
400 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
401                         __attribute__warn_unused_result__
402                         __attribute__nonnull__(pTHX_1);
403 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
404         assert(o)
405
406 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
407                         __attribute__warn_unused_result__
408                         __attribute__nonnull__(pTHX_1);
409 #define PERL_ARGS_ASSERT_CK_BITOP       \
410         assert(o)
411
412 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
413                         __attribute__warn_unused_result__
414                         __attribute__nonnull__(pTHX_1);
415 #define PERL_ARGS_ASSERT_CK_CMP \
416         assert(o)
417
418 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
419                         __attribute__warn_unused_result__
420                         __attribute__nonnull__(pTHX_1);
421 #define PERL_ARGS_ASSERT_CK_CONCAT      \
422         assert(o)
423
424 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
425                         __attribute__warn_unused_result__
426                         __attribute__nonnull__(pTHX_1);
427 #define PERL_ARGS_ASSERT_CK_DEFINED     \
428         assert(o)
429
430 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
431                         __attribute__warn_unused_result__
432                         __attribute__nonnull__(pTHX_1);
433 #define PERL_ARGS_ASSERT_CK_DELETE      \
434         assert(o)
435
436 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
437                         __attribute__warn_unused_result__
438                         __attribute__nonnull__(pTHX_1);
439 #define PERL_ARGS_ASSERT_CK_EACH        \
440         assert(o)
441
442 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
443                         __attribute__nonnull__(pTHX_1)
444                         __attribute__nonnull__(pTHX_2)
445                         __attribute__nonnull__(pTHX_3);
446 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
447         assert(entersubop); assert(namegv); assert(protosv)
448
449 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop)
450                         __attribute__nonnull__(pTHX_1);
451 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
452         assert(entersubop)
453
454 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
455                         __attribute__nonnull__(pTHX_1)
456                         __attribute__nonnull__(pTHX_2)
457                         __attribute__nonnull__(pTHX_3);
458 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
459         assert(entersubop); assert(namegv); assert(protosv)
460
461 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
462                         __attribute__nonnull__(pTHX_1)
463                         __attribute__nonnull__(pTHX_2)
464                         __attribute__nonnull__(pTHX_3);
465 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
466         assert(entersubop); assert(namegv); assert(protosv)
467
468 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
469                         __attribute__warn_unused_result__
470                         __attribute__nonnull__(pTHX_1);
471 #define PERL_ARGS_ASSERT_CK_EOF \
472         assert(o)
473
474 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
475                         __attribute__warn_unused_result__
476                         __attribute__nonnull__(pTHX_1);
477 #define PERL_ARGS_ASSERT_CK_EVAL        \
478         assert(o)
479
480 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
481                         __attribute__warn_unused_result__
482                         __attribute__nonnull__(pTHX_1);
483 #define PERL_ARGS_ASSERT_CK_EXEC        \
484         assert(o)
485
486 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
487                         __attribute__warn_unused_result__
488                         __attribute__nonnull__(pTHX_1);
489 #define PERL_ARGS_ASSERT_CK_EXISTS      \
490         assert(o)
491
492 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
493                         __attribute__warn_unused_result__
494                         __attribute__nonnull__(pTHX_1);
495 #define PERL_ARGS_ASSERT_CK_FTST        \
496         assert(o)
497
498 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
499                         __attribute__warn_unused_result__
500                         __attribute__nonnull__(pTHX_1);
501 #define PERL_ARGS_ASSERT_CK_FUN \
502         assert(o)
503
504 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
505                         __attribute__warn_unused_result__
506                         __attribute__nonnull__(pTHX_1);
507 #define PERL_ARGS_ASSERT_CK_GLOB        \
508         assert(o)
509
510 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
511                         __attribute__warn_unused_result__
512                         __attribute__nonnull__(pTHX_1);
513 #define PERL_ARGS_ASSERT_CK_GREP        \
514         assert(o)
515
516 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
517                         __attribute__warn_unused_result__
518                         __attribute__nonnull__(pTHX_1);
519 #define PERL_ARGS_ASSERT_CK_INDEX       \
520         assert(o)
521
522 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
523                         __attribute__warn_unused_result__
524                         __attribute__nonnull__(pTHX_1);
525 #define PERL_ARGS_ASSERT_CK_JOIN        \
526         assert(o)
527
528 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
529                         __attribute__warn_unused_result__
530                         __attribute__nonnull__(pTHX_1);
531 #define PERL_ARGS_ASSERT_CK_LENGTH      \
532         assert(o)
533
534 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
535                         __attribute__warn_unused_result__
536                         __attribute__nonnull__(pTHX_1);
537 #define PERL_ARGS_ASSERT_CK_LFUN        \
538         assert(o)
539
540 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
541                         __attribute__warn_unused_result__
542                         __attribute__nonnull__(pTHX_1);
543 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
544         assert(o)
545
546 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
547                         __attribute__warn_unused_result__
548                         __attribute__nonnull__(pTHX_1);
549 #define PERL_ARGS_ASSERT_CK_MATCH       \
550         assert(o)
551
552 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
553                         __attribute__warn_unused_result__
554                         __attribute__nonnull__(pTHX_1);
555 #define PERL_ARGS_ASSERT_CK_METHOD      \
556         assert(o)
557
558 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
559                         __attribute__warn_unused_result__
560                         __attribute__nonnull__(pTHX_1);
561 #define PERL_ARGS_ASSERT_CK_NULL        \
562         assert(o)
563
564 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
565                         __attribute__warn_unused_result__
566                         __attribute__nonnull__(pTHX_1);
567 #define PERL_ARGS_ASSERT_CK_OPEN        \
568         assert(o)
569
570 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
571                         __attribute__warn_unused_result__
572                         __attribute__nonnull__(pTHX_1);
573 #define PERL_ARGS_ASSERT_CK_READLINE    \
574         assert(o)
575
576 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
577                         __attribute__warn_unused_result__
578                         __attribute__nonnull__(pTHX_1);
579 #define PERL_ARGS_ASSERT_CK_REPEAT      \
580         assert(o)
581
582 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
583                         __attribute__warn_unused_result__
584                         __attribute__nonnull__(pTHX_1);
585 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
586         assert(o)
587
588 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
589                         __attribute__warn_unused_result__
590                         __attribute__nonnull__(pTHX_1);
591 #define PERL_ARGS_ASSERT_CK_RETURN      \
592         assert(o)
593
594 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
595                         __attribute__warn_unused_result__
596                         __attribute__nonnull__(pTHX_1);
597 #define PERL_ARGS_ASSERT_CK_RFUN        \
598         assert(o)
599
600 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
601                         __attribute__warn_unused_result__
602                         __attribute__nonnull__(pTHX_1);
603 #define PERL_ARGS_ASSERT_CK_RVCONST     \
604         assert(o)
605
606 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
607                         __attribute__warn_unused_result__
608                         __attribute__nonnull__(pTHX_1);
609 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
610         assert(o)
611
612 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
613                         __attribute__warn_unused_result__
614                         __attribute__nonnull__(pTHX_1);
615 #define PERL_ARGS_ASSERT_CK_SELECT      \
616         assert(o)
617
618 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
619                         __attribute__warn_unused_result__
620                         __attribute__nonnull__(pTHX_1);
621 #define PERL_ARGS_ASSERT_CK_SHIFT       \
622         assert(o)
623
624 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
625                         __attribute__warn_unused_result__
626                         __attribute__nonnull__(pTHX_1);
627 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
628         assert(o)
629
630 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
631                         __attribute__warn_unused_result__
632                         __attribute__nonnull__(pTHX_1);
633 #define PERL_ARGS_ASSERT_CK_SORT        \
634         assert(o)
635
636 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
637                         __attribute__warn_unused_result__
638                         __attribute__nonnull__(pTHX_1);
639 #define PERL_ARGS_ASSERT_CK_SPAIR       \
640         assert(o)
641
642 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
643                         __attribute__warn_unused_result__
644                         __attribute__nonnull__(pTHX_1);
645 #define PERL_ARGS_ASSERT_CK_SPLIT       \
646         assert(o)
647
648 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
649                         __attribute__warn_unused_result__
650                         __attribute__nonnull__(pTHX_1);
651 #define PERL_ARGS_ASSERT_CK_SUBR        \
652         assert(o)
653
654 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
655                         __attribute__warn_unused_result__
656                         __attribute__nonnull__(pTHX_1);
657 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
658         assert(o)
659
660 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
661                         __attribute__warn_unused_result__
662                         __attribute__nonnull__(pTHX_1);
663 #define PERL_ARGS_ASSERT_CK_SVCONST     \
664         assert(o)
665
666 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
667                         __attribute__warn_unused_result__
668                         __attribute__nonnull__(pTHX_1);
669 #define PERL_ARGS_ASSERT_CK_TELL        \
670         assert(o)
671
672 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
673                         __attribute__warn_unused_result__
674                         __attribute__nonnull__(pTHX_1);
675 #define PERL_ARGS_ASSERT_CK_TRUNC       \
676         assert(o)
677
678 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
679                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
680                         __attribute__nonnull__(pTHX_2);
681 #define PERL_ARGS_ASSERT_CK_WARNER      \
682         assert(pat)
683
684 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
685                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
686                         __attribute__nonnull__(pTHX_2);
687 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
688         assert(pat)
689
690 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w);
691 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w);
692 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
693                         __attribute__nonnull__(pTHX_1);
694 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
695         assert(cop)
696
697 PERL_CALLCONV OP*       Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
698                         __attribute__warn_unused_result__;
699
700 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags)
701                         __attribute__nonnull__(pTHX_1);
702 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
703         assert(cop)
704
705 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags)
706                         __attribute__nonnull__(pTHX_1)
707                         __attribute__nonnull__(pTHX_2);
708 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
709         assert(cop); assert(label)
710
711 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
712                         __attribute__nonnull__(pTHX_2);
713 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
714         assert(name)
715
716 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum)
717                         __attribute__nonnull__(pTHX_1);
718 #define PERL_ARGS_ASSERT_CORESUB_OP     \
719         assert(coreargssv)
720
721 PERL_CALLCONV PERL_CONTEXT*     Perl_create_eval_scope(pTHX_ U32 flags);
722 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
723                         __attribute__noreturn__
724                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
725
726 PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
727                         __attribute__noreturn__;
728
729 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
730                         __attribute__noreturn__;
731
732 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
733                         __attribute__noreturn__;
734
735 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
736                         __attribute__noreturn__;
737
738 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
739                         __attribute__noreturn__
740                         __attribute__nonnull__(pTHX_1);
741 #define PERL_ARGS_ASSERT_CROAK_SV       \
742         assert(baseex)
743
744 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
745                         __attribute__noreturn__
746                         __attribute__nonnull__(1)
747                         __attribute__nonnull__(2);
748 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
749         assert(cv); assert(params)
750
751 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
752 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
753                         __attribute__warn_unused_result__
754                         __attribute__nonnull__(pTHX_1);
755 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
756         assert(o)
757
758 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
759                         __attribute__warn_unused_result__
760                         __attribute__nonnull__(pTHX_1);
761 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
762         assert(o)
763
764 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
765                         __attribute__warn_unused_result__
766                         __attribute__nonnull__(pTHX_1);
767 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
768         assert(o)
769
770 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop)
771                         __attribute__nonnull__(pTHX_1)
772                         __attribute__nonnull__(pTHX_2);
773 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
774         assert(ppaddr); assert(xop)
775
776 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o)
777                         __attribute__pure__
778                         __attribute__nonnull__(pTHX_1); */
779
780 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags)
781                         __attribute__nonnull__(pTHX_1);
782 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
783         assert(cv)
784
785 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto)
786                         __attribute__nonnull__(pTHX_1);
787 #define PERL_ARGS_ASSERT_CV_CLONE       \
788         assert(proto)
789
790 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target)
791                         __attribute__nonnull__(pTHX_1)
792                         __attribute__nonnull__(pTHX_2);
793 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
794         assert(proto); assert(target)
795
796 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
797                         __attribute__warn_unused_result__;
798
799 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
800                         __attribute__warn_unused_result__;
801
802 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv)
803                         __attribute__nonnull__(pTHX_1);
804 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB \
805         assert(cv)
806
807 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p)
808                         __attribute__nonnull__(pTHX_1)
809                         __attribute__nonnull__(pTHX_2)
810                         __attribute__nonnull__(pTHX_3);
811 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
812         assert(cv); assert(ckfun_p); assert(ckobj_p)
813
814 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj)
815                         __attribute__nonnull__(pTHX_1)
816                         __attribute__nonnull__(pTHX_2)
817                         __attribute__nonnull__(pTHX_3);
818 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
819         assert(cv); assert(ckfun); assert(ckobj)
820
821 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv)
822                         __attribute__nonnull__(pTHX_1);
823 #define PERL_ARGS_ASSERT_CV_UNDEF       \
824         assert(cv)
825
826 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv)
827                         __attribute__nonnull__(pTHX_1);
828 #define PERL_ARGS_ASSERT_CVGV_SET       \
829         assert(cv)
830
831 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash)
832                         __attribute__nonnull__(pTHX_1);
833 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
834         assert(cv)
835
836 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
837                         __attribute__nonnull__(pTHX_1);
838 #define PERL_ARGS_ASSERT_CX_DUMP        \
839         assert(cx)
840
841 PERL_CALLCONV I32       Perl_cxinc(pTHX)
842                         __attribute__warn_unused_result__;
843
844 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
845                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
846                         __attribute__nonnull__(pTHX_1);
847 #define PERL_ARGS_ASSERT_DEB    \
848         assert(pat)
849
850 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
851 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o)
852                         __attribute__nonnull__(pTHX_1);
853 #define PERL_ARGS_ASSERT_DEBOP  \
854         assert(o)
855
856 PERL_CALLCONV void      Perl_debprofdump(pTHX);
857 PERL_CALLCONV I32       Perl_debstack(pTHX);
858 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
859 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
860                         __attribute__warn_unused_result__
861                         __attribute__nonnull__(pTHX_1);
862 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
863         assert(sv)
864
865 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
866 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
867                         __attribute__nonnull__(1)
868                         __attribute__nonnull__(2)
869                         __attribute__nonnull__(3)
870                         __attribute__nonnull__(4)
871                         __attribute__nonnull__(6);
872 #define PERL_ARGS_ASSERT_DELIMCPY       \
873         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
874
875 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
876 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
877                         __attribute__noreturn__
878                         __attribute__nonnull__(pTHX_1);
879 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
880         assert(msv)
881
882 /* PERL_CALLCONV bool   Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
883                         __attribute__nonnull__(pTHX_2)
884                         __attribute__nonnull__(pTHX_3); */
885 #define PERL_ARGS_ASSERT_DO_AEXEC       \
886         assert(mark); assert(sp)
887
888 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
889                         __attribute__nonnull__(pTHX_2)
890                         __attribute__nonnull__(pTHX_3);
891 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
892         assert(mark); assert(sp)
893
894 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
895                         __attribute__nonnull__(pTHX_1);
896 #define PERL_ARGS_ASSERT_DO_BINMODE     \
897         assert(fp)
898
899 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
900 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
901                         __attribute__nonnull__(pTHX_2);
902 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
903         assert(file)
904
905 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv)
906                         __attribute__nonnull__(pTHX_1);
907 #define PERL_ARGS_ASSERT_DO_EOF \
908         assert(gv)
909
910 PERL_CALLCONV void      Perl_do_execfree(pTHX);
911 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
912                         __attribute__nonnull__(pTHX_2)
913                         __attribute__nonnull__(pTHX_3);
914 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
915         assert(file); assert(name)
916
917 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
918                         __attribute__nonnull__(pTHX_2)
919                         __attribute__nonnull__(pTHX_3);
920 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
921         assert(file); assert(name)
922
923 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
924                         __attribute__nonnull__(pTHX_2)
925                         __attribute__nonnull__(pTHX_3);
926 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
927         assert(file); assert(name)
928
929 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
930                         __attribute__nonnull__(pTHX_1)
931                         __attribute__nonnull__(pTHX_2)
932                         __attribute__nonnull__(pTHX_3)
933                         __attribute__nonnull__(pTHX_4);
934 #define PERL_ARGS_ASSERT_DO_JOIN        \
935         assert(sv); assert(delim); assert(mark); assert(sp)
936
937 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
938                         __attribute__nonnull__(pTHX_2)
939                         __attribute__nonnull__(pTHX_3);
940 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
941         assert(file); assert(mg)
942
943 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
944                         __attribute__warn_unused_result__
945                         __attribute__nonnull__(pTHX_1)
946                         __attribute__nonnull__(pTHX_2);
947 #define PERL_ARGS_ASSERT_DO_NCMP        \
948         assert(left); assert(right)
949
950 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
951                         __attribute__nonnull__(pTHX_2);
952 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
953         assert(file)
954
955 /* PERL_CALLCONV bool   Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
956                         __attribute__nonnull__(pTHX_1)
957                         __attribute__nonnull__(pTHX_2); */
958 #define PERL_ARGS_ASSERT_DO_OPEN        \
959         assert(gv); assert(name)
960
961 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
962                         __attribute__nonnull__(pTHX_1)
963                         __attribute__nonnull__(pTHX_2);
964 #define PERL_ARGS_ASSERT_DO_OPEN6       \
965         assert(gv); assert(oname)
966
967 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)
968                         __attribute__nonnull__(pTHX_1)
969                         __attribute__nonnull__(pTHX_2)
970                         __attribute__nonnull__(pTHX_8);
971 #define PERL_ARGS_ASSERT_DO_OPEN9       \
972         assert(gv); assert(name); assert(svs)
973
974 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm)
975                         __attribute__nonnull__(pTHX_1)
976                         __attribute__nonnull__(pTHX_2);
977 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
978         assert(gv); assert(oname)
979
980 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)
981                         __attribute__nonnull__(pTHX_1)
982                         __attribute__nonnull__(pTHX_2);
983 #define PERL_ARGS_ASSERT_DO_OPENN       \
984         assert(gv); assert(oname)
985
986 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
987                         __attribute__nonnull__(pTHX_2);
988 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
989         assert(file)
990
991 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
992                         __attribute__nonnull__(pTHX_2);
993 #define PERL_ARGS_ASSERT_DO_PRINT       \
994         assert(fp)
995
996 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
997                         __attribute__warn_unused_result__;
998
999 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
1000 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
1001                         __attribute__nonnull__(pTHX_1)
1002                         __attribute__nonnull__(pTHX_3);
1003 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
1004         assert(sv); assert(sarg)
1005
1006 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
1007                         __attribute__nonnull__(pTHX_2);
1008 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
1009         assert(file)
1010
1011 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
1012                         __attribute__nonnull__(pTHX_1);
1013 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
1014         assert(gv)
1015
1016 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
1017                         __attribute__warn_unused_result__
1018                         __attribute__nonnull__(pTHX_1);
1019 #define PERL_ARGS_ASSERT_DO_TELL        \
1020         assert(gv)
1021
1022 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv)
1023                         __attribute__nonnull__(pTHX_1);
1024 #define PERL_ARGS_ASSERT_DO_TRANS       \
1025         assert(sv)
1026
1027 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size)
1028                         __attribute__nonnull__(pTHX_1);
1029 #define PERL_ARGS_ASSERT_DO_VECGET      \
1030         assert(sv)
1031
1032 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv)
1033                         __attribute__nonnull__(pTHX_1);
1034 #define PERL_ARGS_ASSERT_DO_VECSET      \
1035         assert(sv)
1036
1037 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
1038                         __attribute__nonnull__(pTHX_2)
1039                         __attribute__nonnull__(pTHX_3)
1040                         __attribute__nonnull__(pTHX_4);
1041 #define PERL_ARGS_ASSERT_DO_VOP \
1042         assert(sv); assert(left); assert(right)
1043
1044 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin)
1045                         __attribute__nonnull__(pTHX_1);
1046 #define PERL_ARGS_ASSERT_DOFILE \
1047         assert(term)
1048
1049 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
1050                         __attribute__warn_unused_result__;
1051
1052 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
1053                         __attribute__nonnull__(pTHX_1);
1054 #define PERL_ARGS_ASSERT_DOREF  \
1055         assert(o)
1056
1057 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
1058 PERL_CALLCONV I32       Perl_dowantarray(pTHX)
1059                         __attribute__warn_unused_result__;
1060
1061 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed)
1062                         __attribute__nonnull__(1);
1063 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1064         assert(random_state)
1065
1066 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state)
1067                         __attribute__nonnull__(1);
1068 #define PERL_ARGS_ASSERT_DRAND48_R      \
1069         assert(random_state)
1070
1071 PERL_CALLCONV void      Perl_dump_all(pTHX);
1072 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
1073 PERL_CALLCONV void      Perl_dump_eval(pTHX);
1074 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv)
1075                         __attribute__nonnull__(pTHX_1);
1076 #define PERL_ARGS_ASSERT_DUMP_FORM      \
1077         assert(gv)
1078
1079 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1080                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
1081                         __attribute__nonnull__(pTHX_2)
1082                         __attribute__nonnull__(pTHX_3);
1083 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
1084         assert(file); assert(pat)
1085
1086 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash)
1087                         __attribute__nonnull__(pTHX_1);
1088 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
1089         assert(stash)
1090
1091 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
1092                         __attribute__nonnull__(pTHX_1);
1093 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
1094         assert(stash)
1095
1096 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv)
1097                         __attribute__nonnull__(pTHX_1);
1098 #define PERL_ARGS_ASSERT_DUMP_SUB       \
1099         assert(gv)
1100
1101 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
1102                         __attribute__nonnull__(pTHX_1);
1103 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
1104         assert(gv)
1105
1106 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
1107                         __attribute__nonnull__(pTHX_2)
1108                         __attribute__nonnull__(pTHX_3);
1109 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
1110         assert(file); assert(pat)
1111
1112 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv)
1113                         __attribute__nonnull__(pTHX_1)
1114                         __attribute__nonnull__(pTHX_2);
1115 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1116         assert(c); assert(sv)
1117
1118 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
1119                         __attribute__nonnull__(pTHX_1);
1120 #define PERL_ARGS_ASSERT_EVAL_PV        \
1121         assert(p)
1122
1123 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags)
1124                         __attribute__nonnull__(pTHX_1);
1125 #define PERL_ARGS_ASSERT_EVAL_SV        \
1126         assert(sv)
1127
1128 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
1129                         __attribute__nonnull__(pTHX_1);
1130 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
1131         assert(sv)
1132
1133 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
1134                         __attribute__warn_unused_result__
1135                         __attribute__nonnull__(pTHX_1)
1136                         __attribute__nonnull__(pTHX_2)
1137                         __attribute__nonnull__(pTHX_3);
1138 #define PERL_ARGS_ASSERT_FBM_INSTR      \
1139         assert(big); assert(bigend); assert(littlestr)
1140
1141 PERL_CALLCONV bool      Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen)
1142                         __attribute__nonnull__(pTHX_1);
1143 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED     \
1144         assert(name)
1145
1146 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1147 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp)
1148                         __attribute__nonnull__(pTHX_1);
1149 #define PERL_ARGS_ASSERT_FILTER_DEL     \
1150         assert(funcp)
1151
1152 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1153                         __attribute__warn_unused_result__
1154                         __attribute__nonnull__(pTHX_2);
1155 #define PERL_ARGS_ASSERT_FILTER_READ    \
1156         assert(buf_sv)
1157
1158 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o)
1159                         __attribute__nonnull__(pTHX_1);
1160 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
1161         assert(o)
1162
1163 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off);
1164 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
1165                         __attribute__warn_unused_result__;
1166
1167 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1168                         __attribute__warn_unused_result__;
1169
1170 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
1171 PERL_CALLCONV SV*       Perl_find_rundefsv2(pTHX_ CV *cv, U32 seq)
1172                         __attribute__nonnull__(pTHX_1);
1173 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV2 \
1174         assert(cv)
1175
1176 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
1177                         __attribute__deprecated__;
1178
1179 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
1180                         __attribute__nonnull__(pTHX_1);
1181 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
1182         assert(scriptname)
1183
1184 PERL_CALLCONV I32       Perl_foldEQ(const char* a, const char* b, I32 len)
1185                         __attribute__pure__
1186                         __attribute__nonnull__(1)
1187                         __attribute__nonnull__(2);
1188 #define PERL_ARGS_ASSERT_FOLDEQ \
1189         assert(a); assert(b)
1190
1191 PERL_CALLCONV I32       Perl_foldEQ_latin1(const char* a, const char* b, I32 len)
1192                         __attribute__pure__
1193                         __attribute__nonnull__(1)
1194                         __attribute__nonnull__(2);
1195 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
1196         assert(a); assert(b)
1197
1198 PERL_CALLCONV I32       Perl_foldEQ_locale(const char* a, const char* b, I32 len)
1199                         __attribute__pure__
1200                         __attribute__nonnull__(1)
1201                         __attribute__nonnull__(2);
1202 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
1203         assert(a); assert(b)
1204
1205 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1206                         __attribute__nonnull__(pTHX_1)
1207                         __attribute__nonnull__(pTHX_5); */
1208
1209 PERL_CALLCONV I32       Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags)
1210                         __attribute__nonnull__(pTHX_1)
1211                         __attribute__nonnull__(pTHX_5);
1212 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
1213         assert(s1); assert(s2)
1214
1215 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
1216                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
1217                         __attribute__nonnull__(pTHX_1);
1218 #define PERL_ARGS_ASSERT_FORM   \
1219         assert(pat)
1220
1221 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
1222 PERL_CALLCONV void      Perl_free_tmps(pTHX);
1223 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags)
1224                         __attribute__nonnull__(pTHX_1);
1225 #define PERL_ARGS_ASSERT_GET_AV \
1226         assert(name)
1227
1228 PERL_CALLCONV void*     Perl_get_context(void)
1229                         __attribute__warn_unused_result__;
1230
1231 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags)
1232                         __attribute__nonnull__(pTHX_1);
1233 #define PERL_ARGS_ASSERT_GET_CV \
1234         assert(name)
1235
1236 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
1237                         __attribute__nonnull__(pTHX_1);
1238 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
1239         assert(name)
1240
1241 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
1242                         __attribute__nonnull__(pTHX_2);
1243 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
1244         assert(cv)
1245
1246 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1247                         __attribute__nonnull__(pTHX_1);
1248 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
1249         assert(seed_buffer)
1250
1251 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags)
1252                         __attribute__nonnull__(pTHX_1);
1253 #define PERL_ARGS_ASSERT_GET_HV \
1254         assert(name)
1255
1256 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
1257                         __attribute__warn_unused_result__
1258                         __attribute__pure__;
1259
1260 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
1261                         __attribute__warn_unused_result__
1262                         __attribute__pure__;
1263
1264 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
1265                         __attribute__warn_unused_result__
1266                         __attribute__pure__;
1267
1268 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
1269                         __attribute__warn_unused_result__
1270                         __attribute__pure__;
1271
1272 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1273                         __attribute__warn_unused_result__
1274                         __attribute__pure__;
1275
1276 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
1277 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags)
1278                         __attribute__nonnull__(pTHX_1);
1279 #define PERL_ARGS_ASSERT_GET_SV \
1280         assert(name)
1281
1282 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
1283                         __attribute__warn_unused_result__;
1284
1285 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv)
1286                         __attribute__nonnull__(pTHX_1);
1287 #define PERL_ARGS_ASSERT_GETCWD_SV      \
1288         assert(sv)
1289
1290 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
1291 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
1292 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1293                         __attribute__nonnull__(pTHX_1)
1294                         __attribute__nonnull__(pTHX_2)
1295                         __attribute__nonnull__(pTHX_3);
1296 #define PERL_ARGS_ASSERT_GROK_BIN       \
1297         assert(start); assert(len_p); assert(flags)
1298
1299 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1300                         __attribute__nonnull__(pTHX_1)
1301                         __attribute__nonnull__(pTHX_2)
1302                         __attribute__nonnull__(pTHX_3);
1303 #define PERL_ARGS_ASSERT_GROK_HEX       \
1304         assert(start); assert(len_p); assert(flags)
1305
1306 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1307                         __attribute__nonnull__(pTHX_1);
1308 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1309         assert(pv)
1310
1311 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1312                         __attribute__warn_unused_result__
1313                         __attribute__nonnull__(pTHX_1)
1314                         __attribute__nonnull__(pTHX_2);
1315 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1316         assert(sp); assert(send)
1317
1318 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1319                         __attribute__nonnull__(pTHX_1)
1320                         __attribute__nonnull__(pTHX_2)
1321                         __attribute__nonnull__(pTHX_3);
1322 #define PERL_ARGS_ASSERT_GROK_OCT       \
1323         assert(start); assert(len_p); assert(flags)
1324
1325 /* PERL_CALLCONV GV*    Perl_gv_AVadd(pTHX_ GV *gv); */
1326 /* PERL_CALLCONV GV*    Perl_gv_HVadd(pTHX_ GV *gv); */
1327 /* PERL_CALLCONV GV*    Perl_gv_IOadd(pTHX_ GV* gv); */
1328 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1329 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1330                         __attribute__warn_unused_result__
1331                         __attribute__nonnull__(pTHX_2); */
1332
1333 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1334                         __attribute__warn_unused_result__
1335                         __attribute__nonnull__(pTHX_2);
1336 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1337         assert(namepv)
1338
1339 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1340                         __attribute__warn_unused_result__
1341                         __attribute__nonnull__(pTHX_2);
1342 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
1343         assert(name)
1344
1345 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1346                         __attribute__warn_unused_result__
1347                         __attribute__nonnull__(pTHX_2);
1348 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1349         assert(namesv)
1350
1351 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash)
1352                         __attribute__nonnull__(pTHX_1);
1353 #define PERL_ARGS_ASSERT_GV_CHECK       \
1354         assert(stash)
1355
1356 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1357                         __attribute__warn_unused_result__
1358                         __attribute__nonnull__(pTHX_1);
1359 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1360         assert(gv)
1361
1362 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv)
1363                         __attribute__nonnull__(pTHX_1);
1364 #define PERL_ARGS_ASSERT_GV_DUMP        \
1365         assert(gv)
1366
1367 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
1368                         __attribute__nonnull__(pTHX_1)
1369                         __attribute__nonnull__(pTHX_2);
1370 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
1371         assert(sv); assert(gv)
1372
1373 /* PERL_CALLCONV void   Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
1374                         __attribute__nonnull__(pTHX_1)
1375                         __attribute__nonnull__(pTHX_2); */
1376 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1377         assert(sv); assert(gv)
1378
1379 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
1380                         __attribute__nonnull__(pTHX_1)
1381                         __attribute__nonnull__(pTHX_2);
1382 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1383         assert(sv); assert(gv)
1384
1385 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name)
1386                         __attribute__nonnull__(pTHX_1);
1387 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1388         assert(name)
1389
1390 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
1391                         __attribute__nonnull__(pTHX_1);
1392 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1393         assert(name)
1394
1395 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
1396                         __attribute__nonnull__(pTHX_2); */
1397
1398 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
1399                         __attribute__nonnull__(pTHX_2); */
1400
1401 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags)
1402                         __attribute__nonnull__(pTHX_2);
1403 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1404         assert(name)
1405
1406 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags)
1407                         __attribute__nonnull__(pTHX_2);
1408 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1409         assert(name)
1410
1411 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags)
1412                         __attribute__nonnull__(pTHX_2);
1413 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1414         assert(name)
1415
1416 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags)
1417                         __attribute__nonnull__(pTHX_2);
1418 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1419         assert(name)
1420
1421 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags)
1422                         __attribute__nonnull__(pTHX_2);
1423 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1424         assert(namesv)
1425
1426 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags)
1427                         __attribute__nonnull__(pTHX_2);
1428 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1429         assert(namesv)
1430
1431 /* PERL_CALLCONV GV*    Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
1432                         __attribute__nonnull__(pTHX_1)
1433                         __attribute__nonnull__(pTHX_2); */
1434 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1435         assert(stash); assert(name)
1436
1437 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
1438                         __attribute__nonnull__(pTHX_1)
1439                         __attribute__nonnull__(pTHX_2);
1440 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1441         assert(stash); assert(name)
1442
1443 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags)
1444                         __attribute__nonnull__(pTHX_1)
1445                         __attribute__nonnull__(pTHX_2);
1446 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1447         assert(stash); assert(name)
1448
1449 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags)
1450                         __attribute__nonnull__(pTHX_1)
1451                         __attribute__nonnull__(pTHX_2);
1452 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1453         assert(stash); assert(name)
1454
1455 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags)
1456                         __attribute__nonnull__(pTHX_1)
1457                         __attribute__nonnull__(pTHX_2);
1458 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1459         assert(stash); assert(namesv)
1460
1461 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
1462                         __attribute__nonnull__(pTHX_1);
1463 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1464         assert(nambeg)
1465
1466 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type)
1467                         __attribute__nonnull__(pTHX_1);
1468 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1469         assert(name)
1470
1471 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type)
1472                         __attribute__nonnull__(pTHX_1);
1473 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1474         assert(name)
1475
1476 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
1477                         __attribute__nonnull__(pTHX_1)
1478                         __attribute__nonnull__(pTHX_2);
1479 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
1480         assert(sv); assert(gv)
1481
1482 /* PERL_CALLCONV void   Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
1483                         __attribute__nonnull__(pTHX_1)
1484                         __attribute__nonnull__(pTHX_2); */
1485 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1486         assert(sv); assert(gv)
1487
1488 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
1489                         __attribute__nonnull__(pTHX_1)
1490                         __attribute__nonnull__(pTHX_2);
1491 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1492         assert(sv); assert(gv)
1493
1494 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1495                         __attribute__warn_unused_result__;
1496
1497 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
1498                         __attribute__nonnull__(pTHX_1)
1499                         __attribute__nonnull__(pTHX_3); */
1500
1501 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags)
1502                         __attribute__nonnull__(pTHX_1)
1503                         __attribute__nonnull__(pTHX_3);
1504 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1505         assert(gv); assert(name)
1506
1507 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags)
1508                         __attribute__nonnull__(pTHX_1)
1509                         __attribute__nonnull__(pTHX_3);
1510 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1511         assert(gv); assert(name)
1512
1513 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags)
1514                         __attribute__nonnull__(pTHX_1)
1515                         __attribute__nonnull__(pTHX_3);
1516 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1517         assert(gv); assert(namesv)
1518
1519 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
1520                         __attribute__nonnull__(pTHX_1)
1521                         __attribute__nonnull__(pTHX_2);
1522 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1523         assert(gv); assert(name)
1524
1525 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len)
1526                         __attribute__nonnull__(pTHX_1);
1527 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1528         assert(name)
1529
1530 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
1531                         __attribute__nonnull__(pTHX_1);
1532 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1533         assert(name)
1534
1535 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
1536                         __attribute__nonnull__(pTHX_1);
1537 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1538         assert(name)
1539
1540 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
1541                         __attribute__nonnull__(pTHX_1);
1542 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1543         assert(sv)
1544
1545 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv)
1546                         __attribute__nonnull__(pTHX_1);
1547 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1548         assert(gv)
1549
1550 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv)
1551                         __attribute__nonnull__(pTHX_1);
1552 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1553         assert(hv)
1554
1555 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1556 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv)
1557                         __attribute__nonnull__(pTHX_1);
1558 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1559         assert(hv)
1560
1561 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1562 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)
1563                         __attribute__nonnull__(pTHX_2);
1564 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1565         assert(key)
1566
1567 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1568                         __attribute__warn_unused_result__;
1569
1570 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
1571                         __attribute__nonnull__(pTHX_1);
1572 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1573         assert(hv)
1574
1575 /* PERL_CALLCONV SV*    Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
1576                         __attribute__nonnull__(pTHX_2); */
1577 #define PERL_ARGS_ASSERT_HV_DELETE      \
1578         assert(key)
1579
1580 /* PERL_CALLCONV SV*    Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
1581                         __attribute__nonnull__(pTHX_2); */
1582 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1583         assert(keysv)
1584
1585 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1586                         __attribute__warn_unused_result__
1587                         __attribute__nonnull__(pTHX_1);
1588 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1589         assert(hv)
1590
1591 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter)
1592                         __attribute__nonnull__(pTHX_1);
1593 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1594         assert(hv)
1595
1596 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1597                         __attribute__nonnull__(pTHX_1)
1598                         __attribute__nonnull__(pTHX_2);
1599 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1600         assert(hv); assert(name)
1601
1602 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1603                         __attribute__nonnull__(pTHX_1)
1604                         __attribute__nonnull__(pTHX_2);
1605 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1606         assert(hv); assert(name)
1607
1608 /* PERL_CALLCONV bool   Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1609                         __attribute__warn_unused_result__
1610                         __attribute__nonnull__(pTHX_2); */
1611 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1612         assert(key)
1613
1614 /* PERL_CALLCONV bool   Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1615                         __attribute__warn_unused_result__
1616                         __attribute__nonnull__(pTHX_2); */
1617 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1618         assert(keysv)
1619
1620 /* PERL_CALLCONV SV**   Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
1621                         __attribute__nonnull__(pTHX_2); */
1622 #define PERL_ARGS_ASSERT_HV_FETCH       \
1623         assert(key)
1624
1625 /* PERL_CALLCONV HE*    Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
1626                         __attribute__nonnull__(pTHX_2); */
1627 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1628         assert(keysv)
1629
1630 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv)
1631                         __attribute__nonnull__(pTHX_1);
1632 #define PERL_ARGS_ASSERT_HV_FILL        \
1633         assert(hv)
1634
1635 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entry)
1636                         __attribute__nonnull__(pTHX_1);
1637 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1638         assert(hv)
1639
1640 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv)
1641                         __attribute__nonnull__(pTHX_1);
1642 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1643         assert(hv)
1644
1645 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1646                         __attribute__warn_unused_result__
1647                         __attribute__nonnull__(pTHX_1)
1648                         __attribute__nonnull__(pTHX_2);
1649 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1650         assert(entry); assert(retlen)
1651
1652 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1653                         __attribute__warn_unused_result__
1654                         __attribute__nonnull__(pTHX_1);
1655 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1656         assert(entry)
1657
1658 /* PERL_CALLCONV HE*    Perl_hv_iternext(pTHX_ HV *hv)
1659                         __attribute__warn_unused_result__
1660                         __attribute__nonnull__(pTHX_1); */
1661 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1662         assert(hv)
1663
1664 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1665                         __attribute__warn_unused_result__
1666                         __attribute__nonnull__(pTHX_1);
1667 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1668         assert(hv)
1669
1670 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1671                         __attribute__warn_unused_result__
1672                         __attribute__nonnull__(pTHX_1)
1673                         __attribute__nonnull__(pTHX_2)
1674                         __attribute__nonnull__(pTHX_3);
1675 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1676         assert(hv); assert(key); assert(retlen)
1677
1678 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1679                         __attribute__warn_unused_result__
1680                         __attribute__nonnull__(pTHX_1)
1681                         __attribute__nonnull__(pTHX_2);
1682 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1683         assert(hv); assert(entry)
1684
1685 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
1686                         __attribute__nonnull__(pTHX_1);
1687 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1688         assert(hv)
1689
1690 /* PERL_CALLCONV void   Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
1691                         __attribute__nonnull__(pTHX_1); */
1692 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1693         assert(hv)
1694
1695 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1696                         __attribute__nonnull__(pTHX_1);
1697 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1698         assert(hv)
1699
1700 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1701                         __attribute__warn_unused_result__
1702                         __attribute__nonnull__(pTHX_1);
1703 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1704         assert(hv)
1705
1706 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1707                         __attribute__warn_unused_result__
1708                         __attribute__nonnull__(pTHX_1);
1709 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1710         assert(hv)
1711
1712 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph)
1713                         __attribute__nonnull__(pTHX_1);
1714 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1715         assert(hv)
1716
1717 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand)
1718                         __attribute__nonnull__(pTHX_1);
1719 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1720         assert(hv)
1721
1722 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1723                         __attribute__warn_unused_result__
1724                         __attribute__nonnull__(pTHX_1);
1725 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1726         assert(hv)
1727
1728 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter)
1729                         __attribute__nonnull__(pTHX_1);
1730 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1731         assert(hv)
1732
1733 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1734                         __attribute__warn_unused_result__
1735                         __attribute__nonnull__(pTHX_1);
1736 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1737         assert(hv)
1738
1739 /* PERL_CALLCONV SV**   Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1740 /* PERL_CALLCONV HE*    Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1741 /* PERL_CALLCONV SV**   Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1742 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1743 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1744 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1745                         __attribute__nonnull__(pTHX_1)
1746                         __attribute__nonnull__(pTHX_2); */
1747
1748 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1749                         __attribute__nonnull__(pTHX_1)
1750                         __attribute__nonnull__(pTHX_2); */
1751
1752 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1753                         __attribute__nonnull__(pTHX_1)
1754                         __attribute__nonnull__(pTHX_5); */
1755
1756 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1757                         __attribute__nonnull__(pTHX_2);
1758 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1759         assert(argv)
1760
1761 PERL_CALLCONV void      Perl_init_constants(pTHX);
1762 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1763 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1764 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1765 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
1766 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1767 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm)
1768                         __attribute__nonnull__(pTHX_1);
1769 #define PERL_ARGS_ASSERT_INIT_TM        \
1770         assert(ptm)
1771
1772 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1773                         __attribute__warn_unused_result__
1774                         __attribute__pure__
1775                         __attribute__nonnull__(1)
1776                         __attribute__nonnull__(2);
1777 #define PERL_ARGS_ASSERT_INSTR  \
1778         assert(big); assert(little)
1779
1780 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1781 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1782                         __attribute__warn_unused_result__;
1783
1784 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, bool not_implicit)
1785                         __attribute__nonnull__(pTHX_1);
1786 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1787         assert(io)
1788
1789 PERL_CALLCONV bool      Perl_isALNUM_lazy(pTHX_ const char* p)
1790                         __attribute__deprecated__
1791                         __attribute__warn_unused_result__
1792                         __attribute__pure__
1793                         __attribute__nonnull__(pTHX_1);
1794 #define PERL_ARGS_ASSERT_ISALNUM_LAZY   \
1795         assert(p)
1796
1797 PERL_CALLCONV bool      Perl_isIDFIRST_lazy(pTHX_ const char* p)
1798                         __attribute__deprecated__
1799                         __attribute__warn_unused_result__
1800                         __attribute__pure__
1801                         __attribute__nonnull__(pTHX_1);
1802 #define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1803         assert(p)
1804
1805 PERL_CALLCONV bool      Perl_is_ascii_string(const U8 *s, STRLEN len)
1806                         __attribute__nonnull__(1);
1807 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1808         assert(s)
1809
1810 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1811                         __attribute__warn_unused_result__;
1812
1813 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1814                         __attribute__warn_unused_result__
1815                         __attribute__nonnull__(pTHX_1)
1816                         __attribute__nonnull__(pTHX_3)
1817                         __attribute__nonnull__(pTHX_4);
1818 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
1819         assert(pv); assert(what); assert(op_name)
1820
1821 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1822                         __attribute__deprecated__
1823                         __attribute__warn_unused_result__
1824                         __attribute__pure__;
1825
1826 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1827                         __attribute__deprecated__
1828                         __attribute__warn_unused_result__
1829                         __attribute__pure__;
1830
1831 PERL_CALLCONV bool      Perl_is_uni_alnumc(pTHX_ UV c)
1832                         __attribute__deprecated__
1833                         __attribute__warn_unused_result__
1834                         __attribute__pure__;
1835
1836 PERL_CALLCONV bool      Perl_is_uni_alnumc_lc(pTHX_ UV c)
1837                         __attribute__deprecated__
1838                         __attribute__warn_unused_result__
1839                         __attribute__pure__;
1840
1841 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1842                         __attribute__deprecated__
1843                         __attribute__warn_unused_result__
1844                         __attribute__pure__;
1845
1846 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1847                         __attribute__deprecated__
1848                         __attribute__warn_unused_result__
1849                         __attribute__pure__;
1850
1851 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1852                         __attribute__deprecated__
1853                         __attribute__warn_unused_result__
1854                         __attribute__pure__;
1855
1856 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1857                         __attribute__deprecated__
1858                         __attribute__warn_unused_result__
1859                         __attribute__pure__;
1860
1861 PERL_CALLCONV bool      Perl_is_uni_blank(pTHX_ UV c)
1862                         __attribute__deprecated__
1863                         __attribute__warn_unused_result__
1864                         __attribute__pure__;
1865
1866 PERL_CALLCONV bool      Perl_is_uni_blank_lc(pTHX_ UV c)
1867                         __attribute__deprecated__
1868                         __attribute__warn_unused_result__
1869                         __attribute__pure__;
1870
1871 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1872                         __attribute__deprecated__
1873                         __attribute__warn_unused_result__
1874                         __attribute__pure__;
1875
1876 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1877                         __attribute__deprecated__
1878                         __attribute__warn_unused_result__
1879                         __attribute__pure__;
1880
1881 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1882                         __attribute__deprecated__
1883                         __attribute__warn_unused_result__
1884                         __attribute__pure__;
1885
1886 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1887                         __attribute__deprecated__
1888                         __attribute__warn_unused_result__
1889                         __attribute__pure__;
1890
1891 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1892                         __attribute__deprecated__
1893                         __attribute__warn_unused_result__
1894                         __attribute__pure__;
1895
1896 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1897                         __attribute__deprecated__
1898                         __attribute__warn_unused_result__
1899                         __attribute__pure__;
1900
1901 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1902                         __attribute__deprecated__
1903                         __attribute__warn_unused_result__
1904                         __attribute__pure__;
1905
1906 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1907                         __attribute__deprecated__
1908                         __attribute__warn_unused_result__
1909                         __attribute__pure__;
1910
1911 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1912                         __attribute__deprecated__
1913                         __attribute__warn_unused_result__
1914                         __attribute__pure__;
1915
1916 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1917                         __attribute__deprecated__
1918                         __attribute__warn_unused_result__
1919                         __attribute__pure__;
1920
1921 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1922                         __attribute__deprecated__
1923                         __attribute__warn_unused_result__
1924                         __attribute__pure__;
1925
1926 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1927                         __attribute__deprecated__
1928                         __attribute__warn_unused_result__
1929                         __attribute__pure__;
1930
1931 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1932                         __attribute__deprecated__
1933                         __attribute__warn_unused_result__
1934                         __attribute__pure__;
1935
1936 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1937                         __attribute__deprecated__
1938                         __attribute__warn_unused_result__
1939                         __attribute__pure__;
1940
1941 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1942                         __attribute__deprecated__
1943                         __attribute__warn_unused_result__
1944                         __attribute__pure__;
1945
1946 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1947                         __attribute__deprecated__
1948                         __attribute__warn_unused_result__
1949                         __attribute__pure__;
1950
1951 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1952                         __attribute__deprecated__
1953                         __attribute__warn_unused_result__
1954                         __attribute__pure__;
1955
1956 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1957                         __attribute__deprecated__
1958                         __attribute__warn_unused_result__
1959                         __attribute__pure__;
1960
1961 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1962                         __attribute__deprecated__
1963                         __attribute__warn_unused_result__
1964                         __attribute__pure__;
1965
1966 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1967                         __attribute__deprecated__
1968                         __attribute__warn_unused_result__
1969                         __attribute__pure__;
1970
1971 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1972                         __attribute__deprecated__
1973                         __attribute__warn_unused_result__
1974                         __attribute__nonnull__(pTHX_1);
1975 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1976         assert(p)
1977
1978 PERL_CALLCONV bool      Perl_is_utf8_alnumc(pTHX_ const U8 *p)
1979                         __attribute__deprecated__
1980                         __attribute__warn_unused_result__
1981                         __attribute__nonnull__(pTHX_1);
1982 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1983         assert(p)
1984
1985 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1986                         __attribute__deprecated__
1987                         __attribute__warn_unused_result__
1988                         __attribute__nonnull__(pTHX_1);
1989 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1990         assert(p)
1991
1992 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1993                         __attribute__deprecated__
1994                         __attribute__warn_unused_result__
1995                         __attribute__nonnull__(pTHX_1);
1996 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1997         assert(p)
1998
1999 PERL_CALLCONV bool      Perl_is_utf8_blank(pTHX_ const U8 *p)
2000                         __attribute__deprecated__
2001                         __attribute__warn_unused_result__
2002                         __attribute__nonnull__(pTHX_1);
2003 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK  \
2004         assert(p)
2005
2006 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
2007                         __attribute__deprecated__
2008                         __attribute__nonnull__(1);
2009 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
2010         assert(s)
2011
2012 /* PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end)
2013                         __attribute__nonnull__(1)
2014                         __attribute__nonnull__(2); */
2015 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
2016         assert(buf); assert(buf_end)
2017
2018 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
2019                         __attribute__deprecated__
2020                         __attribute__warn_unused_result__
2021                         __attribute__nonnull__(pTHX_1);
2022 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
2023         assert(p)
2024
2025 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
2026                         __attribute__deprecated__
2027                         __attribute__warn_unused_result__
2028                         __attribute__nonnull__(pTHX_1);
2029 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
2030         assert(p)
2031
2032 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
2033                         __attribute__deprecated__
2034                         __attribute__warn_unused_result__
2035                         __attribute__nonnull__(pTHX_1);
2036 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
2037         assert(p)
2038
2039 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
2040                         __attribute__deprecated__
2041                         __attribute__warn_unused_result__
2042                         __attribute__nonnull__(pTHX_1);
2043 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
2044         assert(p)
2045
2046 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
2047                         __attribute__deprecated__
2048                         __attribute__warn_unused_result__
2049                         __attribute__nonnull__(pTHX_1);
2050 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
2051         assert(p)
2052
2053 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
2054                         __attribute__deprecated__
2055                         __attribute__warn_unused_result__
2056                         __attribute__nonnull__(pTHX_1);
2057 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
2058         assert(p)
2059
2060 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
2061                         __attribute__deprecated__
2062                         __attribute__warn_unused_result__
2063                         __attribute__nonnull__(pTHX_1);
2064 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
2065         assert(p)
2066
2067 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
2068                         __attribute__deprecated__
2069                         __attribute__warn_unused_result__
2070                         __attribute__nonnull__(pTHX_1);
2071 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
2072         assert(p)
2073
2074 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
2075                         __attribute__deprecated__
2076                         __attribute__warn_unused_result__
2077                         __attribute__nonnull__(pTHX_1);
2078 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
2079         assert(p)
2080
2081 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
2082                         __attribute__deprecated__
2083                         __attribute__warn_unused_result__
2084                         __attribute__nonnull__(pTHX_1);
2085 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
2086         assert(p)
2087
2088 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
2089                         __attribute__deprecated__
2090                         __attribute__warn_unused_result__
2091                         __attribute__nonnull__(pTHX_1);
2092 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
2093         assert(p)
2094
2095 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
2096                         __attribute__deprecated__
2097                         __attribute__warn_unused_result__
2098                         __attribute__nonnull__(pTHX_1);
2099 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
2100         assert(p)
2101
2102 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
2103                         __attribute__deprecated__
2104                         __attribute__warn_unused_result__
2105                         __attribute__nonnull__(pTHX_1);
2106 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
2107         assert(p)
2108
2109 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
2110                         __attribute__nonnull__(1);
2111 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
2112         assert(s)
2113
2114 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep)
2115                         __attribute__nonnull__(1); */
2116 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
2117         assert(s)
2118
2119 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
2120                         __attribute__nonnull__(1);
2121 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
2122         assert(s)
2123
2124 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
2125                         __attribute__deprecated__
2126                         __attribute__warn_unused_result__
2127                         __attribute__nonnull__(pTHX_1);
2128 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
2129         assert(p)
2130
2131 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
2132                         __attribute__deprecated__
2133                         __attribute__warn_unused_result__
2134                         __attribute__nonnull__(pTHX_1);
2135 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
2136         assert(p)
2137
2138 PERL_CALLCONV bool      Perl_is_utf8_xidcont(pTHX_ const U8 *p)
2139                         __attribute__deprecated__
2140                         __attribute__warn_unused_result__
2141                         __attribute__nonnull__(pTHX_1);
2142 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT        \
2143         assert(p)
2144
2145 PERL_CALLCONV bool      Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
2146                         __attribute__deprecated__
2147                         __attribute__warn_unused_result__
2148                         __attribute__nonnull__(pTHX_1);
2149 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST       \
2150         assert(p)
2151
2152 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
2153                         __attribute__nonnull__(pTHX_1);
2154 #define PERL_ARGS_ASSERT_JMAYBE \
2155         assert(o)
2156
2157 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
2158                         __attribute__pure__
2159                         __attribute__nonnull__(pTHX_1);
2160 #define PERL_ARGS_ASSERT_KEYWORD        \
2161         assert(name)
2162
2163 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr)
2164                         __attribute__nonnull__(pTHX_1)
2165                         __attribute__nonnull__(pTHX_3);
2166 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
2167         assert(keyword_ptr); assert(op_ptr)
2168
2169 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
2170 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
2171 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr)
2172                         __attribute__nonnull__(pTHX_1);
2173 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2174         assert(ptr)
2175
2176 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
2177 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
2178 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
2179 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
2180 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr)
2181                         __attribute__nonnull__(pTHX_1);
2182 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
2183         assert(ptr)
2184
2185 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
2186 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
2187 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags)
2188                         __attribute__nonnull__(pTHX_1);
2189 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
2190         assert(pv)
2191
2192 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
2193                         __attribute__nonnull__(pTHX_1);
2194 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
2195         assert(pv)
2196
2197 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
2198                         __attribute__nonnull__(pTHX_1);
2199 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
2200         assert(sv)
2201
2202 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr)
2203                         __attribute__nonnull__(pTHX_1);
2204 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
2205         assert(ptr)
2206
2207 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
2208 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
2209                         __attribute__nonnull__(pTHX_2);
2210 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
2211         assert(name)
2212
2213 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
2214                         __attribute__nonnull__(pTHX_1);
2215 #define PERL_ARGS_ASSERT_LOCALIZE       \
2216         assert(o)
2217
2218 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
2219                         __attribute__warn_unused_result__
2220                         __attribute__nonnull__(pTHX_1);
2221 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
2222         assert(sv)
2223
2224 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
2225                         __attribute__nonnull__(pTHX_1)
2226                         __attribute__nonnull__(pTHX_2);
2227 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
2228         assert(sv); assert(mg)
2229
2230 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2231                         __attribute__nonnull__(pTHX_1)
2232                         __attribute__nonnull__(pTHX_2);
2233 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
2234         assert(sv); assert(mg)
2235
2236 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2237                         __attribute__nonnull__(pTHX_1)
2238                         __attribute__nonnull__(pTHX_2);
2239 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2240         assert(sv); assert(mg)
2241
2242 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2243                         __attribute__nonnull__(pTHX_1)
2244                         __attribute__nonnull__(pTHX_2);
2245 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
2246         assert(sv); assert(mg)
2247
2248 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2249                         __attribute__nonnull__(pTHX_1)
2250                         __attribute__nonnull__(pTHX_2);
2251 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
2252         assert(sv); assert(mg)
2253
2254 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
2255                         __attribute__nonnull__(pTHX_2);
2256 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2257         assert(mg)
2258
2259 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2260                         __attribute__nonnull__(pTHX_1)
2261                         __attribute__nonnull__(pTHX_2);
2262 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
2263         assert(sv); assert(mg)
2264
2265 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2266                         __attribute__nonnull__(pTHX_1)
2267                         __attribute__nonnull__(pTHX_2);
2268 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2269         assert(sv); assert(mg)
2270
2271 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2272                         __attribute__nonnull__(pTHX_1)
2273                         __attribute__nonnull__(pTHX_2)
2274                         __attribute__nonnull__(pTHX_3);
2275 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
2276         assert(sv); assert(mg); assert(nsv)
2277
2278 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
2279 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
2280                         __attribute__nonnull__(pTHX_1)
2281                         __attribute__nonnull__(pTHX_2);
2282 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
2283         assert(sv); assert(mg)
2284
2285 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2286                         __attribute__nonnull__(pTHX_1)
2287                         __attribute__nonnull__(pTHX_2);
2288 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
2289         assert(sv); assert(mg)
2290
2291 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2292                         __attribute__nonnull__(pTHX_1)
2293                         __attribute__nonnull__(pTHX_2);
2294 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
2295         assert(sv); assert(mg)
2296
2297 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2298                         __attribute__nonnull__(pTHX_1)
2299                         __attribute__nonnull__(pTHX_2);
2300 #define PERL_ARGS_ASSERT_MAGIC_GET      \
2301         assert(sv); assert(mg)
2302
2303 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2304                         __attribute__nonnull__(pTHX_1)
2305                         __attribute__nonnull__(pTHX_2);
2306 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
2307         assert(sv); assert(mg)
2308
2309 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2310                         __attribute__nonnull__(pTHX_1)
2311                         __attribute__nonnull__(pTHX_2);
2312 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
2313         assert(sv); assert(mg)
2314
2315 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2316                         __attribute__nonnull__(pTHX_1)
2317                         __attribute__nonnull__(pTHX_2);
2318 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2319         assert(sv); assert(mg)
2320
2321 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2322                         __attribute__nonnull__(pTHX_1)
2323                         __attribute__nonnull__(pTHX_2);
2324 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
2325         assert(sv); assert(mg)
2326
2327 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2328                         __attribute__nonnull__(pTHX_1)
2329                         __attribute__nonnull__(pTHX_2);
2330 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
2331         assert(sv); assert(mg)
2332
2333 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2334                         __attribute__nonnull__(pTHX_1)
2335                         __attribute__nonnull__(pTHX_2);
2336 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
2337         assert(sv); assert(mg)
2338
2339 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2340                         __attribute__nonnull__(pTHX_1)
2341                         __attribute__nonnull__(pTHX_2);
2342 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
2343         assert(sv); assert(mg)
2344
2345 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2346                         __attribute__nonnull__(pTHX_1)
2347                         __attribute__nonnull__(pTHX_2);
2348 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2349         assert(sv); assert(mg)
2350
2351 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2352                         __attribute__nonnull__(pTHX_1)
2353                         __attribute__nonnull__(pTHX_2);
2354 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
2355         assert(sv); assert(mg)
2356
2357 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2358                         __attribute__nonnull__(pTHX_1)
2359                         __attribute__nonnull__(pTHX_2);
2360 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
2361         assert(sv); assert(mg)
2362
2363 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2364                         __attribute__nonnull__(pTHX_1)
2365                         __attribute__nonnull__(pTHX_2);
2366 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
2367         assert(sv); assert(mg)
2368
2369 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2370                         __attribute__nonnull__(pTHX_1)
2371                         __attribute__nonnull__(pTHX_2)
2372                         __attribute__nonnull__(pTHX_3);
2373 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2374         assert(sv); assert(mg); assert(meth)
2375
2376 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2377                         __attribute__nonnull__(pTHX_1)
2378                         __attribute__nonnull__(pTHX_2)
2379                         __attribute__nonnull__(pTHX_3);
2380 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2381         assert(sv); assert(mg); assert(key)
2382
2383 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2384                         __attribute__nonnull__(pTHX_1)
2385                         __attribute__nonnull__(pTHX_2);
2386 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
2387         assert(sv); assert(mg)
2388
2389 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2390                         __attribute__nonnull__(pTHX_1)
2391                         __attribute__nonnull__(pTHX_2);
2392 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
2393         assert(sv); assert(mg)
2394
2395 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2396                         __attribute__nonnull__(pTHX_1)
2397                         __attribute__nonnull__(pTHX_2);
2398 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
2399         assert(hv); assert(mg)
2400
2401 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2402                         __attribute__nonnull__(pTHX_1)
2403                         __attribute__nonnull__(pTHX_2);
2404 #define PERL_ARGS_ASSERT_MAGIC_SET      \
2405         assert(sv); assert(mg)
2406
2407 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
2408                         __attribute__nonnull__(pTHX_1)
2409                         __attribute__nonnull__(pTHX_2);
2410 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
2411         assert(sv); assert(mg)
2412
2413 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
2414                         __attribute__nonnull__(pTHX_1)
2415                         __attribute__nonnull__(pTHX_2);
2416 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
2417         assert(sv); assert(mg)
2418
2419 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
2420                         __attribute__nonnull__(pTHX_1)
2421                         __attribute__nonnull__(pTHX_2);
2422 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
2423         assert(sv); assert(mg)
2424
2425 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
2426                         __attribute__nonnull__(pTHX_1)
2427                         __attribute__nonnull__(pTHX_2);
2428 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
2429         assert(sv); assert(mg)
2430
2431 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
2432                         __attribute__nonnull__(pTHX_1)
2433                         __attribute__nonnull__(pTHX_2);
2434 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
2435         assert(sv); assert(mg)
2436
2437 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2438                         __attribute__nonnull__(pTHX_1)
2439                         __attribute__nonnull__(pTHX_2);
2440 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
2441         assert(sv); assert(mg)
2442
2443 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2444                         __attribute__nonnull__(pTHX_1)
2445                         __attribute__nonnull__(pTHX_2);
2446 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
2447         assert(sv); assert(mg)
2448
2449 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2450                         __attribute__nonnull__(pTHX_1)
2451                         __attribute__nonnull__(pTHX_2);
2452 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2453         assert(sv); assert(mg)
2454
2455 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2456                         __attribute__nonnull__(pTHX_1)
2457                         __attribute__nonnull__(pTHX_2);
2458 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2459         assert(sv); assert(mg)
2460
2461 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2462                         __attribute__nonnull__(pTHX_1)
2463                         __attribute__nonnull__(pTHX_2);
2464 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
2465         assert(sv); assert(mg)
2466
2467 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2468                         __attribute__nonnull__(pTHX_1)
2469                         __attribute__nonnull__(pTHX_2);
2470 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
2471         assert(sv); assert(mg)
2472
2473 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2474                         __attribute__nonnull__(pTHX_1)
2475                         __attribute__nonnull__(pTHX_2);
2476 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
2477         assert(sv); assert(mg)
2478
2479 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
2480                         __attribute__nonnull__(pTHX_2);
2481 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
2482         assert(mg)
2483
2484 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2485                         __attribute__nonnull__(pTHX_1)
2486                         __attribute__nonnull__(pTHX_2);
2487 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
2488         assert(sv); assert(mg)
2489
2490 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2491                         __attribute__nonnull__(pTHX_1)
2492                         __attribute__nonnull__(pTHX_2);
2493 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2494         assert(sv); assert(mg)
2495
2496 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
2497                         __attribute__nonnull__(pTHX_1)
2498                         __attribute__nonnull__(pTHX_2);
2499 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
2500         assert(sv); assert(mg)
2501
2502 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
2503                         __attribute__nonnull__(pTHX_1)
2504                         __attribute__nonnull__(pTHX_2);
2505 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
2506         assert(sv); assert(mg)
2507
2508 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
2509                         __attribute__nonnull__(pTHX_1)
2510                         __attribute__nonnull__(pTHX_2);
2511 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
2512         assert(sv); assert(mg)
2513
2514 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2515                         __attribute__nonnull__(pTHX_1)
2516                         __attribute__nonnull__(pTHX_2);
2517 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2518         assert(sv); assert(mg)
2519
2520 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2521                         __attribute__nonnull__(pTHX_1)
2522                         __attribute__nonnull__(pTHX_2);
2523 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2524         assert(sv); assert(mg)
2525
2526 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
2527                         __attribute__malloc__
2528                         __attribute__warn_unused_result__;
2529
2530 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
2531 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
2532                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2533                         __attribute__nonnull__(pTHX_1);
2534 #define PERL_ARGS_ASSERT_MESS   \
2535         assert(pat)
2536
2537 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2538                         __attribute__nonnull__(pTHX_1);
2539 #define PERL_ARGS_ASSERT_MESS_SV        \
2540         assert(basemsg)
2541
2542 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
2543 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
2544                         __attribute__nonnull__(pTHX_1);
2545 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2546         assert(sv)
2547
2548 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
2549                         __attribute__nonnull__(pTHX_1)
2550                         __attribute__nonnull__(pTHX_2);
2551 #define PERL_ARGS_ASSERT_MG_COPY        \
2552         assert(sv); assert(nsv)
2553
2554 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
2555                         __attribute__warn_unused_result__;
2556
2557 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
2558                         __attribute__warn_unused_result__
2559                         __attribute__nonnull__(pTHX_1);
2560 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
2561         assert(sv)
2562
2563 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2564                         __attribute__warn_unused_result__;
2565
2566 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
2567                         __attribute__nonnull__(pTHX_1);
2568 #define PERL_ARGS_ASSERT_MG_FREE        \
2569         assert(sv)
2570
2571 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how)
2572                         __attribute__nonnull__(pTHX_1);
2573 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
2574         assert(sv)
2575
2576 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
2577                         __attribute__nonnull__(pTHX_1);
2578 #define PERL_ARGS_ASSERT_MG_GET \
2579         assert(sv)
2580
2581 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2582                         __attribute__deprecated__
2583                         __attribute__nonnull__(pTHX_1);
2584 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2585         assert(sv)
2586
2587 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2588                         __attribute__nonnull__(pTHX_1)
2589                         __attribute__nonnull__(pTHX_2);
2590 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2591         assert(sv); assert(nsv)
2592
2593 PERL_CALLCONV void      Perl_mg_magical(SV* sv)
2594                         __attribute__nonnull__(1);
2595 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2596         assert(sv)
2597
2598 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
2599                         __attribute__nonnull__(pTHX_1);
2600 #define PERL_ARGS_ASSERT_MG_SET \
2601         assert(sv)
2602
2603 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
2604                         __attribute__nonnull__(pTHX_1);
2605 #define PERL_ARGS_ASSERT_MG_SIZE        \
2606         assert(sv)
2607
2608 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm)
2609                         __attribute__nonnull__(1);
2610 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2611         assert(ptm)
2612
2613 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2614 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2615 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
2616                         __attribute__nonnull__(pTHX_1);
2617 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2618         assert(s)
2619
2620 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name)
2621                         __attribute__nonnull__(pTHX_1);
2622 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2623         assert(name)
2624
2625 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash)
2626                         __attribute__nonnull__(pTHX_1);
2627 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2628         assert(stash)
2629
2630 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which)
2631                         __attribute__nonnull__(pTHX_1)
2632                         __attribute__nonnull__(pTHX_2);
2633 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2634         assert(smeta); assert(which)
2635
2636 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash)
2637                         __attribute__nonnull__(pTHX_1);
2638 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2639         assert(stash)
2640
2641 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash)
2642                         __attribute__nonnull__(pTHX_1);
2643 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
2644         assert(stash)
2645
2646 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash)
2647                         __attribute__nonnull__(pTHX_1);
2648 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2649         assert(stash)
2650
2651 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags)
2652                         __attribute__nonnull__(pTHX_3);
2653 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2654         assert(gv)
2655
2656 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro)
2657                         __attribute__nonnull__(pTHX_1);
2658 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
2659         assert(mro)
2660
2661 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name)
2662                         __attribute__nonnull__(pTHX_1)
2663                         __attribute__nonnull__(pTHX_2);
2664 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
2665         assert(meta); assert(name)
2666
2667 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data)
2668                         __attribute__nonnull__(pTHX_1)
2669                         __attribute__nonnull__(pTHX_2)
2670                         __attribute__nonnull__(pTHX_3);
2671 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2672         assert(smeta); assert(which); assert(data)
2673
2674 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
2675                         __attribute__nonnull__(pTHX_1);
2676 #define PERL_ARGS_ASSERT_MY_ATOF        \
2677         assert(s)
2678
2679 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *s, NV* value)
2680                         __attribute__nonnull__(pTHX_1)
2681                         __attribute__nonnull__(pTHX_2);
2682 #define PERL_ARGS_ASSERT_MY_ATOF2       \
2683         assert(s); assert(value)
2684
2685 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2686                         __attribute__nonnull__(pTHX_1);
2687 #define PERL_ARGS_ASSERT_MY_ATTRS       \
2688         assert(o)
2689
2690 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
2691 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
2692 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
2693                         __attribute__noreturn__;
2694
2695 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
2696                         __attribute__noreturn__;
2697
2698 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2699 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2700 /* PERL_CALLCONV I32    Perl_my_lstat(pTHX); */
2701 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2702 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
2703                         __attribute__nonnull__(pTHX_1)
2704                         __attribute__nonnull__(pTHX_3);
2705 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2706         assert(mode); assert(args)
2707
2708 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2709 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2710                         __attribute__format__(__printf__,3,4)
2711                         __attribute__nonnull__(1)
2712                         __attribute__nonnull__(3);
2713 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
2714         assert(buffer); assert(format)
2715
2716 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2717 /* PERL_CALLCONV I32    Perl_my_stat(pTHX); */
2718 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2719 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
2720 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)
2721                         __attribute__format__(__strftime__,pTHX_1,0)
2722                         __attribute__nonnull__(pTHX_1);
2723 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2724         assert(fmt)
2725
2726 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2727 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
2728                         __attribute__nonnull__(1)
2729                         __attribute__nonnull__(3);
2730 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2731         assert(buffer); assert(format)
2732
2733 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2734 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2735                         __attribute__malloc__
2736                         __attribute__warn_unused_result__;
2737
2738 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2739                         __attribute__malloc__
2740                         __attribute__warn_unused_result__;
2741
2742 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2743 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2744                         __attribute__malloc__
2745                         __attribute__warn_unused_result__;
2746
2747 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2748 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2749 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2750                         __attribute__warn_unused_result__; */
2751
2752 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2753                         __attribute__malloc__
2754                         __attribute__warn_unused_result__
2755                         __attribute__nonnull__(pTHX_1);
2756 #define PERL_ARGS_ASSERT_NEWAVREF       \
2757         assert(o)
2758
2759 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2760                         __attribute__malloc__
2761                         __attribute__warn_unused_result__;
2762
2763 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2764                         __attribute__malloc__
2765                         __attribute__warn_unused_result__
2766                         __attribute__nonnull__(pTHX_2);
2767 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2768         assert(first)
2769
2770 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2771 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2772 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2773                         __attribute__malloc__
2774                         __attribute__warn_unused_result__;
2775
2776 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2777 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2778                         __attribute__malloc__
2779                         __attribute__warn_unused_result__
2780                         __attribute__nonnull__(pTHX_3);
2781 #define PERL_ARGS_ASSERT_NEWFOROP       \
2782         assert(expr)
2783
2784 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2785                         __attribute__malloc__
2786                         __attribute__warn_unused_result__
2787                         __attribute__nonnull__(pTHX_1)
2788                         __attribute__nonnull__(pTHX_2);
2789 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2790         assert(cond); assert(block)
2791
2792 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv)
2793                         __attribute__nonnull__(pTHX_1);
2794 #define PERL_ARGS_ASSERT_NEWGP  \
2795         assert(gv)
2796
2797 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2798                         __attribute__malloc__
2799                         __attribute__warn_unused_result__
2800                         __attribute__nonnull__(pTHX_3);
2801 #define PERL_ARGS_ASSERT_NEWGVOP        \
2802         assert(gv)
2803
2804 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2805                         __attribute__malloc__
2806                         __attribute__warn_unused_result__;
2807
2808 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack)
2809                         __attribute__nonnull__(pTHX_1); */
2810
2811 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2812                         __attribute__malloc__
2813                         __attribute__warn_unused_result__
2814                         __attribute__nonnull__(pTHX_1);
2815 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2816         assert(pack)
2817
2818 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2819                         __attribute__warn_unused_result__; */
2820
2821 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2822                         __attribute__malloc__
2823                         __attribute__warn_unused_result__
2824                         __attribute__nonnull__(pTHX_1);
2825 #define PERL_ARGS_ASSERT_NEWHVREF       \
2826         assert(o)
2827
2828 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2829                         __attribute__malloc__
2830                         __attribute__warn_unused_result__;
2831
2832 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2833                         __attribute__malloc__
2834                         __attribute__warn_unused_result__; */
2835
2836 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2837                         __attribute__malloc__
2838                         __attribute__warn_unused_result__;
2839
2840 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2841                         __attribute__malloc__
2842                         __attribute__warn_unused_result__
2843                         __attribute__nonnull__(pTHX_3)
2844                         __attribute__nonnull__(pTHX_4);
2845 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2846         assert(first); assert(other)
2847
2848 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2849                         __attribute__malloc__
2850                         __attribute__warn_unused_result__
2851                         __attribute__nonnull__(pTHX_2);
2852 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2853         assert(label)
2854
2855 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2856                         __attribute__malloc__
2857                         __attribute__warn_unused_result__;
2858
2859 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
2860                         __attribute__nonnull__(pTHX_2);
2861 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2862         assert(o)
2863
2864 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2865                         __attribute__malloc__
2866                         __attribute__warn_unused_result__;
2867
2868 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2869                         __attribute__malloc__
2870                         __attribute__warn_unused_result__;
2871
2872 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2873                         __attribute__malloc__
2874                         __attribute__warn_unused_result__;
2875
2876 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2877                         __attribute__nonnull__(pTHX_1);
2878 #define PERL_ARGS_ASSERT_NEWPROG        \
2879         assert(o)
2880
2881 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2882                         __attribute__malloc__
2883                         __attribute__warn_unused_result__;
2884
2885 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2886                         __attribute__malloc__
2887                         __attribute__warn_unused_result__
2888                         __attribute__nonnull__(pTHX_2)
2889                         __attribute__nonnull__(pTHX_3);
2890 #define PERL_ARGS_ASSERT_NEWRANGE       \
2891         assert(left); assert(right)
2892
2893 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2894                         __attribute__malloc__
2895                         __attribute__warn_unused_result__
2896                         __attribute__nonnull__(pTHX_1);
2897 #define PERL_ARGS_ASSERT_NEWRV  \
2898         assert(sv)
2899
2900 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
2901                         __attribute__malloc__
2902                         __attribute__warn_unused_result__
2903                         __attribute__nonnull__(pTHX_1);
2904 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2905         assert(sv)
2906
2907 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2908                         __attribute__malloc__
2909                         __attribute__warn_unused_result__;
2910
2911 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2912                         __attribute__malloc__
2913                         __attribute__warn_unused_result__;
2914
2915 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake)
2916                         __attribute__nonnull__(pTHX_1);
2917 #define PERL_ARGS_ASSERT_NEWSTUB        \
2918         assert(gv)
2919
2920 /* PERL_CALLCONV CV*    Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */
2921 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2922                         __attribute__malloc__
2923                         __attribute__warn_unused_result__;
2924
2925 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2926                         __attribute__malloc__
2927                         __attribute__warn_unused_result__
2928                         __attribute__nonnull__(pTHX_3);
2929 #define PERL_ARGS_ASSERT_NEWSVOP        \
2930         assert(sv)
2931
2932 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2933                         __attribute__malloc__
2934                         __attribute__warn_unused_result__
2935                         __attribute__nonnull__(pTHX_1);
2936 #define PERL_ARGS_ASSERT_NEWSVREF       \
2937         assert(o)
2938
2939 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2940                         __attribute__malloc__
2941                         __attribute__warn_unused_result__;
2942
2943 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2944                         __attribute__malloc__
2945                         __attribute__warn_unused_result__
2946                         __attribute__nonnull__(pTHX_1);
2947 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2948         assert(av)
2949
2950 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2951                         __attribute__malloc__
2952                         __attribute__warn_unused_result__;
2953
2954 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2955                         __attribute__malloc__
2956                         __attribute__warn_unused_result__;
2957
2958 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2959                         __attribute__malloc__
2960                         __attribute__warn_unused_result__;
2961
2962 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2963                         __attribute__malloc__
2964                         __attribute__warn_unused_result__;
2965
2966 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2967                         __attribute__malloc__
2968                         __attribute__warn_unused_result__;
2969
2970 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2971                         __attribute__malloc__
2972                         __attribute__warn_unused_result__
2973                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2974                         __attribute__nonnull__(pTHX_1);
2975 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2976         assert(pat)
2977
2978 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2979                         __attribute__malloc__
2980                         __attribute__warn_unused_result__;
2981
2982 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2983                         __attribute__malloc__
2984                         __attribute__warn_unused_result__;
2985
2986 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2987                         __attribute__malloc__
2988                         __attribute__warn_unused_result__;
2989
2990 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2991                         __attribute__nonnull__(pTHX_1);
2992 #define PERL_ARGS_ASSERT_NEWSVRV        \
2993         assert(rv)
2994
2995 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2996                         __attribute__malloc__
2997                         __attribute__warn_unused_result__;
2998
2999 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
3000                         __attribute__malloc__
3001                         __attribute__warn_unused_result__;
3002
3003 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
3004                         __attribute__malloc__
3005                         __attribute__warn_unused_result__;
3006
3007 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
3008                         __attribute__malloc__
3009                         __attribute__warn_unused_result__
3010                         __attribute__nonnull__(pTHX_2);
3011 #define PERL_ARGS_ASSERT_NEWWHENOP      \
3012         assert(block)
3013
3014 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
3015                         __attribute__malloc__
3016                         __attribute__warn_unused_result__;
3017
3018 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
3019                         __attribute__nonnull__(pTHX_2)
3020                         __attribute__nonnull__(pTHX_3);
3021 #define PERL_ARGS_ASSERT_NEWXS  \
3022         assert(subaddr); assert(filename)
3023
3024 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
3025                         __attribute__nonnull__(pTHX_2)
3026                         __attribute__nonnull__(pTHX_3);
3027 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
3028         assert(subaddr); assert(filename)
3029
3030 PERL_CALLCONV CV *      Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags)
3031                         __attribute__nonnull__(pTHX_3)
3032                         __attribute__nonnull__(pTHX_4);
3033 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
3034         assert(subaddr); assert(filename)
3035
3036 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
3037 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
3038                         __attribute__nonnull__(pTHX_1);
3039 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
3040         assert(newctype)
3041
3042 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
3043 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3044                         __attribute__malloc__
3045                         __attribute__warn_unused_result__;
3046
3047 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
3048                         __attribute__nonnull__(pTHX_1);
3049 #define PERL_ARGS_ASSERT_NEW_VERSION    \
3050         assert(ver)
3051
3052 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
3053                         __attribute__malloc__
3054                         __attribute__warn_unused_result__
3055                         __attribute__nonnull__(pTHX_2);
3056 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
3057         assert(bits)
3058
3059 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv)
3060                         __attribute__nonnull__(pTHX_1);
3061 #define PERL_ARGS_ASSERT_NEXTARGV       \
3062         assert(gv)
3063
3064 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
3065                         __attribute__pure__
3066                         __attribute__nonnull__(1)
3067                         __attribute__nonnull__(2)
3068                         __attribute__nonnull__(3)
3069                         __attribute__nonnull__(4);
3070 #define PERL_ARGS_ASSERT_NINSTR \
3071         assert(big); assert(bigend); assert(little); assert(lend)
3072
3073 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
3074 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
3075                         __attribute__warn_unused_result__
3076                         __attribute__nonnull__(pTHX_1);
3077 #define PERL_ARGS_ASSERT_OOPSAV \
3078         assert(o)
3079
3080 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
3081                         __attribute__warn_unused_result__
3082                         __attribute__nonnull__(pTHX_1);
3083 #define PERL_ARGS_ASSERT_OOPSHV \
3084         assert(o)
3085
3086 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
3087 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
3088 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
3089                         __attribute__nonnull__(pTHX_1);
3090 #define PERL_ARGS_ASSERT_OP_CLEAR       \
3091         assert(o)
3092
3093 PERL_CALLCONV SV*       Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
3094                         __attribute__warn_unused_result__;
3095
3096 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context)
3097                         __attribute__nonnull__(pTHX_1);
3098 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
3099         assert(o)
3100
3101 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o)
3102                         __attribute__nonnull__(pTHX_1);
3103 #define PERL_ARGS_ASSERT_OP_DUMP        \
3104         assert(o)
3105
3106 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
3107 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o)
3108                         __attribute__nonnull__(pTHX_1);
3109 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
3110         assert(o)
3111
3112 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
3113 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3114 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
3115                         __attribute__nonnull__(pTHX_1);
3116 #define PERL_ARGS_ASSERT_OP_NULL        \
3117         assert(o)
3118
3119 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3120 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
3121 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
3122 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
3123 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
3124 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)
3125                         __attribute__nonnull__(pTHX_1)
3126                         __attribute__nonnull__(pTHX_2)
3127                         __attribute__nonnull__(pTHX_3)
3128                         __attribute__nonnull__(pTHX_4)
3129                         __attribute__nonnull__(pTHX_5)
3130                         __attribute__nonnull__(pTHX_6);
3131 #define PERL_ARGS_ASSERT_PACK_CAT       \
3132         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
3133
3134 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
3135                         __attribute__nonnull__(pTHX_1);
3136 #define PERL_ARGS_ASSERT_PACKAGE        \
3137         assert(o)
3138
3139 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
3140                         __attribute__nonnull__(pTHX_1);
3141 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
3142         assert(v)
3143
3144 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
3145                         __attribute__nonnull__(pTHX_1)
3146                         __attribute__nonnull__(pTHX_2)
3147                         __attribute__nonnull__(pTHX_3)
3148                         __attribute__nonnull__(pTHX_4)
3149                         __attribute__nonnull__(pTHX_5);
3150 #define PERL_ARGS_ASSERT_PACKLIST       \
3151         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3152
3153 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype)
3154                         __attribute__nonnull__(pTHX_1);
3155 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
3156         assert(func)
3157
3158 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash)
3159                         __attribute__nonnull__(pTHX_1);
3160 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
3161         assert(name)
3162
3163 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash)
3164                         __attribute__nonnull__(pTHX_1);
3165 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
3166         assert(namepv)
3167
3168 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash)
3169                         __attribute__nonnull__(pTHX_1);
3170 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
3171         assert(name)
3172
3173 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3174 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
3175 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
3176                         __attribute__warn_unused_result__;
3177
3178 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags)
3179                         __attribute__nonnull__(pTHX_1);
3180 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
3181         assert(name)
3182
3183 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags)
3184                         __attribute__nonnull__(pTHX_1);
3185 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3186         assert(namepv)
3187
3188 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags)
3189                         __attribute__nonnull__(pTHX_1);
3190 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
3191         assert(name)
3192
3193 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3194                         __attribute__nonnull__(pTHX_1)
3195                         __attribute__nonnull__(pTHX_2)
3196                         __attribute__nonnull__(pTHX_3);
3197 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
3198         assert(padlist); assert(old_cv); assert(new_cv)
3199
3200 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
3201 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
3202 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
3203                         __attribute__malloc__
3204                         __attribute__warn_unused_result__;
3205
3206 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
3207                         __attribute__nonnull__(pTHX_1);
3208 #define PERL_ARGS_ASSERT_PAD_PUSH       \
3209         assert(padlist)
3210
3211 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
3212 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
3213 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3214                         __attribute__nonnull__(pTHX_1);
3215 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
3216         assert(padlist)
3217
3218 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
3219 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
3220 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
3221 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
3222 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
3223 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
3224 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
3225 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
3226 PERL_CALLCONV OP *      Perl_parse_subsignature(pTHX)
3227                         __attribute__warn_unused_result__;
3228
3229 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
3230 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3231                         __attribute__nonnull__(pTHX_1);
3232 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3233         assert(popt)
3234
3235 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3236                         __attribute__nonnull__(pTHX_1);
3237 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3238         assert(parser)
3239
3240 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
3241 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
3242 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl)
3243                         __attribute__nonnull__(1);
3244 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3245         assert(my_perl)
3246
3247 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl)
3248                         __attribute__nonnull__(1);
3249 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
3250         assert(my_perl)
3251
3252 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl)
3253                         __attribute__nonnull__(1);
3254 #define PERL_ARGS_ASSERT_PERL_FREE      \
3255         assert(my_perl)
3256
3257 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
3258                         __attribute__nonnull__(1);
3259 #define PERL_ARGS_ASSERT_PERL_PARSE     \
3260         assert(my_perl)
3261
3262 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl)
3263                         __attribute__nonnull__(1);
3264 #define PERL_ARGS_ASSERT_PERL_RUN       \
3265         assert(my_perl)
3266
3267 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
3268 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg, I32 floor)
3269                         __attribute__nonnull__(pTHX_1)
3270                         __attribute__nonnull__(pTHX_2);
3271 #define PERL_ARGS_ASSERT_PMRUNTIME      \
3272         assert(o); assert(expr)
3273
3274 PERL_CALLCONV void      Perl_pop_scope(pTHX);
3275 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3276                         __attribute__nonnull__(pTHX_1);
3277 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
3278         assert(name)
3279
3280 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
3281                         __attribute__nonnull__(pTHX_1);
3282 #define PERL_ARGS_ASSERT_PREGCOMP       \
3283         assert(pattern)
3284
3285 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave)
3286                         __attribute__nonnull__(pTHX_1)
3287                         __attribute__nonnull__(pTHX_2)
3288                         __attribute__nonnull__(pTHX_3)
3289                         __attribute__nonnull__(pTHX_4)
3290                         __attribute__nonnull__(pTHX_6);
3291 #define PERL_ARGS_ASSERT_PREGEXEC       \
3292         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3293
3294 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
3295 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
3296                         __attribute__nonnull__(pTHX_1);
3297 #define PERL_ARGS_ASSERT_PREGFREE2      \
3298         assert(rx)
3299
3300 PERL_CALLCONV const char*       Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
3301                         __attribute__nonnull__(pTHX_1);
3302 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
3303         assert(s)
3304
3305 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
3306                         __attribute__deprecated__;
3307
3308 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3309                         __attribute__warn_unused_result__
3310                         __attribute__nonnull__(pTHX_1);
3311 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
3312         assert(tbl)
3313
3314 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3315 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
3316                         __attribute__malloc__
3317                         __attribute__warn_unused_result__;
3318
3319 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
3320                         __attribute__nonnull__(pTHX_1);
3321 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
3322         assert(tbl)
3323
3324 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
3325                         __attribute__nonnull__(pTHX_1)
3326                         __attribute__nonnull__(pTHX_3);
3327 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
3328         assert(tbl); assert(newsv)
3329
3330 PERL_CALLCONV void      Perl_push_scope(pTHX);
3331 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3332                         __attribute__nonnull__(pTHX_1)
3333                         __attribute__nonnull__(pTHX_2);
3334 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3335         assert(dsv); assert(pv)
3336
3337 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)
3338                         __attribute__nonnull__(pTHX_1)
3339                         __attribute__nonnull__(pTHX_2);
3340 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3341         assert(dsv); assert(str)
3342
3343 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)
3344                         __attribute__nonnull__(pTHX_1)
3345                         __attribute__nonnull__(pTHX_2);
3346 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3347         assert(dsv); assert(str)
3348
3349 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3350                         __attribute__nonnull__(pTHX_1)
3351                         __attribute__nonnull__(pTHX_2);
3352 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3353         assert(dsv); assert(spv)
3354
3355 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
3356                         __attribute__nonnull__(pTHX_1);
3357 #define PERL_ARGS_ASSERT_QERROR \
3358         assert(err)
3359
3360 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags)
3361                         __attribute__nonnull__(pTHX_1);
3362 #define PERL_ARGS_ASSERT_RE_COMPILE     \
3363         assert(pattern)
3364
3365 PERL_CALLCONV char*     Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data)
3366                         __attribute__nonnull__(pTHX_1)
3367                         __attribute__nonnull__(pTHX_3)
3368                         __attribute__nonnull__(pTHX_4)
3369                         __attribute__nonnull__(pTHX_5);
3370 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
3371         assert(rx); assert(strbeg); assert(strpos); assert(strend)
3372
3373 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
3374                         __attribute__nonnull__(pTHX_1);
3375 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
3376         assert(r)
3377
3378 PERL_CALLCONV REGEXP*   Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, U32 rx_flags, U32 pm_flags)
3379                         __attribute__nonnull__(pTHX_4);
3380 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
3381         assert(eng)
3382
3383 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3384                         __attribute__malloc__
3385                         __attribute__warn_unused_result__;
3386
3387 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
3388 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
3389 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
3390                         __attribute__nonnull__(1);
3391 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
3392         assert(f)
3393
3394 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
3395 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
3396 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3397 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags)
3398                         __attribute__nonnull__(pTHX_2);
3399 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3400         assert(key)
3401
3402 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags)
3403                         __attribute__nonnull__(pTHX_2);
3404 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
3405         assert(keypv)
3406
3407 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags)
3408                         __attribute__nonnull__(pTHX_2);
3409 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3410         assert(key)
3411
3412 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3413 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3414 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags)
3415                         __attribute__nonnull__(pTHX_2);
3416 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
3417         assert(key)
3418
3419 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags)
3420                         __attribute__nonnull__(pTHX_2);
3421 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
3422         assert(keypv)
3423
3424 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags)
3425                         __attribute__nonnull__(pTHX_2);
3426 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
3427         assert(key)
3428
3429 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
3430                         __attribute__nonnull__(pTHX_1);
3431 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3432         assert(rx)
3433
3434 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
3435                         __attribute__nonnull__(pTHX_1);
3436 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
3437         assert(rx)
3438
3439 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
3440                         __attribute__nonnull__(pTHX_1)
3441                         __attribute__nonnull__(pTHX_2);
3442 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
3443         assert(rx); assert(key)
3444
3445 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
3446                         __attribute__nonnull__(pTHX_1)
3447                         __attribute__nonnull__(pTHX_2);
3448 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
3449         assert(rx); assert(namesv)
3450
3451 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
3452                         __attribute__nonnull__(pTHX_1);
3453 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
3454         assert(rx)
3455
3456 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
3457                         __attribute__nonnull__(pTHX_1);
3458 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
3459         assert(rx)
3460
3461 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
3462                         __attribute__nonnull__(pTHX_1);
3463 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3464         assert(rx)
3465
3466 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
3467                         __attribute__nonnull__(pTHX_1);
3468 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
3469         assert(rx)
3470
3471 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
3472                         __attribute__nonnull__(pTHX_1);
3473 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
3474         assert(rx)
3475
3476 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
3477                         __attribute__nonnull__(pTHX_1)
3478                         __attribute__nonnull__(pTHX_2);
3479 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
3480         assert(rx); assert(sv)
3481
3482 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
3483                         __attribute__nonnull__(pTHX_1);
3484 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
3485         assert(rx)
3486
3487 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
3488                         __attribute__nonnull__(pTHX_1);
3489 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3490         assert(rx)
3491
3492 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
3493                         __attribute__nonnull__(pTHX_2);
3494 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
3495         assert(rx)
3496
3497 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
3498                         __attribute__nonnull__(pTHX_2);
3499 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
3500         assert(node)
3501
3502 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
3503                         __attribute__nonnull__(pTHX_1);
3504 #define PERL_ARGS_ASSERT_REGDUMP        \
3505         assert(r)
3506
3507 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags)
3508                         __attribute__nonnull__(pTHX_1)
3509                         __attribute__nonnull__(pTHX_2)
3510                         __attribute__nonnull__(pTHX_3)
3511                         __attribute__nonnull__(pTHX_4)
3512                         __attribute__nonnull__(pTHX_6);
3513 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
3514         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3515
3516 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
3517                         __attribute__nonnull__(pTHX_1);
3518 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
3519         assert(rx)
3520
3521 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3522 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
3523                         __attribute__warn_unused_result__;
3524
3525 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo)
3526                         __attribute__nonnull__(pTHX_2)
3527                         __attribute__nonnull__(pTHX_3);
3528 #define PERL_ARGS_ASSERT_REGPROP        \
3529         assert(sv); assert(o)
3530
3531 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count)
3532                         __attribute__nonnull__(1)
3533                         __attribute__nonnull__(2);
3534 #define PERL_ARGS_ASSERT_REPEATCPY      \
3535         assert(to); assert(from)
3536
3537 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
3538 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3539 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
3540 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
3541                         __attribute__nonnull__(pTHX_1);
3542 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
3543         assert(pv)
3544
3545 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3546                         __attribute__pure__
3547                         __attribute__nonnull__(1)
3548                         __attribute__nonnull__(2)
3549                         __attribute__nonnull__(3)
3550                         __attribute__nonnull__(4);
3551 #define PERL_ARGS_ASSERT_RNINSTR        \
3552         assert(big); assert(bigend); assert(little); assert(lend)
3553
3554 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
3555 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
3556 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
3557 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3558                         __attribute__nonnull__(pTHX_3);
3559 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
3560         assert(save)
3561
3562 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
3563 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3564 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3565 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags)
3566                         __attribute__nonnull__(pTHX_1);
3567 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
3568         assert(cvop)
3569
3570 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3571                         __attribute__nonnull__(pTHX_1)
3572                         __attribute__nonnull__(pTHX_2);
3573 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
3574         assert(rsp); assert(rx)
3575
3576 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3577                         __attribute__malloc__
3578                         __attribute__warn_unused_result__;
3579
3580 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3581 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3582                         __attribute__malloc__
3583                         __attribute__warn_unused_result__;
3584
3585 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3586                         __attribute__malloc__
3587                         __attribute__warn_unused_result__;
3588
3589 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
3590                         __attribute__nonnull__(pTHX_1);
3591 #define PERL_ARGS_ASSERT_SAVE_I16       \
3592         assert(intp)
3593
3594 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
3595                         __attribute__nonnull__(pTHX_1);
3596 #define PERL_ARGS_ASSERT_SAVE_I32       \
3597         assert(intp)
3598
3599 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
3600                         __attribute__nonnull__(pTHX_1);
3601 #define PERL_ARGS_ASSERT_SAVE_I8        \
3602         assert(bytep)
3603
3604 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key)
3605                         __attribute__nonnull__(pTHX_1);
3606 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
3607         assert(av)
3608
3609 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr)
3610                         __attribute__nonnull__(pTHX_1)
3611                         __attribute__nonnull__(pTHX_3); */
3612
3613 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags)
3614                         __attribute__nonnull__(pTHX_1)
3615                         __attribute__nonnull__(pTHX_3);
3616 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
3617         assert(av); assert(sptr)
3618
3619 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
3620 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
3621                         __attribute__nonnull__(pTHX_1);
3622 #define PERL_ARGS_ASSERT_SAVE_APTR      \
3623         assert(aptr)
3624
3625 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
3626                         __attribute__nonnull__(pTHX_1);
3627 #define PERL_ARGS_ASSERT_SAVE_ARY       \
3628         assert(gv)
3629
3630 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
3631                         __attribute__nonnull__(pTHX_1);
3632 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
3633         assert(boolp)
3634
3635 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
3636                         __attribute__nonnull__(pTHX_1);
3637 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
3638         assert(svp)
3639
3640 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
3641                         __attribute__nonnull__(pTHX_1)
3642                         __attribute__nonnull__(pTHX_2);
3643 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
3644         assert(hv); assert(key)
3645
3646 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3647                         __attribute__nonnull__(pTHX_2);
3648 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
3649         assert(p)
3650
3651 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3652 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
3653 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
3654 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
3655 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
3656                         __attribute__nonnull__(pTHX_1);
3657 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
3658         assert(str)
3659
3660 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
3661                         __attribute__nonnull__(pTHX_1);
3662 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3663         assert(sptr)
3664
3665 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
3666                         __attribute__nonnull__(pTHX_1);
3667 #define PERL_ARGS_ASSERT_SAVE_GP        \
3668         assert(gv)
3669
3670 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
3671                         __attribute__nonnull__(pTHX_1);
3672 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3673         assert(gv)
3674
3675 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
3676                         __attribute__nonnull__(pTHX_1)
3677                         __attribute__nonnull__(pTHX_2);
3678 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3679         assert(hv); assert(keysv)
3680
3681 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
3682                         __attribute__nonnull__(pTHX_1)
3683                         __attribute__nonnull__(pTHX_2)
3684                         __attribute__nonnull__(pTHX_3); */
3685
3686 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3687                         __attribute__nonnull__(pTHX_1)
3688                         __attribute__nonnull__(pTHX_2)
3689                         __attribute__nonnull__(pTHX_3);
3690 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3691         assert(hv); assert(key); assert(sptr)
3692
3693 PERL_CALLCONV void      Perl_save_hints(pTHX);
3694 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
3695                         __attribute__nonnull__(pTHX_1);
3696 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3697         assert(hptr)
3698
3699 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
3700                         __attribute__nonnull__(pTHX_1);
3701 #define PERL_ARGS_ASSERT_SAVE_INT       \
3702         assert(intp)
3703
3704 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
3705                         __attribute__nonnull__(pTHX_1);
3706 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3707         assert(item)
3708
3709 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
3710                         __attribute__nonnull__(pTHX_1);
3711 #define PERL_ARGS_ASSERT_SAVE_IV        \
3712         assert(ivp)
3713
3714 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3715                         __attribute__nonnull__(pTHX_1);
3716 #define PERL_ARGS_ASSERT_SAVE_LIST      \
3717         assert(sarg)
3718
3719 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
3720                         __attribute__nonnull__(pTHX_1);
3721 #define PERL_ARGS_ASSERT_SAVE_LONG      \
3722         assert(longp)
3723
3724 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
3725                         __attribute__nonnull__(pTHX_1); */
3726 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3727         assert(sv)
3728
3729 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
3730                         __attribute__nonnull__(pTHX_1);
3731 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
3732         assert(gv)
3733
3734 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
3735 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3736 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
3737                         __attribute__nonnull__(pTHX_1);
3738 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3739         assert(pptr)
3740
3741 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3742 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3743 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3744 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3745 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
3746                         __attribute__nonnull__(pTHX_1);
3747 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3748         assert(gv)
3749
3750 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val)
3751                         __attribute__nonnull__(pTHX_1);
3752 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
3753         assert(sv)
3754
3755 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
3756                         __attribute__nonnull__(pTHX_1);
3757 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3758         assert(str)
3759
3760 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
3761                         __attribute__nonnull__(pTHX_1);
3762 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3763         assert(sptr)
3764
3765 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr)
3766                         __attribute__nonnull__(pTHX_1);
3767 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
3768         assert(ptr)
3769
3770 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
3771                         __attribute__nonnull__(pTHX_1);
3772 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3773         assert(sptr)
3774
3775 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
3776                         __attribute__nonnull__(pTHX_1);
3777 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3778         assert(ptr)
3779
3780 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
3781                         __attribute__malloc__
3782                         __attribute__warn_unused_result__;
3783
3784 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
3785                         __attribute__malloc__
3786                         __attribute__warn_unused_result__;
3787
3788 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
3789                         __attribute__malloc__
3790                         __attribute__warn_unused_result__;
3791
3792 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3793                         __attribute__malloc__
3794                         __attribute__warn_unused_result__;
3795
3796 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
3797                         __attribute__malloc__
3798                         __attribute__warn_unused_result__
3799                         __attribute__nonnull__(pTHX_1);
3800 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3801         assert(sv)
3802
3803 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
3804 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
3805 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
3806                         __attribute__malloc__
3807                         __attribute__warn_unused_result__
3808                         __attribute__nonnull__(pTHX_1);
3809 #define PERL_ARGS_ASSERT_SAVESVPV       \
3810         assert(sv)
3811
3812 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
3813 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
3814 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3815                         __attribute__nonnull__(pTHX_1);
3816 #define PERL_ARGS_ASSERT_SCALARVOID     \
3817         assert(o)
3818
3819 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3820                         __attribute__nonnull__(pTHX_1)
3821                         __attribute__nonnull__(pTHX_3);
3822 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3823         assert(start); assert(retlen)
3824
3825 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3826                         __attribute__nonnull__(pTHX_1)
3827                         __attribute__nonnull__(pTHX_3);
3828 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3829         assert(start); assert(retlen)
3830
3831 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3832                         __attribute__nonnull__(pTHX_1)
3833                         __attribute__nonnull__(pTHX_2);
3834 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3835         assert(s); assert(lvalp)
3836
3837 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3838                         __attribute__nonnull__(pTHX_1)
3839                         __attribute__nonnull__(pTHX_3);
3840 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3841         assert(start); assert(retlen)
3842
3843 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
3844                         __attribute__nonnull__(pTHX_1)
3845                         __attribute__nonnull__(pTHX_2);
3846 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
3847         assert(s); assert(rv)
3848
3849 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
3850                         __attribute__nonnull__(pTHX_1)
3851                         __attribute__nonnull__(pTHX_2)
3852                         __attribute__nonnull__(pTHX_3);
3853 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
3854         assert(s); assert(e); assert(sv)
3855
3856 PERL_CALLCONV U32       Perl_seed(pTHX);
3857 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
3858 PERL_CALLCONV void      Perl_set_context(void *t)
3859                         __attribute__nonnull__(1);
3860 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
3861         assert(t)
3862
3863 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
3864 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
3865 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
3866 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv)
3867                         __attribute__nonnull__(pTHX_1);
3868 #define PERL_ARGS_ASSERT_SETDEFOUT      \
3869         assert(gv)
3870
3871 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3872                         __attribute__nonnull__(pTHX_1);
3873 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3874         assert(str)
3875
3876 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
3877                         __attribute__nonnull__(pTHX_3);
3878 #define PERL_ARGS_ASSERT_SORTSV \
3879         assert(cmp)
3880
3881 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
3882                         __attribute__nonnull__(pTHX_3);
3883 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
3884         assert(cmp)
3885
3886 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n)
3887                         __attribute__nonnull__(pTHX_1)
3888                         __attribute__nonnull__(pTHX_2);
3889 #define PERL_ARGS_ASSERT_STACK_GROW     \
3890         assert(sp); assert(p)
3891
3892 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3893                         __attribute__nonnull__(pTHX_1)
3894                         __attribute__nonnull__(pTHX_2);
3895 #define PERL_ARGS_ASSERT_START_GLOB     \
3896         assert(tmpglob); assert(io)
3897
3898 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3899 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3900                         __attribute__warn_unused_result__
3901                         __attribute__nonnull__(pTHX_1);
3902 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3903         assert(sv)
3904
3905 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
3906                         __attribute__nonnull__(pTHX_1);
3907 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3908         assert(cv)
3909
3910 /* PERL_CALLCONV bool   sv_2bool(pTHX_ SV *const sv)
3911                         __attribute__nonnull__(pTHX_1); */
3912
3913 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags)
3914                         __attribute__nonnull__(pTHX_1);
3915 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3916         assert(sv)
3917
3918 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3919                         __attribute__nonnull__(pTHX_2)
3920                         __attribute__nonnull__(pTHX_3);
3921 #define PERL_ARGS_ASSERT_SV_2CV \
3922         assert(st); assert(gvp)
3923
3924 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
3925                         __attribute__nonnull__(pTHX_1);
3926 #define PERL_ARGS_ASSERT_SV_2IO \
3927         assert(sv)
3928
3929 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv)
3930                         __attribute__nonnull__(pTHX_1); */
3931 #define PERL_ARGS_ASSERT_SV_2IV \
3932         assert(sv)
3933
3934 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags)
3935                         __attribute__nonnull__(pTHX_1);
3936 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
3937         assert(sv)
3938
3939 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3940 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3941                         __attribute__nonnull__(pTHX_1);
3942 #define PERL_ARGS_ASSERT_SV_2NUM        \
3943         assert(sv)
3944
3945 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags)
3946                         __attribute__nonnull__(pTHX_1);
3947 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
3948         assert(sv)
3949
3950 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp)
3951                         __attribute__nonnull__(pTHX_1); */
3952 #define PERL_ARGS_ASSERT_SV_2PV \
3953         assert(sv)
3954
3955 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
3956                         __attribute__nonnull__(pTHX_1);
3957 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
3958         assert(sv)
3959
3960 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
3961                         __attribute__warn_unused_result__
3962                         __attribute__nonnull__(pTHX_1); */
3963 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3964         assert(sv)
3965
3966 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp)
3967                         __attribute__nonnull__(pTHX_1);
3968 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3969         assert(sv)
3970
3971 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3972                         __attribute__warn_unused_result__
3973                         __attribute__nonnull__(pTHX_1); */
3974 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3975         assert(sv)
3976
3977 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp)
3978                         __attribute__nonnull__(pTHX_1);
3979 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3980         assert(sv)
3981
3982 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3983                         __attribute__warn_unused_result__
3984                         __attribute__nonnull__(pTHX_1); */
3985 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3986         assert(sv)
3987
3988 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv)
3989                         __attribute__nonnull__(pTHX_1); */
3990 #define PERL_ARGS_ASSERT_SV_2UV \
3991         assert(sv)
3992
3993 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags)
3994                         __attribute__nonnull__(pTHX_1);
3995 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
3996         assert(sv)
3997
3998 PERL_CALLCONV int       Perl_sv_backoff(SV *const sv)
3999                         __attribute__nonnull__(1);
4000 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
4001         assert(sv)
4002
4003 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
4004                         __attribute__nonnull__(pTHX_1)
4005                         __attribute__nonnull__(pTHX_2);
4006 #define PERL_ARGS_ASSERT_SV_BLESS       \
4007         assert(sv); assert(stash)
4008
4009 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
4010                         __attribute__nonnull__(pTHX_1)
4011                         __attribute__nonnull__(pTHX_2)
4012                         __attribute__nonnull__(pTHX_3)
4013                         __attribute__nonnull__(pTHX_4)
4014                         __attribute__nonnull__(pTHX_5);
4015 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
4016         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
4017
4018 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
4019                         __attribute__nonnull__(pTHX_1);
4020 #define PERL_ARGS_ASSERT_SV_CATPV       \
4021         assert(sv)
4022
4023 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags)
4024                         __attribute__nonnull__(pTHX_1)
4025                         __attribute__nonnull__(pTHX_2);
4026 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
4027         assert(dstr); assert(sstr)
4028
4029 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
4030                         __attribute__nonnull__(pTHX_1);
4031 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
4032         assert(sv)
4033
4034 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
4035                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4036                         __attribute__nonnull__(pTHX_1)
4037                         __attribute__nonnull__(pTHX_2);
4038 #define PERL_ARGS_ASSERT_SV_CATPVF      \
4039         assert(sv); assert(pat)
4040
4041 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4042                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4043                         __attribute__nonnull__(pTHX_1)
4044                         __attribute__nonnull__(pTHX_2);
4045 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
4046         assert(sv); assert(pat)
4047
4048 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
4049                         __attribute__nonnull__(pTHX_1)
4050                         __attribute__nonnull__(pTHX_2); */
4051 #define PERL_ARGS_ASSERT_SV_CATPVN      \
4052         assert(dsv); assert(sstr)
4053
4054 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags)
4055                         __attribute__nonnull__(pTHX_1)
4056                         __attribute__nonnull__(pTHX_2);
4057 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
4058         assert(dstr); assert(sstr)
4059
4060 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
4061                         __attribute__nonnull__(pTHX_1)
4062                         __attribute__nonnull__(pTHX_2); */
4063 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
4064         assert(sv); assert(ptr)
4065
4066 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
4067                         __attribute__nonnull__(pTHX_1); */
4068 #define PERL_ARGS_ASSERT_SV_CATSV       \
4069         assert(dstr)
4070
4071 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
4072                         __attribute__nonnull__(pTHX_1);
4073 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
4074         assert(dsv)
4075
4076 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
4077                         __attribute__nonnull__(pTHX_1); */
4078 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
4079         assert(dsv)
4080
4081 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
4082                         __attribute__nonnull__(pTHX_1);
4083 #define PERL_ARGS_ASSERT_SV_CHOP        \
4084         assert(sv)
4085
4086 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
4087 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
4088 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv)
4089                         __attribute__nonnull__(pTHX_1);
4090 #define PERL_ARGS_ASSERT_SV_CLEAR       \
4091         assert(orig_sv)
4092
4093 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
4094 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
4095 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
4096 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
4097 /* PERL_CALLCONV void   Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
4098                         __attribute__nonnull__(pTHX_1)
4099                         __attribute__nonnull__(pTHX_2); */
4100 #define PERL_ARGS_ASSERT_SV_COPYPV      \
4101         assert(dsv); assert(ssv)
4102
4103 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
4104                         __attribute__nonnull__(pTHX_1)
4105                         __attribute__nonnull__(pTHX_2);
4106 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
4107         assert(dsv); assert(ssv)
4108
4109 /* PERL_CALLCONV void   Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv)
4110                         __attribute__nonnull__(pTHX_1)
4111                         __attribute__nonnull__(pTHX_2); */
4112
4113 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
4114 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
4115 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv)
4116                         __attribute__nonnull__(pTHX_1)
4117                         __attribute__nonnull__(pTHX_2);
4118 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
4119         assert(tsv); assert(sv)
4120
4121 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
4122                         __attribute__warn_unused_result__
4123                         __attribute__nonnull__(pTHX_1)
4124                         __attribute__nonnull__(pTHX_2);
4125 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
4126         assert(sv); assert(name)
4127
4128 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
4129                         __attribute__warn_unused_result__
4130                         __attribute__nonnull__(pTHX_1)
4131                         __attribute__nonnull__(pTHX_2);
4132 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
4133         assert(sv); assert(name)
4134
4135 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
4136                         __attribute__warn_unused_result__
4137                         __attribute__nonnull__(pTHX_1)
4138                         __attribute__nonnull__(pTHX_2);
4139 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
4140         assert(sv); assert(name)
4141
4142 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
4143                         __attribute__warn_unused_result__
4144                         __attribute__nonnull__(pTHX_1)
4145                         __attribute__nonnull__(pTHX_2);
4146 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
4147         assert(sv); assert(namesv)
4148
4149 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
4150 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
4151                         __attribute__warn_unused_result__
4152                         __attribute__nonnull__(pTHX_1)
4153                         __attribute__nonnull__(pTHX_2);
4154 #define PERL_ARGS_ASSERT_SV_DOES        \
4155         assert(sv); assert(name)
4156
4157 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
4158                         __attribute__warn_unused_result__
4159                         __attribute__nonnull__(pTHX_1)
4160                         __attribute__nonnull__(pTHX_2);
4161 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
4162         assert(sv); assert(name)
4163
4164 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
4165                         __attribute__warn_unused_result__
4166                         __attribute__nonnull__(pTHX_1)
4167                         __attribute__nonnull__(pTHX_2);
4168 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
4169         assert(sv); assert(name)
4170
4171 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
4172                         __attribute__warn_unused_result__
4173                         __attribute__nonnull__(pTHX_1)
4174                         __attribute__nonnull__(pTHX_2);
4175 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
4176         assert(sv); assert(namesv)
4177
4178 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv)
4179                         __attribute__nonnull__(pTHX_1);
4180 #define PERL_ARGS_ASSERT_SV_DUMP        \
4181         assert(sv)
4182
4183 /* PERL_CALLCONV I32    sv_eq(pTHX_ SV* sv1, SV* sv2); */
4184 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4185 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv)
4186                         __attribute__nonnull__(pTHX_1); */
4187 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
4188         assert(sv)
4189
4190 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
4191                         __attribute__nonnull__(pTHX_1);
4192 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
4193         assert(sv)
4194
4195 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
4196 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt)
4197                         __attribute__nonnull__(pTHX_1);
4198 #define PERL_ARGS_ASSERT_SV_FREE2       \
4199         assert(sv)
4200
4201 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
4202 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
4203                         __attribute__nonnull__(pTHX_1)
4204                         __attribute__nonnull__(pTHX_2);
4205 #define PERL_ARGS_ASSERT_SV_GETS        \
4206         assert(sv); assert(fp)
4207
4208 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
4209                         __attribute__nonnull__(pTHX_1);
4210 #define PERL_ARGS_ASSERT_SV_GROW        \
4211         assert(sv)
4212
4213 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
4214 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
4215 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
4216                         __attribute__nonnull__(pTHX_1)
4217                         __attribute__nonnull__(pTHX_4); */
4218 #define PERL_ARGS_ASSERT_SV_INSERT      \
4219         assert(bigstr); assert(little)
4220
4221 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags)
4222                         __attribute__nonnull__(pTHX_1)
4223                         __attribute__nonnull__(pTHX_4);
4224 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
4225         assert(bigstr); assert(little)
4226
4227 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name)
4228                         __attribute__nonnull__(pTHX_2);
4229 #define PERL_ARGS_ASSERT_SV_ISA \
4230         assert(name)
4231
4232 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
4233 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
4234                         __attribute__nonnull__(pTHX_1);
4235 #define PERL_ARGS_ASSERT_SV_IV  \
4236         assert(sv)
4237
4238 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
4239 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
4240 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv)
4241                         __attribute__nonnull__(pTHX_1);
4242 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
4243         assert(sv)
4244
4245 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
4246                         __attribute__nonnull__(pTHX_1);
4247 #define PERL_ARGS_ASSERT_SV_MAGIC       \
4248         assert(sv)
4249
4250 PERL_CALLCONV MAGIC *   Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen)
4251                         __attribute__nonnull__(pTHX_1);
4252 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
4253         assert(sv)
4254
4255 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv)
4256                         __attribute__nonnull__(pTHX_1);
4257 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
4258         assert(sv)
4259
4260 /* PERL_CALLCONV SV*    Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
4261                         __attribute__malloc__
4262                         __attribute__warn_unused_result__; */
4263
4264 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
4265                         __attribute__malloc__
4266                         __attribute__warn_unused_result__;
4267
4268 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
4269                         __attribute__warn_unused_result__;
4270
4271 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
4272 /* PERL_CALLCONV void   Perl_sv_nolocking(pTHX_ SV *sv); */
4273 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
4274 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
4275                         __attribute__nonnull__(pTHX_1);
4276 #define PERL_ARGS_ASSERT_SV_NV  \
4277         assert(sv)
4278
4279 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
4280 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
4281                         __attribute__nonnull__(pTHX_2);
4282 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
4283         assert(offsetp)
4284
4285 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags)
4286                         __attribute__nonnull__(pTHX_1);
4287 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
4288         assert(sv)
4289
4290 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
4291                         __attribute__nonnull__(pTHX_2);
4292 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
4293         assert(offsetp)
4294
4295 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags)
4296                         __attribute__nonnull__(pTHX_1);
4297 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
4298         assert(sv)
4299
4300 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
4301                         __attribute__warn_unused_result__
4302                         __attribute__nonnull__(pTHX_1); */
4303 #define PERL_ARGS_ASSERT_SV_PV  \
4304         assert(sv)
4305
4306 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
4307                         __attribute__warn_unused_result__
4308                         __attribute__nonnull__(pTHX_1); */
4309 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
4310         assert(sv)
4311
4312 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
4313                         __attribute__nonnull__(pTHX_1)
4314                         __attribute__nonnull__(pTHX_2);
4315 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
4316         assert(sv); assert(lp)
4317
4318 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
4319                         __attribute__nonnull__(pTHX_1);
4320 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
4321         assert(sv)
4322
4323 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
4324                         __attribute__nonnull__(pTHX_1)
4325                         __attribute__nonnull__(pTHX_2);
4326 #define PERL_ARGS_ASSERT_SV_PVN \
4327         assert(sv); assert(lp)
4328
4329 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
4330                         __attribute__nonnull__(pTHX_1); */
4331 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
4332         assert(sv)
4333
4334 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
4335                         __attribute__nonnull__(pTHX_1);
4336 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
4337         assert(sv)
4338
4339 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
4340                         __attribute__nonnull__(pTHX_1);
4341 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
4342         assert(sv)
4343
4344 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
4345                         __attribute__warn_unused_result__
4346                         __attribute__nonnull__(pTHX_1); */
4347 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
4348         assert(sv)
4349
4350 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
4351                         __attribute__nonnull__(pTHX_1)
4352                         __attribute__nonnull__(pTHX_2);
4353 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
4354         assert(sv); assert(lp)
4355
4356 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
4357                         __attribute__nonnull__(pTHX_1);
4358 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
4359         assert(sv)
4360
4361 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
4362                         __attribute__nonnull__(pTHX_1)
4363                         __attribute__nonnull__(pTHX_2);
4364 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
4365         assert(sv); assert(encoding)
4366
4367 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob)
4368                         __attribute__nonnull__(pTHX_2);
4369 #define PERL_ARGS_ASSERT_SV_REF \
4370         assert(sv)
4371
4372 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
4373                         __attribute__warn_unused_result__
4374                         __attribute__nonnull__(pTHX_1);
4375 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
4376         assert(sv)
4377
4378 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
4379                         __attribute__nonnull__(pTHX_1)
4380                         __attribute__nonnull__(pTHX_2);
4381 #define PERL_ARGS_ASSERT_SV_REPLACE     \
4382         assert(sv); assert(nsv)
4383
4384 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
4385 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash)
4386                         __attribute__nonnull__(pTHX_1);
4387 #define PERL_ARGS_ASSERT_SV_RESET       \
4388         assert(s)
4389
4390 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash);
4391 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv)
4392                         __attribute__nonnull__(pTHX_1);
4393 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4394         assert(sv)
4395
4396 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek)
4397                         __attribute__nonnull__(pTHX_1);
4398 #define PERL_ARGS_ASSERT_SV_SETHEK      \
4399         assert(sv)
4400
4401 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
4402                         __attribute__nonnull__(pTHX_1);
4403 #define PERL_ARGS_ASSERT_SV_SETIV       \
4404         assert(sv)
4405
4406 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
4407                         __attribute__nonnull__(pTHX_1);
4408 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
4409         assert(sv)
4410
4411 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
4412                         __attribute__nonnull__(pTHX_1);
4413 #define PERL_ARGS_ASSERT_SV_SETNV       \
4414         assert(sv)
4415
4416 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
4417                         __attribute__nonnull__(pTHX_1);
4418 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
4419         assert(sv)
4420
4421 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
4422                         __attribute__nonnull__(pTHX_1);
4423 #define PERL_ARGS_ASSERT_SV_SETPV       \
4424         assert(sv)
4425
4426 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
4427                         __attribute__nonnull__(pTHX_1);
4428 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
4429         assert(sv)
4430
4431 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
4432                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4433                         __attribute__nonnull__(pTHX_1)
4434                         __attribute__nonnull__(pTHX_2);
4435 #define PERL_ARGS_ASSERT_SV_SETPVF      \
4436         assert(sv); assert(pat)
4437
4438 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4439                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4440                         __attribute__nonnull__(pTHX_1)
4441                         __attribute__nonnull__(pTHX_2);
4442 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
4443         assert(sv); assert(pat)
4444
4445 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
4446                         __attribute__nonnull__(pTHX_1);
4447 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
4448         assert(sv)
4449
4450 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
4451                         __attribute__nonnull__(pTHX_1);
4452 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
4453         assert(sv)
4454
4455 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
4456                         __attribute__nonnull__(pTHX_1);
4457 #define PERL_ARGS_ASSERT_SV_SETPVN      \
4458         assert(sv)
4459
4460 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
4461                         __attribute__nonnull__(pTHX_1)
4462                         __attribute__nonnull__(pTHX_2);
4463 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
4464         assert(sv); assert(ptr)
4465
4466 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
4467                         __attribute__nonnull__(pTHX_1);
4468 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
4469         assert(rv)
4470
4471 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
4472                         __attribute__nonnull__(pTHX_1);
4473 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
4474         assert(rv)
4475
4476 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
4477                         __attribute__nonnull__(pTHX_1);
4478 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
4479         assert(rv)
4480
4481 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
4482                         __attribute__nonnull__(pTHX_1)
4483                         __attribute__nonnull__(pTHX_3);
4484 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
4485         assert(rv); assert(pv)
4486
4487 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
4488                         __attribute__nonnull__(pTHX_1);
4489 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
4490         assert(rv)
4491
4492 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
4493                         __attribute__nonnull__(pTHX_1); */
4494 #define PERL_ARGS_ASSERT_SV_SETSV       \
4495         assert(dstr)
4496
4497 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags)
4498                         __attribute__nonnull__(pTHX_1);
4499 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4500         assert(dstr)
4501
4502 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
4503                         __attribute__nonnull__(pTHX_1);
4504 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
4505         assert(dstr)
4506
4507 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
4508                         __attribute__nonnull__(pTHX_1);
4509 #define PERL_ARGS_ASSERT_SV_SETUV       \
4510         assert(sv)
4511
4512 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
4513                         __attribute__nonnull__(pTHX_1);
4514 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
4515         assert(sv)
4516
4517 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv)
4518                         __attribute__nonnull__(pTHX_1); */
4519 #define PERL_ARGS_ASSERT_SV_TAINT       \
4520         assert(sv)
4521
4522 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
4523                         __attribute__warn_unused_result__
4524                         __attribute__nonnull__(pTHX_1);
4525 #define PERL_ARGS_ASSERT_SV_TAINTED     \
4526         assert(sv)
4527
4528 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
4529 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4530                         __attribute__warn_unused_result__
4531                         __attribute__nonnull__(pTHX_1)
4532                         __attribute__nonnull__(pTHX_2);
4533 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4534         assert(dsv); assert(ssv)
4535
4536 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
4537                         __attribute__nonnull__(pTHX_1);
4538 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
4539         assert(sv)
4540
4541 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl)
4542                         __attribute__nonnull__(pTHX_1);
4543 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
4544         assert(sv)
4545
4546 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv)
4547                         __attribute__nonnull__(pTHX_1); */
4548 #define PERL_ARGS_ASSERT_SV_UNREF       \
4549         assert(sv)
4550
4551 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
4552                         __attribute__nonnull__(pTHX_1);
4553 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4554         assert(ref)
4555
4556 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv)
4557                         __attribute__nonnull__(pTHX_1);
4558 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
4559         assert(sv)
4560
4561 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
4562                         __attribute__nonnull__(pTHX_1);
4563 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
4564         assert(sv)
4565
4566 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
4567                         __attribute__nonnull__(pTHX_1); */
4568 #define PERL_ARGS_ASSERT_SV_USEPVN      \
4569         assert(sv)
4570
4571 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
4572                         __attribute__nonnull__(pTHX_1);
4573 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
4574         assert(sv)
4575
4576 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
4577                         __attribute__nonnull__(pTHX_1); */
4578 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
4579         assert(sv)
4580
4581 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv)
4582                         __attribute__nonnull__(pTHX_1);
4583 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4584         assert(sv)
4585
4586 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
4587                         __attribute__nonnull__(pTHX_1);
4588 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
4589         assert(sv)
4590
4591 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv)
4592                         __attribute__nonnull__(pTHX_1);
4593 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4594         assert(sv)
4595
4596 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
4597                         __attribute__nonnull__(pTHX_1); */
4598 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
4599         assert(sv)
4600
4601 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags)
4602                         __attribute__nonnull__(pTHX_1); */
4603
4604 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra)
4605                         __attribute__nonnull__(pTHX_1);
4606 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
4607         assert(sv)
4608
4609 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv)
4610                         __attribute__nonnull__(pTHX_1); */
4611
4612 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
4613                         __attribute__nonnull__(pTHX_1);
4614 #define PERL_ARGS_ASSERT_SV_UV  \
4615         assert(sv)
4616
4617 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4618                         __attribute__nonnull__(pTHX_1)
4619                         __attribute__nonnull__(pTHX_2);
4620 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
4621         assert(sv); assert(pat)
4622
4623 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4624                         __attribute__nonnull__(pTHX_1)
4625                         __attribute__nonnull__(pTHX_2);
4626 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
4627         assert(sv); assert(pat)
4628
4629 PERL_CALLCONV void      Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
4630                         __attribute__nonnull__(pTHX_1)
4631                         __attribute__nonnull__(pTHX_2);
4632 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
4633         assert(sv); assert(pat)
4634
4635 PERL_CALLCONV void      Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted, const U32 flags)
4636                         __attribute__nonnull__(pTHX_1)
4637                         __attribute__nonnull__(pTHX_2);
4638 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
4639         assert(sv); assert(pat)
4640
4641 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4642                         __attribute__nonnull__(pTHX_1)
4643                         __attribute__nonnull__(pTHX_2);
4644 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
4645         assert(sv); assert(pat)
4646
4647 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4648                         __attribute__nonnull__(pTHX_1)
4649                         __attribute__nonnull__(pTHX_2);
4650 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
4651         assert(sv); assert(pat)
4652
4653 PERL_CALLCONV void      Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
4654                         __attribute__nonnull__(pTHX_1)
4655                         __attribute__nonnull__(pTHX_2);
4656 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
4657         assert(sv); assert(pat)
4658
4659 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
4660                         __attribute__nonnull__(pTHX_1)
4661                         __attribute__nonnull__(pTHX_2);
4662 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
4663         assert(swash); assert(ptr)
4664
4665 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
4666                         __attribute__warn_unused_result__
4667                         __attribute__nonnull__(pTHX_1)
4668                         __attribute__nonnull__(pTHX_2)
4669                         __attribute__nonnull__(pTHX_3);
4670 #define PERL_ARGS_ASSERT_SWASH_INIT     \
4671         assert(pkg); assert(name); assert(listsv)
4672
4673 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv)
4674                         __attribute__nonnull__(1)
4675                         __attribute__nonnull__(2);
4676 #define PERL_ARGS_ASSERT_SYS_INIT       \
4677         assert(argc); assert(argv)
4678
4679 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env)
4680                         __attribute__nonnull__(1)
4681                         __attribute__nonnull__(2)
4682                         __attribute__nonnull__(3);
4683 #define PERL_ARGS_ASSERT_SYS_INIT3      \
4684         assert(argc); assert(argv); assert(env)
4685
4686 PERL_CALLCONV void      Perl_sys_term(void);
4687 PERL_CALLCONV void      Perl_taint_env(pTHX);
4688 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s)
4689                         __attribute__nonnull__(pTHX_2);
4690 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
4691         assert(s)
4692
4693 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...)
4694                         __attribute__nonnull__(pTHX_1)
4695                         __attribute__nonnull__(pTHX_2)
4696                         __attribute__nonnull__(pTHX_3)
4697                         __attribute__nonnull__(pTHX_4);
4698 #define PERL_ARGS_ASSERT_TIED_METHOD    \
4699         assert(methname); assert(sp); assert(sv); assert(mg)
4700
4701 PERL_CALLCONV void      Perl_tmps_grow(pTHX_ SSize_t n);
4702 /* PERL_CALLCONV UV     Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
4703                         __attribute__nonnull__(pTHX_2)
4704                         __attribute__nonnull__(pTHX_3); */
4705
4706 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
4707                         __attribute__nonnull__(pTHX_2)
4708                         __attribute__nonnull__(pTHX_3);
4709 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
4710         assert(p); assert(lenp)
4711
4712 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
4713                         __attribute__deprecated__
4714                         __attribute__warn_unused_result__
4715                         __attribute__pure__;
4716
4717 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
4718                         __attribute__nonnull__(pTHX_2)
4719                         __attribute__nonnull__(pTHX_3);
4720 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
4721         assert(p); assert(lenp)
4722
4723 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
4724                         __attribute__deprecated__
4725                         __attribute__warn_unused_result__
4726                         __attribute__pure__;
4727
4728 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
4729                         __attribute__nonnull__(pTHX_2)
4730                         __attribute__nonnull__(pTHX_3);
4731 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
4732         assert(p); assert(lenp)
4733
4734 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
4735                         __attribute__deprecated__
4736                         __attribute__warn_unused_result__
4737                         __attribute__pure__;
4738
4739 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
4740                         __attribute__nonnull__(pTHX_1)
4741                         __attribute__nonnull__(pTHX_2)
4742                         __attribute__nonnull__(pTHX_4)
4743                         __attribute__nonnull__(pTHX_5);
4744 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
4745         assert(p); assert(ustrp); assert(swashp); assert(normal)
4746
4747 /* PERL_CALLCONV UV     Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
4748                         __attribute__nonnull__(pTHX_1)
4749                         __attribute__nonnull__(pTHX_2); */
4750 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
4751         assert(p); assert(ustrp)
4752
4753 /* PERL_CALLCONV UV     Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
4754                         __attribute__nonnull__(pTHX_1)
4755                         __attribute__nonnull__(pTHX_2); */
4756 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
4757         assert(p); assert(ustrp)
4758
4759 /* PERL_CALLCONV UV     Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
4760                         __attribute__nonnull__(pTHX_1)
4761                         __attribute__nonnull__(pTHX_2); */
4762 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
4763         assert(p); assert(ustrp)
4764
4765 /* PERL_CALLCONV UV     Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
4766                         __attribute__nonnull__(pTHX_1)
4767                         __attribute__nonnull__(pTHX_2); */
4768 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
4769         assert(p); assert(ustrp)
4770
4771 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
4772 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
4773 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)
4774                         __attribute__nonnull__(pTHX_1)
4775                         __attribute__nonnull__(pTHX_2)
4776                         __attribute__nonnull__(pTHX_3)
4777                         __attribute__nonnull__(pTHX_5);
4778 #define PERL_ARGS_ASSERT_UNPACK_STR     \
4779         assert(pat); assert(patend); assert(s); assert(strend)
4780
4781 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
4782                         __attribute__nonnull__(pTHX_1)
4783                         __attribute__nonnull__(pTHX_2)
4784                         __attribute__nonnull__(pTHX_3)
4785                         __attribute__nonnull__(pTHX_4);
4786 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
4787         assert(pat); assert(patend); assert(s); assert(strend)
4788
4789 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
4790 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
4791 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv)
4792                         __attribute__nonnull__(pTHX_1);
4793 #define PERL_ARGS_ASSERT_UPG_VERSION    \
4794         assert(ver)
4795
4796 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
4797                         __attribute__nonnull__(pTHX_1)
4798                         __attribute__nonnull__(pTHX_2)
4799                         __attribute__nonnull__(pTHX_4);
4800 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
4801         assert(p); assert(d); assert(newlen)
4802
4803 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
4804                         __attribute__nonnull__(pTHX_1)
4805                         __attribute__nonnull__(pTHX_2)
4806                         __attribute__nonnull__(pTHX_4);
4807 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
4808         assert(p); assert(d); assert(newlen)
4809
4810 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
4811                         __attribute__warn_unused_result__
4812                         __attribute__pure__
4813                         __attribute__nonnull__(pTHX_1)
4814                         __attribute__nonnull__(pTHX_2);
4815 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
4816         assert(a); assert(b)
4817
4818 PERL_CALLCONV U8*       Perl_utf8_hop(const U8 *s, I32 off)
4819                         __attribute__warn_unused_result__
4820                         __attribute__pure__
4821                         __attribute__nonnull__(1);
4822 #define PERL_ARGS_ASSERT_UTF8_HOP       \
4823         assert(s)
4824
4825 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
4826                         __attribute__warn_unused_result__
4827                         __attribute__pure__
4828                         __attribute__nonnull__(pTHX_1)
4829                         __attribute__nonnull__(pTHX_2);
4830 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
4831         assert(s); assert(e)
4832
4833 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
4834                         __attribute__nonnull__(pTHX_1)
4835                         __attribute__nonnull__(pTHX_2);
4836 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
4837         assert(s); assert(len)
4838
4839 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4840                         __attribute__deprecated__
4841                         __attribute__nonnull__(pTHX_1);
4842 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
4843         assert(s)
4844
4845 /* PERL_CALLCONV UV     utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
4846                         __attribute__nonnull__(pTHX_1)
4847                         __attribute__nonnull__(pTHX_2); */
4848
4849 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4850                         __attribute__deprecated__
4851                         __attribute__nonnull__(pTHX_1);
4852 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
4853         assert(s)
4854
4855 PERL_CALLCONV UV        Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
4856                         __attribute__deprecated__
4857                         __attribute__nonnull__(pTHX_1)
4858                         __attribute__nonnull__(pTHX_2);
4859 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF      \
4860         assert(s); assert(send)
4861
4862 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4863                         __attribute__nonnull__(pTHX_1);
4864 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
4865         assert(s)
4866
4867 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4868                         __attribute__nonnull__(pTHX_1);
4869 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4870         assert(s)
4871
4872 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
4873                         __attribute__nonnull__(pTHX_4);
4874 #define PERL_ARGS_ASSERT_UTILIZE        \
4875         assert(idop)
4876
4877 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv)
4878                         __attribute__nonnull__(pTHX_1); */
4879
4880 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
4881                         __attribute__nonnull__(pTHX_1); */
4882
4883 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
4884                         __attribute__nonnull__(pTHX_1);
4885 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4886         assert(d)
4887
4888 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
4889                         __attribute__nonnull__(pTHX_1);
4890 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
4891         assert(d)
4892
4893 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
4894                         __attribute__nonnull__(pTHX_1);
4895 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
4896         assert(d)
4897
4898 PERL_CALLCONV UV        Perl_valid_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4899                         __attribute__nonnull__(pTHX_1);
4900 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
4901         assert(s)
4902
4903 PERL_CALLCONV UV        Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4904                         __attribute__deprecated__
4905                         __attribute__nonnull__(pTHX_1);
4906 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI    \
4907         assert(s)
4908
4909 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn)
4910                         __attribute__nonnull__(pTHX_1);
4911 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4912         assert(name)
4913
4914 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
4915                         __attribute__nonnull__(pTHX_1)
4916                         __attribute__nonnull__(pTHX_2);
4917 #define PERL_ARGS_ASSERT_VCMP   \
4918         assert(lhv); assert(rhv)
4919
4920 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
4921                         __attribute__noreturn__;
4922
4923 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args)
4924                         __attribute__nonnull__(pTHX_1);
4925 #define PERL_ARGS_ASSERT_VDEB   \
4926         assert(pat)
4927
4928 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args)
4929                         __attribute__nonnull__(pTHX_1);
4930 #define PERL_ARGS_ASSERT_VFORM  \
4931         assert(pat)
4932
4933 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv)
4934                         __attribute__nonnull__(pTHX_1);
4935 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4936         assert(sv)
4937
4938 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4939                         __attribute__warn_unused_result__
4940                         __attribute__nonnull__(pTHX_1);
4941 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
4942         assert(sv)
4943
4944 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
4945                         __attribute__nonnull__(pTHX_2);
4946 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
4947         assert(name)
4948
4949 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args)
4950                         __attribute__nonnull__(pTHX_1);
4951 #define PERL_ARGS_ASSERT_VMESS  \
4952         assert(pat)
4953
4954 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4955                         __attribute__malloc__
4956                         __attribute__warn_unused_result__
4957                         __attribute__nonnull__(pTHX_1);
4958 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
4959         assert(pat)
4960
4961 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs)
4962                         __attribute__nonnull__(pTHX_1);
4963 #define PERL_ARGS_ASSERT_VNORMAL        \
4964         assert(vs)
4965
4966 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs)
4967                         __attribute__nonnull__(pTHX_1);
4968 #define PERL_ARGS_ASSERT_VNUMIFY        \
4969         assert(vs)
4970
4971 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs)
4972                         __attribute__nonnull__(pTHX_1);
4973 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
4974         assert(vs)
4975
4976 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs)
4977                         __attribute__nonnull__(pTHX_1);
4978 #define PERL_ARGS_ASSERT_VVERIFY        \
4979         assert(vs)
4980
4981 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args)
4982                         __attribute__nonnull__(pTHX_1);
4983 #define PERL_ARGS_ASSERT_VWARN  \
4984         assert(pat)
4985
4986 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
4987                         __attribute__nonnull__(pTHX_2);
4988 #define PERL_ARGS_ASSERT_VWARNER        \
4989         assert(pat)
4990
4991 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
4992                         __attribute__nonnull__(pTHX_2);
4993 #define PERL_ARGS_ASSERT_WAIT4PID       \
4994         assert(statusp)
4995
4996 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
4997                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
4998                         __attribute__nonnull__(pTHX_1);
4999 #define PERL_ARGS_ASSERT_WARN   \
5000         assert(pat)
5001
5002 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex)
5003                         __attribute__nonnull__(pTHX_1);
5004 #define PERL_ARGS_ASSERT_WARN_SV        \
5005         assert(baseex)
5006
5007 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
5008                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
5009                         __attribute__nonnull__(pTHX_2);
5010 #define PERL_ARGS_ASSERT_WARNER \
5011         assert(pat)
5012
5013 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
5014                         __attribute__warn_unused_result__;
5015
5016 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
5017                         __attribute__nonnull__(pTHX_1);
5018 #define PERL_ARGS_ASSERT_WATCH  \
5019         assert(addr)
5020
5021 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig)
5022                         __attribute__nonnull__(pTHX_1); */
5023
5024 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig)
5025                         __attribute__nonnull__(pTHX_1);
5026 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
5027         assert(sig)
5028
5029 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len)
5030                         __attribute__nonnull__(pTHX_1);
5031 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
5032         assert(sig)
5033
5034 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv)
5035                         __attribute__nonnull__(pTHX_1);
5036 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
5037         assert(sigsv)
5038
5039 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p)
5040                         __attribute__nonnull__(pTHX_2)
5041                         __attribute__nonnull__(pTHX_3);
5042 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
5043         assert(new_checker); assert(old_checker_p)
5044
5045 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv)
5046                         __attribute__nonnull__(pTHX_1);
5047 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
5048         assert(msv)
5049
5050 PERL_CALLCONV void      Perl_xs_apiversion_bootcheck(pTHX_ SV *module, const char *api_p, STRLEN api_len)
5051                         __attribute__nonnull__(pTHX_1)
5052                         __attribute__nonnull__(pTHX_2);
5053 #define PERL_ARGS_ASSERT_XS_APIVERSION_BOOTCHECK        \
5054         assert(module); assert(api_p)
5055
5056 PERL_CALLCONV void      Perl_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len)
5057                         __attribute__nonnull__(pTHX_3);
5058 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK   \
5059         assert(xs_p)
5060
5061 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
5062                         __attribute__nonnull__(pTHX_1);
5063 #define PERL_ARGS_ASSERT_YYERROR        \
5064         assert(s)
5065
5066 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
5067                         __attribute__nonnull__(pTHX_1);
5068 #define PERL_ARGS_ASSERT_YYERROR_PV     \
5069         assert(s)
5070
5071 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
5072                         __attribute__nonnull__(pTHX_1);
5073 #define PERL_ARGS_ASSERT_YYERROR_PVN    \
5074         assert(s)
5075
5076 PERL_CALLCONV int       Perl_yylex(pTHX);
5077 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
5078 PERL_CALLCONV void      Perl_yyunlex(pTHX);
5079 #if !(defined(DEBUGGING))
5080 #  if !defined(NV_PRESERVES_UV)
5081 #    if defined(PERL_IN_SV_C)
5082 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv)
5083                         __attribute__nonnull__(pTHX_1);
5084 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
5085         assert(sv)
5086
5087 #    endif
5088 #  endif
5089 #endif
5090 #if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO))
5091 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
5092 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
5093 #endif
5094 #if !(defined(NO_MATHOMS))
5095 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
5096 #endif
5097 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
5098 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
5099                         __attribute__nonnull__(pTHX_1);
5100 #define PERL_ARGS_ASSERT_DO_EXEC        \
5101         assert(cmd)
5102
5103 #endif
5104 #if !(defined(PERL_GLOBAL_STRUCT_PRIVATE))
5105 #  if defined(PERL_IMPLICIT_CONTEXT)
5106 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *index, size_t size)
5107                         __attribute__nonnull__(pTHX_1);
5108 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
5109         assert(index)
5110
5111 #  endif
5112 #endif
5113 #if !(defined(WIN32))
5114 /* PERL_CALLCONV char*  my_setlocale(pTHX_ int category, const char* locale)
5115                         __attribute__pure__; */
5116
5117 #endif
5118 #if !(defined(_MSC_VER))
5119 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
5120                         __attribute__noreturn__
5121                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
5122
5123 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
5124                         __attribute__noreturn__
5125                         __attribute__nonnull__(pTHX_1);
5126 #define PERL_ARGS_ASSERT_DIE_SV \
5127         assert(baseex)
5128
5129 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
5130                         __attribute__noreturn__
5131                         __attribute__nonnull__(pTHX_1)
5132                         __attribute__nonnull__(pTHX_2);
5133 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
5134         assert(sv); assert(mg)
5135
5136 PERL_CALLCONV_NO_RET char*      Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
5137                         __attribute__noreturn__
5138                         __attribute__nonnull__(pTHX_1)
5139                         __attribute__nonnull__(pTHX_2)
5140                         __attribute__nonnull__(pTHX_5);
5141 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
5142         assert(bigstr); assert(littlestr); assert(old_posp)
5143
5144 #  if defined(PERL_IMPLICIT_CONTEXT)
5145 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
5146                         __attribute__noreturn__
5147                         __attribute__format__null_ok__(__printf__,1,2);
5148
5149 #  endif
5150 #endif
5151 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
5152 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len)
5153                         __attribute__nonnull__(1);
5154 #define PERL_ARGS_ASSERT_MY_BZERO       \
5155         assert(loc)
5156
5157 #endif
5158 #if !defined(HAS_GETENV_LEN)
5159 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
5160                         __attribute__nonnull__(pTHX_1)
5161                         __attribute__nonnull__(pTHX_2);
5162 #define PERL_ARGS_ASSERT_GETENV_LEN     \
5163         assert(env_elem); assert(len)
5164
5165 #endif
5166 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
5167 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
5168                         __attribute__pure__
5169                         __attribute__nonnull__(1)
5170                         __attribute__nonnull__(2);
5171 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
5172         assert(s1); assert(s2)
5173
5174 #endif
5175 #if !defined(HAS_MEMSET)
5176 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len)
5177                         __attribute__nonnull__(1);
5178 #define PERL_ARGS_ASSERT_MY_MEMSET      \
5179         assert(loc)
5180
5181 #endif
5182 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
5183 #  if defined(PERL_IN_PP_SYS_C)
5184 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
5185                         __attribute__warn_unused_result__
5186                         __attribute__nonnull__(pTHX_1)
5187                         __attribute__nonnull__(pTHX_2);
5188 #define PERL_ARGS_ASSERT_DOONELINER     \
5189         assert(cmd); assert(filename)
5190
5191 #  endif
5192 #endif
5193 #if !defined(HAS_RENAME)
5194 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
5195                         __attribute__nonnull__(pTHX_1)
5196                         __attribute__nonnull__(pTHX_2);
5197 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
5198         assert(a); assert(b)
5199
5200 #endif
5201 #if !defined(HAS_SIGNBIT)
5202 PERL_CALLCONV int       Perl_signbit(NV f)
5203                         __attribute__pure__;
5204
5205 #endif
5206 #if !defined(HAS_STRLCAT)
5207 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
5208 #endif
5209 #if !defined(HAS_STRLCPY)
5210 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
5211 #endif
5212 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
5213 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
5214                         __attribute__warn_unused_result__;
5215
5216 #endif
5217 #if !defined(NV_PRESERVES_UV)
5218 #  if defined(DEBUGGING)
5219 #    if defined(PERL_IN_SV_C)
5220 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype)
5221                         __attribute__nonnull__(pTHX_1);
5222 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
5223         assert(sv)
5224
5225 #    endif
5226 #  endif
5227 #endif
5228 #if !defined(PERL_DISABLE_PMC)
5229 #  if defined(PERL_IN_PP_CTL_C)
5230 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
5231                         __attribute__warn_unused_result__
5232                         __attribute__nonnull__(pTHX_1);
5233 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
5234         assert(name)
5235
5236 #  endif
5237 #endif
5238 #if !defined(PERL_IMPLICIT_SYS)
5239 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
5240 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode)
5241                         __attribute__nonnull__(pTHX_1)
5242                         __attribute__nonnull__(pTHX_2);
5243 #define PERL_ARGS_ASSERT_MY_POPEN       \
5244         assert(cmd); assert(mode)
5245
5246 #endif
5247 #if !defined(PERL_IS_MINIPERL)
5248 #  if defined(PERL_IN_PERL_C)
5249 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem)
5250                         __attribute__nonnull__(pTHX_1)
5251                         __attribute__nonnull__(pTHX_2)
5252                         __attribute__nonnull__(pTHX_3);
5253 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
5254         assert(av); assert(dir); assert(stem)
5255
5256 #  endif
5257 #endif
5258 #if !defined(PERL_NO_UTF16_FILTER)
5259 #  if defined(PERL_IN_TOKE_C)
5260 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed)
5261                         __attribute__nonnull__(pTHX_1);
5262 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
5263         assert(s)
5264
5265 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen)
5266                         __attribute__nonnull__(pTHX_2);
5267 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
5268         assert(sv)
5269
5270 #  endif
5271 #endif
5272 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
5273 #  if defined(PERL_IN_PERL_C)
5274 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp)
5275                         __attribute__nonnull__(pTHX_1);
5276 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
5277         assert(rsfp)
5278
5279 #  endif
5280 #endif
5281 #if !defined(SPRINTF_RETURNS_STRLEN)
5282 PERL_CALLCONV int       Perl_my_sprintf(char *buffer, const char *pat, ...)
5283                         __attribute__nonnull__(1)
5284                         __attribute__nonnull__(2);
5285 #define PERL_ARGS_ASSERT_MY_SPRINTF     \
5286         assert(buffer); assert(pat)
5287
5288 #endif
5289 #if !defined(WIN32)
5290 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
5291                         __attribute__nonnull__(pTHX_1);
5292 #define PERL_ARGS_ASSERT_DO_EXEC3       \
5293         assert(incmd)
5294
5295 #endif
5296 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
5297 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len)
5298                         __attribute__nonnull__(1)
5299                         __attribute__nonnull__(2);
5300 #define PERL_ARGS_ASSERT_MY_BCOPY       \
5301         assert(from); assert(to)
5302
5303 #endif
5304 #if defined(DEBUGGING)
5305 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5306                         __attribute__warn_unused_result__
5307                         __attribute__nonnull__(pTHX_1);
5308 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5309         assert(s)
5310
5311 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv)
5312                         __attribute__nonnull__(pTHX_1);
5313 #define PERL_ARGS_ASSERT_HV_ASSERT      \
5314         assert(hv)
5315
5316 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv)
5317                         __attribute__nonnull__(pTHX_2);
5318 #define PERL_ARGS_ASSERT_PAD_SETSV      \
5319         assert(sv)
5320
5321 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
5322 #  if defined(PERL_IN_PAD_C)
5323 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title)
5324                         __attribute__nonnull__(pTHX_1)
5325                         __attribute__nonnull__(pTHX_2);
5326 #define PERL_ARGS_ASSERT_CV_DUMP        \
5327         assert(cv); assert(title)
5328
5329 #  endif
5330 #  if defined(PERL_IN_REGCOMP_C)
5331 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth)
5332                         __attribute__nonnull__(pTHX_1)
5333                         __attribute__nonnull__(pTHX_3);
5334 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
5335         assert(trie); assert(revcharmap)
5336
5337 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5338                         __attribute__nonnull__(pTHX_1)
5339                         __attribute__nonnull__(pTHX_3);
5340 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5341         assert(trie); assert(revcharmap)
5342
5343 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5344                         __attribute__nonnull__(pTHX_1)
5345                         __attribute__nonnull__(pTHX_3);
5346 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
5347         assert(trie); assert(revcharmap)
5348
5349 STATIC const regnode*   S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV* sv, I32 indent, U32 depth)
5350                         __attribute__nonnull__(pTHX_1)
5351                         __attribute__nonnull__(pTHX_2)
5352                         __attribute__nonnull__(pTHX_3)
5353                         __attribute__nonnull__(pTHX_6);
5354 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
5355         assert(r); assert(start); assert(node); assert(sv)
5356
5357 STATIC void     S_put_byte(pTHX_ SV* sv, int c)
5358                         __attribute__nonnull__(pTHX_1);
5359 #define PERL_ARGS_ASSERT_PUT_BYTE       \
5360         assert(sv)
5361
5362 STATIC bool     S_put_latin1_charclass_innards(pTHX_ SV* sv, char* bitmap)
5363                         __attribute__nonnull__(pTHX_1)
5364                         __attribute__nonnull__(pTHX_2);
5365 #define PERL_ARGS_ASSERT_PUT_LATIN1_CHARCLASS_INNARDS   \
5366         assert(sv); assert(bitmap)
5367
5368 STATIC void     S_put_range(pTHX_ SV* sv, UV start, UV end)
5369                         __attribute__nonnull__(pTHX_1);
5370 #define PERL_ARGS_ASSERT_PUT_RANGE      \
5371         assert(sv)
5372
5373 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5374 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
5375 STATIC U8       S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
5376                         __attribute__nonnull__(pTHX_1)
5377                         __attribute__nonnull__(pTHX_2)
5378                         __attribute__nonnull__(pTHX_3);
5379 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
5380         assert(pRExC_state); assert(p); assert(val)
5381
5382 #  endif
5383 #  if defined(PERL_IN_REGEXEC_C)
5384 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb)
5385                         __attribute__nonnull__(pTHX_1)
5386                         __attribute__nonnull__(pTHX_3)
5387                         __attribute__nonnull__(pTHX_4)
5388                         __attribute__nonnull__(pTHX_5);
5389 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
5390         assert(prog); assert(start); assert(end); assert(blurb)
5391
5392 STATIC void     S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8)
5393                         __attribute__nonnull__(pTHX_1)
5394                         __attribute__nonnull__(pTHX_2)
5395                         __attribute__nonnull__(pTHX_3)
5396                         __attribute__nonnull__(pTHX_4)
5397                         __attribute__nonnull__(pTHX_5);
5398 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
5399         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5400
5401 #  endif
5402 #  if defined(PERL_IN_SV_C)
5403 STATIC void     S_del_sv(pTHX_ SV *p)
5404                         __attribute__nonnull__(pTHX_1);
5405 #define PERL_ARGS_ASSERT_DEL_SV \
5406         assert(p)
5407
5408 #  endif
5409 #  if defined(PERL_IN_TOKE_C)
5410 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
5411                         __attribute__format__(__printf__,pTHX_1,0)
5412                         __attribute__nonnull__(pTHX_1)
5413                         __attribute__nonnull__(pTHX_2);
5414 #define PERL_ARGS_ASSERT_PRINTBUF       \
5415         assert(fmt); assert(s)
5416
5417 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp)
5418                         __attribute__nonnull__(pTHX_2);
5419 #define PERL_ARGS_ASSERT_TOKEREPORT     \
5420         assert(lvalp)
5421
5422 #  endif
5423 #endif
5424 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5425 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv)
5426                         __attribute__nonnull__(pTHX_1);
5427 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
5428         assert(sv)
5429
5430 #endif
5431 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5432 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
5433                         __attribute__nonnull__(pTHX_2)
5434                         __attribute__nonnull__(pTHX_3);
5435 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
5436         assert(mark); assert(sp)
5437
5438 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
5439                         __attribute__nonnull__(pTHX_2)
5440                         __attribute__nonnull__(pTHX_3);
5441 #define PERL_ARGS_ASSERT_DO_IPCGET      \
5442         assert(mark); assert(sp)
5443
5444 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
5445                         __attribute__nonnull__(pTHX_1)
5446                         __attribute__nonnull__(pTHX_2);
5447 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
5448         assert(mark); assert(sp)
5449
5450 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
5451                         __attribute__nonnull__(pTHX_1)
5452                         __attribute__nonnull__(pTHX_2);
5453 #define PERL_ARGS_ASSERT_DO_MSGSND      \
5454         assert(mark); assert(sp)
5455
5456 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
5457                         __attribute__nonnull__(pTHX_1)
5458                         __attribute__nonnull__(pTHX_2);
5459 #define PERL_ARGS_ASSERT_DO_SEMOP       \
5460         assert(mark); assert(sp)
5461
5462 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
5463                         __attribute__nonnull__(pTHX_2)
5464                         __attribute__nonnull__(pTHX_3);
5465 #define PERL_ARGS_ASSERT_DO_SHMIO       \
5466         assert(mark); assert(sp)
5467
5468 #endif
5469 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
5470 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
5471 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
5472 #endif
5473 #if defined(HAVE_INTERP_INTERN)
5474 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
5475 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
5476 #  if defined(USE_ITHREADS)
5477 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst)
5478                         __attribute__nonnull__(pTHX_1)
5479                         __attribute__nonnull__(pTHX_2);
5480 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5481         assert(src); assert(dst)
5482
5483 #  endif
5484 #endif
5485 #if defined(MYMALLOC)
5486 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s)
5487                         __attribute__nonnull__(pTHX_1);
5488 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
5489         assert(s)
5490
5491 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
5492                         __attribute__nonnull__(pTHX_1);
5493 #define PERL_ARGS_ASSERT_GET_MSTATS     \
5494         assert(buf)
5495
5496 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
5497                         __attribute__warn_unused_result__;
5498
5499 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
5500                         __attribute__warn_unused_result__
5501                         __attribute__nonnull__(1);
5502 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
5503         assert(p)
5504
5505 #endif
5506 #if defined(NO_MATHOMS)
5507 /* PERL_CALLCONV void   Perl_sv_nounlocking(pTHX_ SV *sv); */
5508 #endif
5509 #if defined(PERL_ANY_COW)
5510 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr)
5511                         __attribute__nonnull__(pTHX_2);
5512 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
5513         assert(sstr)
5514
5515 #endif
5516 #if defined(PERL_CORE)
5517 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab)
5518                         __attribute__nonnull__(pTHX_1);
5519 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
5520         assert(slab)
5521
5522 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab)
5523                         __attribute__nonnull__(pTHX_1);
5524 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
5525         assert(slab)
5526
5527 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
5528                         __attribute__nonnull__(pTHX_1);
5529 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
5530         assert(slab)
5531
5532 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
5533                         __attribute__nonnull__(pTHX_1)
5534                         __attribute__nonnull__(pTHX_2);
5535 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
5536         assert(parser); assert(slab)
5537
5538 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
5539                         __attribute__warn_unused_result__
5540                         __attribute__nonnull__(1);
5541 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
5542         assert(pv)
5543
5544 #  if defined(PERL_DEBUG_READONLY_OPS)
5545 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab)
5546                         __attribute__nonnull__(pTHX_1);
5547 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
5548         assert(slab)
5549
5550 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab)
5551                         __attribute__nonnull__(pTHX_1);
5552 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
5553         assert(slab)
5554
5555 #  endif
5556 #endif
5557 #if defined(PERL_CORE) || defined (PERL_EXT)
5558 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp)
5559                         __attribute__nonnull__(pTHX_1)
5560                         __attribute__nonnull__(pTHX_2);
5561 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
5562         assert(sv); assert(pv)
5563
5564 #endif
5565 #if defined(PERL_CR_FILTER)
5566 #  if defined(PERL_IN_TOKE_C)
5567 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5568 STATIC void     S_strip_return(pTHX_ SV *sv)
5569                         __attribute__nonnull__(pTHX_1);
5570 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
5571         assert(sv)
5572
5573 #  endif
5574 #endif
5575 #if defined(PERL_DEBUG_READONLY_COW)
5576 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv)
5577                         __attribute__nonnull__(pTHX_1);
5578 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
5579         assert(sv)
5580
5581 #  if defined(PERL_IN_SV_C)
5582 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv)
5583                         __attribute__nonnull__(pTHX_1);
5584 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
5585         assert(sv)
5586
5587 #  endif
5588 #endif
5589 #if defined(PERL_DEBUG_READONLY_OPS)
5590 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o)
5591                         __attribute__nonnull__(pTHX_1);
5592 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
5593         assert(o)
5594
5595 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
5596 #endif
5597 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
5598 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd)
5599                         __attribute__nonnull__(pTHX_1); */
5600
5601 #endif
5602 #if defined(PERL_DONT_CREATE_GVSV)
5603 /* PERL_CALLCONV GV*    Perl_gv_SVadd(pTHX_ GV *gv); */
5604 #endif
5605 #if defined(PERL_GLOBAL_STRUCT)
5606 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
5607 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
5608                         __attribute__nonnull__(pTHX_1);
5609 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
5610         assert(plvarsp)
5611
5612 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
5613 #endif
5614 #if defined(PERL_GLOBAL_STRUCT_PRIVATE)
5615 #  if defined(PERL_IMPLICIT_CONTEXT)
5616 PERL_CALLCONV int       Perl_my_cxt_index(pTHX_ const char *my_cxt_key)
5617                         __attribute__nonnull__(pTHX_1);
5618 #define PERL_ARGS_ASSERT_MY_CXT_INDEX   \
5619         assert(my_cxt_key)
5620
5621 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size)
5622                         __attribute__nonnull__(pTHX_1);
5623 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
5624         assert(my_cxt_key)
5625
5626 #  endif
5627 #endif
5628 #if defined(PERL_IMPLICIT_CONTEXT)
5629 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
5630                         __attribute__noreturn__
5631                         __attribute__format__null_ok__(__printf__,1,2);
5632
5633 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
5634                         __attribute__format__(__printf__,1,2)
5635                         __attribute__nonnull__(1);
5636 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
5637         assert(pat)
5638
5639 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
5640                         __attribute__format__(__printf__,1,2)
5641                         __attribute__nonnull__(1);
5642 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5643         assert(pat)
5644
5645 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
5646                         __attribute__format__(__printf__,2,3)
5647                         __attribute__nonnull__(1)
5648                         __attribute__nonnull__(2);
5649 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
5650         assert(stream); assert(format)
5651
5652 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
5653                         __attribute__nonnull__(2);
5654 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
5655         assert(name)
5656
5657 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
5658                         __attribute__format__(__printf__,1,2)
5659                         __attribute__nonnull__(1);
5660 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5661         assert(pat)
5662
5663 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
5664                         __attribute__format__(__printf__,1,2)
5665                         __attribute__nonnull__(1);
5666 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
5667         assert(pat)
5668
5669 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
5670                         __attribute__format__(__printf__,1,2)
5671                         __attribute__nonnull__(1);
5672 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
5673         assert(format)
5674
5675 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5676                         __attribute__format__(__printf__,2,3)
5677                         __attribute__nonnull__(1)
5678                         __attribute__nonnull__(2);
5679 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5680         assert(sv); assert(pat)
5681
5682 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
5683                         __attribute__format__(__printf__,2,3)
5684                         __attribute__nonnull__(1)
5685                         __attribute__nonnull__(2);
5686 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
5687         assert(sv); assert(pat)
5688
5689 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5690                         __attribute__format__(__printf__,2,3)
5691                         __attribute__nonnull__(1)
5692                         __attribute__nonnull__(2);
5693 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5694         assert(sv); assert(pat)
5695
5696 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
5697                         __attribute__format__(__printf__,2,3)
5698                         __attribute__nonnull__(1)
5699                         __attribute__nonnull__(2);
5700 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
5701         assert(sv); assert(pat)
5702
5703 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
5704                         __attribute__format__(__printf__,1,2)
5705                         __attribute__nonnull__(1);
5706 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5707         assert(pat)
5708
5709 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
5710                         __attribute__format__(__printf__,2,3)
5711                         __attribute__nonnull__(2);
5712 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
5713         assert(pat)
5714
5715 #  if defined(_MSC_VER)
5716 PERL_CALLCONV OP*       Perl_die_nocontext(const char* pat, ...)
5717                         __attribute__format__null_ok__(__printf__,1,2);
5718
5719 #  endif
5720 #endif
5721 #if defined(PERL_IMPLICIT_SYS)
5722 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)
5723                         __attribute__nonnull__(1)
5724                         __attribute__nonnull__(2)
5725                         __attribute__nonnull__(3)
5726                         __attribute__nonnull__(4)
5727                         __attribute__nonnull__(5)
5728                         __attribute__nonnull__(6)
5729                         __attribute__nonnull__(7)
5730                         __attribute__nonnull__(8)
5731                         __attribute__nonnull__(9);
5732 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
5733         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5734
5735 #  if defined(USE_ITHREADS)
5736 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)
5737                         __attribute__nonnull__(1)
5738                         __attribute__nonnull__(3)
5739                         __attribute__nonnull__(4)
5740                         __attribute__nonnull__(5)
5741                         __attribute__nonnull__(6)
5742                         __attribute__nonnull__(7)
5743                         __attribute__nonnull__(8)
5744                         __attribute__nonnull__(9)
5745                         __attribute__nonnull__(10)
5746                         __attribute__nonnull__(11);
5747 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
5748         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5749
5750 #  endif
5751 #endif
5752 #if defined(PERL_IN_AV_C)
5753 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av)
5754                         __attribute__nonnull__(pTHX_1);
5755 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
5756         assert(av)
5757
5758 #endif
5759 #if defined(PERL_IN_DEB_C)
5760 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max)
5761                         __attribute__nonnull__(pTHX_1);
5762 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
5763         assert(stack_base)
5764
5765 #endif
5766 #if defined(PERL_IN_DOIO_C)
5767 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
5768                         __attribute__nonnull__(pTHX_1);
5769 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
5770         assert(cmd)
5771
5772 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
5773                         __attribute__warn_unused_result__;
5774
5775 STATIC bool     S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type)
5776                         __attribute__nonnull__(pTHX_1)
5777                         __attribute__nonnull__(pTHX_2)
5778                         __attribute__nonnull__(pTHX_4)
5779                         __attribute__nonnull__(pTHX_5);
5780 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
5781         assert(gv); assert(io); assert(mode); assert(oname)
5782
5783 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype)
5784                         __attribute__nonnull__(pTHX_1)
5785                         __attribute__nonnull__(pTHX_2)
5786                         __attribute__nonnull__(pTHX_3)
5787                         __attribute__nonnull__(pTHX_4)
5788                         __attribute__nonnull__(pTHX_5)
5789                         __attribute__nonnull__(pTHX_6);
5790 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
5791         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
5792
5793 #endif
5794 #if defined(PERL_IN_DOOP_C)
5795 STATIC I32      S_do_trans_complex(pTHX_ SV * const sv)
5796                         __attribute__warn_unused_result__
5797                         __attribute__nonnull__(pTHX_1);
5798 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
5799         assert(sv)
5800
5801 STATIC I32      S_do_trans_complex_utf8(pTHX_ SV * const sv)
5802                         __attribute__warn_unused_result__
5803                         __attribute__nonnull__(pTHX_1);
5804 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
5805         assert(sv)
5806
5807 STATIC I32      S_do_trans_count(pTHX_ SV * const sv)
5808                         __attribute__warn_unused_result__
5809                         __attribute__nonnull__(pTHX_1);
5810 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
5811         assert(sv)
5812
5813 STATIC I32      S_do_trans_count_utf8(pTHX_ SV * const sv)
5814                         __attribute__warn_unused_result__
5815                         __attribute__nonnull__(pTHX_1);
5816 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
5817         assert(sv)
5818
5819 STATIC I32      S_do_trans_simple(pTHX_ SV * const sv)
5820                         __attribute__warn_unused_result__
5821                         __attribute__nonnull__(pTHX_1);
5822 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
5823         assert(sv)
5824
5825 STATIC I32      S_do_trans_simple_utf8(pTHX_ SV * const sv)
5826                         __attribute__warn_unused_result__
5827                         __attribute__nonnull__(pTHX_1);
5828 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
5829         assert(sv)
5830
5831 #endif
5832 #if defined(PERL_IN_DUMP_C)
5833 STATIC CV*      S_deb_curcv(pTHX_ const I32 ix);
5834 STATIC void     S_debprof(pTHX_ const OP *o)
5835                         __attribute__nonnull__(pTHX_1);
5836 #define PERL_ARGS_ASSERT_DEBPROF        \
5837         assert(o)
5838
5839 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm)
5840                         __attribute__nonnull__(pTHX_1);
5841 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5842         assert(pm)
5843
5844 STATIC UV       S_sequence_num(pTHX_ const OP *o);
5845 #endif
5846 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
5847 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv)
5848                         __attribute__nonnull__(pTHX_1);
5849 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
5850         assert(hv)
5851
5852 #endif
5853 #if defined(PERL_IN_GV_C)
5854 STATIC bool     S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, svtype sv_type)
5855                         __attribute__nonnull__(pTHX_1)
5856                         __attribute__nonnull__(pTHX_2);
5857 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
5858         assert(stash); assert(name)
5859
5860 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type)
5861                         __attribute__nonnull__(pTHX_1);
5862 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
5863         assert(gv)
5864
5865 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8)
5866                         __attribute__nonnull__(pTHX_1);
5867 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
5868         assert(name)
5869
5870 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, svtype sv_type)
5871                         __attribute__nonnull__(pTHX_1)
5872                         __attribute__nonnull__(pTHX_2)
5873                         __attribute__nonnull__(pTHX_3);
5874 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
5875         assert(gv); assert(stash); assert(name)
5876
5877 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv)
5878                         __attribute__nonnull__(pTHX_1);
5879 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
5880         assert(gv)
5881
5882 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type)
5883                         __attribute__nonnull__(pTHX_1)
5884                         __attribute__nonnull__(pTHX_2);
5885 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
5886         assert(gv); assert(name)
5887
5888 STATIC bool     S_parse_gv_stash_name(pTHX_ HV **stash, GV **gv, const char **name, STRLEN *len, const char *nambeg, STRLEN full_len, const U32 is_utf8, const I32 add)
5889                         __attribute__nonnull__(pTHX_1)
5890                         __attribute__nonnull__(pTHX_2)
5891                         __attribute__nonnull__(pTHX_3)
5892                         __attribute__nonnull__(pTHX_4)
5893                         __attribute__nonnull__(pTHX_5);
5894 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
5895         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5896
5897 STATIC HV*      S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags)
5898                         __attribute__nonnull__(pTHX_1)
5899                         __attribute__nonnull__(pTHX_2)
5900                         __attribute__nonnull__(pTHX_3)
5901                         __attribute__nonnull__(pTHX_4);
5902 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
5903         assert(gv); assert(varpv); assert(namesv); assert(methpv)
5904
5905 #endif
5906 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5907 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5908                         __attribute__nonnull__(pTHX_1)
5909                         __attribute__nonnull__(pTHX_2);
5910 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5911         assert(tsv); assert(sv)
5912
5913 #endif
5914 #if defined(PERL_IN_HV_C)
5915 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items)
5916                         __attribute__nonnull__(pTHX_1);
5917 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
5918         assert(hv)
5919
5920 STATIC void     S_hfreeentries(pTHX_ HV *hv)
5921                         __attribute__nonnull__(pTHX_1);
5922 #define PERL_ARGS_ASSERT_HFREEENTRIES   \
5923         assert(hv)
5924
5925 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize)
5926                         __attribute__nonnull__(pTHX_1);
5927 #define PERL_ARGS_ASSERT_HSPLIT \
5928         assert(hv)
5929
5930 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv)
5931                         __attribute__nonnull__(pTHX_1);
5932 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
5933         assert(hv)
5934
5935 STATIC struct xpvhv_aux*        S_hv_auxinit_internal(struct xpvhv_aux *iter)
5936                         __attribute__nonnull__(1);
5937 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL    \
5938         assert(iter)
5939
5940 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5941 STATIC SV*      S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry)
5942                         __attribute__nonnull__(pTHX_1)
5943                         __attribute__nonnull__(pTHX_2);
5944 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
5945         assert(hv); assert(entry)
5946
5947 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store)
5948                         __attribute__nonnull__(1)
5949                         __attribute__nonnull__(2)
5950                         __attribute__nonnull__(3);
5951 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5952         assert(hv); assert(needs_copy); assert(needs_store)
5953
5954 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5955                         __attribute__noreturn__
5956                         __attribute__nonnull__(pTHX_2)
5957                         __attribute__nonnull__(pTHX_4);
5958 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
5959         assert(key); assert(msg)
5960
5961 STATIC HE*      S_new_he(pTHX)
5962                         __attribute__malloc__
5963                         __attribute__warn_unused_result__;
5964
5965 PERL_STATIC_INLINE U32  S_ptr_hash(PTRV u);
5966 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he)
5967                         __attribute__nonnull__(pTHX_1);
5968 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
5969         assert(he)
5970
5971 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5972                         __attribute__malloc__
5973                         __attribute__warn_unused_result__
5974                         __attribute__nonnull__(1);
5975 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5976         assert(str)
5977
5978 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
5979                         __attribute__warn_unused_result__
5980                         __attribute__nonnull__(pTHX_1);
5981 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
5982         assert(str)
5983
5984 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5985 #endif
5986 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5987 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5988                         __attribute__nonnull__(pTHX_1);
5989 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
5990         assert(sv)
5991
5992 #endif
5993 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5994 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
5995                         __attribute__nonnull__(pTHX_1)
5996                         __attribute__nonnull__(pTHX_2);
5997 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
5998         assert(hv); assert(indexp)
5999
6000 #endif
6001 #if defined(PERL_IN_MALLOC_C)
6002 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p)
6003                         __attribute__nonnull__(1);
6004 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
6005         assert(nbytes_p)
6006
6007 #endif
6008 #if defined(PERL_IN_MG_C)
6009 STATIC void     S_fixup_errno_string(pTHX_ SV* sv)
6010                         __attribute__nonnull__(pTHX_1);
6011 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
6012         assert(sv)
6013
6014 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val)
6015                         __attribute__nonnull__(pTHX_1)
6016                         __attribute__nonnull__(pTHX_2)
6017                         __attribute__nonnull__(pTHX_3);
6018 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
6019         assert(sv); assert(mg); assert(meth)
6020
6021 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth)
6022                         __attribute__nonnull__(pTHX_1)
6023                         __attribute__nonnull__(pTHX_2)
6024                         __attribute__nonnull__(pTHX_3);
6025 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
6026         assert(sv); assert(mg); assert(meth)
6027
6028 STATIC void     S_restore_magic(pTHX_ const void *p);
6029 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags)
6030                         __attribute__nonnull__(pTHX_2);
6031 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
6032         assert(sv)
6033
6034 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
6035 #endif
6036 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
6037 PERL_CALLCONV bool      Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
6038                         __attribute__nonnull__(6)
6039                         __attribute__nonnull__(7);
6040 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
6041         assert(posp); assert(lenp)
6042
6043 #endif
6044 #if defined(PERL_IN_MRO_C)
6045 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags)
6046                         __attribute__nonnull__(pTHX_1)
6047                         __attribute__nonnull__(pTHX_2);
6048 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
6049         assert(isa); assert(name)
6050
6051 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv)
6052                         __attribute__nonnull__(pTHX_1)
6053                         __attribute__nonnull__(pTHX_2)
6054                         __attribute__nonnull__(pTHX_5);
6055 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
6056         assert(stashes); assert(seen_stashes); assert(namesv)
6057
6058 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level)
6059                         __attribute__nonnull__(pTHX_1);
6060 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
6061         assert(stash)
6062
6063 #endif
6064 #if defined(PERL_IN_NUMERIC_C)
6065 STATIC NV       S_mulexp10(NV value, I32 exponent);
6066 #endif
6067 #if defined(PERL_IN_OP_C)
6068 PERL_STATIC_INLINE bool S_aassign_common_vars(pTHX_ OP* o);
6069 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs)
6070                         __attribute__nonnull__(pTHX_1)
6071                         __attribute__nonnull__(pTHX_2);
6072 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
6073         assert(stash); assert(target)
6074
6075 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp)
6076                         __attribute__nonnull__(pTHX_1)
6077                         __attribute__nonnull__(pTHX_2)
6078                         __attribute__nonnull__(pTHX_4);
6079 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
6080         assert(stash); assert(target); assert(imopsp)
6081
6082 STATIC void     S_bad_type_gv(pTHX_ I32 n, const char *t, GV *gv, U32 flags, const OP *kid)
6083                         __attribute__nonnull__(pTHX_2)
6084                         __attribute__nonnull__(pTHX_3)
6085                         __attribute__nonnull__(pTHX_5);
6086 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
6087         assert(t); assert(gv); assert(kid)
6088
6089 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const char *name, U32 flags, const OP *kid)
6090                         __attribute__nonnull__(pTHX_2)
6091                         __attribute__nonnull__(pTHX_3)
6092                         __attribute__nonnull__(pTHX_5);
6093 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
6094         assert(t); assert(name); assert(kid)
6095
6096 STATIC void     S_cop_free(pTHX_ COP *cop)
6097                         __attribute__nonnull__(pTHX_1);
6098 #define PERL_ARGS_ASSERT_COP_FREE       \
6099         assert(cop)
6100
6101 STATIC OP *     S_dup_attrlist(pTHX_ OP *o)
6102                         __attribute__nonnull__(pTHX_1);
6103 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
6104         assert(o)
6105
6106 STATIC void     S_finalize_op(pTHX_ OP* o)
6107                         __attribute__nonnull__(pTHX_1);
6108 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
6109         assert(o)
6110
6111 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o)
6112                         __attribute__nonnull__(pTHX_1);
6113 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
6114         assert(o)
6115
6116 STATIC OP*      S_fold_constants(pTHX_ OP *o)
6117                         __attribute__nonnull__(pTHX_1);
6118 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
6119         assert(o)
6120
6121 STATIC OP*      S_force_list(pTHX_ OP* arg);
6122 STATIC void     S_forget_pmop(pTHX_ PMOP *const o)
6123                         __attribute__nonnull__(pTHX_1);
6124 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
6125         assert(o)
6126
6127 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
6128 STATIC SV*      S_gv_ename(pTHX_ GV *gv)
6129                         __attribute__nonnull__(pTHX_1);
6130 #define PERL_ARGS_ASSERT_GV_ENAME       \
6131         assert(gv)
6132
6133 STATIC void     S_inplace_aassign(pTHX_ OP* o)
6134                         __attribute__nonnull__(pTHX_1);
6135 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
6136         assert(o)
6137
6138 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
6139                         __attribute__warn_unused_result__
6140                         __attribute__nonnull__(1);
6141 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
6142         assert(o)
6143
6144 STATIC I32      S_is_list_assignment(pTHX_ const OP *o)
6145                         __attribute__warn_unused_result__;
6146
6147 STATIC OP*      S_listkids(pTHX_ OP* o);
6148 STATIC bool     S_looks_like_bool(pTHX_ const OP* o)
6149                         __attribute__nonnull__(pTHX_1);
6150 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
6151         assert(o)
6152
6153 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
6154 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name)
6155                         __attribute__nonnull__(pTHX_1)
6156                         __attribute__nonnull__(pTHX_2)
6157                         __attribute__nonnull__(pTHX_3);
6158 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
6159         assert(proto); assert(attrs); assert(name)
6160
6161 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp)
6162                         __attribute__nonnull__(pTHX_3);
6163 #define PERL_ARGS_ASSERT_MY_KID \
6164         assert(imopsp)
6165
6166 STATIC OP*      S_newDEFSVOP(pTHX)
6167                         __attribute__warn_unused_result__;
6168
6169 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg)
6170                         __attribute__nonnull__(pTHX_2);
6171 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
6172         assert(block)
6173
6174 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
6175                         __attribute__warn_unused_result__
6176                         __attribute__nonnull__(pTHX_3)
6177                         __attribute__nonnull__(pTHX_4);
6178 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
6179         assert(firstp); assert(otherp)
6180
6181 STATIC void     S_no_bareword_allowed(pTHX_ OP *o)
6182                         __attribute__nonnull__(pTHX_1);
6183 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
6184         assert(o)
6185
6186 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
6187                         __attribute__warn_unused_result__
6188                         __attribute__nonnull__(pTHX_1);
6189 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
6190         assert(o)
6191
6192 STATIC void     S_null_listop_in_list_context(pTHX_ OP* o)
6193                         __attribute__nonnull__(pTHX_1);
6194 #define PERL_ARGS_ASSERT_NULL_LISTOP_IN_LIST_CONTEXT    \
6195         assert(o)
6196
6197 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o)
6198                         __attribute__nonnull__(pTHX_1);
6199 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
6200         assert(o)
6201
6202 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o)
6203                         __attribute__nonnull__(pTHX_1);
6204 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
6205         assert(o)
6206
6207 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
6208                         __attribute__nonnull__(pTHX_1)
6209                         __attribute__nonnull__(pTHX_2)
6210                         __attribute__nonnull__(pTHX_3);
6211 #define PERL_ARGS_ASSERT_PMTRANS        \
6212         assert(o); assert(expr); assert(repl)
6213
6214 STATIC void     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv)
6215                         __attribute__nonnull__(pTHX_2)
6216                         __attribute__nonnull__(pTHX_3)
6217                         __attribute__nonnull__(pTHX_4);
6218 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
6219         assert(fullname); assert(gv); assert(cv)
6220
6221 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
6222 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
6223 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
6224                         __attribute__warn_unused_result__;
6225
6226 STATIC OP*      S_scalarboolean(pTHX_ OP *o)
6227                         __attribute__nonnull__(pTHX_1);
6228 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
6229         assert(o)
6230
6231 STATIC OP*      S_scalarkids(pTHX_ OP* o);
6232 STATIC OP*      S_scalarseq(pTHX_ OP* o);
6233 STATIC OP*      S_search_const(pTHX_ OP *o)
6234                         __attribute__warn_unused_result__
6235                         __attribute__nonnull__(pTHX_1);
6236 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
6237         assert(o)
6238
6239 STATIC void     S_simplify_sort(pTHX_ OP *o)
6240                         __attribute__nonnull__(pTHX_1);
6241 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
6242         assert(o)
6243
6244 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
6245                         __attribute__warn_unused_result__
6246                         __attribute__nonnull__(pTHX_1)
6247                         __attribute__nonnull__(pTHX_2);
6248 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
6249         assert(o); assert(name)
6250
6251 STATIC OP*      S_too_few_arguments_sv(pTHX_ OP *o, SV* namesv, U32 flags)
6252                         __attribute__warn_unused_result__
6253                         __attribute__nonnull__(pTHX_1)
6254                         __attribute__nonnull__(pTHX_2);
6255 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_SV   \
6256         assert(o); assert(namesv)
6257
6258 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
6259                         __attribute__nonnull__(pTHX_1)
6260                         __attribute__nonnull__(pTHX_2);
6261 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
6262         assert(o); assert(name)
6263
6264 STATIC OP*      S_too_many_arguments_sv(pTHX_ OP *o, SV* namesv, U32 flags)
6265                         __attribute__warn_unused_result__
6266                         __attribute__nonnull__(pTHX_1)
6267                         __attribute__nonnull__(pTHX_2);
6268 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_SV  \
6269         assert(o); assert(namesv)
6270
6271 #endif
6272 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
6273 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
6274                         __attribute__nonnull__(pTHX_1)
6275                         __attribute__nonnull__(pTHX_2);
6276 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
6277         assert(name); assert(old_cv)
6278
6279 #endif
6280 #if defined(PERL_IN_PAD_C)
6281 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ SV *namesv, U32 flags, HV *typestash, HV *ourstash)
6282                         __attribute__nonnull__(pTHX_1);
6283 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
6284         assert(namesv)
6285
6286 STATIC void     S_pad_check_dup(pTHX_ SV *name, U32 flags, const HV *ourstash)
6287                         __attribute__nonnull__(pTHX_1);
6288 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
6289         assert(name)
6290
6291 STATIC PADOFFSET        S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, SV** out_name_sv, int *out_flags)
6292                         __attribute__nonnull__(pTHX_1)
6293                         __attribute__nonnull__(pTHX_4)
6294                         __attribute__nonnull__(pTHX_8)
6295                         __attribute__nonnull__(pTHX_9);
6296 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
6297         assert(namepv); assert(cv); assert(out_name_sv); assert(out_flags)
6298
6299 STATIC void     S_pad_reset(pTHX);
6300 #endif
6301 #if defined(PERL_IN_PERL_C)
6302 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp)
6303                         __attribute__nonnull__(pTHX_1)
6304                         __attribute__nonnull__(pTHX_2);
6305 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
6306         assert(linestr_sv); assert(rsfp)
6307
6308 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
6309 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags)
6310                         __attribute__nonnull__(pTHX_1);
6311 #define PERL_ARGS_ASSERT_INCPUSH        \
6312         assert(dir)
6313
6314 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags)
6315                         __attribute__nonnull__(pTHX_1);
6316 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
6317         assert(p)
6318
6319 STATIC void     S_init_ids(pTHX);
6320 STATIC void     S_init_interp(pTHX);
6321 STATIC void     S_init_main_stash(pTHX);
6322 STATIC void     S_init_perllib(pTHX);
6323 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env)
6324                         __attribute__nonnull__(pTHX_2);
6325 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
6326         assert(argv)
6327
6328 STATIC void     S_init_predump_symbols(pTHX);
6329 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags)
6330                         __attribute__nonnull__(pTHX_1);
6331 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
6332         assert(dir)
6333
6334 PERL_STATIC_NO_RET void S_minus_v(pTHX)
6335                         __attribute__noreturn__;
6336
6337 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
6338                         __attribute__noreturn__;
6339
6340 STATIC void     S_nuke_stacks(pTHX);
6341 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript)
6342                         __attribute__nonnull__(pTHX_1)
6343                         __attribute__nonnull__(pTHX_3);
6344 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
6345         assert(scriptname); assert(suidscript)
6346
6347 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
6348 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
6349                         __attribute__noreturn__;
6350
6351 PERL_STATIC_NO_RET void S_usage(pTHX)
6352                         __attribute__noreturn__;
6353
6354 #endif
6355 #if defined(PERL_IN_PP_C)
6356 STATIC void     S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping)
6357                         __attribute__nonnull__(pTHX_1)
6358                         __attribute__nonnull__(pTHX_2);
6359 #define PERL_ARGS_ASSERT_DO_CHOMP       \
6360         assert(retval); assert(sv)
6361
6362 STATIC OP*      S_do_delete_local(pTHX);
6363 STATIC SV*      S_refto(pTHX_ SV* sv)
6364                         __attribute__warn_unused_result__
6365                         __attribute__nonnull__(pTHX_1);
6366 #define PERL_ARGS_ASSERT_REFTO  \
6367         assert(sv)
6368
6369 #endif
6370 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
6371 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
6372                         __attribute__warn_unused_result__
6373                         __attribute__nonnull__(pTHX_1)
6374                         __attribute__nonnull__(pTHX_2)
6375                         __attribute__nonnull__(pTHX_4);
6376 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
6377         assert(sv); assert(what); assert(spp)
6378
6379 #endif
6380 #if defined(PERL_IN_PP_CTL_C)
6381 STATIC SV **    S_adjust_stack_on_leave(pTHX_ SV **newsp, SV **sp, SV **mark, I32 gimme, U32 flags, bool lvalue)
6382                         __attribute__nonnull__(pTHX_1)
6383                         __attribute__nonnull__(pTHX_2)
6384                         __attribute__nonnull__(pTHX_3);
6385 #define PERL_ARGS_ASSERT_ADJUST_STACK_ON_LEAVE  \
6386         assert(newsp); assert(sp); assert(mark)
6387
6388 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
6389                         __attribute__warn_unused_result__
6390                         __attribute__nonnull__(pTHX_1);
6391 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
6392         assert(name)
6393
6394 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher)
6395                         __attribute__nonnull__(pTHX_1);
6396 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
6397         assert(matcher)
6398
6399 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
6400 STATIC OP*      S_docatch(pTHX_ OP *o)
6401                         __attribute__warn_unused_result__;
6402
6403 STATIC bool     S_doeval(pTHX_ int gimme, CV* outside, U32 seq, HV* hh);
6404 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
6405                         __attribute__warn_unused_result__
6406                         __attribute__nonnull__(pTHX_1)
6407                         __attribute__nonnull__(pTHX_2)
6408                         __attribute__nonnull__(pTHX_5)
6409                         __attribute__nonnull__(pTHX_6);
6410 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
6411         assert(o); assert(label); assert(opstack); assert(oplimit)
6412
6413 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv)
6414                         __attribute__nonnull__(pTHX_1);
6415 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
6416         assert(sv)
6417
6418 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
6419                         __attribute__warn_unused_result__;
6420
6421 STATIC I32      S_dopoptogiven(pTHX_ I32 startingblock)
6422                         __attribute__warn_unused_result__;
6423
6424 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
6425                         __attribute__warn_unused_result__
6426                         __attribute__nonnull__(pTHX_1);
6427 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
6428         assert(label)
6429
6430 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
6431                         __attribute__warn_unused_result__;
6432
6433 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
6434                         __attribute__warn_unused_result__
6435                         __attribute__nonnull__(pTHX_1);
6436 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
6437         assert(cxstk)
6438
6439 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
6440                         __attribute__warn_unused_result__;
6441
6442 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
6443                         __attribute__warn_unused_result__
6444                         __attribute__nonnull__(pTHX_1);
6445 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
6446         assert(re)
6447
6448 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
6449                         __attribute__warn_unused_result__
6450                         __attribute__nonnull__(pTHX_1)
6451                         __attribute__nonnull__(pTHX_2);
6452 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
6453         assert(matcher); assert(sv)
6454
6455 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
6456                         __attribute__warn_unused_result__;
6457
6458 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
6459                         __attribute__warn_unused_result__
6460                         __attribute__nonnull__(1);
6461 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
6462         assert(name)
6463
6464 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
6465                         __attribute__warn_unused_result__
6466                         __attribute__nonnull__(pTHX_2);
6467 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
6468         assert(buf_sv)
6469
6470 STATIC void     S_rxres_free(pTHX_ void** rsp)
6471                         __attribute__nonnull__(pTHX_1);
6472 #define PERL_ARGS_ASSERT_RXRES_FREE     \
6473         assert(rsp)
6474
6475 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
6476                         __attribute__nonnull__(pTHX_1)
6477                         __attribute__nonnull__(pTHX_2);
6478 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
6479         assert(rsp); assert(rx)
6480
6481 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv)
6482                         __attribute__nonnull__(pTHX_2);
6483 #define PERL_ARGS_ASSERT_SAVE_LINES     \
6484         assert(sv)
6485
6486 #endif
6487 #if defined(PERL_IN_PP_HOT_C)
6488 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey)
6489                         __attribute__nonnull__(pTHX_1)
6490                         __attribute__nonnull__(pTHX_2);
6491 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
6492         assert(oddkey); assert(firstkey)
6493
6494 STATIC SV*      S_method_common(pTHX_ SV* meth, U32* hashp)
6495                         __attribute__warn_unused_result__
6496                         __attribute__nonnull__(pTHX_1);
6497 #define PERL_ARGS_ASSERT_METHOD_COMMON  \
6498         assert(meth)
6499
6500 #endif
6501 #if defined(PERL_IN_PP_PACK_C)
6502 STATIC char *   S_bytes_to_uni(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
6503                         __attribute__warn_unused_result__
6504                         __attribute__nonnull__(1)
6505                         __attribute__nonnull__(3);
6506 #define PERL_ARGS_ASSERT_BYTES_TO_UNI   \
6507         assert(start); assert(dest)
6508
6509 STATIC int      S_div128(pTHX_ SV *pnum, bool *done)
6510                         __attribute__nonnull__(pTHX_1)
6511                         __attribute__nonnull__(pTHX_2);
6512 #define PERL_ARGS_ASSERT_DIV128 \
6513         assert(pnum); assert(done)
6514
6515 STATIC char     S_first_symbol(const char *pat, const char *patend)
6516                         __attribute__nonnull__(1)
6517                         __attribute__nonnull__(2);
6518 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
6519         assert(pat); assert(patend)
6520
6521 STATIC const char *     S_get_num(pTHX_ const char *patptr, I32 *lenptr)
6522                         __attribute__warn_unused_result__
6523                         __attribute__nonnull__(pTHX_1)
6524                         __attribute__nonnull__(pTHX_2);
6525 #define PERL_ARGS_ASSERT_GET_NUM        \
6526         assert(patptr); assert(lenptr)
6527
6528 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender)
6529                         __attribute__nonnull__(pTHX_1)
6530                         __attribute__nonnull__(pTHX_2);
6531 #define PERL_ARGS_ASSERT_GROUP_END      \
6532         assert(patptr); assert(patend)
6533
6534 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
6535                         __attribute__warn_unused_result__
6536                         __attribute__nonnull__(pTHX_1);
6537 #define PERL_ARGS_ASSERT_IS_AN_INT      \
6538         assert(s)
6539
6540 STATIC I32      S_measure_struct(pTHX_ struct tempsym* symptr)
6541                         __attribute__nonnull__(pTHX_1);
6542 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
6543         assert(symptr)
6544
6545 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m)
6546                         __attribute__nonnull__(pTHX_1);
6547 #define PERL_ARGS_ASSERT_MUL128 \
6548         assert(sv)
6549
6550 STATIC bool     S_need_utf8(const char *pat, const char *patend)
6551                         __attribute__nonnull__(1)
6552                         __attribute__nonnull__(2);
6553 #define PERL_ARGS_ASSERT_NEED_UTF8      \
6554         assert(pat); assert(patend)
6555
6556 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr)
6557                         __attribute__nonnull__(pTHX_1);
6558 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
6559         assert(symptr)
6560
6561 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist)
6562                         __attribute__nonnull__(pTHX_1)
6563                         __attribute__nonnull__(pTHX_2)
6564                         __attribute__nonnull__(pTHX_3)
6565                         __attribute__nonnull__(pTHX_4);
6566 #define PERL_ARGS_ASSERT_PACK_REC       \
6567         assert(cat); assert(symptr); assert(beglist); assert(endlist)
6568
6569 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
6570                         __attribute__warn_unused_result__
6571                         __attribute__nonnull__(pTHX_1);
6572 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
6573         assert(sv)
6574
6575 STATIC I32      S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s)
6576                         __attribute__nonnull__(pTHX_1)
6577                         __attribute__nonnull__(pTHX_2)
6578                         __attribute__nonnull__(pTHX_3)
6579                         __attribute__nonnull__(pTHX_4);
6580 #define PERL_ARGS_ASSERT_UNPACK_REC     \
6581         assert(symptr); assert(s); assert(strbeg); assert(strend)
6582
6583 #endif
6584 #if defined(PERL_IN_PP_SORT_C)
6585 STATIC I32      S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
6586                         __attribute__nonnull__(pTHX_1)
6587                         __attribute__nonnull__(pTHX_2);
6588 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
6589         assert(str1); assert(str2)
6590
6591 STATIC I32      S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
6592                         __attribute__nonnull__(pTHX_1)
6593                         __attribute__nonnull__(pTHX_2);
6594 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
6595         assert(a); assert(b)
6596
6597 STATIC I32      S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
6598                         __attribute__nonnull__(pTHX_1)
6599                         __attribute__nonnull__(pTHX_2);
6600 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
6601         assert(a); assert(b)
6602
6603 STATIC void     S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare)
6604                         __attribute__nonnull__(pTHX_3);
6605 #define PERL_ARGS_ASSERT_QSORTSVU       \
6606         assert(compare)
6607
6608 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b)
6609                         __attribute__nonnull__(pTHX_1)
6610                         __attribute__nonnull__(pTHX_2);
6611 #define PERL_ARGS_ASSERT_SORTCV \
6612         assert(a); assert(b)
6613
6614 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b)
6615                         __attribute__nonnull__(pTHX_1)
6616                         __attribute__nonnull__(pTHX_2);
6617 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
6618         assert(a); assert(b)
6619
6620 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b)
6621                         __attribute__nonnull__(pTHX_1)
6622                         __attribute__nonnull__(pTHX_2);
6623 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
6624         assert(a); assert(b)
6625
6626 STATIC I32      S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
6627                         __attribute__nonnull__(pTHX_1)
6628                         __attribute__nonnull__(pTHX_2);
6629 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
6630         assert(a); assert(b)
6631
6632 STATIC I32      S_sv_ncmp(pTHX_ SV *const a, SV *const b)
6633                         __attribute__nonnull__(pTHX_1)
6634                         __attribute__nonnull__(pTHX_2);
6635 #define PERL_ARGS_ASSERT_SV_NCMP        \
6636         assert(a); assert(b)
6637
6638 #  if defined(USE_LOCALE_COLLATE)
6639 STATIC I32      S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
6640                         __attribute__nonnull__(pTHX_1)
6641                         __attribute__nonnull__(pTHX_2);
6642 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
6643         assert(str1); assert(str2)
6644
6645 #  endif
6646 #endif
6647 #if defined(PERL_IN_PP_SYS_C)
6648 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop)
6649                         __attribute__nonnull__(pTHX_1)
6650                         __attribute__nonnull__(pTHX_2);
6651 #define PERL_ARGS_ASSERT_DOFORM \
6652         assert(cv); assert(gv)
6653
6654 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array)
6655                         __attribute__nonnull__(pTHX_1);
6656 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL        \
6657         assert(array)
6658
6659 #endif
6660 #if defined(PERL_IN_REGCOMP_C)
6661 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end)
6662                         __attribute__nonnull__(pTHX_1);
6663 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
6664         assert(invlist)
6665
6666 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
6667                         __attribute__warn_unused_result__
6668                         __attribute__nonnull__(1);
6669 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
6670         assert(invlist)
6671
6672 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist)
6673                         __attribute__nonnull__(pTHX_1)
6674                         __attribute__nonnull__(pTHX_3);
6675 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
6676         assert(pRExC_state); assert(invlist)
6677
6678 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
6679                         __attribute__warn_unused_result__;
6680
6681 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
6682                         __attribute__warn_unused_result__
6683                         __attribute__nonnull__(1)
6684                         __attribute__nonnull__(2);
6685 #define PERL_ARGS_ASSERT_ADD_DATA       \
6686         assert(pRExC_state); assert(s)
6687
6688 PERL_STATIC_INLINE void S_alloc_maybe_populate_EXACT(pTHX_ RExC_state_t *pRExC_state, regnode *node, I32 *flagp, STRLEN len, UV code_point, bool downgradable)
6689                         __attribute__nonnull__(pTHX_1)
6690                         __attribute__nonnull__(pTHX_2)
6691                         __attribute__nonnull__(pTHX_3);
6692 #define PERL_ARGS_ASSERT_ALLOC_MAYBE_POPULATE_EXACT     \
6693         assert(pRExC_state); assert(node); assert(flagp)
6694
6695 PERL_STATIC_INLINE U8   S_compute_EXACTish(RExC_state_t *pRExC_state)
6696                         __attribute__nonnull__(1);
6697 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
6698         assert(pRExC_state)
6699
6700 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth)
6701                         __attribute__nonnull__(pTHX_1)
6702                         __attribute__nonnull__(pTHX_2);
6703 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
6704         assert(pRExC_state); assert(source)
6705
6706 STATIC bool     S_could_it_be_a_POSIX_class(RExC_state_t *pRExC_state)
6707                         __attribute__nonnull__(1);
6708 #define PERL_ARGS_ASSERT_COULD_IT_BE_A_POSIX_CLASS      \
6709         assert(pRExC_state)
6710
6711 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node)
6712                         __attribute__nonnull__(pTHX_1)
6713                         __attribute__nonnull__(pTHX_2);
6714 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
6715         assert(pRExC_state); assert(node)
6716
6717 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
6718                         __attribute__warn_unused_result__
6719                         __attribute__nonnull__(1);
6720 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
6721         assert(invlist)
6722
6723 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
6724                         __attribute__warn_unused_result__
6725                         __attribute__nonnull__(1);
6726 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
6727         assert(invlist)
6728
6729 STATIC bool     S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode** nodep, UV *valuep, I32 *flagp, U32 depth, bool in_char_class, const bool strict)
6730                         __attribute__nonnull__(pTHX_1)
6731                         __attribute__nonnull__(pTHX_4);
6732 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
6733         assert(pRExC_state); assert(flagp)
6734
6735 STATIC regnode* S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse)
6736                         __attribute__nonnull__(pTHX_1)
6737                         __attribute__nonnull__(pTHX_3)
6738                         __attribute__nonnull__(pTHX_5);
6739 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
6740         assert(pRExC_state); assert(flagp); assert(oregcomp_parse)
6741
6742 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
6743                         __attribute__warn_unused_result__
6744                         __attribute__nonnull__(1);
6745 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
6746         assert(invlist)
6747
6748 PERL_STATIC_INLINE SV*  S_invlist_clone(pTHX_ SV* const invlist)
6749                         __attribute__warn_unused_result__
6750                         __attribute__nonnull__(pTHX_1);
6751 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
6752         assert(invlist)
6753
6754 STATIC void     S_invlist_extend(pTHX_ SV* const invlist, const UV len)
6755                         __attribute__nonnull__(pTHX_1);
6756 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
6757         assert(invlist)
6758
6759 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
6760                         __attribute__warn_unused_result__
6761                         __attribute__nonnull__(1);
6762 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
6763         assert(invlist)
6764
6765 PERL_STATIC_INLINE bool S_invlist_is_iterating(SV* const invlist)
6766                         __attribute__warn_unused_result__
6767                         __attribute__nonnull__(1);
6768 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
6769         assert(invlist)
6770
6771 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist)
6772                         __attribute__nonnull__(1);
6773 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
6774         assert(invlist)
6775
6776 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist)
6777                         __attribute__nonnull__(1);
6778 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
6779         assert(invlist)
6780
6781 STATIC bool     S_invlist_iternext(SV* invlist, UV* start, UV* end)
6782                         __attribute__warn_unused_result__
6783                         __attribute__nonnull__(1)
6784                         __attribute__nonnull__(2)
6785                         __attribute__nonnull__(3);
6786 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
6787         assert(invlist); assert(start); assert(end)
6788
6789 PERL_STATIC_INLINE UV   S_invlist_max(SV* const invlist)
6790                         __attribute__warn_unused_result__
6791                         __attribute__nonnull__(1);
6792 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
6793         assert(invlist)
6794
6795 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
6796                         __attribute__warn_unused_result__
6797                         __attribute__nonnull__(1);
6798 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
6799         assert(invlist)
6800
6801 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset)
6802                         __attribute__nonnull__(pTHX_1);
6803 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
6804         assert(invlist)
6805
6806 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index)
6807                         __attribute__nonnull__(1);
6808 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
6809         assert(invlist)
6810
6811 PERL_STATIC_INLINE void S_invlist_trim(SV* const invlist)
6812                         __attribute__nonnull__(1);
6813 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
6814         assert(invlist)
6815
6816 STATIC U32      S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth)
6817                         __attribute__nonnull__(pTHX_1)
6818                         __attribute__nonnull__(pTHX_2)
6819                         __attribute__nonnull__(pTHX_3)
6820                         __attribute__nonnull__(pTHX_4);
6821 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
6822         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
6823
6824 STATIC I32      S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth)
6825                         __attribute__nonnull__(pTHX_1)
6826                         __attribute__nonnull__(pTHX_2)
6827                         __attribute__nonnull__(pTHX_3)
6828                         __attribute__nonnull__(pTHX_4)
6829                         __attribute__nonnull__(pTHX_5);
6830 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
6831         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
6832
6833 STATIC char *   S_nextchar(pTHX_ RExC_state_t *pRExC_state)
6834                         __attribute__nonnull__(pTHX_1);
6835 #define PERL_ARGS_ASSERT_NEXTCHAR       \
6836         assert(pRExC_state)
6837
6838 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state)
6839                         __attribute__nonnull__(pTHX_1);
6840 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
6841         assert(pRExC_state)
6842
6843 STATIC void     S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr)
6844                         __attribute__nonnull__(pTHX_1)
6845                         __attribute__nonnull__(pTHX_2);
6846 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST    \
6847         assert(node); assert(invlist_ptr)
6848
6849 PERL_STATIC_NO_RET void S_re_croak2(pTHX_ bool utf8, const char* pat1, const char* pat2, ...)
6850                         __attribute__noreturn__
6851                         __attribute__nonnull__(pTHX_2)
6852                         __attribute__nonnull__(pTHX_3);
6853 #define PERL_ARGS_ASSERT_RE_CROAK2      \
6854         assert(pat1); assert(pat2)
6855
6856 STATIC regnode* S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth)
6857                         __attribute__nonnull__(pTHX_1)
6858                         __attribute__nonnull__(pTHX_3);
6859 #define PERL_ARGS_ASSERT_REG    \
6860         assert(pRExC_state); assert(flagp)
6861
6862 STATIC regnode* S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op)
6863                         __attribute__nonnull__(pTHX_1);
6864 #define PERL_ARGS_ASSERT_REG_NODE       \
6865         assert(pRExC_state)
6866
6867 STATIC UV       S_reg_recode(pTHX_ const char value, SV **encp)
6868                         __attribute__nonnull__(pTHX_2);
6869 #define PERL_ARGS_ASSERT_REG_RECODE     \
6870         assert(encp)
6871
6872 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags)
6873                         __attribute__nonnull__(pTHX_1);
6874 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
6875         assert(pRExC_state)
6876
6877 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p)
6878                         __attribute__nonnull__(1)
6879                         __attribute__nonnull__(2);
6880 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
6881         assert(pRExC_state); assert(p)
6882
6883 STATIC regnode* S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg)
6884                         __attribute__nonnull__(pTHX_1);
6885 #define PERL_ARGS_ASSERT_REGANODE       \
6886         assert(pRExC_state)
6887
6888 STATIC regnode* S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
6889                         __attribute__nonnull__(pTHX_1)
6890                         __attribute__nonnull__(pTHX_2);
6891 #define PERL_ARGS_ASSERT_REGATOM        \
6892         assert(pRExC_state); assert(flagp)
6893
6894 STATIC regnode* S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth)
6895                         __attribute__nonnull__(pTHX_1)
6896                         __attribute__nonnull__(pTHX_2);
6897 #define PERL_ARGS_ASSERT_REGBRANCH      \
6898         assert(pRExC_state); assert(flagp)
6899
6900 STATIC regnode* S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1, bool allow_multi_fold, const bool silence_non_portable, SV** ret_invlist)
6901                         __attribute__nonnull__(pTHX_1)
6902                         __attribute__nonnull__(pTHX_2);
6903 #define PERL_ARGS_ASSERT_REGCLASS       \
6904         assert(pRExC_state); assert(flagp)
6905
6906 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth)
6907                         __attribute__nonnull__(pTHX_1)
6908                         __attribute__nonnull__(pTHX_3);
6909 #define PERL_ARGS_ASSERT_REGINSERT      \
6910         assert(pRExC_state); assert(opnd)
6911
6912 STATIC char *   S_regpatws(RExC_state_t *pRExC_state, char *p, const bool recognize_comment)
6913                         __attribute__warn_unused_result__
6914                         __attribute__nonnull__(1)
6915                         __attribute__nonnull__(2);
6916 #define PERL_ARGS_ASSERT_REGPATWS       \
6917         assert(pRExC_state); assert(p)
6918
6919 STATIC regnode* S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
6920                         __attribute__nonnull__(pTHX_1)
6921                         __attribute__nonnull__(pTHX_2);
6922 #define PERL_ARGS_ASSERT_REGPIECE       \
6923         assert(pRExC_state); assert(flagp)
6924
6925 PERL_STATIC_INLINE I32  S_regpposixcc(pTHX_ RExC_state_t *pRExC_state, I32 value, const bool strict)
6926                         __attribute__nonnull__(pTHX_1);
6927 #define PERL_ARGS_ASSERT_REGPPOSIXCC    \
6928         assert(pRExC_state)
6929
6930 STATIC void     S_regtail(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
6931                         __attribute__nonnull__(pTHX_1)
6932                         __attribute__nonnull__(pTHX_2)
6933                         __attribute__nonnull__(pTHX_3);
6934 #define PERL_ARGS_ASSERT_REGTAIL        \
6935         assert(pRExC_state); assert(p); assert(val)
6936
6937 PERL_STATIC_INLINE STRLEN       S_reguni(pTHX_ const RExC_state_t *pRExC_state, UV uv, char *s)
6938                         __attribute__nonnull__(pTHX_1)
6939                         __attribute__nonnull__(pTHX_3);
6940 #define PERL_ARGS_ASSERT_REGUNI \
6941         assert(pRExC_state); assert(s)
6942
6943 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf)
6944                         __attribute__nonnull__(pTHX_1)
6945                         __attribute__nonnull__(pTHX_2)
6946                         __attribute__nonnull__(pTHX_3);
6947 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
6948         assert(pRExC_state); assert(data); assert(minlenp)
6949
6950 STATIC void     S_set_ANYOF_arg(pTHX_ RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const only_utf8_locale_list, SV* const swash, const bool has_user_defined_property)
6951                         __attribute__nonnull__(pTHX_1)
6952                         __attribute__nonnull__(pTHX_2);
6953 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
6954         assert(pRExC_state); assert(node)
6955
6956 PERL_STATIC_INLINE void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end)
6957                         __attribute__nonnull__(pTHX_1);
6958 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
6959         assert(ssc)
6960
6961 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with)
6962                         __attribute__nonnull__(pTHX_1)
6963                         __attribute__nonnull__(pTHX_2)
6964                         __attribute__nonnull__(pTHX_3);
6965 #define PERL_ARGS_ASSERT_SSC_AND        \
6966         assert(pRExC_state); assert(ssc); assert(and_with)
6967
6968 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc)
6969                         __attribute__nonnull__(pTHX_1);
6970 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
6971         assert(ssc)
6972
6973 PERL_STATIC_INLINE void S_ssc_clear_locale(regnode_ssc *ssc)
6974                         __attribute__nonnull__(1);
6975 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
6976         assert(ssc)
6977
6978 PERL_STATIC_INLINE void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp)
6979                         __attribute__nonnull__(pTHX_1);
6980 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
6981         assert(ssc)
6982
6983 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc)
6984                         __attribute__nonnull__(pTHX_1)
6985                         __attribute__nonnull__(pTHX_2);
6986 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
6987         assert(pRExC_state); assert(ssc)
6988
6989 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc)
6990                         __attribute__nonnull__(pTHX_1)
6991                         __attribute__nonnull__(pTHX_2);
6992 #define PERL_ARGS_ASSERT_SSC_INIT       \
6993         assert(pRExC_state); assert(ssc)
6994
6995 PERL_STATIC_INLINE void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd)
6996                         __attribute__nonnull__(pTHX_1)
6997                         __attribute__nonnull__(pTHX_2);
6998 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
6999         assert(ssc); assert(invlist)
7000
7001 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
7002                         __attribute__warn_unused_result__
7003                         __attribute__nonnull__(1);
7004 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
7005         assert(ssc)
7006
7007 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
7008                         __attribute__warn_unused_result__
7009                         __attribute__nonnull__(1)
7010                         __attribute__nonnull__(2);
7011 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
7012         assert(pRExC_state); assert(ssc)
7013
7014 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with)
7015                         __attribute__nonnull__(pTHX_1)
7016                         __attribute__nonnull__(pTHX_2)
7017                         __attribute__nonnull__(pTHX_3);
7018 #define PERL_ARGS_ASSERT_SSC_OR \
7019         assert(pRExC_state); assert(ssc); assert(or_with)
7020
7021 PERL_STATIC_INLINE void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd)
7022                         __attribute__nonnull__(pTHX_1)
7023                         __attribute__nonnull__(pTHX_2);
7024 #define PERL_ARGS_ASSERT_SSC_UNION      \
7025         assert(ssc); assert(invlist)
7026
7027 STATIC SSize_t  S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth)
7028                         __attribute__nonnull__(pTHX_1)
7029                         __attribute__nonnull__(pTHX_2)
7030                         __attribute__nonnull__(pTHX_3)
7031                         __attribute__nonnull__(pTHX_4)
7032                         __attribute__nonnull__(pTHX_5);
7033 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
7034         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
7035
7036 #endif
7037 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
7038 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist)
7039                         __attribute__nonnull__(pTHX_1)
7040                         __attribute__nonnull__(pTHX_3)
7041                         __attribute__nonnull__(pTHX_4);
7042 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
7043         assert(file); assert(indent); assert(invlist)
7044
7045 #endif
7046 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
7047 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
7048                         __attribute__warn_unused_result__
7049                         __attribute__nonnull__(pTHX_1);
7050 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
7051         assert(list)
7052
7053 #endif
7054 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
7055 PERL_CALLCONV SV*       Perl__get_regclass_nonbitmap_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale)
7056                         __attribute__nonnull__(pTHX_2);
7057 #define PERL_ARGS_ASSERT__GET_REGCLASS_NONBITMAP_DATA   \
7058         assert(node)
7059
7060 PERL_CALLCONV void      Perl__load_PL_utf8_foldclosures(pTHX);
7061 #endif
7062 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
7063 PERL_CALLCONV SV*       Perl__get_swash_invlist(pTHX_ SV* const swash)
7064                         __attribute__warn_unused_result__
7065                         __attribute__nonnull__(pTHX_1);
7066 #define PERL_ARGS_ASSERT__GET_SWASH_INVLIST     \
7067         assert(swash)
7068
7069 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
7070                         __attribute__warn_unused_result__
7071                         __attribute__nonnull__(1);
7072 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
7073         assert(invlist)
7074
7075 PERL_CALLCONV SV*       Perl__invlist_contents(pTHX_ SV* const invlist)
7076                         __attribute__warn_unused_result__
7077                         __attribute__nonnull__(pTHX_1);
7078 #define PERL_ARGS_ASSERT__INVLIST_CONTENTS      \
7079         assert(invlist)
7080
7081 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
7082                         __attribute__warn_unused_result__
7083                         __attribute__nonnull__(1);
7084 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
7085         assert(invlist)
7086
7087 PERL_CALLCONV IV        Perl__invlist_search(SV* const invlist, const UV cp)
7088                         __attribute__warn_unused_result__
7089                         __attribute__nonnull__(1);
7090 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
7091         assert(invlist)
7092
7093 PERL_CALLCONV HV*       Perl__swash_inversion_hash(pTHX_ SV* const swash)
7094                         __attribute__warn_unused_result__
7095                         __attribute__nonnull__(pTHX_1);
7096 #define PERL_ARGS_ASSERT__SWASH_INVERSION_HASH  \
7097         assert(swash)
7098
7099 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
7100                         __attribute__warn_unused_result__
7101                         __attribute__nonnull__(1);
7102 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
7103         assert(invlist)
7104
7105 #endif
7106 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
7107 PERL_CALLCONV SV*       Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none, SV* invlist, U8* const flags_p)
7108                         __attribute__nonnull__(pTHX_1)
7109                         __attribute__nonnull__(pTHX_2)
7110                         __attribute__nonnull__(pTHX_3);
7111 #define PERL_ARGS_ASSERT__CORE_SWASH_INIT       \
7112         assert(pkg); assert(name); assert(listsv)
7113
7114 #endif
7115 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
7116 STATIC char*    S_form_short_octal_warning(pTHX_ const char * const s, const STRLEN len)
7117                         __attribute__warn_unused_result__
7118                         __attribute__pure__
7119                         __attribute__nonnull__(pTHX_1);
7120 #define PERL_ARGS_ASSERT_FORM_SHORT_OCTAL_WARNING       \
7121         assert(s)
7122
7123 STATIC char     S_grok_bslash_c(pTHX_ const char source, const bool output_warning)
7124                         __attribute__warn_unused_result__;
7125
7126 STATIC bool     S_grok_bslash_o(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
7127                         __attribute__warn_unused_result__
7128                         __attribute__nonnull__(pTHX_1)
7129                         __attribute__nonnull__(pTHX_2)
7130                         __attribute__nonnull__(pTHX_3);
7131 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
7132         assert(s); assert(uv); assert(error_msg)
7133
7134 PERL_STATIC_INLINE bool S_grok_bslash_x(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8)
7135                         __attribute__warn_unused_result__
7136                         __attribute__nonnull__(pTHX_1)
7137                         __attribute__nonnull__(pTHX_2)
7138                         __attribute__nonnull__(pTHX_3);
7139 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
7140         assert(s); assert(uv); assert(error_msg)
7141
7142 PERL_STATIC_INLINE I32  S_regcurly(const char *s)
7143                         __attribute__warn_unused_result__
7144                         __attribute__pure__
7145                         __attribute__nonnull__(1);
7146 #define PERL_ARGS_ASSERT_REGCURLY       \
7147         assert(s)
7148
7149 #endif
7150 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
7151 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end)
7152                         __attribute__warn_unused_result__;
7153
7154 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i)
7155                         __attribute__nonnull__(pTHX_1)
7156                         __attribute__nonnull__(pTHX_2)
7157                         __attribute__nonnull__(pTHX_3); */
7158
7159 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i)
7160                         __attribute__nonnull__(pTHX_2)
7161                         __attribute__nonnull__(pTHX_4);
7162 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
7163         assert(b); assert(i)
7164
7165 PERL_CALLCONV void      Perl__invlist_invert(pTHX_ SV* const invlist)
7166                         __attribute__nonnull__(pTHX_1);
7167 #define PERL_ARGS_ASSERT__INVLIST_INVERT        \
7168         assert(invlist)
7169
7170 PERL_CALLCONV void      Perl__invlist_populate_swatch(SV* const invlist, const UV start, const UV end, U8* swatch)
7171                         __attribute__nonnull__(1)
7172                         __attribute__nonnull__(4);
7173 #define PERL_ARGS_ASSERT__INVLIST_POPULATE_SWATCH       \
7174         assert(invlist); assert(swatch)
7175
7176 /* PERL_CALLCONV void   _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
7177                         __attribute__nonnull__(pTHX_1)
7178                         __attribute__nonnull__(pTHX_2)
7179                         __attribute__nonnull__(pTHX_3); */
7180
7181 /* PERL_CALLCONV void   _invlist_union(pTHX_ SV* const a, SV* const b, SV** output)
7182                         __attribute__nonnull__(pTHX_2)
7183                         __attribute__nonnull__(pTHX_3); */
7184
7185 PERL_CALLCONV void      Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output)
7186                         __attribute__nonnull__(pTHX_2)
7187                         __attribute__nonnull__(pTHX_4);
7188 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND    \
7189         assert(b); assert(output)
7190
7191 PERL_CALLCONV SV*       Perl__new_invlist(pTHX_ IV initial_size)
7192                         __attribute__warn_unused_result__;
7193
7194 PERL_CALLCONV SV*       Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
7195                         __attribute__warn_unused_result__
7196                         __attribute__nonnull__(pTHX_3);
7197 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST  \
7198         assert(other_elements_ptr)
7199
7200 PERL_CALLCONV SV*       Perl__swash_to_invlist(pTHX_ SV* const swash)
7201                         __attribute__warn_unused_result__
7202                         __attribute__nonnull__(pTHX_1);
7203 #define PERL_ARGS_ASSERT__SWASH_TO_INVLIST      \
7204         assert(swash)
7205
7206 #endif
7207 #if defined(PERL_IN_REGEXEC_C)
7208 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
7209                         __attribute__warn_unused_result__
7210                         __attribute__nonnull__(pTHX_1)
7211                         __attribute__nonnull__(pTHX_2)
7212                         __attribute__nonnull__(pTHX_3)
7213                         __attribute__nonnull__(pTHX_4);
7214 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
7215         assert(prog); assert(c); assert(s); assert(strend)
7216
7217 STATIC bool     S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
7218                         __attribute__warn_unused_result__;
7219
7220 STATIC bool     S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character)
7221                         __attribute__warn_unused_result__
7222                         __attribute__nonnull__(pTHX_2);
7223 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC  \
7224         assert(character)
7225
7226 STATIC I32      S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
7227                         __attribute__warn_unused_result__
7228                         __attribute__nonnull__(1)
7229                         __attribute__nonnull__(2);
7230 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
7231         assert(rex); assert(scan)
7232
7233 STATIC void     S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p)
7234                         __attribute__nonnull__(pTHX_1)
7235                         __attribute__nonnull__(pTHX_2);
7236 #define PERL_ARGS_ASSERT_REGCPPOP       \
7237         assert(rex); assert(maxopenparen_p)
7238
7239 STATIC CHECKPOINT       S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen)
7240                         __attribute__nonnull__(pTHX_1);
7241 #define PERL_ARGS_ASSERT_REGCPPUSH      \
7242         assert(rex)
7243
7244 STATIC U8*      S_reghop3(U8 *s, SSize_t off, const U8 *lim)
7245                         __attribute__warn_unused_result__
7246                         __attribute__nonnull__(1)
7247                         __attribute__nonnull__(3);
7248 #define PERL_ARGS_ASSERT_REGHOP3        \
7249         assert(s); assert(lim)
7250
7251 STATIC U8*      S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
7252                         __attribute__warn_unused_result__
7253                         __attribute__nonnull__(1)
7254                         __attribute__nonnull__(3)
7255                         __attribute__nonnull__(4);
7256 #define PERL_ARGS_ASSERT_REGHOP4        \
7257         assert(s); assert(llim); assert(rlim)
7258
7259 STATIC U8*      S_reghopmaybe3(U8 *s, SSize_t off, const U8 *lim)
7260                         __attribute__warn_unused_result__
7261                         __attribute__nonnull__(1)
7262                         __attribute__nonnull__(3);
7263 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
7264         assert(s); assert(lim)
7265
7266 STATIC bool     S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
7267                         __attribute__warn_unused_result__
7268                         __attribute__nonnull__(pTHX_2)
7269                         __attribute__nonnull__(pTHX_3)
7270                         __attribute__nonnull__(pTHX_4);
7271 #define PERL_ARGS_ASSERT_REGINCLASS     \
7272         assert(n); assert(p); assert(p_end)
7273
7274 STATIC SSize_t  S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7275                         __attribute__warn_unused_result__
7276                         __attribute__nonnull__(pTHX_1)
7277                         __attribute__nonnull__(pTHX_2)
7278                         __attribute__nonnull__(pTHX_3);
7279 #define PERL_ARGS_ASSERT_REGMATCH       \
7280         assert(reginfo); assert(startpos); assert(prog)
7281
7282 STATIC I32      S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, regmatch_info *const reginfo, I32 max, int depth)
7283                         __attribute__warn_unused_result__
7284                         __attribute__nonnull__(pTHX_1)
7285                         __attribute__nonnull__(pTHX_2)
7286                         __attribute__nonnull__(pTHX_3)
7287                         __attribute__nonnull__(pTHX_4);
7288 #define PERL_ARGS_ASSERT_REGREPEAT      \
7289         assert(prog); assert(startposp); assert(p); assert(reginfo)
7290
7291 STATIC I32      S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
7292                         __attribute__warn_unused_result__
7293                         __attribute__nonnull__(pTHX_1)
7294                         __attribute__nonnull__(pTHX_2);
7295 #define PERL_ARGS_ASSERT_REGTRY \
7296         assert(reginfo); assert(startposp)
7297
7298 STATIC bool     S_to_byte_substr(pTHX_ regexp * prog)
7299                         __attribute__nonnull__(pTHX_1);
7300 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
7301         assert(prog)
7302
7303 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog)
7304                         __attribute__nonnull__(pTHX_1);
7305 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
7306         assert(prog)
7307
7308 #endif
7309 #if defined(PERL_IN_SCOPE_C)
7310 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
7311 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
7312                         __attribute__nonnull__(pTHX_1);
7313 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
7314         assert(sptr)
7315
7316 #endif
7317 #if defined(PERL_IN_SV_C)
7318 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len)
7319                         __attribute__nonnull__(2)
7320                         __attribute__nonnull__(3);
7321 #define PERL_ARGS_ASSERT_F0CONVERT      \
7322         assert(endbuf); assert(len)
7323
7324 STATIC void     S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv)
7325                         __attribute__nonnull__(pTHX_1)
7326                         __attribute__nonnull__(pTHX_2);
7327 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE     \
7328         assert(gv); assert(cv)
7329
7330 STATIC void     S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv)
7331                         __attribute__nonnull__(pTHX_1)
7332                         __attribute__nonnull__(pTHX_4);
7333 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT     \
7334         assert(func); assert(sv)
7335
7336 STATIC bool     S_curse(pTHX_ SV * const sv, const bool check_refcnt)
7337                         __attribute__nonnull__(pTHX_1);
7338 #define PERL_ARGS_ASSERT_CURSE  \
7339         assert(sv)
7340
7341 STATIC I32      S_expect_number(pTHX_ char **const pattern)
7342                         __attribute__warn_unused_result__
7343                         __attribute__nonnull__(pTHX_1);
7344 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
7345         assert(pattern)
7346
7347 STATIC I32      S_find_array_subscript(pTHX_ const AV *const av, const SV *const val)
7348                         __attribute__nonnull__(pTHX_2);
7349 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
7350         assert(val)
7351
7352 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val)
7353                         __attribute__nonnull__(pTHX_2);
7354 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
7355         assert(val)
7356
7357 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool top);
7358 STATIC bool     S_glob_2number(pTHX_ GV* const gv)
7359                         __attribute__nonnull__(pTHX_1);
7360 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
7361         assert(gv)
7362
7363 STATIC void     S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype)
7364                         __attribute__nonnull__(pTHX_1)
7365                         __attribute__nonnull__(pTHX_2);
7366 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
7367         assert(dstr); assert(sstr)
7368
7369 STATIC void     S_glob_assign_ref(pTHX_ SV *const dstr, SV *const sstr)
7370                         __attribute__nonnull__(pTHX_1)
7371                         __attribute__nonnull__(pTHX_2);
7372 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_REF        \
7373         assert(dstr); assert(sstr)
7374
7375 STATIC SV *     S_more_sv(pTHX);
7376 STATIC void     S_not_a_number(pTHX_ SV *const sv)
7377                         __attribute__nonnull__(pTHX_1);
7378 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
7379         assert(sv)
7380
7381 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
7382                         __attribute__warn_unused_result__
7383                         __attribute__nonnull__(1);
7384 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
7385         assert(tbl)
7386
7387 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv)
7388                         __attribute__nonnull__(pTHX_1);
7389 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
7390         assert(sv)
7391
7392 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
7393                         __attribute__nonnull__(pTHX_1);
7394 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
7395         assert(ptr)
7396
7397 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu)
7398                         __attribute__nonnull__(pTHX_1)
7399                         __attribute__nonnull__(pTHX_2)
7400                         __attribute__nonnull__(pTHX_3);
7401 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
7402         assert(s); assert(target); assert(end)
7403
7404 STATIC STRLEN   S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0)
7405                         __attribute__nonnull__(pTHX_1)
7406                         __attribute__nonnull__(pTHX_2)
7407                         __attribute__nonnull__(pTHX_3)
7408                         __attribute__nonnull__(pTHX_4);
7409 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
7410         assert(sv); assert(mgp); assert(start); assert(send)
7411
7412 STATIC STRLEN   S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end)
7413                         __attribute__nonnull__(1)
7414                         __attribute__nonnull__(2)
7415                         __attribute__nonnull__(3)
7416                         __attribute__nonnull__(4);
7417 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
7418         assert(start); assert(send); assert(uoffset); assert(at_end)
7419
7420 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend)
7421                         __attribute__nonnull__(1)
7422                         __attribute__nonnull__(2);
7423 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
7424         assert(start); assert(send)
7425
7426 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags)
7427                         __attribute__nonnull__(pTHX_1);
7428 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
7429         assert(sv)
7430
7431 STATIC char *   S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
7432                         __attribute__warn_unused_result__
7433                         __attribute__nonnull__(1)
7434                         __attribute__nonnull__(5);
7435 #define PERL_ARGS_ASSERT_UIV_2BUF       \
7436         assert(buf); assert(peob)
7437
7438 STATIC void     S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen)
7439                         __attribute__nonnull__(pTHX_1)
7440                         __attribute__nonnull__(pTHX_2);
7441 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE       \
7442         assert(sv); assert(mgp)
7443
7444 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen)
7445                         __attribute__nonnull__(pTHX_1)
7446                         __attribute__nonnull__(pTHX_2);
7447 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
7448         assert(sv); assert(mgp)
7449
7450 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask)
7451                         __attribute__nonnull__(pTHX_1);
7452 #define PERL_ARGS_ASSERT_VISIT  \
7453         assert(f)
7454
7455 #  if defined(PERL_OLD_COPY_ON_WRITE)
7456 STATIC void     S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after)
7457                         __attribute__nonnull__(pTHX_1)
7458                         __attribute__nonnull__(pTHX_2)
7459                         __attribute__nonnull__(pTHX_3);
7460 #define PERL_ARGS_ASSERT_SV_RELEASE_COW \
7461         assert(sv); assert(pvx); assert(after)
7462
7463 #  endif
7464 #  if defined(USE_ITHREADS)
7465 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
7466                         __attribute__warn_unused_result__
7467                         __attribute__nonnull__(pTHX_1)
7468                         __attribute__nonnull__(pTHX_2);
7469 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
7470         assert(sstr); assert(param)
7471
7472 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param)
7473                         __attribute__nonnull__(pTHX_1)
7474                         __attribute__nonnull__(pTHX_2)
7475                         __attribute__nonnull__(pTHX_4);
7476 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
7477         assert(source); assert(dest); assert(param)
7478
7479 STATIC void     S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced)
7480                         __attribute__nonnull__(pTHX_1);
7481 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK      \
7482         assert(unreferenced)
7483
7484 #  endif
7485 #endif
7486 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
7487 PERL_CALLCONV SV *      Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, I32 aindex, int subscript_type)
7488                         __attribute__warn_unused_result__;
7489
7490 #endif
7491 #if defined(PERL_IN_TOKE_C)
7492 STATIC int      S_ao(pTHX_ int toketype);
7493 STATIC void     S_check_uni(pTHX);
7494 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what)
7495                         __attribute__nonnull__(pTHX_1)
7496                         __attribute__nonnull__(pTHX_2)
7497                         __attribute__nonnull__(pTHX_3);
7498 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
7499         assert(s); assert(name); assert(what)
7500
7501 STATIC int      S_deprecate_commaless_var_list(pTHX);
7502 STATIC char *   S_filter_gets(pTHX_ SV *sv, STRLEN append)
7503                         __attribute__warn_unused_result__
7504                         __attribute__nonnull__(pTHX_1);
7505 #define PERL_ARGS_ASSERT_FILTER_GETS    \
7506         assert(sv)
7507
7508 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
7509                         __attribute__warn_unused_result__
7510                         __attribute__nonnull__(pTHX_1);
7511 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
7512         assert(pkgname)
7513
7514 STATIC void     S_force_ident(pTHX_ const char *s, int kind)
7515                         __attribute__nonnull__(pTHX_1);
7516 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
7517         assert(s)
7518
7519 STATIC void     S_force_ident_maybe_lex(pTHX_ char pit);
7520 STATIC void     S_force_next(pTHX_ I32 type);
7521 STATIC char*    S_force_strict_version(pTHX_ char *s)
7522                         __attribute__nonnull__(pTHX_1);
7523 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION   \
7524         assert(s)
7525
7526 STATIC char*    S_force_version(pTHX_ char *s, int guessing)
7527                         __attribute__nonnull__(pTHX_1);
7528 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
7529         assert(s)
7530
7531 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack)
7532                         __attribute__nonnull__(pTHX_1);
7533 #define PERL_ARGS_ASSERT_FORCE_WORD     \
7534         assert(start)
7535
7536 PERL_STATIC_INLINE SV*  S_get_and_check_backslash_N_name(pTHX_ const char* s, const char* const e)
7537                         __attribute__warn_unused_result__
7538                         __attribute__nonnull__(pTHX_1)
7539                         __attribute__nonnull__(pTHX_2);
7540 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
7541         assert(s); assert(e)
7542
7543 STATIC void     S_incline(pTHX_ const char *s)
7544                         __attribute__nonnull__(pTHX_1);
7545 #define PERL_ARGS_ASSERT_INCLINE        \
7546         assert(s)
7547
7548 STATIC int      S_intuit_method(pTHX_ char *s, GV *gv, CV *cv)
7549                         __attribute__nonnull__(pTHX_1);
7550 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
7551         assert(s)
7552
7553 STATIC int      S_intuit_more(pTHX_ char *s)
7554                         __attribute__nonnull__(pTHX_1);
7555 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
7556         assert(s)
7557
7558 STATIC I32      S_lop(pTHX_ I32 f, int x, char *s)
7559                         __attribute__nonnull__(pTHX_3);
7560 #define PERL_ARGS_ASSERT_LOP    \
7561         assert(s)
7562
7563 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s)
7564                         __attribute__noreturn__;
7565
7566 STATIC SV*      S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen)
7567                         __attribute__nonnull__(pTHX_3)
7568                         __attribute__nonnull__(pTHX_5);
7569 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
7570         assert(key); assert(sv)
7571
7572 STATIC void     S_no_op(pTHX_ const char *const what, char *s)
7573                         __attribute__nonnull__(pTHX_1);
7574 #define PERL_ARGS_ASSERT_NO_OP  \
7575         assert(what)
7576
7577 STATIC void     S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8)
7578                         __attribute__nonnull__(pTHX_1)
7579                         __attribute__nonnull__(pTHX_2)
7580                         __attribute__nonnull__(pTHX_3);
7581 #define PERL_ARGS_ASSERT_PARSE_IDENT    \
7582         assert(s); assert(d); assert(e)
7583
7584 STATIC int      S_pending_ident(pTHX);
7585 STATIC char*    S_scan_const(pTHX_ char *start)
7586                         __attribute__warn_unused_result__
7587                         __attribute__nonnull__(pTHX_1);
7588 #define PERL_ARGS_ASSERT_SCAN_CONST     \
7589         assert(start)
7590
7591 STATIC char*    S_scan_formline(pTHX_ char *s)
7592                         __attribute__warn_unused_result__
7593                         __attribute__nonnull__(pTHX_1);
7594 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
7595         assert(s)
7596
7597 STATIC char*    S_scan_heredoc(pTHX_ char *s)
7598                         __attribute__warn_unused_result__
7599                         __attribute__nonnull__(pTHX_1);
7600 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
7601         assert(s)
7602
7603 STATIC char*    S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni)
7604                         __attribute__nonnull__(pTHX_1)
7605                         __attribute__nonnull__(pTHX_2);
7606 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
7607         assert(s); assert(dest)
7608
7609 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
7610                         __attribute__warn_unused_result__
7611                         __attribute__nonnull__(pTHX_1);
7612 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
7613         assert(start)
7614
7615 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
7616                         __attribute__warn_unused_result__
7617                         __attribute__nonnull__(pTHX_1);
7618 #define PERL_ARGS_ASSERT_SCAN_PAT       \
7619         assert(start)
7620
7621 STATIC char*    S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
7622                         __attribute__warn_unused_result__
7623                         __attribute__nonnull__(pTHX_1);
7624 #define PERL_ARGS_ASSERT_SCAN_STR       \
7625         assert(start)
7626
7627 STATIC char*    S_scan_subst(pTHX_ char *start)
7628                         __attribute__warn_unused_result__
7629                         __attribute__nonnull__(pTHX_1);
7630 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
7631         assert(start)
7632
7633 STATIC char*    S_scan_trans(pTHX_ char *start)
7634                         __attribute__warn_unused_result__
7635                         __attribute__nonnull__(pTHX_1);
7636 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
7637         assert(start)
7638
7639 STATIC char*    S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp)
7640                         __attribute__nonnull__(pTHX_1)
7641                         __attribute__nonnull__(pTHX_2)
7642                         __attribute__nonnull__(pTHX_5);
7643 #define PERL_ARGS_ASSERT_SCAN_WORD      \
7644         assert(s); assert(dest); assert(slp)
7645
7646 STATIC char*    S_skipspace_flags(pTHX_ char *s, U32 flags)
7647                         __attribute__warn_unused_result__
7648                         __attribute__nonnull__(pTHX_1);
7649 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
7650         assert(s)
7651
7652 STATIC I32      S_sublex_done(pTHX)
7653                         __attribute__warn_unused_result__;
7654
7655 STATIC I32      S_sublex_push(pTHX)
7656                         __attribute__warn_unused_result__;
7657
7658 STATIC I32      S_sublex_start(pTHX)
7659                         __attribute__warn_unused_result__;
7660
7661 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
7662                         __attribute__warn_unused_result__
7663                         __attribute__nonnull__(pTHX_1);
7664 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
7665         assert(s)
7666
7667 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
7668                         __attribute__warn_unused_result__
7669                         __attribute__nonnull__(pTHX_2);
7670 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
7671         assert(s)
7672
7673 STATIC SV*      S_tokeq(pTHX_ SV *sv)
7674                         __attribute__nonnull__(pTHX_1);
7675 #define PERL_ARGS_ASSERT_TOKEQ  \
7676         assert(sv)
7677
7678 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
7679 STATIC int      S_yywarn(pTHX_ const char *const s, U32 flags)
7680                         __attribute__nonnull__(pTHX_1);
7681 #define PERL_ARGS_ASSERT_YYWARN \
7682         assert(s)
7683
7684 #endif
7685 #if defined(PERL_IN_UNIVERSAL_C)
7686 STATIC bool     S_isa_lookup(pTHX_ HV *stash, const char * const name, STRLEN len, U32 flags)
7687                         __attribute__nonnull__(pTHX_1)
7688                         __attribute__nonnull__(pTHX_2);
7689 #define PERL_ARGS_ASSERT_ISA_LOOKUP     \
7690         assert(stash); assert(name)
7691
7692 #endif
7693 #if defined(PERL_IN_UTF8_C)
7694 STATIC UV       S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
7695                         __attribute__warn_unused_result__
7696                         __attribute__nonnull__(pTHX_1)
7697                         __attribute__nonnull__(pTHX_3)
7698                         __attribute__nonnull__(pTHX_4);
7699 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
7700         assert(p); assert(ustrp); assert(lenp)
7701
7702 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname, SV* const invlist)
7703                         __attribute__warn_unused_result__
7704                         __attribute__nonnull__(pTHX_1)
7705                         __attribute__nonnull__(pTHX_2)
7706                         __attribute__nonnull__(pTHX_3);
7707 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
7708         assert(p); assert(swash); assert(swashname)
7709
7710 STATIC U8*      S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val, const bool wants_value, const U8* const typestr)
7711                         __attribute__warn_unused_result__
7712                         __attribute__nonnull__(pTHX_1)
7713                         __attribute__nonnull__(pTHX_2)
7714                         __attribute__nonnull__(pTHX_3)
7715                         __attribute__nonnull__(pTHX_4)
7716                         __attribute__nonnull__(pTHX_5)
7717                         __attribute__nonnull__(pTHX_7);
7718 #define PERL_ARGS_ASSERT_SWASH_SCAN_LIST_LINE   \
7719         assert(l); assert(lend); assert(min); assert(max); assert(val); assert(typestr)
7720
7721 STATIC SV*      S_swatch_get(pTHX_ SV* swash, UV start, UV span)
7722                         __attribute__warn_unused_result__
7723                         __attribute__nonnull__(pTHX_1);
7724 #define PERL_ARGS_ASSERT_SWATCH_GET     \
7725         assert(swash)
7726
7727 STATIC U8       S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp)
7728                         __attribute__warn_unused_result__;
7729
7730 #endif
7731 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
7732 PERL_CALLCONV UV        Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7733                         __attribute__nonnull__(pTHX_2)
7734                         __attribute__nonnull__(pTHX_3);
7735 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7736         assert(p); assert(lenp)
7737
7738 #endif
7739 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
7740 PERL_CALLCONV UV        Perl__to_fold_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags)
7741                         __attribute__nonnull__(pTHX_2)
7742                         __attribute__nonnull__(pTHX_3);
7743 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1        \
7744         assert(p); assert(lenp)
7745
7746 #endif
7747 #if defined(PERL_IN_UTIL_C)
7748 STATIC bool     S_ckwarn_common(pTHX_ U32 w);
7749 STATIC bool     S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
7750 STATIC SV*      S_mess_alloc(pTHX);
7751 STATIC SV *     S_with_queued_errors(pTHX_ SV *ex)
7752                         __attribute__nonnull__(pTHX_1);
7753 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS     \
7754         assert(ex)
7755
7756 #  if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
7757 STATIC void     S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname)
7758                         __attribute__nonnull__(4)
7759                         __attribute__nonnull__(8)
7760                         __attribute__nonnull__(10);
7761 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
7762         assert(type_name); assert(filename); assert(funcname)
7763
7764 #  endif
7765 #endif
7766 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
7767 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
7768 #endif
7769 #if defined(UNLINK_ALL_VERSIONS)
7770 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f)
7771                         __attribute__nonnull__(pTHX_1);
7772 #define PERL_ARGS_ASSERT_UNLNK  \
7773         assert(f)
7774
7775 #endif
7776 #if defined(USE_C_BACKTRACE)
7777 PERL_CALLCONV bool      Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip)
7778                         __attribute__nonnull__(pTHX_1);
7779 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE       \
7780         assert(fp)
7781
7782 /* PERL_CALLCONV void   free_c_backtrace(pTHX_ Perl_c_backtrace* bt)
7783                         __attribute__nonnull__(pTHX_1); */
7784
7785 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip);
7786 PERL_CALLCONV SV*       Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
7787 #endif
7788 #if defined(USE_ITHREADS)
7789 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv)
7790                         __attribute__nonnull__(pTHX_1);
7791 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH  \
7792         assert(hv)
7793
7794 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
7795                         __attribute__warn_unused_result__
7796                         __attribute__nonnull__(pTHX_2);
7797 #define PERL_ARGS_ASSERT_ANY_DUP        \
7798         assert(proto_perl)
7799
7800 PERL_CALLCONV void      Perl_clone_params_del(CLONE_PARAMS *param)
7801                         __attribute__nonnull__(1);
7802 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL       \
7803         assert(param)
7804
7805 PERL_CALLCONV CLONE_PARAMS *    Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
7806                         __attribute__malloc__
7807                         __attribute__warn_unused_result__
7808                         __attribute__nonnull__(1)
7809                         __attribute__nonnull__(2);
7810 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW       \
7811         assert(from); assert(to)
7812
7813 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
7814                         __attribute__warn_unused_result__
7815                         __attribute__nonnull__(pTHX_4);
7816 #define PERL_ARGS_ASSERT_CX_DUP \
7817         assert(param)
7818
7819 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
7820                         __attribute__warn_unused_result__
7821                         __attribute__nonnull__(pTHX_2);
7822 #define PERL_ARGS_ASSERT_DIRP_DUP       \
7823         assert(param)
7824
7825 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
7826                         __attribute__nonnull__(pTHX_3);
7827 #define PERL_ARGS_ASSERT_FP_DUP \
7828         assert(param)
7829
7830 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
7831                         __attribute__warn_unused_result__
7832                         __attribute__nonnull__(pTHX_2);
7833 #define PERL_ARGS_ASSERT_GP_DUP \
7834         assert(param)
7835
7836 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
7837                         __attribute__warn_unused_result__
7838                         __attribute__nonnull__(pTHX_3);
7839 #define PERL_ARGS_ASSERT_HE_DUP \
7840         assert(param)
7841
7842 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
7843                         __attribute__warn_unused_result__
7844                         __attribute__nonnull__(pTHX_2);
7845 #define PERL_ARGS_ASSERT_HEK_DUP        \
7846         assert(param)
7847
7848 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
7849                         __attribute__warn_unused_result__
7850                         __attribute__nonnull__(pTHX_2);
7851 #define PERL_ARGS_ASSERT_MG_DUP \
7852         assert(param)
7853
7854 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
7855                         __attribute__nonnull__(pTHX_1)
7856                         __attribute__nonnull__(pTHX_2);
7857 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
7858         assert(smeta); assert(param)
7859
7860 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
7861                         __attribute__malloc__
7862                         __attribute__warn_unused_result__
7863                         __attribute__nonnull__(pTHX_3);
7864 #define PERL_ARGS_ASSERT_NEWPADOP       \
7865         assert(sv)
7866
7867 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
7868                         __attribute__warn_unused_result__
7869                         __attribute__nonnull__(pTHX_2);
7870 #define PERL_ARGS_ASSERT_PADLIST_DUP    \
7871         assert(param)
7872
7873 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param)
7874                         __attribute__nonnull__(pTHX_2);
7875 #define PERL_ARGS_ASSERT_PARSER_DUP     \
7876         assert(param)
7877
7878 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags)
7879                         __attribute__nonnull__(1);
7880 #define PERL_ARGS_ASSERT_PERL_CLONE     \
7881         assert(proto_perl)
7882
7883 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
7884                         __attribute__nonnull__(pTHX_1)
7885                         __attribute__nonnull__(pTHX_2)
7886                         __attribute__nonnull__(pTHX_3);
7887 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
7888         assert(sstr); assert(dstr); assert(param)
7889
7890 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
7891                         __attribute__nonnull__(pTHX_1)
7892                         __attribute__nonnull__(pTHX_2);
7893 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
7894         assert(r); assert(param)
7895
7896 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
7897                         __attribute__nonnull__(pTHX_1)
7898                         __attribute__nonnull__(pTHX_2)
7899                         __attribute__nonnull__(pTHX_3);
7900 #define PERL_ARGS_ASSERT_RVPV_DUP       \
7901         assert(dstr); assert(sstr); assert(param)
7902
7903 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
7904                         __attribute__warn_unused_result__
7905                         __attribute__nonnull__(pTHX_2);
7906 #define PERL_ARGS_ASSERT_SI_DUP \
7907         assert(param)
7908
7909 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
7910                         __attribute__malloc__
7911                         __attribute__warn_unused_result__
7912                         __attribute__nonnull__(pTHX_1)
7913                         __attribute__nonnull__(pTHX_2);
7914 #define PERL_ARGS_ASSERT_SS_DUP \
7915         assert(proto_perl); assert(param)
7916
7917 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
7918                         __attribute__warn_unused_result__
7919                         __attribute__nonnull__(pTHX_2);
7920 #define PERL_ARGS_ASSERT_SV_DUP \
7921         assert(param)
7922
7923 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
7924                         __attribute__warn_unused_result__
7925                         __attribute__nonnull__(pTHX_2);
7926 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
7927         assert(param)
7928
7929 #endif
7930 #if defined(USE_LOCALE)     && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX))
7931 PERL_CALLCONV bool      Perl__is_cur_LC_category_utf8(pTHX_ int category);
7932 STATIC char*    S_stdize_locale(pTHX_ char* locs)
7933                         __attribute__nonnull__(pTHX_1);
7934 #define PERL_ARGS_ASSERT_STDIZE_LOCALE  \
7935         assert(locs)
7936
7937 #endif
7938 #if defined(USE_LOCALE_COLLATE)
7939 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
7940                         __attribute__nonnull__(pTHX_1)
7941                         __attribute__nonnull__(pTHX_2);
7942 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
7943         assert(sv); assert(mg)
7944
7945 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
7946                         __attribute__nonnull__(pTHX_1)
7947                         __attribute__nonnull__(pTHX_3);
7948 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
7949         assert(s); assert(xlen)
7950
7951 /* PERL_CALLCONV char*  sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
7952                         __attribute__nonnull__(pTHX_1)
7953                         __attribute__nonnull__(pTHX_2); */
7954
7955 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags)
7956                         __attribute__nonnull__(pTHX_1)
7957                         __attribute__nonnull__(pTHX_2);
7958 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
7959         assert(sv); assert(nxp)
7960
7961 #endif
7962 #if defined(USE_PERLIO)
7963 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
7964 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
7965 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
7966 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
7967 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
7968 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
7969 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
7970 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
7971 PERL_CALLCONV SSize_t   Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
7972                         __attribute__warn_unused_result__;
7973
7974 PERL_CALLCONV SSize_t   Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
7975                         __attribute__warn_unused_result__;
7976
7977 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
7978 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count)
7979                         __attribute__nonnull__(pTHX_2);
7980 #define PERL_ARGS_ASSERT_PERLIO_READ    \
7981         assert(vbuf)
7982
7983 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
7984 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
7985 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
7986 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
7987 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
7988                         __attribute__warn_unused_result__;
7989
7990 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
7991                         __attribute__warn_unused_result__;
7992
7993 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
7994                         __attribute__warn_unused_result__;
7995
7996 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
7997 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
7998                         __attribute__nonnull__(pTHX_2);
7999 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
8000         assert(vbuf)
8001
8002 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
8003                         __attribute__nonnull__(pTHX_2);
8004 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
8005         assert(vbuf)
8006
8007 #endif
8008 #if defined(WIN32)
8009 PERL_CALLCONV char*     Perl_my_setlocale(pTHX_ int category, const char* locale)
8010                         __attribute__pure__;
8011
8012 PERL_CALLCONV_NO_RET void       win32_croak_not_implemented(const char * fname)
8013                         __attribute__noreturn__
8014                         __attribute__nonnull__(1);
8015 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED    \
8016         assert(fname)
8017
8018 #endif
8019 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
8020 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
8021                         __attribute__nonnull__(pTHX_2)
8022                         __attribute__nonnull__(pTHX_3);
8023 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
8024         assert(mark); assert(sp)
8025
8026 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd)
8027                         __attribute__nonnull__(pTHX_1);
8028 #define PERL_ARGS_ASSERT_DO_SPAWN       \
8029         assert(cmd)
8030
8031 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd)
8032                         __attribute__nonnull__(pTHX_1);
8033 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
8034         assert(cmd)
8035
8036 #endif
8037 #if defined(_MSC_VER)
8038 PERL_CALLCONV OP*       Perl_die(pTHX_ const char* pat, ...)
8039                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
8040
8041 PERL_CALLCONV OP*       Perl_die_sv(pTHX_ SV *baseex)
8042                         __attribute__nonnull__(pTHX_1);
8043 #define PERL_ARGS_ASSERT_DIE_SV \
8044         assert(baseex)
8045
8046 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
8047                         __attribute__nonnull__(pTHX_1)
8048                         __attribute__nonnull__(pTHX_2);
8049 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
8050         assert(sv); assert(mg)
8051
8052 PERL_CALLCONV char*     Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
8053                         __attribute__nonnull__(pTHX_1)
8054                         __attribute__nonnull__(pTHX_2)
8055                         __attribute__nonnull__(pTHX_5);
8056 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
8057         assert(bigstr); assert(littlestr); assert(old_posp)
8058
8059 #endif
8060 #ifdef PERL_CORE
8061 #  include "pp_proto.h"
8062 #endif
8063 END_EXTERN_C
8064
8065 /* ex: set ro: */