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