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 \
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__force_out_malformed_utf8_message(pTHX_ const U8 * const p, const U8 * const e, const U32 flags, const bool die_here);
96 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE \
100 Perl__inverse_folds(pTHX_ const UV cp, U32 *first_folds_to, const U32 **remaining_folds_to)
101 __attribute__warn_unused_result__;
102 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
103 assert(first_folds_to); assert(remaining_folds_to)
106 Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
107 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
110 Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
111 __attribute__warn_unused_result__;
112 #define PERL_ARGS_ASSERT__IS_UNI_FOO
115 Perl__is_uni_perl_idcont(pTHX_ UV c)
116 __attribute__warn_unused_result__;
117 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
120 Perl__is_uni_perl_idstart(pTHX_ UV c)
121 __attribute__warn_unused_result__;
122 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
125 Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
126 __attribute__warn_unused_result__;
127 #define PERL_ARGS_ASSERT__IS_UTF8_FOO \
131 Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
132 __attribute__warn_unused_result__;
133 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \
137 Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
138 __attribute__warn_unused_result__;
139 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \
143 Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
144 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
145 assert(p); assert(lenp)
148 Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, U8 flags);
149 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
150 assert(p); assert(ustrp)
153 Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
154 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
155 assert(p); assert(ustrp)
158 Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
159 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
160 assert(p); assert(ustrp)
163 Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8 *ustrp, STRLEN *lenp, bool flags);
164 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
165 assert(p); assert(ustrp)
168 Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors, AV **msgs);
169 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER \
172 PERL_CALLCONV_NO_RET void
173 Perl_abort_execution(pTHX_ SV *msg_sv, const char * const name)
174 __attribute__noreturn__
175 __attribute__visibility__("hidden");
176 #define PERL_ARGS_ASSERT_ABORT_EXECUTION \
179 PERL_CALLCONV LOGOP *
180 Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
181 __attribute__visibility__("hidden");
182 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
184 PERL_CALLCONV PADOFFSET
185 Perl_allocmy(pTHX_ const char * const name, const STRLEN len, const U32 flags)
186 __attribute__visibility__("hidden");
187 #define PERL_ARGS_ASSERT_ALLOCMY \
191 Perl_amagic_applies(pTHX_ SV *sv, int method, int flags);
192 #define PERL_ARGS_ASSERT_AMAGIC_APPLIES \
196 Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int dir);
197 #define PERL_ARGS_ASSERT_AMAGIC_CALL \
198 assert(left); assert(right)
201 Perl_amagic_deref_call(pTHX_ SV *ref, int method);
202 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
206 Perl_amagic_is_enabled(pTHX_ int method)
207 __attribute__visibility__("hidden");
208 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
210 PERL_CALLCONV SSize_t
211 Perl_apply(pTHX_ I32 type, SV **mark, SV **sp)
212 __attribute__visibility__("hidden");
213 #define PERL_ARGS_ASSERT_APPLY \
214 assert(mark); assert(sp)
217 Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
218 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
219 assert(stashpv); assert(cv); assert(attrstr)
222 Perl_apply_builtin_cv_attributes(pTHX_ CV *cv, OP *attrlist);
223 #define PERL_ARGS_ASSERT_APPLY_BUILTIN_CV_ATTRIBUTES \
227 Perl_atfork_lock(void);
228 #define PERL_ARGS_ASSERT_ATFORK_LOCK
231 Perl_atfork_unlock(void);
232 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
235 Perl_av_arylen_p(pTHX_ AV *av);
236 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \
240 Perl_av_clear(pTHX_ AV *av);
241 #define PERL_ARGS_ASSERT_AV_CLEAR \
245 Perl_av_create_and_push(pTHX_ AV ** const avp, SV * const val);
246 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
247 assert(avp); assert(val)
250 Perl_av_create_and_unshift_one(pTHX_ AV ** const avp, SV * const val);
251 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
252 assert(avp); assert(val)
255 Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
256 #define PERL_ARGS_ASSERT_AV_DELETE \
260 Perl_av_dump(pTHX_ AV *av);
261 #define PERL_ARGS_ASSERT_AV_DUMP
264 Perl_av_exists(pTHX_ AV *av, SSize_t key)
265 __attribute__warn_unused_result__;
266 #define PERL_ARGS_ASSERT_AV_EXISTS \
270 Perl_av_extend(pTHX_ AV *av, SSize_t key);
271 #define PERL_ARGS_ASSERT_AV_EXTEND \
275 Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
276 __attribute__visibility__("hidden");
277 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
278 assert(maxp); assert(allocp); assert(arrayp)
281 Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
282 __attribute__warn_unused_result__;
283 #define PERL_ARGS_ASSERT_AV_FETCH \
287 Perl_av_fill(pTHX_ AV *av, SSize_t fill);
288 #define PERL_ARGS_ASSERT_AV_FILL \
292 Perl_av_iter_p(pTHX_ AV *av);
293 #define PERL_ARGS_ASSERT_AV_ITER_P \
296 PERL_CALLCONV SSize_t
297 Perl_av_len(pTHX_ AV *av)
298 __attribute__warn_unused_result__;
299 #define PERL_ARGS_ASSERT_AV_LEN \
303 Perl_av_make(pTHX_ SSize_t size, SV **strp)
304 __attribute__warn_unused_result__;
305 #define PERL_ARGS_ASSERT_AV_MAKE \
309 Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
310 __attribute__visibility__("hidden");
311 #define PERL_ARGS_ASSERT_AV_NONELEM \
315 Perl_av_pop(pTHX_ AV *av);
316 #define PERL_ARGS_ASSERT_AV_POP \
320 Perl_av_push(pTHX_ AV *av, SV *val);
321 #define PERL_ARGS_ASSERT_AV_PUSH \
322 assert(av); assert(val)
325 Perl_av_reify(pTHX_ AV *av);
326 #define PERL_ARGS_ASSERT_AV_REIFY \
330 Perl_av_shift(pTHX_ AV *av)
331 __attribute__warn_unused_result__;
332 #define PERL_ARGS_ASSERT_AV_SHIFT \
336 Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
337 #define PERL_ARGS_ASSERT_AV_STORE \
340 /* PERL_CALLCONV SSize_t
341 av_tindex(pTHX_ AV *av)
342 __attribute__warn_unused_result__; */
344 /* PERL_CALLCONV SSize_t
345 av_top_index(pTHX_ AV *av)
346 __attribute__warn_unused_result__; */
349 Perl_av_undef(pTHX_ AV *av);
350 #define PERL_ARGS_ASSERT_AV_UNDEF \
354 Perl_av_unshift(pTHX_ AV *av, SSize_t num);
355 #define PERL_ARGS_ASSERT_AV_UNSHIFT \
359 Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
360 __attribute__warn_unused_result__
361 __attribute__visibility__("hidden");
362 #define PERL_ARGS_ASSERT_BIND_MATCH \
363 assert(left); assert(right)
366 Perl_block_end(pTHX_ I32 floor, OP *seq)
367 __attribute__warn_unused_result__;
368 #define PERL_ARGS_ASSERT_BLOCK_END
371 Perl_block_gimme(pTHX)
372 __attribute__warn_unused_result__;
373 #define PERL_ARGS_ASSERT_BLOCK_GIMME
376 Perl_block_start(pTHX_ int full)
377 __attribute__warn_unused_result__;
378 #define PERL_ARGS_ASSERT_BLOCK_START
381 Perl_blockhook_register(pTHX_ BHK *hk);
382 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
386 Perl_boot_core_PerlIO(pTHX)
387 __attribute__visibility__("hidden");
388 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
391 Perl_boot_core_UNIVERSAL(pTHX)
392 __attribute__visibility__("hidden");
393 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
396 Perl_boot_core_builtin(pTHX)
397 __attribute__visibility__("hidden");
398 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
401 Perl_boot_core_mro(pTHX)
402 __attribute__visibility__("hidden");
403 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
406 Perl_build_infix_plugin(pTHX_ OP *lhs, OP *rhs, void *tokendata)
407 __attribute__visibility__("hidden");
408 #define PERL_ARGS_ASSERT_BUILD_INFIX_PLUGIN \
409 assert(lhs); assert(rhs); assert(tokendata)
412 Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
413 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
417 Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
418 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
419 assert(s); assert(lenp); assert(is_utf8p)
422 Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 **first_unconverted);
423 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC \
424 assert(s); assert(lenp); assert(is_utf8p)
427 Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
428 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
429 assert(s); assert(lenp)
431 PERL_CALLCONV SSize_t
432 Perl_call_argv(pTHX_ const char *sub_name, I32 flags, char **argv);
433 #define PERL_ARGS_ASSERT_CALL_ARGV \
434 assert(sub_name); assert(argv)
437 Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
438 #define PERL_ARGS_ASSERT_CALL_ATEXIT
441 Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
442 #define PERL_ARGS_ASSERT_CALL_LIST \
445 PERL_CALLCONV SSize_t
446 Perl_call_method(pTHX_ const char *methname, I32 flags);
447 #define PERL_ARGS_ASSERT_CALL_METHOD \
450 PERL_CALLCONV SSize_t
451 Perl_call_pv(pTHX_ const char *sub_name, I32 flags);
452 #define PERL_ARGS_ASSERT_CALL_PV \
455 PERL_CALLCONV SSize_t
456 Perl_call_sv(pTHX_ SV *sv, I32 flags);
457 #define PERL_ARGS_ASSERT_CALL_SV \
460 PERL_CALLCONV const PERL_CONTEXT *
461 Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
462 #define PERL_ARGS_ASSERT_CALLER_CX
464 PERL_CALLCONV Malloc_t
465 Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
466 __attribute__malloc__
467 __attribute__warn_unused_result__;
468 #define PERL_ARGS_ASSERT_CALLOC
471 Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t *statbufp)
472 __attribute__warn_unused_result__
473 __attribute__visibility__("hidden");
474 #define PERL_ARGS_ASSERT_CANDO \
479 __attribute__warn_unused_result__;
480 #define PERL_ARGS_ASSERT_CAST_I32
484 __attribute__warn_unused_result__;
485 #define PERL_ARGS_ASSERT_CAST_IV
488 Perl_cast_ulong(NV f)
489 __attribute__warn_unused_result__;
490 #define PERL_ARGS_ASSERT_CAST_ULONG
494 __attribute__warn_unused_result__;
495 #define PERL_ARGS_ASSERT_CAST_UV
498 Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
499 __attribute__visibility__("hidden");
500 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
504 Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
505 __attribute__visibility__("hidden");
506 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
507 assert(entersubop); assert(namegv); assert(protosv)
510 Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
511 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
515 Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
516 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
517 assert(entersubop); assert(namegv); assert(protosv)
520 Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
521 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
522 assert(entersubop); assert(namegv); assert(protosv)
525 Perl_ck_warner(pTHX_ U32 err, const char *pat, ...)
526 __attribute__format__(__printf__,pTHX_2,pTHX_3);
527 #define PERL_ARGS_ASSERT_CK_WARNER \
531 Perl_ck_warner_d(pTHX_ U32 err, const char *pat, ...)
532 __attribute__format__(__printf__,pTHX_2,pTHX_3);
533 #define PERL_ARGS_ASSERT_CK_WARNER_D \
537 Perl_ckwarn(pTHX_ U32 w)
538 __attribute__warn_unused_result__
540 #define PERL_ARGS_ASSERT_CKWARN
543 Perl_ckwarn_d(pTHX_ U32 w)
544 __attribute__warn_unused_result__
546 #define PERL_ARGS_ASSERT_CKWARN_D
549 Perl_clear_defarray(pTHX_ AV *av, bool abandon);
550 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
553 PERL_CALLCONV const COP *
554 Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
555 __attribute__visibility__("hidden");
556 #define PERL_ARGS_ASSERT_CLOSEST_COP \
560 Perl_cmpchain_extend(pTHX_ I32 type, OP *ch, OP *right)
561 __attribute__warn_unused_result__
562 __attribute__visibility__("hidden");
563 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND \
567 Perl_cmpchain_finish(pTHX_ OP *ch)
568 __attribute__warn_unused_result__
569 __attribute__visibility__("hidden");
570 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH \
574 Perl_cmpchain_start(pTHX_ I32 type, OP *left, OP *right)
575 __attribute__warn_unused_result__
576 __attribute__visibility__("hidden");
577 #define PERL_ARGS_ASSERT_CMPCHAIN_START
579 PERL_CALLCONV const char *
580 Perl_cntrl_to_mnemonic(const U8 c)
581 __attribute__warn_unused_result__;
582 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
584 PERL_CALLCONV const char *
585 Perl_cop_fetch_label(pTHX_ COP * const cop, STRLEN *len, U32 *flags);
586 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
590 Perl_cop_store_label(pTHX_ COP * const cop, const char *label, STRLEN len, U32 flags);
591 #define PERL_ARGS_ASSERT_COP_STORE_LABEL \
592 assert(cop); assert(label)
595 Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
596 __attribute__visibility__("hidden");
597 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
601 Perl_coresub_op(pTHX_ SV * const coreargssv, const int code, const int opnum)
602 __attribute__visibility__("hidden");
603 #define PERL_ARGS_ASSERT_CORESUB_OP \
607 Perl_create_eval_scope(pTHX_ OP *retop, SV **sp, U32 flags)
608 __attribute__visibility__("hidden");
609 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE \
612 PERL_CALLCONV_NO_RET void
613 Perl_croak(pTHX_ const char *pat, ...)
614 __attribute__noreturn__
615 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
616 #define PERL_ARGS_ASSERT_CROAK
618 PERL_CALLCONV_NO_RET void
619 Perl_croak_caller(const char *pat, ...)
620 __attribute__noreturn__
621 __attribute__visibility__("hidden")
622 __attribute__format__null_ok__(__printf__,1,2);
623 #define PERL_ARGS_ASSERT_CROAK_CALLER
625 PERL_STATIC_NO_RET void
626 Perl_croak_memory_wrap(void)
627 __attribute__noreturn__;
628 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
630 PERL_CALLCONV_NO_RET void
631 Perl_croak_no_mem(void)
632 __attribute__noreturn__
633 __attribute__visibility__("hidden");
634 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
636 PERL_CALLCONV_NO_RET void
637 Perl_croak_no_mem_ext(const char *context, STRLEN len)
638 __attribute__noreturn__
639 __attribute__visibility__("hidden");
640 #define PERL_ARGS_ASSERT_CROAK_NO_MEM_EXT \
643 PERL_CALLCONV_NO_RET void
644 Perl_croak_no_modify(void)
645 __attribute__noreturn__;
646 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
648 PERL_CALLCONV_NO_RET void
649 Perl_croak_popstack(void)
650 __attribute__noreturn__;
651 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
653 PERL_CALLCONV_NO_RET void
654 Perl_croak_sv(pTHX_ SV *baseex)
655 __attribute__noreturn__;
656 #define PERL_ARGS_ASSERT_CROAK_SV \
659 PERL_CALLCONV_NO_RET void
660 Perl_croak_xs_usage(const CV * const cv, const char * const params)
661 __attribute__noreturn__;
662 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
663 assert(cv); assert(params)
665 PERL_CALLCONV Signal_t
666 Perl_csighandler1(int sig);
667 #define PERL_ARGS_ASSERT_CSIGHANDLER1
669 PERL_CALLCONV Signal_t
670 Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
671 #define PERL_ARGS_ASSERT_CSIGHANDLER3
673 PERL_CALLCONV regexp_engine const *
674 Perl_current_re_engine(pTHX);
675 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
677 PERL_CALLCONV XOPRETANY
678 Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
679 __attribute__warn_unused_result__;
680 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
684 Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
685 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
686 assert(ppaddr); assert(xop)
689 Perl_cv_ckproto_len_flags(pTHX_ const CV *cv, const GV *gv, const char *p, const STRLEN len, const U32 flags);
690 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
694 Perl_cv_clone(pTHX_ CV *proto);
695 #define PERL_ARGS_ASSERT_CV_CLONE \
699 Perl_cv_clone_into(pTHX_ CV *proto, CV *target)
700 __attribute__visibility__("hidden");
701 #define PERL_ARGS_ASSERT_CV_CLONE_INTO \
702 assert(proto); assert(target)
705 Perl_cv_const_sv(const CV * const cv)
706 __attribute__warn_unused_result__;
707 #define PERL_ARGS_ASSERT_CV_CONST_SV
710 Perl_cv_const_sv_or_av(const CV * const cv)
711 __attribute__warn_unused_result__
712 __attribute__visibility__("hidden");
713 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
716 Perl_cv_forget_slab(pTHX_ CV *cv)
717 __attribute__visibility__("hidden");
718 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
721 Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
722 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
723 assert(cv); assert(ckfun_p); assert(ckobj_p)
726 Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
727 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS \
728 assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
731 Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
732 #define PERL_ARGS_ASSERT_CV_NAME \
736 Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
737 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
738 assert(cv); assert(ckfun); assert(ckobj)
741 Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
742 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
743 assert(cv); assert(ckfun); assert(ckobj)
746 Perl_cv_undef(pTHX_ CV *cv);
747 #define PERL_ARGS_ASSERT_CV_UNDEF \
751 Perl_cv_undef_flags(pTHX_ CV *cv, U32 flags)
752 __attribute__visibility__("hidden");
753 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
757 Perl_cvgv_from_hek(pTHX_ CV *cv);
758 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK \
762 Perl_cvgv_set(pTHX_ CV *cv, GV *gv);
763 #define PERL_ARGS_ASSERT_CVGV_SET \
767 Perl_cvstash_set(pTHX_ CV *cv, HV *stash);
768 #define PERL_ARGS_ASSERT_CVSTASH_SET \
772 Perl_cx_dump(pTHX_ PERL_CONTEXT *cx);
773 #define PERL_ARGS_ASSERT_CX_DUMP \
778 __attribute__warn_unused_result__;
779 #define PERL_ARGS_ASSERT_CXINC
782 Perl_deb(pTHX_ const char *pat, ...)
783 __attribute__format__(__printf__,pTHX_1,pTHX_2);
784 #define PERL_ARGS_ASSERT_DEB \
788 Perl_deb_stack_all(pTHX)
789 __attribute__visibility__("hidden");
790 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
793 Perl_debop(pTHX_ const OP *o);
794 #define PERL_ARGS_ASSERT_DEBOP \
798 Perl_debprofdump(pTHX);
799 #define PERL_ARGS_ASSERT_DEBPROFDUMP
803 #define PERL_ARGS_ASSERT_DEBSTACK
806 Perl_debstackptrs(pTHX);
807 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
810 Perl_debug_hash_seed(pTHX_ bool via_debug_h)
811 __attribute__visibility__("hidden");
812 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
815 Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
816 __attribute__warn_unused_result__
817 __attribute__visibility__("hidden");
818 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
822 Perl_delete_eval_scope(pTHX)
823 __attribute__visibility__("hidden");
824 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
827 Perl_delimcpy(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
828 #define PERL_ARGS_ASSERT_DELIMCPY \
829 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
832 Perl_delimcpy_no_escape(char *to, const char *to_end, const char *from, const char *from_end, const int delim, I32 *retlen);
833 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE \
834 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
837 Perl_despatch_signals(pTHX);
838 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
840 PERL_CALLCONV_NO_RET OP *
841 Perl_die(pTHX_ const char *pat, ...)
842 __attribute__noreturn__
843 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
844 #define PERL_ARGS_ASSERT_DIE
846 PERL_CALLCONV_NO_RET OP *
847 Perl_die_sv(pTHX_ SV *baseex)
848 __attribute__noreturn__;
849 #define PERL_ARGS_ASSERT_DIE_SV \
852 PERL_CALLCONV_NO_RET void
853 Perl_die_unwind(pTHX_ SV *msv)
854 __attribute__noreturn__
855 __attribute__visibility__("hidden");
856 #define PERL_ARGS_ASSERT_DIE_UNWIND \
860 Perl_do_aexec5(pTHX_ SV *really, SV **mark, SV **sp, int fd, int do_report)
861 __attribute__visibility__("hidden");
862 #define PERL_ARGS_ASSERT_DO_AEXEC5 \
863 assert(mark); assert(sp)
866 Perl_do_close(pTHX_ GV *gv, bool is_explicit);
867 #define PERL_ARGS_ASSERT_DO_CLOSE
870 Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
871 __attribute__visibility__("hidden");
872 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \
876 Perl_do_eof(pTHX_ GV *gv)
877 __attribute__visibility__("hidden");
878 #define PERL_ARGS_ASSERT_DO_EOF \
882 Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
883 #define PERL_ARGS_ASSERT_DO_GV_DUMP \
884 assert(file); assert(name)
887 Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
888 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
889 assert(file); assert(name)
892 Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
893 #define PERL_ARGS_ASSERT_DO_HV_DUMP \
894 assert(file); assert(name)
897 Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
898 #define PERL_ARGS_ASSERT_DO_JOIN \
899 assert(sv); assert(delim); assert(mark); assert(sp)
902 Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
903 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
907 Perl_do_ncmp(pTHX_ SV * const left, SV * const right)
908 __attribute__warn_unused_result__
909 __attribute__visibility__("hidden");
910 #define PERL_ARGS_ASSERT_DO_NCMP \
911 assert(left); assert(right)
914 Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
915 #define PERL_ARGS_ASSERT_DO_OP_DUMP \
919 Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
920 __attribute__visibility__("hidden");
921 #define PERL_ARGS_ASSERT_DO_OPEN6 \
922 assert(gv); assert(oname)
925 Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
926 __attribute__visibility__("hidden");
927 #define PERL_ARGS_ASSERT_DO_OPEN_RAW \
928 assert(gv); assert(oname)
931 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);
932 #define PERL_ARGS_ASSERT_DO_OPENN \
933 assert(gv); assert(oname)
936 Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
937 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
941 Perl_do_print(pTHX_ SV *sv, PerlIO *fp)
942 __attribute__visibility__("hidden");
943 #define PERL_ARGS_ASSERT_DO_PRINT \
947 Perl_do_readline(pTHX)
948 __attribute__warn_unused_result__
949 __attribute__visibility__("hidden");
950 #define PERL_ARGS_ASSERT_DO_READLINE
953 Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
954 __attribute__visibility__("hidden");
955 #define PERL_ARGS_ASSERT_DO_SEEK
958 Perl_do_sprintf(pTHX_ SV *sv, SSize_t len, SV **sarg);
959 #define PERL_ARGS_ASSERT_DO_SPRINTF \
960 assert(sv); assert(sarg)
963 Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
964 #define PERL_ARGS_ASSERT_DO_SV_DUMP \
968 Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence)
969 __attribute__visibility__("hidden");
970 #define PERL_ARGS_ASSERT_DO_SYSSEEK \
974 Perl_do_tell(pTHX_ GV *gv)
975 __attribute__warn_unused_result__
976 __attribute__visibility__("hidden");
977 #define PERL_ARGS_ASSERT_DO_TELL \
981 Perl_do_trans(pTHX_ SV *sv)
982 __attribute__visibility__("hidden");
983 #define PERL_ARGS_ASSERT_DO_TRANS \
987 Perl_do_uniprop_match(const char * const key, const U16 key_len)
988 __attribute__warn_unused_result__;
989 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH \
993 Perl_do_vecget(pTHX_ SV *sv, STRLEN offset, int size)
994 __attribute__visibility__("hidden");
995 #define PERL_ARGS_ASSERT_DO_VECGET \
999 Perl_do_vecset(pTHX_ SV *sv)
1000 __attribute__visibility__("hidden");
1001 #define PERL_ARGS_ASSERT_DO_VECSET \
1005 Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right)
1006 __attribute__visibility__("hidden");
1007 #define PERL_ARGS_ASSERT_DO_VOP \
1008 assert(sv); assert(left); assert(right)
1011 Perl_dofile(pTHX_ OP *term, I32 force_builtin)
1012 __attribute__visibility__("hidden");
1013 #define PERL_ARGS_ASSERT_DOFILE \
1017 Perl_doing_taint(int argc, char **argv, char **env)
1018 __attribute__warn_unused_result__;
1019 #define PERL_ARGS_ASSERT_DOING_TAINT
1022 Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1023 #define PERL_ARGS_ASSERT_DOREF \
1027 Perl_dounwind(pTHX_ I32 cxix);
1028 #define PERL_ARGS_ASSERT_DOUNWIND
1031 Perl_dowantarray(pTHX)
1032 __attribute__deprecated__
1033 __attribute__warn_unused_result__;
1034 #define PERL_ARGS_ASSERT_DOWANTARRAY
1037 Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1038 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1039 assert(random_state)
1041 PERL_CALLCONV double
1042 Perl_drand48_r(perl_drand48_t *random_state);
1043 #define PERL_ARGS_ASSERT_DRAND48_R \
1044 assert(random_state)
1047 Perl_dump_all(pTHX);
1048 #define PERL_ARGS_ASSERT_DUMP_ALL
1051 Perl_dump_all_perl(pTHX_ bool justperl)
1052 __attribute__visibility__("hidden");
1053 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1056 Perl_dump_eval(pTHX);
1057 #define PERL_ARGS_ASSERT_DUMP_EVAL
1060 Perl_dump_form(pTHX_ const GV *gv);
1061 #define PERL_ARGS_ASSERT_DUMP_FORM \
1065 Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char *pat, ...)
1066 __attribute__format__(__printf__,pTHX_3,pTHX_4);
1067 #define PERL_ARGS_ASSERT_DUMP_INDENT \
1068 assert(file); assert(pat)
1071 Perl_dump_packsubs(pTHX_ const HV *stash);
1072 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
1076 Perl_dump_packsubs_perl(pTHX_ const HV *stash, bool justperl)
1077 __attribute__visibility__("hidden");
1078 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
1082 Perl_dump_sub(pTHX_ const GV *gv);
1083 #define PERL_ARGS_ASSERT_DUMP_SUB \
1087 Perl_dump_sub_perl(pTHX_ const GV *gv, bool justperl)
1088 __attribute__visibility__("hidden");
1089 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
1093 Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char *pat, va_list *args);
1094 #define PERL_ARGS_ASSERT_DUMP_VINDENT \
1095 assert(file); assert(pat)
1097 PERL_CALLCONV char *
1098 Perl_dup_warnings(pTHX_ char *warnings);
1099 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1102 Perl_emulate_cop_io(pTHX_ const COP * const c, SV * const sv);
1103 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1104 assert(c); assert(sv)
1107 Perl_eval_pv(pTHX_ const char *p, I32 croak_on_error);
1108 #define PERL_ARGS_ASSERT_EVAL_PV \
1111 PERL_CALLCONV SSize_t
1112 Perl_eval_sv(pTHX_ SV *sv, I32 flags);
1113 #define PERL_ARGS_ASSERT_EVAL_SV \
1117 Perl_fatal_warner(pTHX_ U32 err, const char *pat, ...)
1118 __attribute__format__(__printf__,pTHX_2,pTHX_3);
1119 #define PERL_ARGS_ASSERT_FATAL_WARNER \
1123 Perl_fbm_compile(pTHX_ SV *sv, U32 flags);
1124 #define PERL_ARGS_ASSERT_FBM_COMPILE \
1127 PERL_CALLCONV char *
1128 Perl_fbm_instr(pTHX_ unsigned char *big, unsigned char *bigend, SV *littlestr, U32 flags)
1129 __attribute__warn_unused_result__;
1130 #define PERL_ARGS_ASSERT_FBM_INSTR \
1131 assert(big); assert(bigend); assert(littlestr)
1134 Perl_filter_add(pTHX_ filter_t funcp, SV *datasv);
1135 #define PERL_ARGS_ASSERT_FILTER_ADD
1138 Perl_filter_del(pTHX_ filter_t funcp);
1139 #define PERL_ARGS_ASSERT_FILTER_DEL \
1143 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1144 __attribute__warn_unused_result__;
1145 #define PERL_ARGS_ASSERT_FILTER_READ \
1149 Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1150 __attribute__visibility__("hidden");
1151 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1154 Perl_find_runcv(pTHX_ U32 *db_seqp)
1155 __attribute__warn_unused_result__;
1156 #define PERL_ARGS_ASSERT_FIND_RUNCV
1159 Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1160 __attribute__warn_unused_result__
1161 __attribute__visibility__("hidden");
1162 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1165 Perl_find_rundefsv(pTHX);
1166 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1168 PERL_CALLCONV char *
1169 Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char * const * const search_ext, I32 flags)
1170 __attribute__visibility__("hidden");
1171 #define PERL_ARGS_ASSERT_FIND_SCRIPT \
1174 /* PERL_CALLCONV I32
1175 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1178 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);
1179 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
1180 assert(s1); assert(s2)
1183 Perl_forbid_outofblock_ops(pTHX_ OP *o, const char *blockname);
1184 #define PERL_ARGS_ASSERT_FORBID_OUTOFBLOCK_OPS \
1185 assert(o); assert(blockname)
1188 Perl_force_locale_unlock(pTHX)
1189 __attribute__visibility__("hidden");
1190 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1192 PERL_CALLCONV char *
1193 Perl_form(pTHX_ const char *pat, ...)
1194 __attribute__format__(__printf__,pTHX_1,pTHX_2);
1195 #define PERL_ARGS_ASSERT_FORM \
1199 Perl_free_tied_hv_pool(pTHX)
1200 __attribute__visibility__("hidden");
1201 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1204 Perl_free_tmps(pTHX);
1205 #define PERL_ARGS_ASSERT_FREE_TMPS
1208 Perl_get_and_check_backslash_N_name(pTHX_ const char *s, const char *e, const bool is_utf8, const char **error_msg)
1209 __attribute__warn_unused_result__;
1210 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1211 assert(s); assert(e); assert(error_msg)
1214 Perl_get_av(pTHX_ const char *name, I32 flags);
1215 #define PERL_ARGS_ASSERT_GET_AV \
1219 Perl_get_cv(pTHX_ const char *name, I32 flags);
1220 #define PERL_ARGS_ASSERT_GET_CV \
1224 Perl_get_cvn_flags(pTHX_ const char *name, STRLEN len, I32 flags);
1225 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
1229 Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1230 #define PERL_ARGS_ASSERT_GET_DB_SUB \
1233 PERL_CALLCONV const char *
1234 Perl_get_deprecated_property_msg(const Size_t warning_offset)
1235 __attribute__warn_unused_result__;
1236 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1239 Perl_get_extended_os_errno(void)
1240 __attribute__visibility__("hidden");
1241 #define PERL_ARGS_ASSERT_GET_EXTENDED_OS_ERRNO
1244 Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1245 __attribute__visibility__("hidden");
1246 #define PERL_ARGS_ASSERT_GET_HASH_SEED \
1250 Perl_get_hv(pTHX_ const char *name, I32 flags);
1251 #define PERL_ARGS_ASSERT_GET_HV \
1254 PERL_CALLCONV const char *
1255 Perl_get_no_modify(pTHX)
1256 __attribute__deprecated__
1257 __attribute__warn_unused_result__
1259 __attribute__visibility__("hidden");
1260 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1262 PERL_CALLCONV char **
1263 Perl_get_op_descs(pTHX)
1264 __attribute__deprecated__
1265 __attribute__warn_unused_result__
1266 __attribute__pure__;
1267 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1269 PERL_CALLCONV char **
1270 Perl_get_op_names(pTHX)
1271 __attribute__deprecated__
1272 __attribute__warn_unused_result__
1273 __attribute__pure__;
1274 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1277 Perl_get_opargs(pTHX)
1278 __attribute__deprecated__
1279 __attribute__warn_unused_result__
1281 __attribute__visibility__("hidden");
1282 #define PERL_ARGS_ASSERT_GET_OPARGS
1284 PERL_CALLCONV PPADDR_t *
1285 Perl_get_ppaddr(pTHX)
1286 __attribute__deprecated__
1287 __attribute__warn_unused_result__
1288 __attribute__pure__;
1289 #define PERL_ARGS_ASSERT_GET_PPADDR
1292 Perl_get_prop_definition(pTHX_ const int table_index)
1293 __attribute__warn_unused_result__;
1294 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1296 PERL_CALLCONV const char * const *
1297 Perl_get_prop_values(const int table_index)
1298 __attribute__warn_unused_result__;
1299 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1301 PERL_CALLCONV REGEXP *
1302 Perl_get_re_arg(pTHX_ SV *sv);
1303 #define PERL_ARGS_ASSERT_GET_RE_ARG
1306 Perl_get_sv(pTHX_ const char *name, I32 flags);
1307 #define PERL_ARGS_ASSERT_GET_SV \
1311 Perl_getcwd_sv(pTHX_ SV *sv);
1312 #define PERL_ARGS_ASSERT_GETCWD_SV \
1316 Perl_gp_free(pTHX_ GV *gv);
1317 #define PERL_ARGS_ASSERT_GP_FREE
1320 Perl_gp_ref(pTHX_ GP *gp);
1321 #define PERL_ARGS_ASSERT_GP_REF
1324 Perl_grok_atoUV(const char *pv, UV *valptr, const char **endptr);
1325 #define PERL_ARGS_ASSERT_GROK_ATOUV \
1326 assert(pv); assert(valptr)
1329 Perl_grok_bin(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1330 #define PERL_ARGS_ASSERT_GROK_BIN \
1331 assert(start); assert(len_p); assert(flags)
1334 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);
1335 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX \
1336 assert(start); assert(len_p); assert(flags)
1339 Perl_grok_hex(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1340 #define PERL_ARGS_ASSERT_GROK_HEX \
1341 assert(start); assert(len_p); assert(flags)
1344 Perl_grok_infnan(pTHX_ const char **sp, const char *send);
1345 #define PERL_ARGS_ASSERT_GROK_INFNAN \
1346 assert(sp); assert(send)
1349 Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1350 #define PERL_ARGS_ASSERT_GROK_NUMBER \
1354 Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1355 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \
1359 Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1360 __attribute__warn_unused_result__;
1361 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1362 assert(sp); assert(send)
1365 Perl_grok_oct(pTHX_ const char *start, STRLEN *len_p, I32 *flags, NV *result);
1366 #define PERL_ARGS_ASSERT_GROK_OCT \
1367 assert(start); assert(len_p); assert(flags)
1370 Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1371 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1373 /* PERL_CALLCONV GV *
1374 gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method)
1375 __attribute__warn_unused_result__; */
1378 Perl_gv_autoload_pv(pTHX_ HV *stash, const char *namepv, U32 flags)
1379 __attribute__warn_unused_result__;
1380 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1384 Perl_gv_autoload_pvn(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags)
1385 __attribute__warn_unused_result__;
1386 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
1390 Perl_gv_autoload_sv(pTHX_ HV *stash, SV *namesv, U32 flags)
1391 __attribute__warn_unused_result__;
1392 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1396 Perl_gv_check(pTHX_ HV *stash);
1397 #define PERL_ARGS_ASSERT_GV_CHECK \
1401 Perl_gv_const_sv(pTHX_ GV *gv)
1402 __attribute__warn_unused_result__;
1403 #define PERL_ARGS_ASSERT_GV_CONST_SV \
1407 Perl_gv_dump(pTHX_ GV *gv);
1408 #define PERL_ARGS_ASSERT_GV_DUMP
1411 Perl_gv_efullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1412 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1413 assert(sv); assert(gv)
1416 Perl_gv_fetchfile(pTHX_ const char *name);
1417 #define PERL_ARGS_ASSERT_GV_FETCHFILE \
1421 Perl_gv_fetchfile_flags(pTHX_ const char * const name, const STRLEN len, const U32 flags);
1422 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1425 /* PERL_CALLCONV GV *
1426 gv_fetchmeth(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1428 /* PERL_CALLCONV GV *
1429 gv_fetchmeth_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level); */
1432 Perl_gv_fetchmeth_pv(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1433 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
1437 Perl_gv_fetchmeth_pv_autoload(pTHX_ HV *stash, const char *name, I32 level, U32 flags);
1438 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
1442 Perl_gv_fetchmeth_pvn(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1443 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1447 Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV *stash, const char *name, STRLEN len, I32 level, U32 flags);
1448 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1452 Perl_gv_fetchmeth_sv(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1453 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1457 Perl_gv_fetchmeth_sv_autoload(pTHX_ HV *stash, SV *namesv, I32 level, U32 flags);
1458 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1462 Perl_gv_fetchmethod_autoload(pTHX_ HV *stash, const char *name, I32 autoload);
1463 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
1464 assert(stash); assert(name)
1467 Perl_gv_fetchmethod_pv_flags(pTHX_ HV *stash, const char *name, U32 flags);
1468 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
1469 assert(stash); assert(name)
1472 Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN len, U32 flags);
1473 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1474 assert(stash); assert(name)
1477 Perl_gv_fetchmethod_sv_flags(pTHX_ HV *stash, SV *namesv, U32 flags);
1478 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1479 assert(stash); assert(namesv)
1482 Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1483 #define PERL_ARGS_ASSERT_GV_FETCHPV \
1487 Perl_gv_fetchpvn_flags(pTHX_ const char *name, STRLEN len, I32 flags, const svtype sv_type);
1488 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1492 Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1493 #define PERL_ARGS_ASSERT_GV_FETCHSV \
1497 Perl_gv_fullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain);
1498 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1499 assert(sv); assert(gv)
1502 Perl_gv_handler(pTHX_ HV *stash, I32 id)
1503 __attribute__warn_unused_result__;
1504 #define PERL_ARGS_ASSERT_GV_HANDLER
1506 /* PERL_CALLCONV void
1507 gv_init(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, int multi); */
1510 Perl_gv_init_pv(pTHX_ GV *gv, HV *stash, const char *name, U32 flags);
1511 #define PERL_ARGS_ASSERT_GV_INIT_PV \
1512 assert(gv); assert(name)
1515 Perl_gv_init_pvn(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, U32 flags);
1516 #define PERL_ARGS_ASSERT_GV_INIT_PVN \
1517 assert(gv); assert(name)
1520 Perl_gv_init_sv(pTHX_ GV *gv, HV *stash, SV *namesv, U32 flags);
1521 #define PERL_ARGS_ASSERT_GV_INIT_SV \
1522 assert(gv); assert(namesv)
1525 Perl_gv_name_set(pTHX_ GV *gv, const char *name, U32 len, U32 flags);
1526 #define PERL_ARGS_ASSERT_GV_NAME_SET \
1527 assert(gv); assert(name)
1530 Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1531 #define PERL_ARGS_ASSERT_GV_OVERRIDE \
1535 Perl_gv_setref(pTHX_ SV * const dsv, SV * const ssv)
1536 __attribute__visibility__("hidden");
1537 #define PERL_ARGS_ASSERT_GV_SETREF \
1538 assert(dsv); assert(ssv)
1541 Perl_gv_stashpv(pTHX_ const char *name, I32 flags);
1542 #define PERL_ARGS_ASSERT_GV_STASHPV \
1546 Perl_gv_stashpvn(pTHX_ const char *name, U32 namelen, I32 flags);
1547 #define PERL_ARGS_ASSERT_GV_STASHPVN \
1551 Perl_gv_stashsv(pTHX_ SV *sv, I32 flags);
1552 #define PERL_ARGS_ASSERT_GV_STASHSV \
1556 Perl_gv_try_downgrade(pTHX_ GV *gv);
1557 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1560 PERL_CALLCONV struct xpvhv_aux *
1561 Perl_hv_auxalloc(pTHX_ HV *hv)
1562 __attribute__visibility__("hidden");
1563 #define PERL_ARGS_ASSERT_HV_AUXALLOC \
1567 Perl_hv_backreferences_p(pTHX_ HV *hv)
1568 __attribute__visibility__("hidden");
1569 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1573 Perl_hv_bucket_ratio(pTHX_ HV *hv)
1574 __attribute__warn_unused_result__;
1575 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \
1579 Perl_hv_clear(pTHX_ HV *hv);
1580 #define PERL_ARGS_ASSERT_HV_CLEAR
1583 Perl_hv_clear_placeholders(pTHX_ HV *hv);
1584 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1587 PERL_CALLCONV void *
1588 Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1589 #define PERL_ARGS_ASSERT_HV_COMMON
1591 PERL_CALLCONV void *
1592 Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1593 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1597 Perl_hv_copy_hints_hv(pTHX_ HV * const ohv)
1598 __attribute__warn_unused_result__;
1599 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1602 Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1603 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1606 Perl_hv_dump(pTHX_ HV *hv);
1607 #define PERL_ARGS_ASSERT_HV_DUMP
1610 Perl_hv_eiter_p(pTHX_ HV *hv)
1611 __attribute__warn_unused_result__;
1612 #define PERL_ARGS_ASSERT_HV_EITER_P \
1616 Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1617 #define PERL_ARGS_ASSERT_HV_EITER_SET \
1621 Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1622 __attribute__visibility__("hidden");
1623 #define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1624 assert(hv); assert(name)
1627 Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1628 __attribute__visibility__("hidden");
1629 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1630 assert(hv); assert(name)
1632 PERL_CALLCONV STRLEN
1633 Perl_hv_fill(pTHX_ HV * const hv);
1634 #define PERL_ARGS_ASSERT_HV_FILL \
1638 Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1639 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1642 Perl_hv_iterinit(pTHX_ HV *hv);
1643 #define PERL_ARGS_ASSERT_HV_ITERINIT \
1646 PERL_CALLCONV char *
1647 Perl_hv_iterkey(pTHX_ HE *entry, I32 *retlen)
1648 __attribute__warn_unused_result__;
1649 #define PERL_ARGS_ASSERT_HV_ITERKEY \
1650 assert(entry); assert(retlen)
1653 Perl_hv_iterkeysv(pTHX_ HE *entry)
1654 __attribute__warn_unused_result__;
1655 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1659 Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1660 __attribute__warn_unused_result__;
1661 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1665 Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1666 __attribute__warn_unused_result__;
1667 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1668 assert(hv); assert(key); assert(retlen)
1671 Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1672 __attribute__warn_unused_result__;
1673 #define PERL_ARGS_ASSERT_HV_ITERVAL \
1674 assert(hv); assert(entry)
1677 Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1678 #define PERL_ARGS_ASSERT_HV_KSPLIT \
1682 Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1683 #define PERL_ARGS_ASSERT_HV_NAME_SET \
1687 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1688 __attribute__warn_unused_result__;
1689 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1692 PERL_CALLCONV SSize_t *
1693 Perl_hv_placeholders_p(pTHX_ HV *hv)
1694 __attribute__warn_unused_result__;
1695 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1699 Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1700 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1704 Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1705 __attribute__visibility__("hidden");
1706 #define PERL_ARGS_ASSERT_HV_PUSHKV \
1710 Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1711 #define PERL_ARGS_ASSERT_HV_RAND_SET \
1715 Perl_hv_riter_p(pTHX_ HV *hv)
1716 __attribute__warn_unused_result__;
1717 #define PERL_ARGS_ASSERT_HV_RITER_P \
1721 Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1722 #define PERL_ARGS_ASSERT_HV_RITER_SET \
1726 Perl_hv_scalar(pTHX_ HV *hv)
1727 __attribute__warn_unused_result__;
1728 #define PERL_ARGS_ASSERT_HV_SCALAR \
1731 /* PERL_CALLCONV SV **
1732 hv_stores(pTHX_ HV *hv, const char * const key, SV *val); */
1734 /* PERL_CALLCONV void
1735 hv_undef(pTHX_ HV *hv); */
1738 Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1739 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1741 /* PERL_CALLCONV I32
1742 ibcmp(pTHX_ const char *a, const char *b, I32 len)
1743 __attribute__warn_unused_result__
1744 __attribute__pure__; */
1746 /* PERL_CALLCONV I32
1747 ibcmp_locale(pTHX_ const char *a, const char *b, I32 len)
1748 __attribute__warn_unused_result__
1749 __attribute__pure__; */
1751 /* PERL_CALLCONV I32
1752 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1754 PERL_CALLCONV STRLEN
1755 Perl_infix_plugin_standard(pTHX_ char *operator_ptr, STRLEN operator_len, struct Perl_custom_infix **def);
1756 #define PERL_ARGS_ASSERT_INFIX_PLUGIN_STANDARD \
1757 assert(operator_ptr); assert(def)
1760 Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1761 __attribute__visibility__("hidden");
1762 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1766 Perl_init_constants(pTHX)
1767 __attribute__visibility__("hidden");
1768 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1771 Perl_init_dbargs(pTHX)
1772 __attribute__visibility__("hidden");
1773 #define PERL_ARGS_ASSERT_INIT_DBARGS
1776 Perl_init_debugger(pTHX)
1777 __attribute__visibility__("hidden");
1778 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1781 Perl_init_i18nl10n(pTHX_ int printwarn);
1782 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1785 Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1786 #define PERL_ARGS_ASSERT_INIT_NAMED_CV \
1787 assert(cv); assert(nameop)
1790 Perl_init_stacks(pTHX);
1791 #define PERL_ARGS_ASSERT_INIT_STACKS
1794 Perl_init_tm(pTHX_ struct tm *ptm);
1795 #define PERL_ARGS_ASSERT_INIT_TM \
1799 Perl_init_uniprops(pTHX)
1800 __attribute__visibility__("hidden");
1801 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1804 Perl_intro_my(pTHX);
1805 #define PERL_ARGS_ASSERT_INTRO_MY
1808 Perl_invert(pTHX_ OP *cmd)
1809 __attribute__warn_unused_result__
1810 __attribute__visibility__("hidden");
1811 #define PERL_ARGS_ASSERT_INVERT
1814 Perl_invmap_dump(pTHX_ SV *invlist, UV *map)
1815 __attribute__visibility__("hidden");
1816 #define PERL_ARGS_ASSERT_INVMAP_DUMP \
1817 assert(invlist); assert(map)
1820 Perl_io_close(pTHX_ IO *io, GV *gv, bool is_explicit, bool warn_on_fail)
1821 __attribute__visibility__("hidden");
1822 #define PERL_ARGS_ASSERT_IO_CLOSE \
1825 /* PERL_CALLCONV bool
1826 is_ascii_string(const U8 * const s, STRLEN len)
1827 __attribute__warn_unused_result__
1828 __attribute__pure__; */
1830 /* PERL_CALLCONV bool
1831 is_c9strict_utf8_string(const U8 *s, STRLEN len)
1832 __attribute__warn_unused_result__; */
1834 /* PERL_CALLCONV bool
1835 is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1837 /* PERL_CALLCONV bool
1838 is_invariant_string(const U8 * const s, STRLEN len)
1839 __attribute__warn_unused_result__
1840 __attribute__pure__; */
1843 Perl_is_lvalue_sub(pTHX)
1844 __attribute__warn_unused_result__;
1845 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1847 /* PERL_CALLCONV bool
1848 is_strict_utf8_string(const U8 *s, STRLEN len)
1849 __attribute__warn_unused_result__; */
1851 /* PERL_CALLCONV bool
1852 is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1854 PERL_CALLCONV Size_t
1855 Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1856 __attribute__warn_unused_result__
1857 __attribute__pure__;
1858 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_ \
1859 assert(s0); assert(e)
1861 PERL_CALLCONV STRLEN
1862 Perl_is_utf8_char_helper_(const U8 * const s, const U8 *e, const U32 flags)
1863 __attribute__warn_unused_result__
1864 __attribute__pure__;
1865 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_ \
1866 assert(s); assert(e)
1868 /* PERL_CALLCONV bool
1869 is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1871 /* PERL_CALLCONV bool
1872 is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1874 /* PERL_CALLCONV bool
1875 is_utf8_invariant_string(const U8 * const s, STRLEN len)
1876 __attribute__warn_unused_result__; */
1878 /* PERL_CALLCONV bool
1879 is_utf8_string(const U8 *s, STRLEN len)
1880 __attribute__warn_unused_result__; */
1882 /* PERL_CALLCONV bool
1883 is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1885 /* PERL_CALLCONV bool
1886 is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1887 __attribute__warn_unused_result__
1888 __attribute__pure__; */
1891 Perl_isinfnan(NV nv)
1892 __attribute__warn_unused_result__
1893 __attribute__pure__;
1894 #define PERL_ARGS_ASSERT_ISINFNAN
1897 Perl_isinfnansv(pTHX_ SV *sv)
1898 __attribute__visibility__("hidden");
1899 #define PERL_ARGS_ASSERT_ISINFNANSV \
1903 Perl_jmaybe(pTHX_ OP *o)
1904 __attribute__visibility__("hidden");
1905 #define PERL_ARGS_ASSERT_JMAYBE \
1909 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1910 __attribute__warn_unused_result__
1912 __attribute__visibility__("hidden");
1913 #define PERL_ARGS_ASSERT_KEYWORD \
1917 Perl_keyword_plugin_standard(pTHX_ char *keyword_ptr, STRLEN keyword_len, OP **op_ptr);
1918 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1919 assert(keyword_ptr); assert(op_ptr)
1922 Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
1923 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS \
1924 assert(from_sp); assert(to_sp)
1927 Perl_leave_scope(pTHX_ I32 base);
1928 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
1931 Perl_lex_bufutf8(pTHX);
1932 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
1935 Perl_lex_discard_to(pTHX_ char *ptr);
1936 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1939 PERL_CALLCONV char *
1940 Perl_lex_grow_linestr(pTHX_ STRLEN len);
1941 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
1944 Perl_lex_next_chunk(pTHX_ U32 flags);
1945 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
1948 Perl_lex_peek_unichar(pTHX_ U32 flags);
1949 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
1952 Perl_lex_read_space(pTHX_ U32 flags);
1953 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
1956 Perl_lex_read_to(pTHX_ char *ptr);
1957 #define PERL_ARGS_ASSERT_LEX_READ_TO \
1961 Perl_lex_read_unichar(pTHX_ U32 flags);
1962 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
1965 Perl_lex_start(pTHX_ SV *line, PerlIO *rsfp, U32 flags);
1966 #define PERL_ARGS_ASSERT_LEX_START
1969 Perl_lex_stuff_pv(pTHX_ const char *pv, U32 flags);
1970 #define PERL_ARGS_ASSERT_LEX_STUFF_PV \
1974 Perl_lex_stuff_pvn(pTHX_ const char *pv, STRLEN len, U32 flags);
1975 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1979 Perl_lex_stuff_sv(pTHX_ SV *sv, U32 flags);
1980 #define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1984 Perl_lex_unstuff(pTHX_ char *ptr);
1985 #define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1989 Perl_list(pTHX_ OP *o)
1990 __attribute__visibility__("hidden");
1991 #define PERL_ARGS_ASSERT_LIST
1994 Perl_load_charnames(pTHX_ SV *char_name, const char *context, const STRLEN context_len, const char **error_msg)
1995 __attribute__warn_unused_result__;
1996 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
1997 assert(char_name); assert(context); assert(error_msg)
2000 Perl_load_module(pTHX_ U32 flags, SV *name, SV *ver, ...);
2001 #define PERL_ARGS_ASSERT_LOAD_MODULE \
2004 PERL_CALLCONV_NO_RET void
2005 Perl_locale_panic(const char *msg, const line_t immediate_caller_line, const char * const higher_caller_file, const line_t higher_caller_line)
2006 __attribute__noreturn__;
2007 #define PERL_ARGS_ASSERT_LOCALE_PANIC \
2008 assert(msg); assert(higher_caller_file)
2011 Perl_localize(pTHX_ OP *o, I32 lex)
2012 __attribute__visibility__("hidden");
2013 #define PERL_ARGS_ASSERT_LOCALIZE \
2017 Perl_looks_like_number(pTHX_ SV * const sv)
2018 __attribute__warn_unused_result__;
2019 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
2023 Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg)
2024 __attribute__visibility__("hidden");
2025 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
2026 assert(sv); assert(mg)
2029 Perl_magic_cleararylen_p(pTHX_ SV *sv, MAGIC *mg)
2030 __attribute__visibility__("hidden");
2031 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
2032 assert(sv); assert(mg)
2035 Perl_magic_clearenv(pTHX_ SV *sv, MAGIC *mg)
2036 __attribute__visibility__("hidden");
2037 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2038 assert(sv); assert(mg)
2041 Perl_magic_clearhint(pTHX_ SV *sv, MAGIC *mg)
2042 __attribute__visibility__("hidden");
2043 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
2044 assert(sv); assert(mg)
2047 Perl_magic_clearhints(pTHX_ SV *sv, MAGIC *mg)
2048 __attribute__visibility__("hidden");
2049 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
2050 assert(sv); assert(mg)
2053 Perl_magic_clearhook(pTHX_ SV *sv, MAGIC *mg)
2054 __attribute__visibility__("hidden");
2055 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOK \
2059 Perl_magic_clearhookall(pTHX_ SV *sv, MAGIC *mg)
2060 __attribute__visibility__("hidden");
2061 #define PERL_ARGS_ASSERT_MAGIC_CLEARHOOKALL \
2065 Perl_magic_clearisa(pTHX_ SV *sv, MAGIC *mg)
2066 __attribute__visibility__("hidden");
2067 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2071 Perl_magic_clearpack(pTHX_ SV *sv, MAGIC *mg)
2072 __attribute__visibility__("hidden");
2073 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
2074 assert(sv); assert(mg)
2077 Perl_magic_clearsig(pTHX_ SV *sv, MAGIC *mg)
2078 __attribute__visibility__("hidden");
2079 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2080 assert(sv); assert(mg)
2083 Perl_magic_copycallchecker(pTHX_ SV *sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2084 __attribute__visibility__("hidden");
2085 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
2086 assert(sv); assert(mg); assert(nsv)
2089 Perl_magic_dump(pTHX_ const MAGIC *mg);
2090 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2093 Perl_magic_existspack(pTHX_ SV *sv, const MAGIC *mg)
2094 __attribute__visibility__("hidden");
2095 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
2096 assert(sv); assert(mg)
2099 Perl_magic_freearylen_p(pTHX_ SV *sv, MAGIC *mg)
2100 __attribute__visibility__("hidden");
2101 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
2102 assert(sv); assert(mg)
2105 Perl_magic_freedestruct(pTHX_ SV *sv, MAGIC *mg)
2106 __attribute__visibility__("hidden");
2107 #define PERL_ARGS_ASSERT_MAGIC_FREEDESTRUCT \
2108 assert(sv); assert(mg)
2111 Perl_magic_freemglob(pTHX_ SV *sv, MAGIC *mg)
2112 __attribute__visibility__("hidden");
2113 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB \
2114 assert(sv); assert(mg)
2117 Perl_magic_freeovrld(pTHX_ SV *sv, MAGIC *mg)
2118 __attribute__visibility__("hidden");
2119 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
2120 assert(sv); assert(mg)
2123 Perl_magic_freeutf8(pTHX_ SV *sv, MAGIC *mg)
2124 __attribute__visibility__("hidden");
2125 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
2126 assert(sv); assert(mg)
2129 Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
2130 __attribute__visibility__("hidden");
2131 #define PERL_ARGS_ASSERT_MAGIC_GET \
2132 assert(sv); assert(mg)
2135 Perl_magic_getarylen(pTHX_ SV *sv, const MAGIC *mg)
2136 __attribute__visibility__("hidden");
2137 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
2138 assert(sv); assert(mg)
2141 Perl_magic_getdebugvar(pTHX_ SV *sv, MAGIC *mg)
2142 __attribute__visibility__("hidden");
2143 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \
2144 assert(sv); assert(mg)
2147 Perl_magic_getdefelem(pTHX_ SV *sv, MAGIC *mg)
2148 __attribute__visibility__("hidden");
2149 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
2150 assert(sv); assert(mg)
2153 Perl_magic_getnkeys(pTHX_ SV *sv, MAGIC *mg)
2154 __attribute__visibility__("hidden");
2155 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2156 assert(sv); assert(mg)
2159 Perl_magic_getpack(pTHX_ SV *sv, MAGIC *mg)
2160 __attribute__visibility__("hidden");
2161 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2162 assert(sv); assert(mg)
2165 Perl_magic_getpos(pTHX_ SV *sv, MAGIC *mg)
2166 __attribute__visibility__("hidden");
2167 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2168 assert(sv); assert(mg)
2171 Perl_magic_getsig(pTHX_ SV *sv, MAGIC *mg)
2172 __attribute__visibility__("hidden");
2173 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2174 assert(sv); assert(mg)
2177 Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg)
2178 __attribute__visibility__("hidden");
2179 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2180 assert(sv); assert(mg)
2183 Perl_magic_gettaint(pTHX_ SV *sv, MAGIC *mg)
2184 __attribute__visibility__("hidden");
2185 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2186 assert(sv); assert(mg)
2189 Perl_magic_getuvar(pTHX_ SV *sv, MAGIC *mg)
2190 __attribute__visibility__("hidden");
2191 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2192 assert(sv); assert(mg)
2195 Perl_magic_getvec(pTHX_ SV *sv, MAGIC *mg)
2196 __attribute__visibility__("hidden");
2197 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2198 assert(sv); assert(mg)
2201 Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2202 __attribute__visibility__("hidden");
2203 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2204 assert(sv); assert(mg)
2207 Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2208 __attribute__visibility__("hidden");
2209 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2210 assert(sv); assert(mg); assert(meth)
2213 Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2214 __attribute__visibility__("hidden");
2215 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2216 assert(sv); assert(mg); assert(key)
2219 Perl_magic_regdata_cnt(pTHX_ SV *sv, MAGIC *mg)
2220 __attribute__visibility__("hidden");
2221 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
2222 assert(sv); assert(mg)
2225 Perl_magic_regdatum_get(pTHX_ SV *sv, MAGIC *mg)
2226 __attribute__visibility__("hidden");
2227 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2228 assert(sv); assert(mg)
2231 Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2232 __attribute__visibility__("hidden");
2233 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2234 assert(hv); assert(mg)
2237 Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
2238 __attribute__visibility__("hidden");
2239 #define PERL_ARGS_ASSERT_MAGIC_SET \
2240 assert(sv); assert(mg)
2243 Perl_magic_set_all_env(pTHX_ SV *sv, MAGIC *mg)
2244 __attribute__visibility__("hidden");
2245 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
2246 assert(sv); assert(mg)
2249 Perl_magic_setarylen(pTHX_ SV *sv, MAGIC *mg)
2250 __attribute__visibility__("hidden");
2251 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
2252 assert(sv); assert(mg)
2255 Perl_magic_setdbline(pTHX_ SV *sv, MAGIC *mg)
2256 __attribute__visibility__("hidden");
2257 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2258 assert(sv); assert(mg)
2261 Perl_magic_setdebugvar(pTHX_ SV *sv, MAGIC *mg)
2262 __attribute__visibility__("hidden");
2263 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \
2264 assert(sv); assert(mg)
2267 Perl_magic_setdefelem(pTHX_ SV *sv, MAGIC *mg)
2268 __attribute__visibility__("hidden");
2269 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2270 assert(sv); assert(mg)
2273 Perl_magic_setenv(pTHX_ SV *sv, MAGIC *mg)
2274 __attribute__visibility__("hidden");
2275 #define PERL_ARGS_ASSERT_MAGIC_SETENV \
2276 assert(sv); assert(mg)
2279 Perl_magic_sethint(pTHX_ SV *sv, MAGIC *mg)
2280 __attribute__visibility__("hidden");
2281 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2282 assert(sv); assert(mg)
2285 Perl_magic_sethook(pTHX_ SV *sv, MAGIC *mg)
2286 __attribute__visibility__("hidden");
2287 #define PERL_ARGS_ASSERT_MAGIC_SETHOOK \
2291 Perl_magic_sethookall(pTHX_ SV *sv, MAGIC *mg)
2292 __attribute__visibility__("hidden");
2293 #define PERL_ARGS_ASSERT_MAGIC_SETHOOKALL \
2294 assert(sv); assert(mg)
2297 Perl_magic_setisa(pTHX_ SV *sv, MAGIC *mg)
2298 __attribute__visibility__("hidden");
2299 #define PERL_ARGS_ASSERT_MAGIC_SETISA \
2300 assert(sv); assert(mg)
2303 Perl_magic_setlvref(pTHX_ SV *sv, MAGIC *mg)
2304 __attribute__visibility__("hidden");
2305 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2306 assert(sv); assert(mg)
2309 Perl_magic_setmglob(pTHX_ SV *sv, MAGIC *mg)
2310 __attribute__visibility__("hidden");
2311 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2312 assert(sv); assert(mg)
2315 Perl_magic_setnkeys(pTHX_ SV *sv, MAGIC *mg)
2316 __attribute__visibility__("hidden");
2317 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2318 assert(sv); assert(mg)
2321 Perl_magic_setnonelem(pTHX_ SV *sv, MAGIC *mg)
2322 __attribute__visibility__("hidden");
2323 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM \
2324 assert(sv); assert(mg)
2327 Perl_magic_setpack(pTHX_ SV *sv, MAGIC *mg)
2328 __attribute__visibility__("hidden");
2329 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2330 assert(sv); assert(mg)
2333 Perl_magic_setpos(pTHX_ SV *sv, MAGIC *mg)
2334 __attribute__visibility__("hidden");
2335 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2336 assert(sv); assert(mg)
2339 Perl_magic_setregexp(pTHX_ SV *sv, MAGIC *mg)
2340 __attribute__visibility__("hidden");
2341 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2342 assert(sv); assert(mg)
2345 Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
2346 __attribute__visibility__("hidden");
2347 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \
2351 Perl_magic_setsigall(pTHX_ SV *sv, MAGIC *mg)
2352 __attribute__visibility__("hidden");
2353 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL \
2354 assert(sv); assert(mg)
2357 Perl_magic_setsubstr(pTHX_ SV *sv, MAGIC *mg)
2358 __attribute__visibility__("hidden");
2359 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2360 assert(sv); assert(mg)
2363 Perl_magic_settaint(pTHX_ SV *sv, MAGIC *mg)
2364 __attribute__visibility__("hidden");
2365 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2366 assert(sv); assert(mg)
2369 Perl_magic_setutf8(pTHX_ SV *sv, MAGIC *mg)
2370 __attribute__visibility__("hidden");
2371 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
2372 assert(sv); assert(mg)
2375 Perl_magic_setuvar(pTHX_ SV *sv, MAGIC *mg)
2376 __attribute__visibility__("hidden");
2377 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
2378 assert(sv); assert(mg)
2381 Perl_magic_setvec(pTHX_ SV *sv, MAGIC *mg)
2382 __attribute__visibility__("hidden");
2383 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \
2384 assert(sv); assert(mg)
2387 Perl_magic_sizepack(pTHX_ SV *sv, MAGIC *mg)
2388 __attribute__visibility__("hidden");
2389 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2390 assert(sv); assert(mg)
2393 Perl_magic_wipepack(pTHX_ SV *sv, MAGIC *mg)
2394 __attribute__visibility__("hidden");
2395 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2396 assert(sv); assert(mg)
2398 PERL_CALLCONV Malloc_t
2399 Perl_malloc(MEM_SIZE nbytes)
2400 __attribute__malloc__
2401 __attribute__warn_unused_result__;
2402 #define PERL_ARGS_ASSERT_MALLOC
2404 PERL_CALLCONV Stack_off_t *
2405 Perl_markstack_grow(pTHX);
2406 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2409 Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
2410 #define PERL_ARGS_ASSERT_MBTOWC_
2413 Perl_mess(pTHX_ const char *pat, ...)
2414 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2415 #define PERL_ARGS_ASSERT_MESS \
2419 Perl_mess_sv(pTHX_ SV *basemsg, bool consume);
2420 #define PERL_ARGS_ASSERT_MESS_SV \
2423 PERL_CALLCONV Free_t
2424 Perl_mfree(Malloc_t where);
2425 #define PERL_ARGS_ASSERT_MFREE
2428 Perl_mg_clear(pTHX_ SV *sv);
2429 #define PERL_ARGS_ASSERT_MG_CLEAR \
2433 Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2434 #define PERL_ARGS_ASSERT_MG_COPY \
2435 assert(sv); assert(nsv)
2437 PERL_CALLCONV MAGIC *
2438 Perl_mg_find(const SV *sv, int type)
2439 __attribute__warn_unused_result__;
2440 #define PERL_ARGS_ASSERT_MG_FIND
2442 PERL_CALLCONV MAGIC *
2443 Perl_mg_find_mglob(pTHX_ SV *sv)
2444 __attribute__warn_unused_result__;
2445 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
2448 PERL_CALLCONV MAGIC *
2449 Perl_mg_findext(const SV *sv, int type, const MGVTBL *vtbl)
2450 __attribute__warn_unused_result__;
2451 #define PERL_ARGS_ASSERT_MG_FINDEXT
2454 Perl_mg_free(pTHX_ SV *sv);
2455 #define PERL_ARGS_ASSERT_MG_FREE \
2459 Perl_mg_free_type(pTHX_ SV *sv, int how);
2460 #define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2464 Perl_mg_freeext(pTHX_ SV *sv, int how, const MGVTBL *vtbl);
2465 #define PERL_ARGS_ASSERT_MG_FREEEXT \
2469 Perl_mg_get(pTHX_ SV *sv);
2470 #define PERL_ARGS_ASSERT_MG_GET \
2474 Perl_mg_localize(pTHX_ SV *sv, SV *nsv, bool setmagic)
2475 __attribute__visibility__("hidden");
2476 #define PERL_ARGS_ASSERT_MG_LOCALIZE \
2477 assert(sv); assert(nsv)
2480 Perl_mg_magical(SV *sv);
2481 #define PERL_ARGS_ASSERT_MG_MAGICAL \
2485 Perl_mg_set(pTHX_ SV *sv);
2486 #define PERL_ARGS_ASSERT_MG_SET \
2490 Perl_mg_size(pTHX_ SV *sv);
2491 #define PERL_ARGS_ASSERT_MG_SIZE \
2495 Perl_mini_mktime(struct tm *ptm);
2496 #define PERL_ARGS_ASSERT_MINI_MKTIME \
2500 Perl_mode_from_discipline(pTHX_ const char *s, STRLEN len)
2501 __attribute__visibility__("hidden");
2502 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2504 PERL_CALLCONV void *
2505 Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2506 #define PERL_ARGS_ASSERT_MORE_BODIES
2508 PERL_CALLCONV const char *
2509 Perl_moreswitches(pTHX_ const char *s);
2510 #define PERL_ARGS_ASSERT_MORESWITCHES \
2514 Perl_mortal_destructor_sv(pTHX_ SV *coderef, SV *args);
2515 #define PERL_ARGS_ASSERT_MORTAL_DESTRUCTOR_SV \
2519 Perl_mortal_svfunc_x(pTHX_ SVFUNC_t f, SV *p);
2520 #define PERL_ARGS_ASSERT_MORTAL_SVFUNC_X
2522 PERL_CALLCONV const struct mro_alg *
2523 Perl_mro_get_from_name(pTHX_ SV *name);
2524 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2528 Perl_mro_get_linear_isa(pTHX_ HV *stash);
2529 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2533 Perl_mro_get_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which);
2534 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2535 assert(smeta); assert(which)
2538 Perl_mro_isa_changed_in(pTHX_ HV *stash)
2539 __attribute__visibility__("hidden");
2540 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2543 PERL_CALLCONV struct mro_meta *
2544 Perl_mro_meta_init(pTHX_ HV *stash);
2545 #define PERL_ARGS_ASSERT_MRO_META_INIT \
2549 Perl_mro_method_changed_in(pTHX_ HV *stash);
2550 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2554 Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2555 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2559 Perl_mro_register(pTHX_ const struct mro_alg *mro);
2560 #define PERL_ARGS_ASSERT_MRO_REGISTER \
2564 Perl_mro_set_mro(pTHX_ struct mro_meta * const meta, SV * const name);
2565 #define PERL_ARGS_ASSERT_MRO_SET_MRO \
2566 assert(meta); assert(name)
2569 Perl_mro_set_private_data(pTHX_ struct mro_meta * const smeta, const struct mro_alg * const which, SV * const data);
2570 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2571 assert(smeta); assert(which); assert(data)
2574 Perl_multiconcat_stringify(pTHX_ const OP *o);
2575 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY \
2579 Perl_multideref_stringify(pTHX_ const OP *o, CV *cv);
2580 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \
2584 Perl_my_atof(pTHX_ const char *s);
2585 #define PERL_ARGS_ASSERT_MY_ATOF \
2588 PERL_CALLCONV char *
2589 Perl_my_atof2(pTHX_ const char *orig, NV *value);
2590 #define PERL_ARGS_ASSERT_MY_ATOF2 \
2591 assert(orig); assert(value)
2593 PERL_CALLCONV char *
2594 Perl_my_atof3(pTHX_ const char *orig, NV *value, const STRLEN len);
2595 #define PERL_ARGS_ASSERT_MY_ATOF3 \
2596 assert(orig); assert(value)
2599 Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2600 __attribute__visibility__("hidden");
2601 #define PERL_ARGS_ASSERT_MY_ATTRS \
2605 Perl_my_clearenv(pTHX);
2606 #define PERL_ARGS_ASSERT_MY_CLEARENV
2609 Perl_my_dirfd(DIR *dir);
2610 #define PERL_ARGS_ASSERT_MY_DIRFD
2612 PERL_CALLCONV_NO_RET void
2613 Perl_my_exit(pTHX_ U32 status)
2614 __attribute__noreturn__;
2615 #define PERL_ARGS_ASSERT_MY_EXIT
2617 PERL_CALLCONV_NO_RET void
2618 Perl_my_failure_exit(pTHX)
2619 __attribute__noreturn__;
2620 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2623 Perl_my_fflush_all(pTHX);
2624 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2628 #define PERL_ARGS_ASSERT_MY_FORK
2630 /* PERL_CALLCONV I32
2634 Perl_my_lstat_flags(pTHX_ const U32 flags);
2635 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2638 Perl_my_mkostemp_cloexec(char *templte, int flags)
2639 __attribute__warn_unused_result__
2640 __attribute__visibility__("hidden");
2641 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC \
2645 Perl_my_mkstemp_cloexec(char *templte)
2646 __attribute__warn_unused_result__
2647 __attribute__visibility__("hidden");
2648 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC \
2651 PERL_CALLCONV PerlIO *
2652 Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args);
2653 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2654 assert(mode); assert(args)
2657 Perl_my_setenv(pTHX_ const char *nam, const char *val);
2658 #define PERL_ARGS_ASSERT_MY_SETENV
2661 Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2662 __attribute__format__(__printf__,3,4);
2663 #define PERL_ARGS_ASSERT_MY_SNPRINTF \
2664 assert(buffer); assert(format)
2667 Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2668 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2670 /* PERL_CALLCONV I32
2674 Perl_my_stat_flags(pTHX_ const U32 flags);
2675 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2677 PERL_CALLCONV const char *
2678 Perl_my_strerror(pTHX_ const int errnum, utf8ness_t *utf8ness)
2679 __attribute__visibility__("hidden");
2680 #define PERL_ARGS_ASSERT_MY_STRERROR \
2683 PERL_CALLCONV char *
2684 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)
2685 __attribute__format__(__strftime__,pTHX_1,0);
2686 #define PERL_ARGS_ASSERT_MY_STRFTIME \
2690 Perl_my_strtod(const char * const s, char **e)
2691 __attribute__warn_unused_result__;
2692 #define PERL_ARGS_ASSERT_MY_STRTOD \
2696 Perl_my_unexec(pTHX)
2697 __attribute__visibility__("hidden");
2698 #define PERL_ARGS_ASSERT_MY_UNEXEC
2701 Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2702 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2703 assert(buffer); assert(format)
2706 Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2707 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2710 Perl_newANONHASH(pTHX_ OP *o)
2711 __attribute__warn_unused_result__;
2712 #define PERL_ARGS_ASSERT_NEWANONHASH
2715 Perl_newANONLIST(pTHX_ OP *o)
2716 __attribute__warn_unused_result__;
2717 #define PERL_ARGS_ASSERT_NEWANONLIST
2720 Perl_newANONSUB(pTHX_ I32 floor, OP *proto, OP *block);
2721 #define PERL_ARGS_ASSERT_NEWANONSUB
2724 Perl_newARGDEFELEMOP(pTHX_ I32 flags, OP *expr, I32 argindex)
2725 __attribute__warn_unused_result__;
2726 #define PERL_ARGS_ASSERT_NEWARGDEFELEMOP \
2730 Perl_newASSIGNOP(pTHX_ I32 flags, OP *left, I32 optype, OP *right)
2731 __attribute__warn_unused_result__;
2732 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2734 /* PERL_CALLCONV CV *
2735 newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2738 Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2739 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2742 Perl_newAVREF(pTHX_ OP *o)
2743 __attribute__warn_unused_result__;
2744 #define PERL_ARGS_ASSERT_NEWAVREF \
2747 /* PERL_CALLCONV AV *
2748 newAV_alloc_x(pTHX_ SSize_t size)
2749 __attribute__warn_unused_result__; */
2751 /* PERL_CALLCONV AV *
2752 newAV_alloc_xz(pTHX_ SSize_t size)
2753 __attribute__warn_unused_result__; */
2756 Perl_newAVav(pTHX_ AV *oav)
2757 __attribute__warn_unused_result__;
2758 #define PERL_ARGS_ASSERT_NEWAVAV
2761 Perl_newAVhv(pTHX_ HV *ohv)
2762 __attribute__warn_unused_result__;
2763 #define PERL_ARGS_ASSERT_NEWAVHV
2766 Perl_newBINOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2767 __attribute__warn_unused_result__;
2768 #define PERL_ARGS_ASSERT_NEWBINOP
2771 Perl_newCONDOP(pTHX_ I32 flags, OP *first, OP *trueop, OP *falseop)
2772 __attribute__warn_unused_result__;
2773 #define PERL_ARGS_ASSERT_NEWCONDOP \
2777 Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv);
2778 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2781 Perl_newCONSTSUB_flags(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags, SV *sv);
2782 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2785 Perl_newCVREF(pTHX_ I32 flags, OP *o)
2786 __attribute__warn_unused_result__;
2787 #define PERL_ARGS_ASSERT_NEWCVREF
2790 Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2791 __attribute__warn_unused_result__;
2792 #define PERL_ARGS_ASSERT_NEWDEFEROP \
2796 Perl_newDEFSVOP(pTHX)
2797 __attribute__warn_unused_result__;
2798 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2801 Perl_newFORM(pTHX_ I32 floor, OP *o, OP *block);
2802 #define PERL_ARGS_ASSERT_NEWFORM
2805 Perl_newFOROP(pTHX_ I32 flags, OP *sv, OP *expr, OP *block, OP *cont)
2806 __attribute__warn_unused_result__;
2807 #define PERL_ARGS_ASSERT_NEWFOROP \
2811 Perl_newGIVENOP(pTHX_ OP *cond, OP *block, PADOFFSET defsv_off)
2812 __attribute__warn_unused_result__;
2813 #define PERL_ARGS_ASSERT_NEWGIVENOP \
2814 assert(cond); assert(block)
2817 Perl_newGP(pTHX_ GV * const gv);
2818 #define PERL_ARGS_ASSERT_NEWGP \
2822 Perl_newGVOP(pTHX_ I32 type, I32 flags, GV *gv)
2823 __attribute__warn_unused_result__;
2824 #define PERL_ARGS_ASSERT_NEWGVOP \
2828 Perl_newGVREF(pTHX_ I32 type, OP *o)
2829 __attribute__warn_unused_result__;
2830 #define PERL_ARGS_ASSERT_NEWGVREF
2832 /* PERL_CALLCONV GV *
2833 newGVgen(pTHX_ const char *pack); */
2836 Perl_newGVgen_flags(pTHX_ const char *pack, U32 flags)
2837 __attribute__warn_unused_result__;
2838 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2842 Perl_newHVREF(pTHX_ OP *o)
2843 __attribute__warn_unused_result__;
2844 #define PERL_ARGS_ASSERT_NEWHVREF \
2848 Perl_newHVhv(pTHX_ HV *hv)
2849 __attribute__warn_unused_result__;
2850 #define PERL_ARGS_ASSERT_NEWHVHV
2853 Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
2854 __attribute__warn_unused_result__;
2855 #define PERL_ARGS_ASSERT_NEWLISTOP
2858 Perl_newLISTOPn(pTHX_ I32 type, I32 flags, ...)
2859 __attribute__warn_unused_result__;
2860 #define PERL_ARGS_ASSERT_NEWLISTOPN
2863 Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2864 __attribute__warn_unused_result__;
2865 #define PERL_ARGS_ASSERT_NEWLOGOP \
2866 assert(first); assert(other)
2869 Perl_newLOOPEX(pTHX_ I32 type, OP *label)
2870 __attribute__warn_unused_result__;
2871 #define PERL_ARGS_ASSERT_NEWLOOPEX \
2875 Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP *expr, OP *block)
2876 __attribute__warn_unused_result__;
2877 #define PERL_ARGS_ASSERT_NEWLOOPOP \
2881 Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP *dynamic_meth)
2882 __attribute__warn_unused_result__;
2883 #define PERL_ARGS_ASSERT_NEWMETHOP \
2884 assert(dynamic_meth)
2887 Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV * const_meth)
2888 __attribute__warn_unused_result__;
2889 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \
2893 Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2894 #define PERL_ARGS_ASSERT_NEWMYSUB \
2898 Perl_newNULLLIST(pTHX)
2899 __attribute__warn_unused_result__;
2900 #define PERL_ARGS_ASSERT_NEWNULLLIST
2903 Perl_newOP(pTHX_ I32 optype, I32 flags)
2904 __attribute__warn_unused_result__;
2905 #define PERL_ARGS_ASSERT_NEWOP
2907 PERL_CALLCONV PADNAMELIST *
2908 Perl_newPADNAMELIST(size_t max)
2909 __attribute__warn_unused_result__;
2910 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2912 PERL_CALLCONV PADNAME *
2913 Perl_newPADNAMEouter(PADNAME *outer)
2914 __attribute__warn_unused_result__;
2915 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \
2918 PERL_CALLCONV PADNAME *
2919 Perl_newPADNAMEpvn(const char *s, STRLEN len)
2920 __attribute__warn_unused_result__;
2921 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN \
2925 Perl_newPMOP(pTHX_ I32 type, I32 flags)
2926 __attribute__warn_unused_result__;
2927 #define PERL_ARGS_ASSERT_NEWPMOP
2930 Perl_newPROG(pTHX_ OP *o);
2931 #define PERL_ARGS_ASSERT_NEWPROG \
2935 Perl_newPVOP(pTHX_ I32 type, I32 flags, char *pv)
2936 __attribute__warn_unused_result__;
2937 #define PERL_ARGS_ASSERT_NEWPVOP
2940 Perl_newRANGE(pTHX_ I32 flags, OP *left, OP *right)
2941 __attribute__warn_unused_result__;
2942 #define PERL_ARGS_ASSERT_NEWRANGE \
2943 assert(left); assert(right)
2946 Perl_newRV(pTHX_ SV * const sv)
2947 __attribute__warn_unused_result__;
2948 #define PERL_ARGS_ASSERT_NEWRV \
2952 Perl_newSLICEOP(pTHX_ I32 flags, OP *subscript, OP *listop)
2953 __attribute__warn_unused_result__;
2954 #define PERL_ARGS_ASSERT_NEWSLICEOP
2957 Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o)
2958 __attribute__warn_unused_result__;
2959 #define PERL_ARGS_ASSERT_NEWSTATEOP
2962 Perl_newSTUB(pTHX_ GV *gv, bool fake)
2963 __attribute__visibility__("hidden");
2964 #define PERL_ARGS_ASSERT_NEWSTUB \
2968 Perl_newSV(pTHX_ const STRLEN len)
2969 __attribute__warn_unused_result__;
2970 #define PERL_ARGS_ASSERT_NEWSV
2973 Perl_newSVOP(pTHX_ I32 type, I32 flags, SV *sv)
2974 __attribute__warn_unused_result__;
2975 #define PERL_ARGS_ASSERT_NEWSVOP \
2979 Perl_newSVREF(pTHX_ OP *o)
2980 __attribute__warn_unused_result__;
2981 #define PERL_ARGS_ASSERT_NEWSVREF \
2985 Perl_newSV_false(pTHX)
2986 __attribute__warn_unused_result__;
2987 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2990 Perl_newSV_true(pTHX)
2991 __attribute__warn_unused_result__;
2992 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2995 Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2996 __attribute__warn_unused_result__
2997 __attribute__visibility__("hidden");
2998 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
3002 Perl_newSVbool(pTHX_ const bool bool_val)
3003 __attribute__warn_unused_result__;
3004 #define PERL_ARGS_ASSERT_NEWSVBOOL
3007 Perl_newSVhek(pTHX_ const HEK * const hek)
3008 __attribute__warn_unused_result__;
3009 #define PERL_ARGS_ASSERT_NEWSVHEK
3012 Perl_newSVhek_mortal(pTHX_ const HEK * const hek)
3013 __attribute__warn_unused_result__;
3014 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
3017 Perl_newSViv(pTHX_ const IV i)
3018 __attribute__warn_unused_result__;
3019 #define PERL_ARGS_ASSERT_NEWSVIV
3022 Perl_newSVnv(pTHX_ const NV n)
3023 __attribute__warn_unused_result__;
3024 #define PERL_ARGS_ASSERT_NEWSVNV
3027 Perl_newSVpv(pTHX_ const char * const s, const STRLEN len)
3028 __attribute__warn_unused_result__;
3029 #define PERL_ARGS_ASSERT_NEWSVPV
3032 Perl_newSVpv_share(pTHX_ const char *s, U32 hash)
3033 __attribute__warn_unused_result__;
3034 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
3037 Perl_newSVpvf(pTHX_ const char * const pat, ...)
3038 __attribute__warn_unused_result__
3039 __attribute__format__(__printf__,pTHX_1,pTHX_2);
3040 #define PERL_ARGS_ASSERT_NEWSVPVF \
3044 Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len)
3045 __attribute__warn_unused_result__;
3046 #define PERL_ARGS_ASSERT_NEWSVPVN
3049 Perl_newSVpvn_flags(pTHX_ const char * const s, const STRLEN len, const U32 flags)
3050 __attribute__warn_unused_result__;
3051 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
3054 Perl_newSVpvn_share(pTHX_ const char *s, I32 len, U32 hash)
3055 __attribute__warn_unused_result__;
3056 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
3059 Perl_newSVrv(pTHX_ SV * const rv, const char * const classname);
3060 #define PERL_ARGS_ASSERT_NEWSVRV \
3064 Perl_newSVsv_flags(pTHX_ SV * const old, I32 flags)
3065 __attribute__warn_unused_result__;
3066 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
3068 /* PERL_CALLCONV SV *
3069 newSVsv_nomg(pTHX_ SV * const old)
3070 __attribute__warn_unused_result__; */
3073 Perl_newSVuv(pTHX_ const UV u)
3074 __attribute__warn_unused_result__;
3075 #define PERL_ARGS_ASSERT_NEWSVUV
3078 Perl_newTRYCATCHOP(pTHX_ I32 flags, OP *tryblock, OP *catchvar, OP *catchblock)
3079 __attribute__warn_unused_result__;
3080 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP \
3081 assert(tryblock); assert(catchvar); assert(catchblock)
3084 Perl_newUNOP(pTHX_ I32 type, I32 flags, OP *first)
3085 __attribute__warn_unused_result__;
3086 #define PERL_ARGS_ASSERT_NEWUNOP
3089 Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP *first, UNOP_AUX_item *aux)
3090 __attribute__warn_unused_result__;
3091 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
3094 Perl_newWHENOP(pTHX_ OP *cond, OP *block)
3095 __attribute__warn_unused_result__;
3096 #define PERL_ARGS_ASSERT_NEWWHENOP \
3100 Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP *loop, OP *expr, OP *block, OP *cont, I32 has_my)
3101 __attribute__warn_unused_result__;
3102 #define PERL_ARGS_ASSERT_NEWWHILEOP
3105 Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
3106 #define PERL_ARGS_ASSERT_NEWXS \
3107 assert(subaddr); assert(filename)
3110 Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
3111 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE \
3112 assert(name); assert(subaddr)
3115 Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char * const filename, const char * const proto, U32 flags);
3116 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \
3117 assert(subaddr); assert(filename)
3120 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)
3121 __attribute__visibility__("hidden");
3122 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
3125 PERL_CALLCONV PERL_SI *
3126 Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3127 __attribute__warn_unused_result__;
3128 #define PERL_ARGS_ASSERT_NEW_STACKINFO
3130 PERL_CALLCONV PERL_SI *
3131 Perl_new_stackinfo_flags(pTHX_ I32 stitems, I32 cxitems, UV flags)
3132 __attribute__warn_unused_result__;
3133 #define PERL_ARGS_ASSERT_NEW_STACKINFO_FLAGS
3136 Perl_new_version(pTHX_ SV *ver);
3137 #define PERL_ARGS_ASSERT_NEW_VERSION \
3140 PERL_CALLCONV char *
3141 Perl_new_warnings_bitfield(pTHX_ char *buffer, const char * const bits, STRLEN size)
3142 __attribute__warn_unused_result__;
3143 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
3146 PERL_CALLCONV PerlIO *
3147 Perl_nextargv(pTHX_ GV *gv, bool nomagicopen)
3148 __attribute__visibility__("hidden");
3149 #define PERL_ARGS_ASSERT_NEXTARGV \
3152 PERL_CALLCONV char *
3153 Perl_ninstr(const char *big, const char *bigend, const char *little, const char *lend)
3154 __attribute__warn_unused_result__
3155 __attribute__pure__;
3156 #define PERL_ARGS_ASSERT_NINSTR \
3157 assert(big); assert(bigend); assert(little); assert(lend)
3160 Perl_no_bareword_filehandle(pTHX_ const char *fhname)
3161 __attribute__visibility__("hidden");
3162 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
3165 PERL_CALLCONV_NO_RET void
3166 Perl_noperl_die(const char *pat, ...)
3167 __attribute__noreturn__
3168 __attribute__format__(__printf__,1,2);
3169 #define PERL_ARGS_ASSERT_NOPERL_DIE \
3173 Perl_nothreadhook(pTHX);
3174 #define PERL_ARGS_ASSERT_NOTHREADHOOK
3177 Perl_notify_parser_that_changed_to_utf8(pTHX)
3178 __attribute__visibility__("hidden");
3179 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
3182 Perl_oopsAV(pTHX_ OP *o)
3183 __attribute__warn_unused_result__
3184 __attribute__visibility__("hidden");
3185 #define PERL_ARGS_ASSERT_OOPSAV \
3189 Perl_oopsHV(pTHX_ OP *o)
3190 __attribute__warn_unused_result__
3191 __attribute__visibility__("hidden");
3192 #define PERL_ARGS_ASSERT_OOPSHV \
3196 Perl_op_append_elem(pTHX_ I32 optype, OP *first, OP *last);
3197 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
3200 Perl_op_append_list(pTHX_ I32 optype, OP *first, OP *last);
3201 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
3203 PERL_CALLCONV OPclass
3204 Perl_op_class(pTHX_ const OP *o);
3205 #define PERL_ARGS_ASSERT_OP_CLASS
3208 Perl_op_clear(pTHX_ OP *o);
3209 #define PERL_ARGS_ASSERT_OP_CLEAR \
3213 Perl_op_contextualize(pTHX_ OP *o, I32 context);
3214 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
3218 Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP *o)
3219 __attribute__warn_unused_result__;
3220 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3223 Perl_op_dump(pTHX_ const OP *o);
3224 #define PERL_ARGS_ASSERT_OP_DUMP \
3228 Perl_op_force_list(pTHX_ OP *o);
3229 #define PERL_ARGS_ASSERT_OP_FORCE_LIST
3232 Perl_op_free(pTHX_ OP *arg);
3233 #define PERL_ARGS_ASSERT_OP_FREE
3236 Perl_op_linklist(pTHX_ OP *o);
3237 #define PERL_ARGS_ASSERT_OP_LINKLIST \
3240 /* PERL_CALLCONV OP *
3241 op_lvalue(pTHX_ OP *o, I32 type); */
3244 Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags);
3245 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3248 Perl_op_null(pTHX_ OP *o);
3249 #define PERL_ARGS_ASSERT_OP_NULL \
3253 Perl_op_parent(OP *o);
3254 #define PERL_ARGS_ASSERT_OP_PARENT \
3258 Perl_op_prepend_elem(pTHX_ I32 optype, OP *first, OP *last);
3259 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3262 Perl_op_refcnt_lock(pTHX);
3263 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3266 Perl_op_refcnt_unlock(pTHX);
3267 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3270 Perl_op_scope(pTHX_ OP *o);
3271 #define PERL_ARGS_ASSERT_OP_SCOPE
3274 Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP *insert);
3275 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3278 Perl_op_unscope(pTHX_ OP *o)
3279 __attribute__visibility__("hidden");
3280 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3283 Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3284 __attribute__warn_unused_result__;
3285 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY \
3286 assert(block); assert(finally)
3289 Perl_package(pTHX_ OP *o)
3290 __attribute__visibility__("hidden");
3291 #define PERL_ARGS_ASSERT_PACKAGE \
3295 Perl_package_version(pTHX_ OP *v)
3296 __attribute__visibility__("hidden");
3297 #define PERL_ARGS_ASSERT_PACKAGE_VERSION \
3301 Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3302 #define PERL_ARGS_ASSERT_PACKLIST \
3303 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3305 PERL_CALLCONV PADOFFSET
3306 Perl_pad_add_anon(pTHX_ CV *func, I32 optype);
3307 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \
3310 PERL_CALLCONV PADOFFSET
3311 Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3312 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
3315 PERL_CALLCONV PADOFFSET
3316 Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3317 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
3320 PERL_CALLCONV PADOFFSET
3321 Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3322 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
3326 Perl_pad_add_weakref(pTHX_ CV *func)
3327 __attribute__visibility__("hidden");
3328 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF \
3331 PERL_CALLCONV PADOFFSET
3332 Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3333 #define PERL_ARGS_ASSERT_PAD_ALLOC
3336 Perl_pad_block_start(pTHX_ int full)
3337 __attribute__visibility__("hidden");
3338 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3340 PERL_CALLCONV PADOFFSET
3341 Perl_pad_findmy_pv(pTHX_ const char *name, U32 flags);
3342 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
3345 PERL_CALLCONV PADOFFSET
3346 Perl_pad_findmy_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags);
3347 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3350 PERL_CALLCONV PADOFFSET
3351 Perl_pad_findmy_sv(pTHX_ SV *name, U32 flags);
3352 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
3356 Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3357 __attribute__visibility__("hidden");
3358 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
3359 assert(padlist); assert(old_cv); assert(new_cv)
3362 Perl_pad_free(pTHX_ PADOFFSET po)
3363 __attribute__visibility__("hidden");
3364 #define PERL_ARGS_ASSERT_PAD_FREE
3367 Perl_pad_leavemy(pTHX)
3368 __attribute__visibility__("hidden");
3369 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3371 PERL_CALLCONV PADLIST *
3372 Perl_pad_new(pTHX_ int flags)
3373 __attribute__warn_unused_result__;
3374 #define PERL_ARGS_ASSERT_PAD_NEW
3377 Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3378 #define PERL_ARGS_ASSERT_PAD_PUSH \
3382 Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3383 __attribute__visibility__("hidden");
3384 #define PERL_ARGS_ASSERT_PAD_SWIPE
3387 Perl_pad_tidy(pTHX_ padtidy_type type);
3388 #define PERL_ARGS_ASSERT_PAD_TIDY
3390 PERL_CALLCONV PAD **
3391 Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3392 __attribute__visibility__("hidden");
3393 #define PERL_ARGS_ASSERT_PADLIST_STORE \
3397 Perl_padname_free(pTHX_ PADNAME *pn);
3398 #define PERL_ARGS_ASSERT_PADNAME_FREE \
3401 PERL_CALLCONV PADNAME *
3402 Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3403 __attribute__warn_unused_result__;
3404 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH \
3408 Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3409 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE \
3412 PERL_CALLCONV PADNAME **
3413 Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3414 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE \
3418 Perl_parse_arithexpr(pTHX_ U32 flags);
3419 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3422 Perl_parse_barestmt(pTHX_ U32 flags);
3423 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3426 Perl_parse_block(pTHX_ U32 flags);
3427 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3430 Perl_parse_fullexpr(pTHX_ U32 flags);
3431 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3434 Perl_parse_fullstmt(pTHX_ U32 flags);
3435 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3438 Perl_parse_label(pTHX_ U32 flags);
3439 #define PERL_ARGS_ASSERT_PARSE_LABEL
3442 Perl_parse_listexpr(pTHX_ U32 flags);
3443 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3446 Perl_parse_stmtseq(pTHX_ U32 flags);
3447 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3450 Perl_parse_subsignature(pTHX_ U32 flags);
3451 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3454 Perl_parse_termexpr(pTHX_ U32 flags);
3455 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3458 Perl_parse_unicode_opts(pTHX_ const char **popt)
3459 __attribute__visibility__("hidden");
3460 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3464 Perl_parser_free(pTHX_ const yy_parser *parser)
3465 __attribute__visibility__("hidden");
3466 #define PERL_ARGS_ASSERT_PARSER_FREE \
3470 Perl_peep(pTHX_ OP *o)
3471 __attribute__visibility__("hidden");
3472 #define PERL_ARGS_ASSERT_PEEP
3474 PERL_CALLCONV PerlInterpreter *
3476 #define PERL_ARGS_ASSERT_PERL_ALLOC
3479 perl_construct(PerlInterpreter *my_perl);
3480 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3484 perl_destruct(PerlInterpreter *my_perl);
3485 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \
3489 perl_free(PerlInterpreter *my_perl);
3490 #define PERL_ARGS_ASSERT_PERL_FREE \
3494 perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char **argv, char **env);
3495 #define PERL_ARGS_ASSERT_PERL_PARSE \
3499 perl_run(PerlInterpreter *my_perl);
3500 #define PERL_ARGS_ASSERT_PERL_RUN \
3503 PERL_CALLCONV Signal_t
3504 Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3505 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3507 /* PERL_CALLCONV const char * const
3508 phase_name(pTHX_ enum perl_phase); */
3511 Perl_pmop_dump(pTHX_ PMOP *pm);
3512 #define PERL_ARGS_ASSERT_PMOP_DUMP
3515 Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3516 __attribute__visibility__("hidden");
3517 #define PERL_ARGS_ASSERT_PMRUNTIME \
3518 assert(o); assert(expr)
3521 Perl_pop_scope(pTHX);
3522 #define PERL_ARGS_ASSERT_POP_SCOPE
3525 Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3526 __attribute__visibility__("hidden");
3527 #define PERL_ARGS_ASSERT_POPULATE_ISA \
3530 PERL_CALLCONV REGEXP *
3531 Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3532 #define PERL_ARGS_ASSERT_PREGCOMP \
3536 Perl_pregexec(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
3537 #define PERL_ARGS_ASSERT_PREGEXEC \
3538 assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
3542 Perl_pregfree(pTHX_ REGEXP *r);
3543 #define PERL_ARGS_ASSERT_PREGFREE
3546 Perl_pregfree2(pTHX_ REGEXP *rx);
3547 #define PERL_ARGS_ASSERT_PREGFREE2 \
3550 PERL_CALLCONV const char *
3551 Perl_prescan_version(pTHX_ const char *s, bool strict, const char **errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
3552 #define PERL_ARGS_ASSERT_PRESCAN_VERSION \
3555 PERL_CALLCONV void *
3556 Perl_ptr_table_fetch(pTHX_ PTR_TBL_t * const tbl, const void * const sv)
3557 __attribute__warn_unused_result__;
3558 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
3562 Perl_ptr_table_free(pTHX_ PTR_TBL_t * const tbl);
3563 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3565 PERL_CALLCONV PTR_TBL_t *
3566 Perl_ptr_table_new(pTHX)
3567 __attribute__warn_unused_result__;
3568 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3571 Perl_ptr_table_split(pTHX_ PTR_TBL_t * const tbl);
3572 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
3576 Perl_ptr_table_store(pTHX_ PTR_TBL_t * const tbl, const void * const oldsv, void * const newsv);
3577 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
3578 assert(tbl); assert(newsv)
3581 Perl_push_scope(pTHX);
3582 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3584 PERL_CALLCONV char *
3585 Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3586 #define PERL_ARGS_ASSERT_PV_DISPLAY \
3587 assert(dsv); assert(pv)
3589 PERL_CALLCONV char *
3590 Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, STRLEN max, STRLEN * const escaped, U32 flags);
3591 #define PERL_ARGS_ASSERT_PV_ESCAPE \
3594 PERL_CALLCONV char *
3595 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);
3596 #define PERL_ARGS_ASSERT_PV_PRETTY \
3597 assert(dsv); assert(str)
3599 PERL_CALLCONV char *
3600 Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3601 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3602 assert(dsv); assert(spv)
3605 Perl_qerror(pTHX_ SV *err);
3606 #define PERL_ARGS_ASSERT_QERROR
3608 PERL_CALLCONV char *
3609 Perl_rcpv_copy(pTHX_ char * const pv);
3610 #define PERL_ARGS_ASSERT_RCPV_COPY
3612 PERL_CALLCONV char *
3613 Perl_rcpv_free(pTHX_ char * const pv);
3614 #define PERL_ARGS_ASSERT_RCPV_FREE
3616 PERL_CALLCONV char *
3617 Perl_rcpv_new(pTHX_ const char * const pv, STRLEN len, U32 flags)
3618 __attribute__malloc__
3619 __attribute__warn_unused_result__;
3620 #define PERL_ARGS_ASSERT_RCPV_NEW
3622 PERL_CALLCONV REGEXP *
3623 Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3624 #define PERL_ARGS_ASSERT_RE_COMPILE \
3627 PERL_CALLCONV char *
3628 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);
3629 #define PERL_ARGS_ASSERT_RE_INTUIT_START \
3630 assert(rx); assert(strbeg); assert(strpos); assert(strend)
3633 Perl_re_intuit_string(pTHX_ REGEXP * const r);
3634 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3637 PERL_CALLCONV REGEXP *
3638 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);
3639 #define PERL_ARGS_ASSERT_RE_OP_COMPILE \
3642 PERL_CALLCONV Malloc_t
3643 Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3644 __attribute__warn_unused_result__;
3645 #define PERL_ARGS_ASSERT_REALLOC
3648 Perl_reentrant_free(pTHX);
3649 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3652 Perl_reentrant_init(pTHX);
3653 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3655 PERL_CALLCONV void *
3656 Perl_reentrant_retry(const char *f, ...);
3657 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \
3661 Perl_reentrant_size(pTHX);
3662 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3665 Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3666 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3669 Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3670 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3674 Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3675 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3679 Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3680 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3684 Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3685 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3687 PERL_CALLCONV struct refcounted_he *
3688 Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3689 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3691 PERL_CALLCONV struct refcounted_he *
3692 Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3693 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3696 PERL_CALLCONV struct refcounted_he *
3697 Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
3698 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3701 PERL_CALLCONV struct refcounted_he *
3702 Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3703 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3707 Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3708 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3712 Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3713 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3717 Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3718 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3719 assert(rx); assert(key)
3722 Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3723 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3724 assert(rx); assert(namesv)
3727 Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3728 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3732 Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3733 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3737 Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3738 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3742 Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3743 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3747 Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const re, const I32 paren, SV * const sv);
3748 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3752 Perl_reg_numbered_buff_fetch_flags(pTHX_ REGEXP * const re, const I32 paren, SV * const sv, U32 flags);
3753 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH_FLAGS \
3757 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3758 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3759 assert(rx); assert(sv)
3762 Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3763 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3767 Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3768 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3771 PERL_CALLCONV REGEXP *
3772 Perl_reg_temp_copy(pTHX_ REGEXP *dsv, REGEXP *ssv);
3773 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3777 Perl_regdump(pTHX_ const regexp *r);
3778 #define PERL_ARGS_ASSERT_REGDUMP \
3782 Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
3783 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3784 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3787 Perl_regfree_internal(pTHX_ REGEXP * const rx);
3788 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3792 Perl_reginitcolors(pTHX);
3793 #define PERL_ARGS_ASSERT_REGINITCOLORS
3796 Perl_repeatcpy(char *to, const char *from, SSize_t len, IV count);
3797 #define PERL_ARGS_ASSERT_REPEATCPY \
3798 assert(to); assert(from)
3801 Perl_report_evil_fh(pTHX_ const GV *gv)
3802 __attribute__visibility__("hidden");
3803 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3806 Perl_report_uninit(pTHX_ const SV *uninit_sv);
3807 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3810 Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3811 __attribute__visibility__("hidden");
3812 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3815 Perl_require_pv(pTHX_ const char *pv);
3816 #define PERL_ARGS_ASSERT_REQUIRE_PV \
3820 Perl_resume_compcv(pTHX_ struct suspended_compcv *buffer, bool save);
3821 #define PERL_ARGS_ASSERT_RESUME_COMPCV \
3824 /* PERL_CALLCONV void
3825 resume_compcv_and_save(pTHX_ struct suspended_compcv *buffer); */
3827 /* PERL_CALLCONV void
3828 resume_compcv_final(pTHX_ struct suspended_compcv *buffer); */
3830 PERL_CALLCONV char *
3831 Perl_rninstr(const char *big, const char *bigend, const char *little, const char *lend)
3832 __attribute__warn_unused_result__
3833 __attribute__pure__;
3834 #define PERL_ARGS_ASSERT_RNINSTR \
3835 assert(big); assert(bigend); assert(little); assert(lend)
3838 Perl_rpeep(pTHX_ OP *o)
3839 __attribute__visibility__("hidden");
3840 #define PERL_ARGS_ASSERT_RPEEP
3843 Perl_rpp_free_2_(pTHX_ SV * const sv1, SV * const sv2, const U32 rc1, const U32 rc2);
3844 #define PERL_ARGS_ASSERT_RPP_FREE_2_ \
3845 assert(sv1); assert(sv2)
3848 Perl_rpp_obliterate_stack_to(pTHX_ I32 ix);
3849 #define PERL_ARGS_ASSERT_RPP_OBLITERATE_STACK_TO
3851 PERL_CALLCONV Sighandler_t
3852 Perl_rsignal(pTHX_ int i, Sighandler_t t);
3853 #define PERL_ARGS_ASSERT_RSIGNAL
3856 Perl_rsignal_restore(pTHX_ int i, Sigsave_t *t)
3857 __attribute__visibility__("hidden");
3858 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3861 Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t *save)
3862 __attribute__visibility__("hidden");
3863 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3866 PERL_CALLCONV Sighandler_t
3867 Perl_rsignal_state(pTHX_ int i);
3868 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3871 Perl_runops_debug(pTHX);
3872 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3875 Perl_runops_standard(pTHX);
3876 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3879 Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3880 #define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3884 Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3885 __attribute__visibility__("hidden");
3886 #define PERL_ARGS_ASSERT_RXRES_SAVE \
3887 assert(rsp); assert(rx)
3889 PERL_CALLCONV Malloc_t
3890 Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3891 __attribute__malloc__
3892 __attribute__warn_unused_result__;
3893 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3895 PERL_CALLCONV Free_t
3896 Perl_safesysfree(Malloc_t where);
3897 #define PERL_ARGS_ASSERT_SAFESYSFREE
3899 PERL_CALLCONV Malloc_t
3900 Perl_safesysmalloc(MEM_SIZE nbytes)
3901 __attribute__malloc__
3902 __attribute__warn_unused_result__;
3903 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3905 PERL_CALLCONV Malloc_t
3906 Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3907 __attribute__warn_unused_result__;
3908 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3911 Perl_save_I16(pTHX_ I16 *intp);
3912 #define PERL_ARGS_ASSERT_SAVE_I16 \
3916 Perl_save_I32(pTHX_ I32 *intp);
3917 #define PERL_ARGS_ASSERT_SAVE_I32 \
3921 Perl_save_I8(pTHX_ I8 *bytep);
3922 #define PERL_ARGS_ASSERT_SAVE_I8 \
3926 Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3927 #define PERL_ARGS_ASSERT_SAVE_ADELETE \
3930 /* PERL_CALLCONV void
3931 save_aelem(pTHX_ AV *av, SSize_t idx, SV **sptr); */
3934 Perl_save_aelem_flags(pTHX_ AV *av, SSize_t idx, SV **sptr, const U32 flags);
3935 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3936 assert(av); assert(sptr)
3938 PERL_CALLCONV SSize_t
3939 Perl_save_alloc(pTHX_ SSize_t size, I32 pad);
3940 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3943 Perl_save_aptr(pTHX_ AV **aptr);
3944 #define PERL_ARGS_ASSERT_SAVE_APTR \
3948 Perl_save_ary(pTHX_ GV *gv);
3949 #define PERL_ARGS_ASSERT_SAVE_ARY \
3953 Perl_save_bool(pTHX_ bool *boolp);
3954 #define PERL_ARGS_ASSERT_SAVE_BOOL \
3958 Perl_save_clearsv(pTHX_ SV **svp);
3959 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3963 Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3964 #define PERL_ARGS_ASSERT_SAVE_DELETE \
3965 assert(hv); assert(key)
3968 Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void *p);
3969 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3973 Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void *p);
3974 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3977 Perl_save_freercpv(pTHX_ char *rcpv);
3978 #define PERL_ARGS_ASSERT_SAVE_FREERCPV \
3982 Perl_save_generic_pvref(pTHX_ char **str);
3983 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3987 Perl_save_generic_svref(pTHX_ SV **sptr);
3988 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
3992 Perl_save_gp(pTHX_ GV *gv, I32 empty);
3993 #define PERL_ARGS_ASSERT_SAVE_GP \
3997 Perl_save_hash(pTHX_ GV *gv);
3998 #define PERL_ARGS_ASSERT_SAVE_HASH \
4002 Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
4003 #define PERL_ARGS_ASSERT_SAVE_HDELETE \
4004 assert(hv); assert(keysv)
4006 /* PERL_CALLCONV void
4007 save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
4010 Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
4011 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
4012 assert(hv); assert(key); assert(sptr)
4015 Perl_save_hints(pTHX);
4016 #define PERL_ARGS_ASSERT_SAVE_HINTS
4019 Perl_save_hptr(pTHX_ HV **hptr);
4020 #define PERL_ARGS_ASSERT_SAVE_HPTR \
4024 Perl_save_int(pTHX_ int *intp);
4025 #define PERL_ARGS_ASSERT_SAVE_INT \
4029 Perl_save_item(pTHX_ SV *item);
4030 #define PERL_ARGS_ASSERT_SAVE_ITEM \
4034 Perl_save_iv(pTHX_ IV *ivp);
4035 #define PERL_ARGS_ASSERT_SAVE_IV \
4039 Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
4040 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
4043 Perl_save_pptr(pTHX_ char **pptr);
4044 #define PERL_ARGS_ASSERT_SAVE_PPTR \
4048 Perl_save_pushi32ptr(pTHX_ const I32 i, void * const ptr, const int type);
4049 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
4052 Perl_save_pushptr(pTHX_ void * const ptr, const int type);
4053 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
4056 Perl_save_pushptrptr(pTHX_ void * const ptr1, void * const ptr2, const int type);
4057 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
4060 Perl_save_rcpv(pTHX_ char **prcpv);
4061 #define PERL_ARGS_ASSERT_SAVE_RCPV \
4065 Perl_save_re_context(pTHX);
4066 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
4069 Perl_save_scalar(pTHX_ GV *gv);
4070 #define PERL_ARGS_ASSERT_SAVE_SCALAR \
4074 Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
4075 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
4079 Perl_save_shared_pvref(pTHX_ char **str);
4080 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
4084 Perl_save_sptr(pTHX_ SV **sptr);
4085 #define PERL_ARGS_ASSERT_SAVE_SPTR \
4089 Perl_save_strlen(pTHX_ STRLEN *ptr);
4090 #define PERL_ARGS_ASSERT_SAVE_STRLEN \
4094 Perl_save_svref(pTHX_ SV **sptr);
4095 #define PERL_ARGS_ASSERT_SAVE_SVREF \
4099 Perl_save_vptr(pTHX_ void *ptr);
4100 #define PERL_ARGS_ASSERT_SAVE_VPTR \
4103 PERL_CALLCONV char *
4104 Perl_savesharedpv(pTHX_ const char *pv)
4105 __attribute__malloc__
4106 __attribute__warn_unused_result__;
4107 #define PERL_ARGS_ASSERT_SAVESHAREDPV
4109 PERL_CALLCONV char *
4110 Perl_savesharedpvn(pTHX_ const char * const pv, const STRLEN len)
4111 __attribute__malloc__
4112 __attribute__warn_unused_result__;
4113 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
4116 Perl_savestack_grow(pTHX);
4117 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
4120 Perl_savestack_grow_cnt(pTHX_ I32 need);
4121 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
4124 Perl_savetmps(pTHX);
4125 #define PERL_ARGS_ASSERT_SAVETMPS
4128 Perl_sawparens(pTHX_ OP *o)
4129 __attribute__visibility__("hidden");
4130 #define PERL_ARGS_ASSERT_SAWPARENS
4133 Perl_scalar(pTHX_ OP *o)
4134 __attribute__visibility__("hidden");
4135 #define PERL_ARGS_ASSERT_SCALAR
4138 Perl_scalarvoid(pTHX_ OP *o)
4139 __attribute__visibility__("hidden");
4140 #define PERL_ARGS_ASSERT_SCALARVOID \
4144 Perl_scan_bin(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4145 #define PERL_ARGS_ASSERT_SCAN_BIN \
4146 assert(start); assert(retlen)
4149 Perl_scan_hex(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4150 #define PERL_ARGS_ASSERT_SCAN_HEX \
4151 assert(start); assert(retlen)
4153 PERL_CALLCONV char *
4154 Perl_scan_num(pTHX_ const char *s, YYSTYPE *lvalp);
4155 #define PERL_ARGS_ASSERT_SCAN_NUM \
4156 assert(s); assert(lvalp)
4159 Perl_scan_oct(pTHX_ const char *start, STRLEN len, STRLEN *retlen);
4160 #define PERL_ARGS_ASSERT_SCAN_OCT \
4161 assert(start); assert(retlen)
4163 PERL_CALLCONV char *
4164 Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
4165 __attribute__warn_unused_result__;
4166 #define PERL_ARGS_ASSERT_SCAN_STR \
4169 PERL_CALLCONV const char *
4170 Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
4171 #define PERL_ARGS_ASSERT_SCAN_VERSION \
4172 assert(s); assert(rv)
4174 PERL_CALLCONV char *
4175 Perl_scan_vstring(pTHX_ const char *s, const char * const e, SV *sv);
4176 #define PERL_ARGS_ASSERT_SCAN_VSTRING \
4177 assert(s); assert(e); assert(sv)
4179 PERL_CALLCONV char *
4180 Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
4181 #define PERL_ARGS_ASSERT_SCAN_WORD \
4182 assert(s); assert(dest); assert(slp)
4184 PERL_CALLCONV char *
4185 Perl_scan_word6(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp, bool warn_tick);
4186 #define PERL_ARGS_ASSERT_SCAN_WORD6 \
4187 assert(s); assert(dest); assert(slp)
4191 #define PERL_ARGS_ASSERT_SEED
4194 Perl_set_caret_X(pTHX);
4195 #define PERL_ARGS_ASSERT_SET_CARET_X
4198 Perl_set_context(void *t);
4199 #define PERL_ARGS_ASSERT_SET_CONTEXT \
4203 Perl_set_numeric_standard(pTHX_ const char *file, const line_t caller_line);
4204 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD \
4208 Perl_set_numeric_underlying(pTHX_ const char *file, const line_t caller_line);
4209 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING \
4213 Perl_setdefout(pTHX_ GV *gv);
4214 #define PERL_ARGS_ASSERT_SETDEFOUT \
4218 Perl_setfd_cloexec(int fd)
4219 __attribute__visibility__("hidden");
4220 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
4223 Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
4224 __attribute__visibility__("hidden");
4225 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
4228 Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
4229 __attribute__visibility__("hidden");
4230 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
4233 Perl_setfd_inhexec(int fd)
4234 __attribute__visibility__("hidden");
4235 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
4238 Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
4239 __attribute__visibility__("hidden");
4240 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
4243 Perl_share_hek(pTHX_ const char *str, SSize_t len, U32 hash);
4244 #define PERL_ARGS_ASSERT_SHARE_HEK \
4247 PERL_CALLCONV Signal_t
4248 Perl_sighandler1(int sig)
4249 __attribute__visibility__("hidden");
4250 #define PERL_ARGS_ASSERT_SIGHANDLER1
4252 PERL_CALLCONV Signal_t
4253 Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
4254 __attribute__visibility__("hidden");
4255 #define PERL_ARGS_ASSERT_SIGHANDLER3
4257 PERL_CALLCONV char *
4258 Perl_skipspace_flags(pTHX_ char *s, U32 flags)
4259 __attribute__warn_unused_result__;
4260 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS \
4264 Perl_sortsv(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp);
4265 #define PERL_ARGS_ASSERT_SORTSV \
4269 Perl_sortsv_flags(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
4270 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \
4274 Perl_stack_grow(pTHX_ SV **sp, SV **p, SSize_t n);
4275 #define PERL_ARGS_ASSERT_STACK_GROW \
4276 assert(sp); assert(p)
4278 PERL_CALLCONV PerlIO *
4279 Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
4280 __attribute__visibility__("hidden");
4281 #define PERL_ARGS_ASSERT_START_GLOB \
4282 assert(tmpglob); assert(io)
4285 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
4286 #define PERL_ARGS_ASSERT_START_SUBPARSE
4289 Perl_str_to_version(pTHX_ SV *sv)
4290 __attribute__warn_unused_result__;
4291 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
4295 Perl_sub_crush_depth(pTHX_ CV *cv)
4296 __attribute__visibility__("hidden");
4297 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
4301 Perl_suspend_compcv(pTHX_ struct suspended_compcv *buffer);
4302 #define PERL_ARGS_ASSERT_SUSPEND_COMPCV \
4306 Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
4307 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
4311 Perl_sv_2cv(pTHX_ SV *sv, HV ** const st, GV ** const gvp, const I32 lref);
4312 #define PERL_ARGS_ASSERT_SV_2CV \
4313 assert(st); assert(gvp)
4316 Perl_sv_2io(pTHX_ SV * const sv);
4317 #define PERL_ARGS_ASSERT_SV_2IO \
4321 Perl_sv_2iv_flags(pTHX_ SV * const sv, const I32 flags);
4322 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS \
4326 Perl_sv_2mortal(pTHX_ SV * const sv);
4327 #define PERL_ARGS_ASSERT_SV_2MORTAL
4330 Perl_sv_2num(pTHX_ SV * const sv)
4331 __attribute__visibility__("hidden");
4332 #define PERL_ARGS_ASSERT_SV_2NUM \
4336 Perl_sv_2nv_flags(pTHX_ SV * const sv, const I32 flags);
4337 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS \
4340 PERL_CALLCONV char *
4341 Perl_sv_2pv_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4342 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS \
4345 PERL_CALLCONV char *
4346 Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4347 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS \
4350 PERL_CALLCONV char *
4351 Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN * const lp, const U32 flags);
4352 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS \
4356 Perl_sv_2uv_flags(pTHX_ SV * const sv, const I32 flags);
4357 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS \
4361 Perl_sv_backoff(SV * const sv);
4362 #define PERL_ARGS_ASSERT_SV_BACKOFF \
4366 Perl_sv_bless(pTHX_ SV * const sv, HV * const stash);
4367 #define PERL_ARGS_ASSERT_SV_BLESS \
4368 assert(sv); assert(stash)
4371 Perl_sv_cat_decode(pTHX_ SV *dsv, SV *encoding, SV *ssv, int *offset, char *tstr, int tlen);
4372 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \
4373 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
4376 Perl_sv_catpv(pTHX_ SV * const dsv, const char *sstr);
4377 #define PERL_ARGS_ASSERT_SV_CATPV \
4381 Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
4382 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
4383 assert(dsv); assert(sstr)
4386 Perl_sv_catpv_mg(pTHX_ SV * const dsv, const char * const sstr);
4387 #define PERL_ARGS_ASSERT_SV_CATPV_MG \
4391 Perl_sv_catpvf(pTHX_ SV * const sv, const char * const pat, ...)
4392 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4393 #define PERL_ARGS_ASSERT_SV_CATPVF \
4394 assert(sv); assert(pat)
4397 Perl_sv_catpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4398 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4399 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \
4400 assert(sv); assert(pat)
4403 Perl_sv_catpvn_flags(pTHX_ SV * const dsv, const char *sstr, const STRLEN len, const I32 flags);
4404 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
4405 assert(dsv); assert(sstr)
4408 Perl_sv_catsv_flags(pTHX_ SV * const dsv, SV * const sstr, const I32 flags);
4409 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
4413 Perl_sv_chop(pTHX_ SV * const sv, const char * const ptr);
4414 #define PERL_ARGS_ASSERT_SV_CHOP \
4417 PERL_CALLCONV SSize_t
4418 Perl_sv_clean_all(pTHX)
4419 __attribute__visibility__("hidden");
4420 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
4423 Perl_sv_clean_objs(pTHX)
4424 __attribute__visibility__("hidden");
4425 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
4428 Perl_sv_clear(pTHX_ SV * const orig_sv);
4429 #define PERL_ARGS_ASSERT_SV_CLEAR \
4433 Perl_sv_cmp(pTHX_ SV * const sv1, SV * const sv2);
4434 #define PERL_ARGS_ASSERT_SV_CMP
4437 Perl_sv_cmp_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4438 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
4441 Perl_sv_cmp_locale(pTHX_ SV * const sv1, SV * const sv2);
4442 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
4445 Perl_sv_cmp_locale_flags(pTHX_ SV * const sv1, SV * const sv2, const U32 flags);
4446 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
4449 Perl_sv_copypv_flags(pTHX_ SV * const dsv, SV * const ssv, const I32 flags);
4450 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS \
4451 assert(dsv); assert(ssv)
4453 /* PERL_CALLCONV void
4454 sv_copypv_nomg(pTHX_ SV * const dsv, SV * const ssv); */
4457 Perl_sv_dec(pTHX_ SV * const sv);
4458 #define PERL_ARGS_ASSERT_SV_DEC
4461 Perl_sv_dec_nomg(pTHX_ SV * const sv);
4462 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
4465 Perl_sv_del_backref(pTHX_ SV * const tsv, SV * const sv);
4466 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
4467 assert(tsv); assert(sv)
4470 Perl_sv_derived_from(pTHX_ SV *sv, const char * const name)
4471 __attribute__warn_unused_result__;
4472 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \
4473 assert(sv); assert(name)
4476 Perl_sv_derived_from_hv(pTHX_ SV *sv, HV *hv)
4477 __attribute__warn_unused_result__;
4478 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_HV \
4479 assert(sv); assert(hv)
4482 Perl_sv_derived_from_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4483 __attribute__warn_unused_result__;
4484 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV \
4485 assert(sv); assert(name)
4488 Perl_sv_derived_from_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4489 __attribute__warn_unused_result__;
4490 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN \
4491 assert(sv); assert(name)
4494 Perl_sv_derived_from_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4495 __attribute__warn_unused_result__;
4496 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV \
4497 assert(sv); assert(namesv)
4500 Perl_sv_destroyable(pTHX_ SV *sv);
4501 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
4504 Perl_sv_does(pTHX_ SV *sv, const char * const name)
4505 __attribute__warn_unused_result__;
4506 #define PERL_ARGS_ASSERT_SV_DOES \
4507 assert(sv); assert(name)
4510 Perl_sv_does_pv(pTHX_ SV *sv, const char * const name, U32 flags)
4511 __attribute__warn_unused_result__;
4512 #define PERL_ARGS_ASSERT_SV_DOES_PV \
4513 assert(sv); assert(name)
4516 Perl_sv_does_pvn(pTHX_ SV *sv, const char * const name, const STRLEN len, U32 flags)
4517 __attribute__warn_unused_result__;
4518 #define PERL_ARGS_ASSERT_SV_DOES_PVN \
4519 assert(sv); assert(name)
4522 Perl_sv_does_sv(pTHX_ SV *sv, SV *namesv, U32 flags)
4523 __attribute__warn_unused_result__;
4524 #define PERL_ARGS_ASSERT_SV_DOES_SV \
4525 assert(sv); assert(namesv)
4528 Perl_sv_dump(pTHX_ SV *sv);
4529 #define PERL_ARGS_ASSERT_SV_DUMP
4532 Perl_sv_dump_depth(pTHX_ SV *sv, I32 depth);
4533 #define PERL_ARGS_ASSERT_SV_DUMP_DEPTH
4536 Perl_sv_eq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4537 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
4540 Perl_sv_force_normal_flags(pTHX_ SV * const sv, const U32 flags);
4541 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
4545 Perl_sv_free(pTHX_ SV * const sv);
4546 #define PERL_ARGS_ASSERT_SV_FREE
4549 Perl_sv_free2(pTHX_ SV * const sv, const U32 refcnt);
4550 #define PERL_ARGS_ASSERT_SV_FREE2 \
4554 Perl_sv_free_arenas(pTHX)
4555 __attribute__visibility__("hidden");
4556 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
4559 Perl_sv_get_backrefs(SV * const sv);
4560 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS \
4563 PERL_CALLCONV char *
4564 Perl_sv_gets(pTHX_ SV * const sv, PerlIO * const fp, I32 append);
4565 #define PERL_ARGS_ASSERT_SV_GETS \
4566 assert(sv); assert(fp)
4568 PERL_CALLCONV char *
4569 Perl_sv_grow(pTHX_ SV * const sv, STRLEN newlen);
4570 #define PERL_ARGS_ASSERT_SV_GROW \
4573 PERL_CALLCONV char *
4574 Perl_sv_grow_fresh(pTHX_ SV * const sv, STRLEN newlen);
4575 #define PERL_ARGS_ASSERT_SV_GROW_FRESH \
4579 Perl_sv_inc(pTHX_ SV * const sv);
4580 #define PERL_ARGS_ASSERT_SV_INC
4583 Perl_sv_inc_nomg(pTHX_ SV * const sv);
4584 #define PERL_ARGS_ASSERT_SV_INC_NOMG
4587 Perl_sv_insert_flags(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
4588 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \
4589 assert(bigstr); assert(little)
4592 Perl_sv_isa(pTHX_ SV *sv, const char * const name);
4593 #define PERL_ARGS_ASSERT_SV_ISA \
4597 Perl_sv_isa_sv(pTHX_ SV *sv, SV *namesv)
4598 __attribute__warn_unused_result__;
4599 #define PERL_ARGS_ASSERT_SV_ISA_SV \
4600 assert(sv); assert(namesv)
4603 Perl_sv_isobject(pTHX_ SV *sv);
4604 #define PERL_ARGS_ASSERT_SV_ISOBJECT
4607 Perl_sv_langinfo(pTHX_ const nl_item item);
4608 #define PERL_ARGS_ASSERT_SV_LANGINFO
4610 PERL_CALLCONV STRLEN
4611 Perl_sv_len(pTHX_ SV * const sv);
4612 #define PERL_ARGS_ASSERT_SV_LEN
4614 PERL_CALLCONV STRLEN
4615 Perl_sv_len_utf8(pTHX_ SV * const sv);
4616 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
4618 PERL_CALLCONV STRLEN
4619 Perl_sv_len_utf8_nomg(pTHX_ SV * const sv);
4620 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG \
4624 Perl_sv_magic(pTHX_ SV * const sv, SV * const obj, const int how, const char * const name, const I32 namlen);
4625 #define PERL_ARGS_ASSERT_SV_MAGIC \
4628 PERL_CALLCONV MAGIC *
4629 Perl_sv_magicext(pTHX_ SV * const sv, SV * const obj, const int how, const MGVTBL * const vtbl, const char * const name, const I32 namlen);
4630 #define PERL_ARGS_ASSERT_SV_MAGICEXT \
4633 PERL_CALLCONV MAGIC *
4634 Perl_sv_magicext_mglob(pTHX_ SV *sv);
4635 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB \
4639 Perl_sv_mortalcopy_flags(pTHX_ SV * const oldsv, U32 flags)
4640 __attribute__warn_unused_result__;
4641 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4644 Perl_sv_newmortal(pTHX)
4645 __attribute__warn_unused_result__;
4646 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4649 Perl_sv_newref(pTHX_ SV * const sv);
4650 #define PERL_ARGS_ASSERT_SV_NEWREF
4653 Perl_sv_nosharing(pTHX_ SV *sv);
4654 #define PERL_ARGS_ASSERT_SV_NOSHARING
4656 /* PERL_CALLCONV bool
4657 sv_numeq(pTHX_ SV *sv1, SV *sv2); */
4660 Perl_sv_numeq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4661 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4663 PERL_CALLCONV char *
4664 Perl_sv_peek(pTHX_ SV *sv);
4665 #define PERL_ARGS_ASSERT_SV_PEEK
4668 Perl_sv_pos_b2u(pTHX_ SV * const sv, I32 * const offsetp);
4669 #define PERL_ARGS_ASSERT_SV_POS_B2U \
4672 PERL_CALLCONV STRLEN
4673 Perl_sv_pos_b2u_flags(pTHX_ SV * const sv, STRLEN const offset, U32 flags);
4674 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS \
4678 Perl_sv_pos_u2b(pTHX_ SV * const sv, I32 * const offsetp, I32 * const lenp);
4679 #define PERL_ARGS_ASSERT_SV_POS_U2B \
4682 PERL_CALLCONV STRLEN
4683 Perl_sv_pos_u2b_flags(pTHX_ SV * const sv, STRLEN uoffset, STRLEN * const lenp, U32 flags);
4684 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \
4687 PERL_CALLCONV char *
4688 Perl_sv_pvbyten_force(pTHX_ SV * const sv, STRLEN * const lp);
4689 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \
4692 PERL_CALLCONV char *
4693 Perl_sv_pvn_force_flags(pTHX_ SV * const sv, STRLEN * const lp, const U32 flags);
4694 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
4697 PERL_CALLCONV char *
4698 Perl_sv_pvutf8n_force(pTHX_ SV * const sv, STRLEN * const lp);
4699 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \
4702 PERL_CALLCONV char *
4703 Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding);
4704 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \
4705 assert(sv); assert(encoding)
4708 Perl_sv_ref(pTHX_ SV *dst, const SV * const sv, const int ob);
4709 #define PERL_ARGS_ASSERT_SV_REF \
4712 PERL_CALLCONV const char *
4713 Perl_sv_reftype(pTHX_ const SV * const sv, const int ob)
4714 __attribute__warn_unused_result__;
4715 #define PERL_ARGS_ASSERT_SV_REFTYPE \
4719 Perl_sv_replace(pTHX_ SV * const sv, SV * const nsv);
4720 #define PERL_ARGS_ASSERT_SV_REPLACE \
4721 assert(sv); assert(nsv)
4724 Perl_sv_report_used(pTHX);
4725 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4728 Perl_sv_reset(pTHX_ const char *s, HV * const stash);
4729 #define PERL_ARGS_ASSERT_SV_RESET \
4733 Perl_sv_resetpvn(pTHX_ const char *s, STRLEN len, HV * const stash)
4734 __attribute__visibility__("hidden");
4735 #define PERL_ARGS_ASSERT_SV_RESETPVN
4738 Perl_sv_rvunweaken(pTHX_ SV * const sv);
4739 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN \
4743 Perl_sv_rvweaken(pTHX_ SV * const sv);
4744 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \
4748 Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4749 #define PERL_ARGS_ASSERT_SV_SET_BOOL \
4753 Perl_sv_set_false(pTHX_ SV *sv);
4754 #define PERL_ARGS_ASSERT_SV_SET_FALSE \
4758 Perl_sv_set_true(pTHX_ SV *sv);
4759 #define PERL_ARGS_ASSERT_SV_SET_TRUE \
4763 Perl_sv_set_undef(pTHX_ SV *sv);
4764 #define PERL_ARGS_ASSERT_SV_SET_UNDEF \
4768 Perl_sv_sethek(pTHX_ SV * const sv, const HEK * const hek);
4769 #define PERL_ARGS_ASSERT_SV_SETHEK \
4773 Perl_sv_setiv(pTHX_ SV * const sv, const IV num);
4774 #define PERL_ARGS_ASSERT_SV_SETIV \
4778 Perl_sv_setiv_mg(pTHX_ SV * const sv, const IV i);
4779 #define PERL_ARGS_ASSERT_SV_SETIV_MG \
4783 Perl_sv_setnv(pTHX_ SV * const sv, const NV num);
4784 #define PERL_ARGS_ASSERT_SV_SETNV \
4788 Perl_sv_setnv_mg(pTHX_ SV * const sv, const NV num);
4789 #define PERL_ARGS_ASSERT_SV_SETNV_MG \
4793 Perl_sv_setpv(pTHX_ SV * const sv, const char * const ptr);
4794 #define PERL_ARGS_ASSERT_SV_SETPV \
4797 PERL_CALLCONV char *
4798 Perl_sv_setpv_bufsize(pTHX_ SV * const sv, const STRLEN cur, const STRLEN len);
4799 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE \
4803 Perl_sv_setpv_mg(pTHX_ SV * const sv, const char * const ptr);
4804 #define PERL_ARGS_ASSERT_SV_SETPV_MG \
4808 Perl_sv_setpvf(pTHX_ SV * const sv, const char * const pat, ...)
4809 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4810 #define PERL_ARGS_ASSERT_SV_SETPVF \
4811 assert(sv); assert(pat)
4814 Perl_sv_setpvf_mg(pTHX_ SV * const sv, const char * const pat, ...)
4815 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4816 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \
4817 assert(sv); assert(pat)
4820 Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4821 #define PERL_ARGS_ASSERT_SV_SETPVN \
4825 Perl_sv_setpvn_fresh(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4826 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH \
4830 Perl_sv_setpvn_mg(pTHX_ SV * const sv, const char * const ptr, const STRLEN len);
4831 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \
4832 assert(sv); assert(ptr)
4835 Perl_sv_setref_iv(pTHX_ SV * const rv, const char * const classname, const IV iv);
4836 #define PERL_ARGS_ASSERT_SV_SETREF_IV \
4840 Perl_sv_setref_nv(pTHX_ SV * const rv, const char * const classname, const NV nv);
4841 #define PERL_ARGS_ASSERT_SV_SETREF_NV \
4845 Perl_sv_setref_pv(pTHX_ SV * const rv, const char * const classname, void * const pv);
4846 #define PERL_ARGS_ASSERT_SV_SETREF_PV \
4850 Perl_sv_setref_pvn(pTHX_ SV * const rv, const char * const classname, const char * const pv, const STRLEN n);
4851 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \
4852 assert(rv); assert(pv)
4855 Perl_sv_setref_uv(pTHX_ SV * const rv, const char * const classname, const UV uv);
4856 #define PERL_ARGS_ASSERT_SV_SETREF_UV \
4860 Perl_sv_setrv_inc(pTHX_ SV * const sv, SV * const ref);
4861 #define PERL_ARGS_ASSERT_SV_SETRV_INC \
4862 assert(sv); assert(ref)
4865 Perl_sv_setrv_inc_mg(pTHX_ SV * const sv, SV * const ref);
4866 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG \
4867 assert(sv); assert(ref)
4870 Perl_sv_setrv_noinc(pTHX_ SV * const sv, SV * const ref);
4871 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4872 assert(sv); assert(ref)
4875 Perl_sv_setrv_noinc_mg(pTHX_ SV * const sv, SV * const ref);
4876 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG \
4877 assert(sv); assert(ref)
4880 Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4881 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4885 Perl_sv_setsv_mg(pTHX_ SV * const dsv, SV * const ssv);
4886 #define PERL_ARGS_ASSERT_SV_SETSV_MG \
4890 Perl_sv_setuv(pTHX_ SV * const sv, const UV num);
4891 #define PERL_ARGS_ASSERT_SV_SETUV \
4895 Perl_sv_setuv_mg(pTHX_ SV * const sv, const UV u);
4896 #define PERL_ARGS_ASSERT_SV_SETUV_MG \
4899 /* PERL_CALLCONV bool
4900 sv_streq(pTHX_ SV *sv1, SV *sv2); */
4903 Perl_sv_streq_flags(pTHX_ SV *sv1, SV *sv2, const U32 flags);
4904 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4907 Perl_sv_strftime_ints(pTHX_ SV *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst);
4908 #define PERL_ARGS_ASSERT_SV_STRFTIME_INTS \
4912 Perl_sv_strftime_tm(pTHX_ SV *fmt, const struct tm *mytm);
4913 #define PERL_ARGS_ASSERT_SV_STRFTIME_TM \
4914 assert(fmt); assert(mytm)
4917 Perl_sv_string_from_errnum(pTHX_ int errnum, SV *tgtsv);
4918 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4921 Perl_sv_tainted(pTHX_ SV * const sv)
4922 __attribute__warn_unused_result__;
4923 #define PERL_ARGS_ASSERT_SV_TAINTED \
4927 Perl_sv_true(pTHX_ SV * const sv);
4928 #define PERL_ARGS_ASSERT_SV_TRUE
4930 PERL_CALLCONV char *
4931 Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4932 __attribute__warn_unused_result__;
4933 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4934 assert(dsv); assert(ssv)
4937 Perl_sv_unmagic(pTHX_ SV * const sv, const int type);
4938 #define PERL_ARGS_ASSERT_SV_UNMAGIC \
4942 Perl_sv_unmagicext(pTHX_ SV * const sv, const int type, const MGVTBL *vtbl);
4943 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT \
4947 Perl_sv_unref_flags(pTHX_ SV * const ref, const U32 flags);
4948 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4952 Perl_sv_untaint(pTHX_ SV * const sv);
4953 #define PERL_ARGS_ASSERT_SV_UNTAINT \
4957 Perl_sv_upgrade(pTHX_ SV * const sv, svtype new_type);
4958 #define PERL_ARGS_ASSERT_SV_UPGRADE \
4962 Perl_sv_usepvn_flags(pTHX_ SV * const sv, char *ptr, const STRLEN len, const U32 flags);
4963 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \
4967 Perl_sv_utf8_decode(pTHX_ SV * const sv);
4968 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4972 Perl_sv_utf8_downgrade_flags(pTHX_ SV * const sv, const bool fail_ok, const U32 flags);
4973 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS \
4976 /* PERL_CALLCONV bool
4977 sv_utf8_downgrade_nomg(pTHX_ SV * const sv, const bool fail_ok); */
4980 Perl_sv_utf8_encode(pTHX_ SV * const sv);
4981 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4984 /* PERL_CALLCONV STRLEN
4985 sv_utf8_upgrade_flags(pTHX_ SV * const sv, const I32 flags); */
4987 PERL_CALLCONV STRLEN
4988 Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV * const sv, const I32 flags, STRLEN extra);
4989 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \
4992 /* PERL_CALLCONV STRLEN
4993 sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4996 Perl_sv_vcatpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
4997 #define PERL_ARGS_ASSERT_SV_VCATPVF \
4998 assert(sv); assert(pat)
5001 Perl_sv_vcatpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5002 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \
5003 assert(sv); assert(pat)
5006 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);
5007 #define PERL_ARGS_ASSERT_SV_VCATPVFN \
5008 assert(sv); assert(pat)
5011 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);
5012 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS \
5013 assert(sv); assert(pat)
5016 Perl_sv_vsetpvf(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5017 #define PERL_ARGS_ASSERT_SV_VSETPVF \
5018 assert(sv); assert(pat)
5021 Perl_sv_vsetpvf_mg(pTHX_ SV * const sv, const char * const pat, va_list * const args);
5022 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \
5023 assert(sv); assert(pat)
5026 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);
5027 #define PERL_ARGS_ASSERT_SV_VSETPVFN \
5028 assert(sv); assert(pat)
5031 Perl_switch_to_global_locale(pTHX);
5032 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
5035 Perl_sync_locale(pTHX);
5036 #define PERL_ARGS_ASSERT_SYNC_LOCALE
5039 Perl_sys_init(int *argc, char ***argv);
5040 #define PERL_ARGS_ASSERT_SYS_INIT \
5041 assert(argc); assert(argv)
5044 Perl_sys_init3(int *argc, char ***argv, char ***env);
5045 #define PERL_ARGS_ASSERT_SYS_INIT3 \
5046 assert(argc); assert(argv); assert(env)
5049 Perl_sys_term(void);
5050 #define PERL_ARGS_ASSERT_SYS_TERM
5053 Perl_taint_env(pTHX);
5054 #define PERL_ARGS_ASSERT_TAINT_ENV
5057 Perl_taint_proper(pTHX_ const char *f, const char * const s);
5058 #define PERL_ARGS_ASSERT_TAINT_PROPER \
5062 Perl_thread_locale_init(pTHX);
5063 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
5066 Perl_thread_locale_term(pTHX);
5067 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
5070 Perl_tied_method(pTHX_ SV *methname, SV **mark, SV * const sv, const MAGIC * const mg, const U32 flags, U32 argc, ...)
5071 __attribute__visibility__("hidden");
5072 #define PERL_ARGS_ASSERT_TIED_METHOD \
5073 assert(methname); assert(mark); assert(sv); assert(mg)
5075 PERL_CALLCONV SSize_t
5076 Perl_tmps_grow_p(pTHX_ SSize_t ix);
5077 #define PERL_ARGS_ASSERT_TMPS_GROW_P
5080 to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
5083 Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
5084 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \
5085 assert(p); assert(lenp)
5088 Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
5089 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \
5090 assert(p); assert(lenp)
5093 Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
5094 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \
5095 assert(p); assert(lenp)
5098 Perl_try_amagic_bin(pTHX_ int method, int flags);
5099 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
5102 Perl_try_amagic_un(pTHX_ int method, int flags);
5103 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
5105 PERL_CALLCONV SSize_t
5106 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
5107 #define PERL_ARGS_ASSERT_UNPACKSTRING \
5108 assert(pat); assert(patend); assert(s); assert(strend)
5111 Perl_unshare_hek(pTHX_ HEK *hek);
5112 #define PERL_ARGS_ASSERT_UNSHARE_HEK
5115 Perl_unsharepvn(pTHX_ const char *sv, I32 len, U32 hash);
5116 #define PERL_ARGS_ASSERT_UNSHAREPVN
5119 Perl_upg_version(pTHX_ SV *ver, bool qv);
5120 #define PERL_ARGS_ASSERT_UPG_VERSION \
5124 Perl_utf16_to_utf8(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5125 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \
5126 assert(p); assert(d); assert(newlen)
5129 Perl_utf16_to_utf8_base(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5130 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE \
5131 assert(p); assert(d); assert(newlen)
5134 Perl_utf16_to_utf8_reversed(pTHX_ U8 *p, U8 *d, Size_t bytelen, Size_t *newlen);
5135 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
5136 assert(p); assert(d); assert(newlen)
5138 PERL_CALLCONV STRLEN
5139 Perl_utf8_length(pTHX_ const U8 *s0, const U8 *e)
5140 __attribute__warn_unused_result__;
5141 #define PERL_ARGS_ASSERT_UTF8_LENGTH \
5142 assert(s0); assert(e)
5145 Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
5146 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
5147 assert(s); assert(lenp)
5150 Perl_utf8_to_utf16_base(pTHX_ U8 *s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
5151 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE \
5152 assert(s); assert(d); assert(newlen)
5155 Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
5156 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF \
5157 assert(s); assert(send)
5160 Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
5161 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
5165 Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors);
5166 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR \
5170 Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg)
5171 __attribute__visibility__("hidden");
5172 #define PERL_ARGS_ASSERT_UTILIZE \
5175 /* PERL_CALLCONV U8 *
5176 uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
5178 /* PERL_CALLCONV U8 *
5179 uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
5181 /* PERL_CALLCONV U8 *
5182 uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV **msgs); */
5185 Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
5186 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
5190 Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV **msgs);
5191 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
5195 Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
5196 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
5200 Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
5201 #define PERL_ARGS_ASSERT_VCMP \
5202 assert(lhv); assert(rhv)
5204 PERL_CALLCONV_NO_RET void
5205 Perl_vcroak(pTHX_ const char *pat, va_list *args)
5206 __attribute__noreturn__;
5207 #define PERL_ARGS_ASSERT_VCROAK
5210 Perl_vdeb(pTHX_ const char *pat, va_list *args);
5211 #define PERL_ARGS_ASSERT_VDEB \
5215 Perl_vfatal_warner(pTHX_ U32 err, const char *pat, va_list *args);
5216 #define PERL_ARGS_ASSERT_VFATAL_WARNER \
5219 PERL_CALLCONV char *
5220 Perl_vform(pTHX_ const char *pat, va_list *args);
5221 #define PERL_ARGS_ASSERT_VFORM \
5225 Perl_vivify_defelem(pTHX_ SV *sv);
5226 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
5230 Perl_vivify_ref(pTHX_ SV *sv, U32 to_what)
5231 __attribute__warn_unused_result__
5232 __attribute__visibility__("hidden");
5233 #define PERL_ARGS_ASSERT_VIVIFY_REF \
5237 Perl_vload_module(pTHX_ U32 flags, SV *name, SV *ver, va_list *args);
5238 #define PERL_ARGS_ASSERT_VLOAD_MODULE \
5242 Perl_vmess(pTHX_ const char *pat, va_list *args);
5243 #define PERL_ARGS_ASSERT_VMESS \
5247 Perl_vnewSVpvf(pTHX_ const char * const pat, va_list * const args)
5248 __attribute__warn_unused_result__;
5249 #define PERL_ARGS_ASSERT_VNEWSVPVF \
5253 Perl_vnormal(pTHX_ SV *vs);
5254 #define PERL_ARGS_ASSERT_VNORMAL \
5258 Perl_vnumify(pTHX_ SV *vs);
5259 #define PERL_ARGS_ASSERT_VNUMIFY \
5263 Perl_vstringify(pTHX_ SV *vs);
5264 #define PERL_ARGS_ASSERT_VSTRINGIFY \
5268 Perl_vverify(pTHX_ SV *vs);
5269 #define PERL_ARGS_ASSERT_VVERIFY \
5273 Perl_vwarn(pTHX_ const char *pat, va_list *args);
5274 #define PERL_ARGS_ASSERT_VWARN \
5278 Perl_vwarner(pTHX_ U32 err, const char *pat, va_list *args);
5279 #define PERL_ARGS_ASSERT_VWARNER \
5283 Perl_wait4pid(pTHX_ Pid_t pid, int *statusp, int flags)
5284 __attribute__visibility__("hidden");
5285 #define PERL_ARGS_ASSERT_WAIT4PID \
5289 Perl_warn(pTHX_ const char *pat, ...)
5290 __attribute__format__(__printf__,pTHX_1,pTHX_2);
5291 #define PERL_ARGS_ASSERT_WARN \
5295 Perl_warn_sv(pTHX_ SV *baseex);
5296 #define PERL_ARGS_ASSERT_WARN_SV \
5300 Perl_warner(pTHX_ U32 err, const char *pat, ...)
5301 __attribute__format__(__printf__,pTHX_2,pTHX_3);
5302 #define PERL_ARGS_ASSERT_WARNER \
5306 Perl_was_lvalue_sub(pTHX)
5307 __attribute__warn_unused_result__;
5308 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
5311 Perl_watch(pTHX_ char **addr)
5312 __attribute__visibility__("hidden");
5313 #define PERL_ARGS_ASSERT_WATCH \
5316 /* PERL_CALLCONV I32
5317 whichsig(pTHX_ const char *sig); */
5320 Perl_whichsig_pv(pTHX_ const char *sig);
5321 #define PERL_ARGS_ASSERT_WHICHSIG_PV \
5325 Perl_whichsig_pvn(pTHX_ const char *sig, STRLEN len);
5326 #define PERL_ARGS_ASSERT_WHICHSIG_PVN \
5330 Perl_whichsig_sv(pTHX_ SV *sigsv);
5331 #define PERL_ARGS_ASSERT_WHICHSIG_SV \
5335 Perl_wrap_infix_plugin(pTHX_ Perl_infix_plugin_t new_plugin, Perl_infix_plugin_t *old_plugin_p);
5336 #define PERL_ARGS_ASSERT_WRAP_INFIX_PLUGIN \
5337 assert(new_plugin); assert(old_plugin_p)
5340 Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
5341 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN \
5342 assert(new_plugin); assert(old_plugin_p)
5345 Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
5346 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \
5347 assert(new_checker); assert(old_checker_p)
5350 Perl_write_to_stderr(pTHX_ SV *msv)
5351 __attribute__visibility__("hidden");
5352 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
5356 Perl_xs_boot_epilog(pTHX_ const SSize_t ax);
5357 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
5359 PERL_CALLCONV Stack_off_t
5360 Perl_xs_handshake(const U32 key, void *v_my_perl, const char *file, ...);
5361 #define PERL_ARGS_ASSERT_XS_HANDSHAKE \
5362 assert(v_my_perl); assert(file)
5365 Perl_yyerror(pTHX_ const char * const s)
5366 __attribute__visibility__("hidden");
5367 #define PERL_ARGS_ASSERT_YYERROR \
5371 Perl_yyerror_pv(pTHX_ const char * const s, U32 flags)
5372 __attribute__visibility__("hidden");
5373 #define PERL_ARGS_ASSERT_YYERROR_PV \
5377 Perl_yyerror_pvn(pTHX_ const char * const s, STRLEN len, U32 flags)
5378 __attribute__visibility__("hidden");
5379 #define PERL_ARGS_ASSERT_YYERROR_PVN
5383 #define PERL_ARGS_ASSERT_YYLEX
5386 Perl_yyparse(pTHX_ int gramtype)
5387 __attribute__visibility__("hidden");
5388 #define PERL_ARGS_ASSERT_YYPARSE
5392 __attribute__visibility__("hidden");
5393 #define PERL_ARGS_ASSERT_YYQUIT
5397 __attribute__visibility__("hidden");
5398 #define PERL_ARGS_ASSERT_YYUNLEX
5400 #if defined(DEBUGGING)
5402 Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5403 __attribute__warn_unused_result__
5404 __attribute__visibility__("hidden");
5405 # define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5409 Perl_hv_assert(pTHX_ HV *hv);
5410 # define PERL_ARGS_ASSERT_HV_ASSERT \
5414 Perl_pad_setsv(pTHX_ PADOFFSET po, SV *sv);
5415 # define PERL_ARGS_ASSERT_PAD_SETSV \
5419 Perl_pad_sv(pTHX_ PADOFFSET po);
5420 # define PERL_ARGS_ASSERT_PAD_SV
5423 Perl_set_padlist(CV *cv, PADLIST *padlist);
5424 # define PERL_ARGS_ASSERT_SET_PADLIST \
5427 #endif /* defined(DEBUGGING) */
5428 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5430 Perl_dump_sv_child(pTHX_ SV *sv)
5431 __attribute__visibility__("hidden");
5432 # define PERL_ARGS_ASSERT_DUMP_SV_CHILD \
5436 #if !defined(EBCDIC)
5438 # if !defined(PERL_NO_INLINE_FUNCTIONS)
5439 PERL_STATIC_INLINE unsigned int
5440 Perl_variant_byte_number(PERL_UINTMAX_T word)
5441 __attribute__warn_unused_result__;
5442 # define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
5446 #if defined(F_FREESP) && !defined(HAS_CHSIZE) && !defined(HAS_TRUNCATE)
5448 Perl_my_chsize(pTHX_ int fd, Off_t length)
5449 __attribute__warn_unused_result__;
5450 # define PERL_ARGS_ASSERT_MY_CHSIZE
5453 #if !defined(HAS_GETENV_LEN)
5454 PERL_CALLCONV char *
5455 Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
5456 __attribute__visibility__("hidden");
5457 # define PERL_ARGS_ASSERT_GETENV_LEN \
5458 assert(env_elem); assert(len)
5461 #if !defined(HAS_MKOSTEMP)
5463 Perl_my_mkostemp(char *templte, int flags)
5464 __attribute__visibility__("hidden");
5465 # define PERL_ARGS_ASSERT_MY_MKOSTEMP \
5469 #if !defined(HAS_MKSTEMP)
5471 Perl_my_mkstemp(char *templte)
5472 __attribute__visibility__("hidden");
5473 # define PERL_ARGS_ASSERT_MY_MKSTEMP \
5477 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5479 Perl_do_ipcctl(pTHX_ I32 optype, SV **mark, SV **sp)
5480 __attribute__visibility__("hidden");
5481 # define PERL_ARGS_ASSERT_DO_IPCCTL \
5482 assert(mark); assert(sp)
5485 Perl_do_ipcget(pTHX_ I32 optype, SV **mark, SV **sp)
5486 __attribute__visibility__("hidden");
5487 # define PERL_ARGS_ASSERT_DO_IPCGET \
5488 assert(mark); assert(sp)
5490 PERL_CALLCONV SSize_t
5491 Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
5492 __attribute__visibility__("hidden");
5493 # define PERL_ARGS_ASSERT_DO_MSGRCV \
5494 assert(mark); assert(sp)
5497 Perl_do_msgsnd(pTHX_ SV **mark, SV **sp)
5498 __attribute__visibility__("hidden");
5499 # define PERL_ARGS_ASSERT_DO_MSGSND \
5500 assert(mark); assert(sp)
5503 Perl_do_semop(pTHX_ SV **mark, SV **sp)
5504 __attribute__visibility__("hidden");
5505 # define PERL_ARGS_ASSERT_DO_SEMOP \
5506 assert(mark); assert(sp)
5509 Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp)
5510 __attribute__visibility__("hidden");
5511 # define PERL_ARGS_ASSERT_DO_SHMIO \
5512 assert(mark); assert(sp)
5514 #endif /* defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) */
5515 #if defined(HAS_PIPE)
5517 Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5518 __attribute__warn_unused_result__
5519 __attribute__visibility__("hidden");
5520 # define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC \
5524 #if !defined(HAS_RENAME)
5526 Perl_same_dirent(pTHX_ const char *a, const char *b)
5527 __attribute__visibility__("hidden");
5528 # define PERL_ARGS_ASSERT_SAME_DIRENT \
5529 assert(a); assert(b)
5532 #if !defined(HAS_SIGNBIT)
5535 __attribute__warn_unused_result__
5536 __attribute__pure__;
5537 # define PERL_ARGS_ASSERT_PERL_SIGNBIT
5540 #if defined(HAS_SOCKET)
5542 Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5543 __attribute__warn_unused_result__
5544 __attribute__visibility__("hidden");
5545 # define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5548 Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5549 __attribute__warn_unused_result__
5550 __attribute__visibility__("hidden");
5551 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5553 #endif /* defined(HAS_SOCKET) */
5554 #if defined(HAS_SOCKETPAIR) || \
5555 ( defined(AF_INET) && defined(HAS_SOCKET) && defined(PF_INET) && \
5556 defined(SOCK_DGRAM) )
5558 Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5559 __attribute__warn_unused_result__
5560 __attribute__visibility__("hidden");
5561 # define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC \
5565 #if !defined(HAS_STRLCPY)
5567 Perl_my_strlcpy(char *dst, const char *src, Size_t size);
5568 # define PERL_ARGS_ASSERT_MY_STRLCPY
5571 #if defined(HAVE_INTERP_INTERN)
5573 Perl_sys_intern_clear(pTHX);
5574 # define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5577 Perl_sys_intern_init(pTHX);
5578 # define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5580 # if defined(USE_ITHREADS)
5582 Perl_sys_intern_dup(pTHX_ struct interp_intern *src, struct interp_intern *dst);
5583 # define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5584 assert(src); assert(dst)
5587 #endif /* defined(HAVE_INTERP_INTERN) */
5588 #if defined(_MSC_VER)
5590 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5591 __attribute__visibility__("hidden");
5592 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
5593 assert(sv); assert(mg)
5596 PERL_CALLCONV_NO_RET int
5597 Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
5598 __attribute__noreturn__
5599 __attribute__visibility__("hidden");
5600 # define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
5601 assert(sv); assert(mg)
5604 #if defined(MULTIPLICITY)
5605 PERL_CALLCONV_NO_RET void
5606 Perl_croak_nocontext(const char *pat, ...)
5607 __attribute__noreturn__
5608 __attribute__format__null_ok__(__printf__,1,2);
5609 # define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5612 Perl_deb_nocontext(const char *pat, ...)
5613 __attribute__format__(__printf__,1,2);
5614 # define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
5617 PERL_CALLCONV_NO_RET OP *
5618 Perl_die_nocontext(const char *pat, ...)
5619 __attribute__noreturn__
5620 __attribute__format__null_ok__(__printf__,1,2);
5621 # define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5623 PERL_CALLCONV char *
5624 Perl_form_nocontext(const char *pat, ...)
5625 __attribute__format__(__printf__,1,2);
5626 # define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5630 Perl_load_module_nocontext(U32 flags, SV *name, SV *ver, ...);
5631 # define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
5635 Perl_mess_nocontext(const char *pat, ...)
5636 __attribute__format__(__printf__,1,2);
5637 # define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5640 PERL_CALLCONV void *
5641 Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5642 # define PERL_ARGS_ASSERT_MY_CXT_INIT \
5646 Perl_newSVpvf_nocontext(const char * const pat, ...)
5647 __attribute__format__(__printf__,1,2);
5648 # define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
5652 Perl_sv_catpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5653 __attribute__format__(__printf__,2,3);
5654 # define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5655 assert(sv); assert(pat)
5658 Perl_sv_catpvf_nocontext(SV * const sv, const char * const pat, ...)
5659 __attribute__format__(__printf__,2,3);
5660 # define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
5661 assert(sv); assert(pat)
5664 Perl_sv_setpvf_mg_nocontext(SV * const sv, const char * const pat, ...)
5665 __attribute__format__(__printf__,2,3);
5666 # define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5667 assert(sv); assert(pat)
5670 Perl_sv_setpvf_nocontext(SV * const sv, const char * const pat, ...)
5671 __attribute__format__(__printf__,2,3);
5672 # define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
5673 assert(sv); assert(pat)
5676 Perl_warn_nocontext(const char *pat, ...)
5677 __attribute__format__(__printf__,1,2);
5678 # define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5682 Perl_warner_nocontext(U32 err, const char *pat, ...)
5683 __attribute__format__(__printf__,2,3);
5684 # define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
5687 #endif /* defined(MULTIPLICITY) */
5688 #if defined(MYMALLOC)
5690 Perl_dump_mstats(pTHX_ const char *s);
5691 # define PERL_ARGS_ASSERT_DUMP_MSTATS \
5695 Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5696 # define PERL_ARGS_ASSERT_GET_MSTATS \
5699 PERL_CALLCONV MEM_SIZE
5700 Perl_malloc_good_size(size_t nbytes)
5701 __attribute__warn_unused_result__
5702 __attribute__visibility__("hidden");
5703 # define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5705 PERL_CALLCONV MEM_SIZE
5706 Perl_malloced_size(void *p)
5707 __attribute__warn_unused_result__
5708 __attribute__visibility__("hidden");
5709 # define PERL_ARGS_ASSERT_MALLOCED_SIZE \
5712 #endif /* defined(MYMALLOC) */
5713 #if !defined(NO_MATHOMS)
5715 Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp);
5716 # define PERL_ARGS_ASSERT_DO_AEXEC \
5717 assert(mark); assert(sp)
5720 Perl_do_open(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp);
5721 # define PERL_ARGS_ASSERT_DO_OPEN \
5722 assert(gv); assert(name)
5725 Perl_gv_AVadd(pTHX_ GV *gv);
5726 # define PERL_ARGS_ASSERT_GV_AVADD
5729 Perl_gv_HVadd(pTHX_ GV *gv);
5730 # define PERL_ARGS_ASSERT_GV_HVADD
5733 Perl_gv_IOadd(pTHX_ GV *gv);
5734 # define PERL_ARGS_ASSERT_GV_IOADD
5737 Perl_gv_efullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5738 # define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
5739 assert(sv); assert(gv)
5742 Perl_gv_fetchmethod(pTHX_ HV *stash, const char *name);
5743 # define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
5744 assert(stash); assert(name)
5747 Perl_gv_fullname3(pTHX_ SV *sv, const GV *gv, const char *prefix);
5748 # define PERL_ARGS_ASSERT_GV_FULLNAME3 \
5749 assert(sv); assert(gv)
5752 Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
5753 # define PERL_ARGS_ASSERT_HV_DELETE \
5757 Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
5758 # define PERL_ARGS_ASSERT_HV_DELETE_ENT \
5762 Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
5763 __attribute__warn_unused_result__;
5764 # define PERL_ARGS_ASSERT_HV_EXISTS \
5768 Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
5769 __attribute__warn_unused_result__;
5770 # define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
5774 Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
5775 # define PERL_ARGS_ASSERT_HV_FETCH \
5779 Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
5780 # define PERL_ARGS_ASSERT_HV_FETCH_ENT \
5784 Perl_hv_iternext(pTHX_ HV *hv)
5785 __attribute__warn_unused_result__;
5786 # define PERL_ARGS_ASSERT_HV_ITERNEXT \
5790 Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
5791 # define PERL_ARGS_ASSERT_HV_MAGIC \
5795 Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
5796 # define PERL_ARGS_ASSERT_HV_STORE
5799 Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
5800 # define PERL_ARGS_ASSERT_HV_STORE_ENT
5803 Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
5804 # define PERL_ARGS_ASSERT_HV_STORE_FLAGS
5806 PERL_CALLCONV char *
5807 Perl_instr(const char *big, const char *little)
5808 __attribute__warn_unused_result__
5809 __attribute__pure__;
5810 # define PERL_ARGS_ASSERT_INSTR \
5811 assert(big); assert(little)
5813 PERL_CALLCONV STRLEN
5814 Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
5815 # define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
5816 assert(buf); assert(buf_end)
5819 Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
5820 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
5821 assert(s); assert(ep)
5825 __attribute__warn_unused_result__;
5826 # define PERL_ARGS_ASSERT_NEWAV
5830 __attribute__warn_unused_result__;
5831 # define PERL_ARGS_ASSERT_NEWHV
5835 __attribute__warn_unused_result__;
5836 # define PERL_ARGS_ASSERT_NEWIO
5839 Perl_newSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *block);
5840 # define PERL_ARGS_ASSERT_NEWSUB
5843 Perl_newSVsv(pTHX_ SV * const old)
5844 __attribute__warn_unused_result__;
5845 # define PERL_ARGS_ASSERT_NEWSVSV
5848 Perl_save_freeop(pTHX_ OP *o);
5849 # define PERL_ARGS_ASSERT_SAVE_FREEOP
5852 Perl_save_freepv(pTHX_ char *pv);
5853 # define PERL_ARGS_ASSERT_SAVE_FREEPV
5856 Perl_save_freesv(pTHX_ SV *sv);
5857 # define PERL_ARGS_ASSERT_SAVE_FREESV
5860 Perl_save_mortalizesv(pTHX_ SV *sv);
5861 # define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
5866 # define PERL_ARGS_ASSERT_SAVE_OP
5869 Perl_sv_2bool(pTHX_ SV * const sv);
5870 # define PERL_ARGS_ASSERT_SV_2BOOL \
5874 Perl_sv_2iv(pTHX_ SV *sv);
5875 # define PERL_ARGS_ASSERT_SV_2IV \
5878 PERL_CALLCONV char *
5879 Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
5880 # define PERL_ARGS_ASSERT_SV_2PV \
5883 PERL_CALLCONV char *
5884 Perl_sv_2pv_nolen(pTHX_ SV *sv)
5885 __attribute__warn_unused_result__;
5886 # define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
5889 PERL_CALLCONV char *
5890 Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN * const lp);
5891 # define PERL_ARGS_ASSERT_SV_2PVBYTE \
5894 PERL_CALLCONV char *
5895 Perl_sv_2pvbyte_nolen(pTHX_ SV *sv)
5896 __attribute__warn_unused_result__;
5897 # define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
5900 PERL_CALLCONV char *
5901 Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN * const lp);
5902 # define PERL_ARGS_ASSERT_SV_2PVUTF8 \
5905 PERL_CALLCONV char *
5906 Perl_sv_2pvutf8_nolen(pTHX_ SV *sv)
5907 __attribute__warn_unused_result__;
5908 # define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
5912 Perl_sv_2uv(pTHX_ SV *sv);
5913 # define PERL_ARGS_ASSERT_SV_2UV \
5917 Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
5918 # define PERL_ARGS_ASSERT_SV_CATPVN \
5919 assert(dsv); assert(sstr)
5922 Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
5923 # define PERL_ARGS_ASSERT_SV_CATPVN_MG \
5924 assert(dsv); assert(sstr)
5927 Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
5928 # define PERL_ARGS_ASSERT_SV_CATSV \
5932 Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
5933 # define PERL_ARGS_ASSERT_SV_CATSV_MG \
5937 Perl_sv_copypv(pTHX_ SV * const dsv, SV * const ssv);
5938 # define PERL_ARGS_ASSERT_SV_COPYPV \
5939 assert(dsv); assert(ssv)
5942 Perl_sv_eq(pTHX_ SV *sv1, SV *sv2);
5943 # define PERL_ARGS_ASSERT_SV_EQ
5946 Perl_sv_force_normal(pTHX_ SV *sv);
5947 # define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
5951 Perl_sv_insert(pTHX_ SV * const bigstr, const STRLEN offset, const STRLEN len, const char * const little, const STRLEN littlelen);
5952 # define PERL_ARGS_ASSERT_SV_INSERT \
5953 assert(bigstr); assert(little)
5956 Perl_sv_mortalcopy(pTHX_ SV * const oldsv)
5957 __attribute__warn_unused_result__;
5958 # define PERL_ARGS_ASSERT_SV_MORTALCOPY
5961 Perl_sv_nolocking(pTHX_ SV *sv)
5962 __attribute__deprecated__;
5963 # define PERL_ARGS_ASSERT_SV_NOLOCKING
5966 Perl_sv_nounlocking(pTHX_ SV *sv)
5967 __attribute__deprecated__;
5968 # define PERL_ARGS_ASSERT_SV_NOUNLOCKING
5970 PERL_CALLCONV char *
5971 Perl_sv_pv(pTHX_ SV *sv)
5972 __attribute__warn_unused_result__;
5973 # define PERL_ARGS_ASSERT_SV_PV \
5976 PERL_CALLCONV char *
5977 Perl_sv_pvbyte(pTHX_ SV *sv)
5978 __attribute__warn_unused_result__;
5979 # define PERL_ARGS_ASSERT_SV_PVBYTE \
5982 PERL_CALLCONV char *
5983 Perl_sv_pvn_force(pTHX_ SV *sv, STRLEN *lp);
5984 # define PERL_ARGS_ASSERT_SV_PVN_FORCE \
5987 PERL_CALLCONV char *
5988 Perl_sv_pvutf8(pTHX_ SV *sv)
5989 __attribute__warn_unused_result__;
5990 # define PERL_ARGS_ASSERT_SV_PVUTF8 \
5994 Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
5995 # define PERL_ARGS_ASSERT_SV_SETSV \
5999 Perl_sv_taint(pTHX_ SV *sv);
6000 # define PERL_ARGS_ASSERT_SV_TAINT \
6004 Perl_sv_unref(pTHX_ SV *sv);
6005 # define PERL_ARGS_ASSERT_SV_UNREF \
6009 Perl_sv_usepvn(pTHX_ SV *sv, char *ptr, STRLEN len);
6010 # define PERL_ARGS_ASSERT_SV_USEPVN \
6014 Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
6015 # define PERL_ARGS_ASSERT_SV_USEPVN_MG \
6019 Perl_sv_utf8_downgrade(pTHX_ SV * const sv, const bool fail_ok);
6020 # define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \
6023 PERL_CALLCONV STRLEN
6024 Perl_sv_utf8_upgrade(pTHX_ SV *sv);
6025 # define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \
6029 Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
6030 __attribute__deprecated__;
6031 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \
6035 Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
6036 __attribute__deprecated__;
6037 # define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \
6041 Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
6042 __attribute__deprecated__;
6043 # define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
6047 Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
6048 __attribute__deprecated__;
6049 # define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
6052 # if defined(PERL_DONT_CREATE_GVSV)
6054 Perl_gv_SVadd(pTHX_ GV *gv);
6055 # define PERL_ARGS_ASSERT_GV_SVADD
6058 # if defined(PERL_IN_MATHOMS_C) || defined(PERL_IN_OP_C) || \
6059 defined(PERL_IN_PERLY_C) || defined(PERL_IN_TOKE_C)
6061 Perl_ref(pTHX_ OP *o, I32 type);
6062 # define PERL_ARGS_ASSERT_REF
6065 # if defined(USE_LOCALE_COLLATE)
6066 PERL_CALLCONV char *
6067 Perl_sv_collxfrm(pTHX_ SV * const sv, STRLEN * const nxp);
6068 # define PERL_ARGS_ASSERT_SV_COLLXFRM \
6069 assert(sv); assert(nxp)
6072 #endif /* !defined(NO_MATHOMS) */
6073 #if defined(PERL_ANY_COW)
6075 Perl_sv_setsv_cow(pTHX_ SV *dsv, SV *ssv);
6076 # define PERL_ARGS_ASSERT_SV_SETSV_COW \
6080 #if defined(PERL_CORE)
6082 Perl_opslab_force_free(pTHX_ OPSLAB *slab)
6083 __attribute__visibility__("hidden");
6084 # define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE \
6088 Perl_opslab_free(pTHX_ OPSLAB *slab)
6089 __attribute__visibility__("hidden");
6090 # define PERL_ARGS_ASSERT_OPSLAB_FREE \
6094 Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
6095 __attribute__visibility__("hidden");
6096 # define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD \
6100 Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
6101 __attribute__visibility__("hidden");
6102 # define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \
6103 assert(parser); assert(slab)
6105 # if defined(PERL_DEBUG_READONLY_OPS)
6107 Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
6108 # define PERL_ARGS_ASSERT_SLAB_TO_RO \
6112 Perl_Slab_to_rw(pTHX_ OPSLAB * const slab);
6113 # define PERL_ARGS_ASSERT_SLAB_TO_RW \
6116 # endif /* defined(PERL_DEBUG_READONLY_OPS) */
6117 # if !defined(PERL_NO_INLINE_FUNCTIONS)
6118 PERL_STATIC_INLINE bool
6119 S_should_warn_nl(const char *pv)
6120 __attribute__warn_unused_result__;
6121 # define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
6125 #endif /* defined(PERL_CORE) */
6126 #if defined(PERL_CORE) || defined(PERL_EXT)
6128 Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
6129 __attribute__warn_unused_result__;
6130 # define PERL_ARGS_ASSERT_ISSCRIPT_RUN \
6131 assert(s); assert(send)
6133 #endif /* defined(PERL_CORE) || defined(PERL_EXT) */
6134 #if defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API)
6136 Perl_finalize_optree(pTHX_ OP *o);
6137 # define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
6141 Perl_optimize_optree(pTHX_ OP *o);
6142 # define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE \
6145 #endif /* defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API) */
6146 #if defined(PERL_DEBUG_READONLY_COW)
6148 Perl_sv_buf_to_ro(pTHX_ SV *sv)
6149 __attribute__visibility__("hidden");
6150 # define PERL_ARGS_ASSERT_SV_BUF_TO_RO \
6154 #if defined(PERL_DEBUG_READONLY_OPS)
6155 PERL_CALLCONV PADOFFSET
6156 Perl_op_refcnt_dec(pTHX_ OP *o);
6157 # define PERL_ARGS_ASSERT_OP_REFCNT_DEC \
6161 Perl_op_refcnt_inc(pTHX_ OP *o);
6162 # define PERL_ARGS_ASSERT_OP_REFCNT_INC
6164 #endif /* defined(PERL_DEBUG_READONLY_OPS) */
6165 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
6167 Perl_do_exec(pTHX_ const char *cmd)
6168 __attribute__visibility__("hidden");
6169 # define PERL_ARGS_ASSERT_DO_EXEC \
6174 Perl_do_exec(pTHX_ const char *cmd)
6175 __attribute__visibility__("hidden");
6176 # define PERL_ARGS_ASSERT_DO_EXEC \
6180 #if defined(PERL_IMPLICIT_SYS)
6181 PERL_CALLCONV PerlInterpreter *
6182 perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP);
6183 # define PERL_ARGS_ASSERT_PERL_ALLOC_USING \
6184 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); \
6185 assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6187 # if defined(USE_ITHREADS)
6188 PERL_CALLCONV PerlInterpreter *
6189 perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP);
6190 # define PERL_ARGS_ASSERT_PERL_CLONE_USING \
6191 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); \
6192 assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
6195 #else /* if !defined(PERL_IMPLICIT_SYS) */
6197 Perl_my_pclose(pTHX_ PerlIO *ptr);
6198 # define PERL_ARGS_ASSERT_MY_PCLOSE
6200 PERL_CALLCONV PerlIO *
6201 Perl_my_popen(pTHX_ const char *cmd, const char *mode);
6202 # define PERL_ARGS_ASSERT_MY_POPEN \
6203 assert(cmd); assert(mode)
6205 #endif /* !defined(PERL_IMPLICIT_SYS) */
6206 #if defined(PERL_IN_AV_C)
6208 S_get_aux_mg(pTHX_ AV *av);
6209 # define PERL_ARGS_ASSERT_GET_AUX_MG \
6213 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) || \
6214 defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
6216 Perl_ck_anoncode(pTHX_ OP *o)
6217 __attribute__warn_unused_result__
6218 __attribute__visibility__("hidden");
6219 # define PERL_ARGS_ASSERT_CK_ANONCODE \
6223 Perl_ck_backtick(pTHX_ OP *o)
6224 __attribute__warn_unused_result__
6225 __attribute__visibility__("hidden");
6226 # define PERL_ARGS_ASSERT_CK_BACKTICK \
6230 Perl_ck_bitop(pTHX_ OP *o)
6231 __attribute__warn_unused_result__
6232 __attribute__visibility__("hidden");
6233 # define PERL_ARGS_ASSERT_CK_BITOP \
6237 Perl_ck_classname(pTHX_ OP *o)
6238 __attribute__warn_unused_result__
6239 __attribute__visibility__("hidden");
6240 # define PERL_ARGS_ASSERT_CK_CLASSNAME \
6244 Perl_ck_cmp(pTHX_ OP *o)
6245 __attribute__warn_unused_result__
6246 __attribute__visibility__("hidden");
6247 # define PERL_ARGS_ASSERT_CK_CMP \
6251 Perl_ck_concat(pTHX_ OP *o)
6252 __attribute__warn_unused_result__
6253 __attribute__visibility__("hidden");
6254 # define PERL_ARGS_ASSERT_CK_CONCAT \
6258 Perl_ck_defined(pTHX_ OP *o)
6259 __attribute__warn_unused_result__
6260 __attribute__visibility__("hidden");
6261 # define PERL_ARGS_ASSERT_CK_DEFINED \
6265 Perl_ck_delete(pTHX_ OP *o)
6266 __attribute__warn_unused_result__
6267 __attribute__visibility__("hidden");
6268 # define PERL_ARGS_ASSERT_CK_DELETE \
6272 Perl_ck_each(pTHX_ OP *o)
6273 __attribute__warn_unused_result__
6274 __attribute__visibility__("hidden");
6275 # define PERL_ARGS_ASSERT_CK_EACH \
6279 Perl_ck_eof(pTHX_ OP *o)
6280 __attribute__warn_unused_result__
6281 __attribute__visibility__("hidden");
6282 # define PERL_ARGS_ASSERT_CK_EOF \
6286 Perl_ck_eval(pTHX_ OP *o)
6287 __attribute__warn_unused_result__
6288 __attribute__visibility__("hidden");
6289 # define PERL_ARGS_ASSERT_CK_EVAL \
6293 Perl_ck_exec(pTHX_ OP *o)
6294 __attribute__warn_unused_result__
6295 __attribute__visibility__("hidden");
6296 # define PERL_ARGS_ASSERT_CK_EXEC \
6300 Perl_ck_exists(pTHX_ OP *o)
6301 __attribute__warn_unused_result__
6302 __attribute__visibility__("hidden");
6303 # define PERL_ARGS_ASSERT_CK_EXISTS \
6307 Perl_ck_ftst(pTHX_ OP *o)
6308 __attribute__warn_unused_result__
6309 __attribute__visibility__("hidden");
6310 # define PERL_ARGS_ASSERT_CK_FTST \
6314 Perl_ck_fun(pTHX_ OP *o)
6315 __attribute__warn_unused_result__
6316 __attribute__visibility__("hidden");
6317 # define PERL_ARGS_ASSERT_CK_FUN \
6321 Perl_ck_glob(pTHX_ OP *o)
6322 __attribute__warn_unused_result__
6323 __attribute__visibility__("hidden");
6324 # define PERL_ARGS_ASSERT_CK_GLOB \
6328 Perl_ck_grep(pTHX_ OP *o)
6329 __attribute__warn_unused_result__
6330 __attribute__visibility__("hidden");
6331 # define PERL_ARGS_ASSERT_CK_GREP \
6335 Perl_ck_helemexistsor(pTHX_ OP *o)
6336 __attribute__warn_unused_result__
6337 __attribute__visibility__("hidden");
6338 # define PERL_ARGS_ASSERT_CK_HELEMEXISTSOR \
6342 Perl_ck_index(pTHX_ OP *o)
6343 __attribute__warn_unused_result__
6344 __attribute__visibility__("hidden");
6345 # define PERL_ARGS_ASSERT_CK_INDEX \
6349 Perl_ck_isa(pTHX_ OP *o)
6350 __attribute__warn_unused_result__
6351 __attribute__visibility__("hidden");
6352 # define PERL_ARGS_ASSERT_CK_ISA \
6356 Perl_ck_join(pTHX_ OP *o)
6357 __attribute__warn_unused_result__
6358 __attribute__visibility__("hidden");
6359 # define PERL_ARGS_ASSERT_CK_JOIN \
6363 Perl_ck_length(pTHX_ OP *o)
6364 __attribute__warn_unused_result__
6365 __attribute__visibility__("hidden");
6366 # define PERL_ARGS_ASSERT_CK_LENGTH \
6370 Perl_ck_lfun(pTHX_ OP *o)
6371 __attribute__warn_unused_result__
6372 __attribute__visibility__("hidden");
6373 # define PERL_ARGS_ASSERT_CK_LFUN \
6377 Perl_ck_listiob(pTHX_ OP *o)
6378 __attribute__warn_unused_result__
6379 __attribute__visibility__("hidden");
6380 # define PERL_ARGS_ASSERT_CK_LISTIOB \
6384 Perl_ck_match(pTHX_ OP *o)
6385 __attribute__warn_unused_result__
6386 __attribute__visibility__("hidden");
6387 # define PERL_ARGS_ASSERT_CK_MATCH \
6391 Perl_ck_method(pTHX_ OP *o)
6392 __attribute__warn_unused_result__
6393 __attribute__visibility__("hidden");
6394 # define PERL_ARGS_ASSERT_CK_METHOD \
6398 Perl_ck_null(pTHX_ OP *o)
6399 __attribute__warn_unused_result__
6400 __attribute__visibility__("hidden");
6401 # define PERL_ARGS_ASSERT_CK_NULL \
6405 Perl_ck_open(pTHX_ OP *o)
6406 __attribute__warn_unused_result__
6407 __attribute__visibility__("hidden");
6408 # define PERL_ARGS_ASSERT_CK_OPEN \
6412 Perl_ck_prototype(pTHX_ OP *o)
6413 __attribute__warn_unused_result__
6414 __attribute__visibility__("hidden");
6415 # define PERL_ARGS_ASSERT_CK_PROTOTYPE \
6419 Perl_ck_readline(pTHX_ OP *o)
6420 __attribute__warn_unused_result__
6421 __attribute__visibility__("hidden");
6422 # define PERL_ARGS_ASSERT_CK_READLINE \
6426 Perl_ck_refassign(pTHX_ OP *o)
6427 __attribute__warn_unused_result__
6428 __attribute__visibility__("hidden");
6429 # define PERL_ARGS_ASSERT_CK_REFASSIGN \
6433 Perl_ck_repeat(pTHX_ OP *o)
6434 __attribute__warn_unused_result__
6435 __attribute__visibility__("hidden");
6436 # define PERL_ARGS_ASSERT_CK_REPEAT \
6440 Perl_ck_require(pTHX_ OP *o)
6441 __attribute__warn_unused_result__
6442 __attribute__visibility__("hidden");
6443 # define PERL_ARGS_ASSERT_CK_REQUIRE \
6447 Perl_ck_return(pTHX_ OP *o)
6448 __attribute__warn_unused_result__
6449 __attribute__visibility__("hidden");
6450 # define PERL_ARGS_ASSERT_CK_RETURN \
6454 Perl_ck_rfun(pTHX_ OP *o)
6455 __attribute__warn_unused_result__
6456 __attribute__visibility__("hidden");
6457 # define PERL_ARGS_ASSERT_CK_RFUN \
6461 Perl_ck_rvconst(pTHX_ OP *o)
6462 __attribute__warn_unused_result__
6463 __attribute__visibility__("hidden");
6464 # define PERL_ARGS_ASSERT_CK_RVCONST \
6468 Perl_ck_sassign(pTHX_ OP *o)
6469 __attribute__warn_unused_result__
6470 __attribute__visibility__("hidden");
6471 # define PERL_ARGS_ASSERT_CK_SASSIGN \
6475 Perl_ck_select(pTHX_ OP *o)
6476 __attribute__warn_unused_result__
6477 __attribute__visibility__("hidden");
6478 # define PERL_ARGS_ASSERT_CK_SELECT \
6482 Perl_ck_shift(pTHX_ OP *o)
6483 __attribute__warn_unused_result__
6484 __attribute__visibility__("hidden");
6485 # define PERL_ARGS_ASSERT_CK_SHIFT \
6489 Perl_ck_smartmatch(pTHX_ OP *o)
6490 __attribute__warn_unused_result__
6491 __attribute__visibility__("hidden");
6492 # define PERL_ARGS_ASSERT_CK_SMARTMATCH \
6496 Perl_ck_sort(pTHX_ OP *o)
6497 __attribute__warn_unused_result__
6498 __attribute__visibility__("hidden");
6499 # define PERL_ARGS_ASSERT_CK_SORT \
6503 Perl_ck_spair(pTHX_ OP *o)
6504 __attribute__warn_unused_result__
6505 __attribute__visibility__("hidden");
6506 # define PERL_ARGS_ASSERT_CK_SPAIR \
6510 Perl_ck_split(pTHX_ OP *o)
6511 __attribute__warn_unused_result__
6512 __attribute__visibility__("hidden");
6513 # define PERL_ARGS_ASSERT_CK_SPLIT \
6517 Perl_ck_stringify(pTHX_ OP *o)
6518 __attribute__warn_unused_result__
6519 __attribute__visibility__("hidden");
6520 # define PERL_ARGS_ASSERT_CK_STRINGIFY \
6524 Perl_ck_subr(pTHX_ OP *o)
6525 __attribute__warn_unused_result__
6526 __attribute__visibility__("hidden");
6527 # define PERL_ARGS_ASSERT_CK_SUBR \
6531 Perl_ck_substr(pTHX_ OP *o)
6532 __attribute__warn_unused_result__
6533 __attribute__visibility__("hidden");
6534 # define PERL_ARGS_ASSERT_CK_SUBSTR \
6538 Perl_ck_svconst(pTHX_ OP *o)
6539 __attribute__warn_unused_result__
6540 __attribute__visibility__("hidden");
6541 # define PERL_ARGS_ASSERT_CK_SVCONST \
6545 Perl_ck_tell(pTHX_ OP *o)
6546 __attribute__warn_unused_result__
6547 __attribute__visibility__("hidden");
6548 # define PERL_ARGS_ASSERT_CK_TELL \
6552 Perl_ck_trunc(pTHX_ OP *o)
6553 __attribute__warn_unused_result__
6554 __attribute__visibility__("hidden");
6555 # define PERL_ARGS_ASSERT_CK_TRUNC \
6559 Perl_ck_trycatch(pTHX_ OP *o)
6560 __attribute__warn_unused_result__
6561 __attribute__visibility__("hidden");
6562 # define PERL_ARGS_ASSERT_CK_TRYCATCH \
6565 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_GLOBALS_C) ||
6566 defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */
6567 #if defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) || \
6568 defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) || \
6569 defined(PERL_IN_TOKE_C)
6571 Perl_class_add_ADJUST(pTHX_ HV *stash, CV *cv);
6572 # define PERL_ARGS_ASSERT_CLASS_ADD_ADJUST \
6573 assert(stash); assert(cv)
6576 Perl_class_add_field(pTHX_ HV *stash, PADNAME *pn);
6577 # define PERL_ARGS_ASSERT_CLASS_ADD_FIELD \
6578 assert(stash); assert(pn)
6581 Perl_class_apply_attributes(pTHX_ HV *stash, OP *attrlist);
6582 # define PERL_ARGS_ASSERT_CLASS_APPLY_ATTRIBUTES \
6586 Perl_class_apply_field_attributes(pTHX_ PADNAME *pn, OP *attrlist);
6587 # define PERL_ARGS_ASSERT_CLASS_APPLY_FIELD_ATTRIBUTES \
6591 Perl_class_prepare_initfield_parse(pTHX);
6592 # define PERL_ARGS_ASSERT_CLASS_PREPARE_INITFIELD_PARSE
6595 Perl_class_prepare_method_parse(pTHX_ CV *cv);
6596 # define PERL_ARGS_ASSERT_CLASS_PREPARE_METHOD_PARSE \
6600 Perl_class_seal_stash(pTHX_ HV *stash);
6601 # define PERL_ARGS_ASSERT_CLASS_SEAL_STASH \
6605 Perl_class_set_field_defop(pTHX_ PADNAME *pn, OPCODE defmode, OP *defop);
6606 # define PERL_ARGS_ASSERT_CLASS_SET_FIELD_DEFOP \
6607 assert(pn); assert(defop)
6610 Perl_class_setup_stash(pTHX_ HV *stash);
6611 # define PERL_ARGS_ASSERT_CLASS_SETUP_STASH \
6615 Perl_class_wrap_method_body(pTHX_ OP *o);
6616 # define PERL_ARGS_ASSERT_CLASS_WRAP_METHOD_BODY
6619 Perl_croak_kw_unless_class(pTHX_ const char *kw);
6620 # define PERL_ARGS_ASSERT_CROAK_KW_UNLESS_CLASS \
6623 #endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) ||
6624 defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) ||
6625 defined(PERL_IN_TOKE_C) */
6626 #if defined(PERL_IN_DEB_C)
6628 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);
6629 # define PERL_ARGS_ASSERT_DEB_STACK_N \
6633 #if defined(PERL_IN_DOIO_C)
6635 S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
6636 # define PERL_ARGS_ASSERT_ARGVOUT_FINAL \
6637 assert(mg); assert(io)
6640 S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
6641 # define PERL_ARGS_ASSERT_EXEC_FAILED \
6645 S_ingroup(pTHX_ Gid_t testgid, bool effective)
6646 __attribute__warn_unused_result__;
6647 # define PERL_ARGS_ASSERT_INGROUP
6650 S_is_fork_open(const char *name);
6651 # define PERL_ARGS_ASSERT_IS_FORK_OPEN \
6655 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);
6656 # define PERL_ARGS_ASSERT_OPENN_CLEANUP \
6657 assert(gv); assert(io); assert(mode); assert(oname)
6660 S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
6661 # define PERL_ARGS_ASSERT_OPENN_SETUP \
6662 assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); \
6665 #endif /* defined(PERL_IN_DOIO_C) */
6666 #if defined(PERL_IN_DOOP_C)
6668 S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6669 __attribute__warn_unused_result__;
6670 # define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \
6671 assert(sv); assert(tbl)
6674 S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6675 __attribute__warn_unused_result__;
6676 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
6677 assert(sv); assert(tbl)
6680 S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
6681 __attribute__warn_unused_result__;
6682 # define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP \
6683 assert(sv); assert(map)
6686 S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
6687 __attribute__warn_unused_result__;
6688 # define PERL_ARGS_ASSERT_DO_TRANS_INVMAP \
6689 assert(sv); assert(map)
6692 S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
6693 __attribute__warn_unused_result__;
6694 # define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \
6695 assert(sv); assert(tbl)
6697 #endif /* defined(PERL_IN_DOOP_C) */
6698 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6699 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
6700 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || \
6701 defined(PERL_IN_UTF8_C)
6703 PERL_CALLCONV SSize_t
6704 Perl__invlist_search(SV * const invlist, const UV cp)
6705 __attribute__warn_unused_result__;
6706 # define PERL_ARGS_ASSERT__INVLIST_SEARCH \
6709 #endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
6710 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) ||
6711 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) ||
6712 defined(PERL_IN_UTF8_C) */
6713 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6714 defined(PERL_IN_REGCOMP_ANY)
6717 #if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
6718 defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C)
6720 Perl__add_range_to_invlist(pTHX_ SV *invlist, UV start, UV end)
6721 __attribute__warn_unused_result__;
6722 # define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6724 /* PERL_CALLCONV void
6725 _invlist_intersection(pTHX_ SV * const a, SV * const b, SV **i); */
6728 Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **i);
6729 # define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \
6730 assert(b); assert(i)
6733 Perl__invlist_invert(pTHX_ SV * const invlist);
6734 # define PERL_ARGS_ASSERT__INVLIST_INVERT \
6737 /* PERL_CALLCONV void
6738 _invlist_subtract(pTHX_ SV * const a, SV * const b, SV **result); */
6740 /* PERL_CALLCONV void
6741 _invlist_union(pTHX_ SV * const a, SV * const b, SV **output); */
6744 Perl__invlist_union_maybe_complement_2nd(pTHX_ SV * const a, SV * const b, const bool complement_b, SV **output);
6745 # define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \
6746 assert(b); assert(output)
6749 Perl__new_invlist(pTHX_ IV initial_size)
6750 __attribute__warn_unused_result__;
6751 # define PERL_ARGS_ASSERT__NEW_INVLIST
6754 Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV **other_elements_ptr)
6755 __attribute__warn_unused_result__;
6756 # define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \
6757 assert(other_elements_ptr)
6759 #endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
6760 defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_UTF8_C) */
6761 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6762 defined(PERL_IN_TOKE_C)
6763 PERL_CALLCONV const char *
6764 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)
6765 __attribute__warn_unused_result__;
6766 # define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG \
6767 assert(first_bad); assert(send)
6770 Perl_grok_bslash_c(pTHX_ const char source, U8 *result, const char **message, U32 *packed_warn)
6771 __attribute__warn_unused_result__;
6772 # define PERL_ARGS_ASSERT_GROK_BSLASH_C \
6773 assert(result); assert(message)
6776 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)
6777 __attribute__warn_unused_result__;
6778 # define PERL_ARGS_ASSERT_GROK_BSLASH_O \
6779 assert(s); assert(send); assert(uv); assert(message)
6782 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)
6783 __attribute__warn_unused_result__;
6784 # define PERL_ARGS_ASSERT_GROK_BSLASH_X \
6785 assert(s); assert(send); assert(uv); assert(message)
6787 #endif /* defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) ||
6788 defined(PERL_IN_TOKE_C) */
6789 #if defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_REGCOMP_C) || \
6790 defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6791 PERL_CALLCONV const char *
6792 Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char *string, const Size_t len, const UV cp)
6793 __attribute__warn_unused_result__;
6794 # define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6797 #if defined(PERL_IN_DUMP_C)
6799 S_deb_curcv(pTHX_ I32 ix);
6800 # define PERL_ARGS_ASSERT_DEB_CURCV
6803 S_debprof(pTHX_ const OP *o);
6804 # define PERL_ARGS_ASSERT_DEBPROF \
6808 S_pm_description(pTHX_ const PMOP *pm);
6809 # define PERL_ARGS_ASSERT_PM_DESCRIPTION \
6813 S_sequence_num(pTHX_ const OP *o);
6814 # define PERL_ARGS_ASSERT_SEQUENCE_NUM
6816 #endif /* defined(PERL_IN_DUMP_C) */
6817 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || \
6818 defined(PERL_IN_SCOPE_C) || defined(PERL_IN_SV_C)
6820 Perl_hv_kill_backrefs(pTHX_ HV *hv)
6821 __attribute__visibility__("hidden");
6822 # define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \
6826 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_OP_C) || \
6827 defined(PERL_IN_REGCOMP_ANY)
6829 Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char * const indent, SV * const invlist);
6830 # define PERL_ARGS_ASSERT__INVLIST_DUMP \
6831 assert(file); assert(indent); assert(invlist)
6834 #if defined(PERL_IN_GV_C)
6836 S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
6837 # define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \
6838 assert(stash); assert(name)
6841 S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
6842 # define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
6846 S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
6847 # define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \
6851 S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
6852 # define PERL_ARGS_ASSERT_GV_MAGICALIZE \
6853 assert(gv); assert(stash); assert(name)
6856 S_gv_magicalize_isa(pTHX_ GV *gv);
6857 # define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
6861 S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
6862 # define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV \
6863 assert(gv); assert(name)
6866 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);
6867 # define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME \
6868 assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
6871 S_require_tie_mod(pTHX_ GV *gv, const char varname, const char *name, STRLEN len, const U32 flags);
6872 # define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \
6873 assert(gv); assert(varname); assert(name)
6875 # if !defined(PERL_NO_INLINE_FUNCTIONS)
6876 PERL_STATIC_INLINE GV *
6877 S_gv_fetchmeth_internal(pTHX_ HV *stash, SV *meth, const char *name, STRLEN len, I32 level, U32 flags);
6878 # define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
6880 PERL_STATIC_INLINE HV *
6881 S_gv_stashpvn_internal(pTHX_ const char *name, U32 namelen, I32 flags);
6882 # define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \
6885 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
6886 #endif /* defined(PERL_IN_GV_C) */
6887 #if defined(PERL_IN_GV_C) || defined(PERL_IN_OP_C) || \
6888 defined(PERL_IN_PAD_C) || defined(PERL_IN_SV_C)
6890 Perl_sv_add_backref(pTHX_ SV * const tsv, SV * const sv)
6891 __attribute__visibility__("hidden");
6892 # define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
6893 assert(tsv); assert(sv)
6896 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
6898 Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char *name, U32 namelen, I32 flags)
6899 __attribute__visibility__("hidden");
6902 #if defined(PERL_IN_HV_C)
6904 S_clear_placeholders(pTHX_ HV *hv, U32 items);
6905 # define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \
6909 S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
6910 # define PERL_ARGS_ASSERT_HSPLIT \
6913 STATIC struct xpvhv_aux *
6914 S_hv_auxinit(pTHX_ HV *hv);
6915 # define PERL_ARGS_ASSERT_HV_AUXINIT \
6919 S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
6920 # define PERL_ARGS_ASSERT_HV_DELETE_COMMON
6923 S_hv_free_ent_ret(pTHX_ HE *entry);
6924 # define PERL_ARGS_ASSERT_HV_FREE_ENT_RET \
6928 S_hv_free_entries(pTHX_ HV *hv);
6929 # define PERL_ARGS_ASSERT_HV_FREE_ENTRIES \
6933 S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
6934 # define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
6935 assert(hv); assert(needs_copy); assert(needs_store)
6937 PERL_STATIC_NO_RET void
6938 S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
6939 __attribute__noreturn__;
6940 # define PERL_ARGS_ASSERT_HV_NOTALLOWED \
6941 assert(key); assert(msg)
6944 S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
6945 # define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \
6949 S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
6950 __attribute__malloc__
6951 __attribute__warn_unused_result__;
6952 # define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
6956 S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
6957 __attribute__warn_unused_result__;
6958 # define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \
6962 S_unshare_hek_or_pvn(pTHX_ const HEK *hek, const char *str, I32 len, U32 hash);
6963 # define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
6965 # if !defined(PURIFY)
6968 __attribute__warn_unused_result__;
6969 # define PERL_ARGS_ASSERT_NEW_HE
6972 #endif /* defined(PERL_IN_HV_C) */
6973 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
6975 Perl_sv_kill_backrefs(pTHX_ SV * const sv, AV * const av)
6976 __attribute__visibility__("hidden");
6977 # define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \
6981 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
6983 Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
6984 __attribute__visibility__("hidden");
6985 # define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \
6986 assert(hv); assert(indexp)
6989 #if defined(PERL_IN_LOCALE_C)
6991 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);
6992 # define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
6995 S_ints_to_tm(pTHX_ struct tm *my_tm, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst);
6996 # define PERL_ARGS_ASSERT_INTS_TO_TM \
7000 S_is_locale_utf8(pTHX_ const char *locale);
7001 # define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \
7005 S_my_localeconv(pTHX_ const int item);
7006 # define PERL_ARGS_ASSERT_MY_LOCALECONV
7009 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]);
7010 # define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_C_LOCALECONV \
7011 assert(hv); assert(locale); assert(strings); assert(integers)
7014 S_save_to_buffer(pTHX_ const char *string, char **buf, Size_t *buf_size);
7015 # define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
7018 S_set_save_buffer_min_size(pTHX_ const Size_t min_len, char **buf, Size_t *buf_size);
7019 # define PERL_ARGS_ASSERT_SET_SAVE_BUFFER_MIN_SIZE
7022 S_strftime8(pTHX_ const char *fmt, const struct tm *mytm, const utf8ness_t fmt_utf8ness, utf8ness_t *result_utf8ness, const bool came_from_sv);
7023 # define PERL_ARGS_ASSERT_STRFTIME8 \
7024 assert(fmt); assert(mytm); assert(result_utf8ness)
7027 S_strftime_tm(pTHX_ const char *fmt, const struct tm *mytm)
7028 __attribute__format__(__strftime__,pTHX_1,0);
7029 # define PERL_ARGS_ASSERT_STRFTIME_TM \
7030 assert(fmt); assert(mytm)
7032 # if defined(HAS_MISSING_LANGINFO_ITEM_) || !defined(HAS_NL_LANGINFO)
7034 S_emulate_langinfo(pTHX_ const int item, const char *locale, SV *sv, utf8ness_t *utf8ness);
7035 # define PERL_ARGS_ASSERT_EMULATE_LANGINFO \
7036 assert(locale); assert(sv)
7039 # if defined(USE_LOCALE)
7041 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);
7042 # define PERL_ARGS_ASSERT_CALCULATE_LC_ALL_STRING
7045 S_external_call_langinfo(pTHX_ const nl_item item, SV *sv, utf8ness_t *utf8ness);
7046 # define PERL_ARGS_ASSERT_EXTERNAL_CALL_LANGINFO \
7049 STATIC locale_category_index
7050 S_get_category_index_helper(pTHX_ const int category, bool *success, const line_t caller_line)
7051 __attribute__warn_unused_result__;
7052 # define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX_HELPER
7055 S_native_querylocale_i(pTHX_ const locale_category_index cat_index);
7056 # define PERL_ARGS_ASSERT_NATIVE_QUERYLOCALE_I
7059 S_new_LC_ALL(pTHX_ const char *lc_all, bool force);
7060 # define PERL_ARGS_ASSERT_NEW_LC_ALL \
7064 S_output_check_environment_warning(pTHX_ const char * const language, const char * const lc_all, const char * const lang);
7065 # define PERL_ARGS_ASSERT_OUTPUT_CHECK_ENVIRONMENT_WARNING
7067 STATIC parse_LC_ALL_string_return
7068 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);
7069 # define PERL_ARGS_ASSERT_PARSE_LC_ALL_STRING \
7070 assert(string); assert(output)
7073 S_restore_toggled_locale_i(pTHX_ const locale_category_index cat_index, const char *original_locale, const line_t caller_line);
7074 # define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
7076 PERL_STATIC_NO_RET void
7077 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)
7078 __attribute__noreturn__;
7079 # define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_VIA_I \
7080 assert(failed); assert(higher_caller_file)
7083 S_toggle_locale_i(pTHX_ const locale_category_index cat_index, const char *new_locale, const line_t caller_line);
7084 # define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I \
7087 # if defined(DEBUGGING)
7089 S_my_setlocale_debug_string_i(pTHX_ const locale_category_index cat_index, const char *locale, const char *retval, const line_t line)
7090 __attribute__warn_unused_result__;
7091 # define PERL_ARGS_ASSERT_MY_SETLOCALE_DEBUG_STRING_I
7094 # if defined(HAS_NL_LANGINFO)
7096 S_langinfo_sv_i(pTHX_ const nl_item item, locale_category_index cat_index, const char *locale, SV *sv, utf8ness_t *utf8ness);
7097 # define PERL_ARGS_ASSERT_LANGINFO_SV_I \
7098 assert(locale); assert(sv)
7101 # if defined(LC_ALL)
7103 S_give_perl_locale_control(pTHX_ const char *lc_all_string, const line_t caller_line);
7104 # define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7105 assert(lc_all_string)
7109 S_give_perl_locale_control(pTHX_ const char **curlocales, const line_t caller_line);
7110 # define PERL_ARGS_ASSERT_GIVE_PERL_LOCALE_CONTROL \
7114 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7115 PERL_STATIC_INLINE const char *
7116 S_mortalized_pv_copy(pTHX_ const char * const pv)
7117 __attribute__warn_unused_result__;
7118 # define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
7121 # if defined(USE_LOCALE_COLLATE)
7123 S_new_collate(pTHX_ const char *newcoll, bool force);
7124 # define PERL_ARGS_ASSERT_NEW_COLLATE \
7127 # if defined(DEBUGGING)
7129 S_print_collxfrm_input_and_return(pTHX_ const char *s, const char *e, const char *xbuf, const STRLEN xlen, const bool is_utf8);
7130 # define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN \
7131 assert(s); assert(e)
7134 # endif /* defined(USE_LOCALE_COLLATE) */
7135 # if defined(USE_LOCALE_CTYPE)
7137 S_is_codeset_name_UTF8(const char *name);
7138 # define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8 \
7142 S_new_ctype(pTHX_ const char *newctype, bool force);
7143 # define PERL_ARGS_ASSERT_NEW_CTYPE \
7146 # endif /* defined(USE_LOCALE_CTYPE) */
7147 # if defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC)
7149 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]);
7150 # define PERL_ARGS_ASSERT_POPULATE_HASH_FROM_LOCALECONV \
7151 assert(hv); assert(locale); assert(strings); assert(integers)
7154 # if defined(USE_LOCALE_NUMERIC)
7156 S_new_numeric(pTHX_ const char *newnum, bool force);
7157 # define PERL_ARGS_ASSERT_NEW_NUMERIC \
7161 # if defined(USE_PERL_SWITCH_LOCALE_CONTEXT) || defined(DEBUGGING)
7163 S_get_LC_ALL_display(pTHX);
7164 # define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
7167 # if defined(USE_POSIX_2008_LOCALE)
7169 S_bool_setlocale_2008_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7170 # define PERL_ARGS_ASSERT_BOOL_SETLOCALE_2008_I \
7174 S_querylocale_2008_i(pTHX_ const locale_category_index index, const line_t line);
7175 # define PERL_ARGS_ASSERT_QUERYLOCALE_2008_I
7178 S_use_curlocale_scratch(pTHX);
7179 # define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
7181 # if !defined(USE_QUERYLOCALE)
7183 S_update_PL_curlocales_i(pTHX_ const locale_category_index index, const char *new_locale, const line_t caller_line);
7184 # define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
7188 # elif defined(USE_LOCALE_THREADS) && \
7189 !defined(USE_THREAD_SAFE_LOCALE) && \
7190 !defined(USE_THREAD_SAFE_LOCALE_EMULATION) /* &&
7191 !defined(USE_POSIX_2008_LOCALE) */
7193 S_less_dicey_bool_setlocale_r(pTHX_ const int cat, const char *locale);
7194 # define PERL_ARGS_ASSERT_LESS_DICEY_BOOL_SETLOCALE_R \
7198 S_less_dicey_setlocale_r(pTHX_ const int category, const char *locale);
7199 # define PERL_ARGS_ASSERT_LESS_DICEY_SETLOCALE_R
7201 # endif /* defined(USE_LOCALE_THREADS) &&
7202 !defined(USE_POSIX_2008_LOCALE) &&
7203 !defined(USE_THREAD_SAFE_LOCALE) &&
7204 !defined(USE_THREAD_SAFE_LOCALE_EMULATION) */
7205 # if defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES)
7207 S_Win_byte_string_to_wstring(const UINT code_page, const char *byte_string);
7208 # define PERL_ARGS_ASSERT_WIN_BYTE_STRING_TO_WSTRING
7211 S_Win_wstring_to_byte_string(const UINT code_page, const wchar_t *wstring);
7212 # define PERL_ARGS_ASSERT_WIN_WSTRING_TO_BYTE_STRING
7215 S_win32_setlocale(pTHX_ int category, const char *locale);
7216 # define PERL_ARGS_ASSERT_WIN32_SETLOCALE
7219 S_wrap_wsetlocale(pTHX_ const int category, const char *locale);
7220 # define PERL_ARGS_ASSERT_WRAP_WSETLOCALE
7222 # endif /* defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) */
7223 # if defined(WIN32) || defined(WIN32_USE_FAKE_OLD_MINGW_LOCALES) || \
7224 ( defined(USE_POSIX_2008_LOCALE) && !defined(USE_QUERYLOCALE) )
7226 S_find_locale_from_environment(pTHX_ const locale_category_index index);
7227 # define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
7230 # endif /* defined(USE_LOCALE) */
7231 # if defined(USE_LOCALE) || defined(DEBUGGING)
7233 S_get_displayable_string(pTHX_ const char * const s, const char * const e, const bool is_utf8);
7234 # define PERL_ARGS_ASSERT_GET_DISPLAYABLE_STRING \
7235 assert(s); assert(e)
7238 #endif /* defined(PERL_IN_LOCALE_C) */
7239 #if defined(PERL_IN_MALLOC_C)
7241 S_adjust_size_and_find_bucket(size_t *nbytes_p);
7242 # define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \
7246 #if defined(PERL_IN_MG_C)
7248 S_fixup_errno_string(pTHX_ SV *sv);
7249 # define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING \
7253 S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
7254 # define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \
7255 assert(sv); assert(mg); assert(meth)
7258 S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
7259 # define PERL_ARGS_ASSERT_MAGIC_METHPACK \
7260 assert(sv); assert(mg); assert(meth)
7263 S_restore_magic(pTHX_ const void *p);
7264 # define PERL_ARGS_ASSERT_RESTORE_MAGIC
7267 S_save_magic_flags(pTHX_ SSize_t mgs_ix, SV *sv, U32 flags);
7268 # define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS \
7272 S_unwind_handler_stack(pTHX_ const void *p);
7273 # define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
7275 #endif /* defined(PERL_IN_MG_C) */
7276 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
7278 Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
7279 __attribute__visibility__("hidden");
7280 # define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \
7281 assert(posp); assert(lenp)
7284 #if defined(PERL_IN_MRO_C)
7286 S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
7287 # define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV \
7288 assert(isa); assert(name)
7291 S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
7292 # define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \
7293 assert(stashes); assert(seen_stashes); assert(namesv)
7296 S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level);
7297 # define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
7300 #endif /* defined(PERL_IN_MRO_C) */
7301 #if defined(PERL_IN_NUMERIC_C)
7303 S_output_non_portable(pTHX_ const U8 shift);
7304 # define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
7307 #if defined(PERL_IN_OP_C)
7309 S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
7310 # define PERL_ARGS_ASSERT_APPLY_ATTRS \
7311 assert(stash); assert(target)
7314 S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
7315 # define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
7316 assert(stash); assert(target); assert(imopsp)
7319 S_assignment_type(pTHX_ const OP *o)
7320 __attribute__warn_unused_result__;
7321 # define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
7324 S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
7325 # define PERL_ARGS_ASSERT_BAD_TYPE_GV \
7326 assert(gv); assert(kid); assert(t)
7329 S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
7330 # define PERL_ARGS_ASSERT_BAD_TYPE_PV \
7331 assert(t); assert(o); assert(kid)
7334 S_clear_special_blocks(pTHX_ const char * const fullname, GV * const gv, CV * const cv);
7335 # define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS \
7336 assert(fullname); assert(gv); assert(cv)
7339 S_cop_free(pTHX_ COP *cop);
7340 # define PERL_ARGS_ASSERT_COP_FREE \
7344 S_dup_attrlist(pTHX_ OP *o);
7345 # define PERL_ARGS_ASSERT_DUP_ATTRLIST \
7349 S_find_and_forget_pmops(pTHX_ OP *o);
7350 # define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
7354 S_fold_constants(pTHX_ OP * const o);
7355 # define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
7359 S_force_list(pTHX_ OP *arg, bool nullit);
7360 # define PERL_ARGS_ASSERT_FORCE_LIST
7363 S_forget_pmop(pTHX_ PMOP * const o);
7364 # define PERL_ARGS_ASSERT_FORGET_PMOP \
7368 S_gen_constant_list(pTHX_ OP *o);
7369 # define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
7372 S_inplace_aassign(pTHX_ OP *o);
7373 # define PERL_ARGS_ASSERT_INPLACE_AASSIGN \
7377 S_is_handle_constructor(const OP *o, I32 numargs)
7378 __attribute__warn_unused_result__;
7379 # define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
7383 S_listkids(pTHX_ OP *o);
7384 # define PERL_ARGS_ASSERT_LISTKIDS
7387 S_looks_like_bool(pTHX_ const OP *o);
7388 # define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \
7392 S_modkids(pTHX_ OP *o, I32 type);
7393 # define PERL_ARGS_ASSERT_MODKIDS
7396 S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
7397 # define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR \
7398 assert(proto); assert(attrs); assert(name)
7401 S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
7402 # define PERL_ARGS_ASSERT_MY_KID \
7406 S_newGIVWHENOP(pTHX_ OP *cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
7407 # define PERL_ARGS_ASSERT_NEWGIVWHENOP \
7411 S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
7412 __attribute__warn_unused_result__;
7413 # define PERL_ARGS_ASSERT_NEW_LOGOP \
7414 assert(firstp); assert(otherp)
7417 S_no_fh_allowed(pTHX_ OP *o)
7418 __attribute__warn_unused_result__;
7419 # define PERL_ARGS_ASSERT_NO_FH_ALLOWED \
7423 S_pmtrans(pTHX_ OP *o, OP *expr, OP *repl);
7424 # define PERL_ARGS_ASSERT_PMTRANS \
7425 assert(o); assert(expr); assert(repl)
7428 S_process_special_blocks(pTHX_ I32 floor, const char * const fullname, GV * const gv, CV * const cv);
7429 # define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
7430 assert(fullname); assert(gv); assert(cv)
7433 S_ref_array_or_hash(pTHX_ OP *cond);
7434 # define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
7437 S_refkids(pTHX_ OP *o, I32 type);
7438 # define PERL_ARGS_ASSERT_REFKIDS
7441 S_scalar_mod_type(const OP *o, I32 type)
7442 __attribute__warn_unused_result__;
7443 # define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
7446 S_scalarboolean(pTHX_ OP *o);
7447 # define PERL_ARGS_ASSERT_SCALARBOOLEAN \
7451 S_scalarkids(pTHX_ OP *o);
7452 # define PERL_ARGS_ASSERT_SCALARKIDS
7455 S_search_const(pTHX_ OP *o)
7456 __attribute__warn_unused_result__;
7457 # define PERL_ARGS_ASSERT_SEARCH_CONST \
7461 S_simplify_sort(pTHX_ OP *o);
7462 # define PERL_ARGS_ASSERT_SIMPLIFY_SORT \
7466 S_too_few_arguments_pv(pTHX_ OP *o, const char *name, U32 flags)
7467 __attribute__warn_unused_result__;
7468 # define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV \
7469 assert(o); assert(name)
7472 S_too_many_arguments_pv(pTHX_ OP *o, const char *name, U32 flags);
7473 # define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
7474 assert(o); assert(name)
7477 S_voidnonfinal(pTHX_ OP *o);
7478 # define PERL_ARGS_ASSERT_VOIDNONFINAL
7480 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7481 PERL_STATIC_INLINE OP *
7482 S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP *dynamic_meth, SV * const_meth);
7483 # define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
7485 PERL_STATIC_INLINE OP *
7486 S_op_integerize(pTHX_ OP *o);
7487 # define PERL_ARGS_ASSERT_OP_INTEGERIZE \
7490 PERL_STATIC_INLINE OP *
7491 S_op_std_init(pTHX_ OP *o);
7492 # define PERL_ARGS_ASSERT_OP_STD_INIT \
7495 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7496 #endif /* defined(PERL_IN_OP_C) */
7497 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
7499 Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
7500 __attribute__visibility__("hidden");
7501 # define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
7504 Perl_no_bareword_allowed(pTHX_ OP *o)
7505 __attribute__visibility__("hidden");
7506 # define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \
7510 Perl_op_prune_chain_head(OP **op_p)
7511 __attribute__visibility__("hidden");
7512 # define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD \
7516 Perl_op_varname(pTHX_ const OP *o)
7517 __attribute__visibility__("hidden");
7518 # define PERL_ARGS_ASSERT_OP_VARNAME \
7522 Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
7523 __attribute__visibility__("hidden");
7524 # define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT \
7525 assert(o); assert(name)
7527 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */
7528 #if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
7531 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
7533 Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
7534 __attribute__visibility__("hidden");
7535 # define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV \
7536 assert(name); assert(old_cv)
7539 Perl_varname(pTHX_ const GV * const gv, const char gvtype, PADOFFSET targ, const SV * const keyname, SSize_t aindex, int subscript_type)
7540 __attribute__warn_unused_result__
7541 __attribute__visibility__("hidden");
7542 # define PERL_ARGS_ASSERT_VARNAME
7544 #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C) */
7545 #if defined(PERL_IN_PAD_C)
7547 S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
7548 # define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
7552 S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
7553 # define PERL_ARGS_ASSERT_PAD_CHECK_DUP \
7557 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);
7558 # define PERL_ARGS_ASSERT_PAD_FINDLEX \
7559 assert(namepv); assert(cv); assert(out_name); assert(out_flags)
7563 # define PERL_ARGS_ASSERT_PAD_RESET
7565 # if defined(DEBUGGING)
7567 S_cv_dump(pTHX_ const CV *cv, const char *title);
7568 # define PERL_ARGS_ASSERT_CV_DUMP \
7569 assert(cv); assert(title)
7572 #endif /* defined(PERL_IN_PAD_C) */
7573 #if defined(PERL_IN_PEEP_C)
7575 S_finalize_op(pTHX_ OP *o);
7576 # define PERL_ARGS_ASSERT_FINALIZE_OP \
7580 S_optimize_op(pTHX_ OP *o);
7581 # define PERL_ARGS_ASSERT_OPTIMIZE_OP \
7585 S_traverse_op_tree(pTHX_ OP *top, OP *o);
7586 # define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE \
7587 assert(top); assert(o)
7589 #endif /* defined(PERL_IN_PEEP_C) */
7590 #if defined(PERL_IN_PERL_C)
7592 S_find_beginning(pTHX_ SV *linestr_sv, PerlIO *rsfp);
7593 # define PERL_ARGS_ASSERT_FIND_BEGINNING \
7594 assert(linestr_sv); assert(rsfp)
7597 S_forbid_setid(pTHX_ const char flag, const bool suidscript);
7598 # define PERL_ARGS_ASSERT_FORBID_SETID
7601 S_incpush(pTHX_ const char * const dir, STRLEN len, U32 flags);
7602 # define PERL_ARGS_ASSERT_INCPUSH \
7606 S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
7607 # define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \
7612 # define PERL_ARGS_ASSERT_INIT_IDS
7615 S_init_interp(pTHX);
7616 # define PERL_ARGS_ASSERT_INIT_INTERP
7619 S_init_main_stash(pTHX);
7620 # define PERL_ARGS_ASSERT_INIT_MAIN_STASH
7623 S_init_perllib(pTHX);
7624 # define PERL_ARGS_ASSERT_INIT_PERLLIB
7627 S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
7628 # define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
7632 S_init_predump_symbols(pTHX);
7633 # define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
7636 S_mayberelocate(pTHX_ const char * const dir, STRLEN len, U32 flags);
7637 # define PERL_ARGS_ASSERT_MAYBERELOCATE \
7640 PERL_STATIC_NO_RET void
7642 __attribute__noreturn__;
7643 # define PERL_ARGS_ASSERT_MINUS_V
7645 PERL_STATIC_NO_RET void
7646 S_my_exit_jump(pTHX)
7647 __attribute__noreturn__;
7648 # define PERL_ARGS_ASSERT_MY_EXIT_JUMP
7651 S_nuke_stacks(pTHX);
7652 # define PERL_ARGS_ASSERT_NUKE_STACKS
7655 S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
7656 # define PERL_ARGS_ASSERT_OPEN_SCRIPT \
7657 assert(scriptname); assert(suidscript)
7660 S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
7661 # define PERL_ARGS_ASSERT_PARSE_BODY
7663 PERL_STATIC_NO_RET void
7664 S_run_body(pTHX_ I32 oldscope)
7665 __attribute__noreturn__;
7666 # define PERL_ARGS_ASSERT_RUN_BODY
7668 PERL_STATIC_NO_RET void
7670 __attribute__noreturn__;
7671 # define PERL_ARGS_ASSERT_USAGE
7673 # if !defined(PERL_IS_MINIPERL)
7675 S_incpush_if_exists(pTHX_ AV * const av, SV *dir, SV * const stem);
7676 # define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \
7677 assert(av); assert(dir); assert(stem)
7680 # if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
7682 S_validate_suid(pTHX_ PerlIO *rsfp);
7683 # define PERL_ARGS_ASSERT_VALIDATE_SUID \
7687 #endif /* defined(PERL_IN_PERL_C) */
7688 #if defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) || \
7689 defined(PERL_IN_UTF8_C)
7691 Perl__invlistEQ(pTHX_ SV * const a, SV * const b, const bool complement_b);
7692 # define PERL_ARGS_ASSERT__INVLISTEQ \
7693 assert(a); assert(b)
7696 Perl__new_invlist_C_array(pTHX_ const UV * const list)
7697 __attribute__warn_unused_result__;
7698 # define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
7701 #endif /* defined(PERL_IN_PERL_C) || defined(PERL_IN_REGCOMP_ANY) ||
7702 defined(PERL_IN_UTF8_C) */
7703 #if defined(PERL_IN_PP_C)
7705 S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
7706 # define PERL_ARGS_ASSERT_DO_CHOMP \
7707 assert(retval); assert(sv)
7710 S_do_delete_local(pTHX);
7711 # define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
7714 S_refto(pTHX_ SV *sv)
7715 __attribute__warn_unused_result__;
7716 # define PERL_ARGS_ASSERT_REFTO \
7719 #endif /* defined(PERL_IN_PP_C) */
7720 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
7723 Perl_softref2xv(pTHX_ SV * const sv, const char * const what, const svtype type)
7724 __attribute__warn_unused_result__;
7725 # define PERL_ARGS_ASSERT_SOFTREF2XV \
7726 assert(sv); assert(what)
7729 #if defined(PERL_IN_PP_C) || defined(PERL_IN_UTF8_C)
7731 Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7732 __attribute__visibility__("hidden");
7733 # define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7734 assert(p); assert(lenp)
7737 #if defined(PERL_IN_PP_CTL_C)
7739 S_check_type_and_open(pTHX_ SV *name)
7740 __attribute__warn_unused_result__;
7741 # define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \
7745 S_destroy_matcher(pTHX_ PMOP *matcher);
7746 # define PERL_ARGS_ASSERT_DESTROY_MATCHER \
7750 S_do_smartmatch(pTHX_ HV *seen_this, HV *seen_other, const bool copied);
7751 # define PERL_ARGS_ASSERT_DO_SMARTMATCH
7754 S_docatch(pTHX_ Perl_ppaddr_t firstpp)
7755 __attribute__warn_unused_result__;
7756 # define PERL_ARGS_ASSERT_DOCATCH
7759 S_doeval_compile(pTHX_ U8 gimme, CV *outside, U32 seq, HV *hh);
7760 # define PERL_ARGS_ASSERT_DOEVAL_COMPILE
7763 S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
7764 __attribute__warn_unused_result__;
7765 # define PERL_ARGS_ASSERT_DOFINDLABEL \
7766 assert(o); assert(label); assert(opstack); assert(oplimit)
7769 S_doparseform(pTHX_ SV *sv);
7770 # define PERL_ARGS_ASSERT_DOPARSEFORM \
7774 S_dopoptoeval(pTHX_ I32 startingblock)
7775 __attribute__warn_unused_result__;
7776 # define PERL_ARGS_ASSERT_DOPOPTOEVAL
7779 S_dopoptogivenfor(pTHX_ I32 startingblock)
7780 __attribute__warn_unused_result__;
7781 # define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
7784 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
7785 __attribute__warn_unused_result__;
7786 # define PERL_ARGS_ASSERT_DOPOPTOLABEL \
7790 S_dopoptoloop(pTHX_ I32 startingblock)
7791 __attribute__warn_unused_result__;
7792 # define PERL_ARGS_ASSERT_DOPOPTOLOOP
7795 S_dopoptosub_at(pTHX_ const PERL_CONTEXT *cxstk, I32 startingblock)
7796 __attribute__warn_unused_result__;
7797 # define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \
7801 S_dopoptowhen(pTHX_ I32 startingblock)
7802 __attribute__warn_unused_result__;
7803 # define PERL_ARGS_ASSERT_DOPOPTOWHEN
7806 S_make_matcher(pTHX_ REGEXP *re)
7807 __attribute__warn_unused_result__;
7808 # define PERL_ARGS_ASSERT_MAKE_MATCHER \
7812 S_matcher_matches_sv(pTHX_ PMOP *matcher, SV *sv)
7813 __attribute__warn_unused_result__;
7814 # define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \
7815 assert(matcher); assert(sv)
7818 S_num_overflow(NV value, I32 fldsize, I32 frcsize)
7819 __attribute__warn_unused_result__;
7820 # define PERL_ARGS_ASSERT_NUM_OVERFLOW
7823 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
7824 __attribute__warn_unused_result__;
7825 # define PERL_ARGS_ASSERT_RUN_USER_FILTER \
7829 S_rxres_free(pTHX_ void **rsp);
7830 # define PERL_ARGS_ASSERT_RXRES_FREE \
7834 S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
7835 # define PERL_ARGS_ASSERT_RXRES_RESTORE \
7836 assert(rsp); assert(rx)
7839 S_save_lines(pTHX_ AV *array, SV *sv);
7840 # define PERL_ARGS_ASSERT_SAVE_LINES \
7843 # if !defined(PERL_DISABLE_PMC)
7845 S_doopen_pm(pTHX_ SV *name)
7846 __attribute__warn_unused_result__;
7847 # define PERL_ARGS_ASSERT_DOOPEN_PM \
7851 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7852 PERL_STATIC_INLINE bool
7853 S_path_is_searchable(const char *name)
7854 __attribute__warn_unused_result__;
7855 # define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE \
7859 #endif /* defined(PERL_IN_PP_CTL_C) */
7860 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_IN_UTIL_C)
7862 Perl_invoke_exception_hook(pTHX_ SV *ex, bool warn)
7863 __attribute__visibility__("hidden");
7864 # define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7867 #if defined(PERL_IN_PP_HOT_C)
7869 S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
7870 # define PERL_ARGS_ASSERT_DO_ODDBALL \
7871 assert(oddkey); assert(firstkey)
7873 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7874 PERL_STATIC_INLINE HV *
7875 S_opmethod_stash(pTHX_ SV *meth);
7876 # define PERL_ARGS_ASSERT_OPMETHOD_STASH \
7879 PERL_STATIC_FORCE_INLINE bool
7880 S_should_we_output_Debug_r(pTHX_ regexp *prog)
7881 __attribute__warn_unused_result__
7882 __attribute__always_inline__;
7883 # define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R \
7886 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
7887 #endif /* defined(PERL_IN_PP_HOT_C) */
7888 #if defined(PERL_IN_PP_PACK_C)
7890 S_div128(pTHX_ SV *pnum, bool *done);
7891 # define PERL_ARGS_ASSERT_DIV128 \
7892 assert(pnum); assert(done)
7895 S_first_symbol(const char *pat, const char *patend);
7896 # define PERL_ARGS_ASSERT_FIRST_SYMBOL \
7897 assert(pat); assert(patend)
7900 S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
7901 __attribute__warn_unused_result__;
7902 # define PERL_ARGS_ASSERT_GET_NUM \
7903 assert(patptr); assert(lenptr)
7906 S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
7907 # define PERL_ARGS_ASSERT_GROUP_END \
7908 assert(patptr); assert(patend)
7911 S_is_an_int(pTHX_ const char *s, STRLEN l)
7912 __attribute__warn_unused_result__;
7913 # define PERL_ARGS_ASSERT_IS_AN_INT \
7917 S_measure_struct(pTHX_ struct tempsym *symptr);
7918 # define PERL_ARGS_ASSERT_MEASURE_STRUCT \
7922 S_mul128(pTHX_ SV *sv, U8 m);
7923 # define PERL_ARGS_ASSERT_MUL128 \
7927 S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
7928 __attribute__warn_unused_result__;
7929 # define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8 \
7930 assert(start); assert(dest)
7933 S_need_utf8(const char *pat, const char *patend);
7934 # define PERL_ARGS_ASSERT_NEED_UTF8 \
7935 assert(pat); assert(patend)
7938 S_next_symbol(pTHX_ struct tempsym *symptr);
7939 # define PERL_ARGS_ASSERT_NEXT_SYMBOL \
7943 S_pack_rec(pTHX_ SV *cat, struct tempsym *symptr, SV **beglist, SV **endlist);
7944 # define PERL_ARGS_ASSERT_PACK_REC \
7945 assert(cat); assert(symptr); assert(beglist); assert(endlist)
7948 S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
7949 __attribute__warn_unused_result__;
7950 # define PERL_ARGS_ASSERT_SV_EXP_GROW \
7954 S_unpack_rec(pTHX_ struct tempsym *symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
7955 # define PERL_ARGS_ASSERT_UNPACK_REC \
7956 assert(symptr); assert(s); assert(strbeg); assert(strend)
7958 #endif /* defined(PERL_IN_PP_PACK_C) */
7959 #if defined(PERL_IN_PP_SORT_C)
7961 S_sortcv(pTHX_ SV * const a, SV * const b);
7962 # define PERL_ARGS_ASSERT_SORTCV \
7963 assert(a); assert(b)
7966 S_sortcv_stacked(pTHX_ SV * const a, SV * const b);
7967 # define PERL_ARGS_ASSERT_SORTCV_STACKED \
7968 assert(a); assert(b)
7971 S_sortcv_xsub(pTHX_ SV * const a, SV * const b);
7972 # define PERL_ARGS_ASSERT_SORTCV_XSUB \
7973 assert(a); assert(b)
7975 # if !defined(PERL_NO_INLINE_FUNCTIONS)
7976 PERL_STATIC_INLINE I32
7977 S_amagic_cmp(pTHX_ SV * const str1, SV * const str2);
7978 # define PERL_ARGS_ASSERT_AMAGIC_CMP \
7979 assert(str1); assert(str2)
7981 PERL_STATIC_INLINE I32
7982 S_amagic_cmp_desc(pTHX_ SV * const str1, SV * const str2);
7983 # define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC \
7984 assert(str1); assert(str2)
7986 PERL_STATIC_INLINE I32
7987 S_amagic_i_ncmp(pTHX_ SV * const a, SV * const b);
7988 # define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
7989 assert(a); assert(b)
7991 PERL_STATIC_INLINE I32
7992 S_amagic_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
7993 # define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC \
7994 assert(a); assert(b)
7996 PERL_STATIC_INLINE I32
7997 S_amagic_ncmp(pTHX_ SV * const a, SV * const b);
7998 # define PERL_ARGS_ASSERT_AMAGIC_NCMP \
7999 assert(a); assert(b)
8001 PERL_STATIC_INLINE I32
8002 S_amagic_ncmp_desc(pTHX_ SV * const a, SV * const b);
8003 # define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC \
8004 assert(a); assert(b)
8006 PERL_STATIC_INLINE I32
8007 S_cmp_desc(pTHX_ SV * const str1, SV * const str2);
8008 # define PERL_ARGS_ASSERT_CMP_DESC \
8009 assert(str1); assert(str2)
8011 PERL_STATIC_FORCE_INLINE void
8012 S_sortsv_flags_impl(pTHX_ SV **array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
8013 __attribute__always_inline__;
8014 # define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL \
8017 PERL_STATIC_INLINE I32
8018 S_sv_i_ncmp(pTHX_ SV * const a, SV * const b);
8019 # define PERL_ARGS_ASSERT_SV_I_NCMP \
8020 assert(a); assert(b)
8022 PERL_STATIC_INLINE I32
8023 S_sv_i_ncmp_desc(pTHX_ SV * const a, SV * const b);
8024 # define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
8025 assert(a); assert(b)
8027 PERL_STATIC_INLINE I32
8028 S_sv_ncmp(pTHX_ SV * const a, SV * const b);
8029 # define PERL_ARGS_ASSERT_SV_NCMP \
8030 assert(a); assert(b)
8032 PERL_STATIC_INLINE I32
8033 S_sv_ncmp_desc(pTHX_ SV * const a, SV * const b);
8034 # define PERL_ARGS_ASSERT_SV_NCMP_DESC \
8035 assert(a); assert(b)
8037 # if defined(USE_LOCALE_COLLATE)
8038 PERL_STATIC_INLINE I32
8039 S_amagic_cmp_locale(pTHX_ SV * const str1, SV * const str2);
8040 # define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
8041 assert(str1); assert(str2)
8043 PERL_STATIC_INLINE I32
8044 S_amagic_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8045 # define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
8046 assert(str1); assert(str2)
8048 PERL_STATIC_INLINE I32
8049 S_cmp_locale_desc(pTHX_ SV * const str1, SV * const str2);
8050 # define PERL_ARGS_ASSERT_CMP_LOCALE_DESC \
8051 assert(str1); assert(str2)
8053 # endif /* defined(USE_LOCALE_COLLATE) */
8054 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8055 #endif /* defined(PERL_IN_PP_SORT_C) */
8056 #if defined(PERL_IN_PP_SYS_C)
8058 S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
8059 # define PERL_ARGS_ASSERT_DOFORM \
8060 assert(cv); assert(gv)
8063 S_space_join_names_mortal(pTHX_ char * const *array);
8064 # define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
8066 # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
8068 S_dooneliner(pTHX_ const char *cmd, const char *filename)
8069 __attribute__warn_unused_result__;
8070 # define PERL_ARGS_ASSERT_DOONELINER \
8071 assert(cmd); assert(filename)
8074 #endif /* defined(PERL_IN_PP_SYS_C) */
8075 #if defined(PERL_IN_REGCOMP_ANY)
8077 Perl_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV **invlist)
8078 __attribute__visibility__("hidden");
8079 # define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
8080 assert(pRExC_state); assert(invlist)
8082 PERL_CALLCONV regnode *
8083 Perl_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth)
8084 __attribute__visibility__("hidden");
8085 # define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \
8086 assert(pRExC_state); assert(source)
8089 Perl_get_ANYOFHbbm_contents(pTHX_ const regnode *n)
8090 __attribute__warn_unused_result__
8091 __attribute__visibility__("hidden");
8092 # define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
8096 Perl_get_ANYOFM_contents(pTHX_ const regnode *n)
8097 __attribute__warn_unused_result__
8098 __attribute__visibility__("hidden");
8099 # define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS \
8103 Perl_is_ssc_worth_it(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
8104 __attribute__visibility__("hidden");
8105 # define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT \
8106 assert(pRExC_state); assert(ssc)
8109 Perl_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth)
8110 __attribute__visibility__("hidden");
8111 # define PERL_ARGS_ASSERT_JOIN_EXACT \
8112 assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
8115 Perl_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth)
8116 __attribute__visibility__("hidden");
8117 # define PERL_ARGS_ASSERT_MAKE_TRIE \
8118 assert(pRExC_state); assert(startbranch); assert(first); assert(last); \
8122 Perl_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV **invlist_ptr)
8123 __attribute__visibility__("hidden");
8124 # define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST \
8125 assert(node); assert(invlist_ptr)
8128 Perl_reg_add_data(RExC_state_t * const pRExC_state, const char * const s, const U32 n)
8129 __attribute__warn_unused_result__
8130 __attribute__visibility__("hidden");
8131 # define PERL_ARGS_ASSERT_REG_ADD_DATA \
8132 assert(pRExC_state); assert(s)
8135 Perl_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf)
8136 __attribute__visibility__("hidden");
8137 # define PERL_ARGS_ASSERT_SCAN_COMMIT \
8138 assert(pRExC_state); assert(data); assert(minlenp)
8141 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)
8142 __attribute__visibility__("hidden");
8143 # define PERL_ARGS_ASSERT_SET_ANYOF_ARG \
8144 assert(pRExC_state); assert(node)
8147 Perl_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc)
8148 __attribute__visibility__("hidden");
8149 # define PERL_ARGS_ASSERT_SSC_FINALIZE \
8150 assert(pRExC_state); assert(ssc)
8153 Perl_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc)
8154 __attribute__visibility__("hidden");
8155 # define PERL_ARGS_ASSERT_SSC_INIT \
8156 assert(pRExC_state); assert(ssc)
8158 PERL_CALLCONV SSize_t
8159 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)
8160 __attribute__visibility__("hidden");
8161 # define PERL_ARGS_ASSERT_STUDY_CHUNK \
8162 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); \
8165 # if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
8167 S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 depth);
8168 # define PERL_ARGS_ASSERT_DUMP_TRIE \
8169 assert(trie); assert(revcharmap)
8172 S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8173 # define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
8174 assert(trie); assert(revcharmap)
8177 S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
8178 # define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
8179 assert(trie); assert(revcharmap)
8181 # endif /* defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING) */
8182 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8183 PERL_STATIC_INLINE SV *
8184 S_invlist_contents(pTHX_ SV * const invlist, const bool traditional_style)
8185 __attribute__warn_unused_result__;
8186 # define PERL_ARGS_ASSERT_INVLIST_CONTENTS \
8189 PERL_STATIC_INLINE UV
8190 S_invlist_highest_range_start(SV * const invlist)
8191 __attribute__warn_unused_result__;
8192 # define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START \
8195 PERL_STATIC_INLINE bool
8196 S_invlist_is_iterating(const SV * const invlist)
8197 __attribute__warn_unused_result__;
8198 # define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \
8201 PERL_STATIC_INLINE UV
8202 S_invlist_lowest(SV * const invlist)
8203 __attribute__warn_unused_result__;
8204 # define PERL_ARGS_ASSERT_INVLIST_LOWEST \
8207 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8208 #endif /* defined(PERL_IN_REGCOMP_ANY) */
8209 #if defined(PERL_IN_REGCOMP_ANY) || defined(PERL_IN_SV_C)
8211 Perl_invlist_clone(pTHX_ SV * const invlist, SV *newlist);
8212 # define PERL_ARGS_ASSERT_INVLIST_CLONE \
8216 #if defined(PERL_IN_REGCOMP_C)
8218 S_add_multi_match(pTHX_ AV *multi_char_matches, SV *multi_string, const STRLEN cp_count);
8219 # define PERL_ARGS_ASSERT_ADD_MULTI_MATCH \
8220 assert(multi_string)
8223 S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
8224 # define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE \
8228 S_compile_wildcard(pTHX_ const char *subpattern, const STRLEN len, const bool ignore_case)
8229 __attribute__warn_unused_result__;
8230 # define PERL_ARGS_ASSERT_COMPILE_WILDCARD \
8234 S_compute_EXACTish(RExC_state_t *pRExC_state);
8235 # define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \
8239 S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
8240 __attribute__warn_unused_result__;
8241 # define PERL_ARGS_ASSERT_EDIT_DISTANCE \
8242 assert(src); assert(tgt)
8245 S_execute_wildcard(pTHX_ REGEXP * const prog, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *screamer, U32 nosave);
8246 # define PERL_ARGS_ASSERT_EXECUTE_WILDCARD \
8247 assert(prog); assert(stringarg); assert(strend); assert(strbeg); \
8251 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char *start, const char *end);
8252 # define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE \
8253 assert(pRExC_state); assert(start); assert(end)
8256 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);
8257 # define PERL_ARGS_ASSERT_GROK_BSLASH_N \
8258 assert(pRExC_state); assert(flagp)
8260 STATIC regnode_offset
8261 S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char *backref_parse_start, char ch);
8262 # define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
8263 assert(pRExC_state); assert(flagp); assert(backref_parse_start)
8266 S_handle_names_wildcard(pTHX_ const char *wname, const STRLEN wname_len, SV **prop_definition, AV **strings);
8267 # define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
8268 assert(wname); assert(prop_definition); assert(strings)
8271 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);
8272 # define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
8273 assert(pRExC_state); assert(s)
8275 STATIC regnode_offset
8276 S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV **return_invlist, I32 *flagp, U32 depth);
8277 # define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \
8278 assert(pRExC_state); assert(flagp)
8281 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);
8282 # define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY \
8283 assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
8286 S_nextchar(pTHX_ RExC_state_t *pRExC_state);
8287 # define PERL_ARGS_ASSERT_NEXTCHAR \
8291 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);
8292 # define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS \
8293 assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); \
8297 S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV *posix_warnings);
8298 # define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS \
8299 assert(pRExC_state); assert(posix_warnings)
8302 S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
8303 # define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \
8307 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);
8308 # define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING \
8309 assert(name); assert(user_defined_ptr); assert(msg)
8311 PERL_STATIC_NO_RET void
8312 S_re_croak(pTHX_ bool utf8, const char *pat, ...)
8313 __attribute__noreturn__
8314 __attribute__format__(__printf__,pTHX_2,pTHX_3);
8315 # define PERL_ARGS_ASSERT_RE_CROAK \
8318 STATIC regnode_offset
8319 S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
8320 # define PERL_ARGS_ASSERT_REG \
8321 assert(pRExC_state); assert(flagp)
8323 STATIC regnode_offset
8324 S_reg1node(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
8325 # define PERL_ARGS_ASSERT_REG1NODE \
8328 STATIC regnode_offset
8329 S_reg2node(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
8330 # define PERL_ARGS_ASSERT_REG2NODE \
8333 STATIC regnode_offset
8334 S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8335 # define PERL_ARGS_ASSERT_REG_LA_NOTHING \
8336 assert(pRExC_state); assert(type)
8338 STATIC regnode_offset
8339 S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
8340 # define PERL_ARGS_ASSERT_REG_LA_OPFAIL \
8341 assert(pRExC_state); assert(type)
8343 STATIC regnode_offset
8344 S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
8345 # define PERL_ARGS_ASSERT_REG_NODE \
8349 S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
8350 # define PERL_ARGS_ASSERT_REG_SCAN_NAME \
8353 STATIC regnode_offset
8354 S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8355 # define PERL_ARGS_ASSERT_REGATOM \
8356 assert(pRExC_state); assert(flagp)
8358 STATIC regnode_offset
8359 S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
8360 # define PERL_ARGS_ASSERT_REGBRANCH \
8361 assert(pRExC_state); assert(flagp)
8363 STATIC regnode_offset
8364 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);
8365 # define PERL_ARGS_ASSERT_REGCLASS \
8366 assert(pRExC_state); assert(flagp)
8369 S_regex_set_precedence(const U8 my_operator)
8370 __attribute__warn_unused_result__;
8371 # define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
8374 S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
8375 # define PERL_ARGS_ASSERT_REGINSERT \
8378 STATIC regnode_offset
8379 S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
8380 # define PERL_ARGS_ASSERT_REGNODE_GUTS \
8383 STATIC regnode_offset
8384 S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
8385 # define PERL_ARGS_ASSERT_REGPIECE \
8386 assert(pRExC_state); assert(flagp)
8388 STATIC regnode_offset
8389 S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV *arg);
8390 # define PERL_ARGS_ASSERT_REGPNODE \
8391 assert(pRExC_state); assert(arg)
8394 S_regtail(pTHX_ RExC_state_t *pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
8395 __attribute__warn_unused_result__;
8396 # define PERL_ARGS_ASSERT_REGTAIL \
8397 assert(pRExC_state); assert(p); assert(val)
8400 S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
8401 # define PERL_ARGS_ASSERT_SET_REGEX_PV \
8402 assert(pRExC_state); assert(Rx)
8405 S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char **p, const bool force_to_xmod);
8406 # define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT \
8407 assert(pRExC_state); assert(p)
8409 # if defined(DEBUGGING)
8410 STATIC regnode_offset
8411 S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
8412 # define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG \
8416 S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
8417 __attribute__warn_unused_result__;
8418 # define PERL_ARGS_ASSERT_REGTAIL_STUDY \
8419 assert(pRExC_state); assert(p); assert(val)
8421 # if defined(ENABLE_REGEX_SETS_DEBUGGING)
8423 S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV *stack, const IV fence, AV *fence_stack);
8424 # define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES \
8425 assert(pRExC_state); assert(stack); assert(fence_stack)
8428 # endif /* defined(DEBUGGING) */
8429 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8430 PERL_STATIC_INLINE Size_t
8431 S_find_first_differing_byte_pos(const U8 *s1, const U8 *s2, const Size_t max);
8432 # define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS \
8433 assert(s1); assert(s2)
8435 PERL_STATIC_INLINE char *
8436 S_reg_skipcomment(RExC_state_t *pRExC_state, char *p);
8437 # define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \
8438 assert(pRExC_state); assert(p)
8440 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8441 #endif /* defined(PERL_IN_REGCOMP_C) */
8442 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C)
8444 Perl_populate_bitmap_from_invlist(pTHX_ SV *invlist, const UV offset, const U8 *bitmap, const Size_t len)
8445 __attribute__visibility__("hidden");
8446 # define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST \
8447 assert(invlist); assert(bitmap)
8450 Perl_populate_invlist_from_bitmap(pTHX_ const U8 *bitmap, const Size_t bitmap_len, SV **invlist, const UV offset)
8451 __attribute__visibility__("hidden");
8452 # define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP \
8453 assert(bitmap); assert(invlist)
8455 #endif /* defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGCOMP_INVLIST_C) */
8456 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8457 defined(PERL_IN_TOKE_C)
8459 Perl_is_grapheme(pTHX_ const U8 *strbeg, const U8 *s, const U8 *strend, const UV cp)
8460 __attribute__warn_unused_result__
8461 __attribute__visibility__("hidden");
8462 # define PERL_ARGS_ASSERT_IS_GRAPHEME \
8463 assert(strbeg); assert(s); assert(strend)
8466 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
8467 defined(PERL_IN_UTF8_C)
8469 Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
8470 # define PERL_ARGS_ASSERT__TO_FOLD_LATIN1 \
8471 assert(p); assert(lenp)
8474 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
8476 Perl_regcurly(const char *s, const char *e, const char *result[5])
8477 __attribute__warn_unused_result__;
8478 # define PERL_ARGS_ASSERT_REGCURLY \
8479 assert(s); assert(e)
8482 #if defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING)
8484 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);
8485 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \
8489 S_put_charclass_bitmap_innards_common(pTHX_ SV *invlist, SV *posixes, SV *only_utf8, SV *not_utf8, SV *only_utf8_locale, const bool invert);
8490 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON \
8494 S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV *invlist);
8495 # define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST \
8496 assert(sv); assert(invlist)
8499 S_put_code_point(pTHX_ SV *sv, UV c);
8500 # define PERL_ARGS_ASSERT_PUT_CODE_POINT \
8504 S_put_range(pTHX_ SV *sv, UV start, const UV end, const bool allow_literals);
8505 # define PERL_ARGS_ASSERT_PUT_RANGE \
8509 S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
8510 # define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
8513 S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
8514 # define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
8516 #endif /* defined(PERL_IN_REGCOMP_DEBUG_C) && defined(DEBUGGING) */
8517 #if defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD)
8519 S__append_range_to_invlist(pTHX_ SV * const invlist, const UV start, const UV end);
8520 # define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \
8524 S_initialize_invlist_guts(pTHX_ SV *invlist, const Size_t initial_size);
8525 # define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS \
8529 S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
8530 # define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC \
8531 assert(dest); assert(src)
8533 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8534 PERL_STATIC_INLINE UV *
8535 S__invlist_array_init(SV * const invlist, const bool will_have_0)
8536 __attribute__warn_unused_result__;
8537 # define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
8540 PERL_STATIC_INLINE IV *
8541 S_get_invlist_previous_index_addr(SV *invlist)
8542 __attribute__warn_unused_result__;
8543 # define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \
8546 PERL_STATIC_INLINE void
8547 S_invlist_clear(pTHX_ SV *invlist);
8548 # define PERL_ARGS_ASSERT_INVLIST_CLEAR \
8551 PERL_STATIC_INLINE UV
8552 S_invlist_max(const SV * const invlist)
8553 __attribute__warn_unused_result__;
8554 # define PERL_ARGS_ASSERT_INVLIST_MAX \
8557 PERL_STATIC_INLINE IV
8558 S_invlist_previous_index(SV * const invlist)
8559 __attribute__warn_unused_result__;
8560 # define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
8563 PERL_STATIC_INLINE void
8564 S_invlist_set_previous_index(SV * const invlist, const IV index);
8565 # define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \
8568 PERL_STATIC_INLINE void
8569 S_invlist_trim(SV *invlist);
8570 # define PERL_ARGS_ASSERT_INVLIST_TRIM \
8573 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8574 #endif /* defined(PERL_IN_REGCOMP_INVLIST_C) && !defined(PERL_EXT_RE_BUILD) */
8575 #if defined(PERL_IN_REGCOMP_STUDY_C)
8577 S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass * const node);
8578 # define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \
8579 assert(pRExC_state); assert(node)
8582 S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
8583 __attribute__warn_unused_result__;
8584 # define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST \
8585 assert(pRExC_state); assert(node)
8588 S_rck_elide_nothing(pTHX_ regnode *node);
8589 # define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
8593 S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
8594 # define PERL_ARGS_ASSERT_SSC_ADD_RANGE \
8598 S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
8599 # define PERL_ARGS_ASSERT_SSC_AND \
8600 assert(pRExC_state); assert(ssc); assert(and_with)
8603 S_ssc_anything(pTHX_ regnode_ssc *ssc);
8604 # define PERL_ARGS_ASSERT_SSC_ANYTHING \
8608 S_ssc_clear_locale(regnode_ssc *ssc);
8609 # define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE \
8613 S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
8614 # define PERL_ARGS_ASSERT_SSC_CP_AND \
8618 S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8619 # define PERL_ARGS_ASSERT_SSC_INTERSECTION \
8620 assert(ssc); assert(invlist)
8623 S_ssc_is_anything(const regnode_ssc *ssc)
8624 __attribute__warn_unused_result__;
8625 # define PERL_ARGS_ASSERT_SSC_IS_ANYTHING \
8629 S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
8630 __attribute__warn_unused_result__;
8631 # define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \
8632 assert(pRExC_state); assert(ssc)
8635 S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
8636 # define PERL_ARGS_ASSERT_SSC_OR \
8637 assert(pRExC_state); assert(ssc); assert(or_with)
8640 S_ssc_union(pTHX_ regnode_ssc *ssc, SV * const invlist, const bool invert_2nd);
8641 # define PERL_ARGS_ASSERT_SSC_UNION \
8642 assert(ssc); assert(invlist)
8645 S_unwind_scan_frames(pTHX_ const void *p);
8646 # define PERL_ARGS_ASSERT_UNWIND_SCAN_FRAMES \
8649 #endif /* defined(PERL_IN_REGCOMP_STUDY_C) */
8650 #if defined(PERL_IN_REGEXEC_C)
8652 S_advance_one_LB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8653 __attribute__warn_unused_result__;
8654 # define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
8655 assert(curpos); assert(strend)
8658 S_advance_one_SB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target)
8659 __attribute__warn_unused_result__;
8660 # define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
8661 assert(curpos); assert(strend)
8664 S_advance_one_WB(pTHX_ U8 **curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
8665 __attribute__warn_unused_result__;
8666 # define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
8667 assert(curpos); assert(strend)
8670 S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8671 __attribute__warn_unused_result__;
8672 # define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
8673 assert(strbeg); assert(curpos)
8676 S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8677 __attribute__warn_unused_result__;
8678 # define PERL_ARGS_ASSERT_BACKUP_ONE_LB \
8679 assert(strbeg); assert(curpos)
8682 S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8683 __attribute__warn_unused_result__;
8684 # define PERL_ARGS_ASSERT_BACKUP_ONE_SB \
8685 assert(strbeg); assert(curpos)
8688 S_backup_one_WB(pTHX_ WB_enum *previous, const U8 * const strbeg, U8 **curpos, const bool utf8_target)
8689 __attribute__warn_unused_result__;
8690 # define PERL_ARGS_ASSERT_BACKUP_ONE_WB \
8691 assert(previous); assert(strbeg); assert(curpos)
8694 S_find_byclass(pTHX_ regexp *prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
8695 __attribute__warn_unused_result__;
8696 # define PERL_ARGS_ASSERT_FIND_BYCLASS \
8697 assert(prog); assert(c); assert(s); assert(strend)
8700 S_find_next_masked(U8 *s, const U8 *send, const U8 byte, const U8 mask)
8701 __attribute__warn_unused_result__;
8702 # define PERL_ARGS_ASSERT_FIND_NEXT_MASKED \
8703 assert(s); assert(send)
8706 S_find_span_end(U8 *s, const U8 *send, const U8 span_byte)
8707 __attribute__warn_unused_result__;
8708 # define PERL_ARGS_ASSERT_FIND_SPAN_END \
8709 assert(s); assert(send)
8712 S_find_span_end_mask(U8 *s, const U8 *send, const U8 span_byte, const U8 mask)
8713 __attribute__warn_unused_result__;
8714 # define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK \
8715 assert(s); assert(send)
8718 S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
8719 __attribute__warn_unused_result__;
8720 # define PERL_ARGS_ASSERT_ISFOO_LC
8723 S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8 *character, const U8 *e)
8724 __attribute__warn_unused_result__;
8725 # define PERL_ARGS_ASSERT_ISFOO_UTF8_LC \
8726 assert(character); assert(e)
8729 S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
8730 __attribute__warn_unused_result__;
8731 # define PERL_ARGS_ASSERT_ISGCB \
8732 assert(strbeg); assert(curpos)
8735 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)
8736 __attribute__warn_unused_result__;
8737 # define PERL_ARGS_ASSERT_ISLB \
8738 assert(strbeg); assert(curpos); assert(strend)
8741 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)
8742 __attribute__warn_unused_result__;
8743 # define PERL_ARGS_ASSERT_ISSB \
8744 assert(strbeg); assert(curpos); assert(strend)
8747 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)
8748 __attribute__warn_unused_result__;
8749 # define PERL_ARGS_ASSERT_ISWB \
8750 assert(strbeg); assert(curpos); assert(strend)
8753 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
8754 __attribute__warn_unused_result__;
8755 # define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
8756 assert(rex); assert(scan)
8759 S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p comma_pDEPTH);
8760 # define PERL_ARGS_ASSERT_REGCP_RESTORE \
8761 assert(rex); assert(maxopenparen_p)
8764 S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p comma_pDEPTH);
8765 # define PERL_ARGS_ASSERT_REGCPPOP \
8766 assert(rex); assert(maxopenparen_p)
8769 S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen comma_pDEPTH);
8770 # define PERL_ARGS_ASSERT_REGCPPUSH \
8774 S_reghop3(U8 *s, SSize_t off, const U8 *lim)
8775 __attribute__warn_unused_result__;
8776 # define PERL_ARGS_ASSERT_REGHOP3 \
8777 assert(s); assert(lim)
8780 S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
8781 __attribute__warn_unused_result__;
8782 # define PERL_ARGS_ASSERT_REGHOP4 \
8783 assert(s); assert(llim); assert(rlim)
8786 S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
8787 __attribute__warn_unused_result__;
8788 # define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
8789 assert(s); assert(lim)
8792 S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
8793 __attribute__warn_unused_result__;
8794 # define PERL_ARGS_ASSERT_REGINCLASS \
8795 assert(n); assert(p); assert(p_end)
8798 S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
8799 __attribute__warn_unused_result__;
8800 # define PERL_ARGS_ASSERT_REGMATCH \
8801 assert(reginfo); assert(startpos); assert(prog)
8804 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info * const reginfo, I32 max comma_pDEPTH)
8805 __attribute__warn_unused_result__;
8806 # define PERL_ARGS_ASSERT_REGREPEAT \
8807 assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo); \
8811 S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
8812 __attribute__warn_unused_result__;
8813 # define PERL_ARGS_ASSERT_REGTRY \
8814 assert(reginfo); assert(startposp)
8817 S_to_byte_substr(pTHX_ regexp *prog);
8818 # define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
8822 S_to_utf8_substr(pTHX_ regexp *prog);
8823 # define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
8826 # if defined(DEBUGGING)
8828 S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
8829 # define PERL_ARGS_ASSERT_DEBUG_START_MATCH \
8830 assert(prog); assert(start); assert(end); assert(blurb)
8833 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);
8834 # define PERL_ARGS_ASSERT_DUMP_EXEC_POS \
8835 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); \
8836 assert(loc_reg_starttry)
8839 Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
8840 __attribute__visibility__("hidden");
8841 # define PERL_ARGS_ASSERT_RE_EXEC_INDENTF \
8844 # endif /* defined(DEBUGGING) */
8845 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8846 PERL_STATIC_INLINE void
8847 S_capture_clear(pTHX_ regexp *rex, U16 from_ix, U16 to_ix, const char *str comma_pDEPTH);
8848 # define PERL_ARGS_ASSERT_CAPTURE_CLEAR \
8849 assert(rex); assert(str)
8851 PERL_STATIC_INLINE I32
8852 S_foldEQ_latin1_s2_folded(pTHX_ const char *a, const char *b, I32 len);
8853 # define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED \
8854 assert(a); assert(b)
8856 PERL_STATIC_INLINE void
8857 S_unwind_paren(pTHX_ regexp *rex, U32 lp, U32 lcp comma_pDEPTH);
8858 # define PERL_ARGS_ASSERT_UNWIND_PAREN \
8861 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8862 #endif /* defined(PERL_IN_REGEXEC_C) */
8863 #if defined(PERL_IN_REGEX_ENGINE)
8865 # if defined(DEBUGGING)
8867 Perl_debug_peep(pTHX_ const char *str, const RExC_state_t *pRExC_state, regnode *scan, U32 depth, U32 flags)
8868 __attribute__visibility__("hidden");
8869 # define PERL_ARGS_ASSERT_DEBUG_PEEP \
8870 assert(str); assert(pRExC_state)
8873 Perl_debug_show_study_flags(pTHX_ U32 flags, const char *open_str, const char *close_str)
8874 __attribute__visibility__("hidden");
8875 # define PERL_ARGS_ASSERT_DEBUG_SHOW_STUDY_FLAGS \
8876 assert(open_str); assert(close_str)
8879 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)
8880 __attribute__visibility__("hidden");
8881 # define PERL_ARGS_ASSERT_DEBUG_STUDYDATA \
8884 PERL_CALLCONV const regnode *
8885 Perl_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV *sv, I32 indent, U32 depth)
8886 __attribute__visibility__("hidden");
8887 # define PERL_ARGS_ASSERT_DUMPUNTIL \
8888 assert(r); assert(start); assert(node); assert(sv)
8891 Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
8892 __attribute__visibility__("hidden");
8893 # define PERL_ARGS_ASSERT_RE_INDENTF \
8897 Perl_re_printf(pTHX_ const char *fmt, ...)
8898 __attribute__visibility__("hidden")
8899 __attribute__format__(__printf__,pTHX_1,pTHX_2);
8900 # define PERL_ARGS_ASSERT_RE_PRINTF \
8904 Perl_regprop(pTHX_ const regexp *prog, SV *sv, const regnode *o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
8905 __attribute__visibility__("hidden");
8906 # define PERL_ARGS_ASSERT_REGPROP \
8907 assert(sv); assert(o)
8909 # endif /* defined(DEBUGGING) */
8910 # if defined(PERL_EXT_RE_BUILD)
8912 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)
8913 __attribute__visibility__("hidden");
8914 # define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
8919 Perl_get_regclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
8920 __attribute__visibility__("hidden");
8921 # define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA \
8925 # if !defined(PERL_NO_INLINE_FUNCTIONS)
8926 PERL_STATIC_INLINE bool
8927 Perl_check_regnode_after(pTHX_ const regnode *p, const STRLEN extra)
8928 __attribute__warn_unused_result__;
8929 # define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
8931 PERL_STATIC_INLINE regnode *
8932 Perl_regnext(pTHX_ const regnode *p)
8933 __attribute__warn_unused_result__;
8934 # define PERL_ARGS_ASSERT_REGNEXT
8936 PERL_STATIC_INLINE regnode *
8937 Perl_regnode_after(pTHX_ const regnode *p, bool varies)
8938 __attribute__warn_unused_result__;
8939 # define PERL_ARGS_ASSERT_REGNODE_AFTER
8941 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
8942 #endif /* defined(PERL_IN_REGEX_ENGINE) */
8943 #if defined(PERL_IN_SCOPE_C)
8945 S_save_pushptri32ptr(pTHX_ void * const ptr1, const I32 i, void * const ptr2, const int type);
8946 # define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
8949 S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
8950 # define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
8953 #endif /* defined(PERL_IN_SCOPE_C) */
8954 #if defined(PERL_IN_SV_C)
8956 S_F0convert(NV nv, char * const endbuf, STRLEN * const len);
8957 # define PERL_ARGS_ASSERT_F0CONVERT \
8958 assert(endbuf); assert(len)
8961 S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
8962 # define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE \
8963 assert(gv); assert(cv)
8966 S_assert_uft8_cache_coherent(pTHX_ const char * const func, STRLEN from_cache, STRLEN real, SV * const sv);
8967 # define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \
8968 assert(func); assert(sv)
8971 S_curse(pTHX_ SV * const sv, const bool check_refcnt);
8972 # define PERL_ARGS_ASSERT_CURSE \
8976 S_expect_number(pTHX_ const char ** const pattern)
8977 __attribute__warn_unused_result__;
8978 # define PERL_ARGS_ASSERT_EXPECT_NUMBER \
8982 S_find_array_subscript(pTHX_ const AV * const av, const SV * const val);
8983 # define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \
8987 S_find_hash_subscript(pTHX_ const HV * const hv, const SV * const val);
8988 # define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \
8992 S_find_uninit_var(pTHX_ const OP * const obase, const SV * const uninit_sv, bool match, const char **desc_p);
8993 # define PERL_ARGS_ASSERT_FIND_UNINIT_VAR \
8997 S_glob_2number(pTHX_ GV * const gv);
8998 # define PERL_ARGS_ASSERT_GLOB_2NUMBER \
9002 S_glob_assign_glob(pTHX_ SV * const dsv, SV * const ssv, const int dtype);
9003 # define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \
9004 assert(dsv); assert(ssv)
9008 # define PERL_ARGS_ASSERT_MORE_SV
9011 S_not_a_number(pTHX_ SV * const sv);
9012 # define PERL_ARGS_ASSERT_NOT_A_NUMBER \
9016 S_not_incrementable(pTHX_ SV * const sv);
9017 # define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \
9020 STATIC PTR_TBL_ENT_t *
9021 S_ptr_table_find(PTR_TBL_t * const tbl, const void * const sv)
9022 __attribute__warn_unused_result__;
9023 # define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
9027 S_sv_2iuv_common(pTHX_ SV * const sv);
9028 # define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
9032 S_sv_add_arena(pTHX_ char * const ptr, const U32 size, const U32 flags);
9033 # define PERL_ARGS_ASSERT_SV_ADD_ARENA \
9037 S_sv_display(pTHX_ SV * const sv, char *tmpbuf, STRLEN tmpbuf_size);
9038 # define PERL_ARGS_ASSERT_SV_DISPLAY \
9039 assert(sv); assert(tmpbuf)
9042 S_sv_pos_b2u_midway(pTHX_ const U8 * const s, const U8 * const target, const U8 *end, STRLEN endu);
9043 # define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \
9044 assert(s); assert(target); assert(end)
9047 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);
9048 # define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \
9049 assert(sv); assert(mgp); assert(start); assert(send)
9052 S_sv_pos_u2b_forwards(const U8 * const start, const U8 * const send, STRLEN * const uoffset, bool * const at_end, bool *canonical_position);
9053 # define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \
9054 assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
9057 S_sv_pos_u2b_midway(const U8 * const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
9058 # define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \
9059 assert(start); assert(send)
9062 S_utf8_mg_len_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN ulen);
9063 # define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \
9064 assert(sv); assert(mgp)
9067 S_utf8_mg_pos_cache_update(pTHX_ SV * const sv, MAGIC ** const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
9068 # define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
9069 assert(sv); assert(mgp)
9072 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
9073 # define PERL_ARGS_ASSERT_VISIT \
9076 # if defined(DEBUGGING)
9078 S_del_sv(pTHX_ SV *p);
9079 # define PERL_ARGS_ASSERT_DEL_SV \
9083 Perl_sv_mark_arenas(pTHX)
9084 __attribute__visibility__("hidden");
9085 # define PERL_ARGS_ASSERT_SV_MARK_ARENAS
9088 Perl_sv_sweep_arenas(pTHX)
9089 __attribute__visibility__("hidden");
9090 # define PERL_ARGS_ASSERT_SV_SWEEP_ARENAS
9092 # endif /* defined(DEBUGGING) */
9093 # if !defined(NV_PRESERVES_UV)
9094 # if defined(DEBUGGING)
9096 S_sv_2iuv_non_preserve(pTHX_ SV * const sv, I32 numtype);
9097 # define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9102 S_sv_2iuv_non_preserve(pTHX_ SV * const sv);
9103 # define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
9107 # endif /* !defined(NV_PRESERVES_UV) */
9108 # if defined(PERL_DEBUG_READONLY_COW)
9110 S_sv_buf_to_rw(pTHX_ SV *sv);
9111 # define PERL_ARGS_ASSERT_SV_BUF_TO_RW \
9115 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9116 PERL_STATIC_INLINE void
9117 S_sv_unglob(pTHX_ SV * const sv, U32 flags);
9118 # define PERL_ARGS_ASSERT_SV_UNGLOB \
9121 PERL_STATIC_INLINE char *
9122 S_uiv_2buf(char * const buf, const IV iv, UV uv, const int is_uv, char ** const peob)
9123 __attribute__warn_unused_result__;
9124 # define PERL_ARGS_ASSERT_UIV_2BUF \
9125 assert(buf); assert(peob)
9127 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9128 # if defined(USE_ITHREADS)
9130 S_sv_dup_common(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
9131 __attribute__warn_unused_result__;
9132 # define PERL_ARGS_ASSERT_SV_DUP_COMMON \
9133 assert(ssv); assert(param)
9136 S_sv_dup_hvaux(pTHX_ const SV * const ssv, SV *dsv, CLONE_PARAMS * const param);
9137 # define PERL_ARGS_ASSERT_SV_DUP_HVAUX \
9138 assert(ssv); assert(dsv); assert(param)
9141 S_sv_dup_inc_multiple(pTHX_ SV * const *source, SV **dest, SSize_t items, CLONE_PARAMS * const param);
9142 # define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \
9143 assert(source); assert(dest); assert(param)
9146 S_unreferenced_to_tmp_stack(pTHX_ AV * const unreferenced);
9147 # define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \
9148 assert(unreferenced)
9150 # endif /* defined(USE_ITHREADS) */
9151 #endif /* defined(PERL_IN_SV_C) */
9152 #if defined(PERL_IN_TOKE_C)
9154 S_ao(pTHX_ int toketype);
9155 # define PERL_ARGS_ASSERT_AO
9159 # define PERL_ARGS_ASSERT_CHECK_UNI
9162 S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
9163 # define PERL_ARGS_ASSERT_CHECKCOMMA \
9164 assert(s); assert(name); assert(what)
9167 S_filter_gets(pTHX_ SV *sv, STRLEN append)
9168 __attribute__warn_unused_result__;
9169 # define PERL_ARGS_ASSERT_FILTER_GETS \
9173 S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
9174 __attribute__warn_unused_result__;
9175 # define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \
9179 S_force_ident(pTHX_ const char *s, int kind);
9180 # define PERL_ARGS_ASSERT_FORCE_IDENT \
9184 S_force_ident_maybe_lex(pTHX_ char pit);
9185 # define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
9188 S_force_next(pTHX_ I32 type);
9189 # define PERL_ARGS_ASSERT_FORCE_NEXT
9192 S_force_strict_version(pTHX_ char *s);
9193 # define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \
9197 S_force_version(pTHX_ char *s, int guessing);
9198 # define PERL_ARGS_ASSERT_FORCE_VERSION \
9202 S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
9203 # define PERL_ARGS_ASSERT_FORCE_WORD \
9207 S_get_and_check_backslash_N_name_wrapper(pTHX_ const char *s, const char * const e)
9208 __attribute__warn_unused_result__;
9209 # define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
9210 assert(s); assert(e)
9213 S_incline(pTHX_ const char *s, const char *end);
9214 # define PERL_ARGS_ASSERT_INCLINE \
9215 assert(s); assert(end)
9218 S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
9219 # define PERL_ARGS_ASSERT_INTUIT_METHOD \
9223 S_intuit_more(pTHX_ char *s, char *e);
9224 # define PERL_ARGS_ASSERT_INTUIT_MORE \
9225 assert(s); assert(e)
9228 S_lop(pTHX_ I32 f, U8 x, char *s);
9229 # define PERL_ARGS_ASSERT_LOP \
9232 PERL_STATIC_NO_RET void
9233 S_missingterm(pTHX_ char *s, STRLEN len)
9234 __attribute__noreturn__;
9235 # define PERL_ARGS_ASSERT_MISSINGTERM
9238 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);
9239 # define PERL_ARGS_ASSERT_NEW_CONSTANT \
9240 assert(key); assert(sv)
9243 S_no_op(pTHX_ const char * const what, char *s);
9244 # define PERL_ARGS_ASSERT_NO_OP \
9248 S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
9249 # define PERL_ARGS_ASSERT_PARSE_IDENT \
9250 assert(s); assert(d); assert(e)
9253 S_pending_ident(pTHX);
9254 # define PERL_ARGS_ASSERT_PENDING_IDENT
9257 S_scan_const(pTHX_ char *start)
9258 __attribute__warn_unused_result__;
9259 # define PERL_ARGS_ASSERT_SCAN_CONST \
9263 S_scan_formline(pTHX_ char *s)
9264 __attribute__warn_unused_result__;
9265 # define PERL_ARGS_ASSERT_SCAN_FORMLINE \
9269 S_scan_heredoc(pTHX_ char *s)
9270 __attribute__warn_unused_result__;
9271 # define PERL_ARGS_ASSERT_SCAN_HEREDOC \
9275 S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
9276 # define PERL_ARGS_ASSERT_SCAN_IDENT \
9277 assert(s); assert(dest)
9280 S_scan_inputsymbol(pTHX_ char *start)
9281 __attribute__warn_unused_result__;
9282 # define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \
9286 S_scan_pat(pTHX_ char *start, I32 type)
9287 __attribute__warn_unused_result__;
9288 # define PERL_ARGS_ASSERT_SCAN_PAT \
9292 S_scan_subst(pTHX_ char *start)
9293 __attribute__warn_unused_result__;
9294 # define PERL_ARGS_ASSERT_SCAN_SUBST \
9298 S_scan_trans(pTHX_ char *start)
9299 __attribute__warn_unused_result__;
9300 # define PERL_ARGS_ASSERT_SCAN_TRANS \
9305 __attribute__warn_unused_result__;
9306 # define PERL_ARGS_ASSERT_SUBLEX_DONE
9310 __attribute__warn_unused_result__;
9311 # define PERL_ARGS_ASSERT_SUBLEX_PUSH
9314 S_sublex_start(pTHX)
9315 __attribute__warn_unused_result__;
9316 # define PERL_ARGS_ASSERT_SUBLEX_START
9319 S_swallow_bom(pTHX_ U8 *s)
9320 __attribute__warn_unused_result__;
9321 # define PERL_ARGS_ASSERT_SWALLOW_BOM \
9325 S_tokenize_use(pTHX_ int is_use, char *s)
9326 __attribute__warn_unused_result__;
9327 # define PERL_ARGS_ASSERT_TOKENIZE_USE \
9331 S_tokeq(pTHX_ SV *sv);
9332 # define PERL_ARGS_ASSERT_TOKEQ \
9336 S_update_debugger_info(pTHX_ SV *orig_sv, const char * const buf, STRLEN len);
9337 # define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
9340 S_yywarn(pTHX_ const char * const s, U32 flags);
9341 # define PERL_ARGS_ASSERT_YYWARN \
9344 # if defined(DEBUGGING)
9346 S_printbuf(pTHX_ const char * const fmt, const char * const s)
9347 __attribute__format__(__printf__,pTHX_1,0);
9348 # define PERL_ARGS_ASSERT_PRINTBUF \
9349 assert(fmt); assert(s)
9352 S_tokereport(pTHX_ I32 rv, const YYSTYPE *lvalp);
9353 # define PERL_ARGS_ASSERT_TOKEREPORT \
9356 # endif /* defined(DEBUGGING) */
9357 # if defined(PERL_CR_FILTER)
9359 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
9360 # define PERL_ARGS_ASSERT_CR_TEXTFILTER
9363 S_strip_return(pTHX_ SV *sv);
9364 # define PERL_ARGS_ASSERT_STRIP_RETURN \
9367 # endif /* defined(PERL_CR_FILTER) */
9368 # if !defined(PERL_NO_UTF16_FILTER)
9370 S_add_utf16_textfilter(pTHX_ U8 * const s, bool reversed);
9371 # define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
9375 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
9376 # define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
9379 # endif /* !defined(PERL_NO_UTF16_FILTER) */
9380 #endif /* defined(PERL_IN_TOKE_C) */
9381 #if defined(PERL_IN_UNIVERSAL_C)
9383 S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char *name, STRLEN len, U32 flags);
9386 S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char *name, const STRLEN len, U32 flags);
9389 #if defined(PERL_IN_UTF8_C)
9391 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);
9392 # define PERL_ARGS_ASSERT__TO_UTF8_CASE \
9393 assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
9396 S_check_locale_boundary_crossing(pTHX_ const U8 * const p, const UV result, U8 * const ustrp, STRLEN *lenp)
9397 __attribute__warn_unused_result__;
9398 # define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
9399 assert(p); assert(ustrp); assert(lenp)
9402 S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
9403 __attribute__warn_unused_result__;
9404 # define PERL_ARGS_ASSERT_NEW_MSG_HV \
9408 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);
9409 # define PERL_ARGS_ASSERT_TO_CASE_CP_LIST \
9410 assert(invlist); assert(invmap); assert(normal)
9413 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
9414 __attribute__warn_unused_result__;
9415 # define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
9418 S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9419 # define PERL_ARGS_ASSERT_TURKIC_FC \
9420 assert(p); assert(e); assert(ustrp); assert(lenp)
9423 S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9424 # define PERL_ARGS_ASSERT_TURKIC_LC \
9425 assert(p0); assert(e); assert(ustrp); assert(lenp)
9428 S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8 *ustrp, STRLEN *lenp);
9429 # define PERL_ARGS_ASSERT_TURKIC_UC \
9430 assert(p); assert(e); assert(ustrp); assert(lenp)
9433 S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
9434 __attribute__warn_unused_result__;
9435 # define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT \
9440 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);
9441 # define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE \
9442 assert(name); assert(alternative); assert(file)
9445 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9446 PERL_STATIC_INLINE int
9447 S_does_utf8_overflow(const U8 * const s, const U8 *e, const bool consider_overlongs)
9448 __attribute__warn_unused_result__;
9449 # define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW \
9450 assert(s); assert(e)
9452 PERL_STATIC_INLINE int
9453 S_isFF_overlong(const U8 * const s, const STRLEN len)
9454 __attribute__warn_unused_result__;
9455 # define PERL_ARGS_ASSERT_ISFF_OVERLONG \
9458 PERL_STATIC_INLINE bool
9459 S_is_utf8_common(pTHX_ const U8 * const p, const U8 * const e, SV * const invlist)
9460 __attribute__warn_unused_result__;
9461 # define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
9462 assert(p); assert(e)
9464 PERL_STATIC_INLINE int
9465 S_is_utf8_overlong(const U8 * const s, const STRLEN len)
9466 __attribute__warn_unused_result__;
9467 # define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG \
9470 # endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
9471 #endif /* defined(PERL_IN_UTF8_C) */
9472 #if defined(PERL_IN_UTIL_C)
9474 S_ckwarn_common(pTHX_ U32 w);
9475 # define PERL_ARGS_ASSERT_CKWARN_COMMON
9479 # define PERL_ARGS_ASSERT_MESS_ALLOC
9482 S_with_queued_errors(pTHX_ SV *ex);
9483 # define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \
9487 S_xs_version_bootcheck(pTHX_ SSize_t items, SSize_t ax, const char *xs_p, STRLEN xs_len);
9488 # define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK \
9491 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9493 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);
9494 # define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
9495 assert(type_name); assert(filename); assert(funcname)
9498 # if !defined(PERL_NO_INLINE_FUNCTIONS)
9499 PERL_STATIC_INLINE U32
9501 # define PERL_ARGS_ASSERT_PTR_HASH
9504 # if defined(PERL_USES_PL_PIDSTATUS)
9506 S_pidgone(pTHX_ Pid_t pid, int status);
9507 # define PERL_ARGS_ASSERT_PIDGONE
9510 #endif /* defined(PERL_IN_UTIL_C) */
9511 #if defined(PERL_MEM_LOG)
9512 PERL_CALLCONV Malloc_t
9513 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);
9514 # define PERL_ARGS_ASSERT_MEM_LOG_ALLOC \
9515 assert(type_name); assert(filename); assert(funcname)
9518 Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9519 # define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
9520 assert(sv); assert(filename); assert(funcname)
9522 PERL_CALLCONV Malloc_t
9523 Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
9524 # define PERL_ARGS_ASSERT_MEM_LOG_FREE \
9525 assert(filename); assert(funcname)
9528 Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
9529 # define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
9530 assert(sv); assert(filename); assert(funcname)
9532 PERL_CALLCONV Malloc_t
9533 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);
9534 # define PERL_ARGS_ASSERT_MEM_LOG_REALLOC \
9535 assert(type_name); assert(filename); assert(funcname)
9537 #endif /* defined(PERL_MEM_LOG) */
9538 #if !defined(PERL_NO_INLINE_FUNCTIONS)
9539 PERL_STATIC_INLINE I32 *
9540 Perl_CvDEPTH(const CV * const sv);
9541 # define PERL_ARGS_ASSERT_CVDEPTH \
9544 PERL_STATIC_INLINE GV *
9545 Perl_CvGV(pTHX_ CV *sv);
9546 # define PERL_ARGS_ASSERT_CVGV \
9549 PERL_STATIC_INLINE Stack_off_t
9551 # define PERL_ARGS_ASSERT_POPMARK
9553 PERL_STATIC_INLINE struct regexp *
9554 Perl_ReANY(const REGEXP * const re);
9555 # define PERL_ARGS_ASSERT_REANY \
9558 PERL_STATIC_INLINE void
9559 Perl_SvAMAGIC_off(SV *sv);
9560 # define PERL_ARGS_ASSERT_SVAMAGIC_OFF \
9563 PERL_STATIC_INLINE void
9564 Perl_SvAMAGIC_on(SV *sv);
9565 # define PERL_ARGS_ASSERT_SVAMAGIC_ON \
9568 PERL_STATIC_INLINE void
9569 Perl_SvGETMAGIC(pTHX_ SV *sv);
9570 # define PERL_ARGS_ASSERT_SVGETMAGIC \
9573 PERL_STATIC_INLINE IV
9574 Perl_SvIV(pTHX_ SV *sv);
9575 # define PERL_ARGS_ASSERT_SVIV \
9578 PERL_STATIC_INLINE IV
9579 Perl_SvIV_nomg(pTHX_ SV *sv);
9580 # define PERL_ARGS_ASSERT_SVIV_NOMG \
9583 PERL_STATIC_INLINE NV
9584 Perl_SvNV(pTHX_ SV *sv);
9585 # define PERL_ARGS_ASSERT_SVNV \
9588 PERL_STATIC_INLINE NV
9589 Perl_SvNV_nomg(pTHX_ SV *sv);
9590 # define PERL_ARGS_ASSERT_SVNV_NOMG \
9593 PERL_STATIC_FORCE_INLINE bool
9594 Perl_SvPVXtrue(pTHX_ SV *sv)
9595 __attribute__always_inline__;
9596 # define PERL_ARGS_ASSERT_SVPVXTRUE \
9599 PERL_STATIC_INLINE void
9600 Perl_SvREFCNT_dec(pTHX_ SV *sv);
9601 # define PERL_ARGS_ASSERT_SVREFCNT_DEC
9603 PERL_STATIC_INLINE void
9604 Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
9605 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN \
9608 PERL_STATIC_INLINE SV *
9609 Perl_SvREFCNT_dec_ret_NULL(pTHX_ SV *sv);
9610 # define PERL_ARGS_ASSERT_SVREFCNT_DEC_RET_NULL
9612 PERL_STATIC_INLINE SV *
9613 Perl_SvREFCNT_inc(SV *sv);
9614 # define PERL_ARGS_ASSERT_SVREFCNT_INC
9616 PERL_STATIC_INLINE SV *
9617 Perl_SvREFCNT_inc_NN(SV *sv);
9618 # define PERL_ARGS_ASSERT_SVREFCNT_INC_NN \
9621 PERL_STATIC_INLINE void
9622 Perl_SvREFCNT_inc_void(SV *sv);
9623 # define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
9625 PERL_STATIC_INLINE bool
9626 Perl_SvTRUE(pTHX_ SV *sv);
9627 # define PERL_ARGS_ASSERT_SVTRUE
9629 PERL_STATIC_INLINE bool
9630 Perl_SvTRUE_NN(pTHX_ SV *sv);
9631 # define PERL_ARGS_ASSERT_SVTRUE_NN \
9634 PERL_STATIC_INLINE bool
9635 Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
9636 # define PERL_ARGS_ASSERT_SVTRUE_COMMON \
9639 PERL_STATIC_INLINE bool
9640 Perl_SvTRUE_nomg(pTHX_ SV *sv);
9641 # define PERL_ARGS_ASSERT_SVTRUE_NOMG
9643 PERL_STATIC_INLINE UV
9644 Perl_SvUV(pTHX_ SV *sv);
9645 # define PERL_ARGS_ASSERT_SVUV \
9648 PERL_STATIC_INLINE UV
9649 Perl_SvUV_nomg(pTHX_ SV *sv);
9650 # define PERL_ARGS_ASSERT_SVUV_NOMG \
9653 PERL_STATIC_INLINE Stack_off_t
9655 # define PERL_ARGS_ASSERT_TOPMARK
9657 PERL_STATIC_INLINE void
9658 Perl_append_utf8_from_native_byte(const U8 byte, U8 **dest);
9659 # define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
9662 PERL_STATIC_INLINE Size_t
9663 Perl_av_count(pTHX_ AV *av)
9664 __attribute__warn_unused_result__;
9665 # define PERL_ARGS_ASSERT_AV_COUNT \
9668 PERL_STATIC_INLINE SV **
9669 Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
9670 __attribute__warn_unused_result__;
9671 # define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE \
9674 PERL_STATIC_INLINE AV *
9675 Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
9676 __attribute__warn_unused_result__;
9677 # define PERL_ARGS_ASSERT_AV_NEW_ALLOC
9679 PERL_STATIC_INLINE void
9680 Perl_av_push_simple(pTHX_ AV *av, SV *val);
9681 # define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE \
9682 assert(av); assert(val)
9684 PERL_STATIC_INLINE void
9685 Perl_av_remove_offset(pTHX_ AV *av);
9686 # define PERL_ARGS_ASSERT_AV_REMOVE_OFFSET \
9689 PERL_STATIC_INLINE SV **
9690 Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
9691 # define PERL_ARGS_ASSERT_AV_STORE_SIMPLE \
9694 PERL_STATIC_INLINE void
9695 Perl_clear_defarray_simple(pTHX_ AV *av);
9696 # define PERL_ARGS_ASSERT_CLEAR_DEFARRAY_SIMPLE \
9699 PERL_STATIC_INLINE I32
9700 Perl_foldEQ(pTHX_ const char *a, const char *b, I32 len);
9701 # define PERL_ARGS_ASSERT_FOLDEQ \
9702 assert(a); assert(b)
9704 PERL_STATIC_INLINE I32
9705 Perl_foldEQ_latin1(pTHX_ const char *a, const char *b, I32 len);
9706 # define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
9707 assert(a); assert(b)
9709 PERL_STATIC_INLINE I32
9710 Perl_foldEQ_locale(pTHX_ const char *a, const char *b, I32 len);
9711 # define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
9712 assert(a); assert(b)
9714 PERL_STATIC_INLINE MGVTBL *
9715 Perl_get_vtbl(pTHX_ int vtbl_id)
9716 __attribute__warn_unused_result__;
9717 # define PERL_ARGS_ASSERT_GET_VTBL
9719 PERL_STATIC_INLINE Size_t
9720 Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9721 __attribute__warn_unused_result__;
9722 # define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR \
9723 assert(s0); assert(e)
9725 PERL_STATIC_INLINE Size_t
9726 Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
9727 __attribute__warn_unused_result__;
9728 # define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR \
9729 assert(s0); assert(e)
9731 PERL_STATIC_INLINE Size_t
9732 Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
9733 __attribute__warn_unused_result__;
9734 # define PERL_ARGS_ASSERT_ISUTF8_CHAR \
9735 assert(s0); assert(e)
9737 PERL_STATIC_INLINE Size_t
9738 Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9739 __attribute__warn_unused_result__;
9740 # define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS \
9741 assert(s0); assert(e)
9743 PERL_STATIC_INLINE bool
9744 Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9745 # define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
9748 PERL_STATIC_INLINE bool
9749 Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
9750 __attribute__warn_unused_result__;
9751 # define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \
9752 assert(pv); assert(what); assert(op_name)
9754 PERL_STATIC_INLINE bool
9755 Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9756 # define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
9759 PERL_STATIC_INLINE bool
9760 Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9761 # define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
9764 PERL_STATIC_INLINE bool
9765 Perl_is_utf8_invariant_string_loc(const U8 * const s, STRLEN len, const U8 **ep)
9766 __attribute__warn_unused_result__;
9767 # define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC \
9770 PERL_STATIC_INLINE bool
9771 Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
9772 __attribute__warn_unused_result__;
9773 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS \
9776 PERL_STATIC_INLINE bool
9777 Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
9778 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
9781 PERL_STATIC_INLINE bool
9782 Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
9783 # define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
9786 PERL_STATIC_INLINE bool
9787 Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
9788 __attribute__warn_unused_result__;
9789 # define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
9790 assert(s0); assert(e)
9792 PERL_STATIC_INLINE unsigned
9793 Perl_lsbit_pos32(U32 word)
9794 __attribute__warn_unused_result__;
9795 # define PERL_ARGS_ASSERT_LSBIT_POS32
9797 PERL_STATIC_INLINE char *
9798 Perl_mortal_getenv(const char *str)
9799 __attribute__warn_unused_result__;
9800 # define PERL_ARGS_ASSERT_MORTAL_GETENV \
9803 PERL_STATIC_INLINE unsigned
9804 Perl_msbit_pos32(U32 word)
9805 __attribute__warn_unused_result__;
9806 # define PERL_ARGS_ASSERT_MSBIT_POS32
9808 PERL_STATIC_INLINE OP *
9809 Perl_newPADxVOP(pTHX_ I32 type, I32 flags, PADOFFSET padix)
9810 __attribute__warn_unused_result__;
9811 # define PERL_ARGS_ASSERT_NEWPADXVOP
9813 PERL_STATIC_INLINE SV *
9814 Perl_newRV_noinc(pTHX_ SV * const tmpRef)
9815 __attribute__warn_unused_result__;
9816 # define PERL_ARGS_ASSERT_NEWRV_NOINC \
9819 PERL_STATIC_INLINE SV *
9820 Perl_newSV_type(pTHX_ const svtype type)
9821 __attribute__warn_unused_result__;
9822 # define PERL_ARGS_ASSERT_NEWSV_TYPE
9824 PERL_STATIC_FORCE_INLINE SV *
9825 Perl_newSV_type_mortal(pTHX_ const svtype type)
9826 __attribute__warn_unused_result__
9827 __attribute__always_inline__;
9828 # define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
9830 PERL_STATIC_INLINE void
9831 Perl_pop_stackinfo(pTHX);
9832 # define PERL_ARGS_ASSERT_POP_STACKINFO
9834 PERL_STATIC_INLINE void
9835 Perl_push_stackinfo(pTHX_ I32 type, UV flags);
9836 # define PERL_ARGS_ASSERT_PUSH_STACKINFO
9838 PERL_STATIC_INLINE void
9839 Perl_rpp_context(pTHX_ SV **mark, U8 gimme, SSize_t extra);
9840 # define PERL_ARGS_ASSERT_RPP_CONTEXT \
9843 PERL_STATIC_INLINE void
9844 Perl_rpp_extend(pTHX_ SSize_t n);
9845 # define PERL_ARGS_ASSERT_RPP_EXTEND
9847 PERL_STATIC_INLINE void
9848 Perl_rpp_invoke_xs(pTHX_ CV *cv);
9849 # define PERL_ARGS_ASSERT_RPP_INVOKE_XS \
9852 PERL_STATIC_INLINE bool
9853 Perl_rpp_is_lone(pTHX_ SV *sv);
9854 # define PERL_ARGS_ASSERT_RPP_IS_LONE \
9857 PERL_STATIC_INLINE SV *
9858 Perl_rpp_pop_1_norc(pTHX);
9859 # define PERL_ARGS_ASSERT_RPP_POP_1_NORC
9861 PERL_STATIC_INLINE void
9862 Perl_rpp_popfree_1(pTHX);
9863 # define PERL_ARGS_ASSERT_RPP_POPFREE_1
9865 PERL_STATIC_INLINE void
9866 Perl_rpp_popfree_1_NN(pTHX);
9867 # define PERL_ARGS_ASSERT_RPP_POPFREE_1_NN
9869 PERL_STATIC_INLINE void
9870 Perl_rpp_popfree_2(pTHX);
9871 # define PERL_ARGS_ASSERT_RPP_POPFREE_2
9873 PERL_STATIC_INLINE void
9874 Perl_rpp_popfree_2_NN(pTHX);
9875 # define PERL_ARGS_ASSERT_RPP_POPFREE_2_NN
9877 PERL_STATIC_INLINE void
9878 Perl_rpp_popfree_to(pTHX_ SV **sp);
9879 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO \
9882 PERL_STATIC_INLINE void
9883 Perl_rpp_popfree_to_NN(pTHX_ SV **sp);
9884 # define PERL_ARGS_ASSERT_RPP_POPFREE_TO_NN \
9887 PERL_STATIC_INLINE void
9888 Perl_rpp_push_1(pTHX_ SV *sv);
9889 # define PERL_ARGS_ASSERT_RPP_PUSH_1 \
9892 PERL_STATIC_INLINE void
9893 Perl_rpp_push_1_norc(pTHX_ SV *sv);
9894 # define PERL_ARGS_ASSERT_RPP_PUSH_1_NORC \
9897 PERL_STATIC_INLINE void
9898 Perl_rpp_push_2(pTHX_ SV *sv1, SV *sv2);
9899 # define PERL_ARGS_ASSERT_RPP_PUSH_2 \
9900 assert(sv1); assert(sv2)
9902 PERL_STATIC_INLINE void
9903 Perl_rpp_push_IMM(pTHX_ SV *sv);
9904 # define PERL_ARGS_ASSERT_RPP_PUSH_IMM \
9907 PERL_STATIC_INLINE void
9908 Perl_rpp_replace_1_1(pTHX_ SV *sv);
9909 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1 \
9912 PERL_STATIC_INLINE void
9913 Perl_rpp_replace_1_1_NN(pTHX_ SV *sv);
9914 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_1_NN \
9917 PERL_STATIC_INLINE void
9918 Perl_rpp_replace_1_IMM_NN(pTHX_ SV *sv);
9919 # define PERL_ARGS_ASSERT_RPP_REPLACE_1_IMM_NN \
9922 PERL_STATIC_INLINE void
9923 Perl_rpp_replace_2_1(pTHX_ SV *sv);
9924 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1 \
9927 PERL_STATIC_INLINE void
9928 Perl_rpp_replace_2_1_COMMON(pTHX_ SV *sv);
9929 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_COMMON \
9932 PERL_STATIC_INLINE void
9933 Perl_rpp_replace_2_1_NN(pTHX_ SV *sv);
9934 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_1_NN \
9937 PERL_STATIC_INLINE void
9938 Perl_rpp_replace_2_IMM_NN(pTHX_ SV *sv);
9939 # define PERL_ARGS_ASSERT_RPP_REPLACE_2_IMM_NN \
9942 PERL_STATIC_INLINE void
9943 Perl_rpp_replace_at(pTHX_ SV **sp, SV *sv);
9944 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT \
9945 assert(sp); assert(sv)
9947 PERL_STATIC_INLINE void
9948 Perl_rpp_replace_at_NN(pTHX_ SV **sp, SV *sv);
9949 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NN \
9950 assert(sp); assert(sv)
9952 PERL_STATIC_INLINE void
9953 Perl_rpp_replace_at_norc(pTHX_ SV **sp, SV *sv);
9954 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC \
9955 assert(sp); assert(sv)
9957 PERL_STATIC_INLINE void
9958 Perl_rpp_replace_at_norc_NN(pTHX_ SV **sp, SV *sv);
9959 # define PERL_ARGS_ASSERT_RPP_REPLACE_AT_NORC_NN \
9960 assert(sp); assert(sv)
9962 PERL_STATIC_INLINE bool
9963 Perl_rpp_stack_is_rc(pTHX);
9964 # define PERL_ARGS_ASSERT_RPP_STACK_IS_RC
9966 PERL_STATIC_INLINE bool
9967 Perl_rpp_try_AMAGIC_1(pTHX_ int method, int flags);
9968 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_1
9970 PERL_STATIC_INLINE bool
9971 Perl_rpp_try_AMAGIC_2(pTHX_ int method, int flags);
9972 # define PERL_ARGS_ASSERT_RPP_TRY_AMAGIC_2
9974 PERL_STATIC_INLINE void
9975 Perl_rpp_xpush_1(pTHX_ SV *sv);
9976 # define PERL_ARGS_ASSERT_RPP_XPUSH_1 \
9979 PERL_STATIC_INLINE void
9980 Perl_rpp_xpush_2(pTHX_ SV *sv1, SV *sv2);
9981 # define PERL_ARGS_ASSERT_RPP_XPUSH_2 \
9982 assert(sv1); assert(sv2)
9984 PERL_STATIC_INLINE void
9985 Perl_rpp_xpush_IMM(pTHX_ SV *sv);
9986 # define PERL_ARGS_ASSERT_RPP_XPUSH_IMM \
9989 PERL_STATIC_INLINE char *
9990 Perl_savepv(pTHX_ const char *pv)
9991 __attribute__malloc__
9992 __attribute__warn_unused_result__;
9993 # define PERL_ARGS_ASSERT_SAVEPV
9995 PERL_STATIC_INLINE char *
9996 Perl_savepvn(pTHX_ const char *pv, Size_t len)
9997 __attribute__malloc__
9998 __attribute__warn_unused_result__;
9999 # define PERL_ARGS_ASSERT_SAVEPVN
10001 PERL_STATIC_INLINE char *
10002 Perl_savesharedsvpv(pTHX_ SV *sv)
10003 __attribute__malloc__
10004 __attribute__warn_unused_result__;
10005 # define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
10008 PERL_STATIC_INLINE char *
10009 Perl_savesvpv(pTHX_ SV *sv)
10010 __attribute__malloc__
10011 __attribute__warn_unused_result__;
10012 # define PERL_ARGS_ASSERT_SAVESVPV \
10015 PERL_STATIC_INLINE unsigned
10016 Perl_single_1bit_pos32(U32 word)
10017 __attribute__warn_unused_result__;
10018 # define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
10020 PERL_STATIC_INLINE bool
10021 Perl_sv_only_taint_gmagic(SV *sv);
10022 # define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC \
10025 PERL_STATIC_INLINE char *
10026 Perl_sv_pvbyten_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10027 # define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER \
10030 PERL_STATIC_INLINE char *
10031 Perl_sv_pvutf8n_force_wrapper(pTHX_ SV * const sv, STRLEN * const lp, const U32 dummy);
10032 # define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER \
10035 PERL_STATIC_INLINE char *
10036 Perl_sv_setpv_freshbuf(pTHX_ SV * const sv);
10037 # define PERL_ARGS_ASSERT_SV_SETPV_FRESHBUF \
10040 PERL_STATIC_INLINE void
10041 Perl_switch_argstack(pTHX_ AV *to);
10042 # define PERL_ARGS_ASSERT_SWITCH_ARGSTACK \
10045 PERL_STATIC_INLINE IV
10046 Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
10047 __attribute__warn_unused_result__;
10048 # define PERL_ARGS_ASSERT_UTF8_DISTANCE \
10049 assert(a); assert(b)
10051 PERL_STATIC_INLINE U8 *
10052 Perl_utf8_hop(const U8 *s, SSize_t off)
10053 __attribute__warn_unused_result__;
10054 # define PERL_ARGS_ASSERT_UTF8_HOP \
10057 PERL_STATIC_INLINE U8 *
10058 Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
10059 __attribute__warn_unused_result__;
10060 # define PERL_ARGS_ASSERT_UTF8_HOP_BACK \
10061 assert(s); assert(start)
10063 PERL_STATIC_INLINE U8 *
10064 Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
10065 __attribute__warn_unused_result__;
10066 # define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD \
10067 assert(s); assert(end)
10069 PERL_STATIC_INLINE U8 *
10070 Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
10071 __attribute__warn_unused_result__;
10072 # define PERL_ARGS_ASSERT_UTF8_HOP_SAFE \
10073 assert(s); assert(start); assert(end)
10075 PERL_STATIC_INLINE UV
10076 Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
10077 # define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER \
10078 assert(s); assert(send)
10080 PERL_STATIC_INLINE UV
10081 Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 *errors, AV **msgs);
10082 # define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS \
10085 PERL_STATIC_INLINE UV
10086 Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
10087 __attribute__warn_unused_result__;
10088 # define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR \
10091 PERL_STATIC_INLINE void
10092 Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
10093 # define PERL_ARGS_ASSERT_CX_POPBLOCK \
10096 PERL_STATIC_INLINE void
10097 Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
10098 # define PERL_ARGS_ASSERT_CX_POPEVAL \
10101 PERL_STATIC_INLINE void
10102 Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
10103 # define PERL_ARGS_ASSERT_CX_POPFORMAT \
10106 PERL_STATIC_INLINE void
10107 Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
10108 # define PERL_ARGS_ASSERT_CX_POPGIVEN \
10111 PERL_STATIC_INLINE void
10112 Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
10113 # define PERL_ARGS_ASSERT_CX_POPLOOP \
10116 PERL_STATIC_INLINE void
10117 Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
10118 # define PERL_ARGS_ASSERT_CX_POPSUB \
10121 PERL_STATIC_INLINE void
10122 Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
10123 # define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
10126 PERL_STATIC_INLINE void
10127 Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
10128 # define PERL_ARGS_ASSERT_CX_POPSUB_COMMON \
10131 PERL_STATIC_INLINE void
10132 Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
10133 # define PERL_ARGS_ASSERT_CX_POPWHEN \
10136 PERL_STATIC_INLINE PERL_CONTEXT *
10137 Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV **sp, I32 saveix);
10138 # define PERL_ARGS_ASSERT_CX_PUSHBLOCK \
10141 PERL_STATIC_INLINE void
10142 Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
10143 # define PERL_ARGS_ASSERT_CX_PUSHEVAL \
10146 PERL_STATIC_INLINE void
10147 Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
10148 # define PERL_ARGS_ASSERT_CX_PUSHFORMAT \
10149 assert(cx); assert(cv)
10151 PERL_STATIC_INLINE void
10152 Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
10153 # define PERL_ARGS_ASSERT_CX_PUSHGIVEN \
10156 PERL_STATIC_INLINE void
10157 Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
10158 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR \
10159 assert(cx); assert(itervarp)
10161 PERL_STATIC_INLINE void
10162 Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
10163 # define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN \
10166 PERL_STATIC_INLINE void
10167 Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
10168 # define PERL_ARGS_ASSERT_CX_PUSHSUB \
10169 assert(cx); assert(cv)
10171 PERL_STATIC_INLINE void
10172 Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
10173 # define PERL_ARGS_ASSERT_CX_PUSHTRY \
10176 PERL_STATIC_INLINE void
10177 Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
10178 # define PERL_ARGS_ASSERT_CX_PUSHWHEN \
10181 PERL_STATIC_INLINE void
10182 Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
10183 # define PERL_ARGS_ASSERT_CX_TOPBLOCK \
10186 PERL_STATIC_INLINE U8
10187 Perl_gimme_V(pTHX);
10188 # define PERL_ARGS_ASSERT_GIMME_V
10190 # if !defined(HAS_STRLCAT)
10191 PERL_STATIC_INLINE Size_t
10192 Perl_my_strlcat(char *dst, const char *src, Size_t size);
10193 # define PERL_ARGS_ASSERT_MY_STRLCAT
10196 # if !defined(HAS_STRNLEN)
10197 PERL_STATIC_INLINE Size_t
10198 Perl_my_strnlen(const char *str, Size_t maxlen);
10199 # define PERL_ARGS_ASSERT_MY_STRNLEN \
10203 # if defined(PERL_CORE) || defined(PERL_EXT)
10204 PERL_STATIC_INLINE bool
10205 Perl_is_utf8_non_invariant_string(const U8 * const s, STRLEN len)
10206 __attribute__warn_unused_result__;
10207 # define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \
10210 PERL_STATIC_INLINE STRLEN
10211 S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
10212 # define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B \
10213 assert(sv); assert(pv)
10215 PERL_STATIC_INLINE Size_t
10216 S_variant_under_utf8_count(const U8 * const s, const U8 * const e)
10217 __attribute__warn_unused_result__;
10218 # define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT \
10219 assert(s); assert(e)
10221 # if !defined(HAS_MEMRCHR)
10222 PERL_STATIC_INLINE void *
10223 S_my_memrchr(const char *s, const char c, const STRLEN len);
10224 # define PERL_ARGS_ASSERT_MY_MEMRCHR \
10228 # endif /* defined(PERL_CORE) || defined(PERL_EXT) */
10229 # if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
10230 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
10231 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || \
10232 defined(PERL_IN_UTF8_C)
10233 PERL_STATIC_INLINE bool
10234 S__invlist_contains_cp(SV * const invlist, const UV cp)
10235 __attribute__warn_unused_result__;
10236 # define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
10239 PERL_STATIC_INLINE UV
10240 S__invlist_len(SV * const invlist)
10241 __attribute__warn_unused_result__;
10242 # define PERL_ARGS_ASSERT__INVLIST_LEN \
10245 PERL_STATIC_INLINE bool *
10246 S_get_invlist_offset_addr(SV *invlist)
10247 __attribute__warn_unused_result__;
10248 # define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \
10251 PERL_STATIC_INLINE UV *
10252 S_invlist_array(SV * const invlist)
10253 __attribute__warn_unused_result__;
10254 # define PERL_ARGS_ASSERT_INVLIST_ARRAY \
10257 PERL_STATIC_INLINE bool
10258 S_is_invlist(const SV * const invlist)
10259 __attribute__warn_unused_result__;
10260 # define PERL_ARGS_ASSERT_IS_INVLIST
10262 # endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
10263 defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) ||
10264 defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) ||
10265 defined(PERL_IN_UTF8_C) */
10266 # if defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || \
10267 defined(PERL_IN_REGCOMP_ANY)
10268 PERL_STATIC_INLINE SV *
10269 S_add_cp_to_invlist(pTHX_ SV *invlist, const UV cp)
10270 __attribute__warn_unused_result__;
10271 # define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
10273 PERL_STATIC_INLINE void
10274 S_invlist_extend(pTHX_ SV * const invlist, const UV len);
10275 # define PERL_ARGS_ASSERT_INVLIST_EXTEND \
10278 PERL_STATIC_INLINE UV
10279 S_invlist_highest(SV * const invlist)
10280 __attribute__warn_unused_result__;
10281 # define PERL_ARGS_ASSERT_INVLIST_HIGHEST \
10284 PERL_STATIC_INLINE void
10285 S_invlist_set_len(pTHX_ SV * const invlist, const UV len, const bool offset);
10286 # define PERL_ARGS_ASSERT_INVLIST_SET_LEN \
10289 # endif /* defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) ||
10290 defined(PERL_IN_REGCOMP_ANY) */
10291 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PAD_C)
10292 PERL_STATIC_INLINE bool
10293 S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
10294 # define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE \
10298 # if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY)
10299 PERL_STATIC_INLINE STRLEN *
10300 S_get_invlist_iter_addr(SV *invlist)
10301 __attribute__warn_unused_result__;
10302 # define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \
10305 PERL_STATIC_INLINE void
10306 S_invlist_iterfinish(SV *invlist);
10307 # define PERL_ARGS_ASSERT_INVLIST_ITERFINISH \
10310 PERL_STATIC_INLINE void
10311 S_invlist_iterinit(SV *invlist);
10312 # define PERL_ARGS_ASSERT_INVLIST_ITERINIT \
10315 PERL_STATIC_INLINE bool
10316 S_invlist_iternext(SV *invlist, UV *start, UV *end)
10317 __attribute__warn_unused_result__;
10318 # define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \
10319 assert(invlist); assert(start); assert(end)
10321 # endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY) */
10322 # if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
10323 PERL_STATIC_INLINE bool
10324 S_lossless_NV_to_IV(const NV nv, IV *ivp)
10325 __attribute__warn_unused_result__;
10326 # define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV \
10330 # if defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_ANY) || \
10331 defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
10332 PERL_STATIC_INLINE const char *
10333 S_get_regex_charset_name(const U32 flags, STRLEN * const lenp);
10334 # define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
10338 # if defined(U64TYPE)
10339 PERL_STATIC_INLINE unsigned
10340 Perl_lsbit_pos64(U64 word)
10341 __attribute__warn_unused_result__;
10342 # define PERL_ARGS_ASSERT_LSBIT_POS64
10344 PERL_STATIC_INLINE unsigned
10345 Perl_msbit_pos64(U64 word)
10346 __attribute__warn_unused_result__;
10347 # define PERL_ARGS_ASSERT_MSBIT_POS64
10349 PERL_STATIC_INLINE unsigned
10350 Perl_single_1bit_pos64(U64 word)
10351 __attribute__warn_unused_result__;
10352 # define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
10354 # endif /* defined(U64TYPE) */
10355 # if defined(USE_ITHREADS)
10356 PERL_STATIC_INLINE AV *
10357 Perl_cop_file_avn(pTHX_ const COP *cop);
10358 # define PERL_ARGS_ASSERT_COP_FILE_AVN \
10361 # if !defined(PERL_IMPLICIT_SYS)
10362 PERL_STATIC_INLINE bool
10363 S_PerlEnv_putenv(pTHX_ char *str);
10364 # define PERL_ARGS_ASSERT_PERLENV_PUTENV \
10368 # endif /* defined(USE_ITHREADS) */
10369 # if !defined(WIN32)
10370 PERL_STATIC_INLINE void *
10371 Perl_get_context(void)
10372 __attribute__warn_unused_result__;
10373 # define PERL_ARGS_ASSERT_GET_CONTEXT
10376 #endif /* !defined(PERL_NO_INLINE_FUNCTIONS) */
10377 #if defined(PERL_RC_STACK)
10379 Perl_pp_wrap(pTHX_ Perl_ppaddr_t real_pp_fn, I32 nargs, int nlists);
10380 # define PERL_ARGS_ASSERT_PP_WRAP \
10384 Perl_runops_wrap(pTHX);
10385 # define PERL_ARGS_ASSERT_RUNOPS_WRAP
10388 Perl_xs_wrap(pTHX_ XSUBADDR_t xsub, CV *cv);
10389 # define PERL_ARGS_ASSERT_XS_WRAP \
10390 assert(xsub); assert(cv)
10392 #endif /* defined(PERL_RC_STACK) */
10393 #if defined(PERL_USE_3ARG_SIGHANDLER)
10394 PERL_CALLCONV Signal_t
10395 Perl_csighandler(int sig, Siginfo_t *info, void *uap);
10396 # define PERL_ARGS_ASSERT_CSIGHANDLER
10398 PERL_CALLCONV Signal_t
10399 Perl_sighandler(int sig, Siginfo_t *info, void *uap)
10400 __attribute__visibility__("hidden");
10401 # define PERL_ARGS_ASSERT_SIGHANDLER
10403 #else /* if !defined(PERL_USE_3ARG_SIGHANDLER) */
10404 PERL_CALLCONV Signal_t
10405 Perl_csighandler(int sig);
10406 # define PERL_ARGS_ASSERT_CSIGHANDLER
10408 PERL_CALLCONV Signal_t
10409 Perl_sighandler(int sig)
10410 __attribute__visibility__("hidden");
10411 # define PERL_ARGS_ASSERT_SIGHANDLER
10413 #endif /* !defined(PERL_USE_3ARG_SIGHANDLER) */
10414 #if defined(U64TYPE)
10417 #if defined(UNLINK_ALL_VERSIONS)
10419 Perl_unlnk(pTHX_ const char *f);
10420 # define PERL_ARGS_ASSERT_UNLNK \
10424 #if defined(USE_C_BACKTRACE)
10426 Perl_dump_c_backtrace(pTHX_ PerlIO *fp, int max_depth, int skip);
10427 # define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE \
10430 /* PERL_CALLCONV void
10431 free_c_backtrace(pTHX_ Perl_c_backtrace *bt); */
10433 PERL_CALLCONV Perl_c_backtrace *
10434 Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
10435 __attribute__visibility__("hidden");
10436 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE
10439 Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
10440 # define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
10442 #endif /* defined(USE_C_BACKTRACE) */
10443 #if defined(USE_DTRACE)
10445 Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
10446 # define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL \
10450 Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
10451 # define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD \
10455 Perl_dtrace_probe_op(pTHX_ const OP *op);
10456 # define PERL_ARGS_ASSERT_DTRACE_PROBE_OP \
10460 Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
10461 # define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
10463 #endif /* defined(USE_DTRACE) */
10464 #if defined(USE_ITHREADS)
10465 PERL_CALLCONV PADOFFSET
10466 Perl_alloccopstash(pTHX_ HV *hv);
10467 # define PERL_ARGS_ASSERT_ALLOCCOPSTASH \
10470 PERL_CALLCONV void *
10471 Perl_any_dup(pTHX_ void *v, const PerlInterpreter *proto_perl)
10472 __attribute__warn_unused_result__;
10473 # define PERL_ARGS_ASSERT_ANY_DUP \
10477 Perl_clone_params_del(CLONE_PARAMS *param);
10478 # define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \
10481 PERL_CALLCONV CLONE_PARAMS *
10482 Perl_clone_params_new(PerlInterpreter * const from, PerlInterpreter * const to)
10483 __attribute__warn_unused_result__;
10484 # define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \
10485 assert(from); assert(to)
10487 PERL_CALLCONV PERL_CONTEXT *
10488 Perl_cx_dup(pTHX_ PERL_CONTEXT *cx, I32 ix, I32 max, CLONE_PARAMS *param)
10489 __attribute__warn_unused_result__;
10490 # define PERL_ARGS_ASSERT_CX_DUP \
10493 PERL_CALLCONV DIR *
10494 Perl_dirp_dup(pTHX_ DIR * const dp, CLONE_PARAMS * const param)
10495 __attribute__warn_unused_result__;
10496 # define PERL_ARGS_ASSERT_DIRP_DUP \
10499 PERL_CALLCONV PerlIO *
10500 Perl_fp_dup(pTHX_ PerlIO * const fp, const char type, CLONE_PARAMS * const param);
10501 # define PERL_ARGS_ASSERT_FP_DUP \
10505 Perl_gp_dup(pTHX_ GP * const gp, CLONE_PARAMS * const param)
10506 __attribute__warn_unused_result__;
10507 # define PERL_ARGS_ASSERT_GP_DUP \
10511 Perl_he_dup(pTHX_ const HE *e, bool shared, CLONE_PARAMS *param)
10512 __attribute__warn_unused_result__;
10513 # define PERL_ARGS_ASSERT_HE_DUP \
10516 PERL_CALLCONV HEK *
10517 Perl_hek_dup(pTHX_ HEK *e, CLONE_PARAMS *param)
10518 __attribute__warn_unused_result__;
10519 # define PERL_ARGS_ASSERT_HEK_DUP \
10522 PERL_CALLCONV MAGIC *
10523 Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS * const param)
10524 __attribute__warn_unused_result__;
10525 # define PERL_ARGS_ASSERT_MG_DUP \
10528 PERL_CALLCONV struct mro_meta *
10529 Perl_mro_meta_dup(pTHX_ struct mro_meta *smeta, CLONE_PARAMS *param)
10530 __attribute__visibility__("hidden");
10531 # define PERL_ARGS_ASSERT_MRO_META_DUP \
10532 assert(smeta); assert(param)
10535 Perl_newPADOP(pTHX_ I32 type, I32 flags, SV *sv)
10536 __attribute__warn_unused_result__;
10537 # define PERL_ARGS_ASSERT_NEWPADOP \
10540 PERL_CALLCONV PADLIST *
10541 Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
10542 __attribute__warn_unused_result__
10543 __attribute__visibility__("hidden");
10544 # define PERL_ARGS_ASSERT_PADLIST_DUP \
10545 assert(srcpad); assert(param)
10547 PERL_CALLCONV PADNAME *
10548 Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
10549 __attribute__warn_unused_result__
10550 __attribute__visibility__("hidden");
10551 # define PERL_ARGS_ASSERT_PADNAME_DUP \
10552 assert(src); assert(param)
10554 PERL_CALLCONV PADNAMELIST *
10555 Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
10556 __attribute__warn_unused_result__
10557 __attribute__visibility__("hidden");
10558 # define PERL_ARGS_ASSERT_PADNAMELIST_DUP \
10559 assert(srcpad); assert(param)
10561 PERL_CALLCONV yy_parser *
10562 Perl_parser_dup(pTHX_ const yy_parser * const proto, CLONE_PARAMS * const param);
10563 # define PERL_ARGS_ASSERT_PARSER_DUP \
10566 PERL_CALLCONV PerlInterpreter *
10567 perl_clone(PerlInterpreter *proto_perl, UV flags);
10568 # define PERL_ARGS_ASSERT_PERL_CLONE \
10572 Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS *param);
10573 # define PERL_ARGS_ASSERT_RE_DUP_GUTS \
10574 assert(sstr); assert(dstr); assert(param)
10576 PERL_CALLCONV void *
10577 Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS *param);
10578 # define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
10579 assert(r); assert(param)
10582 Perl_rvpv_dup(pTHX_ SV * const dsv, const SV * const ssv, CLONE_PARAMS * const param);
10583 # define PERL_ARGS_ASSERT_RVPV_DUP \
10584 assert(dsv); assert(ssv); assert(param)
10586 PERL_CALLCONV PERL_SI *
10587 Perl_si_dup(pTHX_ PERL_SI *si, CLONE_PARAMS *param)
10588 __attribute__warn_unused_result__;
10589 # define PERL_ARGS_ASSERT_SI_DUP \
10592 PERL_CALLCONV ANY *
10593 Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS *param)
10594 __attribute__warn_unused_result__;
10595 # define PERL_ARGS_ASSERT_SS_DUP \
10596 assert(proto_perl); assert(param)
10599 Perl_sv_dup(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10600 __attribute__warn_unused_result__;
10601 # define PERL_ARGS_ASSERT_SV_DUP \
10605 Perl_sv_dup_inc(pTHX_ const SV * const ssv, CLONE_PARAMS * const param)
10606 __attribute__warn_unused_result__;
10607 # define PERL_ARGS_ASSERT_SV_DUP_INC \
10610 # if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
10612 Perl_op_relocate_sv(pTHX_ SV **svp, PADOFFSET *targp)
10613 __attribute__visibility__("hidden");
10614 # define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
10615 assert(svp); assert(targp)
10618 #else /* if !defined(USE_ITHREADS) */
10619 /* PERL_CALLCONV void
10620 CopFILEGV_set(pTHX_ COP *c, GV *gv); */
10623 #if defined(USE_LOCALE_COLLATE)
10625 Perl_magic_freecollxfrm(pTHX_ SV *sv, MAGIC *mg)
10626 __attribute__visibility__("hidden");
10627 # define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM \
10628 assert(sv); assert(mg)
10631 Perl_magic_setcollxfrm(pTHX_ SV *sv, MAGIC *mg)
10632 __attribute__visibility__("hidden");
10633 # define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
10634 assert(sv); assert(mg)
10637 Perl_strxfrm(pTHX_ SV *src);
10638 # define PERL_ARGS_ASSERT_STRXFRM \
10641 PERL_CALLCONV char *
10642 Perl_sv_collxfrm_flags(pTHX_ SV * const sv, STRLEN * const nxp, I32 const flags);
10643 # define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \
10644 assert(sv); assert(nxp)
10646 # if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_MATHOMS_C) || \
10647 defined(PERL_IN_SV_C)
10648 PERL_CALLCONV char *
10649 Perl_mem_collxfrm_(pTHX_ const char *input_string, STRLEN len, STRLEN *xlen, bool utf8)
10650 __attribute__visibility__("hidden");
10651 # define PERL_ARGS_ASSERT_MEM_COLLXFRM_ \
10652 assert(input_string); assert(xlen)
10655 #endif /* defined(USE_LOCALE_COLLATE) */
10656 #if defined(USE_LOCALE_CTYPE)
10658 Perl_warn_problematic_locale(void);
10659 # define PERL_ARGS_ASSERT_WARN_PROBLEMATIC_LOCALE
10662 #if defined(USE_PERLIO)
10664 Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
10665 # define PERL_ARGS_ASSERT_PERLIO_CLEARERR
10668 Perl_PerlIO_close(pTHX_ PerlIO *f);
10669 # define PERL_ARGS_ASSERT_PERLIO_CLOSE
10672 Perl_PerlIO_eof(pTHX_ PerlIO *f);
10673 # define PERL_ARGS_ASSERT_PERLIO_EOF
10676 Perl_PerlIO_error(pTHX_ PerlIO *f);
10677 # define PERL_ARGS_ASSERT_PERLIO_ERROR
10680 Perl_PerlIO_fileno(pTHX_ PerlIO *f);
10681 # define PERL_ARGS_ASSERT_PERLIO_FILENO
10684 Perl_PerlIO_fill(pTHX_ PerlIO *f);
10685 # define PERL_ARGS_ASSERT_PERLIO_FILL
10688 Perl_PerlIO_flush(pTHX_ PerlIO *f);
10689 # define PERL_ARGS_ASSERT_PERLIO_FLUSH
10691 PERL_CALLCONV STDCHAR *
10692 Perl_PerlIO_get_base(pTHX_ PerlIO *f);
10693 # define PERL_ARGS_ASSERT_PERLIO_GET_BASE
10695 PERL_CALLCONV SSize_t
10696 Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
10697 __attribute__warn_unused_result__;
10698 # define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
10700 PERL_CALLCONV SSize_t
10701 Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
10702 __attribute__warn_unused_result__;
10703 # define PERL_ARGS_ASSERT_PERLIO_GET_CNT
10705 PERL_CALLCONV STDCHAR *
10706 Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
10707 # define PERL_ARGS_ASSERT_PERLIO_GET_PTR
10709 PERL_CALLCONV SSize_t
10710 Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
10711 # define PERL_ARGS_ASSERT_PERLIO_READ \
10715 Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
10716 # define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
10719 Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
10720 # define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
10723 Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
10724 # define PERL_ARGS_ASSERT_PERLIO_SEEK
10727 Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
10728 # define PERL_ARGS_ASSERT_PERLIO_SET_CNT
10731 Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
10732 # define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
10735 Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
10736 # define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
10738 PERL_CALLCONV PerlIO *
10739 Perl_PerlIO_stderr(pTHX)
10740 __attribute__warn_unused_result__;
10741 # define PERL_ARGS_ASSERT_PERLIO_STDERR
10743 PERL_CALLCONV PerlIO *
10744 Perl_PerlIO_stdin(pTHX)
10745 __attribute__warn_unused_result__;
10746 # define PERL_ARGS_ASSERT_PERLIO_STDIN
10748 PERL_CALLCONV PerlIO *
10749 Perl_PerlIO_stdout(pTHX)
10750 __attribute__warn_unused_result__;
10751 # define PERL_ARGS_ASSERT_PERLIO_STDOUT
10753 PERL_CALLCONV Off_t
10754 Perl_PerlIO_tell(pTHX_ PerlIO *f);
10755 # define PERL_ARGS_ASSERT_PERLIO_TELL
10757 PERL_CALLCONV SSize_t
10758 Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10759 # define PERL_ARGS_ASSERT_PERLIO_UNREAD \
10762 PERL_CALLCONV SSize_t
10763 Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
10764 # define PERL_ARGS_ASSERT_PERLIO_WRITE \
10767 #endif /* defined(USE_PERLIO) */
10768 #if defined(USE_PERL_SWITCH_LOCALE_CONTEXT)
10770 Perl_switch_locale_context(pTHX);
10771 # define PERL_ARGS_ASSERT_SWITCH_LOCALE_CONTEXT
10774 #if defined(USE_QUADMATH)
10776 Perl_quadmath_format_needed(const char *format)
10777 __attribute__visibility__("hidden");
10778 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
10782 Perl_quadmath_format_valid(const char *format)
10783 __attribute__visibility__("hidden");
10784 # define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID \
10787 #endif /* defined(USE_QUADMATH) */
10788 #if defined(VMS) || defined(WIN32)
10790 Perl_do_aspawn(pTHX_ SV *really, SV **mark, SV **sp);
10791 # define PERL_ARGS_ASSERT_DO_ASPAWN \
10792 assert(mark); assert(sp)
10795 Perl_do_spawn(pTHX_ char *cmd);
10796 # define PERL_ARGS_ASSERT_DO_SPAWN \
10800 Perl_do_spawn_nowait(pTHX_ char *cmd);
10801 # define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
10804 #endif /* defined(VMS) || defined(WIN32) */
10806 PERL_CALLCONV void *
10807 Perl_get_context(void)
10808 __attribute__warn_unused_result__;
10809 # define PERL_ARGS_ASSERT_GET_CONTEXT
10812 Perl_get_win32_message_utf8ness(pTHX_ const char *string)
10813 __attribute__visibility__("hidden");
10814 # define PERL_ARGS_ASSERT_GET_WIN32_MESSAGE_UTF8NESS
10816 PERL_CALLCONV_NO_RET void
10817 win32_croak_not_implemented(const char *fname)
10818 __attribute__noreturn__;
10819 # define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \
10822 #else /* if !defined(WIN32) */
10824 Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
10825 __attribute__visibility__("hidden");
10826 # define PERL_ARGS_ASSERT_DO_EXEC3 \
10832 # include "pp_proto.h"
10836 /* ex: set ro ft=c: */