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