This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Move comment to better place
[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 #ifndef NO_MATHOMS
21 PERL_CALLCONV UV        ASCII_TO_NEED(const UV enc, const UV ch)
22                         __attribute__deprecated__
23                         __attribute__warn_unused_result__
24                         __attribute__pure__;
25 #define PERL_ARGS_ASSERT_ASCII_TO_NEED
26 #endif
27
28 #ifndef PERL_NO_INLINE_FUNCTIONS
29 PERL_STATIC_INLINE I32 *        Perl_CvDEPTH(const CV * const sv);
30 #define PERL_ARGS_ASSERT_CVDEPTH        \
31         assert(sv)
32 #endif
33 #ifndef PERL_NO_INLINE_FUNCTIONS
34 PERL_STATIC_INLINE GV * Perl_CvGV(pTHX_ CV *sv);
35 #define PERL_ARGS_ASSERT_CVGV   \
36         assert(sv)
37 #endif
38 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
39 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
40         assert(stash)
41 #ifndef NO_MATHOMS
42 PERL_CALLCONV UV        NATIVE_TO_NEED(const UV enc, const UV ch)
43                         __attribute__deprecated__
44                         __attribute__warn_unused_result__
45                         __attribute__pure__;
46 #define PERL_ARGS_ASSERT_NATIVE_TO_NEED
47 #endif
48
49 #ifndef PERL_NO_INLINE_FUNCTIONS
50 PERL_STATIC_INLINE I32  Perl_POPMARK(pTHX);
51 #define PERL_ARGS_ASSERT_POPMARK
52 #endif
53 PERL_CALLCONV const char *      Perl_PerlIO_context_layers(pTHX_ const char *mode);
54 #define PERL_ARGS_ASSERT_PERLIO_CONTEXT_LAYERS
55 PERL_CALLCONV int       Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd);
56 #define PERL_ARGS_ASSERT_PERLLIO_DUP2_CLOEXEC
57 PERL_CALLCONV int       Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
58                         __attribute__warn_unused_result__;
59 #define PERL_ARGS_ASSERT_PERLLIO_DUP_CLOEXEC
60
61 PERL_CALLCONV int       Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
62                         __attribute__warn_unused_result__;
63 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC  \
64         assert(file)
65
66 PERL_CALLCONV int       Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
67                         __attribute__warn_unused_result__;
68 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC   \
69         assert(file)
70
71 /* PERL_CALLCONV const XOP *    Perl_custom_op_xop(pTHX_ const OP *o); */
72 #define PERL_ARGS_ASSERT_PERL_CUSTOM_OP_XOP
73 PERL_CALLCONV const char*       Perl_setlocale(const int category, const char* locale);
74 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
75 #ifndef PERL_NO_INLINE_FUNCTIONS
76 PERL_STATIC_INLINE struct regexp *      Perl_ReANY(const REGEXP * const re);
77 #define PERL_ARGS_ASSERT_REANY  \
78         assert(re)
79 #endif
80 PERL_CALLCONV void*     Perl_Slab_Alloc(pTHX_ size_t sz)
81                         __attribute__warn_unused_result__;
82 #define PERL_ARGS_ASSERT_SLAB_ALLOC
83
84 PERL_CALLCONV void      Perl_Slab_Free(pTHX_ void *op);
85 #define PERL_ARGS_ASSERT_SLAB_FREE      \
86         assert(op)
87 #ifndef PERL_NO_INLINE_FUNCTIONS
88 PERL_STATIC_INLINE void Perl_SvAMAGIC_off(SV *sv);
89 #define PERL_ARGS_ASSERT_SVAMAGIC_OFF   \
90         assert(sv)
91 #endif
92 #ifndef PERL_NO_INLINE_FUNCTIONS
93 PERL_STATIC_INLINE void Perl_SvAMAGIC_on(SV *sv);
94 #define PERL_ARGS_ASSERT_SVAMAGIC_ON    \
95         assert(sv)
96 #endif
97 #ifndef PERL_NO_INLINE_FUNCTIONS
98 PERL_STATIC_INLINE void Perl_SvREFCNT_dec(pTHX_ SV *sv);
99 #define PERL_ARGS_ASSERT_SVREFCNT_DEC
100 #endif
101 #ifndef PERL_NO_INLINE_FUNCTIONS
102 PERL_STATIC_INLINE void Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
103 #define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN        \
104         assert(sv)
105 #endif
106 #ifndef PERL_NO_INLINE_FUNCTIONS
107 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc(SV *sv);
108 #define PERL_ARGS_ASSERT_SVREFCNT_INC
109 #endif
110 #ifndef PERL_NO_INLINE_FUNCTIONS
111 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc_NN(SV *sv);
112 #define PERL_ARGS_ASSERT_SVREFCNT_INC_NN        \
113         assert(sv)
114 #endif
115 #ifndef PERL_NO_INLINE_FUNCTIONS
116 PERL_STATIC_INLINE void Perl_SvREFCNT_inc_void(SV *sv);
117 #define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
118 #endif
119 #ifndef PERL_NO_INLINE_FUNCTIONS
120 PERL_STATIC_INLINE I32  Perl_TOPMARK(pTHX);
121 #define PERL_ARGS_ASSERT_TOPMARK
122 #endif
123 PERL_CALLCONV char *    Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
124 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING      \
125         assert(start)
126 PERL_CALLCONV void      Perl__force_out_malformed_utf8_message(pTHX_ const U8 *const p, const U8 * const e, const U32 flags, const bool die_here);
127 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE      \
128         assert(p); assert(e)
129 PERL_CALLCONV Size_t    Perl__inverse_folds(pTHX_ const UV cp, U32 * first_folds_to, const U32 ** remaining_folds_to)
130                         __attribute__warn_unused_result__;
131 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
132         assert(first_folds_to); assert(remaining_folds_to)
133
134 PERL_CALLCONV bool      Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
135 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
136 PERL_CALLCONV bool      Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
137                         __attribute__warn_unused_result__;
138 #define PERL_ARGS_ASSERT__IS_UNI_FOO
139
140 PERL_CALLCONV bool      Perl__is_uni_perl_idcont(pTHX_ UV c)
141                         __attribute__warn_unused_result__;
142 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
143
144 PERL_CALLCONV bool      Perl__is_uni_perl_idstart(pTHX_ UV c)
145                         __attribute__warn_unused_result__;
146 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
147
148 PERL_CALLCONV bool      Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
149                         __attribute__warn_unused_result__;
150 #define PERL_ARGS_ASSERT__IS_UTF8_FOO   \
151         assert(p); assert(e)
152
153 PERL_CALLCONV bool      Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
154                         __attribute__warn_unused_result__;
155 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT   \
156         assert(p); assert(e)
157
158 PERL_CALLCONV bool      Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
159                         __attribute__warn_unused_result__;
160 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART  \
161         assert(p); assert(e)
162
163 PERL_CALLCONV UV        Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
164 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS     \
165         assert(p); assert(lenp)
166 PERL_CALLCONV UV        Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, U8 flags);
167 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS    \
168         assert(p); assert(ustrp)
169 PERL_CALLCONV UV        Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
170 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS   \
171         assert(p); assert(ustrp)
172 PERL_CALLCONV UV        Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
173 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS   \
174         assert(p); assert(ustrp)
175 PERL_CALLCONV UV        Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, bool flags);
176 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS   \
177         assert(p); assert(ustrp)
178 PERL_CALLCONV UV        Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
179 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER    \
180         assert(s)
181 PERL_CALLCONV void      Perl__warn_problematic_locale(void);
182 #define PERL_ARGS_ASSERT__WARN_PROBLEMATIC_LOCALE
183 PERL_CALLCONV_NO_RET void       Perl_abort_execution(pTHX_ const char * const msg, const char * const name)
184                         __attribute__noreturn__;
185 #define PERL_ARGS_ASSERT_ABORT_EXECUTION        \
186         assert(msg); assert(name)
187
188 PERL_CALLCONV LOGOP*    Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other);
189 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
190 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags);
191 #define PERL_ARGS_ASSERT_ALLOCMY        \
192         assert(name)
193 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
194 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
195         assert(left); assert(right)
196 PERL_CALLCONV SV *      Perl_amagic_deref_call(pTHX_ SV *ref, int method);
197 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL      \
198         assert(ref)
199 PERL_CALLCONV bool      Perl_amagic_is_enabled(pTHX_ int method);
200 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
201 #ifndef PERL_NO_INLINE_FUNCTIONS
202 PERL_STATIC_INLINE void Perl_append_utf8_from_native_byte(const U8 byte, U8** dest);
203 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE   \
204         assert(dest)
205 #endif
206 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
207 #define PERL_ARGS_ASSERT_APPLY  \
208         assert(mark); assert(sp)
209 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
210 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
211         assert(stashpv); assert(cv); assert(attrstr)
212 PERL_CALLCONV void      Perl_atfork_lock(void);
213 #define PERL_ARGS_ASSERT_ATFORK_LOCK
214 PERL_CALLCONV void      Perl_atfork_unlock(void);
215 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
216 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av);
217 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
218         assert(av)
219 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av);
220 #define PERL_ARGS_ASSERT_AV_CLEAR       \
221         assert(av)
222 #ifndef PERL_NO_INLINE_FUNCTIONS
223 PERL_STATIC_INLINE Size_t       Perl_av_count(pTHX_ AV *av)
224                         __attribute__warn_unused_result__;
225 #define PERL_ARGS_ASSERT_AV_COUNT       \
226         assert(av)
227 #endif
228
229 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
230 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
231         assert(avp); assert(val)
232 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
233 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
234         assert(avp); assert(val)
235 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
236 #define PERL_ARGS_ASSERT_AV_DELETE      \
237         assert(av)
238 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, SSize_t key)
239                         __attribute__warn_unused_result__;
240 #define PERL_ARGS_ASSERT_AV_EXISTS      \
241         assert(av)
242
243 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, SSize_t key);
244 #define PERL_ARGS_ASSERT_AV_EXTEND      \
245         assert(av)
246 PERL_CALLCONV void      Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp);
247 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
248         assert(maxp); assert(allocp); assert(arrayp)
249 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
250                         __attribute__warn_unused_result__;
251 #define PERL_ARGS_ASSERT_AV_FETCH       \
252         assert(av)
253
254 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, SSize_t fill);
255 #define PERL_ARGS_ASSERT_AV_FILL        \
256         assert(av)
257 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av);
258 #define PERL_ARGS_ASSERT_AV_ITER_P      \
259         assert(av)
260 PERL_CALLCONV SSize_t   Perl_av_len(pTHX_ AV *av)
261                         __attribute__warn_unused_result__;
262 #define PERL_ARGS_ASSERT_AV_LEN \
263         assert(av)
264
265 PERL_CALLCONV AV*       Perl_av_make(pTHX_ SSize_t size, SV **strp)
266                         __attribute__warn_unused_result__;
267 #define PERL_ARGS_ASSERT_AV_MAKE        \
268         assert(strp)
269
270 PERL_CALLCONV SV*       Perl_av_nonelem(pTHX_ AV *av, SSize_t ix);
271 #define PERL_ARGS_ASSERT_AV_NONELEM     \
272         assert(av)
273 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av);
274 #define PERL_ARGS_ASSERT_AV_POP \
275         assert(av)
276 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val);
277 #define PERL_ARGS_ASSERT_AV_PUSH        \
278         assert(av); assert(val)
279 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av);
280 #define PERL_ARGS_ASSERT_AV_REIFY       \
281         assert(av)
282 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
283                         __attribute__warn_unused_result__;
284 #define PERL_ARGS_ASSERT_AV_SHIFT       \
285         assert(av)
286
287 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
288 #define PERL_ARGS_ASSERT_AV_STORE       \
289         assert(av)
290 /* PERL_CALLCONV SSize_t        av_tindex(pTHX_ AV *av)
291                         __attribute__warn_unused_result__; */
292 #define PERL_ARGS_ASSERT_AV_TINDEX
293
294 /* PERL_CALLCONV SSize_t        av_top_index(pTHX_ AV *av)
295                         __attribute__warn_unused_result__; */
296 #define PERL_ARGS_ASSERT_AV_TOP_INDEX
297
298 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av);
299 #define PERL_ARGS_ASSERT_AV_UNDEF       \
300         assert(av)
301 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, SSize_t num);
302 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
303         assert(av)
304 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
305                         __attribute__warn_unused_result__;
306 #define PERL_ARGS_ASSERT_BIND_MATCH     \
307         assert(left); assert(right)
308
309 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
310                         __attribute__warn_unused_result__;
311 #define PERL_ARGS_ASSERT_BLOCK_END
312
313 PERL_CALLCONV U8        Perl_block_gimme(pTHX)
314                         __attribute__warn_unused_result__;
315 #define PERL_ARGS_ASSERT_BLOCK_GIMME
316
317 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
318                         __attribute__warn_unused_result__;
319 #define PERL_ARGS_ASSERT_BLOCK_START
320
321 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk);
322 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
323         assert(hk)
324 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
325 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
326 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
327 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
328 PERL_CALLCONV void      Perl_boot_core_mro(pTHX);
329 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
330 PERL_CALLCONV int       Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
331 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
332         assert(b); assert(u)
333 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
334 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
335         assert(s); assert(lenp); assert(is_utf8p)
336 PERL_CALLCONV U8*       Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 ** first_unconverted);
337 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC    \
338         assert(s); assert(lenp); assert(is_utf8p)
339 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
340 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
341         assert(s); assert(lenp)
342 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
343 #define PERL_ARGS_ASSERT_CALL_ARGV      \
344         assert(sub_name); assert(argv)
345 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
346 #define PERL_ARGS_ASSERT_CALL_ATEXIT
347 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
348 #define PERL_ARGS_ASSERT_CALL_LIST      \
349         assert(paramList)
350 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags);
351 #define PERL_ARGS_ASSERT_CALL_METHOD    \
352         assert(methname)
353 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
354 #define PERL_ARGS_ASSERT_CALL_PV        \
355         assert(sub_name)
356 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, volatile I32 flags);
357 #define PERL_ARGS_ASSERT_CALL_SV        \
358         assert(sv)
359 PERL_CALLCONV const PERL_CONTEXT *      Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
360 #define PERL_ARGS_ASSERT_CALLER_CX
361 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
362                         __attribute__malloc__
363                         __attribute__warn_unused_result__;
364 #define PERL_ARGS_ASSERT_CALLOC
365
366 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
367                         __attribute__warn_unused_result__;
368 #define PERL_ARGS_ASSERT_CANDO  \
369         assert(statbufp)
370
371 PERL_CALLCONV I32       Perl_cast_i32(NV f)
372                         __attribute__warn_unused_result__;
373 #define PERL_ARGS_ASSERT_CAST_I32
374
375 PERL_CALLCONV IV        Perl_cast_iv(NV f)
376                         __attribute__warn_unused_result__;
377 #define PERL_ARGS_ASSERT_CAST_IV
378
379 PERL_CALLCONV U32       Perl_cast_ulong(NV f)
380                         __attribute__warn_unused_result__;
381 #define PERL_ARGS_ASSERT_CAST_ULONG
382
383 PERL_CALLCONV UV        Perl_cast_uv(NV f)
384                         __attribute__warn_unused_result__;
385 #define PERL_ARGS_ASSERT_CAST_UV
386
387 PERL_CALLCONV bool      Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len);
388 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT       \
389         assert(s)
390 PERL_CALLCONV OP *      Perl_ck_anoncode(pTHX_ OP *o)
391                         __attribute__warn_unused_result__;
392 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
393         assert(o)
394
395 PERL_CALLCONV OP *      Perl_ck_backtick(pTHX_ OP *o)
396                         __attribute__warn_unused_result__;
397 #define PERL_ARGS_ASSERT_CK_BACKTICK    \
398         assert(o)
399
400 PERL_CALLCONV OP *      Perl_ck_bitop(pTHX_ OP *o)
401                         __attribute__warn_unused_result__;
402 #define PERL_ARGS_ASSERT_CK_BITOP       \
403         assert(o)
404
405 PERL_CALLCONV OP *      Perl_ck_cmp(pTHX_ OP *o)
406                         __attribute__warn_unused_result__;
407 #define PERL_ARGS_ASSERT_CK_CMP \
408         assert(o)
409
410 PERL_CALLCONV OP *      Perl_ck_concat(pTHX_ OP *o)
411                         __attribute__warn_unused_result__;
412 #define PERL_ARGS_ASSERT_CK_CONCAT      \
413         assert(o)
414
415 PERL_CALLCONV OP *      Perl_ck_defined(pTHX_ OP *o)
416                         __attribute__warn_unused_result__;
417 #define PERL_ARGS_ASSERT_CK_DEFINED     \
418         assert(o)
419
420 PERL_CALLCONV OP *      Perl_ck_delete(pTHX_ OP *o)
421                         __attribute__warn_unused_result__;
422 #define PERL_ARGS_ASSERT_CK_DELETE      \
423         assert(o)
424
425 PERL_CALLCONV OP *      Perl_ck_each(pTHX_ OP *o)
426                         __attribute__warn_unused_result__;
427 #define PERL_ARGS_ASSERT_CK_EACH        \
428         assert(o)
429
430 PERL_CALLCONV OP*       Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
431 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE  \
432         assert(entersubop); assert(namegv); assert(protosv)
433 PERL_CALLCONV OP*       Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
434 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST  \
435         assert(entersubop)
436 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
437 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
438         assert(entersubop); assert(namegv); assert(protosv)
439 PERL_CALLCONV OP*       Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
440 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
441         assert(entersubop); assert(namegv); assert(protosv)
442 PERL_CALLCONV OP *      Perl_ck_eof(pTHX_ OP *o)
443                         __attribute__warn_unused_result__;
444 #define PERL_ARGS_ASSERT_CK_EOF \
445         assert(o)
446
447 PERL_CALLCONV OP *      Perl_ck_eval(pTHX_ OP *o)
448                         __attribute__warn_unused_result__;
449 #define PERL_ARGS_ASSERT_CK_EVAL        \
450         assert(o)
451
452 PERL_CALLCONV OP *      Perl_ck_exec(pTHX_ OP *o)
453                         __attribute__warn_unused_result__;
454 #define PERL_ARGS_ASSERT_CK_EXEC        \
455         assert(o)
456
457 PERL_CALLCONV OP *      Perl_ck_exists(pTHX_ OP *o)
458                         __attribute__warn_unused_result__;
459 #define PERL_ARGS_ASSERT_CK_EXISTS      \
460         assert(o)
461
462 PERL_CALLCONV OP *      Perl_ck_ftst(pTHX_ OP *o)
463                         __attribute__warn_unused_result__;
464 #define PERL_ARGS_ASSERT_CK_FTST        \
465         assert(o)
466
467 PERL_CALLCONV OP *      Perl_ck_fun(pTHX_ OP *o)
468                         __attribute__warn_unused_result__;
469 #define PERL_ARGS_ASSERT_CK_FUN \
470         assert(o)
471
472 PERL_CALLCONV OP *      Perl_ck_glob(pTHX_ OP *o)
473                         __attribute__warn_unused_result__;
474 #define PERL_ARGS_ASSERT_CK_GLOB        \
475         assert(o)
476
477 PERL_CALLCONV OP *      Perl_ck_grep(pTHX_ OP *o)
478                         __attribute__warn_unused_result__;
479 #define PERL_ARGS_ASSERT_CK_GREP        \
480         assert(o)
481
482 PERL_CALLCONV OP *      Perl_ck_index(pTHX_ OP *o)
483                         __attribute__warn_unused_result__;
484 #define PERL_ARGS_ASSERT_CK_INDEX       \
485         assert(o)
486
487 PERL_CALLCONV OP *      Perl_ck_isa(pTHX_ OP *o)
488                         __attribute__warn_unused_result__;
489 #define PERL_ARGS_ASSERT_CK_ISA \
490         assert(o)
491
492 PERL_CALLCONV OP *      Perl_ck_join(pTHX_ OP *o)
493                         __attribute__warn_unused_result__;
494 #define PERL_ARGS_ASSERT_CK_JOIN        \
495         assert(o)
496
497 PERL_CALLCONV OP *      Perl_ck_length(pTHX_ OP *o)
498                         __attribute__warn_unused_result__;
499 #define PERL_ARGS_ASSERT_CK_LENGTH      \
500         assert(o)
501
502 PERL_CALLCONV OP *      Perl_ck_lfun(pTHX_ OP *o)
503                         __attribute__warn_unused_result__;
504 #define PERL_ARGS_ASSERT_CK_LFUN        \
505         assert(o)
506
507 PERL_CALLCONV OP *      Perl_ck_listiob(pTHX_ OP *o)
508                         __attribute__warn_unused_result__;
509 #define PERL_ARGS_ASSERT_CK_LISTIOB     \
510         assert(o)
511
512 PERL_CALLCONV OP *      Perl_ck_match(pTHX_ OP *o)
513                         __attribute__warn_unused_result__;
514 #define PERL_ARGS_ASSERT_CK_MATCH       \
515         assert(o)
516
517 PERL_CALLCONV OP *      Perl_ck_method(pTHX_ OP *o)
518                         __attribute__warn_unused_result__;
519 #define PERL_ARGS_ASSERT_CK_METHOD      \
520         assert(o)
521
522 PERL_CALLCONV OP *      Perl_ck_null(pTHX_ OP *o)
523                         __attribute__warn_unused_result__;
524 #define PERL_ARGS_ASSERT_CK_NULL        \
525         assert(o)
526
527 PERL_CALLCONV OP *      Perl_ck_open(pTHX_ OP *o)
528                         __attribute__warn_unused_result__;
529 #define PERL_ARGS_ASSERT_CK_OPEN        \
530         assert(o)
531
532 PERL_CALLCONV OP *      Perl_ck_prototype(pTHX_ OP *o)
533                         __attribute__warn_unused_result__;
534 #define PERL_ARGS_ASSERT_CK_PROTOTYPE   \
535         assert(o)
536
537 PERL_CALLCONV OP *      Perl_ck_readline(pTHX_ OP *o)
538                         __attribute__warn_unused_result__;
539 #define PERL_ARGS_ASSERT_CK_READLINE    \
540         assert(o)
541
542 PERL_CALLCONV OP *      Perl_ck_refassign(pTHX_ OP *o)
543                         __attribute__warn_unused_result__;
544 #define PERL_ARGS_ASSERT_CK_REFASSIGN   \
545         assert(o)
546
547 PERL_CALLCONV OP *      Perl_ck_repeat(pTHX_ OP *o)
548                         __attribute__warn_unused_result__;
549 #define PERL_ARGS_ASSERT_CK_REPEAT      \
550         assert(o)
551
552 PERL_CALLCONV OP *      Perl_ck_require(pTHX_ OP *o)
553                         __attribute__warn_unused_result__;
554 #define PERL_ARGS_ASSERT_CK_REQUIRE     \
555         assert(o)
556
557 PERL_CALLCONV OP *      Perl_ck_return(pTHX_ OP *o)
558                         __attribute__warn_unused_result__;
559 #define PERL_ARGS_ASSERT_CK_RETURN      \
560         assert(o)
561
562 PERL_CALLCONV OP *      Perl_ck_rfun(pTHX_ OP *o)
563                         __attribute__warn_unused_result__;
564 #define PERL_ARGS_ASSERT_CK_RFUN        \
565         assert(o)
566
567 PERL_CALLCONV OP *      Perl_ck_rvconst(pTHX_ OP *o)
568                         __attribute__warn_unused_result__;
569 #define PERL_ARGS_ASSERT_CK_RVCONST     \
570         assert(o)
571
572 PERL_CALLCONV OP *      Perl_ck_sassign(pTHX_ OP *o)
573                         __attribute__warn_unused_result__;
574 #define PERL_ARGS_ASSERT_CK_SASSIGN     \
575         assert(o)
576
577 PERL_CALLCONV OP *      Perl_ck_select(pTHX_ OP *o)
578                         __attribute__warn_unused_result__;
579 #define PERL_ARGS_ASSERT_CK_SELECT      \
580         assert(o)
581
582 PERL_CALLCONV OP *      Perl_ck_shift(pTHX_ OP *o)
583                         __attribute__warn_unused_result__;
584 #define PERL_ARGS_ASSERT_CK_SHIFT       \
585         assert(o)
586
587 PERL_CALLCONV OP *      Perl_ck_smartmatch(pTHX_ OP *o)
588                         __attribute__warn_unused_result__;
589 #define PERL_ARGS_ASSERT_CK_SMARTMATCH  \
590         assert(o)
591
592 PERL_CALLCONV OP *      Perl_ck_sort(pTHX_ OP *o)
593                         __attribute__warn_unused_result__;
594 #define PERL_ARGS_ASSERT_CK_SORT        \
595         assert(o)
596
597 PERL_CALLCONV OP *      Perl_ck_spair(pTHX_ OP *o)
598                         __attribute__warn_unused_result__;
599 #define PERL_ARGS_ASSERT_CK_SPAIR       \
600         assert(o)
601
602 PERL_CALLCONV OP *      Perl_ck_split(pTHX_ OP *o)
603                         __attribute__warn_unused_result__;
604 #define PERL_ARGS_ASSERT_CK_SPLIT       \
605         assert(o)
606
607 PERL_CALLCONV OP *      Perl_ck_stringify(pTHX_ OP *o)
608                         __attribute__warn_unused_result__;
609 #define PERL_ARGS_ASSERT_CK_STRINGIFY   \
610         assert(o)
611
612 PERL_CALLCONV OP *      Perl_ck_subr(pTHX_ OP *o)
613                         __attribute__warn_unused_result__;
614 #define PERL_ARGS_ASSERT_CK_SUBR        \
615         assert(o)
616
617 PERL_CALLCONV OP *      Perl_ck_substr(pTHX_ OP *o)
618                         __attribute__warn_unused_result__;
619 #define PERL_ARGS_ASSERT_CK_SUBSTR      \
620         assert(o)
621
622 PERL_CALLCONV OP *      Perl_ck_svconst(pTHX_ OP *o)
623                         __attribute__warn_unused_result__;
624 #define PERL_ARGS_ASSERT_CK_SVCONST     \
625         assert(o)
626
627 PERL_CALLCONV OP *      Perl_ck_tell(pTHX_ OP *o)
628                         __attribute__warn_unused_result__;
629 #define PERL_ARGS_ASSERT_CK_TELL        \
630         assert(o)
631
632 PERL_CALLCONV OP *      Perl_ck_trunc(pTHX_ OP *o)
633                         __attribute__warn_unused_result__;
634 #define PERL_ARGS_ASSERT_CK_TRUNC       \
635         assert(o)
636
637 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
638                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
639 #define PERL_ARGS_ASSERT_CK_WARNER      \
640         assert(pat)
641
642 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
643                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
644 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
645         assert(pat)
646
647 PERL_CALLCONV bool      Perl_ckwarn(pTHX_ U32 w)
648                         __attribute__warn_unused_result__
649                         __attribute__pure__;
650 #define PERL_ARGS_ASSERT_CKWARN
651
652 PERL_CALLCONV bool      Perl_ckwarn_d(pTHX_ U32 w)
653                         __attribute__warn_unused_result__
654                         __attribute__pure__;
655 #define PERL_ARGS_ASSERT_CKWARN_D
656
657 PERL_CALLCONV void      Perl_clear_defarray(pTHX_ AV* av, bool abandon);
658 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
659         assert(av)
660 PERL_CALLCONV const COP*        Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext);
661 #define PERL_ARGS_ASSERT_CLOSEST_COP    \
662         assert(cop)
663 PERL_CALLCONV OP*       Perl_cmpchain_extend(pTHX_ I32 type, OP* ch, OP* right)
664                         __attribute__warn_unused_result__;
665 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND        \
666         assert(ch)
667
668 PERL_CALLCONV OP*       Perl_cmpchain_finish(pTHX_ OP* ch)
669                         __attribute__warn_unused_result__;
670 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH        \
671         assert(ch)
672
673 PERL_CALLCONV OP*       Perl_cmpchain_start(pTHX_ I32 type, OP* left, OP* right)
674                         __attribute__warn_unused_result__;
675 #define PERL_ARGS_ASSERT_CMPCHAIN_START
676
677 PERL_CALLCONV const char *      Perl_cntrl_to_mnemonic(const U8 c)
678                         __attribute__warn_unused_result__;
679 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
680
681 PERL_CALLCONV const char *      Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
682 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL        \
683         assert(cop)
684 PERL_CALLCONV void      Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
685 #define PERL_ARGS_ASSERT_COP_STORE_LABEL        \
686         assert(cop); assert(label)
687 PERL_CALLCONV SV *      Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum);
688 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
689         assert(name)
690 PERL_CALLCONV OP *      Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum);
691 #define PERL_ARGS_ASSERT_CORESUB_OP     \
692         assert(coreargssv)
693 PERL_CALLCONV void      Perl_create_eval_scope(pTHX_ OP *retop, U32 flags);
694 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE
695 PERL_CALLCONV_NO_RET void       Perl_croak(pTHX_ const char* pat, ...)
696                         __attribute__noreturn__
697                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
698 #define PERL_ARGS_ASSERT_CROAK
699
700 PERL_CALLCONV_NO_RET void       Perl_croak_caller(const char* pat, ...)
701                         __attribute__noreturn__
702                         __attribute__format__null_ok__(__printf__,1,2);
703 #define PERL_ARGS_ASSERT_CROAK_CALLER
704
705 PERL_CALLCONV_NO_RET void       Perl_croak_memory_wrap(void)
706                         __attribute__noreturn__;
707 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
708
709 PERL_CALLCONV_NO_RET void       Perl_croak_no_mem(void)
710                         __attribute__noreturn__;
711 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
712
713 PERL_CALLCONV_NO_RET void       Perl_croak_no_modify(void)
714                         __attribute__noreturn__;
715 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
716
717 PERL_CALLCONV_NO_RET void       Perl_croak_popstack(void)
718                         __attribute__noreturn__;
719 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
720
721 PERL_CALLCONV_NO_RET void       Perl_croak_sv(pTHX_ SV *baseex)
722                         __attribute__noreturn__;
723 #define PERL_ARGS_ASSERT_CROAK_SV       \
724         assert(baseex)
725
726 PERL_CALLCONV_NO_RET void       Perl_croak_xs_usage(const CV *const cv, const char *const params)
727                         __attribute__noreturn__;
728 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
729         assert(cv); assert(params)
730
731 PERL_CALLCONV Signal_t  Perl_csighandler1(int sig);
732 #define PERL_ARGS_ASSERT_CSIGHANDLER1
733 PERL_CALLCONV Signal_t  Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
734 #define PERL_ARGS_ASSERT_CSIGHANDLER3
735 PERL_CALLCONV regexp_engine const *     Perl_current_re_engine(pTHX);
736 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
737 #ifndef NO_MATHOMS
738 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
739                         __attribute__deprecated__
740                         __attribute__warn_unused_result__;
741 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
742         assert(o)
743 #endif
744
745 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
746                         __attribute__warn_unused_result__;
747 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD    \
748         assert(o)
749
750 #ifndef NO_MATHOMS
751 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
752                         __attribute__deprecated__
753                         __attribute__warn_unused_result__;
754 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
755         assert(o)
756 #endif
757
758 PERL_CALLCONV void      Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
759 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER     \
760         assert(ppaddr); assert(xop)
761 PERL_CALLCONV void      Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
762 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS   \
763         assert(cv)
764 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto);
765 #define PERL_ARGS_ASSERT_CV_CLONE       \
766         assert(proto)
767 PERL_CALLCONV CV*       Perl_cv_clone_into(pTHX_ CV* proto, CV *target);
768 #define PERL_ARGS_ASSERT_CV_CLONE_INTO  \
769         assert(proto); assert(target)
770 PERL_CALLCONV SV*       Perl_cv_const_sv(const CV *const cv)
771                         __attribute__warn_unused_result__;
772 #define PERL_ARGS_ASSERT_CV_CONST_SV
773
774 PERL_CALLCONV SV*       Perl_cv_const_sv_or_av(const CV *const cv)
775                         __attribute__warn_unused_result__;
776 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
777
778 PERL_CALLCONV void      Perl_cv_forget_slab(pTHX_ CV *cv);
779 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
780 PERL_CALLCONV void      Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
781 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER    \
782         assert(cv); assert(ckfun_p); assert(ckobj_p)
783 PERL_CALLCONV void      Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
784 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS      \
785         assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
786 PERL_CALLCONV SV *      Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
787 #define PERL_ARGS_ASSERT_CV_NAME        \
788         assert(cv)
789 PERL_CALLCONV void      Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
790 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER    \
791         assert(cv); assert(ckfun); assert(ckobj)
792 PERL_CALLCONV void      Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
793 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS      \
794         assert(cv); assert(ckfun); assert(ckobj)
795 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv);
796 #define PERL_ARGS_ASSERT_CV_UNDEF       \
797         assert(cv)
798 PERL_CALLCONV void      Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags);
799 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
800         assert(cv)
801 PERL_CALLCONV GV *      Perl_cvgv_from_hek(pTHX_ CV* cv);
802 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK  \
803         assert(cv)
804 PERL_CALLCONV void      Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
805 #define PERL_ARGS_ASSERT_CVGV_SET       \
806         assert(cv)
807 PERL_CALLCONV void      Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
808 #define PERL_ARGS_ASSERT_CVSTASH_SET    \
809         assert(cv)
810 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
811 #define PERL_ARGS_ASSERT_CX_DUMP        \
812         assert(cx)
813 PERL_CALLCONV I32       Perl_cxinc(pTHX)
814                         __attribute__warn_unused_result__;
815 #define PERL_ARGS_ASSERT_CXINC
816
817 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
818                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
819 #define PERL_ARGS_ASSERT_DEB    \
820         assert(pat)
821
822 PERL_CALLCONV void      Perl_deb_stack_all(pTHX);
823 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
824 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o);
825 #define PERL_ARGS_ASSERT_DEBOP  \
826         assert(o)
827 PERL_CALLCONV void      Perl_debprofdump(pTHX);
828 #define PERL_ARGS_ASSERT_DEBPROFDUMP
829 PERL_CALLCONV I32       Perl_debstack(pTHX);
830 #define PERL_ARGS_ASSERT_DEBSTACK
831 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
832 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
833 PERL_CALLCONV SV *      Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
834                         __attribute__warn_unused_result__;
835 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
836         assert(sv)
837
838 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
839 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
840 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
841 #define PERL_ARGS_ASSERT_DELIMCPY       \
842         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
843 PERL_CALLCONV char*     Perl_delimcpy_no_escape(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
844 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE     \
845         assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
846 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
847 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
848 PERL_CALLCONV_NO_RET OP*        Perl_die(pTHX_ const char* pat, ...)
849                         __attribute__noreturn__
850                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
851 #define PERL_ARGS_ASSERT_DIE
852
853 PERL_CALLCONV_NO_RET OP*        Perl_die_sv(pTHX_ SV *baseex)
854                         __attribute__noreturn__;
855 #define PERL_ARGS_ASSERT_DIE_SV \
856         assert(baseex)
857
858 PERL_CALLCONV_NO_RET void       Perl_die_unwind(pTHX_ SV* msv)
859                         __attribute__noreturn__;
860 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
861         assert(msv)
862
863 #ifndef NO_MATHOMS
864 PERL_CALLCONV bool      Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp);
865 #define PERL_ARGS_ASSERT_DO_AEXEC       \
866         assert(mark); assert(sp)
867 #endif
868 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report);
869 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
870         assert(mark); assert(sp)
871 #ifndef NO_MATHOMS
872 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
873                         __attribute__deprecated__;
874 #define PERL_ARGS_ASSERT_DO_BINMODE     \
875         assert(fp)
876 #endif
877
878 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
879 #define PERL_ARGS_ASSERT_DO_CLOSE
880 PERL_CALLCONV void      Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full);
881 #define PERL_ARGS_ASSERT_DO_DUMP_PAD    \
882         assert(file)
883 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv);
884 #define PERL_ARGS_ASSERT_DO_EOF \
885         assert(gv)
886 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
887 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
888         assert(file); assert(name)
889 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
890 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
891         assert(file); assert(name)
892 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
893 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
894         assert(file); assert(name)
895 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
896 #define PERL_ARGS_ASSERT_DO_JOIN        \
897         assert(sv); assert(delim); assert(mark); assert(sp)
898 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
899 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
900         assert(file)
901 PERL_CALLCONV I32       Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
902                         __attribute__warn_unused_result__;
903 #define PERL_ARGS_ASSERT_DO_NCMP        \
904         assert(left); assert(right)
905
906 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
907 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
908         assert(file)
909 #ifndef NO_MATHOMS
910 PERL_CALLCONV bool      Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
911 #define PERL_ARGS_ASSERT_DO_OPEN        \
912         assert(gv); assert(name)
913 #endif
914 PERL_CALLCONV bool      Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num);
915 #define PERL_ARGS_ASSERT_DO_OPEN6       \
916         assert(gv); assert(oname)
917 #ifndef NO_MATHOMS
918 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)
919                         __attribute__deprecated__;
920 #define PERL_ARGS_ASSERT_DO_OPEN9       \
921         assert(gv); assert(name); assert(svs)
922 #endif
923
924 PERL_CALLCONV bool      Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp);
925 #define PERL_ARGS_ASSERT_DO_OPEN_RAW    \
926         assert(gv); assert(oname)
927 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);
928 #define PERL_ARGS_ASSERT_DO_OPENN       \
929         assert(gv); assert(oname)
930 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
931 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
932         assert(file)
933 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
934 #define PERL_ARGS_ASSERT_DO_PRINT       \
935         assert(fp)
936 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
937                         __attribute__warn_unused_result__;
938 #define PERL_ARGS_ASSERT_DO_READLINE
939
940 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
941 #define PERL_ARGS_ASSERT_DO_SEEK
942 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, SSize_t len, SV** sarg);
943 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
944         assert(sv); assert(sarg)
945 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
946 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
947         assert(file)
948 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
949 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
950         assert(gv)
951 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
952                         __attribute__warn_unused_result__;
953 #define PERL_ARGS_ASSERT_DO_TELL        \
954         assert(gv)
955
956 PERL_CALLCONV Size_t    Perl_do_trans(pTHX_ SV* sv);
957 #define PERL_ARGS_ASSERT_DO_TRANS       \
958         assert(sv)
959 PERL_CALLCONV I16       Perl_do_uniprop_match(const char * const key, const U16 key_len)
960                         __attribute__warn_unused_result__;
961 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH       \
962         assert(key)
963
964 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, STRLEN offset, int size);
965 #define PERL_ARGS_ASSERT_DO_VECGET      \
966         assert(sv)
967 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv);
968 #define PERL_ARGS_ASSERT_DO_VECSET      \
969         assert(sv)
970 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
971 #define PERL_ARGS_ASSERT_DO_VOP \
972         assert(sv); assert(left); assert(right)
973 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin);
974 #define PERL_ARGS_ASSERT_DOFILE \
975         assert(term)
976 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
977                         __attribute__warn_unused_result__;
978 #define PERL_ARGS_ASSERT_DOING_TAINT
979
980 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
981 #define PERL_ARGS_ASSERT_DOREF  \
982         assert(o)
983 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
984 #define PERL_ARGS_ASSERT_DOUNWIND
985 PERL_CALLCONV U8        Perl_dowantarray(pTHX)
986                         __attribute__warn_unused_result__;
987 #define PERL_ARGS_ASSERT_DOWANTARRAY
988
989 PERL_CALLCONV void      Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
990 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
991         assert(random_state)
992 PERL_CALLCONV double    Perl_drand48_r(perl_drand48_t *random_state);
993 #define PERL_ARGS_ASSERT_DRAND48_R      \
994         assert(random_state)
995 PERL_CALLCONV void      Perl_dump_all(pTHX);
996 #define PERL_ARGS_ASSERT_DUMP_ALL
997 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
998 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
999 PERL_CALLCONV void      Perl_dump_eval(pTHX);
1000 #define PERL_ARGS_ASSERT_DUMP_EVAL
1001 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv);
1002 #define PERL_ARGS_ASSERT_DUMP_FORM      \
1003         assert(gv)
1004 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1005                         __attribute__format__(__printf__,pTHX_3,pTHX_4);
1006 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
1007         assert(file); assert(pat)
1008
1009 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash);
1010 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
1011         assert(stash)
1012 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl);
1013 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
1014         assert(stash)
1015 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv);
1016 #define PERL_ARGS_ASSERT_DUMP_SUB       \
1017         assert(gv)
1018 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl);
1019 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
1020         assert(gv)
1021 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
1022 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
1023         assert(file); assert(pat)
1024 PERL_CALLCONV STRLEN*   Perl_dup_warnings(pTHX_ STRLEN* warnings);
1025 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1026 PERL_CALLCONV void      Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
1027 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1028         assert(c); assert(sv)
1029 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
1030 #define PERL_ARGS_ASSERT_EVAL_PV        \
1031         assert(p)
1032 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags);
1033 #define PERL_ARGS_ASSERT_EVAL_SV        \
1034         assert(sv)
1035 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
1036 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
1037         assert(sv)
1038 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
1039                         __attribute__warn_unused_result__;
1040 #define PERL_ARGS_ASSERT_FBM_INSTR      \
1041         assert(big); assert(bigend); assert(littlestr)
1042
1043 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1044 #define PERL_ARGS_ASSERT_FILTER_ADD
1045 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp);
1046 #define PERL_ARGS_ASSERT_FILTER_DEL     \
1047         assert(funcp)
1048 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1049                         __attribute__warn_unused_result__;
1050 #define PERL_ARGS_ASSERT_FILTER_READ    \
1051         assert(buf_sv)
1052
1053 PERL_CALLCONV void      Perl_finalize_optree(pTHX_ OP* o);
1054 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE        \
1055         assert(o)
1056 PERL_CALLCONV CV *      Perl_find_lexical_cv(pTHX_ PADOFFSET off);
1057 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1058 PERL_CALLCONV CV*       Perl_find_runcv(pTHX_ U32 *db_seqp)
1059                         __attribute__warn_unused_result__;
1060 #define PERL_ARGS_ASSERT_FIND_RUNCV
1061
1062 PERL_CALLCONV CV*       Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1063                         __attribute__warn_unused_result__;
1064 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1065
1066 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
1067 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1068 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
1069                         __attribute__deprecated__;
1070 #define PERL_ARGS_ASSERT_FIND_RUNDEFSVOFFSET
1071
1072 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags);
1073 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
1074         assert(scriptname)
1075 #ifndef PERL_NO_INLINE_FUNCTIONS
1076 PERL_STATIC_INLINE I32  Perl_foldEQ(const char* a, const char* b, I32 len);
1077 #define PERL_ARGS_ASSERT_FOLDEQ \
1078         assert(a); assert(b)
1079 #endif
1080 #ifndef PERL_NO_INLINE_FUNCTIONS
1081 PERL_STATIC_INLINE I32  Perl_foldEQ_latin1(const char* a, const char* b, I32 len);
1082 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1  \
1083         assert(a); assert(b)
1084 #endif
1085 #ifndef PERL_NO_INLINE_FUNCTIONS
1086 PERL_STATIC_INLINE I32  Perl_foldEQ_locale(const char* a, const char* b, I32 len);
1087 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
1088         assert(a); assert(b)
1089 #endif
1090 /* PERL_CALLCONV I32    foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1091 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8
1092 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);
1093 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS      \
1094         assert(s1); assert(s2)
1095 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
1096                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
1097 #define PERL_ARGS_ASSERT_FORM   \
1098         assert(pat)
1099
1100 PERL_CALLCONV void      Perl_free_tied_hv_pool(pTHX);
1101 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1102 PERL_CALLCONV void      Perl_free_tmps(pTHX);
1103 #define PERL_ARGS_ASSERT_FREE_TMPS
1104 PERL_CALLCONV SV*       Perl_get_and_check_backslash_N_name(pTHX_ const char* s, const char* const e, const bool is_utf8, const char** error_msg)
1105                         __attribute__warn_unused_result__;
1106 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1107         assert(s); assert(e); assert(error_msg)
1108
1109 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags);
1110 #define PERL_ARGS_ASSERT_GET_AV \
1111         assert(name)
1112 PERL_CALLCONV void*     Perl_get_context(void)
1113                         __attribute__warn_unused_result__;
1114 #define PERL_ARGS_ASSERT_GET_CONTEXT
1115
1116 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags);
1117 #define PERL_ARGS_ASSERT_GET_CV \
1118         assert(name)
1119 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
1120 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
1121         assert(name)
1122 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1123 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
1124         assert(cv)
1125 PERL_CALLCONV const char *      Perl_get_deprecated_property_msg(const Size_t warning_offset)
1126                         __attribute__warn_unused_result__;
1127 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1128
1129 PERL_CALLCONV void      Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer);
1130 #define PERL_ARGS_ASSERT_GET_HASH_SEED  \
1131         assert(seed_buffer)
1132 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags);
1133 #define PERL_ARGS_ASSERT_GET_HV \
1134         assert(name)
1135 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
1136                         __attribute__warn_unused_result__
1137                         __attribute__pure__;
1138 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1139
1140 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
1141                         __attribute__warn_unused_result__
1142                         __attribute__pure__;
1143 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1144
1145 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
1146                         __attribute__warn_unused_result__
1147                         __attribute__pure__;
1148 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1149
1150 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
1151                         __attribute__warn_unused_result__
1152                         __attribute__pure__;
1153 #define PERL_ARGS_ASSERT_GET_OPARGS
1154
1155 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1156                         __attribute__warn_unused_result__
1157                         __attribute__pure__;
1158 #define PERL_ARGS_ASSERT_GET_PPADDR
1159
1160 PERL_CALLCONV SV *      Perl_get_prop_definition(pTHX_ const int table_index)
1161                         __attribute__warn_unused_result__;
1162 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1163
1164 PERL_CALLCONV const char * const *      Perl_get_prop_values(const int table_index)
1165                         __attribute__warn_unused_result__;
1166 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1167
1168 PERL_CALLCONV REGEXP *  Perl_get_re_arg(pTHX_ SV *sv);
1169 #define PERL_ARGS_ASSERT_GET_RE_ARG
1170 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags);
1171 #define PERL_ARGS_ASSERT_GET_SV \
1172         assert(name)
1173 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
1174                         __attribute__warn_unused_result__;
1175 #define PERL_ARGS_ASSERT_GET_VTBL
1176
1177 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv);
1178 #define PERL_ARGS_ASSERT_GETCWD_SV      \
1179         assert(sv)
1180 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
1181 #define PERL_ARGS_ASSERT_GP_FREE
1182 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
1183 #define PERL_ARGS_ASSERT_GP_REF
1184 PERL_CALLCONV bool      Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
1185 #define PERL_ARGS_ASSERT_GROK_ATOUV     \
1186         assert(pv); assert(valptr)
1187 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1188 #define PERL_ARGS_ASSERT_GROK_BIN       \
1189         assert(start); assert(len_p); assert(flags)
1190 PERL_CALLCONV UV        Perl_grok_bin_oct_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result, const unsigned shift, const U8 lookup_bit, const char prefix);
1191 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX       \
1192         assert(start); assert(len_p); assert(flags)
1193 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1194 #define PERL_ARGS_ASSERT_GROK_HEX       \
1195         assert(start); assert(len_p); assert(flags)
1196 PERL_CALLCONV int       Perl_grok_infnan(pTHX_ const char** sp, const char *send);
1197 #define PERL_ARGS_ASSERT_GROK_INFNAN    \
1198         assert(sp); assert(send)
1199 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1200 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1201         assert(pv)
1202 PERL_CALLCONV int       Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1203 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS      \
1204         assert(pv)
1205 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1206                         __attribute__warn_unused_result__;
1207 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1208         assert(sp); assert(send)
1209
1210 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1211 #define PERL_ARGS_ASSERT_GROK_OCT       \
1212         assert(start); assert(len_p); assert(flags)
1213 #ifndef NO_MATHOMS
1214 PERL_CALLCONV GV*       Perl_gv_AVadd(pTHX_ GV *gv);
1215 #define PERL_ARGS_ASSERT_GV_AVADD
1216 #endif
1217 #ifndef NO_MATHOMS
1218 PERL_CALLCONV GV*       Perl_gv_HVadd(pTHX_ GV *gv);
1219 #define PERL_ARGS_ASSERT_GV_HVADD
1220 #endif
1221 #ifndef NO_MATHOMS
1222 PERL_CALLCONV GV*       Perl_gv_IOadd(pTHX_ GV* gv);
1223 #define PERL_ARGS_ASSERT_GV_IOADD
1224 #endif
1225 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1226 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1227 /* PERL_CALLCONV GV*    gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1228                         __attribute__warn_unused_result__; */
1229 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4
1230
1231 PERL_CALLCONV GV*       Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1232                         __attribute__warn_unused_result__;
1233 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1234         assert(namepv)
1235
1236 PERL_CALLCONV GV*       Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1237                         __attribute__warn_unused_result__;
1238 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN        \
1239         assert(name)
1240
1241 PERL_CALLCONV GV*       Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1242                         __attribute__warn_unused_result__;
1243 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1244         assert(namesv)
1245
1246 PERL_CALLCONV void      Perl_gv_check(pTHX_ HV* stash);
1247 #define PERL_ARGS_ASSERT_GV_CHECK       \
1248         assert(stash)
1249 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
1250                         __attribute__warn_unused_result__;
1251 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
1252         assert(gv)
1253
1254 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv);
1255 #define PERL_ARGS_ASSERT_GV_DUMP
1256 #ifndef NO_MATHOMS
1257 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
1258                         __attribute__deprecated__;
1259 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
1260         assert(sv); assert(gv)
1261 #endif
1262
1263 #ifndef NO_MATHOMS
1264 PERL_CALLCONV void      Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1265 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
1266         assert(sv); assert(gv)
1267 #endif
1268 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1269 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
1270         assert(sv); assert(gv)
1271 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name);
1272 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
1273         assert(name)
1274 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1275 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
1276         assert(name)
1277 /* PERL_CALLCONV GV*    gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1278 #define PERL_ARGS_ASSERT_GV_FETCHMETH
1279 /* PERL_CALLCONV GV*    gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1280 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD
1281 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1282 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV        \
1283         assert(name)
1284 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1285 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD       \
1286         assert(name)
1287 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1288 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN       \
1289         assert(name)
1290 PERL_CALLCONV GV*       Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1291 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD      \
1292         assert(name)
1293 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1294 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV        \
1295         assert(namesv)
1296 PERL_CALLCONV GV*       Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1297 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD       \
1298         assert(namesv)
1299 #ifndef NO_MATHOMS
1300 PERL_CALLCONV GV*       Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1301 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1302         assert(stash); assert(name)
1303 #endif
1304 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1305 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
1306         assert(stash); assert(name)
1307 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1308 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS        \
1309         assert(stash); assert(name)
1310 PERL_CALLCONV GV*       Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1311 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS       \
1312         assert(stash); assert(name)
1313 PERL_CALLCONV GV*       Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1314 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS        \
1315         assert(stash); assert(namesv)
1316 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1317 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
1318         assert(nambeg)
1319 PERL_CALLCONV GV*       Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1320 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS      \
1321         assert(name)
1322 PERL_CALLCONV GV*       Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1323 #define PERL_ARGS_ASSERT_GV_FETCHSV     \
1324         assert(name)
1325 #ifndef NO_MATHOMS
1326 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
1327                         __attribute__deprecated__;
1328 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
1329         assert(sv); assert(gv)
1330 #endif
1331
1332 #ifndef NO_MATHOMS
1333 PERL_CALLCONV void      Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1334 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
1335         assert(sv); assert(gv)
1336 #endif
1337 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1338 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
1339         assert(sv); assert(gv)
1340 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
1341                         __attribute__warn_unused_result__;
1342 #define PERL_ARGS_ASSERT_GV_HANDLER
1343
1344 /* PERL_CALLCONV void   gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1345 #define PERL_ARGS_ASSERT_GV_INIT
1346 PERL_CALLCONV void      Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1347 #define PERL_ARGS_ASSERT_GV_INIT_PV     \
1348         assert(gv); assert(name)
1349 PERL_CALLCONV void      Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1350 #define PERL_ARGS_ASSERT_GV_INIT_PVN    \
1351         assert(gv); assert(name)
1352 PERL_CALLCONV void      Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1353 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
1354         assert(gv); assert(namesv)
1355 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1356 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
1357         assert(gv); assert(name)
1358 PERL_CALLCONV GV *      Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1359 #define PERL_ARGS_ASSERT_GV_OVERRIDE    \
1360         assert(name)
1361 PERL_CALLCONV void      Perl_gv_setref(pTHX_ SV *const dsv, SV *const ssv);
1362 #define PERL_ARGS_ASSERT_GV_SETREF      \
1363         assert(dsv); assert(ssv)
1364 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1365 #define PERL_ARGS_ASSERT_GV_STASHPV     \
1366         assert(name)
1367 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1368 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
1369         assert(name)
1370 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1371 #define PERL_ARGS_ASSERT_GV_STASHSV     \
1372         assert(sv)
1373 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv);
1374 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
1375         assert(gv)
1376 PERL_CALLCONV AV**      Perl_hv_backreferences_p(pTHX_ HV *hv);
1377 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P    \
1378         assert(hv)
1379 PERL_CALLCONV SV*       Perl_hv_bucket_ratio(pTHX_ HV *hv)
1380                         __attribute__warn_unused_result__;
1381 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO        \
1382         assert(hv)
1383
1384 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
1385 #define PERL_ARGS_ASSERT_HV_CLEAR
1386 PERL_CALLCONV void      Perl_hv_clear_placeholders(pTHX_ HV *hv);
1387 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS  \
1388         assert(hv)
1389 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1390 #define PERL_ARGS_ASSERT_HV_COMMON
1391 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);
1392 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1393         assert(key)
1394 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1395                         __attribute__warn_unused_result__;
1396 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1397
1398 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry);
1399 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
1400         assert(hv)
1401 #ifndef NO_MATHOMS
1402 PERL_CALLCONV SV*       Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1403 #define PERL_ARGS_ASSERT_HV_DELETE      \
1404         assert(key)
1405 #endif
1406 #ifndef NO_MATHOMS
1407 PERL_CALLCONV SV*       Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1408 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1409         assert(keysv)
1410 #endif
1411 PERL_CALLCONV HE**      Perl_hv_eiter_p(pTHX_ HV *hv)
1412                         __attribute__warn_unused_result__;
1413 #define PERL_ARGS_ASSERT_HV_EITER_P     \
1414         assert(hv)
1415
1416 PERL_CALLCONV void      Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1417 #define PERL_ARGS_ASSERT_HV_EITER_SET   \
1418         assert(hv)
1419 PERL_CALLCONV void      Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1420 #define PERL_ARGS_ASSERT_HV_ENAME_ADD   \
1421         assert(hv); assert(name)
1422 PERL_CALLCONV void      Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1423 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE        \
1424         assert(hv); assert(name)
1425 #ifndef NO_MATHOMS
1426 PERL_CALLCONV bool      Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1427                         __attribute__warn_unused_result__;
1428 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1429         assert(key)
1430 #endif
1431
1432 #ifndef NO_MATHOMS
1433 PERL_CALLCONV bool      Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1434                         __attribute__warn_unused_result__;
1435 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1436         assert(keysv)
1437 #endif
1438
1439 #ifndef NO_MATHOMS
1440 PERL_CALLCONV SV**      Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1441 #define PERL_ARGS_ASSERT_HV_FETCH       \
1442         assert(key)
1443 #endif
1444 #ifndef NO_MATHOMS
1445 PERL_CALLCONV HE*       Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1446 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1447         assert(keysv)
1448 #endif
1449 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV *const hv);
1450 #define PERL_ARGS_ASSERT_HV_FILL        \
1451         assert(hv)
1452 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entry);
1453 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1454         assert(hv)
1455 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv);
1456 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1457         assert(hv)
1458 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1459                         __attribute__warn_unused_result__;
1460 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1461         assert(entry); assert(retlen)
1462
1463 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1464                         __attribute__warn_unused_result__;
1465 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1466         assert(entry)
1467
1468 #ifndef NO_MATHOMS
1469 PERL_CALLCONV HE*       Perl_hv_iternext(pTHX_ HV *hv)
1470                         __attribute__warn_unused_result__;
1471 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1472         assert(hv)
1473 #endif
1474
1475 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1476                         __attribute__warn_unused_result__;
1477 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1478         assert(hv)
1479
1480 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1481                         __attribute__warn_unused_result__;
1482 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1483         assert(hv); assert(key); assert(retlen)
1484
1485 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1486                         __attribute__warn_unused_result__;
1487 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1488         assert(hv); assert(entry)
1489
1490 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1491 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1492         assert(hv)
1493 #ifndef NO_MATHOMS
1494 PERL_CALLCONV void      Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1495 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1496         assert(hv)
1497 #endif
1498 PERL_CALLCONV void      Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1499 #define PERL_ARGS_ASSERT_HV_NAME_SET    \
1500         assert(hv)
1501 PERL_CALLCONV I32       Perl_hv_placeholders_get(pTHX_ const HV *hv)
1502                         __attribute__warn_unused_result__;
1503 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET    \
1504         assert(hv)
1505
1506 PERL_CALLCONV SSize_t*  Perl_hv_placeholders_p(pTHX_ HV *hv)
1507                         __attribute__warn_unused_result__;
1508 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P      \
1509         assert(hv)
1510
1511 PERL_CALLCONV void      Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1512 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET    \
1513         assert(hv)
1514 PERL_CALLCONV void      Perl_hv_pushkv(pTHX_ HV *hv, U32 flags);
1515 #define PERL_ARGS_ASSERT_HV_PUSHKV      \
1516         assert(hv)
1517 PERL_CALLCONV void      Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1518 #define PERL_ARGS_ASSERT_HV_RAND_SET    \
1519         assert(hv)
1520 PERL_CALLCONV I32*      Perl_hv_riter_p(pTHX_ HV *hv)
1521                         __attribute__warn_unused_result__;
1522 #define PERL_ARGS_ASSERT_HV_RITER_P     \
1523         assert(hv)
1524
1525 PERL_CALLCONV void      Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1526 #define PERL_ARGS_ASSERT_HV_RITER_SET   \
1527         assert(hv)
1528 PERL_CALLCONV SV*       Perl_hv_scalar(pTHX_ HV *hv)
1529                         __attribute__warn_unused_result__;
1530 #define PERL_ARGS_ASSERT_HV_SCALAR      \
1531         assert(hv)
1532
1533 #ifndef NO_MATHOMS
1534 PERL_CALLCONV SV**      Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1535 #define PERL_ARGS_ASSERT_HV_STORE
1536 #endif
1537 #ifndef NO_MATHOMS
1538 PERL_CALLCONV HE*       Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1539 #define PERL_ARGS_ASSERT_HV_STORE_ENT
1540 #endif
1541 #ifndef NO_MATHOMS
1542 PERL_CALLCONV SV**      Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1543 #define PERL_ARGS_ASSERT_HV_STORE_FLAGS
1544 #endif
1545 /* PERL_CALLCONV void   hv_undef(pTHX_ HV *hv); */
1546 #define PERL_ARGS_ASSERT_HV_UNDEF
1547 PERL_CALLCONV void      Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1548 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1549 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1550                         __attribute__warn_unused_result__
1551                         __attribute__pure__; */
1552 #define PERL_ARGS_ASSERT_IBCMP
1553
1554 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1555                         __attribute__warn_unused_result__
1556                         __attribute__pure__; */
1557 #define PERL_ARGS_ASSERT_IBCMP_LOCALE
1558
1559 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1560 #define PERL_ARGS_ASSERT_IBCMP_UTF8
1561 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv);
1562 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1563         assert(argv)
1564 PERL_CALLCONV void      Perl_init_constants(pTHX);
1565 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1566 PERL_CALLCONV void      Perl_init_dbargs(pTHX);
1567 #define PERL_ARGS_ASSERT_INIT_DBARGS
1568 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1569 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1570 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
1571 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1572 #ifndef NO_MATHOMS
1573 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn)
1574                         __attribute__deprecated__;
1575 #define PERL_ARGS_ASSERT_INIT_I18NL14N
1576 #endif
1577
1578 PERL_CALLCONV void      Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1579 #define PERL_ARGS_ASSERT_INIT_NAMED_CV  \
1580         assert(cv); assert(nameop)
1581 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1582 #define PERL_ARGS_ASSERT_INIT_STACKS
1583 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm);
1584 #define PERL_ARGS_ASSERT_INIT_TM        \
1585         assert(ptm)
1586 PERL_CALLCONV void      Perl_init_uniprops(pTHX);
1587 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1588 #ifndef NO_MATHOMS
1589 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1590                         __attribute__warn_unused_result__
1591                         __attribute__pure__;
1592 #define PERL_ARGS_ASSERT_INSTR  \
1593         assert(big); assert(little)
1594 #endif
1595
1596 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1597 #define PERL_ARGS_ASSERT_INTRO_MY
1598 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1599                         __attribute__warn_unused_result__;
1600 #define PERL_ARGS_ASSERT_INVERT
1601
1602 PERL_CALLCONV void      Perl_invmap_dump(pTHX_ SV* invlist, UV * map);
1603 #define PERL_ARGS_ASSERT_INVMAP_DUMP    \
1604         assert(invlist); assert(map)
1605 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail);
1606 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1607         assert(io)
1608 #ifndef PERL_NO_INLINE_FUNCTIONS
1609 PERL_STATIC_INLINE Size_t       Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1610                         __attribute__warn_unused_result__;
1611 #define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR  \
1612         assert(s0); assert(e)
1613 #endif
1614
1615 #ifndef PERL_NO_INLINE_FUNCTIONS
1616 PERL_STATIC_INLINE Size_t       Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1617                         __attribute__warn_unused_result__;
1618 #define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR     \
1619         assert(s0); assert(e)
1620 #endif
1621
1622 #ifndef PERL_NO_INLINE_FUNCTIONS
1623 PERL_STATIC_INLINE Size_t       Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
1624                         __attribute__warn_unused_result__;
1625 #define PERL_ARGS_ASSERT_ISUTF8_CHAR    \
1626         assert(s0); assert(e)
1627 #endif
1628
1629 /* PERL_CALLCONV bool   is_ascii_string(const U8* const s, STRLEN len)
1630                         __attribute__warn_unused_result__
1631                         __attribute__pure__; */
1632 #define PERL_ARGS_ASSERT_IS_ASCII_STRING
1633
1634 /* PERL_CALLCONV bool   is_c9strict_utf8_string(const U8 *s, STRLEN len)
1635                         __attribute__warn_unused_result__; */
1636 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING
1637
1638 /* PERL_CALLCONV bool   is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1639 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOC
1640 #ifndef PERL_NO_INLINE_FUNCTIONS
1641 PERL_STATIC_INLINE bool Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1642 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1643         assert(s)
1644 #endif
1645 /* PERL_CALLCONV bool   is_invariant_string(const U8* const s, STRLEN len)
1646                         __attribute__warn_unused_result__
1647                         __attribute__pure__; */
1648 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING
1649
1650 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1651                         __attribute__warn_unused_result__;
1652 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1653
1654 #ifndef PERL_NO_INLINE_FUNCTIONS
1655 PERL_STATIC_INLINE bool Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1656                         __attribute__warn_unused_result__;
1657 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL        \
1658         assert(pv); assert(what); assert(op_name)
1659 #endif
1660
1661 /* PERL_CALLCONV bool   is_strict_utf8_string(const U8 *s, STRLEN len)
1662                         __attribute__warn_unused_result__; */
1663 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING
1664
1665 /* PERL_CALLCONV bool   is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1666 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOC
1667 #ifndef PERL_NO_INLINE_FUNCTIONS
1668 PERL_STATIC_INLINE bool Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1669 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN   \
1670         assert(s)
1671 #endif
1672 #ifndef NO_MATHOMS
1673 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1674                         __attribute__deprecated__;
1675 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1676         assert(s)
1677 #endif
1678
1679 #ifndef NO_MATHOMS
1680 PERL_CALLCONV STRLEN    Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1681 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF       \
1682         assert(buf); assert(buf_end)
1683 #endif
1684 PERL_CALLCONV STRLEN    Perl_is_utf8_char_helper(const U8 * const s, const U8 * e, const U32 flags)
1685                         __attribute__warn_unused_result__
1686                         __attribute__pure__;
1687 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER    \
1688         assert(s); assert(e)
1689
1690 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1691 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_FLAGS
1692 /* PERL_CALLCONV bool   is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1693 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOC_FLAGS
1694 #ifndef PERL_NO_INLINE_FUNCTIONS
1695 PERL_STATIC_INLINE bool Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1696 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS   \
1697         assert(s)
1698 #endif
1699 /* PERL_CALLCONV bool   is_utf8_invariant_string(const U8* const s, STRLEN len)
1700                         __attribute__warn_unused_result__; */
1701 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING
1702
1703 #ifndef PERL_NO_INLINE_FUNCTIONS
1704 PERL_STATIC_INLINE bool Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
1705                         __attribute__warn_unused_result__;
1706 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC   \
1707         assert(s)
1708 #endif
1709
1710 /* PERL_CALLCONV bool   is_utf8_string(const U8 *s, STRLEN len)
1711                         __attribute__warn_unused_result__; */
1712 #define PERL_ARGS_ASSERT_IS_UTF8_STRING
1713
1714 #ifndef PERL_NO_INLINE_FUNCTIONS
1715 PERL_STATIC_INLINE bool Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
1716                         __attribute__warn_unused_result__;
1717 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS   \
1718         assert(s)
1719 #endif
1720
1721 #ifndef NO_MATHOMS
1722 PERL_CALLCONV bool      Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
1723 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1724         assert(s); assert(ep)
1725 #endif
1726 /* PERL_CALLCONV bool   is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1727 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC_FLAGS
1728 #ifndef PERL_NO_INLINE_FUNCTIONS
1729 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1730 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1731         assert(s)
1732 #endif
1733 #ifndef PERL_NO_INLINE_FUNCTIONS
1734 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1735 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS    \
1736         assert(s)
1737 #endif
1738 /* PERL_CALLCONV bool   is_utf8_valid_partial_char(const U8 * const s, const U8 * const e)
1739                         __attribute__warn_unused_result__
1740                         __attribute__pure__; */
1741 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR
1742
1743 #ifndef PERL_NO_INLINE_FUNCTIONS
1744 PERL_STATIC_INLINE bool Perl_is_utf8_valid_partial_char_flags(const U8 * const s, const U8 * const e, const U32 flags)
1745                         __attribute__warn_unused_result__;
1746 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS       \
1747         assert(s); assert(e)
1748 #endif
1749
1750 PERL_CALLCONV bool      Perl_isinfnan(NV nv)
1751                         __attribute__warn_unused_result__
1752                         __attribute__pure__;
1753 #define PERL_ARGS_ASSERT_ISINFNAN
1754
1755 PERL_CALLCONV bool      Perl_isinfnansv(pTHX_ SV *sv);
1756 #define PERL_ARGS_ASSERT_ISINFNANSV     \
1757         assert(sv)
1758 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o);
1759 #define PERL_ARGS_ASSERT_JMAYBE \
1760         assert(o)
1761 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1762                         __attribute__warn_unused_result__
1763                         __attribute__pure__;
1764 #define PERL_ARGS_ASSERT_KEYWORD        \
1765         assert(name)
1766
1767 PERL_CALLCONV int       Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
1768 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD        \
1769         assert(keyword_ptr); assert(op_ptr)
1770 PERL_CALLCONV void      Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1771 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS    \
1772         assert(from_sp); assert(to_sp)
1773 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1774 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
1775 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1776 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
1777 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr);
1778 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1779         assert(ptr)
1780 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1781 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
1782 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1783 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
1784 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1785 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
1786 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1787 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
1788 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr);
1789 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1790         assert(ptr)
1791 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1792 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
1793 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
1794 #define PERL_ARGS_ASSERT_LEX_START
1795 PERL_CALLCONV void      Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
1796 #define PERL_ARGS_ASSERT_LEX_STUFF_PV   \
1797         assert(pv)
1798 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
1799 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1800         assert(pv)
1801 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
1802 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1803         assert(sv)
1804 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr);
1805 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1806         assert(ptr)
1807 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1808 #define PERL_ARGS_ASSERT_LIST
1809 PERL_CALLCONV HV*       Perl_load_charnames(pTHX_ SV * char_name, const char * context, const STRLEN context_len, const char ** error_msg)
1810                         __attribute__warn_unused_result__;
1811 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
1812         assert(char_name); assert(context); assert(error_msg)
1813
1814 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
1815 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1816         assert(name)
1817 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex);
1818 #define PERL_ARGS_ASSERT_LOCALIZE       \
1819         assert(o)
1820 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1821                         __attribute__warn_unused_result__;
1822 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1823         assert(sv)
1824
1825 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
1826 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1827         assert(sv); assert(mg)
1828 PERL_CALLCONV int       Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg);
1829 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P    \
1830         assert(sv); assert(mg)
1831 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
1832 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1833         assert(sv); assert(mg)
1834 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg);
1835 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1836         assert(sv); assert(mg)
1837 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg);
1838 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1839         assert(sv); assert(mg)
1840 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg);
1841 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1842         assert(mg)
1843 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
1844 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1845         assert(sv); assert(mg)
1846 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
1847 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1848         assert(sv); assert(mg)
1849 PERL_CALLCONV int       Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen);
1850 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER  \
1851         assert(sv); assert(mg); assert(nsv)
1852 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
1853 #define PERL_ARGS_ASSERT_MAGIC_DUMP
1854 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg);
1855 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1856         assert(sv); assert(mg)
1857 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg);
1858 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1859         assert(sv); assert(mg)
1860 PERL_CALLCONV int       Perl_magic_freemglob(pTHX_ SV* sv, MAGIC* mg);
1861 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB        \
1862         assert(sv); assert(mg)
1863 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg);
1864 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1865         assert(sv); assert(mg)
1866 PERL_CALLCONV int       Perl_magic_freeutf8(pTHX_ SV* sv, MAGIC* mg);
1867 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
1868         assert(sv); assert(mg)
1869 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
1870 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1871         assert(sv); assert(mg)
1872 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg);
1873 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1874         assert(sv); assert(mg)
1875 PERL_CALLCONV int       Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg);
1876 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR      \
1877         assert(sv); assert(mg)
1878 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
1879 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1880         assert(sv); assert(mg)
1881 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
1882 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1883         assert(sv); assert(mg)
1884 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
1885 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1886         assert(sv); assert(mg)
1887 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
1888 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1889         assert(sv); assert(mg)
1890 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
1891 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1892         assert(sv); assert(mg)
1893 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
1894 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1895         assert(sv); assert(mg)
1896 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
1897 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1898         assert(sv); assert(mg)
1899 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
1900 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1901         assert(sv); assert(mg)
1902 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
1903 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1904         assert(sv); assert(mg)
1905 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
1906 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
1907         assert(sv); assert(mg)
1908 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...);
1909 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1910         assert(sv); assert(mg); assert(meth)
1911 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key);
1912 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1913         assert(sv); assert(mg); assert(key)
1914 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
1915 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1916         assert(sv); assert(mg)
1917 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
1918 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1919         assert(sv); assert(mg)
1920 PERL_CALLCONV SV*       Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg);
1921 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK       \
1922         assert(hv); assert(mg)
1923 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
1924 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1925         assert(sv); assert(mg)
1926 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
1927 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1928         assert(sv); assert(mg)
1929 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
1930 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1931         assert(sv); assert(mg)
1932 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
1933 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1934         assert(sv); assert(mg)
1935 PERL_CALLCONV int       Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg);
1936 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR      \
1937         assert(sv); assert(mg)
1938 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
1939 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1940         assert(sv); assert(mg)
1941 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
1942 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1943         assert(sv); assert(mg)
1944 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg);
1945 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1946         assert(sv); assert(mg)
1947 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
1948 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1949         assert(sv); assert(mg)
1950 PERL_CALLCONV int       Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg);
1951 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
1952         assert(sv); assert(mg)
1953 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
1954 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1955         assert(sv); assert(mg)
1956 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
1957 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1958         assert(sv); assert(mg)
1959 PERL_CALLCONV int       Perl_magic_setnonelem(pTHX_ SV* sv, MAGIC* mg);
1960 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM       \
1961         assert(sv); assert(mg)
1962 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
1963 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1964         assert(sv); assert(mg)
1965 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
1966 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1967         assert(sv); assert(mg)
1968 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg);
1969 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1970         assert(sv); assert(mg)
1971 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
1972 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1973         assert(mg)
1974 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
1975 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1976         assert(sv); assert(mg)
1977 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
1978 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1979         assert(sv); assert(mg)
1980 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg);
1981 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1982         assert(sv); assert(mg)
1983 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
1984 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1985         assert(sv); assert(mg)
1986 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
1987 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1988         assert(sv); assert(mg)
1989 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
1990 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1991         assert(sv); assert(mg)
1992 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
1993 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1994         assert(sv); assert(mg)
1995 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
1996                         __attribute__malloc__
1997                         __attribute__warn_unused_result__;
1998 #define PERL_ARGS_ASSERT_MALLOC
1999
2000 PERL_CALLCONV I32 *     Perl_markstack_grow(pTHX);
2001 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2002 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
2003                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2004 #define PERL_ARGS_ASSERT_MESS   \
2005         assert(pat)
2006
2007 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
2008 #define PERL_ARGS_ASSERT_MESS_SV        \
2009         assert(basemsg)
2010 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
2011 #define PERL_ARGS_ASSERT_MFREE
2012 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv);
2013 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2014         assert(sv)
2015 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2016 #define PERL_ARGS_ASSERT_MG_COPY        \
2017         assert(sv); assert(nsv)
2018 PERL_CALLCONV MAGIC*    Perl_mg_find(const SV* sv, int type)
2019                         __attribute__warn_unused_result__;
2020 #define PERL_ARGS_ASSERT_MG_FIND
2021
2022 PERL_CALLCONV MAGIC*    Perl_mg_find_mglob(pTHX_ SV* sv)
2023                         __attribute__warn_unused_result__;
2024 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB  \
2025         assert(sv)
2026
2027 PERL_CALLCONV MAGIC*    Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2028                         __attribute__warn_unused_result__;
2029 #define PERL_ARGS_ASSERT_MG_FINDEXT
2030
2031 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv);
2032 #define PERL_ARGS_ASSERT_MG_FREE        \
2033         assert(sv)
2034 PERL_CALLCONV void      Perl_mg_free_type(pTHX_ SV* sv, int how);
2035 #define PERL_ARGS_ASSERT_MG_FREE_TYPE   \
2036         assert(sv)
2037 PERL_CALLCONV void      Perl_mg_freeext(pTHX_ SV* sv, int how, const MGVTBL *vtbl);
2038 #define PERL_ARGS_ASSERT_MG_FREEEXT     \
2039         assert(sv)
2040 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv);
2041 #define PERL_ARGS_ASSERT_MG_GET \
2042         assert(sv)
2043 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2044                         __attribute__deprecated__;
2045 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2046         assert(sv)
2047
2048 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic);
2049 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2050         assert(sv); assert(nsv)
2051 PERL_CALLCONV void      Perl_mg_magical(SV* sv);
2052 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2053         assert(sv)
2054 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv);
2055 #define PERL_ARGS_ASSERT_MG_SET \
2056         assert(sv)
2057 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv);
2058 #define PERL_ARGS_ASSERT_MG_SIZE        \
2059         assert(sv)
2060 PERL_CALLCONV void      Perl_mini_mktime(struct tm *ptm);
2061 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2062         assert(ptm)
2063 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2064 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2065 PERL_CALLCONV void *    Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2066 #define PERL_ARGS_ASSERT_MORE_BODIES
2067 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s);
2068 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2069         assert(s)
2070 #ifndef PERL_NO_INLINE_FUNCTIONS
2071 PERL_STATIC_INLINE char *       Perl_mortal_getenv(const char * str)
2072                         __attribute__warn_unused_result__;
2073 #define PERL_ARGS_ASSERT_MORTAL_GETENV  \
2074         assert(str)
2075 #endif
2076
2077 PERL_CALLCONV const struct mro_alg *    Perl_mro_get_from_name(pTHX_ SV *name);
2078 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME      \
2079         assert(name)
2080 PERL_CALLCONV AV*       Perl_mro_get_linear_isa(pTHX_ HV* stash);
2081 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA     \
2082         assert(stash)
2083 PERL_CALLCONV SV*       Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
2084 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA   \
2085         assert(smeta); assert(which)
2086 PERL_CALLCONV void      Perl_mro_isa_changed_in(pTHX_ HV* stash);
2087 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN     \
2088         assert(stash)
2089 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_init(pTHX_ HV* stash);
2090 #define PERL_ARGS_ASSERT_MRO_META_INIT  \
2091         assert(stash)
2092 PERL_CALLCONV void      Perl_mro_method_changed_in(pTHX_ HV* stash);
2093 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN  \
2094         assert(stash)
2095 PERL_CALLCONV void      Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2096 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED      \
2097         assert(gv)
2098 PERL_CALLCONV void      Perl_mro_register(pTHX_ const struct mro_alg *mro);
2099 #define PERL_ARGS_ASSERT_MRO_REGISTER   \
2100         assert(mro)
2101 PERL_CALLCONV void      Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
2102 #define PERL_ARGS_ASSERT_MRO_SET_MRO    \
2103         assert(meta); assert(name)
2104 PERL_CALLCONV SV*       Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
2105 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA   \
2106         assert(smeta); assert(which); assert(data)
2107 PERL_CALLCONV SV*       Perl_multiconcat_stringify(pTHX_ const OP* o);
2108 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY  \
2109         assert(o)
2110 PERL_CALLCONV SV*       Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
2111 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY   \
2112         assert(o)
2113 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s);
2114 #define PERL_ARGS_ASSERT_MY_ATOF        \
2115         assert(s)
2116 PERL_CALLCONV char*     Perl_my_atof2(pTHX_ const char *orig, NV* value);
2117 #define PERL_ARGS_ASSERT_MY_ATOF2       \
2118         assert(orig); assert(value)
2119 PERL_CALLCONV char*     Perl_my_atof3(pTHX_ const char *orig, NV* value, const STRLEN len);
2120 #define PERL_ARGS_ASSERT_MY_ATOF3       \
2121         assert(orig); assert(value)
2122 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs);
2123 #define PERL_ARGS_ASSERT_MY_ATTRS       \
2124         assert(o)
2125 PERL_CALLCONV void      Perl_my_clearenv(pTHX);
2126 #define PERL_ARGS_ASSERT_MY_CLEARENV
2127 PERL_CALLCONV int       Perl_my_dirfd(DIR* dir);
2128 #define PERL_ARGS_ASSERT_MY_DIRFD
2129 PERL_CALLCONV_NO_RET void       Perl_my_exit(pTHX_ U32 status)
2130                         __attribute__noreturn__;
2131 #define PERL_ARGS_ASSERT_MY_EXIT
2132
2133 PERL_CALLCONV_NO_RET void       Perl_my_failure_exit(pTHX)
2134                         __attribute__noreturn__;
2135 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2136
2137 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2138 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2139 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2140 #define PERL_ARGS_ASSERT_MY_FORK
2141 #ifndef NO_MATHOMS
2142 PERL_CALLCONV I32       Perl_my_lstat(pTHX);
2143 #define PERL_ARGS_ASSERT_MY_LSTAT
2144 #endif
2145 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2146 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2147 PERL_CALLCONV int       Perl_my_mkostemp_cloexec(char *templte, int flags)
2148                         __attribute__warn_unused_result__;
2149 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC    \
2150         assert(templte)
2151
2152 PERL_CALLCONV int       Perl_my_mkstemp_cloexec(char *templte)
2153                         __attribute__warn_unused_result__;
2154 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC     \
2155         assert(templte)
2156
2157 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
2158 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2159         assert(mode); assert(args)
2160 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2161 #define PERL_ARGS_ASSERT_MY_SETENV
2162 PERL_CALLCONV int       Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2163                         __attribute__format__(__printf__,3,4);
2164 #define PERL_ARGS_ASSERT_MY_SNPRINTF    \
2165         assert(buffer); assert(format)
2166
2167 PERL_CALLCONV int       Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2168 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2169 #ifndef NO_MATHOMS
2170 PERL_CALLCONV I32       Perl_my_stat(pTHX);
2171 #define PERL_ARGS_ASSERT_MY_STAT
2172 #endif
2173 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2174 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2175 PERL_CALLCONV char*     Perl_my_strerror(pTHX_ const int errnum);
2176 #define PERL_ARGS_ASSERT_MY_STRERROR
2177 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)
2178                         __attribute__format__(__strftime__,pTHX_1,0);
2179 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2180         assert(fmt)
2181
2182 PERL_CALLCONV NV        Perl_my_strtod(const char * const s, char ** e)
2183                         __attribute__warn_unused_result__;
2184 #define PERL_ARGS_ASSERT_MY_STRTOD      \
2185         assert(s)
2186
2187 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2188 #define PERL_ARGS_ASSERT_MY_UNEXEC
2189 PERL_CALLCONV int       Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2190 #define PERL_ARGS_ASSERT_MY_VSNPRINTF   \
2191         assert(buffer); assert(format)
2192 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2193 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2194 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2195                         __attribute__warn_unused_result__;
2196 #define PERL_ARGS_ASSERT_NEWANONHASH
2197
2198 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2199                         __attribute__warn_unused_result__;
2200 #define PERL_ARGS_ASSERT_NEWANONLIST
2201
2202 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2203 #define PERL_ARGS_ASSERT_NEWANONSUB
2204 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2205                         __attribute__warn_unused_result__;
2206 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2207
2208 /* PERL_CALLCONV CV*    newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2209 #define PERL_ARGS_ASSERT_NEWATTRSUB
2210 PERL_CALLCONV CV*       Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2211 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2212 #ifndef NO_MATHOMS
2213 PERL_CALLCONV AV*       Perl_newAV(pTHX)
2214                         __attribute__warn_unused_result__;
2215 #define PERL_ARGS_ASSERT_NEWAV
2216 #endif
2217
2218 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2219                         __attribute__warn_unused_result__;
2220 #define PERL_ARGS_ASSERT_NEWAVREF       \
2221         assert(o)
2222
2223 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2224                         __attribute__warn_unused_result__;
2225 #define PERL_ARGS_ASSERT_NEWBINOP
2226
2227 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2228                         __attribute__warn_unused_result__;
2229 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2230         assert(first)
2231
2232 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2233 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2234 PERL_CALLCONV CV*       Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2235 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2236 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2237                         __attribute__warn_unused_result__;
2238 #define PERL_ARGS_ASSERT_NEWCVREF
2239
2240 PERL_CALLCONV OP*       Perl_newDEFSVOP(pTHX)
2241                         __attribute__warn_unused_result__;
2242 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2243
2244 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2245 #define PERL_ARGS_ASSERT_NEWFORM
2246 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2247                         __attribute__warn_unused_result__;
2248 #define PERL_ARGS_ASSERT_NEWFOROP       \
2249         assert(expr)
2250
2251 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2252                         __attribute__warn_unused_result__;
2253 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2254         assert(cond); assert(block)
2255
2256 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv);
2257 #define PERL_ARGS_ASSERT_NEWGP  \
2258         assert(gv)
2259 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2260                         __attribute__warn_unused_result__;
2261 #define PERL_ARGS_ASSERT_NEWGVOP        \
2262         assert(gv)
2263
2264 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2265                         __attribute__warn_unused_result__;
2266 #define PERL_ARGS_ASSERT_NEWGVREF
2267
2268 /* PERL_CALLCONV GV*    newGVgen(pTHX_ const char* pack); */
2269 #define PERL_ARGS_ASSERT_NEWGVGEN
2270 PERL_CALLCONV GV*       Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2271                         __attribute__warn_unused_result__;
2272 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2273         assert(pack)
2274
2275 #ifndef NO_MATHOMS
2276 PERL_CALLCONV HV*       Perl_newHV(pTHX)
2277                         __attribute__warn_unused_result__;
2278 #define PERL_ARGS_ASSERT_NEWHV
2279 #endif
2280
2281 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2282                         __attribute__warn_unused_result__;
2283 #define PERL_ARGS_ASSERT_NEWHVREF       \
2284         assert(o)
2285
2286 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2287                         __attribute__warn_unused_result__;
2288 #define PERL_ARGS_ASSERT_NEWHVHV
2289
2290 #ifndef NO_MATHOMS
2291 PERL_CALLCONV IO*       Perl_newIO(pTHX)
2292                         __attribute__warn_unused_result__;
2293 #define PERL_ARGS_ASSERT_NEWIO
2294 #endif
2295
2296 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2297                         __attribute__warn_unused_result__;
2298 #define PERL_ARGS_ASSERT_NEWLISTOP
2299
2300 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2301                         __attribute__warn_unused_result__;
2302 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2303         assert(first); assert(other)
2304
2305 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2306                         __attribute__warn_unused_result__;
2307 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2308         assert(label)
2309
2310 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2311                         __attribute__warn_unused_result__;
2312 #define PERL_ARGS_ASSERT_NEWLOOPOP
2313
2314 PERL_CALLCONV OP*       Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2315                         __attribute__warn_unused_result__;
2316 #define PERL_ARGS_ASSERT_NEWMETHOP      \
2317         assert(dynamic_meth)
2318
2319 PERL_CALLCONV OP*       Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2320                         __attribute__warn_unused_result__;
2321 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED        \
2322         assert(const_meth)
2323
2324 PERL_CALLCONV CV *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2325 #define PERL_ARGS_ASSERT_NEWMYSUB       \
2326         assert(o)
2327 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2328                         __attribute__warn_unused_result__;
2329 #define PERL_ARGS_ASSERT_NEWNULLLIST
2330
2331 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2332                         __attribute__warn_unused_result__;
2333 #define PERL_ARGS_ASSERT_NEWOP
2334
2335 PERL_CALLCONV PADNAMELIST *     Perl_newPADNAMELIST(size_t max)
2336                         __attribute__warn_unused_result__;
2337 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2338
2339 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2340                         __attribute__warn_unused_result__;
2341 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER        \
2342         assert(outer)
2343
2344 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2345                         __attribute__warn_unused_result__;
2346 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN  \
2347         assert(s)
2348
2349 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2350                         __attribute__warn_unused_result__;
2351 #define PERL_ARGS_ASSERT_NEWPMOP
2352
2353 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o);
2354 #define PERL_ARGS_ASSERT_NEWPROG        \
2355         assert(o)
2356 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2357                         __attribute__warn_unused_result__;
2358 #define PERL_ARGS_ASSERT_NEWPVOP
2359
2360 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2361                         __attribute__warn_unused_result__;
2362 #define PERL_ARGS_ASSERT_NEWRANGE       \
2363         assert(left); assert(right)
2364
2365 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2366                         __attribute__warn_unused_result__;
2367 #define PERL_ARGS_ASSERT_NEWRV  \
2368         assert(sv)
2369
2370 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2371                         __attribute__warn_unused_result__;
2372 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2373         assert(tmpRef)
2374
2375 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2376                         __attribute__warn_unused_result__;
2377 #define PERL_ARGS_ASSERT_NEWSLICEOP
2378
2379 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2380                         __attribute__warn_unused_result__;
2381 #define PERL_ARGS_ASSERT_NEWSTATEOP
2382
2383 PERL_CALLCONV CV*       Perl_newSTUB(pTHX_ GV *gv, bool fake);
2384 #define PERL_ARGS_ASSERT_NEWSTUB        \
2385         assert(gv)
2386 #ifndef NO_MATHOMS
2387 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2388 #define PERL_ARGS_ASSERT_NEWSUB
2389 #endif
2390 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2391                         __attribute__warn_unused_result__;
2392 #define PERL_ARGS_ASSERT_NEWSV
2393
2394 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2395                         __attribute__warn_unused_result__;
2396 #define PERL_ARGS_ASSERT_NEWSVOP        \
2397         assert(sv)
2398
2399 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2400                         __attribute__warn_unused_result__;
2401 #define PERL_ARGS_ASSERT_NEWSVREF       \
2402         assert(o)
2403
2404 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2405                         __attribute__warn_unused_result__;
2406 #define PERL_ARGS_ASSERT_NEWSV_TYPE
2407
2408 PERL_CALLCONV SV*       Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2409                         __attribute__warn_unused_result__;
2410 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2411         assert(av)
2412
2413 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2414                         __attribute__warn_unused_result__;
2415 #define PERL_ARGS_ASSERT_NEWSVHEK
2416
2417 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2418                         __attribute__warn_unused_result__;
2419 #define PERL_ARGS_ASSERT_NEWSVIV
2420
2421 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2422                         __attribute__warn_unused_result__;
2423 #define PERL_ARGS_ASSERT_NEWSVNV
2424
2425 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2426                         __attribute__warn_unused_result__;
2427 #define PERL_ARGS_ASSERT_NEWSVPV
2428
2429 PERL_CALLCONV SV*       Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2430                         __attribute__warn_unused_result__;
2431 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
2432
2433 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2434                         __attribute__warn_unused_result__
2435                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
2436 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2437         assert(pat)
2438
2439 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2440                         __attribute__warn_unused_result__;
2441 #define PERL_ARGS_ASSERT_NEWSVPVN
2442
2443 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2444                         __attribute__warn_unused_result__;
2445 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
2446
2447 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2448                         __attribute__warn_unused_result__;
2449 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
2450
2451 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2452 #define PERL_ARGS_ASSERT_NEWSVRV        \
2453         assert(rv)
2454 #ifndef NO_MATHOMS
2455 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2456                         __attribute__warn_unused_result__;
2457 #define PERL_ARGS_ASSERT_NEWSVSV
2458 #endif
2459
2460 PERL_CALLCONV SV*       Perl_newSVsv_flags(pTHX_ SV *const old, I32 flags)
2461                         __attribute__warn_unused_result__;
2462 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
2463
2464 /* PERL_CALLCONV SV*    newSVsv_nomg(pTHX_ SV *const old)
2465                         __attribute__warn_unused_result__; */
2466 #define PERL_ARGS_ASSERT_NEWSVSV_NOMG
2467
2468 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2469                         __attribute__warn_unused_result__;
2470 #define PERL_ARGS_ASSERT_NEWSVUV
2471
2472 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2473                         __attribute__warn_unused_result__;
2474 #define PERL_ARGS_ASSERT_NEWUNOP
2475
2476 PERL_CALLCONV OP*       Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2477                         __attribute__warn_unused_result__;
2478 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
2479
2480 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2481                         __attribute__warn_unused_result__;
2482 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2483         assert(block)
2484
2485 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2486                         __attribute__warn_unused_result__;
2487 #define PERL_ARGS_ASSERT_NEWWHILEOP
2488
2489 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2490 #define PERL_ARGS_ASSERT_NEWXS  \
2491         assert(subaddr); assert(filename)
2492 PERL_CALLCONV CV *      Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2493 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE  \
2494         assert(name); assert(subaddr)
2495 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2496 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2497         assert(subaddr); assert(filename)
2498 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);
2499 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS        \
2500         assert(subaddr)
2501 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2502                         __attribute__warn_unused_result__;
2503 #define PERL_ARGS_ASSERT_NEW_STACKINFO
2504
2505 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver);
2506 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2507         assert(ver)
2508 PERL_CALLCONV STRLEN *  Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2509                         __attribute__warn_unused_result__;
2510 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD  \
2511         assert(bits)
2512
2513 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv, bool nomagicopen);
2514 #define PERL_ARGS_ASSERT_NEXTARGV       \
2515         assert(gv)
2516 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2517                         __attribute__warn_unused_result__
2518                         __attribute__pure__;
2519 #define PERL_ARGS_ASSERT_NINSTR \
2520         assert(big); assert(bigend); assert(little); assert(lend)
2521
2522 PERL_CALLCONV_NO_RET void       Perl_noperl_die(const char* pat, ...)
2523                         __attribute__noreturn__
2524                         __attribute__format__(__printf__,1,2);
2525 #define PERL_ARGS_ASSERT_NOPERL_DIE     \
2526         assert(pat)
2527
2528 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
2529 #define PERL_ARGS_ASSERT_NOTHREADHOOK
2530 PERL_CALLCONV void      Perl_notify_parser_that_changed_to_utf8(pTHX);
2531 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
2532 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2533                         __attribute__warn_unused_result__;
2534 #define PERL_ARGS_ASSERT_OOPSAV \
2535         assert(o)
2536
2537 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2538                         __attribute__warn_unused_result__;
2539 #define PERL_ARGS_ASSERT_OOPSHV \
2540         assert(o)
2541
2542 PERL_CALLCONV OP*       Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2543 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
2544 PERL_CALLCONV OP*       Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2545 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
2546 PERL_CALLCONV OPclass   Perl_op_class(pTHX_ const OP *o);
2547 #define PERL_ARGS_ASSERT_OP_CLASS
2548 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o);
2549 #define PERL_ARGS_ASSERT_OP_CLEAR       \
2550         assert(o)
2551 PERL_CALLCONV OP*       Perl_op_contextualize(pTHX_ OP* o, I32 context);
2552 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE       \
2553         assert(o)
2554 PERL_CALLCONV OP*       Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
2555                         __attribute__warn_unused_result__;
2556 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
2557
2558 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o);
2559 #define PERL_ARGS_ASSERT_OP_DUMP        \
2560         assert(o)
2561 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2562 #define PERL_ARGS_ASSERT_OP_FREE
2563 PERL_CALLCONV OP*       Perl_op_linklist(pTHX_ OP *o);
2564 #define PERL_ARGS_ASSERT_OP_LINKLIST    \
2565         assert(o)
2566 /* PERL_CALLCONV OP*    op_lvalue(pTHX_ OP* o, I32 type); */
2567 #define PERL_ARGS_ASSERT_OP_LVALUE
2568 PERL_CALLCONV OP*       Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
2569 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
2570 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o);
2571 #define PERL_ARGS_ASSERT_OP_NULL        \
2572         assert(o)
2573 PERL_CALLCONV OP*       Perl_op_parent(OP *o);
2574 #define PERL_ARGS_ASSERT_OP_PARENT      \
2575         assert(o)
2576 PERL_CALLCONV OP*       Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
2577 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
2578 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
2579 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
2580 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
2581 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
2582 PERL_CALLCONV OP*       Perl_op_scope(pTHX_ OP* o);
2583 #define PERL_ARGS_ASSERT_OP_SCOPE
2584 PERL_CALLCONV OP*       Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
2585 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
2586 PERL_CALLCONV OP*       Perl_op_unscope(pTHX_ OP* o);
2587 #define PERL_ARGS_ASSERT_OP_UNSCOPE
2588 PERL_CALLCONV void      Perl_optimize_optree(pTHX_ OP* o);
2589 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE        \
2590         assert(o)
2591 #ifndef NO_MATHOMS
2592 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)
2593                         __attribute__deprecated__;
2594 #define PERL_ARGS_ASSERT_PACK_CAT       \
2595         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2596 #endif
2597
2598 PERL_CALLCONV void      Perl_package(pTHX_ OP* o);
2599 #define PERL_ARGS_ASSERT_PACKAGE        \
2600         assert(o)
2601 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v);
2602 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2603         assert(v)
2604 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
2605 #define PERL_ARGS_ASSERT_PACKLIST       \
2606         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2607 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
2608 #define PERL_ARGS_ASSERT_PAD_ADD_ANON   \
2609         assert(func)
2610 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
2611 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV        \
2612         assert(name)
2613 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
2614 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN       \
2615         assert(namepv)
2616 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
2617 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV        \
2618         assert(name)
2619 PERL_CALLCONV void      Perl_pad_add_weakref(pTHX_ CV* func);
2620 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF        \
2621         assert(func)
2622 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2623 #define PERL_ARGS_ASSERT_PAD_ALLOC
2624 PERL_CALLCONV void      Perl_pad_block_start(pTHX_ int full);
2625 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
2626 #ifndef NO_MATHOMS
2627 PERL_CALLCONV HV*       Perl_pad_compname_type(pTHX_ const PADOFFSET po)
2628                         __attribute__deprecated__
2629                         __attribute__warn_unused_result__;
2630 #define PERL_ARGS_ASSERT_PAD_COMPNAME_TYPE
2631 #endif
2632
2633 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
2634 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV  \
2635         assert(name)
2636 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
2637 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
2638         assert(namepv)
2639 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
2640 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV  \
2641         assert(name)
2642 PERL_CALLCONV void      Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv);
2643 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS  \
2644         assert(padlist); assert(old_cv); assert(new_cv)
2645 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2646 #define PERL_ARGS_ASSERT_PAD_FREE
2647 PERL_CALLCONV OP *      Perl_pad_leavemy(pTHX);
2648 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
2649 PERL_CALLCONV PADLIST*  Perl_pad_new(pTHX_ int flags)
2650                         __attribute__warn_unused_result__;
2651 #define PERL_ARGS_ASSERT_PAD_NEW
2652
2653 PERL_CALLCONV void      Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
2654 #define PERL_ARGS_ASSERT_PAD_PUSH       \
2655         assert(padlist)
2656 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2657 #define PERL_ARGS_ASSERT_PAD_SWIPE
2658 PERL_CALLCONV void      Perl_pad_tidy(pTHX_ padtidy_type type);
2659 #define PERL_ARGS_ASSERT_PAD_TIDY
2660 PERL_CALLCONV PAD **    Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val);
2661 #define PERL_ARGS_ASSERT_PADLIST_STORE  \
2662         assert(padlist)
2663 PERL_CALLCONV void      Perl_padname_free(pTHX_ PADNAME *pn);
2664 #define PERL_ARGS_ASSERT_PADNAME_FREE   \
2665         assert(pn)
2666 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
2667                         __attribute__warn_unused_result__;
2668 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH      \
2669         assert(pnl)
2670
2671 PERL_CALLCONV void      Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
2672 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE       \
2673         assert(pnl)
2674 PERL_CALLCONV PADNAME **        Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
2675 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE      \
2676         assert(pnl)
2677 PERL_CALLCONV OP*       Perl_parse_arithexpr(pTHX_ U32 flags);
2678 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
2679 PERL_CALLCONV OP*       Perl_parse_barestmt(pTHX_ U32 flags);
2680 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
2681 PERL_CALLCONV OP*       Perl_parse_block(pTHX_ U32 flags);
2682 #define PERL_ARGS_ASSERT_PARSE_BLOCK
2683 PERL_CALLCONV OP*       Perl_parse_fullexpr(pTHX_ U32 flags);
2684 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
2685 PERL_CALLCONV OP*       Perl_parse_fullstmt(pTHX_ U32 flags);
2686 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
2687 PERL_CALLCONV SV*       Perl_parse_label(pTHX_ U32 flags);
2688 #define PERL_ARGS_ASSERT_PARSE_LABEL
2689 PERL_CALLCONV OP*       Perl_parse_listexpr(pTHX_ U32 flags);
2690 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
2691 PERL_CALLCONV OP*       Perl_parse_stmtseq(pTHX_ U32 flags);
2692 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
2693 PERL_CALLCONV OP*       Perl_parse_subsignature(pTHX_ U32 flags);
2694 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
2695 PERL_CALLCONV OP*       Perl_parse_termexpr(pTHX_ U32 flags);
2696 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
2697 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt);
2698 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
2699         assert(popt)
2700 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser);
2701 #define PERL_ARGS_ASSERT_PARSER_FREE    \
2702         assert(parser)
2703 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2704 #define PERL_ARGS_ASSERT_PEEP
2705 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
2706 #define PERL_ARGS_ASSERT_PERL_ALLOC
2707 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl);
2708 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
2709         assert(my_perl)
2710 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl);
2711 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
2712         assert(my_perl)
2713 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl);
2714 #define PERL_ARGS_ASSERT_PERL_FREE      \
2715         assert(my_perl)
2716 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
2717 #define PERL_ARGS_ASSERT_PERL_PARSE     \
2718         assert(my_perl)
2719 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl);
2720 #define PERL_ARGS_ASSERT_PERL_RUN       \
2721         assert(my_perl)
2722 PERL_CALLCONV Signal_t  Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
2723 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
2724 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
2725 #define PERL_ARGS_ASSERT_PMOP_DUMP
2726 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor);
2727 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2728         assert(o); assert(expr)
2729 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2730 #define PERL_ARGS_ASSERT_POP_SCOPE
2731 PERL_CALLCONV void      Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...);
2732 #define PERL_ARGS_ASSERT_POPULATE_ISA   \
2733         assert(name)
2734 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
2735 #define PERL_ARGS_ASSERT_PREGCOMP       \
2736         assert(pattern)
2737 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
2738 #define PERL_ARGS_ASSERT_PREGEXEC       \
2739         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2740 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2741 #define PERL_ARGS_ASSERT_PREGFREE
2742 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx);
2743 #define PERL_ARGS_ASSERT_PREGFREE2      \
2744         assert(rx)
2745 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);
2746 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2747         assert(s)
2748 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
2749                         __attribute__deprecated__;
2750 #define PERL_ARGS_ASSERT_PTR_TABLE_CLEAR
2751
2752 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
2753                         __attribute__warn_unused_result__;
2754 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
2755         assert(tbl)
2756
2757 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
2758 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
2759 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
2760                         __attribute__warn_unused_result__;
2761 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
2762
2763 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
2764 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
2765         assert(tbl)
2766 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
2767 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
2768         assert(tbl); assert(newsv)
2769 PERL_CALLCONV void      Perl_push_scope(pTHX);
2770 #define PERL_ARGS_ASSERT_PUSH_SCOPE
2771 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
2772 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
2773         assert(dsv); assert(pv)
2774 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);
2775 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
2776         assert(str)
2777 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);
2778 #define PERL_ARGS_ASSERT_PV_PRETTY      \
2779         assert(dsv); assert(str)
2780 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
2781 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
2782         assert(dsv); assert(spv)
2783 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err);
2784 #define PERL_ARGS_ASSERT_QERROR \
2785         assert(err)
2786 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
2787 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2788         assert(pattern)
2789 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);
2790 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2791         assert(rx); assert(strbeg); assert(strpos); assert(strend)
2792 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r);
2793 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2794         assert(r)
2795 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, const U32 rx_flags, const U32 pm_flags);
2796 #define PERL_ARGS_ASSERT_RE_OP_COMPILE  \
2797         assert(eng)
2798 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
2799                         __attribute__warn_unused_result__;
2800 #define PERL_ARGS_ASSERT_REALLOC
2801
2802 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2803 #define PERL_ARGS_ASSERT_REENTRANT_FREE
2804 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2805 #define PERL_ARGS_ASSERT_REENTRANT_INIT
2806 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...);
2807 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2808         assert(f)
2809 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2810 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
2811 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
2812 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
2813 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
2814 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
2815         assert(key)
2816 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
2817 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN        \
2818         assert(keypv)
2819 PERL_CALLCONV SV *      Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
2820 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
2821         assert(key)
2822 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
2823 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
2824 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
2825 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
2826 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
2827 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV   \
2828         assert(key)
2829 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);
2830 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN  \
2831         assert(keypv)
2832 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
2833 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV   \
2834         assert(key)
2835 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
2836 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2837         assert(rx)
2838 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
2839 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2840         assert(rx)
2841 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
2842 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2843         assert(rx); assert(key)
2844 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
2845 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2846         assert(rx); assert(namesv)
2847 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
2848 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2849         assert(rx)
2850 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
2851 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2852         assert(rx)
2853 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
2854 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2855         assert(rx)
2856 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
2857 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2858         assert(rx)
2859 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
2860 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2861         assert(rx)
2862 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
2863 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2864         assert(rx); assert(sv)
2865 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
2866 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2867         assert(rx)
2868 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx);
2869 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2870         assert(rx)
2871 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
2872 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2873         assert(ssv)
2874 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r);
2875 #define PERL_ARGS_ASSERT_REGDUMP        \
2876         assert(r)
2877 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);
2878 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2879         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2880 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx);
2881 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2882         assert(rx)
2883 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
2884 #define PERL_ARGS_ASSERT_REGINITCOLORS
2885 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2886                         __attribute__warn_unused_result__;
2887 #define PERL_ARGS_ASSERT_REGNEXT
2888
2889 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
2890 #define PERL_ARGS_ASSERT_REPEATCPY      \
2891         assert(to); assert(from)
2892 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv);
2893 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
2894 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
2895 #define PERL_ARGS_ASSERT_REPORT_UNINIT
2896 PERL_CALLCONV void      Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
2897 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
2898 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv);
2899 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2900         assert(pv)
2901 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2902                         __attribute__warn_unused_result__
2903                         __attribute__pure__;
2904 #define PERL_ARGS_ASSERT_RNINSTR        \
2905         assert(big); assert(bigend); assert(little); assert(lend)
2906
2907 PERL_CALLCONV void      Perl_rpeep(pTHX_ OP* o);
2908 #define PERL_ARGS_ASSERT_RPEEP
2909 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2910 #define PERL_ARGS_ASSERT_RSIGNAL
2911 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2912 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
2913 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save);
2914 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2915         assert(save)
2916 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2917 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
2918 PERL_CALLCONV int       Perl_runops_debug(pTHX);
2919 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
2920 PERL_CALLCONV int       Perl_runops_standard(pTHX);
2921 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
2922 PERL_CALLCONV CV*       Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
2923 #define PERL_ARGS_ASSERT_RV2CV_OP_CV    \
2924         assert(cvop)
2925 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx);
2926 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2927         assert(rsp); assert(rx)
2928 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
2929                         __attribute__malloc__
2930                         __attribute__warn_unused_result__;
2931 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
2932
2933 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
2934 #define PERL_ARGS_ASSERT_SAFESYSFREE
2935 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
2936                         __attribute__malloc__
2937                         __attribute__warn_unused_result__;
2938 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
2939
2940 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
2941                         __attribute__warn_unused_result__;
2942 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
2943
2944 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp);
2945 #define PERL_ARGS_ASSERT_SAVE_I16       \
2946         assert(intp)
2947 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp);
2948 #define PERL_ARGS_ASSERT_SAVE_I32       \
2949         assert(intp)
2950 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep);
2951 #define PERL_ARGS_ASSERT_SAVE_I8        \
2952         assert(bytep)
2953 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, SSize_t key);
2954 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2955         assert(av)
2956 /* PERL_CALLCONV void   save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
2957 #define PERL_ARGS_ASSERT_SAVE_AELEM
2958 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
2959 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2960         assert(av); assert(sptr)
2961 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2962 #define PERL_ARGS_ASSERT_SAVE_ALLOC
2963 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr);
2964 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2965         assert(aptr)
2966 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv);
2967 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2968         assert(gv)
2969 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp);
2970 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2971         assert(boolp)
2972 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp);
2973 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2974         assert(svp)
2975 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
2976 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2977         assert(hv); assert(key)
2978 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
2979 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2980         assert(p)
2981 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2982 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
2983 #ifndef NO_MATHOMS
2984 PERL_CALLCONV void      Perl_save_freeop(pTHX_ OP* o);
2985 #define PERL_ARGS_ASSERT_SAVE_FREEOP
2986 #endif
2987 #ifndef NO_MATHOMS
2988 PERL_CALLCONV void      Perl_save_freepv(pTHX_ char* pv);
2989 #define PERL_ARGS_ASSERT_SAVE_FREEPV
2990 #endif
2991 #ifndef NO_MATHOMS
2992 PERL_CALLCONV void      Perl_save_freesv(pTHX_ SV* sv);
2993 #define PERL_ARGS_ASSERT_SAVE_FREESV
2994 #endif
2995 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str);
2996 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2997         assert(str)
2998 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr);
2999 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
3000         assert(sptr)
3001 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty);
3002 #define PERL_ARGS_ASSERT_SAVE_GP        \
3003         assert(gv)
3004 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv);
3005 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3006         assert(gv)
3007 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
3008 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
3009         assert(hv); assert(keysv)
3010 /* PERL_CALLCONV void   save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
3011 #define PERL_ARGS_ASSERT_SAVE_HELEM
3012 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
3013 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3014         assert(hv); assert(key); assert(sptr)
3015 PERL_CALLCONV void      Perl_save_hints(pTHX);
3016 #define PERL_ARGS_ASSERT_SAVE_HINTS
3017 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr);
3018 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3019         assert(hptr)
3020 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp);
3021 #define PERL_ARGS_ASSERT_SAVE_INT       \
3022         assert(intp)
3023 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item);
3024 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3025         assert(item)
3026 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp);
3027 #define PERL_ARGS_ASSERT_SAVE_IV        \
3028         assert(ivp)
3029 #ifndef NO_MATHOMS
3030 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3031                         __attribute__deprecated__;
3032 #define PERL_ARGS_ASSERT_SAVE_LIST      \
3033         assert(sarg)
3034 #endif
3035
3036 #ifndef NO_MATHOMS
3037 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
3038                         __attribute__deprecated__;
3039 #define PERL_ARGS_ASSERT_SAVE_LONG      \
3040         assert(longp)
3041 #endif
3042
3043 #ifndef NO_MATHOMS
3044 PERL_CALLCONV void      Perl_save_mortalizesv(pTHX_ SV* sv);
3045 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3046         assert(sv)
3047 #endif
3048 #ifndef NO_MATHOMS
3049 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
3050                         __attribute__deprecated__;
3051 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
3052         assert(gv)
3053 #endif
3054
3055 #ifndef NO_MATHOMS
3056 PERL_CALLCONV void      Perl_save_op(pTHX);
3057 #define PERL_ARGS_ASSERT_SAVE_OP
3058 #endif
3059 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3060 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
3061 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr);
3062 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3063         assert(pptr)
3064 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3065 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
3066 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3067 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
3068 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3069 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
3070 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3071 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
3072 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv);
3073 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3074         assert(gv)
3075 PERL_CALLCONV void      Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
3076 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS       \
3077         assert(sv)
3078 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str);
3079 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3080         assert(str)
3081 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr);
3082 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3083         assert(sptr)
3084 PERL_CALLCONV void      Perl_save_strlen(pTHX_ STRLEN* ptr);
3085 #define PERL_ARGS_ASSERT_SAVE_STRLEN    \
3086         assert(ptr)
3087 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr);
3088 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3089         assert(sptr)
3090 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr);
3091 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3092         assert(ptr)
3093 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
3094                         __attribute__malloc__
3095                         __attribute__warn_unused_result__;
3096 #define PERL_ARGS_ASSERT_SAVEPV
3097
3098 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, Size_t len)
3099                         __attribute__malloc__
3100                         __attribute__warn_unused_result__;
3101 #define PERL_ARGS_ASSERT_SAVEPVN
3102
3103 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
3104                         __attribute__malloc__
3105                         __attribute__warn_unused_result__;
3106 #define PERL_ARGS_ASSERT_SAVESHAREDPV
3107
3108 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3109                         __attribute__malloc__
3110                         __attribute__warn_unused_result__;
3111 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
3112
3113 PERL_CALLCONV char*     Perl_savesharedsvpv(pTHX_ SV *sv)
3114                         __attribute__malloc__
3115                         __attribute__warn_unused_result__;
3116 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3117         assert(sv)
3118
3119 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
3120 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
3121 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
3122 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
3123 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
3124                         __attribute__malloc__
3125                         __attribute__warn_unused_result__;
3126 #define PERL_ARGS_ASSERT_SAVESVPV       \
3127         assert(sv)
3128
3129 PERL_CALLCONV void      Perl_savetmps(pTHX);
3130 #define PERL_ARGS_ASSERT_SAVETMPS
3131 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
3132 #define PERL_ARGS_ASSERT_SAWPARENS
3133 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
3134 #define PERL_ARGS_ASSERT_SCALAR
3135 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o);
3136 #define PERL_ARGS_ASSERT_SCALARVOID     \
3137         assert(o)
3138 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3139 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3140         assert(start); assert(retlen)
3141 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3142 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3143         assert(start); assert(retlen)
3144 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
3145 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3146         assert(s); assert(lvalp)
3147 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3148 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3149         assert(start); assert(retlen)
3150 PERL_CALLCONV char*     Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
3151                         __attribute__warn_unused_result__;
3152 #define PERL_ARGS_ASSERT_SCAN_STR       \
3153         assert(start)
3154
3155 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
3156 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
3157         assert(s); assert(rv)
3158 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
3159 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
3160         assert(s); assert(e); assert(sv)
3161 PERL_CALLCONV char*     Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
3162 #define PERL_ARGS_ASSERT_SCAN_WORD      \
3163         assert(s); assert(dest); assert(slp)
3164 PERL_CALLCONV U32       Perl_seed(pTHX);
3165 #define PERL_ARGS_ASSERT_SEED
3166 PERL_CALLCONV void      Perl_set_caret_X(pTHX);
3167 #define PERL_ARGS_ASSERT_SET_CARET_X
3168 PERL_CALLCONV void      Perl_set_context(void *t);
3169 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
3170         assert(t)
3171 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
3172 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD
3173 PERL_CALLCONV void      Perl_set_numeric_underlying(pTHX);
3174 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING
3175 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
3176 #define PERL_ARGS_ASSERT_SETDEFOUT      \
3177         assert(gv)
3178 PERL_CALLCONV void      Perl_setfd_cloexec(int fd);
3179 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
3180 PERL_CALLCONV void      Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd);
3181 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
3182 PERL_CALLCONV void      Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd);
3183 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
3184 PERL_CALLCONV void      Perl_setfd_inhexec(int fd);
3185 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
3186 PERL_CALLCONV void      Perl_setfd_inhexec_for_sysfd(pTHX_ int fd);
3187 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
3188 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
3189 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3190         assert(str)
3191 PERL_CALLCONV Signal_t  Perl_sighandler1(int sig);
3192 #define PERL_ARGS_ASSERT_SIGHANDLER1
3193 PERL_CALLCONV Signal_t  Perl_sighandler3(int sig, Siginfo_t *info, void *uap);
3194 #define PERL_ARGS_ASSERT_SIGHANDLER3
3195 PERL_CALLCONV char*     Perl_skipspace_flags(pTHX_ char *s, U32 flags)
3196                         __attribute__warn_unused_result__;
3197 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS        \
3198         assert(s)
3199
3200 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
3201 #define PERL_ARGS_ASSERT_SORTSV \
3202         assert(cmp)
3203 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
3204 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
3205         assert(cmp)
3206 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
3207 #define PERL_ARGS_ASSERT_STACK_GROW     \
3208         assert(sp); assert(p)
3209 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io);
3210 #define PERL_ARGS_ASSERT_START_GLOB     \
3211         assert(tmpglob); assert(io)
3212 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3213 #define PERL_ARGS_ASSERT_START_SUBPARSE
3214 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3215                         __attribute__warn_unused_result__;
3216 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3217         assert(sv)
3218
3219 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv);
3220 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3221         assert(cv)
3222 #ifndef NO_MATHOMS
3223 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv);
3224 #define PERL_ARGS_ASSERT_SV_2BOOL       \
3225         assert(sv)
3226 #endif
3227 PERL_CALLCONV bool      Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
3228 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3229         assert(sv)
3230 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
3231 #define PERL_ARGS_ASSERT_SV_2CV \
3232         assert(st); assert(gvp)
3233 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv);
3234 #define PERL_ARGS_ASSERT_SV_2IO \
3235         assert(sv)
3236 #ifndef NO_MATHOMS
3237 PERL_CALLCONV IV        Perl_sv_2iv(pTHX_ SV *sv);
3238 #define PERL_ARGS_ASSERT_SV_2IV \
3239         assert(sv)
3240 #endif
3241 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3242 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS   \
3243         assert(sv)
3244 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3245 #define PERL_ARGS_ASSERT_SV_2MORTAL
3246 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv);
3247 #define PERL_ARGS_ASSERT_SV_2NUM        \
3248         assert(sv)
3249 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3250 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS   \
3251         assert(sv)
3252 #ifndef NO_MATHOMS
3253 PERL_CALLCONV char*     Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3254 #define PERL_ARGS_ASSERT_SV_2PV \
3255         assert(sv)
3256 #endif
3257 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3258 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS   \
3259         assert(sv)
3260 #ifndef NO_MATHOMS
3261 PERL_CALLCONV char*     Perl_sv_2pv_nolen(pTHX_ SV* sv)
3262                         __attribute__warn_unused_result__;
3263 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3264         assert(sv)
3265 #endif
3266
3267 #ifndef NO_MATHOMS
3268 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3269 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3270         assert(sv)
3271 #endif
3272 PERL_CALLCONV char*     Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3273 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS       \
3274         assert(sv)
3275 #ifndef NO_MATHOMS
3276 PERL_CALLCONV char*     Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3277                         __attribute__warn_unused_result__;
3278 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3279         assert(sv)
3280 #endif
3281
3282 #ifndef NO_MATHOMS
3283 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3284 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3285         assert(sv)
3286 #endif
3287 PERL_CALLCONV char*     Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3288 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS       \
3289         assert(sv)
3290 #ifndef NO_MATHOMS
3291 PERL_CALLCONV char*     Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3292                         __attribute__warn_unused_result__;
3293 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3294         assert(sv)
3295 #endif
3296
3297 #ifndef NO_MATHOMS
3298 PERL_CALLCONV UV        Perl_sv_2uv(pTHX_ SV *sv);
3299 #define PERL_ARGS_ASSERT_SV_2UV \
3300         assert(sv)
3301 #endif
3302 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3303 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS   \
3304         assert(sv)
3305 PERL_CALLCONV void      Perl_sv_backoff(SV *const sv);
3306 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3307         assert(sv)
3308 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3309 #define PERL_ARGS_ASSERT_SV_BLESS       \
3310         assert(sv); assert(stash)
3311 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3312 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3313         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3314 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const dsv, const char* sstr);
3315 #define PERL_ARGS_ASSERT_SV_CATPV       \
3316         assert(dsv)
3317 PERL_CALLCONV void      Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
3318 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3319         assert(dsv); assert(sstr)
3320 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const dsv, const char *const sstr);
3321 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3322         assert(dsv)
3323 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3324                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3325 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3326         assert(sv); assert(pat)
3327
3328 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3329                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3330 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3331         assert(sv); assert(pat)
3332
3333 #ifndef NO_MATHOMS
3334 PERL_CALLCONV void      Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3335 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3336         assert(dsv); assert(sstr)
3337 #endif
3338 PERL_CALLCONV void      Perl_sv_catpvn_flags(pTHX_ SV *const dsv, const char *sstr, const STRLEN len, const I32 flags);
3339 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS        \
3340         assert(dsv); assert(sstr)
3341 #ifndef NO_MATHOMS
3342 PERL_CALLCONV void      Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3343 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3344         assert(dsv); assert(sstr)
3345 #endif
3346 #ifndef NO_MATHOMS
3347 PERL_CALLCONV void      Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
3348 #define PERL_ARGS_ASSERT_SV_CATSV       \
3349         assert(dsv)
3350 #endif
3351 PERL_CALLCONV void      Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const sstr, const I32 flags);
3352 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3353         assert(dsv)
3354 #ifndef NO_MATHOMS
3355 PERL_CALLCONV void      Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
3356 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3357         assert(dsv)
3358 #endif
3359 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3360 #define PERL_ARGS_ASSERT_SV_CHOP        \
3361         assert(sv)
3362 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3363 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
3364 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3365 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
3366 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const orig_sv);
3367 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3368         assert(orig_sv)
3369 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3370 #define PERL_ARGS_ASSERT_SV_CMP
3371 PERL_CALLCONV I32       Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3372 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
3373 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3374 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
3375 PERL_CALLCONV I32       Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3376 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
3377 #ifndef NO_MATHOMS
3378 PERL_CALLCONV void      Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3379 #define PERL_ARGS_ASSERT_SV_COPYPV      \
3380         assert(dsv); assert(ssv)
3381 #endif
3382 PERL_CALLCONV void      Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3383 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS        \
3384         assert(dsv); assert(ssv)
3385 /* PERL_CALLCONV void   sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3386 #define PERL_ARGS_ASSERT_SV_COPYPV_NOMG
3387 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3388 #define PERL_ARGS_ASSERT_SV_DEC
3389 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3390 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
3391 PERL_CALLCONV void      Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3392 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3393         assert(tsv); assert(sv)
3394 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3395                         __attribute__warn_unused_result__;
3396 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3397         assert(sv); assert(name)
3398
3399 PERL_CALLCONV bool      Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3400                         __attribute__warn_unused_result__;
3401 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV     \
3402         assert(sv); assert(name)
3403
3404 PERL_CALLCONV bool      Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3405                         __attribute__warn_unused_result__;
3406 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN    \
3407         assert(sv); assert(name)
3408
3409 PERL_CALLCONV bool      Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3410                         __attribute__warn_unused_result__;
3411 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV     \
3412         assert(sv); assert(namesv)
3413
3414 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
3415 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
3416 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3417                         __attribute__warn_unused_result__;
3418 #define PERL_ARGS_ASSERT_SV_DOES        \
3419         assert(sv); assert(name)
3420
3421 PERL_CALLCONV bool      Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3422                         __attribute__warn_unused_result__;
3423 #define PERL_ARGS_ASSERT_SV_DOES_PV     \
3424         assert(sv); assert(name)
3425
3426 PERL_CALLCONV bool      Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3427                         __attribute__warn_unused_result__;
3428 #define PERL_ARGS_ASSERT_SV_DOES_PVN    \
3429         assert(sv); assert(name)
3430
3431 PERL_CALLCONV bool      Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3432                         __attribute__warn_unused_result__;
3433 #define PERL_ARGS_ASSERT_SV_DOES_SV     \
3434         assert(sv); assert(namesv)
3435
3436 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv);
3437 #define PERL_ARGS_ASSERT_SV_DUMP
3438 #ifndef NO_MATHOMS
3439 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3440 #define PERL_ARGS_ASSERT_SV_EQ
3441 #endif
3442 PERL_CALLCONV I32       Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3443 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
3444 #ifndef NO_MATHOMS
3445 PERL_CALLCONV void      Perl_sv_force_normal(pTHX_ SV *sv);
3446 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3447         assert(sv)
3448 #endif
3449 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3450 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3451         assert(sv)
3452 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3453 #define PERL_ARGS_ASSERT_SV_FREE
3454 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3455 #define PERL_ARGS_ASSERT_SV_FREE2       \
3456         assert(sv)
3457 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3458 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
3459 PERL_CALLCONV SV*       Perl_sv_get_backrefs(SV *const sv);
3460 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS        \
3461         assert(sv)
3462 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3463 #define PERL_ARGS_ASSERT_SV_GETS        \
3464         assert(sv); assert(fp)
3465 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3466 #define PERL_ARGS_ASSERT_SV_GROW        \
3467         assert(sv)
3468 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3469 #define PERL_ARGS_ASSERT_SV_INC
3470 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3471 #define PERL_ARGS_ASSERT_SV_INC_NOMG
3472 #ifndef NO_MATHOMS
3473 PERL_CALLCONV void      Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3474 #define PERL_ARGS_ASSERT_SV_INSERT      \
3475         assert(bigstr); assert(little)
3476 #endif
3477 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
3478 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3479         assert(bigstr); assert(little)
3480 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3481 #define PERL_ARGS_ASSERT_SV_ISA \
3482         assert(name)
3483 PERL_CALLCONV bool      Perl_sv_isa_sv(pTHX_ SV* sv, SV* namesv)
3484                         __attribute__warn_unused_result__;
3485 #define PERL_ARGS_ASSERT_SV_ISA_SV      \
3486         assert(sv); assert(namesv)
3487
3488 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3489 #define PERL_ARGS_ASSERT_SV_ISOBJECT
3490 #ifndef NO_MATHOMS
3491 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
3492                         __attribute__deprecated__;
3493 #define PERL_ARGS_ASSERT_SV_IV  \
3494         assert(sv)
3495 #endif
3496
3497 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3498 #define PERL_ARGS_ASSERT_SV_LEN
3499 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3500 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
3501 PERL_CALLCONV STRLEN    Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3502 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG       \
3503         assert(sv)
3504 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3505 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3506         assert(sv)
3507 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);
3508 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3509         assert(sv)
3510 PERL_CALLCONV MAGIC *   Perl_sv_magicext_mglob(pTHX_ SV *sv);
3511 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB      \
3512         assert(sv)
3513 #ifndef NO_MATHOMS
3514 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3515                         __attribute__warn_unused_result__;
3516 #define PERL_ARGS_ASSERT_SV_MORTALCOPY
3517 #endif
3518
3519 PERL_CALLCONV SV*       Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
3520                         __attribute__warn_unused_result__;
3521 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
3522
3523 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3524                         __attribute__warn_unused_result__;
3525 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
3526
3527 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3528 #define PERL_ARGS_ASSERT_SV_NEWREF
3529 #ifndef NO_MATHOMS
3530 PERL_CALLCONV void      Perl_sv_nolocking(pTHX_ SV *sv)
3531                         __attribute__deprecated__;
3532 #define PERL_ARGS_ASSERT_SV_NOLOCKING
3533 #endif
3534
3535 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
3536 #define PERL_ARGS_ASSERT_SV_NOSHARING
3537 #ifndef NO_MATHOMS
3538 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv)
3539                         __attribute__deprecated__;
3540 #define PERL_ARGS_ASSERT_SV_NOUNLOCKING
3541 #endif
3542
3543 #ifndef NO_MATHOMS
3544 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
3545                         __attribute__deprecated__;
3546 #define PERL_ARGS_ASSERT_SV_NV  \
3547         assert(sv)
3548 #endif
3549
3550 #ifndef PERL_NO_INLINE_FUNCTIONS
3551 PERL_STATIC_INLINE bool Perl_sv_only_taint_gmagic(SV *sv);
3552 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC   \
3553         assert(sv)
3554 #endif
3555 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3556 #define PERL_ARGS_ASSERT_SV_PEEK
3557 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
3558 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3559         assert(offsetp)
3560 PERL_CALLCONV STRLEN    Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
3561 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS       \
3562         assert(sv)
3563 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
3564 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3565         assert(offsetp)
3566 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
3567 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3568         assert(sv)
3569 #ifndef NO_MATHOMS
3570 PERL_CALLCONV char*     Perl_sv_pv(pTHX_ SV *sv)
3571                         __attribute__warn_unused_result__;
3572 #define PERL_ARGS_ASSERT_SV_PV  \
3573         assert(sv)
3574 #endif
3575
3576 #ifndef NO_MATHOMS
3577 PERL_CALLCONV char*     Perl_sv_pvbyte(pTHX_ SV *sv)
3578                         __attribute__warn_unused_result__;
3579 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3580         assert(sv)
3581 #endif
3582
3583 #ifndef NO_MATHOMS
3584 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3585                         __attribute__deprecated__;
3586 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3587         assert(sv); assert(lp)
3588 #endif
3589
3590 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
3591 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3592         assert(sv)
3593 #ifndef NO_MATHOMS
3594 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3595                         __attribute__deprecated__;
3596 #define PERL_ARGS_ASSERT_SV_PVN \
3597         assert(sv); assert(lp)
3598 #endif
3599
3600 #ifndef NO_MATHOMS
3601 PERL_CALLCONV char*     Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
3602 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3603         assert(sv)
3604 #endif
3605 PERL_CALLCONV char*     Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3606 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS     \
3607         assert(sv)
3608 #ifndef NO_MATHOMS
3609 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3610                         __attribute__deprecated__;
3611 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3612         assert(sv)
3613 #endif
3614
3615 #ifndef NO_MATHOMS
3616 PERL_CALLCONV char*     Perl_sv_pvutf8(pTHX_ SV *sv)
3617                         __attribute__warn_unused_result__;
3618 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3619         assert(sv)
3620 #endif
3621
3622 #ifndef NO_MATHOMS
3623 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3624                         __attribute__deprecated__;
3625 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3626         assert(sv); assert(lp)
3627 #endif
3628
3629 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
3630 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3631         assert(sv)
3632 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
3633 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3634         assert(sv); assert(encoding)
3635 PERL_CALLCONV SV*       Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
3636 #define PERL_ARGS_ASSERT_SV_REF \
3637         assert(sv)
3638 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3639                         __attribute__warn_unused_result__;
3640 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3641         assert(sv)
3642
3643 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
3644 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3645         assert(sv); assert(nsv)
3646 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3647 #define PERL_ARGS_ASSERT_SV_REPORT_USED
3648 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash);
3649 #define PERL_ARGS_ASSERT_SV_RESET       \
3650         assert(s)
3651 PERL_CALLCONV void      Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash);
3652 #define PERL_ARGS_ASSERT_SV_RESETPVN
3653 PERL_CALLCONV SV*       Perl_sv_rvunweaken(pTHX_ SV *const sv);
3654 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN  \
3655         assert(sv)
3656 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv);
3657 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
3658         assert(sv)
3659 PERL_CALLCONV void      Perl_sv_set_undef(pTHX_ SV *sv);
3660 #define PERL_ARGS_ASSERT_SV_SET_UNDEF   \
3661         assert(sv)
3662 PERL_CALLCONV void      Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
3663 #define PERL_ARGS_ASSERT_SV_SETHEK      \
3664         assert(sv)
3665 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
3666 #define PERL_ARGS_ASSERT_SV_SETIV       \
3667         assert(sv)
3668 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
3669 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3670         assert(sv)
3671 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
3672 #define PERL_ARGS_ASSERT_SV_SETNV       \
3673         assert(sv)
3674 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
3675 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3676         assert(sv)
3677 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
3678 #define PERL_ARGS_ASSERT_SV_SETPV       \
3679         assert(sv)
3680 PERL_CALLCONV char  *   Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
3681 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE       \
3682         assert(sv)
3683 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
3684 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3685         assert(sv)
3686 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3687                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3688 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3689         assert(sv); assert(pat)
3690
3691 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3692                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
3693 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3694         assert(sv); assert(pat)
3695
3696 #ifndef NO_MATHOMS
3697 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3698                         __attribute__deprecated__;
3699 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3700         assert(sv)
3701 #endif
3702
3703 #ifndef NO_MATHOMS
3704 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
3705                         __attribute__deprecated__;
3706 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3707         assert(sv)
3708 #endif
3709
3710 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3711 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3712         assert(sv)
3713 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
3714 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3715         assert(sv); assert(ptr)
3716 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
3717 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3718         assert(rv)
3719 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
3720 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3721         assert(rv)
3722 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
3723 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3724         assert(rv)
3725 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
3726 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3727         assert(rv); assert(pv)
3728 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
3729 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3730         assert(rv)
3731 #ifndef NO_MATHOMS
3732 PERL_CALLCONV void      Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
3733 #define PERL_ARGS_ASSERT_SV_SETSV       \
3734         assert(dsv)
3735 #endif
3736 PERL_CALLCONV void      Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
3737 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
3738         assert(dsv)
3739 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dsv, SV *const ssv);
3740 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3741         assert(dsv)
3742 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
3743 #define PERL_ARGS_ASSERT_SV_SETUV       \
3744         assert(sv)
3745 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
3746 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3747         assert(sv)
3748 PERL_CALLCONV SV*       Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
3749 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
3750 #ifndef NO_MATHOMS
3751 PERL_CALLCONV void      Perl_sv_taint(pTHX_ SV* sv);
3752 #define PERL_ARGS_ASSERT_SV_TAINT       \
3753         assert(sv)
3754 #endif
3755 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3756                         __attribute__warn_unused_result__;
3757 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3758         assert(sv)
3759
3760 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3761 #define PERL_ARGS_ASSERT_SV_TRUE
3762 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3763                         __attribute__warn_unused_result__;
3764 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3765         assert(dsv); assert(ssv)
3766
3767 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
3768 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3769         assert(sv)
3770 PERL_CALLCONV int       Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
3771 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT  \
3772         assert(sv)
3773 #ifndef NO_MATHOMS
3774 PERL_CALLCONV void      Perl_sv_unref(pTHX_ SV* sv);
3775 #define PERL_ARGS_ASSERT_SV_UNREF       \
3776         assert(sv)
3777 #endif
3778 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
3779 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3780         assert(ref)
3781 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv);
3782 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3783         assert(sv)
3784 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
3785 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3786         assert(sv)
3787 #ifndef NO_MATHOMS
3788 PERL_CALLCONV void      Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
3789 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3790         assert(sv)
3791 #endif
3792 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
3793 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3794         assert(sv)
3795 #ifndef NO_MATHOMS
3796 PERL_CALLCONV void      Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
3797 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3798         assert(sv)
3799 #endif
3800 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv);
3801 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3802         assert(sv)
3803 #ifndef NO_MATHOMS
3804 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
3805 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3806         assert(sv)
3807 #endif
3808 PERL_CALLCONV bool      Perl_sv_utf8_downgrade_flags(pTHX_ SV *const sv, const bool fail_ok, const U32 flags);
3809 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS        \
3810         assert(sv)
3811 /* PERL_CALLCONV bool   sv_utf8_downgrade_nomg(pTHX_ SV *const sv, const bool fail_ok); */
3812 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_NOMG
3813 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv);
3814 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3815         assert(sv)
3816 #ifndef NO_MATHOMS
3817 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade(pTHX_ SV *sv);
3818 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3819         assert(sv)
3820 #endif
3821 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
3822 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS
3823 PERL_CALLCONV STRLEN    Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
3824 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW     \
3825         assert(sv)
3826 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
3827 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_NOMG
3828 #ifndef NO_MATHOMS
3829 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
3830                         __attribute__deprecated__;
3831 #define PERL_ARGS_ASSERT_SV_UV  \
3832         assert(sv)
3833 #endif
3834
3835 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3836 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3837         assert(sv); assert(pat)
3838 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3839 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3840         assert(sv); assert(pat)
3841 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 Size_t sv_count, bool *const maybe_tainted);
3842 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3843         assert(sv); assert(pat)
3844 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 Size_t sv_count, bool *const maybe_tainted, const U32 flags);
3845 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS      \
3846         assert(sv); assert(pat)
3847 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3848 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3849         assert(sv); assert(pat)
3850 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
3851 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3852         assert(sv); assert(pat)
3853 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 Size_t sv_count, bool *const maybe_tainted);
3854 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3855         assert(sv); assert(pat)
3856 PERL_CALLCONV void      Perl_switch_to_global_locale(void);
3857 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
3858 PERL_CALLCONV bool      Perl_sync_locale(void);
3859 #define PERL_ARGS_ASSERT_SYNC_LOCALE
3860 PERL_CALLCONV void      Perl_sys_init(int* argc, char*** argv);
3861 #define PERL_ARGS_ASSERT_SYS_INIT       \
3862         assert(argc); assert(argv)
3863 PERL_CALLCONV void      Perl_sys_init3(int* argc, char*** argv, char*** env);
3864 #define PERL_ARGS_ASSERT_SYS_INIT3      \
3865         assert(argc); assert(argv); assert(env)
3866 PERL_CALLCONV void      Perl_sys_term(void);
3867 #define PERL_ARGS_ASSERT_SYS_TERM
3868 PERL_CALLCONV void      Perl_taint_env(pTHX);
3869 #define PERL_ARGS_ASSERT_TAINT_ENV
3870 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s);
3871 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3872         assert(s)
3873 PERL_CALLCONV void      Perl_thread_locale_init(void);
3874 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
3875 PERL_CALLCONV void      Perl_thread_locale_term(void);
3876 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
3877 PERL_CALLCONV OP *      Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...);
3878 #define PERL_ARGS_ASSERT_TIED_METHOD    \
3879         assert(methname); assert(sp); assert(sv); assert(mg)
3880 PERL_CALLCONV SSize_t   Perl_tmps_grow_p(pTHX_ SSize_t ix);
3881 #define PERL_ARGS_ASSERT_TMPS_GROW_P
3882 /* PERL_CALLCONV UV     to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
3883 #define PERL_ARGS_ASSERT_TO_UNI_FOLD
3884 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
3885 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
3886         assert(p); assert(lenp)
3887 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
3888 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
3889         assert(p); assert(lenp)
3890 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
3891 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
3892         assert(p); assert(lenp)
3893 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
3894 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
3895 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
3896 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
3897 #ifndef NO_MATHOMS
3898 PERL_CALLCONV SSize_t   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)
3899                         __attribute__deprecated__;
3900 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3901         assert(pat); assert(patend); assert(s); assert(strend)
3902 #endif
3903
3904 PERL_CALLCONV SSize_t   Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
3905 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3906         assert(pat); assert(patend); assert(s); assert(strend)
3907 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3908 #define PERL_ARGS_ASSERT_UNSHARE_HEK
3909 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3910 #define PERL_ARGS_ASSERT_UNSHAREPVN
3911 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv);
3912 #define PERL_ARGS_ASSERT_UPG_VERSION    \
3913         assert(ver)
3914 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
3915 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3916         assert(p); assert(d); assert(newlen)
3917 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
3918 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3919         assert(p); assert(d); assert(newlen)
3920 #ifndef PERL_NO_INLINE_FUNCTIONS
3921 PERL_STATIC_INLINE IV   Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3922                         __attribute__warn_unused_result__;
3923 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3924         assert(a); assert(b)
3925 #endif
3926
3927 #ifndef PERL_NO_INLINE_FUNCTIONS
3928 PERL_STATIC_INLINE U8*  Perl_utf8_hop(const U8 *s, SSize_t off)
3929                         __attribute__warn_unused_result__;
3930 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3931         assert(s)
3932 #endif
3933
3934 #ifndef PERL_NO_INLINE_FUNCTIONS
3935 PERL_STATIC_INLINE U8*  Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
3936                         __attribute__warn_unused_result__;
3937 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK  \
3938         assert(s); assert(start)
3939 #endif
3940
3941 #ifndef PERL_NO_INLINE_FUNCTIONS
3942 PERL_STATIC_INLINE U8*  Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
3943                         __attribute__warn_unused_result__;
3944 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD       \
3945         assert(s); assert(end)
3946 #endif
3947
3948 #ifndef PERL_NO_INLINE_FUNCTIONS
3949 PERL_STATIC_INLINE U8*  Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
3950                         __attribute__warn_unused_result__;
3951 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE  \
3952         assert(s); assert(start); assert(end)
3953 #endif
3954
3955 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3956                         __attribute__warn_unused_result__;
3957 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3958         assert(s); assert(e)
3959
3960 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
3961 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3962         assert(s); assert(lenp)
3963 #ifndef NO_MATHOMS
3964 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3965                         __attribute__deprecated__;
3966 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3967         assert(s)
3968 #endif
3969
3970 PERL_CALLCONV UV        Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
3971 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF      \
3972         assert(s); assert(send)
3973 #ifndef PERL_NO_INLINE_FUNCTIONS
3974 PERL_STATIC_INLINE UV   Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
3975 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER       \
3976         assert(s); assert(send)
3977 #endif
3978 #ifndef NO_MATHOMS
3979 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3980                         __attribute__deprecated__;
3981 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3982         assert(s)
3983 #endif
3984
3985 PERL_CALLCONV UV        Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen)
3986                         __attribute__deprecated__;
3987 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF      \
3988         assert(s); assert(send)
3989
3990 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
3991 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3992         assert(s)
3993 PERL_CALLCONV UV        Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
3994 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR   \
3995         assert(s)
3996 #ifndef PERL_NO_INLINE_FUNCTIONS
3997 PERL_STATIC_INLINE UV   Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
3998 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS    \
3999         assert(s)
4000 #endif
4001 #ifndef NO_MATHOMS
4002 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4003                         __attribute__deprecated__;
4004 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4005         assert(s)
4006 #endif
4007
4008 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg);
4009 #define PERL_ARGS_ASSERT_UTILIZE        \
4010         assert(idop)
4011 /* PERL_CALLCONV U8*    uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
4012 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8
4013 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
4014 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS
4015 /* PERL_CALLCONV U8*    uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
4016 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS_MSGS
4017 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, const UV flags);
4018 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4019         assert(d)
4020 PERL_CALLCONV U8*       Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, const UV flags, HV** msgs);
4021 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS    \
4022         assert(d)
4023 PERL_CALLCONV U8*       Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
4024 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
4025         assert(d)
4026 #ifndef NO_MATHOMS
4027 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
4028                         __attribute__deprecated__;
4029 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
4030         assert(d)
4031 #endif
4032
4033 #ifndef PERL_NO_INLINE_FUNCTIONS
4034 PERL_STATIC_INLINE UV   Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
4035                         __attribute__warn_unused_result__;
4036 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR    \
4037         assert(s)
4038 #endif
4039
4040 #ifndef NO_MATHOMS
4041 PERL_CALLCONV UV        Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4042                         __attribute__deprecated__;
4043 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI    \
4044         assert(s)
4045 #endif
4046
4047 PERL_CALLCONV bool      Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
4048 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4049         assert(name)
4050 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
4051 #define PERL_ARGS_ASSERT_VCMP   \
4052         assert(lhv); assert(rhv)
4053 PERL_CALLCONV_NO_RET void       Perl_vcroak(pTHX_ const char* pat, va_list* args)
4054                         __attribute__noreturn__;
4055 #define PERL_ARGS_ASSERT_VCROAK
4056
4057 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args);
4058 #define PERL_ARGS_ASSERT_VDEB   \
4059         assert(pat)
4060 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args);
4061 #define PERL_ARGS_ASSERT_VFORM  \
4062         assert(pat)
4063 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv);
4064 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4065         assert(sv)
4066 PERL_CALLCONV SV*       Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4067                         __attribute__warn_unused_result__;
4068 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
4069         assert(sv)
4070
4071 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
4072 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
4073         assert(name)
4074 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args);
4075 #define PERL_ARGS_ASSERT_VMESS  \
4076         assert(pat)
4077 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4078                         __attribute__warn_unused_result__;
4079 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
4080         assert(pat)
4081
4082 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs);
4083 #define PERL_ARGS_ASSERT_VNORMAL        \
4084         assert(vs)
4085 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs);
4086 #define PERL_ARGS_ASSERT_VNUMIFY        \
4087         assert(vs)
4088 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs);
4089 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
4090         assert(vs)
4091 PERL_CALLCONV SV*       Perl_vverify(pTHX_ SV *vs);
4092 #define PERL_ARGS_ASSERT_VVERIFY        \
4093         assert(vs)
4094 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args);
4095 #define PERL_ARGS_ASSERT_VWARN  \
4096         assert(pat)
4097 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
4098 #define PERL_ARGS_ASSERT_VWARNER        \
4099         assert(pat)
4100 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags);
4101 #define PERL_ARGS_ASSERT_WAIT4PID       \
4102         assert(statusp)
4103 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
4104                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
4105 #define PERL_ARGS_ASSERT_WARN   \
4106         assert(pat)
4107
4108 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex);
4109 #define PERL_ARGS_ASSERT_WARN_SV        \
4110         assert(baseex)
4111 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
4112                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
4113 #define PERL_ARGS_ASSERT_WARNER \
4114         assert(pat)
4115
4116 PERL_CALLCONV I32       Perl_was_lvalue_sub(pTHX)
4117                         __attribute__warn_unused_result__;
4118 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
4119
4120 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr);
4121 #define PERL_ARGS_ASSERT_WATCH  \
4122         assert(addr)
4123 /* PERL_CALLCONV I32    whichsig(pTHX_ const char* sig); */
4124 #define PERL_ARGS_ASSERT_WHICHSIG
4125 PERL_CALLCONV I32       Perl_whichsig_pv(pTHX_ const char* sig);
4126 #define PERL_ARGS_ASSERT_WHICHSIG_PV    \
4127         assert(sig)
4128 PERL_CALLCONV I32       Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
4129 #define PERL_ARGS_ASSERT_WHICHSIG_PVN   \
4130         assert(sig)
4131 PERL_CALLCONV I32       Perl_whichsig_sv(pTHX_ SV* sigsv);
4132 #define PERL_ARGS_ASSERT_WHICHSIG_SV    \
4133         assert(sigsv)
4134 PERL_CALLCONV void      Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
4135 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN    \
4136         assert(new_plugin); assert(old_plugin_p)
4137 PERL_CALLCONV void      Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
4138 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER        \
4139         assert(new_checker); assert(old_checker_p)
4140 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv);
4141 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
4142         assert(msv)
4143 PERL_CALLCONV void      Perl_xs_boot_epilog(pTHX_ const I32 ax);
4144 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
4145 PERL_CALLCONV I32       Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
4146 #define PERL_ARGS_ASSERT_XS_HANDSHAKE   \
4147         assert(v_my_perl); assert(file)
4148 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s);
4149 #define PERL_ARGS_ASSERT_YYERROR        \
4150         assert(s)
4151 PERL_CALLCONV int       Perl_yyerror_pv(pTHX_ const char *const s, U32 flags);
4152 #define PERL_ARGS_ASSERT_YYERROR_PV     \
4153         assert(s)
4154 PERL_CALLCONV int       Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags);
4155 #define PERL_ARGS_ASSERT_YYERROR_PVN
4156 PERL_CALLCONV int       Perl_yylex(pTHX);
4157 #define PERL_ARGS_ASSERT_YYLEX
4158 PERL_CALLCONV int       Perl_yyparse(pTHX_ int gramtype);
4159 #define PERL_ARGS_ASSERT_YYPARSE
4160 PERL_CALLCONV void      Perl_yyquit(pTHX);
4161 #define PERL_ARGS_ASSERT_YYQUIT
4162 PERL_CALLCONV void      Perl_yyunlex(pTHX);
4163 #define PERL_ARGS_ASSERT_YYUNLEX
4164 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
4165 #ifndef PERL_NO_INLINE_FUNCTIONS
4166 PERL_STATIC_INLINE void *       S_my_memrchr(const char * s, const char c, const STRLEN len);
4167 #define PERL_ARGS_ASSERT_MY_MEMRCHR     \
4168         assert(s)
4169 #endif
4170 #endif
4171 #if !(!defined(PERL_EXT_RE_BUILD))
4172 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4173 PERL_CALLCONV SV*       Perl_get_re_gclass_nonbitmap_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist);
4174 #define PERL_ARGS_ASSERT_GET_RE_GCLASS_NONBITMAP_DATA   \
4175         assert(node)
4176 #  endif
4177 #endif
4178 #if !(defined(DEBUGGING))
4179 #  if !defined(NV_PRESERVES_UV)
4180 #    if defined(PERL_IN_SV_C)
4181 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
4182 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4183         assert(sv)
4184 #    endif
4185 #  endif
4186 #endif
4187 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
4188 PERL_CALLCONV const char*       Perl_langinfo(const int item);
4189 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4190 #endif
4191 #if !(defined(HAS_NL_LANGINFO))
4192 #  if defined(PERL_IN_LOCALE_C)
4193 STATIC const char*      S_my_nl_langinfo(const int item, bool toggle);
4194 #define PERL_ARGS_ASSERT_MY_NL_LANGINFO
4195 #  endif
4196 #endif
4197 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
4198 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd);
4199 #define PERL_ARGS_ASSERT_DO_EXEC        \
4200         assert(cmd)
4201 #endif
4202 #if !(defined(PERL_USE_3ARG_SIGHANDLER))
4203 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
4204 #define PERL_ARGS_ASSERT_CSIGHANDLER
4205 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
4206 #define PERL_ARGS_ASSERT_SIGHANDLER
4207 #endif
4208 #if !(defined(_MSC_VER))
4209 PERL_CALLCONV_NO_RET int        Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
4210                         __attribute__noreturn__;
4211 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
4212         assert(sv); assert(mg)
4213
4214 #endif
4215 #if !defined(EBCDIC)
4216 #ifndef PERL_NO_INLINE_FUNCTIONS
4217 PERL_STATIC_INLINE unsigned int Perl_variant_byte_number(PERL_UINTMAX_T word)
4218                         __attribute__warn_unused_result__;
4219 #define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
4220 #endif
4221
4222 #endif
4223 #if !defined(HAS_GETENV_LEN)
4224 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len);
4225 #define PERL_ARGS_ASSERT_GETENV_LEN     \
4226         assert(env_elem); assert(len)
4227 #endif
4228 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
4229 #  if defined(PERL_IN_PP_SYS_C)
4230 STATIC int      S_dooneliner(pTHX_ const char *cmd, const char *filename)
4231                         __attribute__warn_unused_result__;
4232 #define PERL_ARGS_ASSERT_DOONELINER     \
4233         assert(cmd); assert(filename)
4234
4235 #  endif
4236 #endif
4237 #if !defined(HAS_MKOSTEMP)
4238 PERL_CALLCONV int       Perl_my_mkostemp(char *templte, int flags);
4239 #define PERL_ARGS_ASSERT_MY_MKOSTEMP    \
4240         assert(templte)
4241 #endif
4242 #if !defined(HAS_MKSTEMP)
4243 PERL_CALLCONV int       Perl_my_mkstemp(char *templte);
4244 #define PERL_ARGS_ASSERT_MY_MKSTEMP     \
4245         assert(templte)
4246 #endif
4247 #if !defined(HAS_RENAME)
4248 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b);
4249 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
4250         assert(a); assert(b)
4251 #endif
4252 #if !defined(HAS_SIGNBIT)
4253 PERL_CALLCONV int       Perl_signbit(NV f)
4254                         __attribute__warn_unused_result__
4255                         __attribute__pure__;
4256 #define PERL_ARGS_ASSERT_PERL_SIGNBIT
4257
4258 #endif
4259 #if !defined(HAS_STRLCAT)
4260 PERL_CALLCONV Size_t    Perl_my_strlcat(char *dst, const char *src, Size_t size);
4261 #define PERL_ARGS_ASSERT_MY_STRLCAT
4262 #endif
4263 #if !defined(HAS_STRLCPY)
4264 PERL_CALLCONV Size_t    Perl_my_strlcpy(char *dst, const char *src, Size_t size);
4265 #define PERL_ARGS_ASSERT_MY_STRLCPY
4266 #endif
4267 #if !defined(HAS_STRNLEN)
4268 #ifndef PERL_NO_INLINE_FUNCTIONS
4269 PERL_STATIC_INLINE Size_t       Perl_my_strnlen(const char *str, Size_t maxlen);
4270 #define PERL_ARGS_ASSERT_MY_STRNLEN     \
4271         assert(str)
4272 #endif
4273 #endif
4274 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
4275 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
4276                         __attribute__warn_unused_result__;
4277 #define PERL_ARGS_ASSERT_MY_CHSIZE
4278
4279 #endif
4280 #if !defined(NV_PRESERVES_UV)
4281 #  if defined(DEBUGGING)
4282 #    if defined(PERL_IN_SV_C)
4283 STATIC int      S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
4284 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE   \
4285         assert(sv)
4286 #    endif
4287 #  endif
4288 #endif
4289 #if !defined(PERL_DISABLE_PMC)
4290 #  if defined(PERL_IN_PP_CTL_C)
4291 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
4292                         __attribute__warn_unused_result__;
4293 #define PERL_ARGS_ASSERT_DOOPEN_PM      \
4294         assert(name)
4295
4296 #  endif
4297 #endif
4298 #if !defined(PERL_EXT_RE_BUILD)
4299 #  if defined(PERL_IN_REGCOMP_C)
4300 STATIC void     S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4301 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST       \
4302         assert(invlist)
4303 #ifndef PERL_NO_INLINE_FUNCTIONS
4304 PERL_STATIC_INLINE UV*  S__invlist_array_init(SV* const invlist, const bool will_have_0)
4305                         __attribute__warn_unused_result__;
4306 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT    \
4307         assert(invlist)
4308 #endif
4309
4310 #ifndef PERL_NO_INLINE_FUNCTIONS
4311 PERL_STATIC_INLINE IV*  S_get_invlist_previous_index_addr(SV* invlist)
4312                         __attribute__warn_unused_result__;
4313 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR        \
4314         assert(invlist)
4315 #endif
4316
4317 STATIC void     S_initialize_invlist_guts(pTHX_ SV* invlist, const Size_t initial_size);
4318 #define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS        \
4319         assert(invlist)
4320 #ifndef PERL_NO_INLINE_FUNCTIONS
4321 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
4322 #define PERL_ARGS_ASSERT_INVLIST_CLEAR  \
4323         assert(invlist)
4324 #endif
4325 #ifndef PERL_NO_INLINE_FUNCTIONS
4326 PERL_STATIC_INLINE UV   S_invlist_max(SV* const invlist)
4327                         __attribute__warn_unused_result__;
4328 #define PERL_ARGS_ASSERT_INVLIST_MAX    \
4329         assert(invlist)
4330 #endif
4331
4332 #ifndef PERL_NO_INLINE_FUNCTIONS
4333 PERL_STATIC_INLINE IV   S_invlist_previous_index(SV* const invlist)
4334                         __attribute__warn_unused_result__;
4335 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
4336         assert(invlist)
4337 #endif
4338
4339 STATIC void     S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
4340 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC      \
4341         assert(dest); assert(src)
4342 #ifndef PERL_NO_INLINE_FUNCTIONS
4343 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
4344 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX     \
4345         assert(invlist)
4346 #endif
4347 #ifndef PERL_NO_INLINE_FUNCTIONS
4348 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
4349 #define PERL_ARGS_ASSERT_INVLIST_TRIM   \
4350         assert(invlist)
4351 #endif
4352 #  endif
4353 #  if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4354 PERL_CALLCONV SV*       Perl_get_regclass_nonbitmap_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist);
4355 #define PERL_ARGS_ASSERT_GET_REGCLASS_NONBITMAP_DATA    \
4356         assert(node)
4357 #  endif
4358 #endif
4359 #if !defined(PERL_IMPLICIT_SYS)
4360 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
4361 #define PERL_ARGS_ASSERT_MY_PCLOSE
4362 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode);
4363 #define PERL_ARGS_ASSERT_MY_POPEN       \
4364         assert(cmd); assert(mode)
4365 #endif
4366 #if !defined(PERL_IS_MINIPERL)
4367 #  if defined(PERL_IN_PERL_C)
4368 STATIC SV *     S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
4369 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS      \
4370         assert(av); assert(dir); assert(stem)
4371 #  endif
4372 #endif
4373 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4374 #ifndef PERL_NO_INLINE_FUNCTIONS
4375 PERL_STATIC_INLINE void Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4376 #define PERL_ARGS_ASSERT_CX_POPBLOCK    \
4377         assert(cx)
4378 #endif
4379 #ifndef PERL_NO_INLINE_FUNCTIONS
4380 PERL_STATIC_INLINE void Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4381 #define PERL_ARGS_ASSERT_CX_POPEVAL     \
4382         assert(cx)
4383 #endif
4384 #ifndef PERL_NO_INLINE_FUNCTIONS
4385 PERL_STATIC_INLINE void Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4386 #define PERL_ARGS_ASSERT_CX_POPFORMAT   \
4387         assert(cx)
4388 #endif
4389 #ifndef PERL_NO_INLINE_FUNCTIONS
4390 PERL_STATIC_INLINE void Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4391 #define PERL_ARGS_ASSERT_CX_POPGIVEN    \
4392         assert(cx)
4393 #endif
4394 #ifndef PERL_NO_INLINE_FUNCTIONS
4395 PERL_STATIC_INLINE void Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4396 #define PERL_ARGS_ASSERT_CX_POPLOOP     \
4397         assert(cx)
4398 #endif
4399 #ifndef PERL_NO_INLINE_FUNCTIONS
4400 PERL_STATIC_INLINE void Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4401 #define PERL_ARGS_ASSERT_CX_POPSUB      \
4402         assert(cx)
4403 #endif
4404 #ifndef PERL_NO_INLINE_FUNCTIONS
4405 PERL_STATIC_INLINE void Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4406 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4407         assert(cx)
4408 #endif
4409 #ifndef PERL_NO_INLINE_FUNCTIONS
4410 PERL_STATIC_INLINE void Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4411 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON       \
4412         assert(cx)
4413 #endif
4414 #ifndef PERL_NO_INLINE_FUNCTIONS
4415 PERL_STATIC_INLINE void Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4416 #define PERL_ARGS_ASSERT_CX_POPWHEN     \
4417         assert(cx)
4418 #endif
4419 #ifndef PERL_NO_INLINE_FUNCTIONS
4420 PERL_STATIC_INLINE PERL_CONTEXT *       Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4421 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK   \
4422         assert(sp)
4423 #endif
4424 #ifndef PERL_NO_INLINE_FUNCTIONS
4425 PERL_STATIC_INLINE void Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4426 #define PERL_ARGS_ASSERT_CX_PUSHEVAL    \
4427         assert(cx)
4428 #endif
4429 #ifndef PERL_NO_INLINE_FUNCTIONS
4430 PERL_STATIC_INLINE void Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4431 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT  \
4432         assert(cx); assert(cv)
4433 #endif
4434 #ifndef PERL_NO_INLINE_FUNCTIONS
4435 PERL_STATIC_INLINE void Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4436 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN   \
4437         assert(cx)
4438 #endif
4439 #ifndef PERL_NO_INLINE_FUNCTIONS
4440 PERL_STATIC_INLINE void Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4441 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR        \
4442         assert(cx); assert(itervarp)
4443 #endif
4444 #ifndef PERL_NO_INLINE_FUNCTIONS
4445 PERL_STATIC_INLINE void Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
4446 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN      \
4447         assert(cx)
4448 #endif
4449 #ifndef PERL_NO_INLINE_FUNCTIONS
4450 PERL_STATIC_INLINE void Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
4451 #define PERL_ARGS_ASSERT_CX_PUSHSUB     \
4452         assert(cx); assert(cv)
4453 #endif
4454 #ifndef PERL_NO_INLINE_FUNCTIONS
4455 PERL_STATIC_INLINE void Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
4456 #define PERL_ARGS_ASSERT_CX_PUSHWHEN    \
4457         assert(cx)
4458 #endif
4459 #ifndef PERL_NO_INLINE_FUNCTIONS
4460 PERL_STATIC_INLINE void Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
4461 #define PERL_ARGS_ASSERT_CX_TOPBLOCK    \
4462         assert(cx)
4463 #endif
4464 #ifndef PERL_NO_INLINE_FUNCTIONS
4465 PERL_STATIC_INLINE U8   Perl_gimme_V(pTHX);
4466 #define PERL_ARGS_ASSERT_GIMME_V
4467 #endif
4468 #endif
4469 #if !defined(PERL_NO_UTF16_FILTER)
4470 #  if defined(PERL_IN_TOKE_C)
4471 STATIC U8*      S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
4472 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER   \
4473         assert(s)
4474 STATIC I32      S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4475 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER       \
4476         assert(sv)
4477 #  endif
4478 #endif
4479 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
4480 #  if defined(PERL_IN_PERL_C)
4481 STATIC void     S_validate_suid(pTHX_ PerlIO *rsfp);
4482 #define PERL_ARGS_ASSERT_VALIDATE_SUID  \
4483         assert(rsfp)
4484 #  endif
4485 #endif
4486 #if !defined(UV_IS_QUAD)
4487 #  if defined(PERL_IN_UTF8_C)
4488 STATIC int      S_is_utf8_cp_above_31_bits(const U8 * const s, const U8 * const e, const bool consider_overlongs)
4489                         __attribute__warn_unused_result__;
4490 #define PERL_ARGS_ASSERT_IS_UTF8_CP_ABOVE_31_BITS       \
4491         assert(s); assert(e)
4492
4493 #  endif
4494 #endif
4495 #if !defined(WIN32)
4496 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report);
4497 #define PERL_ARGS_ASSERT_DO_EXEC3       \
4498         assert(incmd)
4499 #endif
4500 #if 0   /* Not currently used, but may be needed in the future */
4501 #  if defined(PERL_IN_UTF8_C)
4502 STATIC void     S_warn_on_first_deprecated_use(pTHX_ const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
4503 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE   \
4504         assert(name); assert(alternative); assert(file)
4505 #  endif
4506 #endif
4507 #if defined (HAS_SOCKETPAIR) ||     (defined (HAS_SOCKET) && defined(SOCK_DGRAM) &&     defined(AF_INET) && defined(PF_INET))
4508 PERL_CALLCONV int       Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
4509                         __attribute__warn_unused_result__;
4510 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC    \
4511         assert(pairfd)
4512
4513 #endif
4514 #if defined(DEBUGGING)
4515 PERL_CALLCONV int       Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
4516                         __attribute__warn_unused_result__;
4517 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
4518         assert(s)
4519
4520 PERL_CALLCONV void      Perl_hv_assert(pTHX_ HV *hv);
4521 #define PERL_ARGS_ASSERT_HV_ASSERT      \
4522         assert(hv)
4523 PERL_CALLCONV void      Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
4524 #define PERL_ARGS_ASSERT_PAD_SETSV      \
4525         assert(sv)
4526 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
4527 #define PERL_ARGS_ASSERT_PAD_SV
4528 PERL_CALLCONV void      Perl_set_padlist(CV * cv, PADLIST * padlist);
4529 #define PERL_ARGS_ASSERT_SET_PADLIST    \
4530         assert(cv)
4531 #  if defined(PERL_IN_LOCALE_C)
4532 #    if defined(USE_LOCALE)
4533 STATIC void     S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
4534 #define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
4535         assert(s); assert(e)
4536 STATIC void     S_print_collxfrm_input_and_return(pTHX_ const char * const s, const char * const e, const STRLEN * const xlen, const bool is_utf8);
4537 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN        \
4538         assert(s); assert(e)
4539 STATIC char *   S_setlocale_debug_string(const int category, const char* const locale, const char* const retval)
4540                         __attribute__warn_unused_result__;
4541 #define PERL_ARGS_ASSERT_SETLOCALE_DEBUG_STRING
4542
4543 #    endif
4544 #  endif
4545 #  if defined(PERL_IN_PAD_C)
4546 STATIC void     S_cv_dump(pTHX_ const CV *cv, const char *title);
4547 #define PERL_ARGS_ASSERT_CV_DUMP        \
4548         assert(cv); assert(title)
4549 #  endif
4550 #  if defined(PERL_IN_REGCOMP_C)
4551 STATIC void     S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
4552 #define PERL_ARGS_ASSERT_DUMP_TRIE      \
4553         assert(trie); assert(revcharmap)
4554 STATIC void     S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
4555 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
4556         assert(trie); assert(revcharmap)
4557 STATIC void     S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
4558 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE        \
4559         assert(trie); assert(revcharmap)
4560 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);
4561 #define PERL_ARGS_ASSERT_DUMPUNTIL      \
4562         assert(r); assert(start); assert(node); assert(sv)
4563 STATIC bool     S_put_charclass_bitmap_innards(pTHX_ SV* sv, char* bitmap, SV* nonbitmap_invlist, SV* only_utf8_locale_invlist, const regnode * const node, const U8 flags, const bool force_as_is_display);
4564 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS   \
4565         assert(sv)
4566 STATIC SV*      S_put_charclass_bitmap_innards_common(pTHX_ SV* invlist, SV* posixes, SV* only_utf8, SV* not_utf8, SV* only_utf8_locale, const bool invert);
4567 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON    \
4568         assert(invlist)
4569 STATIC void     S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
4570 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST   \
4571         assert(sv); assert(invlist)
4572 STATIC void     S_put_code_point(pTHX_ SV* sv, UV c);
4573 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
4574         assert(sv)
4575 STATIC void     S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
4576 #define PERL_ARGS_ASSERT_PUT_RANGE      \
4577         assert(sv)
4578 PERL_CALLCONV int       Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...);
4579 #define PERL_ARGS_ASSERT_RE_INDENTF     \
4580         assert(fmt)
4581 STATIC void     S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
4582 #define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
4583 STATIC void     S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
4584 #define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
4585 STATIC bool     S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
4586                         __attribute__warn_unused_result__;
4587 #define PERL_ARGS_ASSERT_REGTAIL_STUDY  \
4588         assert(pRExC_state); assert(p); assert(val)
4589
4590 #  endif
4591 #  if defined(PERL_IN_REGEXEC_C)
4592 STATIC void     S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
4593 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH      \
4594         assert(prog); assert(start); assert(end); assert(blurb)
4595 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, const U32 depth);
4596 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS  \
4597         assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
4598 PERL_CALLCONV int       Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...);
4599 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF        \
4600         assert(fmt)
4601 #  endif
4602 #  if defined(PERL_IN_SV_C)
4603 STATIC void     S_del_sv(pTHX_ SV *p);
4604 #define PERL_ARGS_ASSERT_DEL_SV \
4605         assert(p)
4606 #  endif
4607 #  if defined(PERL_IN_TOKE_C)
4608 STATIC void     S_printbuf(pTHX_ const char *const fmt, const char *const s)
4609                         __attribute__format__(__printf__,pTHX_1,0);
4610 #define PERL_ARGS_ASSERT_PRINTBUF       \
4611         assert(fmt); assert(s)
4612
4613 STATIC int      S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
4614 #define PERL_ARGS_ASSERT_TOKEREPORT     \
4615         assert(lvalp)
4616 #  endif
4617 #endif
4618 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
4619 #  if defined(PERL_IN_REGCOMP_C)
4620 STATIC void     S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
4621 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES     \
4622         assert(pRExC_state); assert(stack); assert(fence_stack)
4623 #  endif
4624 #endif
4625 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
4626 PERL_CALLCONV void      Perl_dump_sv_child(pTHX_ SV *sv);
4627 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD  \
4628         assert(sv)
4629 #endif
4630 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
4631 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp);
4632 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
4633         assert(mark); assert(sp)
4634 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp);
4635 #define PERL_ARGS_ASSERT_DO_IPCGET      \
4636         assert(mark); assert(sp)
4637 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp);
4638 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
4639         assert(mark); assert(sp)
4640 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp);
4641 #define PERL_ARGS_ASSERT_DO_MSGSND      \
4642         assert(mark); assert(sp)
4643 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp);
4644 #define PERL_ARGS_ASSERT_DO_SEMOP       \
4645         assert(mark); assert(sp)
4646 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp);
4647 #define PERL_ARGS_ASSERT_DO_SHMIO       \
4648         assert(mark); assert(sp)
4649 #endif
4650 #if defined(HAS_NL_LANGINFO)
4651 #  if defined(PERL_IN_LOCALE_C)
4652 STATIC const char*      S_my_nl_langinfo(const nl_item item, bool toggle);
4653 #define PERL_ARGS_ASSERT_MY_NL_LANGINFO
4654 #  endif
4655 #endif
4656 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
4657 PERL_CALLCONV const char*       Perl_langinfo(const nl_item item);
4658 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4659 #endif
4660 #if defined(HAS_PIPE)
4661 PERL_CALLCONV int       Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
4662                         __attribute__warn_unused_result__;
4663 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC  \
4664         assert(pipefd)
4665
4666 #endif
4667 #if defined(HAS_SOCKET)
4668 PERL_CALLCONV int       Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
4669                         __attribute__warn_unused_result__;
4670 #define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
4671
4672 PERL_CALLCONV int       Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
4673                         __attribute__warn_unused_result__;
4674 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
4675
4676 #endif
4677 #if defined(HAVE_INTERP_INTERN)
4678 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
4679 #define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
4680 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
4681 #define PERL_ARGS_ASSERT_SYS_INTERN_INIT
4682 #  if defined(USE_ITHREADS)
4683 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
4684 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4685         assert(src); assert(dst)
4686 #  endif
4687 #endif
4688 #if defined(MYMALLOC)
4689 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s);
4690 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
4691         assert(s)
4692 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
4693 #define PERL_ARGS_ASSERT_GET_MSTATS     \
4694         assert(buf)
4695 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
4696                         __attribute__warn_unused_result__;
4697 #define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
4698
4699 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
4700                         __attribute__warn_unused_result__;
4701 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
4702         assert(p)
4703
4704 #endif
4705 #if defined(PERL_ANY_COW)
4706 PERL_CALLCONV SV*       Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv);
4707 #define PERL_ARGS_ASSERT_SV_SETSV_COW   \
4708         assert(ssv)
4709 #endif
4710 #if defined(PERL_CORE)
4711 PERL_CALLCONV void      Perl_opslab_force_free(pTHX_ OPSLAB *slab);
4712 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE      \
4713         assert(slab)
4714 PERL_CALLCONV void      Perl_opslab_free(pTHX_ OPSLAB *slab);
4715 #define PERL_ARGS_ASSERT_OPSLAB_FREE    \
4716         assert(slab)
4717 PERL_CALLCONV void      Perl_opslab_free_nopad(pTHX_ OPSLAB *slab);
4718 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD      \
4719         assert(slab)
4720 PERL_CALLCONV void      Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab);
4721 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS       \
4722         assert(parser); assert(slab)
4723 #ifndef PERL_NO_INLINE_FUNCTIONS
4724 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
4725                         __attribute__warn_unused_result__;
4726 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
4727         assert(pv)
4728 #endif
4729
4730 #  if defined(PERL_DEBUG_READONLY_OPS)
4731 PERL_CALLCONV void      Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
4732 #define PERL_ARGS_ASSERT_SLAB_TO_RO     \
4733         assert(slab)
4734 PERL_CALLCONV void      Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
4735 #define PERL_ARGS_ASSERT_SLAB_TO_RW     \
4736         assert(slab)
4737 #  endif
4738 #endif
4739 #if defined(PERL_CORE) || defined (PERL_EXT)
4740 #ifndef PERL_NO_INLINE_FUNCTIONS
4741 PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
4742                         __attribute__warn_unused_result__;
4743 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING   \
4744         assert(s)
4745 #endif
4746
4747 #ifndef PERL_NO_INLINE_FUNCTIONS
4748 PERL_STATIC_INLINE STRLEN       S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
4749 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B       \
4750         assert(sv); assert(pv)
4751 #endif
4752 #endif
4753 #if defined(PERL_CORE) || defined(PERL_EXT)
4754 PERL_CALLCONV bool      Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
4755                         __attribute__warn_unused_result__;
4756 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN   \
4757         assert(s); assert(send)
4758
4759 #ifndef PERL_NO_INLINE_FUNCTIONS
4760 PERL_STATIC_INLINE Size_t       S_variant_under_utf8_count(const U8* const s, const U8* const e)
4761                         __attribute__warn_unused_result__;
4762 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT       \
4763         assert(s); assert(e)
4764 #endif
4765
4766 #endif
4767 #if defined(PERL_CR_FILTER)
4768 #  if defined(PERL_IN_TOKE_C)
4769 STATIC I32      S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4770 #define PERL_ARGS_ASSERT_CR_TEXTFILTER
4771 STATIC void     S_strip_return(pTHX_ SV *sv);
4772 #define PERL_ARGS_ASSERT_STRIP_RETURN   \
4773         assert(sv)
4774 #  endif
4775 #endif
4776 #if defined(PERL_DEBUG_READONLY_COW)
4777 PERL_CALLCONV void      Perl_sv_buf_to_ro(pTHX_ SV *sv);
4778 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO   \
4779         assert(sv)
4780 #  if defined(PERL_IN_SV_C)
4781 STATIC void     S_sv_buf_to_rw(pTHX_ SV *sv);
4782 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW   \
4783         assert(sv)
4784 #  endif
4785 #endif
4786 #if defined(PERL_DEBUG_READONLY_OPS)
4787 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
4788 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC  \
4789         assert(o)
4790 PERL_CALLCONV OP *      Perl_op_refcnt_inc(pTHX_ OP *o);
4791 #define PERL_ARGS_ASSERT_OP_REFCNT_INC
4792 #endif
4793 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
4794 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd);
4795 #define PERL_ARGS_ASSERT_DO_EXEC        \
4796         assert(cmd)
4797 #endif
4798 #if defined(PERL_DONT_CREATE_GVSV)
4799 #ifndef NO_MATHOMS
4800 PERL_CALLCONV GV*       Perl_gv_SVadd(pTHX_ GV *gv);
4801 #define PERL_ARGS_ASSERT_GV_SVADD
4802 #endif
4803 #endif
4804 #if defined(PERL_IMPLICIT_CONTEXT)
4805 PERL_CALLCONV_NO_RET void       Perl_croak_nocontext(const char* pat, ...)
4806                         __attribute__noreturn__
4807                         __attribute__format__null_ok__(__printf__,1,2);
4808 #define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
4809
4810 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
4811                         __attribute__format__(__printf__,1,2);
4812 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
4813         assert(pat)
4814
4815 PERL_CALLCONV_NO_RET OP*        Perl_die_nocontext(const char* pat, ...)
4816                         __attribute__noreturn__
4817                         __attribute__format__null_ok__(__printf__,1,2);
4818 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT
4819
4820 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
4821                         __attribute__format__(__printf__,1,2);
4822 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
4823         assert(pat)
4824
4825 #ifndef NO_MATHOMS
4826 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
4827                         __attribute__deprecated__
4828                         __attribute__format__(__printf__,2,3);
4829 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
4830         assert(stream); assert(format)
4831 #endif
4832
4833 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
4834 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
4835         assert(name)
4836 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
4837                         __attribute__format__(__printf__,1,2);
4838 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
4839         assert(pat)
4840
4841 PERL_CALLCONV void*     Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
4842 #define PERL_ARGS_ASSERT_MY_CXT_INIT    \
4843         assert(indexp)
4844 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
4845                         __attribute__format__(__printf__,1,2);
4846 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
4847         assert(pat)
4848
4849 #ifndef NO_MATHOMS
4850 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
4851                         __attribute__deprecated__
4852                         __attribute__format__(__printf__,1,2);
4853 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
4854         assert(format)
4855 #endif
4856
4857 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4858                         __attribute__format__(__printf__,2,3);
4859 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
4860         assert(sv); assert(pat)
4861
4862 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
4863                         __attribute__format__(__printf__,2,3);
4864 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
4865         assert(sv); assert(pat)
4866
4867 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
4868                         __attribute__format__(__printf__,2,3);
4869 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
4870         assert(sv); assert(pat)
4871
4872 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
4873                         __attribute__format__(__printf__,2,3);
4874 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
4875         assert(sv); assert(pat)
4876
4877 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
4878                         __attribute__format__(__printf__,1,2);
4879 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
4880         assert(pat)
4881
4882 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
4883                         __attribute__format__(__printf__,2,3);
4884 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
4885         assert(pat)
4886
4887 #endif
4888 #if defined(PERL_IMPLICIT_SYS)
4889 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);
4890 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
4891         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4892 #  if defined(USE_ITHREADS)
4893 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);
4894 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
4895         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
4896 #  endif
4897 #endif
4898 #if defined(PERL_IN_AV_C)
4899 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av);
4900 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
4901         assert(av)
4902 #endif
4903 #if defined(PERL_IN_DEB_C)
4904 STATIC void     S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
4905 #define PERL_ARGS_ASSERT_DEB_STACK_N    \
4906         assert(stack_base)
4907 #endif
4908 #if defined(PERL_IN_DOIO_C)
4909 STATIC bool     S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool not_implicit);
4910 #define PERL_ARGS_ASSERT_ARGVOUT_FINAL  \
4911         assert(mg); assert(io)
4912 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
4913 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
4914         assert(cmd)
4915 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
4916                         __attribute__warn_unused_result__;
4917 #define PERL_ARGS_ASSERT_INGROUP
4918
4919 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, Stat_t *statbufp);
4920 #define PERL_ARGS_ASSERT_OPENN_CLEANUP  \
4921         assert(gv); assert(io); assert(mode); assert(oname)
4922 STATIC IO *     S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
4923 #define PERL_ARGS_ASSERT_OPENN_SETUP    \
4924         assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
4925 #endif
4926 #if defined(PERL_IN_DOOP_C)
4927 STATIC Size_t   S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
4928                         __attribute__warn_unused_result__;
4929 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4930         assert(sv); assert(tbl)
4931
4932 STATIC Size_t   S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
4933                         __attribute__warn_unused_result__;
4934 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4935         assert(sv); assert(tbl)
4936
4937 STATIC Size_t   S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
4938                         __attribute__warn_unused_result__;
4939 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP  \
4940         assert(sv); assert(map)
4941
4942 STATIC Size_t   S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
4943                         __attribute__warn_unused_result__;
4944 #define PERL_ARGS_ASSERT_DO_TRANS_INVMAP        \
4945         assert(sv); assert(map)
4946
4947 STATIC Size_t   S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
4948                         __attribute__warn_unused_result__;
4949 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4950         assert(sv); assert(tbl)
4951
4952 #endif
4953 #if defined(PERL_IN_DUMP_C)
4954 STATIC CV*      S_deb_curcv(pTHX_ I32 ix);
4955 #define PERL_ARGS_ASSERT_DEB_CURCV
4956 STATIC void     S_debprof(pTHX_ const OP *o);
4957 #define PERL_ARGS_ASSERT_DEBPROF        \
4958         assert(o)
4959 STATIC SV*      S_pm_description(pTHX_ const PMOP *pm);
4960 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
4961         assert(pm)
4962 STATIC UV       S_sequence_num(pTHX_ const OP *o);
4963 #define PERL_ARGS_ASSERT_SEQUENCE_NUM
4964 #endif
4965 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
4966 PERL_CALLCONV void      Perl_hv_kill_backrefs(pTHX_ HV *hv);
4967 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS       \
4968         assert(hv)
4969 #endif
4970 #if defined(PERL_IN_GV_C)
4971 STATIC bool     S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
4972 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH     \
4973         assert(stash); assert(name)
4974 #ifndef PERL_NO_INLINE_FUNCTIONS
4975 PERL_STATIC_INLINE GV*  S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
4976 #define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
4977 #endif
4978 STATIC void     S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
4979 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
4980         assert(gv)
4981 STATIC bool     S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
4982 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN  \
4983         assert(name)
4984 STATIC bool     S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
4985 #define PERL_ARGS_ASSERT_GV_MAGICALIZE  \
4986         assert(gv); assert(stash); assert(name)
4987 STATIC void     S_gv_magicalize_isa(pTHX_ GV *gv);
4988 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA      \
4989         assert(gv)
4990 #ifndef PERL_NO_INLINE_FUNCTIONS
4991 PERL_STATIC_INLINE HV*  S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
4992 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL   \
4993         assert(name)
4994 #endif
4995 STATIC void     S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
4996 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV    \
4997         assert(gv); assert(name)
4998 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);
4999 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME    \
5000         assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5001 STATIC void     S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
5002 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
5003         assert(gv); assert(varname); assert(name)
5004 #endif
5005 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5006 PERL_CALLCONV void      Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv);
5007 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5008         assert(tsv); assert(sv)
5009 #endif
5010 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
5011 PERL_CALLCONV HV*       Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags);
5012 #endif
5013 #if defined(PERL_IN_HV_C)
5014 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items);
5015 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
5016         assert(hv)
5017 STATIC void     S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
5018 #define PERL_ARGS_ASSERT_HSPLIT \
5019         assert(hv)
5020 STATIC struct xpvhv_aux*        S_hv_auxinit(pTHX_ HV *hv);
5021 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
5022         assert(hv)
5023 STATIC struct xpvhv_aux*        S_hv_auxinit_internal(struct xpvhv_aux *iter);
5024 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL    \
5025         assert(iter)
5026 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5027 #define PERL_ARGS_ASSERT_HV_DELETE_COMMON
5028 STATIC SV*      S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry);
5029 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET        \
5030         assert(hv); assert(entry)
5031 STATIC void     S_hv_free_entries(pTHX_ HV *hv);
5032 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES        \
5033         assert(hv)
5034 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
5035 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5036         assert(hv); assert(needs_copy); assert(needs_store)
5037 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5038                         __attribute__noreturn__;
5039 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
5040         assert(key); assert(msg)
5041
5042 STATIC HE*      S_new_he(pTHX)
5043                         __attribute__warn_unused_result__;
5044 #define PERL_ARGS_ASSERT_NEW_HE
5045
5046 #ifndef PERL_NO_INLINE_FUNCTIONS
5047 PERL_STATIC_INLINE U32  S_ptr_hash(PTRV u);
5048 #define PERL_ARGS_ASSERT_PTR_HASH
5049 #endif
5050 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
5051 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
5052         assert(he)
5053 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5054                         __attribute__malloc__
5055                         __attribute__warn_unused_result__;
5056 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5057         assert(str)
5058
5059 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
5060                         __attribute__warn_unused_result__;
5061 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
5062         assert(str)
5063
5064 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5065 #define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
5066 #endif
5067 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5068 PERL_CALLCONV void      Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av);
5069 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS       \
5070         assert(sv)
5071 #endif
5072 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5073 PERL_CALLCONV SV*       Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp);
5074 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY       \
5075         assert(hv); assert(indexp)
5076 #endif
5077 #if defined(PERL_IN_LOCALE_C)
5078 #ifndef PERL_NO_INLINE_FUNCTIONS
5079 PERL_STATIC_INLINE const char * S_save_to_buffer(const char * string, char **buf, Size_t *buf_size, const Size_t offset)
5080                         __attribute__warn_unused_result__;
5081 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER \
5082         assert(buf_size)
5083 #endif
5084
5085 #  if defined(USE_LOCALE)
5086 STATIC const char*      S_category_name(const int category);
5087 #define PERL_ARGS_ASSERT_CATEGORY_NAME
5088 STATIC void     S_new_collate(pTHX_ const char* newcoll);
5089 #define PERL_ARGS_ASSERT_NEW_COLLATE
5090 STATIC void     S_new_ctype(pTHX_ const char* newctype);
5091 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
5092         assert(newctype)
5093 STATIC void     S_new_numeric(pTHX_ const char* newnum);
5094 #define PERL_ARGS_ASSERT_NEW_NUMERIC
5095 STATIC void     S_restore_switched_locale(pTHX_ const int category, const char * const original_locale);
5096 #define PERL_ARGS_ASSERT_RESTORE_SWITCHED_LOCALE
5097 STATIC void     S_set_numeric_radix(pTHX_ const bool use_locale);
5098 #define PERL_ARGS_ASSERT_SET_NUMERIC_RADIX
5099 STATIC char*    S_stdize_locale(pTHX_ char* locs);
5100 #define PERL_ARGS_ASSERT_STDIZE_LOCALE  \
5101         assert(locs)
5102 STATIC const char*      S_switch_category_locale_to_template(pTHX_ const int switch_category, const int template_category, const char * template_locale);
5103 #define PERL_ARGS_ASSERT_SWITCH_CATEGORY_LOCALE_TO_TEMPLATE
5104 #    if defined(USE_POSIX_2008_LOCALE)
5105 STATIC const char*      S_emulate_setlocale(const int category, const char* locale, unsigned int index, const bool is_index_valid);
5106 #define PERL_ARGS_ASSERT_EMULATE_SETLOCALE
5107 #    endif
5108 #    if defined(WIN32)
5109 STATIC char*    S_win32_setlocale(pTHX_ int category, const char* locale);
5110 #define PERL_ARGS_ASSERT_WIN32_SETLOCALE
5111 #    endif
5112 #  endif
5113 #endif
5114 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
5115 #  if defined(USE_LOCALE_COLLATE)
5116 PERL_CALLCONV char*     Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8);
5117 #define PERL_ARGS_ASSERT__MEM_COLLXFRM  \
5118         assert(input_string); assert(xlen)
5119 #  endif
5120 #endif
5121 #if defined(PERL_IN_MALLOC_C)
5122 STATIC int      S_adjust_size_and_find_bucket(size_t *nbytes_p);
5123 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET    \
5124         assert(nbytes_p)
5125 #endif
5126 #if defined(PERL_IN_MG_C)
5127 STATIC void     S_fixup_errno_string(pTHX_ SV* sv);
5128 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING     \
5129         assert(sv)
5130 STATIC SV*      S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
5131 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1        \
5132         assert(sv); assert(mg); assert(meth)
5133 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
5134 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
5135         assert(sv); assert(mg); assert(meth)
5136 STATIC void     S_restore_magic(pTHX_ const void *p);
5137 #define PERL_ARGS_ASSERT_RESTORE_MAGIC
5138 STATIC void     S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
5139 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS       \
5140         assert(sv)
5141 STATIC void     S_unwind_handler_stack(pTHX_ const void *p);
5142 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
5143 #endif
5144 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
5145 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);
5146 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS       \
5147         assert(posp); assert(lenp)
5148 #endif
5149 #if defined(PERL_IN_MRO_C)
5150 STATIC void     S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
5151 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV       \
5152         assert(isa); assert(name)
5153 STATIC void     S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
5154 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME  \
5155         assert(stashes); assert(seen_stashes); assert(namesv)
5156 STATIC AV*      S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
5157 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
5158         assert(stash)
5159 #endif
5160 #if defined(PERL_IN_NUMERIC_C)
5161 STATIC void     S_output_non_portable(pTHX_ const U8 shift);
5162 #define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
5163 #endif
5164 #if defined(PERL_IN_OP_C)
5165 STATIC void     S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
5166 #define PERL_ARGS_ASSERT_APPLY_ATTRS    \
5167         assert(stash); assert(target)
5168 STATIC void     S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
5169 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
5170         assert(stash); assert(target); assert(imopsp)
5171 STATIC I32      S_assignment_type(pTHX_ const OP *o)
5172                         __attribute__warn_unused_result__;
5173 #define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
5174
5175 STATIC void     S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
5176 #define PERL_ARGS_ASSERT_BAD_TYPE_GV    \
5177         assert(gv); assert(kid); assert(t)
5178 STATIC void     S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
5179 #define PERL_ARGS_ASSERT_BAD_TYPE_PV    \
5180         assert(t); assert(o); assert(kid)
5181 STATIC void     S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
5182 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS   \
5183         assert(fullname); assert(gv); assert(cv)
5184 STATIC void     S_cop_free(pTHX_ COP *cop);
5185 #define PERL_ARGS_ASSERT_COP_FREE       \
5186         assert(cop)
5187 STATIC OP *     S_dup_attrlist(pTHX_ OP *o);
5188 #define PERL_ARGS_ASSERT_DUP_ATTRLIST   \
5189         assert(o)
5190 STATIC void     S_finalize_op(pTHX_ OP* o);
5191 #define PERL_ARGS_ASSERT_FINALIZE_OP    \
5192         assert(o)
5193 STATIC void     S_find_and_forget_pmops(pTHX_ OP *o);
5194 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS  \
5195         assert(o)
5196 STATIC OP*      S_fold_constants(pTHX_ OP * const o);
5197 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
5198         assert(o)
5199 STATIC OP*      S_force_list(pTHX_ OP* arg, bool nullit);
5200 #define PERL_ARGS_ASSERT_FORCE_LIST
5201 STATIC void     S_forget_pmop(pTHX_ PMOP *const o);
5202 #define PERL_ARGS_ASSERT_FORGET_PMOP    \
5203         assert(o)
5204 STATIC void     S_gen_constant_list(pTHX_ OP* o);
5205 #define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
5206 STATIC void     S_inplace_aassign(pTHX_ OP* o);
5207 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN        \
5208         assert(o)
5209 STATIC bool     S_is_handle_constructor(const OP *o, I32 numargs)
5210                         __attribute__warn_unused_result__;
5211 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR  \
5212         assert(o)
5213
5214 STATIC OP*      S_listkids(pTHX_ OP* o);
5215 #define PERL_ARGS_ASSERT_LISTKIDS
5216 STATIC bool     S_looks_like_bool(pTHX_ const OP* o);
5217 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL        \
5218         assert(o)
5219 STATIC OP*      S_modkids(pTHX_ OP *o, I32 type);
5220 #define PERL_ARGS_ASSERT_MODKIDS
5221 STATIC void     S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
5222 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR        \
5223         assert(proto); assert(attrs); assert(name)
5224 STATIC OP *     S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
5225 #define PERL_ARGS_ASSERT_MY_KID \
5226         assert(imopsp)
5227 STATIC OP*      S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
5228 #define PERL_ARGS_ASSERT_NEWGIVWHENOP   \
5229         assert(block)
5230 #ifndef PERL_NO_INLINE_FUNCTIONS
5231 PERL_STATIC_INLINE OP*  S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
5232 #define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
5233 #endif
5234 STATIC OP*      S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
5235                         __attribute__warn_unused_result__;
5236 #define PERL_ARGS_ASSERT_NEW_LOGOP      \
5237         assert(firstp); assert(otherp)
5238
5239 STATIC void     S_no_bareword_allowed(pTHX_ OP *o);
5240 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED    \
5241         assert(o)
5242 STATIC OP*      S_no_fh_allowed(pTHX_ OP *o)
5243                         __attribute__warn_unused_result__;
5244 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED  \
5245         assert(o)
5246
5247 #ifndef PERL_NO_INLINE_FUNCTIONS
5248 PERL_STATIC_INLINE OP*  S_op_integerize(pTHX_ OP *o);
5249 #define PERL_ARGS_ASSERT_OP_INTEGERIZE  \
5250         assert(o)
5251 #endif
5252 #ifndef PERL_NO_INLINE_FUNCTIONS
5253 PERL_STATIC_INLINE OP*  S_op_std_init(pTHX_ OP *o);
5254 #define PERL_ARGS_ASSERT_OP_STD_INIT    \
5255         assert(o)
5256 #endif
5257 STATIC void     S_optimize_op(pTHX_ OP* o);
5258 #define PERL_ARGS_ASSERT_OPTIMIZE_OP    \
5259         assert(o)
5260 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
5261 #define PERL_ARGS_ASSERT_PMTRANS        \
5262         assert(o); assert(expr); assert(repl)
5263 STATIC bool     S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
5264 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
5265         assert(fullname); assert(gv); assert(cv)
5266 STATIC OP*      S_ref_array_or_hash(pTHX_ OP* cond);
5267 #define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
5268 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
5269 #define PERL_ARGS_ASSERT_REFKIDS
5270 STATIC bool     S_scalar_mod_type(const OP *o, I32 type)
5271                         __attribute__warn_unused_result__;
5272 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
5273
5274 STATIC OP*      S_scalarboolean(pTHX_ OP *o);
5275 #define PERL_ARGS_ASSERT_SCALARBOOLEAN  \
5276         assert(o)
5277 STATIC OP*      S_scalarkids(pTHX_ OP* o);
5278 #define PERL_ARGS_ASSERT_SCALARKIDS
5279 STATIC OP*      S_scalarseq(pTHX_ OP* o);
5280 #define PERL_ARGS_ASSERT_SCALARSEQ
5281 STATIC OP*      S_search_const(pTHX_ OP *o)
5282                         __attribute__warn_unused_result__;
5283 #define PERL_ARGS_ASSERT_SEARCH_CONST   \
5284         assert(o)
5285
5286 STATIC void     S_simplify_sort(pTHX_ OP *o);
5287 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT  \
5288         assert(o)
5289 STATIC OP*      S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
5290                         __attribute__warn_unused_result__;
5291 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV   \
5292         assert(o); assert(name)
5293
5294 STATIC OP*      S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
5295 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV  \
5296         assert(o); assert(name)
5297 STATIC OP*      S_traverse_op_tree(pTHX_ OP* top, OP* o);
5298 #define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE       \
5299         assert(top); assert(o)
5300 #  if defined(USE_ITHREADS)
5301 #ifndef PERL_NO_INLINE_FUNCTIONS
5302 PERL_STATIC_INLINE void S_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp);
5303 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
5304         assert(svp); assert(targp)
5305 #endif
5306 #  endif
5307 #endif
5308 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
5309 PERL_CALLCONV void      Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp);
5310 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV    \
5311         assert(name); assert(old_cv)
5312 #endif
5313 #if defined(PERL_IN_PAD_C)
5314 STATIC PADOFFSET        S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
5315 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
5316         assert(name)
5317 STATIC void     S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
5318 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP  \
5319         assert(name)
5320 STATIC PADOFFSET        S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, PADNAME** out_name, int *out_flags);
5321 #define PERL_ARGS_ASSERT_PAD_FINDLEX    \
5322         assert(namepv); assert(cv); assert(out_name); assert(out_flags)
5323 STATIC void     S_pad_reset(pTHX);
5324 #define PERL_ARGS_ASSERT_PAD_RESET
5325 #endif
5326 #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5327 #ifndef PERL_NO_INLINE_FUNCTIONS
5328 PERL_STATIC_INLINE bool S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
5329 #define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE        \
5330         assert(pn)
5331 #endif
5332 #endif
5333 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
5334 #ifndef NO_MATHOMS
5335 PERL_CALLCONV OP*       Perl_ref(pTHX_ OP* o, I32 type);
5336 #define PERL_ARGS_ASSERT_REF
5337 #endif
5338 #endif
5339 #if defined(PERL_IN_PERL_C)
5340 STATIC void     S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
5341 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
5342         assert(linestr_sv); assert(rsfp)
5343 STATIC void     S_forbid_setid(pTHX_ const char flag, const bool suidscript);
5344 #define PERL_ARGS_ASSERT_FORBID_SETID
5345 STATIC void     S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
5346 #define PERL_ARGS_ASSERT_INCPUSH        \
5347         assert(dir)
5348 STATIC void     S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
5349 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP        \
5350         assert(p)
5351 STATIC void     S_init_ids(pTHX);
5352 #define PERL_ARGS_ASSERT_INIT_IDS
5353 STATIC void     S_init_interp(pTHX);
5354 #define PERL_ARGS_ASSERT_INIT_INTERP
5355 STATIC void     S_init_main_stash(pTHX);
5356 #define PERL_ARGS_ASSERT_INIT_MAIN_STASH
5357 STATIC void     S_init_perllib(pTHX);
5358 #define PERL_ARGS_ASSERT_INIT_PERLLIB
5359 STATIC void     S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
5360 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS  \
5361         assert(argv)
5362 STATIC void     S_init_predump_symbols(pTHX);
5363 #define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
5364 STATIC SV*      S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
5365 #define PERL_ARGS_ASSERT_MAYBERELOCATE  \
5366         assert(dir)
5367 PERL_STATIC_NO_RET void S_minus_v(pTHX)
5368                         __attribute__noreturn__;
5369 #define PERL_ARGS_ASSERT_MINUS_V
5370
5371 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
5372                         __attribute__noreturn__;
5373 #define PERL_ARGS_ASSERT_MY_EXIT_JUMP
5374
5375 STATIC void     S_nuke_stacks(pTHX);
5376 #define PERL_ARGS_ASSERT_NUKE_STACKS
5377 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
5378 #define PERL_ARGS_ASSERT_OPEN_SCRIPT    \
5379         assert(scriptname); assert(suidscript)
5380 STATIC void*    S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
5381 #define PERL_ARGS_ASSERT_PARSE_BODY
5382 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
5383                         __attribute__noreturn__;
5384 #define PERL_ARGS_ASSERT_RUN_BODY
5385
5386 PERL_STATIC_NO_RET void S_usage(pTHX)
5387                         __attribute__noreturn__;
5388 #define PERL_ARGS_ASSERT_USAGE
5389
5390 #endif
5391 #if defined(PERL_IN_PP_C)
5392 STATIC size_t   S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
5393 #define PERL_ARGS_ASSERT_DO_CHOMP       \
5394         assert(retval); assert(sv)
5395 STATIC OP*      S_do_delete_local(pTHX);
5396 #define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
5397 STATIC SV*      S_refto(pTHX_ SV* sv)
5398                         __attribute__warn_unused_result__;
5399 #define PERL_ARGS_ASSERT_REFTO  \
5400         assert(sv)
5401
5402 #endif
5403 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
5404 #ifndef PERL_NO_INLINE_FUNCTIONS
5405 PERL_STATIC_INLINE bool S_lossless_NV_to_IV(const NV nv, IV * ivp)
5406                         __attribute__warn_unused_result__;
5407 #define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV      \
5408         assert(ivp)
5409 #endif
5410
5411 PERL_CALLCONV GV*       Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
5412                         __attribute__warn_unused_result__;
5413 #define PERL_ARGS_ASSERT_SOFTREF2XV     \
5414         assert(sv); assert(what); assert(spp)
5415
5416 #endif
5417 #if defined(PERL_IN_PP_CTL_C)
5418 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
5419                         __attribute__warn_unused_result__;
5420 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN    \
5421         assert(name)
5422
5423 STATIC void     S_destroy_matcher(pTHX_ PMOP* matcher);
5424 #define PERL_ARGS_ASSERT_DESTROY_MATCHER        \
5425         assert(matcher)
5426 STATIC OP*      S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
5427 #define PERL_ARGS_ASSERT_DO_SMARTMATCH
5428 STATIC OP*      S_docatch(pTHX_ Perl_ppaddr_t firstpp)
5429                         __attribute__warn_unused_result__;
5430 #define PERL_ARGS_ASSERT_DOCATCH
5431
5432 STATIC bool     S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
5433 #define PERL_ARGS_ASSERT_DOEVAL_COMPILE
5434 STATIC OP*      S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
5435                         __attribute__warn_unused_result__;
5436 #define PERL_ARGS_ASSERT_DOFINDLABEL    \
5437         assert(o); assert(label); assert(opstack); assert(oplimit)
5438
5439 STATIC MAGIC *  S_doparseform(pTHX_ SV *sv);
5440 #define PERL_ARGS_ASSERT_DOPARSEFORM    \
5441         assert(sv)
5442 STATIC I32      S_dopoptoeval(pTHX_ I32 startingblock)
5443                         __attribute__warn_unused_result__;
5444 #define PERL_ARGS_ASSERT_DOPOPTOEVAL
5445
5446 STATIC I32      S_dopoptogivenfor(pTHX_ I32 startingblock)
5447                         __attribute__warn_unused_result__;
5448 #define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
5449
5450 STATIC I32      S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
5451                         __attribute__warn_unused_result__;
5452 #define PERL_ARGS_ASSERT_DOPOPTOLABEL   \
5453         assert(label)
5454
5455 STATIC I32      S_dopoptoloop(pTHX_ I32 startingblock)
5456                         __attribute__warn_unused_result__;
5457 #define PERL_ARGS_ASSERT_DOPOPTOLOOP
5458
5459 STATIC I32      S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
5460                         __attribute__warn_unused_result__;
5461 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT  \
5462         assert(cxstk)
5463
5464 STATIC I32      S_dopoptowhen(pTHX_ I32 startingblock)
5465                         __attribute__warn_unused_result__;
5466 #define PERL_ARGS_ASSERT_DOPOPTOWHEN
5467
5468 STATIC PMOP*    S_make_matcher(pTHX_ REGEXP* re)
5469                         __attribute__warn_unused_result__;
5470 #define PERL_ARGS_ASSERT_MAKE_MATCHER   \
5471         assert(re)
5472
5473 STATIC bool     S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
5474                         __attribute__warn_unused_result__;
5475 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV     \
5476         assert(matcher); assert(sv)
5477
5478 STATIC bool     S_num_overflow(NV value, I32 fldsize, I32 frcsize)
5479                         __attribute__warn_unused_result__;
5480 #define PERL_ARGS_ASSERT_NUM_OVERFLOW
5481
5482 #ifndef PERL_NO_INLINE_FUNCTIONS
5483 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
5484                         __attribute__warn_unused_result__;
5485 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE     \
5486         assert(name)
5487 #endif
5488
5489 STATIC I32      S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
5490                         __attribute__warn_unused_result__;
5491 #define PERL_ARGS_ASSERT_RUN_USER_FILTER        \
5492         assert(buf_sv)
5493
5494 STATIC void     S_rxres_free(pTHX_ void** rsp);
5495 #define PERL_ARGS_ASSERT_RXRES_FREE     \
5496         assert(rsp)
5497 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
5498 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
5499         assert(rsp); assert(rx)
5500 STATIC void     S_save_lines(pTHX_ AV *array, SV *sv);
5501 #define PERL_ARGS_ASSERT_SAVE_LINES     \
5502         assert(sv)
5503 #endif
5504 #if defined(PERL_IN_PP_HOT_C)
5505 STATIC void     S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
5506 #define PERL_ARGS_ASSERT_DO_ODDBALL     \
5507         assert(oddkey); assert(firstkey)
5508 #ifndef PERL_NO_INLINE_FUNCTIONS
5509 PERL_STATIC_INLINE HV*  S_opmethod_stash(pTHX_ SV* meth);
5510 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
5511         assert(meth)
5512 #endif
5513 #ifndef PERL_NO_INLINE_FUNCTIONS
5514 PERL_STATIC_FORCE_INLINE bool   S_should_we_output_Debug_r(pTHX_ regexp * prog)
5515                         __attribute__warn_unused_result__
5516                         __attribute__always_inline__;
5517 #define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R       \
5518         assert(prog)
5519 #endif
5520
5521 #endif
5522 #if defined(PERL_IN_PP_PACK_C)
5523 STATIC int      S_div128(pTHX_ SV *pnum, bool *done);
5524 #define PERL_ARGS_ASSERT_DIV128 \
5525         assert(pnum); assert(done)
5526 STATIC char     S_first_symbol(const char *pat, const char *patend);
5527 #define PERL_ARGS_ASSERT_FIRST_SYMBOL   \
5528         assert(pat); assert(patend)
5529 STATIC const char *     S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
5530                         __attribute__warn_unused_result__;
5531 #define PERL_ARGS_ASSERT_GET_NUM        \
5532         assert(patptr); assert(lenptr)
5533
5534 STATIC const char *     S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
5535 #define PERL_ARGS_ASSERT_GROUP_END      \
5536         assert(patptr); assert(patend)
5537 STATIC SV*      S_is_an_int(pTHX_ const char *s, STRLEN l)
5538                         __attribute__warn_unused_result__;
5539 #define PERL_ARGS_ASSERT_IS_AN_INT      \
5540         assert(s)
5541
5542 STATIC SSize_t  S_measure_struct(pTHX_ struct tempsym* symptr);
5543 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
5544         assert(symptr)
5545 STATIC SV*      S_mul128(pTHX_ SV *sv, U8 m);
5546 #define PERL_ARGS_ASSERT_MUL128 \
5547         assert(sv)
5548 STATIC char *   S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
5549                         __attribute__warn_unused_result__;
5550 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8       \
5551         assert(start); assert(dest)
5552
5553 STATIC bool     S_need_utf8(const char *pat, const char *patend);
5554 #define PERL_ARGS_ASSERT_NEED_UTF8      \
5555         assert(pat); assert(patend)
5556 STATIC bool     S_next_symbol(pTHX_ struct tempsym* symptr);
5557 #define PERL_ARGS_ASSERT_NEXT_SYMBOL    \
5558         assert(symptr)
5559 STATIC SV **    S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
5560 #define PERL_ARGS_ASSERT_PACK_REC       \
5561         assert(cat); assert(symptr); assert(beglist); assert(endlist)
5562 STATIC char *   S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
5563                         __attribute__warn_unused_result__;
5564 #define PERL_ARGS_ASSERT_SV_EXP_GROW    \
5565         assert(sv)
5566
5567 STATIC SSize_t  S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
5568 #define PERL_ARGS_ASSERT_UNPACK_REC     \
5569         assert(symptr); assert(s); assert(strbeg); assert(strend)
5570 #endif
5571 #if defined(PERL_IN_PP_SORT_C)
5572 #ifndef PERL_NO_INLINE_FUNCTIONS
5573 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
5574                         __attribute__always_inline__;
5575 #define PERL_ARGS_ASSERT_AMAGIC_CMP     \
5576         assert(str1); assert(str2)
5577 #endif
5578
5579 #ifndef PERL_NO_INLINE_FUNCTIONS
5580 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
5581                         __attribute__always_inline__;
5582 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC        \
5583         assert(str1); assert(str2)
5584 #endif
5585
5586 #ifndef PERL_NO_INLINE_FUNCTIONS
5587 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
5588                         __attribute__always_inline__;
5589 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP  \
5590         assert(a); assert(b)
5591 #endif
5592
5593 #ifndef PERL_NO_INLINE_FUNCTIONS
5594 PERL_STATIC_FORCE_INLINE I32    S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
5595                         __attribute__always_inline__;
5596 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC     \
5597         assert(a); assert(b)
5598 #endif
5599
5600 #ifndef PERL_NO_INLINE_FUNCTIONS
5601 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
5602                         __attribute__always_inline__;
5603 #define PERL_ARGS_ASSERT_AMAGIC_NCMP    \
5604         assert(a); assert(b)
5605 #endif
5606
5607 #ifndef PERL_NO_INLINE_FUNCTIONS
5608 PERL_STATIC_FORCE_INLINE I32    S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
5609                         __attribute__always_inline__;
5610 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC       \
5611         assert(a); assert(b)
5612 #endif
5613
5614 #ifndef PERL_NO_INLINE_FUNCTIONS
5615 PERL_STATIC_FORCE_INLINE I32    S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
5616                         __attribute__always_inline__;
5617 #define PERL_ARGS_ASSERT_CMP_DESC       \
5618         assert(str1); assert(str2)
5619 #endif
5620
5621 STATIC I32      S_sortcv(pTHX_ SV *const a, SV *const b);
5622 #define PERL_ARGS_ASSERT_SORTCV \
5623         assert(a); assert(b)
5624 STATIC I32      S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
5625 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
5626         assert(a); assert(b)
5627 STATIC I32      S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
5628 #define PERL_ARGS_ASSERT_SORTCV_XSUB    \
5629         assert(a); assert(b)
5630 #ifndef PERL_NO_INLINE_FUNCTIONS
5631 PERL_STATIC_FORCE_INLINE void   S_sortsv_flags_impl(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
5632                         __attribute__always_inline__;
5633 #define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL      \
5634         assert(cmp)
5635 #endif
5636
5637 #ifndef PERL_NO_INLINE_FUNCTIONS
5638 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
5639                         __attribute__always_inline__;
5640 #define PERL_ARGS_ASSERT_SV_I_NCMP      \
5641         assert(a); assert(b)
5642 #endif
5643
5644 #ifndef PERL_NO_INLINE_FUNCTIONS
5645 PERL_STATIC_FORCE_INLINE I32    S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
5646                         __attribute__always_inline__;
5647 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
5648         assert(a); assert(b)
5649 #endif
5650
5651 #ifndef PERL_NO_INLINE_FUNCTIONS
5652 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp(pTHX_ SV *const a, SV *const b)
5653                         __attribute__always_inline__;
5654 #define PERL_ARGS_ASSERT_SV_NCMP        \
5655         assert(a); assert(b)
5656 #endif
5657
5658 #ifndef PERL_NO_INLINE_FUNCTIONS
5659 PERL_STATIC_FORCE_INLINE I32    S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
5660                         __attribute__always_inline__;
5661 #define PERL_ARGS_ASSERT_SV_NCMP_DESC   \
5662         assert(a); assert(b)
5663 #endif
5664
5665 #  if defined(USE_LOCALE_COLLATE)
5666 #ifndef PERL_NO_INLINE_FUNCTIONS
5667 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
5668                         __attribute__always_inline__;
5669 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE      \
5670         assert(str1); assert(str2)
5671 #endif
5672
5673 #ifndef PERL_NO_INLINE_FUNCTIONS
5674 PERL_STATIC_FORCE_INLINE I32    S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
5675                         __attribute__always_inline__;
5676 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
5677         assert(str1); assert(str2)
5678 #endif
5679
5680 #ifndef PERL_NO_INLINE_FUNCTIONS
5681 PERL_STATIC_FORCE_INLINE I32    S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
5682                         __attribute__always_inline__;
5683 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC        \
5684         assert(str1); assert(str2)
5685 #endif
5686
5687 #  endif
5688 #endif
5689 #if defined(PERL_IN_PP_SYS_C)
5690 STATIC OP*      S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
5691 #define PERL_ARGS_ASSERT_DOFORM \
5692         assert(cv); assert(gv)
5693 STATIC SV *     S_space_join_names_mortal(pTHX_ char *const *array);
5694 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
5695 #endif
5696 #if defined(PERL_IN_REGCOMP_C)
5697 STATIC void     S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
5698 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
5699         assert(pRExC_state); assert(invlist)
5700 STATIC U32      S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
5701                         __attribute__warn_unused_result__;
5702 #define PERL_ARGS_ASSERT_ADD_DATA       \
5703         assert(pRExC_state); assert(s)
5704
5705 STATIC AV*      S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
5706 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH        \
5707         assert(multi_string)
5708 STATIC void     S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
5709 #define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE     \
5710         assert(pRExC_state)
5711 STATIC REGEXP*  S_compile_wildcard(pTHX_ const char * subpattern, const STRLEN len, const bool ignore_case)
5712                         __attribute__warn_unused_result__;
5713 #define PERL_ARGS_ASSERT_COMPILE_WILDCARD       \
5714         assert(subpattern)
5715
5716 STATIC U8       S_compute_EXACTish(RExC_state_t *pRExC_state);
5717 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH       \
5718         assert(pRExC_state)
5719 STATIC regnode *        S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
5720 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE        \
5721         assert(pRExC_state); assert(source)
5722 STATIC int      S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
5723                         __attribute__warn_unused_result__;
5724 #define PERL_ARGS_ASSERT_EDIT_DISTANCE  \
5725         assert(src); assert(tgt)
5726
5727 STATIC I32      S_execute_wildcard(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
5728 #define PERL_ARGS_ASSERT_EXECUTE_WILDCARD       \
5729         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
5730 #ifndef PERL_NO_INLINE_FUNCTIONS
5731 PERL_STATIC_INLINE Size_t       S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max);
5732 #define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS  \
5733         assert(s1); assert(s2)
5734 #endif
5735 STATIC SV *     S_get_ANYOFM_contents(pTHX_ const regnode * n)
5736                         __attribute__warn_unused_result__;
5737 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS    \
5738         assert(n)
5739
5740 STATIC SV*      S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
5741 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC      \
5742         assert(pRExC_state); assert(node)
5743 STATIC bool     S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode_offset* nodep, UV *code_point_p, int* cp_count, I32 *flagp, const bool strict, const U32 depth);
5744 #define PERL_ARGS_ASSERT_GROK_BSLASH_N  \
5745         assert(pRExC_state); assert(flagp)
5746 STATIC regnode_offset   S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * parse_start, char ch);
5747 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF   \
5748         assert(pRExC_state); assert(flagp); assert(parse_start)
5749 STATIC bool     S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
5750 #define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD  \
5751         assert(wname); assert(prop_definition); assert(strings)
5752 STATIC int      S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* const s, char ** updated_parse_ptr, AV** posix_warnings, const bool check_only);
5753 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX  \
5754         assert(pRExC_state); assert(s)
5755 STATIC regnode_offset   S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse);
5756 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS      \
5757         assert(pRExC_state); assert(flagp); assert(oregcomp_parse)
5758 STATIC SV *     S_handle_user_defined_property(pTHX_ const char * name, const STRLEN name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, SV* contents, bool *user_defined_ptr, SV * msg, const STRLEN level);
5759 #define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY   \
5760         assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
5761 #ifndef PERL_NO_INLINE_FUNCTIONS
5762 PERL_STATIC_INLINE SV*  S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
5763                         __attribute__warn_unused_result__;
5764 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS       \
5765         assert(invlist)
5766 #endif
5767
5768 #ifndef PERL_NO_INLINE_FUNCTIONS
5769 PERL_STATIC_INLINE bool S_invlist_is_iterating(SV* const invlist)
5770                         __attribute__warn_unused_result__;
5771 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING   \
5772         assert(invlist)
5773 #endif
5774
5775 #ifndef PERL_NO_INLINE_FUNCTIONS
5776 PERL_STATIC_INLINE UV   S_invlist_lowest(SV* const invlist)
5777                         __attribute__warn_unused_result__;
5778 #define PERL_ARGS_ASSERT_INVLIST_LOWEST \
5779         assert(invlist)
5780 #endif
5781
5782 STATIC bool     S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
5783 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT        \
5784         assert(pRExC_state); assert(ssc)
5785 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);
5786 #define PERL_ARGS_ASSERT_JOIN_EXACT     \
5787         assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
5788 STATIC SV*      S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
5789                         __attribute__warn_unused_result__;
5790 #define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST    \
5791         assert(pRExC_state); assert(node)
5792
5793 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);
5794 #define PERL_ARGS_ASSERT_MAKE_TRIE      \
5795         assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
5796 STATIC bool     S_new_regcurly(const char *s, const char *e)
5797                         __attribute__warn_unused_result__;
5798 #define PERL_ARGS_ASSERT_NEW_REGCURLY   \
5799         assert(s); assert(e)
5800
5801 STATIC void     S_nextchar(pTHX_ RExC_state_t *pRExC_state);
5802 #define PERL_ARGS_ASSERT_NEXTCHAR       \
5803         assert(pRExC_state)
5804 STATIC void     S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings);
5805 #define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS  \
5806         assert(pRExC_state); assert(posix_warnings)
5807 STATIC void     S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
5808 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS    \
5809         assert(pRExC_state)
5810 STATIC SV *     S_parse_uniprop_string(pTHX_ const char * const name, Size_t name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, AV ** strings, bool * user_defined_ptr, SV * msg, const STRLEN level);
5811 #define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING   \
5812         assert(name); assert(user_defined_ptr); assert(msg)
5813 STATIC void     S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
5814 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST    \
5815         assert(node); assert(invlist_ptr)
5816 STATIC void     S_rck_elide_nothing(pTHX_ regnode *node);
5817 #define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING      \
5818         assert(node)
5819 PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
5820                         __attribute__noreturn__
5821                         __attribute__format__(__printf__,pTHX_2,pTHX_3);
5822 #define PERL_ARGS_ASSERT_RE_CROAK       \
5823         assert(pat)
5824
5825 STATIC regnode_offset   S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
5826 #define PERL_ARGS_ASSERT_REG    \
5827         assert(pRExC_state); assert(flagp)
5828 STATIC regnode_offset   S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
5829 #define PERL_ARGS_ASSERT_REG2LANODE     \
5830         assert(pRExC_state)
5831 STATIC regnode_offset   S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
5832 #define PERL_ARGS_ASSERT_REG_NODE       \
5833         assert(pRExC_state)
5834 STATIC SV *     S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
5835 #define PERL_ARGS_ASSERT_REG_SCAN_NAME  \
5836         assert(pRExC_state)
5837 #ifndef PERL_NO_INLINE_FUNCTIONS
5838 PERL_STATIC_INLINE char *       S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
5839 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT        \
5840         assert(pRExC_state); assert(p)
5841 #endif
5842 STATIC regnode_offset   S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
5843 #define PERL_ARGS_ASSERT_REGANODE       \
5844         assert(pRExC_state)
5845 STATIC regnode_offset   S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
5846 #define PERL_ARGS_ASSERT_REGATOM        \
5847         assert(pRExC_state); assert(flagp)
5848 STATIC regnode_offset   S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
5849 #define PERL_ARGS_ASSERT_REGBRANCH      \
5850         assert(pRExC_state); assert(flagp)
5851 STATIC regnode_offset   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, const bool strict, bool optimizable, SV** ret_invlist);
5852 #define PERL_ARGS_ASSERT_REGCLASS       \
5853         assert(pRExC_state); assert(flagp)
5854 STATIC unsigned int     S_regex_set_precedence(const U8 my_operator)
5855                         __attribute__warn_unused_result__;
5856 #define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
5857
5858 STATIC void     S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
5859 #define PERL_ARGS_ASSERT_REGINSERT      \
5860         assert(pRExC_state)
5861 STATIC regnode_offset   S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len, const char* const name);
5862 #define PERL_ARGS_ASSERT_REGNODE_GUTS   \
5863         assert(pRExC_state); assert(name)
5864 STATIC regnode_offset   S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
5865 #define PERL_ARGS_ASSERT_REGPIECE       \
5866         assert(pRExC_state); assert(flagp)
5867 STATIC regnode_offset   S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV * arg);
5868 #define PERL_ARGS_ASSERT_REGPNODE       \
5869         assert(pRExC_state); assert(arg)
5870 STATIC bool     S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
5871                         __attribute__warn_unused_result__;
5872 #define PERL_ARGS_ASSERT_REGTAIL        \
5873         assert(pRExC_state); assert(p); assert(val)
5874
5875 STATIC void     S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
5876 #define PERL_ARGS_ASSERT_SCAN_COMMIT    \
5877         assert(pRExC_state); assert(data); assert(minlenp)
5878 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);
5879 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG  \
5880         assert(pRExC_state); assert(node)
5881 STATIC void     S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
5882 #define PERL_ARGS_ASSERT_SET_REGEX_PV   \
5883         assert(pRExC_state); assert(Rx)
5884 STATIC void     S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
5885 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT        \
5886         assert(pRExC_state); assert(p)
5887 STATIC void     S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
5888 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE  \
5889         assert(ssc)
5890 STATIC void     S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
5891 #define PERL_ARGS_ASSERT_SSC_AND        \
5892         assert(pRExC_state); assert(ssc); assert(and_with)
5893 STATIC void     S_ssc_anything(pTHX_ regnode_ssc *ssc);
5894 #define PERL_ARGS_ASSERT_SSC_ANYTHING   \
5895         assert(ssc)
5896 STATIC void     S_ssc_clear_locale(regnode_ssc *ssc);
5897 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE       \
5898         assert(ssc)
5899 STATIC void     S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
5900 #define PERL_ARGS_ASSERT_SSC_CP_AND     \
5901         assert(ssc)
5902 STATIC void     S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
5903 #define PERL_ARGS_ASSERT_SSC_FINALIZE   \
5904         assert(pRExC_state); assert(ssc)
5905 STATIC void     S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
5906 #define PERL_ARGS_ASSERT_SSC_INIT       \
5907         assert(pRExC_state); assert(ssc)
5908 STATIC void     S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
5909 #define PERL_ARGS_ASSERT_SSC_INTERSECTION       \
5910         assert(ssc); assert(invlist)
5911 STATIC int      S_ssc_is_anything(const regnode_ssc *ssc)
5912                         __attribute__warn_unused_result__;
5913 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING        \
5914         assert(ssc)
5915
5916 STATIC int      S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
5917                         __attribute__warn_unused_result__;
5918 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT  \
5919         assert(pRExC_state); assert(ssc)
5920
5921 STATIC void     S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
5922 #define PERL_ARGS_ASSERT_SSC_OR \
5923         assert(pRExC_state); assert(ssc); assert(or_with)
5924 STATIC void     S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
5925 #define PERL_ARGS_ASSERT_SSC_UNION      \
5926         assert(ssc); assert(invlist)
5927 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, bool was_mutate_ok);
5928 #define PERL_ARGS_ASSERT_STUDY_CHUNK    \
5929         assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
5930 #endif
5931 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
5932 PERL_CALLCONV void      Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
5933 #define PERL_ARGS_ASSERT__INVLIST_DUMP  \
5934         assert(file); assert(indent); assert(invlist)
5935 #endif
5936 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
5937 #ifndef PERL_NO_INLINE_FUNCTIONS
5938 PERL_STATIC_INLINE SV*  S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
5939                         __attribute__warn_unused_result__;
5940 #define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
5941 #endif
5942
5943 #ifndef PERL_NO_INLINE_FUNCTIONS
5944 PERL_STATIC_INLINE void S_invlist_extend(pTHX_ SV* const invlist, const UV len);
5945 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
5946         assert(invlist)
5947 #endif
5948 #ifndef PERL_NO_INLINE_FUNCTIONS
5949 PERL_STATIC_INLINE UV   S_invlist_highest(SV* const invlist)
5950                         __attribute__warn_unused_result__;
5951 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST        \
5952         assert(invlist)
5953 #endif
5954
5955 #ifndef PERL_NO_INLINE_FUNCTIONS
5956 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
5957 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN        \
5958         assert(invlist)
5959 #endif
5960 #endif
5961 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
5962 PERL_CALLCONV SV*       Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
5963                         __attribute__warn_unused_result__;
5964 #define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
5965
5966 /* PERL_CALLCONV void   _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
5967 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION
5968 PERL_CALLCONV void      Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
5969 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND     \
5970         assert(b); assert(i)
5971 PERL_CALLCONV void      Perl__invlist_invert(pTHX_ SV* const invlist);
5972 #define PERL_ARGS_ASSERT__INVLIST_INVERT        \
5973         assert(invlist)
5974 /* PERL_CALLCONV void   _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
5975 #define PERL_ARGS_ASSERT__INVLIST_SUBTRACT
5976 /* PERL_CALLCONV void   _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
5977 #define PERL_ARGS_ASSERT__INVLIST_UNION
5978 PERL_CALLCONV void      Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
5979 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND    \
5980         assert(b); assert(output)
5981 PERL_CALLCONV SV*       Perl__new_invlist(pTHX_ IV initial_size)
5982                         __attribute__warn_unused_result__;
5983 #define PERL_ARGS_ASSERT__NEW_INVLIST
5984
5985 PERL_CALLCONV SV*       Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
5986                         __attribute__warn_unused_result__;
5987 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST  \
5988         assert(other_elements_ptr)
5989
5990 #endif
5991 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
5992 PERL_CALLCONV const char *      Perl_form_alien_digit_msg(pTHX_ const U8 which, const STRLEN valids_len, const char * const first_bad, const char * const send, const bool UTF, const bool braced)
5993                         __attribute__warn_unused_result__;
5994 #define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG   \
5995         assert(first_bad); assert(send)
5996
5997 PERL_CALLCONV bool      Perl_grok_bslash_c(pTHX_ const char source, U8 * result, const char** message, U32 * packed_warn)
5998                         __attribute__warn_unused_result__;
5999 #define PERL_ARGS_ASSERT_GROK_BSLASH_C  \
6000         assert(result); assert(message)
6001
6002 PERL_CALLCONV bool      Perl_grok_bslash_o(pTHX_ char** s, const char* const send, UV* uv, const char** message, U32 * packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6003                         __attribute__warn_unused_result__;
6004 #define PERL_ARGS_ASSERT_GROK_BSLASH_O  \
6005         assert(s); assert(send); assert(uv); assert(message)
6006
6007 PERL_CALLCONV bool      Perl_grok_bslash_x(pTHX_ char** s, const char* const send, UV* uv, const char** message, U32 * packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6008                         __attribute__warn_unused_result__;
6009 #define PERL_ARGS_ASSERT_GROK_BSLASH_X  \
6010         assert(s); assert(send); assert(uv); assert(message)
6011
6012 #endif
6013 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6014 PERL_CALLCONV const char *      Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char * string, const Size_t len, const UV cp)
6015                         __attribute__warn_unused_result__;
6016 #define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6017
6018 #endif
6019 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
6020 #ifndef PERL_NO_INLINE_FUNCTIONS
6021 PERL_STATIC_INLINE STRLEN*      S_get_invlist_iter_addr(SV* invlist)
6022                         __attribute__warn_unused_result__;
6023 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR  \
6024         assert(invlist)
6025 #endif
6026
6027 #ifndef PERL_NO_INLINE_FUNCTIONS
6028 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
6029 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH     \
6030         assert(invlist)
6031 #endif
6032 #ifndef PERL_NO_INLINE_FUNCTIONS
6033 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
6034 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT       \
6035         assert(invlist)
6036 #endif
6037 #ifndef PERL_NO_INLINE_FUNCTIONS
6038 PERL_STATIC_INLINE bool S_invlist_iternext(SV* invlist, UV* start, UV* end)
6039                         __attribute__warn_unused_result__;
6040 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT       \
6041         assert(invlist); assert(start); assert(end)
6042 #endif
6043
6044 #endif
6045 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
6046 PERL_CALLCONV bool      Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
6047 #define PERL_ARGS_ASSERT__INVLISTEQ     \
6048         assert(a); assert(b)
6049 PERL_CALLCONV SV*       Perl__new_invlist_C_array(pTHX_ const UV* const list)
6050                         __attribute__warn_unused_result__;
6051 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY   \
6052         assert(list)
6053
6054 #endif
6055 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
6056 #ifndef PERL_NO_INLINE_FUNCTIONS
6057 PERL_STATIC_INLINE const char * S_get_regex_charset_name(const U32 flags, STRLEN* const lenp);
6058 #define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
6059         assert(lenp)
6060 #endif
6061 #endif
6062 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6063 PERL_CALLCONV int       Perl_re_printf(pTHX_ const char *fmt, ...)
6064                         __attribute__format__(__printf__,pTHX_1,pTHX_2);
6065 #define PERL_ARGS_ASSERT_RE_PRINTF      \
6066         assert(fmt)
6067
6068 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state);
6069 #define PERL_ARGS_ASSERT_REGPROP        \
6070         assert(sv); assert(o)
6071 #endif
6072 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)     || defined(PERL_IN_PP_C) || defined(PERL_IN_OP_C)               || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)           || defined(PERL_IN_DOOP_C)
6073 #ifndef PERL_NO_INLINE_FUNCTIONS
6074 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
6075                         __attribute__warn_unused_result__;
6076 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP   \
6077         assert(invlist)
6078 #endif
6079
6080 #ifndef PERL_NO_INLINE_FUNCTIONS
6081 PERL_STATIC_INLINE UV   S__invlist_len(SV* const invlist)
6082                         __attribute__warn_unused_result__;
6083 #define PERL_ARGS_ASSERT__INVLIST_LEN   \
6084         assert(invlist)
6085 #endif
6086
6087 PERL_CALLCONV SSize_t   Perl__invlist_search(SV* const invlist, const UV cp)
6088                         __attribute__warn_unused_result__;
6089 #define PERL_ARGS_ASSERT__INVLIST_SEARCH        \
6090         assert(invlist)
6091
6092 #ifndef PERL_NO_INLINE_FUNCTIONS
6093 PERL_STATIC_INLINE bool*        S_get_invlist_offset_addr(SV* invlist)
6094                         __attribute__warn_unused_result__;
6095 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR        \
6096         assert(invlist)
6097 #endif
6098
6099 #ifndef PERL_NO_INLINE_FUNCTIONS
6100 PERL_STATIC_INLINE UV*  S_invlist_array(SV* const invlist)
6101                         __attribute__warn_unused_result__;
6102 #define PERL_ARGS_ASSERT_INVLIST_ARRAY  \
6103         assert(invlist)
6104 #endif
6105
6106 #ifndef PERL_NO_INLINE_FUNCTIONS
6107 PERL_STATIC_INLINE bool S_is_invlist(SV* const invlist)
6108                         __attribute__warn_unused_result__;
6109 #define PERL_ARGS_ASSERT_IS_INVLIST
6110 #endif
6111
6112 #endif
6113 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
6114 PERL_CALLCONV bool      Perl_is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
6115                         __attribute__warn_unused_result__;
6116 #define PERL_ARGS_ASSERT_IS_GRAPHEME    \
6117         assert(strbeg); assert(s); assert(strend)
6118
6119 #endif
6120 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6121 PERL_CALLCONV UV        Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6122 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1        \
6123         assert(p); assert(lenp)
6124 #endif
6125 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
6126 PERL_CALLCONV SV*       Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
6127 #define PERL_ARGS_ASSERT_INVLIST_CLONE  \
6128         assert(invlist)
6129 #endif
6130 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
6131 PERL_CALLCONV bool      Perl_regcurly(const char *s)
6132                         __attribute__warn_unused_result__;
6133 #define PERL_ARGS_ASSERT_REGCURLY       \
6134         assert(s)
6135
6136 #endif
6137 #if defined(PERL_IN_REGEXEC_C)
6138 STATIC LB_enum  S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6139                         __attribute__warn_unused_result__;
6140 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
6141         assert(curpos); assert(strend)
6142
6143 STATIC SB_enum  S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6144                         __attribute__warn_unused_result__;
6145 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
6146         assert(curpos); assert(strend)
6147
6148 STATIC WB_enum  S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
6149                         __attribute__warn_unused_result__;
6150 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
6151         assert(curpos); assert(strend)
6152
6153 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6154                         __attribute__warn_unused_result__;
6155 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
6156         assert(strbeg); assert(curpos)
6157
6158 STATIC LB_enum  S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6159                         __attribute__warn_unused_result__;
6160 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB  \
6161         assert(strbeg); assert(curpos)
6162
6163 STATIC SB_enum  S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6164                         __attribute__warn_unused_result__;
6165 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB  \
6166         assert(strbeg); assert(curpos)
6167
6168 STATIC WB_enum  S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6169                         __attribute__warn_unused_result__;
6170 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB  \
6171         assert(previous); assert(strbeg); assert(curpos)
6172
6173 STATIC char*    S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
6174                         __attribute__warn_unused_result__;
6175 #define PERL_ARGS_ASSERT_FIND_BYCLASS   \
6176         assert(prog); assert(c); assert(s); assert(strend)
6177
6178 STATIC U8 *     S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
6179                         __attribute__warn_unused_result__;
6180 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED       \
6181         assert(s); assert(send)
6182
6183 STATIC U8 *     S_find_span_end(U8* s, const U8 * send, const U8 span_byte)
6184                         __attribute__warn_unused_result__;
6185 #define PERL_ARGS_ASSERT_FIND_SPAN_END  \
6186         assert(s); assert(send)
6187
6188 STATIC U8 *     S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
6189                         __attribute__warn_unused_result__;
6190 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK     \
6191         assert(s); assert(send)
6192
6193 #ifndef PERL_NO_INLINE_FUNCTIONS
6194 PERL_STATIC_INLINE I32  S_foldEQ_latin1_s2_folded(const char* a, const char* b, I32 len);
6195 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED        \
6196         assert(a); assert(b)
6197 #endif
6198 STATIC bool     S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
6199                         __attribute__warn_unused_result__;
6200 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC  \
6201         assert(character); assert(e)
6202
6203 STATIC bool     S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
6204                         __attribute__warn_unused_result__;
6205 #define PERL_ARGS_ASSERT_ISGCB  \
6206         assert(strbeg); assert(curpos)
6207
6208 STATIC bool     S_isLB(pTHX_ LB_enum before, LB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6209                         __attribute__warn_unused_result__;
6210 #define PERL_ARGS_ASSERT_ISLB   \
6211         assert(strbeg); assert(curpos); assert(strend)
6212
6213 STATIC bool     S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6214                         __attribute__warn_unused_result__;
6215 #define PERL_ARGS_ASSERT_ISSB   \
6216         assert(strbeg); assert(curpos); assert(strend)
6217
6218 STATIC bool     S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6219                         __attribute__warn_unused_result__;
6220 #define PERL_ARGS_ASSERT_ISWB   \
6221         assert(strbeg); assert(curpos); assert(strend)
6222
6223 STATIC I32      S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
6224                         __attribute__warn_unused_result__;
6225 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED   \
6226         assert(rex); assert(scan)
6227
6228 STATIC void     S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
6229 #define PERL_ARGS_ASSERT_REGCP_RESTORE  \
6230         assert(rex); assert(maxopenparen_p)
6231 STATIC void     S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
6232 #define PERL_ARGS_ASSERT_REGCPPOP       \
6233         assert(rex); assert(maxopenparen_p)
6234 STATIC CHECKPOINT       S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
6235 #define PERL_ARGS_ASSERT_REGCPPUSH      \
6236         assert(rex)
6237 STATIC U8*      S_reghop3(U8 *s, SSize_t off, const U8 *lim)
6238                         __attribute__warn_unused_result__;
6239 #define PERL_ARGS_ASSERT_REGHOP3        \
6240         assert(s); assert(lim)
6241
6242 STATIC U8*      S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
6243                         __attribute__warn_unused_result__;
6244 #define PERL_ARGS_ASSERT_REGHOP4        \
6245         assert(s); assert(llim); assert(rlim)
6246
6247 STATIC U8*      S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
6248                         __attribute__warn_unused_result__;
6249 #define PERL_ARGS_ASSERT_REGHOPMAYBE3   \
6250         assert(s); assert(lim)
6251
6252 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)
6253                         __attribute__warn_unused_result__;
6254 #define PERL_ARGS_ASSERT_REGINCLASS     \
6255         assert(n); assert(p); assert(p_end)
6256
6257 STATIC SSize_t  S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
6258                         __attribute__warn_unused_result__;
6259 #define PERL_ARGS_ASSERT_REGMATCH       \
6260         assert(reginfo); assert(startpos); assert(prog)
6261
6262 STATIC I32      S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info *const reginfo, I32 max _pDEPTH)
6263                         __attribute__warn_unused_result__;
6264 #define PERL_ARGS_ASSERT_REGREPEAT      \
6265         assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo)
6266
6267 STATIC bool     S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
6268                         __attribute__warn_unused_result__;
6269 #define PERL_ARGS_ASSERT_REGTRY \
6270         assert(reginfo); assert(startposp)
6271
6272 STATIC bool     S_to_byte_substr(pTHX_ regexp * prog);
6273 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
6274         assert(prog)
6275 STATIC void     S_to_utf8_substr(pTHX_ regexp * prog);
6276 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
6277         assert(prog)
6278 #endif
6279 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6280 PERL_CALLCONV bool      Perl_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
6281                         __attribute__warn_unused_result__;
6282 #define PERL_ARGS_ASSERT_ISFOO_LC
6283
6284 #endif
6285 #if defined(PERL_IN_SCOPE_C)
6286 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
6287 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
6288 STATIC SV*      S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
6289 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
6290         assert(sptr)
6291 #endif
6292 #if defined(PERL_IN_SV_C)
6293 STATIC char *   S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
6294 #define PERL_ARGS_ASSERT_F0CONVERT      \
6295         assert(endbuf); assert(len)
6296 STATIC void     S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
6297 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE     \
6298         assert(gv); assert(cv)
6299 STATIC void     S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
6300 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT     \
6301         assert(func); assert(sv)
6302 STATIC bool     S_curse(pTHX_ SV * const sv, const bool check_refcnt);
6303 #define PERL_ARGS_ASSERT_CURSE  \
6304         assert(sv)
6305 STATIC STRLEN   S_expect_number(pTHX_ const char **const pattern)
6306                         __attribute__warn_unused_result__;
6307 #define PERL_ARGS_ASSERT_EXPECT_NUMBER  \
6308         assert(pattern)
6309
6310 STATIC SSize_t  S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
6311 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT   \
6312         assert(val)
6313 STATIC SV *     S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
6314 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT    \
6315         assert(val)
6316 STATIC SV*      S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
6317 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR        \
6318         assert(desc_p)
6319 STATIC bool     S_glob_2number(pTHX_ GV* const gv);
6320 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
6321         assert(gv)
6322 STATIC void     S_glob_assign_glob(pTHX_ SV *const dsv, SV *const ssv, const int dtype);
6323 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB       \
6324         assert(dsv); assert(ssv)
6325 STATIC SV *     S_more_sv(pTHX);
6326 #define PERL_ARGS_ASSERT_MORE_SV
6327 STATIC void     S_not_a_number(pTHX_ SV *const sv);
6328 #define PERL_ARGS_ASSERT_NOT_A_NUMBER   \
6329         assert(sv)
6330 STATIC void     S_not_incrementable(pTHX_ SV *const sv);
6331 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE      \
6332         assert(sv)
6333 STATIC PTR_TBL_ENT_t *  S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
6334                         __attribute__warn_unused_result__;
6335 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
6336         assert(tbl)
6337
6338 STATIC bool     S_sv_2iuv_common(pTHX_ SV *const sv);
6339 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
6340         assert(sv)
6341 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
6342 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
6343         assert(ptr)
6344 STATIC const char *     S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
6345 #define PERL_ARGS_ASSERT_SV_DISPLAY     \
6346         assert(sv); assert(tmpbuf)
6347 STATIC STRLEN   S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
6348 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY      \
6349         assert(s); assert(target); assert(end)
6350 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);
6351 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED      \
6352         assert(sv); assert(mgp); assert(start); assert(send)
6353 STATIC STRLEN   S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end);
6354 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS    \
6355         assert(start); assert(send); assert(uoffset); assert(at_end)
6356 STATIC STRLEN   S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
6357 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY      \
6358         assert(start); assert(send)
6359 #ifndef PERL_NO_INLINE_FUNCTIONS
6360 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
6361 #define PERL_ARGS_ASSERT_SV_UNGLOB      \
6362         assert(sv)
6363 #endif
6364 #ifndef PERL_NO_INLINE_FUNCTIONS
6365 PERL_STATIC_INLINE char *       S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
6366                         __attribute__warn_unused_result__;
6367 #define PERL_ARGS_ASSERT_UIV_2BUF       \
6368         assert(buf); assert(peob)
6369 #endif
6370
6371 STATIC void     S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
6372 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE       \
6373         assert(sv); assert(mgp)
6374 STATIC void     S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
6375 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE       \
6376         assert(sv); assert(mgp)
6377 STATIC I32      S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
6378 #define PERL_ARGS_ASSERT_VISIT  \
6379         assert(f)
6380 #  if defined(USE_ITHREADS)
6381 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
6382                         __attribute__warn_unused_result__;
6383 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
6384         assert(ssv); assert(param)
6385
6386 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
6387 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
6388         assert(source); assert(dest); assert(param)
6389 STATIC void     S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
6390 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK      \
6391         assert(unreferenced)
6392 #  endif
6393 #endif
6394 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
6395 PERL_CALLCONV SV *      Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, SSize_t aindex, int subscript_type)
6396                         __attribute__warn_unused_result__;
6397 #define PERL_ARGS_ASSERT_VARNAME
6398
6399 #endif
6400 #if defined(PERL_IN_TOKE_C)
6401 STATIC int      S_ao(pTHX_ int toketype);
6402 #define PERL_ARGS_ASSERT_AO
6403 STATIC void     S_check_uni(pTHX);
6404 #define PERL_ARGS_ASSERT_CHECK_UNI
6405 STATIC void     S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
6406 #define PERL_ARGS_ASSERT_CHECKCOMMA     \
6407         assert(s); assert(name); assert(what)
6408 STATIC char *   S_filter_gets(pTHX_ SV *sv, STRLEN append)
6409                         __attribute__warn_unused_result__;
6410 #define PERL_ARGS_ASSERT_FILTER_GETS    \
6411         assert(sv)
6412
6413 STATIC HV *     S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
6414                         __attribute__warn_unused_result__;
6415 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH       \
6416         assert(pkgname)
6417
6418 STATIC void     S_force_ident(pTHX_ const char *s, int kind);
6419 #define PERL_ARGS_ASSERT_FORCE_IDENT    \
6420         assert(s)
6421 STATIC void     S_force_ident_maybe_lex(pTHX_ char pit);
6422 #define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
6423 STATIC void     S_force_next(pTHX_ I32 type);
6424 #define PERL_ARGS_ASSERT_FORCE_NEXT
6425 STATIC char*    S_force_strict_version(pTHX_ char *s);
6426 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION   \
6427         assert(s)
6428 STATIC char*    S_force_version(pTHX_ char *s, int guessing);
6429 #define PERL_ARGS_ASSERT_FORCE_VERSION  \
6430         assert(s)
6431 STATIC char*    S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
6432 #define PERL_ARGS_ASSERT_FORCE_WORD     \
6433         assert(start)
6434 STATIC SV*      S_get_and_check_backslash_N_name_wrapper(pTHX_ const char* s, const char* const e)
6435                         __attribute__warn_unused_result__;
6436 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
6437         assert(s); assert(e)
6438
6439 STATIC void     S_incline(pTHX_ const char *s, const char *end);
6440 #define PERL_ARGS_ASSERT_INCLINE        \
6441         assert(s); assert(end)
6442 STATIC int      S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
6443 #define PERL_ARGS_ASSERT_INTUIT_METHOD  \
6444         assert(s)
6445 STATIC int      S_intuit_more(pTHX_ char *s, char *e);
6446 #define PERL_ARGS_ASSERT_INTUIT_MORE    \
6447         assert(s); assert(e)
6448 STATIC I32      S_lop(pTHX_ I32 f, U8 x, char *s);
6449 #define PERL_ARGS_ASSERT_LOP    \
6450         assert(s)
6451 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
6452                         __attribute__noreturn__;
6453 #define PERL_ARGS_ASSERT_MISSINGTERM
6454
6455 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, const char ** error_msg);
6456 #define PERL_ARGS_ASSERT_NEW_CONSTANT   \
6457         assert(key); assert(sv)
6458 STATIC void     S_no_op(pTHX_ const char *const what, char *s);
6459 #define PERL_ARGS_ASSERT_NO_OP  \
6460         assert(what)
6461 STATIC void     S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
6462 #define PERL_ARGS_ASSERT_PARSE_IDENT    \
6463         assert(s); assert(d); assert(e)
6464 STATIC int      S_pending_ident(pTHX);
6465 #define PERL_ARGS_ASSERT_PENDING_IDENT
6466 STATIC char*    S_scan_const(pTHX_ char *start)
6467                         __attribute__warn_unused_result__;
6468 #define PERL_ARGS_ASSERT_SCAN_CONST     \
6469         assert(start)
6470
6471 STATIC char*    S_scan_formline(pTHX_ char *s)
6472                         __attribute__warn_unused_result__;
6473 #define PERL_ARGS_ASSERT_SCAN_FORMLINE  \
6474         assert(s)
6475
6476 STATIC char*    S_scan_heredoc(pTHX_ char *s)
6477                         __attribute__warn_unused_result__;
6478 #define PERL_ARGS_ASSERT_SCAN_HEREDOC   \
6479         assert(s)
6480
6481 STATIC char*    S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
6482 #define PERL_ARGS_ASSERT_SCAN_IDENT     \
6483         assert(s); assert(dest)
6484 STATIC char*    S_scan_inputsymbol(pTHX_ char *start)
6485                         __attribute__warn_unused_result__;
6486 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL       \
6487         assert(start)
6488
6489 STATIC char*    S_scan_pat(pTHX_ char *start, I32 type)
6490                         __attribute__warn_unused_result__;
6491 #define PERL_ARGS_ASSERT_SCAN_PAT       \
6492         assert(start)
6493
6494 STATIC char*    S_scan_subst(pTHX_ char *start)
6495                         __attribute__warn_unused_result__;
6496 #define PERL_ARGS_ASSERT_SCAN_SUBST     \
6497         assert(start)
6498
6499 STATIC char*    S_scan_trans(pTHX_ char *start)
6500                         __attribute__warn_unused_result__;
6501 #define PERL_ARGS_ASSERT_SCAN_TRANS     \
6502         assert(start)
6503
6504 STATIC I32      S_sublex_done(pTHX)
6505                         __attribute__warn_unused_result__;
6506 #define PERL_ARGS_ASSERT_SUBLEX_DONE
6507
6508 STATIC I32      S_sublex_push(pTHX)
6509                         __attribute__warn_unused_result__;
6510 #define PERL_ARGS_ASSERT_SUBLEX_PUSH
6511
6512 STATIC I32      S_sublex_start(pTHX)
6513                         __attribute__warn_unused_result__;
6514 #define PERL_ARGS_ASSERT_SUBLEX_START
6515
6516 STATIC char*    S_swallow_bom(pTHX_ U8 *s)
6517                         __attribute__warn_unused_result__;
6518 #define PERL_ARGS_ASSERT_SWALLOW_BOM    \
6519         assert(s)
6520
6521 STATIC char *   S_tokenize_use(pTHX_ int is_use, char *s)
6522                         __attribute__warn_unused_result__;
6523 #define PERL_ARGS_ASSERT_TOKENIZE_USE   \
6524         assert(s)
6525
6526 STATIC SV*      S_tokeq(pTHX_ SV *sv);
6527 #define PERL_ARGS_ASSERT_TOKEQ  \
6528         assert(sv)
6529 STATIC void     S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
6530 #define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
6531 STATIC int      S_yywarn(pTHX_ const char *const s, U32 flags);
6532 #define PERL_ARGS_ASSERT_YYWARN \
6533         assert(s)
6534 #endif
6535 #if defined(PERL_IN_UNIVERSAL_C)
6536 STATIC bool     S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char * name, STRLEN len, U32 flags);
6537 STATIC bool     S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLEN len, U32 flags);
6538 #endif
6539 #if defined(PERL_IN_UTF8_C)
6540 STATIC UV       S__to_utf8_case(pTHX_ const UV uv1, const U8 *p, U8* ustrp, STRLEN *lenp, SV *invlist, const I32 * const invmap, const U32 * const * const aux_tables, const U8 * const aux_table_lengths, const char * const normal);
6541 #define PERL_ARGS_ASSERT__TO_UTF8_CASE  \
6542         assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
6543 STATIC UV       S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
6544                         __attribute__warn_unused_result__;
6545 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
6546         assert(p); assert(ustrp); assert(lenp)
6547
6548 #ifndef PERL_NO_INLINE_FUNCTIONS
6549 PERL_STATIC_INLINE int  S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
6550                         __attribute__warn_unused_result__;
6551 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW     \
6552         assert(s); assert(e)
6553 #endif
6554
6555 #ifndef PERL_NO_INLINE_FUNCTIONS
6556 PERL_STATIC_INLINE int  S_isFF_OVERLONG(const U8 * const s, const STRLEN len)
6557                         __attribute__warn_unused_result__;
6558 #define PERL_ARGS_ASSERT_ISFF_OVERLONG  \
6559         assert(s)
6560 #endif
6561
6562 #ifndef PERL_NO_INLINE_FUNCTIONS
6563 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, const U8 *const e, SV* const invlist)
6564                         __attribute__warn_unused_result__;
6565 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
6566         assert(p); assert(e)
6567 #endif
6568
6569 #ifndef PERL_NO_INLINE_FUNCTIONS
6570 PERL_STATIC_INLINE int  S_is_utf8_overlong_given_start_byte_ok(const U8 * const s, const STRLEN len)
6571                         __attribute__warn_unused_result__;
6572 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG_GIVEN_START_BYTE_OK   \
6573         assert(s)
6574 #endif
6575
6576 STATIC HV *     S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
6577                         __attribute__warn_unused_result__;
6578 #define PERL_ARGS_ASSERT_NEW_MSG_HV     \
6579         assert(message)
6580
6581 STATIC U8       S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
6582                         __attribute__warn_unused_result__;
6583 #define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
6584
6585 STATIC UV       S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
6586 #define PERL_ARGS_ASSERT_TURKIC_FC      \
6587         assert(p); assert(e); assert(ustrp); assert(lenp)
6588 STATIC UV       S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8* ustrp, STRLEN *lenp);
6589 #define PERL_ARGS_ASSERT_TURKIC_LC      \
6590         assert(p0); assert(e); assert(ustrp); assert(lenp)
6591 STATIC UV       S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
6592 #define PERL_ARGS_ASSERT_TURKIC_UC      \
6593         assert(p); assert(e); assert(ustrp); assert(lenp)
6594 STATIC char *   S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
6595                         __attribute__warn_unused_result__;
6596 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT       \
6597         assert(s)
6598
6599 #endif
6600 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
6601 PERL_CALLCONV UV        Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s);
6602 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
6603         assert(p); assert(lenp)
6604 #endif
6605 #if defined(PERL_IN_UTIL_C)
6606 STATIC bool     S_ckwarn_common(pTHX_ U32 w);
6607 #define PERL_ARGS_ASSERT_CKWARN_COMMON
6608 STATIC bool     S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
6609 #define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
6610 STATIC SV*      S_mess_alloc(pTHX);
6611 #define PERL_ARGS_ASSERT_MESS_ALLOC
6612 STATIC SV *     S_with_queued_errors(pTHX_ SV *ex);
6613 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS     \
6614         assert(ex)
6615 STATIC void     S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
6616 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK   \
6617         assert(xs_p)
6618 #  if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
6619 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);
6620 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
6621         assert(type_name); assert(filename); assert(funcname)
6622 #  endif
6623 #endif
6624 #if defined(PERL_MEM_LOG)
6625 PERL_CALLCONV Malloc_t  Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
6626 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC  \
6627         assert(type_name); assert(filename); assert(funcname)
6628 PERL_CALLCONV Malloc_t  Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
6629 #define PERL_ARGS_ASSERT_MEM_LOG_FREE   \
6630         assert(filename); assert(funcname)
6631 PERL_CALLCONV Malloc_t  Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
6632 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC        \
6633         assert(type_name); assert(filename); assert(funcname)
6634 #endif
6635 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
6636 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
6637 #define PERL_ARGS_ASSERT_PIDGONE
6638 #endif
6639 #if defined(PERL_USE_3ARG_SIGHANDLER)
6640 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, Siginfo_t *info, void *uap);
6641 #define PERL_ARGS_ASSERT_CSIGHANDLER
6642 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, Siginfo_t *info, void *uap);
6643 #define PERL_ARGS_ASSERT_SIGHANDLER
6644 #endif
6645 #if defined(UNLINK_ALL_VERSIONS)
6646 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f);
6647 #define PERL_ARGS_ASSERT_UNLNK  \
6648         assert(f)
6649 #endif
6650 #if defined(USE_C_BACKTRACE)
6651 PERL_CALLCONV bool      Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
6652 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE       \
6653         assert(fp)
6654 /* PERL_CALLCONV void   free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
6655 #define PERL_ARGS_ASSERT_FREE_C_BACKTRACE
6656 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip);
6657 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE
6658 PERL_CALLCONV SV*       Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
6659 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
6660 #endif
6661 #if defined(USE_DTRACE)
6662 PERL_CALLCONV void      Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
6663 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL      \
6664         assert(cv)
6665 PERL_CALLCONV void      Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
6666 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD      \
6667         assert(name)
6668 PERL_CALLCONV void      Perl_dtrace_probe_op(pTHX_ const OP *op);
6669 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP        \
6670         assert(op)
6671 PERL_CALLCONV void      Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
6672 #define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
6673 #endif
6674 #if defined(USE_ITHREADS)
6675 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
6676 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH  \
6677         assert(hv)
6678 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
6679                         __attribute__warn_unused_result__;
6680 #define PERL_ARGS_ASSERT_ANY_DUP        \
6681         assert(proto_perl)
6682
6683 PERL_CALLCONV void      Perl_clone_params_del(CLONE_PARAMS *param);
6684 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL       \
6685         assert(param)
6686 PERL_CALLCONV CLONE_PARAMS *    Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
6687                         __attribute__warn_unused_result__;
6688 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW       \
6689         assert(from); assert(to)
6690
6691 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
6692                         __attribute__warn_unused_result__;
6693 #define PERL_ARGS_ASSERT_CX_DUP \
6694         assert(param)
6695
6696 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
6697                         __attribute__warn_unused_result__;
6698 #define PERL_ARGS_ASSERT_DIRP_DUP       \
6699         assert(param)
6700
6701 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
6702 #define PERL_ARGS_ASSERT_FP_DUP \
6703         assert(param)
6704 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
6705                         __attribute__warn_unused_result__;
6706 #define PERL_ARGS_ASSERT_GP_DUP \
6707         assert(param)
6708
6709 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
6710                         __attribute__warn_unused_result__;
6711 #define PERL_ARGS_ASSERT_HE_DUP \
6712         assert(param)
6713
6714 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
6715                         __attribute__warn_unused_result__;
6716 #define PERL_ARGS_ASSERT_HEK_DUP        \
6717         assert(param)
6718
6719 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
6720                         __attribute__warn_unused_result__;
6721 #define PERL_ARGS_ASSERT_MG_DUP \
6722         assert(param)
6723
6724 PERL_CALLCONV struct mro_meta*  Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param);
6725 #define PERL_ARGS_ASSERT_MRO_META_DUP   \
6726         assert(smeta); assert(param)
6727 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
6728                         __attribute__warn_unused_result__;
6729 #define PERL_ARGS_ASSERT_NEWPADOP       \
6730         assert(sv)
6731
6732 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
6733                         __attribute__warn_unused_result__;
6734 #define PERL_ARGS_ASSERT_PADLIST_DUP    \
6735         assert(srcpad); assert(param)
6736
6737 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
6738                         __attribute__warn_unused_result__;
6739 #define PERL_ARGS_ASSERT_PADNAME_DUP    \
6740         assert(src); assert(param)
6741
6742 PERL_CALLCONV PADNAMELIST *     Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
6743                         __attribute__warn_unused_result__;
6744 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP        \
6745         assert(srcpad); assert(param)
6746
6747 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
6748 #define PERL_ARGS_ASSERT_PARSER_DUP     \
6749         assert(param)
6750 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags);
6751 #define PERL_ARGS_ASSERT_PERL_CLONE     \
6752         assert(proto_perl)
6753 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
6754 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
6755         assert(sstr); assert(dstr); assert(param)
6756 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
6757 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
6758         assert(r); assert(param)
6759 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dsv, const SV *const ssv, CLONE_PARAMS *const param);
6760 #define PERL_ARGS_ASSERT_RVPV_DUP       \
6761         assert(dsv); assert(ssv); assert(param)
6762 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
6763                         __attribute__warn_unused_result__;
6764 #define PERL_ARGS_ASSERT_SI_DUP \
6765         assert(param)
6766
6767 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
6768                         __attribute__warn_unused_result__;
6769 #define PERL_ARGS_ASSERT_SS_DUP \
6770         assert(proto_perl); assert(param)
6771
6772 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
6773                         __attribute__warn_unused_result__;
6774 #define PERL_ARGS_ASSERT_SV_DUP \
6775         assert(param)
6776
6777 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
6778                         __attribute__warn_unused_result__;
6779 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
6780         assert(param)
6781
6782 #endif
6783 #if defined(USE_LOCALE)             && (   defined(PERL_IN_LOCALE_C)            || defined(PERL_IN_MG_C)                || defined (PERL_EXT_POSIX)             || defined (PERL_EXT_LANGINFO))
6784 PERL_CALLCONV bool      Perl__is_cur_LC_category_utf8(pTHX_ int category);
6785 #define PERL_ARGS_ASSERT__IS_CUR_LC_CATEGORY_UTF8
6786 #endif
6787 #if defined(USE_LOCALE_COLLATE)
6788 PERL_CALLCONV int       Perl_magic_freecollxfrm(pTHX_ SV* sv, MAGIC* mg);
6789 #define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM     \
6790         assert(sv); assert(mg)
6791 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg);
6792 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
6793         assert(sv); assert(mg)
6794 #ifndef NO_MATHOMS
6795 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen)
6796                         __attribute__deprecated__;
6797 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
6798         assert(input_string); assert(xlen)
6799 #endif
6800
6801 #ifndef NO_MATHOMS
6802 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp);
6803 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
6804         assert(sv); assert(nxp)
6805 #endif
6806 PERL_CALLCONV char*     Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
6807 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS      \
6808         assert(sv); assert(nxp)
6809 #endif
6810 #if defined(USE_PERLIO)
6811 PERL_CALLCONV void      Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
6812 #define PERL_ARGS_ASSERT_PERLIO_CLEARERR
6813 PERL_CALLCONV int       Perl_PerlIO_close(pTHX_ PerlIO *f);
6814 #define PERL_ARGS_ASSERT_PERLIO_CLOSE
6815 PERL_CALLCONV int       Perl_PerlIO_eof(pTHX_ PerlIO *f);
6816 #define PERL_ARGS_ASSERT_PERLIO_EOF
6817 PERL_CALLCONV int       Perl_PerlIO_error(pTHX_ PerlIO *f);
6818 #define PERL_ARGS_ASSERT_PERLIO_ERROR
6819 PERL_CALLCONV int       Perl_PerlIO_fileno(pTHX_ PerlIO *f);
6820 #define PERL_ARGS_ASSERT_PERLIO_FILENO
6821 PERL_CALLCONV int       Perl_PerlIO_fill(pTHX_ PerlIO *f);
6822 #define PERL_ARGS_ASSERT_PERLIO_FILL
6823 PERL_CALLCONV int       Perl_PerlIO_flush(pTHX_ PerlIO *f);
6824 #define PERL_ARGS_ASSERT_PERLIO_FLUSH
6825 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
6826 #define PERL_ARGS_ASSERT_PERLIO_GET_BASE
6827 PERL_CALLCONV SSize_t   Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
6828                         __attribute__warn_unused_result__;
6829 #define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
6830
6831 PERL_CALLCONV SSize_t   Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
6832                         __attribute__warn_unused_result__;
6833 #define PERL_ARGS_ASSERT_PERLIO_GET_CNT
6834
6835 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
6836 #define PERL_ARGS_ASSERT_PERLIO_GET_PTR
6837 PERL_CALLCONV SSize_t   Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
6838 #define PERL_ARGS_ASSERT_PERLIO_READ    \
6839         assert(vbuf)
6840 PERL_CALLCONV void      Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
6841 #define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
6842 PERL_CALLCONV void      Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
6843 #define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
6844 PERL_CALLCONV int       Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
6845 #define PERL_ARGS_ASSERT_PERLIO_SEEK
6846 PERL_CALLCONV void      Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
6847 #define PERL_ARGS_ASSERT_PERLIO_SET_CNT
6848 PERL_CALLCONV void      Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
6849 #define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
6850 PERL_CALLCONV void      Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
6851 #define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
6852 PERL_CALLCONV PerlIO *  Perl_PerlIO_stderr(pTHX)
6853                         __attribute__warn_unused_result__;
6854 #define PERL_ARGS_ASSERT_PERLIO_STDERR
6855
6856 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdin(pTHX)
6857                         __attribute__warn_unused_result__;
6858 #define PERL_ARGS_ASSERT_PERLIO_STDIN
6859
6860 PERL_CALLCONV PerlIO *  Perl_PerlIO_stdout(pTHX)
6861                         __attribute__warn_unused_result__;
6862 #define PERL_ARGS_ASSERT_PERLIO_STDOUT
6863
6864 PERL_CALLCONV Off_t     Perl_PerlIO_tell(pTHX_ PerlIO *f);
6865 #define PERL_ARGS_ASSERT_PERLIO_TELL
6866 PERL_CALLCONV SSize_t   Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
6867 #define PERL_ARGS_ASSERT_PERLIO_UNREAD  \
6868         assert(vbuf)
6869 PERL_CALLCONV SSize_t   Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
6870 #define PERL_ARGS_ASSERT_PERLIO_WRITE   \
6871         assert(vbuf)
6872 #endif
6873 #if defined(USE_QUADMATH)
6874 PERL_CALLCONV bool      Perl_quadmath_format_needed(const char* format);
6875 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
6876         assert(format)
6877 PERL_CALLCONV bool      Perl_quadmath_format_valid(const char* format);
6878 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID  \
6879         assert(format)
6880 #endif
6881 #if defined(WIN32)
6882 PERL_CALLCONV_NO_RET void       win32_croak_not_implemented(const char * fname)
6883                         __attribute__noreturn__;
6884 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED    \
6885         assert(fname)
6886
6887 #endif
6888 #if defined(WIN32) || defined(VMS)
6889 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
6890 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
6891         assert(mark); assert(sp)
6892 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd);
6893 #define PERL_ARGS_ASSERT_DO_SPAWN       \
6894         assert(cmd)
6895 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd);
6896 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
6897         assert(cmd)
6898 #endif
6899 #if defined(_MSC_VER)
6900 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg);
6901 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
6902         assert(sv); assert(mg)
6903 #endif
6904 #ifdef PERL_CORE
6905 #  include "pp_proto.h"
6906 #endif
6907 END_EXTERN_C
6908
6909 /* ex: set ro: */