1 /* -*- 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 by Larry Wall and others
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
12 * This file is built by regen/embed.pl from data in embed.fnc,
13 * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h.
14 * Any changes made here will be lost!
16 * Edit those files and run 'make regen_headers' to effect changes.
20 #ifndef PERL_NO_INLINE_FUNCTIONS
21 PERL_STATIC_INLINE I32 * Perl_CvDEPTH(const CV * const sv);
22 #define PERL_ARGS_ASSERT_CVDEPTH \
25 #ifndef PERL_NO_INLINE_FUNCTIONS
26 PERL_STATIC_INLINE GV * Perl_CvGV(pTHX_ CV *sv);
27 #define PERL_ARGS_ASSERT_CVGV \
30 PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
31 #define PERL_ARGS_ASSERT_GV_AMUPDATE \
33 #ifndef PERL_NO_INLINE_FUNCTIONS
34 PERL_STATIC_INLINE I32 Perl_POPMARK(pTHX);
35 #define PERL_ARGS_ASSERT_POPMARK
37 PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode);
38 #define PERL_ARGS_ASSERT_PERLIO_CONTEXT_LAYERS
39 PERL_CALLCONV int Perl_PerlLIO_dup2_cloexec(pTHX_ int oldfd, int newfd)
40 __attribute__visibility__("hidden");
41 #define PERL_ARGS_ASSERT_PERLLIO_DUP2_CLOEXEC
43 PERL_CALLCONV int Perl_PerlLIO_dup_cloexec(pTHX_ int oldfd)
44 __attribute__warn_unused_result__
45 __attribute__visibility__("hidden");
46 #define PERL_ARGS_ASSERT_PERLLIO_DUP_CLOEXEC
48 PERL_CALLCONV int Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
49 __attribute__warn_unused_result__
50 __attribute__visibility__("hidden");
51 #define PERL_ARGS_ASSERT_PERLLIO_OPEN3_CLOEXEC \
54 PERL_CALLCONV int Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
55 __attribute__warn_unused_result__
56 __attribute__visibility__("hidden");
57 #define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC \
60 /* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o); */
61 #define PERL_ARGS_ASSERT_PERL_CUSTOM_OP_XOP
62 PERL_CALLCONV HV * Perl_localeconv(pTHX);
63 #define PERL_ARGS_ASSERT_PERL_LOCALECONV
64 PERL_CALLCONV const char* Perl_setlocale(const int category, const char* locale);
65 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
66 #ifndef PERL_NO_INLINE_FUNCTIONS
67 PERL_STATIC_INLINE struct regexp * Perl_ReANY(const REGEXP * const re);
68 #define PERL_ARGS_ASSERT_REANY \
71 PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz)
72 __attribute__warn_unused_result__;
73 #define PERL_ARGS_ASSERT_SLAB_ALLOC
75 PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op);
76 #define PERL_ARGS_ASSERT_SLAB_FREE \
78 #ifndef PERL_NO_INLINE_FUNCTIONS
79 PERL_STATIC_INLINE void Perl_SvAMAGIC_off(SV *sv);
80 #define PERL_ARGS_ASSERT_SVAMAGIC_OFF \
83 #ifndef PERL_NO_INLINE_FUNCTIONS
84 PERL_STATIC_INLINE void Perl_SvAMAGIC_on(SV *sv);
85 #define PERL_ARGS_ASSERT_SVAMAGIC_ON \
88 #ifndef PERL_NO_INLINE_FUNCTIONS
89 PERL_STATIC_INLINE void Perl_SvGETMAGIC(pTHX_ SV *sv);
90 #define PERL_ARGS_ASSERT_SVGETMAGIC \
93 #ifndef PERL_NO_INLINE_FUNCTIONS
94 PERL_STATIC_INLINE IV Perl_SvIV(pTHX_ SV *sv);
95 #define PERL_ARGS_ASSERT_SVIV \
98 #ifndef PERL_NO_INLINE_FUNCTIONS
99 PERL_STATIC_INLINE IV Perl_SvIV_nomg(pTHX_ SV *sv);
100 #define PERL_ARGS_ASSERT_SVIV_NOMG \
103 #ifndef PERL_NO_INLINE_FUNCTIONS
104 PERL_STATIC_INLINE NV Perl_SvNV(pTHX_ SV *sv);
105 #define PERL_ARGS_ASSERT_SVNV \
108 #ifndef PERL_NO_INLINE_FUNCTIONS
109 PERL_STATIC_INLINE NV Perl_SvNV_nomg(pTHX_ SV *sv);
110 #define PERL_ARGS_ASSERT_SVNV_NOMG \
113 #ifndef PERL_NO_INLINE_FUNCTIONS
114 PERL_STATIC_FORCE_INLINE bool Perl_SvPVXtrue(pTHX_ SV *sv)
115 __attribute__always_inline__;
116 #define PERL_ARGS_ASSERT_SVPVXTRUE \
120 #ifndef PERL_NO_INLINE_FUNCTIONS
121 PERL_STATIC_INLINE void Perl_SvREFCNT_dec(pTHX_ SV *sv);
122 #define PERL_ARGS_ASSERT_SVREFCNT_DEC
124 #ifndef PERL_NO_INLINE_FUNCTIONS
125 PERL_STATIC_INLINE void Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
126 #define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN \
129 #ifndef PERL_NO_INLINE_FUNCTIONS
130 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc(SV *sv);
131 #define PERL_ARGS_ASSERT_SVREFCNT_INC
133 #ifndef PERL_NO_INLINE_FUNCTIONS
134 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc_NN(SV *sv);
135 #define PERL_ARGS_ASSERT_SVREFCNT_INC_NN \
138 #ifndef PERL_NO_INLINE_FUNCTIONS
139 PERL_STATIC_INLINE void Perl_SvREFCNT_inc_void(SV *sv);
140 #define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
142 #ifndef PERL_NO_INLINE_FUNCTIONS
143 PERL_STATIC_INLINE bool Perl_SvTRUE(pTHX_ SV *sv);
144 #define PERL_ARGS_ASSERT_SVTRUE
146 #ifndef PERL_NO_INLINE_FUNCTIONS
147 PERL_STATIC_INLINE bool Perl_SvTRUE_NN(pTHX_ SV *sv);
148 #define PERL_ARGS_ASSERT_SVTRUE_NN \
151 #ifndef PERL_NO_INLINE_FUNCTIONS
152 PERL_STATIC_INLINE bool Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
153 #define PERL_ARGS_ASSERT_SVTRUE_COMMON \
156 #ifndef PERL_NO_INLINE_FUNCTIONS
157 PERL_STATIC_INLINE bool Perl_SvTRUE_nomg(pTHX_ SV *sv);
158 #define PERL_ARGS_ASSERT_SVTRUE_NOMG
160 #ifndef PERL_NO_INLINE_FUNCTIONS
161 PERL_STATIC_INLINE UV Perl_SvUV(pTHX_ SV *sv);
162 #define PERL_ARGS_ASSERT_SVUV \
165 #ifndef PERL_NO_INLINE_FUNCTIONS
166 PERL_STATIC_INLINE UV Perl_SvUV_nomg(pTHX_ SV *sv);
167 #define PERL_ARGS_ASSERT_SVUV_NOMG \
170 #ifndef PERL_NO_INLINE_FUNCTIONS
171 PERL_STATIC_INLINE I32 Perl_TOPMARK(pTHX);
172 #define PERL_ARGS_ASSERT_TOPMARK
174 PERL_CALLCONV char * Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
175 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING \
177 PERL_CALLCONV void Perl__force_out_malformed_utf8_message(pTHX_ const U8 *const p, const U8 * const e, const U32 flags, const bool die_here);
178 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE \
180 PERL_CALLCONV Size_t Perl__inverse_folds(pTHX_ const UV cp, U32 * first_folds_to, const U32 ** remaining_folds_to)
181 __attribute__warn_unused_result__;
182 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
183 assert(first_folds_to); assert(remaining_folds_to)
185 PERL_CALLCONV bool Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
186 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
187 PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
188 __attribute__warn_unused_result__;
189 #define PERL_ARGS_ASSERT__IS_UNI_FOO
191 PERL_CALLCONV bool Perl__is_uni_perl_idcont(pTHX_ UV c)
192 __attribute__warn_unused_result__;
193 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
195 PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c)
196 __attribute__warn_unused_result__;
197 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
199 PERL_CALLCONV bool Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
200 __attribute__warn_unused_result__;
201 #define PERL_ARGS_ASSERT__IS_UTF8_FOO \
204 PERL_CALLCONV bool Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
205 __attribute__warn_unused_result__;
206 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \
209 PERL_CALLCONV bool Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
210 __attribute__warn_unused_result__;
211 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \
214 PERL_CALLCONV UV Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
215 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
216 assert(p); assert(lenp)
217 PERL_CALLCONV UV Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, U8 flags);
218 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
219 assert(p); assert(ustrp)
220 PERL_CALLCONV UV Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
221 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
222 assert(p); assert(ustrp)
223 PERL_CALLCONV UV Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
224 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
225 assert(p); assert(ustrp)
226 PERL_CALLCONV UV Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, bool flags);
227 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
228 assert(p); assert(ustrp)
229 PERL_CALLCONV UV Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
230 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER \
232 PERL_CALLCONV void Perl__warn_problematic_locale(void);
233 #define PERL_ARGS_ASSERT__WARN_PROBLEMATIC_LOCALE
234 PERL_CALLCONV_NO_RET void Perl_abort_execution(pTHX_ SV *msg_sv, const char * const name)
235 __attribute__noreturn__
236 __attribute__visibility__("hidden");
237 #define PERL_ARGS_ASSERT_ABORT_EXECUTION \
240 PERL_CALLCONV LOGOP* Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
241 __attribute__visibility__("hidden");
242 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
244 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
245 __attribute__visibility__("hidden");
246 #define PERL_ARGS_ASSERT_ALLOCMY \
249 PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
250 #define PERL_ARGS_ASSERT_AMAGIC_CALL \
251 assert(left); assert(right)
252 PERL_CALLCONV SV * Perl_amagic_deref_call(pTHX_ SV *ref, int method);
253 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
255 PERL_CALLCONV bool Perl_amagic_is_enabled(pTHX_ int method)
256 __attribute__visibility__("hidden");
257 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
259 #ifndef PERL_NO_INLINE_FUNCTIONS
260 PERL_STATIC_INLINE void Perl_append_utf8_from_native_byte(const U8 byte, U8** dest);
261 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
264 PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
265 __attribute__visibility__("hidden");
266 #define PERL_ARGS_ASSERT_APPLY \
267 assert(mark); assert(sp)
269 PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
270 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
271 assert(stashpv); assert(cv); assert(attrstr)
272 PERL_CALLCONV void Perl_atfork_lock(void);
273 #define PERL_ARGS_ASSERT_ATFORK_LOCK
274 PERL_CALLCONV void Perl_atfork_unlock(void);
275 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
276 PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av);
277 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \
279 PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av);
280 #define PERL_ARGS_ASSERT_AV_CLEAR \
282 #ifndef PERL_NO_INLINE_FUNCTIONS
283 PERL_STATIC_INLINE Size_t Perl_av_count(pTHX_ AV *av)
284 __attribute__warn_unused_result__;
285 #define PERL_ARGS_ASSERT_AV_COUNT \
289 PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
290 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
291 assert(avp); assert(val)
292 PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
293 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
294 assert(avp); assert(val)
295 PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
296 #define PERL_ARGS_ASSERT_AV_DELETE \
298 PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, SSize_t key)
299 __attribute__warn_unused_result__;
300 #define PERL_ARGS_ASSERT_AV_EXISTS \
303 PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, SSize_t key);
304 #define PERL_ARGS_ASSERT_AV_EXTEND \
306 PERL_CALLCONV void Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
307 __attribute__visibility__("hidden");
308 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
309 assert(maxp); assert(allocp); assert(arrayp)
311 PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
312 __attribute__warn_unused_result__;
313 #define PERL_ARGS_ASSERT_AV_FETCH \
316 #ifndef PERL_NO_INLINE_FUNCTIONS
317 PERL_STATIC_INLINE SV** Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
318 __attribute__warn_unused_result__;
319 #define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE \
323 PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, SSize_t fill);
324 #define PERL_ARGS_ASSERT_AV_FILL \
326 PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av);
327 #define PERL_ARGS_ASSERT_AV_ITER_P \
329 PERL_CALLCONV SSize_t Perl_av_len(pTHX_ AV *av)
330 __attribute__warn_unused_result__;
331 #define PERL_ARGS_ASSERT_AV_LEN \
334 PERL_CALLCONV AV* Perl_av_make(pTHX_ SSize_t size, SV **strp)
335 __attribute__warn_unused_result__;
336 #define PERL_ARGS_ASSERT_AV_MAKE \
339 #ifndef PERL_NO_INLINE_FUNCTIONS
340 PERL_STATIC_INLINE AV* Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
341 __attribute__warn_unused_result__;
342 #define PERL_ARGS_ASSERT_AV_NEW_ALLOC
345 PERL_CALLCONV SV* Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
346 __attribute__visibility__("hidden");
347 #define PERL_ARGS_ASSERT_AV_NONELEM \
350 PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av);
351 #define PERL_ARGS_ASSERT_AV_POP \
353 PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val);
354 #define PERL_ARGS_ASSERT_AV_PUSH \
355 assert(av); assert(val)
356 #ifndef PERL_NO_INLINE_FUNCTIONS
357 PERL_STATIC_INLINE void Perl_av_push_simple(pTHX_ AV *av, SV *val);
358 #define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE \
359 assert(av); assert(val)
361 PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av);
362 #define PERL_ARGS_ASSERT_AV_REIFY \
364 PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
365 __attribute__warn_unused_result__;
366 #define PERL_ARGS_ASSERT_AV_SHIFT \
369 PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
370 #define PERL_ARGS_ASSERT_AV_STORE \
372 #ifndef PERL_NO_INLINE_FUNCTIONS
373 PERL_STATIC_INLINE SV** Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
374 #define PERL_ARGS_ASSERT_AV_STORE_SIMPLE \
377 /* PERL_CALLCONV SSize_t av_tindex(pTHX_ AV *av)
378 __attribute__warn_unused_result__; */
379 #define PERL_ARGS_ASSERT_AV_TINDEX
381 /* PERL_CALLCONV SSize_t av_top_index(pTHX_ AV *av)
382 __attribute__warn_unused_result__; */
383 #define PERL_ARGS_ASSERT_AV_TOP_INDEX
385 PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av);
386 #define PERL_ARGS_ASSERT_AV_UNDEF \
388 PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, SSize_t num);
389 #define PERL_ARGS_ASSERT_AV_UNSHIFT \
391 PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
392 __attribute__warn_unused_result__
393 __attribute__visibility__("hidden");
394 #define PERL_ARGS_ASSERT_BIND_MATCH \
395 assert(left); assert(right)
397 PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
398 __attribute__warn_unused_result__;
399 #define PERL_ARGS_ASSERT_BLOCK_END
401 PERL_CALLCONV U8 Perl_block_gimme(pTHX)
402 __attribute__warn_unused_result__;
403 #define PERL_ARGS_ASSERT_BLOCK_GIMME
405 PERL_CALLCONV int Perl_block_start(pTHX_ int full)
406 __attribute__warn_unused_result__;
407 #define PERL_ARGS_ASSERT_BLOCK_START
409 PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk);
410 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
412 PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX)
413 __attribute__visibility__("hidden");
414 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
416 PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX)
417 __attribute__visibility__("hidden");
418 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
420 PERL_CALLCONV void Perl_boot_core_builtin(pTHX)
421 __attribute__visibility__("hidden");
422 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
424 PERL_CALLCONV void Perl_boot_core_mro(pTHX)
425 __attribute__visibility__("hidden");
426 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
428 PERL_CALLCONV int Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
429 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
431 PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
432 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
433 assert(s); assert(lenp); assert(is_utf8p)
434 PERL_CALLCONV U8* Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 ** first_unconverted);
435 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC \
436 assert(s); assert(lenp); assert(is_utf8p)
437 PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
438 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
439 assert(s); assert(lenp)
440 PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
441 #define PERL_ARGS_ASSERT_CALL_ARGV \
442 assert(sub_name); assert(argv)
443 PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
444 #define PERL_ARGS_ASSERT_CALL_ATEXIT
445 PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
446 #define PERL_ARGS_ASSERT_CALL_LIST \
448 PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags);
449 #define PERL_ARGS_ASSERT_CALL_METHOD \
451 PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
452 #define PERL_ARGS_ASSERT_CALL_PV \
454 PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, volatile I32 flags);
455 #define PERL_ARGS_ASSERT_CALL_SV \
457 PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
458 #define PERL_ARGS_ASSERT_CALLER_CX
459 PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
460 __attribute__malloc__
461 __attribute__warn_unused_result__;
462 #define PERL_ARGS_ASSERT_CALLOC
464 PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
465 __attribute__warn_unused_result__
466 __attribute__visibility__("hidden");
467 #define PERL_ARGS_ASSERT_CANDO \
470 PERL_CALLCONV I32 Perl_cast_i32(NV f)
471 __attribute__warn_unused_result__;
472 #define PERL_ARGS_ASSERT_CAST_I32
474 PERL_CALLCONV IV Perl_cast_iv(NV f)
475 __attribute__warn_unused_result__;
476 #define PERL_ARGS_ASSERT_CAST_IV
478 PERL_CALLCONV U32 Perl_cast_ulong(NV f)
479 __attribute__warn_unused_result__;
480 #define PERL_ARGS_ASSERT_CAST_ULONG
482 PERL_CALLCONV UV Perl_cast_uv(NV f)
483 __attribute__warn_unused_result__;
484 #define PERL_ARGS_ASSERT_CAST_UV
486 PERL_CALLCONV bool Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
487 __attribute__visibility__("hidden");
488 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
491 PERL_CALLCONV OP * Perl_ck_anoncode(pTHX_ OP *o)
492 __attribute__warn_unused_result__
493 __attribute__visibility__("hidden");
494 #define PERL_ARGS_ASSERT_CK_ANONCODE \
497 PERL_CALLCONV OP * Perl_ck_backtick(pTHX_ OP *o)
498 __attribute__warn_unused_result__
499 __attribute__visibility__("hidden");
500 #define PERL_ARGS_ASSERT_CK_BACKTICK \
503 PERL_CALLCONV OP * Perl_ck_bitop(pTHX_ OP *o)
504 __attribute__warn_unused_result__
505 __attribute__visibility__("hidden");
506 #define PERL_ARGS_ASSERT_CK_BITOP \
509 PERL_CALLCONV OP * Perl_ck_cmp(pTHX_ OP *o)
510 __attribute__warn_unused_result__
511 __attribute__visibility__("hidden");
512 #define PERL_ARGS_ASSERT_CK_CMP \
515 PERL_CALLCONV OP * Perl_ck_concat(pTHX_ OP *o)
516 __attribute__warn_unused_result__
517 __attribute__visibility__("hidden");
518 #define PERL_ARGS_ASSERT_CK_CONCAT \
521 PERL_CALLCONV OP * Perl_ck_defined(pTHX_ OP *o)
522 __attribute__warn_unused_result__
523 __attribute__visibility__("hidden");
524 #define PERL_ARGS_ASSERT_CK_DEFINED \
527 PERL_CALLCONV OP * Perl_ck_delete(pTHX_ OP *o)
528 __attribute__warn_unused_result__
529 __attribute__visibility__("hidden");
530 #define PERL_ARGS_ASSERT_CK_DELETE \
533 PERL_CALLCONV OP * Perl_ck_each(pTHX_ OP *o)
534 __attribute__warn_unused_result__
535 __attribute__visibility__("hidden");
536 #define PERL_ARGS_ASSERT_CK_EACH \
539 PERL_CALLCONV OP* Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
540 __attribute__visibility__("hidden");
541 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
542 assert(entersubop); assert(namegv); assert(protosv)
544 PERL_CALLCONV OP* Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
545 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
547 PERL_CALLCONV OP* Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
548 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
549 assert(entersubop); assert(namegv); assert(protosv)
550 PERL_CALLCONV OP* Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
551 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
552 assert(entersubop); assert(namegv); assert(protosv)
553 PERL_CALLCONV OP * Perl_ck_eof(pTHX_ OP *o)
554 __attribute__warn_unused_result__
555 __attribute__visibility__("hidden");
556 #define PERL_ARGS_ASSERT_CK_EOF \
559 PERL_CALLCONV OP * Perl_ck_eval(pTHX_ OP *o)
560 __attribute__warn_unused_result__
561 __attribute__visibility__("hidden");
562 #define PERL_ARGS_ASSERT_CK_EVAL \
565 PERL_CALLCONV OP * Perl_ck_exec(pTHX_ OP *o)
566 __attribute__warn_unused_result__
567 __attribute__visibility__("hidden");
568 #define PERL_ARGS_ASSERT_CK_EXEC \
571 PERL_CALLCONV OP * Perl_ck_exists(pTHX_ OP *o)
572 __attribute__warn_unused_result__
573 __attribute__visibility__("hidden");
574 #define PERL_ARGS_ASSERT_CK_EXISTS \
577 PERL_CALLCONV OP * Perl_ck_ftst(pTHX_ OP *o)
578 __attribute__warn_unused_result__
579 __attribute__visibility__("hidden");
580 #define PERL_ARGS_ASSERT_CK_FTST \
583 PERL_CALLCONV OP * Perl_ck_fun(pTHX_ OP *o)
584 __attribute__warn_unused_result__
585 __attribute__visibility__("hidden");
586 #define PERL_ARGS_ASSERT_CK_FUN \
589 PERL_CALLCONV OP * Perl_ck_glob(pTHX_ OP *o)
590 __attribute__warn_unused_result__
591 __attribute__visibility__("hidden");
592 #define PERL_ARGS_ASSERT_CK_GLOB \
595 PERL_CALLCONV OP * Perl_ck_grep(pTHX_ OP *o)
596 __attribute__warn_unused_result__
597 __attribute__visibility__("hidden");
598 #define PERL_ARGS_ASSERT_CK_GREP \
601 PERL_CALLCONV OP * Perl_ck_index(pTHX_ OP *o)
602 __attribute__warn_unused_result__
603 __attribute__visibility__("hidden");
604 #define PERL_ARGS_ASSERT_CK_INDEX \
607 PERL_CALLCONV OP * Perl_ck_isa(pTHX_ OP *o)
608 __attribute__warn_unused_result__
609 __attribute__visibility__("hidden");
610 #define PERL_ARGS_ASSERT_CK_ISA \
613 PERL_CALLCONV OP * Perl_ck_join(pTHX_ OP *o)
614 __attribute__warn_unused_result__
615 __attribute__visibility__("hidden");
616 #define PERL_ARGS_ASSERT_CK_JOIN \
619 PERL_CALLCONV OP * Perl_ck_length(pTHX_ OP *o)
620 __attribute__warn_unused_result__
621 __attribute__visibility__("hidden");
622 #define PERL_ARGS_ASSERT_CK_LENGTH \
625 PERL_CALLCONV OP * Perl_ck_lfun(pTHX_ OP *o)
626 __attribute__warn_unused_result__
627 __attribute__visibility__("hidden");
628 #define PERL_ARGS_ASSERT_CK_LFUN \
631 PERL_CALLCONV OP * Perl_ck_listiob(pTHX_ OP *o)
632 __attribute__warn_unused_result__
633 __attribute__visibility__("hidden");
634 #define PERL_ARGS_ASSERT_CK_LISTIOB \
637 PERL_CALLCONV OP * Perl_ck_match(pTHX_ OP *o)
638 __attribute__warn_unused_result__
639 __attribute__visibility__("hidden");
640 #define PERL_ARGS_ASSERT_CK_MATCH \
643 PERL_CALLCONV OP * Perl_ck_method(pTHX_ OP *o)
644 __attribute__warn_unused_result__
645 __attribute__visibility__("hidden");
646 #define PERL_ARGS_ASSERT_CK_METHOD \
649 PERL_CALLCONV OP * Perl_ck_null(pTHX_ OP *o)
650 __attribute__warn_unused_result__
651 __attribute__visibility__("hidden");
652 #define PERL_ARGS_ASSERT_CK_NULL \
655 PERL_CALLCONV OP * Perl_ck_open(pTHX_ OP *o)
656 __attribute__warn_unused_result__
657 __attribute__visibility__("hidden");
658 #define PERL_ARGS_ASSERT_CK_OPEN \
661 PERL_CALLCONV OP * Perl_ck_prototype(pTHX_ OP *o)
662 __attribute__warn_unused_result__
663 __attribute__visibility__("hidden");
664 #define PERL_ARGS_ASSERT_CK_PROTOTYPE \
667 PERL_CALLCONV OP * Perl_ck_readline(pTHX_ OP *o)
668 __attribute__warn_unused_result__
669 __attribute__visibility__("hidden");
670 #define PERL_ARGS_ASSERT_CK_READLINE \
673 PERL_CALLCONV OP * Perl_ck_refassign(pTHX_ OP *o)
674 __attribute__warn_unused_result__
675 __attribute__visibility__("hidden");
676 #define PERL_ARGS_ASSERT_CK_REFASSIGN \
679 PERL_CALLCONV OP * Perl_ck_repeat(pTHX_ OP *o)
680 __attribute__warn_unused_result__
681 __attribute__visibility__("hidden");
682 #define PERL_ARGS_ASSERT_CK_REPEAT \
685 PERL_CALLCONV OP * Perl_ck_require(pTHX_ OP *o)
686 __attribute__warn_unused_result__
687 __attribute__visibility__("hidden");
688 #define PERL_ARGS_ASSERT_CK_REQUIRE \
691 PERL_CALLCONV OP * Perl_ck_return(pTHX_ OP *o)
692 __attribute__warn_unused_result__
693 __attribute__visibility__("hidden");
694 #define PERL_ARGS_ASSERT_CK_RETURN \
697 PERL_CALLCONV OP * Perl_ck_rfun(pTHX_ OP *o)
698 __attribute__warn_unused_result__
699 __attribute__visibility__("hidden");
700 #define PERL_ARGS_ASSERT_CK_RFUN \
703 PERL_CALLCONV OP * Perl_ck_rvconst(pTHX_ OP *o)
704 __attribute__warn_unused_result__
705 __attribute__visibility__("hidden");
706 #define PERL_ARGS_ASSERT_CK_RVCONST \
709 PERL_CALLCONV OP * Perl_ck_sassign(pTHX_ OP *o)
710 __attribute__warn_unused_result__
711 __attribute__visibility__("hidden");
712 #define PERL_ARGS_ASSERT_CK_SASSIGN \
715 PERL_CALLCONV OP * Perl_ck_select(pTHX_ OP *o)
716 __attribute__warn_unused_result__
717 __attribute__visibility__("hidden");
718 #define PERL_ARGS_ASSERT_CK_SELECT \
721 PERL_CALLCONV OP * Perl_ck_shift(pTHX_ OP *o)
722 __attribute__warn_unused_result__
723 __attribute__visibility__("hidden");
724 #define PERL_ARGS_ASSERT_CK_SHIFT \
727 PERL_CALLCONV OP * Perl_ck_smartmatch(pTHX_ OP *o)
728 __attribute__warn_unused_result__
729 __attribute__visibility__("hidden");
730 #define PERL_ARGS_ASSERT_CK_SMARTMATCH \
733 PERL_CALLCONV OP * Perl_ck_sort(pTHX_ OP *o)
734 __attribute__warn_unused_result__
735 __attribute__visibility__("hidden");
736 #define PERL_ARGS_ASSERT_CK_SORT \
739 PERL_CALLCONV OP * Perl_ck_spair(pTHX_ OP *o)
740 __attribute__warn_unused_result__
741 __attribute__visibility__("hidden");
742 #define PERL_ARGS_ASSERT_CK_SPAIR \
745 PERL_CALLCONV OP * Perl_ck_split(pTHX_ OP *o)
746 __attribute__warn_unused_result__
747 __attribute__visibility__("hidden");
748 #define PERL_ARGS_ASSERT_CK_SPLIT \
751 PERL_CALLCONV OP * Perl_ck_stringify(pTHX_ OP *o)
752 __attribute__warn_unused_result__
753 __attribute__visibility__("hidden");
754 #define PERL_ARGS_ASSERT_CK_STRINGIFY \
757 PERL_CALLCONV OP * Perl_ck_subr(pTHX_ OP *o)
758 __attribute__warn_unused_result__
759 __attribute__visibility__("hidden");
760 #define PERL_ARGS_ASSERT_CK_SUBR \
763 PERL_CALLCONV OP * Perl_ck_substr(pTHX_ OP *o)
764 __attribute__warn_unused_result__
765 __attribute__visibility__("hidden");
766 #define PERL_ARGS_ASSERT_CK_SUBSTR \
769 PERL_CALLCONV OP * Perl_ck_svconst(pTHX_ OP *o)
770 __attribute__warn_unused_result__
771 __attribute__visibility__("hidden");
772 #define PERL_ARGS_ASSERT_CK_SVCONST \
775 PERL_CALLCONV OP * Perl_ck_tell(pTHX_ OP *o)
776 __attribute__warn_unused_result__
777 __attribute__visibility__("hidden");
778 #define PERL_ARGS_ASSERT_CK_TELL \
781 PERL_CALLCONV OP * Perl_ck_trunc(pTHX_ OP *o)
782 __attribute__warn_unused_result__
783 __attribute__visibility__("hidden");
784 #define PERL_ARGS_ASSERT_CK_TRUNC \
787 PERL_CALLCONV OP * Perl_ck_trycatch(pTHX_ OP *o)
788 __attribute__warn_unused_result__
789 __attribute__visibility__("hidden");
790 #define PERL_ARGS_ASSERT_CK_TRYCATCH \
793 PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
794 __attribute__format__(__printf__,pTHX_2,pTHX_3);
795 #define PERL_ARGS_ASSERT_CK_WARNER \
798 PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
799 __attribute__format__(__printf__,pTHX_2,pTHX_3);
800 #define PERL_ARGS_ASSERT_CK_WARNER_D \
803 PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w)
804 __attribute__warn_unused_result__
806 #define PERL_ARGS_ASSERT_CKWARN
808 PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w)
809 __attribute__warn_unused_result__
811 #define PERL_ARGS_ASSERT_CKWARN_D
813 PERL_CALLCONV void Perl_clear_defarray(pTHX_ AV* av, bool abandon);
814 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
816 PERL_CALLCONV const COP* Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
817 __attribute__visibility__("hidden");
818 #define PERL_ARGS_ASSERT_CLOSEST_COP \
821 PERL_CALLCONV OP* Perl_cmpchain_extend(pTHX_ I32 type, OP* ch, OP* right)
822 __attribute__warn_unused_result__
823 __attribute__visibility__("hidden");
824 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND \
827 PERL_CALLCONV OP* Perl_cmpchain_finish(pTHX_ OP* ch)
828 __attribute__warn_unused_result__
829 __attribute__visibility__("hidden");
830 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH \
833 PERL_CALLCONV OP* Perl_cmpchain_start(pTHX_ I32 type, OP* left, OP* right)
834 __attribute__warn_unused_result__
835 __attribute__visibility__("hidden");
836 #define PERL_ARGS_ASSERT_CMPCHAIN_START
838 PERL_CALLCONV const char * Perl_cntrl_to_mnemonic(const U8 c)
839 __attribute__warn_unused_result__;
840 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
842 PERL_CALLCONV const char * Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
843 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
845 PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
846 #define PERL_ARGS_ASSERT_COP_STORE_LABEL \
847 assert(cop); assert(label)
848 PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
849 __attribute__visibility__("hidden");
850 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
853 PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum)
854 __attribute__visibility__("hidden");
855 #define PERL_ARGS_ASSERT_CORESUB_OP \
858 PERL_CALLCONV void Perl_create_eval_scope(pTHX_ OP *retop, U32 flags)
859 __attribute__visibility__("hidden");
860 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE
862 PERL_CALLCONV_NO_RET void Perl_croak(pTHX_ const char* pat, ...)
863 __attribute__noreturn__
864 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
865 #define PERL_ARGS_ASSERT_CROAK
867 PERL_CALLCONV_NO_RET void Perl_croak_caller(const char* pat, ...)
868 __attribute__noreturn__
869 __attribute__visibility__("hidden")
870 __attribute__format__null_ok__(__printf__,1,2);
871 #define PERL_ARGS_ASSERT_CROAK_CALLER
873 PERL_STATIC_NO_RET void Perl_croak_memory_wrap(void)
874 __attribute__noreturn__;
875 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
877 PERL_CALLCONV_NO_RET void Perl_croak_no_mem(void)
878 __attribute__noreturn__
879 __attribute__visibility__("hidden");
880 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
882 PERL_CALLCONV_NO_RET void Perl_croak_no_modify(void)
883 __attribute__noreturn__;
884 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
886 PERL_CALLCONV_NO_RET void Perl_croak_popstack(void)
887 __attribute__noreturn__;
888 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
890 PERL_CALLCONV_NO_RET void Perl_croak_sv(pTHX_ SV *baseex)
891 __attribute__noreturn__;
892 #define PERL_ARGS_ASSERT_CROAK_SV \
895 PERL_CALLCONV_NO_RET void Perl_croak_xs_usage(const CV *const cv, const char *const params)
896 __attribute__noreturn__;
897 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
898 assert(cv); assert(params)
900 PERL_CALLCONV Signal_t Perl_csighandler1(int sig);
901 #define PERL_ARGS_ASSERT_CSIGHANDLER1
902 PERL_CALLCONV Signal_t Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
903 #define PERL_ARGS_ASSERT_CSIGHANDLER3
904 PERL_CALLCONV regexp_engine const * Perl_current_re_engine(pTHX);
905 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
906 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
907 __attribute__warn_unused_result__;
908 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
911 PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
912 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
913 assert(ppaddr); assert(xop)
914 PERL_CALLCONV void Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
915 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
917 PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto);
918 #define PERL_ARGS_ASSERT_CV_CLONE \
920 PERL_CALLCONV CV* Perl_cv_clone_into(pTHX_ CV* proto, CV *target)
921 __attribute__visibility__("hidden");
922 #define PERL_ARGS_ASSERT_CV_CLONE_INTO \
923 assert(proto); assert(target)
925 PERL_CALLCONV SV* Perl_cv_const_sv(const CV *const cv)
926 __attribute__warn_unused_result__;
927 #define PERL_ARGS_ASSERT_CV_CONST_SV
929 PERL_CALLCONV SV* Perl_cv_const_sv_or_av(const CV *const cv)
930 __attribute__warn_unused_result__
931 __attribute__visibility__("hidden");
932 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
934 PERL_CALLCONV void Perl_cv_forget_slab(pTHX_ CV *cv)
935 __attribute__visibility__("hidden");
936 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
938 PERL_CALLCONV void Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
939 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
940 assert(cv); assert(ckfun_p); assert(ckobj_p)
941 PERL_CALLCONV void Perl_cv_get_call_checker_flags(pTHX_ CV *cv, U32 gflags, Perl_call_checker *ckfun_p, SV **ckobj_p, U32 *ckflags_p);
942 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS \
943 assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
944 PERL_CALLCONV SV * Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
945 #define PERL_ARGS_ASSERT_CV_NAME \
947 PERL_CALLCONV void Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
948 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
949 assert(cv); assert(ckfun); assert(ckobj)
950 PERL_CALLCONV void Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
951 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
952 assert(cv); assert(ckfun); assert(ckobj)
953 PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv);
954 #define PERL_ARGS_ASSERT_CV_UNDEF \
956 PERL_CALLCONV void Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags)
957 __attribute__visibility__("hidden");
958 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
961 PERL_CALLCONV GV * Perl_cvgv_from_hek(pTHX_ CV* cv);
962 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK \
964 PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
965 #define PERL_ARGS_ASSERT_CVGV_SET \
967 PERL_CALLCONV void Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
968 #define PERL_ARGS_ASSERT_CVSTASH_SET \
970 PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
971 #define PERL_ARGS_ASSERT_CX_DUMP \
973 PERL_CALLCONV I32 Perl_cxinc(pTHX)
974 __attribute__warn_unused_result__;
975 #define PERL_ARGS_ASSERT_CXINC
977 PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
978 __attribute__format__(__printf__,pTHX_1,pTHX_2);
979 #define PERL_ARGS_ASSERT_DEB \
982 PERL_CALLCONV void Perl_deb_stack_all(pTHX)
983 __attribute__visibility__("hidden");
984 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
986 PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o);
987 #define PERL_ARGS_ASSERT_DEBOP \
989 PERL_CALLCONV void Perl_debprofdump(pTHX);
990 #define PERL_ARGS_ASSERT_DEBPROFDUMP
991 PERL_CALLCONV I32 Perl_debstack(pTHX);
992 #define PERL_ARGS_ASSERT_DEBSTACK
993 PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
994 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
995 PERL_CALLCONV void Perl_debug_hash_seed(pTHX_ bool via_debug_h)
996 __attribute__visibility__("hidden");
997 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
999 PERL_CALLCONV SV * Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
1000 __attribute__warn_unused_result__
1001 __attribute__visibility__("hidden");
1002 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
1005 PERL_CALLCONV void Perl_delete_eval_scope(pTHX)
1006 __attribute__visibility__("hidden");
1007 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
1009 PERL_CALLCONV char* Perl_delimcpy(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
1010 #define PERL_ARGS_ASSERT_DELIMCPY \
1011 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1012 PERL_CALLCONV char* Perl_delimcpy_no_escape(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
1013 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE \
1014 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1015 PERL_CALLCONV void Perl_despatch_signals(pTHX);
1016 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
1017 PERL_CALLCONV_NO_RET OP* Perl_die(pTHX_ const char* pat, ...)
1018 __attribute__noreturn__
1019 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
1020 #define PERL_ARGS_ASSERT_DIE
1022 PERL_CALLCONV_NO_RET OP* Perl_die_sv(pTHX_ SV *baseex)
1023 __attribute__noreturn__;
1024 #define PERL_ARGS_ASSERT_DIE_SV \
1027 PERL_CALLCONV_NO_RET void Perl_die_unwind(pTHX_ SV* msv)
1028 __attribute__noreturn__
1029 __attribute__visibility__("hidden");
1030 #define PERL_ARGS_ASSERT_DIE_UNWIND \
1034 PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
1035 __attribute__visibility__("hidden");
1036 #define PERL_ARGS_ASSERT_DO_AEXEC \
1037 assert(mark); assert(sp)
1040 PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
1041 __attribute__visibility__("hidden");
1042 #define PERL_ARGS_ASSERT_DO_AEXEC5 \
1043 assert(mark); assert(sp)
1045 PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool is_explicit);
1046 #define PERL_ARGS_ASSERT_DO_CLOSE
1047 PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
1048 __attribute__visibility__("hidden");
1049 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \
1052 PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
1053 __attribute__visibility__("hidden");
1054 #define PERL_ARGS_ASSERT_DO_EOF \
1057 PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1058 #define PERL_ARGS_ASSERT_DO_GV_DUMP \
1059 assert(file); assert(name)
1060 PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1061 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
1062 assert(file); assert(name)
1063 PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
1064 #define PERL_ARGS_ASSERT_DO_HV_DUMP \
1065 assert(file); assert(name)
1066 PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
1067 #define PERL_ARGS_ASSERT_DO_JOIN \
1068 assert(sv); assert(delim); assert(mark); assert(sp)
1069 PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1070 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
1072 PERL_CALLCONV I32 Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
1073 __attribute__warn_unused_result__
1074 __attribute__visibility__("hidden");
1075 #define PERL_ARGS_ASSERT_DO_NCMP \
1076 assert(left); assert(right)
1078 PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
1079 #define PERL_ARGS_ASSERT_DO_OP_DUMP \
1082 PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
1083 #define PERL_ARGS_ASSERT_DO_OPEN \
1084 assert(gv); assert(name)
1086 PERL_CALLCONV bool Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
1087 __attribute__visibility__("hidden");
1088 #define PERL_ARGS_ASSERT_DO_OPEN6 \
1089 assert(gv); assert(oname)
1091 PERL_CALLCONV bool Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
1092 __attribute__visibility__("hidden");
1093 #define PERL_ARGS_ASSERT_DO_OPEN_RAW \
1094 assert(gv); assert(oname)
1096 PERL_CALLCONV bool Perl_do_openn(pTHX_ GV *gv, const char *oname, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num);
1097 #define PERL_ARGS_ASSERT_DO_OPENN \
1098 assert(gv); assert(oname)
1099 PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
1100 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
1102 PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
1103 __attribute__visibility__("hidden");
1104 #define PERL_ARGS_ASSERT_DO_PRINT \
1107 PERL_CALLCONV OP* Perl_do_readline(pTHX)
1108 __attribute__warn_unused_result__
1109 __attribute__visibility__("hidden");
1110 #define PERL_ARGS_ASSERT_DO_READLINE
1112 PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence)
1113 __attribute__visibility__("hidden");
1114 #define PERL_ARGS_ASSERT_DO_SEEK
1116 PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, SSize_t len, SV** sarg);
1117 #define PERL_ARGS_ASSERT_DO_SPRINTF \
1118 assert(sv); assert(sarg)
1119 PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1120 #define PERL_ARGS_ASSERT_DO_SV_DUMP \
1122 PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
1123 __attribute__visibility__("hidden");
1124 #define PERL_ARGS_ASSERT_DO_SYSSEEK \
1127 PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
1128 __attribute__warn_unused_result__
1129 __attribute__visibility__("hidden");
1130 #define PERL_ARGS_ASSERT_DO_TELL \
1133 PERL_CALLCONV Size_t Perl_do_trans(pTHX_ SV* sv)
1134 __attribute__visibility__("hidden");
1135 #define PERL_ARGS_ASSERT_DO_TRANS \
1138 PERL_CALLCONV I16 Perl_do_uniprop_match(const char * const key, const U16 key_len)
1139 __attribute__warn_unused_result__;
1140 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH \
1143 PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, STRLEN offset, int size)
1144 __attribute__visibility__("hidden");
1145 #define PERL_ARGS_ASSERT_DO_VECGET \
1148 PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv)
1149 __attribute__visibility__("hidden");
1150 #define PERL_ARGS_ASSERT_DO_VECSET \
1153 PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
1154 __attribute__visibility__("hidden");
1155 #define PERL_ARGS_ASSERT_DO_VOP \
1156 assert(sv); assert(left); assert(right)
1158 PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin)
1159 __attribute__visibility__("hidden");
1160 #define PERL_ARGS_ASSERT_DOFILE \
1163 PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
1164 __attribute__warn_unused_result__;
1165 #define PERL_ARGS_ASSERT_DOING_TAINT
1167 PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1168 #define PERL_ARGS_ASSERT_DOREF \
1170 PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
1171 #define PERL_ARGS_ASSERT_DOUNWIND
1172 PERL_CALLCONV U8 Perl_dowantarray(pTHX)
1173 __attribute__warn_unused_result__;
1174 #define PERL_ARGS_ASSERT_DOWANTARRAY
1176 PERL_CALLCONV void Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1177 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1178 assert(random_state)
1179 PERL_CALLCONV double Perl_drand48_r(perl_drand48_t *random_state);
1180 #define PERL_ARGS_ASSERT_DRAND48_R \
1181 assert(random_state)
1182 PERL_CALLCONV void Perl_dump_all(pTHX);
1183 #define PERL_ARGS_ASSERT_DUMP_ALL
1184 PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl)
1185 __attribute__visibility__("hidden");
1186 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1188 PERL_CALLCONV void Perl_dump_eval(pTHX);
1189 #define PERL_ARGS_ASSERT_DUMP_EVAL
1190 PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv);
1191 #define PERL_ARGS_ASSERT_DUMP_FORM \
1193 PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1194 __attribute__format__(__printf__,pTHX_3,pTHX_4);
1195 #define PERL_ARGS_ASSERT_DUMP_INDENT \
1196 assert(file); assert(pat)
1198 PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash);
1199 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
1201 PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
1202 __attribute__visibility__("hidden");
1203 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
1206 PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv);
1207 #define PERL_ARGS_ASSERT_DUMP_SUB \
1209 PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
1210 __attribute__visibility__("hidden");
1211 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
1214 PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
1215 #define PERL_ARGS_ASSERT_DUMP_VINDENT \
1216 assert(file); assert(pat)
1217 PERL_CALLCONV STRLEN* Perl_dup_warnings(pTHX_ STRLEN* warnings);
1218 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1219 PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
1220 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1221 assert(c); assert(sv)
1222 PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
1223 #define PERL_ARGS_ASSERT_EVAL_PV \
1225 PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags);
1226 #define PERL_ARGS_ASSERT_EVAL_SV \
1228 PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
1229 #define PERL_ARGS_ASSERT_FBM_COMPILE \
1231 PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
1232 __attribute__warn_unused_result__;
1233 #define PERL_ARGS_ASSERT_FBM_INSTR \
1234 assert(big); assert(bigend); assert(littlestr)
1236 PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1237 #define PERL_ARGS_ASSERT_FILTER_ADD
1238 PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp);
1239 #define PERL_ARGS_ASSERT_FILTER_DEL \
1241 PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1242 __attribute__warn_unused_result__;
1243 #define PERL_ARGS_ASSERT_FILTER_READ \
1246 PERL_CALLCONV void Perl_finalize_optree(pTHX_ OP* o)
1247 __attribute__visibility__("hidden");
1248 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
1251 PERL_CALLCONV CV * Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1252 __attribute__visibility__("hidden");
1253 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1255 PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp)
1256 __attribute__warn_unused_result__;
1257 #define PERL_ARGS_ASSERT_FIND_RUNCV
1259 PERL_CALLCONV CV* Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1260 __attribute__warn_unused_result__
1261 __attribute__visibility__("hidden");
1262 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1264 PERL_CALLCONV SV* Perl_find_rundefsv(pTHX);
1265 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1266 PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
1267 __attribute__visibility__("hidden");
1268 #define PERL_ARGS_ASSERT_FIND_SCRIPT \
1271 #ifndef PERL_NO_INLINE_FUNCTIONS
1272 PERL_STATIC_INLINE I32 Perl_foldEQ(pTHX_ const char* a, const char* b, I32 len);
1273 #define PERL_ARGS_ASSERT_FOLDEQ \
1274 assert(a); assert(b)
1276 #ifndef PERL_NO_INLINE_FUNCTIONS
1277 PERL_STATIC_INLINE I32 Perl_foldEQ_latin1(pTHX_ const char* a, const char* b, I32 len);
1278 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
1279 assert(a); assert(b)
1281 #ifndef PERL_NO_INLINE_FUNCTIONS
1282 PERL_STATIC_INLINE I32 Perl_foldEQ_locale(pTHX_ const char* a, const char* b, I32 len);
1283 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
1284 assert(a); assert(b)
1286 /* PERL_CALLCONV I32 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1287 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8
1288 PERL_CALLCONV I32 Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags);
1289 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
1290 assert(s1); assert(s2)
1291 PERL_CALLCONV void Perl_force_locale_unlock(void)
1292 __attribute__visibility__("hidden");
1293 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1295 PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
1296 __attribute__format__(__printf__,pTHX_1,pTHX_2);
1297 #define PERL_ARGS_ASSERT_FORM \
1300 PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX)
1301 __attribute__visibility__("hidden");
1302 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1304 PERL_CALLCONV void Perl_free_tmps(pTHX);
1305 #define PERL_ARGS_ASSERT_FREE_TMPS
1306 PERL_CALLCONV SV* Perl_get_and_check_backslash_N_name(pTHX_ const char* s, const char* e, const bool is_utf8, const char** error_msg)
1307 __attribute__warn_unused_result__;
1308 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1309 assert(s); assert(e); assert(error_msg)
1311 PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags);
1312 #define PERL_ARGS_ASSERT_GET_AV \
1314 PERL_CALLCONV void* Perl_get_context(void)
1315 __attribute__warn_unused_result__;
1316 #define PERL_ARGS_ASSERT_GET_CONTEXT
1318 PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags);
1319 #define PERL_ARGS_ASSERT_GET_CV \
1321 PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
1322 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
1324 PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1325 #define PERL_ARGS_ASSERT_GET_DB_SUB \
1327 PERL_CALLCONV const char * Perl_get_deprecated_property_msg(const Size_t warning_offset)
1328 __attribute__warn_unused_result__;
1329 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1331 PERL_CALLCONV void Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1332 __attribute__visibility__("hidden");
1333 #define PERL_ARGS_ASSERT_GET_HASH_SEED \
1336 PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags);
1337 #define PERL_ARGS_ASSERT_GET_HV \
1339 PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
1340 __attribute__deprecated__
1341 __attribute__warn_unused_result__
1343 __attribute__visibility__("hidden");
1344 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1346 PERL_CALLCONV char** Perl_get_op_descs(pTHX)
1347 __attribute__deprecated__
1348 __attribute__warn_unused_result__
1349 __attribute__pure__;
1350 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1352 PERL_CALLCONV char** Perl_get_op_names(pTHX)
1353 __attribute__deprecated__
1354 __attribute__warn_unused_result__
1355 __attribute__pure__;
1356 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1358 PERL_CALLCONV U32* Perl_get_opargs(pTHX)
1359 __attribute__deprecated__
1360 __attribute__warn_unused_result__
1362 __attribute__visibility__("hidden");
1363 #define PERL_ARGS_ASSERT_GET_OPARGS
1365 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1366 __attribute__deprecated__
1367 __attribute__warn_unused_result__
1368 __attribute__pure__;
1369 #define PERL_ARGS_ASSERT_GET_PPADDR
1371 PERL_CALLCONV SV * Perl_get_prop_definition(pTHX_ const int table_index)
1372 __attribute__warn_unused_result__;
1373 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1375 PERL_CALLCONV const char * const * Perl_get_prop_values(const int table_index)
1376 __attribute__warn_unused_result__;
1377 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1379 PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv);
1380 #define PERL_ARGS_ASSERT_GET_RE_ARG
1381 PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags);
1382 #define PERL_ARGS_ASSERT_GET_SV \
1384 PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id)
1385 __attribute__warn_unused_result__;
1386 #define PERL_ARGS_ASSERT_GET_VTBL
1388 PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv);
1389 #define PERL_ARGS_ASSERT_GETCWD_SV \
1391 PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
1392 #define PERL_ARGS_ASSERT_GP_FREE
1393 PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
1394 #define PERL_ARGS_ASSERT_GP_REF
1395 PERL_CALLCONV bool Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
1396 #define PERL_ARGS_ASSERT_GROK_ATOUV \
1397 assert(pv); assert(valptr)
1398 PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1399 #define PERL_ARGS_ASSERT_GROK_BIN \
1400 assert(start); assert(len_p); assert(flags)
1401 PERL_CALLCONV UV Perl_grok_bin_oct_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result, const unsigned shift, const U8 lookup_bit, const char prefix);
1402 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX \
1403 assert(start); assert(len_p); assert(flags)
1404 PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1405 #define PERL_ARGS_ASSERT_GROK_HEX \
1406 assert(start); assert(len_p); assert(flags)
1407 PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send);
1408 #define PERL_ARGS_ASSERT_GROK_INFNAN \
1409 assert(sp); assert(send)
1410 PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1411 #define PERL_ARGS_ASSERT_GROK_NUMBER \
1413 PERL_CALLCONV int Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1414 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \
1416 PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1417 __attribute__warn_unused_result__;
1418 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1419 assert(sp); assert(send)
1421 PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1422 #define PERL_ARGS_ASSERT_GROK_OCT \
1423 assert(start); assert(len_p); assert(flags)
1425 PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv);
1426 #define PERL_ARGS_ASSERT_GV_AVADD
1429 PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv);
1430 #define PERL_ARGS_ASSERT_GV_HVADD
1433 PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv);
1434 #define PERL_ARGS_ASSERT_GV_IOADD
1436 PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1437 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1438 /* PERL_CALLCONV GV* gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1439 __attribute__warn_unused_result__; */
1440 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4
1442 PERL_CALLCONV GV* Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1443 __attribute__warn_unused_result__;
1444 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1447 PERL_CALLCONV GV* Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1448 __attribute__warn_unused_result__;
1449 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
1452 PERL_CALLCONV GV* Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1453 __attribute__warn_unused_result__;
1454 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1457 PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash);
1458 #define PERL_ARGS_ASSERT_GV_CHECK \
1460 PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
1461 __attribute__warn_unused_result__;
1462 #define PERL_ARGS_ASSERT_GV_CONST_SV \
1465 PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv);
1466 #define PERL_ARGS_ASSERT_GV_DUMP
1468 PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1469 #define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
1470 assert(sv); assert(gv)
1472 PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1473 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1474 assert(sv); assert(gv)
1475 PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name);
1476 #define PERL_ARGS_ASSERT_GV_FETCHFILE \
1478 PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1479 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1481 /* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1482 #define PERL_ARGS_ASSERT_GV_FETCHMETH
1483 /* PERL_CALLCONV GV* gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1484 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD
1485 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1486 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
1488 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1489 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
1491 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1492 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1494 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1495 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1497 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1498 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1500 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1501 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1504 PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1505 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1506 assert(stash); assert(name)
1508 PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1509 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
1510 assert(stash); assert(name)
1511 PERL_CALLCONV GV* Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1512 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
1513 assert(stash); assert(name)
1514 PERL_CALLCONV GV* Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1515 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1516 assert(stash); assert(name)
1517 PERL_CALLCONV GV* Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1518 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1519 assert(stash); assert(namesv)
1520 PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1521 #define PERL_ARGS_ASSERT_GV_FETCHPV \
1523 PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1524 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1526 PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1527 #define PERL_ARGS_ASSERT_GV_FETCHSV \
1530 PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1531 #define PERL_ARGS_ASSERT_GV_FULLNAME3 \
1532 assert(sv); assert(gv)
1534 PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1535 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1536 assert(sv); assert(gv)
1537 PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
1538 __attribute__warn_unused_result__;
1539 #define PERL_ARGS_ASSERT_GV_HANDLER
1541 /* PERL_CALLCONV void gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1542 #define PERL_ARGS_ASSERT_GV_INIT
1543 PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1544 #define PERL_ARGS_ASSERT_GV_INIT_PV \
1545 assert(gv); assert(name)
1546 PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1547 #define PERL_ARGS_ASSERT_GV_INIT_PVN \
1548 assert(gv); assert(name)
1549 PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1550 #define PERL_ARGS_ASSERT_GV_INIT_SV \
1551 assert(gv); assert(namesv)
1552 PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1553 #define PERL_ARGS_ASSERT_GV_NAME_SET \
1554 assert(gv); assert(name)
1555 PERL_CALLCONV GV * Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1556 #define PERL_ARGS_ASSERT_GV_OVERRIDE \
1558 PERL_CALLCONV void Perl_gv_setref(pTHX_ SV *const dsv, SV *const ssv)
1559 __attribute__visibility__("hidden");
1560 #define PERL_ARGS_ASSERT_GV_SETREF \
1561 assert(dsv); assert(ssv)
1563 PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1564 #define PERL_ARGS_ASSERT_GV_STASHPV \
1566 PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1567 #define PERL_ARGS_ASSERT_GV_STASHPVN \
1569 PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1570 #define PERL_ARGS_ASSERT_GV_STASHSV \
1572 PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv);
1573 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1575 PERL_CALLCONV struct xpvhv_aux* Perl_hv_auxalloc(pTHX_ HV *hv)
1576 __attribute__visibility__("hidden");
1577 #define PERL_ARGS_ASSERT_HV_AUXALLOC \
1580 PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv)
1581 __attribute__visibility__("hidden");
1582 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1585 PERL_CALLCONV SV* Perl_hv_bucket_ratio(pTHX_ HV *hv)
1586 __attribute__warn_unused_result__;
1587 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \
1590 PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
1591 #define PERL_ARGS_ASSERT_HV_CLEAR
1592 PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv);
1593 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1595 PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1596 #define PERL_ARGS_ASSERT_HV_COMMON
1597 PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash);
1598 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1600 PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1601 __attribute__warn_unused_result__;
1602 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1604 PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1605 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1607 PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1608 #define PERL_ARGS_ASSERT_HV_DELETE \
1612 PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1613 #define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1616 PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
1617 __attribute__warn_unused_result__;
1618 #define PERL_ARGS_ASSERT_HV_EITER_P \
1621 PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1622 #define PERL_ARGS_ASSERT_HV_EITER_SET \
1624 PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1625 __attribute__visibility__("hidden");
1626 #define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1627 assert(hv); assert(name)
1629 PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1630 __attribute__visibility__("hidden");
1631 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1632 assert(hv); assert(name)
1635 PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1636 __attribute__warn_unused_result__;
1637 #define PERL_ARGS_ASSERT_HV_EXISTS \
1642 PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1643 __attribute__warn_unused_result__;
1644 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1649 PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1650 #define PERL_ARGS_ASSERT_HV_FETCH \
1654 PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1655 #define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1658 PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV *const hv);
1659 #define PERL_ARGS_ASSERT_HV_FILL \
1661 PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1662 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1663 PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv);
1664 #define PERL_ARGS_ASSERT_HV_ITERINIT \
1666 PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1667 __attribute__warn_unused_result__;
1668 #define PERL_ARGS_ASSERT_HV_ITERKEY \
1669 assert(entry); assert(retlen)
1671 PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
1672 __attribute__warn_unused_result__;
1673 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1677 PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
1678 __attribute__warn_unused_result__;
1679 #define PERL_ARGS_ASSERT_HV_ITERNEXT \
1683 PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1684 __attribute__warn_unused_result__;
1685 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1688 PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1689 __attribute__warn_unused_result__;
1690 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1691 assert(hv); assert(key); assert(retlen)
1693 PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1694 __attribute__warn_unused_result__;
1695 #define PERL_ARGS_ASSERT_HV_ITERVAL \
1696 assert(hv); assert(entry)
1698 PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1699 #define PERL_ARGS_ASSERT_HV_KSPLIT \
1702 PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1703 #define PERL_ARGS_ASSERT_HV_MAGIC \
1706 PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1707 #define PERL_ARGS_ASSERT_HV_NAME_SET \
1709 PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1710 __attribute__warn_unused_result__;
1711 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1714 PERL_CALLCONV SSize_t* Perl_hv_placeholders_p(pTHX_ HV *hv)
1715 __attribute__warn_unused_result__;
1716 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1719 PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1720 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1722 PERL_CALLCONV void Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1723 __attribute__visibility__("hidden");
1724 #define PERL_ARGS_ASSERT_HV_PUSHKV \
1727 PERL_CALLCONV void Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1728 #define PERL_ARGS_ASSERT_HV_RAND_SET \
1730 PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
1731 __attribute__warn_unused_result__;
1732 #define PERL_ARGS_ASSERT_HV_RITER_P \
1735 PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1736 #define PERL_ARGS_ASSERT_HV_RITER_SET \
1738 PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
1739 __attribute__warn_unused_result__;
1740 #define PERL_ARGS_ASSERT_HV_SCALAR \
1744 PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1745 #define PERL_ARGS_ASSERT_HV_STORE
1748 PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1749 #define PERL_ARGS_ASSERT_HV_STORE_ENT
1752 PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1753 #define PERL_ARGS_ASSERT_HV_STORE_FLAGS
1755 /* PERL_CALLCONV SV** hv_stores(pTHX_ HV* hv, const char * const key, SV* val); */
1756 #define PERL_ARGS_ASSERT_HV_STORES
1757 /* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */
1758 #define PERL_ARGS_ASSERT_HV_UNDEF
1759 PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1760 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1761 /* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1762 __attribute__warn_unused_result__
1763 __attribute__pure__; */
1764 #define PERL_ARGS_ASSERT_IBCMP
1766 /* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1767 __attribute__warn_unused_result__
1768 __attribute__pure__; */
1769 #define PERL_ARGS_ASSERT_IBCMP_LOCALE
1771 /* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1772 #define PERL_ARGS_ASSERT_IBCMP_UTF8
1773 PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1774 __attribute__visibility__("hidden");
1775 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1778 PERL_CALLCONV void Perl_init_constants(pTHX)
1779 __attribute__visibility__("hidden");
1780 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1782 PERL_CALLCONV void Perl_init_dbargs(pTHX)
1783 __attribute__visibility__("hidden");
1784 #define PERL_ARGS_ASSERT_INIT_DBARGS
1786 PERL_CALLCONV void Perl_init_debugger(pTHX)
1787 __attribute__visibility__("hidden");
1788 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1790 PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
1791 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1792 PERL_CALLCONV void Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1793 #define PERL_ARGS_ASSERT_INIT_NAMED_CV \
1794 assert(cv); assert(nameop)
1795 PERL_CALLCONV void Perl_init_stacks(pTHX);
1796 #define PERL_ARGS_ASSERT_INIT_STACKS
1797 PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm);
1798 #define PERL_ARGS_ASSERT_INIT_TM \
1800 PERL_CALLCONV void Perl_init_uniprops(pTHX)
1801 __attribute__visibility__("hidden");
1802 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1805 PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
1806 __attribute__warn_unused_result__
1807 __attribute__pure__;
1808 #define PERL_ARGS_ASSERT_INSTR \
1809 assert(big); assert(little)
1812 PERL_CALLCONV U32 Perl_intro_my(pTHX);
1813 #define PERL_ARGS_ASSERT_INTRO_MY
1814 PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1815 __attribute__warn_unused_result__
1816 __attribute__visibility__("hidden");
1817 #define PERL_ARGS_ASSERT_INVERT
1819 PERL_CALLCONV void Perl_invmap_dump(pTHX_ SV* invlist, UV * map)
1820 __attribute__visibility__("hidden");
1821 #define PERL_ARGS_ASSERT_INVMAP_DUMP \
1822 assert(invlist); assert(map)
1824 PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, GV *gv, bool is_explicit, bool warn_on_fail)
1825 __attribute__visibility__("hidden");
1826 #define PERL_ARGS_ASSERT_IO_CLOSE \
1829 #ifndef PERL_NO_INLINE_FUNCTIONS
1830 PERL_STATIC_INLINE Size_t Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1831 __attribute__warn_unused_result__;
1832 #define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR \
1833 assert(s0); assert(e)
1836 #ifndef PERL_NO_INLINE_FUNCTIONS
1837 PERL_STATIC_INLINE Size_t Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1838 __attribute__warn_unused_result__;
1839 #define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR \
1840 assert(s0); assert(e)
1843 #ifndef PERL_NO_INLINE_FUNCTIONS
1844 PERL_STATIC_INLINE Size_t Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
1845 __attribute__warn_unused_result__;
1846 #define PERL_ARGS_ASSERT_ISUTF8_CHAR \
1847 assert(s0); assert(e)
1850 #ifndef PERL_NO_INLINE_FUNCTIONS
1851 PERL_STATIC_INLINE Size_t Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1852 __attribute__warn_unused_result__;
1853 #define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS \
1854 assert(s0); assert(e)
1857 /* PERL_CALLCONV bool is_ascii_string(const U8* const s, STRLEN len)
1858 __attribute__warn_unused_result__
1859 __attribute__pure__; */
1860 #define PERL_ARGS_ASSERT_IS_ASCII_STRING
1862 /* PERL_CALLCONV bool is_c9strict_utf8_string(const U8 *s, STRLEN len)
1863 __attribute__warn_unused_result__; */
1864 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING
1866 /* PERL_CALLCONV bool is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1867 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOC
1868 #ifndef PERL_NO_INLINE_FUNCTIONS
1869 PERL_STATIC_INLINE bool Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1870 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1873 /* PERL_CALLCONV bool is_invariant_string(const U8* const s, STRLEN len)
1874 __attribute__warn_unused_result__
1875 __attribute__pure__; */
1876 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING
1878 PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1879 __attribute__warn_unused_result__;
1880 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1882 #ifndef PERL_NO_INLINE_FUNCTIONS
1883 PERL_STATIC_INLINE bool Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1884 __attribute__warn_unused_result__;
1885 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \
1886 assert(pv); assert(what); assert(op_name)
1889 /* PERL_CALLCONV bool is_strict_utf8_string(const U8 *s, STRLEN len)
1890 __attribute__warn_unused_result__; */
1891 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING
1893 /* PERL_CALLCONV bool is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1894 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOC
1895 #ifndef PERL_NO_INLINE_FUNCTIONS
1896 PERL_STATIC_INLINE bool Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1897 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
1900 PERL_CALLCONV Size_t Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1901 __attribute__warn_unused_result__
1902 __attribute__pure__;
1903 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_ \
1904 assert(s0); assert(e)
1907 PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1908 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
1909 assert(buf); assert(buf_end)
1911 PERL_CALLCONV STRLEN Perl_is_utf8_char_helper_(const U8 * const s, const U8 * e, const U32 flags)
1912 __attribute__warn_unused_result__
1913 __attribute__pure__;
1914 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_ \
1915 assert(s); assert(e)
1917 /* PERL_CALLCONV bool is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1918 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_FLAGS
1919 /* PERL_CALLCONV bool is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1920 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOC_FLAGS
1921 #ifndef PERL_NO_INLINE_FUNCTIONS
1922 PERL_STATIC_INLINE bool Perl_is_utf8_fixed_width_buf_loclen_flags(const U8 * const s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1923 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
1926 /* PERL_CALLCONV bool is_utf8_invariant_string(const U8* const s, STRLEN len)
1927 __attribute__warn_unused_result__; */
1928 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING
1930 #ifndef PERL_NO_INLINE_FUNCTIONS
1931 PERL_STATIC_INLINE bool Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
1932 __attribute__warn_unused_result__;
1933 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC \
1937 /* PERL_CALLCONV bool is_utf8_string(const U8 *s, STRLEN len)
1938 __attribute__warn_unused_result__; */
1939 #define PERL_ARGS_ASSERT_IS_UTF8_STRING
1941 #ifndef PERL_NO_INLINE_FUNCTIONS
1942 PERL_STATIC_INLINE bool Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
1943 __attribute__warn_unused_result__;
1944 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS \
1949 PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
1950 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
1951 assert(s); assert(ep)
1953 /* PERL_CALLCONV bool is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1954 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC_FLAGS
1955 #ifndef PERL_NO_INLINE_FUNCTIONS
1956 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1957 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1960 #ifndef PERL_NO_INLINE_FUNCTIONS
1961 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1962 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
1965 /* PERL_CALLCONV bool is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1966 __attribute__warn_unused_result__
1967 __attribute__pure__; */
1968 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR
1970 #ifndef PERL_NO_INLINE_FUNCTIONS
1971 PERL_STATIC_INLINE bool Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1972 __attribute__warn_unused_result__;
1973 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
1974 assert(s0); assert(e)
1977 PERL_CALLCONV bool Perl_isinfnan(NV nv)
1978 __attribute__warn_unused_result__
1979 __attribute__pure__;
1980 #define PERL_ARGS_ASSERT_ISINFNAN
1982 PERL_CALLCONV bool Perl_isinfnansv(pTHX_ SV *sv)
1983 __attribute__visibility__("hidden");
1984 #define PERL_ARGS_ASSERT_ISINFNANSV \
1987 PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
1988 __attribute__visibility__("hidden");
1989 #define PERL_ARGS_ASSERT_JMAYBE \
1992 PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1993 __attribute__warn_unused_result__
1995 __attribute__visibility__("hidden");
1996 #define PERL_ARGS_ASSERT_KEYWORD \
1999 PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
2000 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
2001 assert(keyword_ptr); assert(op_ptr)
2002 PERL_CALLCONV void Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
2003 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS \
2004 assert(from_sp); assert(to_sp)
2005 PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
2006 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
2007 PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
2008 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
2009 PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr);
2010 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2012 PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
2013 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
2014 PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
2015 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
2016 PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
2017 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
2018 PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
2019 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
2020 PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr);
2021 #define PERL_ARGS_ASSERT_LEX_READ_TO \
2023 PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
2024 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
2025 PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
2026 #define PERL_ARGS_ASSERT_LEX_START
2027 PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
2028 #define PERL_ARGS_ASSERT_LEX_STUFF_PV \
2030 PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
2031 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
2033 PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
2034 #define PERL_ARGS_ASSERT_LEX_STUFF_SV \
2036 PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr);
2037 #define PERL_ARGS_ASSERT_LEX_UNSTUFF \
2039 PERL_CALLCONV OP* Perl_list(pTHX_ OP* o)
2040 __attribute__visibility__("hidden");
2041 #define PERL_ARGS_ASSERT_LIST
2043 PERL_CALLCONV HV* Perl_load_charnames(pTHX_ SV * char_name, const char * context, const STRLEN context_len, const char ** error_msg)
2044 __attribute__warn_unused_result__;
2045 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
2046 assert(char_name); assert(context); assert(error_msg)
2048 PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
2049 #define PERL_ARGS_ASSERT_LOAD_MODULE \
2051 PERL_CALLCONV_NO_RET void Perl_locale_panic(const char * msg, const char * file_name, const line_t line, const int errnum)
2052 __attribute__noreturn__;
2053 #define PERL_ARGS_ASSERT_LOCALE_PANIC \
2054 assert(msg); assert(file_name)
2056 PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
2057 __attribute__visibility__("hidden");
2058 #define PERL_ARGS_ASSERT_LOCALIZE \
2061 PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
2062 __attribute__warn_unused_result__;
2063 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
2066 #ifndef PERL_NO_INLINE_FUNCTIONS
2067 PERL_STATIC_INLINE unsigned Perl_lsbit_pos32(U32 word)
2068 __attribute__warn_unused_result__;
2069 #define PERL_ARGS_ASSERT_LSBIT_POS32
2072 PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
2073 __attribute__visibility__("hidden");
2074 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
2075 assert(sv); assert(mg)
2077 PERL_CALLCONV int Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2078 __attribute__visibility__("hidden");
2079 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
2080 assert(sv); assert(mg)
2082 PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2083 __attribute__visibility__("hidden");
2084 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2085 assert(sv); assert(mg)
2087 PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2088 __attribute__visibility__("hidden");
2089 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
2090 assert(sv); assert(mg)
2092 PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2093 __attribute__visibility__("hidden");
2094 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
2095 assert(sv); assert(mg)
2097 PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
2098 __attribute__visibility__("hidden");
2099 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2102 PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2103 __attribute__visibility__("hidden");
2104 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
2105 assert(sv); assert(mg)
2107 PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2108 __attribute__visibility__("hidden");
2109 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2110 assert(sv); assert(mg)
2112 PERL_CALLCONV int Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2113 __attribute__visibility__("hidden");
2114 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
2115 assert(sv); assert(mg); assert(nsv)
2117 PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
2118 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2119 PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
2120 __attribute__visibility__("hidden");
2121 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
2122 assert(sv); assert(mg)
2124 PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2125 __attribute__visibility__("hidden");
2126 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
2127 assert(sv); assert(mg)
2129 PERL_CALLCONV int Perl_magic_freemglob(pTHX_ SV* sv, MAGIC* mg)
2130 __attribute__visibility__("hidden");
2131 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB \
2132 assert(sv); assert(mg)
2134 PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2135 __attribute__visibility__("hidden");
2136 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
2137 assert(sv); assert(mg)
2139 PERL_CALLCONV int Perl_magic_freeutf8(pTHX_ SV* sv, MAGIC* mg)
2140 __attribute__visibility__("hidden");
2141 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
2142 assert(sv); assert(mg)
2144 PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2145 __attribute__visibility__("hidden");
2146 #define PERL_ARGS_ASSERT_MAGIC_GET \
2147 assert(sv); assert(mg)
2149 PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2150 __attribute__visibility__("hidden");
2151 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
2152 assert(sv); assert(mg)
2154 PERL_CALLCONV int Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg)
2155 __attribute__visibility__("hidden");
2156 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \
2157 assert(sv); assert(mg)
2159 PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2160 __attribute__visibility__("hidden");
2161 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
2162 assert(sv); assert(mg)
2164 PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2165 __attribute__visibility__("hidden");
2166 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2167 assert(sv); assert(mg)
2169 PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2170 __attribute__visibility__("hidden");
2171 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2172 assert(sv); assert(mg)
2174 PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2175 __attribute__visibility__("hidden");
2176 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2177 assert(sv); assert(mg)
2179 PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2180 __attribute__visibility__("hidden");
2181 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2182 assert(sv); assert(mg)
2184 PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2185 __attribute__visibility__("hidden");
2186 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2187 assert(sv); assert(mg)
2189 PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2190 __attribute__visibility__("hidden");
2191 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2192 assert(sv); assert(mg)
2194 PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2195 __attribute__visibility__("hidden");
2196 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2197 assert(sv); assert(mg)
2199 PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2200 __attribute__visibility__("hidden");
2201 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2202 assert(sv); assert(mg)
2204 PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2205 __attribute__visibility__("hidden");
2206 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2207 assert(sv); assert(mg)
2209 PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2210 __attribute__visibility__("hidden");
2211 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2212 assert(sv); assert(mg); assert(meth)
2214 PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2215 __attribute__visibility__("hidden");
2216 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2217 assert(sv); assert(mg); assert(key)
2219 PERL_CALLCONV U32 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)
2224 PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2225 __attribute__visibility__("hidden");
2226 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2227 assert(sv); assert(mg)
2229 PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2230 __attribute__visibility__("hidden");
2231 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2232 assert(hv); assert(mg)
2234 PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2235 __attribute__visibility__("hidden");
2236 #define PERL_ARGS_ASSERT_MAGIC_SET \
2237 assert(sv); assert(mg)
2239 PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
2240 __attribute__visibility__("hidden");
2241 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
2242 assert(sv); assert(mg)
2244 PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
2245 __attribute__visibility__("hidden");
2246 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
2247 assert(sv); assert(mg)
2249 PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
2250 __attribute__visibility__("hidden");
2251 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2252 assert(sv); assert(mg)
2254 PERL_CALLCONV int Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg)
2255 __attribute__visibility__("hidden");
2256 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \
2257 assert(sv); assert(mg)
2259 PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
2260 __attribute__visibility__("hidden");
2261 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2262 assert(sv); assert(mg)
2264 PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
2265 __attribute__visibility__("hidden");
2266 #define PERL_ARGS_ASSERT_MAGIC_SETENV \
2267 assert(sv); assert(mg)
2269 PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2270 __attribute__visibility__("hidden");
2271 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2272 assert(sv); assert(mg)
2274 PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2275 __attribute__visibility__("hidden");
2276 #define PERL_ARGS_ASSERT_MAGIC_SETISA \
2277 assert(sv); assert(mg)
2279 PERL_CALLCONV int Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg)
2280 __attribute__visibility__("hidden");
2281 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2282 assert(sv); assert(mg)
2284 PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2285 __attribute__visibility__("hidden");
2286 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2287 assert(sv); assert(mg)
2289 PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2290 __attribute__visibility__("hidden");
2291 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2292 assert(sv); assert(mg)
2294 PERL_CALLCONV int Perl_magic_setnonelem(pTHX_ SV* sv, MAGIC* mg)
2295 __attribute__visibility__("hidden");
2296 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM \
2297 assert(sv); assert(mg)
2299 PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2300 __attribute__visibility__("hidden");
2301 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2302 assert(sv); assert(mg)
2304 PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2305 __attribute__visibility__("hidden");
2306 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2307 assert(sv); assert(mg)
2309 PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2310 __attribute__visibility__("hidden");
2311 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2312 assert(sv); assert(mg)
2314 PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
2315 __attribute__visibility__("hidden");
2316 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \
2319 PERL_CALLCONV int Perl_magic_setsigall(pTHX_ SV* sv, MAGIC* mg)
2320 __attribute__visibility__("hidden");
2321 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL \
2322 assert(sv); assert(mg)
2324 PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2325 __attribute__visibility__("hidden");
2326 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2327 assert(sv); assert(mg)
2329 PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2330 __attribute__visibility__("hidden");
2331 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2332 assert(sv); assert(mg)
2334 PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
2335 __attribute__visibility__("hidden");
2336 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
2337 assert(sv); assert(mg)
2339 PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
2340 __attribute__visibility__("hidden");
2341 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
2342 assert(sv); assert(mg)
2344 PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
2345 __attribute__visibility__("hidden");
2346 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \
2347 assert(sv); assert(mg)
2349 PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2350 __attribute__visibility__("hidden");
2351 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2352 assert(sv); assert(mg)
2354 PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2355 __attribute__visibility__("hidden");
2356 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2357 assert(sv); assert(mg)
2359 PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
2360 __attribute__malloc__
2361 __attribute__warn_unused_result__;
2362 #define PERL_ARGS_ASSERT_MALLOC
2364 PERL_CALLCONV I32 * Perl_markstack_grow(pTHX);
2365 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2366 PERL_CALLCONV int Perl_mbtowc_(pTHX_ const wchar_t * pwc, const char * s, const Size_t len);
2367 #define PERL_ARGS_ASSERT_MBTOWC_
2368 PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
2369 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2370 #define PERL_ARGS_ASSERT_MESS \
2373 PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
2374 #define PERL_ARGS_ASSERT_MESS_SV \
2376 PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
2377 #define PERL_ARGS_ASSERT_MFREE
2378 PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv);
2379 #define PERL_ARGS_ASSERT_MG_CLEAR \
2381 PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2382 #define PERL_ARGS_ASSERT_MG_COPY \
2383 assert(sv); assert(nsv)
2384 PERL_CALLCONV MAGIC* Perl_mg_find(const SV* sv, int type)
2385 __attribute__warn_unused_result__;
2386 #define PERL_ARGS_ASSERT_MG_FIND
2388 PERL_CALLCONV MAGIC* Perl_mg_find_mglob(pTHX_ SV* sv)
2389 __attribute__warn_unused_result__;
2390 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
2393 PERL_CALLCONV MAGIC* Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2394 __attribute__warn_unused_result__;
2395 #define PERL_ARGS_ASSERT_MG_FINDEXT
2397 PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv);
2398 #define PERL_ARGS_ASSERT_MG_FREE \
2400 PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how);
2401 #define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2403 PERL_CALLCONV void Perl_mg_freeext(pTHX_ SV* sv, int how, const MGVTBL *vtbl);
2404 #define PERL_ARGS_ASSERT_MG_FREEEXT \
2406 PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv);
2407 #define PERL_ARGS_ASSERT_MG_GET \
2409 PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2410 __attribute__visibility__("hidden");
2411 #define PERL_ARGS_ASSERT_MG_LOCALIZE \
2412 assert(sv); assert(nsv)
2414 PERL_CALLCONV void Perl_mg_magical(SV* sv);
2415 #define PERL_ARGS_ASSERT_MG_MAGICAL \
2417 PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv);
2418 #define PERL_ARGS_ASSERT_MG_SET \
2420 PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv);
2421 #define PERL_ARGS_ASSERT_MG_SIZE \
2423 PERL_CALLCONV void Perl_mini_mktime(struct tm *ptm);
2424 #define PERL_ARGS_ASSERT_MINI_MKTIME \
2426 PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len)
2427 __attribute__visibility__("hidden");
2428 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2430 PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2431 #define PERL_ARGS_ASSERT_MORE_BODIES
2432 PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s);
2433 #define PERL_ARGS_ASSERT_MORESWITCHES \
2435 #ifndef PERL_NO_INLINE_FUNCTIONS
2436 PERL_STATIC_INLINE char * Perl_mortal_getenv(const char * str)
2437 __attribute__warn_unused_result__;
2438 #define PERL_ARGS_ASSERT_MORTAL_GETENV \
2442 PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name);
2443 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2445 PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash);
2446 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2448 PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
2449 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2450 assert(smeta); assert(which)
2451 PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash)
2452 __attribute__visibility__("hidden");
2453 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2456 PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash);
2457 #define PERL_ARGS_ASSERT_MRO_META_INIT \
2459 PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash);
2460 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2462 PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2463 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2465 PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro);
2466 #define PERL_ARGS_ASSERT_MRO_REGISTER \
2468 PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
2469 #define PERL_ARGS_ASSERT_MRO_SET_MRO \
2470 assert(meta); assert(name)
2471 PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
2472 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2473 assert(smeta); assert(which); assert(data)
2474 #ifndef PERL_NO_INLINE_FUNCTIONS
2475 PERL_STATIC_INLINE unsigned Perl_msbit_pos32(U32 word)
2476 __attribute__warn_unused_result__;
2477 #define PERL_ARGS_ASSERT_MSBIT_POS32
2480 PERL_CALLCONV SV* Perl_multiconcat_stringify(pTHX_ const OP* o);
2481 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY \
2483 PERL_CALLCONV SV* Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
2484 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \
2486 PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s);
2487 #define PERL_ARGS_ASSERT_MY_ATOF \
2489 PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *orig, NV* value);
2490 #define PERL_ARGS_ASSERT_MY_ATOF2 \
2491 assert(orig); assert(value)
2492 PERL_CALLCONV char* Perl_my_atof3(pTHX_ const char *orig, NV* value, const STRLEN len);
2493 #define PERL_ARGS_ASSERT_MY_ATOF3 \
2494 assert(orig); assert(value)
2495 PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2496 __attribute__visibility__("hidden");
2497 #define PERL_ARGS_ASSERT_MY_ATTRS \
2500 PERL_CALLCONV void Perl_my_clearenv(pTHX);
2501 #define PERL_ARGS_ASSERT_MY_CLEARENV
2502 PERL_CALLCONV int Perl_my_dirfd(DIR* dir);
2503 #define PERL_ARGS_ASSERT_MY_DIRFD
2504 PERL_CALLCONV_NO_RET void Perl_my_exit(pTHX_ U32 status)
2505 __attribute__noreturn__;
2506 #define PERL_ARGS_ASSERT_MY_EXIT
2508 PERL_CALLCONV_NO_RET void Perl_my_failure_exit(pTHX)
2509 __attribute__noreturn__;
2510 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2512 PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
2513 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2514 PERL_CALLCONV Pid_t Perl_my_fork(void);
2515 #define PERL_ARGS_ASSERT_MY_FORK
2516 /* PERL_CALLCONV I32 my_lstat(pTHX); */
2517 #define PERL_ARGS_ASSERT_MY_LSTAT
2518 PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
2519 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2520 PERL_CALLCONV int Perl_my_mkostemp_cloexec(char *templte, int flags)
2521 __attribute__warn_unused_result__
2522 __attribute__visibility__("hidden");
2523 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC \
2526 PERL_CALLCONV int Perl_my_mkstemp_cloexec(char *templte)
2527 __attribute__warn_unused_result__
2528 __attribute__visibility__("hidden");
2529 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC \
2532 PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
2533 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2534 assert(mode); assert(args)
2535 PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
2536 #define PERL_ARGS_ASSERT_MY_SETENV
2537 PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2538 __attribute__format__(__printf__,3,4);
2539 #define PERL_ARGS_ASSERT_MY_SNPRINTF \
2540 assert(buffer); assert(format)
2542 PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2543 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2544 /* PERL_CALLCONV I32 my_stat(pTHX); */
2545 #define PERL_ARGS_ASSERT_MY_STAT
2546 PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
2547 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2548 PERL_CALLCONV const char* Perl_my_strerror(pTHX_ const int errnum, utf8ness_t * utf8ness)
2549 __attribute__visibility__("hidden");
2550 #define PERL_ARGS_ASSERT_MY_STRERROR \
2553 PERL_CALLCONV char * Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
2554 __attribute__format__(__strftime__,pTHX_1,0);
2555 #define PERL_ARGS_ASSERT_MY_STRFTIME \
2558 PERL_CALLCONV char * Perl_my_strftime8(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst, utf8ness_t * utf8ness)
2559 __attribute__format__(__strftime__,pTHX_1,0);
2560 #define PERL_ARGS_ASSERT_MY_STRFTIME8 \
2563 PERL_CALLCONV NV Perl_my_strtod(const char * const s, char ** e)
2564 __attribute__warn_unused_result__;
2565 #define PERL_ARGS_ASSERT_MY_STRTOD \
2568 PERL_CALLCONV void Perl_my_unexec(pTHX)
2569 __attribute__visibility__("hidden");
2570 #define PERL_ARGS_ASSERT_MY_UNEXEC
2572 PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2573 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2574 assert(buffer); assert(format)
2575 PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2576 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2577 PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
2578 __attribute__warn_unused_result__;
2579 #define PERL_ARGS_ASSERT_NEWANONHASH
2581 PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
2582 __attribute__warn_unused_result__;
2583 #define PERL_ARGS_ASSERT_NEWANONLIST
2585 PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2586 #define PERL_ARGS_ASSERT_NEWANONSUB
2587 PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2588 __attribute__warn_unused_result__;
2589 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2591 /* PERL_CALLCONV CV* newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2592 #define PERL_ARGS_ASSERT_NEWATTRSUB
2593 PERL_CALLCONV CV* Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2594 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2596 PERL_CALLCONV AV* Perl_newAV(pTHX)
2597 __attribute__warn_unused_result__;
2598 #define PERL_ARGS_ASSERT_NEWAV
2601 PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
2602 __attribute__warn_unused_result__;
2603 #define PERL_ARGS_ASSERT_NEWAVREF \
2606 /* PERL_CALLCONV AV* newAV_alloc_x(pTHX_ SSize_t size)
2607 __attribute__warn_unused_result__; */
2608 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_X
2610 /* PERL_CALLCONV AV* newAV_alloc_xz(pTHX_ SSize_t size)
2611 __attribute__warn_unused_result__; */
2612 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_XZ
2614 PERL_CALLCONV AV* Perl_newAVav(pTHX_ AV *oav)
2615 __attribute__warn_unused_result__;
2616 #define PERL_ARGS_ASSERT_NEWAVAV
2618 PERL_CALLCONV AV* Perl_newAVhv(pTHX_ HV *ohv)
2619 __attribute__warn_unused_result__;
2620 #define PERL_ARGS_ASSERT_NEWAVHV
2622 PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2623 __attribute__warn_unused_result__;
2624 #define PERL_ARGS_ASSERT_NEWBINOP
2626 PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2627 __attribute__warn_unused_result__;
2628 #define PERL_ARGS_ASSERT_NEWCONDOP \
2631 PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2632 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2633 PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2634 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2635 PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
2636 __attribute__warn_unused_result__;
2637 #define PERL_ARGS_ASSERT_NEWCVREF
2639 PERL_CALLCONV OP* Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2640 __attribute__warn_unused_result__;
2641 #define PERL_ARGS_ASSERT_NEWDEFEROP \
2644 PERL_CALLCONV OP* Perl_newDEFSVOP(pTHX)
2645 __attribute__warn_unused_result__;
2646 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2648 PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2649 #define PERL_ARGS_ASSERT_NEWFORM
2650 PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2651 __attribute__warn_unused_result__;
2652 #define PERL_ARGS_ASSERT_NEWFOROP \
2655 PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2656 __attribute__warn_unused_result__;
2657 #define PERL_ARGS_ASSERT_NEWGIVENOP \
2658 assert(cond); assert(block)
2660 PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv);
2661 #define PERL_ARGS_ASSERT_NEWGP \
2663 PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2664 __attribute__warn_unused_result__;
2665 #define PERL_ARGS_ASSERT_NEWGVOP \
2668 PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
2669 __attribute__warn_unused_result__;
2670 #define PERL_ARGS_ASSERT_NEWGVREF
2672 /* PERL_CALLCONV GV* newGVgen(pTHX_ const char* pack); */
2673 #define PERL_ARGS_ASSERT_NEWGVGEN
2674 PERL_CALLCONV GV* Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2675 __attribute__warn_unused_result__;
2676 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2680 PERL_CALLCONV HV* Perl_newHV(pTHX)
2681 __attribute__warn_unused_result__;
2682 #define PERL_ARGS_ASSERT_NEWHV
2685 PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
2686 __attribute__warn_unused_result__;
2687 #define PERL_ARGS_ASSERT_NEWHVREF \
2690 PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
2691 __attribute__warn_unused_result__;
2692 #define PERL_ARGS_ASSERT_NEWHVHV
2695 PERL_CALLCONV IO* Perl_newIO(pTHX)
2696 __attribute__warn_unused_result__;
2697 #define PERL_ARGS_ASSERT_NEWIO
2700 PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2701 __attribute__warn_unused_result__;
2702 #define PERL_ARGS_ASSERT_NEWLISTOP
2704 PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2705 __attribute__warn_unused_result__;
2706 #define PERL_ARGS_ASSERT_NEWLOGOP \
2707 assert(first); assert(other)
2709 PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2710 __attribute__warn_unused_result__;
2711 #define PERL_ARGS_ASSERT_NEWLOOPEX \
2714 PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2715 __attribute__warn_unused_result__;
2716 #define PERL_ARGS_ASSERT_NEWLOOPOP \
2719 PERL_CALLCONV OP* Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2720 __attribute__warn_unused_result__;
2721 #define PERL_ARGS_ASSERT_NEWMETHOP \
2722 assert(dynamic_meth)
2724 PERL_CALLCONV OP* Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2725 __attribute__warn_unused_result__;
2726 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \
2729 PERL_CALLCONV CV * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2730 #define PERL_ARGS_ASSERT_NEWMYSUB \
2732 PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
2733 __attribute__warn_unused_result__;
2734 #define PERL_ARGS_ASSERT_NEWNULLLIST
2736 PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
2737 __attribute__warn_unused_result__;
2738 #define PERL_ARGS_ASSERT_NEWOP
2740 PERL_CALLCONV PADNAMELIST * Perl_newPADNAMELIST(size_t max)
2741 __attribute__warn_unused_result__;
2742 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2744 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2745 __attribute__warn_unused_result__;
2746 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \
2749 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2750 __attribute__warn_unused_result__;
2751 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN \
2754 PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
2755 __attribute__warn_unused_result__;
2756 #define PERL_ARGS_ASSERT_NEWPMOP
2758 PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o);
2759 #define PERL_ARGS_ASSERT_NEWPROG \
2761 PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2762 __attribute__warn_unused_result__;
2763 #define PERL_ARGS_ASSERT_NEWPVOP
2765 PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2766 __attribute__warn_unused_result__;
2767 #define PERL_ARGS_ASSERT_NEWRANGE \
2768 assert(left); assert(right)
2770 PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
2771 __attribute__warn_unused_result__;
2772 #define PERL_ARGS_ASSERT_NEWRV \
2775 #ifndef PERL_NO_INLINE_FUNCTIONS
2776 PERL_STATIC_INLINE SV* Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2777 __attribute__warn_unused_result__;
2778 #define PERL_ARGS_ASSERT_NEWRV_NOINC \
2782 PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2783 __attribute__warn_unused_result__;
2784 #define PERL_ARGS_ASSERT_NEWSLICEOP
2786 PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2787 __attribute__warn_unused_result__;
2788 #define PERL_ARGS_ASSERT_NEWSTATEOP
2790 PERL_CALLCONV CV* Perl_newSTUB(pTHX_ GV *gv, bool fake)
2791 __attribute__visibility__("hidden");
2792 #define PERL_ARGS_ASSERT_NEWSTUB \
2796 PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2797 #define PERL_ARGS_ASSERT_NEWSUB
2799 PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
2800 __attribute__warn_unused_result__;
2801 #define PERL_ARGS_ASSERT_NEWSV
2803 PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2804 __attribute__warn_unused_result__;
2805 #define PERL_ARGS_ASSERT_NEWSVOP \
2808 PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
2809 __attribute__warn_unused_result__;
2810 #define PERL_ARGS_ASSERT_NEWSVREF \
2813 PERL_CALLCONV SV* Perl_newSV_false(pTHX)
2814 __attribute__warn_unused_result__;
2815 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2817 PERL_CALLCONV SV* Perl_newSV_true(pTHX)
2818 __attribute__warn_unused_result__;
2819 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2821 #ifndef PERL_NO_INLINE_FUNCTIONS
2822 PERL_STATIC_INLINE SV* Perl_newSV_type(pTHX_ const svtype type)
2823 __attribute__warn_unused_result__;
2824 #define PERL_ARGS_ASSERT_NEWSV_TYPE
2827 #ifndef PERL_NO_INLINE_FUNCTIONS
2828 PERL_STATIC_FORCE_INLINE SV* Perl_newSV_type_mortal(pTHX_ const svtype type)
2829 __attribute__warn_unused_result__
2830 __attribute__always_inline__;
2831 #define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
2834 PERL_CALLCONV SV* Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2835 __attribute__warn_unused_result__
2836 __attribute__visibility__("hidden");
2837 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2840 PERL_CALLCONV SV* Perl_newSVbool(pTHX_ const bool bool_val)
2841 __attribute__warn_unused_result__;
2842 #define PERL_ARGS_ASSERT_NEWSVBOOL
2844 PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
2845 __attribute__warn_unused_result__;
2846 #define PERL_ARGS_ASSERT_NEWSVHEK
2848 PERL_CALLCONV SV* Perl_newSVhek_mortal(pTHX_ const HEK *const hek)
2849 __attribute__warn_unused_result__;
2850 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
2852 PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
2853 __attribute__warn_unused_result__;
2854 #define PERL_ARGS_ASSERT_NEWSVIV
2856 PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
2857 __attribute__warn_unused_result__;
2858 #define PERL_ARGS_ASSERT_NEWSVNV
2860 PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2861 __attribute__warn_unused_result__;
2862 #define PERL_ARGS_ASSERT_NEWSVPV
2864 PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2865 __attribute__warn_unused_result__;
2866 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
2868 PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
2869 __attribute__warn_unused_result__
2870 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2871 #define PERL_ARGS_ASSERT_NEWSVPVF \
2874 PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2875 __attribute__warn_unused_result__;
2876 #define PERL_ARGS_ASSERT_NEWSVPVN
2878 PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2879 __attribute__warn_unused_result__;
2880 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
2882 PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2883 __attribute__warn_unused_result__;
2884 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
2886 PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2887 #define PERL_ARGS_ASSERT_NEWSVRV \
2890 PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
2891 __attribute__warn_unused_result__;
2892 #define PERL_ARGS_ASSERT_NEWSVSV
2895 PERL_CALLCONV SV* Perl_newSVsv_flags(pTHX_ SV *const old, I32 flags)
2896 __attribute__warn_unused_result__;
2897 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
2899 /* PERL_CALLCONV SV* newSVsv_nomg(pTHX_ SV *const old)
2900 __attribute__warn_unused_result__; */
2901 #define PERL_ARGS_ASSERT_NEWSVSV_NOMG
2903 PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
2904 __attribute__warn_unused_result__;
2905 #define PERL_ARGS_ASSERT_NEWSVUV
2907 PERL_CALLCONV OP* Perl_newTRYCATCHOP(pTHX_ I32 flags, OP* tryblock, OP *catchvar, OP* catchblock)
2908 __attribute__warn_unused_result__;
2909 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP \
2910 assert(tryblock); assert(catchvar); assert(catchblock)
2912 PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2913 __attribute__warn_unused_result__;
2914 #define PERL_ARGS_ASSERT_NEWUNOP
2916 PERL_CALLCONV OP* Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2917 __attribute__warn_unused_result__;
2918 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
2920 PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2921 __attribute__warn_unused_result__;
2922 #define PERL_ARGS_ASSERT_NEWWHENOP \
2925 PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2926 __attribute__warn_unused_result__;
2927 #define PERL_ARGS_ASSERT_NEWWHILEOP
2929 PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2930 #define PERL_ARGS_ASSERT_NEWXS \
2931 assert(subaddr); assert(filename)
2932 PERL_CALLCONV CV * Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2933 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE \
2934 assert(name); assert(subaddr)
2935 PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2936 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2937 assert(subaddr); assert(filename)
2938 PERL_CALLCONV CV * Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags)
2939 __attribute__visibility__("hidden");
2940 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
2943 PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2944 __attribute__warn_unused_result__;
2945 #define PERL_ARGS_ASSERT_NEW_STACKINFO
2947 PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver);
2948 #define PERL_ARGS_ASSERT_NEW_VERSION \
2950 PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2951 __attribute__warn_unused_result__;
2952 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
2955 PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv, bool nomagicopen)
2956 __attribute__visibility__("hidden");
2957 #define PERL_ARGS_ASSERT_NEXTARGV \
2960 PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2961 __attribute__warn_unused_result__
2962 __attribute__pure__;
2963 #define PERL_ARGS_ASSERT_NINSTR \
2964 assert(big); assert(bigend); assert(little); assert(lend)
2966 PERL_CALLCONV void Perl_no_bareword_filehandle(pTHX_ const char *fhname)
2967 __attribute__visibility__("hidden");
2968 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
2971 PERL_CALLCONV_NO_RET void Perl_noperl_die(const char* pat, ...)
2972 __attribute__noreturn__
2973 __attribute__format__(__printf__,1,2);
2974 #define PERL_ARGS_ASSERT_NOPERL_DIE \
2977 PERL_CALLCONV int Perl_nothreadhook(pTHX);
2978 #define PERL_ARGS_ASSERT_NOTHREADHOOK
2979 PERL_CALLCONV void Perl_notify_parser_that_changed_to_utf8(pTHX)
2980 __attribute__visibility__("hidden");
2981 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
2983 PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
2984 __attribute__warn_unused_result__
2985 __attribute__visibility__("hidden");
2986 #define PERL_ARGS_ASSERT_OOPSAV \
2989 PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
2990 __attribute__warn_unused_result__
2991 __attribute__visibility__("hidden");
2992 #define PERL_ARGS_ASSERT_OOPSHV \
2995 PERL_CALLCONV OP* Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2996 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
2997 PERL_CALLCONV OP* Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2998 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
2999 PERL_CALLCONV OPclass Perl_op_class(pTHX_ const OP *o);
3000 #define PERL_ARGS_ASSERT_OP_CLASS
3001 PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o);
3002 #define PERL_ARGS_ASSERT_OP_CLEAR \
3004 PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context);
3005 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
3007 PERL_CALLCONV OP* Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
3008 __attribute__warn_unused_result__;
3009 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3011 PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o);
3012 #define PERL_ARGS_ASSERT_OP_DUMP \
3014 PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
3015 #define PERL_ARGS_ASSERT_OP_FREE
3016 PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o);
3017 #define PERL_ARGS_ASSERT_OP_LINKLIST \
3019 /* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */
3020 #define PERL_ARGS_ASSERT_OP_LVALUE
3021 PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3022 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3023 PERL_CALLCONV void Perl_op_null(pTHX_ OP* o);
3024 #define PERL_ARGS_ASSERT_OP_NULL \
3026 PERL_CALLCONV OP* Perl_op_parent(OP *o);
3027 #define PERL_ARGS_ASSERT_OP_PARENT \
3029 PERL_CALLCONV OP* Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3030 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3031 PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
3032 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3033 PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
3034 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3035 PERL_CALLCONV OP* Perl_op_scope(pTHX_ OP* o);
3036 #define PERL_ARGS_ASSERT_OP_SCOPE
3037 PERL_CALLCONV OP* Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
3038 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3039 PERL_CALLCONV OP* Perl_op_unscope(pTHX_ OP* o)
3040 __attribute__visibility__("hidden");
3041 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3043 PERL_CALLCONV OP* Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3044 __attribute__warn_unused_result__;
3045 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY \
3046 assert(block); assert(finally)
3048 PERL_CALLCONV void Perl_package(pTHX_ OP* o)
3049 __attribute__visibility__("hidden");
3050 #define PERL_ARGS_ASSERT_PACKAGE \
3053 PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
3054 __attribute__visibility__("hidden");
3055 #define PERL_ARGS_ASSERT_PACKAGE_VERSION \
3058 PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3059 #define PERL_ARGS_ASSERT_PACKLIST \
3060 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3061 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
3062 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \
3064 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3065 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
3067 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3068 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
3070 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3071 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
3073 PERL_CALLCONV void Perl_pad_add_weakref(pTHX_ CV* func)
3074 __attribute__visibility__("hidden");
3075 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF \
3078 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3079 #define PERL_ARGS_ASSERT_PAD_ALLOC
3080 PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full)
3081 __attribute__visibility__("hidden");
3082 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3084 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
3085 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
3087 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
3088 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3090 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
3091 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
3093 PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3094 __attribute__visibility__("hidden");
3095 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
3096 assert(padlist); assert(old_cv); assert(new_cv)
3098 PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po)
3099 __attribute__visibility__("hidden");
3100 #define PERL_ARGS_ASSERT_PAD_FREE
3102 PERL_CALLCONV OP * Perl_pad_leavemy(pTHX)
3103 __attribute__visibility__("hidden");
3104 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3106 PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags)
3107 __attribute__warn_unused_result__;
3108 #define PERL_ARGS_ASSERT_PAD_NEW
3110 PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3111 #define PERL_ARGS_ASSERT_PAD_PUSH \
3113 PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3114 __attribute__visibility__("hidden");
3115 #define PERL_ARGS_ASSERT_PAD_SWIPE
3117 PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type);
3118 #define PERL_ARGS_ASSERT_PAD_TIDY
3119 PERL_CALLCONV PAD ** Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3120 __attribute__visibility__("hidden");
3121 #define PERL_ARGS_ASSERT_PADLIST_STORE \
3124 PERL_CALLCONV void Perl_padname_free(pTHX_ PADNAME *pn);
3125 #define PERL_ARGS_ASSERT_PADNAME_FREE \
3127 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3128 __attribute__warn_unused_result__;
3129 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH \
3132 PERL_CALLCONV void Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3133 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE \
3135 PERL_CALLCONV PADNAME ** Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3136 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE \
3138 PERL_CALLCONV OP* Perl_parse_arithexpr(pTHX_ U32 flags);
3139 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3140 PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags);
3141 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3142 PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags);
3143 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3144 PERL_CALLCONV OP* Perl_parse_fullexpr(pTHX_ U32 flags);
3145 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3146 PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
3147 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3148 PERL_CALLCONV SV* Perl_parse_label(pTHX_ U32 flags);
3149 #define PERL_ARGS_ASSERT_PARSE_LABEL
3150 PERL_CALLCONV OP* Perl_parse_listexpr(pTHX_ U32 flags);
3151 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3152 PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags);
3153 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3154 PERL_CALLCONV OP* Perl_parse_subsignature(pTHX_ U32 flags);
3155 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3156 PERL_CALLCONV OP* Perl_parse_termexpr(pTHX_ U32 flags);
3157 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3158 PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt)
3159 __attribute__visibility__("hidden");
3160 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3163 PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser)
3164 __attribute__visibility__("hidden");
3165 #define PERL_ARGS_ASSERT_PARSER_FREE \
3168 PERL_CALLCONV void Perl_peep(pTHX_ OP* o)
3169 __attribute__visibility__("hidden");
3170 #define PERL_ARGS_ASSERT_PEEP
3172 PERL_CALLCONV PerlInterpreter* perl_alloc(void);
3173 #define PERL_ARGS_ASSERT_PERL_ALLOC
3174 PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl);
3175 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3177 PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl);
3178 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \
3180 PERL_CALLCONV void perl_free(PerlInterpreter *my_perl);
3181 #define PERL_ARGS_ASSERT_PERL_FREE \
3183 PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
3184 #define PERL_ARGS_ASSERT_PERL_PARSE \
3186 PERL_CALLCONV int perl_run(PerlInterpreter *my_perl);
3187 #define PERL_ARGS_ASSERT_PERL_RUN \
3189 PERL_CALLCONV Signal_t Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3190 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3191 /* PERL_CALLCONV const char *const phase_name(pTHX_ enum perl_phase); */
3192 #define PERL_ARGS_ASSERT_PHASE_NAME
3193 PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
3194 #define PERL_ARGS_ASSERT_PMOP_DUMP
3195 PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3196 __attribute__visibility__("hidden");
3197 #define PERL_ARGS_ASSERT_PMRUNTIME \
3198 assert(o); assert(expr)
3200 PERL_CALLCONV void Perl_pop_scope(pTHX);
3201 #define PERL_ARGS_ASSERT_POP_SCOPE
3202 PERL_CALLCONV void Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3203 __attribute__visibility__("hidden");
3204 #define PERL_ARGS_ASSERT_POPULATE_ISA \
3207 PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3208 #define PERL_ARGS_ASSERT_PREGCOMP \
3210 PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
3211 #define PERL_ARGS_ASSERT_PREGEXEC \
3212 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3213 PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
3214 #define PERL_ARGS_ASSERT_PREGFREE
3215 PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx);
3216 #define PERL_ARGS_ASSERT_PREGFREE2 \
3218 PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha);
3219 #define PERL_ARGS_ASSERT_PRESCAN_VERSION \
3221 PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3222 __attribute__warn_unused_result__;
3223 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
3226 PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3227 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3228 PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX)
3229 __attribute__warn_unused_result__;
3230 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3232 PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
3233 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
3235 PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
3236 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
3237 assert(tbl); assert(newsv)
3238 PERL_CALLCONV void Perl_push_scope(pTHX);
3239 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3240 PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3241 #define PERL_ARGS_ASSERT_PV_DISPLAY \
3242 assert(dsv); assert(pv)
3243 PERL_CALLCONV char* Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags);
3244 #define PERL_ARGS_ASSERT_PV_ESCAPE \
3246 PERL_CALLCONV char* Perl_pv_pretty(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags);
3247 #define PERL_ARGS_ASSERT_PV_PRETTY \
3248 assert(dsv); assert(str)
3249 PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3250 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3251 assert(dsv); assert(spv)
3252 PERL_CALLCONV void Perl_qerror(pTHX_ SV* err);
3253 #define PERL_ARGS_ASSERT_QERROR \
3255 PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3256 #define PERL_ARGS_ASSERT_RE_COMPILE \
3258 PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data);
3259 #define PERL_ARGS_ASSERT_RE_INTUIT_START \
3260 assert(rx); assert(strbeg); assert(strpos); assert(strend)
3261 PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r);
3262 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3264 PERL_CALLCONV REGEXP* Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, const U32 rx_flags, const U32 pm_flags)
3265 __attribute__visibility__("hidden");
3266 #define PERL_ARGS_ASSERT_RE_OP_COMPILE \
3269 PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3270 __attribute__warn_unused_result__;
3271 #define PERL_ARGS_ASSERT_REALLOC
3273 PERL_CALLCONV void Perl_reentrant_free(pTHX);
3274 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3275 PERL_CALLCONV void Perl_reentrant_init(pTHX);
3276 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3277 PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...);
3278 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \
3280 PERL_CALLCONV void Perl_reentrant_size(pTHX);
3281 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3282 PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3283 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3284 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3285 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3287 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3288 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3290 PERL_CALLCONV SV * Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3291 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3293 PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3294 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3295 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3296 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3297 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3298 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3300 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags);
3301 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3303 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3304 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3306 PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3307 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3309 PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3310 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3312 PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3313 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3314 assert(rx); assert(key)
3315 PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3316 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3317 assert(rx); assert(namesv)
3318 PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3319 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3321 PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3322 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3324 PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3325 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3327 PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3328 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3330 PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
3331 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3333 PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3334 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3335 assert(rx); assert(sv)
3336 PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3337 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3339 PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3340 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3342 PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
3343 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3345 PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r);
3346 #define PERL_ARGS_ASSERT_REGDUMP \
3348 PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags);
3349 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3350 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3351 PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx);
3352 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3354 PERL_CALLCONV void Perl_reginitcolors(pTHX);
3355 #define PERL_ARGS_ASSERT_REGINITCOLORS
3356 PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
3357 #define PERL_ARGS_ASSERT_REPEATCPY \
3358 assert(to); assert(from)
3359 PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv)
3360 __attribute__visibility__("hidden");
3361 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3363 PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv);
3364 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3365 PERL_CALLCONV void Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3366 __attribute__visibility__("hidden");
3367 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3369 PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv);
3370 #define PERL_ARGS_ASSERT_REQUIRE_PV \
3372 PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3373 __attribute__warn_unused_result__
3374 __attribute__pure__;
3375 #define PERL_ARGS_ASSERT_RNINSTR \
3376 assert(big); assert(bigend); assert(little); assert(lend)
3378 PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o)
3379 __attribute__visibility__("hidden");
3380 #define PERL_ARGS_ASSERT_RPEEP
3382 PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
3383 #define PERL_ARGS_ASSERT_RSIGNAL
3384 PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t)
3385 __attribute__visibility__("hidden");
3386 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3388 PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3389 __attribute__visibility__("hidden");
3390 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3393 PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
3394 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3395 PERL_CALLCONV int Perl_runops_debug(pTHX);
3396 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3397 PERL_CALLCONV int Perl_runops_standard(pTHX);
3398 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3399 PERL_CALLCONV CV* Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3400 #define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3402 PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3403 __attribute__visibility__("hidden");
3404 #define PERL_ARGS_ASSERT_RXRES_SAVE \
3405 assert(rsp); assert(rx)
3407 PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3408 __attribute__malloc__
3409 __attribute__warn_unused_result__;
3410 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3412 PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where);
3413 #define PERL_ARGS_ASSERT_SAFESYSFREE
3414 PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes)
3415 __attribute__malloc__
3416 __attribute__warn_unused_result__;
3417 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3419 PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3420 __attribute__warn_unused_result__;
3421 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3423 PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp);
3424 #define PERL_ARGS_ASSERT_SAVE_I16 \
3426 PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp);
3427 #define PERL_ARGS_ASSERT_SAVE_I32 \
3429 PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep);
3430 #define PERL_ARGS_ASSERT_SAVE_I8 \
3432 PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3433 #define PERL_ARGS_ASSERT_SAVE_ADELETE \
3435 /* PERL_CALLCONV void save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
3436 #define PERL_ARGS_ASSERT_SAVE_AELEM
3437 PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
3438 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3439 assert(av); assert(sptr)
3440 PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
3441 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3442 PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr);
3443 #define PERL_ARGS_ASSERT_SAVE_APTR \
3445 PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv);
3446 #define PERL_ARGS_ASSERT_SAVE_ARY \
3448 PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp);
3449 #define PERL_ARGS_ASSERT_SAVE_BOOL \
3451 PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp);
3452 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3454 PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3455 #define PERL_ARGS_ASSERT_SAVE_DELETE \
3456 assert(hv); assert(key)
3457 PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
3458 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3460 PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3461 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3463 PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o);
3464 #define PERL_ARGS_ASSERT_SAVE_FREEOP
3467 PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv);
3468 #define PERL_ARGS_ASSERT_SAVE_FREEPV
3471 PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv);
3472 #define PERL_ARGS_ASSERT_SAVE_FREESV
3474 PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str);
3475 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3477 PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr);
3478 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
3480 PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty);
3481 #define PERL_ARGS_ASSERT_SAVE_GP \
3483 PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv);
3484 #define PERL_ARGS_ASSERT_SAVE_HASH \
3486 PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
3487 #define PERL_ARGS_ASSERT_SAVE_HDELETE \
3488 assert(hv); assert(keysv)
3489 /* PERL_CALLCONV void save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
3490 #define PERL_ARGS_ASSERT_SAVE_HELEM
3491 PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
3492 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
3493 assert(hv); assert(key); assert(sptr)
3494 PERL_CALLCONV void Perl_save_hints(pTHX);
3495 #define PERL_ARGS_ASSERT_SAVE_HINTS
3496 PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr);
3497 #define PERL_ARGS_ASSERT_SAVE_HPTR \
3499 PERL_CALLCONV void Perl_save_int(pTHX_ int* intp);
3500 #define PERL_ARGS_ASSERT_SAVE_INT \
3502 PERL_CALLCONV void Perl_save_item(pTHX_ SV* item);
3503 #define PERL_ARGS_ASSERT_SAVE_ITEM \
3505 PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp);
3506 #define PERL_ARGS_ASSERT_SAVE_IV \
3509 PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv);
3510 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
3514 PERL_CALLCONV void Perl_save_op(pTHX);
3515 #define PERL_ARGS_ASSERT_SAVE_OP
3517 PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3518 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
3519 PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr);
3520 #define PERL_ARGS_ASSERT_SAVE_PPTR \
3522 PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3523 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
3524 PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3525 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
3526 PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3527 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
3528 PERL_CALLCONV void Perl_save_re_context(pTHX);
3529 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
3530 PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv);
3531 #define PERL_ARGS_ASSERT_SAVE_SCALAR \
3533 PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
3534 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
3536 PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str);
3537 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
3539 PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr);
3540 #define PERL_ARGS_ASSERT_SAVE_SPTR \
3542 PERL_CALLCONV void Perl_save_strlen(pTHX_ STRLEN* ptr);
3543 #define PERL_ARGS_ASSERT_SAVE_STRLEN \
3545 PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr);
3546 #define PERL_ARGS_ASSERT_SAVE_SVREF \
3548 PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr);
3549 #define PERL_ARGS_ASSERT_SAVE_VPTR \
3551 PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
3552 __attribute__malloc__
3553 __attribute__warn_unused_result__;
3554 #define PERL_ARGS_ASSERT_SAVEPV
3556 PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, Size_t len)
3557 __attribute__malloc__
3558 __attribute__warn_unused_result__;
3559 #define PERL_ARGS_ASSERT_SAVEPVN
3561 PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
3562 __attribute__malloc__
3563 __attribute__warn_unused_result__;
3564 #define PERL_ARGS_ASSERT_SAVESHAREDPV
3566 PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3567 __attribute__malloc__
3568 __attribute__warn_unused_result__;
3569 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
3571 PERL_CALLCONV char* Perl_savesharedsvpv(pTHX_ SV *sv)
3572 __attribute__malloc__
3573 __attribute__warn_unused_result__;
3574 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3577 PERL_CALLCONV void Perl_savestack_grow(pTHX);
3578 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
3579 PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
3580 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
3581 PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
3582 __attribute__malloc__
3583 __attribute__warn_unused_result__;
3584 #define PERL_ARGS_ASSERT_SAVESVPV \
3587 PERL_CALLCONV void Perl_savetmps(pTHX);
3588 #define PERL_ARGS_ASSERT_SAVETMPS
3589 PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o)
3590 __attribute__visibility__("hidden");
3591 #define PERL_ARGS_ASSERT_SAWPARENS
3593 PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o)
3594 __attribute__visibility__("hidden");
3595 #define PERL_ARGS_ASSERT_SCALAR
3597 PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
3598 __attribute__visibility__("hidden");
3599 #define PERL_ARGS_ASSERT_SCALARVOID \
3602 PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3603 #define PERL_ARGS_ASSERT_SCAN_BIN \
3604 assert(start); assert(retlen)
3605 PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3606 #define PERL_ARGS_ASSERT_SCAN_HEX \
3607 assert(start); assert(retlen)
3608 PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
3609 #define PERL_ARGS_ASSERT_SCAN_NUM \
3610 assert(s); assert(lvalp)
3611 PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3612 #define PERL_ARGS_ASSERT_SCAN_OCT \
3613 assert(start); assert(retlen)
3614 PERL_CALLCONV char* Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
3615 __attribute__warn_unused_result__;
3616 #define PERL_ARGS_ASSERT_SCAN_STR \
3619 PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
3620 #define PERL_ARGS_ASSERT_SCAN_VERSION \
3621 assert(s); assert(rv)
3622 PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
3623 #define PERL_ARGS_ASSERT_SCAN_VSTRING \
3624 assert(s); assert(e); assert(sv)
3625 PERL_CALLCONV char* Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
3626 #define PERL_ARGS_ASSERT_SCAN_WORD \
3627 assert(s); assert(dest); assert(slp)
3628 PERL_CALLCONV U32 Perl_seed(pTHX);
3629 #define PERL_ARGS_ASSERT_SEED
3630 PERL_CALLCONV void Perl_set_caret_X(pTHX);
3631 #define PERL_ARGS_ASSERT_SET_CARET_X
3632 PERL_CALLCONV void Perl_set_context(void *t);
3633 #define PERL_ARGS_ASSERT_SET_CONTEXT \
3635 PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
3636 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD
3637 PERL_CALLCONV void Perl_set_numeric_underlying(pTHX);
3638 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING
3639 PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
3640 #define PERL_ARGS_ASSERT_SETDEFOUT \
3642 PERL_CALLCONV void Perl_setfd_cloexec(int fd)
3643 __attribute__visibility__("hidden");
3644 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
3646 PERL_CALLCONV void Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
3647 __attribute__visibility__("hidden");
3648 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
3650 PERL_CALLCONV void Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
3651 __attribute__visibility__("hidden");
3652 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
3654 PERL_CALLCONV void Perl_setfd_inhexec(int fd)
3655 __attribute__visibility__("hidden");
3656 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
3658 PERL_CALLCONV void Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
3659 __attribute__visibility__("hidden");
3660 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
3662 PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
3663 #define PERL_ARGS_ASSERT_SHARE_HEK \
3665 PERL_CALLCONV Signal_t Perl_sighandler1(int sig)
3666 __attribute__visibility__("hidden");
3667 #define PERL_ARGS_ASSERT_SIGHANDLER1
3669 PERL_CALLCONV Signal_t Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
3670 __attribute__visibility__("hidden");
3671 #define PERL_ARGS_ASSERT_SIGHANDLER3
3673 #ifndef PERL_NO_INLINE_FUNCTIONS
3674 PERL_STATIC_INLINE unsigned Perl_single_1bit_pos32(U32 word)
3675 __attribute__warn_unused_result__;
3676 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
3679 PERL_CALLCONV char* Perl_skipspace_flags(pTHX_ char *s, U32 flags)
3680 __attribute__warn_unused_result__;
3681 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS \
3684 PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
3685 #define PERL_ARGS_ASSERT_SORTSV \
3687 PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
3688 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \
3690 PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
3691 #define PERL_ARGS_ASSERT_STACK_GROW \
3692 assert(sp); assert(p)
3693 PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3694 __attribute__visibility__("hidden");
3695 #define PERL_ARGS_ASSERT_START_GLOB \
3696 assert(tmpglob); assert(io)
3698 PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3699 #define PERL_ARGS_ASSERT_START_SUBPARSE
3700 PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv)
3701 __attribute__warn_unused_result__;
3702 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3705 PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
3706 __attribute__visibility__("hidden");
3707 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
3711 PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv);
3712 #define PERL_ARGS_ASSERT_SV_2BOOL \
3715 PERL_CALLCONV bool Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
3716 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3718 PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
3719 #define PERL_ARGS_ASSERT_SV_2CV \
3720 assert(st); assert(gvp)
3721 PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv);
3722 #define PERL_ARGS_ASSERT_SV_2IO \
3725 PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv);
3726 #define PERL_ARGS_ASSERT_SV_2IV \
3729 PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3730 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS \
3732 PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
3733 #define PERL_ARGS_ASSERT_SV_2MORTAL
3734 PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
3735 __attribute__visibility__("hidden");
3736 #define PERL_ARGS_ASSERT_SV_2NUM \
3739 PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3740 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS \
3743 PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3744 #define PERL_ARGS_ASSERT_SV_2PV \
3747 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3748 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS \
3751 PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
3752 __attribute__warn_unused_result__;
3753 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
3758 PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3759 #define PERL_ARGS_ASSERT_SV_2PVBYTE \
3762 PERL_CALLCONV char* Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3763 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS \
3766 PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3767 __attribute__warn_unused_result__;
3768 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
3773 PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3774 #define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3777 PERL_CALLCONV char* Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3778 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS \
3781 PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3782 __attribute__warn_unused_result__;
3783 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
3788 PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv);
3789 #define PERL_ARGS_ASSERT_SV_2UV \
3792 PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3793 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS \
3795 PERL_CALLCONV void Perl_sv_backoff(SV *const sv);
3796 #define PERL_ARGS_ASSERT_SV_BACKOFF \
3798 PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3799 #define PERL_ARGS_ASSERT_SV_BLESS \
3800 assert(sv); assert(stash)
3801 PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3802 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \
3803 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3804 PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const dsv, const char* sstr);
3805 #define PERL_ARGS_ASSERT_SV_CATPV \
3807 PERL_CALLCONV void Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
3808 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3809 assert(dsv); assert(sstr)
3810 PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const dsv, const char *const sstr);
3811 #define PERL_ARGS_ASSERT_SV_CATPV_MG \
3813 PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3814 __attribute__format__(__printf__,pTHX_2,pTHX_3);
3815 #define PERL_ARGS_ASSERT_SV_CATPVF \
3816 assert(sv); assert(pat)
3818 PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3819 __attribute__format__(__printf__,pTHX_2,pTHX_3);
3820 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \
3821 assert(sv); assert(pat)
3824 PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3825 #define PERL_ARGS_ASSERT_SV_CATPVN \
3826 assert(dsv); assert(sstr)
3828 PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dsv, const char *sstr, const STRLEN len, const I32 flags);
3829 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
3830 assert(dsv); assert(sstr)
3832 PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3833 #define PERL_ARGS_ASSERT_SV_CATPVN_MG \
3834 assert(dsv); assert(sstr)
3837 PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
3838 #define PERL_ARGS_ASSERT_SV_CATSV \
3841 PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const sstr, const I32 flags);
3842 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3845 PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
3846 #define PERL_ARGS_ASSERT_SV_CATSV_MG \
3849 PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3850 #define PERL_ARGS_ASSERT_SV_CHOP \
3852 PERL_CALLCONV I32 Perl_sv_clean_all(pTHX)
3853 __attribute__visibility__("hidden");
3854 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
3856 PERL_CALLCONV void Perl_sv_clean_objs(pTHX)
3857 __attribute__visibility__("hidden");
3858 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
3860 PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const orig_sv);
3861 #define PERL_ARGS_ASSERT_SV_CLEAR \
3863 PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3864 #define PERL_ARGS_ASSERT_SV_CMP
3865 PERL_CALLCONV I32 Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3866 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
3867 PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3868 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
3869 PERL_CALLCONV I32 Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3870 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
3872 PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3873 #define PERL_ARGS_ASSERT_SV_COPYPV \
3874 assert(dsv); assert(ssv)
3876 PERL_CALLCONV void Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3877 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS \
3878 assert(dsv); assert(ssv)
3879 /* PERL_CALLCONV void sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3880 #define PERL_ARGS_ASSERT_SV_COPYPV_NOMG
3881 PERL_CALLCONV void Perl_sv_dec(pTHX_ SV *const sv);
3882 #define PERL_ARGS_ASSERT_SV_DEC
3883 PERL_CALLCONV void Perl_sv_dec_nomg(pTHX_ SV *const sv);
3884 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
3885 PERL_CALLCONV void Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3886 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3887 assert(tsv); assert(sv)
3888 PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3889 __attribute__warn_unused_result__;
3890 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \
3891 assert(sv); assert(name)
3893 PERL_CALLCONV bool Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3894 __attribute__warn_unused_result__;
3895 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV \
3896 assert(sv); assert(name)
3898 PERL_CALLCONV bool Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3899 __attribute__warn_unused_result__;
3900 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN \
3901 assert(sv); assert(name)
3903 PERL_CALLCONV bool Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3904 __attribute__warn_unused_result__;
3905 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV \
3906 assert(sv); assert(namesv)
3908 PERL_CALLCONV bool Perl_sv_destroyable(pTHX_ SV *sv);
3909 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
3910 PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char *const name)
3911 __attribute__warn_unused_result__;
3912 #define PERL_ARGS_ASSERT_SV_DOES \
3913 assert(sv); assert(name)
3915 PERL_CALLCONV bool Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3916 __attribute__warn_unused_result__;
3917 #define PERL_ARGS_ASSERT_SV_DOES_PV \
3918 assert(sv); assert(name)
3920 PERL_CALLCONV bool Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3921 __attribute__warn_unused_result__;
3922 #define PERL_ARGS_ASSERT_SV_DOES_PVN \
3923 assert(sv); assert(name)
3925 PERL_CALLCONV bool Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3926 __attribute__warn_unused_result__;
3927 #define PERL_ARGS_ASSERT_SV_DOES_SV \
3928 assert(sv); assert(namesv)
3930 PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv);
3931 #define PERL_ARGS_ASSERT_SV_DUMP
3933 PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3934 #define PERL_ARGS_ASSERT_SV_EQ
3936 PERL_CALLCONV I32 Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3937 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
3939 PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv);
3940 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
3943 PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3944 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
3946 PERL_CALLCONV void Perl_sv_free(pTHX_ SV *const sv);
3947 #define PERL_ARGS_ASSERT_SV_FREE
3948 PERL_CALLCONV void Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3949 #define PERL_ARGS_ASSERT_SV_FREE2 \
3951 PERL_CALLCONV void Perl_sv_free_arenas(pTHX)
3952 __attribute__visibility__("hidden");
3953 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
3955 PERL_CALLCONV SV* Perl_sv_get_backrefs(SV *const sv);
3956 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS \
3958 PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3959 #define PERL_ARGS_ASSERT_SV_GETS \
3960 assert(sv); assert(fp)
3961 PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3962 #define PERL_ARGS_ASSERT_SV_GROW \
3964 PERL_CALLCONV char* Perl_sv_grow_fresh(pTHX_ SV *const sv, STRLEN newlen);
3965 #define PERL_ARGS_ASSERT_SV_GROW_FRESH \
3967 PERL_CALLCONV void Perl_sv_inc(pTHX_ SV *const sv);
3968 #define PERL_ARGS_ASSERT_SV_INC
3969 PERL_CALLCONV void Perl_sv_inc_nomg(pTHX_ SV *const sv);
3970 #define PERL_ARGS_ASSERT_SV_INC_NOMG
3972 PERL_CALLCONV void Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3973 #define PERL_ARGS_ASSERT_SV_INSERT \
3974 assert(bigstr); assert(little)
3976 PERL_CALLCONV void Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *little, const STRLEN littlelen, const U32 flags);
3977 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \
3978 assert(bigstr); assert(little)
3979 PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3980 #define PERL_ARGS_ASSERT_SV_ISA \
3982 PERL_CALLCONV bool Perl_sv_isa_sv(pTHX_ SV* sv, SV* namesv)
3983 __attribute__warn_unused_result__;
3984 #define PERL_ARGS_ASSERT_SV_ISA_SV \
3985 assert(sv); assert(namesv)
3987 PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv);
3988 #define PERL_ARGS_ASSERT_SV_ISOBJECT
3989 PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV *const sv);
3990 #define PERL_ARGS_ASSERT_SV_LEN
3991 PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV *const sv);
3992 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
3993 PERL_CALLCONV STRLEN Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3994 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG \
3996 PERL_CALLCONV void Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3997 #define PERL_ARGS_ASSERT_SV_MAGIC \
3999 PERL_CALLCONV MAGIC * Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen);
4000 #define PERL_ARGS_ASSERT_SV_MAGICEXT \
4002 PERL_CALLCONV MAGIC * Perl_sv_magicext_mglob(pTHX_ SV *sv);
4003 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB \
4006 PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
4007 __attribute__warn_unused_result__;
4008 #define PERL_ARGS_ASSERT_SV_MORTALCOPY
4011 PERL_CALLCONV SV* Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
4012 __attribute__warn_unused_result__;
4013 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4015 PERL_CALLCONV SV* Perl_sv_newmortal(pTHX)
4016 __attribute__warn_unused_result__;
4017 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4019 PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV *const sv);
4020 #define PERL_ARGS_ASSERT_SV_NEWREF
4022 PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv)
4023 __attribute__deprecated__;
4024 #define PERL_ARGS_ASSERT_SV_NOLOCKING
4027 PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv);
4028 #define PERL_ARGS_ASSERT_SV_NOSHARING
4030 PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv)
4031 __attribute__deprecated__;
4032 #define PERL_ARGS_ASSERT_SV_NOUNLOCKING
4035 /* PERL_CALLCONV bool sv_numeq(pTHX_ SV* sv1, SV* sv2); */
4036 #define PERL_ARGS_ASSERT_SV_NUMEQ
4037 PERL_CALLCONV bool Perl_sv_numeq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4038 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4039 #ifndef PERL_NO_INLINE_FUNCTIONS
4040 PERL_STATIC_INLINE bool Perl_sv_only_taint_gmagic(SV *sv);
4041 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC \
4044 PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv);
4045 #define PERL_ARGS_ASSERT_SV_PEEK
4046 PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
4047 #define PERL_ARGS_ASSERT_SV_POS_B2U \
4049 PERL_CALLCONV STRLEN Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
4050 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS \
4052 PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
4053 #define PERL_ARGS_ASSERT_SV_POS_U2B \
4055 PERL_CALLCONV STRLEN Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
4056 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \
4059 PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv)
4060 __attribute__warn_unused_result__;
4061 #define PERL_ARGS_ASSERT_SV_PV \
4066 PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv)
4067 __attribute__warn_unused_result__;
4068 #define PERL_ARGS_ASSERT_SV_PVBYTE \
4072 PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
4073 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \
4075 #ifndef PERL_NO_INLINE_FUNCTIONS
4076 PERL_STATIC_INLINE char* Perl_sv_pvbyten_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4077 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER \
4081 PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
4082 #define PERL_ARGS_ASSERT_SV_PVN_FORCE \
4085 PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
4086 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
4089 PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv)
4090 __attribute__warn_unused_result__;
4091 #define PERL_ARGS_ASSERT_SV_PVUTF8 \
4095 PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
4096 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \
4098 #ifndef PERL_NO_INLINE_FUNCTIONS
4099 PERL_STATIC_INLINE char* Perl_sv_pvutf8n_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4100 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER \
4103 PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
4104 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \
4105 assert(sv); assert(encoding)
4106 PERL_CALLCONV SV* Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
4107 #define PERL_ARGS_ASSERT_SV_REF \
4109 PERL_CALLCONV const char* Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
4110 __attribute__warn_unused_result__;
4111 #define PERL_ARGS_ASSERT_SV_REFTYPE \
4114 PERL_CALLCONV void Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
4115 #define PERL_ARGS_ASSERT_SV_REPLACE \
4116 assert(sv); assert(nsv)
4117 PERL_CALLCONV void Perl_sv_report_used(pTHX);
4118 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4119 PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV *const stash);
4120 #define PERL_ARGS_ASSERT_SV_RESET \
4122 PERL_CALLCONV void Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash)
4123 __attribute__visibility__("hidden");
4124 #define PERL_ARGS_ASSERT_SV_RESETPVN
4126 PERL_CALLCONV SV* Perl_sv_rvunweaken(pTHX_ SV *const sv);
4127 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN \
4129 PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv);
4130 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \
4132 PERL_CALLCONV void Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4133 #define PERL_ARGS_ASSERT_SV_SET_BOOL \
4135 PERL_CALLCONV void Perl_sv_set_false(pTHX_ SV *sv);
4136 #define PERL_ARGS_ASSERT_SV_SET_FALSE \
4138 PERL_CALLCONV void Perl_sv_set_true(pTHX_ SV *sv);
4139 #define PERL_ARGS_ASSERT_SV_SET_TRUE \
4141 PERL_CALLCONV void Perl_sv_set_undef(pTHX_ SV *sv);
4142 #define PERL_ARGS_ASSERT_SV_SET_UNDEF \
4144 PERL_CALLCONV void Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
4145 #define PERL_ARGS_ASSERT_SV_SETHEK \
4147 PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
4148 #define PERL_ARGS_ASSERT_SV_SETIV \
4150 PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
4151 #define PERL_ARGS_ASSERT_SV_SETIV_MG \
4153 PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
4154 #define PERL_ARGS_ASSERT_SV_SETNV \
4156 PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
4157 #define PERL_ARGS_ASSERT_SV_SETNV_MG \
4159 PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
4160 #define PERL_ARGS_ASSERT_SV_SETPV \
4162 PERL_CALLCONV char * Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
4163 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE \
4165 #ifndef PERL_NO_INLINE_FUNCTIONS
4166 PERL_STATIC_INLINE char * Perl_sv_setpv_freshbuf(pTHX_ SV *const sv);
4167 #define PERL_ARGS_ASSERT_SV_SETPV_FRESHBUF \
4170 PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
4171 #define PERL_ARGS_ASSERT_SV_SETPV_MG \
4173 PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
4174 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4175 #define PERL_ARGS_ASSERT_SV_SETPVF \
4176 assert(sv); assert(pat)
4178 PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4179 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4180 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \
4181 assert(sv); assert(pat)
4183 PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4184 #define PERL_ARGS_ASSERT_SV_SETPVN \
4186 PERL_CALLCONV void Perl_sv_setpvn_fresh(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4187 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH \
4189 PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4190 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \
4191 assert(sv); assert(ptr)
4192 PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
4193 #define PERL_ARGS_ASSERT_SV_SETREF_IV \
4195 PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
4196 #define PERL_ARGS_ASSERT_SV_SETREF_NV \
4198 PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
4199 #define PERL_ARGS_ASSERT_SV_SETREF_PV \
4201 PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
4202 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \
4203 assert(rv); assert(pv)
4204 PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
4205 #define PERL_ARGS_ASSERT_SV_SETREF_UV \
4207 PERL_CALLCONV void Perl_sv_setrv_inc(pTHX_ SV *const sv, SV *const ref);
4208 #define PERL_ARGS_ASSERT_SV_SETRV_INC \
4209 assert(sv); assert(ref)
4210 PERL_CALLCONV void Perl_sv_setrv_inc_mg(pTHX_ SV *const sv, SV *const ref);
4211 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG \
4212 assert(sv); assert(ref)
4213 PERL_CALLCONV void Perl_sv_setrv_noinc(pTHX_ SV *const sv, SV *const ref);
4214 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4215 assert(sv); assert(ref)
4216 PERL_CALLCONV void Perl_sv_setrv_noinc_mg(pTHX_ SV *const sv, SV *const ref);
4217 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG \
4218 assert(sv); assert(ref)
4220 PERL_CALLCONV void Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
4221 #define PERL_ARGS_ASSERT_SV_SETSV \
4224 PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4225 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4227 PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *const dsv, SV *const ssv);
4228 #define PERL_ARGS_ASSERT_SV_SETSV_MG \
4230 PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
4231 #define PERL_ARGS_ASSERT_SV_SETUV \
4233 PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
4234 #define PERL_ARGS_ASSERT_SV_SETUV_MG \
4236 /* PERL_CALLCONV bool sv_streq(pTHX_ SV* sv1, SV* sv2); */
4237 #define PERL_ARGS_ASSERT_SV_STREQ
4238 PERL_CALLCONV bool Perl_sv_streq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4239 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4240 PERL_CALLCONV SV* Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
4241 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4243 PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv);
4244 #define PERL_ARGS_ASSERT_SV_TAINT \
4247 PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV *const sv)
4248 __attribute__warn_unused_result__;
4249 #define PERL_ARGS_ASSERT_SV_TAINTED \
4252 PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv);
4253 #define PERL_ARGS_ASSERT_SV_TRUE
4254 PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4255 __attribute__warn_unused_result__;
4256 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4257 assert(dsv); assert(ssv)
4259 PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
4260 #define PERL_ARGS_ASSERT_SV_UNMAGIC \
4262 PERL_CALLCONV int Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
4263 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT \
4266 PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv);
4267 #define PERL_ARGS_ASSERT_SV_UNREF \
4270 PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
4271 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4273 PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV *const sv);
4274 #define PERL_ARGS_ASSERT_SV_UNTAINT \
4276 PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
4277 #define PERL_ARGS_ASSERT_SV_UPGRADE \
4280 PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
4281 #define PERL_ARGS_ASSERT_SV_USEPVN \
4284 PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
4285 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \
4288 PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
4289 #define PERL_ARGS_ASSERT_SV_USEPVN_MG \
4292 PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *const sv);
4293 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4296 PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
4297 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \
4300 PERL_CALLCONV bool Perl_sv_utf8_downgrade_flags(pTHX_ SV *const sv, const bool fail_ok, const U32 flags);
4301 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS \
4303 /* PERL_CALLCONV bool sv_utf8_downgrade_nomg(pTHX_ SV *const sv, const bool fail_ok); */
4304 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_NOMG
4305 PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *const sv);
4306 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4309 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv);
4310 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \
4313 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
4314 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS
4315 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
4316 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \
4318 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4319 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_NOMG
4320 PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4321 #define PERL_ARGS_ASSERT_SV_VCATPVF \
4322 assert(sv); assert(pat)
4323 PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4324 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \
4325 assert(sv); assert(pat)
4326 PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
4327 #define PERL_ARGS_ASSERT_SV_VCATPVFN \
4328 assert(sv); assert(pat)
4329 PERL_CALLCONV void Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted, const U32 flags);
4330 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS \
4331 assert(sv); assert(pat)
4332 PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4333 #define PERL_ARGS_ASSERT_SV_VSETPVF \
4334 assert(sv); assert(pat)
4335 PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4336 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \
4337 assert(sv); assert(pat)
4338 PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const Size_t sv_count, bool *const maybe_tainted);
4339 #define PERL_ARGS_ASSERT_SV_VSETPVFN \
4340 assert(sv); assert(pat)
4341 PERL_CALLCONV void Perl_switch_to_global_locale(pTHX);
4342 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
4343 PERL_CALLCONV bool Perl_sync_locale(pTHX);
4344 #define PERL_ARGS_ASSERT_SYNC_LOCALE
4345 PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv);
4346 #define PERL_ARGS_ASSERT_SYS_INIT \
4347 assert(argc); assert(argv)
4348 PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env);
4349 #define PERL_ARGS_ASSERT_SYS_INIT3 \
4350 assert(argc); assert(argv); assert(env)
4351 PERL_CALLCONV void Perl_sys_term(void);
4352 #define PERL_ARGS_ASSERT_SYS_TERM
4353 PERL_CALLCONV void Perl_taint_env(pTHX);
4354 #define PERL_ARGS_ASSERT_TAINT_ENV
4355 PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char *const s);
4356 #define PERL_ARGS_ASSERT_TAINT_PROPER \
4358 PERL_CALLCONV void Perl_thread_locale_init(pTHX);
4359 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
4360 PERL_CALLCONV void Perl_thread_locale_term(pTHX);
4361 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
4362 PERL_CALLCONV OP * Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...)
4363 __attribute__visibility__("hidden");
4364 #define PERL_ARGS_ASSERT_TIED_METHOD \
4365 assert(methname); assert(sp); assert(sv); assert(mg)
4367 PERL_CALLCONV SSize_t Perl_tmps_grow_p(pTHX_ SSize_t ix);
4368 #define PERL_ARGS_ASSERT_TMPS_GROW_P
4369 /* PERL_CALLCONV UV to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
4370 #define PERL_ARGS_ASSERT_TO_UNI_FOLD
4371 PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
4372 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \
4373 assert(p); assert(lenp)
4374 PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
4375 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \
4376 assert(p); assert(lenp)
4377 PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
4378 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \
4379 assert(p); assert(lenp)
4380 PERL_CALLCONV bool Perl_try_amagic_bin(pTHX_ int method, int flags);
4381 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
4382 PERL_CALLCONV bool Perl_try_amagic_un(pTHX_ int method, int flags);
4383 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
4384 PERL_CALLCONV SSize_t Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
4385 #define PERL_ARGS_ASSERT_UNPACKSTRING \
4386 assert(pat); assert(patend); assert(s); assert(strend)
4387 PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek);
4388 #define PERL_ARGS_ASSERT_UNSHARE_HEK
4389 PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
4390 #define PERL_ARGS_ASSERT_UNSHAREPVN
4391 PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv);
4392 #define PERL_ARGS_ASSERT_UPG_VERSION \
4394 PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4395 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \
4396 assert(p); assert(d); assert(newlen)
4397 PERL_CALLCONV U8* Perl_utf16_to_utf8_base(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
4398 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE \
4399 assert(p); assert(d); assert(newlen)
4400 PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4401 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
4402 assert(p); assert(d); assert(newlen)
4403 #ifndef PERL_NO_INLINE_FUNCTIONS
4404 PERL_STATIC_INLINE IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
4405 __attribute__warn_unused_result__;
4406 #define PERL_ARGS_ASSERT_UTF8_DISTANCE \
4407 assert(a); assert(b)
4410 #ifndef PERL_NO_INLINE_FUNCTIONS
4411 PERL_STATIC_INLINE U8* Perl_utf8_hop(const U8 *s, SSize_t off)
4412 __attribute__warn_unused_result__;
4413 #define PERL_ARGS_ASSERT_UTF8_HOP \
4417 #ifndef PERL_NO_INLINE_FUNCTIONS
4418 PERL_STATIC_INLINE U8* Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
4419 __attribute__warn_unused_result__;
4420 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK \
4421 assert(s); assert(start)
4424 #ifndef PERL_NO_INLINE_FUNCTIONS
4425 PERL_STATIC_INLINE U8* Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
4426 __attribute__warn_unused_result__;
4427 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD \
4428 assert(s); assert(end)
4431 #ifndef PERL_NO_INLINE_FUNCTIONS
4432 PERL_STATIC_INLINE U8* Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
4433 __attribute__warn_unused_result__;
4434 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE \
4435 assert(s); assert(start); assert(end)
4438 PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
4439 __attribute__warn_unused_result__;
4440 #define PERL_ARGS_ASSERT_UTF8_LENGTH \
4441 assert(s); assert(e)
4443 PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
4444 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
4445 assert(s); assert(lenp)
4446 PERL_CALLCONV U8* Perl_utf8_to_utf16_base(pTHX_ U8* s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
4447 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE \
4448 assert(s); assert(d); assert(newlen)
4450 PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4451 __attribute__deprecated__;
4452 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \
4456 PERL_CALLCONV UV Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4457 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF \
4458 assert(s); assert(send)
4459 #ifndef PERL_NO_INLINE_FUNCTIONS
4460 PERL_STATIC_INLINE UV Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4461 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER \
4462 assert(s); assert(send)
4465 PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4466 __attribute__deprecated__;
4467 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \
4471 PERL_CALLCONV UV Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
4472 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
4474 PERL_CALLCONV UV Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
4475 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR \
4477 #ifndef PERL_NO_INLINE_FUNCTIONS
4478 PERL_STATIC_INLINE UV Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
4479 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS \
4483 PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4484 __attribute__deprecated__;
4485 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4489 PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
4490 __attribute__visibility__("hidden");
4491 #define PERL_ARGS_ASSERT_UTILIZE \
4494 /* PERL_CALLCONV U8* uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
4495 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8
4496 /* PERL_CALLCONV U8* uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
4497 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS
4498 /* PERL_CALLCONV U8* uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
4499 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS_MSGS
4500 PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
4501 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4503 PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV** msgs);
4504 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
4506 PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
4507 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
4509 #ifndef PERL_NO_INLINE_FUNCTIONS
4510 PERL_STATIC_INLINE UV Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
4511 __attribute__warn_unused_result__;
4512 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR \
4516 PERL_CALLCONV bool Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
4517 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4519 PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
4520 #define PERL_ARGS_ASSERT_VCMP \
4521 assert(lhv); assert(rhv)
4522 PERL_CALLCONV_NO_RET void Perl_vcroak(pTHX_ const char* pat, va_list* args)
4523 __attribute__noreturn__;
4524 #define PERL_ARGS_ASSERT_VCROAK
4526 PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args);
4527 #define PERL_ARGS_ASSERT_VDEB \
4529 PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args);
4530 #define PERL_ARGS_ASSERT_VFORM \
4532 PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv);
4533 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4535 PERL_CALLCONV SV* Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4536 __attribute__warn_unused_result__
4537 __attribute__visibility__("hidden");
4538 #define PERL_ARGS_ASSERT_VIVIFY_REF \
4541 PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
4542 #define PERL_ARGS_ASSERT_VLOAD_MODULE \
4544 PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args);
4545 #define PERL_ARGS_ASSERT_VMESS \
4547 PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4548 __attribute__warn_unused_result__;
4549 #define PERL_ARGS_ASSERT_VNEWSVPVF \
4552 PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs);
4553 #define PERL_ARGS_ASSERT_VNORMAL \
4555 PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs);
4556 #define PERL_ARGS_ASSERT_VNUMIFY \
4558 PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs);
4559 #define PERL_ARGS_ASSERT_VSTRINGIFY \
4561 PERL_CALLCONV SV* Perl_vverify(pTHX_ SV *vs);
4562 #define PERL_ARGS_ASSERT_VVERIFY \
4564 PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args);
4565 #define PERL_ARGS_ASSERT_VWARN \
4567 PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
4568 #define PERL_ARGS_ASSERT_VWARNER \
4570 PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
4571 __attribute__visibility__("hidden");
4572 #define PERL_ARGS_ASSERT_WAIT4PID \
4575 PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...)
4576 __attribute__format__(__printf__,pTHX_1,pTHX_2);
4577 #define PERL_ARGS_ASSERT_WARN \
4580 PERL_CALLCONV void Perl_warn_sv(pTHX_ SV *baseex);
4581 #define PERL_ARGS_ASSERT_WARN_SV \
4583 PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...)
4584 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4585 #define PERL_ARGS_ASSERT_WARNER \
4588 PERL_CALLCONV I32 Perl_was_lvalue_sub(pTHX)
4589 __attribute__warn_unused_result__;
4590 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
4592 PERL_CALLCONV void Perl_watch(pTHX_ char** addr)
4593 __attribute__visibility__("hidden");
4594 #define PERL_ARGS_ASSERT_WATCH \
4597 /* PERL_CALLCONV I32 whichsig(pTHX_ const char* sig); */
4598 #define PERL_ARGS_ASSERT_WHICHSIG
4599 PERL_CALLCONV I32 Perl_whichsig_pv(pTHX_ const char* sig);
4600 #define PERL_ARGS_ASSERT_WHICHSIG_PV \
4602 PERL_CALLCONV I32 Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
4603 #define PERL_ARGS_ASSERT_WHICHSIG_PVN \
4605 PERL_CALLCONV I32 Perl_whichsig_sv(pTHX_ SV* sigsv);
4606 #define PERL_ARGS_ASSERT_WHICHSIG_SV \
4608 PERL_CALLCONV void Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
4609 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN \
4610 assert(new_plugin); assert(old_plugin_p)
4611 PERL_CALLCONV void Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
4612 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \
4613 assert(new_checker); assert(old_checker_p)
4614 PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv)
4615 __attribute__visibility__("hidden");
4616 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
4619 PERL_CALLCONV void Perl_xs_boot_epilog(pTHX_ const I32 ax);
4620 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
4621 PERL_CALLCONV I32 Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
4622 #define PERL_ARGS_ASSERT_XS_HANDSHAKE \
4623 assert(v_my_perl); assert(file)
4624 PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s)
4625 __attribute__visibility__("hidden");
4626 #define PERL_ARGS_ASSERT_YYERROR \
4629 PERL_CALLCONV int Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
4630 __attribute__visibility__("hidden");
4631 #define PERL_ARGS_ASSERT_YYERROR_PV \
4634 PERL_CALLCONV int Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
4635 __attribute__visibility__("hidden");
4636 #define PERL_ARGS_ASSERT_YYERROR_PVN
4638 PERL_CALLCONV int Perl_yylex(pTHX);
4639 #define PERL_ARGS_ASSERT_YYLEX
4640 PERL_CALLCONV int Perl_yyparse(pTHX_ int gramtype)
4641 __attribute__visibility__("hidden");
4642 #define PERL_ARGS_ASSERT_YYPARSE
4644 PERL_CALLCONV void Perl_yyquit(pTHX)
4645 __attribute__visibility__("hidden");
4646 #define PERL_ARGS_ASSERT_YYQUIT
4648 PERL_CALLCONV void Perl_yyunlex(pTHX)
4649 __attribute__visibility__("hidden");
4650 #define PERL_ARGS_ASSERT_YYUNLEX
4652 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
4653 #ifndef PERL_NO_INLINE_FUNCTIONS
4654 PERL_STATIC_INLINE void * S_my_memrchr(const char * s, const char c, const STRLEN len);
4655 #define PERL_ARGS_ASSERT_MY_MEMRCHR \
4659 #if ! defined(HAS_NL_LANGINFO_L) && ! defined(HAS_NL_LANGINFO)
4660 # if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L)) && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
4661 # if defined(PERL_IN_LOCALE_C)
4662 # if defined(USE_LOCALE)
4663 STATIC HV * S_get_nl_item_from_localeconv(pTHX_ const struct lconv *lcbuf, const int item, const locale_utf8ness_t unused1, const locale_utf8ness_t unused2);
4664 #define PERL_ARGS_ASSERT_GET_NL_ITEM_FROM_LOCALECONV \
4670 #if !(!defined(PERL_EXT_RE_BUILD))
4671 # if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4672 PERL_CALLCONV SV* 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)
4673 __attribute__visibility__("hidden");
4674 #define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
4679 #if !(defined(DEBUGGING))
4680 # if !defined(NV_PRESERVES_UV)
4681 # if defined(PERL_IN_SV_C)
4682 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
4683 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
4688 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
4689 PERL_CALLCONV const char* Perl_langinfo(const int item);
4690 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4691 PERL_CALLCONV const char* Perl_langinfo8(const int item, utf8ness_t * utf8ness);
4692 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
4694 #if !(defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L))
4695 # if defined(PERL_IN_LOCALE_C)
4696 # if defined(USE_LOCALE)
4697 STATIC const char* S_my_langinfo_i(pTHX_ const int item, const unsigned int cat_index, const char * locale, const char ** retbufp, Size_t * retbuf_sizep, utf8ness_t * utf8ness);
4698 #define PERL_ARGS_ASSERT_MY_LANGINFO_I \
4699 assert(locale); assert(retbufp)
4703 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
4704 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
4705 __attribute__visibility__("hidden");
4706 #define PERL_ARGS_ASSERT_DO_EXEC \
4710 #if !(defined(PERL_USE_3ARG_SIGHANDLER))
4711 PERL_CALLCONV Signal_t Perl_csighandler(int sig);
4712 #define PERL_ARGS_ASSERT_CSIGHANDLER
4713 PERL_CALLCONV Signal_t Perl_sighandler(int sig)
4714 __attribute__visibility__("hidden");
4715 #define PERL_ARGS_ASSERT_SIGHANDLER
4718 #if !(defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE))
4719 # if defined(PERL_IN_LOCALE_C)
4720 # if defined(USE_LOCALE)
4721 # if defined(WIN32) || defined(USE_POSIX_2008_LOCALE) || ! defined(LC_ALL)
4722 STATIC const char * S_calculate_LC_ALL(pTHX_ const char ** individ_locales);
4723 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL \
4724 assert(individ_locales)
4729 #if !(defined(USE_POSIX_2008_LOCALE))
4731 # if defined(PERL_IN_LOCALE_C)
4732 # if defined(USE_LOCALE)
4733 # if defined(USE_LOCALE_THREADS) && ! defined(USE_THREAD_SAFE_LOCALE) && ! defined(USE_THREAD_SAFE_LOCALE_EMULATION)
4734 STATIC bool S_less_dicey_bool_setlocale_r(pTHX_ const int cat, const char * locale);
4735 #define PERL_ARGS_ASSERT_LESS_DICEY_BOOL_SETLOCALE_R \
4741 # if defined(PERL_IN_LOCALE_C)
4742 # if defined(USE_LOCALE)
4743 # if defined(USE_LOCALE_THREADS) && ! defined(USE_THREAD_SAFE_LOCALE) && ! defined(USE_THREAD_SAFE_LOCALE_EMULATION)
4744 STATIC const char * S_less_dicey_setlocale_r(pTHX_ const int category, const char * locale);
4745 #define PERL_ARGS_ASSERT_LESS_DICEY_SETLOCALE_R
4746 STATIC void S_less_dicey_void_setlocale_i(pTHX_ const unsigned cat_index, const char * locale, const line_t line);
4747 #define PERL_ARGS_ASSERT_LESS_DICEY_VOID_SETLOCALE_I \
4753 #if !(defined(_MSC_VER))
4754 PERL_CALLCONV_NO_RET int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
4755 __attribute__noreturn__
4756 __attribute__visibility__("hidden");
4757 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
4758 assert(sv); assert(mg)
4761 #if !defined(EBCDIC)
4762 #ifndef PERL_NO_INLINE_FUNCTIONS
4763 PERL_STATIC_INLINE unsigned int Perl_variant_byte_number(PERL_UINTMAX_T word)
4764 __attribute__warn_unused_result__;
4765 #define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
4769 #if !defined(HAS_GETENV_LEN)
4770 PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
4771 __attribute__visibility__("hidden");
4772 #define PERL_ARGS_ASSERT_GETENV_LEN \
4773 assert(env_elem); assert(len)
4776 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
4777 # if defined(PERL_IN_PP_SYS_C)
4778 STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename)
4779 __attribute__warn_unused_result__;
4780 #define PERL_ARGS_ASSERT_DOONELINER \
4781 assert(cmd); assert(filename)
4785 #if !defined(HAS_MKOSTEMP)
4786 PERL_CALLCONV int Perl_my_mkostemp(char *templte, int flags)
4787 __attribute__visibility__("hidden");
4788 #define PERL_ARGS_ASSERT_MY_MKOSTEMP \
4792 #if !defined(HAS_MKSTEMP)
4793 PERL_CALLCONV int Perl_my_mkstemp(char *templte)
4794 __attribute__visibility__("hidden");
4795 #define PERL_ARGS_ASSERT_MY_MKSTEMP \
4799 #if !defined(HAS_RENAME)
4800 PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b)
4801 __attribute__visibility__("hidden");
4802 #define PERL_ARGS_ASSERT_SAME_DIRENT \
4803 assert(a); assert(b)
4806 #if !defined(HAS_SIGNBIT)
4807 PERL_CALLCONV int Perl_signbit(NV f)
4808 __attribute__warn_unused_result__
4809 __attribute__pure__;
4810 #define PERL_ARGS_ASSERT_PERL_SIGNBIT
4813 #if !defined(HAS_STRLCAT)
4814 PERL_CALLCONV Size_t Perl_my_strlcat(char *dst, const char *src, Size_t size);
4815 #define PERL_ARGS_ASSERT_MY_STRLCAT
4817 #if !defined(HAS_STRLCPY)
4818 PERL_CALLCONV Size_t Perl_my_strlcpy(char *dst, const char *src, Size_t size);
4819 #define PERL_ARGS_ASSERT_MY_STRLCPY
4821 #if !defined(HAS_STRNLEN)
4822 #ifndef PERL_NO_INLINE_FUNCTIONS
4823 PERL_STATIC_INLINE Size_t Perl_my_strnlen(const char *str, Size_t maxlen);
4824 #define PERL_ARGS_ASSERT_MY_STRNLEN \
4828 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
4829 PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length)
4830 __attribute__warn_unused_result__;
4831 #define PERL_ARGS_ASSERT_MY_CHSIZE
4834 #if !defined(NV_PRESERVES_UV)
4835 # if defined(DEBUGGING)
4836 # if defined(PERL_IN_SV_C)
4837 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
4838 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
4843 #if !defined(PERL_DISABLE_PMC)
4844 # if defined(PERL_IN_PP_CTL_C)
4845 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
4846 __attribute__warn_unused_result__;
4847 #define PERL_ARGS_ASSERT_DOOPEN_PM \
4852 #if !defined(PERL_EXT_RE_BUILD)
4853 # if defined(PERL_IN_REGCOMP_C)
4854 STATIC void S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4855 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \
4857 #ifndef PERL_NO_INLINE_FUNCTIONS
4858 PERL_STATIC_INLINE UV* S__invlist_array_init(SV* const invlist, const bool will_have_0)
4859 __attribute__warn_unused_result__;
4860 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
4864 #ifndef PERL_NO_INLINE_FUNCTIONS
4865 PERL_STATIC_INLINE IV* S_get_invlist_previous_index_addr(SV* invlist)
4866 __attribute__warn_unused_result__;
4867 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \
4871 STATIC void S_initialize_invlist_guts(pTHX_ SV* invlist, const Size_t initial_size);
4872 #define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS \
4874 #ifndef PERL_NO_INLINE_FUNCTIONS
4875 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
4876 #define PERL_ARGS_ASSERT_INVLIST_CLEAR \
4879 #ifndef PERL_NO_INLINE_FUNCTIONS
4880 PERL_STATIC_INLINE UV S_invlist_max(const SV* const invlist)
4881 __attribute__warn_unused_result__;
4882 #define PERL_ARGS_ASSERT_INVLIST_MAX \
4886 #ifndef PERL_NO_INLINE_FUNCTIONS
4887 PERL_STATIC_INLINE IV S_invlist_previous_index(SV* const invlist)
4888 __attribute__warn_unused_result__;
4889 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
4893 STATIC void S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
4894 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC \
4895 assert(dest); assert(src)
4896 #ifndef PERL_NO_INLINE_FUNCTIONS
4897 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
4898 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \
4901 #ifndef PERL_NO_INLINE_FUNCTIONS
4902 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
4903 #define PERL_ARGS_ASSERT_INVLIST_TRIM \
4907 # if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4908 PERL_CALLCONV SV* Perl_get_regclass_aux_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV **output_invlist)
4909 __attribute__visibility__("hidden");
4910 #define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA \
4915 #if !defined(PERL_IMPLICIT_SYS)
4916 PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
4917 #define PERL_ARGS_ASSERT_MY_PCLOSE
4918 PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode);
4919 #define PERL_ARGS_ASSERT_MY_POPEN \
4920 assert(cmd); assert(mode)
4922 #if !defined(PERL_IS_MINIPERL)
4923 # if defined(PERL_IN_PERL_C)
4924 STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
4925 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \
4926 assert(av); assert(dir); assert(stem)
4929 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4930 #ifndef PERL_NO_INLINE_FUNCTIONS
4931 PERL_STATIC_INLINE void Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4932 #define PERL_ARGS_ASSERT_CX_POPBLOCK \
4935 #ifndef PERL_NO_INLINE_FUNCTIONS
4936 PERL_STATIC_INLINE void Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4937 #define PERL_ARGS_ASSERT_CX_POPEVAL \
4940 #ifndef PERL_NO_INLINE_FUNCTIONS
4941 PERL_STATIC_INLINE void Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4942 #define PERL_ARGS_ASSERT_CX_POPFORMAT \
4945 #ifndef PERL_NO_INLINE_FUNCTIONS
4946 PERL_STATIC_INLINE void Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4947 #define PERL_ARGS_ASSERT_CX_POPGIVEN \
4950 #ifndef PERL_NO_INLINE_FUNCTIONS
4951 PERL_STATIC_INLINE void Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4952 #define PERL_ARGS_ASSERT_CX_POPLOOP \
4955 #ifndef PERL_NO_INLINE_FUNCTIONS
4956 PERL_STATIC_INLINE void Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4957 #define PERL_ARGS_ASSERT_CX_POPSUB \
4960 #ifndef PERL_NO_INLINE_FUNCTIONS
4961 PERL_STATIC_INLINE void Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4962 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4965 #ifndef PERL_NO_INLINE_FUNCTIONS
4966 PERL_STATIC_INLINE void Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4967 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON \
4970 #ifndef PERL_NO_INLINE_FUNCTIONS
4971 PERL_STATIC_INLINE void Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4972 #define PERL_ARGS_ASSERT_CX_POPWHEN \
4975 #ifndef PERL_NO_INLINE_FUNCTIONS
4976 PERL_STATIC_INLINE PERL_CONTEXT * Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4977 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK \
4980 #ifndef PERL_NO_INLINE_FUNCTIONS
4981 PERL_STATIC_INLINE void Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4982 #define PERL_ARGS_ASSERT_CX_PUSHEVAL \
4985 #ifndef PERL_NO_INLINE_FUNCTIONS
4986 PERL_STATIC_INLINE void Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4987 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT \
4988 assert(cx); assert(cv)
4990 #ifndef PERL_NO_INLINE_FUNCTIONS
4991 PERL_STATIC_INLINE void Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4992 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN \
4995 #ifndef PERL_NO_INLINE_FUNCTIONS
4996 PERL_STATIC_INLINE void Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4997 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR \
4998 assert(cx); assert(itervarp)
5000 #ifndef PERL_NO_INLINE_FUNCTIONS
5001 PERL_STATIC_INLINE void Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
5002 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN \
5005 #ifndef PERL_NO_INLINE_FUNCTIONS
5006 PERL_STATIC_INLINE void Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
5007 #define PERL_ARGS_ASSERT_CX_PUSHSUB \
5008 assert(cx); assert(cv)
5010 #ifndef PERL_NO_INLINE_FUNCTIONS
5011 PERL_STATIC_INLINE void Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
5012 #define PERL_ARGS_ASSERT_CX_PUSHTRY \
5015 #ifndef PERL_NO_INLINE_FUNCTIONS
5016 PERL_STATIC_INLINE void Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
5017 #define PERL_ARGS_ASSERT_CX_PUSHWHEN \
5020 #ifndef PERL_NO_INLINE_FUNCTIONS
5021 PERL_STATIC_INLINE void Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
5022 #define PERL_ARGS_ASSERT_CX_TOPBLOCK \
5025 #ifndef PERL_NO_INLINE_FUNCTIONS
5026 PERL_STATIC_INLINE U8 Perl_gimme_V(pTHX);
5027 #define PERL_ARGS_ASSERT_GIMME_V
5030 #if !defined(PERL_NO_UTF16_FILTER)
5031 # if defined(PERL_IN_TOKE_C)
5032 STATIC U8* S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
5033 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
5035 STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5036 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
5040 #if !defined(PURIFY)
5041 # if defined(PERL_IN_HV_C)
5042 STATIC HE* S_new_he(pTHX)
5043 __attribute__warn_unused_result__;
5044 #define PERL_ARGS_ASSERT_NEW_HE
5048 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
5049 # if defined(PERL_IN_PERL_C)
5050 STATIC void S_validate_suid(pTHX_ PerlIO *rsfp);
5051 #define PERL_ARGS_ASSERT_VALIDATE_SUID \
5055 #if !defined(USE_ITHREADS)
5056 /* PERL_CALLCONV void CopFILEGV_set(pTHX_ COP * c, GV * gv); */
5057 #define PERL_ARGS_ASSERT_COPFILEGV_SET
5059 #if !defined(USE_QUERYLOCALE)
5060 # if defined(PERL_IN_LOCALE_C)
5061 # if defined(USE_LOCALE)
5062 # if defined(USE_POSIX_2008_LOCALE)
5063 STATIC const char* S_update_PL_curlocales_i(pTHX_ const unsigned int index, const char * new_locale, recalc_lc_all_t recalc_LC_ALL);
5064 #define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
5071 PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
5072 __attribute__visibility__("hidden");
5073 #define PERL_ARGS_ASSERT_DO_EXEC3 \
5077 #if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L)) && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
5078 # if defined(PERL_IN_LOCALE_C)
5079 # if defined(USE_LOCALE)
5080 STATIC HV * S_my_localeconv(pTHX_ const int item, const locale_utf8ness_t locale_is_utf8);
5081 #define PERL_ARGS_ASSERT_MY_LOCALECONV
5082 STATIC HV * S_populate_localeconv(pTHX_ const struct lconv *lcbuf, const int unused, const locale_utf8ness_t numeric_locale_is_utf8, const locale_utf8ness_t monetary_locale_is_utf8);
5083 #define PERL_ARGS_ASSERT_POPULATE_LOCALECONV \
5088 #if 0 /* Not currently used, but may be needed in the future */
5089 # if defined(PERL_IN_UTF8_C)
5090 STATIC void S_warn_on_first_deprecated_use(pTHX_ const char * const name, const char * const alternative, const bool use_locale, const char * const file, const unsigned line);
5091 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE \
5092 assert(name); assert(alternative); assert(file)
5095 #if defined (HAS_SOCKETPAIR) || (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && defined(AF_INET) && defined(PF_INET))
5096 PERL_CALLCONV int Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5097 __attribute__warn_unused_result__
5098 __attribute__visibility__("hidden");
5099 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC \
5103 #if defined(DEBUGGING)
5104 PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5105 __attribute__warn_unused_result__
5106 __attribute__visibility__("hidden");
5107 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5110 PERL_CALLCONV void Perl_hv_assert(pTHX_ HV *hv);
5111 #define PERL_ARGS_ASSERT_HV_ASSERT \
5113 PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
5114 #define PERL_ARGS_ASSERT_PAD_SETSV \
5116 PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
5117 #define PERL_ARGS_ASSERT_PAD_SV
5118 PERL_CALLCONV void Perl_set_padlist(CV * cv, PADLIST * padlist);
5119 #define PERL_ARGS_ASSERT_SET_PADLIST \
5121 # if defined(PERL_IN_LOCALE_C)
5122 # if defined(USE_LOCALE)
5123 STATIC const char * S_get_LC_ALL_display(pTHX);
5124 #define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
5125 STATIC char * S_my_setlocale_debug_string_i(pTHX_ const unsigned cat_index, const char* locale, const char* retval, const line_t line)
5126 __attribute__warn_unused_result__;
5127 #define PERL_ARGS_ASSERT_MY_SETLOCALE_DEBUG_STRING_I
5129 # if defined(USE_LOCALE_COLLATE)
5130 STATIC void S_print_collxfrm_input_and_return(pTHX_ const char * s, const char * e, const char * xbuf, const STRLEN xlen, const bool is_utf8);
5131 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN \
5132 assert(s); assert(e)
5136 # if defined(PERL_IN_PAD_C)
5137 STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title);
5138 #define PERL_ARGS_ASSERT_CV_DUMP \
5139 assert(cv); assert(title)
5141 # if defined(PERL_IN_REGCOMP_C)
5142 STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
5143 #define PERL_ARGS_ASSERT_DUMP_TRIE \
5144 assert(trie); assert(revcharmap)
5145 STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5146 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5147 assert(trie); assert(revcharmap)
5148 STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5149 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
5150 assert(trie); assert(revcharmap)
5151 STATIC const regnode* S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, const regnode *plast, SV* sv, I32 indent, U32 depth);
5152 #define PERL_ARGS_ASSERT_DUMPUNTIL \
5153 assert(r); assert(start); assert(node); assert(sv)
5154 STATIC U8 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);
5155 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \
5157 STATIC SV* S_put_charclass_bitmap_innards_common(pTHX_ SV* invlist, SV* posixes, SV* only_utf8, SV* not_utf8, SV* only_utf8_locale, const bool invert);
5158 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON \
5160 STATIC void S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
5161 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST \
5162 assert(sv); assert(invlist)
5163 STATIC void S_put_code_point(pTHX_ SV* sv, UV c);
5164 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
5166 STATIC void S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
5167 #define PERL_ARGS_ASSERT_PUT_RANGE \
5169 PERL_CALLCONV int Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
5170 __attribute__visibility__("hidden");
5171 #define PERL_ARGS_ASSERT_RE_INDENTF \
5174 STATIC void S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5175 #define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
5176 STATIC void S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
5177 #define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
5178 STATIC regnode_offset S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
5179 #define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG \
5181 STATIC bool S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
5182 __attribute__warn_unused_result__;
5183 #define PERL_ARGS_ASSERT_REGTAIL_STUDY \
5184 assert(pRExC_state); assert(p); assert(val)
5187 # if defined(PERL_IN_REGEXEC_C)
5188 STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
5189 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \
5190 assert(prog); assert(start); assert(end); assert(blurb)
5191 STATIC void S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, const U32 depth);
5192 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \
5193 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5194 PERL_CALLCONV int Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
5195 __attribute__visibility__("hidden");
5196 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF \
5200 # if defined(PERL_IN_SV_C)
5201 STATIC void S_del_sv(pTHX_ SV *p);
5202 #define PERL_ARGS_ASSERT_DEL_SV \
5205 # if defined(PERL_IN_TOKE_C)
5206 STATIC void S_printbuf(pTHX_ const char *const fmt, const char *const s)
5207 __attribute__format__(__printf__,pTHX_1,0);
5208 #define PERL_ARGS_ASSERT_PRINTBUF \
5209 assert(fmt); assert(s)
5211 STATIC int S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
5212 #define PERL_ARGS_ASSERT_TOKEREPORT \
5216 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
5217 # if defined(PERL_IN_REGCOMP_C)
5218 STATIC void S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
5219 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES \
5220 assert(pRExC_state); assert(stack); assert(fence_stack)
5223 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5224 PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv)
5225 __attribute__visibility__("hidden");
5226 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD \
5230 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5231 PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
5232 __attribute__visibility__("hidden");
5233 #define PERL_ARGS_ASSERT_DO_IPCCTL \
5234 assert(mark); assert(sp)
5236 PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
5237 __attribute__visibility__("hidden");
5238 #define PERL_ARGS_ASSERT_DO_IPCGET \
5239 assert(mark); assert(sp)
5241 PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
5242 __attribute__visibility__("hidden");
5243 #define PERL_ARGS_ASSERT_DO_MSGRCV \
5244 assert(mark); assert(sp)
5246 PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
5247 __attribute__visibility__("hidden");
5248 #define PERL_ARGS_ASSERT_DO_MSGSND \
5249 assert(mark); assert(sp)
5251 PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp)
5252 __attribute__visibility__("hidden");
5253 #define PERL_ARGS_ASSERT_DO_SEMOP \
5254 assert(mark); assert(sp)
5256 PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
5257 __attribute__visibility__("hidden");
5258 #define PERL_ARGS_ASSERT_DO_SHMIO \
5259 assert(mark); assert(sp)
5262 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
5263 PERL_CALLCONV const char* Perl_langinfo(const nl_item item);
5264 #define PERL_ARGS_ASSERT_PERL_LANGINFO
5265 PERL_CALLCONV const char* Perl_langinfo8(const nl_item item, utf8ness_t * utf8ness);
5266 #define PERL_ARGS_ASSERT_PERL_LANGINFO8
5268 #if defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L)
5269 # if defined(PERL_IN_LOCALE_C)
5270 # if defined(USE_LOCALE)
5271 STATIC const char* S_my_langinfo_i(pTHX_ const nl_item item, const unsigned int cat_index, const char * locale, const char ** retbufp, Size_t * retbuf_sizep, utf8ness_t * utf8ness);
5272 #define PERL_ARGS_ASSERT_MY_LANGINFO_I \
5273 assert(locale); assert(retbufp)
5277 #if defined(HAS_PIPE)
5278 PERL_CALLCONV int Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5279 __attribute__warn_unused_result__
5280 __attribute__visibility__("hidden");
5281 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC \
5285 #if defined(HAS_SOCKET)
5286 PERL_CALLCONV int Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5287 __attribute__warn_unused_result__
5288 __attribute__visibility__("hidden");
5289 #define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5291 PERL_CALLCONV int Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5292 __attribute__warn_unused_result__
5293 __attribute__visibility__("hidden");
5294 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5297 #if defined(HAVE_INTERP_INTERN)
5298 PERL_CALLCONV void Perl_sys_intern_clear(pTHX);
5299 #define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5300 PERL_CALLCONV void Perl_sys_intern_init(pTHX);
5301 #define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5302 # if defined(USE_ITHREADS)
5303 PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
5304 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5305 assert(src); assert(dst)
5308 #if defined(MULTIPLICITY)
5309 PERL_CALLCONV_NO_RET void Perl_croak_nocontext(const char* pat, ...)
5310 __attribute__noreturn__
5311 __attribute__format__null_ok__(__printf__,1,2);
5312 #define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5314 PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...)
5315 __attribute__format__(__printf__,1,2);
5316 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
5319 PERL_CALLCONV_NO_RET OP* Perl_die_nocontext(const char* pat, ...)
5320 __attribute__noreturn__
5321 __attribute__format__null_ok__(__printf__,1,2);
5322 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5324 PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...)
5325 __attribute__format__(__printf__,1,2);
5326 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5329 PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
5330 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
5332 PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...)
5333 __attribute__format__(__printf__,1,2);
5334 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5337 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5338 #define PERL_ARGS_ASSERT_MY_CXT_INIT \
5340 PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...)
5341 __attribute__format__(__printf__,1,2);
5342 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
5345 PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5346 __attribute__format__(__printf__,2,3);
5347 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5348 assert(sv); assert(pat)
5350 PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
5351 __attribute__format__(__printf__,2,3);
5352 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
5353 assert(sv); assert(pat)
5355 PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5356 __attribute__format__(__printf__,2,3);
5357 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5358 assert(sv); assert(pat)
5360 PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
5361 __attribute__format__(__printf__,2,3);
5362 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
5363 assert(sv); assert(pat)
5365 PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...)
5366 __attribute__format__(__printf__,1,2);
5367 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5370 PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...)
5371 __attribute__format__(__printf__,2,3);
5372 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
5376 #if defined(MYMALLOC)
5377 PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s);
5378 #define PERL_ARGS_ASSERT_DUMP_MSTATS \
5380 PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5381 #define PERL_ARGS_ASSERT_GET_MSTATS \
5383 PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes)
5384 __attribute__warn_unused_result__
5385 __attribute__visibility__("hidden");
5386 #define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5388 PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p)
5389 __attribute__warn_unused_result__
5390 __attribute__visibility__("hidden");
5391 #define PERL_ARGS_ASSERT_MALLOCED_SIZE \
5395 #if defined(PERL_ANY_COW)
5396 PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv);
5397 #define PERL_ARGS_ASSERT_SV_SETSV_COW \
5400 #if defined(PERL_CORE)
5401 PERL_CALLCONV void Perl_opslab_force_free(pTHX_ OPSLAB *slab)
5402 __attribute__visibility__("hidden");
5403 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE \
5406 PERL_CALLCONV void Perl_opslab_free(pTHX_ OPSLAB *slab)
5407 __attribute__visibility__("hidden");
5408 #define PERL_ARGS_ASSERT_OPSLAB_FREE \
5411 PERL_CALLCONV void Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
5412 __attribute__visibility__("hidden");
5413 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD \
5416 PERL_CALLCONV void Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
5417 __attribute__visibility__("hidden");
5418 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \
5419 assert(parser); assert(slab)
5421 #ifndef PERL_NO_INLINE_FUNCTIONS
5422 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
5423 __attribute__warn_unused_result__;
5424 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
5428 # if defined(PERL_DEBUG_READONLY_OPS)
5429 PERL_CALLCONV void Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
5430 #define PERL_ARGS_ASSERT_SLAB_TO_RO \
5432 PERL_CALLCONV void Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
5433 #define PERL_ARGS_ASSERT_SLAB_TO_RW \
5437 #if defined(PERL_CORE) || defined (PERL_EXT)
5438 #ifndef PERL_NO_INLINE_FUNCTIONS
5439 PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
5440 __attribute__warn_unused_result__;
5441 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \
5445 #ifndef PERL_NO_INLINE_FUNCTIONS
5446 PERL_STATIC_INLINE STRLEN S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
5447 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B \
5448 assert(sv); assert(pv)
5451 #if defined(PERL_CORE) || defined(PERL_EXT)
5452 PERL_CALLCONV bool Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
5453 __attribute__warn_unused_result__;
5454 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN \
5455 assert(s); assert(send)
5457 #ifndef PERL_NO_INLINE_FUNCTIONS
5458 PERL_STATIC_INLINE Size_t S_variant_under_utf8_count(const U8* const s, const U8* const e)
5459 __attribute__warn_unused_result__;
5460 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT \
5461 assert(s); assert(e)
5465 #if defined(PERL_CR_FILTER)
5466 # if defined(PERL_IN_TOKE_C)
5467 STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5468 #define PERL_ARGS_ASSERT_CR_TEXTFILTER
5469 STATIC void S_strip_return(pTHX_ SV *sv);
5470 #define PERL_ARGS_ASSERT_STRIP_RETURN \
5474 #if defined(PERL_DEBUG_READONLY_COW)
5475 PERL_CALLCONV void Perl_sv_buf_to_ro(pTHX_ SV *sv)
5476 __attribute__visibility__("hidden");
5477 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO \
5480 # if defined(PERL_IN_SV_C)
5481 STATIC void S_sv_buf_to_rw(pTHX_ SV *sv);
5482 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW \
5486 #if defined(PERL_DEBUG_READONLY_OPS)
5487 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
5488 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC \
5490 PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o);
5491 #define PERL_ARGS_ASSERT_OP_REFCNT_INC
5493 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
5494 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
5495 __attribute__visibility__("hidden");
5496 #define PERL_ARGS_ASSERT_DO_EXEC \
5500 #if defined(PERL_DONT_CREATE_GVSV)
5502 PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV *gv);
5503 #define PERL_ARGS_ASSERT_GV_SVADD
5506 #if defined(PERL_IMPLICIT_SYS)
5507 PERL_CALLCONV PerlInterpreter* perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP);
5508 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING \
5509 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5510 # if defined(USE_ITHREADS)
5511 PERL_CALLCONV PerlInterpreter* perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem* ipM, struct IPerlMem* ipMS, struct IPerlMem* ipMP, struct IPerlEnv* ipE, struct IPerlStdIO* ipStd, struct IPerlLIO* ipLIO, struct IPerlDir* ipD, struct IPerlSock* ipS, struct IPerlProc* ipP);
5512 #define PERL_ARGS_ASSERT_PERL_CLONE_USING \
5513 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5516 #if defined(PERL_IN_AV_C)
5517 STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av);
5518 #define PERL_ARGS_ASSERT_GET_AUX_MG \
5521 #if defined(PERL_IN_DEB_C)
5522 STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
5523 #define PERL_ARGS_ASSERT_DEB_STACK_N \
5526 #if defined(PERL_IN_DOIO_C)
5527 STATIC bool S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
5528 #define PERL_ARGS_ASSERT_ARGVOUT_FINAL \
5529 assert(mg); assert(io)
5530 STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
5531 #define PERL_ARGS_ASSERT_EXEC_FAILED \
5533 STATIC bool S_ingroup(pTHX_ Gid_t testgid, bool effective)
5534 __attribute__warn_unused_result__;
5535 #define PERL_ARGS_ASSERT_INGROUP
5537 STATIC bool S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type, Stat_t *statbufp);
5538 #define PERL_ARGS_ASSERT_OPENN_CLEANUP \
5539 assert(gv); assert(io); assert(mode); assert(oname)
5540 STATIC IO * S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
5541 #define PERL_ARGS_ASSERT_OPENN_SETUP \
5542 assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
5544 #if defined(PERL_IN_DOOP_C)
5545 STATIC Size_t S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5546 __attribute__warn_unused_result__;
5547 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \
5548 assert(sv); assert(tbl)
5550 STATIC Size_t S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5551 __attribute__warn_unused_result__;
5552 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
5553 assert(sv); assert(tbl)
5555 STATIC Size_t S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
5556 __attribute__warn_unused_result__;
5557 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP \
5558 assert(sv); assert(map)
5560 STATIC Size_t S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
5561 __attribute__warn_unused_result__;
5562 #define PERL_ARGS_ASSERT_DO_TRANS_INVMAP \
5563 assert(sv); assert(map)
5565 STATIC Size_t S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5566 __attribute__warn_unused_result__;
5567 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \
5568 assert(sv); assert(tbl)
5571 #if defined(PERL_IN_DUMP_C)
5572 STATIC CV* S_deb_curcv(pTHX_ I32 ix);
5573 #define PERL_ARGS_ASSERT_DEB_CURCV
5574 STATIC void S_debprof(pTHX_ const OP *o);
5575 #define PERL_ARGS_ASSERT_DEBPROF \
5577 STATIC SV* S_pm_description(pTHX_ const PMOP *pm);
5578 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5580 STATIC UV S_sequence_num(pTHX_ const OP *o);
5581 #define PERL_ARGS_ASSERT_SEQUENCE_NUM
5583 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
5584 PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv)
5585 __attribute__visibility__("hidden");
5586 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \
5590 #if defined(PERL_IN_GV_C)
5591 STATIC bool S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type);
5592 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \
5593 assert(stash); assert(name)
5594 #ifndef PERL_NO_INLINE_FUNCTIONS
5595 PERL_STATIC_INLINE GV* S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
5596 #define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
5598 STATIC void S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
5599 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
5601 STATIC bool S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
5602 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \
5604 STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
5605 #define PERL_ARGS_ASSERT_GV_MAGICALIZE \
5606 assert(gv); assert(stash); assert(name)
5607 STATIC void S_gv_magicalize_isa(pTHX_ GV *gv);
5608 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
5610 #ifndef PERL_NO_INLINE_FUNCTIONS
5611 PERL_STATIC_INLINE HV* S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
5612 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \
5615 STATIC void S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
5616 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV \
5617 assert(gv); assert(name)
5618 STATIC bool S_parse_gv_stash_name(pTHX_ HV **stash, GV **gv, const char **name, STRLEN *len, const char *nambeg, STRLEN full_len, const U32 is_utf8, const I32 add);
5619 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME \
5620 assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5621 STATIC void S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
5622 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \
5623 assert(gv); assert(varname); assert(name)
5625 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5626 PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5627 __attribute__visibility__("hidden");
5628 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5629 assert(tsv); assert(sv)
5632 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
5633 PERL_CALLCONV HV* Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags)
5634 __attribute__visibility__("hidden");
5637 #if defined(PERL_IN_HV_C)
5638 STATIC void S_clear_placeholders(pTHX_ HV *hv, U32 items);
5639 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \
5641 STATIC void S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
5642 #define PERL_ARGS_ASSERT_HSPLIT \
5644 STATIC struct xpvhv_aux* S_hv_auxinit(pTHX_ HV *hv);
5645 #define PERL_ARGS_ASSERT_HV_AUXINIT \
5647 STATIC SV* S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5648 #define PERL_ARGS_ASSERT_HV_DELETE_COMMON
5649 STATIC SV* S_hv_free_ent_ret(pTHX_ HE *entry);
5650 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET \
5652 STATIC void S_hv_free_entries(pTHX_ HV *hv);
5653 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES \
5655 STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
5656 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5657 assert(hv); assert(needs_copy); assert(needs_store)
5658 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5659 __attribute__noreturn__;
5660 #define PERL_ARGS_ASSERT_HV_NOTALLOWED \
5661 assert(key); assert(msg)
5663 STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
5664 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \
5666 STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5667 __attribute__malloc__
5668 __attribute__warn_unused_result__;
5669 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5672 STATIC HEK* S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
5673 __attribute__warn_unused_result__;
5674 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \
5677 STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5678 #define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
5680 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5681 PERL_CALLCONV void Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5682 __attribute__visibility__("hidden");
5683 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \
5687 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5688 PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
5689 __attribute__visibility__("hidden");
5690 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \
5691 assert(hv); assert(indexp)
5694 #if defined(PERL_IN_LOCALE_C)
5695 STATIC const char * S_get_displayable_string(pTHX_ const char * const s, const char * const e, const bool is_utf8);
5696 #define PERL_ARGS_ASSERT_GET_DISPLAYABLE_STRING \
5697 assert(s); assert(e)
5698 # if defined(USE_LOCALE)
5699 STATIC unsigned int S_get_category_index(const int category, const char * locale);
5700 #define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
5701 STATIC utf8ness_t S_get_locale_string_utf8ness_i(pTHX_ const char * locale, const unsigned cat_index, const char * string, const locale_utf8ness_t known_utf8);
5702 #define PERL_ARGS_ASSERT_GET_LOCALE_STRING_UTF8NESS_I
5703 STATIC bool S_is_locale_utf8(pTHX_ const char * locale);
5704 #define PERL_ARGS_ASSERT_IS_LOCALE_UTF8 \
5706 #ifndef PERL_NO_INLINE_FUNCTIONS
5707 PERL_STATIC_INLINE const char * S_mortalized_pv_copy(pTHX_ const char * const pv)
5708 __attribute__warn_unused_result__;
5709 #define PERL_ARGS_ASSERT_MORTALIZED_PV_COPY
5712 STATIC void S_new_LC_ALL(pTHX_ const char* unused);
5713 #define PERL_ARGS_ASSERT_NEW_LC_ALL
5714 STATIC void S_restore_toggled_locale_i(pTHX_ const unsigned cat_index, const char * original_locale, const line_t caller_line);
5715 #define PERL_ARGS_ASSERT_RESTORE_TOGGLED_LOCALE_I
5716 STATIC const char * S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size);
5717 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER
5718 PERL_STATIC_NO_RET void S_setlocale_failure_panic_i(pTHX_ const unsigned int cat_index, const char * current, const char * failed, const line_t caller_0_line, const line_t caller_1_line)
5719 __attribute__noreturn__;
5720 #define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_I \
5723 STATIC const char* S_stdize_locale(pTHX_ const int category, const char* input_locale, const char **buf, Size_t *buf_size, line_t caller_line);
5724 #define PERL_ARGS_ASSERT_STDIZE_LOCALE
5725 STATIC const char * S_toggle_locale_i(pTHX_ const unsigned switch_cat_index, const char * new_locale, const line_t caller_line);
5726 #define PERL_ARGS_ASSERT_TOGGLE_LOCALE_I \
5728 # if defined(USE_LOCALE_COLLATE)
5729 STATIC void S_new_collate(pTHX_ const char* newcoll);
5730 #define PERL_ARGS_ASSERT_NEW_COLLATE \
5733 # if defined(USE_LOCALE_CTYPE)
5734 STATIC bool S_is_codeset_name_UTF8(const char * name);
5735 #define PERL_ARGS_ASSERT_IS_CODESET_NAME_UTF8 \
5737 STATIC void S_new_ctype(pTHX_ const char* newctype);
5738 #define PERL_ARGS_ASSERT_NEW_CTYPE \
5741 # if defined(USE_LOCALE_NUMERIC)
5742 STATIC void S_new_numeric(pTHX_ const char* newnum);
5743 #define PERL_ARGS_ASSERT_NEW_NUMERIC \
5746 # if defined(USE_POSIX_2008_LOCALE)
5747 STATIC const char* S_emulate_setlocale_i(pTHX_ const unsigned int index, const char* new_locale, const recalc_lc_all_t recalc_LC_ALL, const line_t line);
5748 #define PERL_ARGS_ASSERT_EMULATE_SETLOCALE_I
5749 STATIC const char* S_my_querylocale_i(pTHX_ const unsigned int index);
5750 #define PERL_ARGS_ASSERT_MY_QUERYLOCALE_I
5751 STATIC const char * S_setlocale_from_aggregate_LC_ALL(pTHX_ const char * locale, const line_t line);
5752 #define PERL_ARGS_ASSERT_SETLOCALE_FROM_AGGREGATE_LC_ALL \
5754 STATIC locale_t S_use_curlocale_scratch(pTHX);
5755 #define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
5757 # if defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE)
5758 STATIC const char * S_calculate_LC_ALL(pTHX_ const locale_t cur_obj);
5759 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL
5762 STATIC wchar_t * S_Win_byte_string_to_wstring(const UINT code_page, const char * byte_string);
5763 #define PERL_ARGS_ASSERT_WIN_BYTE_STRING_TO_WSTRING
5764 STATIC char * S_Win_wstring_to_byte_string(const UINT code_page, const wchar_t * wstring);
5765 #define PERL_ARGS_ASSERT_WIN_WSTRING_TO_BYTE_STRING
5766 STATIC const char* S_win32_setlocale(pTHX_ int category, const char* locale);
5767 #define PERL_ARGS_ASSERT_WIN32_SETLOCALE
5768 STATIC const char * S_wrap_wsetlocale(pTHX_ const int category, const char *locale);
5769 #define PERL_ARGS_ASSERT_WRAP_WSETLOCALE
5771 # if defined(WIN32) || ( defined(USE_POSIX_2008_LOCALE) && ! defined(USE_QUERYLOCALE))
5772 STATIC const char * S_find_locale_from_environment(pTHX_ const unsigned int index);
5773 #define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
5777 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
5778 # if defined(USE_LOCALE_COLLATE)
5779 PERL_CALLCONV char* Perl_mem_collxfrm_(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8)
5780 __attribute__visibility__("hidden");
5781 #define PERL_ARGS_ASSERT_MEM_COLLXFRM_ \
5782 assert(input_string); assert(xlen)
5786 #if defined(PERL_IN_MALLOC_C)
5787 STATIC int S_adjust_size_and_find_bucket(size_t *nbytes_p);
5788 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \
5791 #if defined(PERL_IN_MG_C)
5792 STATIC void S_fixup_errno_string(pTHX_ SV* sv);
5793 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING \
5795 STATIC SV* S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
5796 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \
5797 assert(sv); assert(mg); assert(meth)
5798 STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
5799 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
5800 assert(sv); assert(mg); assert(meth)
5801 STATIC void S_restore_magic(pTHX_ const void *p);
5802 #define PERL_ARGS_ASSERT_RESTORE_MAGIC
5803 STATIC void S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
5804 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS \
5806 STATIC void S_unwind_handler_stack(pTHX_ const void *p);
5807 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
5809 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
5810 PERL_CALLCONV bool Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp)
5811 __attribute__visibility__("hidden");
5812 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \
5813 assert(posp); assert(lenp)
5816 #if defined(PERL_IN_MRO_C)
5817 STATIC void S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
5818 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV \
5819 assert(isa); assert(name)
5820 STATIC void S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
5821 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \
5822 assert(stashes); assert(seen_stashes); assert(namesv)
5823 STATIC AV* S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
5824 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
5827 #if defined(PERL_IN_NUMERIC_C)
5828 STATIC void S_output_non_portable(pTHX_ const U8 shift);
5829 #define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
5831 #if defined(PERL_IN_OP_C)
5832 STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
5833 #define PERL_ARGS_ASSERT_APPLY_ATTRS \
5834 assert(stash); assert(target)
5835 STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
5836 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
5837 assert(stash); assert(target); assert(imopsp)
5838 STATIC I32 S_assignment_type(pTHX_ const OP *o)
5839 __attribute__warn_unused_result__;
5840 #define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
5842 STATIC void S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
5843 #define PERL_ARGS_ASSERT_BAD_TYPE_GV \
5844 assert(gv); assert(kid); assert(t)
5845 STATIC void S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
5846 #define PERL_ARGS_ASSERT_BAD_TYPE_PV \
5847 assert(t); assert(o); assert(kid)
5848 STATIC void S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
5849 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS \
5850 assert(fullname); assert(gv); assert(cv)
5851 STATIC void S_cop_free(pTHX_ COP *cop);
5852 #define PERL_ARGS_ASSERT_COP_FREE \
5854 STATIC OP * S_dup_attrlist(pTHX_ OP *o);
5855 #define PERL_ARGS_ASSERT_DUP_ATTRLIST \
5857 STATIC void S_find_and_forget_pmops(pTHX_ OP *o);
5858 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
5860 STATIC OP* S_fold_constants(pTHX_ OP * const o);
5861 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
5863 STATIC OP* S_force_list(pTHX_ OP* arg, bool nullit);
5864 #define PERL_ARGS_ASSERT_FORCE_LIST
5865 STATIC void S_forget_pmop(pTHX_ PMOP *const o);
5866 #define PERL_ARGS_ASSERT_FORGET_PMOP \
5868 STATIC void S_gen_constant_list(pTHX_ OP* o);
5869 #define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
5870 STATIC void S_inplace_aassign(pTHX_ OP* o);
5871 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN \
5873 STATIC bool S_is_handle_constructor(const OP *o, I32 numargs)
5874 __attribute__warn_unused_result__;
5875 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
5878 STATIC OP* S_listkids(pTHX_ OP* o);
5879 #define PERL_ARGS_ASSERT_LISTKIDS
5880 STATIC bool S_looks_like_bool(pTHX_ const OP* o);
5881 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \
5883 STATIC OP* S_modkids(pTHX_ OP *o, I32 type);
5884 #define PERL_ARGS_ASSERT_MODKIDS
5885 STATIC void S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
5886 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR \
5887 assert(proto); assert(attrs); assert(name)
5888 STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
5889 #define PERL_ARGS_ASSERT_MY_KID \
5891 STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
5892 #define PERL_ARGS_ASSERT_NEWGIVWHENOP \
5894 #ifndef PERL_NO_INLINE_FUNCTIONS
5895 PERL_STATIC_INLINE OP* S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
5896 #define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
5898 STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
5899 __attribute__warn_unused_result__;
5900 #define PERL_ARGS_ASSERT_NEW_LOGOP \
5901 assert(firstp); assert(otherp)
5903 STATIC OP* S_no_fh_allowed(pTHX_ OP *o)
5904 __attribute__warn_unused_result__;
5905 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED \
5908 #ifndef PERL_NO_INLINE_FUNCTIONS
5909 PERL_STATIC_INLINE OP* S_op_integerize(pTHX_ OP *o);
5910 #define PERL_ARGS_ASSERT_OP_INTEGERIZE \
5913 #ifndef PERL_NO_INLINE_FUNCTIONS
5914 PERL_STATIC_INLINE OP* S_op_std_init(pTHX_ OP *o);
5915 #define PERL_ARGS_ASSERT_OP_STD_INIT \
5918 STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
5919 #define PERL_ARGS_ASSERT_PMTRANS \
5920 assert(o); assert(expr); assert(repl)
5921 STATIC bool S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
5922 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
5923 assert(fullname); assert(gv); assert(cv)
5924 STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond);
5925 #define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
5926 STATIC OP* S_refkids(pTHX_ OP* o, I32 type);
5927 #define PERL_ARGS_ASSERT_REFKIDS
5928 STATIC bool S_scalar_mod_type(const OP *o, I32 type)
5929 __attribute__warn_unused_result__;
5930 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
5932 STATIC OP* S_scalarboolean(pTHX_ OP *o);
5933 #define PERL_ARGS_ASSERT_SCALARBOOLEAN \
5935 STATIC OP* S_scalarkids(pTHX_ OP* o);
5936 #define PERL_ARGS_ASSERT_SCALARKIDS
5937 STATIC OP* S_search_const(pTHX_ OP *o)
5938 __attribute__warn_unused_result__;
5939 #define PERL_ARGS_ASSERT_SEARCH_CONST \
5942 STATIC void S_simplify_sort(pTHX_ OP *o);
5943 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT \
5945 STATIC OP* S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
5946 __attribute__warn_unused_result__;
5947 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV \
5948 assert(o); assert(name)
5950 STATIC OP* S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
5951 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
5952 assert(o); assert(name)
5953 STATIC OP* S_voidnonfinal(pTHX_ OP* o);
5954 #define PERL_ARGS_ASSERT_VOIDNONFINAL
5956 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
5957 PERL_CALLCONV void Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
5958 __attribute__visibility__("hidden");
5959 #define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
5961 PERL_CALLCONV void Perl_no_bareword_allowed(pTHX_ OP *o)
5962 __attribute__visibility__("hidden");
5963 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \
5966 PERL_CALLCONV void Perl_op_prune_chain_head(OP **op_p)
5967 __attribute__visibility__("hidden");
5968 #define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD \
5971 PERL_CALLCONV SV * Perl_op_varname(pTHX_ const OP *o)
5972 __attribute__visibility__("hidden");
5973 #define PERL_ARGS_ASSERT_OP_VARNAME \
5976 PERL_CALLCONV void Perl_optimize_optree(pTHX_ OP* o)
5977 __attribute__visibility__("hidden");
5978 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE \
5981 PERL_CALLCONV void Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
5982 __attribute__visibility__("hidden");
5983 #define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT \
5984 assert(o); assert(name)
5986 # if defined(USE_ITHREADS)
5987 PERL_CALLCONV void Perl_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp)
5988 __attribute__visibility__("hidden");
5989 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
5990 assert(svp); assert(targp)
5994 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
5995 PERL_CALLCONV void Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
5996 __attribute__visibility__("hidden");
5997 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV \
5998 assert(name); assert(old_cv)
6001 #if defined(PERL_IN_PAD_C)
6002 STATIC PADOFFSET S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
6003 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
6005 STATIC void S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
6006 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP \
6008 STATIC PADOFFSET S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, PADNAME** out_name, int *out_flags);
6009 #define PERL_ARGS_ASSERT_PAD_FINDLEX \
6010 assert(namepv); assert(cv); assert(out_name); assert(out_flags)
6011 STATIC void S_pad_reset(pTHX);
6012 #define PERL_ARGS_ASSERT_PAD_RESET
6014 #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
6015 #ifndef PERL_NO_INLINE_FUNCTIONS
6016 PERL_STATIC_INLINE bool S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
6017 #define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE \
6021 #if defined(PERL_IN_PEEP_C)
6022 STATIC void S_finalize_op(pTHX_ OP* o);
6023 #define PERL_ARGS_ASSERT_FINALIZE_OP \
6025 STATIC void S_optimize_op(pTHX_ OP* o);
6026 #define PERL_ARGS_ASSERT_OPTIMIZE_OP \
6028 STATIC OP* S_traverse_op_tree(pTHX_ OP* top, OP* o);
6029 #define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE \
6030 assert(top); assert(o)
6032 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
6034 PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type)
6035 __attribute__visibility__("hidden");
6036 #define PERL_ARGS_ASSERT_REF
6040 #if defined(PERL_IN_PERL_C)
6041 STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
6042 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
6043 assert(linestr_sv); assert(rsfp)
6044 STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript);
6045 #define PERL_ARGS_ASSERT_FORBID_SETID
6046 STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
6047 #define PERL_ARGS_ASSERT_INCPUSH \
6049 STATIC void S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
6050 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \
6052 STATIC void S_init_ids(pTHX);
6053 #define PERL_ARGS_ASSERT_INIT_IDS
6054 STATIC void S_init_interp(pTHX);
6055 #define PERL_ARGS_ASSERT_INIT_INTERP
6056 STATIC void S_init_main_stash(pTHX);
6057 #define PERL_ARGS_ASSERT_INIT_MAIN_STASH
6058 STATIC void S_init_perllib(pTHX);
6059 #define PERL_ARGS_ASSERT_INIT_PERLLIB
6060 STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
6061 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
6063 STATIC void S_init_predump_symbols(pTHX);
6064 #define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
6065 STATIC SV* S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
6066 #define PERL_ARGS_ASSERT_MAYBERELOCATE \
6068 PERL_STATIC_NO_RET void S_minus_v(pTHX)
6069 __attribute__noreturn__;
6070 #define PERL_ARGS_ASSERT_MINUS_V
6072 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
6073 __attribute__noreturn__;
6074 #define PERL_ARGS_ASSERT_MY_EXIT_JUMP
6076 STATIC void S_nuke_stacks(pTHX);
6077 #define PERL_ARGS_ASSERT_NUKE_STACKS
6078 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
6079 #define PERL_ARGS_ASSERT_OPEN_SCRIPT \
6080 assert(scriptname); assert(suidscript)
6081 STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
6082 #define PERL_ARGS_ASSERT_PARSE_BODY
6083 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
6084 __attribute__noreturn__;
6085 #define PERL_ARGS_ASSERT_RUN_BODY
6087 PERL_STATIC_NO_RET void S_usage(pTHX)
6088 __attribute__noreturn__;
6089 #define PERL_ARGS_ASSERT_USAGE
6092 #if defined(PERL_IN_PP_C)
6093 STATIC size_t S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
6094 #define PERL_ARGS_ASSERT_DO_CHOMP \
6095 assert(retval); assert(sv)
6096 STATIC OP* S_do_delete_local(pTHX);
6097 #define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
6098 STATIC SV* S_refto(pTHX_ SV* sv)
6099 __attribute__warn_unused_result__;
6100 #define PERL_ARGS_ASSERT_REFTO \
6104 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
6105 #ifndef PERL_NO_INLINE_FUNCTIONS
6106 PERL_STATIC_INLINE bool S_lossless_NV_to_IV(const NV nv, IV * ivp)
6107 __attribute__warn_unused_result__;
6108 #define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV \
6112 PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
6113 __attribute__warn_unused_result__;
6114 #define PERL_ARGS_ASSERT_SOFTREF2XV \
6115 assert(sv); assert(what); assert(spp)
6118 #if defined(PERL_IN_PP_CTL_C)
6119 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
6120 __attribute__warn_unused_result__;
6121 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \
6124 STATIC void S_destroy_matcher(pTHX_ PMOP* matcher);
6125 #define PERL_ARGS_ASSERT_DESTROY_MATCHER \
6127 STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
6128 #define PERL_ARGS_ASSERT_DO_SMARTMATCH
6129 STATIC OP* S_docatch(pTHX_ Perl_ppaddr_t firstpp)
6130 __attribute__warn_unused_result__;
6131 #define PERL_ARGS_ASSERT_DOCATCH
6133 STATIC bool S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
6134 #define PERL_ARGS_ASSERT_DOEVAL_COMPILE
6135 STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
6136 __attribute__warn_unused_result__;
6137 #define PERL_ARGS_ASSERT_DOFINDLABEL \
6138 assert(o); assert(label); assert(opstack); assert(oplimit)
6140 STATIC MAGIC * S_doparseform(pTHX_ SV *sv);
6141 #define PERL_ARGS_ASSERT_DOPARSEFORM \
6143 STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock)
6144 __attribute__warn_unused_result__;
6145 #define PERL_ARGS_ASSERT_DOPOPTOEVAL
6147 STATIC I32 S_dopoptogivenfor(pTHX_ I32 startingblock)
6148 __attribute__warn_unused_result__;
6149 #define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
6151 STATIC I32 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
6152 __attribute__warn_unused_result__;
6153 #define PERL_ARGS_ASSERT_DOPOPTOLABEL \
6156 STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock)
6157 __attribute__warn_unused_result__;
6158 #define PERL_ARGS_ASSERT_DOPOPTOLOOP
6160 STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
6161 __attribute__warn_unused_result__;
6162 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \
6165 STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock)
6166 __attribute__warn_unused_result__;
6167 #define PERL_ARGS_ASSERT_DOPOPTOWHEN
6169 STATIC PMOP* S_make_matcher(pTHX_ REGEXP* re)
6170 __attribute__warn_unused_result__;
6171 #define PERL_ARGS_ASSERT_MAKE_MATCHER \
6174 STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
6175 __attribute__warn_unused_result__;
6176 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \
6177 assert(matcher); assert(sv)
6179 STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize)
6180 __attribute__warn_unused_result__;
6181 #define PERL_ARGS_ASSERT_NUM_OVERFLOW
6183 #ifndef PERL_NO_INLINE_FUNCTIONS
6184 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
6185 __attribute__warn_unused_result__;
6186 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE \
6190 STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
6191 __attribute__warn_unused_result__;
6192 #define PERL_ARGS_ASSERT_RUN_USER_FILTER \
6195 STATIC void S_rxres_free(pTHX_ void** rsp);
6196 #define PERL_ARGS_ASSERT_RXRES_FREE \
6198 STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
6199 #define PERL_ARGS_ASSERT_RXRES_RESTORE \
6200 assert(rsp); assert(rx)
6201 STATIC void S_save_lines(pTHX_ AV *array, SV *sv);
6202 #define PERL_ARGS_ASSERT_SAVE_LINES \
6205 #if defined(PERL_IN_PP_HOT_C)
6206 STATIC void S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
6207 #define PERL_ARGS_ASSERT_DO_ODDBALL \
6208 assert(oddkey); assert(firstkey)
6209 #ifndef PERL_NO_INLINE_FUNCTIONS
6210 PERL_STATIC_INLINE HV* S_opmethod_stash(pTHX_ SV* meth);
6211 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
6214 #ifndef PERL_NO_INLINE_FUNCTIONS
6215 PERL_STATIC_FORCE_INLINE bool S_should_we_output_Debug_r(pTHX_ regexp * prog)
6216 __attribute__warn_unused_result__
6217 __attribute__always_inline__;
6218 #define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R \
6223 #if defined(PERL_IN_PP_PACK_C)
6224 STATIC int S_div128(pTHX_ SV *pnum, bool *done);
6225 #define PERL_ARGS_ASSERT_DIV128 \
6226 assert(pnum); assert(done)
6227 STATIC char S_first_symbol(const char *pat, const char *patend);
6228 #define PERL_ARGS_ASSERT_FIRST_SYMBOL \
6229 assert(pat); assert(patend)
6230 STATIC const char * S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
6231 __attribute__warn_unused_result__;
6232 #define PERL_ARGS_ASSERT_GET_NUM \
6233 assert(patptr); assert(lenptr)
6235 STATIC const char * S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
6236 #define PERL_ARGS_ASSERT_GROUP_END \
6237 assert(patptr); assert(patend)
6238 STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l)
6239 __attribute__warn_unused_result__;
6240 #define PERL_ARGS_ASSERT_IS_AN_INT \
6243 STATIC SSize_t S_measure_struct(pTHX_ struct tempsym* symptr);
6244 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
6246 STATIC SV* S_mul128(pTHX_ SV *sv, U8 m);
6247 #define PERL_ARGS_ASSERT_MUL128 \
6249 STATIC char * S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
6250 __attribute__warn_unused_result__;
6251 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8 \
6252 assert(start); assert(dest)
6254 STATIC bool S_need_utf8(const char *pat, const char *patend);
6255 #define PERL_ARGS_ASSERT_NEED_UTF8 \
6256 assert(pat); assert(patend)
6257 STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr);
6258 #define PERL_ARGS_ASSERT_NEXT_SYMBOL \
6260 STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
6261 #define PERL_ARGS_ASSERT_PACK_REC \
6262 assert(cat); assert(symptr); assert(beglist); assert(endlist)
6263 STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
6264 __attribute__warn_unused_result__;
6265 #define PERL_ARGS_ASSERT_SV_EXP_GROW \
6268 STATIC SSize_t S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
6269 #define PERL_ARGS_ASSERT_UNPACK_REC \
6270 assert(symptr); assert(s); assert(strbeg); assert(strend)
6272 #if defined(PERL_IN_PP_SORT_C)
6273 #ifndef PERL_NO_INLINE_FUNCTIONS
6274 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
6275 __attribute__always_inline__;
6276 #define PERL_ARGS_ASSERT_AMAGIC_CMP \
6277 assert(str1); assert(str2)
6280 #ifndef PERL_NO_INLINE_FUNCTIONS
6281 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6282 __attribute__always_inline__;
6283 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC \
6284 assert(str1); assert(str2)
6287 #ifndef PERL_NO_INLINE_FUNCTIONS
6288 PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
6289 __attribute__always_inline__;
6290 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
6291 assert(a); assert(b)
6294 #ifndef PERL_NO_INLINE_FUNCTIONS
6295 PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6296 __attribute__always_inline__;
6297 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC \
6298 assert(a); assert(b)
6301 #ifndef PERL_NO_INLINE_FUNCTIONS
6302 PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
6303 __attribute__always_inline__;
6304 #define PERL_ARGS_ASSERT_AMAGIC_NCMP \
6305 assert(a); assert(b)
6308 #ifndef PERL_NO_INLINE_FUNCTIONS
6309 PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
6310 __attribute__always_inline__;
6311 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC \
6312 assert(a); assert(b)
6315 #ifndef PERL_NO_INLINE_FUNCTIONS
6316 PERL_STATIC_FORCE_INLINE I32 S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6317 __attribute__always_inline__;
6318 #define PERL_ARGS_ASSERT_CMP_DESC \
6319 assert(str1); assert(str2)
6322 STATIC I32 S_sortcv(pTHX_ SV *const a, SV *const b);
6323 #define PERL_ARGS_ASSERT_SORTCV \
6324 assert(a); assert(b)
6325 STATIC I32 S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
6326 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
6327 assert(a); assert(b)
6328 STATIC I32 S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
6329 #define PERL_ARGS_ASSERT_SORTCV_XSUB \
6330 assert(a); assert(b)
6331 #ifndef PERL_NO_INLINE_FUNCTIONS
6332 PERL_STATIC_FORCE_INLINE void S_sortsv_flags_impl(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
6333 __attribute__always_inline__;
6334 #define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL \
6338 #ifndef PERL_NO_INLINE_FUNCTIONS
6339 PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
6340 __attribute__always_inline__;
6341 #define PERL_ARGS_ASSERT_SV_I_NCMP \
6342 assert(a); assert(b)
6345 #ifndef PERL_NO_INLINE_FUNCTIONS
6346 PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6347 __attribute__always_inline__;
6348 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
6349 assert(a); assert(b)
6352 #ifndef PERL_NO_INLINE_FUNCTIONS
6353 PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b)
6354 __attribute__always_inline__;
6355 #define PERL_ARGS_ASSERT_SV_NCMP \
6356 assert(a); assert(b)
6359 #ifndef PERL_NO_INLINE_FUNCTIONS
6360 PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
6361 __attribute__always_inline__;
6362 #define PERL_ARGS_ASSERT_SV_NCMP_DESC \
6363 assert(a); assert(b)
6366 # if defined(USE_LOCALE_COLLATE)
6367 #ifndef PERL_NO_INLINE_FUNCTIONS
6368 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
6369 __attribute__always_inline__;
6370 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
6371 assert(str1); assert(str2)
6374 #ifndef PERL_NO_INLINE_FUNCTIONS
6375 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6376 __attribute__always_inline__;
6377 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
6378 assert(str1); assert(str2)
6381 #ifndef PERL_NO_INLINE_FUNCTIONS
6382 PERL_STATIC_FORCE_INLINE I32 S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6383 __attribute__always_inline__;
6384 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC \
6385 assert(str1); assert(str2)
6390 #if defined(PERL_IN_PP_SYS_C)
6391 STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
6392 #define PERL_ARGS_ASSERT_DOFORM \
6393 assert(cv); assert(gv)
6394 STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array);
6395 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
6397 #if defined(PERL_IN_REGCOMP_C)
6398 STATIC void S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
6399 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
6400 assert(pRExC_state); assert(invlist)
6401 STATIC U32 S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
6402 __attribute__warn_unused_result__;
6403 #define PERL_ARGS_ASSERT_ADD_DATA \
6404 assert(pRExC_state); assert(s)
6406 STATIC AV* S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
6407 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH \
6408 assert(multi_string)
6409 STATIC void S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
6410 #define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE \
6412 STATIC REGEXP* S_compile_wildcard(pTHX_ const char * subpattern, const STRLEN len, const bool ignore_case)
6413 __attribute__warn_unused_result__;
6414 #define PERL_ARGS_ASSERT_COMPILE_WILDCARD \
6417 STATIC U8 S_compute_EXACTish(RExC_state_t *pRExC_state);
6418 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \
6420 STATIC regnode * S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
6421 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \
6422 assert(pRExC_state); assert(source)
6423 STATIC int S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
6424 __attribute__warn_unused_result__;
6425 #define PERL_ARGS_ASSERT_EDIT_DISTANCE \
6426 assert(src); assert(tgt)
6428 STATIC I32 S_execute_wildcard(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
6429 #define PERL_ARGS_ASSERT_EXECUTE_WILDCARD \
6430 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
6431 #ifndef PERL_NO_INLINE_FUNCTIONS
6432 PERL_STATIC_INLINE Size_t S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max);
6433 #define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS \
6434 assert(s1); assert(s2)
6436 STATIC SV * S_get_ANYOFHbbm_contents(pTHX_ const regnode * n)
6437 __attribute__warn_unused_result__;
6438 #define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
6441 STATIC SV * S_get_ANYOFM_contents(pTHX_ const regnode * n)
6442 __attribute__warn_unused_result__;
6443 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS \
6446 STATIC SV* S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
6447 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \
6448 assert(pRExC_state); assert(node)
6449 STATIC U32 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char * start, const char * end);
6450 #define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE \
6451 assert(pRExC_state); assert(start); assert(end)
6452 STATIC bool S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode_offset* nodep, UV *code_point_p, int* cp_count, I32 *flagp, const bool strict, const U32 depth);
6453 #define PERL_ARGS_ASSERT_GROK_BSLASH_N \
6454 assert(pRExC_state); assert(flagp)
6455 STATIC regnode_offset S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * backref_parse_start, char ch);
6456 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
6457 assert(pRExC_state); assert(flagp); assert(backref_parse_start)
6458 STATIC bool S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
6459 #define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
6460 assert(wname); assert(prop_definition); assert(strings)
6461 STATIC int S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* const s, char ** updated_parse_ptr, AV** posix_warnings, const bool check_only);
6462 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
6463 assert(pRExC_state); assert(s)
6464 STATIC regnode_offset S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth);
6465 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \
6466 assert(pRExC_state); assert(flagp)
6467 STATIC SV * S_handle_user_defined_property(pTHX_ const char * name, const STRLEN name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, SV* contents, bool *user_defined_ptr, SV * msg, const STRLEN level);
6468 #define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY \
6469 assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
6470 #ifndef PERL_NO_INLINE_FUNCTIONS
6471 PERL_STATIC_INLINE SV* S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
6472 __attribute__warn_unused_result__;
6473 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS \
6477 #ifndef PERL_NO_INLINE_FUNCTIONS
6478 PERL_STATIC_INLINE UV S_invlist_highest_range_start(SV* const invlist)
6479 __attribute__warn_unused_result__;
6480 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START \
6484 #ifndef PERL_NO_INLINE_FUNCTIONS
6485 PERL_STATIC_INLINE bool S_invlist_is_iterating(const SV* const invlist)
6486 __attribute__warn_unused_result__;
6487 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \
6491 #ifndef PERL_NO_INLINE_FUNCTIONS
6492 PERL_STATIC_INLINE UV S_invlist_lowest(SV* const invlist)
6493 __attribute__warn_unused_result__;
6494 #define PERL_ARGS_ASSERT_INVLIST_LOWEST \
6498 STATIC bool S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
6499 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT \
6500 assert(pRExC_state); assert(ssc)
6501 STATIC U32 S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth);
6502 #define PERL_ARGS_ASSERT_JOIN_EXACT \
6503 assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
6504 STATIC SV* S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
6505 __attribute__warn_unused_result__;
6506 #define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST \
6507 assert(pRExC_state); assert(node)
6509 STATIC I32 S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth);
6510 #define PERL_ARGS_ASSERT_MAKE_TRIE \
6511 assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
6512 STATIC void S_nextchar(pTHX_ RExC_state_t *pRExC_state);
6513 #define PERL_ARGS_ASSERT_NEXTCHAR \
6515 STATIC U8 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);
6516 #define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS \
6517 assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); assert(flagp)
6518 STATIC void S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings);
6519 #define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS \
6520 assert(pRExC_state); assert(posix_warnings)
6521 STATIC void S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
6522 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \
6524 STATIC SV * S_parse_uniprop_string(pTHX_ const char * const name, Size_t name_len, const bool is_utf8, const bool to_fold, const bool runtime, const bool deferrable, AV ** strings, bool * user_defined_ptr, SV * msg, const STRLEN level);
6525 #define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING \
6526 assert(name); assert(user_defined_ptr); assert(msg)
6527 STATIC void S_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
6528 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST \
6529 assert(node); assert(invlist_ptr)
6530 STATIC void S_populate_bitmap_from_invlist(pTHX_ SV * invlist, const UV offset, const U8 * bitmap, const Size_t len);
6531 #define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST \
6532 assert(invlist); assert(bitmap)
6533 STATIC void S_populate_invlist_from_bitmap(pTHX_ const U8 * bitmap, const Size_t bitmap_len, SV ** invlist, const UV offset);
6534 #define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP \
6535 assert(bitmap); assert(invlist)
6536 STATIC void S_rck_elide_nothing(pTHX_ regnode *node);
6537 #define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
6539 PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
6540 __attribute__noreturn__
6541 __attribute__format__(__printf__,pTHX_2,pTHX_3);
6542 #define PERL_ARGS_ASSERT_RE_CROAK \
6545 STATIC regnode_offset S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
6546 #define PERL_ARGS_ASSERT_REG \
6547 assert(pRExC_state); assert(flagp)
6548 STATIC regnode_offset S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
6549 #define PERL_ARGS_ASSERT_REG2LANODE \
6551 STATIC regnode_offset S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6552 #define PERL_ARGS_ASSERT_REG_LA_NOTHING \
6553 assert(pRExC_state); assert(type)
6554 STATIC regnode_offset S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6555 #define PERL_ARGS_ASSERT_REG_LA_OPFAIL \
6556 assert(pRExC_state); assert(type)
6557 STATIC regnode_offset S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
6558 #define PERL_ARGS_ASSERT_REG_NODE \
6560 STATIC SV * S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
6561 #define PERL_ARGS_ASSERT_REG_SCAN_NAME \
6563 #ifndef PERL_NO_INLINE_FUNCTIONS
6564 PERL_STATIC_INLINE char * S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
6565 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \
6566 assert(pRExC_state); assert(p)
6568 STATIC regnode_offset S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
6569 #define PERL_ARGS_ASSERT_REGANODE \
6571 STATIC regnode_offset S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6572 #define PERL_ARGS_ASSERT_REGATOM \
6573 assert(pRExC_state); assert(flagp)
6574 STATIC regnode_offset S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
6575 #define PERL_ARGS_ASSERT_REGBRANCH \
6576 assert(pRExC_state); assert(flagp)
6577 STATIC regnode_offset S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1, bool allow_multi_fold, const bool silence_non_portable, const bool strict, bool optimizable, SV** ret_invlist);
6578 #define PERL_ARGS_ASSERT_REGCLASS \
6579 assert(pRExC_state); assert(flagp)
6580 STATIC unsigned int S_regex_set_precedence(const U8 my_operator)
6581 __attribute__warn_unused_result__;
6582 #define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
6584 STATIC void S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
6585 #define PERL_ARGS_ASSERT_REGINSERT \
6587 STATIC regnode_offset S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
6588 #define PERL_ARGS_ASSERT_REGNODE_GUTS \
6590 STATIC regnode_offset S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6591 #define PERL_ARGS_ASSERT_REGPIECE \
6592 assert(pRExC_state); assert(flagp)
6593 STATIC regnode_offset S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV * arg);
6594 #define PERL_ARGS_ASSERT_REGPNODE \
6595 assert(pRExC_state); assert(arg)
6596 STATIC bool S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
6597 __attribute__warn_unused_result__;
6598 #define PERL_ARGS_ASSERT_REGTAIL \
6599 assert(pRExC_state); assert(p); assert(val)
6601 STATIC void S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
6602 #define PERL_ARGS_ASSERT_SCAN_COMMIT \
6603 assert(pRExC_state); assert(data); assert(minlenp)
6604 STATIC void S_set_ANYOF_arg(pTHX_ RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const only_utf8_locale_list);
6605 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG \
6606 assert(pRExC_state); assert(node)
6607 STATIC void S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
6608 #define PERL_ARGS_ASSERT_SET_REGEX_PV \
6609 assert(pRExC_state); assert(Rx)
6610 STATIC void S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
6611 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT \
6612 assert(pRExC_state); assert(p)
6613 STATIC void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
6614 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE \
6616 STATIC void S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
6617 #define PERL_ARGS_ASSERT_SSC_AND \
6618 assert(pRExC_state); assert(ssc); assert(and_with)
6619 STATIC void S_ssc_anything(pTHX_ regnode_ssc *ssc);
6620 #define PERL_ARGS_ASSERT_SSC_ANYTHING \
6622 STATIC void S_ssc_clear_locale(regnode_ssc *ssc);
6623 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE \
6625 STATIC void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
6626 #define PERL_ARGS_ASSERT_SSC_CP_AND \
6628 STATIC void S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
6629 #define PERL_ARGS_ASSERT_SSC_FINALIZE \
6630 assert(pRExC_state); assert(ssc)
6631 STATIC void S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
6632 #define PERL_ARGS_ASSERT_SSC_INIT \
6633 assert(pRExC_state); assert(ssc)
6634 STATIC void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6635 #define PERL_ARGS_ASSERT_SSC_INTERSECTION \
6636 assert(ssc); assert(invlist)
6637 STATIC int S_ssc_is_anything(const regnode_ssc *ssc)
6638 __attribute__warn_unused_result__;
6639 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING \
6642 STATIC int S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
6643 __attribute__warn_unused_result__;
6644 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \
6645 assert(pRExC_state); assert(ssc)
6647 STATIC void S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
6648 #define PERL_ARGS_ASSERT_SSC_OR \
6649 assert(pRExC_state); assert(ssc); assert(or_with)
6650 STATIC void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6651 #define PERL_ARGS_ASSERT_SSC_UNION \
6652 assert(ssc); assert(invlist)
6653 STATIC SSize_t S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth, bool was_mutate_ok);
6654 #define PERL_ARGS_ASSERT_STUDY_CHUNK \
6655 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
6657 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
6658 PERL_CALLCONV void Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
6659 #define PERL_ARGS_ASSERT__INVLIST_DUMP \
6660 assert(file); assert(indent); assert(invlist)
6662 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
6663 #ifndef PERL_NO_INLINE_FUNCTIONS
6664 PERL_STATIC_INLINE SV* S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
6665 __attribute__warn_unused_result__;
6666 #define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
6669 #ifndef PERL_NO_INLINE_FUNCTIONS
6670 PERL_STATIC_INLINE void S_invlist_extend(pTHX_ SV* const invlist, const UV len);
6671 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
6674 #ifndef PERL_NO_INLINE_FUNCTIONS
6675 PERL_STATIC_INLINE UV S_invlist_highest(SV* const invlist)
6676 __attribute__warn_unused_result__;
6677 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST \
6681 #ifndef PERL_NO_INLINE_FUNCTIONS
6682 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
6683 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN \
6687 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
6688 PERL_CALLCONV SV* Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
6689 __attribute__warn_unused_result__;
6690 #define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6692 /* PERL_CALLCONV void _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
6693 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION
6694 PERL_CALLCONV void Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
6695 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \
6696 assert(b); assert(i)
6697 PERL_CALLCONV void Perl__invlist_invert(pTHX_ SV* const invlist);
6698 #define PERL_ARGS_ASSERT__INVLIST_INVERT \
6700 /* PERL_CALLCONV void _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
6701 #define PERL_ARGS_ASSERT__INVLIST_SUBTRACT
6702 /* PERL_CALLCONV void _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
6703 #define PERL_ARGS_ASSERT__INVLIST_UNION
6704 PERL_CALLCONV void Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
6705 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \
6706 assert(b); assert(output)
6707 PERL_CALLCONV SV* Perl__new_invlist(pTHX_ IV initial_size)
6708 __attribute__warn_unused_result__;
6709 #define PERL_ARGS_ASSERT__NEW_INVLIST
6711 PERL_CALLCONV SV* Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
6712 __attribute__warn_unused_result__;
6713 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \
6714 assert(other_elements_ptr)
6717 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
6718 PERL_CALLCONV const char * Perl_form_alien_digit_msg(pTHX_ const U8 which, const STRLEN valids_len, const char * const first_bad, const char * const send, const bool UTF, const bool braced)
6719 __attribute__warn_unused_result__;
6720 #define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG \
6721 assert(first_bad); assert(send)
6723 PERL_CALLCONV bool Perl_grok_bslash_c(pTHX_ const char source, U8 * result, const char** message, U32 * packed_warn)
6724 __attribute__warn_unused_result__;
6725 #define PERL_ARGS_ASSERT_GROK_BSLASH_C \
6726 assert(result); assert(message)
6728 PERL_CALLCONV bool Perl_grok_bslash_o(pTHX_ char** s, const char* const send, UV* uv, const char** message, U32 * packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6729 __attribute__warn_unused_result__;
6730 #define PERL_ARGS_ASSERT_GROK_BSLASH_O \
6731 assert(s); assert(send); assert(uv); assert(message)
6733 PERL_CALLCONV bool Perl_grok_bslash_x(pTHX_ char** s, const char* const send, UV* uv, const char** message, U32 * packed_warn, const bool strict, const bool allow_UV_MAX, const bool utf8)
6734 __attribute__warn_unused_result__;
6735 #define PERL_ARGS_ASSERT_GROK_BSLASH_X \
6736 assert(s); assert(send); assert(uv); assert(message)
6739 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6740 PERL_CALLCONV const char * Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char * string, const Size_t len, const UV cp)
6741 __attribute__warn_unused_result__;
6742 #define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6745 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
6746 #ifndef PERL_NO_INLINE_FUNCTIONS
6747 PERL_STATIC_INLINE STRLEN* S_get_invlist_iter_addr(SV* invlist)
6748 __attribute__warn_unused_result__;
6749 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \
6753 #ifndef PERL_NO_INLINE_FUNCTIONS
6754 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
6755 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH \
6758 #ifndef PERL_NO_INLINE_FUNCTIONS
6759 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
6760 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT \
6763 #ifndef PERL_NO_INLINE_FUNCTIONS
6764 PERL_STATIC_INLINE bool S_invlist_iternext(SV* invlist, UV* start, UV* end)
6765 __attribute__warn_unused_result__;
6766 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \
6767 assert(invlist); assert(start); assert(end)
6771 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
6772 PERL_CALLCONV bool Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
6773 #define PERL_ARGS_ASSERT__INVLISTEQ \
6774 assert(a); assert(b)
6775 PERL_CALLCONV SV* Perl__new_invlist_C_array(pTHX_ const UV* const list)
6776 __attribute__warn_unused_result__;
6777 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
6781 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
6782 #ifndef PERL_NO_INLINE_FUNCTIONS
6783 PERL_STATIC_INLINE const char * S_get_regex_charset_name(const U32 flags, STRLEN* const lenp);
6784 #define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
6788 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6789 #ifndef PERL_NO_INLINE_FUNCTIONS
6790 PERL_STATIC_INLINE bool Perl_check_regnode_after(pTHX_ const regnode* p, const STRLEN extra)
6791 __attribute__warn_unused_result__;
6792 #define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
6795 PERL_CALLCONV int Perl_re_printf(pTHX_ const char *fmt, ...)
6796 __attribute__visibility__("hidden")
6797 __attribute__format__(__printf__,pTHX_1,pTHX_2);
6798 #define PERL_ARGS_ASSERT_RE_PRINTF \
6801 #ifndef PERL_NO_INLINE_FUNCTIONS
6802 PERL_STATIC_INLINE regnode* Perl_regnext(pTHX_ const regnode* p)
6803 __attribute__warn_unused_result__;
6804 #define PERL_ARGS_ASSERT_REGNEXT
6807 #ifndef PERL_NO_INLINE_FUNCTIONS
6808 PERL_STATIC_INLINE regnode* Perl_regnode_after(pTHX_ const regnode* p, bool varies)
6809 __attribute__warn_unused_result__;
6810 #define PERL_ARGS_ASSERT_REGNODE_AFTER
6813 PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
6814 __attribute__visibility__("hidden");
6815 #define PERL_ARGS_ASSERT_REGPROP \
6816 assert(sv); assert(o)
6819 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_DOOP_C)
6820 #ifndef PERL_NO_INLINE_FUNCTIONS
6821 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
6822 __attribute__warn_unused_result__;
6823 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
6827 #ifndef PERL_NO_INLINE_FUNCTIONS
6828 PERL_STATIC_INLINE UV S__invlist_len(SV* const invlist)
6829 __attribute__warn_unused_result__;
6830 #define PERL_ARGS_ASSERT__INVLIST_LEN \
6834 PERL_CALLCONV SSize_t Perl__invlist_search(SV* const invlist, const UV cp)
6835 __attribute__warn_unused_result__;
6836 #define PERL_ARGS_ASSERT__INVLIST_SEARCH \
6839 #ifndef PERL_NO_INLINE_FUNCTIONS
6840 PERL_STATIC_INLINE bool* S_get_invlist_offset_addr(SV* invlist)
6841 __attribute__warn_unused_result__;
6842 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \
6846 #ifndef PERL_NO_INLINE_FUNCTIONS
6847 PERL_STATIC_INLINE UV* S_invlist_array(SV* const invlist)
6848 __attribute__warn_unused_result__;
6849 #define PERL_ARGS_ASSERT_INVLIST_ARRAY \
6853 #ifndef PERL_NO_INLINE_FUNCTIONS
6854 PERL_STATIC_INLINE bool S_is_invlist(const SV* const invlist)
6855 __attribute__warn_unused_result__;
6856 #define PERL_ARGS_ASSERT_IS_INVLIST
6860 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
6861 PERL_CALLCONV bool Perl_is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
6862 __attribute__warn_unused_result__
6863 __attribute__visibility__("hidden");
6864 #define PERL_ARGS_ASSERT_IS_GRAPHEME \
6865 assert(strbeg); assert(s); assert(strend)
6868 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6869 PERL_CALLCONV UV Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6870 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1 \
6871 assert(p); assert(lenp)
6873 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
6874 PERL_CALLCONV SV* Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
6875 #define PERL_ARGS_ASSERT_INVLIST_CLONE \
6878 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
6879 PERL_CALLCONV bool Perl_regcurly(const char *s, const char *e, const char * result[5])
6880 __attribute__warn_unused_result__;
6881 #define PERL_ARGS_ASSERT_REGCURLY \
6882 assert(s); assert(e)
6885 #if defined(PERL_IN_REGEXEC_C)
6886 STATIC LB_enum S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6887 __attribute__warn_unused_result__;
6888 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
6889 assert(curpos); assert(strend)
6891 STATIC SB_enum S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6892 __attribute__warn_unused_result__;
6893 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
6894 assert(curpos); assert(strend)
6896 STATIC WB_enum S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
6897 __attribute__warn_unused_result__;
6898 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
6899 assert(curpos); assert(strend)
6901 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6902 __attribute__warn_unused_result__;
6903 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
6904 assert(strbeg); assert(curpos)
6906 STATIC LB_enum S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6907 __attribute__warn_unused_result__;
6908 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB \
6909 assert(strbeg); assert(curpos)
6911 STATIC SB_enum S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6912 __attribute__warn_unused_result__;
6913 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB \
6914 assert(strbeg); assert(curpos)
6916 STATIC WB_enum S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6917 __attribute__warn_unused_result__;
6918 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB \
6919 assert(previous); assert(strbeg); assert(curpos)
6921 STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
6922 __attribute__warn_unused_result__;
6923 #define PERL_ARGS_ASSERT_FIND_BYCLASS \
6924 assert(prog); assert(c); assert(s); assert(strend)
6926 STATIC U8 * S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
6927 __attribute__warn_unused_result__;
6928 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED \
6929 assert(s); assert(send)
6931 STATIC U8 * S_find_span_end(U8* s, const U8 * send, const U8 span_byte)
6932 __attribute__warn_unused_result__;
6933 #define PERL_ARGS_ASSERT_FIND_SPAN_END \
6934 assert(s); assert(send)
6936 STATIC U8 * S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
6937 __attribute__warn_unused_result__;
6938 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK \
6939 assert(s); assert(send)
6941 #ifndef PERL_NO_INLINE_FUNCTIONS
6942 PERL_STATIC_INLINE I32 S_foldEQ_latin1_s2_folded(pTHX_ const char* a, const char* b, I32 len);
6943 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED \
6944 assert(a); assert(b)
6946 STATIC bool S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
6947 __attribute__warn_unused_result__;
6948 #define PERL_ARGS_ASSERT_ISFOO_LC
6950 STATIC bool S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
6951 __attribute__warn_unused_result__;
6952 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC \
6953 assert(character); assert(e)
6955 STATIC bool S_isGCB(pTHX_ const GCB_enum before, const GCB_enum after, const U8 * const strbeg, const U8 * const curpos, const bool utf8_target)
6956 __attribute__warn_unused_result__;
6957 #define PERL_ARGS_ASSERT_ISGCB \
6958 assert(strbeg); assert(curpos)
6960 STATIC bool S_isLB(pTHX_ LB_enum before, LB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6961 __attribute__warn_unused_result__;
6962 #define PERL_ARGS_ASSERT_ISLB \
6963 assert(strbeg); assert(curpos); assert(strend)
6965 STATIC bool S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6966 __attribute__warn_unused_result__;
6967 #define PERL_ARGS_ASSERT_ISSB \
6968 assert(strbeg); assert(curpos); assert(strend)
6970 STATIC bool S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target)
6971 __attribute__warn_unused_result__;
6972 #define PERL_ARGS_ASSERT_ISWB \
6973 assert(strbeg); assert(curpos); assert(strend)
6975 STATIC I32 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
6976 __attribute__warn_unused_result__;
6977 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
6978 assert(rex); assert(scan)
6980 STATIC void S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
6981 #define PERL_ARGS_ASSERT_REGCP_RESTORE \
6982 assert(rex); assert(maxopenparen_p)
6983 STATIC void S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
6984 #define PERL_ARGS_ASSERT_REGCPPOP \
6985 assert(rex); assert(maxopenparen_p)
6986 STATIC CHECKPOINT S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
6987 #define PERL_ARGS_ASSERT_REGCPPUSH \
6989 STATIC U8* S_reghop3(U8 *s, SSize_t off, const U8 *lim)
6990 __attribute__warn_unused_result__;
6991 #define PERL_ARGS_ASSERT_REGHOP3 \
6992 assert(s); assert(lim)
6994 STATIC U8* S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
6995 __attribute__warn_unused_result__;
6996 #define PERL_ARGS_ASSERT_REGHOP4 \
6997 assert(s); assert(llim); assert(rlim)
6999 STATIC U8* S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
7000 __attribute__warn_unused_result__;
7001 #define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
7002 assert(s); assert(lim)
7004 STATIC bool S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target)
7005 __attribute__warn_unused_result__;
7006 #define PERL_ARGS_ASSERT_REGINCLASS \
7007 assert(n); assert(p); assert(p_end)
7009 STATIC SSize_t S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7010 __attribute__warn_unused_result__;
7011 #define PERL_ARGS_ASSERT_REGMATCH \
7012 assert(reginfo); assert(startpos); assert(prog)
7014 STATIC I32 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info *const reginfo, I32 max _pDEPTH)
7015 __attribute__warn_unused_result__;
7016 #define PERL_ARGS_ASSERT_REGREPEAT \
7017 assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo)
7019 STATIC bool S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
7020 __attribute__warn_unused_result__;
7021 #define PERL_ARGS_ASSERT_REGTRY \
7022 assert(reginfo); assert(startposp)
7024 STATIC bool S_to_byte_substr(pTHX_ regexp * prog);
7025 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
7027 STATIC void S_to_utf8_substr(pTHX_ regexp * prog);
7028 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
7031 #if defined(PERL_IN_SCOPE_C)
7032 STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
7033 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
7034 STATIC SV* S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
7035 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
7038 #if defined(PERL_IN_SV_C)
7039 STATIC char * S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
7040 #define PERL_ARGS_ASSERT_F0CONVERT \
7041 assert(endbuf); assert(len)
7042 STATIC void S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
7043 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE \
7044 assert(gv); assert(cv)
7045 STATIC void S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
7046 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \
7047 assert(func); assert(sv)
7048 STATIC bool S_curse(pTHX_ SV * const sv, const bool check_refcnt);
7049 #define PERL_ARGS_ASSERT_CURSE \
7051 STATIC STRLEN S_expect_number(pTHX_ const char **const pattern)
7052 __attribute__warn_unused_result__;
7053 #define PERL_ARGS_ASSERT_EXPECT_NUMBER \
7056 STATIC SSize_t S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
7057 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \
7059 STATIC SV * S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
7060 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \
7062 STATIC SV* S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
7063 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR \
7065 STATIC bool S_glob_2number(pTHX_ GV* const gv);
7066 #define PERL_ARGS_ASSERT_GLOB_2NUMBER \
7068 STATIC void S_glob_assign_glob(pTHX_ SV *const dsv, SV *const ssv, const int dtype);
7069 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \
7070 assert(dsv); assert(ssv)
7071 PERL_CALLCONV SV * Perl_more_sv(pTHX);
7072 #define PERL_ARGS_ASSERT_MORE_SV
7073 STATIC void S_not_a_number(pTHX_ SV *const sv);
7074 #define PERL_ARGS_ASSERT_NOT_A_NUMBER \
7076 STATIC void S_not_incrementable(pTHX_ SV *const sv);
7077 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \
7079 STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
7080 __attribute__warn_unused_result__;
7081 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
7084 STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv);
7085 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
7087 STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
7088 #define PERL_ARGS_ASSERT_SV_ADD_ARENA \
7090 STATIC const char * S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
7091 #define PERL_ARGS_ASSERT_SV_DISPLAY \
7092 assert(sv); assert(tmpbuf)
7093 STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
7094 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \
7095 assert(s); assert(target); assert(end)
7096 STATIC STRLEN S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0);
7097 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \
7098 assert(sv); assert(mgp); assert(start); assert(send)
7099 STATIC STRLEN S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end, bool *canonical_position);
7100 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \
7101 assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
7102 STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
7103 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \
7104 assert(start); assert(send)
7105 #ifndef PERL_NO_INLINE_FUNCTIONS
7106 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
7107 #define PERL_ARGS_ASSERT_SV_UNGLOB \
7110 #ifndef PERL_NO_INLINE_FUNCTIONS
7111 PERL_STATIC_INLINE char * S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
7112 __attribute__warn_unused_result__;
7113 #define PERL_ARGS_ASSERT_UIV_2BUF \
7114 assert(buf); assert(peob)
7117 STATIC void S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
7118 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \
7119 assert(sv); assert(mgp)
7120 STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
7121 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
7122 assert(sv); assert(mgp)
7123 STATIC I32 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
7124 #define PERL_ARGS_ASSERT_VISIT \
7126 # if defined(USE_ITHREADS)
7127 STATIC SV* S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7128 __attribute__warn_unused_result__;
7129 #define PERL_ARGS_ASSERT_SV_DUP_COMMON \
7130 assert(ssv); assert(param)
7132 STATIC SV ** S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
7133 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \
7134 assert(source); assert(dest); assert(param)
7135 STATIC void S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
7136 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \
7137 assert(unreferenced)
7140 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
7141 PERL_CALLCONV SV * Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, SSize_t aindex, int subscript_type)
7142 __attribute__warn_unused_result__
7143 __attribute__visibility__("hidden");
7144 #define PERL_ARGS_ASSERT_VARNAME
7147 #if defined(PERL_IN_TOKE_C)
7148 STATIC int S_ao(pTHX_ int toketype);
7149 #define PERL_ARGS_ASSERT_AO
7150 STATIC void S_check_uni(pTHX);
7151 #define PERL_ARGS_ASSERT_CHECK_UNI
7152 STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
7153 #define PERL_ARGS_ASSERT_CHECKCOMMA \
7154 assert(s); assert(name); assert(what)
7155 STATIC char * S_filter_gets(pTHX_ SV *sv, STRLEN append)
7156 __attribute__warn_unused_result__;
7157 #define PERL_ARGS_ASSERT_FILTER_GETS \
7160 STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
7161 __attribute__warn_unused_result__;
7162 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \
7165 STATIC void S_force_ident(pTHX_ const char *s, int kind);
7166 #define PERL_ARGS_ASSERT_FORCE_IDENT \
7168 STATIC void S_force_ident_maybe_lex(pTHX_ char pit);
7169 #define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
7170 STATIC void S_force_next(pTHX_ I32 type);
7171 #define PERL_ARGS_ASSERT_FORCE_NEXT
7172 STATIC char* S_force_strict_version(pTHX_ char *s);
7173 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \
7175 STATIC char* S_force_version(pTHX_ char *s, int guessing);
7176 #define PERL_ARGS_ASSERT_FORCE_VERSION \
7178 STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
7179 #define PERL_ARGS_ASSERT_FORCE_WORD \
7181 STATIC SV* S_get_and_check_backslash_N_name_wrapper(pTHX_ const char* s, const char* const e)
7182 __attribute__warn_unused_result__;
7183 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
7184 assert(s); assert(e)
7186 STATIC void S_incline(pTHX_ const char *s, const char *end);
7187 #define PERL_ARGS_ASSERT_INCLINE \
7188 assert(s); assert(end)
7189 STATIC int S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
7190 #define PERL_ARGS_ASSERT_INTUIT_METHOD \
7192 STATIC int S_intuit_more(pTHX_ char *s, char *e);
7193 #define PERL_ARGS_ASSERT_INTUIT_MORE \
7194 assert(s); assert(e)
7195 STATIC I32 S_lop(pTHX_ I32 f, U8 x, char *s);
7196 #define PERL_ARGS_ASSERT_LOP \
7198 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
7199 __attribute__noreturn__;
7200 #define PERL_ARGS_ASSERT_MISSINGTERM
7202 STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen, const char ** error_msg);
7203 #define PERL_ARGS_ASSERT_NEW_CONSTANT \
7204 assert(key); assert(sv)
7205 STATIC void S_no_op(pTHX_ const char *const what, char *s);
7206 #define PERL_ARGS_ASSERT_NO_OP \
7208 STATIC void S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8, bool check_dollar, bool tick_warn);
7209 #define PERL_ARGS_ASSERT_PARSE_IDENT \
7210 assert(s); assert(d); assert(e)
7211 STATIC int S_pending_ident(pTHX);
7212 #define PERL_ARGS_ASSERT_PENDING_IDENT
7213 STATIC char* S_scan_const(pTHX_ char *start)
7214 __attribute__warn_unused_result__;
7215 #define PERL_ARGS_ASSERT_SCAN_CONST \
7218 STATIC char* S_scan_formline(pTHX_ char *s)
7219 __attribute__warn_unused_result__;
7220 #define PERL_ARGS_ASSERT_SCAN_FORMLINE \
7223 STATIC char* S_scan_heredoc(pTHX_ char *s)
7224 __attribute__warn_unused_result__;
7225 #define PERL_ARGS_ASSERT_SCAN_HEREDOC \
7228 STATIC char* S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
7229 #define PERL_ARGS_ASSERT_SCAN_IDENT \
7230 assert(s); assert(dest)
7231 STATIC char* S_scan_inputsymbol(pTHX_ char *start)
7232 __attribute__warn_unused_result__;
7233 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \
7236 STATIC char* S_scan_pat(pTHX_ char *start, I32 type)
7237 __attribute__warn_unused_result__;
7238 #define PERL_ARGS_ASSERT_SCAN_PAT \
7241 STATIC char* S_scan_subst(pTHX_ char *start)
7242 __attribute__warn_unused_result__;
7243 #define PERL_ARGS_ASSERT_SCAN_SUBST \
7246 STATIC char* S_scan_trans(pTHX_ char *start)
7247 __attribute__warn_unused_result__;
7248 #define PERL_ARGS_ASSERT_SCAN_TRANS \
7251 STATIC I32 S_sublex_done(pTHX)
7252 __attribute__warn_unused_result__;
7253 #define PERL_ARGS_ASSERT_SUBLEX_DONE
7255 STATIC I32 S_sublex_push(pTHX)
7256 __attribute__warn_unused_result__;
7257 #define PERL_ARGS_ASSERT_SUBLEX_PUSH
7259 STATIC I32 S_sublex_start(pTHX)
7260 __attribute__warn_unused_result__;
7261 #define PERL_ARGS_ASSERT_SUBLEX_START
7263 STATIC char* S_swallow_bom(pTHX_ U8 *s)
7264 __attribute__warn_unused_result__;
7265 #define PERL_ARGS_ASSERT_SWALLOW_BOM \
7268 STATIC char * S_tokenize_use(pTHX_ int is_use, char *s)
7269 __attribute__warn_unused_result__;
7270 #define PERL_ARGS_ASSERT_TOKENIZE_USE \
7273 STATIC SV* S_tokeq(pTHX_ SV *sv);
7274 #define PERL_ARGS_ASSERT_TOKEQ \
7276 STATIC void S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
7277 #define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
7278 STATIC int S_yywarn(pTHX_ const char *const s, U32 flags);
7279 #define PERL_ARGS_ASSERT_YYWARN \
7282 #if defined(PERL_IN_UNIVERSAL_C)
7283 STATIC bool S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char * name, STRLEN len, U32 flags);
7284 STATIC bool S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLEN len, U32 flags);
7286 #if defined(PERL_IN_UTF8_C)
7287 STATIC UV 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);
7288 #define PERL_ARGS_ASSERT__TO_UTF8_CASE \
7289 assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
7290 STATIC UV S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
7291 __attribute__warn_unused_result__;
7292 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
7293 assert(p); assert(ustrp); assert(lenp)
7295 #ifndef PERL_NO_INLINE_FUNCTIONS
7296 PERL_STATIC_INLINE int S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
7297 __attribute__warn_unused_result__;
7298 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW \
7299 assert(s); assert(e)
7302 #ifndef PERL_NO_INLINE_FUNCTIONS
7303 PERL_STATIC_INLINE int S_isFF_overlong(const U8 * const s, const STRLEN len)
7304 __attribute__warn_unused_result__;
7305 #define PERL_ARGS_ASSERT_ISFF_OVERLONG \
7309 #ifndef PERL_NO_INLINE_FUNCTIONS
7310 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, const U8 *const e, SV* const invlist)
7311 __attribute__warn_unused_result__;
7312 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
7313 assert(p); assert(e)
7316 #ifndef PERL_NO_INLINE_FUNCTIONS
7317 PERL_STATIC_INLINE int S_is_utf8_overlong(const U8 * const s, const STRLEN len)
7318 __attribute__warn_unused_result__;
7319 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG \
7323 STATIC HV * S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
7324 __attribute__warn_unused_result__;
7325 #define PERL_ARGS_ASSERT_NEW_MSG_HV \
7328 STATIC UV 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);
7329 #define PERL_ARGS_ASSERT_TO_CASE_CP_LIST \
7330 assert(invlist); assert(invmap); assert(normal)
7331 STATIC U8 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
7332 __attribute__warn_unused_result__;
7333 #define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
7335 STATIC UV S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7336 #define PERL_ARGS_ASSERT_TURKIC_FC \
7337 assert(p); assert(e); assert(ustrp); assert(lenp)
7338 STATIC UV S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8* ustrp, STRLEN *lenp);
7339 #define PERL_ARGS_ASSERT_TURKIC_LC \
7340 assert(p0); assert(e); assert(ustrp); assert(lenp)
7341 STATIC UV S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7342 #define PERL_ARGS_ASSERT_TURKIC_UC \
7343 assert(p); assert(e); assert(ustrp); assert(lenp)
7344 STATIC char * S_unexpected_non_continuation_text(pTHX_ const U8 * const s, STRLEN print_len, const STRLEN non_cont_byte_pos, const STRLEN expect_len)
7345 __attribute__warn_unused_result__;
7346 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT \
7350 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
7351 PERL_CALLCONV UV Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7352 __attribute__visibility__("hidden");
7353 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7354 assert(p); assert(lenp)
7357 #if defined(PERL_IN_UTIL_C)
7358 STATIC bool S_ckwarn_common(pTHX_ U32 w);
7359 #define PERL_ARGS_ASSERT_CKWARN_COMMON
7360 STATIC bool S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
7361 #define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7362 STATIC SV* S_mess_alloc(pTHX);
7363 #define PERL_ARGS_ASSERT_MESS_ALLOC
7364 STATIC SV * S_with_queued_errors(pTHX_ SV *ex);
7365 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \
7367 STATIC void S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
7368 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK \
7370 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
7371 STATIC void S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7372 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
7373 assert(type_name); assert(filename); assert(funcname)
7376 #if defined(PERL_MEM_LOG)
7377 PERL_CALLCONV Malloc_t Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7378 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC \
7379 assert(type_name); assert(filename); assert(funcname)
7380 PERL_CALLCONV void Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7381 #define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
7382 assert(sv); assert(filename); assert(funcname)
7383 PERL_CALLCONV Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
7384 #define PERL_ARGS_ASSERT_MEM_LOG_FREE \
7385 assert(filename); assert(funcname)
7386 PERL_CALLCONV void Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7387 #define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
7388 assert(sv); assert(filename); assert(funcname)
7389 PERL_CALLCONV Malloc_t Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname);
7390 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC \
7391 assert(type_name); assert(filename); assert(funcname)
7393 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
7394 STATIC void S_pidgone(pTHX_ Pid_t pid, int status);
7395 #define PERL_ARGS_ASSERT_PIDGONE
7397 #if defined(PERL_USE_3ARG_SIGHANDLER)
7398 PERL_CALLCONV Signal_t Perl_csighandler(int sig, Siginfo_t *info, void *uap);
7399 #define PERL_ARGS_ASSERT_CSIGHANDLER
7400 PERL_CALLCONV Signal_t Perl_sighandler(int sig, Siginfo_t *info, void *uap)
7401 __attribute__visibility__("hidden");
7402 #define PERL_ARGS_ASSERT_SIGHANDLER
7405 #if defined(U64TYPE) /* HAS_QUAD undefined outside of core */
7406 #ifndef PERL_NO_INLINE_FUNCTIONS
7407 PERL_STATIC_INLINE unsigned Perl_lsbit_pos64(U64 word)
7408 __attribute__warn_unused_result__;
7409 #define PERL_ARGS_ASSERT_LSBIT_POS64
7412 #ifndef PERL_NO_INLINE_FUNCTIONS
7413 PERL_STATIC_INLINE unsigned Perl_msbit_pos64(U64 word)
7414 __attribute__warn_unused_result__;
7415 #define PERL_ARGS_ASSERT_MSBIT_POS64
7418 #ifndef PERL_NO_INLINE_FUNCTIONS
7419 PERL_STATIC_INLINE unsigned Perl_single_1bit_pos64(U64 word)
7420 __attribute__warn_unused_result__;
7421 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
7425 #if defined(UNLINK_ALL_VERSIONS)
7426 PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f);
7427 #define PERL_ARGS_ASSERT_UNLNK \
7430 #if defined(USE_C_BACKTRACE)
7431 PERL_CALLCONV bool Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
7432 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE \
7434 /* PERL_CALLCONV void free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
7435 #define PERL_ARGS_ASSERT_FREE_C_BACKTRACE
7436 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
7437 __attribute__visibility__("hidden");
7438 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE
7440 PERL_CALLCONV SV* Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
7441 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
7443 #if defined(USE_DTRACE)
7444 PERL_CALLCONV void Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
7445 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL \
7447 PERL_CALLCONV void Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
7448 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD \
7450 PERL_CALLCONV void Perl_dtrace_probe_op(pTHX_ const OP *op);
7451 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP \
7453 PERL_CALLCONV void Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
7454 #define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
7456 #if defined(USE_ITHREADS)
7457 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
7458 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH \
7460 PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
7461 __attribute__warn_unused_result__;
7462 #define PERL_ARGS_ASSERT_ANY_DUP \
7465 PERL_CALLCONV void Perl_clone_params_del(CLONE_PARAMS *param);
7466 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \
7468 PERL_CALLCONV CLONE_PARAMS * Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
7469 __attribute__warn_unused_result__;
7470 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \
7471 assert(from); assert(to)
7473 #ifndef PERL_NO_INLINE_FUNCTIONS
7474 PERL_STATIC_INLINE AV* Perl_cop_file_avn(pTHX_ const COP *cop);
7475 #define PERL_ARGS_ASSERT_COP_FILE_AVN \
7478 PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
7479 __attribute__warn_unused_result__;
7480 #define PERL_ARGS_ASSERT_CX_DUP \
7483 PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
7484 __attribute__warn_unused_result__;
7485 #define PERL_ARGS_ASSERT_DIRP_DUP \
7488 PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
7489 #define PERL_ARGS_ASSERT_FP_DUP \
7491 PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
7492 __attribute__warn_unused_result__;
7493 #define PERL_ARGS_ASSERT_GP_DUP \
7496 PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
7497 __attribute__warn_unused_result__;
7498 #define PERL_ARGS_ASSERT_HE_DUP \
7501 PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
7502 __attribute__warn_unused_result__;
7503 #define PERL_ARGS_ASSERT_HEK_DUP \
7506 PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
7507 __attribute__warn_unused_result__;
7508 #define PERL_ARGS_ASSERT_MG_DUP \
7511 PERL_CALLCONV struct mro_meta* Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
7512 __attribute__visibility__("hidden");
7513 #define PERL_ARGS_ASSERT_MRO_META_DUP \
7514 assert(smeta); assert(param)
7516 PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
7517 __attribute__warn_unused_result__;
7518 #define PERL_ARGS_ASSERT_NEWPADOP \
7521 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
7522 __attribute__warn_unused_result__
7523 __attribute__visibility__("hidden");
7524 #define PERL_ARGS_ASSERT_PADLIST_DUP \
7525 assert(srcpad); assert(param)
7527 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
7528 __attribute__warn_unused_result__
7529 __attribute__visibility__("hidden");
7530 #define PERL_ARGS_ASSERT_PADNAME_DUP \
7531 assert(src); assert(param)
7533 PERL_CALLCONV PADNAMELIST * Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
7534 __attribute__warn_unused_result__
7535 __attribute__visibility__("hidden");
7536 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP \
7537 assert(srcpad); assert(param)
7539 PERL_CALLCONV yy_parser* Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
7540 #define PERL_ARGS_ASSERT_PARSER_DUP \
7542 PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter *proto_perl, UV flags);
7543 #define PERL_ARGS_ASSERT_PERL_CLONE \
7545 PERL_CALLCONV void Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
7546 #define PERL_ARGS_ASSERT_RE_DUP_GUTS \
7547 assert(sstr); assert(dstr); assert(param)
7548 PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
7549 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
7550 assert(r); assert(param)
7551 PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dsv, const SV *const ssv, CLONE_PARAMS *const param);
7552 #define PERL_ARGS_ASSERT_RVPV_DUP \
7553 assert(dsv); assert(ssv); assert(param)
7554 PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
7555 __attribute__warn_unused_result__;
7556 #define PERL_ARGS_ASSERT_SI_DUP \
7559 PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
7560 __attribute__warn_unused_result__;
7561 #define PERL_ARGS_ASSERT_SS_DUP \
7562 assert(proto_perl); assert(param)
7564 PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7565 __attribute__warn_unused_result__;
7566 #define PERL_ARGS_ASSERT_SV_DUP \
7569 PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7570 __attribute__warn_unused_result__;
7571 #define PERL_ARGS_ASSERT_SV_DUP_INC \
7575 #if defined(USE_LOCALE_COLLATE)
7576 PERL_CALLCONV int Perl_magic_freecollxfrm(pTHX_ SV* sv, MAGIC* mg)
7577 __attribute__visibility__("hidden");
7578 #define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM \
7579 assert(sv); assert(mg)
7581 PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
7582 __attribute__visibility__("hidden");
7583 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
7584 assert(sv); assert(mg)
7587 PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp);
7588 #define PERL_ARGS_ASSERT_SV_COLLXFRM \
7589 assert(sv); assert(nxp)
7591 PERL_CALLCONV char* Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
7592 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \
7593 assert(sv); assert(nxp)
7595 #if defined(USE_PERLIO)
7596 PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
7597 #define PERL_ARGS_ASSERT_PERLIO_CLEARERR
7598 PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f);
7599 #define PERL_ARGS_ASSERT_PERLIO_CLOSE
7600 PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f);
7601 #define PERL_ARGS_ASSERT_PERLIO_EOF
7602 PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f);
7603 #define PERL_ARGS_ASSERT_PERLIO_ERROR
7604 PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f);
7605 #define PERL_ARGS_ASSERT_PERLIO_FILENO
7606 PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f);
7607 #define PERL_ARGS_ASSERT_PERLIO_FILL
7608 PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f);
7609 #define PERL_ARGS_ASSERT_PERLIO_FLUSH
7610 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
7611 #define PERL_ARGS_ASSERT_PERLIO_GET_BASE
7612 PERL_CALLCONV SSize_t Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
7613 __attribute__warn_unused_result__;
7614 #define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
7616 PERL_CALLCONV SSize_t Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
7617 __attribute__warn_unused_result__;
7618 #define PERL_ARGS_ASSERT_PERLIO_GET_CNT
7620 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
7621 #define PERL_ARGS_ASSERT_PERLIO_GET_PTR
7622 PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
7623 #define PERL_ARGS_ASSERT_PERLIO_READ \
7625 PERL_CALLCONV void Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
7626 #define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
7627 PERL_CALLCONV void Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
7628 #define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
7629 PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
7630 #define PERL_ARGS_ASSERT_PERLIO_SEEK
7631 PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
7632 #define PERL_ARGS_ASSERT_PERLIO_SET_CNT
7633 PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
7634 #define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
7635 PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
7636 #define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
7637 PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX)
7638 __attribute__warn_unused_result__;
7639 #define PERL_ARGS_ASSERT_PERLIO_STDERR
7641 PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX)
7642 __attribute__warn_unused_result__;
7643 #define PERL_ARGS_ASSERT_PERLIO_STDIN
7645 PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX)
7646 __attribute__warn_unused_result__;
7647 #define PERL_ARGS_ASSERT_PERLIO_STDOUT
7649 PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f);
7650 #define PERL_ARGS_ASSERT_PERLIO_TELL
7651 PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7652 #define PERL_ARGS_ASSERT_PERLIO_UNREAD \
7654 PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7655 #define PERL_ARGS_ASSERT_PERLIO_WRITE \
7658 #if defined(USE_QUADMATH)
7659 PERL_CALLCONV bool Perl_quadmath_format_needed(const char* format)
7660 __attribute__visibility__("hidden");
7661 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
7664 PERL_CALLCONV bool Perl_quadmath_format_valid(const char* format)
7665 __attribute__visibility__("hidden");
7666 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID \
7671 PERL_CALLCONV bool Perl_get_win32_message_utf8ness(pTHX_ const char * string)
7672 __attribute__visibility__("hidden");
7673 #define PERL_ARGS_ASSERT_GET_WIN32_MESSAGE_UTF8NESS
7675 PERL_CALLCONV_NO_RET void win32_croak_not_implemented(const char * fname)
7676 __attribute__noreturn__;
7677 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \
7681 #if defined(WIN32) || defined(VMS)
7682 PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
7683 #define PERL_ARGS_ASSERT_DO_ASPAWN \
7684 assert(mark); assert(sp)
7685 PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd);
7686 #define PERL_ARGS_ASSERT_DO_SPAWN \
7688 PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd);
7689 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
7692 #if defined(_MSC_VER)
7693 PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
7694 __attribute__visibility__("hidden");
7695 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
7696 assert(sv); assert(mg)
7700 # include "pp_proto.h"