1 /* -*- mode: C; buffer-read-only: t -*-
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6 * 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
7 * 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022
8 * by Larry Wall and others
10 * You may distribute under the terms of either the GNU General Public
11 * License or the Artistic License, as specified in the README file.
13 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
14 * This file is built by regen/embed.pl from embed.fnc, intrpvar.h,
15 * perlvars.h, regen/opcodes, regen/embed.pl, regen/embed_lib.pl and
16 * regen/HeaderParser.pm.
17 * Any changes made here will be lost!
19 * Edit those files and run 'make regen_headers' to effect changes.
24 Perl_Gv_AMupdate(pTHX_ HV *stash, bool destructing);
25 #define PERL_ARGS_ASSERT_GV_AMUPDATE \
26 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
28 PERL_CALLCONV const char *
29 Perl_PerlIO_context_layers(pTHX_ const char *mode);
30 #define PERL_ARGS_ASSERT_PERLIO_CONTEXT_LAYERS
33 Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd)
34 __attribute__visibility__("hidden");
35 #define PERL_ARGS_ASSERT_PERLLIO_DUP2_CLOEXEC
38 Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
39 __attribute__warn_unused_result__
40 __attribute__visibility__("hidden");
41 #define PERL_ARGS_ASSERT_PERLLIO_DUP_CLOEXEC
44 Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
45 __attribute__warn_unused_result__
46 __attribute__visibility__("hidden");
47 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC \
51 Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
52 __attribute__warn_unused_result__
53 __attribute__visibility__("hidden");
54 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC \
57 /* PERL_CALLCONV const XOP *
58 Perl_custom_op_xop(pTHX_ const OP *o); */
60 PERL_CALLCONV const char *
61 Perl_langinfo(const nl_item item);
62 #define PERL_ARGS_ASSERT_PERL_LANGINFO
64 PERL_CALLCONV const char *
65 Perl_langinfo8(const nl_item item, utf8ness_t *utf8ness);
66 #define PERL_ARGS_ASSERT_PERL_LANGINFO8 \
70 Perl_localeconv(pTHX);
71 #define PERL_ARGS_ASSERT_PERL_LOCALECONV
73 PERL_CALLCONV const char *
74 Perl_setlocale(const int category, const char *locale);
75 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
78 Perl_Slab_Alloc(pTHX_ size_t sz)
79 __attribute__warn_unused_result__;
80 #define PERL_ARGS_ASSERT_SLAB_ALLOC
83 Perl_Slab_Free(pTHX_ void *op);
84 #define PERL_ARGS_ASSERT_SLAB_FREE \
88 SvREFCNT_dec_set_NULL(pTHX_ SV *sv); */
90 PERL_CALLCONV const char *
91 Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
92 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING
95 Perl__inverse_folds(pTHX_ const UV cp, U32 *first_folds_to, const U32 **remaining_folds_to)
96 __attribute__warn_unused_result__;
97 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
98 assert(first_folds_to); assert(remaining_folds_to)
101 Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
102 __attribute__warn_unused_result__;
103 #define PERL_ARGS_ASSERT__IS_UNI_FOO
106 Perl__is_uni_perl_idcont(pTHX_ UV c)
107 __attribute__warn_unused_result__;
108 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
111 Perl__is_uni_perl_idstart(pTHX_ UV c)
112 __attribute__warn_unused_result__;
113 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
116 Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
117 __attribute__warn_unused_result__;
118 #define PERL_ARGS_ASSERT__IS_UTF8_FOO \
122 Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
123 __attribute__warn_unused_result__;
124 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \
128 Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
129 __attribute__warn_unused_result__;
130 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \
134 Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
135 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
136 assert(p); assert(lenp)
139 Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, U8 flags);
140 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
141 assert(p); assert(ustrp)
144 Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
145 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
146 assert(p); assert(ustrp)
149 Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
150 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
151 assert(p); assert(ustrp)
154 Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
155 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
156 assert(p); assert(ustrp)
158 PERL_CALLCONV_NO_RET void
159 Perl_abort_execution(pTHX_ SV *msg_sv, const char * const name)
160 __attribute__noreturn__
161 __attribute__visibility__("hidden");
162 #define PERL_ARGS_ASSERT_ABORT_EXECUTION \
165 PERL_CALLCONV LOGOP *
166 Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
167 __attribute__visibility__("hidden");
168 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
170 PERL_CALLCONV PADOFFSET
171 Perl_allocmy(pTHX_ const char * const name, const STRLEN len, const U32 flags)
172 __attribute__visibility__("hidden");
173 #define PERL_ARGS_ASSERT_ALLOCMY \
177 Perl_amagic_applies(pTHX_ SV *sv, int method, int flags);
178 #define PERL_ARGS_ASSERT_AMAGIC_APPLIES \
182 Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int dir);
183 #define PERL_ARGS_ASSERT_AMAGIC_CALL \
184 assert(left); assert(right)
187 Perl_amagic_deref_call(pTHX_ SV *ref, int method);
188 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
192 Perl_amagic_is_enabled(pTHX_ int method)
193 __attribute__visibility__("hidden");
194 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
196 PERL_CALLCONV SSize_t
197 Perl_apply(pTHX_ I32 type, SV **mark, SV **sp)
198 __attribute__visibility__("hidden");
199 #define PERL_ARGS_ASSERT_APPLY \
200 assert(mark); assert(sp)
203 Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
204 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
205 assert(stashpv); assert(cv); assert(attrstr); \
206 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
209 Perl_apply_builtin_cv_attributes(pTHX_ CV *cv, OP *attrlist);
210 #define PERL_ARGS_ASSERT_APPLY_BUILTIN_CV_ATTRIBUTES \
211 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
214 Perl_atfork_lock(void);
215 #define PERL_ARGS_ASSERT_ATFORK_LOCK
218 Perl_atfork_unlock(void);
219 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
222 Perl_av_arylen_p(pTHX_ AV *av);
223 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \
224 assert(av); assert(SvTYPE(av) == SVt_PVAV)
227 Perl_av_clear(pTHX_ AV *av);
228 #define PERL_ARGS_ASSERT_AV_CLEAR \
229 assert(av); assert(SvTYPE(av) == SVt_PVAV)
232 Perl_av_create_and_push(pTHX_ AV ** const avp, SV * const val);
233 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
234 assert(avp); assert(val)
237 Perl_av_create_and_unshift_one(pTHX_ AV ** const avp, SV * const val);
238 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
239 assert(avp); assert(val)
242 Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
243 #define PERL_ARGS_ASSERT_AV_DELETE \
244 assert(av); assert(SvTYPE(av) == SVt_PVAV)
247 Perl_av_dump(pTHX_ AV *av);
248 #define PERL_ARGS_ASSERT_AV_DUMP
251 Perl_av_exists(pTHX_ AV *av, SSize_t key)
252 __attribute__warn_unused_result__;
253 #define PERL_ARGS_ASSERT_AV_EXISTS \
254 assert(av); assert(SvTYPE(av) == SVt_PVAV)
257 Perl_av_extend(pTHX_ AV *av, SSize_t key);
258 #define PERL_ARGS_ASSERT_AV_EXTEND \
259 assert(av); assert(SvTYPE(av) == SVt_PVAV)
262 Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
263 __attribute__visibility__("hidden");
264 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
265 assert(maxp); assert(allocp); assert(arrayp); \
266 assert(!av || SvTYPE(av) == SVt_PVAV)
269 Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
270 __attribute__warn_unused_result__;
271 #define PERL_ARGS_ASSERT_AV_FETCH \
272 assert(av); assert(SvTYPE(av) == SVt_PVAV)
275 Perl_av_fill(pTHX_ AV *av, SSize_t fill);
276 #define PERL_ARGS_ASSERT_AV_FILL \
277 assert(av); assert(SvTYPE(av) == SVt_PVAV)
280 Perl_av_iter_p(pTHX_ AV *av);
281 #define PERL_ARGS_ASSERT_AV_ITER_P \
282 assert(av); assert(SvTYPE(av) == SVt_PVAV)
284 PERL_CALLCONV SSize_t
285 Perl_av_len(pTHX_ AV *av)
286 __attribute__warn_unused_result__;
287 #define PERL_ARGS_ASSERT_AV_LEN \
288 assert(av); assert(SvTYPE(av) == SVt_PVAV)
291 Perl_av_make(pTHX_ SSize_t size, SV **strp)
292 __attribute__warn_unused_result__;
293 #define PERL_ARGS_ASSERT_AV_MAKE \
297 Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
298 __attribute__visibility__("hidden");
299 #define PERL_ARGS_ASSERT_AV_NONELEM \
300 assert(av); assert(SvTYPE(av) == SVt_PVAV)
303 Perl_av_pop(pTHX_ AV *av);
304 #define PERL_ARGS_ASSERT_AV_POP \
305 assert(av); assert(SvTYPE(av) == SVt_PVAV)
308 Perl_av_push(pTHX_ AV *av, SV *val);
309 #define PERL_ARGS_ASSERT_AV_PUSH \
310 assert(av); assert(val); assert(SvTYPE(av) == SVt_PVAV)
313 Perl_av_reify(pTHX_ AV *av);
314 #define PERL_ARGS_ASSERT_AV_REIFY \
315 assert(av); assert(SvTYPE(av) == SVt_PVAV)
318 Perl_av_shift(pTHX_ AV *av)
319 __attribute__warn_unused_result__;
320 #define PERL_ARGS_ASSERT_AV_SHIFT \
321 assert(av); assert(SvTYPE(av) == SVt_PVAV)
324 Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
325 #define PERL_ARGS_ASSERT_AV_STORE \
326 assert(av); assert(SvTYPE(av) == SVt_PVAV)
329 Perl_av_undef(pTHX_ AV *av);
330 #define PERL_ARGS_ASSERT_AV_UNDEF \
331 assert(av); assert(SvTYPE(av) == SVt_PVAV)
334 Perl_av_unshift(pTHX_ AV *av, SSize_t num);
335 #define PERL_ARGS_ASSERT_AV_UNSHIFT \
336 assert(av); assert(SvTYPE(av) == SVt_PVAV)
339 Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
340 __attribute__warn_unused_result__
341 __attribute__visibility__("hidden");
342 #define PERL_ARGS_ASSERT_BIND_MATCH \
343 assert(left); assert(right)
346 Perl_block_end(pTHX_ I32 floor, OP *seq)
347 __attribute__warn_unused_result__;
348 #define PERL_ARGS_ASSERT_BLOCK_END
351 Perl_block_gimme(pTHX)
352 __attribute__warn_unused_result__;
353 #define PERL_ARGS_ASSERT_BLOCK_GIMME
356 Perl_block_start(pTHX_ int full)
357 __attribute__warn_unused_result__;
358 #define PERL_ARGS_ASSERT_BLOCK_START
361 Perl_blockhook_register(pTHX_ BHK *hk);
362 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
366 Perl_boot_core_PerlIO(pTHX)
367 __attribute__visibility__("hidden");
368 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
371 Perl_boot_core_UNIVERSAL(pTHX)
372 __attribute__visibility__("hidden");
373 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
376 Perl_boot_core_builtin(pTHX)
377 __attribute__visibility__("hidden");
378 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
381 Perl_boot_core_mro(pTHX)
382 __attribute__visibility__("hidden");
383 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
386 Perl_build_infix_plugin(pTHX_ OP *lhs, OP *rhs, void *tokendata)
387 __attribute__visibility__("hidden");
388 #define PERL_ARGS_ASSERT_BUILD_INFIX_PLUGIN \
389 assert(lhs); assert(rhs); assert(tokendata)
392 Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
393 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
397 Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
398 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
399 assert(s); assert(lenp); assert(is_utf8p)
402 Perl_bytes_to_utf8_free_me(pTHX_ const U8 *s, STRLEN *lenp, void **free_me);
403 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8_FREE_ME \
404 assert(s); assert(lenp)
406 /* PERL_CALLCONV bool
407 Perl_c9strict_utf8_to_uv(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p); */
409 PERL_CALLCONV SSize_t
410 Perl_call_argv(pTHX_ const char *sub_name, I32 flags, char **argv);
411 #define PERL_ARGS_ASSERT_CALL_ARGV \
412 assert(sub_name); assert(argv)
415 Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
416 #define PERL_ARGS_ASSERT_CALL_ATEXIT
419 Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
420 #define PERL_ARGS_ASSERT_CALL_LIST \
421 assert(paramList); assert(SvTYPE(paramList) == SVt_PVAV)
423 PERL_CALLCONV SSize_t
424 Perl_call_method(pTHX_ const char *methname, I32 flags);
425 #define PERL_ARGS_ASSERT_CALL_METHOD \
428 PERL_CALLCONV SSize_t
429 Perl_call_pv(pTHX_ const char *sub_name, I32 flags);
430 #define PERL_ARGS_ASSERT_CALL_PV \
433 PERL_CALLCONV SSize_t
434 Perl_call_sv(pTHX_ SV *sv, I32 flags);
435 #define PERL_ARGS_ASSERT_CALL_SV \
438 PERL_CALLCONV const PERL_CONTEXT *
439 Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
440 #define PERL_ARGS_ASSERT_CALLER_CX
442 PERL_CALLCONV Malloc_t
443 Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
444 __attribute__malloc__
445 __attribute__warn_unused_result__;
446 #define PERL_ARGS_ASSERT_CALLOC
449 Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t *statbufp)
450 __attribute__warn_unused_result__
451 __attribute__visibility__("hidden");
452 #define PERL_ARGS_ASSERT_CANDO \
457 __attribute__warn_unused_result__;
458 #define PERL_ARGS_ASSERT_CAST_I32
462 __attribute__warn_unused_result__;
463 #define PERL_ARGS_ASSERT_CAST_IV
466 Perl_cast_ulong(NV f)
467 __attribute__warn_unused_result__;
468 #define PERL_ARGS_ASSERT_CAST_ULONG
472 __attribute__warn_unused_result__;
473 #define PERL_ARGS_ASSERT_CAST_UV
476 Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
477 __attribute__visibility__("hidden");
478 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
482 Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
483 __attribute__visibility__("hidden");
484 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
485 assert(entersubop); assert(namegv); assert(protosv)
488 Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
489 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
493 Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
494 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
495 assert(entersubop); assert(namegv); assert(protosv)
498 Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
499 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
500 assert(entersubop); assert(namegv); assert(protosv)
503 Perl_ck_warner(pTHX_ U32 err, const char *pat, ...)
504 __attribute__format__(__printf__,pTHX_2,pTHX_3);
505 #define PERL_ARGS_ASSERT_CK_WARNER \
509 Perl_ck_warner_d(pTHX_ U32 err, const char *pat, ...)
510 __attribute__format__(__printf__,pTHX_2,pTHX_3);
511 #define PERL_ARGS_ASSERT_CK_WARNER_D \
515 Perl_ckwarn(pTHX_ U32 w)
516 __attribute__warn_unused_result__
518 #define PERL_ARGS_ASSERT_CKWARN
521 Perl_ckwarn_d(pTHX_ U32 w)
522 __attribute__warn_unused_result__
524 #define PERL_ARGS_ASSERT_CKWARN_D
527 Perl_clear_defarray(pTHX_ AV *av, bool abandon);
528 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
529 assert(av); assert(SvTYPE(av) == SVt_PVAV)
531 PERL_CALLCONV const COP *
532 Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
533 __attribute__visibility__("hidden");
534 #define PERL_ARGS_ASSERT_CLOSEST_COP \
538 Perl_cmpchain_extend(pTHX_ I32 type, OP *ch, OP *right)
539 __attribute__warn_unused_result__
540 __attribute__visibility__("hidden");
541 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND \
545 Perl_cmpchain_finish(pTHX_ OP *ch)
546 __attribute__warn_unused_result__
547 __attribute__visibility__("hidden");
548 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH \
552 Perl_cmpchain_start(pTHX_ I32 type, OP *left, OP *right)
553 __attribute__warn_unused_result__
554 __attribute__visibility__("hidden");
555 #define PERL_ARGS_ASSERT_CMPCHAIN_START
557 PERL_CALLCONV const char *
558 Perl_cntrl_to_mnemonic(const U8 c)
559 __attribute__warn_unused_result__;
560 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
562 PERL_CALLCONV const char *
563 Perl_cop_fetch_label(pTHX_ COP * const cop, STRLEN *len, U32 *flags);
564 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
568 Perl_cop_store_label(pTHX_ COP * const cop, const char *label, STRLEN len, U32 flags);
569 #define PERL_ARGS_ASSERT_COP_STORE_LABEL \
570 assert(cop); assert(label)
573 Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
574 __attribute__visibility__("hidden");
575 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
579 Perl_coresub_op(pTHX_ SV * const coreargssv, const int code, const int opnum)
580 __attribute__visibility__("hidden");
581 #define PERL_ARGS_ASSERT_CORESUB_OP \
585 Perl_create_eval_scope(pTHX_ OP *retop, SV **sp, U32 flags)
586 __attribute__visibility__("hidden");
587 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE \
590 PERL_CALLCONV_NO_RET void
591 Perl_croak(pTHX_ const char *pat, ...)
592 __attribute__noreturn__
593 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
594 #define PERL_ARGS_ASSERT_CROAK
596 PERL_CALLCONV_NO_RET void
597 Perl_croak_caller(const char *pat, ...)
598 __attribute__noreturn__
599 __attribute__visibility__("hidden")
600 __attribute__format__null_ok__(__printf__,1,2);
601 #define PERL_ARGS_ASSERT_CROAK_CALLER
603 PERL_STATIC_NO_RET void
604 Perl_croak_memory_wrap(void)
605 __attribute__noreturn__;
606 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
608 PERL_CALLCONV_NO_RET void
609 Perl_croak_no_mem(void)
610 __attribute__noreturn__
611 __attribute__visibility__("hidden");
612 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
614 PERL_CALLCONV_NO_RET void
615 Perl_croak_no_mem_ext(const char *context, STRLEN len)
616 __attribute__noreturn__
617 __attribute__visibility__("hidden");
618 #define PERL_ARGS_ASSERT_CROAK_NO_MEM_EXT \
621 PERL_CALLCONV_NO_RET void
622 Perl_croak_no_modify(void)
623 __attribute__noreturn__;
624 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
626 PERL_CALLCONV_NO_RET void
627 Perl_croak_popstack(void)
628 __attribute__noreturn__;
629 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
631 PERL_CALLCONV_NO_RET void
632 Perl_croak_sv(pTHX_ SV *baseex)
633 __attribute__noreturn__;
634 #define PERL_ARGS_ASSERT_CROAK_SV \
637 PERL_CALLCONV_NO_RET void
638 Perl_croak_xs_usage(const CV * const cv, const char * const params)
639 __attribute__noreturn__;
640 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
641 assert(cv); assert(params)
643 PERL_CALLCONV Signal_t
644 Perl_csighandler1(int sig);
645 #define PERL_ARGS_ASSERT_CSIGHANDLER1
647 PERL_CALLCONV Signal_t
648 Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
649 #define PERL_ARGS_ASSERT_CSIGHANDLER3
651 PERL_CALLCONV regexp_engine const *
652 Perl_current_re_engine(pTHX);
653 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
655 PERL_CALLCONV XOPRETANY
656 Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
657 __attribute__warn_unused_result__;
658 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
662 Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
663 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
664 assert(ppaddr); assert(xop)
667 Perl_cv_ckproto_len_flags(pTHX_ const CV *cv, const GV *gv, const char *p, const STRLEN len, const U32 flags);
668 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
672 Perl_cv_clone(pTHX_ CV *proto);
673 #define PERL_ARGS_ASSERT_CV_CLONE \
675 assert(SvTYPE(proto) == SVt_PVCV || SvTYPE(proto) == SVt_PVFM)
678 Perl_cv_clone_into(pTHX_ CV *proto, CV *target)
679 __attribute__visibility__("hidden");
680 #define PERL_ARGS_ASSERT_CV_CLONE_INTO \
681 assert(proto); assert(target); \
682 assert(SvTYPE(proto) == SVt_PVCV || SvTYPE(proto) == SVt_PVFM); \
683 assert(SvTYPE(target) == SVt_PVCV || SvTYPE(target) == SVt_PVFM)
686 Perl_cv_const_sv(const CV * const cv)
687 __attribute__warn_unused_result__;
688 #define PERL_ARGS_ASSERT_CV_CONST_SV
691 Perl_cv_const_sv_or_av(const CV * const cv)
692 __attribute__warn_unused_result__
693 __attribute__visibility__("hidden");
694 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
697 Perl_cv_forget_slab(pTHX_ CV *cv)
698 __attribute__visibility__("hidden");
699 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
702 Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
703 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
704 assert(cv); assert(ckfun_p); assert(ckobj_p); \
705 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
708 Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
709 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS \
710 assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p); \
711 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
714 Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
715 #define PERL_ARGS_ASSERT_CV_NAME \
719 Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
720 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
721 assert(cv); assert(ckfun); assert(ckobj); \
722 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
725 Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
726 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
727 assert(cv); assert(ckfun); assert(ckobj); \
728 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
731 Perl_cv_undef(pTHX_ CV *cv);
732 #define PERL_ARGS_ASSERT_CV_UNDEF \
733 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
736 Perl_cv_undef_flags(pTHX_ CV *cv, U32 flags)
737 __attribute__visibility__("hidden");
738 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
739 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
742 Perl_cvgv_from_hek(pTHX_ CV *cv);
743 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK \
744 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
747 Perl_cvgv_set(pTHX_ CV *cv, GV *gv);
748 #define PERL_ARGS_ASSERT_CVGV_SET \
749 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
752 Perl_cvstash_set(pTHX_ CV *cv, HV *stash);
753 #define PERL_ARGS_ASSERT_CVSTASH_SET \
754 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM); \
755 assert(!stash || SvTYPE(stash) == SVt_PVHV)
758 Perl_cx_dump(pTHX_ PERL_CONTEXT *cx);
759 #define PERL_ARGS_ASSERT_CX_DUMP \
764 __attribute__warn_unused_result__;
765 #define PERL_ARGS_ASSERT_CXINC
768 Perl_deb(pTHX_ const char *pat, ...)
769 __attribute__format__(__printf__,pTHX_1,pTHX_2);
770 #define PERL_ARGS_ASSERT_DEB \
774 Perl_deb_stack_all(pTHX)
775 __attribute__visibility__("hidden");
776 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
779 Perl_debop(pTHX_ const OP *o);
780 #define PERL_ARGS_ASSERT_DEBOP \
784 Perl_debprofdump(pTHX);
785 #define PERL_ARGS_ASSERT_DEBPROFDUMP
789 #define PERL_ARGS_ASSERT_DEBSTACK
792 Perl_debstackptrs(pTHX);
793 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
796 Perl_debug_hash_seed(pTHX_ bool via_debug_h)
797 __attribute__visibility__("hidden");
798 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
801 Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
802 __attribute__warn_unused_result__
803 __attribute__visibility__("hidden");
804 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
808 Perl_delete_eval_scope(pTHX)
809 __attribute__visibility__("hidden");
810 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
813 Perl_delimcpy(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
814 #define PERL_ARGS_ASSERT_DELIMCPY \
815 assert(to); assert(to_end); assert(from); assert(from_end); \
819 Perl_delimcpy_no_escape(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
820 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE \
821 assert(to); assert(to_end); assert(from); assert(from_end); \
825 Perl_despatch_signals(pTHX);
826 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
828 PERL_CALLCONV_NO_RET OP *
829 Perl_die(pTHX_ const char *pat, ...)
830 __attribute__noreturn__
831 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
832 #define PERL_ARGS_ASSERT_DIE
834 PERL_CALLCONV_NO_RET OP *
835 Perl_die_sv(pTHX_ SV *baseex)
836 __attribute__noreturn__;
837 #define PERL_ARGS_ASSERT_DIE_SV \
840 PERL_CALLCONV_NO_RET void
841 Perl_die_unwind(pTHX_ SV *msv)
842 __attribute__noreturn__
843 __attribute__visibility__("hidden");
844 #define PERL_ARGS_ASSERT_DIE_UNWIND \
848 Perl_do_aexec5(pTHX_ SV *really, SV **mark, SV **sp, int fd, int do_report)
849 __attribute__visibility__("hidden");
850 #define PERL_ARGS_ASSERT_DO_AEXEC5 \
851 assert(mark); assert(sp)
854 Perl_do_close(pTHX_ GV *gv, bool is_explicit);
855 #define PERL_ARGS_ASSERT_DO_CLOSE
858 Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
859 __attribute__visibility__("hidden");
860 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \
864 Perl_do_eof(pTHX_ GV *gv)
865 __attribute__visibility__("hidden");
866 #define PERL_ARGS_ASSERT_DO_EOF \
870 Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
871 #define PERL_ARGS_ASSERT_DO_GV_DUMP \
872 assert(file); assert(name)
875 Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
876 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
877 assert(file); assert(name)
880 Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
881 #define PERL_ARGS_ASSERT_DO_HV_DUMP \
882 assert(file); assert(name); assert(!sv || SvTYPE(sv) == SVt_PVHV)
885 Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
886 #define PERL_ARGS_ASSERT_DO_JOIN \
887 assert(sv); assert(delim); assert(mark); assert(sp)
890 Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
891 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
895 Perl_do_ncmp(pTHX_ SV * const left, SV * const right)
896 __attribute__warn_unused_result__
897 __attribute__visibility__("hidden");
898 #define PERL_ARGS_ASSERT_DO_NCMP \
899 assert(left); assert(right)
902 Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
903 #define PERL_ARGS_ASSERT_DO_OP_DUMP \
907 Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
908 __attribute__visibility__("hidden");
909 #define PERL_ARGS_ASSERT_DO_OPEN6 \
910 assert(gv); assert(oname)
913 Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
914 __attribute__visibility__("hidden");
915 #define PERL_ARGS_ASSERT_DO_OPEN_RAW \
916 assert(gv); assert(oname)
919 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);
920 #define PERL_ARGS_ASSERT_DO_OPENN \
921 assert(gv); assert(oname)
924 Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
925 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
929 Perl_do_print(pTHX_ SV *sv, PerlIO *fp)
930 __attribute__visibility__("hidden");
931 #define PERL_ARGS_ASSERT_DO_PRINT \
935 Perl_do_readline(pTHX)
936 __attribute__warn_unused_result__
937 __attribute__visibility__("hidden");
938 #define PERL_ARGS_ASSERT_DO_READLINE
941 Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
942 __attribute__visibility__("hidden");
943 #define PERL_ARGS_ASSERT_DO_SEEK
946 Perl_do_sprintf(pTHX_ SV *sv, SSize_t len, SV **sarg);
947 #define PERL_ARGS_ASSERT_DO_SPRINTF \
948 assert(sv); assert(sarg)
951 Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
952 #define PERL_ARGS_ASSERT_DO_SV_DUMP \
956 Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence)
957 __attribute__visibility__("hidden");
958 #define PERL_ARGS_ASSERT_DO_SYSSEEK \
962 Perl_do_tell(pTHX_ GV *gv)
963 __attribute__warn_unused_result__
964 __attribute__visibility__("hidden");
965 #define PERL_ARGS_ASSERT_DO_TELL \
969 Perl_do_trans(pTHX_ SV *sv)
970 __attribute__visibility__("hidden");
971 #define PERL_ARGS_ASSERT_DO_TRANS \
975 Perl_do_uniprop_match(const char * const key, const U16 key_len)
976 __attribute__warn_unused_result__;
977 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH \
981 Perl_do_vecget(pTHX_ SV *sv, STRLEN offset, int size)
982 __attribute__visibility__("hidden");
983 #define PERL_ARGS_ASSERT_DO_VECGET \
987 Perl_do_vecset(pTHX_ SV *sv)
988 __attribute__visibility__("hidden");
989 #define PERL_ARGS_ASSERT_DO_VECSET \
993 Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right)
994 __attribute__visibility__("hidden");
995 #define PERL_ARGS_ASSERT_DO_VOP \
996 assert(sv); assert(left); assert(right)
999 Perl_dofile(pTHX_ OP *term, I32 force_builtin)
1000 __attribute__visibility__("hidden");
1001 #define PERL_ARGS_ASSERT_DOFILE \
1005 Perl_doing_taint(int argc, char **argv, char **env)
1006 __attribute__warn_unused_result__;
1007 #define PERL_ARGS_ASSERT_DOING_TAINT
1010 Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1011 #define PERL_ARGS_ASSERT_DOREF \
1015 Perl_dounwind(pTHX_ I32 cxix);
1016 #define PERL_ARGS_ASSERT_DOUNWIND
1019 Perl_dowantarray(pTHX)
1020 __attribute__deprecated__
1021 __attribute__warn_unused_result__;
1022 #define PERL_ARGS_ASSERT_DOWANTARRAY
1025 Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1026 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1027 assert(random_state)
1029 PERL_CALLCONV double
1030 Perl_drand48_r(perl_drand48_t *random_state);
1031 #define PERL_ARGS_ASSERT_DRAND48_R \
1032 assert(random_state)
1035 Perl_dump_all(pTHX);
1036 #define PERL_ARGS_ASSERT_DUMP_ALL
1039 Perl_dump_all_perl(pTHX_ bool justperl)
1040 __attribute__visibility__("hidden");
1041 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1044 Perl_dump_eval(pTHX);
1045 #define PERL_ARGS_ASSERT_DUMP_EVAL
1048 Perl_dump_form(pTHX_ const GV *gv);
1049 #define PERL_ARGS_ASSERT_DUMP_FORM \
1053 Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char *pat, ...)
1054 __attribute__format__(__printf__,pTHX_3,pTHX_4);
1055 #define PERL_ARGS_ASSERT_DUMP_INDENT \
1056 assert(file); assert(pat)
1059 Perl_dump_packsubs(pTHX_ const HV *stash);
1060 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
1064 Perl_dump_packsubs_perl(pTHX_ const HV *stash, bool justperl)
1065 __attribute__visibility__("hidden");
1066 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
1070 Perl_dump_sub(pTHX_ const GV *gv);
1071 #define PERL_ARGS_ASSERT_DUMP_SUB \
1075 Perl_dump_sub_perl(pTHX_ const GV *gv, bool justperl)
1076 __attribute__visibility__("hidden");
1077 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
1081 Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char *pat, va_list *args);
1082 #define PERL_ARGS_ASSERT_DUMP_VINDENT \
1083 assert(file); assert(pat)
1085 PERL_CALLCONV char *
1086 Perl_dup_warnings(pTHX_ char *warnings);
1087 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1090 Perl_emulate_cop_io(pTHX_ const COP * const c, SV * const sv);
1091 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1092 assert(c); assert(sv)
1095 Perl_eval_pv(pTHX_ const char *p, I32 croak_on_error);
1096 #define PERL_ARGS_ASSERT_EVAL_PV \
1099 PERL_CALLCONV SSize_t
1100 Perl_eval_sv(pTHX_ SV *sv, I32 flags);
1101 #define PERL_ARGS_ASSERT_EVAL_SV \
1104 /* PERL_CALLCONV bool
1105 Perl_extended_utf8_to_uv(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p); */
1108 Perl_fatal_warner(pTHX_ U32 err, const char *pat, ...)
1109 __attribute__format__(__printf__,pTHX_2,pTHX_3);
1110 #define PERL_ARGS_ASSERT_FATAL_WARNER \
1114 Perl_fbm_compile(pTHX_ SV *sv, U32 flags);
1115 #define PERL_ARGS_ASSERT_FBM_COMPILE \
1118 PERL_CALLCONV char *
1119 Perl_fbm_instr(pTHX_ unsigned char *big, unsigned char *bigend, SV *littlestr, U32 flags)
1120 __attribute__warn_unused_result__;
1121 #define PERL_ARGS_ASSERT_FBM_INSTR \
1122 assert(big); assert(bigend); assert(littlestr)
1125 Perl_filter_add(pTHX_ filter_t funcp, SV *datasv);
1126 #define PERL_ARGS_ASSERT_FILTER_ADD
1129 Perl_filter_del(pTHX_ filter_t funcp);
1130 #define PERL_ARGS_ASSERT_FILTER_DEL \
1134 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1135 __attribute__warn_unused_result__;
1136 #define PERL_ARGS_ASSERT_FILTER_READ \
1140 Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1141 __attribute__visibility__("hidden");
1142 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1145 Perl_find_runcv(pTHX_ U32 *db_seqp)
1146 __attribute__warn_unused_result__;
1147 #define PERL_ARGS_ASSERT_FIND_RUNCV
1150 Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1151 __attribute__warn_unused_result__
1152 __attribute__visibility__("hidden");
1153 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1156 Perl_find_rundefsv(pTHX);
1157 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1159 PERL_CALLCONV char *
1160 Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char * const * const search_ext, I32 flags)
1161 __attribute__visibility__("hidden");
1162 #define PERL_ARGS_ASSERT_FIND_SCRIPT \
1165 /* PERL_CALLCONV I32
1166 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1169 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);
1170 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
1171 assert(s1); assert(s2)
1174 Perl_forbid_outofblock_ops(pTHX_ OP *o, const char *blockname);
1175 #define PERL_ARGS_ASSERT_FORBID_OUTOFBLOCK_OPS \
1176 assert(o); assert(blockname)
1179 Perl_force_locale_unlock(pTHX)
1180 __attribute__visibility__("hidden");
1181 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1184 Perl_force_out_malformed_utf8_message_(pTHX_ const U8 * const p, const U8 * const e, U32 flags, const bool die_here);
1185 #define PERL_ARGS_ASSERT_FORCE_OUT_MALFORMED_UTF8_MESSAGE_ \
1186 assert(p); assert(e)
1188 PERL_CALLCONV char *
1189 Perl_form(pTHX_ const char *pat, ...)
1190 __attribute__format__(__printf__,pTHX_1,pTHX_2);
1191 #define PERL_ARGS_ASSERT_FORM \
1195 Perl_free_tied_hv_pool(pTHX)
1196 __attribute__visibility__("hidden");
1197 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1200 Perl_free_tmps(pTHX);
1201 #define PERL_ARGS_ASSERT_FREE_TMPS
1204 Perl_get_and_check_backslash_N_name(pTHX_ const char *s, const char *e, const bool is_utf8, const char **error_msg)
1205 __attribute__warn_unused_result__;
1206 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1207 assert(s); assert(e); assert(error_msg)
1210 Perl_get_av(pTHX_ const char *name, I32 flags);
1211 #define PERL_ARGS_ASSERT_GET_AV \
1215 Perl_get_cv(pTHX_ const char *name, I32 flags);
1216 #define PERL_ARGS_ASSERT_GET_CV \
1220 Perl_get_cvn_flags(pTHX_ const char *name, STRLEN len, I32 flags);
1221 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
1225 Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1226 #define PERL_ARGS_ASSERT_GET_DB_SUB \
1227 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
1229 PERL_CALLCONV const char *
1230 Perl_get_deprecated_property_msg(const Size_t warning_offset)
1231 __attribute__warn_unused_result__;
1232 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1235 Perl_get_extended_os_errno(void)
1236 __attribute__visibility__("hidden");
1237 #define PERL_ARGS_ASSERT_GET_EXTENDED_OS_ERRNO
1240 Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1241 __attribute__visibility__("hidden");
1242 #define PERL_ARGS_ASSERT_GET_HASH_SEED \
1246 Perl_get_hv(pTHX_ const char *name, I32 flags);
1247 #define PERL_ARGS_ASSERT_GET_HV \
1250 PERL_CALLCONV const char *
1251 Perl_get_no_modify(pTHX)
1252 __attribute__deprecated__
1253 __attribute__warn_unused_result__
1255 __attribute__visibility__("hidden");
1256 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1258 PERL_CALLCONV char **
1259 Perl_get_op_descs(pTHX)
1260 __attribute__deprecated__
1261 __attribute__warn_unused_result__
1262 __attribute__pure__;
1263 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1265 PERL_CALLCONV char **
1266 Perl_get_op_names(pTHX)
1267 __attribute__deprecated__
1268 __attribute__warn_unused_result__
1269 __attribute__pure__;
1270 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1273 Perl_get_opargs(pTHX)
1274 __attribute__deprecated__
1275 __attribute__warn_unused_result__
1277 __attribute__visibility__("hidden");
1278 #define PERL_ARGS_ASSERT_GET_OPARGS
1280 PERL_CALLCONV PPADDR_t *
1281 Perl_get_ppaddr(pTHX)
1282 __attribute__deprecated__
1283 __attribute__warn_unused_result__
1284 __attribute__pure__;
1285 #define PERL_ARGS_ASSERT_GET_PPADDR
1288 Perl_get_prop_definition(pTHX_ const int table_index)
1289 __attribute__warn_unused_result__;
1290 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1292 PERL_CALLCONV const char * const *
1293 Perl_get_prop_values(const int table_index)
1294 __attribute__warn_unused_result__;
1295 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1297 PERL_CALLCONV REGEXP *
1298 Perl_get_re_arg(pTHX_ SV *sv);
1299 #define PERL_ARGS_ASSERT_GET_RE_ARG
1302 Perl_get_sv(pTHX_ const char *name, I32 flags);
1303 #define PERL_ARGS_ASSERT_GET_SV \
1307 Perl_getcwd_sv(pTHX_ SV *sv);
1308 #define PERL_ARGS_ASSERT_GETCWD_SV \
1312 Perl_gp_free(pTHX_ GV *gv);
1313 #define PERL_ARGS_ASSERT_GP_FREE
1316 Perl_gp_ref(pTHX_ GP *gp);
1317 #define PERL_ARGS_ASSERT_GP_REF
1320 Perl_grok_atoUV(const char *pv, UV *valptr, const char **endptr);
1321 #define PERL_ARGS_ASSERT_GROK_ATOUV \
1322 assert(pv); assert(valptr)
1325 Perl_grok_bin(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1326 #define PERL_ARGS_ASSERT_GROK_BIN \
1327 assert(start); assert(len_p); assert(flags)
1330 Perl_grok_bin_oct_hex(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result, const unsigned shift, const U8 lookup_bit, const char prefix);
1331 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX \
1332 assert(start); assert(len_p); assert(flags)
1335 Perl_grok_hex(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1336 #define PERL_ARGS_ASSERT_GROK_HEX \
1337 assert(start); assert(len_p); assert(flags)
1340 Perl_grok_infnan(pTHX_ const char **sp, const char *send);
1341 #define PERL_ARGS_ASSERT_GROK_INFNAN \
1342 assert(sp); assert(send)
1345 Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1346 #define PERL_ARGS_ASSERT_GROK_NUMBER \
1350 Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1351 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \
1355 Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1356 __attribute__warn_unused_result__;
1357 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1358 assert(sp); assert(send)
1361 Perl_grok_oct(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1362 #define PERL_ARGS_ASSERT_GROK_OCT \
1363 assert(start); assert(len_p); assert(flags)
1366 Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1367 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1370 Perl_gv_autoload_pv(pTHX_ HV *stash, const char *namepv, U32 flags)
1371 __attribute__warn_unused_result__;
1372 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1376 Perl_gv_autoload_pvn(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags)
1377 __attribute__warn_unused_result__;
1378 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
1382 Perl_gv_autoload_sv(pTHX_ HV *stash, SV *namesv, U32 flags)
1383 __attribute__warn_unused_result__;
1384 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1388 Perl_gv_check(pTHX_ HV *stash);
1389 #define PERL_ARGS_ASSERT_GV_CHECK \
1390 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
1393 Perl_gv_const_sv(pTHX_ GV *gv)
1394 __attribute__warn_unused_result__;
1395 #define PERL_ARGS_ASSERT_GV_CONST_SV \
1399 Perl_gv_dump(pTHX_ GV *gv);
1400 #define PERL_ARGS_ASSERT_GV_DUMP
1403 Perl_gv_efullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1404 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1405 assert(sv); assert(gv)
1408 Perl_gv_fetchfile(pTHX_ const char *name);
1409 #define PERL_ARGS_ASSERT_GV_FETCHFILE \
1413 Perl_gv_fetchfile_flags(pTHX_ const char * const name, const STRLEN len, const U32 flags);
1414 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1417 /* PERL_CALLCONV GV *
1418 gv_fetchmeth(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1420 /* PERL_CALLCONV GV *
1421 gv_fetchmeth_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1424 Perl_gv_fetchmeth_pv(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1425 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
1429 Perl_gv_fetchmeth_pv_autoload(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1430 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
1434 Perl_gv_fetchmeth_pvn(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1435 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1439 Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1440 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1444 Perl_gv_fetchmeth_sv(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1445 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1449 Perl_gv_fetchmeth_sv_autoload(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1450 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1454 Perl_gv_fetchmethod_autoload(pTHX_ HV *stash, const char *name, I32 autoload);
1455 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
1456 assert(stash); assert(name)
1459 Perl_gv_fetchmethod_pv_flags(pTHX_ HV *stash, const char *name, U32 flags);
1460 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
1461 assert(stash); assert(name)
1464 Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN len, U32 flags);
1465 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1466 assert(stash); assert(name)
1469 Perl_gv_fetchmethod_sv_flags(pTHX_ HV *stash, SV *namesv, U32 flags);
1470 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1471 assert(stash); assert(namesv)
1474 Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1475 #define PERL_ARGS_ASSERT_GV_FETCHPV \
1479 Perl_gv_fetchpvn_flags(pTHX_ const char *name, STRLEN len, I32 flags, const svtype sv_type);
1480 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1484 Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1485 #define PERL_ARGS_ASSERT_GV_FETCHSV \
1489 Perl_gv_fullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1490 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1491 assert(sv); assert(gv)
1494 Perl_gv_handler(pTHX_ HV *stash, I32 id)
1495 __attribute__warn_unused_result__;
1496 #define PERL_ARGS_ASSERT_GV_HANDLER
1498 /* PERL_CALLCONV void
1499 gv_init(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, int multi); */
1502 Perl_gv_init_pv(pTHX_ GV *gv, HV *stash, const char *name, U32 flags);
1503 #define PERL_ARGS_ASSERT_GV_INIT_PV \
1504 assert(gv); assert(name); assert(!stash || SvTYPE(stash) == SVt_PVHV)
1507 Perl_gv_init_pvn(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, U32 flags);
1508 #define PERL_ARGS_ASSERT_GV_INIT_PVN \
1509 assert(gv); assert(name); assert(!stash || SvTYPE(stash) == SVt_PVHV)
1512 Perl_gv_init_sv(pTHX_ GV *gv, HV *stash, SV *namesv, U32 flags);
1513 #define PERL_ARGS_ASSERT_GV_INIT_SV \
1514 assert(gv); assert(namesv); assert(!stash || SvTYPE(stash) == SVt_PVHV)
1517 Perl_gv_name_set(pTHX_ GV *gv, const char *name, U32 len, U32 flags);
1518 #define PERL_ARGS_ASSERT_GV_NAME_SET \
1519 assert(gv); assert(name)
1522 Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1523 #define PERL_ARGS_ASSERT_GV_OVERRIDE \
1527 Perl_gv_setref(pTHX_ SV * const dsv, SV * const ssv)
1528 __attribute__visibility__("hidden");
1529 #define PERL_ARGS_ASSERT_GV_SETREF \
1530 assert(dsv); assert(ssv)
1533 Perl_gv_stashpv(pTHX_ const char *name, I32 flags);
1534 #define PERL_ARGS_ASSERT_GV_STASHPV \
1538 Perl_gv_stashpvn(pTHX_ const char *name, U32 namelen, I32 flags);
1539 #define PERL_ARGS_ASSERT_GV_STASHPVN \
1543 Perl_gv_stashsv(pTHX_ SV *sv, I32 flags);
1544 #define PERL_ARGS_ASSERT_GV_STASHSV \
1548 Perl_gv_try_downgrade(pTHX_ GV *gv);
1549 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1552 PERL_CALLCONV struct xpvhv_aux *
1553 Perl_hv_auxalloc(pTHX_ HV *hv)
1554 __attribute__visibility__("hidden");
1555 #define PERL_ARGS_ASSERT_HV_AUXALLOC \
1556 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1559 Perl_hv_backreferences_p(pTHX_ HV *hv)
1560 __attribute__visibility__("hidden");
1561 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1562 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1565 Perl_hv_bucket_ratio(pTHX_ HV *hv)
1566 __attribute__warn_unused_result__;
1567 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \
1568 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1571 Perl_hv_clear(pTHX_ HV *hv);
1572 #define PERL_ARGS_ASSERT_HV_CLEAR
1575 Perl_hv_clear_placeholders(pTHX_ HV *hv);
1576 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1577 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1579 PERL_CALLCONV void *
1580 Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1581 #define PERL_ARGS_ASSERT_HV_COMMON
1583 PERL_CALLCONV void *
1584 Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1585 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1586 assert(key); assert(!hv || SvTYPE(hv) == SVt_PVHV)
1589 Perl_hv_copy_hints_hv(pTHX_ HV * const ohv)
1590 __attribute__warn_unused_result__;
1591 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1594 Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1595 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1598 Perl_hv_dump(pTHX_ HV *hv);
1599 #define PERL_ARGS_ASSERT_HV_DUMP
1602 Perl_hv_eiter_p(pTHX_ HV *hv)
1603 __attribute__warn_unused_result__;
1604 #define PERL_ARGS_ASSERT_HV_EITER_P \
1605 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1608 Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1609 #define PERL_ARGS_ASSERT_HV_EITER_SET \
1610 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1613 Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1614 __attribute__visibility__("hidden");
1615 #define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1616 assert(hv); assert(name); assert(SvTYPE(hv) == SVt_PVHV)
1619 Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1620 __attribute__visibility__("hidden");
1621 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1622 assert(hv); assert(name); assert(SvTYPE(hv) == SVt_PVHV)
1624 PERL_CALLCONV STRLEN
1625 Perl_hv_fill(pTHX_ HV * const hv);
1626 #define PERL_ARGS_ASSERT_HV_FILL \
1627 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1630 Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1631 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1634 Perl_hv_iterinit(pTHX_ HV *hv);
1635 #define PERL_ARGS_ASSERT_HV_ITERINIT \
1636 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1638 PERL_CALLCONV char *
1639 Perl_hv_iterkey(pTHX_ HE *entry, I32 *retlen)
1640 __attribute__warn_unused_result__;
1641 #define PERL_ARGS_ASSERT_HV_ITERKEY \
1642 assert(entry); assert(retlen)
1645 Perl_hv_iterkeysv(pTHX_ HE *entry)
1646 __attribute__warn_unused_result__;
1647 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1651 Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1652 __attribute__warn_unused_result__;
1653 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1654 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1657 Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1658 __attribute__warn_unused_result__;
1659 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1660 assert(hv); assert(key); assert(retlen); assert(SvTYPE(hv) == SVt_PVHV)
1663 Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1664 __attribute__warn_unused_result__;
1665 #define PERL_ARGS_ASSERT_HV_ITERVAL \
1666 assert(hv); assert(entry); assert(SvTYPE(hv) == SVt_PVHV)
1669 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1670 #define PERL_ARGS_ASSERT_HV_KSPLIT \
1671 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1674 Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1675 #define PERL_ARGS_ASSERT_HV_NAME_SET \
1676 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1679 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1680 __attribute__warn_unused_result__;
1681 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1684 PERL_CALLCONV SSize_t *
1685 Perl_hv_placeholders_p(pTHX_ HV *hv)
1686 __attribute__warn_unused_result__;
1687 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1688 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1691 Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1692 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1693 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1696 Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1697 __attribute__visibility__("hidden");
1698 #define PERL_ARGS_ASSERT_HV_PUSHKV \
1699 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1702 Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1703 #define PERL_ARGS_ASSERT_HV_RAND_SET \
1704 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1707 Perl_hv_riter_p(pTHX_ HV *hv)
1708 __attribute__warn_unused_result__;
1709 #define PERL_ARGS_ASSERT_HV_RITER_P \
1710 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1713 Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1714 #define PERL_ARGS_ASSERT_HV_RITER_SET \
1715 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1718 Perl_hv_scalar(pTHX_ HV *hv)
1719 __attribute__warn_unused_result__;
1720 #define PERL_ARGS_ASSERT_HV_SCALAR \
1721 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
1723 /* PERL_CALLCONV SV **
1724 hv_stores(pTHX_ HV *hv, const char * const key, SV *val); */
1726 /* PERL_CALLCONV void
1727 hv_undef(pTHX_ HV *hv); */
1730 Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1731 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1733 /* PERL_CALLCONV I32
1734 ibcmp(pTHX_ const char *a, const char *b, I32 len)
1735 __attribute__warn_unused_result__
1736 __attribute__pure__; */
1738 /* PERL_CALLCONV I32
1739 ibcmp_locale(pTHX_ const char *a, const char *b, I32 len)
1740 __attribute__warn_unused_result__
1741 __attribute__pure__; */
1743 /* PERL_CALLCONV I32
1744 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1746 PERL_CALLCONV STRLEN
1747 Perl_infix_plugin_standard(pTHX_ char *operator_ptr, STRLEN operator_len, struct Perl_custom_infix **def);
1748 #define PERL_ARGS_ASSERT_INFIX_PLUGIN_STANDARD \
1749 assert(operator_ptr); assert(def)
1752 Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1753 __attribute__visibility__("hidden");
1754 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1758 Perl_init_constants(pTHX)
1759 __attribute__visibility__("hidden");
1760 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1763 Perl_init_dbargs(pTHX)
1764 __attribute__visibility__("hidden");
1765 #define PERL_ARGS_ASSERT_INIT_DBARGS
1768 Perl_init_debugger(pTHX)
1769 __attribute__visibility__("hidden");
1770 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1773 Perl_init_i18nl10n(pTHX_ int printwarn);
1774 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1777 Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1778 #define PERL_ARGS_ASSERT_INIT_NAMED_CV \
1779 assert(cv); assert(nameop); \
1780 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
1783 Perl_init_stacks(pTHX);
1784 #define PERL_ARGS_ASSERT_INIT_STACKS
1787 Perl_init_tm(pTHX_ struct tm *ptm);
1788 #define PERL_ARGS_ASSERT_INIT_TM \
1792 Perl_init_uniprops(pTHX)
1793 __attribute__visibility__("hidden");
1794 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1796 /* PERL_CALLCONV char *
1797 Perl_instr(const char *big, const char *little)
1798 __attribute__warn_unused_result__
1799 __attribute__pure__; */
1802 Perl_intro_my(pTHX);
1803 #define PERL_ARGS_ASSERT_INTRO_MY
1806 Perl_invert(pTHX_ OP *cmd)
1807 __attribute__warn_unused_result__
1808 __attribute__visibility__("hidden");
1809 #define PERL_ARGS_ASSERT_INVERT
1812 Perl_invmap_dump(pTHX_ SV *invlist, UV *map)
1813 __attribute__visibility__("hidden");
1814 #define PERL_ARGS_ASSERT_INVMAP_DUMP \
1815 assert(invlist); assert(map)
1818 Perl_io_close(pTHX_ IO *io, GV *gv, bool is_explicit, bool warn_on_fail)
1819 __attribute__visibility__("hidden");
1820 #define PERL_ARGS_ASSERT_IO_CLOSE \
1823 /* PERL_CALLCONV bool
1824 is_c9strict_utf8_string(const U8 *s, STRLEN len)
1825 __attribute__warn_unused_result__; */
1827 /* PERL_CALLCONV bool
1828 is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1831 Perl_is_in_locale_category_(pTHX_ const bool compiling, const int category);
1832 #define PERL_ARGS_ASSERT_IS_IN_LOCALE_CATEGORY_
1835 Perl_is_lvalue_sub(pTHX)
1836 __attribute__warn_unused_result__;
1837 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1839 /* PERL_CALLCONV bool
1840 is_strict_utf8_string(const U8 *s, STRLEN len)
1841 __attribute__warn_unused_result__; */
1843 /* PERL_CALLCONV bool
1844 is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1846 PERL_CALLCONV Size_t
1847 Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1848 __attribute__warn_unused_result__
1849 __attribute__pure__;
1850 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_ \
1851 assert(s0); assert(e)
1853 PERL_CALLCONV STRLEN
1854 Perl_is_utf8_char_helper_(const U8 * const s, const U8 *e, const U32 flags)
1855 __attribute__warn_unused_result__
1856 __attribute__pure__;
1857 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_ \
1858 assert(s); assert(e)
1860 /* PERL_CALLCONV bool
1861 is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1863 /* PERL_CALLCONV bool
1864 is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1866 /* PERL_CALLCONV bool
1867 is_utf8_string(const U8 *s, STRLEN len)
1868 __attribute__warn_unused_result__; */
1870 /* PERL_CALLCONV bool
1871 Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep); */
1873 /* PERL_CALLCONV bool
1874 is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1876 /* PERL_CALLCONV bool
1877 is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1878 __attribute__warn_unused_result__
1879 __attribute__pure__; */
1882 Perl_isinfnan(NV nv)
1883 __attribute__warn_unused_result__
1884 __attribute__pure__;
1885 #define PERL_ARGS_ASSERT_ISINFNAN
1888 Perl_isinfnansv(pTHX_ SV *sv)
1889 __attribute__visibility__("hidden");
1890 #define PERL_ARGS_ASSERT_ISINFNANSV \
1894 Perl_jmaybe(pTHX_ OP *o)
1895 __attribute__visibility__("hidden");
1896 #define PERL_ARGS_ASSERT_JMAYBE \
1900 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1901 __attribute__warn_unused_result__
1903 __attribute__visibility__("hidden");
1904 #define PERL_ARGS_ASSERT_KEYWORD \
1908 Perl_keyword_plugin_standard(pTHX_ char *keyword_ptr, STRLEN keyword_len, OP **op_ptr);
1909 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1910 assert(keyword_ptr); assert(op_ptr)
1913 Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1914 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS \
1915 assert(from_sp); assert(to_sp)
1918 Perl_leave_scope(pTHX_ I32 base);
1919 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
1922 Perl_lex_bufutf8(pTHX);
1923 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
1926 Perl_lex_discard_to(pTHX_ char *ptr);
1927 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1930 PERL_CALLCONV char *
1931 Perl_lex_grow_linestr(pTHX_ STRLEN len);
1932 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
1935 Perl_lex_next_chunk(pTHX_ U32 flags);
1936 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
1939 Perl_lex_peek_unichar(pTHX_ U32 flags);
1940 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
1943 Perl_lex_read_space(pTHX_ U32 flags);
1944 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
1947 Perl_lex_read_to(pTHX_ char *ptr);
1948 #define PERL_ARGS_ASSERT_LEX_READ_TO \
1952 Perl_lex_read_unichar(pTHX_ U32 flags);
1953 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
1956 Perl_lex_start(pTHX_ SV *line, PerlIO *rsfp, U32 flags);
1957 #define PERL_ARGS_ASSERT_LEX_START
1960 Perl_lex_stuff_pv(pTHX_ const char *pv, U32 flags);
1961 #define PERL_ARGS_ASSERT_LEX_STUFF_PV \
1965 Perl_lex_stuff_pvn(pTHX_ const char *pv, STRLEN len, U32 flags);
1966 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1970 Perl_lex_stuff_sv(pTHX_ SV *sv, U32 flags);
1971 #define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1975 Perl_lex_unstuff(pTHX_ char *ptr);
1976 #define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1980 Perl_list(pTHX_ OP *o)
1981 __attribute__visibility__("hidden");
1982 #define PERL_ARGS_ASSERT_LIST
1985 Perl_load_charnames(pTHX_ SV *char_name, const char *context, const STRLEN context_len, const char **error_msg)
1986 __attribute__warn_unused_result__;
1987 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
1988 assert(char_name); assert(context); assert(error_msg)
1991 Perl_load_module(pTHX_ U32 flags, SV *name, SV *ver, ...);
1992 #define PERL_ARGS_ASSERT_LOAD_MODULE \
1995 PERL_CALLCONV_NO_RET void
1996 Perl_locale_panic(const char *msg, const line_t immediate_caller_line, const char * const higher_caller_file, const line_t higher_caller_line)
1997 __attribute__noreturn__;
1998 #define PERL_ARGS_ASSERT_LOCALE_PANIC \
1999 assert(msg); assert(higher_caller_file)
2002 Perl_localize(pTHX_ OP *o, I32 lex)
2003 __attribute__visibility__("hidden");
2004 #define PERL_ARGS_ASSERT_LOCALIZE \
2008 Perl_looks_like_number(pTHX_ SV * const sv)
2009 __attribute__warn_unused_result__;
2010 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
2014 Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg)
2015 __attribute__visibility__("hidden");
2016 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
2017 assert(sv); assert(mg)
2020 Perl_magic_cleararylen_p(pTHX_ SV *sv, MAGIC *mg)
2021 __attribute__visibility__("hidden");
2022 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
2023 assert(sv); assert(mg)
2026 Perl_magic_clearenv(pTHX_ SV *sv, MAGIC *mg)
2027 __attribute__visibility__("hidden");
2028 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2029 assert(sv); assert(mg)
2032 Perl_magic_clearhint(pTHX_ SV *sv, MAGIC *mg)
2033 __attribute__visibility__("hidden");
2034 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
2035 assert(sv); assert(mg)
2038 Perl_magic_clearhints(pTHX_ SV *sv, MAGIC *mg)
2039 __attribute__visibility__("hidden");
2040 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
2041 assert(sv); assert(mg)
2044 Perl_magic_clearhook(pTHX_ SV *sv, MAGIC *mg)
2045 __attribute__visibility__("hidden");
2046 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOK \
2050 Perl_magic_clearhookall(pTHX_ SV *sv, MAGIC *mg)
2051 __attribute__visibility__("hidden");
2052 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOKALL \
2056 Perl_magic_clearisa(pTHX_ SV *sv, MAGIC *mg)
2057 __attribute__visibility__("hidden");
2058 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2062 Perl_magic_clearpack(pTHX_ SV *sv, MAGIC *mg)
2063 __attribute__visibility__("hidden");
2064 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
2065 assert(sv); assert(mg)
2068 Perl_magic_clearsig(pTHX_ SV *sv, MAGIC *mg)
2069 __attribute__visibility__("hidden");
2070 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2071 assert(sv); assert(mg)
2074 Perl_magic_copycallchecker(pTHX_ SV *sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2075 __attribute__visibility__("hidden");
2076 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
2077 assert(sv); assert(mg); assert(nsv)
2080 Perl_magic_dump(pTHX_ const MAGIC *mg);
2081 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2084 Perl_magic_existspack(pTHX_ SV *sv, const MAGIC *mg)
2085 __attribute__visibility__("hidden");
2086 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
2087 assert(sv); assert(mg)
2090 Perl_magic_freearylen_p(pTHX_ SV *sv, MAGIC *mg)
2091 __attribute__visibility__("hidden");
2092 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
2093 assert(sv); assert(mg)
2096 Perl_magic_freedestruct(pTHX_ SV *sv, MAGIC *mg)
2097 __attribute__visibility__("hidden");
2098 #define PERL_ARGS_ASSERT_MAGIC_FREEDESTRUCT \
2099 assert(sv); assert(mg)
2102 Perl_magic_freemglob(pTHX_ SV *sv, MAGIC *mg)
2103 __attribute__visibility__("hidden");
2104 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB \
2105 assert(sv); assert(mg)
2108 Perl_magic_freeovrld(pTHX_ SV *sv, MAGIC *mg)
2109 __attribute__visibility__("hidden");
2110 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
2111 assert(sv); assert(mg)
2114 Perl_magic_freeutf8(pTHX_ SV *sv, MAGIC *mg)
2115 __attribute__visibility__("hidden");
2116 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
2117 assert(sv); assert(mg)
2120 Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
2121 __attribute__visibility__("hidden");
2122 #define PERL_ARGS_ASSERT_MAGIC_GET \
2123 assert(sv); assert(mg)
2126 Perl_magic_getarylen(pTHX_ SV *sv, const MAGIC *mg)
2127 __attribute__visibility__("hidden");
2128 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
2129 assert(sv); assert(mg)
2132 Perl_magic_getdebugvar(pTHX_ SV *sv, MAGIC *mg)
2133 __attribute__visibility__("hidden");
2134 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \
2135 assert(sv); assert(mg)
2138 Perl_magic_getdefelem(pTHX_ SV *sv, MAGIC *mg)
2139 __attribute__visibility__("hidden");
2140 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
2141 assert(sv); assert(mg)
2144 Perl_magic_getnkeys(pTHX_ SV *sv, MAGIC *mg)
2145 __attribute__visibility__("hidden");
2146 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2147 assert(sv); assert(mg)
2150 Perl_magic_getpack(pTHX_ SV *sv, MAGIC *mg)
2151 __attribute__visibility__("hidden");
2152 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2153 assert(sv); assert(mg)
2156 Perl_magic_getpos(pTHX_ SV *sv, MAGIC *mg)
2157 __attribute__visibility__("hidden");
2158 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2159 assert(sv); assert(mg)
2162 Perl_magic_getsig(pTHX_ SV *sv, MAGIC *mg)
2163 __attribute__visibility__("hidden");
2164 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2165 assert(sv); assert(mg)
2168 Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg)
2169 __attribute__visibility__("hidden");
2170 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2171 assert(sv); assert(mg)
2174 Perl_magic_gettaint(pTHX_ SV *sv, MAGIC *mg)
2175 __attribute__visibility__("hidden");
2176 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2177 assert(sv); assert(mg)
2180 Perl_magic_getuvar(pTHX_ SV *sv, MAGIC *mg)
2181 __attribute__visibility__("hidden");
2182 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2183 assert(sv); assert(mg)
2186 Perl_magic_getvec(pTHX_ SV *sv, MAGIC *mg)
2187 __attribute__visibility__("hidden");
2188 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2189 assert(sv); assert(mg)
2192 Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2193 __attribute__visibility__("hidden");
2194 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2195 assert(sv); assert(mg)
2198 Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2199 __attribute__visibility__("hidden");
2200 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2201 assert(sv); assert(mg); assert(meth)
2204 Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2205 __attribute__visibility__("hidden");
2206 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2207 assert(sv); assert(mg); assert(key)
2210 Perl_magic_regdata_cnt(pTHX_ SV *sv, MAGIC *mg)
2211 __attribute__visibility__("hidden");
2212 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
2213 assert(sv); assert(mg)
2216 Perl_magic_regdatum_get(pTHX_ SV *sv, MAGIC *mg)
2217 __attribute__visibility__("hidden");
2218 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2219 assert(sv); assert(mg)
2222 Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2223 __attribute__visibility__("hidden");
2224 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2225 assert(hv); assert(mg); assert(SvTYPE(hv) == SVt_PVHV)
2228 Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
2229 __attribute__visibility__("hidden");
2230 #define PERL_ARGS_ASSERT_MAGIC_SET \
2231 assert(sv); assert(mg)
2234 Perl_magic_set_all_env(pTHX_ SV *sv, MAGIC *mg)
2235 __attribute__visibility__("hidden");
2236 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
2237 assert(sv); assert(mg)
2240 Perl_magic_setarylen(pTHX_ SV *sv, MAGIC *mg)
2241 __attribute__visibility__("hidden");
2242 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
2243 assert(sv); assert(mg)
2246 Perl_magic_setdbline(pTHX_ SV *sv, MAGIC *mg)
2247 __attribute__visibility__("hidden");
2248 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2249 assert(sv); assert(mg)
2252 Perl_magic_setdebugvar(pTHX_ SV *sv, MAGIC *mg)
2253 __attribute__visibility__("hidden");
2254 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \
2255 assert(sv); assert(mg)
2258 Perl_magic_setdefelem(pTHX_ SV *sv, MAGIC *mg)
2259 __attribute__visibility__("hidden");
2260 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2261 assert(sv); assert(mg)
2264 Perl_magic_setenv(pTHX_ SV *sv, MAGIC *mg)
2265 __attribute__visibility__("hidden");
2266 #define PERL_ARGS_ASSERT_MAGIC_SETENV \
2267 assert(sv); assert(mg)
2270 Perl_magic_sethint(pTHX_ SV *sv, MAGIC *mg)
2271 __attribute__visibility__("hidden");
2272 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2273 assert(sv); assert(mg)
2276 Perl_magic_sethook(pTHX_ SV *sv, MAGIC *mg)
2277 __attribute__visibility__("hidden");
2278 #define PERL_ARGS_ASSERT_MAGIC_SETHOOK \
2282 Perl_magic_sethookall(pTHX_ SV *sv, MAGIC *mg)
2283 __attribute__visibility__("hidden");
2284 #define PERL_ARGS_ASSERT_MAGIC_SETHOOKALL \
2285 assert(sv); assert(mg)
2288 Perl_magic_setisa(pTHX_ SV *sv, MAGIC *mg)
2289 __attribute__visibility__("hidden");
2290 #define PERL_ARGS_ASSERT_MAGIC_SETISA \
2291 assert(sv); assert(mg)
2294 Perl_magic_setlvref(pTHX_ SV *sv, MAGIC *mg)
2295 __attribute__visibility__("hidden");
2296 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2297 assert(sv); assert(mg)
2300 Perl_magic_setmglob(pTHX_ SV *sv, MAGIC *mg)
2301 __attribute__visibility__("hidden");
2302 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2303 assert(sv); assert(mg)
2306 Perl_magic_setnkeys(pTHX_ SV *sv, MAGIC *mg)
2307 __attribute__visibility__("hidden");
2308 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2309 assert(sv); assert(mg)
2312 Perl_magic_setnonelem(pTHX_ SV *sv, MAGIC *mg)
2313 __attribute__visibility__("hidden");
2314 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM \
2315 assert(sv); assert(mg)
2318 Perl_magic_setpack(pTHX_ SV *sv, MAGIC *mg)
2319 __attribute__visibility__("hidden");
2320 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2321 assert(sv); assert(mg)
2324 Perl_magic_setpos(pTHX_ SV *sv, MAGIC *mg)
2325 __attribute__visibility__("hidden");
2326 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2327 assert(sv); assert(mg)
2330 Perl_magic_setregexp(pTHX_ SV *sv, MAGIC *mg)
2331 __attribute__visibility__("hidden");
2332 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2333 assert(sv); assert(mg)
2336 Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
2337 __attribute__visibility__("hidden");
2338 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \
2342 Perl_magic_setsigall(pTHX_ SV *sv, MAGIC *mg)
2343 __attribute__visibility__("hidden");
2344 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL \
2345 assert(sv); assert(mg)
2348 Perl_magic_setsubstr(pTHX_ SV *sv, MAGIC *mg)
2349 __attribute__visibility__("hidden");
2350 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2351 assert(sv); assert(mg)
2354 Perl_magic_settaint(pTHX_ SV *sv, MAGIC *mg)
2355 __attribute__visibility__("hidden");
2356 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2357 assert(sv); assert(mg)
2360 Perl_magic_setutf8(pTHX_ SV *sv, MAGIC *mg)
2361 __attribute__visibility__("hidden");
2362 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
2363 assert(sv); assert(mg)
2366 Perl_magic_setuvar(pTHX_ SV *sv, MAGIC *mg)
2367 __attribute__visibility__("hidden");
2368 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
2369 assert(sv); assert(mg)
2372 Perl_magic_setvec(pTHX_ SV *sv, MAGIC *mg)
2373 __attribute__visibility__("hidden");
2374 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \
2375 assert(sv); assert(mg)
2378 Perl_magic_sizepack(pTHX_ SV *sv, MAGIC *mg)
2379 __attribute__visibility__("hidden");
2380 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2381 assert(sv); assert(mg)
2384 Perl_magic_wipepack(pTHX_ SV *sv, MAGIC *mg)
2385 __attribute__visibility__("hidden");
2386 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2387 assert(sv); assert(mg)
2389 PERL_CALLCONV Malloc_t
2390 Perl_malloc(MEM_SIZE nbytes)
2391 __attribute__malloc__
2392 __attribute__warn_unused_result__;
2393 #define PERL_ARGS_ASSERT_MALLOC
2395 PERL_CALLCONV Stack_off_t *
2396 Perl_markstack_grow(pTHX);
2397 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2400 Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
2401 #define PERL_ARGS_ASSERT_MBTOWC_
2404 Perl_mess(pTHX_ const char *pat, ...)
2405 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2406 #define PERL_ARGS_ASSERT_MESS \
2410 Perl_mess_sv(pTHX_ SV *basemsg, bool consume);
2411 #define PERL_ARGS_ASSERT_MESS_SV \
2414 PERL_CALLCONV Free_t
2415 Perl_mfree(Malloc_t where);
2416 #define PERL_ARGS_ASSERT_MFREE
2419 Perl_mg_clear(pTHX_ SV *sv);
2420 #define PERL_ARGS_ASSERT_MG_CLEAR \
2424 Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2425 #define PERL_ARGS_ASSERT_MG_COPY \
2426 assert(sv); assert(nsv)
2428 PERL_CALLCONV MAGIC *
2429 Perl_mg_find(const SV *sv, int type)
2430 __attribute__warn_unused_result__;
2431 #define PERL_ARGS_ASSERT_MG_FIND
2433 PERL_CALLCONV MAGIC *
2434 Perl_mg_find_mglob(pTHX_ SV *sv)
2435 __attribute__warn_unused_result__;
2436 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
2439 PERL_CALLCONV MAGIC *
2440 Perl_mg_findext(const SV *sv, int type, const MGVTBL *vtbl)
2441 __attribute__warn_unused_result__;
2442 #define PERL_ARGS_ASSERT_MG_FINDEXT
2445 Perl_mg_free(pTHX_ SV *sv);
2446 #define PERL_ARGS_ASSERT_MG_FREE \
2450 Perl_mg_free_type(pTHX_ SV *sv, int how);
2451 #define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2455 Perl_mg_freeext(pTHX_ SV *sv, int how, const MGVTBL *vtbl);
2456 #define PERL_ARGS_ASSERT_MG_FREEEXT \
2460 Perl_mg_get(pTHX_ SV *sv);
2461 #define PERL_ARGS_ASSERT_MG_GET \
2465 Perl_mg_localize(pTHX_ SV *sv, SV *nsv, bool setmagic)
2466 __attribute__visibility__("hidden");
2467 #define PERL_ARGS_ASSERT_MG_LOCALIZE \
2468 assert(sv); assert(nsv)
2471 Perl_mg_magical(SV *sv);
2472 #define PERL_ARGS_ASSERT_MG_MAGICAL \
2476 Perl_mg_set(pTHX_ SV *sv);
2477 #define PERL_ARGS_ASSERT_MG_SET \
2481 Perl_mg_size(pTHX_ SV *sv);
2482 #define PERL_ARGS_ASSERT_MG_SIZE \
2486 Perl_mini_mktime(struct tm *ptm);
2487 #define PERL_ARGS_ASSERT_MINI_MKTIME \
2491 Perl_mode_from_discipline(pTHX_ const char *s, STRLEN len)
2492 __attribute__visibility__("hidden");
2493 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2495 PERL_CALLCONV void *
2496 Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2497 #define PERL_ARGS_ASSERT_MORE_BODIES
2499 PERL_CALLCONV const char *
2500 Perl_moreswitches(pTHX_ const char *s);
2501 #define PERL_ARGS_ASSERT_MORESWITCHES \
2505 Perl_mortal_destructor_sv(pTHX_ SV *coderef, SV *args);
2506 #define PERL_ARGS_ASSERT_MORTAL_DESTRUCTOR_SV \
2510 Perl_mortal_svfunc_x(pTHX_ SVFUNC_t f, SV *p);
2511 #define PERL_ARGS_ASSERT_MORTAL_SVFUNC_X
2513 PERL_CALLCONV const struct mro_alg *
2514 Perl_mro_get_from_name(pTHX_ SV *name);
2515 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2519 Perl_mro_get_linear_isa(pTHX_ HV *stash);
2520 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2521 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
2524 Perl_mro_get_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which);
2525 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2526 assert(smeta); assert(which)
2529 Perl_mro_isa_changed_in(pTHX_ HV *stash)
2530 __attribute__visibility__("hidden");
2531 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2532 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
2534 PERL_CALLCONV struct mro_meta *
2535 Perl_mro_meta_init(pTHX_ HV *stash);
2536 #define PERL_ARGS_ASSERT_MRO_META_INIT \
2537 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
2540 Perl_mro_method_changed_in(pTHX_ HV *stash);
2541 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2542 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
2545 Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2546 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2547 assert(gv); assert(!stash || SvTYPE(stash) == SVt_PVHV); \
2548 assert(!oldstash || SvTYPE(oldstash) == SVt_PVHV)
2551 Perl_mro_register(pTHX_ const struct mro_alg *mro);
2552 #define PERL_ARGS_ASSERT_MRO_REGISTER \
2556 Perl_mro_set_mro(pTHX_ struct mro_meta * const meta, SV * const name);
2557 #define PERL_ARGS_ASSERT_MRO_SET_MRO \
2558 assert(meta); assert(name)
2561 Perl_mro_set_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which, SV * const data);
2562 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2563 assert(smeta); assert(which); assert(data)
2566 Perl_multiconcat_stringify(pTHX_ const OP *o);
2567 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY \
2571 Perl_multideref_stringify(pTHX_ const OP *o, CV *cv);
2572 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \
2574 assert(!cv || SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
2577 Perl_my_atof(pTHX_ const char *s);
2578 #define PERL_ARGS_ASSERT_MY_ATOF \
2581 PERL_CALLCONV char *
2582 Perl_my_atof2(pTHX_ const char *orig, NV *value);
2583 #define PERL_ARGS_ASSERT_MY_ATOF2 \
2584 assert(orig); assert(value)
2586 PERL_CALLCONV char *
2587 Perl_my_atof3(pTHX_ const char *orig, NV *value, const STRLEN len);
2588 #define PERL_ARGS_ASSERT_MY_ATOF3 \
2589 assert(orig); assert(value)
2592 Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2593 __attribute__visibility__("hidden");
2594 #define PERL_ARGS_ASSERT_MY_ATTRS \
2598 Perl_my_clearenv(pTHX);
2599 #define PERL_ARGS_ASSERT_MY_CLEARENV
2602 Perl_my_dirfd(DIR *dir);
2603 #define PERL_ARGS_ASSERT_MY_DIRFD
2605 PERL_CALLCONV_NO_RET void
2606 Perl_my_exit(pTHX_ U32 status)
2607 __attribute__noreturn__;
2608 #define PERL_ARGS_ASSERT_MY_EXIT
2610 PERL_CALLCONV_NO_RET void
2611 Perl_my_failure_exit(pTHX)
2612 __attribute__noreturn__;
2613 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2616 Perl_my_fflush_all(pTHX);
2617 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2621 #define PERL_ARGS_ASSERT_MY_FORK
2623 /* PERL_CALLCONV I32
2627 Perl_my_lstat_flags(pTHX_ const U32 flags);
2628 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2631 Perl_my_mkostemp_cloexec(char *templte, int flags)
2632 __attribute__warn_unused_result__
2633 __attribute__visibility__("hidden");
2634 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC \
2638 Perl_my_mkstemp_cloexec(char *templte)
2639 __attribute__warn_unused_result__
2640 __attribute__visibility__("hidden");
2641 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC \
2644 PERL_CALLCONV PerlIO *
2645 Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args);
2646 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2647 assert(mode); assert(args)
2650 Perl_my_setenv(pTHX_ const char *nam, const char *val);
2651 #define PERL_ARGS_ASSERT_MY_SETENV
2654 Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2655 __attribute__format__(__printf__,3,4);
2656 #define PERL_ARGS_ASSERT_MY_SNPRINTF \
2657 assert(buffer); assert(format)
2660 Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2661 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2663 /* PERL_CALLCONV I32
2667 Perl_my_stat_flags(pTHX_ const U32 flags);
2668 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2670 PERL_CALLCONV const char *
2671 Perl_my_strerror(pTHX_ const int errnum, utf8ness_t *utf8ness)
2672 __attribute__visibility__("hidden");
2673 #define PERL_ARGS_ASSERT_MY_STRERROR \
2676 PERL_CALLCONV char *
2677 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)
2678 __attribute__format__(__strftime__,pTHX_1,0);
2679 #define PERL_ARGS_ASSERT_MY_STRFTIME \
2683 Perl_my_strtod(const char * const s, char **e)
2684 __attribute__warn_unused_result__;
2685 #define PERL_ARGS_ASSERT_MY_STRTOD \
2689 Perl_my_unexec(pTHX)
2690 __attribute__visibility__("hidden");
2691 #define PERL_ARGS_ASSERT_MY_UNEXEC
2694 Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2695 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2696 assert(buffer); assert(format)
2699 Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2700 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2703 Perl_newANONHASH(pTHX_ OP *o)
2704 __attribute__warn_unused_result__;
2705 #define PERL_ARGS_ASSERT_NEWANONHASH
2708 Perl_newANONLIST(pTHX_ OP *o)
2709 __attribute__warn_unused_result__;
2710 #define PERL_ARGS_ASSERT_NEWANONLIST
2713 Perl_newANONSUB(pTHX_ I32 floor, OP *proto, OP *block);
2714 #define PERL_ARGS_ASSERT_NEWANONSUB
2717 Perl_newARGDEFELEMOP(pTHX_ I32 flags, OP *expr, I32 argindex)
2718 __attribute__warn_unused_result__;
2719 #define PERL_ARGS_ASSERT_NEWARGDEFELEMOP \
2723 Perl_newASSIGNOP(pTHX_ I32 flags, OP *left, I32 optype, OP *right)
2724 __attribute__warn_unused_result__;
2725 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2727 /* PERL_CALLCONV CV *
2728 newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2731 Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2732 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2735 Perl_newAVREF(pTHX_ OP *o)
2736 __attribute__warn_unused_result__;
2737 #define PERL_ARGS_ASSERT_NEWAVREF \
2740 /* PERL_CALLCONV AV *
2741 newAV_alloc_x(pTHX_ SSize_t size)
2742 __attribute__warn_unused_result__; */
2744 /* PERL_CALLCONV AV *
2745 newAV_alloc_xz(pTHX_ SSize_t size)
2746 __attribute__warn_unused_result__; */
2748 /* PERL_CALLCONV AV *
2750 __attribute__warn_unused_result__; */
2753 Perl_newAVav(pTHX_ AV *oav)
2754 __attribute__warn_unused_result__;
2755 #define PERL_ARGS_ASSERT_NEWAVAV
2758 Perl_newAVhv(pTHX_ HV *ohv)
2759 __attribute__warn_unused_result__;
2760 #define PERL_ARGS_ASSERT_NEWAVHV
2763 Perl_newBINOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2764 __attribute__warn_unused_result__;
2765 #define PERL_ARGS_ASSERT_NEWBINOP
2768 Perl_newCONDOP(pTHX_ I32 flags, OP *first, OP *trueop, OP *falseop)
2769 __attribute__warn_unused_result__;
2770 #define PERL_ARGS_ASSERT_NEWCONDOP \
2774 Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv);
2775 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2778 Perl_newCONSTSUB_flags(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags, SV *sv);
2779 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2782 Perl_newCVREF(pTHX_ I32 flags, OP *o)
2783 __attribute__warn_unused_result__;
2784 #define PERL_ARGS_ASSERT_NEWCVREF
2787 Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2788 __attribute__warn_unused_result__;
2789 #define PERL_ARGS_ASSERT_NEWDEFEROP \
2793 Perl_newDEFSVOP(pTHX)
2794 __attribute__warn_unused_result__;
2795 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2798 Perl_newFORM(pTHX_ I32 floor, OP *o, OP *block);
2799 #define PERL_ARGS_ASSERT_NEWFORM
2802 Perl_newFOROP(pTHX_ I32 flags, OP *sv, OP *expr, OP *block, OP *cont)
2803 __attribute__warn_unused_result__;
2804 #define PERL_ARGS_ASSERT_NEWFOROP \
2808 Perl_newGIVENOP(pTHX_ OP *cond, OP *block, PADOFFSET defsv_off)
2809 __attribute__warn_unused_result__;
2810 #define PERL_ARGS_ASSERT_NEWGIVENOP \
2811 assert(cond); assert(block)
2814 Perl_newGP(pTHX_ GV * const gv);
2815 #define PERL_ARGS_ASSERT_NEWGP \
2819 Perl_newGVOP(pTHX_ I32 type, I32 flags, GV *gv)
2820 __attribute__warn_unused_result__;
2821 #define PERL_ARGS_ASSERT_NEWGVOP \
2825 Perl_newGVREF(pTHX_ I32 type, OP *o)
2826 __attribute__warn_unused_result__;
2827 #define PERL_ARGS_ASSERT_NEWGVREF
2829 /* PERL_CALLCONV GV *
2830 newGVgen(pTHX_ const char *pack); */
2833 Perl_newGVgen_flags(pTHX_ const char *pack, U32 flags)
2834 __attribute__warn_unused_result__;
2835 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2839 Perl_newHVREF(pTHX_ OP *o)
2840 __attribute__warn_unused_result__;
2841 #define PERL_ARGS_ASSERT_NEWHVREF \
2845 Perl_newHVhv(pTHX_ HV *hv)
2846 __attribute__warn_unused_result__;
2847 #define PERL_ARGS_ASSERT_NEWHVHV
2850 Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2851 __attribute__warn_unused_result__;
2852 #define PERL_ARGS_ASSERT_NEWLISTOP
2855 Perl_newLISTOPn(pTHX_ I32 type, I32 flags, ...)
2856 __attribute__warn_unused_result__;
2857 #define PERL_ARGS_ASSERT_NEWLISTOPN
2860 Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2861 __attribute__warn_unused_result__;
2862 #define PERL_ARGS_ASSERT_NEWLOGOP \
2863 assert(first); assert(other)
2866 Perl_newLOOPEX(pTHX_ I32 type, OP *label)
2867 __attribute__warn_unused_result__;
2868 #define PERL_ARGS_ASSERT_NEWLOOPEX \
2872 Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP *expr, OP *block)
2873 __attribute__warn_unused_result__;
2874 #define PERL_ARGS_ASSERT_NEWLOOPOP \
2878 Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP *dynamic_meth)
2879 __attribute__warn_unused_result__;
2880 #define PERL_ARGS_ASSERT_NEWMETHOP \
2881 assert(dynamic_meth)
2884 Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV * const_meth)
2885 __attribute__warn_unused_result__;
2886 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \
2890 Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2891 #define PERL_ARGS_ASSERT_NEWMYSUB \
2895 Perl_newNULLLIST(pTHX)
2896 __attribute__warn_unused_result__;
2897 #define PERL_ARGS_ASSERT_NEWNULLLIST
2900 Perl_newOP(pTHX_ I32 optype, I32 flags)
2901 __attribute__warn_unused_result__;
2902 #define PERL_ARGS_ASSERT_NEWOP
2904 PERL_CALLCONV PADNAMELIST *
2905 Perl_newPADNAMELIST(size_t max)
2906 __attribute__warn_unused_result__;
2907 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2909 PERL_CALLCONV PADNAME *
2910 Perl_newPADNAMEouter(PADNAME *outer)
2911 __attribute__warn_unused_result__;
2912 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \
2915 PERL_CALLCONV PADNAME *
2916 Perl_newPADNAMEpvn(const char *s, STRLEN len)
2917 __attribute__warn_unused_result__;
2918 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN \
2922 Perl_newPMOP(pTHX_ I32 type, I32 flags)
2923 __attribute__warn_unused_result__;
2924 #define PERL_ARGS_ASSERT_NEWPMOP
2927 Perl_newPROG(pTHX_ OP *o);
2928 #define PERL_ARGS_ASSERT_NEWPROG \
2932 Perl_newPVOP(pTHX_ I32 type, I32 flags, char *pv)
2933 __attribute__warn_unused_result__;
2934 #define PERL_ARGS_ASSERT_NEWPVOP
2937 Perl_newRANGE(pTHX_ I32 flags, OP *left, OP *right)
2938 __attribute__warn_unused_result__;
2939 #define PERL_ARGS_ASSERT_NEWRANGE \
2940 assert(left); assert(right)
2943 Perl_newRV(pTHX_ SV * const sv)
2944 __attribute__warn_unused_result__;
2945 #define PERL_ARGS_ASSERT_NEWRV \
2949 Perl_newSLICEOP(pTHX_ I32 flags, OP *subscript, OP *listop)
2950 __attribute__warn_unused_result__;
2951 #define PERL_ARGS_ASSERT_NEWSLICEOP
2954 Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o)
2955 __attribute__warn_unused_result__;
2956 #define PERL_ARGS_ASSERT_NEWSTATEOP
2959 Perl_newSTUB(pTHX_ GV *gv, bool fake)
2960 __attribute__visibility__("hidden");
2961 #define PERL_ARGS_ASSERT_NEWSTUB \
2965 Perl_newSV(pTHX_ const STRLEN len)
2966 __attribute__warn_unused_result__;
2967 #define PERL_ARGS_ASSERT_NEWSV
2970 Perl_newSVOP(pTHX_ I32 type, I32 flags, SV *sv)
2971 __attribute__warn_unused_result__;
2972 #define PERL_ARGS_ASSERT_NEWSVOP \
2976 Perl_newSVREF(pTHX_ OP *o)
2977 __attribute__warn_unused_result__;
2978 #define PERL_ARGS_ASSERT_NEWSVREF \
2982 Perl_newSV_false(pTHX)
2983 __attribute__warn_unused_result__;
2984 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2987 Perl_newSV_true(pTHX)
2988 __attribute__warn_unused_result__;
2989 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2992 Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2993 __attribute__warn_unused_result__
2994 __attribute__visibility__("hidden");
2995 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2996 assert(av); assert(SvTYPE(av) == SVt_PVAV)
2999 Perl_newSVbool(pTHX_ const bool bool_val)
3000 __attribute__warn_unused_result__;
3001 #define PERL_ARGS_ASSERT_NEWSVBOOL
3004 Perl_newSVhek(pTHX_ const HEK * const hek)
3005 __attribute__warn_unused_result__;
3006 #define PERL_ARGS_ASSERT_NEWSVHEK
3009 Perl_newSVhek_mortal(pTHX_ const HEK * const hek)
3010 __attribute__warn_unused_result__;
3011 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
3014 Perl_newSViv(pTHX_ const IV i)
3015 __attribute__warn_unused_result__;
3016 #define PERL_ARGS_ASSERT_NEWSVIV
3019 Perl_newSVnv(pTHX_ const NV n)
3020 __attribute__warn_unused_result__;
3021 #define PERL_ARGS_ASSERT_NEWSVNV
3024 Perl_newSVpv(pTHX_ const char * const s, const STRLEN len)
3025 __attribute__warn_unused_result__;
3026 #define PERL_ARGS_ASSERT_NEWSVPV
3029 Perl_newSVpv_share(pTHX_ const char *s, U32 hash)
3030 __attribute__warn_unused_result__;
3031 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
3034 Perl_newSVpvf(pTHX_ const char * const pat, ...)
3035 __attribute__warn_unused_result__
3036 __attribute__format__(__printf__,pTHX_1,pTHX_2);
3037 #define PERL_ARGS_ASSERT_NEWSVPVF \
3041 Perl_newSVpvn(pTHX_ const char * const s, const STRLEN len)
3042 __attribute__warn_unused_result__;
3043 #define PERL_ARGS_ASSERT_NEWSVPVN
3046 Perl_newSVpvn_flags(pTHX_ const char * const s, const STRLEN len, const U32 flags)
3047 __attribute__warn_unused_result__;
3048 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
3051 Perl_newSVpvn_share(pTHX_ const char *s, I32 len, U32 hash)
3052 __attribute__warn_unused_result__;
3053 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
3056 Perl_newSVpvz(pTHX_ const STRLEN len)
3057 __attribute__warn_unused_result__;
3058 #define PERL_ARGS_ASSERT_NEWSVPVZ
3061 Perl_newSVrv(pTHX_ SV * const rv, const char * const classname);
3062 #define PERL_ARGS_ASSERT_NEWSVRV \
3066 Perl_newSVsv_flags(pTHX_ SV * const old, I32 flags)
3067 __attribute__warn_unused_result__;
3068 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
3070 /* PERL_CALLCONV SV *
3071 newSVsv_nomg(pTHX_ SV * const old)
3072 __attribute__warn_unused_result__; */
3075 Perl_newSVuv(pTHX_ const UV u)
3076 __attribute__warn_unused_result__;
3077 #define PERL_ARGS_ASSERT_NEWSVUV
3080 Perl_newTRYCATCHOP(pTHX_ I32 flags, OP *tryblock, OP *catchvar, OP *catchblock)
3081 __attribute__warn_unused_result__;
3082 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP \
3083 assert(tryblock); assert(catchvar); assert(catchblock)
3086 Perl_newUNOP(pTHX_ I32 type, I32 flags, OP *first)
3087 __attribute__warn_unused_result__;
3088 #define PERL_ARGS_ASSERT_NEWUNOP
3091 Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP *first, UNOP_AUX_item *aux)
3092 __attribute__warn_unused_result__;
3093 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
3096 Perl_newWHENOP(pTHX_ OP *cond, OP *block)
3097 __attribute__warn_unused_result__;
3098 #define PERL_ARGS_ASSERT_NEWWHENOP \
3102 Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP *loop, OP *expr, OP *block, OP *cont, I32 has_my)
3103 __attribute__warn_unused_result__;
3104 #define PERL_ARGS_ASSERT_NEWWHILEOP
3107 Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
3108 #define PERL_ARGS_ASSERT_NEWXS \
3109 assert(subaddr); assert(filename)
3112 Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
3113 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE \
3114 assert(name); assert(subaddr)
3117 Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char * const filename, const char * const proto, U32 flags);
3118 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \
3119 assert(subaddr); assert(filename)
3122 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)
3123 __attribute__visibility__("hidden");
3124 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
3127 PERL_CALLCONV PERL_SI *
3128 Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3129 __attribute__warn_unused_result__;
3130 #define PERL_ARGS_ASSERT_NEW_STACKINFO
3132 PERL_CALLCONV PERL_SI *
3133 Perl_new_stackinfo_flags(pTHX_ I32 stitems, I32 cxitems, UV flags)
3134 __attribute__warn_unused_result__;
3135 #define PERL_ARGS_ASSERT_NEW_STACKINFO_FLAGS
3138 Perl_new_version(pTHX_ SV *ver);
3139 #define PERL_ARGS_ASSERT_NEW_VERSION \
3142 PERL_CALLCONV char *
3143 Perl_new_warnings_bitfield(pTHX_ char *buffer, const char * const bits, STRLEN size)
3144 __attribute__warn_unused_result__;
3145 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
3148 PERL_CALLCONV PerlIO *
3149 Perl_nextargv(pTHX_ GV *gv, bool nomagicopen)
3150 __attribute__visibility__("hidden");
3151 #define PERL_ARGS_ASSERT_NEXTARGV \
3154 PERL_CALLCONV char *
3155 Perl_ninstr(const char *big, const char *bigend, const char *little, const char *lend)
3156 __attribute__warn_unused_result__
3157 __attribute__pure__;
3158 #define PERL_ARGS_ASSERT_NINSTR \
3159 assert(big); assert(bigend); assert(little); assert(lend)
3162 Perl_no_bareword_filehandle(pTHX_ const char *fhname)
3163 __attribute__visibility__("hidden");
3164 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
3167 PERL_CALLCONV_NO_RET void
3168 Perl_noperl_die(const char *pat, ...)
3169 __attribute__noreturn__
3170 __attribute__format__(__printf__,1,2);
3171 #define PERL_ARGS_ASSERT_NOPERL_DIE \
3175 Perl_noshutdownhook(void);
3178 Perl_nothreadhook(pTHX);
3179 #define PERL_ARGS_ASSERT_NOTHREADHOOK
3182 Perl_notify_parser_that_encoding_changed(pTHX)
3183 __attribute__visibility__("hidden");
3184 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_ENCODING_CHANGED
3187 Perl_oopsAV(pTHX_ OP *o)
3188 __attribute__warn_unused_result__
3189 __attribute__visibility__("hidden");
3190 #define PERL_ARGS_ASSERT_OOPSAV \
3194 Perl_oopsHV(pTHX_ OP *o)
3195 __attribute__warn_unused_result__
3196 __attribute__visibility__("hidden");
3197 #define PERL_ARGS_ASSERT_OOPSHV \
3201 Perl_op_append_elem(pTHX_ I32 optype, OP *first, OP *last);
3202 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
3205 Perl_op_append_list(pTHX_ I32 optype, OP *first, OP *last);
3206 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
3208 PERL_CALLCONV OPclass
3209 Perl_op_class(pTHX_ const OP *o);
3210 #define PERL_ARGS_ASSERT_OP_CLASS
3213 Perl_op_clear(pTHX_ OP *o);
3214 #define PERL_ARGS_ASSERT_OP_CLEAR \
3218 Perl_op_contextualize(pTHX_ OP *o, I32 context);
3219 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
3223 Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP *o)
3224 __attribute__warn_unused_result__;
3225 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3228 Perl_op_dump(pTHX_ const OP *o);
3229 #define PERL_ARGS_ASSERT_OP_DUMP \
3233 Perl_op_force_list(pTHX_ OP *o);
3234 #define PERL_ARGS_ASSERT_OP_FORCE_LIST
3237 Perl_op_free(pTHX_ OP *arg);
3238 #define PERL_ARGS_ASSERT_OP_FREE
3241 Perl_op_linklist(pTHX_ OP *o);
3242 #define PERL_ARGS_ASSERT_OP_LINKLIST \
3245 /* PERL_CALLCONV OP *
3246 op_lvalue(pTHX_ OP *o, I32 type); */
3249 Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags);
3250 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3253 Perl_op_null(pTHX_ OP *o);
3254 #define PERL_ARGS_ASSERT_OP_NULL \
3258 Perl_op_parent(OP *o);
3259 #define PERL_ARGS_ASSERT_OP_PARENT \
3263 Perl_op_prepend_elem(pTHX_ I32 optype, OP *first, OP *last);
3264 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3267 Perl_op_refcnt_lock(pTHX);
3268 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3271 Perl_op_refcnt_unlock(pTHX);
3272 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3275 Perl_op_scope(pTHX_ OP *o);
3276 #define PERL_ARGS_ASSERT_OP_SCOPE
3279 Perl_op_sibling_splice(pTHX_ OP *parent, OP *start, int del_count, OP *insert);
3280 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3283 Perl_op_unscope(pTHX_ OP *o)
3284 __attribute__visibility__("hidden");
3285 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3288 Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3289 __attribute__warn_unused_result__;
3290 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY \
3291 assert(block); assert(finally)
3294 Perl_opdump_printf(pTHX_ struct Perl_OpDumpContext *ctx, const char *pat, ...)
3295 __attribute__format__(__printf__,pTHX_2,pTHX_3);
3296 #define PERL_ARGS_ASSERT_OPDUMP_PRINTF \
3297 assert(ctx); assert(pat)
3300 Perl_package(pTHX_ OP *o)
3301 __attribute__visibility__("hidden");
3302 #define PERL_ARGS_ASSERT_PACKAGE \
3306 Perl_package_version(pTHX_ OP *v)
3307 __attribute__visibility__("hidden");
3308 #define PERL_ARGS_ASSERT_PACKAGE_VERSION \
3312 Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3313 #define PERL_ARGS_ASSERT_PACKLIST \
3314 assert(cat); assert(pat); assert(patend); assert(beglist); \
3317 PERL_CALLCONV PADOFFSET
3318 Perl_pad_add_anon(pTHX_ CV *func, I32 optype);
3319 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \
3321 assert(SvTYPE(func) == SVt_PVCV || SvTYPE(func) == SVt_PVFM)
3323 PERL_CALLCONV PADOFFSET
3324 Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3325 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
3326 assert(name); assert(!typestash || SvTYPE(typestash) == SVt_PVHV); \
3327 assert(!ourstash || SvTYPE(ourstash) == SVt_PVHV)
3329 PERL_CALLCONV PADOFFSET
3330 Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3331 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
3332 assert(namepv); assert(!typestash || SvTYPE(typestash) == SVt_PVHV); \
3333 assert(!ourstash || SvTYPE(ourstash) == SVt_PVHV)
3335 PERL_CALLCONV PADOFFSET
3336 Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3337 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
3338 assert(name); assert(!typestash || SvTYPE(typestash) == SVt_PVHV); \
3339 assert(!ourstash || SvTYPE(ourstash) == SVt_PVHV)
3342 Perl_pad_add_weakref(pTHX_ CV *func)
3343 __attribute__visibility__("hidden");
3344 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF \
3346 assert(SvTYPE(func) == SVt_PVCV || SvTYPE(func) == SVt_PVFM)
3348 PERL_CALLCONV PADOFFSET
3349 Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3350 #define PERL_ARGS_ASSERT_PAD_ALLOC
3353 Perl_pad_block_start(pTHX_ int full)
3354 __attribute__visibility__("hidden");
3355 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3357 PERL_CALLCONV PADOFFSET
3358 Perl_pad_findmy_pv(pTHX_ const char *name, U32 flags);
3359 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
3362 PERL_CALLCONV PADOFFSET
3363 Perl_pad_findmy_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags);
3364 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3367 PERL_CALLCONV PADOFFSET
3368 Perl_pad_findmy_sv(pTHX_ SV *name, U32 flags);
3369 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
3373 Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3374 __attribute__visibility__("hidden");
3375 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
3376 assert(padlist); assert(old_cv); assert(new_cv); \
3377 assert(SvTYPE(old_cv) == SVt_PVCV || SvTYPE(old_cv) == SVt_PVFM); \
3378 assert(SvTYPE(new_cv) == SVt_PVCV || SvTYPE(new_cv) == SVt_PVFM)
3381 Perl_pad_free(pTHX_ PADOFFSET po)
3382 __attribute__visibility__("hidden");
3383 #define PERL_ARGS_ASSERT_PAD_FREE
3386 Perl_pad_leavemy(pTHX)
3387 __attribute__visibility__("hidden");
3388 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3390 PERL_CALLCONV PADLIST *
3391 Perl_pad_new(pTHX_ int flags)
3392 __attribute__warn_unused_result__;
3393 #define PERL_ARGS_ASSERT_PAD_NEW
3396 Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3397 #define PERL_ARGS_ASSERT_PAD_PUSH \
3401 Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3402 __attribute__visibility__("hidden");
3403 #define PERL_ARGS_ASSERT_PAD_SWIPE
3406 Perl_pad_tidy(pTHX_ padtidy_type type);
3407 #define PERL_ARGS_ASSERT_PAD_TIDY
3409 PERL_CALLCONV PAD **
3410 Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3411 __attribute__visibility__("hidden");
3412 #define PERL_ARGS_ASSERT_PADLIST_STORE \
3416 Perl_padname_free(pTHX_ PADNAME *pn);
3417 #define PERL_ARGS_ASSERT_PADNAME_FREE \
3420 PERL_CALLCONV PADNAME *
3421 Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3422 __attribute__warn_unused_result__;
3423 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH \
3427 Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3428 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE \
3431 PERL_CALLCONV PADNAME **
3432 Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3433 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE \
3437 Perl_parse_arithexpr(pTHX_ U32 flags);
3438 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3441 Perl_parse_barestmt(pTHX_ U32 flags);
3442 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3445 Perl_parse_block(pTHX_ U32 flags);
3446 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3449 Perl_parse_fullexpr(pTHX_ U32 flags);
3450 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3453 Perl_parse_fullstmt(pTHX_ U32 flags);
3454 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3457 Perl_parse_label(pTHX_ U32 flags);
3458 #define PERL_ARGS_ASSERT_PARSE_LABEL
3461 Perl_parse_listexpr(pTHX_ U32 flags);
3462 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3465 Perl_parse_stmtseq(pTHX_ U32 flags);
3466 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3469 Perl_parse_subsignature(pTHX_ U32 flags);
3470 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3473 Perl_parse_termexpr(pTHX_ U32 flags);
3474 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3477 Perl_parse_unicode_opts(pTHX_ const char **popt)
3478 __attribute__visibility__("hidden");
3479 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3483 Perl_parser_free(pTHX_ const yy_parser *parser)
3484 __attribute__visibility__("hidden");
3485 #define PERL_ARGS_ASSERT_PARSER_FREE \
3489 Perl_peep(pTHX_ OP *o)
3490 __attribute__visibility__("hidden");
3491 #define PERL_ARGS_ASSERT_PEEP
3493 PERL_CALLCONV PerlInterpreter *
3495 #define PERL_ARGS_ASSERT_PERL_ALLOC
3498 perl_construct(PerlInterpreter *my_perl);
3499 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3503 perl_destruct(PerlInterpreter *my_perl);
3504 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \
3508 perl_free(PerlInterpreter *my_perl);
3509 #define PERL_ARGS_ASSERT_PERL_FREE \
3513 perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char **argv, char **env);
3514 #define PERL_ARGS_ASSERT_PERL_PARSE \
3518 perl_run(PerlInterpreter *my_perl);
3519 #define PERL_ARGS_ASSERT_PERL_RUN \
3522 PERL_CALLCONV Signal_t
3523 Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3524 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3526 /* PERL_CALLCONV const char * const
3527 phase_name(pTHX_ enum perl_phase); */
3530 Perl_pmop_dump(pTHX_ PMOP *pm);
3531 #define PERL_ARGS_ASSERT_PMOP_DUMP
3534 Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3535 __attribute__visibility__("hidden");
3536 #define PERL_ARGS_ASSERT_PMRUNTIME \
3537 assert(o); assert(expr)
3540 Perl_pop_scope(pTHX);
3541 #define PERL_ARGS_ASSERT_POP_SCOPE
3544 Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3545 __attribute__visibility__("hidden");
3546 #define PERL_ARGS_ASSERT_POPULATE_ISA \
3549 PERL_CALLCONV REGEXP *
3550 Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3551 #define PERL_ARGS_ASSERT_PREGCOMP \
3555 Perl_pregexec(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
3556 #define PERL_ARGS_ASSERT_PREGEXEC \
3557 assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
3561 Perl_pregfree(pTHX_ REGEXP *r);
3562 #define PERL_ARGS_ASSERT_PREGFREE
3565 Perl_pregfree2(pTHX_ REGEXP *rx);
3566 #define PERL_ARGS_ASSERT_PREGFREE2 \
3569 PERL_CALLCONV const char *
3570 Perl_prescan_version(pTHX_ const char *s, bool strict, const char **errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
3571 #define PERL_ARGS_ASSERT_PRESCAN_VERSION \
3574 PERL_CALLCONV void *
3575 Perl_ptr_table_fetch(pTHX_ PTR_TBL_t * const tbl, const void * const sv)
3576 __attribute__warn_unused_result__;
3577 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
3581 Perl_ptr_table_free(pTHX_ PTR_TBL_t * const tbl);
3582 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3584 PERL_CALLCONV PTR_TBL_t *
3585 Perl_ptr_table_new(pTHX)
3586 __attribute__warn_unused_result__;
3587 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3590 Perl_ptr_table_split(pTHX_ PTR_TBL_t * const tbl);
3591 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
3595 Perl_ptr_table_store(pTHX_ PTR_TBL_t * const tbl, const void * const oldsv, void * const newsv);
3596 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
3597 assert(tbl); assert(newsv)
3600 Perl_push_scope(pTHX);
3601 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3603 PERL_CALLCONV char *
3604 Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3605 #define PERL_ARGS_ASSERT_PV_DISPLAY \
3606 assert(dsv); assert(pv)
3608 PERL_CALLCONV char *
3609 Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, STRLEN max, STRLEN * const escaped, U32 flags);
3610 #define PERL_ARGS_ASSERT_PV_ESCAPE \
3613 PERL_CALLCONV char *
3614 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);
3615 #define PERL_ARGS_ASSERT_PV_PRETTY \
3616 assert(dsv); assert(str)
3618 PERL_CALLCONV char *
3619 Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3620 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3621 assert(dsv); assert(spv)
3624 Perl_qerror(pTHX_ SV *err);
3625 #define PERL_ARGS_ASSERT_QERROR
3627 PERL_CALLCONV char *
3628 Perl_rcpv_copy(pTHX_ char * const pv);
3629 #define PERL_ARGS_ASSERT_RCPV_COPY
3631 PERL_CALLCONV char *
3632 Perl_rcpv_free(pTHX_ char * const pv);
3633 #define PERL_ARGS_ASSERT_RCPV_FREE
3635 PERL_CALLCONV char *
3636 Perl_rcpv_new(pTHX_ const char * const pv, STRLEN len, U32 flags)
3637 __attribute__malloc__
3638 __attribute__warn_unused_result__;
3639 #define PERL_ARGS_ASSERT_RCPV_NEW
3641 PERL_CALLCONV REGEXP *
3642 Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3643 #define PERL_ARGS_ASSERT_RE_COMPILE \
3646 PERL_CALLCONV char *
3647 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);
3648 #define PERL_ARGS_ASSERT_RE_INTUIT_START \
3649 assert(rx); assert(strbeg); assert(strpos); assert(strend)
3652 Perl_re_intuit_string(pTHX_ REGEXP * const r);
3653 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3656 PERL_CALLCONV REGEXP *
3657 Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine *eng, REGEXP *old_re, bool *is_bare_re, const U32 rx_flags, const U32 pm_flags);
3658 #define PERL_ARGS_ASSERT_RE_OP_COMPILE \
3661 PERL_CALLCONV Malloc_t
3662 Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3663 __attribute__warn_unused_result__;
3664 #define PERL_ARGS_ASSERT_REALLOC
3667 Perl_reentrant_free(pTHX);
3668 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3671 Perl_reentrant_init(pTHX);
3672 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3674 PERL_CALLCONV void *
3675 Perl_reentrant_retry(const char *f, ...);
3676 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \
3680 Perl_reentrant_size(pTHX);
3681 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3684 Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3685 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3688 Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3689 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3693 Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3694 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3698 Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3699 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3703 Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3704 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3706 PERL_CALLCONV struct refcounted_he *
3707 Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3708 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3710 PERL_CALLCONV struct refcounted_he *
3711 Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3712 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3715 PERL_CALLCONV struct refcounted_he *
3716 Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
3717 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3720 PERL_CALLCONV struct refcounted_he *
3721 Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3722 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3726 Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3727 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3731 Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3732 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3736 Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3737 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3738 assert(rx); assert(key)
3741 Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3742 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3743 assert(rx); assert(namesv)
3746 Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3747 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3751 Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3752 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3756 Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3757 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3761 Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3762 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3766 Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const re, const I32 paren, SV * const sv);
3767 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3771 Perl_reg_numbered_buff_fetch_flags(pTHX_ REGEXP * const re, const I32 paren, SV * const sv, U32 flags);
3772 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH_FLAGS \
3776 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3777 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3778 assert(rx); assert(sv)
3781 Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3782 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3786 Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3787 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3790 PERL_CALLCONV REGEXP *
3791 Perl_reg_temp_copy(pTHX_ REGEXP *dsv, REGEXP *ssv);
3792 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3796 Perl_regdump(pTHX_ const regexp *r);
3797 #define PERL_ARGS_ASSERT_REGDUMP \
3801 Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
3802 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3803 assert(rx); assert(stringarg); assert(strend); assert(strbeg); \
3807 Perl_regfree_internal(pTHX_ REGEXP * const rx);
3808 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3812 Perl_reginitcolors(pTHX);
3813 #define PERL_ARGS_ASSERT_REGINITCOLORS
3816 Perl_release_RExC_state(pTHX_ void *vstate)
3817 __attribute__visibility__("hidden");
3818 #define PERL_ARGS_ASSERT_RELEASE_REXC_STATE \
3822 Perl_repeatcpy(char *to, const char *from, SSize_t len, IV count);
3823 #define PERL_ARGS_ASSERT_REPEATCPY \
3824 assert(to); assert(from)
3827 Perl_report_evil_fh(pTHX_ const GV *gv)
3828 __attribute__visibility__("hidden");
3829 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3832 Perl_report_uninit(pTHX_ const SV *uninit_sv);
3833 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3836 Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3837 __attribute__visibility__("hidden");
3838 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3841 Perl_require_pv(pTHX_ const char *pv);
3842 #define PERL_ARGS_ASSERT_REQUIRE_PV \
3846 Perl_resume_compcv(pTHX_ struct suspended_compcv *buffer, bool save);
3847 #define PERL_ARGS_ASSERT_RESUME_COMPCV \
3850 /* PERL_CALLCONV void
3851 resume_compcv_and_save(pTHX_ struct suspended_compcv *buffer); */
3853 /* PERL_CALLCONV void
3854 resume_compcv_final(pTHX_ struct suspended_compcv *buffer); */
3856 PERL_CALLCONV char *
3857 Perl_rninstr(const char *big, const char *bigend, const char *little, const char *lend)
3858 __attribute__warn_unused_result__
3859 __attribute__pure__;
3860 #define PERL_ARGS_ASSERT_RNINSTR \
3861 assert(big); assert(bigend); assert(little); assert(lend)
3864 Perl_rpeep(pTHX_ OP *o)
3865 __attribute__visibility__("hidden");
3866 #define PERL_ARGS_ASSERT_RPEEP
3869 Perl_rpp_free_2_(pTHX_ SV * const sv1, SV * const sv2, const U32 rc1, const U32 rc2);
3870 #define PERL_ARGS_ASSERT_RPP_FREE_2_ \
3871 assert(sv1); assert(sv2)
3874 Perl_rpp_obliterate_stack_to(pTHX_ I32 ix);
3875 #define PERL_ARGS_ASSERT_RPP_OBLITERATE_STACK_TO
3877 PERL_CALLCONV Sighandler_t
3878 Perl_rsignal(pTHX_ int i, Sighandler_t t);
3879 #define PERL_ARGS_ASSERT_RSIGNAL
3882 Perl_rsignal_restore(pTHX_ int i, Sigsave_t *t)
3883 __attribute__visibility__("hidden");
3884 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3887 Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t *save)
3888 __attribute__visibility__("hidden");
3889 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3892 PERL_CALLCONV Sighandler_t
3893 Perl_rsignal_state(pTHX_ int i);
3894 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3897 Perl_runops_debug(pTHX);
3898 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3901 Perl_runops_standard(pTHX);
3902 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3905 Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3906 #define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3910 Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3911 __attribute__visibility__("hidden");
3912 #define PERL_ARGS_ASSERT_RXRES_SAVE \
3913 assert(rsp); assert(rx)
3915 PERL_CALLCONV Malloc_t
3916 Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3917 __attribute__malloc__
3918 __attribute__warn_unused_result__;
3919 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3921 PERL_CALLCONV Free_t
3922 Perl_safesysfree(Malloc_t where);
3923 #define PERL_ARGS_ASSERT_SAFESYSFREE
3925 PERL_CALLCONV Malloc_t
3926 Perl_safesysmalloc(MEM_SIZE nbytes)
3927 __attribute__malloc__
3928 __attribute__warn_unused_result__;
3929 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3931 PERL_CALLCONV Malloc_t
3932 Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3933 __attribute__warn_unused_result__;
3934 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3937 Perl_save_I16(pTHX_ I16 *intp);
3938 #define PERL_ARGS_ASSERT_SAVE_I16 \
3942 Perl_save_I32(pTHX_ I32 *intp);
3943 #define PERL_ARGS_ASSERT_SAVE_I32 \
3947 Perl_save_I8(pTHX_ I8 *bytep);
3948 #define PERL_ARGS_ASSERT_SAVE_I8 \
3952 Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3953 #define PERL_ARGS_ASSERT_SAVE_ADELETE \
3954 assert(av); assert(SvTYPE(av) == SVt_PVAV)
3956 /* PERL_CALLCONV void
3957 save_aelem(pTHX_ AV *av, SSize_t idx, SV **sptr); */
3960 Perl_save_aelem_flags(pTHX_ AV *av, SSize_t idx, SV **sptr, const U32 flags);
3961 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3962 assert(av); assert(sptr); assert(SvTYPE(av) == SVt_PVAV)
3964 PERL_CALLCONV SSize_t
3965 Perl_save_alloc(pTHX_ SSize_t size, I32 pad);
3966 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3969 Perl_save_aptr(pTHX_ AV **aptr);
3970 #define PERL_ARGS_ASSERT_SAVE_APTR \
3974 Perl_save_ary(pTHX_ GV *gv);
3975 #define PERL_ARGS_ASSERT_SAVE_ARY \
3979 Perl_save_bool(pTHX_ bool *boolp);
3980 #define PERL_ARGS_ASSERT_SAVE_BOOL \
3984 Perl_save_clearsv(pTHX_ SV **svp);
3985 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3989 Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3990 #define PERL_ARGS_ASSERT_SAVE_DELETE \
3991 assert(hv); assert(key); assert(SvTYPE(hv) == SVt_PVHV)
3994 Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void *p);
3995 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3999 Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void *p);
4000 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
4003 Perl_save_freercpv(pTHX_ char *rcpv);
4004 #define PERL_ARGS_ASSERT_SAVE_FREERCPV \
4008 Perl_save_generic_pvref(pTHX_ char **str);
4009 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
4013 Perl_save_generic_svref(pTHX_ SV **sptr);
4014 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
4018 Perl_save_gp(pTHX_ GV *gv, I32 empty);
4019 #define PERL_ARGS_ASSERT_SAVE_GP \
4023 Perl_save_hash(pTHX_ GV *gv);
4024 #define PERL_ARGS_ASSERT_SAVE_HASH \
4028 Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
4029 #define PERL_ARGS_ASSERT_SAVE_HDELETE \
4030 assert(hv); assert(keysv); assert(SvTYPE(hv) == SVt_PVHV)
4032 /* PERL_CALLCONV void
4033 save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
4036 Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
4037 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
4038 assert(hv); assert(key); assert(sptr); assert(SvTYPE(hv) == SVt_PVHV)
4041 Perl_save_hints(pTHX);
4042 #define PERL_ARGS_ASSERT_SAVE_HINTS
4045 Perl_save_hptr(pTHX_ HV **hptr);
4046 #define PERL_ARGS_ASSERT_SAVE_HPTR \
4050 Perl_save_int(pTHX_ int *intp);
4051 #define PERL_ARGS_ASSERT_SAVE_INT \
4055 Perl_save_item(pTHX_ SV *item);
4056 #define PERL_ARGS_ASSERT_SAVE_ITEM \
4060 Perl_save_iv(pTHX_ IV *ivp);
4061 #define PERL_ARGS_ASSERT_SAVE_IV \
4065 Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
4066 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
4069 Perl_save_pptr(pTHX_ char **pptr);
4070 #define PERL_ARGS_ASSERT_SAVE_PPTR \
4074 Perl_save_pushi32ptr(pTHX_ const I32 i, void * const ptr, const int type);
4075 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
4078 Perl_save_pushptr(pTHX_ void * const ptr, const int type);
4079 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
4082 Perl_save_pushptrptr(pTHX_ void * const ptr1, void * const ptr2, const int type);
4083 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
4086 Perl_save_rcpv(pTHX_ char **prcpv);
4087 #define PERL_ARGS_ASSERT_SAVE_RCPV \
4091 Perl_save_re_context(pTHX);
4092 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
4095 Perl_save_scalar(pTHX_ GV *gv);
4096 #define PERL_ARGS_ASSERT_SAVE_SCALAR \
4100 Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
4101 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
4105 Perl_save_shared_pvref(pTHX_ char **str);
4106 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
4110 Perl_save_sptr(pTHX_ SV **sptr);
4111 #define PERL_ARGS_ASSERT_SAVE_SPTR \
4115 Perl_save_strlen(pTHX_ STRLEN *ptr);
4116 #define PERL_ARGS_ASSERT_SAVE_STRLEN \
4120 Perl_save_svref(pTHX_ SV **sptr);
4121 #define PERL_ARGS_ASSERT_SAVE_SVREF \
4125 Perl_save_vptr(pTHX_ void *ptr);
4126 #define PERL_ARGS_ASSERT_SAVE_VPTR \
4129 PERL_CALLCONV char *
4130 Perl_savesharedpv(pTHX_ const char *pv)
4131 __attribute__malloc__
4132 __attribute__warn_unused_result__;
4133 #define PERL_ARGS_ASSERT_SAVESHAREDPV
4135 PERL_CALLCONV char *
4136 Perl_savesharedpvn(pTHX_ const char * const pv, const STRLEN len)
4137 __attribute__malloc__
4138 __attribute__warn_unused_result__;
4139 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
4142 Perl_savestack_grow(pTHX);
4143 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
4146 Perl_savestack_grow_cnt(pTHX_ I32 need);
4147 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
4150 Perl_savetmps(pTHX);
4151 #define PERL_ARGS_ASSERT_SAVETMPS
4154 Perl_sawparens(pTHX_ OP *o)
4155 __attribute__visibility__("hidden");
4156 #define PERL_ARGS_ASSERT_SAWPARENS
4159 Perl_scalar(pTHX_ OP *o)
4160 __attribute__visibility__("hidden");
4161 #define PERL_ARGS_ASSERT_SCALAR
4164 Perl_scalarvoid(pTHX_ OP *o)
4165 __attribute__visibility__("hidden");
4166 #define PERL_ARGS_ASSERT_SCALARVOID \
4170 Perl_scan_bin(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4171 #define PERL_ARGS_ASSERT_SCAN_BIN \
4172 assert(start); assert(retlen)
4175 Perl_scan_hex(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4176 #define PERL_ARGS_ASSERT_SCAN_HEX \
4177 assert(start); assert(retlen)
4179 PERL_CALLCONV char *
4180 Perl_scan_num(pTHX_ const char *s, YYSTYPE *lvalp);
4181 #define PERL_ARGS_ASSERT_SCAN_NUM \
4182 assert(s); assert(lvalp)
4185 Perl_scan_oct(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4186 #define PERL_ARGS_ASSERT_SCAN_OCT \
4187 assert(start); assert(retlen)
4189 PERL_CALLCONV char *
4190 Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
4191 __attribute__warn_unused_result__;
4192 #define PERL_ARGS_ASSERT_SCAN_STR \
4195 PERL_CALLCONV const char *
4196 Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
4197 #define PERL_ARGS_ASSERT_SCAN_VERSION \
4198 assert(s); assert(rv)
4200 PERL_CALLCONV char *
4201 Perl_scan_vstring(pTHX_ const char *s, const char * const e, SV *sv);
4202 #define PERL_ARGS_ASSERT_SCAN_VSTRING \
4203 assert(s); assert(e); assert(sv)
4205 PERL_CALLCONV char *
4206 Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
4207 #define PERL_ARGS_ASSERT_SCAN_WORD \
4208 assert(s); assert(dest); assert(slp)
4212 #define PERL_ARGS_ASSERT_SEED
4215 Perl_set_caret_X(pTHX);
4216 #define PERL_ARGS_ASSERT_SET_CARET_X
4219 Perl_set_context(void *t);
4220 #define PERL_ARGS_ASSERT_SET_CONTEXT \
4224 Perl_set_numeric_standard(pTHX_ const char *file, const line_t caller_line);
4225 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD \
4229 Perl_set_numeric_underlying(pTHX_ const char *file, const line_t caller_line);
4230 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING \
4234 Perl_setdefout(pTHX_ GV *gv);
4235 #define PERL_ARGS_ASSERT_SETDEFOUT \
4239 Perl_setfd_cloexec(int fd)
4240 __attribute__visibility__("hidden");
4241 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
4244 Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
4245 __attribute__visibility__("hidden");
4246 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
4249 Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
4250 __attribute__visibility__("hidden");
4251 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
4254 Perl_setfd_inhexec(int fd)
4255 __attribute__visibility__("hidden");
4256 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
4259 Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
4260 __attribute__visibility__("hidden");
4261 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
4264 Perl_share_hek(pTHX_ const char *str, SSize_t len, U32 hash);
4265 #define PERL_ARGS_ASSERT_SHARE_HEK \
4268 PERL_CALLCONV Signal_t
4269 Perl_sighandler1(int sig)
4270 __attribute__visibility__("hidden");
4271 #define PERL_ARGS_ASSERT_SIGHANDLER1
4273 PERL_CALLCONV Signal_t
4274 Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
4275 __attribute__visibility__("hidden");
4276 #define PERL_ARGS_ASSERT_SIGHANDLER3
4278 PERL_CALLCONV char *
4279 Perl_skipspace_flags(pTHX_ char *s, U32 flags)
4280 __attribute__warn_unused_result__;
4281 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS \
4285 Perl_sortsv(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp);
4286 #define PERL_ARGS_ASSERT_SORTSV \
4290 Perl_sortsv_flags(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
4291 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \
4295 Perl_stack_grow(pTHX_ SV **sp, SV **p, SSize_t n);
4296 #define PERL_ARGS_ASSERT_STACK_GROW \
4297 assert(sp); assert(p)
4299 PERL_CALLCONV PerlIO *
4300 Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
4301 __attribute__visibility__("hidden");
4302 #define PERL_ARGS_ASSERT_START_GLOB \
4303 assert(tmpglob); assert(io)
4306 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
4307 #define PERL_ARGS_ASSERT_START_SUBPARSE
4310 Perl_str_to_version(pTHX_ SV *sv)
4311 __attribute__warn_unused_result__;
4312 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
4315 /* PERL_CALLCONV bool
4316 Perl_strict_utf8_to_uv(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p); */
4319 Perl_sub_crush_depth(pTHX_ CV *cv)
4320 __attribute__visibility__("hidden");
4321 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
4322 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
4325 Perl_subsignature_append_positional(pTHX_ OP *varop, OPCODE defmode, OP *defexpr)
4326 __attribute__visibility__("hidden");
4327 #define PERL_ARGS_ASSERT_SUBSIGNATURE_APPEND_POSITIONAL
4330 Perl_subsignature_append_slurpy(pTHX_ I32 sigil, OP *varop)
4331 __attribute__visibility__("hidden");
4332 #define PERL_ARGS_ASSERT_SUBSIGNATURE_APPEND_SLURPY
4335 Perl_subsignature_finish(pTHX)
4336 __attribute__visibility__("hidden");
4337 #define PERL_ARGS_ASSERT_SUBSIGNATURE_FINISH
4340 Perl_subsignature_start(pTHX)
4341 __attribute__visibility__("hidden");
4342 #define PERL_ARGS_ASSERT_SUBSIGNATURE_START
4345 Perl_suspend_compcv(pTHX_ struct suspended_compcv *buffer);
4346 #define PERL_ARGS_ASSERT_SUSPEND_COMPCV \
4350 Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
4351 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
4355 Perl_sv_2cv(pTHX_ SV *sv, HV ** const st, GV ** const gvp, const I32 lref);
4356 #define PERL_ARGS_ASSERT_SV_2CV \
4357 assert(st); assert(gvp)
4360 Perl_sv_2io(pTHX_ SV * const sv);
4361 #define PERL_ARGS_ASSERT_SV_2IO \
4365 Perl_sv_2iv_flags(pTHX_ SV * const sv, const I32 flags);
4366 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS \
4370 Perl_sv_2mortal(pTHX_ SV * const sv);
4371 #define PERL_ARGS_ASSERT_SV_2MORTAL
4374 Perl_sv_2num(pTHX_ SV * const sv)
4375 __attribute__visibility__("hidden");
4376 #define PERL_ARGS_ASSERT_SV_2NUM \
4380 Perl_sv_2nv_flags(pTHX_ SV * const sv, const I32 flags);
4381 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS \
4384 PERL_CALLCONV char *
4385 Perl_sv_2pv_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4386 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS \
4389 PERL_CALLCONV char *
4390 Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4391 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS \
4394 PERL_CALLCONV char *
4395 Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4396 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS \
4400 Perl_sv_2uv_flags(pTHX_ SV * const sv, const I32 flags);
4401 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS \
4405 Perl_sv_backoff(SV * const sv);
4406 #define PERL_ARGS_ASSERT_SV_BACKOFF \
4410 Perl_sv_bless(pTHX_ SV * const sv, HV * const stash);
4411 #define PERL_ARGS_ASSERT_SV_BLESS \
4412 assert(sv); assert(stash)
4415 Perl_sv_can_swipe_pv_buf(pTHX_ SV *sv);
4416 #define PERL_ARGS_ASSERT_SV_CAN_SWIPE_PV_BUF \
4420 Perl_sv_cat_decode(pTHX_ SV *dsv, SV *encoding, SV *ssv, int *offset, char *tstr, int tlen);
4421 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \
4422 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
4425 Perl_sv_catpv(pTHX_ SV * const dsv, const char *sstr);
4426 #define PERL_ARGS_ASSERT_SV_CATPV \
4430 Perl_sv_catpv_flags(pTHX_ SV * const dsv, const char *sstr, const I32 flags);
4431 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
4432 assert(dsv); assert(sstr)
4435 Perl_sv_catpv_mg(pTHX_ SV * const dsv, const char * const sstr);
4436 #define PERL_ARGS_ASSERT_SV_CATPV_MG \
4440 Perl_sv_catpvf(pTHX_ SV * const sv, const char * const pat, ...)
4441 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4442 #define PERL_ARGS_ASSERT_SV_CATPVF \
4443 assert(sv); assert(pat)
4446 Perl_sv_catpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4447 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4448 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \
4449 assert(sv); assert(pat)
4452 Perl_sv_catpvn_flags(pTHX_ SV * const dsv, const char *sstr, const STRLEN len, const I32 flags);
4453 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
4454 assert(dsv); assert(sstr)
4457 Perl_sv_catsv_flags(pTHX_ SV * const dsv, SV * const sstr, const I32 flags);
4458 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
4462 Perl_sv_chop(pTHX_ SV * const sv, const char * const ptr);
4463 #define PERL_ARGS_ASSERT_SV_CHOP \
4466 PERL_CALLCONV SSize_t
4467 Perl_sv_clean_all(pTHX)
4468 __attribute__visibility__("hidden");
4469 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
4472 Perl_sv_clean_objs(pTHX)
4473 __attribute__visibility__("hidden");
4474 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
4477 Perl_sv_clear(pTHX_ SV * const orig_sv);
4478 #define PERL_ARGS_ASSERT_SV_CLEAR \
4482 Perl_sv_cmp(pTHX_ SV * const sv1, SV * const sv2);
4483 #define PERL_ARGS_ASSERT_SV_CMP
4486 Perl_sv_cmp_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4487 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
4490 Perl_sv_cmp_locale(pTHX_ SV * const sv1, SV * const sv2);
4491 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
4494 Perl_sv_cmp_locale_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4495 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
4498 Perl_sv_copypv_flags(pTHX_ SV * const dsv, SV * const ssv, const I32 flags);
4499 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS \
4500 assert(dsv); assert(ssv)
4502 /* PERL_CALLCONV void
4503 sv_copypv_nomg(pTHX_ SV * const dsv, SV * const ssv); */
4506 Perl_sv_dec(pTHX_ SV * const sv);
4507 #define PERL_ARGS_ASSERT_SV_DEC
4510 Perl_sv_dec_nomg(pTHX_ SV * const sv);
4511 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
4514 Perl_sv_del_backref(pTHX_ SV * const tsv, SV * const sv);
4515 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
4516 assert(tsv); assert(sv)
4519 Perl_sv_derived_from(pTHX_ SV *sv, const char * const name)
4520 __attribute__warn_unused_result__;
4521 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \
4522 assert(sv); assert(name)
4525 Perl_sv_derived_from_hv(pTHX_ SV *sv, HV *hv)
4526 __attribute__warn_unused_result__;
4527 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_HV \
4528 assert(sv); assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
4531 Perl_sv_derived_from_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4532 __attribute__warn_unused_result__;
4533 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV \
4534 assert(sv); assert(name)
4537 Perl_sv_derived_from_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4538 __attribute__warn_unused_result__;
4539 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN \
4540 assert(sv); assert(name)
4543 Perl_sv_derived_from_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4544 __attribute__warn_unused_result__;
4545 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV \
4546 assert(sv); assert(namesv)
4549 Perl_sv_destroyable(pTHX_ SV *sv);
4550 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
4553 Perl_sv_does(pTHX_ SV *sv, const char * const name)
4554 __attribute__warn_unused_result__;
4555 #define PERL_ARGS_ASSERT_SV_DOES \
4556 assert(sv); assert(name)
4559 Perl_sv_does_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4560 __attribute__warn_unused_result__;
4561 #define PERL_ARGS_ASSERT_SV_DOES_PV \
4562 assert(sv); assert(name)
4565 Perl_sv_does_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4566 __attribute__warn_unused_result__;
4567 #define PERL_ARGS_ASSERT_SV_DOES_PVN \
4568 assert(sv); assert(name)
4571 Perl_sv_does_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4572 __attribute__warn_unused_result__;
4573 #define PERL_ARGS_ASSERT_SV_DOES_SV \
4574 assert(sv); assert(namesv)
4577 Perl_sv_dump(pTHX_ SV *sv);
4578 #define PERL_ARGS_ASSERT_SV_DUMP
4581 Perl_sv_dump_depth(pTHX_ SV *sv, I32 depth);
4582 #define PERL_ARGS_ASSERT_SV_DUMP_DEPTH
4585 Perl_sv_eq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4586 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
4589 Perl_sv_force_normal_flags(pTHX_ SV * const sv, const U32 flags);
4590 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
4594 Perl_sv_free(pTHX_ SV * const sv);
4595 #define PERL_ARGS_ASSERT_SV_FREE
4598 Perl_sv_free2(pTHX_ SV * const sv, const U32 refcnt);
4599 #define PERL_ARGS_ASSERT_SV_FREE2 \
4603 Perl_sv_free_arenas(pTHX)
4604 __attribute__visibility__("hidden");
4605 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
4608 Perl_sv_get_backrefs(SV * const sv);
4609 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS \
4612 PERL_CALLCONV char *
4613 Perl_sv_gets(pTHX_ SV * const sv, PerlIO * const fp, SSize_t append);
4614 #define PERL_ARGS_ASSERT_SV_GETS \
4615 assert(sv); assert(fp)
4617 PERL_CALLCONV char *
4618 Perl_sv_grow(pTHX_ SV * const sv, STRLEN newlen);
4619 #define PERL_ARGS_ASSERT_SV_GROW \
4622 PERL_CALLCONV char *
4623 Perl_sv_grow_fresh(pTHX_ SV * const sv, STRLEN newlen);
4624 #define PERL_ARGS_ASSERT_SV_GROW_FRESH \
4628 Perl_sv_inc(pTHX_ SV * const sv);
4629 #define PERL_ARGS_ASSERT_SV_INC
4632 Perl_sv_inc_nomg(pTHX_ SV * const sv);
4633 #define PERL_ARGS_ASSERT_SV_INC_NOMG
4636 Perl_sv_insert_flags(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
4637 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \
4638 assert(bigstr); assert(little)
4641 Perl_sv_isa(pTHX_ SV *sv, const char * const name);
4642 #define PERL_ARGS_ASSERT_SV_ISA \
4646 Perl_sv_isa_sv(pTHX_ SV *sv, SV *namesv)
4647 __attribute__warn_unused_result__;
4648 #define PERL_ARGS_ASSERT_SV_ISA_SV \
4649 assert(sv); assert(namesv)
4652 Perl_sv_isobject(pTHX_ SV *sv);
4653 #define PERL_ARGS_ASSERT_SV_ISOBJECT
4656 Perl_sv_langinfo(pTHX_ const nl_item item);
4657 #define PERL_ARGS_ASSERT_SV_LANGINFO
4659 PERL_CALLCONV STRLEN
4660 Perl_sv_len(pTHX_ SV * const sv);
4661 #define PERL_ARGS_ASSERT_SV_LEN
4663 PERL_CALLCONV STRLEN
4664 Perl_sv_len_utf8(pTHX_ SV * const sv);
4665 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
4667 PERL_CALLCONV STRLEN
4668 Perl_sv_len_utf8_nomg(pTHX_ SV * const sv);
4669 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG \
4673 Perl_sv_magic(pTHX_ SV * const sv, SV * const obj, const int how, const char * const name, const I32 namlen);
4674 #define PERL_ARGS_ASSERT_SV_MAGIC \
4677 PERL_CALLCONV MAGIC *
4678 Perl_sv_magicext(pTHX_ SV * const sv, SV * const obj, const int how, const MGVTBL * const vtbl, const char * const name, const I32 namlen);
4679 #define PERL_ARGS_ASSERT_SV_MAGICEXT \
4682 PERL_CALLCONV MAGIC *
4683 Perl_sv_magicext_mglob(pTHX_ SV *sv);
4684 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB \
4688 Perl_sv_mortalcopy_flags(pTHX_ SV * const oldsv, U32 flags)
4689 __attribute__warn_unused_result__;
4690 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4693 Perl_sv_newmortal(pTHX)
4694 __attribute__warn_unused_result__;
4695 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4698 Perl_sv_newref(pTHX_ SV * const sv);
4699 #define PERL_ARGS_ASSERT_SV_NEWREF
4702 Perl_sv_nosharing(pTHX_ SV *sv);
4703 #define PERL_ARGS_ASSERT_SV_NOSHARING
4705 /* PERL_CALLCONV bool
4706 sv_numeq(pTHX_ SV *sv1, SV *sv2); */
4709 Perl_sv_numeq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4710 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4712 PERL_CALLCONV char *
4713 Perl_sv_peek(pTHX_ SV *sv);
4714 #define PERL_ARGS_ASSERT_SV_PEEK
4717 Perl_sv_pos_b2u(pTHX_ SV * const sv, I32 * const offsetp);
4718 #define PERL_ARGS_ASSERT_SV_POS_B2U \
4721 PERL_CALLCONV STRLEN
4722 Perl_sv_pos_b2u_flags(pTHX_ SV * const sv, STRLEN const offset, U32 flags);
4723 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS \
4727 Perl_sv_pos_u2b(pTHX_ SV * const sv, I32 * const offsetp, I32 * const lenp);
4728 #define PERL_ARGS_ASSERT_SV_POS_U2B \
4731 PERL_CALLCONV STRLEN
4732 Perl_sv_pos_u2b_flags(pTHX_ SV * const sv, STRLEN uoffset, STRLEN * const lenp, U32 flags);
4733 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \
4736 PERL_CALLCONV char *
4737 Perl_sv_pvbyten_force(pTHX_ SV * const sv, STRLEN * const lp);
4738 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \
4741 PERL_CALLCONV char *
4742 Perl_sv_pvn_force_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4743 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
4746 PERL_CALLCONV char *
4747 Perl_sv_pvutf8n_force(pTHX_ SV * const sv, STRLEN * const lp);
4748 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \
4751 PERL_CALLCONV char *
4752 Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding);
4753 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \
4754 assert(sv); assert(encoding)
4757 Perl_sv_ref(pTHX_ SV *dst, const SV * const sv, const int ob);
4758 #define PERL_ARGS_ASSERT_SV_REF \
4761 PERL_CALLCONV const char *
4762 Perl_sv_reftype(pTHX_ const SV * const sv, const int ob)
4763 __attribute__warn_unused_result__;
4764 #define PERL_ARGS_ASSERT_SV_REFTYPE \
4768 Perl_sv_regex_global_pos_clear(pTHX_ SV *sv);
4769 #define PERL_ARGS_ASSERT_SV_REGEX_GLOBAL_POS_CLEAR \
4773 Perl_sv_regex_global_pos_get(pTHX_ SV *sv, STRLEN *posp, U32 flags)
4774 __attribute__warn_unused_result__;
4775 #define PERL_ARGS_ASSERT_SV_REGEX_GLOBAL_POS_GET \
4776 assert(sv); assert(posp)
4779 Perl_sv_regex_global_pos_set(pTHX_ SV *sv, STRLEN pos, U32 flags);
4780 #define PERL_ARGS_ASSERT_SV_REGEX_GLOBAL_POS_SET \
4784 Perl_sv_replace(pTHX_ SV * const sv, SV * const nsv);
4785 #define PERL_ARGS_ASSERT_SV_REPLACE \
4786 assert(sv); assert(nsv)
4789 Perl_sv_report_used(pTHX);
4790 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4793 Perl_sv_reset(pTHX_ const char *s, HV * const stash);
4794 #define PERL_ARGS_ASSERT_SV_RESET \
4795 assert(s); assert(!stash || SvTYPE(stash) == SVt_PVHV)
4798 Perl_sv_resetpvn(pTHX_ const char *s, STRLEN len, HV * const stash)
4799 __attribute__visibility__("hidden");
4800 #define PERL_ARGS_ASSERT_SV_RESETPVN
4803 Perl_sv_rvunweaken(pTHX_ SV * const sv);
4804 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN \
4808 Perl_sv_rvweaken(pTHX_ SV * const sv);
4809 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \
4813 Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4814 #define PERL_ARGS_ASSERT_SV_SET_BOOL \
4818 Perl_sv_set_false(pTHX_ SV *sv);
4819 #define PERL_ARGS_ASSERT_SV_SET_FALSE \
4823 Perl_sv_set_true(pTHX_ SV *sv);
4824 #define PERL_ARGS_ASSERT_SV_SET_TRUE \
4828 Perl_sv_set_undef(pTHX_ SV *sv);
4829 #define PERL_ARGS_ASSERT_SV_SET_UNDEF \
4833 Perl_sv_sethek(pTHX_ SV * const sv, const HEK * const hek);
4834 #define PERL_ARGS_ASSERT_SV_SETHEK \
4838 Perl_sv_setiv(pTHX_ SV * const sv, const IV num);
4839 #define PERL_ARGS_ASSERT_SV_SETIV \
4843 Perl_sv_setiv_mg(pTHX_ SV * const sv, const IV i);
4844 #define PERL_ARGS_ASSERT_SV_SETIV_MG \
4848 Perl_sv_setnv(pTHX_ SV * const sv, const NV num);
4849 #define PERL_ARGS_ASSERT_SV_SETNV \
4853 Perl_sv_setnv_mg(pTHX_ SV * const sv, const NV num);
4854 #define PERL_ARGS_ASSERT_SV_SETNV_MG \
4858 Perl_sv_setpv(pTHX_ SV * const sv, const char * const ptr);
4859 #define PERL_ARGS_ASSERT_SV_SETPV \
4862 PERL_CALLCONV char *
4863 Perl_sv_setpv_bufsize(pTHX_ SV * const sv, const STRLEN cur, const STRLEN len);
4864 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE \
4868 Perl_sv_setpv_mg(pTHX_ SV * const sv, const char * const ptr);
4869 #define PERL_ARGS_ASSERT_SV_SETPV_MG \
4873 Perl_sv_setpvf(pTHX_ SV * const sv, const char * const pat, ...)
4874 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4875 #define PERL_ARGS_ASSERT_SV_SETPVF \
4876 assert(sv); assert(pat)
4879 Perl_sv_setpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4880 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4881 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \
4882 assert(sv); assert(pat)
4885 Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4886 #define PERL_ARGS_ASSERT_SV_SETPVN \
4890 Perl_sv_setpvn_fresh(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4891 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH \
4895 Perl_sv_setpvn_mg(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4896 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \
4897 assert(sv); assert(ptr)
4900 Perl_sv_setref_iv(pTHX_ SV * const rv, const char * const classname, const IV iv);
4901 #define PERL_ARGS_ASSERT_SV_SETREF_IV \
4905 Perl_sv_setref_nv(pTHX_ SV * const rv, const char * const classname, const NV nv);
4906 #define PERL_ARGS_ASSERT_SV_SETREF_NV \
4910 Perl_sv_setref_pv(pTHX_ SV * const rv, const char * const classname, void * const pv);
4911 #define PERL_ARGS_ASSERT_SV_SETREF_PV \
4915 Perl_sv_setref_pvn(pTHX_ SV * const rv, const char * const classname, const char * const pv, const STRLEN n);
4916 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \
4917 assert(rv); assert(pv)
4920 Perl_sv_setref_uv(pTHX_ SV * const rv, const char * const classname, const UV uv);
4921 #define PERL_ARGS_ASSERT_SV_SETREF_UV \
4925 Perl_sv_setrv_inc(pTHX_ SV * const sv, SV * const ref);
4926 #define PERL_ARGS_ASSERT_SV_SETRV_INC \
4927 assert(sv); assert(ref)
4930 Perl_sv_setrv_inc_mg(pTHX_ SV * const sv, SV * const ref);
4931 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG \
4932 assert(sv); assert(ref)
4935 Perl_sv_setrv_noinc(pTHX_ SV * const sv, SV * const ref);
4936 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4937 assert(sv); assert(ref)
4940 Perl_sv_setrv_noinc_mg(pTHX_ SV * const sv, SV * const ref);
4941 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG \
4942 assert(sv); assert(ref)
4945 Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4946 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4950 Perl_sv_setsv_mg(pTHX_ SV * const dsv, SV * const ssv);
4951 #define PERL_ARGS_ASSERT_SV_SETSV_MG \
4955 Perl_sv_setuv(pTHX_ SV * const sv, const UV num);
4956 #define PERL_ARGS_ASSERT_SV_SETUV \
4960 Perl_sv_setuv_mg(pTHX_ SV * const sv, const UV u);
4961 #define PERL_ARGS_ASSERT_SV_SETUV_MG \
4964 /* PERL_CALLCONV bool
4965 sv_streq(pTHX_ SV *sv1, SV *sv2); */
4968 Perl_sv_streq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4969 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4972 Perl_sv_strftime_ints(pTHX_ SV *fmt, int sec, int min, int hour, int mday, int mon, int year, int isdst);
4973 #define PERL_ARGS_ASSERT_SV_STRFTIME_INTS \
4977 Perl_sv_strftime_tm(pTHX_ SV *fmt, const struct tm *mytm);
4978 #define PERL_ARGS_ASSERT_SV_STRFTIME_TM \
4979 assert(fmt); assert(mytm)
4982 Perl_sv_string_from_errnum(pTHX_ int errnum, SV *tgtsv);
4983 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4986 Perl_sv_tainted(pTHX_ SV * const sv)
4987 __attribute__warn_unused_result__;
4988 #define PERL_ARGS_ASSERT_SV_TAINTED \
4992 Perl_sv_true(pTHX_ SV * const sv);
4993 #define PERL_ARGS_ASSERT_SV_TRUE
4995 PERL_CALLCONV char *
4996 Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4997 __attribute__warn_unused_result__;
4998 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4999 assert(dsv); assert(ssv)
5002 Perl_sv_unmagic(pTHX_ SV * const sv, const int type);
5003 #define PERL_ARGS_ASSERT_SV_UNMAGIC \
5007 Perl_sv_unmagicext(pTHX_ SV * const sv, const int type, const MGVTBL *vtbl);
5008 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT \
5012 Perl_sv_unref_flags(pTHX_ SV * const ref, const U32 flags);
5013 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
5017 Perl_sv_untaint(pTHX_ SV * const sv);
5018 #define PERL_ARGS_ASSERT_SV_UNTAINT \
5022 Perl_sv_upgrade(pTHX_ SV * const sv, svtype new_type);
5023 #define PERL_ARGS_ASSERT_SV_UPGRADE \
5027 Perl_sv_usepvn_flags(pTHX_ SV * const sv, char *ptr, const STRLEN len, const U32 flags);
5028 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \
5032 Perl_sv_utf8_decode(pTHX_ SV * const sv);
5033 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
5037 Perl_sv_utf8_downgrade_flags(pTHX_ SV * const sv, const bool fail_ok, const U32 flags);
5038 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS \
5041 /* PERL_CALLCONV bool
5042 sv_utf8_downgrade_nomg(pTHX_ SV * const sv, const bool fail_ok); */
5045 Perl_sv_utf8_encode(pTHX_ SV * const sv);
5046 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
5049 /* PERL_CALLCONV STRLEN
5050 sv_utf8_upgrade_flags(pTHX_ SV * const sv, const I32 flags); */
5052 PERL_CALLCONV STRLEN
5053 Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV * const sv, const I32 flags, STRLEN extra);
5054 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \
5057 /* PERL_CALLCONV STRLEN
5058 sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
5061 Perl_sv_vcatpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5062 #define PERL_ARGS_ASSERT_SV_VCATPVF \
5063 assert(sv); assert(pat)
5066 Perl_sv_vcatpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5067 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \
5068 assert(sv); assert(pat)
5071 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);
5072 #define PERL_ARGS_ASSERT_SV_VCATPVFN \
5073 assert(sv); assert(pat)
5076 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);
5077 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS \
5078 assert(sv); assert(pat)
5081 Perl_sv_vsetpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5082 #define PERL_ARGS_ASSERT_SV_VSETPVF \
5083 assert(sv); assert(pat)
5086 Perl_sv_vsetpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5087 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \
5088 assert(sv); assert(pat)
5091 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);
5092 #define PERL_ARGS_ASSERT_SV_VSETPVFN \
5093 assert(sv); assert(pat)
5095 PERL_CALLCONV const char *
5096 Perl_sv_vstring_get(pTHX_ SV * const sv, STRLEN *lenp);
5097 #define PERL_ARGS_ASSERT_SV_VSTRING_GET \
5101 Perl_switch_to_global_locale(pTHX);
5102 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
5105 Perl_sync_locale(pTHX);
5106 #define PERL_ARGS_ASSERT_SYNC_LOCALE
5109 Perl_sys_init(int *argc, char ***argv);
5110 #define PERL_ARGS_ASSERT_SYS_INIT \
5111 assert(argc); assert(argv)
5114 Perl_sys_init3(int *argc, char ***argv, char ***env);
5115 #define PERL_ARGS_ASSERT_SYS_INIT3 \
5116 assert(argc); assert(argv); assert(env)
5119 Perl_sys_term(void);
5120 #define PERL_ARGS_ASSERT_SYS_TERM
5123 Perl_taint_env(pTHX);
5124 #define PERL_ARGS_ASSERT_TAINT_ENV
5127 Perl_taint_proper(pTHX_ const char *f, const char * const s);
5128 #define PERL_ARGS_ASSERT_TAINT_PROPER \
5132 Perl_tied_method(pTHX_ SV *methname, SV **mark, SV * const sv, const MAGIC * const mg, const U32 flags, U32 argc, ...)
5133 __attribute__visibility__("hidden");
5134 #define PERL_ARGS_ASSERT_TIED_METHOD \
5135 assert(methname); assert(mark); assert(sv); assert(mg)
5137 PERL_CALLCONV SSize_t
5138 Perl_tmps_grow_p(pTHX_ SSize_t ix);
5139 #define PERL_ARGS_ASSERT_TMPS_GROW_P
5142 to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
5145 Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
5146 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \
5147 assert(p); assert(lenp)
5150 Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
5151 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \
5152 assert(p); assert(lenp)
5155 Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
5156 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \
5157 assert(p); assert(lenp)
5160 Perl_try_amagic_bin(pTHX_ int method, int flags);
5161 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
5164 Perl_try_amagic_un(pTHX_ int method, int flags);
5165 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
5167 PERL_CALLCONV char *
5168 Perl_uiv_2buf(char * const buf, const IV iv, UV uv, const int is_uv, char ** const peob)
5169 __attribute__warn_unused_result__;
5170 #define PERL_ARGS_ASSERT_UIV_2BUF \
5171 assert(buf); assert(peob)
5173 PERL_CALLCONV SSize_t
5174 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
5175 #define PERL_ARGS_ASSERT_UNPACKSTRING \
5176 assert(pat); assert(patend); assert(s); assert(strend)
5179 Perl_unshare_hek(pTHX_ HEK *hek);
5180 #define PERL_ARGS_ASSERT_UNSHARE_HEK
5183 Perl_unsharepvn(pTHX_ const char *sv, I32 len, U32 hash);
5184 #define PERL_ARGS_ASSERT_UNSHAREPVN
5187 Perl_upg_version(pTHX_ SV *ver, bool qv);
5188 #define PERL_ARGS_ASSERT_UPG_VERSION \
5192 Perl_utf16_to_utf8(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5193 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \
5194 assert(p); assert(d); assert(newlen)
5197 Perl_utf16_to_utf8_base(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5198 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE \
5199 assert(p); assert(d); assert(newlen)
5202 Perl_utf16_to_utf8_reversed(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5203 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
5204 assert(p); assert(d); assert(newlen)
5206 /* PERL_CALLCONV U8 *
5207 Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 * const start)
5208 __attribute__warn_unused_result__; */
5210 /* PERL_CALLCONV U8 *
5211 Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 * const end)
5212 __attribute__warn_unused_result__; */
5214 /* PERL_CALLCONV U8 *
5215 Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 * const start, const U8 * const end)
5216 __attribute__warn_unused_result__; */
5218 PERL_CALLCONV STRLEN
5219 Perl_utf8_length(pTHX_ const U8 *s0, const U8 *e)
5220 __attribute__warn_unused_result__;
5221 #define PERL_ARGS_ASSERT_UTF8_LENGTH \
5222 assert(s0); assert(e)
5225 Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
5226 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
5227 assert(s); assert(lenp)
5230 Perl_utf8_to_bytes_(pTHX_ U8 **s_ptr, STRLEN *lenp, void **free_me, Perl_utf8_to_bytes_arg result_as);
5231 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES_ \
5232 assert(s_ptr); assert(lenp); assert(free_me)
5235 Perl_utf8_to_utf16_base(pTHX_ U8 *s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5236 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE \
5237 assert(s); assert(d); assert(newlen)
5239 /* PERL_CALLCONV bool
5240 Perl_utf8_to_uv(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p); */
5242 /* PERL_CALLCONV bool
5243 Perl_utf8_to_uv_errors(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p, U32 flags, U32 *errors); */
5245 /* PERL_CALLCONV bool
5246 Perl_utf8_to_uv_flags(const U8 * const s, const U8 * const e, UV *cp_p, Size_t *advance_p, U32 flags); */
5249 Perl_utf8_to_uv_msgs_helper_(const U8 * const s0, const U8 * const e, UV *cp_p, Size_t *advance_p, U32 flags, U32 *errors, AV **msgs);
5250 #define PERL_ARGS_ASSERT_UTF8_TO_UV_MSGS_HELPER_ \
5251 assert(s0); assert(e); assert(cp_p)
5254 Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags); */
5257 Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors); */
5260 Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg)
5261 __attribute__visibility__("hidden");
5262 #define PERL_ARGS_ASSERT_UTILIZE \
5265 /* PERL_CALLCONV U8 *
5266 uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
5268 /* PERL_CALLCONV U8 *
5269 uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
5271 /* PERL_CALLCONV U8 *
5272 uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV **msgs); */
5275 Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
5276 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
5280 Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV **msgs);
5281 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
5285 Perl_valid_identifier_pve(pTHX_ const char *s, const char *end, U32 flags);
5286 #define PERL_ARGS_ASSERT_VALID_IDENTIFIER_PVE \
5287 assert(s); assert(end)
5290 Perl_valid_identifier_pvn(pTHX_ const char *s, STRLEN len, U32 flags);
5291 #define PERL_ARGS_ASSERT_VALID_IDENTIFIER_PVN \
5295 Perl_valid_identifier_sv(pTHX_ SV *sv);
5296 #define PERL_ARGS_ASSERT_VALID_IDENTIFIER_SV
5299 Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
5300 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
5304 Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
5305 #define PERL_ARGS_ASSERT_VCMP \
5306 assert(lhv); assert(rhv)
5308 PERL_CALLCONV_NO_RET void
5309 Perl_vcroak(pTHX_ const char *pat, va_list *args)
5310 __attribute__noreturn__;
5311 #define PERL_ARGS_ASSERT_VCROAK
5314 Perl_vdeb(pTHX_ const char *pat, va_list *args);
5315 #define PERL_ARGS_ASSERT_VDEB \
5319 Perl_vfatal_warner(pTHX_ U32 err, const char *pat, va_list *args);
5320 #define PERL_ARGS_ASSERT_VFATAL_WARNER \
5323 PERL_CALLCONV char *
5324 Perl_vform(pTHX_ const char *pat, va_list *args);
5325 #define PERL_ARGS_ASSERT_VFORM \
5329 Perl_vivify_defelem(pTHX_ SV *sv);
5330 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
5334 Perl_vivify_ref(pTHX_ SV *sv, U32 to_what)
5335 __attribute__warn_unused_result__
5336 __attribute__visibility__("hidden");
5337 #define PERL_ARGS_ASSERT_VIVIFY_REF \
5341 Perl_vload_module(pTHX_ U32 flags, SV *name, SV *ver, va_list *args);
5342 #define PERL_ARGS_ASSERT_VLOAD_MODULE \
5346 Perl_vmess(pTHX_ const char *pat, va_list *args);
5347 #define PERL_ARGS_ASSERT_VMESS \
5351 Perl_vnewSVpvf(pTHX_ const char * const pat, va_list * const args)
5352 __attribute__warn_unused_result__;
5353 #define PERL_ARGS_ASSERT_VNEWSVPVF \
5357 Perl_vnormal(pTHX_ SV *vs);
5358 #define PERL_ARGS_ASSERT_VNORMAL \
5362 Perl_vnumify(pTHX_ SV *vs);
5363 #define PERL_ARGS_ASSERT_VNUMIFY \
5367 Perl_vstringify(pTHX_ SV *vs);
5368 #define PERL_ARGS_ASSERT_VSTRINGIFY \
5372 Perl_vverify(pTHX_ SV *vs);
5373 #define PERL_ARGS_ASSERT_VVERIFY \
5377 Perl_vwarn(pTHX_ const char *pat, va_list *args);
5378 #define PERL_ARGS_ASSERT_VWARN \
5382 Perl_vwarner(pTHX_ U32 err, const char *pat, va_list *args);
5383 #define PERL_ARGS_ASSERT_VWARNER \
5387 Perl_wait4pid(pTHX_ Pid_t pid, int *statusp, int flags)
5388 __attribute__visibility__("hidden");
5389 #define PERL_ARGS_ASSERT_WAIT4PID \
5393 Perl_warn(pTHX_ const char *pat, ...)
5394 __attribute__format__(__printf__,pTHX_1,pTHX_2);
5395 #define PERL_ARGS_ASSERT_WARN \
5399 Perl_warn_sv(pTHX_ SV *baseex);
5400 #define PERL_ARGS_ASSERT_WARN_SV \
5404 Perl_warner(pTHX_ U32 err, const char *pat, ...)
5405 __attribute__format__(__printf__,pTHX_2,pTHX_3);
5406 #define PERL_ARGS_ASSERT_WARNER \
5410 Perl_was_lvalue_sub(pTHX)
5411 __attribute__warn_unused_result__;
5412 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
5415 Perl_watch(pTHX_ char **addr)
5416 __attribute__visibility__("hidden");
5417 #define PERL_ARGS_ASSERT_WATCH \
5420 /* PERL_CALLCONV I32
5421 whichsig(pTHX_ const char *sig); */
5424 Perl_whichsig_pv(pTHX_ const char *sig);
5425 #define PERL_ARGS_ASSERT_WHICHSIG_PV \
5429 Perl_whichsig_pvn(pTHX_ const char *sig, STRLEN len);
5430 #define PERL_ARGS_ASSERT_WHICHSIG_PVN \
5434 Perl_whichsig_sv(pTHX_ SV *sigsv);
5435 #define PERL_ARGS_ASSERT_WHICHSIG_SV \
5439 Perl_wrap_infix_plugin(pTHX_ Perl_infix_plugin_t new_plugin, Perl_infix_plugin_t *old_plugin_p);
5440 #define PERL_ARGS_ASSERT_WRAP_INFIX_PLUGIN \
5441 assert(new_plugin); assert(old_plugin_p)
5444 Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
5445 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN \
5446 assert(new_plugin); assert(old_plugin_p)
5449 Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
5450 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \
5451 assert(new_checker); assert(old_checker_p)
5454 Perl_write_to_stderr(pTHX_ SV *msv)
5455 __attribute__visibility__("hidden");
5456 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
5460 Perl_xs_boot_epilog(pTHX_ const SSize_t ax);
5461 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
5463 PERL_CALLCONV Stack_off_t
5464 Perl_xs_handshake(const U32 key, void *v_my_perl, const char *file, ...);
5465 #define PERL_ARGS_ASSERT_XS_HANDSHAKE \
5466 assert(v_my_perl); assert(file)
5469 Perl_yyerror(pTHX_ const char * const s)
5470 __attribute__visibility__("hidden");
5471 #define PERL_ARGS_ASSERT_YYERROR \
5475 Perl_yyerror_pv(pTHX_ const char * const s, U32 flags)
5476 __attribute__visibility__("hidden");
5477 #define PERL_ARGS_ASSERT_YYERROR_PV \
5481 Perl_yyerror_pvn(pTHX_ const char * const s, STRLEN len, U32 flags)
5482 __attribute__visibility__("hidden");
5483 #define PERL_ARGS_ASSERT_YYERROR_PVN
5487 #define PERL_ARGS_ASSERT_YYLEX
5490 Perl_yyparse(pTHX_ int gramtype)
5491 __attribute__visibility__("hidden");
5492 #define PERL_ARGS_ASSERT_YYPARSE
5496 __attribute__visibility__("hidden");
5497 #define PERL_ARGS_ASSERT_YYQUIT
5501 __attribute__visibility__("hidden");
5502 #define PERL_ARGS_ASSERT_YYUNLEX
5504 #if defined(DEBUGGING)
5506 Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5507 __attribute__warn_unused_result__
5508 __attribute__visibility__("hidden");
5509 # define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5513 Perl_hv_assert(pTHX_ HV *hv);
5514 # define PERL_ARGS_ASSERT_HV_ASSERT \
5515 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
5518 Perl_pad_setsv(pTHX_ PADOFFSET po, SV *sv);
5519 # define PERL_ARGS_ASSERT_PAD_SETSV \
5523 Perl_pad_sv(pTHX_ PADOFFSET po);
5524 # define PERL_ARGS_ASSERT_PAD_SV
5527 Perl_set_padlist(CV *cv, PADLIST *padlist);
5528 # define PERL_ARGS_ASSERT_SET_PADLIST \
5529 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
5531 #endif /* defined(DEBUGGING) */
5532 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5534 Perl_dump_sv_child(pTHX_ SV *sv)
5535 __attribute__visibility__("hidden");
5536 # define PERL_ARGS_ASSERT_DUMP_SV_CHILD \
5540 #if !defined(EBCDIC)
5542 # if !defined(PERL_NO_INLINE_FUNCTIONS)
5543 PERL_STATIC_INLINE unsigned int
5544 Perl_variant_byte_number(PERL_UINTMAX_T word)
5545 __attribute__warn_unused_result__;
5546 # define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
5550 #if defined(F_FREESP) && !defined(HAS_CHSIZE) && !defined(HAS_TRUNCATE)
5552 Perl_my_chsize(pTHX_ int fd, Off_t length)
5553 __attribute__warn_unused_result__;
5554 # define PERL_ARGS_ASSERT_MY_CHSIZE
5557 #if !defined(HAS_GETENV_LEN)
5558 PERL_CALLCONV char *
5559 Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
5560 __attribute__visibility__("hidden");
5561 # define PERL_ARGS_ASSERT_GETENV_LEN \
5562 assert(env_elem); assert(len)
5565 #if !defined(HAS_MKOSTEMP)
5567 Perl_my_mkostemp(char *templte, int flags)
5568 __attribute__visibility__("hidden");
5569 # define PERL_ARGS_ASSERT_MY_MKOSTEMP \
5573 #if !defined(HAS_MKSTEMP)
5575 Perl_my_mkstemp(char *templte)
5576 __attribute__visibility__("hidden");
5577 # define PERL_ARGS_ASSERT_MY_MKSTEMP \
5581 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5583 Perl_do_ipcctl(pTHX_ I32 optype, SV **mark, SV **sp)
5584 __attribute__visibility__("hidden");
5585 # define PERL_ARGS_ASSERT_DO_IPCCTL \
5586 assert(mark); assert(sp)
5589 Perl_do_ipcget(pTHX_ I32 optype, SV **mark, SV **sp)
5590 __attribute__visibility__("hidden");
5591 # define PERL_ARGS_ASSERT_DO_IPCGET \
5592 assert(mark); assert(sp)
5594 PERL_CALLCONV SSize_t
5595 Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
5596 __attribute__visibility__("hidden");
5597 # define PERL_ARGS_ASSERT_DO_MSGRCV \
5598 assert(mark); assert(sp)
5601 Perl_do_msgsnd(pTHX_ SV **mark, SV **sp)
5602 __attribute__visibility__("hidden");
5603 # define PERL_ARGS_ASSERT_DO_MSGSND \
5604 assert(mark); assert(sp)
5607 Perl_do_semop(pTHX_ SV **mark, SV **sp)
5608 __attribute__visibility__("hidden");
5609 # define PERL_ARGS_ASSERT_DO_SEMOP \
5610 assert(mark); assert(sp)
5613 Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp)
5614 __attribute__visibility__("hidden");
5615 # define PERL_ARGS_ASSERT_DO_SHMIO \
5616 assert(mark); assert(sp)
5618 #endif /* defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) */
5619 #if defined(HAS_PIPE)
5621 Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5622 __attribute__warn_unused_result__
5623 __attribute__visibility__("hidden");
5624 # define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC \
5628 #if !defined(HAS_RENAME)
5630 Perl_same_dirent(pTHX_ const char *a, const char *b)
5631 __attribute__visibility__("hidden");
5632 # define PERL_ARGS_ASSERT_SAME_DIRENT \
5633 assert(a); assert(b)
5636 #if !defined(HAS_SIGNBIT)
5639 __attribute__warn_unused_result__
5640 __attribute__pure__;
5641 # define PERL_ARGS_ASSERT_PERL_SIGNBIT
5644 #if defined(HAS_SOCKET)
5646 Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5647 __attribute__warn_unused_result__
5648 __attribute__visibility__("hidden");
5649 # define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5652 Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5653 __attribute__warn_unused_result__
5654 __attribute__visibility__("hidden");
5655 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5657 #endif /* defined(HAS_SOCKET) */
5658 #if defined(HAS_SOCKETPAIR) || \
5659 ( defined(AF_INET) && defined(HAS_SOCKET) && defined(PF_INET) && \
5660 defined(SOCK_DGRAM) )
5662 Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5663 __attribute__warn_unused_result__
5664 __attribute__visibility__("hidden");
5665 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC \
5669 #if !defined(HAS_STRLCPY)
5671 Perl_my_strlcpy(char *dst, const char *src, Size_t size);
5672 # define PERL_ARGS_ASSERT_MY_STRLCPY
5675 #if defined(HAVE_INTERP_INTERN)
5677 Perl_sys_intern_clear(pTHX);
5678 # define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5681 Perl_sys_intern_init(pTHX);
5682 # define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5684 # if defined(USE_ITHREADS)
5686 Perl_sys_intern_dup(pTHX_ struct interp_intern *src, struct interp_intern *dst);
5687 # define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5688 assert(src); assert(dst)
5691 #endif /* defined(HAVE_INTERP_INTERN) */
5692 #if defined(_MSC_VER)
5694 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5695 __attribute__visibility__("hidden");
5696 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
5697 assert(sv); assert(mg)
5700 PERL_CALLCONV_NO_RET int
5701 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5702 __attribute__noreturn__
5703 __attribute__visibility__("hidden");
5704 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
5705 assert(sv); assert(mg)
5708 #if defined(MULTIPLICITY)
5709 PERL_CALLCONV_NO_RET void
5710 Perl_croak_nocontext(const char *pat, ...)
5711 __attribute__noreturn__
5712 __attribute__format__null_ok__(__printf__,1,2);
5713 # define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5716 Perl_deb_nocontext(const char *pat, ...)
5717 __attribute__format__(__printf__,1,2);
5718 # define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
5721 PERL_CALLCONV_NO_RET OP *
5722 Perl_die_nocontext(const char *pat, ...)
5723 __attribute__noreturn__
5724 __attribute__format__null_ok__(__printf__,1,2);
5725 # define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5727 PERL_CALLCONV char *
5728 Perl_form_nocontext(const char *pat, ...)
5729 __attribute__format__(__printf__,1,2);
5730 # define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5734 Perl_load_module_nocontext(U32 flags, SV *name, SV *ver, ...);
5735 # define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
5739 Perl_mess_nocontext(const char *pat, ...)
5740 __attribute__format__(__printf__,1,2);
5741 # define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5744 PERL_CALLCONV void *
5745 Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5746 # define PERL_ARGS_ASSERT_MY_CXT_INIT \
5750 Perl_newSVpvf_nocontext(const char * const pat, ...)
5751 __attribute__format__(__printf__,1,2);
5752 # define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
5756 Perl_sv_catpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5757 __attribute__format__(__printf__,2,3);
5758 # define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5759 assert(sv); assert(pat)
5762 Perl_sv_catpvf_nocontext(SV * const sv, const char * const pat, ...)
5763 __attribute__format__(__printf__,2,3);
5764 # define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
5765 assert(sv); assert(pat)
5768 Perl_sv_setpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5769 __attribute__format__(__printf__,2,3);
5770 # define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5771 assert(sv); assert(pat)
5774 Perl_sv_setpvf_nocontext(SV * const sv, const char * const pat, ...)
5775 __attribute__format__(__printf__,2,3);
5776 # define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
5777 assert(sv); assert(pat)
5780 Perl_warn_nocontext(const char *pat, ...)
5781 __attribute__format__(__printf__,1,2);
5782 # define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5786 Perl_warner_nocontext(U32 err, const char *pat, ...)
5787 __attribute__format__(__printf__,2,3);
5788 # define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
5791 #endif /* defined(MULTIPLICITY) */
5792 #if defined(MYMALLOC)
5794 Perl_dump_mstats(pTHX_ const char *s);
5795 # define PERL_ARGS_ASSERT_DUMP_MSTATS \
5799 Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5800 # define PERL_ARGS_ASSERT_GET_MSTATS \
5803 PERL_CALLCONV MEM_SIZE
5804 Perl_malloc_good_size(size_t nbytes)
5805 __attribute__warn_unused_result__
5806 __attribute__visibility__("hidden");
5807 # define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5809 PERL_CALLCONV MEM_SIZE
5810 Perl_malloced_size(void *p)
5811 __attribute__warn_unused_result__
5812 __attribute__visibility__("hidden");
5813 # define PERL_ARGS_ASSERT_MALLOCED_SIZE \
5816 #endif /* defined(MYMALLOC) */
5817 #if !defined(NO_MATHOMS)
5819 Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp);
5820 # define PERL_ARGS_ASSERT_DO_AEXEC \
5821 assert(mark); assert(sp)
5824 Perl_do_open(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp);
5825 # define PERL_ARGS_ASSERT_DO_OPEN \
5826 assert(gv); assert(name)
5829 Perl_gv_AVadd(pTHX_ GV *gv);
5830 # define PERL_ARGS_ASSERT_GV_AVADD
5833 Perl_gv_HVadd(pTHX_ GV *gv);
5834 # define PERL_ARGS_ASSERT_GV_HVADD
5837 Perl_gv_IOadd(pTHX_ GV *gv);
5838 # define PERL_ARGS_ASSERT_GV_IOADD
5841 Perl_gv_efullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5842 # define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
5843 assert(sv); assert(gv)
5846 Perl_gv_fetchmethod(pTHX_ HV *stash, const char *name);
5847 # define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
5848 assert(stash); assert(name)
5851 Perl_gv_fullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5852 # define PERL_ARGS_ASSERT_GV_FULLNAME3 \
5853 assert(sv); assert(gv)
5856 Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
5857 # define PERL_ARGS_ASSERT_HV_DELETE \
5858 assert(key); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5861 Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
5862 # define PERL_ARGS_ASSERT_HV_DELETE_ENT \
5863 assert(keysv); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5866 Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
5867 __attribute__warn_unused_result__;
5868 # define PERL_ARGS_ASSERT_HV_EXISTS \
5869 assert(key); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5872 Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
5873 __attribute__warn_unused_result__;
5874 # define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
5875 assert(keysv); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5878 Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
5879 # define PERL_ARGS_ASSERT_HV_FETCH \
5880 assert(key); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5883 Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
5884 # define PERL_ARGS_ASSERT_HV_FETCH_ENT \
5885 assert(keysv); assert(!hv || SvTYPE(hv) == SVt_PVHV)
5888 Perl_hv_iternext(pTHX_ HV *hv)
5889 __attribute__warn_unused_result__;
5890 # define PERL_ARGS_ASSERT_HV_ITERNEXT \
5891 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
5894 Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
5895 # define PERL_ARGS_ASSERT_HV_MAGIC \
5896 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
5899 Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
5900 # define PERL_ARGS_ASSERT_HV_STORE
5903 Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
5904 # define PERL_ARGS_ASSERT_HV_STORE_ENT
5907 Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
5908 # define PERL_ARGS_ASSERT_HV_STORE_FLAGS
5910 PERL_CALLCONV STRLEN
5911 Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
5912 # define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
5913 assert(buf); assert(buf_end)
5917 __attribute__warn_unused_result__;
5918 # define PERL_ARGS_ASSERT_NEWAV
5922 __attribute__warn_unused_result__;
5923 # define PERL_ARGS_ASSERT_NEWHV
5927 __attribute__warn_unused_result__;
5928 # define PERL_ARGS_ASSERT_NEWIO
5931 Perl_newSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *block);
5932 # define PERL_ARGS_ASSERT_NEWSUB
5935 Perl_newSVsv(pTHX_ SV * const old)
5936 __attribute__warn_unused_result__;
5937 # define PERL_ARGS_ASSERT_NEWSVSV
5940 Perl_save_freeop(pTHX_ OP *o);
5941 # define PERL_ARGS_ASSERT_SAVE_FREEOP
5944 Perl_save_freepv(pTHX_ char *pv);
5945 # define PERL_ARGS_ASSERT_SAVE_FREEPV
5948 Perl_save_freesv(pTHX_ SV *sv);
5949 # define PERL_ARGS_ASSERT_SAVE_FREESV
5952 Perl_save_mortalizesv(pTHX_ SV *sv);
5953 # define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
5958 # define PERL_ARGS_ASSERT_SAVE_OP
5961 Perl_sv_2bool(pTHX_ SV * const sv);
5962 # define PERL_ARGS_ASSERT_SV_2BOOL \
5966 Perl_sv_2iv(pTHX_ SV *sv);
5967 # define PERL_ARGS_ASSERT_SV_2IV \
5970 PERL_CALLCONV char *
5971 Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
5972 # define PERL_ARGS_ASSERT_SV_2PV \
5975 PERL_CALLCONV char *
5976 Perl_sv_2pv_nolen(pTHX_ SV *sv)
5977 __attribute__warn_unused_result__;
5978 # define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
5981 PERL_CALLCONV char *
5982 Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN * const lp);
5983 # define PERL_ARGS_ASSERT_SV_2PVBYTE \
5986 PERL_CALLCONV char *
5987 Perl_sv_2pvbyte_nolen(pTHX_ SV *sv)
5988 __attribute__warn_unused_result__;
5989 # define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
5992 PERL_CALLCONV char *
5993 Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN * const lp);
5994 # define PERL_ARGS_ASSERT_SV_2PVUTF8 \
5997 PERL_CALLCONV char *
5998 Perl_sv_2pvutf8_nolen(pTHX_ SV *sv)
5999 __attribute__warn_unused_result__;
6000 # define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
6004 Perl_sv_2uv(pTHX_ SV *sv);
6005 # define PERL_ARGS_ASSERT_SV_2UV \
6009 Perl_sv_catpvn(pTHX_ SV * const dsv, const char *sstr, STRLEN len);
6010 # define PERL_ARGS_ASSERT_SV_CATPVN \
6011 assert(dsv); assert(sstr)
6014 Perl_sv_catpvn_mg(pTHX_ SV * const dsv, const char *sstr, STRLEN len);
6015 # define PERL_ARGS_ASSERT_SV_CATPVN_MG \
6016 assert(dsv); assert(sstr)
6019 Perl_sv_catsv(pTHX_ SV * const dsv, SV * const sstr);
6020 # define PERL_ARGS_ASSERT_SV_CATSV \
6024 Perl_sv_catsv_mg(pTHX_ SV * const dsv, SV * const sstr);
6025 # define PERL_ARGS_ASSERT_SV_CATSV_MG \
6029 Perl_sv_copypv(pTHX_ SV * const dsv, SV * const ssv);
6030 # define PERL_ARGS_ASSERT_SV_COPYPV \
6031 assert(dsv); assert(ssv)
6034 Perl_sv_eq(pTHX_ SV *sv1, SV *sv2);
6035 # define PERL_ARGS_ASSERT_SV_EQ
6038 Perl_sv_force_normal(pTHX_ SV *sv);
6039 # define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
6043 Perl_sv_insert(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char * const little, const STRLEN littlelen);
6044 # define PERL_ARGS_ASSERT_SV_INSERT \
6045 assert(bigstr); assert(little)
6048 Perl_sv_mortalcopy(pTHX_ SV * const oldsv)
6049 __attribute__warn_unused_result__;
6050 # define PERL_ARGS_ASSERT_SV_MORTALCOPY
6053 Perl_sv_nolocking(pTHX_ SV *sv)
6054 __attribute__deprecated__;
6055 # define PERL_ARGS_ASSERT_SV_NOLOCKING
6058 Perl_sv_nounlocking(pTHX_ SV *sv)
6059 __attribute__deprecated__;
6060 # define PERL_ARGS_ASSERT_SV_NOUNLOCKING
6062 PERL_CALLCONV char *
6063 Perl_sv_pv(pTHX_ SV *sv)
6064 __attribute__warn_unused_result__;
6065 # define PERL_ARGS_ASSERT_SV_PV \
6068 PERL_CALLCONV char *
6069 Perl_sv_pvbyte(pTHX_ SV *sv)
6070 __attribute__warn_unused_result__;
6071 # define PERL_ARGS_ASSERT_SV_PVBYTE \
6074 PERL_CALLCONV char *
6075 Perl_sv_pvn_force(pTHX_ SV *sv, STRLEN *lp);
6076 # define PERL_ARGS_ASSERT_SV_PVN_FORCE \
6079 PERL_CALLCONV char *
6080 Perl_sv_pvutf8(pTHX_ SV *sv)
6081 __attribute__warn_unused_result__;
6082 # define PERL_ARGS_ASSERT_SV_PVUTF8 \
6086 Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
6087 # define PERL_ARGS_ASSERT_SV_SETSV \
6091 Perl_sv_taint(pTHX_ SV *sv);
6092 # define PERL_ARGS_ASSERT_SV_TAINT \
6096 Perl_sv_unref(pTHX_ SV *sv);
6097 # define PERL_ARGS_ASSERT_SV_UNREF \
6101 Perl_sv_usepvn(pTHX_ SV *sv, char *ptr, STRLEN len);
6102 # define PERL_ARGS_ASSERT_SV_USEPVN \
6106 Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
6107 # define PERL_ARGS_ASSERT_SV_USEPVN_MG \
6111 Perl_sv_utf8_downgrade(pTHX_ SV * const sv, const bool fail_ok);
6112 # define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \
6115 PERL_CALLCONV STRLEN
6116 Perl_sv_utf8_upgrade(pTHX_ SV *sv);
6117 # define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \
6121 Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
6122 __attribute__deprecated__;
6123 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \
6127 Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
6128 __attribute__deprecated__;
6129 # define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \
6133 Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
6134 __attribute__deprecated__;
6135 # define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
6139 Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
6140 __attribute__deprecated__;
6141 # define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
6144 # if defined(PERL_DONT_CREATE_GVSV)
6146 Perl_gv_SVadd(pTHX_ GV *gv);
6147 # define PERL_ARGS_ASSERT_GV_SVADD
6150 # if defined(PERL_IN_MATHOMS_C) || defined(PERL_IN_OP_C) || \
6151 defined(PERL_IN_PERLY_C) || defined(PERL_IN_TOKE_C)
6153 Perl_ref(pTHX_ OP *o, I32 type);
6154 # define PERL_ARGS_ASSERT_REF
6157 # if defined(USE_LOCALE_COLLATE)
6158 PERL_CALLCONV char *
6159 Perl_sv_collxfrm(pTHX_ SV * const sv, STRLEN * const nxp);
6160 # define PERL_ARGS_ASSERT_SV_COLLXFRM \
6161 assert(sv); assert(nxp)
6164 #endif /* !defined(NO_MATHOMS) */
6165 #if defined(PERL_ANY_COW)
6167 Perl_sv_setsv_cow(pTHX_ SV *dsv, SV *ssv);
6168 # define PERL_ARGS_ASSERT_SV_SETSV_COW \
6172 #if defined(PERL_CORE)
6174 Perl_opslab_force_free(pTHX_ OPSLAB *slab)
6175 __attribute__visibility__("hidden");
6176 # define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE \
6180 Perl_opslab_free(pTHX_ OPSLAB *slab)
6181 __attribute__visibility__("hidden");
6182 # define PERL_ARGS_ASSERT_OPSLAB_FREE \
6186 Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
6187 __attribute__visibility__("hidden");
6188 # define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD \
6192 Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
6193 __attribute__visibility__("hidden");
6194 # define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \
6195 assert(parser); assert(slab)
6197 # if defined(PERL_DEBUG_READONLY_OPS)
6199 Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
6200 # define PERL_ARGS_ASSERT_SLAB_TO_RO \
6204 Perl_Slab_to_rw(pTHX_ OPSLAB * const slab);
6205 # define PERL_ARGS_ASSERT_SLAB_TO_RW \
6208 # endif /* defined(PERL_DEBUG_READONLY_OPS) */
6209 # if !defined(PERL_NO_INLINE_FUNCTIONS)
6210 PERL_STATIC_INLINE bool
6211 S_should_warn_nl(const char *pv)
6212 __attribute__warn_unused_result__;
6213 # define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
6217 #endif /* defined(PERL_CORE) */
6218 #if defined(PERL_CORE) || defined(PERL_EXT)
6220 Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
6221 __attribute__warn_unused_result__;
6222 # define PERL_ARGS_ASSERT_ISSCRIPT_RUN \
6223 assert(s); assert(send)
6225 #endif /* defined(PERL_CORE) || defined(PERL_EXT) */
6226 #if defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API)
6228 Perl_finalize_optree(pTHX_ OP *o);
6229 # define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
6233 Perl_optimize_optree(pTHX_ OP *o);
6234 # define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE \
6237 #endif /* defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API) */
6238 #if defined(PERL_DEBUG_READONLY_COW)
6240 Perl_sv_buf_to_ro(pTHX_ SV *sv)
6241 __attribute__visibility__("hidden");
6242 # define PERL_ARGS_ASSERT_SV_BUF_TO_RO \
6246 #if defined(PERL_DEBUG_READONLY_OPS)
6247 PERL_CALLCONV PADOFFSET
6248 Perl_op_refcnt_dec(pTHX_ OP *o);
6249 # define PERL_ARGS_ASSERT_OP_REFCNT_DEC \
6253 Perl_op_refcnt_inc(pTHX_ OP *o);
6254 # define PERL_ARGS_ASSERT_OP_REFCNT_INC
6256 #endif /* defined(PERL_DEBUG_READONLY_OPS) */
6257 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
6259 Perl_do_exec(pTHX_ const char *cmd)
6260 __attribute__visibility__("hidden");
6261 # define PERL_ARGS_ASSERT_DO_EXEC \
6266 Perl_do_exec(pTHX_ const char *cmd)
6267 __attribute__visibility__("hidden");
6268 # define PERL_ARGS_ASSERT_DO_EXEC \
6272 #if defined(PERL_IMPLICIT_SYS)
6273 PERL_CALLCONV PerlInterpreter *
6274 perl_alloc_using(const struct IPerlMem **ipM, const struct IPerlMem **ipMS, const struct IPerlMem **ipMP, const struct IPerlEnv **ipE, const struct IPerlStdIO **ipStd, const struct IPerlLIO **ipLIO, const struct IPerlDir **ipD, const struct IPerlSock **ipS, const struct IPerlProc **ipP);
6275 # define PERL_ARGS_ASSERT_PERL_ALLOC_USING \
6276 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); \
6277 assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6279 # if defined(USE_ITHREADS)
6280 PERL_CALLCONV PerlInterpreter *
6281 perl_clone_using(PerlInterpreter *proto_perl, UV flags, const struct IPerlMem **ipM, const struct IPerlMem **ipMS, const struct IPerlMem **ipMP, const struct IPerlEnv **ipE, const struct IPerlStdIO **ipStd, const struct IPerlLIO **ipLIO, const struct IPerlDir **ipD, const struct IPerlSock **ipS, const struct IPerlProc **ipP);
6282 # define PERL_ARGS_ASSERT_PERL_CLONE_USING \
6283 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); \
6284 assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6287 #else /* if !defined(PERL_IMPLICIT_SYS) */
6289 Perl_my_pclose(pTHX_ PerlIO *ptr);
6290 # define PERL_ARGS_ASSERT_MY_PCLOSE
6292 PERL_CALLCONV PerlIO *
6293 Perl_my_popen(pTHX_ const char *cmd, const char *mode);
6294 # define PERL_ARGS_ASSERT_MY_POPEN \
6295 assert(cmd); assert(mode)
6297 #endif /* !defined(PERL_IMPLICIT_SYS) */
6298 #if defined(PERL_IN_AV_C)
6300 S_get_aux_mg(pTHX_ AV *av);
6301 # define PERL_ARGS_ASSERT_GET_AUX_MG \
6302 assert(av); assert(SvTYPE(av) == SVt_PVAV)
6305 #if defined(PERL_IN_BUILTIN_C) || defined(PERL_IN_OP_C)
6307 Perl_XS_builtin_indexed(pTHX_ CV *cv)
6308 __attribute__visibility__("hidden");
6309 # define PERL_ARGS_ASSERT_XS_BUILTIN_INDEXED \
6310 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
6313 Perl_finish_export_lexical(pTHX)
6314 __attribute__visibility__("hidden");
6315 # define PERL_ARGS_ASSERT_FINISH_EXPORT_LEXICAL
6318 Perl_import_builtin_bundle(pTHX_ U16 ver)
6319 __attribute__visibility__("hidden");
6320 # define PERL_ARGS_ASSERT_IMPORT_BUILTIN_BUNDLE
6323 Perl_prepare_export_lexical(pTHX)
6324 __attribute__visibility__("hidden");
6325 # define PERL_ARGS_ASSERT_PREPARE_EXPORT_LEXICAL
6327 #endif /* defined(PERL_IN_BUILTIN_C) || defined(PERL_IN_OP_C) */
6328 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) || \
6329 defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
6331 Perl_ck_anoncode(pTHX_ OP *o)
6332 __attribute__warn_unused_result__
6333 __attribute__visibility__("hidden");
6334 # define PERL_ARGS_ASSERT_CK_ANONCODE \
6338 Perl_ck_backtick(pTHX_ OP *o)
6339 __attribute__warn_unused_result__
6340 __attribute__visibility__("hidden");
6341 # define PERL_ARGS_ASSERT_CK_BACKTICK \
6345 Perl_ck_bitop(pTHX_ OP *o)
6346 __attribute__warn_unused_result__
6347 __attribute__visibility__("hidden");
6348 # define PERL_ARGS_ASSERT_CK_BITOP \
6352 Perl_ck_classname(pTHX_ OP *o)
6353 __attribute__warn_unused_result__
6354 __attribute__visibility__("hidden");
6355 # define PERL_ARGS_ASSERT_CK_CLASSNAME \
6359 Perl_ck_cmp(pTHX_ OP *o)
6360 __attribute__warn_unused_result__
6361 __attribute__visibility__("hidden");
6362 # define PERL_ARGS_ASSERT_CK_CMP \
6366 Perl_ck_concat(pTHX_ OP *o)
6367 __attribute__warn_unused_result__
6368 __attribute__visibility__("hidden");
6369 # define PERL_ARGS_ASSERT_CK_CONCAT \
6373 Perl_ck_defined(pTHX_ OP *o)
6374 __attribute__warn_unused_result__
6375 __attribute__visibility__("hidden");
6376 # define PERL_ARGS_ASSERT_CK_DEFINED \
6380 Perl_ck_delete(pTHX_ OP *o)
6381 __attribute__warn_unused_result__
6382 __attribute__visibility__("hidden");
6383 # define PERL_ARGS_ASSERT_CK_DELETE \
6387 Perl_ck_each(pTHX_ OP *o)
6388 __attribute__warn_unused_result__
6389 __attribute__visibility__("hidden");
6390 # define PERL_ARGS_ASSERT_CK_EACH \
6394 Perl_ck_eof(pTHX_ OP *o)
6395 __attribute__warn_unused_result__
6396 __attribute__visibility__("hidden");
6397 # define PERL_ARGS_ASSERT_CK_EOF \
6401 Perl_ck_eval(pTHX_ OP *o)
6402 __attribute__warn_unused_result__
6403 __attribute__visibility__("hidden");
6404 # define PERL_ARGS_ASSERT_CK_EVAL \
6408 Perl_ck_exec(pTHX_ OP *o)
6409 __attribute__warn_unused_result__
6410 __attribute__visibility__("hidden");
6411 # define PERL_ARGS_ASSERT_CK_EXEC \
6415 Perl_ck_exists(pTHX_ OP *o)
6416 __attribute__warn_unused_result__
6417 __attribute__visibility__("hidden");
6418 # define PERL_ARGS_ASSERT_CK_EXISTS \
6422 Perl_ck_ftst(pTHX_ OP *o)
6423 __attribute__warn_unused_result__
6424 __attribute__visibility__("hidden");
6425 # define PERL_ARGS_ASSERT_CK_FTST \
6429 Perl_ck_fun(pTHX_ OP *o)
6430 __attribute__warn_unused_result__
6431 __attribute__visibility__("hidden");
6432 # define PERL_ARGS_ASSERT_CK_FUN \
6436 Perl_ck_glob(pTHX_ OP *o)
6437 __attribute__warn_unused_result__
6438 __attribute__visibility__("hidden");
6439 # define PERL_ARGS_ASSERT_CK_GLOB \
6443 Perl_ck_grep(pTHX_ OP *o)
6444 __attribute__warn_unused_result__
6445 __attribute__visibility__("hidden");
6446 # define PERL_ARGS_ASSERT_CK_GREP \
6450 Perl_ck_helemexistsor(pTHX_ OP *o)
6451 __attribute__warn_unused_result__
6452 __attribute__visibility__("hidden");
6453 # define PERL_ARGS_ASSERT_CK_HELEMEXISTSOR \
6457 Perl_ck_index(pTHX_ OP *o)
6458 __attribute__warn_unused_result__
6459 __attribute__visibility__("hidden");
6460 # define PERL_ARGS_ASSERT_CK_INDEX \
6464 Perl_ck_isa(pTHX_ OP *o)
6465 __attribute__warn_unused_result__
6466 __attribute__visibility__("hidden");
6467 # define PERL_ARGS_ASSERT_CK_ISA \
6471 Perl_ck_join(pTHX_ OP *o)
6472 __attribute__warn_unused_result__
6473 __attribute__visibility__("hidden");
6474 # define PERL_ARGS_ASSERT_CK_JOIN \
6478 Perl_ck_length(pTHX_ OP *o)
6479 __attribute__warn_unused_result__
6480 __attribute__visibility__("hidden");
6481 # define PERL_ARGS_ASSERT_CK_LENGTH \
6485 Perl_ck_lfun(pTHX_ OP *o)
6486 __attribute__warn_unused_result__
6487 __attribute__visibility__("hidden");
6488 # define PERL_ARGS_ASSERT_CK_LFUN \
6492 Perl_ck_listiob(pTHX_ OP *o)
6493 __attribute__warn_unused_result__
6494 __attribute__visibility__("hidden");
6495 # define PERL_ARGS_ASSERT_CK_LISTIOB \
6499 Perl_ck_match(pTHX_ OP *o)
6500 __attribute__warn_unused_result__
6501 __attribute__visibility__("hidden");
6502 # define PERL_ARGS_ASSERT_CK_MATCH \
6506 Perl_ck_method(pTHX_ OP *o)
6507 __attribute__warn_unused_result__
6508 __attribute__visibility__("hidden");
6509 # define PERL_ARGS_ASSERT_CK_METHOD \
6513 Perl_ck_null(pTHX_ OP *o)
6514 __attribute__warn_unused_result__
6515 __attribute__visibility__("hidden");
6516 # define PERL_ARGS_ASSERT_CK_NULL \
6520 Perl_ck_open(pTHX_ OP *o)
6521 __attribute__warn_unused_result__
6522 __attribute__visibility__("hidden");
6523 # define PERL_ARGS_ASSERT_CK_OPEN \
6527 Perl_ck_prototype(pTHX_ OP *o)
6528 __attribute__warn_unused_result__
6529 __attribute__visibility__("hidden");
6530 # define PERL_ARGS_ASSERT_CK_PROTOTYPE \
6534 Perl_ck_readline(pTHX_ OP *o)
6535 __attribute__warn_unused_result__
6536 __attribute__visibility__("hidden");
6537 # define PERL_ARGS_ASSERT_CK_READLINE \
6541 Perl_ck_refassign(pTHX_ OP *o)
6542 __attribute__warn_unused_result__
6543 __attribute__visibility__("hidden");
6544 # define PERL_ARGS_ASSERT_CK_REFASSIGN \
6548 Perl_ck_repeat(pTHX_ OP *o)
6549 __attribute__warn_unused_result__
6550 __attribute__visibility__("hidden");
6551 # define PERL_ARGS_ASSERT_CK_REPEAT \
6555 Perl_ck_require(pTHX_ OP *o)
6556 __attribute__warn_unused_result__
6557 __attribute__visibility__("hidden");
6558 # define PERL_ARGS_ASSERT_CK_REQUIRE \
6562 Perl_ck_return(pTHX_ OP *o)
6563 __attribute__warn_unused_result__
6564 __attribute__visibility__("hidden");
6565 # define PERL_ARGS_ASSERT_CK_RETURN \
6569 Perl_ck_rfun(pTHX_ OP *o)
6570 __attribute__warn_unused_result__
6571 __attribute__visibility__("hidden");
6572 # define PERL_ARGS_ASSERT_CK_RFUN \
6576 Perl_ck_rvconst(pTHX_ OP *o)
6577 __attribute__warn_unused_result__
6578 __attribute__visibility__("hidden");
6579 # define PERL_ARGS_ASSERT_CK_RVCONST \
6583 Perl_ck_sassign(pTHX_ OP *o)
6584 __attribute__warn_unused_result__
6585 __attribute__visibility__("hidden");
6586 # define PERL_ARGS_ASSERT_CK_SASSIGN \
6590 Perl_ck_scmp(pTHX_ OP *o)
6591 __attribute__warn_unused_result__
6592 __attribute__visibility__("hidden");
6593 # define PERL_ARGS_ASSERT_CK_SCMP \
6597 Perl_ck_select(pTHX_ OP *o)
6598 __attribute__warn_unused_result__
6599 __attribute__visibility__("hidden");
6600 # define PERL_ARGS_ASSERT_CK_SELECT \
6604 Perl_ck_shift(pTHX_ OP *o)
6605 __attribute__warn_unused_result__
6606 __attribute__visibility__("hidden");
6607 # define PERL_ARGS_ASSERT_CK_SHIFT \
6611 Perl_ck_smartmatch(pTHX_ OP *o)
6612 __attribute__warn_unused_result__
6613 __attribute__visibility__("hidden");
6614 # define PERL_ARGS_ASSERT_CK_SMARTMATCH \
6618 Perl_ck_sort(pTHX_ OP *o)
6619 __attribute__warn_unused_result__
6620 __attribute__visibility__("hidden");
6621 # define PERL_ARGS_ASSERT_CK_SORT \
6625 Perl_ck_spair(pTHX_ OP *o)
6626 __attribute__warn_unused_result__
6627 __attribute__visibility__("hidden");
6628 # define PERL_ARGS_ASSERT_CK_SPAIR \
6632 Perl_ck_split(pTHX_ OP *o)
6633 __attribute__warn_unused_result__
6634 __attribute__visibility__("hidden");
6635 # define PERL_ARGS_ASSERT_CK_SPLIT \
6639 Perl_ck_stringify(pTHX_ OP *o)
6640 __attribute__warn_unused_result__
6641 __attribute__visibility__("hidden");
6642 # define PERL_ARGS_ASSERT_CK_STRINGIFY \
6646 Perl_ck_subr(pTHX_ OP *o)
6647 __attribute__warn_unused_result__
6648 __attribute__visibility__("hidden");
6649 # define PERL_ARGS_ASSERT_CK_SUBR \
6653 Perl_ck_substr(pTHX_ OP *o)
6654 __attribute__warn_unused_result__
6655 __attribute__visibility__("hidden");
6656 # define PERL_ARGS_ASSERT_CK_SUBSTR \
6660 Perl_ck_svconst(pTHX_ OP *o)
6661 __attribute__warn_unused_result__
6662 __attribute__visibility__("hidden");
6663 # define PERL_ARGS_ASSERT_CK_SVCONST \
6667 Perl_ck_tell(pTHX_ OP *o)
6668 __attribute__warn_unused_result__
6669 __attribute__visibility__("hidden");
6670 # define PERL_ARGS_ASSERT_CK_TELL \
6674 Perl_ck_trunc(pTHX_ OP *o)
6675 __attribute__warn_unused_result__
6676 __attribute__visibility__("hidden");
6677 # define PERL_ARGS_ASSERT_CK_TRUNC \
6681 Perl_ck_trycatch(pTHX_ OP *o)
6682 __attribute__warn_unused_result__
6683 __attribute__visibility__("hidden");
6684 # define PERL_ARGS_ASSERT_CK_TRYCATCH \
6687 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) ||
6688 defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */
6689 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) || \
6690 defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) || \
6691 defined(PERL_IN_TOKE_C)
6693 Perl_class_add_ADJUST(pTHX_ HV *stash, CV *cv);
6694 # define PERL_ARGS_ASSERT_CLASS_ADD_ADJUST \
6695 assert(stash); assert(cv); assert(SvTYPE(stash) == SVt_PVHV); \
6696 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
6699 Perl_class_add_field(pTHX_ HV *stash, PADNAME *pn);
6700 # define PERL_ARGS_ASSERT_CLASS_ADD_FIELD \
6701 assert(stash); assert(pn); assert(SvTYPE(stash) == SVt_PVHV)
6704 Perl_class_apply_attributes(pTHX_ HV *stash, OP *attrlist);
6705 # define PERL_ARGS_ASSERT_CLASS_APPLY_ATTRIBUTES \
6706 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
6709 Perl_class_apply_field_attributes(pTHX_ PADNAME *pn, OP *attrlist);
6710 # define PERL_ARGS_ASSERT_CLASS_APPLY_FIELD_ATTRIBUTES \
6714 Perl_class_prepare_initfield_parse(pTHX);
6715 # define PERL_ARGS_ASSERT_CLASS_PREPARE_INITFIELD_PARSE
6718 Perl_class_prepare_method_parse(pTHX_ CV *cv);
6719 # define PERL_ARGS_ASSERT_CLASS_PREPARE_METHOD_PARSE \
6720 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
6723 Perl_class_seal_stash(pTHX_ HV *stash);
6724 # define PERL_ARGS_ASSERT_CLASS_SEAL_STASH \
6725 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
6728 Perl_class_set_field_defop(pTHX_ PADNAME *pn, OPCODE defmode, OP *defop);
6729 # define PERL_ARGS_ASSERT_CLASS_SET_FIELD_DEFOP \
6730 assert(pn); assert(defop)
6733 Perl_class_setup_stash(pTHX_ HV *stash);
6734 # define PERL_ARGS_ASSERT_CLASS_SETUP_STASH \
6735 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
6738 Perl_class_wrap_method_body(pTHX_ OP *o);
6739 # define PERL_ARGS_ASSERT_CLASS_WRAP_METHOD_BODY
6742 Perl_croak_kw_unless_class(pTHX_ const char *kw);
6743 # define PERL_ARGS_ASSERT_CROAK_KW_UNLESS_CLASS \
6746 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) ||
6747 defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) ||
6748 defined(PERL_IN_TOKE_C) */
6749 #if defined(PERL_IN_DEB_C)
6751 S_deb_stack_n(pTHX_ SV **stack_base, SSize_t stack_min, SSize_t stack_max, SSize_t mark_min, SSize_t mark_max, SSize_t nonrc_base);
6752 # define PERL_ARGS_ASSERT_DEB_STACK_N \
6756 #if defined(PERL_IN_DOIO_C)
6758 S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
6759 # define PERL_ARGS_ASSERT_ARGVOUT_FINAL \
6760 assert(mg); assert(io)
6763 S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
6764 # define PERL_ARGS_ASSERT_EXEC_FAILED \
6768 S_is_fork_open(const char *name);
6769 # define PERL_ARGS_ASSERT_IS_FORK_OPEN \
6773 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);
6774 # define PERL_ARGS_ASSERT_OPENN_CLEANUP \
6775 assert(gv); assert(io); assert(mode); assert(oname)
6778 S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
6779 # define PERL_ARGS_ASSERT_OPENN_SETUP \
6780 assert(gv); assert(mode); assert(saveifp); assert(saveofp); \
6781 assert(savefd); assert(savetype)
6783 # if !defined(DOSISH)
6785 S_ingroup(pTHX_ Gid_t testgid, bool effective)
6786 __attribute__warn_unused_result__;
6787 # define PERL_ARGS_ASSERT_INGROUP
6790 #endif /* defined(PERL_IN_DOIO_C) */
6791 #if defined(PERL_IN_DOOP_C)
6793 S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6794 __attribute__warn_unused_result__;
6795 # define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \
6796 assert(sv); assert(tbl)
6799 S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6800 __attribute__warn_unused_result__;
6801 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
6802 assert(sv); assert(tbl)
6805 S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const invmap)
6806 __attribute__warn_unused_result__;
6807 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP \
6808 assert(sv); assert(invmap); assert(SvTYPE(invmap) == SVt_PVAV)
6811 S_do_trans_invmap(pTHX_ SV * const sv, AV * const invmap)
6812 __attribute__warn_unused_result__;
6813 # define PERL_ARGS_ASSERT_DO_TRANS_INVMAP \
6814 assert(sv); assert(invmap); assert(SvTYPE(invmap) == SVt_PVAV)
6817 S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6818 __attribute__warn_unused_result__;
6819 # define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \
6820 assert(sv); assert(tbl)
6822 #endif /* defined(PERL_IN_DOOP_C) */
6823 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6824 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
6825 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || \
6826 defined(PERL_IN_UTF8_C)
6828 PERL_CALLCONV SSize_t
6829 Perl__invlist_search(SV * const invlist, const UV cp)
6830 __attribute__warn_unused_result__;
6831 # define PERL_ARGS_ASSERT__INVLIST_SEARCH \
6834 #endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
6835 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) ||
6836 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) ||
6837 defined(PERL_IN_UTF8_C) */
6838 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6839 defined(PERL_IN_REGCOMP_ANY)
6842 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6843 defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C)
6845 Perl__add_range_to_invlist(pTHX_ SV *invlist, UV start, UV end)
6846 __attribute__warn_unused_result__;
6847 # define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6849 /* PERL_CALLCONV void
6850 _invlist_intersection(pTHX_ SV * const a, SV * const b, SV **i); */
6853 Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **i);
6854 # define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \
6855 assert(b); assert(i)
6858 Perl__invlist_invert(pTHX_ SV * const invlist);
6859 # define PERL_ARGS_ASSERT__INVLIST_INVERT \
6862 /* PERL_CALLCONV void
6863 _invlist_subtract(pTHX_ SV * const a, SV * const b, SV **result); */
6865 /* PERL_CALLCONV void
6866 _invlist_union(pTHX_ SV * const a, SV * const b, SV **output); */
6869 Perl__invlist_union_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **output);
6870 # define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \
6871 assert(b); assert(output)
6874 Perl__new_invlist(pTHX_ IV initial_size)
6875 __attribute__warn_unused_result__;
6876 # define PERL_ARGS_ASSERT__NEW_INVLIST
6879 Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV **other_elements_ptr)
6880 __attribute__warn_unused_result__;
6881 # define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \
6882 assert(other_elements_ptr)
6884 #endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
6885 defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C) */
6886 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6887 defined(PERL_IN_TOKE_C)
6888 PERL_CALLCONV const char *
6889 Perl_form_alien_digit_msg(pTHX_ const U8 which, const STRLEN valids_len, const char * const first_bad, const char * const send, const bool UTF, const bool braced)
6890 __attribute__warn_unused_result__;
6891 # define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG \
6892 assert(first_bad); assert(send)
6895 Perl_grok_bslash_c(pTHX_ const char source, U8 *result, const char **message, U32 *packed_warn)
6896 __attribute__warn_unused_result__;
6897 # define PERL_ARGS_ASSERT_GROK_BSLASH_C \
6898 assert(result); assert(message)
6901 Perl_grok_bslash_o(pTHX_ char **s, const char * const send, UV *uv, const char **message, U32 *packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6902 __attribute__warn_unused_result__;
6903 # define PERL_ARGS_ASSERT_GROK_BSLASH_O \
6904 assert(s); assert(send); assert(uv); assert(message)
6907 Perl_grok_bslash_x(pTHX_ char **s, const char * const send, UV *uv, const char **message, U32 *packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6908 __attribute__warn_unused_result__;
6909 # define PERL_ARGS_ASSERT_GROK_BSLASH_X \
6910 assert(s); assert(send); assert(uv); assert(message)
6912 #endif /* defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) ||
6913 defined(PERL_IN_TOKE_C) */
6914 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6915 defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6916 PERL_CALLCONV const char *
6917 Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char *string, const Size_t len, const UV cp)
6918 __attribute__warn_unused_result__;
6919 # define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6922 #if defined(PERL_IN_DUMP_C)
6924 S_deb_curcv(pTHX_ I32 ix);
6925 # define PERL_ARGS_ASSERT_DEB_CURCV
6928 S_debprof(pTHX_ const OP *o);
6929 # define PERL_ARGS_ASSERT_DEBPROF \
6933 S_pm_description(pTHX_ const PMOP *pm);
6934 # define PERL_ARGS_ASSERT_PM_DESCRIPTION \
6938 S_sequence_num(pTHX_ const OP *o);
6939 # define PERL_ARGS_ASSERT_SEQUENCE_NUM
6941 #endif /* defined(PERL_IN_DUMP_C) */
6942 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || \
6943 defined(PERL_IN_SCOPE_C) || defined(PERL_IN_SV_C)
6945 Perl_hv_kill_backrefs(pTHX_ HV *hv)
6946 __attribute__visibility__("hidden");
6947 # define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \
6948 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
6951 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_OP_C) || \
6952 defined(PERL_IN_REGCOMP_ANY)
6954 Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char * const indent, SV * const invlist);
6955 # define PERL_ARGS_ASSERT__INVLIST_DUMP \
6956 assert(file); assert(indent); assert(invlist)
6959 #if defined(PERL_IN_GV_C)
6961 S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
6962 # define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \
6963 assert(stash); assert(name)
6966 S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
6967 # define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
6971 S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
6972 # define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \
6976 S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
6977 # define PERL_ARGS_ASSERT_GV_MAGICALIZE \
6978 assert(gv); assert(stash); assert(name); \
6979 assert(SvTYPE(stash) == SVt_PVHV)
6982 S_gv_magicalize_isa(pTHX_ GV *gv);
6983 # define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
6987 S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
6988 # define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV \
6989 assert(gv); assert(name)
6992 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);
6993 # define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME \
6994 assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
6997 S_require_tie_mod(pTHX_ GV *gv, const char varname, const char *name, STRLEN len, const U32 flags);
6998 # define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \
6999 assert(gv); assert(varname); assert(name)
7001 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7002 PERL_STATIC_INLINE GV *
7003 S_gv_fetchmeth_internal(pTHX_ HV *stash, SV *meth, const char *name, STRLEN len, I32 level, U32 flags);
7004 # define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
7006 PERL_STATIC_INLINE HV *
7007 S_gv_stashpvn_internal(pTHX_ const char *name, U32 namelen, I32 flags);
7008 # define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \
7011 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7012 #endif /* defined(PERL_IN_GV_C) */
7013 #if defined(PERL_IN_GV_C) || defined(PERL_IN_OP_C) || \
7014 defined(PERL_IN_PAD_C) || defined(PERL_IN_SV_C)
7016 Perl_sv_add_backref(pTHX_ SV * const tsv, SV * const sv)
7017 __attribute__visibility__("hidden");
7018 # define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
7019 assert(tsv); assert(sv)
7022 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
7024 Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char *name, U32 namelen, I32 flags)
7025 __attribute__visibility__("hidden");
7028 #if defined(PERL_IN_HV_C)
7030 S_clear_placeholders(pTHX_ HV *hv, U32 items);
7031 # define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \
7032 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
7035 S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
7036 # define PERL_ARGS_ASSERT_HSPLIT \
7037 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
7039 STATIC struct xpvhv_aux *
7040 S_hv_auxinit(pTHX_ HV *hv);
7041 # define PERL_ARGS_ASSERT_HV_AUXINIT \
7042 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
7045 S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
7046 # define PERL_ARGS_ASSERT_HV_DELETE_COMMON
7049 S_hv_free_ent_ret(pTHX_ HE *entry);
7050 # define PERL_ARGS_ASSERT_HV_FREE_ENT_RET \
7054 S_hv_free_entries(pTHX_ HV *hv);
7055 # define PERL_ARGS_ASSERT_HV_FREE_ENTRIES \
7056 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
7059 S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
7060 # define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
7061 assert(hv); assert(needs_copy); assert(needs_store); \
7062 assert(SvTYPE(hv) == SVt_PVHV)
7064 PERL_STATIC_NO_RET void
7065 S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
7066 __attribute__noreturn__;
7067 # define PERL_ARGS_ASSERT_HV_NOTALLOWED \
7068 assert(key); assert(msg)
7071 S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
7072 # define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \
7076 S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
7077 __attribute__malloc__
7078 __attribute__warn_unused_result__;
7079 # define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
7083 S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
7084 __attribute__warn_unused_result__;
7085 # define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \
7089 S_unshare_hek_or_pvn(pTHX_ const HEK *hek, const char *str, I32 len, U32 hash);
7090 # define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
7092 # if !defined(PURIFY)
7095 __attribute__warn_unused_result__;
7096 # define PERL_ARGS_ASSERT_NEW_HE
7099 #endif /* defined(PERL_IN_HV_C) */
7100 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
7102 Perl_sv_kill_backrefs(pTHX_ SV * const sv, AV * const av)
7103 __attribute__visibility__("hidden");
7104 # define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \
7108 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
7110 Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
7111 __attribute__visibility__("hidden");
7112 # define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \
7113 assert(hv); assert(indexp); assert(SvTYPE(hv) == SVt_PVHV)
7116 #if defined(PERL_IN_LOCALE_C)
7118 S_get_locale_string_utf8ness_i(pTHX_ const char *string, const locale_utf8ness_t known_utf8, const char *locale, const locale_category_index cat_index);
7119 # define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
7122 S_ints_to_tm(pTHX_ struct tm *my_tm, const char *locale, int sec, int min, int hour, int mday, int mon, int year, int isdst);
7123 # define PERL_ARGS_ASSERT_INTS_TO_TM \
7124 assert(my_tm); assert(locale)
7127 S_is_locale_utf8(pTHX_ const char *locale);
7128 # define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \
7132 S_my_localeconv(pTHX_ const int item);
7133 # define PERL_ARGS_ASSERT_MY_LOCALECONV
7136 S_populate_hash_from_C_localeconv(pTHX_ HV *hv, const char *locale, const U32 which_mask, const lconv_offset_t *strings[2], const lconv_offset_t *integers[2]);
7137 # define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_C_LOCALECONV \
7138 assert(hv); assert(locale); assert(strings); assert(integers); \
7139 assert(SvTYPE(hv) == SVt_PVHV)
7142 S_strftime8(pTHX_ const char *fmt, SV *sv, const char *locale, const struct tm *mytm, const utf8ness_t fmt_utf8ness, utf8ness_t *result_utf8ness, const bool called_externally);
7143 # define PERL_ARGS_ASSERT_STRFTIME8 \
7144 assert(fmt); assert(sv); assert(locale); assert(mytm); \
7145 assert(result_utf8ness)
7148 S_strftime_tm(pTHX_ const char *fmt, SV *sv, const char *locale, const struct tm *mytm)
7149 __attribute__format__(__strftime__,pTHX_1,0);
7150 # define PERL_ARGS_ASSERT_STRFTIME_TM \
7151 assert(fmt); assert(sv); assert(locale); assert(mytm)
7154 S_sv_strftime_common(pTHX_ SV *fmt, const char *locale, const struct tm *mytm);
7155 # define PERL_ARGS_ASSERT_SV_STRFTIME_COMMON \
7156 assert(fmt); assert(locale); assert(mytm)
7158 # if defined(HAS_MISSING_LANGINFO_ITEM_) || !defined(HAS_NL_LANGINFO)
7160 S_emulate_langinfo(pTHX_ const PERL_INTMAX_T item, const char *locale, SV *sv, utf8ness_t *utf8ness);
7161 # define PERL_ARGS_ASSERT_EMULATE_LANGINFO \
7162 assert(locale); assert(sv)
7165 # if defined(USE_LOCALE)
7167 S_calculate_LC_ALL_string(pTHX_ const char **category_locales_list, const calc_LC_ALL_format format, const calc_LC_ALL_return returning, const line_t caller_line);
7168 # define PERL_ARGS_ASSERT_CALCULATE_LC_ALL_STRING
7171 S_external_call_langinfo(pTHX_ const nl_item item, SV *sv, utf8ness_t *utf8ness);
7172 # define PERL_ARGS_ASSERT_EXTERNAL_CALL_LANGINFO \
7175 STATIC locale_category_index
7176 S_get_category_index_helper(pTHX_ const int category, bool *success, const line_t caller_line)
7177 __attribute__warn_unused_result__;
7178 # define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX_HELPER
7181 S_native_querylocale_i(pTHX_ const locale_category_index cat_index);
7182 # define PERL_ARGS_ASSERT_NATIVE_QUERYLOCALE_I
7185 S_new_LC_ALL(pTHX_ const char *lc_all, bool force);
7186 # define PERL_ARGS_ASSERT_NEW_LC_ALL \
7190 S_output_check_environment_warning(pTHX_ const char * const language, const char * const lc_all, const char * const lang);
7191 # define PERL_ARGS_ASSERT_OUTPUT_CHECK_ENVIRONMENT_WARNING
7193 STATIC parse_LC_ALL_string_return
7194 S_parse_LC_ALL_string(pTHX_ const char *string, const char **output, const parse_LC_ALL_STRING_action, bool always_use_full_array, const bool panic_on_error, const line_t caller_line);
7195 # define PERL_ARGS_ASSERT_PARSE_LC_ALL_STRING \
7196 assert(string); assert(output)
7199 S_restore_toggled_locale_i(pTHX_ const locale_category_index cat_index, const char *original_locale, const line_t caller_line);
7200 # define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
7203 S_save_to_buffer(pTHX_ const char *string, char **buf, Size_t *buf_size);
7204 # define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
7207 S_set_save_buffer_min_size(pTHX_ const Size_t min_len, char **buf, Size_t *buf_size);
7208 # define PERL_ARGS_ASSERT_SET_SAVE_BUFFER_MIN_SIZE
7210 PERL_STATIC_NO_RET void
7211 S_setlocale_failure_panic_via_i(pTHX_ const locale_category_index cat_index, const char *current, const char *failed, const line_t proxy_caller_line, const line_t immediate_caller_line, const char *higher_caller_file, const line_t higher_caller_line)
7212 __attribute__noreturn__;
7213 # define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_VIA_I \
7214 assert(failed); assert(higher_caller_file)
7217 S_toggle_locale_i(pTHX_ const locale_category_index cat_index, const char *new_locale, const line_t caller_line);
7218 # define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I \
7221 # if defined(DEBUGGING)
7223 S_my_setlocale_debug_string_i(pTHX_ const locale_category_index cat_index, const char *locale, const char *retval, const line_t line)
7224 __attribute__warn_unused_result__;
7225 # define PERL_ARGS_ASSERT_MY_SETLOCALE_DEBUG_STRING_I
7228 # if defined(HAS_LOCALECONV) && \
7229 ( defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC) )
7231 S_populate_hash_from_localeconv(pTHX_ HV *hv, const char *locale, const U32 which_mask, const lconv_offset_t *strings[2], const lconv_offset_t *integers[2]);
7232 # define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_LOCALECONV \
7233 assert(hv); assert(locale); assert(strings); assert(integers); \
7234 assert(SvTYPE(hv) == SVt_PVHV)
7237 # if defined(HAS_NL_LANGINFO)
7239 S_langinfo_sv_i(pTHX_ const nl_item item, locale_category_index cat_index, const char *locale, SV *sv, utf8ness_t *utf8ness);
7240 # define PERL_ARGS_ASSERT_LANGINFO_SV_I \
7241 assert(locale); assert(sv)
7244 # if defined(LC_ALL)
7246 S_give_perl_locale_control(pTHX_ const char *lc_all_string, const line_t caller_line);
7247 # define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7248 assert(lc_all_string)
7252 S_give_perl_locale_control(pTHX_ const char **curlocales, const line_t caller_line);
7253 # define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7257 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7258 PERL_STATIC_INLINE const char *
7259 S_mortalized_pv_copy(pTHX_ const char * const pv)
7260 __attribute__warn_unused_result__;
7261 # define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
7264 # if defined(USE_LOCALE_COLLATE)
7266 S_new_collate(pTHX_ const char *newcoll, bool force);
7267 # define PERL_ARGS_ASSERT_NEW_COLLATE \
7270 # if defined(DEBUGGING)
7272 S_print_collxfrm_input_and_return(pTHX_ const char *s, const char *e, const char *xbuf, const STRLEN xlen, const bool is_utf8);
7273 # define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN \
7274 assert(s); assert(e)
7277 # endif /* defined(USE_LOCALE_COLLATE) */
7278 # if defined(USE_LOCALE_CTYPE)
7280 S_is_codeset_name_UTF8(const char *name);
7281 # define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8 \
7285 S_new_ctype(pTHX_ const char *newctype, bool force);
7286 # define PERL_ARGS_ASSERT_NEW_CTYPE \
7289 # endif /* defined(USE_LOCALE_CTYPE) */
7290 # if defined(USE_LOCALE_NUMERIC)
7292 S_new_numeric(pTHX_ const char *newnum, bool force);
7293 # define PERL_ARGS_ASSERT_NEW_NUMERIC \
7297 # if defined(USE_PERL_SWITCH_LOCALE_CONTEXT) || defined(DEBUGGING)
7299 S_get_LC_ALL_display(pTHX);
7300 # define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
7303 # if defined(USE_POSIX_2008_LOCALE)
7305 S_bool_setlocale_2008_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7306 # define PERL_ARGS_ASSERT_BOOL_SETLOCALE_2008_I \
7310 S_querylocale_2008_i(pTHX_ const locale_category_index index, const line_t line);
7311 # define PERL_ARGS_ASSERT_QUERYLOCALE_2008_I
7314 S_use_curlocale_scratch(pTHX);
7315 # define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
7317 # if !defined(USE_QUERYLOCALE)
7319 S_update_PL_curlocales_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7320 # define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
7324 # elif defined(USE_LOCALE_THREADS) && \
7325 !defined(USE_THREAD_SAFE_LOCALE) && \
7326 !defined(USE_THREAD_SAFE_LOCALE_EMULATION) /* &&
7327 !defined(USE_POSIX_2008_LOCALE) */
7329 S_less_dicey_bool_setlocale_r(pTHX_ const int cat, const char *locale);
7330 # define PERL_ARGS_ASSERT_LESS_DICEY_BOOL_SETLOCALE_R \
7334 S_less_dicey_setlocale_r(pTHX_ const int category, const char *locale);
7335 # define PERL_ARGS_ASSERT_LESS_DICEY_SETLOCALE_R
7337 # endif /* defined(USE_LOCALE_THREADS) &&
7338 !defined(USE_POSIX_2008_LOCALE) &&
7339 !defined(USE_THREAD_SAFE_LOCALE) &&
7340 !defined(USE_THREAD_SAFE_LOCALE_EMULATION) */
7341 # if defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES)
7343 S_Win_byte_string_to_wstring(const UINT code_page, const char *byte_string);
7344 # define PERL_ARGS_ASSERT_WIN_BYTE_STRING_TO_WSTRING
7347 S_Win_wstring_to_byte_string(const UINT code_page, const wchar_t *wstring);
7348 # define PERL_ARGS_ASSERT_WIN_WSTRING_TO_BYTE_STRING
7351 S_win32_setlocale(pTHX_ int category, const char *locale);
7352 # define PERL_ARGS_ASSERT_WIN32_SETLOCALE
7355 S_wrap_wsetlocale(pTHX_ const int category, const char *locale);
7356 # define PERL_ARGS_ASSERT_WRAP_WSETLOCALE
7358 # endif /* defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) */
7359 # if defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) || \
7360 ( defined(USE_POSIX_2008_LOCALE) && !defined(USE_QUERYLOCALE) )
7362 S_find_locale_from_environment(pTHX_ const locale_category_index index);
7363 # define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
7366 # endif /* defined(USE_LOCALE) */
7367 # if defined(USE_LOCALE) || defined(DEBUGGING)
7369 S_get_displayable_string(pTHX_ const char * const s, const char * const e, const bool is_utf8);
7370 # define PERL_ARGS_ASSERT_GET_DISPLAYABLE_STRING \
7371 assert(s); assert(e)
7374 #endif /* defined(PERL_IN_LOCALE_C) */
7375 #if defined(PERL_IN_MALLOC_C)
7377 S_adjust_size_and_find_bucket(size_t *nbytes_p);
7378 # define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \
7382 #if defined(PERL_IN_MG_C)
7384 S_fixup_errno_string(pTHX_ SV *sv);
7385 # define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING \
7389 S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
7390 # define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \
7391 assert(sv); assert(mg); assert(meth)
7394 S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
7395 # define PERL_ARGS_ASSERT_MAGIC_METHPACK \
7396 assert(sv); assert(mg); assert(meth)
7399 S_restore_magic(pTHX_ const void *p);
7400 # define PERL_ARGS_ASSERT_RESTORE_MAGIC
7403 S_save_magic_flags(pTHX_ SSize_t mgs_ix, SV *sv, U32 flags);
7404 # define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS \
7408 S_unwind_handler_stack(pTHX_ const void *p);
7409 # define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
7411 #endif /* defined(PERL_IN_MG_C) */
7412 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
7414 Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
7415 __attribute__visibility__("hidden");
7416 # define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \
7417 assert(posp); assert(lenp)
7420 #if defined(PERL_IN_MRO_C)
7422 S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
7423 # define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV \
7424 assert(isa); assert(name); assert(SvTYPE(isa) == SVt_PVHV); \
7425 assert(!exceptions || SvTYPE(exceptions) == SVt_PVHV)
7428 S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
7429 # define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \
7430 assert(stashes); assert(seen_stashes); assert(namesv); \
7431 assert(SvTYPE(stashes) == SVt_PVHV); \
7432 assert(SvTYPE(seen_stashes) == SVt_PVHV); \
7433 assert(!stash || SvTYPE(stash) == SVt_PVHV); \
7434 assert(!oldstash || SvTYPE(oldstash) == SVt_PVHV)
7437 S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level);
7438 # define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
7439 assert(stash); assert(SvTYPE(stash) == SVt_PVHV)
7441 #endif /* defined(PERL_IN_MRO_C) */
7442 #if defined(PERL_IN_NUMERIC_C)
7444 S_output_non_portable(pTHX_ const U8 shift);
7445 # define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
7448 #if defined(PERL_IN_OP_C)
7450 S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
7451 # define PERL_ARGS_ASSERT_APPLY_ATTRS \
7452 assert(stash); assert(target); assert(SvTYPE(stash) == SVt_PVHV)
7455 S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
7456 # define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
7457 assert(stash); assert(target); assert(imopsp); \
7458 assert(SvTYPE(stash) == SVt_PVHV)
7461 S_assignment_type(pTHX_ const OP *o)
7462 __attribute__warn_unused_result__;
7463 # define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
7466 S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
7467 # define PERL_ARGS_ASSERT_BAD_TYPE_GV \
7468 assert(gv); assert(kid); assert(t)
7471 S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
7472 # define PERL_ARGS_ASSERT_BAD_TYPE_PV \
7473 assert(t); assert(o); assert(kid)
7476 S_clear_special_blocks(pTHX_ const char * const fullname, GV * const gv, CV * const cv);
7477 # define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS \
7478 assert(fullname); assert(gv); assert(cv); \
7479 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
7482 S_cop_free(pTHX_ COP *cop);
7483 # define PERL_ARGS_ASSERT_COP_FREE \
7487 S_dup_attrlist(pTHX_ OP *o);
7488 # define PERL_ARGS_ASSERT_DUP_ATTRLIST \
7492 S_find_and_forget_pmops(pTHX_ OP *o);
7493 # define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
7497 S_fold_constants(pTHX_ OP * const o);
7498 # define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
7502 S_force_list(pTHX_ OP *arg, bool nullit);
7503 # define PERL_ARGS_ASSERT_FORCE_LIST
7506 S_forget_pmop(pTHX_ PMOP * const o);
7507 # define PERL_ARGS_ASSERT_FORGET_PMOP \
7511 S_gen_constant_list(pTHX_ OP *o);
7512 # define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
7515 S_inplace_aassign(pTHX_ OP *o);
7516 # define PERL_ARGS_ASSERT_INPLACE_AASSIGN \
7520 S_is_handle_constructor(const OP *o, I32 numargs)
7521 __attribute__warn_unused_result__;
7522 # define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
7526 S_listkids(pTHX_ OP *o);
7527 # define PERL_ARGS_ASSERT_LISTKIDS
7530 S_looks_like_bool(pTHX_ const OP *o);
7531 # define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \
7535 S_modkids(pTHX_ OP *o, I32 type);
7536 # define PERL_ARGS_ASSERT_MODKIDS
7539 S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
7540 # define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR \
7541 assert(proto); assert(attrs); assert(name)
7544 S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
7545 # define PERL_ARGS_ASSERT_MY_KID \
7549 S_newGIVWHENOP(pTHX_ OP *cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
7550 # define PERL_ARGS_ASSERT_NEWGIVWHENOP \
7554 S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
7555 __attribute__warn_unused_result__;
7556 # define PERL_ARGS_ASSERT_NEW_LOGOP \
7557 assert(firstp); assert(otherp)
7560 S_no_fh_allowed(pTHX_ OP *o)
7561 __attribute__warn_unused_result__;
7562 # define PERL_ARGS_ASSERT_NO_FH_ALLOWED \
7566 S_pmtrans(pTHX_ OP *o, OP *expr, OP *repl);
7567 # define PERL_ARGS_ASSERT_PMTRANS \
7568 assert(o); assert(expr); assert(repl)
7571 S_process_special_blocks(pTHX_ I32 floor, const char * const fullname, GV * const gv, CV * const cv);
7572 # define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
7573 assert(fullname); assert(gv); assert(cv); \
7574 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
7577 S_ref_array_or_hash(pTHX_ OP *cond);
7578 # define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
7581 S_refkids(pTHX_ OP *o, I32 type);
7582 # define PERL_ARGS_ASSERT_REFKIDS
7585 S_scalar_mod_type(const OP *o, I32 type)
7586 __attribute__warn_unused_result__;
7587 # define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
7590 S_scalarboolean(pTHX_ OP *o);
7591 # define PERL_ARGS_ASSERT_SCALARBOOLEAN \
7595 S_scalarkids(pTHX_ OP *o);
7596 # define PERL_ARGS_ASSERT_SCALARKIDS
7599 S_search_const(pTHX_ OP *o)
7600 __attribute__warn_unused_result__;
7601 # define PERL_ARGS_ASSERT_SEARCH_CONST \
7605 S_simplify_sort(pTHX_ OP *o);
7606 # define PERL_ARGS_ASSERT_SIMPLIFY_SORT \
7610 S_too_few_arguments_pv(pTHX_ OP *o, const char *name, U32 flags)
7611 __attribute__warn_unused_result__;
7612 # define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV \
7613 assert(o); assert(name)
7616 S_too_many_arguments_pv(pTHX_ OP *o, const char *name, U32 flags);
7617 # define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
7618 assert(o); assert(name)
7621 S_voidnonfinal(pTHX_ OP *o);
7622 # define PERL_ARGS_ASSERT_VOIDNONFINAL
7624 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7625 PERL_STATIC_INLINE bool
7626 S_is_standard_filehandle_name(const char *fhname);
7627 # define PERL_ARGS_ASSERT_IS_STANDARD_FILEHANDLE_NAME \
7630 PERL_STATIC_INLINE OP *
7631 S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP *dynamic_meth, SV * const_meth);
7632 # define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
7634 PERL_STATIC_INLINE OP *
7635 S_op_integerize(pTHX_ OP *o);
7636 # define PERL_ARGS_ASSERT_OP_INTEGERIZE \
7639 PERL_STATIC_INLINE OP *
7640 S_op_std_init(pTHX_ OP *o);
7641 # define PERL_ARGS_ASSERT_OP_STD_INIT \
7644 PERL_STATIC_INLINE U16
7645 S_opslab_slot_offset(const OPSLAB *slab, const OPSLOT *slot);
7646 # define PERL_ARGS_ASSERT_OPSLAB_SLOT_OFFSET \
7647 assert(slab); assert(slot)
7649 PERL_STATIC_INLINE U16
7650 S_size_to_psize(size_t size);
7651 # define PERL_ARGS_ASSERT_SIZE_TO_PSIZE
7653 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7654 #endif /* defined(PERL_IN_OP_C) */
7655 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
7657 Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
7658 __attribute__visibility__("hidden");
7659 # define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
7662 Perl_no_bareword_allowed(pTHX_ OP *o)
7663 __attribute__visibility__("hidden");
7664 # define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \
7668 Perl_op_prune_chain_head(OP **op_p)
7669 __attribute__visibility__("hidden");
7670 # define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD \
7674 Perl_op_varname(pTHX_ const OP *o)
7675 __attribute__visibility__("hidden");
7676 # define PERL_ARGS_ASSERT_OP_VARNAME \
7680 Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
7681 __attribute__visibility__("hidden");
7682 # define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT \
7683 assert(o); assert(name)
7685 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */
7686 #if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
7689 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
7691 Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
7692 __attribute__visibility__("hidden");
7693 # define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV \
7694 assert(name); assert(old_cv)
7697 Perl_varname(pTHX_ const GV * const gv, const char gvtype, PADOFFSET targ, const SV * const keyname, SSize_t aindex, int subscript_type)
7698 __attribute__warn_unused_result__
7699 __attribute__visibility__("hidden");
7700 # define PERL_ARGS_ASSERT_VARNAME
7702 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C) */
7703 #if defined(PERL_IN_PAD_C)
7705 S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
7706 # define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
7707 assert(name); assert(!ourstash || SvTYPE(ourstash) == SVt_PVHV)
7710 S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
7711 # define PERL_ARGS_ASSERT_PAD_CHECK_DUP \
7715 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);
7716 # define PERL_ARGS_ASSERT_PAD_FINDLEX \
7717 assert(namepv); assert(cv); assert(out_name); assert(out_flags)
7721 # define PERL_ARGS_ASSERT_PAD_RESET
7723 # if defined(DEBUGGING)
7725 S_cv_dump(pTHX_ const CV *cv, const char *title);
7726 # define PERL_ARGS_ASSERT_CV_DUMP \
7727 assert(cv); assert(title)
7730 #endif /* defined(PERL_IN_PAD_C) */
7731 #if defined(PERL_IN_PEEP_C)
7733 S_finalize_op(pTHX_ OP *o);
7734 # define PERL_ARGS_ASSERT_FINALIZE_OP \
7738 S_optimize_op(pTHX_ OP *o);
7739 # define PERL_ARGS_ASSERT_OPTIMIZE_OP \
7743 S_traverse_op_tree(pTHX_ OP *top, OP *o);
7744 # define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE \
7745 assert(top); assert(o)
7747 #endif /* defined(PERL_IN_PEEP_C) */
7748 #if defined(PERL_IN_PERL_C)
7750 S_find_beginning(pTHX_ SV *linestr_sv, PerlIO *rsfp);
7751 # define PERL_ARGS_ASSERT_FIND_BEGINNING \
7752 assert(linestr_sv); assert(rsfp)
7755 S_forbid_setid(pTHX_ const char flag, const bool suidscript);
7756 # define PERL_ARGS_ASSERT_FORBID_SETID
7759 S_incpush(pTHX_ const char * const dir, STRLEN len, U32 flags);
7760 # define PERL_ARGS_ASSERT_INCPUSH \
7764 S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
7765 # define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \
7770 # define PERL_ARGS_ASSERT_INIT_IDS
7773 S_init_interp(pTHX);
7774 # define PERL_ARGS_ASSERT_INIT_INTERP
7777 S_init_main_stash(pTHX);
7778 # define PERL_ARGS_ASSERT_INIT_MAIN_STASH
7781 S_init_perllib(pTHX);
7782 # define PERL_ARGS_ASSERT_INIT_PERLLIB
7785 S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
7786 # define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
7790 S_init_predump_symbols(pTHX);
7791 # define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
7794 S_mayberelocate(pTHX_ const char * const dir, STRLEN len, U32 flags);
7795 # define PERL_ARGS_ASSERT_MAYBERELOCATE \
7798 PERL_STATIC_NO_RET void
7800 __attribute__noreturn__;
7801 # define PERL_ARGS_ASSERT_MINUS_V
7803 PERL_STATIC_NO_RET void
7804 S_my_exit_jump(pTHX)
7805 __attribute__noreturn__;
7806 # define PERL_ARGS_ASSERT_MY_EXIT_JUMP
7809 S_nuke_stacks(pTHX);
7810 # define PERL_ARGS_ASSERT_NUKE_STACKS
7813 S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
7814 # define PERL_ARGS_ASSERT_OPEN_SCRIPT \
7815 assert(scriptname); assert(suidscript)
7818 S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
7819 # define PERL_ARGS_ASSERT_PARSE_BODY
7821 PERL_STATIC_NO_RET void
7822 S_run_body(pTHX_ I32 oldscope)
7823 __attribute__noreturn__;
7824 # define PERL_ARGS_ASSERT_RUN_BODY
7826 PERL_STATIC_NO_RET void
7828 __attribute__noreturn__;
7829 # define PERL_ARGS_ASSERT_USAGE
7831 # if !defined(PERL_IS_MINIPERL)
7833 S_incpush_if_exists(pTHX_ AV * const av, SV *dir, SV * const stem);
7834 # define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \
7835 assert(av); assert(dir); assert(stem); assert(SvTYPE(av) == SVt_PVAV)
7838 # if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
7840 S_validate_suid(pTHX_ PerlIO *rsfp);
7841 # define PERL_ARGS_ASSERT_VALIDATE_SUID \
7845 #endif /* defined(PERL_IN_PERL_C) */
7846 #if defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) || \
7847 defined(PERL_IN_UTF8_C)
7849 Perl__invlistEQ(pTHX_ SV * const a, SV * const b, const bool complement_b);
7850 # define PERL_ARGS_ASSERT__INVLISTEQ \
7851 assert(a); assert(b)
7854 Perl__new_invlist_C_array(pTHX_ const UV * const list)
7855 __attribute__warn_unused_result__;
7856 # define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
7859 #endif /* defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) ||
7860 defined(PERL_IN_UTF8_C) */
7861 #if defined(PERL_IN_PP_C)
7863 S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
7864 # define PERL_ARGS_ASSERT_DO_CHOMP \
7865 assert(retval); assert(sv)
7868 S_do_delete_local(pTHX);
7869 # define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
7872 S_refto(pTHX_ SV *sv)
7873 __attribute__warn_unused_result__;
7874 # define PERL_ARGS_ASSERT_REFTO \
7877 #endif /* defined(PERL_IN_PP_C) */
7878 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
7881 Perl_softref2xv(pTHX_ SV * const sv, const char * const what, const svtype type)
7882 __attribute__warn_unused_result__;
7883 # define PERL_ARGS_ASSERT_SOFTREF2XV \
7884 assert(sv); assert(what)
7887 #if defined(PERL_IN_PP_C) || defined(PERL_IN_UTF8_C)
7889 Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7890 __attribute__visibility__("hidden");
7891 # define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7892 assert(p); assert(lenp)
7895 #if defined(PERL_IN_PP_CTL_C)
7897 S_check_type_and_open(pTHX_ SV *name)
7898 __attribute__warn_unused_result__;
7899 # define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \
7903 S_destroy_matcher(pTHX_ PMOP *matcher);
7904 # define PERL_ARGS_ASSERT_DESTROY_MATCHER \
7908 S_do_smartmatch(pTHX_ HV *seen_this, HV *seen_other, const bool copied);
7909 # define PERL_ARGS_ASSERT_DO_SMARTMATCH
7912 S_docatch(pTHX_ Perl_ppaddr_t firstpp)
7913 __attribute__warn_unused_result__;
7914 # define PERL_ARGS_ASSERT_DOCATCH
7917 S_doeval_compile(pTHX_ U8 gimme, CV *outside, U32 seq, HV *hh);
7918 # define PERL_ARGS_ASSERT_DOEVAL_COMPILE
7921 S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
7922 __attribute__warn_unused_result__;
7923 # define PERL_ARGS_ASSERT_DOFINDLABEL \
7924 assert(o); assert(label); assert(opstack); assert(oplimit)
7927 S_doparseform(pTHX_ SV *sv);
7928 # define PERL_ARGS_ASSERT_DOPARSEFORM \
7932 S_dopoptoeval(pTHX_ I32 startingblock)
7933 __attribute__warn_unused_result__;
7934 # define PERL_ARGS_ASSERT_DOPOPTOEVAL
7937 S_dopoptogivenfor(pTHX_ I32 startingblock)
7938 __attribute__warn_unused_result__;
7939 # define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
7942 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
7943 __attribute__warn_unused_result__;
7944 # define PERL_ARGS_ASSERT_DOPOPTOLABEL \
7948 S_dopoptoloop(pTHX_ I32 startingblock)
7949 __attribute__warn_unused_result__;
7950 # define PERL_ARGS_ASSERT_DOPOPTOLOOP
7953 S_dopoptosub_at(pTHX_ const PERL_CONTEXT *cxstk, I32 startingblock)
7954 __attribute__warn_unused_result__;
7955 # define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \
7959 S_dopoptowhen(pTHX_ I32 startingblock)
7960 __attribute__warn_unused_result__;
7961 # define PERL_ARGS_ASSERT_DOPOPTOWHEN
7964 S_make_matcher(pTHX_ REGEXP *re)
7965 __attribute__warn_unused_result__;
7966 # define PERL_ARGS_ASSERT_MAKE_MATCHER \
7970 S_matcher_matches_sv(pTHX_ PMOP *matcher, SV *sv)
7971 __attribute__warn_unused_result__;
7972 # define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \
7973 assert(matcher); assert(sv)
7976 S_num_overflow(NV value, I32 fldsize, I32 frcsize)
7977 __attribute__warn_unused_result__;
7978 # define PERL_ARGS_ASSERT_NUM_OVERFLOW
7981 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
7982 __attribute__warn_unused_result__;
7983 # define PERL_ARGS_ASSERT_RUN_USER_FILTER \
7987 S_rxres_free(pTHX_ void **rsp);
7988 # define PERL_ARGS_ASSERT_RXRES_FREE \
7992 S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
7993 # define PERL_ARGS_ASSERT_RXRES_RESTORE \
7994 assert(rsp); assert(rx)
7997 S_save_lines(pTHX_ AV *array, SV *sv);
7998 # define PERL_ARGS_ASSERT_SAVE_LINES \
7999 assert(sv); assert(!array || SvTYPE(array) == SVt_PVAV)
8001 # if !defined(PERL_DISABLE_PMC)
8003 S_doopen_pm(pTHX_ SV *name)
8004 __attribute__warn_unused_result__;
8005 # define PERL_ARGS_ASSERT_DOOPEN_PM \
8009 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8010 PERL_STATIC_INLINE bool
8011 S_path_is_searchable(const char *name)
8012 __attribute__warn_unused_result__;
8013 # define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE \
8017 #endif /* defined(PERL_IN_PP_CTL_C) */
8018 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_IN_UTIL_C)
8020 Perl_invoke_exception_hook(pTHX_ SV *ex, bool warn)
8021 __attribute__visibility__("hidden");
8022 # define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
8025 #if defined(PERL_IN_PP_HOT_C)
8027 S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
8028 # define PERL_ARGS_ASSERT_DO_ODDBALL \
8029 assert(oddkey); assert(firstkey)
8031 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8032 PERL_STATIC_INLINE HV *
8033 S_opmethod_stash(pTHX_ SV *meth);
8034 # define PERL_ARGS_ASSERT_OPMETHOD_STASH \
8037 PERL_STATIC_FORCE_INLINE bool
8038 S_should_we_output_Debug_r(pTHX_ regexp *prog)
8039 __attribute__warn_unused_result__
8040 __attribute__always_inline__;
8041 # define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R \
8044 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8045 #endif /* defined(PERL_IN_PP_HOT_C) */
8046 #if defined(PERL_IN_PP_PACK_C)
8048 S_div128(pTHX_ SV *pnum, bool *done);
8049 # define PERL_ARGS_ASSERT_DIV128 \
8050 assert(pnum); assert(done)
8053 S_first_symbol(const char *pat, const char *patend);
8054 # define PERL_ARGS_ASSERT_FIRST_SYMBOL \
8055 assert(pat); assert(patend)
8058 S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
8059 __attribute__warn_unused_result__;
8060 # define PERL_ARGS_ASSERT_GET_NUM \
8061 assert(patptr); assert(lenptr)
8064 S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
8065 # define PERL_ARGS_ASSERT_GROUP_END \
8066 assert(patptr); assert(patend)
8069 S_is_an_int(pTHX_ const char *s, STRLEN l)
8070 __attribute__warn_unused_result__;
8071 # define PERL_ARGS_ASSERT_IS_AN_INT \
8075 S_measure_struct(pTHX_ struct tempsym *symptr);
8076 # define PERL_ARGS_ASSERT_MEASURE_STRUCT \
8080 S_mul128(pTHX_ SV *sv, U8 m);
8081 # define PERL_ARGS_ASSERT_MUL128 \
8085 S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
8086 __attribute__warn_unused_result__;
8087 # define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8 \
8088 assert(start); assert(dest)
8091 S_need_utf8(const char *pat, const char *patend);
8092 # define PERL_ARGS_ASSERT_NEED_UTF8 \
8093 assert(pat); assert(patend)
8096 S_next_symbol(pTHX_ struct tempsym *symptr);
8097 # define PERL_ARGS_ASSERT_NEXT_SYMBOL \
8101 S_pack_rec(pTHX_ SV *cat, struct tempsym *symptr, SV **beglist, SV **endlist);
8102 # define PERL_ARGS_ASSERT_PACK_REC \
8103 assert(cat); assert(symptr); assert(beglist); assert(endlist)
8106 S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
8107 __attribute__warn_unused_result__;
8108 # define PERL_ARGS_ASSERT_SV_EXP_GROW \
8112 S_unpack_rec(pTHX_ struct tempsym *symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
8113 # define PERL_ARGS_ASSERT_UNPACK_REC \
8114 assert(symptr); assert(s); assert(strbeg); assert(strend)
8116 #endif /* defined(PERL_IN_PP_PACK_C) */
8117 #if defined(PERL_IN_PP_SORT_C)
8119 S_sortcv(pTHX_ SV * const a, SV * const b);
8120 # define PERL_ARGS_ASSERT_SORTCV \
8121 assert(a); assert(b)
8124 S_sortcv_stacked(pTHX_ SV * const a, SV * const b);
8125 # define PERL_ARGS_ASSERT_SORTCV_STACKED \
8126 assert(a); assert(b)
8129 S_sortcv_xsub(pTHX_ SV * const a, SV * const b);
8130 # define PERL_ARGS_ASSERT_SORTCV_XSUB \
8131 assert(a); assert(b)
8133 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8134 PERL_STATIC_INLINE I32
8135 S_amagic_cmp(pTHX_ SV * const str1, SV * const str2);
8136 # define PERL_ARGS_ASSERT_AMAGIC_CMP \
8137 assert(str1); assert(str2)
8139 PERL_STATIC_INLINE I32
8140 S_amagic_cmp_desc(pTHX_ SV * const str1, SV * const str2);
8141 # define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC \
8142 assert(str1); assert(str2)
8144 PERL_STATIC_INLINE I32
8145 S_amagic_i_ncmp(pTHX_ SV * const a, SV * const b);
8146 # define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
8147 assert(a); assert(b)
8149 PERL_STATIC_INLINE I32
8150 S_amagic_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
8151 # define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC \
8152 assert(a); assert(b)
8154 PERL_STATIC_INLINE I32
8155 S_amagic_ncmp(pTHX_ SV * const a, SV * const b);
8156 # define PERL_ARGS_ASSERT_AMAGIC_NCMP \
8157 assert(a); assert(b)
8159 PERL_STATIC_INLINE I32
8160 S_amagic_ncmp_desc(pTHX_ SV * const a, SV * const b);
8161 # define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC \
8162 assert(a); assert(b)
8164 PERL_STATIC_INLINE I32
8165 S_cmp_desc(pTHX_ SV * const str1, SV * const str2);
8166 # define PERL_ARGS_ASSERT_CMP_DESC \
8167 assert(str1); assert(str2)
8169 PERL_STATIC_FORCE_INLINE void
8170 S_sortsv_flags_impl(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
8171 __attribute__always_inline__;
8172 # define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL \
8175 PERL_STATIC_INLINE I32
8176 S_sv_i_ncmp(pTHX_ SV * const a, SV * const b);
8177 # define PERL_ARGS_ASSERT_SV_I_NCMP \
8178 assert(a); assert(b)
8180 PERL_STATIC_INLINE I32
8181 S_sv_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
8182 # define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
8183 assert(a); assert(b)
8185 PERL_STATIC_INLINE I32
8186 S_sv_ncmp(pTHX_ SV * const a, SV * const b);
8187 # define PERL_ARGS_ASSERT_SV_NCMP \
8188 assert(a); assert(b)
8190 PERL_STATIC_INLINE I32
8191 S_sv_ncmp_desc(pTHX_ SV * const a, SV * const b);
8192 # define PERL_ARGS_ASSERT_SV_NCMP_DESC \
8193 assert(a); assert(b)
8195 # if defined(USE_LOCALE_COLLATE)
8196 PERL_STATIC_INLINE I32
8197 S_amagic_cmp_locale(pTHX_ SV * const str1, SV * const str2);
8198 # define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
8199 assert(str1); assert(str2)
8201 PERL_STATIC_INLINE I32
8202 S_amagic_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8203 # define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
8204 assert(str1); assert(str2)
8206 PERL_STATIC_INLINE I32
8207 S_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8208 # define PERL_ARGS_ASSERT_CMP_LOCALE_DESC \
8209 assert(str1); assert(str2)
8211 # endif /* defined(USE_LOCALE_COLLATE) */
8212 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8213 #endif /* defined(PERL_IN_PP_SORT_C) */
8214 #if defined(PERL_IN_PP_SYS_C)
8216 S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
8217 # define PERL_ARGS_ASSERT_DOFORM \
8218 assert(cv); assert(gv); \
8219 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
8222 S_space_join_names_mortal(pTHX_ char * const *array);
8223 # define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
8226 S_warn_not_dirhandle(pTHX_ GV *gv);
8227 # define PERL_ARGS_ASSERT_WARN_NOT_DIRHANDLE \
8230 # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
8232 S_dooneliner(pTHX_ const char *cmd, const char *filename)
8233 __attribute__warn_unused_result__;
8234 # define PERL_ARGS_ASSERT_DOONELINER \
8235 assert(cmd); assert(filename)
8238 #endif /* defined(PERL_IN_PP_SYS_C) */
8239 #if defined(PERL_IN_REGCOMP_ANY)
8241 Perl_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV **invlist)
8242 __attribute__visibility__("hidden");
8243 # define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
8244 assert(pRExC_state); assert(invlist)
8246 PERL_CALLCONV regnode *
8247 Perl_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth)
8248 __attribute__visibility__("hidden");
8249 # define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \
8250 assert(pRExC_state); assert(source)
8253 Perl_get_ANYOFHbbm_contents(pTHX_ const regnode *n)
8254 __attribute__warn_unused_result__
8255 __attribute__visibility__("hidden");
8256 # define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
8260 Perl_get_ANYOFM_contents(pTHX_ const regnode *n)
8261 __attribute__warn_unused_result__
8262 __attribute__visibility__("hidden");
8263 # define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS \
8267 Perl_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth)
8268 __attribute__visibility__("hidden");
8269 # define PERL_ARGS_ASSERT_JOIN_EXACT \
8270 assert(pRExC_state); assert(scan); assert(min_subtract); \
8271 assert(unfolded_multi_char)
8274 Perl_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth)
8275 __attribute__visibility__("hidden");
8276 # define PERL_ARGS_ASSERT_MAKE_TRIE \
8277 assert(pRExC_state); assert(startbranch); assert(first); assert(last); \
8281 Perl_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV **invlist_ptr)
8282 __attribute__visibility__("hidden");
8283 # define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST \
8284 assert(node); assert(invlist_ptr)
8287 Perl_reg_add_data(RExC_state_t * const pRExC_state, const char * const s, const U32 n)
8288 __attribute__warn_unused_result__
8289 __attribute__visibility__("hidden");
8290 # define PERL_ARGS_ASSERT_REG_ADD_DATA \
8291 assert(pRExC_state); assert(s)
8294 Perl_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf)
8295 __attribute__visibility__("hidden");
8296 # define PERL_ARGS_ASSERT_SCAN_COMMIT \
8297 assert(pRExC_state); assert(data); assert(minlenp)
8300 Perl_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)
8301 __attribute__visibility__("hidden");
8302 # define PERL_ARGS_ASSERT_SET_ANYOF_ARG \
8303 assert(pRExC_state); assert(node)
8306 Perl_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc)
8307 __attribute__visibility__("hidden");
8308 # define PERL_ARGS_ASSERT_SSC_INIT \
8309 assert(pRExC_state); assert(ssc)
8311 PERL_CALLCONV SSize_t
8312 Perl_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth, bool was_mutate_ok)
8313 __attribute__visibility__("hidden");
8314 # define PERL_ARGS_ASSERT_STUDY_CHUNK \
8315 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); \
8318 # if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
8320 S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 depth);
8321 # define PERL_ARGS_ASSERT_DUMP_TRIE \
8322 assert(trie); assert(revcharmap); \
8323 assert(!widecharmap || SvTYPE(widecharmap) == SVt_PVHV); \
8324 assert(SvTYPE(revcharmap) == SVt_PVAV)
8327 S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8328 # define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
8329 assert(trie); assert(revcharmap); \
8330 assert(!widecharmap || SvTYPE(widecharmap) == SVt_PVHV); \
8331 assert(SvTYPE(revcharmap) == SVt_PVAV)
8334 S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8335 # define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
8336 assert(trie); assert(revcharmap); \
8337 assert(!widecharmap || SvTYPE(widecharmap) == SVt_PVHV); \
8338 assert(SvTYPE(revcharmap) == SVt_PVAV)
8340 # endif /* defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING) */
8341 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8342 PERL_STATIC_INLINE SV *
8343 S_invlist_contents(pTHX_ SV * const invlist, const bool traditional_style)
8344 __attribute__warn_unused_result__;
8345 # define PERL_ARGS_ASSERT_INVLIST_CONTENTS \
8348 PERL_STATIC_INLINE UV
8349 S_invlist_highest_range_start(SV * const invlist)
8350 __attribute__warn_unused_result__;
8351 # define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START \
8354 PERL_STATIC_INLINE bool
8355 S_invlist_is_iterating(const SV * const invlist)
8356 __attribute__warn_unused_result__;
8357 # define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \
8360 PERL_STATIC_INLINE UV
8361 S_invlist_lowest(SV * const invlist)
8362 __attribute__warn_unused_result__;
8363 # define PERL_ARGS_ASSERT_INVLIST_LOWEST \
8366 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8367 #endif /* defined(PERL_IN_REGCOMP_ANY) */
8368 #if defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_SV_C)
8370 Perl_invlist_clone(pTHX_ SV * const invlist, SV *newlist);
8371 # define PERL_ARGS_ASSERT_INVLIST_CLONE \
8375 #if defined(PERL_IN_REGCOMP_C)
8377 S_add_multi_match(pTHX_ AV *multi_char_matches, SV *multi_string, const STRLEN cp_count);
8378 # define PERL_ARGS_ASSERT_ADD_MULTI_MATCH \
8379 assert(multi_string); \
8380 assert(!multi_char_matches || SvTYPE(multi_char_matches) == SVt_PVAV)
8383 S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const ptrdiff_t size);
8384 # define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE \
8388 S_compile_wildcard(pTHX_ const char *subpattern, const STRLEN len, const bool ignore_case)
8389 __attribute__warn_unused_result__;
8390 # define PERL_ARGS_ASSERT_COMPILE_WILDCARD \
8394 S_compute_EXACTish(RExC_state_t *pRExC_state);
8395 # define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \
8399 S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
8400 __attribute__warn_unused_result__;
8401 # define PERL_ARGS_ASSERT_EDIT_DISTANCE \
8402 assert(src); assert(tgt)
8405 S_execute_wildcard(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
8406 # define PERL_ARGS_ASSERT_EXECUTE_WILDCARD \
8407 assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
8411 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char *start, const char *end);
8412 # define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE \
8413 assert(pRExC_state); assert(start); assert(end)
8416 S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode_offset *nodep, UV *code_point_p, int *cp_count, I32 *flagp, const bool strict, const U32 depth);
8417 # define PERL_ARGS_ASSERT_GROK_BSLASH_N \
8418 assert(pRExC_state); assert(flagp)
8420 STATIC regnode_offset
8421 S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char *backref_parse_start, char ch);
8422 # define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
8423 assert(pRExC_state); assert(flagp); assert(backref_parse_start)
8426 S_handle_names_wildcard(pTHX_ const char *wname, const STRLEN wname_len, SV **prop_definition, AV **strings);
8427 # define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
8428 assert(wname); assert(prop_definition); assert(strings)
8431 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);
8432 # define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
8433 assert(pRExC_state); assert(s)
8435 STATIC regnode_offset
8436 S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV **return_invlist, I32 *flagp, U32 depth);
8437 # define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \
8438 assert(pRExC_state); assert(flagp)
8441 S_handle_user_defined_property(pTHX_ const char *name, const STRLEN name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, SV *contents, bool *user_defined_ptr, SV *msg, const STRLEN level);
8442 # define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY \
8443 assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
8446 S_is_ssc_worth_it(const RExC_state_t *pRExC_state, const regnode_ssc *ssc);
8447 # define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT \
8448 assert(pRExC_state); assert(ssc)
8451 S_nextchar(pTHX_ RExC_state_t *pRExC_state);
8452 # define PERL_ARGS_ASSERT_NEXTCHAR \
8456 S_optimize_regclass(pTHX_ RExC_state_t *pRExC_state, SV *cp_list, SV *only_utf8_locale_list, SV *upper_latin1_only_utf8_matches, const U32 has_runtime_dependency, const U32 posixl, U8 *anyof_flags, bool *invert, regnode_offset *ret, I32 *flagp);
8457 # define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS \
8458 assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); \
8462 S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV *posix_warnings);
8463 # define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS \
8464 assert(pRExC_state); assert(posix_warnings); \
8465 assert(SvTYPE(posix_warnings) == SVt_PVAV)
8468 S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
8469 # define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \
8473 S_parse_uniprop_string(pTHX_ const char * const name, Size_t name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, AV **strings, bool *user_defined_ptr, SV *msg, const STRLEN level);
8474 # define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING \
8475 assert(name); assert(user_defined_ptr); assert(msg)
8477 PERL_STATIC_NO_RET void
8478 S_re_croak(pTHX_ bool utf8, const char *pat, ...)
8479 __attribute__noreturn__
8480 __attribute__format__(__printf__,pTHX_2,pTHX_3);
8481 # define PERL_ARGS_ASSERT_RE_CROAK \
8484 STATIC regnode_offset
8485 S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
8486 # define PERL_ARGS_ASSERT_REG \
8487 assert(pRExC_state); assert(flagp)
8489 STATIC regnode_offset
8490 S_reg1node(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
8491 # define PERL_ARGS_ASSERT_REG1NODE \
8494 STATIC regnode_offset
8495 S_reg2node(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
8496 # define PERL_ARGS_ASSERT_REG2NODE \
8499 STATIC regnode_offset
8500 S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8501 # define PERL_ARGS_ASSERT_REG_LA_NOTHING \
8502 assert(pRExC_state); assert(type)
8504 STATIC regnode_offset
8505 S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8506 # define PERL_ARGS_ASSERT_REG_LA_OPFAIL \
8507 assert(pRExC_state); assert(type)
8509 STATIC regnode_offset
8510 S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
8511 # define PERL_ARGS_ASSERT_REG_NODE \
8515 S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
8516 # define PERL_ARGS_ASSERT_REG_SCAN_NAME \
8519 STATIC regnode_offset
8520 S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8521 # define PERL_ARGS_ASSERT_REGATOM \
8522 assert(pRExC_state); assert(flagp)
8524 STATIC regnode_offset
8525 S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
8526 # define PERL_ARGS_ASSERT_REGBRANCH \
8527 assert(pRExC_state); assert(flagp)
8529 STATIC regnode_offset
8530 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);
8531 # define PERL_ARGS_ASSERT_REGCLASS \
8532 assert(pRExC_state); assert(flagp)
8535 S_regex_set_precedence(const U8 my_operator)
8536 __attribute__warn_unused_result__;
8537 # define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
8540 S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
8541 # define PERL_ARGS_ASSERT_REGINSERT \
8544 STATIC regnode_offset
8545 S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
8546 # define PERL_ARGS_ASSERT_REGNODE_GUTS \
8549 STATIC regnode_offset
8550 S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8551 # define PERL_ARGS_ASSERT_REGPIECE \
8552 assert(pRExC_state); assert(flagp)
8554 STATIC regnode_offset
8555 S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV *arg);
8556 # define PERL_ARGS_ASSERT_REGPNODE \
8557 assert(pRExC_state); assert(arg)
8560 S_regtail(pTHX_ RExC_state_t *pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
8561 __attribute__warn_unused_result__;
8562 # define PERL_ARGS_ASSERT_REGTAIL \
8563 assert(pRExC_state); assert(p); assert(val)
8566 S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
8567 # define PERL_ARGS_ASSERT_SET_REGEX_PV \
8568 assert(pRExC_state); assert(Rx)
8571 S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char **p, const bool force_to_xmod);
8572 # define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT \
8573 assert(pRExC_state); assert(p)
8576 S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
8577 # define PERL_ARGS_ASSERT_SSC_FINALIZE \
8578 assert(pRExC_state); assert(ssc)
8580 # if defined(DEBUGGING)
8581 STATIC regnode_offset
8582 S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
8583 # define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG \
8587 S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
8588 __attribute__warn_unused_result__;
8589 # define PERL_ARGS_ASSERT_REGTAIL_STUDY \
8590 assert(pRExC_state); assert(p); assert(val)
8592 # if defined(ENABLE_REGEX_SETS_DEBUGGING)
8594 S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV *stack, const IV fence, AV *fence_stack);
8595 # define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES \
8596 assert(pRExC_state); assert(stack); assert(fence_stack); \
8597 assert(SvTYPE(stack) == SVt_PVAV); \
8598 assert(SvTYPE(fence_stack) == SVt_PVAV)
8601 # endif /* defined(DEBUGGING) */
8602 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8603 PERL_STATIC_INLINE Size_t
8604 S_find_first_differing_byte_pos(const U8 *s1, const U8 *s2, const Size_t max);
8605 # define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS \
8606 assert(s1); assert(s2)
8608 PERL_STATIC_INLINE char *
8609 S_reg_skipcomment(RExC_state_t *pRExC_state, char *p);
8610 # define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \
8611 assert(pRExC_state); assert(p)
8613 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8614 #endif /* defined(PERL_IN_REGCOMP_C) */
8615 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C)
8617 Perl_populate_bitmap_from_invlist(pTHX_ SV *invlist, const UV offset, const U8 *bitmap, const Size_t len)
8618 __attribute__visibility__("hidden");
8619 # define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST \
8620 assert(invlist); assert(bitmap)
8623 Perl_populate_invlist_from_bitmap(pTHX_ const U8 *bitmap, const Size_t bitmap_len, SV **invlist, const UV offset)
8624 __attribute__visibility__("hidden");
8625 # define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP \
8626 assert(bitmap); assert(invlist)
8628 #endif /* defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C) */
8629 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8630 defined(PERL_IN_TOKE_C)
8632 Perl_is_grapheme(pTHX_ const U8 *strbeg, const U8 *s, const U8 *strend, const UV cp)
8633 __attribute__warn_unused_result__
8634 __attribute__visibility__("hidden");
8635 # define PERL_ARGS_ASSERT_IS_GRAPHEME \
8636 assert(strbeg); assert(s); assert(strend)
8639 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8640 defined(PERL_IN_UTF8_C)
8642 Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
8643 # define PERL_ARGS_ASSERT__TO_FOLD_LATIN1 \
8644 assert(p); assert(lenp)
8647 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
8649 Perl_regcurly(const char *s, const char *e, const char *result[5])
8650 __attribute__warn_unused_result__;
8651 # define PERL_ARGS_ASSERT_REGCURLY \
8652 assert(s); assert(e)
8655 #if defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING)
8657 S_put_charclass_bitmap_innards(pTHX_ SV *sv, char *bitmap, SV *nonbitmap_invlist, SV *only_utf8_locale_invlist, const regnode * const node, const U8 flags, const bool force_as_is_display);
8658 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \
8662 S_put_charclass_bitmap_innards_common(pTHX_ SV *invlist, SV *posixes, SV *only_utf8, SV *not_utf8, SV *only_utf8_locale, const bool invert);
8663 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON \
8667 S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV *invlist);
8668 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST \
8669 assert(sv); assert(invlist)
8672 S_put_code_point(pTHX_ SV *sv, UV c);
8673 # define PERL_ARGS_ASSERT_PUT_CODE_POINT \
8677 S_put_range(pTHX_ SV *sv, UV start, const UV end, const bool allow_literals);
8678 # define PERL_ARGS_ASSERT_PUT_RANGE \
8682 S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
8683 # define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
8686 S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
8687 # define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
8689 #endif /* defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING) */
8690 #if defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD)
8692 S__append_range_to_invlist(pTHX_ SV * const invlist, const UV start, const UV end);
8693 # define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \
8697 S_initialize_invlist_guts(pTHX_ SV *invlist, const Size_t initial_size);
8698 # define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS \
8702 S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
8703 # define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC \
8704 assert(dest); assert(src)
8706 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8707 PERL_STATIC_INLINE UV *
8708 S__invlist_array_init(SV * const invlist, const bool will_have_0)
8709 __attribute__warn_unused_result__;
8710 # define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
8713 PERL_STATIC_INLINE IV *
8714 S_get_invlist_previous_index_addr(SV *invlist)
8715 __attribute__warn_unused_result__;
8716 # define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \
8719 PERL_STATIC_INLINE void
8720 S_invlist_clear(pTHX_ SV *invlist);
8721 # define PERL_ARGS_ASSERT_INVLIST_CLEAR \
8724 PERL_STATIC_INLINE UV
8725 S_invlist_max(const SV * const invlist)
8726 __attribute__warn_unused_result__;
8727 # define PERL_ARGS_ASSERT_INVLIST_MAX \
8730 PERL_STATIC_INLINE IV
8731 S_invlist_previous_index(SV * const invlist)
8732 __attribute__warn_unused_result__;
8733 # define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
8736 PERL_STATIC_INLINE void
8737 S_invlist_set_previous_index(SV * const invlist, const IV index);
8738 # define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \
8741 PERL_STATIC_INLINE void
8742 S_invlist_trim(SV *invlist);
8743 # define PERL_ARGS_ASSERT_INVLIST_TRIM \
8746 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8747 #endif /* defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD) */
8748 #if defined(PERL_IN_REGCOMP_STUDY_C)
8750 S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass * const node);
8751 # define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \
8752 assert(pRExC_state); assert(node)
8755 S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
8756 __attribute__warn_unused_result__;
8757 # define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST \
8758 assert(pRExC_state); assert(node)
8761 S_rck_elide_nothing(pTHX_ regnode *node);
8762 # define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
8766 S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
8767 # define PERL_ARGS_ASSERT_SSC_ADD_RANGE \
8771 S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
8772 # define PERL_ARGS_ASSERT_SSC_AND \
8773 assert(pRExC_state); assert(ssc); assert(and_with)
8776 S_ssc_anything(pTHX_ regnode_ssc *ssc);
8777 # define PERL_ARGS_ASSERT_SSC_ANYTHING \
8781 S_ssc_clear_locale(regnode_ssc *ssc);
8782 # define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE \
8786 S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
8787 # define PERL_ARGS_ASSERT_SSC_CP_AND \
8791 S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8792 # define PERL_ARGS_ASSERT_SSC_INTERSECTION \
8793 assert(ssc); assert(invlist)
8796 S_ssc_is_anything(const regnode_ssc *ssc)
8797 __attribute__warn_unused_result__;
8798 # define PERL_ARGS_ASSERT_SSC_IS_ANYTHING \
8802 S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
8803 __attribute__warn_unused_result__;
8804 # define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \
8805 assert(pRExC_state); assert(ssc)
8808 S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
8809 # define PERL_ARGS_ASSERT_SSC_OR \
8810 assert(pRExC_state); assert(ssc); assert(or_with)
8813 S_ssc_union(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8814 # define PERL_ARGS_ASSERT_SSC_UNION \
8815 assert(ssc); assert(invlist)
8818 S_unwind_scan_frames(pTHX_ const void *p);
8819 # define PERL_ARGS_ASSERT_UNWIND_SCAN_FRAMES \
8822 #endif /* defined(PERL_IN_REGCOMP_STUDY_C) */
8823 #if defined(PERL_IN_REGEXEC_C)
8825 S_advance_one_LB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8826 __attribute__warn_unused_result__;
8827 # define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
8828 assert(curpos); assert(strend)
8831 S_advance_one_SB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8832 __attribute__warn_unused_result__;
8833 # define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
8834 assert(curpos); assert(strend)
8837 S_advance_one_WB_(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
8838 __attribute__warn_unused_result__;
8839 # define PERL_ARGS_ASSERT_ADVANCE_ONE_WB_ \
8840 assert(curpos); assert(strend)
8843 S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8844 __attribute__warn_unused_result__;
8845 # define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
8846 assert(strbeg); assert(curpos)
8849 S_backup_one_LB_(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target, bool skip_CM_ZWJ)
8850 __attribute__warn_unused_result__;
8851 # define PERL_ARGS_ASSERT_BACKUP_ONE_LB_ \
8852 assert(strbeg); assert(curpos)
8855 S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8856 __attribute__warn_unused_result__;
8857 # define PERL_ARGS_ASSERT_BACKUP_ONE_SB \
8858 assert(strbeg); assert(curpos)
8861 S_backup_one_WB_but_over_Extend_FO(pTHX_ WB_enum *previous, const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8862 __attribute__warn_unused_result__;
8863 # define PERL_ARGS_ASSERT_BACKUP_ONE_WB_BUT_OVER_EXTEND_FO \
8864 assert(previous); assert(strbeg); assert(curpos)
8867 S_find_byclass(pTHX_ regexp *prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
8868 __attribute__warn_unused_result__;
8869 # define PERL_ARGS_ASSERT_FIND_BYCLASS \
8870 assert(prog); assert(c); assert(s); assert(strend)
8873 S_find_next_masked(U8 *s, const U8 *send, const U8 byte, const U8 mask)
8874 __attribute__warn_unused_result__;
8875 # define PERL_ARGS_ASSERT_FIND_NEXT_MASKED \
8876 assert(s); assert(send)
8879 S_find_span_end(U8 *s, const U8 *send, const U8 span_byte)
8880 __attribute__warn_unused_result__;
8881 # define PERL_ARGS_ASSERT_FIND_SPAN_END \
8882 assert(s); assert(send)
8885 S_find_span_end_mask(U8 *s, const U8 *send, const U8 span_byte, const U8 mask)
8886 __attribute__warn_unused_result__;
8887 # define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK \
8888 assert(s); assert(send)
8891 S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
8892 __attribute__warn_unused_result__;
8893 # define PERL_ARGS_ASSERT_ISFOO_LC
8896 S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8 *character, const U8 *e)
8897 __attribute__warn_unused_result__;
8898 # define PERL_ARGS_ASSERT_ISFOO_UTF8_LC \
8899 assert(character); assert(e)
8902 S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
8903 __attribute__warn_unused_result__;
8904 # define PERL_ARGS_ASSERT_ISGCB \
8905 assert(strbeg); assert(curpos)
8908 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)
8909 __attribute__warn_unused_result__;
8910 # define PERL_ARGS_ASSERT_ISLB \
8911 assert(strbeg); assert(curpos); assert(strend)
8914 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)
8915 __attribute__warn_unused_result__;
8916 # define PERL_ARGS_ASSERT_ISSB \
8917 assert(strbeg); assert(curpos); assert(strend)
8920 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)
8921 __attribute__warn_unused_result__;
8922 # define PERL_ARGS_ASSERT_ISWB \
8923 assert(strbeg); assert(curpos); assert(strend)
8926 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
8927 __attribute__warn_unused_result__;
8928 # define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
8929 assert(rex); assert(scan)
8932 S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p comma_pDEPTH);
8933 # define PERL_ARGS_ASSERT_REGCP_RESTORE \
8934 assert(rex); assert(maxopenparen_p)
8937 S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p comma_pDEPTH);
8938 # define PERL_ARGS_ASSERT_REGCPPOP \
8939 assert(rex); assert(maxopenparen_p)
8942 S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen comma_pDEPTH);
8943 # define PERL_ARGS_ASSERT_REGCPPUSH \
8947 S_reghop3(U8 *s, SSize_t off, const U8 *lim)
8948 __attribute__warn_unused_result__;
8949 # define PERL_ARGS_ASSERT_REGHOP3 \
8950 assert(s); assert(lim)
8953 S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
8954 __attribute__warn_unused_result__;
8955 # define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
8956 assert(s); assert(lim)
8959 S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
8960 __attribute__warn_unused_result__;
8961 # define PERL_ARGS_ASSERT_REGINCLASS \
8962 assert(n); assert(p); assert(p_end)
8965 S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
8966 __attribute__warn_unused_result__;
8967 # define PERL_ARGS_ASSERT_REGMATCH \
8968 assert(reginfo); assert(startpos); assert(prog)
8971 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info * const reginfo, I32 max comma_pDEPTH)
8972 __attribute__warn_unused_result__;
8973 # define PERL_ARGS_ASSERT_REGREPEAT \
8974 assert(prog); assert(startposp); assert(p); assert(loceol); \
8975 assert(reginfo); assert(max)
8978 S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
8979 __attribute__warn_unused_result__;
8980 # define PERL_ARGS_ASSERT_REGTRY \
8981 assert(reginfo); assert(startposp)
8984 S_to_byte_substr(pTHX_ regexp *prog);
8985 # define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
8989 S_to_utf8_substr(pTHX_ regexp *prog);
8990 # define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
8993 # if defined(DEBUGGING)
8995 S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
8996 # define PERL_ARGS_ASSERT_DEBUG_START_MATCH \
8997 assert(prog); assert(start); assert(end); assert(blurb)
9000 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);
9001 # define PERL_ARGS_ASSERT_DUMP_EXEC_POS \
9002 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); \
9003 assert(loc_reg_starttry)
9006 Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
9007 __attribute__visibility__("hidden");
9008 # define PERL_ARGS_ASSERT_RE_EXEC_INDENTF \
9011 # endif /* defined(DEBUGGING) */
9012 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9013 PERL_STATIC_INLINE void
9014 S_capture_clear(pTHX_ regexp *rex, U16 from_ix, U16 to_ix, const char *str comma_pDEPTH);
9015 # define PERL_ARGS_ASSERT_CAPTURE_CLEAR \
9016 assert(rex); assert(str)
9018 PERL_STATIC_INLINE I32
9019 S_foldEQ_latin1_s2_folded(pTHX_ const char *a, const char *b, I32 len);
9020 # define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED \
9021 assert(a); assert(b)
9023 PERL_STATIC_INLINE void
9024 S_unwind_paren(pTHX_ regexp *rex, U32 lp, U32 lcp comma_pDEPTH);
9025 # define PERL_ARGS_ASSERT_UNWIND_PAREN \
9028 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9029 #endif /* defined(PERL_IN_REGEXEC_C) */
9030 #if defined(PERL_IN_REGEX_ENGINE)
9032 # if defined(DEBUGGING)
9034 Perl_debug_peep(pTHX_ const char *str, const RExC_state_t *pRExC_state, regnode *scan, U32 depth, U32 flags)
9035 __attribute__visibility__("hidden");
9036 # define PERL_ARGS_ASSERT_DEBUG_PEEP \
9037 assert(str); assert(pRExC_state)
9040 Perl_debug_show_study_flags(pTHX_ U32 flags, const char *open_str, const char *close_str)
9041 __attribute__visibility__("hidden");
9042 # define PERL_ARGS_ASSERT_DEBUG_SHOW_STUDY_FLAGS \
9043 assert(open_str); assert(close_str)
9046 Perl_debug_studydata(pTHX_ const char *where, scan_data_t *data, U32 depth, int is_inf, SSize_t min, SSize_t stopmin, SSize_t delta)
9047 __attribute__visibility__("hidden");
9048 # define PERL_ARGS_ASSERT_DEBUG_STUDYDATA \
9051 PERL_CALLCONV const regnode *
9052 Perl_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV *sv, I32 indent, U32 depth)
9053 __attribute__visibility__("hidden");
9054 # define PERL_ARGS_ASSERT_DUMPUNTIL \
9055 assert(r); assert(start); assert(node); assert(sv)
9058 Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
9059 __attribute__visibility__("hidden");
9060 # define PERL_ARGS_ASSERT_RE_INDENTF \
9064 Perl_re_printf(pTHX_ const char *fmt, ...)
9065 __attribute__visibility__("hidden")
9066 __attribute__format__(__printf__,pTHX_1,pTHX_2);
9067 # define PERL_ARGS_ASSERT_RE_PRINTF \
9071 Perl_regprop(pTHX_ const regexp *prog, SV *sv, const regnode *o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
9072 __attribute__visibility__("hidden");
9073 # define PERL_ARGS_ASSERT_REGPROP \
9074 assert(sv); assert(o)
9076 # endif /* defined(DEBUGGING) */
9077 # if defined(PERL_EXT_RE_BUILD)
9079 Perl_get_re_gclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
9080 __attribute__visibility__("hidden");
9081 # define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
9086 Perl_get_regclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
9087 __attribute__visibility__("hidden");
9088 # define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA \
9092 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9093 PERL_STATIC_INLINE bool
9094 Perl_check_regnode_after(pTHX_ const regnode *p, const STRLEN extra)
9095 __attribute__warn_unused_result__;
9096 # define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
9098 PERL_STATIC_INLINE regnode *
9099 Perl_regnext(pTHX_ const regnode *p)
9100 __attribute__warn_unused_result__;
9101 # define PERL_ARGS_ASSERT_REGNEXT
9103 PERL_STATIC_INLINE regnode *
9104 Perl_regnode_after(pTHX_ const regnode *p, bool varies)
9105 __attribute__warn_unused_result__;
9106 # define PERL_ARGS_ASSERT_REGNODE_AFTER
9108 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9109 #endif /* defined(PERL_IN_REGEX_ENGINE) */
9110 #if defined(PERL_IN_SCOPE_C)
9112 S_save_pushptri32ptr(pTHX_ void * const ptr1, const I32 i, void * const ptr2, const int type);
9113 # define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
9116 S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
9117 # define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
9120 #endif /* defined(PERL_IN_SCOPE_C) */
9121 #if defined(PERL_IN_SV_C)
9123 S_F0convert(NV nv, char * const endbuf, STRLEN * const len);
9124 # define PERL_ARGS_ASSERT_F0CONVERT \
9125 assert(endbuf); assert(len)
9128 S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
9129 # define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE \
9130 assert(gv); assert(cv); \
9131 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
9134 S_assert_uft8_cache_coherent(pTHX_ const char * const func, STRLEN from_cache, STRLEN real, SV * const sv);
9135 # define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \
9136 assert(func); assert(sv)
9139 S_croak_sv_setsv_flags(pTHX_ SV * const dsv, SV * const ssv);
9140 # define PERL_ARGS_ASSERT_CROAK_SV_SETSV_FLAGS \
9141 assert(dsv); assert(ssv)
9144 S_curse(pTHX_ SV * const sv, const bool check_refcnt);
9145 # define PERL_ARGS_ASSERT_CURSE \
9149 S_expect_number(pTHX_ const char ** const pattern)
9150 __attribute__warn_unused_result__;
9151 # define PERL_ARGS_ASSERT_EXPECT_NUMBER \
9155 S_find_array_subscript(pTHX_ const AV * const av, const SV * const val);
9156 # define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \
9160 S_find_hash_subscript(pTHX_ const HV * const hv, const SV * const val);
9161 # define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \
9165 S_find_uninit_var(pTHX_ const OP * const obase, const SV * const uninit_sv, bool match, const char **desc_p);
9166 # define PERL_ARGS_ASSERT_FIND_UNINIT_VAR \
9170 S_glob_2number(pTHX_ GV * const gv);
9171 # define PERL_ARGS_ASSERT_GLOB_2NUMBER \
9175 S_glob_assign_glob(pTHX_ SV * const dsv, SV * const ssv, const int dtype);
9176 # define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \
9177 assert(dsv); assert(ssv)
9181 # define PERL_ARGS_ASSERT_MORE_SV
9184 S_not_a_number(pTHX_ SV * const sv);
9185 # define PERL_ARGS_ASSERT_NOT_A_NUMBER \
9189 S_not_incrementable(pTHX_ SV * const sv);
9190 # define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \
9193 STATIC PTR_TBL_ENT_t *
9194 S_ptr_table_find(PTR_TBL_t * const tbl, const void * const sv)
9195 __attribute__warn_unused_result__;
9196 # define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
9200 S_sv_2iuv_common(pTHX_ SV * const sv);
9201 # define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
9205 S_sv_add_arena(pTHX_ char * const ptr, const U32 size, const U32 flags);
9206 # define PERL_ARGS_ASSERT_SV_ADD_ARENA \
9210 S_sv_display(pTHX_ SV * const sv, char *tmpbuf, STRLEN tmpbuf_size);
9211 # define PERL_ARGS_ASSERT_SV_DISPLAY \
9212 assert(sv); assert(tmpbuf)
9215 S_sv_pos_b2u_midway(pTHX_ const U8 * const s, const U8 * const target, const U8 *end, STRLEN endu);
9216 # define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \
9217 assert(s); assert(target); assert(end)
9220 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);
9221 # define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \
9222 assert(sv); assert(mgp); assert(start); assert(send)
9225 S_sv_pos_u2b_forwards(const U8 * const start, const U8 * const send, STRLEN * const uoffset, bool * const at_end, bool *canonical_position);
9226 # define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \
9227 assert(start); assert(send); assert(uoffset); assert(at_end); \
9228 assert(canonical_position)
9231 S_sv_pos_u2b_midway(const U8 * const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
9232 # define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \
9233 assert(start); assert(send)
9236 S_utf8_mg_len_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN ulen);
9237 # define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \
9238 assert(sv); assert(mgp)
9241 S_utf8_mg_pos_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
9242 # define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
9243 assert(sv); assert(mgp)
9246 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
9247 # define PERL_ARGS_ASSERT_VISIT \
9250 # if defined(DEBUGGING)
9252 S_del_sv(pTHX_ SV *p);
9253 # define PERL_ARGS_ASSERT_DEL_SV \
9257 Perl_sv_mark_arenas(pTHX)
9258 __attribute__visibility__("hidden");
9259 # define PERL_ARGS_ASSERT_SV_MARK_ARENAS
9262 Perl_sv_sweep_arenas(pTHX)
9263 __attribute__visibility__("hidden");
9264 # define PERL_ARGS_ASSERT_SV_SWEEP_ARENAS
9266 # endif /* defined(DEBUGGING) */
9267 # if !defined(NV_PRESERVES_UV)
9268 # if defined(DEBUGGING)
9270 S_sv_2iuv_non_preserve(pTHX_ SV * const sv, I32 numtype);
9271 # define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9276 S_sv_2iuv_non_preserve(pTHX_ SV * const sv);
9277 # define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9281 # endif /* !defined(NV_PRESERVES_UV) */
9282 # if defined(PERL_DEBUG_READONLY_COW)
9284 S_sv_buf_to_rw(pTHX_ SV *sv);
9285 # define PERL_ARGS_ASSERT_SV_BUF_TO_RW \
9289 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9290 PERL_STATIC_INLINE void
9291 S_sv_unglob(pTHX_ SV * const sv, U32 flags);
9292 # define PERL_ARGS_ASSERT_SV_UNGLOB \
9296 # if defined(USE_ITHREADS)
9298 S_sv_dup_common(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
9299 __attribute__warn_unused_result__;
9300 # define PERL_ARGS_ASSERT_SV_DUP_COMMON \
9301 assert(ssv); assert(param)
9304 S_sv_dup_hvaux(pTHX_ const SV * const ssv, SV *dsv, CLONE_PARAMS * const param);
9305 # define PERL_ARGS_ASSERT_SV_DUP_HVAUX \
9306 assert(ssv); assert(dsv); assert(param)
9309 S_sv_dup_inc_multiple(pTHX_ SV * const *source, SV **dest, SSize_t items, CLONE_PARAMS * const param);
9310 # define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \
9311 assert(source); assert(dest); assert(param)
9314 S_unreferenced_to_tmp_stack(pTHX_ AV * const unreferenced);
9315 # define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \
9316 assert(unreferenced); assert(SvTYPE(unreferenced) == SVt_PVAV)
9318 # endif /* defined(USE_ITHREADS) */
9319 #endif /* defined(PERL_IN_SV_C) */
9320 #if defined(PERL_IN_TOKE_C)
9322 S_ao(pTHX_ int toketype);
9323 # define PERL_ARGS_ASSERT_AO
9327 # define PERL_ARGS_ASSERT_CHECK_UNI
9330 S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
9331 # define PERL_ARGS_ASSERT_CHECKCOMMA \
9332 assert(s); assert(name); assert(what)
9335 S_filter_gets(pTHX_ SV *sv, STRLEN append)
9336 __attribute__warn_unused_result__;
9337 # define PERL_ARGS_ASSERT_FILTER_GETS \
9341 S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
9342 __attribute__warn_unused_result__;
9343 # define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \
9347 S_force_ident(pTHX_ const char *s, int kind);
9348 # define PERL_ARGS_ASSERT_FORCE_IDENT \
9352 S_force_ident_maybe_lex(pTHX_ char pit);
9353 # define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
9356 S_force_next(pTHX_ I32 type);
9357 # define PERL_ARGS_ASSERT_FORCE_NEXT
9360 S_force_strict_version(pTHX_ char *s);
9361 # define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \
9365 S_force_version(pTHX_ char *s, int guessing);
9366 # define PERL_ARGS_ASSERT_FORCE_VERSION \
9370 S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
9371 # define PERL_ARGS_ASSERT_FORCE_WORD \
9375 S_get_and_check_backslash_N_name_wrapper(pTHX_ const char *s, const char * const e)
9376 __attribute__warn_unused_result__;
9377 # define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
9378 assert(s); assert(e)
9381 S_incline(pTHX_ const char *s, const char *end);
9382 # define PERL_ARGS_ASSERT_INCLINE \
9383 assert(s); assert(end)
9386 S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
9387 # define PERL_ARGS_ASSERT_INTUIT_METHOD \
9391 S_intuit_more(pTHX_ char *s, char *e);
9392 # define PERL_ARGS_ASSERT_INTUIT_MORE \
9393 assert(s); assert(e)
9396 S_lop(pTHX_ enum yytokentype t, I32 f, U8 x, char *s);
9397 # define PERL_ARGS_ASSERT_LOP \
9400 PERL_STATIC_NO_RET void
9401 S_missingterm(pTHX_ char *s, STRLEN len)
9402 __attribute__noreturn__;
9403 # define PERL_ARGS_ASSERT_MISSINGTERM
9406 S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen, const char **error_msg);
9407 # define PERL_ARGS_ASSERT_NEW_CONSTANT \
9408 assert(key); assert(sv)
9411 S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar);
9412 # define PERL_ARGS_ASSERT_PARSE_IDENT \
9413 assert(s); assert(d); assert(e)
9416 S_pending_ident(pTHX);
9417 # define PERL_ARGS_ASSERT_PENDING_IDENT
9420 S_scan_const(pTHX_ char *start)
9421 __attribute__warn_unused_result__;
9422 # define PERL_ARGS_ASSERT_SCAN_CONST \
9426 S_scan_formline(pTHX_ char *s)
9427 __attribute__warn_unused_result__;
9428 # define PERL_ARGS_ASSERT_SCAN_FORMLINE \
9432 S_scan_heredoc(pTHX_ char *s)
9433 __attribute__warn_unused_result__;
9434 # define PERL_ARGS_ASSERT_SCAN_HEREDOC \
9438 S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
9439 # define PERL_ARGS_ASSERT_SCAN_IDENT \
9440 assert(s); assert(dest)
9443 S_scan_inputsymbol(pTHX_ char *start)
9444 __attribute__warn_unused_result__;
9445 # define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \
9449 S_scan_pat(pTHX_ char *start, I32 type)
9450 __attribute__warn_unused_result__;
9451 # define PERL_ARGS_ASSERT_SCAN_PAT \
9455 S_scan_subst(pTHX_ char *start)
9456 __attribute__warn_unused_result__;
9457 # define PERL_ARGS_ASSERT_SCAN_SUBST \
9461 S_scan_trans(pTHX_ char *start)
9462 __attribute__warn_unused_result__;
9463 # define PERL_ARGS_ASSERT_SCAN_TRANS \
9468 __attribute__warn_unused_result__;
9469 # define PERL_ARGS_ASSERT_SUBLEX_DONE
9473 __attribute__warn_unused_result__;
9474 # define PERL_ARGS_ASSERT_SUBLEX_PUSH
9477 S_sublex_start(pTHX)
9478 __attribute__warn_unused_result__;
9479 # define PERL_ARGS_ASSERT_SUBLEX_START
9482 S_swallow_bom(pTHX_ U8 *s)
9483 __attribute__warn_unused_result__;
9484 # define PERL_ARGS_ASSERT_SWALLOW_BOM \
9488 S_tokenize_use(pTHX_ int is_use, char *s)
9489 __attribute__warn_unused_result__;
9490 # define PERL_ARGS_ASSERT_TOKENIZE_USE \
9494 S_tokeq(pTHX_ SV *sv);
9495 # define PERL_ARGS_ASSERT_TOKEQ \
9499 S_update_debugger_info(pTHX_ SV *orig_sv, const char * const buf, STRLEN len);
9500 # define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
9503 S_warn_expect_operator(pTHX_ const char * const what, char *s, I32 pop_oldbufptr);
9504 # define PERL_ARGS_ASSERT_WARN_EXPECT_OPERATOR \
9508 S_yyerror_non_ascii_message(pTHX_ const U8 * const s);
9509 # define PERL_ARGS_ASSERT_YYERROR_NON_ASCII_MESSAGE \
9513 S_yywarn(pTHX_ const char * const s, U32 flags);
9514 # define PERL_ARGS_ASSERT_YYWARN \
9517 # if defined(DEBUGGING)
9519 S_printbuf(pTHX_ const char * const fmt, const char * const s)
9520 __attribute__format__(__printf__,pTHX_1,0);
9521 # define PERL_ARGS_ASSERT_PRINTBUF \
9522 assert(fmt); assert(s)
9525 S_tokereport(pTHX_ I32 rv, const YYSTYPE *lvalp);
9526 # define PERL_ARGS_ASSERT_TOKEREPORT \
9529 # endif /* defined(DEBUGGING) */
9530 # if !defined(PERL_NO_UTF16_FILTER)
9532 S_add_utf16_textfilter(pTHX_ U8 * const s, bool reversed);
9533 # define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
9537 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
9538 # define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
9541 # endif /* !defined(PERL_NO_UTF16_FILTER) */
9542 #endif /* defined(PERL_IN_TOKE_C) */
9543 #if defined(PERL_IN_UNIVERSAL_C)
9545 S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char *name, STRLEN len, U32 flags);
9548 S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char *name, const STRLEN len, U32 flags);
9551 #if defined(PERL_IN_UTF8_C)
9553 S__to_utf8_case(pTHX_ const UV original, const U8 *p, U8 *ustrp, STRLEN *lenp, SV *invlist, const I32 * const invmap, const U32 * const * const aux_tables, const U8 * const aux_table_lengths, const char * const normal);
9554 # define PERL_ARGS_ASSERT__TO_UTF8_CASE \
9555 assert(ustrp); assert(lenp); assert(invlist); assert(invmap); \
9559 S_check_locale_boundary_crossing(pTHX_ const U8 * const p, const UV result, U8 * const ustrp, STRLEN *lenp)
9560 __attribute__warn_unused_result__;
9561 # define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
9562 assert(p); assert(ustrp); assert(lenp)
9565 S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
9566 __attribute__warn_unused_result__;
9567 # define PERL_ARGS_ASSERT_NEW_MSG_HV \
9571 S_to_case_cp_list(pTHX_ const UV original, const U32 ** const remaining_list, Size_t *remaining_count, SV *invlist, const I32 * const invmap, const U32 * const * const aux_tables, const U8 * const aux_table_lengths, const char * const normal);
9572 # define PERL_ARGS_ASSERT_TO_CASE_CP_LIST \
9573 assert(invlist); assert(invmap); assert(normal)
9576 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
9577 __attribute__warn_unused_result__;
9578 # define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
9581 S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9582 # define PERL_ARGS_ASSERT_TURKIC_FC \
9583 assert(p); assert(e); assert(ustrp); assert(lenp)
9586 S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9587 # define PERL_ARGS_ASSERT_TURKIC_LC \
9588 assert(p0); assert(e); assert(ustrp); assert(lenp)
9591 S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9592 # define PERL_ARGS_ASSERT_TURKIC_UC \
9593 assert(p); assert(e); assert(ustrp); assert(lenp)
9596 S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
9597 __attribute__warn_unused_result__;
9598 # define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT \
9603 S_warn_on_first_deprecated_use(pTHX_ U32 category, const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
9604 # define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE \
9605 assert(name); assert(alternative); assert(file)
9608 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9609 PERL_STATIC_INLINE int
9610 S_does_utf8_overflow(const U8 * const s, const U8 *e)
9611 __attribute__warn_unused_result__;
9612 # define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW \
9613 assert(s); assert(e)
9615 PERL_STATIC_INLINE int
9616 S_isFF_overlong(const U8 * const s, const STRLEN len)
9617 __attribute__warn_unused_result__;
9618 # define PERL_ARGS_ASSERT_ISFF_OVERLONG \
9621 PERL_STATIC_INLINE int
9622 S_is_utf8_overlong(const U8 * const s, const STRLEN len)
9623 __attribute__warn_unused_result__;
9624 # define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG \
9627 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9628 #endif /* defined(PERL_IN_UTF8_C) */
9629 #if defined(PERL_IN_UTIL_C)
9631 S_ckwarn_common(pTHX_ U32 w);
9632 # define PERL_ARGS_ASSERT_CKWARN_COMMON
9636 # define PERL_ARGS_ASSERT_MESS_ALLOC
9639 S_with_queued_errors(pTHX_ SV *ex);
9640 # define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \
9644 S_xs_version_bootcheck(pTHX_ SSize_t items, SSize_t ax, const char *xs_p, STRLEN xs_len);
9645 # define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK \
9648 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9650 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);
9651 # define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
9652 assert(type_name); assert(filename); assert(funcname)
9655 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9656 PERL_STATIC_INLINE U32
9658 # define PERL_ARGS_ASSERT_PTR_HASH
9661 # if defined(PERL_USES_PL_PIDSTATUS)
9663 S_pidgone(pTHX_ Pid_t pid, int status);
9664 # define PERL_ARGS_ASSERT_PIDGONE
9667 #endif /* defined(PERL_IN_UTIL_C) */
9668 #if defined(PERL_MEM_LOG)
9669 PERL_CALLCONV Malloc_t
9670 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);
9671 # define PERL_ARGS_ASSERT_MEM_LOG_ALLOC \
9672 assert(type_name); assert(filename); assert(funcname)
9675 Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9676 # define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
9677 assert(sv); assert(filename); assert(funcname)
9679 PERL_CALLCONV Malloc_t
9680 Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
9681 # define PERL_ARGS_ASSERT_MEM_LOG_FREE \
9682 assert(filename); assert(funcname)
9685 Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9686 # define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
9687 assert(sv); assert(filename); assert(funcname)
9689 PERL_CALLCONV Malloc_t
9690 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);
9691 # define PERL_ARGS_ASSERT_MEM_LOG_REALLOC \
9692 assert(type_name); assert(filename); assert(funcname)
9694 #endif /* defined(PERL_MEM_LOG) */
9695 #if !defined(PERL_NO_INLINE_FUNCTIONS)
9696 PERL_STATIC_INLINE I32 *
9697 Perl_CvDEPTH(const CV * const sv);
9698 # define PERL_ARGS_ASSERT_CVDEPTH \
9701 PERL_STATIC_INLINE GV *
9702 Perl_CvGV(pTHX_ CV *sv);
9703 # define PERL_ARGS_ASSERT_CVGV \
9704 assert(sv); assert(SvTYPE(sv) == SVt_PVCV || SvTYPE(sv) == SVt_PVFM)
9706 PERL_STATIC_INLINE Stack_off_t
9708 # define PERL_ARGS_ASSERT_POPMARK
9710 PERL_STATIC_INLINE struct regexp *
9711 Perl_ReANY(const REGEXP * const re);
9712 # define PERL_ARGS_ASSERT_REANY \
9715 PERL_STATIC_INLINE void
9716 Perl_SvAMAGIC_off(SV *sv);
9717 # define PERL_ARGS_ASSERT_SVAMAGIC_OFF \
9720 PERL_STATIC_INLINE void
9721 Perl_SvAMAGIC_on(SV *sv);
9722 # define PERL_ARGS_ASSERT_SVAMAGIC_ON \
9725 PERL_STATIC_INLINE void
9726 Perl_SvGETMAGIC(pTHX_ SV *sv);
9727 # define PERL_ARGS_ASSERT_SVGETMAGIC \
9730 PERL_STATIC_INLINE IV
9731 Perl_SvIV(pTHX_ SV *sv);
9732 # define PERL_ARGS_ASSERT_SVIV \
9735 PERL_STATIC_INLINE IV
9736 Perl_SvIV_nomg(pTHX_ SV *sv);
9737 # define PERL_ARGS_ASSERT_SVIV_NOMG \
9740 PERL_STATIC_INLINE NV
9741 Perl_SvNV(pTHX_ SV *sv);
9742 # define PERL_ARGS_ASSERT_SVNV \
9745 PERL_STATIC_INLINE NV
9746 Perl_SvNV_nomg(pTHX_ SV *sv);
9747 # define PERL_ARGS_ASSERT_SVNV_NOMG \
9750 PERL_STATIC_FORCE_INLINE bool
9751 Perl_SvPVXtrue(pTHX_ SV *sv)
9752 __attribute__always_inline__;
9753 # define PERL_ARGS_ASSERT_SVPVXTRUE \
9756 PERL_STATIC_INLINE void
9757 Perl_SvREFCNT_dec(pTHX_ SV *sv);
9758 # define PERL_ARGS_ASSERT_SVREFCNT_DEC
9760 PERL_STATIC_INLINE void
9761 Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
9762 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN \
9765 PERL_STATIC_INLINE SV *
9766 Perl_SvREFCNT_dec_ret_NULL(pTHX_ SV *sv);
9767 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_RET_NULL
9769 PERL_STATIC_INLINE SV *
9770 Perl_SvREFCNT_inc(SV *sv);
9771 # define PERL_ARGS_ASSERT_SVREFCNT_INC
9773 PERL_STATIC_INLINE SV *
9774 Perl_SvREFCNT_inc_NN(SV *sv);
9775 # define PERL_ARGS_ASSERT_SVREFCNT_INC_NN \
9778 PERL_STATIC_INLINE void
9779 Perl_SvREFCNT_inc_void(SV *sv);
9780 # define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
9782 PERL_STATIC_INLINE bool
9783 Perl_SvTRUE(pTHX_ SV *sv);
9784 # define PERL_ARGS_ASSERT_SVTRUE
9786 PERL_STATIC_INLINE bool
9787 Perl_SvTRUE_NN(pTHX_ SV *sv);
9788 # define PERL_ARGS_ASSERT_SVTRUE_NN \
9791 PERL_STATIC_INLINE bool
9792 Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
9793 # define PERL_ARGS_ASSERT_SVTRUE_COMMON \
9796 PERL_STATIC_INLINE bool
9797 Perl_SvTRUE_nomg(pTHX_ SV *sv);
9798 # define PERL_ARGS_ASSERT_SVTRUE_NOMG
9800 PERL_STATIC_INLINE UV
9801 Perl_SvUV(pTHX_ SV *sv);
9802 # define PERL_ARGS_ASSERT_SVUV \
9805 PERL_STATIC_INLINE UV
9806 Perl_SvUV_nomg(pTHX_ SV *sv);
9807 # define PERL_ARGS_ASSERT_SVUV_NOMG \
9810 PERL_STATIC_INLINE Stack_off_t
9812 # define PERL_ARGS_ASSERT_TOPMARK
9814 PERL_STATIC_INLINE void
9815 Perl_append_utf8_from_native_byte(const U8 byte, U8 **dest);
9816 # define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
9819 PERL_STATIC_INLINE Size_t
9820 Perl_av_count(pTHX_ AV *av)
9821 __attribute__warn_unused_result__;
9822 # define PERL_ARGS_ASSERT_AV_COUNT \
9823 assert(av); assert(SvTYPE(av) == SVt_PVAV)
9825 PERL_STATIC_INLINE SV **
9826 Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
9827 __attribute__warn_unused_result__;
9828 # define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE \
9829 assert(av); assert(SvTYPE(av) == SVt_PVAV)
9831 PERL_STATIC_INLINE AV *
9832 Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
9833 __attribute__warn_unused_result__;
9834 # define PERL_ARGS_ASSERT_AV_NEW_ALLOC
9836 PERL_STATIC_INLINE void
9837 Perl_av_push_simple(pTHX_ AV *av, SV *val);
9838 # define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE \
9839 assert(av); assert(val); assert(SvTYPE(av) == SVt_PVAV)
9841 PERL_STATIC_INLINE void
9842 Perl_av_remove_offset(pTHX_ AV *av);
9843 # define PERL_ARGS_ASSERT_AV_REMOVE_OFFSET \
9844 assert(av); assert(SvTYPE(av) == SVt_PVAV)
9846 PERL_STATIC_INLINE SV **
9847 Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
9848 # define PERL_ARGS_ASSERT_AV_STORE_SIMPLE \
9849 assert(av); assert(SvTYPE(av) == SVt_PVAV)
9851 PERL_STATIC_INLINE U8 *
9852 Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
9853 # define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
9854 assert(s); assert(lenp)
9856 PERL_STATIC_INLINE U8 *
9857 Perl_bytes_to_utf8_temp_pv(pTHX_ const U8 *s, STRLEN *lenp);
9858 # define PERL_ARGS_ASSERT_BYTES_TO_UTF8_TEMP_PV \
9859 assert(s); assert(lenp)
9861 PERL_STATIC_INLINE void
9862 Perl_clear_defarray_simple(pTHX_ AV *av);
9863 # define PERL_ARGS_ASSERT_CLEAR_DEFARRAY_SIMPLE \
9864 assert(av); assert(SvTYPE(av) == SVt_PVAV)
9866 PERL_STATIC_INLINE I32
9867 Perl_foldEQ(pTHX_ const char *a, const char *b, I32 len);
9868 # define PERL_ARGS_ASSERT_FOLDEQ \
9869 assert(a); assert(b)
9871 PERL_STATIC_INLINE I32
9872 Perl_foldEQ_latin1(pTHX_ const char *a, const char *b, I32 len);
9873 # define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
9874 assert(a); assert(b)
9876 PERL_STATIC_INLINE I32
9877 Perl_foldEQ_locale(pTHX_ const char *a, const char *b, I32 len);
9878 # define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
9879 assert(a); assert(b)
9881 PERL_STATIC_INLINE MGVTBL *
9882 Perl_get_vtbl(pTHX_ int vtbl_id)
9883 __attribute__warn_unused_result__;
9884 # define PERL_ARGS_ASSERT_GET_VTBL
9886 PERL_STATIC_INLINE Size_t
9887 Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9888 __attribute__warn_unused_result__;
9889 # define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR \
9890 assert(s0); assert(e)
9892 PERL_STATIC_INLINE Size_t
9893 Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9894 __attribute__warn_unused_result__;
9895 # define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR \
9896 assert(s0); assert(e)
9898 PERL_STATIC_INLINE Size_t
9899 Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
9900 __attribute__warn_unused_result__;
9901 # define PERL_ARGS_ASSERT_ISUTF8_CHAR \
9902 assert(s0); assert(e)
9904 PERL_STATIC_INLINE Size_t
9905 Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9906 __attribute__warn_unused_result__;
9907 # define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS \
9908 assert(s0); assert(e)
9910 PERL_STATIC_INLINE bool
9911 Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9912 # define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
9915 PERL_STATIC_INLINE bool
9916 Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
9917 __attribute__warn_unused_result__;
9918 # define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \
9919 assert(pv); assert(what); assert(op_name)
9921 PERL_STATIC_INLINE bool
9922 Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9923 # define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
9926 PERL_STATIC_INLINE bool
9927 Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9928 # define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
9931 PERL_STATIC_INLINE bool
9932 Perl_is_utf8_invariant_string_loc(const U8 * const s, STRLEN len, const U8 **ep)
9933 __attribute__warn_unused_result__;
9934 # define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC \
9937 PERL_STATIC_INLINE bool
9938 Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
9939 __attribute__warn_unused_result__;
9940 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS \
9943 PERL_STATIC_INLINE bool
9944 Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9945 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
9948 PERL_STATIC_INLINE bool
9949 Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9950 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
9953 PERL_STATIC_INLINE bool
9954 Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9955 __attribute__warn_unused_result__;
9956 # define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
9957 assert(s0); assert(e)
9959 PERL_STATIC_INLINE unsigned
9960 Perl_lsbit_pos32(U32 word)
9961 __attribute__warn_unused_result__;
9962 # define PERL_ARGS_ASSERT_LSBIT_POS32
9964 PERL_STATIC_INLINE char *
9965 Perl_mortal_getenv(const char *str)
9966 __attribute__warn_unused_result__;
9967 # define PERL_ARGS_ASSERT_MORTAL_GETENV \
9970 PERL_STATIC_INLINE unsigned
9971 Perl_msbit_pos32(U32 word)
9972 __attribute__warn_unused_result__;
9973 # define PERL_ARGS_ASSERT_MSBIT_POS32
9975 PERL_STATIC_INLINE OP *
9976 Perl_newPADxVOP(pTHX_ I32 type, I32 flags, PADOFFSET padix)
9977 __attribute__warn_unused_result__;
9978 # define PERL_ARGS_ASSERT_NEWPADXVOP
9980 PERL_STATIC_INLINE SV *
9981 Perl_newRV_noinc(pTHX_ SV * const tmpRef)
9982 __attribute__warn_unused_result__;
9983 # define PERL_ARGS_ASSERT_NEWRV_NOINC \
9986 PERL_STATIC_INLINE SV *
9987 Perl_newSV_type(pTHX_ const svtype type)
9988 __attribute__warn_unused_result__;
9989 # define PERL_ARGS_ASSERT_NEWSV_TYPE
9991 PERL_STATIC_FORCE_INLINE SV *
9992 Perl_newSV_type_mortal(pTHX_ const svtype type)
9993 __attribute__warn_unused_result__
9994 __attribute__always_inline__;
9995 # define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
9997 PERL_STATIC_INLINE SV *
9998 Perl_new_sv(pTHX_ const char *file, int line, const char *func);
9999 # define PERL_ARGS_ASSERT_NEW_SV \
10000 assert(file); assert(func)
10002 PERL_STATIC_INLINE void
10003 Perl_pop_stackinfo(pTHX);
10004 # define PERL_ARGS_ASSERT_POP_STACKINFO
10006 PERL_STATIC_INLINE void
10007 Perl_push_stackinfo(pTHX_ I32 type, UV flags);
10008 # define PERL_ARGS_ASSERT_PUSH_STACKINFO
10010 PERL_STATIC_INLINE void
10011 Perl_rpp_context(pTHX_ SV **mark, U8 gimme, SSize_t extra);
10012 # define PERL_ARGS_ASSERT_RPP_CONTEXT \
10015 PERL_STATIC_INLINE void
10016 Perl_rpp_extend(pTHX_ SSize_t n);
10017 # define PERL_ARGS_ASSERT_RPP_EXTEND
10019 PERL_STATIC_INLINE void
10020 Perl_rpp_invoke_xs(pTHX_ CV *cv);
10021 # define PERL_ARGS_ASSERT_RPP_INVOKE_XS \
10022 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
10024 PERL_STATIC_INLINE bool
10025 Perl_rpp_is_lone(pTHX_ SV *sv);
10026 # define PERL_ARGS_ASSERT_RPP_IS_LONE \
10029 PERL_STATIC_INLINE SV *
10030 Perl_rpp_pop_1_norc(pTHX);
10031 # define PERL_ARGS_ASSERT_RPP_POP_1_NORC
10033 PERL_STATIC_INLINE void
10034 Perl_rpp_popfree_1(pTHX);
10035 # define PERL_ARGS_ASSERT_RPP_POPFREE_1
10037 PERL_STATIC_INLINE void
10038 Perl_rpp_popfree_1_NN(pTHX);
10039 # define PERL_ARGS_ASSERT_RPP_POPFREE_1_NN
10041 PERL_STATIC_INLINE void
10042 Perl_rpp_popfree_2(pTHX);
10043 # define PERL_ARGS_ASSERT_RPP_POPFREE_2
10045 PERL_STATIC_INLINE void
10046 Perl_rpp_popfree_2_NN(pTHX);
10047 # define PERL_ARGS_ASSERT_RPP_POPFREE_2_NN
10049 PERL_STATIC_INLINE void
10050 Perl_rpp_popfree_to(pTHX_ SV **sp);
10051 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO \
10054 PERL_STATIC_INLINE void
10055 Perl_rpp_popfree_to_NN(pTHX_ SV **sp);
10056 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO_NN \
10059 PERL_STATIC_INLINE void
10060 Perl_rpp_push_1(pTHX_ SV *sv);
10061 # define PERL_ARGS_ASSERT_RPP_PUSH_1 \
10064 PERL_STATIC_INLINE void
10065 Perl_rpp_push_1_norc(pTHX_ SV *sv);
10066 # define PERL_ARGS_ASSERT_RPP_PUSH_1_NORC \
10069 PERL_STATIC_INLINE void
10070 Perl_rpp_push_2(pTHX_ SV *sv1, SV *sv2);
10071 # define PERL_ARGS_ASSERT_RPP_PUSH_2 \
10072 assert(sv1); assert(sv2)
10074 PERL_STATIC_INLINE void
10075 Perl_rpp_push_IMM(pTHX_ SV *sv);
10076 # define PERL_ARGS_ASSERT_RPP_PUSH_IMM \
10079 PERL_STATIC_INLINE void
10080 Perl_rpp_replace_1_1(pTHX_ SV *sv);
10081 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1 \
10084 PERL_STATIC_INLINE void
10085 Perl_rpp_replace_1_1_NN(pTHX_ SV *sv);
10086 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1_NN \
10089 PERL_STATIC_INLINE void
10090 Perl_rpp_replace_1_IMM_NN(pTHX_ SV *sv);
10091 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_IMM_NN \
10094 PERL_STATIC_INLINE void
10095 Perl_rpp_replace_2_1(pTHX_ SV *sv);
10096 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1 \
10099 PERL_STATIC_INLINE void
10100 Perl_rpp_replace_2_1_COMMON(pTHX_ SV *sv);
10101 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_COMMON \
10104 PERL_STATIC_INLINE void
10105 Perl_rpp_replace_2_1_NN(pTHX_ SV *sv);
10106 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_NN \
10109 PERL_STATIC_INLINE void
10110 Perl_rpp_replace_2_IMM_NN(pTHX_ SV *sv);
10111 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_IMM_NN \
10114 PERL_STATIC_INLINE void
10115 Perl_rpp_replace_at(pTHX_ SV **sp, SV *sv);
10116 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT \
10117 assert(sp); assert(sv)
10119 PERL_STATIC_INLINE void
10120 Perl_rpp_replace_at_NN(pTHX_ SV **sp, SV *sv);
10121 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NN \
10122 assert(sp); assert(sv)
10124 PERL_STATIC_INLINE void
10125 Perl_rpp_replace_at_norc(pTHX_ SV **sp, SV *sv);
10126 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC \
10127 assert(sp); assert(sv)
10129 PERL_STATIC_INLINE void
10130 Perl_rpp_replace_at_norc_NN(pTHX_ SV **sp, SV *sv);
10131 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC_NN \
10132 assert(sp); assert(sv)
10134 PERL_STATIC_INLINE bool
10135 Perl_rpp_stack_is_rc(pTHX);
10136 # define PERL_ARGS_ASSERT_RPP_STACK_IS_RC
10138 PERL_STATIC_INLINE bool
10139 Perl_rpp_try_AMAGIC_1(pTHX_ int method, int flags);
10140 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_1
10142 PERL_STATIC_INLINE bool
10143 Perl_rpp_try_AMAGIC_2(pTHX_ int method, int flags);
10144 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_2
10146 PERL_STATIC_INLINE void
10147 Perl_rpp_xpush_1(pTHX_ SV *sv);
10148 # define PERL_ARGS_ASSERT_RPP_XPUSH_1 \
10151 PERL_STATIC_INLINE void
10152 Perl_rpp_xpush_2(pTHX_ SV *sv1, SV *sv2);
10153 # define PERL_ARGS_ASSERT_RPP_XPUSH_2 \
10154 assert(sv1); assert(sv2)
10156 PERL_STATIC_INLINE void
10157 Perl_rpp_xpush_IMM(pTHX_ SV *sv);
10158 # define PERL_ARGS_ASSERT_RPP_XPUSH_IMM \
10161 PERL_STATIC_INLINE char *
10162 Perl_savepv(pTHX_ const char *pv)
10163 __attribute__malloc__
10164 __attribute__warn_unused_result__;
10165 # define PERL_ARGS_ASSERT_SAVEPV
10167 PERL_STATIC_INLINE char *
10168 Perl_savepvn(pTHX_ const char *pv, Size_t len)
10169 __attribute__malloc__
10170 __attribute__warn_unused_result__;
10171 # define PERL_ARGS_ASSERT_SAVEPVN
10173 PERL_STATIC_INLINE char *
10174 Perl_savesharedsvpv(pTHX_ SV *sv)
10175 __attribute__malloc__
10176 __attribute__warn_unused_result__;
10177 # define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
10180 PERL_STATIC_INLINE char *
10181 Perl_savesvpv(pTHX_ SV *sv)
10182 __attribute__malloc__
10183 __attribute__warn_unused_result__;
10184 # define PERL_ARGS_ASSERT_SAVESVPV \
10187 PERL_STATIC_INLINE unsigned
10188 Perl_single_1bit_pos32(U32 word)
10189 __attribute__warn_unused_result__;
10190 # define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
10192 PERL_STATIC_INLINE bool
10193 Perl_sv_only_taint_gmagic(SV *sv);
10194 # define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC \
10197 PERL_STATIC_INLINE char *
10198 Perl_sv_pvbyten_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10199 # define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER \
10202 PERL_STATIC_INLINE char *
10203 Perl_sv_pvutf8n_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10204 # define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER \
10207 PERL_STATIC_INLINE char *
10208 Perl_sv_setpv_freshbuf(pTHX_ SV * const sv);
10209 # define PERL_ARGS_ASSERT_SV_SETPV_FRESHBUF \
10212 PERL_STATIC_INLINE void
10213 Perl_switch_argstack(pTHX_ AV *to);
10214 # define PERL_ARGS_ASSERT_SWITCH_ARGSTACK \
10215 assert(to); assert(SvTYPE(to) == SVt_PVAV)
10217 PERL_STATIC_INLINE IV
10218 Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
10219 __attribute__warn_unused_result__;
10220 # define PERL_ARGS_ASSERT_UTF8_DISTANCE \
10221 assert(a); assert(b)
10223 PERL_STATIC_INLINE U8 *
10224 Perl_utf8_hop(const U8 *s, SSize_t off)
10225 __attribute__warn_unused_result__;
10226 # define PERL_ARGS_ASSERT_UTF8_HOP \
10229 PERL_STATIC_INLINE U8 *
10230 Perl_utf8_hop_back_overshoot(const U8 *s, SSize_t off, const U8 * const start, SSize_t *remaining)
10231 __attribute__warn_unused_result__;
10232 # define PERL_ARGS_ASSERT_UTF8_HOP_BACK_OVERSHOOT \
10233 assert(s); assert(start)
10235 PERL_STATIC_INLINE U8 *
10236 Perl_utf8_hop_forward_overshoot(const U8 *s, SSize_t off, const U8 * const end, SSize_t *remaining)
10237 __attribute__warn_unused_result__;
10238 # define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD_OVERSHOOT \
10239 assert(s); assert(end)
10241 PERL_STATIC_INLINE U8 *
10242 Perl_utf8_hop_overshoot(const U8 *s, SSize_t off, const U8 * const start, const U8 * const end, SSize_t *remaining)
10243 __attribute__warn_unused_result__;
10244 # define PERL_ARGS_ASSERT_UTF8_HOP_OVERSHOOT \
10245 assert(s); assert(start); assert(end)
10247 PERL_STATIC_INLINE bool
10248 Perl_utf8_to_bytes_new_pv(pTHX_ U8 const **s_ptr, STRLEN *lenp, void **free_me);
10249 # define PERL_ARGS_ASSERT_UTF8_TO_BYTES_NEW_PV \
10250 assert(s_ptr); assert(lenp); assert(free_me)
10252 PERL_STATIC_INLINE bool
10253 Perl_utf8_to_bytes_overwrite(pTHX_ U8 **s_ptr, STRLEN *lenp);
10254 # define PERL_ARGS_ASSERT_UTF8_TO_BYTES_OVERWRITE \
10255 assert(s_ptr); assert(lenp)
10257 PERL_STATIC_INLINE bool
10258 Perl_utf8_to_bytes_temp_pv(pTHX_ U8 const **s_ptr, STRLEN *lenp);
10259 # define PERL_ARGS_ASSERT_UTF8_TO_BYTES_TEMP_PV \
10260 assert(s_ptr); assert(lenp)
10262 PERL_STATIC_INLINE bool
10263 Perl_utf8_to_uv_msgs(const U8 * const s0, const U8 *e, UV *cp_p, Size_t *advance_p, U32 flags, U32 *errors, AV **msgs);
10264 # define PERL_ARGS_ASSERT_UTF8_TO_UV_MSGS \
10265 assert(s0); assert(e); assert(cp_p)
10267 PERL_STATIC_INLINE UV
10268 Perl_utf8_to_uv_or_die(const U8 * const s, const U8 *e, Size_t *advance_p);
10269 # define PERL_ARGS_ASSERT_UTF8_TO_UV_OR_DIE \
10270 assert(s); assert(e)
10272 PERL_STATIC_INLINE UV
10273 Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
10274 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF \
10275 assert(s); assert(send)
10277 PERL_STATIC_INLINE UV
10278 Perl_utf8n_to_uvchr_msgs(const U8 * const s0, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors, AV **msgs);
10279 # define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS \
10282 PERL_STATIC_INLINE U8 *
10283 Perl_uv_to_utf8(pTHX_ U8 *d, UV uv);
10284 # define PERL_ARGS_ASSERT_UV_TO_UTF8 \
10287 PERL_STATIC_INLINE U8 *
10288 Perl_uv_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
10289 # define PERL_ARGS_ASSERT_UV_TO_UTF8_FLAGS \
10292 PERL_STATIC_INLINE U8 *
10293 Perl_uv_to_utf8_msgs(pTHX_ U8 *d, UV uv, UV flags, HV **msgs);
10294 # define PERL_ARGS_ASSERT_UV_TO_UTF8_MSGS \
10297 PERL_STATIC_INLINE UV
10298 Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
10299 __attribute__warn_unused_result__;
10300 # define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR \
10303 PERL_STATIC_INLINE void
10304 Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
10305 # define PERL_ARGS_ASSERT_CX_POPBLOCK \
10308 PERL_STATIC_INLINE void
10309 Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
10310 # define PERL_ARGS_ASSERT_CX_POPEVAL \
10313 PERL_STATIC_INLINE void
10314 Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
10315 # define PERL_ARGS_ASSERT_CX_POPFORMAT \
10318 PERL_STATIC_INLINE void
10319 Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
10320 # define PERL_ARGS_ASSERT_CX_POPGIVEN \
10323 PERL_STATIC_INLINE void
10324 Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
10325 # define PERL_ARGS_ASSERT_CX_POPLOOP \
10328 PERL_STATIC_INLINE void
10329 Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
10330 # define PERL_ARGS_ASSERT_CX_POPSUB \
10333 PERL_STATIC_INLINE void
10334 Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
10335 # define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
10338 PERL_STATIC_INLINE void
10339 Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
10340 # define PERL_ARGS_ASSERT_CX_POPSUB_COMMON \
10343 PERL_STATIC_INLINE void
10344 Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
10345 # define PERL_ARGS_ASSERT_CX_POPWHEN \
10348 PERL_STATIC_INLINE PERL_CONTEXT *
10349 Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV **sp, I32 saveix);
10350 # define PERL_ARGS_ASSERT_CX_PUSHBLOCK \
10353 PERL_STATIC_INLINE void
10354 Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
10355 # define PERL_ARGS_ASSERT_CX_PUSHEVAL \
10358 PERL_STATIC_INLINE void
10359 Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
10360 # define PERL_ARGS_ASSERT_CX_PUSHFORMAT \
10361 assert(cx); assert(cv); \
10362 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
10364 PERL_STATIC_INLINE void
10365 Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
10366 # define PERL_ARGS_ASSERT_CX_PUSHGIVEN \
10369 PERL_STATIC_INLINE void
10370 Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
10371 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR \
10372 assert(cx); assert(itervarp)
10374 PERL_STATIC_INLINE void
10375 Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
10376 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN \
10379 PERL_STATIC_INLINE void
10380 Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
10381 # define PERL_ARGS_ASSERT_CX_PUSHSUB \
10382 assert(cx); assert(cv); \
10383 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
10385 PERL_STATIC_INLINE void
10386 Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
10387 # define PERL_ARGS_ASSERT_CX_PUSHTRY \
10390 PERL_STATIC_INLINE void
10391 Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
10392 # define PERL_ARGS_ASSERT_CX_PUSHWHEN \
10395 PERL_STATIC_INLINE void
10396 Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
10397 # define PERL_ARGS_ASSERT_CX_TOPBLOCK \
10400 PERL_STATIC_INLINE U8
10401 Perl_gimme_V(pTHX);
10402 # define PERL_ARGS_ASSERT_GIMME_V
10404 # if !defined(HAS_STRLCAT)
10405 PERL_STATIC_INLINE Size_t
10406 Perl_my_strlcat(char *dst, const char *src, Size_t size);
10407 # define PERL_ARGS_ASSERT_MY_STRLCAT
10410 # if !defined(HAS_STRNLEN)
10411 PERL_STATIC_INLINE Size_t
10412 Perl_my_strnlen(const char *str, Size_t maxlen);
10413 # define PERL_ARGS_ASSERT_MY_STRNLEN \
10417 # if defined(PERL_CORE) || defined(PERL_EXT)
10418 PERL_STATIC_INLINE bool
10419 Perl_is_utf8_non_invariant_string(const U8 * const s, STRLEN len)
10420 __attribute__warn_unused_result__;
10421 # define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \
10424 PERL_STATIC_INLINE STRLEN
10425 S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
10426 # define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B \
10427 assert(sv); assert(pv)
10429 PERL_STATIC_INLINE Size_t
10430 S_variant_under_utf8_count(const U8 * const s, const U8 * const e)
10431 __attribute__warn_unused_result__;
10432 # define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT \
10433 assert(s); assert(e)
10435 # if !defined(HAS_MEMRCHR)
10436 PERL_STATIC_INLINE void *
10437 S_my_memrchr(const char *s, const char c, const STRLEN len);
10438 # define PERL_ARGS_ASSERT_MY_MEMRCHR \
10442 # endif /* defined(PERL_CORE) || defined(PERL_EXT) */
10443 # if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
10444 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
10445 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || \
10446 defined(PERL_IN_UTF8_C)
10447 PERL_STATIC_INLINE bool
10448 S__invlist_contains_cp(SV * const invlist, const UV cp)
10449 __attribute__warn_unused_result__;
10450 # define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
10453 PERL_STATIC_INLINE UV
10454 S__invlist_len(SV * const invlist)
10455 __attribute__warn_unused_result__;
10456 # define PERL_ARGS_ASSERT__INVLIST_LEN \
10459 PERL_STATIC_INLINE bool *
10460 S_get_invlist_offset_addr(SV *invlist)
10461 __attribute__warn_unused_result__;
10462 # define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \
10465 PERL_STATIC_INLINE UV *
10466 S_invlist_array(SV * const invlist)
10467 __attribute__warn_unused_result__;
10468 # define PERL_ARGS_ASSERT_INVLIST_ARRAY \
10471 PERL_STATIC_INLINE bool
10472 S_is_invlist(const SV * const invlist)
10473 __attribute__warn_unused_result__;
10474 # define PERL_ARGS_ASSERT_IS_INVLIST
10476 # endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
10477 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) ||
10478 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) ||
10479 defined(PERL_IN_UTF8_C) */
10480 # if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
10481 defined(PERL_IN_REGCOMP_ANY)
10482 PERL_STATIC_INLINE SV *
10483 S_add_cp_to_invlist(pTHX_ SV *invlist, const UV cp)
10484 __attribute__warn_unused_result__;
10485 # define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
10487 PERL_STATIC_INLINE void
10488 S_invlist_extend(pTHX_ SV * const invlist, const UV len);
10489 # define PERL_ARGS_ASSERT_INVLIST_EXTEND \
10492 PERL_STATIC_INLINE UV
10493 S_invlist_highest(SV * const invlist)
10494 __attribute__warn_unused_result__;
10495 # define PERL_ARGS_ASSERT_INVLIST_HIGHEST \
10498 PERL_STATIC_INLINE void
10499 S_invlist_set_len(pTHX_ SV * const invlist, const UV len, const bool offset);
10500 # define PERL_ARGS_ASSERT_INVLIST_SET_LEN \
10503 # endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
10504 defined(PERL_IN_REGCOMP_ANY) */
10505 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PAD_C)
10506 PERL_STATIC_INLINE bool
10507 S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
10508 # define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE \
10512 # if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
10513 PERL_STATIC_INLINE STRLEN *
10514 S_get_invlist_iter_addr(SV *invlist)
10515 __attribute__warn_unused_result__;
10516 # define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \
10519 PERL_STATIC_INLINE void
10520 S_invlist_iterfinish(SV *invlist);
10521 # define PERL_ARGS_ASSERT_INVLIST_ITERFINISH \
10524 PERL_STATIC_INLINE void
10525 S_invlist_iterinit(SV *invlist);
10526 # define PERL_ARGS_ASSERT_INVLIST_ITERINIT \
10529 PERL_STATIC_INLINE bool
10530 S_invlist_iternext(SV *invlist, UV *start, UV *end)
10531 __attribute__warn_unused_result__;
10532 # define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \
10533 assert(invlist); assert(start); assert(end)
10535 # endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY) */
10536 # if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
10537 PERL_STATIC_INLINE bool
10538 S_lossless_NV_to_IV(const NV nv, IV *ivp)
10539 __attribute__warn_unused_result__;
10540 # define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV \
10544 # if defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
10545 defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
10546 PERL_STATIC_INLINE const char *
10547 S_get_regex_charset_name(const U32 flags, STRLEN * const lenp);
10548 # define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
10552 # if defined(U64TYPE)
10553 PERL_STATIC_INLINE unsigned
10554 Perl_lsbit_pos64(U64 word)
10555 __attribute__warn_unused_result__;
10556 # define PERL_ARGS_ASSERT_LSBIT_POS64
10558 PERL_STATIC_INLINE unsigned
10559 Perl_msbit_pos64(U64 word)
10560 __attribute__warn_unused_result__;
10561 # define PERL_ARGS_ASSERT_MSBIT_POS64
10563 PERL_STATIC_INLINE unsigned
10564 Perl_single_1bit_pos64(U64 word)
10565 __attribute__warn_unused_result__;
10566 # define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
10568 # endif /* defined(U64TYPE) */
10569 # if defined(USE_ITHREADS)
10570 PERL_STATIC_INLINE AV *
10571 Perl_cop_file_avn(pTHX_ const COP *cop);
10572 # define PERL_ARGS_ASSERT_COP_FILE_AVN \
10575 # if !defined(PERL_IMPLICIT_SYS)
10576 PERL_STATIC_INLINE bool
10577 S_PerlEnv_putenv(pTHX_ char *str);
10578 # define PERL_ARGS_ASSERT_PERLENV_PUTENV \
10582 # endif /* defined(USE_ITHREADS) */
10583 # if !defined(WIN32)
10584 PERL_STATIC_INLINE void *
10585 Perl_get_context(void)
10586 __attribute__warn_unused_result__;
10587 # define PERL_ARGS_ASSERT_GET_CONTEXT
10590 #endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
10591 #if defined(PERL_RC_STACK)
10593 Perl_pp_wrap(pTHX_ Perl_ppaddr_t real_pp_fn, I32 nargs, int nlists);
10594 # define PERL_ARGS_ASSERT_PP_WRAP \
10598 Perl_runops_wrap(pTHX);
10599 # define PERL_ARGS_ASSERT_RUNOPS_WRAP
10602 Perl_xs_wrap(pTHX_ XSUBADDR_t xsub, CV *cv);
10603 # define PERL_ARGS_ASSERT_XS_WRAP \
10604 assert(xsub); assert(cv); \
10605 assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
10607 #endif /* defined(PERL_RC_STACK) */
10608 #if defined(PERL_USE_3ARG_SIGHANDLER)
10609 PERL_CALLCONV Signal_t
10610 Perl_csighandler(int sig, Siginfo_t *info, void *uap);
10611 # define PERL_ARGS_ASSERT_CSIGHANDLER
10613 PERL_CALLCONV Signal_t
10614 Perl_sighandler(int sig, Siginfo_t *info, void *uap)
10615 __attribute__visibility__("hidden");
10616 # define PERL_ARGS_ASSERT_SIGHANDLER
10618 #else /* if !defined(PERL_USE_3ARG_SIGHANDLER) */
10619 PERL_CALLCONV Signal_t
10620 Perl_csighandler(int sig);
10621 # define PERL_ARGS_ASSERT_CSIGHANDLER
10623 PERL_CALLCONV Signal_t
10624 Perl_sighandler(int sig)
10625 __attribute__visibility__("hidden");
10626 # define PERL_ARGS_ASSERT_SIGHANDLER
10628 #endif /* !defined(PERL_USE_3ARG_SIGHANDLER) */
10629 #if defined(U64TYPE)
10632 #if defined(UNLINK_ALL_VERSIONS)
10634 Perl_unlnk(pTHX_ const char *f);
10635 # define PERL_ARGS_ASSERT_UNLNK \
10639 #if defined(USE_C_BACKTRACE)
10641 Perl_dump_c_backtrace(pTHX_ PerlIO *fp, int max_depth, int skip);
10642 # define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE \
10645 /* PERL_CALLCONV void
10646 free_c_backtrace(pTHX_ Perl_c_backtrace *bt); */
10648 PERL_CALLCONV Perl_c_backtrace *
10649 Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
10650 __attribute__visibility__("hidden");
10651 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE
10654 Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
10655 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
10657 #endif /* defined(USE_C_BACKTRACE) */
10658 #if defined(USE_DTRACE)
10660 Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
10661 # define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL \
10662 assert(cv); assert(SvTYPE(cv) == SVt_PVCV || SvTYPE(cv) == SVt_PVFM)
10665 Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
10666 # define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD \
10670 Perl_dtrace_probe_op(pTHX_ const OP *op);
10671 # define PERL_ARGS_ASSERT_DTRACE_PROBE_OP \
10675 Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
10676 # define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
10678 #endif /* defined(USE_DTRACE) */
10679 #if defined(USE_ITHREADS)
10680 PERL_CALLCONV PADOFFSET
10681 Perl_alloccopstash(pTHX_ HV *hv);
10682 # define PERL_ARGS_ASSERT_ALLOCCOPSTASH \
10683 assert(hv); assert(SvTYPE(hv) == SVt_PVHV)
10685 PERL_CALLCONV void *
10686 Perl_any_dup(pTHX_ void *v, const PerlInterpreter *proto_perl)
10687 __attribute__warn_unused_result__;
10688 # define PERL_ARGS_ASSERT_ANY_DUP \
10692 Perl_clone_params_del(CLONE_PARAMS *param);
10693 # define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \
10696 PERL_CALLCONV CLONE_PARAMS *
10697 Perl_clone_params_new(PerlInterpreter * const from, PerlInterpreter * const to)
10698 __attribute__warn_unused_result__;
10699 # define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \
10700 assert(from); assert(to)
10702 PERL_CALLCONV PERL_CONTEXT *
10703 Perl_cx_dup(pTHX_ PERL_CONTEXT *cx, I32 ix, I32 max, CLONE_PARAMS *param)
10704 __attribute__warn_unused_result__;
10705 # define PERL_ARGS_ASSERT_CX_DUP \
10708 PERL_CALLCONV DIR *
10709 Perl_dirp_dup(pTHX_ DIR * const dp, CLONE_PARAMS * const param)
10710 __attribute__warn_unused_result__;
10711 # define PERL_ARGS_ASSERT_DIRP_DUP \
10714 PERL_CALLCONV PerlIO *
10715 Perl_fp_dup(pTHX_ PerlIO * const fp, const char type, CLONE_PARAMS * const param);
10716 # define PERL_ARGS_ASSERT_FP_DUP \
10720 Perl_gp_dup(pTHX_ GP * const gp, CLONE_PARAMS * const param)
10721 __attribute__warn_unused_result__;
10722 # define PERL_ARGS_ASSERT_GP_DUP \
10726 Perl_he_dup(pTHX_ const HE *e, bool shared, CLONE_PARAMS *param)
10727 __attribute__warn_unused_result__;
10728 # define PERL_ARGS_ASSERT_HE_DUP \
10731 PERL_CALLCONV HEK *
10732 Perl_hek_dup(pTHX_ HEK *e, CLONE_PARAMS *param)
10733 __attribute__warn_unused_result__;
10734 # define PERL_ARGS_ASSERT_HEK_DUP \
10737 PERL_CALLCONV MAGIC *
10738 Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS * const param)
10739 __attribute__warn_unused_result__;
10740 # define PERL_ARGS_ASSERT_MG_DUP \
10743 PERL_CALLCONV struct mro_meta *
10744 Perl_mro_meta_dup(pTHX_ struct mro_meta *smeta, CLONE_PARAMS *param)
10745 __attribute__visibility__("hidden");
10746 # define PERL_ARGS_ASSERT_MRO_META_DUP \
10747 assert(smeta); assert(param)
10750 Perl_newPADOP(pTHX_ I32 type, I32 flags, SV *sv)
10751 __attribute__warn_unused_result__;
10752 # define PERL_ARGS_ASSERT_NEWPADOP \
10755 PERL_CALLCONV PADLIST *
10756 Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
10757 __attribute__warn_unused_result__
10758 __attribute__visibility__("hidden");
10759 # define PERL_ARGS_ASSERT_PADLIST_DUP \
10760 assert(srcpad); assert(param)
10762 PERL_CALLCONV PADNAME *
10763 Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
10764 __attribute__warn_unused_result__
10765 __attribute__visibility__("hidden");
10766 # define PERL_ARGS_ASSERT_PADNAME_DUP \
10767 assert(src); assert(param)
10769 PERL_CALLCONV PADNAMELIST *
10770 Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
10771 __attribute__warn_unused_result__
10772 __attribute__visibility__("hidden");
10773 # define PERL_ARGS_ASSERT_PADNAMELIST_DUP \
10774 assert(srcpad); assert(param)
10776 PERL_CALLCONV yy_parser *
10777 Perl_parser_dup(pTHX_ const yy_parser * const proto, CLONE_PARAMS * const param);
10778 # define PERL_ARGS_ASSERT_PARSER_DUP \
10781 PERL_CALLCONV PerlInterpreter *
10782 perl_clone(PerlInterpreter *proto_perl, UV flags);
10783 # define PERL_ARGS_ASSERT_PERL_CLONE \
10787 Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS *param);
10788 # define PERL_ARGS_ASSERT_RE_DUP_GUTS \
10789 assert(sstr); assert(dstr); assert(param)
10791 PERL_CALLCONV void *
10792 Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS *param);
10793 # define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
10794 assert(r); assert(param)
10797 Perl_rvpv_dup(pTHX_ SV * const dsv, const SV * const ssv, CLONE_PARAMS * const param);
10798 # define PERL_ARGS_ASSERT_RVPV_DUP \
10799 assert(dsv); assert(ssv); assert(param)
10801 PERL_CALLCONV PERL_SI *
10802 Perl_si_dup(pTHX_ PERL_SI *si, CLONE_PARAMS *param)
10803 __attribute__warn_unused_result__;
10804 # define PERL_ARGS_ASSERT_SI_DUP \
10807 PERL_CALLCONV ANY *
10808 Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS *param)
10809 __attribute__warn_unused_result__;
10810 # define PERL_ARGS_ASSERT_SS_DUP \
10811 assert(proto_perl); assert(param)
10814 Perl_sv_dup(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10815 __attribute__warn_unused_result__;
10816 # define PERL_ARGS_ASSERT_SV_DUP \
10820 Perl_sv_dup_inc(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10821 __attribute__warn_unused_result__;
10822 # define PERL_ARGS_ASSERT_SV_DUP_INC \
10825 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
10827 Perl_op_relocate_sv(pTHX_ SV **svp, PADOFFSET *targp)
10828 __attribute__visibility__("hidden");
10829 # define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
10830 assert(svp); assert(targp)
10833 #else /* if !defined(USE_ITHREADS) */
10834 /* PERL_CALLCONV void
10835 CopFILEGV_set(pTHX_ COP *c, GV *gv); */
10838 #if defined(USE_LOCALE_COLLATE)
10840 Perl_magic_freecollxfrm(pTHX_ SV *sv, MAGIC *mg)
10841 __attribute__visibility__("hidden");
10842 # define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM \
10843 assert(sv); assert(mg)
10846 Perl_magic_setcollxfrm(pTHX_ SV *sv, MAGIC *mg)
10847 __attribute__visibility__("hidden");
10848 # define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
10849 assert(sv); assert(mg)
10852 Perl_strxfrm(pTHX_ SV *src);
10853 # define PERL_ARGS_ASSERT_STRXFRM \
10856 PERL_CALLCONV char *
10857 Perl_sv_collxfrm_flags(pTHX_ SV * const sv, STRLEN * const nxp, I32 const flags);
10858 # define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \
10859 assert(sv); assert(nxp)
10861 # if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_MATHOMS_C) || \
10862 defined(PERL_IN_SV_C)
10863 PERL_CALLCONV char *
10864 Perl_mem_collxfrm_(pTHX_ const char *input_string, STRLEN len, STRLEN *xlen, bool utf8)
10865 __attribute__visibility__("hidden");
10866 # define PERL_ARGS_ASSERT_MEM_COLLXFRM_ \
10867 assert(input_string); assert(xlen)
10870 #endif /* defined(USE_LOCALE_COLLATE) */
10871 #if defined(USE_LOCALE_CTYPE)
10873 Perl_warn_problematic_locale(void);
10874 # define PERL_ARGS_ASSERT_WARN_PROBLEMATIC_LOCALE
10877 #if defined(USE_PERLIO)
10879 Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
10880 # define PERL_ARGS_ASSERT_PERLIO_CLEARERR
10883 Perl_PerlIO_close(pTHX_ PerlIO *f);
10884 # define PERL_ARGS_ASSERT_PERLIO_CLOSE
10887 Perl_PerlIO_eof(pTHX_ PerlIO *f);
10888 # define PERL_ARGS_ASSERT_PERLIO_EOF
10891 Perl_PerlIO_error(pTHX_ PerlIO *f);
10892 # define PERL_ARGS_ASSERT_PERLIO_ERROR
10895 Perl_PerlIO_fileno(pTHX_ PerlIO *f);
10896 # define PERL_ARGS_ASSERT_PERLIO_FILENO
10899 Perl_PerlIO_fill(pTHX_ PerlIO *f);
10900 # define PERL_ARGS_ASSERT_PERLIO_FILL
10903 Perl_PerlIO_flush(pTHX_ PerlIO *f);
10904 # define PERL_ARGS_ASSERT_PERLIO_FLUSH
10906 PERL_CALLCONV STDCHAR *
10907 Perl_PerlIO_get_base(pTHX_ PerlIO *f);
10908 # define PERL_ARGS_ASSERT_PERLIO_GET_BASE
10910 PERL_CALLCONV SSize_t
10911 Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
10912 __attribute__warn_unused_result__;
10913 # define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
10915 PERL_CALLCONV SSize_t
10916 Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
10917 __attribute__warn_unused_result__;
10918 # define PERL_ARGS_ASSERT_PERLIO_GET_CNT
10920 PERL_CALLCONV STDCHAR *
10921 Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
10922 # define PERL_ARGS_ASSERT_PERLIO_GET_PTR
10924 PERL_CALLCONV SSize_t
10925 Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
10926 # define PERL_ARGS_ASSERT_PERLIO_READ \
10930 Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
10931 # define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
10934 Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
10935 # define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
10938 Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
10939 # define PERL_ARGS_ASSERT_PERLIO_SEEK
10942 Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
10943 # define PERL_ARGS_ASSERT_PERLIO_SET_CNT
10946 Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
10947 # define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
10950 Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
10951 # define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
10953 PERL_CALLCONV PerlIO *
10954 Perl_PerlIO_stderr(pTHX)
10955 __attribute__warn_unused_result__;
10956 # define PERL_ARGS_ASSERT_PERLIO_STDERR
10958 PERL_CALLCONV PerlIO *
10959 Perl_PerlIO_stdin(pTHX)
10960 __attribute__warn_unused_result__;
10961 # define PERL_ARGS_ASSERT_PERLIO_STDIN
10963 PERL_CALLCONV PerlIO *
10964 Perl_PerlIO_stdout(pTHX)
10965 __attribute__warn_unused_result__;
10966 # define PERL_ARGS_ASSERT_PERLIO_STDOUT
10968 PERL_CALLCONV Off_t
10969 Perl_PerlIO_tell(pTHX_ PerlIO *f);
10970 # define PERL_ARGS_ASSERT_PERLIO_TELL
10972 PERL_CALLCONV SSize_t
10973 Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10974 # define PERL_ARGS_ASSERT_PERLIO_UNREAD \
10977 PERL_CALLCONV SSize_t
10978 Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10979 # define PERL_ARGS_ASSERT_PERLIO_WRITE \
10982 #endif /* defined(USE_PERLIO) */
10983 #if defined(USE_PERL_SWITCH_LOCALE_CONTEXT)
10985 Perl_switch_locale_context(pTHX);
10986 # define PERL_ARGS_ASSERT_SWITCH_LOCALE_CONTEXT
10989 #if defined(USE_QUADMATH)
10991 Perl_quadmath_format_needed(const char *format)
10992 __attribute__visibility__("hidden");
10993 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
10997 Perl_quadmath_format_valid(const char *format)
10998 __attribute__visibility__("hidden");
10999 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID \
11002 #endif /* defined(USE_QUADMATH) */
11003 #if defined(USE_THREADS)
11005 Perl_thread_locale_init(pTHX);
11006 # define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
11009 Perl_thread_locale_term(pTHX);
11010 # define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
11013 #if defined(VMS) || defined(WIN32)
11015 Perl_do_aspawn(pTHX_ SV *really, SV **mark, SV **sp);
11016 # define PERL_ARGS_ASSERT_DO_ASPAWN \
11017 assert(mark); assert(sp)
11020 Perl_do_spawn(pTHX_ char *cmd);
11021 # define PERL_ARGS_ASSERT_DO_SPAWN \
11025 Perl_do_spawn_nowait(pTHX_ char *cmd);
11026 # define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
11029 #endif /* defined(VMS) || defined(WIN32) */
11031 PERL_CALLCONV void *
11032 Perl_get_context(void)
11033 __attribute__warn_unused_result__;
11034 # define PERL_ARGS_ASSERT_GET_CONTEXT
11037 Perl_get_win32_message_utf8ness(pTHX_ const char *string)
11038 __attribute__visibility__("hidden");
11039 # define PERL_ARGS_ASSERT_GET_WIN32_MESSAGE_UTF8NESS
11041 PERL_CALLCONV_NO_RET void
11042 win32_croak_not_implemented(const char *fname)
11043 __attribute__noreturn__;
11044 # define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \
11047 #else /* if !defined(WIN32) */
11049 Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
11050 __attribute__visibility__("hidden");
11051 # define PERL_ARGS_ASSERT_DO_EXEC3 \
11057 # include "pp_proto.h"
11061 /* ex: set ro ft=c: */