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 const char* Perl_setlocale(const int category, const char* locale);
63 #define PERL_ARGS_ASSERT_PERL_SETLOCALE
64 #ifndef PERL_NO_INLINE_FUNCTIONS
65 PERL_STATIC_INLINE struct regexp * Perl_ReANY(const REGEXP * const re);
66 #define PERL_ARGS_ASSERT_REANY \
69 PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz)
70 __attribute__warn_unused_result__;
71 #define PERL_ARGS_ASSERT_SLAB_ALLOC
73 PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op);
74 #define PERL_ARGS_ASSERT_SLAB_FREE \
76 #ifndef PERL_NO_INLINE_FUNCTIONS
77 PERL_STATIC_INLINE void Perl_SvAMAGIC_off(SV *sv);
78 #define PERL_ARGS_ASSERT_SVAMAGIC_OFF \
81 #ifndef PERL_NO_INLINE_FUNCTIONS
82 PERL_STATIC_INLINE void Perl_SvAMAGIC_on(SV *sv);
83 #define PERL_ARGS_ASSERT_SVAMAGIC_ON \
86 #ifndef PERL_NO_INLINE_FUNCTIONS
87 PERL_STATIC_INLINE void Perl_SvGETMAGIC(pTHX_ SV *sv);
88 #define PERL_ARGS_ASSERT_SVGETMAGIC \
91 #ifndef PERL_NO_INLINE_FUNCTIONS
92 PERL_STATIC_INLINE IV Perl_SvIV(pTHX_ SV *sv);
93 #define PERL_ARGS_ASSERT_SVIV \
96 #ifndef PERL_NO_INLINE_FUNCTIONS
97 PERL_STATIC_INLINE IV Perl_SvIV_nomg(pTHX_ SV *sv);
98 #define PERL_ARGS_ASSERT_SVIV_NOMG \
101 #ifndef PERL_NO_INLINE_FUNCTIONS
102 PERL_STATIC_INLINE NV Perl_SvNV(pTHX_ SV *sv);
103 #define PERL_ARGS_ASSERT_SVNV \
106 #ifndef PERL_NO_INLINE_FUNCTIONS
107 PERL_STATIC_INLINE NV Perl_SvNV_nomg(pTHX_ SV *sv);
108 #define PERL_ARGS_ASSERT_SVNV_NOMG \
111 #ifndef PERL_NO_INLINE_FUNCTIONS
112 PERL_STATIC_FORCE_INLINE bool Perl_SvPVXtrue(pTHX_ SV *sv)
113 __attribute__always_inline__;
114 #define PERL_ARGS_ASSERT_SVPVXTRUE \
118 #ifndef PERL_NO_INLINE_FUNCTIONS
119 PERL_STATIC_INLINE void Perl_SvREFCNT_dec(pTHX_ SV *sv);
120 #define PERL_ARGS_ASSERT_SVREFCNT_DEC
122 #ifndef PERL_NO_INLINE_FUNCTIONS
123 PERL_STATIC_INLINE void Perl_SvREFCNT_dec_NN(pTHX_ SV *sv);
124 #define PERL_ARGS_ASSERT_SVREFCNT_DEC_NN \
127 #ifndef PERL_NO_INLINE_FUNCTIONS
128 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc(SV *sv);
129 #define PERL_ARGS_ASSERT_SVREFCNT_INC
131 #ifndef PERL_NO_INLINE_FUNCTIONS
132 PERL_STATIC_INLINE SV * Perl_SvREFCNT_inc_NN(SV *sv);
133 #define PERL_ARGS_ASSERT_SVREFCNT_INC_NN \
136 #ifndef PERL_NO_INLINE_FUNCTIONS
137 PERL_STATIC_INLINE void Perl_SvREFCNT_inc_void(SV *sv);
138 #define PERL_ARGS_ASSERT_SVREFCNT_INC_VOID
140 #ifndef PERL_NO_INLINE_FUNCTIONS
141 PERL_STATIC_INLINE bool Perl_SvTRUE(pTHX_ SV *sv);
142 #define PERL_ARGS_ASSERT_SVTRUE
144 #ifndef PERL_NO_INLINE_FUNCTIONS
145 PERL_STATIC_INLINE bool Perl_SvTRUE_NN(pTHX_ SV *sv);
146 #define PERL_ARGS_ASSERT_SVTRUE_NN \
149 #ifndef PERL_NO_INLINE_FUNCTIONS
150 PERL_STATIC_INLINE bool Perl_SvTRUE_common(pTHX_ SV *sv, const bool sv_2bool_is_fallback);
151 #define PERL_ARGS_ASSERT_SVTRUE_COMMON \
154 #ifndef PERL_NO_INLINE_FUNCTIONS
155 PERL_STATIC_INLINE bool Perl_SvTRUE_nomg(pTHX_ SV *sv);
156 #define PERL_ARGS_ASSERT_SVTRUE_NOMG
158 #ifndef PERL_NO_INLINE_FUNCTIONS
159 PERL_STATIC_INLINE UV Perl_SvUV(pTHX_ SV *sv);
160 #define PERL_ARGS_ASSERT_SVUV \
163 #ifndef PERL_NO_INLINE_FUNCTIONS
164 PERL_STATIC_INLINE UV Perl_SvUV_nomg(pTHX_ SV *sv);
165 #define PERL_ARGS_ASSERT_SVUV_NOMG \
168 #ifndef PERL_NO_INLINE_FUNCTIONS
169 PERL_STATIC_INLINE I32 Perl_TOPMARK(pTHX);
170 #define PERL_ARGS_ASSERT_TOPMARK
172 PERL_CALLCONV char * Perl__byte_dump_string(pTHX_ const U8 * const start, const STRLEN len, const bool format);
173 #define PERL_ARGS_ASSERT__BYTE_DUMP_STRING \
175 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);
176 #define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE \
178 PERL_CALLCONV Size_t Perl__inverse_folds(pTHX_ const UV cp, U32 * first_folds_to, const U32 ** remaining_folds_to)
179 __attribute__warn_unused_result__;
180 #define PERL_ARGS_ASSERT__INVERSE_FOLDS \
181 assert(first_folds_to); assert(remaining_folds_to)
183 PERL_CALLCONV bool Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
184 #define PERL_ARGS_ASSERT__IS_IN_LOCALE_CATEGORY
185 PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
186 __attribute__warn_unused_result__;
187 #define PERL_ARGS_ASSERT__IS_UNI_FOO
189 PERL_CALLCONV bool Perl__is_uni_perl_idcont(pTHX_ UV c)
190 __attribute__warn_unused_result__;
191 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDCONT
193 PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c)
194 __attribute__warn_unused_result__;
195 #define PERL_ARGS_ASSERT__IS_UNI_PERL_IDSTART
197 PERL_CALLCONV bool Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
198 __attribute__warn_unused_result__;
199 #define PERL_ARGS_ASSERT__IS_UTF8_FOO \
202 PERL_CALLCONV bool Perl__is_utf8_perl_idcont(pTHX_ const U8 *p, const U8 * const e)
203 __attribute__warn_unused_result__;
204 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \
207 PERL_CALLCONV bool Perl__is_utf8_perl_idstart(pTHX_ const U8 *p, const U8 * const e)
208 __attribute__warn_unused_result__;
209 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \
212 PERL_CALLCONV UV Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
213 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
214 assert(p); assert(lenp)
215 PERL_CALLCONV UV Perl__to_utf8_fold_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, U8 flags);
216 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
217 assert(p); assert(ustrp)
218 PERL_CALLCONV UV Perl__to_utf8_lower_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
219 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
220 assert(p); assert(ustrp)
221 PERL_CALLCONV UV Perl__to_utf8_title_flags(pTHX_ const U8 *p, const U8* e, U8* ustrp, STRLEN *lenp, bool flags);
222 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
223 assert(p); assert(ustrp)
224 PERL_CALLCONV UV Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* ustrp, STRLEN *lenp, bool flags);
225 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
226 assert(p); assert(ustrp)
227 PERL_CALLCONV UV Perl__utf8n_to_uvchr_msgs_helper(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
228 #define PERL_ARGS_ASSERT__UTF8N_TO_UVCHR_MSGS_HELPER \
230 PERL_CALLCONV void Perl__warn_problematic_locale(void);
231 #define PERL_ARGS_ASSERT__WARN_PROBLEMATIC_LOCALE
232 PERL_CALLCONV_NO_RET void Perl_abort_execution(pTHX_ const char * const msg, const char * const name)
233 __attribute__noreturn__
234 __attribute__visibility__("hidden");
235 #define PERL_ARGS_ASSERT_ABORT_EXECUTION \
236 assert(msg); assert(name)
238 PERL_CALLCONV LOGOP* Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other)
239 __attribute__visibility__("hidden");
240 #define PERL_ARGS_ASSERT_ALLOC_LOGOP
242 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
243 __attribute__visibility__("hidden");
244 #define PERL_ARGS_ASSERT_ALLOCMY \
247 PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
248 #define PERL_ARGS_ASSERT_AMAGIC_CALL \
249 assert(left); assert(right)
250 PERL_CALLCONV SV * Perl_amagic_deref_call(pTHX_ SV *ref, int method);
251 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
253 PERL_CALLCONV bool Perl_amagic_is_enabled(pTHX_ int method)
254 __attribute__visibility__("hidden");
255 #define PERL_ARGS_ASSERT_AMAGIC_IS_ENABLED
257 #ifndef PERL_NO_INLINE_FUNCTIONS
258 PERL_STATIC_INLINE void Perl_append_utf8_from_native_byte(const U8 byte, U8** dest);
259 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
262 PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
263 __attribute__visibility__("hidden");
264 #define PERL_ARGS_ASSERT_APPLY \
265 assert(mark); assert(sp)
267 PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
268 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
269 assert(stashpv); assert(cv); assert(attrstr)
270 PERL_CALLCONV void Perl_atfork_lock(void);
271 #define PERL_ARGS_ASSERT_ATFORK_LOCK
272 PERL_CALLCONV void Perl_atfork_unlock(void);
273 #define PERL_ARGS_ASSERT_ATFORK_UNLOCK
274 PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av);
275 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \
277 PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av);
278 #define PERL_ARGS_ASSERT_AV_CLEAR \
280 #ifndef PERL_NO_INLINE_FUNCTIONS
281 PERL_STATIC_INLINE Size_t Perl_av_count(pTHX_ AV *av)
282 __attribute__warn_unused_result__;
283 #define PERL_ARGS_ASSERT_AV_COUNT \
287 PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
288 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
289 assert(avp); assert(val)
290 PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
291 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
292 assert(avp); assert(val)
293 PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
294 #define PERL_ARGS_ASSERT_AV_DELETE \
296 PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, SSize_t key)
297 __attribute__warn_unused_result__;
298 #define PERL_ARGS_ASSERT_AV_EXISTS \
301 PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, SSize_t key);
302 #define PERL_ARGS_ASSERT_AV_EXTEND \
304 PERL_CALLCONV void Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
305 __attribute__visibility__("hidden");
306 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
307 assert(maxp); assert(allocp); assert(arrayp)
309 PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
310 __attribute__warn_unused_result__;
311 #define PERL_ARGS_ASSERT_AV_FETCH \
314 #ifndef PERL_NO_INLINE_FUNCTIONS
315 PERL_STATIC_INLINE SV** Perl_av_fetch_simple(pTHX_ AV *av, SSize_t key, I32 lval)
316 __attribute__warn_unused_result__;
317 #define PERL_ARGS_ASSERT_AV_FETCH_SIMPLE \
321 PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, SSize_t fill);
322 #define PERL_ARGS_ASSERT_AV_FILL \
324 PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av);
325 #define PERL_ARGS_ASSERT_AV_ITER_P \
327 PERL_CALLCONV SSize_t Perl_av_len(pTHX_ AV *av)
328 __attribute__warn_unused_result__;
329 #define PERL_ARGS_ASSERT_AV_LEN \
332 PERL_CALLCONV AV* Perl_av_make(pTHX_ SSize_t size, SV **strp)
333 __attribute__warn_unused_result__;
334 #define PERL_ARGS_ASSERT_AV_MAKE \
337 #ifndef PERL_NO_INLINE_FUNCTIONS
338 PERL_STATIC_INLINE AV* Perl_av_new_alloc(pTHX_ SSize_t size, bool zeroflag)
339 __attribute__warn_unused_result__;
340 #define PERL_ARGS_ASSERT_AV_NEW_ALLOC
343 PERL_CALLCONV SV* Perl_av_nonelem(pTHX_ AV *av, SSize_t ix)
344 __attribute__visibility__("hidden");
345 #define PERL_ARGS_ASSERT_AV_NONELEM \
348 PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av);
349 #define PERL_ARGS_ASSERT_AV_POP \
351 PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val);
352 #define PERL_ARGS_ASSERT_AV_PUSH \
353 assert(av); assert(val)
354 #ifndef PERL_NO_INLINE_FUNCTIONS
355 PERL_STATIC_INLINE void Perl_av_push_simple(pTHX_ AV *av, SV *val);
356 #define PERL_ARGS_ASSERT_AV_PUSH_SIMPLE \
357 assert(av); assert(val)
359 PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av);
360 #define PERL_ARGS_ASSERT_AV_REIFY \
362 PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
363 __attribute__warn_unused_result__;
364 #define PERL_ARGS_ASSERT_AV_SHIFT \
367 PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
368 #define PERL_ARGS_ASSERT_AV_STORE \
370 #ifndef PERL_NO_INLINE_FUNCTIONS
371 PERL_STATIC_INLINE SV** Perl_av_store_simple(pTHX_ AV *av, SSize_t key, SV *val);
372 #define PERL_ARGS_ASSERT_AV_STORE_SIMPLE \
375 /* PERL_CALLCONV SSize_t av_tindex(pTHX_ AV *av)
376 __attribute__warn_unused_result__; */
377 #define PERL_ARGS_ASSERT_AV_TINDEX
379 /* PERL_CALLCONV SSize_t av_top_index(pTHX_ AV *av)
380 __attribute__warn_unused_result__; */
381 #define PERL_ARGS_ASSERT_AV_TOP_INDEX
383 PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av);
384 #define PERL_ARGS_ASSERT_AV_UNDEF \
386 PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, SSize_t num);
387 #define PERL_ARGS_ASSERT_AV_UNSHIFT \
389 PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
390 __attribute__warn_unused_result__
391 __attribute__visibility__("hidden");
392 #define PERL_ARGS_ASSERT_BIND_MATCH \
393 assert(left); assert(right)
395 PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
396 __attribute__warn_unused_result__;
397 #define PERL_ARGS_ASSERT_BLOCK_END
399 PERL_CALLCONV U8 Perl_block_gimme(pTHX)
400 __attribute__warn_unused_result__;
401 #define PERL_ARGS_ASSERT_BLOCK_GIMME
403 PERL_CALLCONV int Perl_block_start(pTHX_ int full)
404 __attribute__warn_unused_result__;
405 #define PERL_ARGS_ASSERT_BLOCK_START
407 PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk);
408 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
410 PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX)
411 __attribute__visibility__("hidden");
412 #define PERL_ARGS_ASSERT_BOOT_CORE_PERLIO
414 PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX)
415 __attribute__visibility__("hidden");
416 #define PERL_ARGS_ASSERT_BOOT_CORE_UNIVERSAL
418 PERL_CALLCONV void Perl_boot_core_builtin(pTHX)
419 __attribute__visibility__("hidden");
420 #define PERL_ARGS_ASSERT_BOOT_CORE_BUILTIN
422 PERL_CALLCONV void Perl_boot_core_mro(pTHX)
423 __attribute__visibility__("hidden");
424 #define PERL_ARGS_ASSERT_BOOT_CORE_MRO
426 PERL_CALLCONV int Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
427 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
429 PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *lenp, bool *is_utf8p);
430 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
431 assert(s); assert(lenp); assert(is_utf8p)
432 PERL_CALLCONV U8* Perl_bytes_from_utf8_loc(const U8 *s, STRLEN *lenp, bool *is_utf8p, const U8 ** first_unconverted);
433 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8_LOC \
434 assert(s); assert(lenp); assert(is_utf8p)
435 PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *lenp);
436 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
437 assert(s); assert(lenp)
438 PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
439 #define PERL_ARGS_ASSERT_CALL_ARGV \
440 assert(sub_name); assert(argv)
441 PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
442 #define PERL_ARGS_ASSERT_CALL_ATEXIT
443 PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
444 #define PERL_ARGS_ASSERT_CALL_LIST \
446 PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags);
447 #define PERL_ARGS_ASSERT_CALL_METHOD \
449 PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
450 #define PERL_ARGS_ASSERT_CALL_PV \
452 PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, volatile I32 flags);
453 #define PERL_ARGS_ASSERT_CALL_SV \
455 PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
456 #define PERL_ARGS_ASSERT_CALLER_CX
457 PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
458 __attribute__malloc__
459 __attribute__warn_unused_result__;
460 #define PERL_ARGS_ASSERT_CALLOC
462 PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
463 __attribute__warn_unused_result__
464 __attribute__visibility__("hidden");
465 #define PERL_ARGS_ASSERT_CANDO \
468 PERL_CALLCONV I32 Perl_cast_i32(NV f)
469 __attribute__warn_unused_result__;
470 #define PERL_ARGS_ASSERT_CAST_I32
472 PERL_CALLCONV IV Perl_cast_iv(NV f)
473 __attribute__warn_unused_result__;
474 #define PERL_ARGS_ASSERT_CAST_IV
476 PERL_CALLCONV U32 Perl_cast_ulong(NV f)
477 __attribute__warn_unused_result__;
478 #define PERL_ARGS_ASSERT_CAST_ULONG
480 PERL_CALLCONV UV Perl_cast_uv(NV f)
481 __attribute__warn_unused_result__;
482 #define PERL_ARGS_ASSERT_CAST_UV
484 PERL_CALLCONV bool Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
485 __attribute__visibility__("hidden");
486 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
489 PERL_CALLCONV OP * Perl_ck_anoncode(pTHX_ OP *o)
490 __attribute__warn_unused_result__
491 __attribute__visibility__("hidden");
492 #define PERL_ARGS_ASSERT_CK_ANONCODE \
495 PERL_CALLCONV OP * Perl_ck_backtick(pTHX_ OP *o)
496 __attribute__warn_unused_result__
497 __attribute__visibility__("hidden");
498 #define PERL_ARGS_ASSERT_CK_BACKTICK \
501 PERL_CALLCONV OP * Perl_ck_bitop(pTHX_ OP *o)
502 __attribute__warn_unused_result__
503 __attribute__visibility__("hidden");
504 #define PERL_ARGS_ASSERT_CK_BITOP \
507 PERL_CALLCONV OP * Perl_ck_cmp(pTHX_ OP *o)
508 __attribute__warn_unused_result__
509 __attribute__visibility__("hidden");
510 #define PERL_ARGS_ASSERT_CK_CMP \
513 PERL_CALLCONV OP * Perl_ck_concat(pTHX_ OP *o)
514 __attribute__warn_unused_result__
515 __attribute__visibility__("hidden");
516 #define PERL_ARGS_ASSERT_CK_CONCAT \
519 PERL_CALLCONV OP * Perl_ck_defined(pTHX_ OP *o)
520 __attribute__warn_unused_result__
521 __attribute__visibility__("hidden");
522 #define PERL_ARGS_ASSERT_CK_DEFINED \
525 PERL_CALLCONV OP * Perl_ck_delete(pTHX_ OP *o)
526 __attribute__warn_unused_result__
527 __attribute__visibility__("hidden");
528 #define PERL_ARGS_ASSERT_CK_DELETE \
531 PERL_CALLCONV OP * Perl_ck_each(pTHX_ OP *o)
532 __attribute__warn_unused_result__
533 __attribute__visibility__("hidden");
534 #define PERL_ARGS_ASSERT_CK_EACH \
537 PERL_CALLCONV OP* Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
538 __attribute__visibility__("hidden");
539 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
540 assert(entersubop); assert(namegv); assert(protosv)
542 PERL_CALLCONV OP* Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
543 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
545 PERL_CALLCONV OP* Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
546 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
547 assert(entersubop); assert(namegv); assert(protosv)
548 PERL_CALLCONV OP* Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
549 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
550 assert(entersubop); assert(namegv); assert(protosv)
551 PERL_CALLCONV OP * Perl_ck_eof(pTHX_ OP *o)
552 __attribute__warn_unused_result__
553 __attribute__visibility__("hidden");
554 #define PERL_ARGS_ASSERT_CK_EOF \
557 PERL_CALLCONV OP * Perl_ck_eval(pTHX_ OP *o)
558 __attribute__warn_unused_result__
559 __attribute__visibility__("hidden");
560 #define PERL_ARGS_ASSERT_CK_EVAL \
563 PERL_CALLCONV OP * Perl_ck_exec(pTHX_ OP *o)
564 __attribute__warn_unused_result__
565 __attribute__visibility__("hidden");
566 #define PERL_ARGS_ASSERT_CK_EXEC \
569 PERL_CALLCONV OP * Perl_ck_exists(pTHX_ OP *o)
570 __attribute__warn_unused_result__
571 __attribute__visibility__("hidden");
572 #define PERL_ARGS_ASSERT_CK_EXISTS \
575 PERL_CALLCONV OP * Perl_ck_ftst(pTHX_ OP *o)
576 __attribute__warn_unused_result__
577 __attribute__visibility__("hidden");
578 #define PERL_ARGS_ASSERT_CK_FTST \
581 PERL_CALLCONV OP * Perl_ck_fun(pTHX_ OP *o)
582 __attribute__warn_unused_result__
583 __attribute__visibility__("hidden");
584 #define PERL_ARGS_ASSERT_CK_FUN \
587 PERL_CALLCONV OP * Perl_ck_glob(pTHX_ OP *o)
588 __attribute__warn_unused_result__
589 __attribute__visibility__("hidden");
590 #define PERL_ARGS_ASSERT_CK_GLOB \
593 PERL_CALLCONV OP * Perl_ck_grep(pTHX_ OP *o)
594 __attribute__warn_unused_result__
595 __attribute__visibility__("hidden");
596 #define PERL_ARGS_ASSERT_CK_GREP \
599 PERL_CALLCONV OP * Perl_ck_index(pTHX_ OP *o)
600 __attribute__warn_unused_result__
601 __attribute__visibility__("hidden");
602 #define PERL_ARGS_ASSERT_CK_INDEX \
605 PERL_CALLCONV OP * Perl_ck_isa(pTHX_ OP *o)
606 __attribute__warn_unused_result__
607 __attribute__visibility__("hidden");
608 #define PERL_ARGS_ASSERT_CK_ISA \
611 PERL_CALLCONV OP * Perl_ck_join(pTHX_ OP *o)
612 __attribute__warn_unused_result__
613 __attribute__visibility__("hidden");
614 #define PERL_ARGS_ASSERT_CK_JOIN \
617 PERL_CALLCONV OP * Perl_ck_length(pTHX_ OP *o)
618 __attribute__warn_unused_result__
619 __attribute__visibility__("hidden");
620 #define PERL_ARGS_ASSERT_CK_LENGTH \
623 PERL_CALLCONV OP * Perl_ck_lfun(pTHX_ OP *o)
624 __attribute__warn_unused_result__
625 __attribute__visibility__("hidden");
626 #define PERL_ARGS_ASSERT_CK_LFUN \
629 PERL_CALLCONV OP * Perl_ck_listiob(pTHX_ OP *o)
630 __attribute__warn_unused_result__
631 __attribute__visibility__("hidden");
632 #define PERL_ARGS_ASSERT_CK_LISTIOB \
635 PERL_CALLCONV OP * Perl_ck_match(pTHX_ OP *o)
636 __attribute__warn_unused_result__
637 __attribute__visibility__("hidden");
638 #define PERL_ARGS_ASSERT_CK_MATCH \
641 PERL_CALLCONV OP * Perl_ck_method(pTHX_ OP *o)
642 __attribute__warn_unused_result__
643 __attribute__visibility__("hidden");
644 #define PERL_ARGS_ASSERT_CK_METHOD \
647 PERL_CALLCONV OP * Perl_ck_null(pTHX_ OP *o)
648 __attribute__warn_unused_result__
649 __attribute__visibility__("hidden");
650 #define PERL_ARGS_ASSERT_CK_NULL \
653 PERL_CALLCONV OP * Perl_ck_open(pTHX_ OP *o)
654 __attribute__warn_unused_result__
655 __attribute__visibility__("hidden");
656 #define PERL_ARGS_ASSERT_CK_OPEN \
659 PERL_CALLCONV OP * Perl_ck_prototype(pTHX_ OP *o)
660 __attribute__warn_unused_result__
661 __attribute__visibility__("hidden");
662 #define PERL_ARGS_ASSERT_CK_PROTOTYPE \
665 PERL_CALLCONV OP * Perl_ck_readline(pTHX_ OP *o)
666 __attribute__warn_unused_result__
667 __attribute__visibility__("hidden");
668 #define PERL_ARGS_ASSERT_CK_READLINE \
671 PERL_CALLCONV OP * Perl_ck_refassign(pTHX_ OP *o)
672 __attribute__warn_unused_result__
673 __attribute__visibility__("hidden");
674 #define PERL_ARGS_ASSERT_CK_REFASSIGN \
677 PERL_CALLCONV OP * Perl_ck_repeat(pTHX_ OP *o)
678 __attribute__warn_unused_result__
679 __attribute__visibility__("hidden");
680 #define PERL_ARGS_ASSERT_CK_REPEAT \
683 PERL_CALLCONV OP * Perl_ck_require(pTHX_ OP *o)
684 __attribute__warn_unused_result__
685 __attribute__visibility__("hidden");
686 #define PERL_ARGS_ASSERT_CK_REQUIRE \
689 PERL_CALLCONV OP * Perl_ck_return(pTHX_ OP *o)
690 __attribute__warn_unused_result__
691 __attribute__visibility__("hidden");
692 #define PERL_ARGS_ASSERT_CK_RETURN \
695 PERL_CALLCONV OP * Perl_ck_rfun(pTHX_ OP *o)
696 __attribute__warn_unused_result__
697 __attribute__visibility__("hidden");
698 #define PERL_ARGS_ASSERT_CK_RFUN \
701 PERL_CALLCONV OP * Perl_ck_rvconst(pTHX_ OP *o)
702 __attribute__warn_unused_result__
703 __attribute__visibility__("hidden");
704 #define PERL_ARGS_ASSERT_CK_RVCONST \
707 PERL_CALLCONV OP * Perl_ck_sassign(pTHX_ OP *o)
708 __attribute__warn_unused_result__
709 __attribute__visibility__("hidden");
710 #define PERL_ARGS_ASSERT_CK_SASSIGN \
713 PERL_CALLCONV OP * Perl_ck_select(pTHX_ OP *o)
714 __attribute__warn_unused_result__
715 __attribute__visibility__("hidden");
716 #define PERL_ARGS_ASSERT_CK_SELECT \
719 PERL_CALLCONV OP * Perl_ck_shift(pTHX_ OP *o)
720 __attribute__warn_unused_result__
721 __attribute__visibility__("hidden");
722 #define PERL_ARGS_ASSERT_CK_SHIFT \
725 PERL_CALLCONV OP * Perl_ck_smartmatch(pTHX_ OP *o)
726 __attribute__warn_unused_result__
727 __attribute__visibility__("hidden");
728 #define PERL_ARGS_ASSERT_CK_SMARTMATCH \
731 PERL_CALLCONV OP * Perl_ck_sort(pTHX_ OP *o)
732 __attribute__warn_unused_result__
733 __attribute__visibility__("hidden");
734 #define PERL_ARGS_ASSERT_CK_SORT \
737 PERL_CALLCONV OP * Perl_ck_spair(pTHX_ OP *o)
738 __attribute__warn_unused_result__
739 __attribute__visibility__("hidden");
740 #define PERL_ARGS_ASSERT_CK_SPAIR \
743 PERL_CALLCONV OP * Perl_ck_split(pTHX_ OP *o)
744 __attribute__warn_unused_result__
745 __attribute__visibility__("hidden");
746 #define PERL_ARGS_ASSERT_CK_SPLIT \
749 PERL_CALLCONV OP * Perl_ck_stringify(pTHX_ OP *o)
750 __attribute__warn_unused_result__
751 __attribute__visibility__("hidden");
752 #define PERL_ARGS_ASSERT_CK_STRINGIFY \
755 PERL_CALLCONV OP * Perl_ck_subr(pTHX_ OP *o)
756 __attribute__warn_unused_result__
757 __attribute__visibility__("hidden");
758 #define PERL_ARGS_ASSERT_CK_SUBR \
761 PERL_CALLCONV OP * Perl_ck_substr(pTHX_ OP *o)
762 __attribute__warn_unused_result__
763 __attribute__visibility__("hidden");
764 #define PERL_ARGS_ASSERT_CK_SUBSTR \
767 PERL_CALLCONV OP * Perl_ck_svconst(pTHX_ OP *o)
768 __attribute__warn_unused_result__
769 __attribute__visibility__("hidden");
770 #define PERL_ARGS_ASSERT_CK_SVCONST \
773 PERL_CALLCONV OP * Perl_ck_tell(pTHX_ OP *o)
774 __attribute__warn_unused_result__
775 __attribute__visibility__("hidden");
776 #define PERL_ARGS_ASSERT_CK_TELL \
779 PERL_CALLCONV OP * Perl_ck_trunc(pTHX_ OP *o)
780 __attribute__warn_unused_result__
781 __attribute__visibility__("hidden");
782 #define PERL_ARGS_ASSERT_CK_TRUNC \
785 PERL_CALLCONV OP * Perl_ck_trycatch(pTHX_ OP *o)
786 __attribute__warn_unused_result__
787 __attribute__visibility__("hidden");
788 #define PERL_ARGS_ASSERT_CK_TRYCATCH \
791 PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
792 __attribute__format__(__printf__,pTHX_2,pTHX_3);
793 #define PERL_ARGS_ASSERT_CK_WARNER \
796 PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
797 __attribute__format__(__printf__,pTHX_2,pTHX_3);
798 #define PERL_ARGS_ASSERT_CK_WARNER_D \
801 PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w)
802 __attribute__warn_unused_result__
804 #define PERL_ARGS_ASSERT_CKWARN
806 PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w)
807 __attribute__warn_unused_result__
809 #define PERL_ARGS_ASSERT_CKWARN_D
811 PERL_CALLCONV void Perl_clear_defarray(pTHX_ AV* av, bool abandon);
812 #define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
814 PERL_CALLCONV const COP* Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
815 __attribute__visibility__("hidden");
816 #define PERL_ARGS_ASSERT_CLOSEST_COP \
819 PERL_CALLCONV OP* Perl_cmpchain_extend(pTHX_ I32 type, OP* ch, OP* right)
820 __attribute__warn_unused_result__
821 __attribute__visibility__("hidden");
822 #define PERL_ARGS_ASSERT_CMPCHAIN_EXTEND \
825 PERL_CALLCONV OP* Perl_cmpchain_finish(pTHX_ OP* ch)
826 __attribute__warn_unused_result__
827 __attribute__visibility__("hidden");
828 #define PERL_ARGS_ASSERT_CMPCHAIN_FINISH \
831 PERL_CALLCONV OP* Perl_cmpchain_start(pTHX_ I32 type, OP* left, OP* right)
832 __attribute__warn_unused_result__
833 __attribute__visibility__("hidden");
834 #define PERL_ARGS_ASSERT_CMPCHAIN_START
836 PERL_CALLCONV const char * Perl_cntrl_to_mnemonic(const U8 c)
837 __attribute__warn_unused_result__;
838 #define PERL_ARGS_ASSERT_CNTRL_TO_MNEMONIC
840 PERL_CALLCONV const char * Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
841 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
843 PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
844 #define PERL_ARGS_ASSERT_COP_STORE_LABEL \
845 assert(cop); assert(label)
846 PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
847 __attribute__visibility__("hidden");
848 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
851 PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum)
852 __attribute__visibility__("hidden");
853 #define PERL_ARGS_ASSERT_CORESUB_OP \
856 PERL_CALLCONV void Perl_create_eval_scope(pTHX_ OP *retop, U32 flags)
857 __attribute__visibility__("hidden");
858 #define PERL_ARGS_ASSERT_CREATE_EVAL_SCOPE
860 PERL_CALLCONV_NO_RET void Perl_croak(pTHX_ const char* pat, ...)
861 __attribute__noreturn__
862 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
863 #define PERL_ARGS_ASSERT_CROAK
865 PERL_CALLCONV_NO_RET void Perl_croak_caller(const char* pat, ...)
866 __attribute__noreturn__
867 __attribute__visibility__("hidden")
868 __attribute__format__null_ok__(__printf__,1,2);
869 #define PERL_ARGS_ASSERT_CROAK_CALLER
871 PERL_STATIC_NO_RET void Perl_croak_memory_wrap(void)
872 __attribute__noreturn__;
873 #define PERL_ARGS_ASSERT_CROAK_MEMORY_WRAP
875 PERL_CALLCONV_NO_RET void Perl_croak_no_mem(void)
876 __attribute__noreturn__
877 __attribute__visibility__("hidden");
878 #define PERL_ARGS_ASSERT_CROAK_NO_MEM
880 PERL_CALLCONV_NO_RET void Perl_croak_no_modify(void)
881 __attribute__noreturn__;
882 #define PERL_ARGS_ASSERT_CROAK_NO_MODIFY
884 PERL_CALLCONV_NO_RET void Perl_croak_popstack(void)
885 __attribute__noreturn__;
886 #define PERL_ARGS_ASSERT_CROAK_POPSTACK
888 PERL_CALLCONV_NO_RET void Perl_croak_sv(pTHX_ SV *baseex)
889 __attribute__noreturn__;
890 #define PERL_ARGS_ASSERT_CROAK_SV \
893 PERL_CALLCONV_NO_RET void Perl_croak_xs_usage(const CV *const cv, const char *const params)
894 __attribute__noreturn__;
895 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
896 assert(cv); assert(params)
898 PERL_CALLCONV Signal_t Perl_csighandler1(int sig);
899 #define PERL_ARGS_ASSERT_CSIGHANDLER1
900 PERL_CALLCONV Signal_t Perl_csighandler3(int sig, Siginfo_t *info, void *uap);
901 #define PERL_ARGS_ASSERT_CSIGHANDLER3
902 PERL_CALLCONV regexp_engine const * Perl_current_re_engine(pTHX);
903 #define PERL_ARGS_ASSERT_CURRENT_RE_ENGINE
904 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
905 __attribute__warn_unused_result__;
906 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
909 PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
910 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
911 assert(ppaddr); assert(xop)
912 PERL_CALLCONV void Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
913 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
915 PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto);
916 #define PERL_ARGS_ASSERT_CV_CLONE \
918 PERL_CALLCONV CV* Perl_cv_clone_into(pTHX_ CV* proto, CV *target)
919 __attribute__visibility__("hidden");
920 #define PERL_ARGS_ASSERT_CV_CLONE_INTO \
921 assert(proto); assert(target)
923 PERL_CALLCONV SV* Perl_cv_const_sv(const CV *const cv)
924 __attribute__warn_unused_result__;
925 #define PERL_ARGS_ASSERT_CV_CONST_SV
927 PERL_CALLCONV SV* Perl_cv_const_sv_or_av(const CV *const cv)
928 __attribute__warn_unused_result__
929 __attribute__visibility__("hidden");
930 #define PERL_ARGS_ASSERT_CV_CONST_SV_OR_AV
932 PERL_CALLCONV void Perl_cv_forget_slab(pTHX_ CV *cv)
933 __attribute__visibility__("hidden");
934 #define PERL_ARGS_ASSERT_CV_FORGET_SLAB
936 PERL_CALLCONV void Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
937 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
938 assert(cv); assert(ckfun_p); assert(ckobj_p)
939 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);
940 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER_FLAGS \
941 assert(cv); assert(ckfun_p); assert(ckobj_p); assert(ckflags_p)
942 PERL_CALLCONV SV * Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
943 #define PERL_ARGS_ASSERT_CV_NAME \
945 PERL_CALLCONV void Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
946 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
947 assert(cv); assert(ckfun); assert(ckobj)
948 PERL_CALLCONV void Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 ckflags);
949 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
950 assert(cv); assert(ckfun); assert(ckobj)
951 PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv);
952 #define PERL_ARGS_ASSERT_CV_UNDEF \
954 PERL_CALLCONV void Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags)
955 __attribute__visibility__("hidden");
956 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
959 PERL_CALLCONV GV * Perl_cvgv_from_hek(pTHX_ CV* cv);
960 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK \
962 PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
963 #define PERL_ARGS_ASSERT_CVGV_SET \
965 PERL_CALLCONV void Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
966 #define PERL_ARGS_ASSERT_CVSTASH_SET \
968 PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
969 #define PERL_ARGS_ASSERT_CX_DUMP \
971 PERL_CALLCONV I32 Perl_cxinc(pTHX)
972 __attribute__warn_unused_result__;
973 #define PERL_ARGS_ASSERT_CXINC
975 PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
976 __attribute__format__(__printf__,pTHX_1,pTHX_2);
977 #define PERL_ARGS_ASSERT_DEB \
980 PERL_CALLCONV void Perl_deb_stack_all(pTHX)
981 __attribute__visibility__("hidden");
982 #define PERL_ARGS_ASSERT_DEB_STACK_ALL
984 PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o);
985 #define PERL_ARGS_ASSERT_DEBOP \
987 PERL_CALLCONV void Perl_debprofdump(pTHX);
988 #define PERL_ARGS_ASSERT_DEBPROFDUMP
989 PERL_CALLCONV I32 Perl_debstack(pTHX);
990 #define PERL_ARGS_ASSERT_DEBSTACK
991 PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
992 #define PERL_ARGS_ASSERT_DEBSTACKPTRS
993 PERL_CALLCONV void Perl_debug_hash_seed(pTHX_ bool via_debug_h)
994 __attribute__visibility__("hidden");
995 #define PERL_ARGS_ASSERT_DEBUG_HASH_SEED
997 PERL_CALLCONV SV * Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
998 __attribute__warn_unused_result__
999 __attribute__visibility__("hidden");
1000 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \
1003 PERL_CALLCONV void Perl_delete_eval_scope(pTHX)
1004 __attribute__visibility__("hidden");
1005 #define PERL_ARGS_ASSERT_DELETE_EVAL_SCOPE
1007 PERL_CALLCONV char* Perl_delimcpy(char* to, const char* to_end, const char* from, const char* from_end, const int delim, I32* retlen);
1008 #define PERL_ARGS_ASSERT_DELIMCPY \
1009 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1010 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);
1011 #define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE \
1012 assert(to); assert(to_end); assert(from); assert(from_end); assert(retlen)
1013 PERL_CALLCONV void Perl_despatch_signals(pTHX);
1014 #define PERL_ARGS_ASSERT_DESPATCH_SIGNALS
1015 PERL_CALLCONV_NO_RET OP* Perl_die(pTHX_ const char* pat, ...)
1016 __attribute__noreturn__
1017 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
1018 #define PERL_ARGS_ASSERT_DIE
1020 PERL_CALLCONV_NO_RET OP* Perl_die_sv(pTHX_ SV *baseex)
1021 __attribute__noreturn__;
1022 #define PERL_ARGS_ASSERT_DIE_SV \
1025 PERL_CALLCONV_NO_RET void Perl_die_unwind(pTHX_ SV* msv)
1026 __attribute__noreturn__
1027 __attribute__visibility__("hidden");
1028 #define PERL_ARGS_ASSERT_DIE_UNWIND \
1032 PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
1033 __attribute__visibility__("hidden");
1034 #define PERL_ARGS_ASSERT_DO_AEXEC \
1035 assert(mark); assert(sp)
1038 PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
1039 __attribute__visibility__("hidden");
1040 #define PERL_ARGS_ASSERT_DO_AEXEC5 \
1041 assert(mark); assert(sp)
1043 PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool is_explicit);
1044 #define PERL_ARGS_ASSERT_DO_CLOSE
1045 PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
1046 __attribute__visibility__("hidden");
1047 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \
1050 PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
1051 __attribute__visibility__("hidden");
1052 #define PERL_ARGS_ASSERT_DO_EOF \
1055 PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1056 #define PERL_ARGS_ASSERT_DO_GV_DUMP \
1057 assert(file); assert(name)
1058 PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
1059 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
1060 assert(file); assert(name)
1061 PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
1062 #define PERL_ARGS_ASSERT_DO_HV_DUMP \
1063 assert(file); assert(name)
1064 PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
1065 #define PERL_ARGS_ASSERT_DO_JOIN \
1066 assert(sv); assert(delim); assert(mark); assert(sp)
1067 PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1068 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
1070 PERL_CALLCONV I32 Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
1071 __attribute__warn_unused_result__
1072 __attribute__visibility__("hidden");
1073 #define PERL_ARGS_ASSERT_DO_NCMP \
1074 assert(left); assert(right)
1076 PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
1077 #define PERL_ARGS_ASSERT_DO_OP_DUMP \
1080 PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
1081 #define PERL_ARGS_ASSERT_DO_OPEN \
1082 assert(gv); assert(name)
1084 PERL_CALLCONV bool Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num)
1085 __attribute__visibility__("hidden");
1086 #define PERL_ARGS_ASSERT_DO_OPEN6 \
1087 assert(gv); assert(oname)
1089 PERL_CALLCONV bool Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm, Stat_t *statbufp)
1090 __attribute__visibility__("hidden");
1091 #define PERL_ARGS_ASSERT_DO_OPEN_RAW \
1092 assert(gv); assert(oname)
1094 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);
1095 #define PERL_ARGS_ASSERT_DO_OPENN \
1096 assert(gv); assert(oname)
1097 PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
1098 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
1100 PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
1101 __attribute__visibility__("hidden");
1102 #define PERL_ARGS_ASSERT_DO_PRINT \
1105 PERL_CALLCONV OP* Perl_do_readline(pTHX)
1106 __attribute__warn_unused_result__
1107 __attribute__visibility__("hidden");
1108 #define PERL_ARGS_ASSERT_DO_READLINE
1110 PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence)
1111 __attribute__visibility__("hidden");
1112 #define PERL_ARGS_ASSERT_DO_SEEK
1114 PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, SSize_t len, SV** sarg);
1115 #define PERL_ARGS_ASSERT_DO_SPRINTF \
1116 assert(sv); assert(sarg)
1117 PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
1118 #define PERL_ARGS_ASSERT_DO_SV_DUMP \
1120 PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
1121 __attribute__visibility__("hidden");
1122 #define PERL_ARGS_ASSERT_DO_SYSSEEK \
1125 PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
1126 __attribute__warn_unused_result__
1127 __attribute__visibility__("hidden");
1128 #define PERL_ARGS_ASSERT_DO_TELL \
1131 PERL_CALLCONV Size_t Perl_do_trans(pTHX_ SV* sv)
1132 __attribute__visibility__("hidden");
1133 #define PERL_ARGS_ASSERT_DO_TRANS \
1136 PERL_CALLCONV I16 Perl_do_uniprop_match(const char * const key, const U16 key_len)
1137 __attribute__warn_unused_result__;
1138 #define PERL_ARGS_ASSERT_DO_UNIPROP_MATCH \
1141 PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, STRLEN offset, int size)
1142 __attribute__visibility__("hidden");
1143 #define PERL_ARGS_ASSERT_DO_VECGET \
1146 PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv)
1147 __attribute__visibility__("hidden");
1148 #define PERL_ARGS_ASSERT_DO_VECSET \
1151 PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
1152 __attribute__visibility__("hidden");
1153 #define PERL_ARGS_ASSERT_DO_VOP \
1154 assert(sv); assert(left); assert(right)
1156 PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin)
1157 __attribute__visibility__("hidden");
1158 #define PERL_ARGS_ASSERT_DOFILE \
1161 PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
1162 __attribute__warn_unused_result__;
1163 #define PERL_ARGS_ASSERT_DOING_TAINT
1165 PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
1166 #define PERL_ARGS_ASSERT_DOREF \
1168 PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
1169 #define PERL_ARGS_ASSERT_DOUNWIND
1170 PERL_CALLCONV U8 Perl_dowantarray(pTHX)
1171 __attribute__warn_unused_result__;
1172 #define PERL_ARGS_ASSERT_DOWANTARRAY
1174 PERL_CALLCONV void Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
1175 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1176 assert(random_state)
1177 PERL_CALLCONV double Perl_drand48_r(perl_drand48_t *random_state);
1178 #define PERL_ARGS_ASSERT_DRAND48_R \
1179 assert(random_state)
1180 PERL_CALLCONV void Perl_dump_all(pTHX);
1181 #define PERL_ARGS_ASSERT_DUMP_ALL
1182 PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl)
1183 __attribute__visibility__("hidden");
1184 #define PERL_ARGS_ASSERT_DUMP_ALL_PERL
1186 PERL_CALLCONV void Perl_dump_eval(pTHX);
1187 #define PERL_ARGS_ASSERT_DUMP_EVAL
1188 PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv);
1189 #define PERL_ARGS_ASSERT_DUMP_FORM \
1191 PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1192 __attribute__format__(__printf__,pTHX_3,pTHX_4);
1193 #define PERL_ARGS_ASSERT_DUMP_INDENT \
1194 assert(file); assert(pat)
1196 PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash);
1197 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
1199 PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
1200 __attribute__visibility__("hidden");
1201 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
1204 PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv);
1205 #define PERL_ARGS_ASSERT_DUMP_SUB \
1207 PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
1208 __attribute__visibility__("hidden");
1209 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
1212 PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
1213 #define PERL_ARGS_ASSERT_DUMP_VINDENT \
1214 assert(file); assert(pat)
1215 PERL_CALLCONV STRLEN* Perl_dup_warnings(pTHX_ STRLEN* warnings);
1216 #define PERL_ARGS_ASSERT_DUP_WARNINGS
1217 PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
1218 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1219 assert(c); assert(sv)
1220 PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
1221 #define PERL_ARGS_ASSERT_EVAL_PV \
1223 PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags);
1224 #define PERL_ARGS_ASSERT_EVAL_SV \
1226 PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
1227 #define PERL_ARGS_ASSERT_FBM_COMPILE \
1229 PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
1230 __attribute__warn_unused_result__;
1231 #define PERL_ARGS_ASSERT_FBM_INSTR \
1232 assert(big); assert(bigend); assert(littlestr)
1234 PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1235 #define PERL_ARGS_ASSERT_FILTER_ADD
1236 PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp);
1237 #define PERL_ARGS_ASSERT_FILTER_DEL \
1239 PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1240 __attribute__warn_unused_result__;
1241 #define PERL_ARGS_ASSERT_FILTER_READ \
1244 PERL_CALLCONV void Perl_finalize_optree(pTHX_ OP* o)
1245 __attribute__visibility__("hidden");
1246 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
1249 PERL_CALLCONV CV * Perl_find_lexical_cv(pTHX_ PADOFFSET off)
1250 __attribute__visibility__("hidden");
1251 #define PERL_ARGS_ASSERT_FIND_LEXICAL_CV
1253 PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp)
1254 __attribute__warn_unused_result__;
1255 #define PERL_ARGS_ASSERT_FIND_RUNCV
1257 PERL_CALLCONV CV* Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
1258 __attribute__warn_unused_result__
1259 __attribute__visibility__("hidden");
1260 #define PERL_ARGS_ASSERT_FIND_RUNCV_WHERE
1262 PERL_CALLCONV SV* Perl_find_rundefsv(pTHX);
1263 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV
1264 PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
1265 __attribute__visibility__("hidden");
1266 #define PERL_ARGS_ASSERT_FIND_SCRIPT \
1269 #ifndef PERL_NO_INLINE_FUNCTIONS
1270 PERL_STATIC_INLINE I32 Perl_foldEQ(pTHX_ const char* a, const char* b, I32 len);
1271 #define PERL_ARGS_ASSERT_FOLDEQ \
1272 assert(a); assert(b)
1274 #ifndef PERL_NO_INLINE_FUNCTIONS
1275 PERL_STATIC_INLINE I32 Perl_foldEQ_latin1(pTHX_ const char* a, const char* b, I32 len);
1276 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
1277 assert(a); assert(b)
1279 #ifndef PERL_NO_INLINE_FUNCTIONS
1280 PERL_STATIC_INLINE I32 Perl_foldEQ_locale(pTHX_ const char* a, const char* b, I32 len);
1281 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
1282 assert(a); assert(b)
1284 /* PERL_CALLCONV I32 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1285 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8
1286 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);
1287 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
1288 assert(s1); assert(s2)
1289 PERL_CALLCONV void Perl_force_locale_unlock(void)
1290 __attribute__visibility__("hidden");
1291 #define PERL_ARGS_ASSERT_FORCE_LOCALE_UNLOCK
1293 PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
1294 __attribute__format__(__printf__,pTHX_1,pTHX_2);
1295 #define PERL_ARGS_ASSERT_FORM \
1298 PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX)
1299 __attribute__visibility__("hidden");
1300 #define PERL_ARGS_ASSERT_FREE_TIED_HV_POOL
1302 PERL_CALLCONV void Perl_free_tmps(pTHX);
1303 #define PERL_ARGS_ASSERT_FREE_TMPS
1304 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)
1305 __attribute__warn_unused_result__;
1306 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \
1307 assert(s); assert(e); assert(error_msg)
1309 PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags);
1310 #define PERL_ARGS_ASSERT_GET_AV \
1312 PERL_CALLCONV void* Perl_get_context(void)
1313 __attribute__warn_unused_result__;
1314 #define PERL_ARGS_ASSERT_GET_CONTEXT
1316 PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags);
1317 #define PERL_ARGS_ASSERT_GET_CV \
1319 PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
1320 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
1322 PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
1323 #define PERL_ARGS_ASSERT_GET_DB_SUB \
1325 PERL_CALLCONV const char * Perl_get_deprecated_property_msg(const Size_t warning_offset)
1326 __attribute__warn_unused_result__;
1327 #define PERL_ARGS_ASSERT_GET_DEPRECATED_PROPERTY_MSG
1329 PERL_CALLCONV void Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
1330 __attribute__visibility__("hidden");
1331 #define PERL_ARGS_ASSERT_GET_HASH_SEED \
1334 PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags);
1335 #define PERL_ARGS_ASSERT_GET_HV \
1337 PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
1338 __attribute__deprecated__
1339 __attribute__warn_unused_result__
1341 __attribute__visibility__("hidden");
1342 #define PERL_ARGS_ASSERT_GET_NO_MODIFY
1344 PERL_CALLCONV char** Perl_get_op_descs(pTHX)
1345 __attribute__deprecated__
1346 __attribute__warn_unused_result__
1347 __attribute__pure__;
1348 #define PERL_ARGS_ASSERT_GET_OP_DESCS
1350 PERL_CALLCONV char** Perl_get_op_names(pTHX)
1351 __attribute__deprecated__
1352 __attribute__warn_unused_result__
1353 __attribute__pure__;
1354 #define PERL_ARGS_ASSERT_GET_OP_NAMES
1356 PERL_CALLCONV U32* Perl_get_opargs(pTHX)
1357 __attribute__deprecated__
1358 __attribute__warn_unused_result__
1360 __attribute__visibility__("hidden");
1361 #define PERL_ARGS_ASSERT_GET_OPARGS
1363 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1364 __attribute__deprecated__
1365 __attribute__warn_unused_result__
1366 __attribute__pure__;
1367 #define PERL_ARGS_ASSERT_GET_PPADDR
1369 PERL_CALLCONV SV * Perl_get_prop_definition(pTHX_ const int table_index)
1370 __attribute__warn_unused_result__;
1371 #define PERL_ARGS_ASSERT_GET_PROP_DEFINITION
1373 PERL_CALLCONV const char * const * Perl_get_prop_values(const int table_index)
1374 __attribute__warn_unused_result__;
1375 #define PERL_ARGS_ASSERT_GET_PROP_VALUES
1377 PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv);
1378 #define PERL_ARGS_ASSERT_GET_RE_ARG
1379 PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags);
1380 #define PERL_ARGS_ASSERT_GET_SV \
1382 PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id)
1383 __attribute__warn_unused_result__;
1384 #define PERL_ARGS_ASSERT_GET_VTBL
1386 PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv);
1387 #define PERL_ARGS_ASSERT_GETCWD_SV \
1389 PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
1390 #define PERL_ARGS_ASSERT_GP_FREE
1391 PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
1392 #define PERL_ARGS_ASSERT_GP_REF
1393 PERL_CALLCONV bool Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
1394 #define PERL_ARGS_ASSERT_GROK_ATOUV \
1395 assert(pv); assert(valptr)
1396 PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1397 #define PERL_ARGS_ASSERT_GROK_BIN \
1398 assert(start); assert(len_p); assert(flags)
1399 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);
1400 #define PERL_ARGS_ASSERT_GROK_BIN_OCT_HEX \
1401 assert(start); assert(len_p); assert(flags)
1402 PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1403 #define PERL_ARGS_ASSERT_GROK_HEX \
1404 assert(start); assert(len_p); assert(flags)
1405 PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send);
1406 #define PERL_ARGS_ASSERT_GROK_INFNAN \
1407 assert(sp); assert(send)
1408 PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
1409 #define PERL_ARGS_ASSERT_GROK_NUMBER \
1411 PERL_CALLCONV int Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
1412 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \
1414 PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1415 __attribute__warn_unused_result__;
1416 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1417 assert(sp); assert(send)
1419 PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
1420 #define PERL_ARGS_ASSERT_GROK_OCT \
1421 assert(start); assert(len_p); assert(flags)
1423 PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv);
1424 #define PERL_ARGS_ASSERT_GV_AVADD
1427 PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv);
1428 #define PERL_ARGS_ASSERT_GV_HVADD
1431 PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv);
1432 #define PERL_ARGS_ASSERT_GV_IOADD
1434 PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
1435 #define PERL_ARGS_ASSERT_GV_ADD_BY_TYPE
1436 /* PERL_CALLCONV GV* gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1437 __attribute__warn_unused_result__; */
1438 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4
1440 PERL_CALLCONV GV* Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
1441 __attribute__warn_unused_result__;
1442 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
1445 PERL_CALLCONV GV* Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
1446 __attribute__warn_unused_result__;
1447 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
1450 PERL_CALLCONV GV* Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
1451 __attribute__warn_unused_result__;
1452 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
1455 PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash);
1456 #define PERL_ARGS_ASSERT_GV_CHECK \
1458 PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
1459 __attribute__warn_unused_result__;
1460 #define PERL_ARGS_ASSERT_GV_CONST_SV \
1463 PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv);
1464 #define PERL_ARGS_ASSERT_GV_DUMP
1466 PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1467 #define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
1468 assert(sv); assert(gv)
1470 PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1471 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1472 assert(sv); assert(gv)
1473 PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name);
1474 #define PERL_ARGS_ASSERT_GV_FETCHFILE \
1476 PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
1477 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1479 /* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1480 #define PERL_ARGS_ASSERT_GV_FETCHMETH
1481 /* PERL_CALLCONV GV* gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1482 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD
1483 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1484 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
1486 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
1487 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
1489 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1490 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1492 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
1493 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1495 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1496 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1498 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
1499 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1502 PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
1503 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
1504 assert(stash); assert(name)
1506 PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
1507 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
1508 assert(stash); assert(name)
1509 PERL_CALLCONV GV* Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
1510 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
1511 assert(stash); assert(name)
1512 PERL_CALLCONV GV* Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
1513 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1514 assert(stash); assert(name)
1515 PERL_CALLCONV GV* Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
1516 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1517 assert(stash); assert(namesv)
1518 PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 flags, const svtype sv_type);
1519 #define PERL_ARGS_ASSERT_GV_FETCHPV \
1521 PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
1522 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1524 PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
1525 #define PERL_ARGS_ASSERT_GV_FETCHSV \
1528 PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
1529 #define PERL_ARGS_ASSERT_GV_FULLNAME3 \
1530 assert(sv); assert(gv)
1532 PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
1533 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1534 assert(sv); assert(gv)
1535 PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
1536 __attribute__warn_unused_result__;
1537 #define PERL_ARGS_ASSERT_GV_HANDLER
1539 /* PERL_CALLCONV void gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1540 #define PERL_ARGS_ASSERT_GV_INIT
1541 PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
1542 #define PERL_ARGS_ASSERT_GV_INIT_PV \
1543 assert(gv); assert(name)
1544 PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
1545 #define PERL_ARGS_ASSERT_GV_INIT_PVN \
1546 assert(gv); assert(name)
1547 PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
1548 #define PERL_ARGS_ASSERT_GV_INIT_SV \
1549 assert(gv); assert(namesv)
1550 PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
1551 #define PERL_ARGS_ASSERT_GV_NAME_SET \
1552 assert(gv); assert(name)
1553 PERL_CALLCONV GV * Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
1554 #define PERL_ARGS_ASSERT_GV_OVERRIDE \
1556 PERL_CALLCONV void Perl_gv_setref(pTHX_ SV *const dsv, SV *const ssv)
1557 __attribute__visibility__("hidden");
1558 #define PERL_ARGS_ASSERT_GV_SETREF \
1559 assert(dsv); assert(ssv)
1561 PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
1562 #define PERL_ARGS_ASSERT_GV_STASHPV \
1564 PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
1565 #define PERL_ARGS_ASSERT_GV_STASHPVN \
1567 PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
1568 #define PERL_ARGS_ASSERT_GV_STASHSV \
1570 PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv);
1571 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1573 PERL_CALLCONV struct xpvhv_aux* Perl_hv_auxalloc(pTHX_ HV *hv)
1574 __attribute__visibility__("hidden");
1575 #define PERL_ARGS_ASSERT_HV_AUXALLOC \
1578 PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv)
1579 __attribute__visibility__("hidden");
1580 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1583 PERL_CALLCONV SV* Perl_hv_bucket_ratio(pTHX_ HV *hv)
1584 __attribute__warn_unused_result__;
1585 #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \
1588 PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
1589 #define PERL_ARGS_ASSERT_HV_CLEAR
1590 PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv);
1591 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1593 PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1594 #define PERL_ARGS_ASSERT_HV_COMMON
1595 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);
1596 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1598 PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1599 __attribute__warn_unused_result__;
1600 #define PERL_ARGS_ASSERT_HV_COPY_HINTS_HV
1602 PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *notused, HE *entry);
1603 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT
1605 PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
1606 #define PERL_ARGS_ASSERT_HV_DELETE \
1610 PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
1611 #define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1614 PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
1615 __attribute__warn_unused_result__;
1616 #define PERL_ARGS_ASSERT_HV_EITER_P \
1619 PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
1620 #define PERL_ARGS_ASSERT_HV_EITER_SET \
1622 PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1623 __attribute__visibility__("hidden");
1624 #define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1625 assert(hv); assert(name)
1627 PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1628 __attribute__visibility__("hidden");
1629 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1630 assert(hv); assert(name)
1633 PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1634 __attribute__warn_unused_result__;
1635 #define PERL_ARGS_ASSERT_HV_EXISTS \
1640 PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1641 __attribute__warn_unused_result__;
1642 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1647 PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
1648 #define PERL_ARGS_ASSERT_HV_FETCH \
1652 PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
1653 #define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1656 PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV *const hv);
1657 #define PERL_ARGS_ASSERT_HV_FILL \
1659 PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *notused, HE *entry);
1660 #define PERL_ARGS_ASSERT_HV_FREE_ENT
1661 PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv);
1662 #define PERL_ARGS_ASSERT_HV_ITERINIT \
1664 PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1665 __attribute__warn_unused_result__;
1666 #define PERL_ARGS_ASSERT_HV_ITERKEY \
1667 assert(entry); assert(retlen)
1669 PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
1670 __attribute__warn_unused_result__;
1671 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1675 PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
1676 __attribute__warn_unused_result__;
1677 #define PERL_ARGS_ASSERT_HV_ITERNEXT \
1681 PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1682 __attribute__warn_unused_result__;
1683 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1686 PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1687 __attribute__warn_unused_result__;
1688 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1689 assert(hv); assert(key); assert(retlen)
1691 PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1692 __attribute__warn_unused_result__;
1693 #define PERL_ARGS_ASSERT_HV_ITERVAL \
1694 assert(hv); assert(entry)
1696 PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
1697 #define PERL_ARGS_ASSERT_HV_KSPLIT \
1700 PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
1701 #define PERL_ARGS_ASSERT_HV_MAGIC \
1704 PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
1705 #define PERL_ARGS_ASSERT_HV_NAME_SET \
1707 PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1708 __attribute__warn_unused_result__;
1709 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1712 PERL_CALLCONV SSize_t* Perl_hv_placeholders_p(pTHX_ HV *hv)
1713 __attribute__warn_unused_result__;
1714 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1717 PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
1718 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1720 PERL_CALLCONV void Perl_hv_pushkv(pTHX_ HV *hv, U32 flags)
1721 __attribute__visibility__("hidden");
1722 #define PERL_ARGS_ASSERT_HV_PUSHKV \
1725 PERL_CALLCONV void Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
1726 #define PERL_ARGS_ASSERT_HV_RAND_SET \
1728 PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
1729 __attribute__warn_unused_result__;
1730 #define PERL_ARGS_ASSERT_HV_RITER_P \
1733 PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
1734 #define PERL_ARGS_ASSERT_HV_RITER_SET \
1736 PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
1737 __attribute__warn_unused_result__;
1738 #define PERL_ARGS_ASSERT_HV_SCALAR \
1742 PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1743 #define PERL_ARGS_ASSERT_HV_STORE
1746 PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1747 #define PERL_ARGS_ASSERT_HV_STORE_ENT
1750 PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1751 #define PERL_ARGS_ASSERT_HV_STORE_FLAGS
1753 /* PERL_CALLCONV SV** hv_stores(pTHX_ HV* hv, const char * const key, SV* val); */
1754 #define PERL_ARGS_ASSERT_HV_STORES
1755 /* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */
1756 #define PERL_ARGS_ASSERT_HV_UNDEF
1757 PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
1758 #define PERL_ARGS_ASSERT_HV_UNDEF_FLAGS
1759 /* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1760 __attribute__warn_unused_result__
1761 __attribute__pure__; */
1762 #define PERL_ARGS_ASSERT_IBCMP
1764 /* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1765 __attribute__warn_unused_result__
1766 __attribute__pure__; */
1767 #define PERL_ARGS_ASSERT_IBCMP_LOCALE
1769 /* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1770 #define PERL_ARGS_ASSERT_IBCMP_UTF8
1771 PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1772 __attribute__visibility__("hidden");
1773 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1776 PERL_CALLCONV void Perl_init_constants(pTHX)
1777 __attribute__visibility__("hidden");
1778 #define PERL_ARGS_ASSERT_INIT_CONSTANTS
1780 PERL_CALLCONV void Perl_init_dbargs(pTHX)
1781 __attribute__visibility__("hidden");
1782 #define PERL_ARGS_ASSERT_INIT_DBARGS
1784 PERL_CALLCONV void Perl_init_debugger(pTHX)
1785 __attribute__visibility__("hidden");
1786 #define PERL_ARGS_ASSERT_INIT_DEBUGGER
1788 PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
1789 #define PERL_ARGS_ASSERT_INIT_I18NL10N
1790 PERL_CALLCONV void Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
1791 #define PERL_ARGS_ASSERT_INIT_NAMED_CV \
1792 assert(cv); assert(nameop)
1793 PERL_CALLCONV void Perl_init_stacks(pTHX);
1794 #define PERL_ARGS_ASSERT_INIT_STACKS
1795 PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm);
1796 #define PERL_ARGS_ASSERT_INIT_TM \
1798 PERL_CALLCONV void Perl_init_uniprops(pTHX)
1799 __attribute__visibility__("hidden");
1800 #define PERL_ARGS_ASSERT_INIT_UNIPROPS
1803 PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
1804 __attribute__warn_unused_result__
1805 __attribute__pure__;
1806 #define PERL_ARGS_ASSERT_INSTR \
1807 assert(big); assert(little)
1810 PERL_CALLCONV U32 Perl_intro_my(pTHX);
1811 #define PERL_ARGS_ASSERT_INTRO_MY
1812 PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1813 __attribute__warn_unused_result__
1814 __attribute__visibility__("hidden");
1815 #define PERL_ARGS_ASSERT_INVERT
1817 PERL_CALLCONV void Perl_invmap_dump(pTHX_ SV* invlist, UV * map)
1818 __attribute__visibility__("hidden");
1819 #define PERL_ARGS_ASSERT_INVMAP_DUMP \
1820 assert(invlist); assert(map)
1822 PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, GV *gv, bool is_explicit, bool warn_on_fail)
1823 __attribute__visibility__("hidden");
1824 #define PERL_ARGS_ASSERT_IO_CLOSE \
1827 #ifndef PERL_NO_INLINE_FUNCTIONS
1828 PERL_STATIC_INLINE Size_t Perl_isC9_STRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1829 __attribute__warn_unused_result__;
1830 #define PERL_ARGS_ASSERT_ISC9_STRICT_UTF8_CHAR \
1831 assert(s0); assert(e)
1834 #ifndef PERL_NO_INLINE_FUNCTIONS
1835 PERL_STATIC_INLINE Size_t Perl_isSTRICT_UTF8_CHAR(const U8 * const s0, const U8 * const e)
1836 __attribute__warn_unused_result__;
1837 #define PERL_ARGS_ASSERT_ISSTRICT_UTF8_CHAR \
1838 assert(s0); assert(e)
1841 #ifndef PERL_NO_INLINE_FUNCTIONS
1842 PERL_STATIC_INLINE Size_t Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
1843 __attribute__warn_unused_result__;
1844 #define PERL_ARGS_ASSERT_ISUTF8_CHAR \
1845 assert(s0); assert(e)
1848 #ifndef PERL_NO_INLINE_FUNCTIONS
1849 PERL_STATIC_INLINE Size_t Perl_isUTF8_CHAR_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1850 __attribute__warn_unused_result__;
1851 #define PERL_ARGS_ASSERT_ISUTF8_CHAR_FLAGS \
1852 assert(s0); assert(e)
1855 /* PERL_CALLCONV bool is_ascii_string(const U8* const s, STRLEN len)
1856 __attribute__warn_unused_result__
1857 __attribute__pure__; */
1858 #define PERL_ARGS_ASSERT_IS_ASCII_STRING
1860 /* PERL_CALLCONV bool is_c9strict_utf8_string(const U8 *s, STRLEN len)
1861 __attribute__warn_unused_result__; */
1862 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING
1864 /* PERL_CALLCONV bool is_c9strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1865 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOC
1866 #ifndef PERL_NO_INLINE_FUNCTIONS
1867 PERL_STATIC_INLINE bool Perl_is_c9strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1868 #define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1871 /* PERL_CALLCONV bool is_invariant_string(const U8* const s, STRLEN len)
1872 __attribute__warn_unused_result__
1873 __attribute__pure__; */
1874 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING
1876 PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1877 __attribute__warn_unused_result__;
1878 #define PERL_ARGS_ASSERT_IS_LVALUE_SUB
1880 #ifndef PERL_NO_INLINE_FUNCTIONS
1881 PERL_STATIC_INLINE bool Perl_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
1882 __attribute__warn_unused_result__;
1883 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \
1884 assert(pv); assert(what); assert(op_name)
1887 /* PERL_CALLCONV bool is_strict_utf8_string(const U8 *s, STRLEN len)
1888 __attribute__warn_unused_result__; */
1889 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING
1891 /* PERL_CALLCONV bool is_strict_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep); */
1892 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOC
1893 #ifndef PERL_NO_INLINE_FUNCTIONS
1894 PERL_STATIC_INLINE bool Perl_is_strict_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1895 #define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
1898 PERL_CALLCONV Size_t Perl_is_utf8_FF_helper_(const U8 * const s0, const U8 * const e, const bool require_partial)
1899 __attribute__warn_unused_result__
1900 __attribute__pure__;
1901 #define PERL_ARGS_ASSERT_IS_UTF8_FF_HELPER_ \
1902 assert(s0); assert(e)
1905 PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
1906 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
1907 assert(buf); assert(buf_end)
1909 PERL_CALLCONV STRLEN Perl_is_utf8_char_helper_(const U8 * const s, const U8 * e, const U32 flags)
1910 __attribute__warn_unused_result__
1911 __attribute__pure__;
1912 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER_ \
1913 assert(s); assert(e)
1915 /* PERL_CALLCONV bool is_utf8_fixed_width_buf_flags(const U8 * const s, STRLEN len, const U32 flags); */
1916 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_FLAGS
1917 /* PERL_CALLCONV bool is_utf8_fixed_width_buf_loc_flags(const U8 * const s, STRLEN len, const U8 **ep, const U32 flags); */
1918 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOC_FLAGS
1919 #ifndef PERL_NO_INLINE_FUNCTIONS
1920 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);
1921 #define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
1924 /* PERL_CALLCONV bool is_utf8_invariant_string(const U8* const s, STRLEN len)
1925 __attribute__warn_unused_result__; */
1926 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING
1928 #ifndef PERL_NO_INLINE_FUNCTIONS
1929 PERL_STATIC_INLINE bool Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
1930 __attribute__warn_unused_result__;
1931 #define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING_LOC \
1935 /* PERL_CALLCONV bool is_utf8_string(const U8 *s, STRLEN len)
1936 __attribute__warn_unused_result__; */
1937 #define PERL_ARGS_ASSERT_IS_UTF8_STRING
1939 #ifndef PERL_NO_INLINE_FUNCTIONS
1940 PERL_STATIC_INLINE bool Perl_is_utf8_string_flags(const U8 *s, STRLEN len, const U32 flags)
1941 __attribute__warn_unused_result__;
1942 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS \
1947 PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
1948 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
1949 assert(s); assert(ep)
1951 /* PERL_CALLCONV bool is_utf8_string_loc_flags(const U8 *s, STRLEN len, const U8 **ep, const U32 flags); */
1952 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC_FLAGS
1953 #ifndef PERL_NO_INLINE_FUNCTIONS
1954 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el);
1955 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1958 #ifndef PERL_NO_INLINE_FUNCTIONS
1959 PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen_flags(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1960 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
1963 /* PERL_CALLCONV bool is_utf8_valid_partial_char(const U8 * const s0, const U8 * const e)
1964 __attribute__warn_unused_result__
1965 __attribute__pure__; */
1966 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR
1968 #ifndef PERL_NO_INLINE_FUNCTIONS
1969 PERL_STATIC_INLINE bool Perl_is_utf8_valid_partial_char_flags(const U8 * const s0, const U8 * const e, const U32 flags)
1970 __attribute__warn_unused_result__;
1971 #define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
1972 assert(s0); assert(e)
1975 PERL_CALLCONV bool Perl_isinfnan(NV nv)
1976 __attribute__warn_unused_result__
1977 __attribute__pure__;
1978 #define PERL_ARGS_ASSERT_ISINFNAN
1980 PERL_CALLCONV bool Perl_isinfnansv(pTHX_ SV *sv)
1981 __attribute__visibility__("hidden");
1982 #define PERL_ARGS_ASSERT_ISINFNANSV \
1985 PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
1986 __attribute__visibility__("hidden");
1987 #define PERL_ARGS_ASSERT_JMAYBE \
1990 PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1991 __attribute__warn_unused_result__
1993 __attribute__visibility__("hidden");
1994 #define PERL_ARGS_ASSERT_KEYWORD \
1997 PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
1998 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1999 assert(keyword_ptr); assert(op_ptr)
2000 PERL_CALLCONV void Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
2001 #define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS \
2002 assert(from_sp); assert(to_sp)
2003 PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
2004 #define PERL_ARGS_ASSERT_LEAVE_SCOPE
2005 PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
2006 #define PERL_ARGS_ASSERT_LEX_BUFUTF8
2007 PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr);
2008 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2010 PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
2011 #define PERL_ARGS_ASSERT_LEX_GROW_LINESTR
2012 PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
2013 #define PERL_ARGS_ASSERT_LEX_NEXT_CHUNK
2014 PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
2015 #define PERL_ARGS_ASSERT_LEX_PEEK_UNICHAR
2016 PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
2017 #define PERL_ARGS_ASSERT_LEX_READ_SPACE
2018 PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr);
2019 #define PERL_ARGS_ASSERT_LEX_READ_TO \
2021 PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
2022 #define PERL_ARGS_ASSERT_LEX_READ_UNICHAR
2023 PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
2024 #define PERL_ARGS_ASSERT_LEX_START
2025 PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
2026 #define PERL_ARGS_ASSERT_LEX_STUFF_PV \
2028 PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
2029 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
2031 PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
2032 #define PERL_ARGS_ASSERT_LEX_STUFF_SV \
2034 PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr);
2035 #define PERL_ARGS_ASSERT_LEX_UNSTUFF \
2037 PERL_CALLCONV OP* Perl_list(pTHX_ OP* o)
2038 __attribute__visibility__("hidden");
2039 #define PERL_ARGS_ASSERT_LIST
2041 PERL_CALLCONV HV* Perl_load_charnames(pTHX_ SV * char_name, const char * context, const STRLEN context_len, const char ** error_msg)
2042 __attribute__warn_unused_result__;
2043 #define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
2044 assert(char_name); assert(context); assert(error_msg)
2046 PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
2047 #define PERL_ARGS_ASSERT_LOAD_MODULE \
2049 PERL_CALLCONV_NO_RET void Perl_locale_panic(const char * msg, const char * file_name, const line_t line, const int errnum)
2050 __attribute__noreturn__;
2051 #define PERL_ARGS_ASSERT_LOCALE_PANIC \
2052 assert(msg); assert(file_name)
2054 PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
2055 __attribute__visibility__("hidden");
2056 #define PERL_ARGS_ASSERT_LOCALIZE \
2059 PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
2060 __attribute__warn_unused_result__;
2061 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
2064 #ifndef PERL_NO_INLINE_FUNCTIONS
2065 PERL_STATIC_INLINE unsigned Perl_lsbit_pos32(U32 word)
2066 __attribute__warn_unused_result__;
2067 #define PERL_ARGS_ASSERT_LSBIT_POS32
2070 PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
2071 __attribute__visibility__("hidden");
2072 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
2073 assert(sv); assert(mg)
2075 PERL_CALLCONV int Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2076 __attribute__visibility__("hidden");
2077 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
2078 assert(sv); assert(mg)
2080 PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2081 __attribute__visibility__("hidden");
2082 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2083 assert(sv); assert(mg)
2085 PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2086 __attribute__visibility__("hidden");
2087 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
2088 assert(sv); assert(mg)
2090 PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2091 __attribute__visibility__("hidden");
2092 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
2093 assert(sv); assert(mg)
2095 PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
2096 __attribute__visibility__("hidden");
2097 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
2100 PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2101 __attribute__visibility__("hidden");
2102 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
2103 assert(sv); assert(mg)
2105 PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2106 __attribute__visibility__("hidden");
2107 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2108 assert(sv); assert(mg)
2110 PERL_CALLCONV int Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2111 __attribute__visibility__("hidden");
2112 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
2113 assert(sv); assert(mg); assert(nsv)
2115 PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
2116 #define PERL_ARGS_ASSERT_MAGIC_DUMP
2117 PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
2118 __attribute__visibility__("hidden");
2119 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
2120 assert(sv); assert(mg)
2122 PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2123 __attribute__visibility__("hidden");
2124 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
2125 assert(sv); assert(mg)
2127 PERL_CALLCONV int Perl_magic_freemglob(pTHX_ SV* sv, MAGIC* mg)
2128 __attribute__visibility__("hidden");
2129 #define PERL_ARGS_ASSERT_MAGIC_FREEMGLOB \
2130 assert(sv); assert(mg)
2132 PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2133 __attribute__visibility__("hidden");
2134 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
2135 assert(sv); assert(mg)
2137 PERL_CALLCONV int Perl_magic_freeutf8(pTHX_ SV* sv, MAGIC* mg)
2138 __attribute__visibility__("hidden");
2139 #define PERL_ARGS_ASSERT_MAGIC_FREEUTF8 \
2140 assert(sv); assert(mg)
2142 PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2143 __attribute__visibility__("hidden");
2144 #define PERL_ARGS_ASSERT_MAGIC_GET \
2145 assert(sv); assert(mg)
2147 PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2148 __attribute__visibility__("hidden");
2149 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
2150 assert(sv); assert(mg)
2152 PERL_CALLCONV int Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg)
2153 __attribute__visibility__("hidden");
2154 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \
2155 assert(sv); assert(mg)
2157 PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2158 __attribute__visibility__("hidden");
2159 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
2160 assert(sv); assert(mg)
2162 PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2163 __attribute__visibility__("hidden");
2164 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2165 assert(sv); assert(mg)
2167 PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2168 __attribute__visibility__("hidden");
2169 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2170 assert(sv); assert(mg)
2172 PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2173 __attribute__visibility__("hidden");
2174 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2175 assert(sv); assert(mg)
2177 PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2178 __attribute__visibility__("hidden");
2179 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2180 assert(sv); assert(mg)
2182 PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2183 __attribute__visibility__("hidden");
2184 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2185 assert(sv); assert(mg)
2187 PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2188 __attribute__visibility__("hidden");
2189 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2190 assert(sv); assert(mg)
2192 PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2193 __attribute__visibility__("hidden");
2194 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2195 assert(sv); assert(mg)
2197 PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2198 __attribute__visibility__("hidden");
2199 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2200 assert(sv); assert(mg)
2202 PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2203 __attribute__visibility__("hidden");
2204 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2205 assert(sv); assert(mg)
2207 PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
2208 __attribute__visibility__("hidden");
2209 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2210 assert(sv); assert(mg); assert(meth)
2212 PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
2213 __attribute__visibility__("hidden");
2214 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2215 assert(sv); assert(mg); assert(key)
2217 PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2218 __attribute__visibility__("hidden");
2219 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
2220 assert(sv); assert(mg)
2222 PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2223 __attribute__visibility__("hidden");
2224 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2225 assert(sv); assert(mg)
2227 PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2228 __attribute__visibility__("hidden");
2229 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2230 assert(hv); assert(mg)
2232 PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2233 __attribute__visibility__("hidden");
2234 #define PERL_ARGS_ASSERT_MAGIC_SET \
2235 assert(sv); assert(mg)
2237 PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
2238 __attribute__visibility__("hidden");
2239 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
2240 assert(sv); assert(mg)
2242 PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
2243 __attribute__visibility__("hidden");
2244 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
2245 assert(sv); assert(mg)
2247 PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
2248 __attribute__visibility__("hidden");
2249 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2250 assert(sv); assert(mg)
2252 PERL_CALLCONV int Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg)
2253 __attribute__visibility__("hidden");
2254 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \
2255 assert(sv); assert(mg)
2257 PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
2258 __attribute__visibility__("hidden");
2259 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2260 assert(sv); assert(mg)
2262 PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
2263 __attribute__visibility__("hidden");
2264 #define PERL_ARGS_ASSERT_MAGIC_SETENV \
2265 assert(sv); assert(mg)
2267 PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2268 __attribute__visibility__("hidden");
2269 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2270 assert(sv); assert(mg)
2272 PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2273 __attribute__visibility__("hidden");
2274 #define PERL_ARGS_ASSERT_MAGIC_SETISA \
2275 assert(sv); assert(mg)
2277 PERL_CALLCONV int Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg)
2278 __attribute__visibility__("hidden");
2279 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
2280 assert(sv); assert(mg)
2282 PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2283 __attribute__visibility__("hidden");
2284 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2285 assert(sv); assert(mg)
2287 PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2288 __attribute__visibility__("hidden");
2289 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2290 assert(sv); assert(mg)
2292 PERL_CALLCONV int Perl_magic_setnonelem(pTHX_ SV* sv, MAGIC* mg)
2293 __attribute__visibility__("hidden");
2294 #define PERL_ARGS_ASSERT_MAGIC_SETNONELEM \
2295 assert(sv); assert(mg)
2297 PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2298 __attribute__visibility__("hidden");
2299 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2300 assert(sv); assert(mg)
2302 PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2303 __attribute__visibility__("hidden");
2304 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2305 assert(sv); assert(mg)
2307 PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2308 __attribute__visibility__("hidden");
2309 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2310 assert(sv); assert(mg)
2312 PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
2313 __attribute__visibility__("hidden");
2314 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \
2317 PERL_CALLCONV int Perl_magic_setsigall(pTHX_ SV* sv, MAGIC* mg)
2318 __attribute__visibility__("hidden");
2319 #define PERL_ARGS_ASSERT_MAGIC_SETSIGALL \
2320 assert(sv); assert(mg)
2322 PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2323 __attribute__visibility__("hidden");
2324 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2325 assert(sv); assert(mg)
2327 PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2328 __attribute__visibility__("hidden");
2329 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2330 assert(sv); assert(mg)
2332 PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
2333 __attribute__visibility__("hidden");
2334 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
2335 assert(sv); assert(mg)
2337 PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
2338 __attribute__visibility__("hidden");
2339 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
2340 assert(sv); assert(mg)
2342 PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
2343 __attribute__visibility__("hidden");
2344 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \
2345 assert(sv); assert(mg)
2347 PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2348 __attribute__visibility__("hidden");
2349 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2350 assert(sv); assert(mg)
2352 PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2353 __attribute__visibility__("hidden");
2354 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2355 assert(sv); assert(mg)
2357 PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
2358 __attribute__malloc__
2359 __attribute__warn_unused_result__;
2360 #define PERL_ARGS_ASSERT_MALLOC
2362 PERL_CALLCONV I32 * Perl_markstack_grow(pTHX);
2363 #define PERL_ARGS_ASSERT_MARKSTACK_GROW
2364 PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
2365 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2366 #define PERL_ARGS_ASSERT_MESS \
2369 PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
2370 #define PERL_ARGS_ASSERT_MESS_SV \
2372 PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
2373 #define PERL_ARGS_ASSERT_MFREE
2374 PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv);
2375 #define PERL_ARGS_ASSERT_MG_CLEAR \
2377 PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
2378 #define PERL_ARGS_ASSERT_MG_COPY \
2379 assert(sv); assert(nsv)
2380 PERL_CALLCONV MAGIC* Perl_mg_find(const SV* sv, int type)
2381 __attribute__warn_unused_result__;
2382 #define PERL_ARGS_ASSERT_MG_FIND
2384 PERL_CALLCONV MAGIC* Perl_mg_find_mglob(pTHX_ SV* sv)
2385 __attribute__warn_unused_result__;
2386 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
2389 PERL_CALLCONV MAGIC* Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
2390 __attribute__warn_unused_result__;
2391 #define PERL_ARGS_ASSERT_MG_FINDEXT
2393 PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv);
2394 #define PERL_ARGS_ASSERT_MG_FREE \
2396 PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how);
2397 #define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2399 PERL_CALLCONV void Perl_mg_freeext(pTHX_ SV* sv, int how, const MGVTBL *vtbl);
2400 #define PERL_ARGS_ASSERT_MG_FREEEXT \
2402 PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv);
2403 #define PERL_ARGS_ASSERT_MG_GET \
2405 PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2406 __attribute__visibility__("hidden");
2407 #define PERL_ARGS_ASSERT_MG_LOCALIZE \
2408 assert(sv); assert(nsv)
2410 PERL_CALLCONV void Perl_mg_magical(SV* sv);
2411 #define PERL_ARGS_ASSERT_MG_MAGICAL \
2413 PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv);
2414 #define PERL_ARGS_ASSERT_MG_SET \
2416 PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv);
2417 #define PERL_ARGS_ASSERT_MG_SIZE \
2419 PERL_CALLCONV void Perl_mini_mktime(struct tm *ptm);
2420 #define PERL_ARGS_ASSERT_MINI_MKTIME \
2422 PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len)
2423 __attribute__visibility__("hidden");
2424 #define PERL_ARGS_ASSERT_MODE_FROM_DISCIPLINE
2426 PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
2427 #define PERL_ARGS_ASSERT_MORE_BODIES
2428 PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s);
2429 #define PERL_ARGS_ASSERT_MORESWITCHES \
2431 #ifndef PERL_NO_INLINE_FUNCTIONS
2432 PERL_STATIC_INLINE char * Perl_mortal_getenv(const char * str)
2433 __attribute__warn_unused_result__;
2434 #define PERL_ARGS_ASSERT_MORTAL_GETENV \
2438 PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name);
2439 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2441 PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash);
2442 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2444 PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
2445 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2446 assert(smeta); assert(which)
2447 PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash)
2448 __attribute__visibility__("hidden");
2449 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2452 PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash);
2453 #define PERL_ARGS_ASSERT_MRO_META_INIT \
2455 PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash);
2456 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2458 PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
2459 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2461 PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro);
2462 #define PERL_ARGS_ASSERT_MRO_REGISTER \
2464 PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
2465 #define PERL_ARGS_ASSERT_MRO_SET_MRO \
2466 assert(meta); assert(name)
2467 PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
2468 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2469 assert(smeta); assert(which); assert(data)
2470 #ifndef PERL_NO_INLINE_FUNCTIONS
2471 PERL_STATIC_INLINE unsigned Perl_msbit_pos32(U32 word)
2472 __attribute__warn_unused_result__;
2473 #define PERL_ARGS_ASSERT_MSBIT_POS32
2476 PERL_CALLCONV SV* Perl_multiconcat_stringify(pTHX_ const OP* o);
2477 #define PERL_ARGS_ASSERT_MULTICONCAT_STRINGIFY \
2479 PERL_CALLCONV SV* Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
2480 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \
2482 PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s);
2483 #define PERL_ARGS_ASSERT_MY_ATOF \
2485 PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *orig, NV* value);
2486 #define PERL_ARGS_ASSERT_MY_ATOF2 \
2487 assert(orig); assert(value)
2488 PERL_CALLCONV char* Perl_my_atof3(pTHX_ const char *orig, NV* value, const STRLEN len);
2489 #define PERL_ARGS_ASSERT_MY_ATOF3 \
2490 assert(orig); assert(value)
2491 PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2492 __attribute__visibility__("hidden");
2493 #define PERL_ARGS_ASSERT_MY_ATTRS \
2496 PERL_CALLCONV void Perl_my_clearenv(pTHX);
2497 #define PERL_ARGS_ASSERT_MY_CLEARENV
2498 PERL_CALLCONV int Perl_my_dirfd(DIR* dir);
2499 #define PERL_ARGS_ASSERT_MY_DIRFD
2500 PERL_CALLCONV_NO_RET void Perl_my_exit(pTHX_ U32 status)
2501 __attribute__noreturn__;
2502 #define PERL_ARGS_ASSERT_MY_EXIT
2504 PERL_CALLCONV_NO_RET void Perl_my_failure_exit(pTHX)
2505 __attribute__noreturn__;
2506 #define PERL_ARGS_ASSERT_MY_FAILURE_EXIT
2508 PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
2509 #define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
2510 PERL_CALLCONV Pid_t Perl_my_fork(void);
2511 #define PERL_ARGS_ASSERT_MY_FORK
2512 /* PERL_CALLCONV I32 my_lstat(pTHX); */
2513 #define PERL_ARGS_ASSERT_MY_LSTAT
2514 PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
2515 #define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
2516 PERL_CALLCONV int Perl_my_mkostemp_cloexec(char *templte, int flags)
2517 __attribute__warn_unused_result__
2518 __attribute__visibility__("hidden");
2519 #define PERL_ARGS_ASSERT_MY_MKOSTEMP_CLOEXEC \
2522 PERL_CALLCONV int Perl_my_mkstemp_cloexec(char *templte)
2523 __attribute__warn_unused_result__
2524 __attribute__visibility__("hidden");
2525 #define PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC \
2528 PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
2529 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2530 assert(mode); assert(args)
2531 PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
2532 #define PERL_ARGS_ASSERT_MY_SETENV
2533 PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2534 __attribute__format__(__printf__,3,4);
2535 #define PERL_ARGS_ASSERT_MY_SNPRINTF \
2536 assert(buffer); assert(format)
2538 PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
2539 #define PERL_ARGS_ASSERT_MY_SOCKETPAIR
2540 /* PERL_CALLCONV I32 my_stat(pTHX); */
2541 #define PERL_ARGS_ASSERT_MY_STAT
2542 PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
2543 #define PERL_ARGS_ASSERT_MY_STAT_FLAGS
2544 PERL_CALLCONV char* Perl_my_strerror(pTHX_ const int errnum)
2545 __attribute__visibility__("hidden");
2546 #define PERL_ARGS_ASSERT_MY_STRERROR
2548 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)
2549 __attribute__format__(__strftime__,pTHX_1,0);
2550 #define PERL_ARGS_ASSERT_MY_STRFTIME \
2553 PERL_CALLCONV NV Perl_my_strtod(const char * const s, char ** e)
2554 __attribute__warn_unused_result__;
2555 #define PERL_ARGS_ASSERT_MY_STRTOD \
2558 PERL_CALLCONV void Perl_my_unexec(pTHX)
2559 __attribute__visibility__("hidden");
2560 #define PERL_ARGS_ASSERT_MY_UNEXEC
2562 PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
2563 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2564 assert(buffer); assert(format)
2565 PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2566 #define PERL_ARGS_ASSERT_NEWANONATTRSUB
2567 PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
2568 __attribute__warn_unused_result__;
2569 #define PERL_ARGS_ASSERT_NEWANONHASH
2571 PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
2572 __attribute__warn_unused_result__;
2573 #define PERL_ARGS_ASSERT_NEWANONLIST
2575 PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2576 #define PERL_ARGS_ASSERT_NEWANONSUB
2577 PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2578 __attribute__warn_unused_result__;
2579 #define PERL_ARGS_ASSERT_NEWASSIGNOP
2581 /* PERL_CALLCONV CV* newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2582 #define PERL_ARGS_ASSERT_NEWATTRSUB
2583 PERL_CALLCONV CV* Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
2584 #define PERL_ARGS_ASSERT_NEWATTRSUB_X
2586 PERL_CALLCONV AV* Perl_newAV(pTHX)
2587 __attribute__warn_unused_result__;
2588 #define PERL_ARGS_ASSERT_NEWAV
2591 PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
2592 __attribute__warn_unused_result__;
2593 #define PERL_ARGS_ASSERT_NEWAVREF \
2596 /* PERL_CALLCONV AV* newAV_alloc_x(pTHX_ SSize_t size)
2597 __attribute__warn_unused_result__; */
2598 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_X
2600 /* PERL_CALLCONV AV* newAV_alloc_xz(pTHX_ SSize_t size)
2601 __attribute__warn_unused_result__; */
2602 #define PERL_ARGS_ASSERT_NEWAV_ALLOC_XZ
2604 PERL_CALLCONV AV* Perl_newAVav(pTHX_ AV *oav)
2605 __attribute__warn_unused_result__;
2606 #define PERL_ARGS_ASSERT_NEWAVAV
2608 PERL_CALLCONV AV* Perl_newAVhv(pTHX_ HV *ohv)
2609 __attribute__warn_unused_result__;
2610 #define PERL_ARGS_ASSERT_NEWAVHV
2612 PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2613 __attribute__warn_unused_result__;
2614 #define PERL_ARGS_ASSERT_NEWBINOP
2616 PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2617 __attribute__warn_unused_result__;
2618 #define PERL_ARGS_ASSERT_NEWCONDOP \
2621 PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2622 #define PERL_ARGS_ASSERT_NEWCONSTSUB
2623 PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
2624 #define PERL_ARGS_ASSERT_NEWCONSTSUB_FLAGS
2625 PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
2626 __attribute__warn_unused_result__;
2627 #define PERL_ARGS_ASSERT_NEWCVREF
2629 PERL_CALLCONV OP* Perl_newDEFEROP(pTHX_ I32 flags, OP *block)
2630 __attribute__warn_unused_result__;
2631 #define PERL_ARGS_ASSERT_NEWDEFEROP \
2634 PERL_CALLCONV OP* Perl_newDEFSVOP(pTHX)
2635 __attribute__warn_unused_result__;
2636 #define PERL_ARGS_ASSERT_NEWDEFSVOP
2638 PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2639 #define PERL_ARGS_ASSERT_NEWFORM
2640 PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
2641 __attribute__warn_unused_result__;
2642 #define PERL_ARGS_ASSERT_NEWFOROP \
2645 PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2646 __attribute__warn_unused_result__;
2647 #define PERL_ARGS_ASSERT_NEWGIVENOP \
2648 assert(cond); assert(block)
2650 PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv);
2651 #define PERL_ARGS_ASSERT_NEWGP \
2653 PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2654 __attribute__warn_unused_result__;
2655 #define PERL_ARGS_ASSERT_NEWGVOP \
2658 PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
2659 __attribute__warn_unused_result__;
2660 #define PERL_ARGS_ASSERT_NEWGVREF
2662 /* PERL_CALLCONV GV* newGVgen(pTHX_ const char* pack); */
2663 #define PERL_ARGS_ASSERT_NEWGVGEN
2664 PERL_CALLCONV GV* Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
2665 __attribute__warn_unused_result__;
2666 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
2670 PERL_CALLCONV HV* Perl_newHV(pTHX)
2671 __attribute__warn_unused_result__;
2672 #define PERL_ARGS_ASSERT_NEWHV
2675 PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
2676 __attribute__warn_unused_result__;
2677 #define PERL_ARGS_ASSERT_NEWHVREF \
2680 PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
2681 __attribute__warn_unused_result__;
2682 #define PERL_ARGS_ASSERT_NEWHVHV
2685 PERL_CALLCONV IO* Perl_newIO(pTHX)
2686 __attribute__warn_unused_result__;
2687 #define PERL_ARGS_ASSERT_NEWIO
2690 PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2691 __attribute__warn_unused_result__;
2692 #define PERL_ARGS_ASSERT_NEWLISTOP
2694 PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2695 __attribute__warn_unused_result__;
2696 #define PERL_ARGS_ASSERT_NEWLOGOP \
2697 assert(first); assert(other)
2699 PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2700 __attribute__warn_unused_result__;
2701 #define PERL_ARGS_ASSERT_NEWLOOPEX \
2704 PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2705 __attribute__warn_unused_result__;
2706 #define PERL_ARGS_ASSERT_NEWLOOPOP
2708 PERL_CALLCONV OP* Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
2709 __attribute__warn_unused_result__;
2710 #define PERL_ARGS_ASSERT_NEWMETHOP \
2711 assert(dynamic_meth)
2713 PERL_CALLCONV OP* Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
2714 __attribute__warn_unused_result__;
2715 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \
2718 PERL_CALLCONV CV * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2719 #define PERL_ARGS_ASSERT_NEWMYSUB \
2721 PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
2722 __attribute__warn_unused_result__;
2723 #define PERL_ARGS_ASSERT_NEWNULLLIST
2725 PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
2726 __attribute__warn_unused_result__;
2727 #define PERL_ARGS_ASSERT_NEWOP
2729 PERL_CALLCONV PADNAMELIST * Perl_newPADNAMELIST(size_t max)
2730 __attribute__warn_unused_result__;
2731 #define PERL_ARGS_ASSERT_NEWPADNAMELIST
2733 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
2734 __attribute__warn_unused_result__;
2735 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \
2738 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
2739 __attribute__warn_unused_result__;
2740 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN \
2743 PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
2744 __attribute__warn_unused_result__;
2745 #define PERL_ARGS_ASSERT_NEWPMOP
2747 PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o);
2748 #define PERL_ARGS_ASSERT_NEWPROG \
2750 PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2751 __attribute__warn_unused_result__;
2752 #define PERL_ARGS_ASSERT_NEWPVOP
2754 PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2755 __attribute__warn_unused_result__;
2756 #define PERL_ARGS_ASSERT_NEWRANGE \
2757 assert(left); assert(right)
2759 PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
2760 __attribute__warn_unused_result__;
2761 #define PERL_ARGS_ASSERT_NEWRV \
2764 #ifndef PERL_NO_INLINE_FUNCTIONS
2765 PERL_STATIC_INLINE SV* Perl_newRV_noinc(pTHX_ SV *const tmpRef)
2766 __attribute__warn_unused_result__;
2767 #define PERL_ARGS_ASSERT_NEWRV_NOINC \
2771 PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2772 __attribute__warn_unused_result__;
2773 #define PERL_ARGS_ASSERT_NEWSLICEOP
2775 PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2776 __attribute__warn_unused_result__;
2777 #define PERL_ARGS_ASSERT_NEWSTATEOP
2779 PERL_CALLCONV CV* Perl_newSTUB(pTHX_ GV *gv, bool fake)
2780 __attribute__visibility__("hidden");
2781 #define PERL_ARGS_ASSERT_NEWSTUB \
2785 PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2786 #define PERL_ARGS_ASSERT_NEWSUB
2788 PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
2789 __attribute__warn_unused_result__;
2790 #define PERL_ARGS_ASSERT_NEWSV
2792 PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2793 __attribute__warn_unused_result__;
2794 #define PERL_ARGS_ASSERT_NEWSVOP \
2797 PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
2798 __attribute__warn_unused_result__;
2799 #define PERL_ARGS_ASSERT_NEWSVREF \
2802 PERL_CALLCONV SV* Perl_newSV_false(pTHX)
2803 __attribute__warn_unused_result__;
2804 #define PERL_ARGS_ASSERT_NEWSV_FALSE
2806 PERL_CALLCONV SV* Perl_newSV_true(pTHX)
2807 __attribute__warn_unused_result__;
2808 #define PERL_ARGS_ASSERT_NEWSV_TRUE
2810 #ifndef PERL_NO_INLINE_FUNCTIONS
2811 PERL_STATIC_INLINE SV* Perl_newSV_type(pTHX_ const svtype type)
2812 __attribute__warn_unused_result__;
2813 #define PERL_ARGS_ASSERT_NEWSV_TYPE
2816 #ifndef PERL_NO_INLINE_FUNCTIONS
2817 PERL_STATIC_FORCE_INLINE SV* Perl_newSV_type_mortal(pTHX_ const svtype type)
2818 __attribute__warn_unused_result__
2819 __attribute__always_inline__;
2820 #define PERL_ARGS_ASSERT_NEWSV_TYPE_MORTAL
2823 PERL_CALLCONV SV* Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2824 __attribute__warn_unused_result__
2825 __attribute__visibility__("hidden");
2826 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2829 PERL_CALLCONV SV* Perl_newSVbool(pTHX_ const bool bool_val)
2830 __attribute__warn_unused_result__;
2831 #define PERL_ARGS_ASSERT_NEWSVBOOL
2833 PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
2834 __attribute__warn_unused_result__;
2835 #define PERL_ARGS_ASSERT_NEWSVHEK
2837 PERL_CALLCONV SV* Perl_newSVhek_mortal(pTHX_ const HEK *const hek)
2838 __attribute__warn_unused_result__;
2839 #define PERL_ARGS_ASSERT_NEWSVHEK_MORTAL
2841 PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
2842 __attribute__warn_unused_result__;
2843 #define PERL_ARGS_ASSERT_NEWSVIV
2845 PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
2846 __attribute__warn_unused_result__;
2847 #define PERL_ARGS_ASSERT_NEWSVNV
2849 PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2850 __attribute__warn_unused_result__;
2851 #define PERL_ARGS_ASSERT_NEWSVPV
2853 PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
2854 __attribute__warn_unused_result__;
2855 #define PERL_ARGS_ASSERT_NEWSVPV_SHARE
2857 PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
2858 __attribute__warn_unused_result__
2859 __attribute__format__(__printf__,pTHX_1,pTHX_2);
2860 #define PERL_ARGS_ASSERT_NEWSVPVF \
2863 PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
2864 __attribute__warn_unused_result__;
2865 #define PERL_ARGS_ASSERT_NEWSVPVN
2867 PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2868 __attribute__warn_unused_result__;
2869 #define PERL_ARGS_ASSERT_NEWSVPVN_FLAGS
2871 PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2872 __attribute__warn_unused_result__;
2873 #define PERL_ARGS_ASSERT_NEWSVPVN_SHARE
2875 PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
2876 #define PERL_ARGS_ASSERT_NEWSVRV \
2879 PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
2880 __attribute__warn_unused_result__;
2881 #define PERL_ARGS_ASSERT_NEWSVSV
2884 PERL_CALLCONV SV* Perl_newSVsv_flags(pTHX_ SV *const old, I32 flags)
2885 __attribute__warn_unused_result__;
2886 #define PERL_ARGS_ASSERT_NEWSVSV_FLAGS
2888 /* PERL_CALLCONV SV* newSVsv_nomg(pTHX_ SV *const old)
2889 __attribute__warn_unused_result__; */
2890 #define PERL_ARGS_ASSERT_NEWSVSV_NOMG
2892 PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
2893 __attribute__warn_unused_result__;
2894 #define PERL_ARGS_ASSERT_NEWSVUV
2896 PERL_CALLCONV OP* Perl_newTRYCATCHOP(pTHX_ I32 flags, OP* tryblock, OP *catchvar, OP* catchblock)
2897 __attribute__warn_unused_result__;
2898 #define PERL_ARGS_ASSERT_NEWTRYCATCHOP \
2899 assert(tryblock); assert(catchvar); assert(catchblock)
2901 PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2902 __attribute__warn_unused_result__;
2903 #define PERL_ARGS_ASSERT_NEWUNOP
2905 PERL_CALLCONV OP* Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2906 __attribute__warn_unused_result__;
2907 #define PERL_ARGS_ASSERT_NEWUNOP_AUX
2909 PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2910 __attribute__warn_unused_result__;
2911 #define PERL_ARGS_ASSERT_NEWWHENOP \
2914 PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
2915 __attribute__warn_unused_result__;
2916 #define PERL_ARGS_ASSERT_NEWWHILEOP
2918 PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
2919 #define PERL_ARGS_ASSERT_NEWXS \
2920 assert(subaddr); assert(filename)
2921 PERL_CALLCONV CV * Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
2922 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE \
2923 assert(name); assert(subaddr)
2924 PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
2925 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2926 assert(subaddr); assert(filename)
2927 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)
2928 __attribute__visibility__("hidden");
2929 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
2932 PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2933 __attribute__warn_unused_result__;
2934 #define PERL_ARGS_ASSERT_NEW_STACKINFO
2936 PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver);
2937 #define PERL_ARGS_ASSERT_NEW_VERSION \
2939 PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2940 __attribute__warn_unused_result__;
2941 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
2944 PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv, bool nomagicopen)
2945 __attribute__visibility__("hidden");
2946 #define PERL_ARGS_ASSERT_NEXTARGV \
2949 PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2950 __attribute__warn_unused_result__
2951 __attribute__pure__;
2952 #define PERL_ARGS_ASSERT_NINSTR \
2953 assert(big); assert(bigend); assert(little); assert(lend)
2955 PERL_CALLCONV void Perl_no_bareword_filehandle(pTHX_ const char *fhname)
2956 __attribute__visibility__("hidden");
2957 #define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
2960 PERL_CALLCONV_NO_RET void Perl_noperl_die(const char* pat, ...)
2961 __attribute__noreturn__
2962 __attribute__format__(__printf__,1,2);
2963 #define PERL_ARGS_ASSERT_NOPERL_DIE \
2966 PERL_CALLCONV int Perl_nothreadhook(pTHX);
2967 #define PERL_ARGS_ASSERT_NOTHREADHOOK
2968 PERL_CALLCONV void Perl_notify_parser_that_changed_to_utf8(pTHX)
2969 __attribute__visibility__("hidden");
2970 #define PERL_ARGS_ASSERT_NOTIFY_PARSER_THAT_CHANGED_TO_UTF8
2972 PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
2973 __attribute__warn_unused_result__
2974 __attribute__visibility__("hidden");
2975 #define PERL_ARGS_ASSERT_OOPSAV \
2978 PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
2979 __attribute__warn_unused_result__
2980 __attribute__visibility__("hidden");
2981 #define PERL_ARGS_ASSERT_OOPSHV \
2984 PERL_CALLCONV OP* Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2985 #define PERL_ARGS_ASSERT_OP_APPEND_ELEM
2986 PERL_CALLCONV OP* Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
2987 #define PERL_ARGS_ASSERT_OP_APPEND_LIST
2988 PERL_CALLCONV OPclass Perl_op_class(pTHX_ const OP *o);
2989 #define PERL_ARGS_ASSERT_OP_CLASS
2990 PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o);
2991 #define PERL_ARGS_ASSERT_OP_CLEAR \
2993 PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context);
2994 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
2996 PERL_CALLCONV OP* Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o)
2997 __attribute__warn_unused_result__;
2998 #define PERL_ARGS_ASSERT_OP_CONVERT_LIST
3000 PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o);
3001 #define PERL_ARGS_ASSERT_OP_DUMP \
3003 PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
3004 #define PERL_ARGS_ASSERT_OP_FREE
3005 PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o);
3006 #define PERL_ARGS_ASSERT_OP_LINKLIST \
3008 /* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */
3009 #define PERL_ARGS_ASSERT_OP_LVALUE
3010 PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
3011 #define PERL_ARGS_ASSERT_OP_LVALUE_FLAGS
3012 PERL_CALLCONV void Perl_op_null(pTHX_ OP* o);
3013 #define PERL_ARGS_ASSERT_OP_NULL \
3015 PERL_CALLCONV OP* Perl_op_parent(OP *o);
3016 #define PERL_ARGS_ASSERT_OP_PARENT \
3018 PERL_CALLCONV OP* Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
3019 #define PERL_ARGS_ASSERT_OP_PREPEND_ELEM
3020 PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
3021 #define PERL_ARGS_ASSERT_OP_REFCNT_LOCK
3022 PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
3023 #define PERL_ARGS_ASSERT_OP_REFCNT_UNLOCK
3024 PERL_CALLCONV OP* Perl_op_scope(pTHX_ OP* o);
3025 #define PERL_ARGS_ASSERT_OP_SCOPE
3026 PERL_CALLCONV OP* Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert);
3027 #define PERL_ARGS_ASSERT_OP_SIBLING_SPLICE
3028 PERL_CALLCONV OP* Perl_op_unscope(pTHX_ OP* o)
3029 __attribute__visibility__("hidden");
3030 #define PERL_ARGS_ASSERT_OP_UNSCOPE
3032 PERL_CALLCONV OP* Perl_op_wrap_finally(pTHX_ OP *block, OP *finally)
3033 __attribute__warn_unused_result__;
3034 #define PERL_ARGS_ASSERT_OP_WRAP_FINALLY \
3035 assert(block); assert(finally)
3037 PERL_CALLCONV void Perl_package(pTHX_ OP* o)
3038 __attribute__visibility__("hidden");
3039 #define PERL_ARGS_ASSERT_PACKAGE \
3042 PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
3043 __attribute__visibility__("hidden");
3044 #define PERL_ARGS_ASSERT_PACKAGE_VERSION \
3047 PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist);
3048 #define PERL_ARGS_ASSERT_PACKLIST \
3049 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3050 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype);
3051 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \
3053 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash);
3054 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
3056 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash);
3057 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
3059 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash);
3060 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
3062 PERL_CALLCONV void Perl_pad_add_weakref(pTHX_ CV* func)
3063 __attribute__visibility__("hidden");
3064 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF \
3067 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3068 #define PERL_ARGS_ASSERT_PAD_ALLOC
3069 PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full)
3070 __attribute__visibility__("hidden");
3071 #define PERL_ARGS_ASSERT_PAD_BLOCK_START
3073 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags);
3074 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
3076 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags);
3077 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3079 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags);
3080 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
3082 PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
3083 __attribute__visibility__("hidden");
3084 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
3085 assert(padlist); assert(old_cv); assert(new_cv)
3087 PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po)
3088 __attribute__visibility__("hidden");
3089 #define PERL_ARGS_ASSERT_PAD_FREE
3091 PERL_CALLCONV OP * Perl_pad_leavemy(pTHX)
3092 __attribute__visibility__("hidden");
3093 #define PERL_ARGS_ASSERT_PAD_LEAVEMY
3095 PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags)
3096 __attribute__warn_unused_result__;
3097 #define PERL_ARGS_ASSERT_PAD_NEW
3099 PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth);
3100 #define PERL_ARGS_ASSERT_PAD_PUSH \
3102 PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
3103 __attribute__visibility__("hidden");
3104 #define PERL_ARGS_ASSERT_PAD_SWIPE
3106 PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type);
3107 #define PERL_ARGS_ASSERT_PAD_TIDY
3108 PERL_CALLCONV PAD ** Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3109 __attribute__visibility__("hidden");
3110 #define PERL_ARGS_ASSERT_PADLIST_STORE \
3113 PERL_CALLCONV void Perl_padname_free(pTHX_ PADNAME *pn);
3114 #define PERL_ARGS_ASSERT_PADNAME_FREE \
3116 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key)
3117 __attribute__warn_unused_result__;
3118 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH \
3121 PERL_CALLCONV void Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl);
3122 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE \
3124 PERL_CALLCONV PADNAME ** Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val);
3125 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE \
3127 PERL_CALLCONV OP* Perl_parse_arithexpr(pTHX_ U32 flags);
3128 #define PERL_ARGS_ASSERT_PARSE_ARITHEXPR
3129 PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags);
3130 #define PERL_ARGS_ASSERT_PARSE_BARESTMT
3131 PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags);
3132 #define PERL_ARGS_ASSERT_PARSE_BLOCK
3133 PERL_CALLCONV OP* Perl_parse_fullexpr(pTHX_ U32 flags);
3134 #define PERL_ARGS_ASSERT_PARSE_FULLEXPR
3135 PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
3136 #define PERL_ARGS_ASSERT_PARSE_FULLSTMT
3137 PERL_CALLCONV SV* Perl_parse_label(pTHX_ U32 flags);
3138 #define PERL_ARGS_ASSERT_PARSE_LABEL
3139 PERL_CALLCONV OP* Perl_parse_listexpr(pTHX_ U32 flags);
3140 #define PERL_ARGS_ASSERT_PARSE_LISTEXPR
3141 PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags);
3142 #define PERL_ARGS_ASSERT_PARSE_STMTSEQ
3143 PERL_CALLCONV OP* Perl_parse_subsignature(pTHX_ U32 flags);
3144 #define PERL_ARGS_ASSERT_PARSE_SUBSIGNATURE
3145 PERL_CALLCONV OP* Perl_parse_termexpr(pTHX_ U32 flags);
3146 #define PERL_ARGS_ASSERT_PARSE_TERMEXPR
3147 PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt)
3148 __attribute__visibility__("hidden");
3149 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3152 PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser)
3153 __attribute__visibility__("hidden");
3154 #define PERL_ARGS_ASSERT_PARSER_FREE \
3157 PERL_CALLCONV void Perl_peep(pTHX_ OP* o)
3158 __attribute__visibility__("hidden");
3159 #define PERL_ARGS_ASSERT_PEEP
3161 PERL_CALLCONV PerlInterpreter* perl_alloc(void);
3162 #define PERL_ARGS_ASSERT_PERL_ALLOC
3163 PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl);
3164 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3166 PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl);
3167 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \
3169 PERL_CALLCONV void perl_free(PerlInterpreter *my_perl);
3170 #define PERL_ARGS_ASSERT_PERL_FREE \
3172 PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);
3173 #define PERL_ARGS_ASSERT_PERL_PARSE \
3175 PERL_CALLCONV int perl_run(PerlInterpreter *my_perl);
3176 #define PERL_ARGS_ASSERT_PERL_RUN \
3178 PERL_CALLCONV Signal_t Perl_perly_sighandler(int sig, Siginfo_t *info, void *uap, bool safe);
3179 #define PERL_ARGS_ASSERT_PERLY_SIGHANDLER
3180 /* PERL_CALLCONV const char *const phase_name(pTHX_ enum perl_phase); */
3181 #define PERL_ARGS_ASSERT_PHASE_NAME
3182 PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
3183 #define PERL_ARGS_ASSERT_PMOP_DUMP
3184 PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, UV flags, I32 floor)
3185 __attribute__visibility__("hidden");
3186 #define PERL_ARGS_ASSERT_PMRUNTIME \
3187 assert(o); assert(expr)
3189 PERL_CALLCONV void Perl_pop_scope(pTHX);
3190 #define PERL_ARGS_ASSERT_POP_SCOPE
3191 PERL_CALLCONV void Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3192 __attribute__visibility__("hidden");
3193 #define PERL_ARGS_ASSERT_POPULATE_ISA \
3196 PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags);
3197 #define PERL_ARGS_ASSERT_PREGCOMP \
3199 PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
3200 #define PERL_ARGS_ASSERT_PREGEXEC \
3201 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3202 PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
3203 #define PERL_ARGS_ASSERT_PREGFREE
3204 PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx);
3205 #define PERL_ARGS_ASSERT_PREGFREE2 \
3207 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);
3208 #define PERL_ARGS_ASSERT_PRESCAN_VERSION \
3210 PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3211 __attribute__warn_unused_result__;
3212 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
3215 PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3216 #define PERL_ARGS_ASSERT_PTR_TABLE_FREE
3217 PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX)
3218 __attribute__warn_unused_result__;
3219 #define PERL_ARGS_ASSERT_PTR_TABLE_NEW
3221 PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl);
3222 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
3224 PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv);
3225 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
3226 assert(tbl); assert(newsv)
3227 PERL_CALLCONV void Perl_push_scope(pTHX);
3228 #define PERL_ARGS_ASSERT_PUSH_SCOPE
3229 PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
3230 #define PERL_ARGS_ASSERT_PV_DISPLAY \
3231 assert(dsv); assert(pv)
3232 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);
3233 #define PERL_ARGS_ASSERT_PV_ESCAPE \
3235 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);
3236 #define PERL_ARGS_ASSERT_PV_PRETTY \
3237 assert(dsv); assert(str)
3238 PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
3239 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3240 assert(dsv); assert(spv)
3241 PERL_CALLCONV void Perl_qerror(pTHX_ SV* err);
3242 #define PERL_ARGS_ASSERT_QERROR \
3244 PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags);
3245 #define PERL_ARGS_ASSERT_RE_COMPILE \
3247 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);
3248 #define PERL_ARGS_ASSERT_RE_INTUIT_START \
3249 assert(rx); assert(strbeg); assert(strpos); assert(strend)
3250 PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r);
3251 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3253 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)
3254 __attribute__visibility__("hidden");
3255 #define PERL_ARGS_ASSERT_RE_OP_COMPILE \
3258 PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3259 __attribute__warn_unused_result__;
3260 #define PERL_ARGS_ASSERT_REALLOC
3262 PERL_CALLCONV void Perl_reentrant_free(pTHX);
3263 #define PERL_ARGS_ASSERT_REENTRANT_FREE
3264 PERL_CALLCONV void Perl_reentrant_init(pTHX);
3265 #define PERL_ARGS_ASSERT_REENTRANT_INIT
3266 PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...);
3267 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \
3269 PERL_CALLCONV void Perl_reentrant_size(pTHX);
3270 #define PERL_ARGS_ASSERT_REENTRANT_SIZE
3271 PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3272 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_CHAIN_2HV
3273 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags);
3274 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3276 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags);
3277 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3279 PERL_CALLCONV SV * Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags);
3280 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3282 PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
3283 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FREE
3284 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3285 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_INC
3286 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags);
3287 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3289 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);
3290 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3292 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags);
3293 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3295 PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags);
3296 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3298 PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags);
3299 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3301 PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags);
3302 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3303 assert(rx); assert(key)
3304 PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags);
3305 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3306 assert(rx); assert(namesv)
3307 PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags);
3308 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3310 PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags);
3311 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3313 PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags);
3314 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3316 PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags);
3317 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3319 PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv);
3320 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3322 PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren);
3323 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3324 assert(rx); assert(sv)
3325 PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value);
3326 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3328 PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx);
3329 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3331 PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* dsv, REGEXP* ssv);
3332 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3334 PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r);
3335 #define PERL_ARGS_ASSERT_REGDUMP \
3337 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);
3338 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3339 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3340 PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx);
3341 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3343 PERL_CALLCONV void Perl_reginitcolors(pTHX);
3344 #define PERL_ARGS_ASSERT_REGINITCOLORS
3345 PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, IV count);
3346 #define PERL_ARGS_ASSERT_REPEATCPY \
3347 assert(to); assert(from)
3348 PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv)
3349 __attribute__visibility__("hidden");
3350 #define PERL_ARGS_ASSERT_REPORT_EVIL_FH
3352 PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv);
3353 #define PERL_ARGS_ASSERT_REPORT_UNINIT
3354 PERL_CALLCONV void Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have)
3355 __attribute__visibility__("hidden");
3356 #define PERL_ARGS_ASSERT_REPORT_WRONGWAY_FH
3358 PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv);
3359 #define PERL_ARGS_ASSERT_REQUIRE_PV \
3361 PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3362 __attribute__warn_unused_result__
3363 __attribute__pure__;
3364 #define PERL_ARGS_ASSERT_RNINSTR \
3365 assert(big); assert(bigend); assert(little); assert(lend)
3367 PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o)
3368 __attribute__visibility__("hidden");
3369 #define PERL_ARGS_ASSERT_RPEEP
3371 PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
3372 #define PERL_ARGS_ASSERT_RSIGNAL
3373 PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t)
3374 __attribute__visibility__("hidden");
3375 #define PERL_ARGS_ASSERT_RSIGNAL_RESTORE
3377 PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3378 __attribute__visibility__("hidden");
3379 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3382 PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
3383 #define PERL_ARGS_ASSERT_RSIGNAL_STATE
3384 PERL_CALLCONV int Perl_runops_debug(pTHX);
3385 #define PERL_ARGS_ASSERT_RUNOPS_DEBUG
3386 PERL_CALLCONV int Perl_runops_standard(pTHX);
3387 #define PERL_ARGS_ASSERT_RUNOPS_STANDARD
3388 PERL_CALLCONV CV* Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags);
3389 #define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3391 PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3392 __attribute__visibility__("hidden");
3393 #define PERL_ARGS_ASSERT_RXRES_SAVE \
3394 assert(rsp); assert(rx)
3396 PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3397 __attribute__malloc__
3398 __attribute__warn_unused_result__;
3399 #define PERL_ARGS_ASSERT_SAFESYSCALLOC
3401 PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where);
3402 #define PERL_ARGS_ASSERT_SAFESYSFREE
3403 PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes)
3404 __attribute__malloc__
3405 __attribute__warn_unused_result__;
3406 #define PERL_ARGS_ASSERT_SAFESYSMALLOC
3408 PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3409 __attribute__warn_unused_result__;
3410 #define PERL_ARGS_ASSERT_SAFESYSREALLOC
3412 PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp);
3413 #define PERL_ARGS_ASSERT_SAVE_I16 \
3415 PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp);
3416 #define PERL_ARGS_ASSERT_SAVE_I32 \
3418 PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep);
3419 #define PERL_ARGS_ASSERT_SAVE_I8 \
3421 PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, SSize_t key);
3422 #define PERL_ARGS_ASSERT_SAVE_ADELETE \
3424 /* PERL_CALLCONV void save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr); */
3425 #define PERL_ARGS_ASSERT_SAVE_AELEM
3426 PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags);
3427 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3428 assert(av); assert(sptr)
3429 PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
3430 #define PERL_ARGS_ASSERT_SAVE_ALLOC
3431 PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr);
3432 #define PERL_ARGS_ASSERT_SAVE_APTR \
3434 PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv);
3435 #define PERL_ARGS_ASSERT_SAVE_ARY \
3437 PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp);
3438 #define PERL_ARGS_ASSERT_SAVE_BOOL \
3440 PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp);
3441 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3443 PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen);
3444 #define PERL_ARGS_ASSERT_SAVE_DELETE \
3445 assert(hv); assert(key)
3446 PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
3447 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3449 PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3450 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR_X
3452 PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o);
3453 #define PERL_ARGS_ASSERT_SAVE_FREEOP
3456 PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv);
3457 #define PERL_ARGS_ASSERT_SAVE_FREEPV
3460 PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv);
3461 #define PERL_ARGS_ASSERT_SAVE_FREESV
3463 PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str);
3464 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3466 PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr);
3467 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
3469 PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty);
3470 #define PERL_ARGS_ASSERT_SAVE_GP \
3472 PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv);
3473 #define PERL_ARGS_ASSERT_SAVE_HASH \
3475 PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv);
3476 #define PERL_ARGS_ASSERT_SAVE_HDELETE \
3477 assert(hv); assert(keysv)
3478 /* PERL_CALLCONV void save_helem(pTHX_ HV *hv, SV *key, SV **sptr); */
3479 #define PERL_ARGS_ASSERT_SAVE_HELEM
3480 PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags);
3481 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
3482 assert(hv); assert(key); assert(sptr)
3483 PERL_CALLCONV void Perl_save_hints(pTHX);
3484 #define PERL_ARGS_ASSERT_SAVE_HINTS
3485 PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr);
3486 #define PERL_ARGS_ASSERT_SAVE_HPTR \
3488 PERL_CALLCONV void Perl_save_int(pTHX_ int* intp);
3489 #define PERL_ARGS_ASSERT_SAVE_INT \
3491 PERL_CALLCONV void Perl_save_item(pTHX_ SV* item);
3492 #define PERL_ARGS_ASSERT_SAVE_ITEM \
3494 PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp);
3495 #define PERL_ARGS_ASSERT_SAVE_IV \
3498 PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv);
3499 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
3503 PERL_CALLCONV void Perl_save_op(pTHX);
3504 #define PERL_ARGS_ASSERT_SAVE_OP
3506 PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3507 #define PERL_ARGS_ASSERT_SAVE_PADSV_AND_MORTALIZE
3508 PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr);
3509 #define PERL_ARGS_ASSERT_SAVE_PPTR \
3511 PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3512 #define PERL_ARGS_ASSERT_SAVE_PUSHI32PTR
3513 PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3514 #define PERL_ARGS_ASSERT_SAVE_PUSHPTR
3515 PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3516 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRPTR
3517 PERL_CALLCONV void Perl_save_re_context(pTHX);
3518 #define PERL_ARGS_ASSERT_SAVE_RE_CONTEXT
3519 PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv);
3520 #define PERL_ARGS_ASSERT_SAVE_SCALAR \
3522 PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val);
3523 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
3525 PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str);
3526 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
3528 PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr);
3529 #define PERL_ARGS_ASSERT_SAVE_SPTR \
3531 PERL_CALLCONV void Perl_save_strlen(pTHX_ STRLEN* ptr);
3532 #define PERL_ARGS_ASSERT_SAVE_STRLEN \
3534 PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr);
3535 #define PERL_ARGS_ASSERT_SAVE_SVREF \
3537 PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr);
3538 #define PERL_ARGS_ASSERT_SAVE_VPTR \
3540 PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
3541 __attribute__malloc__
3542 __attribute__warn_unused_result__;
3543 #define PERL_ARGS_ASSERT_SAVEPV
3545 PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, Size_t len)
3546 __attribute__malloc__
3547 __attribute__warn_unused_result__;
3548 #define PERL_ARGS_ASSERT_SAVEPVN
3550 PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
3551 __attribute__malloc__
3552 __attribute__warn_unused_result__;
3553 #define PERL_ARGS_ASSERT_SAVESHAREDPV
3555 PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3556 __attribute__malloc__
3557 __attribute__warn_unused_result__;
3558 #define PERL_ARGS_ASSERT_SAVESHAREDPVN
3560 PERL_CALLCONV char* Perl_savesharedsvpv(pTHX_ SV *sv)
3561 __attribute__malloc__
3562 __attribute__warn_unused_result__;
3563 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3566 PERL_CALLCONV void Perl_savestack_grow(pTHX);
3567 #define PERL_ARGS_ASSERT_SAVESTACK_GROW
3568 PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
3569 #define PERL_ARGS_ASSERT_SAVESTACK_GROW_CNT
3570 PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
3571 __attribute__malloc__
3572 __attribute__warn_unused_result__;
3573 #define PERL_ARGS_ASSERT_SAVESVPV \
3576 PERL_CALLCONV void Perl_savetmps(pTHX);
3577 #define PERL_ARGS_ASSERT_SAVETMPS
3578 PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o)
3579 __attribute__visibility__("hidden");
3580 #define PERL_ARGS_ASSERT_SAWPARENS
3582 PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o)
3583 __attribute__visibility__("hidden");
3584 #define PERL_ARGS_ASSERT_SCALAR
3586 PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
3587 __attribute__visibility__("hidden");
3588 #define PERL_ARGS_ASSERT_SCALARVOID \
3591 PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3592 #define PERL_ARGS_ASSERT_SCAN_BIN \
3593 assert(start); assert(retlen)
3594 PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3595 #define PERL_ARGS_ASSERT_SCAN_HEX \
3596 assert(start); assert(retlen)
3597 PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp);
3598 #define PERL_ARGS_ASSERT_SCAN_NUM \
3599 assert(s); assert(lvalp)
3600 PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen);
3601 #define PERL_ARGS_ASSERT_SCAN_OCT \
3602 assert(start); assert(retlen)
3603 PERL_CALLCONV char* Perl_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp)
3604 __attribute__warn_unused_result__;
3605 #define PERL_ARGS_ASSERT_SCAN_STR \
3608 PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv);
3609 #define PERL_ARGS_ASSERT_SCAN_VERSION \
3610 assert(s); assert(rv)
3611 PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv);
3612 #define PERL_ARGS_ASSERT_SCAN_VSTRING \
3613 assert(s); assert(e); assert(sv)
3614 PERL_CALLCONV char* Perl_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
3615 #define PERL_ARGS_ASSERT_SCAN_WORD \
3616 assert(s); assert(dest); assert(slp)
3617 PERL_CALLCONV U32 Perl_seed(pTHX);
3618 #define PERL_ARGS_ASSERT_SEED
3619 PERL_CALLCONV void Perl_set_caret_X(pTHX);
3620 #define PERL_ARGS_ASSERT_SET_CARET_X
3621 PERL_CALLCONV void Perl_set_context(void *t);
3622 #define PERL_ARGS_ASSERT_SET_CONTEXT \
3624 PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
3625 #define PERL_ARGS_ASSERT_SET_NUMERIC_STANDARD
3626 PERL_CALLCONV void Perl_set_numeric_underlying(pTHX);
3627 #define PERL_ARGS_ASSERT_SET_NUMERIC_UNDERLYING
3628 PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
3629 #define PERL_ARGS_ASSERT_SETDEFOUT \
3631 PERL_CALLCONV void Perl_setfd_cloexec(int fd)
3632 __attribute__visibility__("hidden");
3633 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC
3635 PERL_CALLCONV void Perl_setfd_cloexec_for_nonsysfd(pTHX_ int fd)
3636 __attribute__visibility__("hidden");
3637 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_FOR_NONSYSFD
3639 PERL_CALLCONV void Perl_setfd_cloexec_or_inhexec_by_sysfdness(pTHX_ int fd)
3640 __attribute__visibility__("hidden");
3641 #define PERL_ARGS_ASSERT_SETFD_CLOEXEC_OR_INHEXEC_BY_SYSFDNESS
3643 PERL_CALLCONV void Perl_setfd_inhexec(int fd)
3644 __attribute__visibility__("hidden");
3645 #define PERL_ARGS_ASSERT_SETFD_INHEXEC
3647 PERL_CALLCONV void Perl_setfd_inhexec_for_sysfd(pTHX_ int fd)
3648 __attribute__visibility__("hidden");
3649 #define PERL_ARGS_ASSERT_SETFD_INHEXEC_FOR_SYSFD
3651 PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, SSize_t len, U32 hash);
3652 #define PERL_ARGS_ASSERT_SHARE_HEK \
3654 PERL_CALLCONV Signal_t Perl_sighandler1(int sig)
3655 __attribute__visibility__("hidden");
3656 #define PERL_ARGS_ASSERT_SIGHANDLER1
3658 PERL_CALLCONV Signal_t Perl_sighandler3(int sig, Siginfo_t *info, void *uap)
3659 __attribute__visibility__("hidden");
3660 #define PERL_ARGS_ASSERT_SIGHANDLER3
3662 #ifndef PERL_NO_INLINE_FUNCTIONS
3663 PERL_STATIC_INLINE unsigned Perl_single_1bit_pos32(U32 word)
3664 __attribute__warn_unused_result__;
3665 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS32
3668 PERL_CALLCONV char* Perl_skipspace_flags(pTHX_ char *s, U32 flags)
3669 __attribute__warn_unused_result__;
3670 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS \
3673 PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp);
3674 #define PERL_ARGS_ASSERT_SORTSV \
3676 PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags);
3677 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \
3679 PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n);
3680 #define PERL_ARGS_ASSERT_STACK_GROW \
3681 assert(sp); assert(p)
3682 PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3683 __attribute__visibility__("hidden");
3684 #define PERL_ARGS_ASSERT_START_GLOB \
3685 assert(tmpglob); assert(io)
3687 PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3688 #define PERL_ARGS_ASSERT_START_SUBPARSE
3689 PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv)
3690 __attribute__warn_unused_result__;
3691 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3694 PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
3695 __attribute__visibility__("hidden");
3696 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
3700 PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv);
3701 #define PERL_ARGS_ASSERT_SV_2BOOL \
3704 PERL_CALLCONV bool Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags);
3705 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3707 PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref);
3708 #define PERL_ARGS_ASSERT_SV_2CV \
3709 assert(st); assert(gvp)
3710 PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv);
3711 #define PERL_ARGS_ASSERT_SV_2IO \
3714 PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv);
3715 #define PERL_ARGS_ASSERT_SV_2IV \
3718 PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3719 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS \
3721 PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
3722 #define PERL_ARGS_ASSERT_SV_2MORTAL
3723 PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
3724 __attribute__visibility__("hidden");
3725 #define PERL_ARGS_ASSERT_SV_2NUM \
3728 PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3729 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS \
3732 PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp);
3733 #define PERL_ARGS_ASSERT_SV_2PV \
3736 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
3737 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS \
3740 PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
3741 __attribute__warn_unused_result__;
3742 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
3747 PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp);
3748 #define PERL_ARGS_ASSERT_SV_2PVBYTE \
3751 PERL_CALLCONV char* Perl_sv_2pvbyte_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3752 #define PERL_ARGS_ASSERT_SV_2PVBYTE_FLAGS \
3755 PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3756 __attribute__warn_unused_result__;
3757 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
3762 PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp);
3763 #define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3766 PERL_CALLCONV char* Perl_sv_2pvutf8_flags(pTHX_ SV *sv, STRLEN *const lp, const U32 flags);
3767 #define PERL_ARGS_ASSERT_SV_2PVUTF8_FLAGS \
3770 PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3771 __attribute__warn_unused_result__;
3772 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
3777 PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv);
3778 #define PERL_ARGS_ASSERT_SV_2UV \
3781 PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3782 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS \
3784 PERL_CALLCONV void Perl_sv_backoff(SV *const sv);
3785 #define PERL_ARGS_ASSERT_SV_BACKOFF \
3787 PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash);
3788 #define PERL_ARGS_ASSERT_SV_BLESS \
3789 assert(sv); assert(stash)
3790 PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen);
3791 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \
3792 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3793 PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const dsv, const char* sstr);
3794 #define PERL_ARGS_ASSERT_SV_CATPV \
3796 PERL_CALLCONV void Perl_sv_catpv_flags(pTHX_ SV *dsv, const char *sstr, const I32 flags);
3797 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3798 assert(dsv); assert(sstr)
3799 PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const dsv, const char *const sstr);
3800 #define PERL_ARGS_ASSERT_SV_CATPV_MG \
3802 PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3803 __attribute__format__(__printf__,pTHX_2,pTHX_3);
3804 #define PERL_ARGS_ASSERT_SV_CATPVF \
3805 assert(sv); assert(pat)
3807 PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3808 __attribute__format__(__printf__,pTHX_2,pTHX_3);
3809 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \
3810 assert(sv); assert(pat)
3813 PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3814 #define PERL_ARGS_ASSERT_SV_CATPVN \
3815 assert(dsv); assert(sstr)
3817 PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dsv, const char *sstr, const STRLEN len, const I32 flags);
3818 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
3819 assert(dsv); assert(sstr)
3821 PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *dsv, const char *sstr, STRLEN len);
3822 #define PERL_ARGS_ASSERT_SV_CATPVN_MG \
3823 assert(dsv); assert(sstr)
3826 PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dsv, SV *sstr);
3827 #define PERL_ARGS_ASSERT_SV_CATSV \
3830 PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const sstr, const I32 flags);
3831 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3834 PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *sstr);
3835 #define PERL_ARGS_ASSERT_SV_CATSV_MG \
3838 PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr);
3839 #define PERL_ARGS_ASSERT_SV_CHOP \
3841 PERL_CALLCONV I32 Perl_sv_clean_all(pTHX)
3842 __attribute__visibility__("hidden");
3843 #define PERL_ARGS_ASSERT_SV_CLEAN_ALL
3845 PERL_CALLCONV void Perl_sv_clean_objs(pTHX)
3846 __attribute__visibility__("hidden");
3847 #define PERL_ARGS_ASSERT_SV_CLEAN_OBJS
3849 PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const orig_sv);
3850 #define PERL_ARGS_ASSERT_SV_CLEAR \
3852 PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3853 #define PERL_ARGS_ASSERT_SV_CMP
3854 PERL_CALLCONV I32 Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3855 #define PERL_ARGS_ASSERT_SV_CMP_FLAGS
3856 PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3857 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE
3858 PERL_CALLCONV I32 Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
3859 #define PERL_ARGS_ASSERT_SV_CMP_LOCALE_FLAGS
3861 PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv);
3862 #define PERL_ARGS_ASSERT_SV_COPYPV \
3863 assert(dsv); assert(ssv)
3865 PERL_CALLCONV void Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags);
3866 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS \
3867 assert(dsv); assert(ssv)
3868 /* PERL_CALLCONV void sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv); */
3869 #define PERL_ARGS_ASSERT_SV_COPYPV_NOMG
3870 PERL_CALLCONV void Perl_sv_dec(pTHX_ SV *const sv);
3871 #define PERL_ARGS_ASSERT_SV_DEC
3872 PERL_CALLCONV void Perl_sv_dec_nomg(pTHX_ SV *const sv);
3873 #define PERL_ARGS_ASSERT_SV_DEC_NOMG
3874 PERL_CALLCONV void Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv);
3875 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
3876 assert(tsv); assert(sv)
3877 PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3878 __attribute__warn_unused_result__;
3879 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \
3880 assert(sv); assert(name)
3882 PERL_CALLCONV bool Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3883 __attribute__warn_unused_result__;
3884 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV \
3885 assert(sv); assert(name)
3887 PERL_CALLCONV bool Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3888 __attribute__warn_unused_result__;
3889 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN \
3890 assert(sv); assert(name)
3892 PERL_CALLCONV bool Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags)
3893 __attribute__warn_unused_result__;
3894 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV \
3895 assert(sv); assert(namesv)
3897 PERL_CALLCONV bool Perl_sv_destroyable(pTHX_ SV *sv);
3898 #define PERL_ARGS_ASSERT_SV_DESTROYABLE
3899 PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char *const name)
3900 __attribute__warn_unused_result__;
3901 #define PERL_ARGS_ASSERT_SV_DOES \
3902 assert(sv); assert(name)
3904 PERL_CALLCONV bool Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags)
3905 __attribute__warn_unused_result__;
3906 #define PERL_ARGS_ASSERT_SV_DOES_PV \
3907 assert(sv); assert(name)
3909 PERL_CALLCONV bool Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags)
3910 __attribute__warn_unused_result__;
3911 #define PERL_ARGS_ASSERT_SV_DOES_PVN \
3912 assert(sv); assert(name)
3914 PERL_CALLCONV bool Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags)
3915 __attribute__warn_unused_result__;
3916 #define PERL_ARGS_ASSERT_SV_DOES_SV \
3917 assert(sv); assert(namesv)
3919 PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv);
3920 #define PERL_ARGS_ASSERT_SV_DUMP
3922 PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3923 #define PERL_ARGS_ASSERT_SV_EQ
3925 PERL_CALLCONV I32 Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3926 #define PERL_ARGS_ASSERT_SV_EQ_FLAGS
3928 PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv);
3929 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
3932 PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
3933 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
3935 PERL_CALLCONV void Perl_sv_free(pTHX_ SV *const sv);
3936 #define PERL_ARGS_ASSERT_SV_FREE
3937 PERL_CALLCONV void Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt);
3938 #define PERL_ARGS_ASSERT_SV_FREE2 \
3940 PERL_CALLCONV void Perl_sv_free_arenas(pTHX)
3941 __attribute__visibility__("hidden");
3942 #define PERL_ARGS_ASSERT_SV_FREE_ARENAS
3944 PERL_CALLCONV SV* Perl_sv_get_backrefs(SV *const sv);
3945 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS \
3947 PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append);
3948 #define PERL_ARGS_ASSERT_SV_GETS \
3949 assert(sv); assert(fp)
3950 PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen);
3951 #define PERL_ARGS_ASSERT_SV_GROW \
3953 PERL_CALLCONV char* Perl_sv_grow_fresh(pTHX_ SV *const sv, STRLEN newlen);
3954 #define PERL_ARGS_ASSERT_SV_GROW_FRESH \
3956 PERL_CALLCONV void Perl_sv_inc(pTHX_ SV *const sv);
3957 #define PERL_ARGS_ASSERT_SV_INC
3958 PERL_CALLCONV void Perl_sv_inc_nomg(pTHX_ SV *const sv);
3959 #define PERL_ARGS_ASSERT_SV_INC_NOMG
3961 PERL_CALLCONV void Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen);
3962 #define PERL_ARGS_ASSERT_SV_INSERT \
3963 assert(bigstr); assert(little)
3965 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);
3966 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \
3967 assert(bigstr); assert(little)
3968 PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char *const name);
3969 #define PERL_ARGS_ASSERT_SV_ISA \
3971 PERL_CALLCONV bool Perl_sv_isa_sv(pTHX_ SV* sv, SV* namesv)
3972 __attribute__warn_unused_result__;
3973 #define PERL_ARGS_ASSERT_SV_ISA_SV \
3974 assert(sv); assert(namesv)
3976 PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv);
3977 #define PERL_ARGS_ASSERT_SV_ISOBJECT
3978 PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV *const sv);
3979 #define PERL_ARGS_ASSERT_SV_LEN
3980 PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV *const sv);
3981 #define PERL_ARGS_ASSERT_SV_LEN_UTF8
3982 PERL_CALLCONV STRLEN Perl_sv_len_utf8_nomg(pTHX_ SV *const sv);
3983 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG \
3985 PERL_CALLCONV void Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen);
3986 #define PERL_ARGS_ASSERT_SV_MAGIC \
3988 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);
3989 #define PERL_ARGS_ASSERT_SV_MAGICEXT \
3991 PERL_CALLCONV MAGIC * Perl_sv_magicext_mglob(pTHX_ SV *sv);
3992 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB \
3995 PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3996 __attribute__warn_unused_result__;
3997 #define PERL_ARGS_ASSERT_SV_MORTALCOPY
4000 PERL_CALLCONV SV* Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags)
4001 __attribute__warn_unused_result__;
4002 #define PERL_ARGS_ASSERT_SV_MORTALCOPY_FLAGS
4004 PERL_CALLCONV SV* Perl_sv_newmortal(pTHX)
4005 __attribute__warn_unused_result__;
4006 #define PERL_ARGS_ASSERT_SV_NEWMORTAL
4008 PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV *const sv);
4009 #define PERL_ARGS_ASSERT_SV_NEWREF
4011 PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv)
4012 __attribute__deprecated__;
4013 #define PERL_ARGS_ASSERT_SV_NOLOCKING
4016 PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv);
4017 #define PERL_ARGS_ASSERT_SV_NOSHARING
4019 PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv)
4020 __attribute__deprecated__;
4021 #define PERL_ARGS_ASSERT_SV_NOUNLOCKING
4024 /* PERL_CALLCONV bool sv_numeq(pTHX_ SV* sv1, SV* sv2); */
4025 #define PERL_ARGS_ASSERT_SV_NUMEQ
4026 PERL_CALLCONV bool Perl_sv_numeq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4027 #define PERL_ARGS_ASSERT_SV_NUMEQ_FLAGS
4028 #ifndef PERL_NO_INLINE_FUNCTIONS
4029 PERL_STATIC_INLINE bool Perl_sv_only_taint_gmagic(SV *sv);
4030 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC \
4033 PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv);
4034 #define PERL_ARGS_ASSERT_SV_PEEK
4035 PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp);
4036 #define PERL_ARGS_ASSERT_SV_POS_B2U \
4038 PERL_CALLCONV STRLEN Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags);
4039 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS \
4041 PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp);
4042 #define PERL_ARGS_ASSERT_SV_POS_U2B \
4044 PERL_CALLCONV STRLEN Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags);
4045 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \
4048 PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv)
4049 __attribute__warn_unused_result__;
4050 #define PERL_ARGS_ASSERT_SV_PV \
4055 PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv)
4056 __attribute__warn_unused_result__;
4057 #define PERL_ARGS_ASSERT_SV_PVBYTE \
4061 PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp);
4062 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \
4064 #ifndef PERL_NO_INLINE_FUNCTIONS
4065 PERL_STATIC_INLINE char* Perl_sv_pvbyten_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4066 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE_WRAPPER \
4070 PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
4071 #define PERL_ARGS_ASSERT_SV_PVN_FORCE \
4074 PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const U32 flags);
4075 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
4078 PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv)
4079 __attribute__warn_unused_result__;
4080 #define PERL_ARGS_ASSERT_SV_PVUTF8 \
4084 PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp);
4085 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \
4087 #ifndef PERL_NO_INLINE_FUNCTIONS
4088 PERL_STATIC_INLINE char* Perl_sv_pvutf8n_force_wrapper(pTHX_ SV *const sv, STRLEN *const lp, const U32 dummy);
4089 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE_WRAPPER \
4092 PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding);
4093 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \
4094 assert(sv); assert(encoding)
4095 PERL_CALLCONV SV* Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob);
4096 #define PERL_ARGS_ASSERT_SV_REF \
4098 PERL_CALLCONV const char* Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
4099 __attribute__warn_unused_result__;
4100 #define PERL_ARGS_ASSERT_SV_REFTYPE \
4103 PERL_CALLCONV void Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv);
4104 #define PERL_ARGS_ASSERT_SV_REPLACE \
4105 assert(sv); assert(nsv)
4106 PERL_CALLCONV void Perl_sv_report_used(pTHX);
4107 #define PERL_ARGS_ASSERT_SV_REPORT_USED
4108 PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV *const stash);
4109 #define PERL_ARGS_ASSERT_SV_RESET \
4111 PERL_CALLCONV void Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash)
4112 __attribute__visibility__("hidden");
4113 #define PERL_ARGS_ASSERT_SV_RESETPVN
4115 PERL_CALLCONV SV* Perl_sv_rvunweaken(pTHX_ SV *const sv);
4116 #define PERL_ARGS_ASSERT_SV_RVUNWEAKEN \
4118 PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv);
4119 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \
4121 PERL_CALLCONV void Perl_sv_set_bool(pTHX_ SV *sv, const bool bool_val);
4122 #define PERL_ARGS_ASSERT_SV_SET_BOOL \
4124 PERL_CALLCONV void Perl_sv_set_false(pTHX_ SV *sv);
4125 #define PERL_ARGS_ASSERT_SV_SET_FALSE \
4127 PERL_CALLCONV void Perl_sv_set_true(pTHX_ SV *sv);
4128 #define PERL_ARGS_ASSERT_SV_SET_TRUE \
4130 PERL_CALLCONV void Perl_sv_set_undef(pTHX_ SV *sv);
4131 #define PERL_ARGS_ASSERT_SV_SET_UNDEF \
4133 PERL_CALLCONV void Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek);
4134 #define PERL_ARGS_ASSERT_SV_SETHEK \
4136 PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num);
4137 #define PERL_ARGS_ASSERT_SV_SETIV \
4139 PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i);
4140 #define PERL_ARGS_ASSERT_SV_SETIV_MG \
4142 PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV *const sv, const NV num);
4143 #define PERL_ARGS_ASSERT_SV_SETNV \
4145 PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num);
4146 #define PERL_ARGS_ASSERT_SV_SETNV_MG \
4148 PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr);
4149 #define PERL_ARGS_ASSERT_SV_SETPV \
4151 PERL_CALLCONV char * Perl_sv_setpv_bufsize(pTHX_ SV *const sv, const STRLEN cur, const STRLEN len);
4152 #define PERL_ARGS_ASSERT_SV_SETPV_BUFSIZE \
4154 PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr);
4155 #define PERL_ARGS_ASSERT_SV_SETPV_MG \
4157 PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
4158 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4159 #define PERL_ARGS_ASSERT_SV_SETPVF \
4160 assert(sv); assert(pat)
4162 PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4163 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4164 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \
4165 assert(sv); assert(pat)
4167 PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4168 #define PERL_ARGS_ASSERT_SV_SETPVN \
4170 PERL_CALLCONV void Perl_sv_setpvn_fresh(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4171 #define PERL_ARGS_ASSERT_SV_SETPVN_FRESH \
4173 PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len);
4174 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \
4175 assert(sv); assert(ptr)
4176 PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv);
4177 #define PERL_ARGS_ASSERT_SV_SETREF_IV \
4179 PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv);
4180 #define PERL_ARGS_ASSERT_SV_SETREF_NV \
4182 PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv);
4183 #define PERL_ARGS_ASSERT_SV_SETREF_PV \
4185 PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n);
4186 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \
4187 assert(rv); assert(pv)
4188 PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
4189 #define PERL_ARGS_ASSERT_SV_SETREF_UV \
4191 PERL_CALLCONV void Perl_sv_setrv_inc(pTHX_ SV *const sv, SV *const ref);
4192 #define PERL_ARGS_ASSERT_SV_SETRV_INC \
4193 assert(sv); assert(ref)
4194 PERL_CALLCONV void Perl_sv_setrv_inc_mg(pTHX_ SV *const sv, SV *const ref);
4195 #define PERL_ARGS_ASSERT_SV_SETRV_INC_MG \
4196 assert(sv); assert(ref)
4197 PERL_CALLCONV void Perl_sv_setrv_noinc(pTHX_ SV *const sv, SV *const ref);
4198 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
4199 assert(sv); assert(ref)
4200 PERL_CALLCONV void Perl_sv_setrv_noinc_mg(pTHX_ SV *const sv, SV *const ref);
4201 #define PERL_ARGS_ASSERT_SV_SETRV_NOINC_MG \
4202 assert(sv); assert(ref)
4204 PERL_CALLCONV void Perl_sv_setsv(pTHX_ SV *dsv, SV *ssv);
4205 #define PERL_ARGS_ASSERT_SV_SETSV \
4208 PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV *dsv, SV *ssv, const I32 flags);
4209 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
4211 PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *const dsv, SV *const ssv);
4212 #define PERL_ARGS_ASSERT_SV_SETSV_MG \
4214 PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num);
4215 #define PERL_ARGS_ASSERT_SV_SETUV \
4217 PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u);
4218 #define PERL_ARGS_ASSERT_SV_SETUV_MG \
4220 /* PERL_CALLCONV bool sv_streq(pTHX_ SV* sv1, SV* sv2); */
4221 #define PERL_ARGS_ASSERT_SV_STREQ
4222 PERL_CALLCONV bool Perl_sv_streq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
4223 #define PERL_ARGS_ASSERT_SV_STREQ_FLAGS
4224 PERL_CALLCONV SV* Perl_sv_string_from_errnum(pTHX_ int errnum, SV* tgtsv);
4225 #define PERL_ARGS_ASSERT_SV_STRING_FROM_ERRNUM
4227 PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv);
4228 #define PERL_ARGS_ASSERT_SV_TAINT \
4231 PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV *const sv)
4232 __attribute__warn_unused_result__;
4233 #define PERL_ARGS_ASSERT_SV_TAINTED \
4236 PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv);
4237 #define PERL_ARGS_ASSERT_SV_TRUE
4238 PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
4239 __attribute__warn_unused_result__;
4240 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
4241 assert(dsv); assert(ssv)
4243 PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV *const sv, const int type);
4244 #define PERL_ARGS_ASSERT_SV_UNMAGIC \
4246 PERL_CALLCONV int Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl);
4247 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT \
4250 PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv);
4251 #define PERL_ARGS_ASSERT_SV_UNREF \
4254 PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags);
4255 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
4257 PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV *const sv);
4258 #define PERL_ARGS_ASSERT_SV_UNTAINT \
4260 PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type);
4261 #define PERL_ARGS_ASSERT_SV_UPGRADE \
4264 PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
4265 #define PERL_ARGS_ASSERT_SV_USEPVN \
4268 PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags);
4269 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \
4272 PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
4273 #define PERL_ARGS_ASSERT_SV_USEPVN_MG \
4276 PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *const sv);
4277 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4280 PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok);
4281 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \
4284 PERL_CALLCONV bool Perl_sv_utf8_downgrade_flags(pTHX_ SV *const sv, const bool fail_ok, const U32 flags);
4285 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_FLAGS \
4287 /* PERL_CALLCONV bool sv_utf8_downgrade_nomg(pTHX_ SV *const sv, const bool fail_ok); */
4288 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE_NOMG
4289 PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *const sv);
4290 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4293 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv);
4294 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \
4297 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags); */
4298 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS
4299 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra);
4300 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \
4302 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv); */
4303 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_NOMG
4304 PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4305 #define PERL_ARGS_ASSERT_SV_VCATPVF \
4306 assert(sv); assert(pat)
4307 PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4308 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \
4309 assert(sv); assert(pat)
4310 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);
4311 #define PERL_ARGS_ASSERT_SV_VCATPVFN \
4312 assert(sv); assert(pat)
4313 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);
4314 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS \
4315 assert(sv); assert(pat)
4316 PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4317 #define PERL_ARGS_ASSERT_SV_VSETPVF \
4318 assert(sv); assert(pat)
4319 PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args);
4320 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \
4321 assert(sv); assert(pat)
4322 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);
4323 #define PERL_ARGS_ASSERT_SV_VSETPVFN \
4324 assert(sv); assert(pat)
4325 PERL_CALLCONV void Perl_switch_to_global_locale(void);
4326 #define PERL_ARGS_ASSERT_SWITCH_TO_GLOBAL_LOCALE
4327 PERL_CALLCONV bool Perl_sync_locale(void);
4328 #define PERL_ARGS_ASSERT_SYNC_LOCALE
4329 PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv);
4330 #define PERL_ARGS_ASSERT_SYS_INIT \
4331 assert(argc); assert(argv)
4332 PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env);
4333 #define PERL_ARGS_ASSERT_SYS_INIT3 \
4334 assert(argc); assert(argv); assert(env)
4335 PERL_CALLCONV void Perl_sys_term(void);
4336 #define PERL_ARGS_ASSERT_SYS_TERM
4337 PERL_CALLCONV void Perl_taint_env(pTHX);
4338 #define PERL_ARGS_ASSERT_TAINT_ENV
4339 PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char *const s);
4340 #define PERL_ARGS_ASSERT_TAINT_PROPER \
4342 PERL_CALLCONV void Perl_thread_locale_init(void);
4343 #define PERL_ARGS_ASSERT_THREAD_LOCALE_INIT
4344 PERL_CALLCONV void Perl_thread_locale_term(void);
4345 #define PERL_ARGS_ASSERT_THREAD_LOCALE_TERM
4346 PERL_CALLCONV OP * Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...)
4347 __attribute__visibility__("hidden");
4348 #define PERL_ARGS_ASSERT_TIED_METHOD \
4349 assert(methname); assert(sp); assert(sv); assert(mg)
4351 PERL_CALLCONV SSize_t Perl_tmps_grow_p(pTHX_ SSize_t ix);
4352 #define PERL_ARGS_ASSERT_TMPS_GROW_P
4353 /* PERL_CALLCONV UV to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp); */
4354 #define PERL_ARGS_ASSERT_TO_UNI_FOLD
4355 PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp);
4356 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \
4357 assert(p); assert(lenp)
4358 PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp);
4359 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \
4360 assert(p); assert(lenp)
4361 PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp);
4362 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \
4363 assert(p); assert(lenp)
4364 PERL_CALLCONV bool Perl_try_amagic_bin(pTHX_ int method, int flags);
4365 #define PERL_ARGS_ASSERT_TRY_AMAGIC_BIN
4366 PERL_CALLCONV bool Perl_try_amagic_un(pTHX_ int method, int flags);
4367 #define PERL_ARGS_ASSERT_TRY_AMAGIC_UN
4368 PERL_CALLCONV SSize_t Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags);
4369 #define PERL_ARGS_ASSERT_UNPACKSTRING \
4370 assert(pat); assert(patend); assert(s); assert(strend)
4371 PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek);
4372 #define PERL_ARGS_ASSERT_UNSHARE_HEK
4373 PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
4374 #define PERL_ARGS_ASSERT_UNSHAREPVN
4375 PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv);
4376 #define PERL_ARGS_ASSERT_UPG_VERSION \
4378 PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4379 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \
4380 assert(p); assert(d); assert(newlen)
4381 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);
4382 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_BASE \
4383 assert(p); assert(d); assert(newlen)
4384 PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, Size_t bytelen, Size_t *newlen);
4385 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
4386 assert(p); assert(d); assert(newlen)
4387 #ifndef PERL_NO_INLINE_FUNCTIONS
4388 PERL_STATIC_INLINE IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
4389 __attribute__warn_unused_result__;
4390 #define PERL_ARGS_ASSERT_UTF8_DISTANCE \
4391 assert(a); assert(b)
4394 #ifndef PERL_NO_INLINE_FUNCTIONS
4395 PERL_STATIC_INLINE U8* Perl_utf8_hop(const U8 *s, SSize_t off)
4396 __attribute__warn_unused_result__;
4397 #define PERL_ARGS_ASSERT_UTF8_HOP \
4401 #ifndef PERL_NO_INLINE_FUNCTIONS
4402 PERL_STATIC_INLINE U8* Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start)
4403 __attribute__warn_unused_result__;
4404 #define PERL_ARGS_ASSERT_UTF8_HOP_BACK \
4405 assert(s); assert(start)
4408 #ifndef PERL_NO_INLINE_FUNCTIONS
4409 PERL_STATIC_INLINE U8* Perl_utf8_hop_forward(const U8 *s, SSize_t off, const U8 *end)
4410 __attribute__warn_unused_result__;
4411 #define PERL_ARGS_ASSERT_UTF8_HOP_FORWARD \
4412 assert(s); assert(end)
4415 #ifndef PERL_NO_INLINE_FUNCTIONS
4416 PERL_STATIC_INLINE U8* Perl_utf8_hop_safe(const U8 *s, SSize_t off, const U8 *start, const U8 *end)
4417 __attribute__warn_unused_result__;
4418 #define PERL_ARGS_ASSERT_UTF8_HOP_SAFE \
4419 assert(s); assert(start); assert(end)
4422 PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
4423 __attribute__warn_unused_result__;
4424 #define PERL_ARGS_ASSERT_UTF8_LENGTH \
4425 assert(s); assert(e)
4427 PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
4428 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
4429 assert(s); assert(lenp)
4430 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);
4431 #define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE \
4432 assert(s); assert(d); assert(newlen)
4434 PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
4435 __attribute__deprecated__;
4436 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \
4440 PERL_CALLCONV UV Perl_utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4441 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF \
4442 assert(s); assert(send)
4443 #ifndef PERL_NO_INLINE_FUNCTIONS
4444 PERL_STATIC_INLINE UV Perl_utf8_to_uvchr_buf_helper(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen);
4445 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR_BUF_HELPER \
4446 assert(s); assert(send)
4449 PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
4450 __attribute__deprecated__;
4451 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \
4455 PERL_CALLCONV UV Perl_utf8n_to_uvchr(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags);
4456 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
4458 PERL_CALLCONV UV Perl_utf8n_to_uvchr_error(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors);
4459 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_ERROR \
4461 #ifndef PERL_NO_INLINE_FUNCTIONS
4462 PERL_STATIC_INLINE UV Perl_utf8n_to_uvchr_msgs(const U8 *s, STRLEN curlen, STRLEN *retlen, const U32 flags, U32 * errors, AV ** msgs);
4463 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR_MSGS \
4467 PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
4468 __attribute__deprecated__;
4469 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
4473 PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
4474 __attribute__visibility__("hidden");
4475 #define PERL_ARGS_ASSERT_UTILIZE \
4478 /* PERL_CALLCONV U8* uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
4479 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8
4480 /* PERL_CALLCONV U8* uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
4481 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS
4482 /* PERL_CALLCONV U8* uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
4483 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS_MSGS
4484 PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags);
4485 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
4487 PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV input_uv, const UV flags, HV** msgs);
4488 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
4490 PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
4491 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
4493 #ifndef PERL_NO_INLINE_FUNCTIONS
4494 PERL_STATIC_INLINE UV Perl_valid_utf8_to_uvchr(const U8 *s, STRLEN *retlen)
4495 __attribute__warn_unused_result__;
4496 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR \
4500 PERL_CALLCONV bool Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn, bool curstash);
4501 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \
4503 PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv);
4504 #define PERL_ARGS_ASSERT_VCMP \
4505 assert(lhv); assert(rhv)
4506 PERL_CALLCONV_NO_RET void Perl_vcroak(pTHX_ const char* pat, va_list* args)
4507 __attribute__noreturn__;
4508 #define PERL_ARGS_ASSERT_VCROAK
4510 PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args);
4511 #define PERL_ARGS_ASSERT_VDEB \
4513 PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args);
4514 #define PERL_ARGS_ASSERT_VFORM \
4516 PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv);
4517 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
4519 PERL_CALLCONV SV* Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
4520 __attribute__warn_unused_result__
4521 __attribute__visibility__("hidden");
4522 #define PERL_ARGS_ASSERT_VIVIFY_REF \
4525 PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args);
4526 #define PERL_ARGS_ASSERT_VLOAD_MODULE \
4528 PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args);
4529 #define PERL_ARGS_ASSERT_VMESS \
4531 PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
4532 __attribute__warn_unused_result__;
4533 #define PERL_ARGS_ASSERT_VNEWSVPVF \
4536 PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs);
4537 #define PERL_ARGS_ASSERT_VNORMAL \
4539 PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs);
4540 #define PERL_ARGS_ASSERT_VNUMIFY \
4542 PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs);
4543 #define PERL_ARGS_ASSERT_VSTRINGIFY \
4545 PERL_CALLCONV SV* Perl_vverify(pTHX_ SV *vs);
4546 #define PERL_ARGS_ASSERT_VVERIFY \
4548 PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args);
4549 #define PERL_ARGS_ASSERT_VWARN \
4551 PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args);
4552 #define PERL_ARGS_ASSERT_VWARNER \
4554 PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
4555 __attribute__visibility__("hidden");
4556 #define PERL_ARGS_ASSERT_WAIT4PID \
4559 PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...)
4560 __attribute__format__(__printf__,pTHX_1,pTHX_2);
4561 #define PERL_ARGS_ASSERT_WARN \
4564 PERL_CALLCONV void Perl_warn_sv(pTHX_ SV *baseex);
4565 #define PERL_ARGS_ASSERT_WARN_SV \
4567 PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...)
4568 __attribute__format__(__printf__,pTHX_2,pTHX_3);
4569 #define PERL_ARGS_ASSERT_WARNER \
4572 PERL_CALLCONV I32 Perl_was_lvalue_sub(pTHX)
4573 __attribute__warn_unused_result__;
4574 #define PERL_ARGS_ASSERT_WAS_LVALUE_SUB
4576 PERL_CALLCONV void Perl_watch(pTHX_ char** addr)
4577 __attribute__visibility__("hidden");
4578 #define PERL_ARGS_ASSERT_WATCH \
4581 /* PERL_CALLCONV I32 whichsig(pTHX_ const char* sig); */
4582 #define PERL_ARGS_ASSERT_WHICHSIG
4583 PERL_CALLCONV I32 Perl_whichsig_pv(pTHX_ const char* sig);
4584 #define PERL_ARGS_ASSERT_WHICHSIG_PV \
4586 PERL_CALLCONV I32 Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len);
4587 #define PERL_ARGS_ASSERT_WHICHSIG_PVN \
4589 PERL_CALLCONV I32 Perl_whichsig_sv(pTHX_ SV* sigsv);
4590 #define PERL_ARGS_ASSERT_WHICHSIG_SV \
4592 PERL_CALLCONV void Perl_wrap_keyword_plugin(pTHX_ Perl_keyword_plugin_t new_plugin, Perl_keyword_plugin_t *old_plugin_p);
4593 #define PERL_ARGS_ASSERT_WRAP_KEYWORD_PLUGIN \
4594 assert(new_plugin); assert(old_plugin_p)
4595 PERL_CALLCONV void Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p);
4596 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \
4597 assert(new_checker); assert(old_checker_p)
4598 PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv)
4599 __attribute__visibility__("hidden");
4600 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
4603 PERL_CALLCONV void Perl_xs_boot_epilog(pTHX_ const I32 ax);
4604 #define PERL_ARGS_ASSERT_XS_BOOT_EPILOG
4605 PERL_CALLCONV I32 Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...);
4606 #define PERL_ARGS_ASSERT_XS_HANDSHAKE \
4607 assert(v_my_perl); assert(file)
4608 PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s)
4609 __attribute__visibility__("hidden");
4610 #define PERL_ARGS_ASSERT_YYERROR \
4613 PERL_CALLCONV int Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
4614 __attribute__visibility__("hidden");
4615 #define PERL_ARGS_ASSERT_YYERROR_PV \
4618 PERL_CALLCONV int Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
4619 __attribute__visibility__("hidden");
4620 #define PERL_ARGS_ASSERT_YYERROR_PVN
4622 PERL_CALLCONV int Perl_yylex(pTHX);
4623 #define PERL_ARGS_ASSERT_YYLEX
4624 PERL_CALLCONV int Perl_yyparse(pTHX_ int gramtype)
4625 __attribute__visibility__("hidden");
4626 #define PERL_ARGS_ASSERT_YYPARSE
4628 PERL_CALLCONV void Perl_yyquit(pTHX)
4629 __attribute__visibility__("hidden");
4630 #define PERL_ARGS_ASSERT_YYQUIT
4632 PERL_CALLCONV void Perl_yyunlex(pTHX)
4633 __attribute__visibility__("hidden");
4634 #define PERL_ARGS_ASSERT_YYUNLEX
4636 #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
4637 #ifndef PERL_NO_INLINE_FUNCTIONS
4638 PERL_STATIC_INLINE void * S_my_memrchr(const char * s, const char c, const STRLEN len);
4639 #define PERL_ARGS_ASSERT_MY_MEMRCHR \
4643 #if !(!defined(PERL_EXT_RE_BUILD))
4644 # if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4645 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)
4646 __attribute__visibility__("hidden");
4647 #define PERL_ARGS_ASSERT_GET_RE_GCLASS_AUX_DATA \
4652 #if !(defined(DEBUGGING))
4653 # if !defined(NV_PRESERVES_UV)
4654 # if defined(PERL_IN_SV_C)
4655 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv);
4656 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
4661 #if !(defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H))
4662 PERL_CALLCONV const char* Perl_langinfo(const int item);
4663 #define PERL_ARGS_ASSERT_PERL_LANGINFO
4665 #if !(defined(HAS_NL_LANGINFO))
4666 # if defined(PERL_IN_LOCALE_C)
4667 STATIC const char* S_my_nl_langinfo(const int item, bool toggle);
4668 #define PERL_ARGS_ASSERT_MY_NL_LANGINFO
4671 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION))
4672 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
4673 __attribute__visibility__("hidden");
4674 #define PERL_ARGS_ASSERT_DO_EXEC \
4678 #if !(defined(PERL_USE_3ARG_SIGHANDLER))
4679 PERL_CALLCONV Signal_t Perl_csighandler(int sig);
4680 #define PERL_ARGS_ASSERT_CSIGHANDLER
4681 PERL_CALLCONV Signal_t Perl_sighandler(int sig)
4682 __attribute__visibility__("hidden");
4683 #define PERL_ARGS_ASSERT_SIGHANDLER
4686 #if !(defined(USE_QUERYLOCALE))
4687 # if defined(PERL_IN_LOCALE_C)
4688 # if defined(USE_LOCALE)
4689 # if defined(USE_POSIX_2008_LOCALE)
4690 STATIC const char * S_calculate_LC_ALL(pTHX_ const char ** individ_locales);
4691 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL \
4692 assert(individ_locales)
4693 STATIC const char * S_find_locale_from_environment(pTHX_ const unsigned int index);
4694 #define PERL_ARGS_ASSERT_FIND_LOCALE_FROM_ENVIRONMENT
4695 STATIC const char* S_update_PL_curlocales_i(pTHX_ const unsigned int index, const char * new_locale, recalc_lc_all_t recalc_LC_ALL);
4696 #define PERL_ARGS_ASSERT_UPDATE_PL_CURLOCALES_I \
4702 #if !(defined(_MSC_VER))
4703 PERL_CALLCONV_NO_RET int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
4704 __attribute__noreturn__
4705 __attribute__visibility__("hidden");
4706 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
4707 assert(sv); assert(mg)
4710 #if !defined(EBCDIC)
4711 #ifndef PERL_NO_INLINE_FUNCTIONS
4712 PERL_STATIC_INLINE unsigned int Perl_variant_byte_number(PERL_UINTMAX_T word)
4713 __attribute__warn_unused_result__;
4714 #define PERL_ARGS_ASSERT_VARIANT_BYTE_NUMBER
4718 #if !defined(HAS_GETENV_LEN)
4719 PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
4720 __attribute__visibility__("hidden");
4721 #define PERL_ARGS_ASSERT_GETENV_LEN \
4722 assert(env_elem); assert(len)
4725 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
4726 # if defined(PERL_IN_PP_SYS_C)
4727 STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename)
4728 __attribute__warn_unused_result__;
4729 #define PERL_ARGS_ASSERT_DOONELINER \
4730 assert(cmd); assert(filename)
4734 #if !defined(HAS_MKOSTEMP)
4735 PERL_CALLCONV int Perl_my_mkostemp(char *templte, int flags)
4736 __attribute__visibility__("hidden");
4737 #define PERL_ARGS_ASSERT_MY_MKOSTEMP \
4741 #if !defined(HAS_MKSTEMP)
4742 PERL_CALLCONV int Perl_my_mkstemp(char *templte)
4743 __attribute__visibility__("hidden");
4744 #define PERL_ARGS_ASSERT_MY_MKSTEMP \
4748 #if !defined(HAS_RENAME)
4749 PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b)
4750 __attribute__visibility__("hidden");
4751 #define PERL_ARGS_ASSERT_SAME_DIRENT \
4752 assert(a); assert(b)
4755 #if !defined(HAS_SIGNBIT)
4756 PERL_CALLCONV int Perl_signbit(NV f)
4757 __attribute__warn_unused_result__
4758 __attribute__pure__;
4759 #define PERL_ARGS_ASSERT_PERL_SIGNBIT
4762 #if !defined(HAS_STRLCAT)
4763 PERL_CALLCONV Size_t Perl_my_strlcat(char *dst, const char *src, Size_t size);
4764 #define PERL_ARGS_ASSERT_MY_STRLCAT
4766 #if !defined(HAS_STRLCPY)
4767 PERL_CALLCONV Size_t Perl_my_strlcpy(char *dst, const char *src, Size_t size);
4768 #define PERL_ARGS_ASSERT_MY_STRLCPY
4770 #if !defined(HAS_STRNLEN)
4771 #ifndef PERL_NO_INLINE_FUNCTIONS
4772 PERL_STATIC_INLINE Size_t Perl_my_strnlen(const char *str, Size_t maxlen);
4773 #define PERL_ARGS_ASSERT_MY_STRNLEN \
4777 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
4778 PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length)
4779 __attribute__warn_unused_result__;
4780 #define PERL_ARGS_ASSERT_MY_CHSIZE
4783 #if !defined(NV_PRESERVES_UV)
4784 # if defined(DEBUGGING)
4785 # if defined(PERL_IN_SV_C)
4786 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype);
4787 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
4792 #if !defined(PERL_DISABLE_PMC)
4793 # if defined(PERL_IN_PP_CTL_C)
4794 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name)
4795 __attribute__warn_unused_result__;
4796 #define PERL_ARGS_ASSERT_DOOPEN_PM \
4801 #if !defined(PERL_EXT_RE_BUILD)
4802 # if defined(PERL_IN_REGCOMP_C)
4803 STATIC void S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end);
4804 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \
4806 #ifndef PERL_NO_INLINE_FUNCTIONS
4807 PERL_STATIC_INLINE UV* S__invlist_array_init(SV* const invlist, const bool will_have_0)
4808 __attribute__warn_unused_result__;
4809 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
4813 #ifndef PERL_NO_INLINE_FUNCTIONS
4814 PERL_STATIC_INLINE IV* S_get_invlist_previous_index_addr(SV* invlist)
4815 __attribute__warn_unused_result__;
4816 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \
4820 STATIC void S_initialize_invlist_guts(pTHX_ SV* invlist, const Size_t initial_size);
4821 #define PERL_ARGS_ASSERT_INITIALIZE_INVLIST_GUTS \
4823 #ifndef PERL_NO_INLINE_FUNCTIONS
4824 PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist);
4825 #define PERL_ARGS_ASSERT_INVLIST_CLEAR \
4828 #ifndef PERL_NO_INLINE_FUNCTIONS
4829 PERL_STATIC_INLINE UV S_invlist_max(const SV* const invlist)
4830 __attribute__warn_unused_result__;
4831 #define PERL_ARGS_ASSERT_INVLIST_MAX \
4835 #ifndef PERL_NO_INLINE_FUNCTIONS
4836 PERL_STATIC_INLINE IV S_invlist_previous_index(SV* const invlist)
4837 __attribute__warn_unused_result__;
4838 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \
4842 STATIC void S_invlist_replace_list_destroys_src(pTHX_ SV *dest, SV *src);
4843 #define PERL_ARGS_ASSERT_INVLIST_REPLACE_LIST_DESTROYS_SRC \
4844 assert(dest); assert(src)
4845 #ifndef PERL_NO_INLINE_FUNCTIONS
4846 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index);
4847 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \
4850 #ifndef PERL_NO_INLINE_FUNCTIONS
4851 PERL_STATIC_INLINE void S_invlist_trim(SV* invlist);
4852 #define PERL_ARGS_ASSERT_INVLIST_TRIM \
4856 # if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
4857 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)
4858 __attribute__visibility__("hidden");
4859 #define PERL_ARGS_ASSERT_GET_REGCLASS_AUX_DATA \
4864 #if !defined(PERL_IMPLICIT_SYS)
4865 PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
4866 #define PERL_ARGS_ASSERT_MY_PCLOSE
4867 PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode);
4868 #define PERL_ARGS_ASSERT_MY_POPEN \
4869 assert(cmd); assert(mode)
4871 #if !defined(PERL_IS_MINIPERL)
4872 # if defined(PERL_IN_PERL_C)
4873 STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem);
4874 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \
4875 assert(av); assert(dir); assert(stem)
4878 #if !defined(PERL_NO_INLINE_FUNCTIONS)
4879 #ifndef PERL_NO_INLINE_FUNCTIONS
4880 PERL_STATIC_INLINE void Perl_cx_popblock(pTHX_ PERL_CONTEXT *cx);
4881 #define PERL_ARGS_ASSERT_CX_POPBLOCK \
4884 #ifndef PERL_NO_INLINE_FUNCTIONS
4885 PERL_STATIC_INLINE void Perl_cx_popeval(pTHX_ PERL_CONTEXT *cx);
4886 #define PERL_ARGS_ASSERT_CX_POPEVAL \
4889 #ifndef PERL_NO_INLINE_FUNCTIONS
4890 PERL_STATIC_INLINE void Perl_cx_popformat(pTHX_ PERL_CONTEXT *cx);
4891 #define PERL_ARGS_ASSERT_CX_POPFORMAT \
4894 #ifndef PERL_NO_INLINE_FUNCTIONS
4895 PERL_STATIC_INLINE void Perl_cx_popgiven(pTHX_ PERL_CONTEXT *cx);
4896 #define PERL_ARGS_ASSERT_CX_POPGIVEN \
4899 #ifndef PERL_NO_INLINE_FUNCTIONS
4900 PERL_STATIC_INLINE void Perl_cx_poploop(pTHX_ PERL_CONTEXT *cx);
4901 #define PERL_ARGS_ASSERT_CX_POPLOOP \
4904 #ifndef PERL_NO_INLINE_FUNCTIONS
4905 PERL_STATIC_INLINE void Perl_cx_popsub(pTHX_ PERL_CONTEXT *cx);
4906 #define PERL_ARGS_ASSERT_CX_POPSUB \
4909 #ifndef PERL_NO_INLINE_FUNCTIONS
4910 PERL_STATIC_INLINE void Perl_cx_popsub_args(pTHX_ PERL_CONTEXT *cx);
4911 #define PERL_ARGS_ASSERT_CX_POPSUB_ARGS \
4914 #ifndef PERL_NO_INLINE_FUNCTIONS
4915 PERL_STATIC_INLINE void Perl_cx_popsub_common(pTHX_ PERL_CONTEXT *cx);
4916 #define PERL_ARGS_ASSERT_CX_POPSUB_COMMON \
4919 #ifndef PERL_NO_INLINE_FUNCTIONS
4920 PERL_STATIC_INLINE void Perl_cx_popwhen(pTHX_ PERL_CONTEXT *cx);
4921 #define PERL_ARGS_ASSERT_CX_POPWHEN \
4924 #ifndef PERL_NO_INLINE_FUNCTIONS
4925 PERL_STATIC_INLINE PERL_CONTEXT * Perl_cx_pushblock(pTHX_ U8 type, U8 gimme, SV** sp, I32 saveix);
4926 #define PERL_ARGS_ASSERT_CX_PUSHBLOCK \
4929 #ifndef PERL_NO_INLINE_FUNCTIONS
4930 PERL_STATIC_INLINE void Perl_cx_pusheval(pTHX_ PERL_CONTEXT *cx, OP *retop, SV *namesv);
4931 #define PERL_ARGS_ASSERT_CX_PUSHEVAL \
4934 #ifndef PERL_NO_INLINE_FUNCTIONS
4935 PERL_STATIC_INLINE void Perl_cx_pushformat(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, GV *gv);
4936 #define PERL_ARGS_ASSERT_CX_PUSHFORMAT \
4937 assert(cx); assert(cv)
4939 #ifndef PERL_NO_INLINE_FUNCTIONS
4940 PERL_STATIC_INLINE void Perl_cx_pushgiven(pTHX_ PERL_CONTEXT *cx, SV *orig_defsv);
4941 #define PERL_ARGS_ASSERT_CX_PUSHGIVEN \
4944 #ifndef PERL_NO_INLINE_FUNCTIONS
4945 PERL_STATIC_INLINE void Perl_cx_pushloop_for(pTHX_ PERL_CONTEXT *cx, void *itervarp, SV *itersave);
4946 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_FOR \
4947 assert(cx); assert(itervarp)
4949 #ifndef PERL_NO_INLINE_FUNCTIONS
4950 PERL_STATIC_INLINE void Perl_cx_pushloop_plain(pTHX_ PERL_CONTEXT *cx);
4951 #define PERL_ARGS_ASSERT_CX_PUSHLOOP_PLAIN \
4954 #ifndef PERL_NO_INLINE_FUNCTIONS
4955 PERL_STATIC_INLINE void Perl_cx_pushsub(pTHX_ PERL_CONTEXT *cx, CV *cv, OP *retop, bool hasargs);
4956 #define PERL_ARGS_ASSERT_CX_PUSHSUB \
4957 assert(cx); assert(cv)
4959 #ifndef PERL_NO_INLINE_FUNCTIONS
4960 PERL_STATIC_INLINE void Perl_cx_pushtry(pTHX_ PERL_CONTEXT *cx, OP *retop);
4961 #define PERL_ARGS_ASSERT_CX_PUSHTRY \
4964 #ifndef PERL_NO_INLINE_FUNCTIONS
4965 PERL_STATIC_INLINE void Perl_cx_pushwhen(pTHX_ PERL_CONTEXT *cx);
4966 #define PERL_ARGS_ASSERT_CX_PUSHWHEN \
4969 #ifndef PERL_NO_INLINE_FUNCTIONS
4970 PERL_STATIC_INLINE void Perl_cx_topblock(pTHX_ PERL_CONTEXT *cx);
4971 #define PERL_ARGS_ASSERT_CX_TOPBLOCK \
4974 #ifndef PERL_NO_INLINE_FUNCTIONS
4975 PERL_STATIC_INLINE U8 Perl_gimme_V(pTHX);
4976 #define PERL_ARGS_ASSERT_GIMME_V
4979 #if !defined(PERL_NO_UTF16_FILTER)
4980 # if defined(PERL_IN_TOKE_C)
4981 STATIC U8* S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed);
4982 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
4984 STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
4985 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
4989 #if !defined(PURIFY)
4990 # if defined(PERL_IN_HV_C)
4991 STATIC HE* S_new_he(pTHX)
4992 __attribute__warn_unused_result__;
4993 #define PERL_ARGS_ASSERT_NEW_HE
4997 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW)
4998 # if defined(PERL_IN_PERL_C)
4999 STATIC void S_validate_suid(pTHX_ PerlIO *rsfp);
5000 #define PERL_ARGS_ASSERT_VALIDATE_SUID \
5004 #if !defined(USE_ITHREADS)
5005 /* PERL_CALLCONV void CopFILEGV_set(pTHX_ COP * c, GV * gv); */
5006 #define PERL_ARGS_ASSERT_COPFILEGV_SET
5009 PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
5010 __attribute__visibility__("hidden");
5011 #define PERL_ARGS_ASSERT_DO_EXEC3 \
5015 #if 0 /* Not currently used, but may be needed in the future */
5016 # if defined(PERL_IN_UTF8_C)
5017 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);
5018 #define PERL_ARGS_ASSERT_WARN_ON_FIRST_DEPRECATED_USE \
5019 assert(name); assert(alternative); assert(file)
5022 #if defined (HAS_SOCKETPAIR) || (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && defined(AF_INET) && defined(PF_INET))
5023 PERL_CALLCONV int Perl_PerlSock_socketpair_cloexec(pTHX_ int domain, int type, int protocol, int *pairfd)
5024 __attribute__warn_unused_result__
5025 __attribute__visibility__("hidden");
5026 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKETPAIR_CLOEXEC \
5030 #if defined(DEBUGGING)
5031 PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
5032 __attribute__warn_unused_result__
5033 __attribute__visibility__("hidden");
5034 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
5037 PERL_CALLCONV void Perl_hv_assert(pTHX_ HV *hv);
5038 #define PERL_ARGS_ASSERT_HV_ASSERT \
5040 PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv);
5041 #define PERL_ARGS_ASSERT_PAD_SETSV \
5043 PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
5044 #define PERL_ARGS_ASSERT_PAD_SV
5045 PERL_CALLCONV void Perl_set_padlist(CV * cv, PADLIST * padlist);
5046 #define PERL_ARGS_ASSERT_SET_PADLIST \
5048 # if defined(PERL_IN_LOCALE_C)
5049 # if defined(USE_LOCALE)
5050 STATIC void S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
5051 #define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
5052 assert(s); assert(e)
5053 STATIC void S_print_collxfrm_input_and_return(pTHX_ const char * const s, const char * const e, const STRLEN * const xlen, const bool is_utf8);
5054 #define PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN \
5055 assert(s); assert(e)
5056 STATIC char * S_setlocale_debug_string_i(const unsigned cat_index, const char* const locale, const char* const retval)
5057 __attribute__warn_unused_result__;
5058 #define PERL_ARGS_ASSERT_SETLOCALE_DEBUG_STRING_I
5062 # if defined(PERL_IN_PAD_C)
5063 STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title);
5064 #define PERL_ARGS_ASSERT_CV_DUMP \
5065 assert(cv); assert(title)
5067 # if defined(PERL_IN_REGCOMP_C)
5068 STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth);
5069 #define PERL_ARGS_ASSERT_DUMP_TRIE \
5070 assert(trie); assert(revcharmap)
5071 STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5072 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5073 assert(trie); assert(revcharmap)
5074 STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
5075 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
5076 assert(trie); assert(revcharmap)
5077 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);
5078 #define PERL_ARGS_ASSERT_DUMPUNTIL \
5079 assert(r); assert(start); assert(node); assert(sv)
5080 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);
5081 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \
5083 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);
5084 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_COMMON \
5086 STATIC void S_put_charclass_bitmap_innards_invlist(pTHX_ SV *sv, SV* invlist);
5087 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS_INVLIST \
5088 assert(sv); assert(invlist)
5089 STATIC void S_put_code_point(pTHX_ SV* sv, UV c);
5090 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \
5092 STATIC void S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals);
5093 #define PERL_ARGS_ASSERT_PUT_RANGE \
5095 PERL_CALLCONV int Perl_re_indentf(pTHX_ const char *fmt, U32 depth, ...)
5096 __attribute__visibility__("hidden");
5097 #define PERL_ARGS_ASSERT_RE_INDENTF \
5100 STATIC void S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5101 #define PERL_ARGS_ASSERT_REGDUMP_EXTFLAGS
5102 STATIC void S_regdump_intflags(pTHX_ const char *lead, const U32 flags);
5103 #define PERL_ARGS_ASSERT_REGDUMP_INTFLAGS
5104 STATIC regnode_offset S_regnode_guts_debug(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len);
5105 #define PERL_ARGS_ASSERT_REGNODE_GUTS_DEBUG \
5107 STATIC bool S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode_offset p, const regnode_offset val, U32 depth)
5108 __attribute__warn_unused_result__;
5109 #define PERL_ARGS_ASSERT_REGTAIL_STUDY \
5110 assert(pRExC_state); assert(p); assert(val)
5113 # if defined(PERL_IN_REGEXEC_C)
5114 STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb);
5115 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \
5116 assert(prog); assert(start); assert(end); assert(blurb)
5117 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);
5118 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \
5119 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5120 PERL_CALLCONV int Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...)
5121 __attribute__visibility__("hidden");
5122 #define PERL_ARGS_ASSERT_RE_EXEC_INDENTF \
5126 # if defined(PERL_IN_SV_C)
5127 STATIC void S_del_sv(pTHX_ SV *p);
5128 #define PERL_ARGS_ASSERT_DEL_SV \
5131 # if defined(PERL_IN_TOKE_C)
5132 STATIC void S_printbuf(pTHX_ const char *const fmt, const char *const s)
5133 __attribute__format__(__printf__,pTHX_1,0);
5134 #define PERL_ARGS_ASSERT_PRINTBUF \
5135 assert(fmt); assert(s)
5137 STATIC int S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp);
5138 #define PERL_ARGS_ASSERT_TOKEREPORT \
5142 #if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
5143 # if defined(PERL_IN_REGCOMP_C)
5144 STATIC void S_dump_regex_sets_structures(pTHX_ RExC_state_t *pRExC_state, AV * stack, const IV fence, AV * fence_stack);
5145 #define PERL_ARGS_ASSERT_DUMP_REGEX_SETS_STRUCTURES \
5146 assert(pRExC_state); assert(stack); assert(fence_stack)
5149 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP)
5150 PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv)
5151 __attribute__visibility__("hidden");
5152 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD \
5156 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
5157 PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
5158 __attribute__visibility__("hidden");
5159 #define PERL_ARGS_ASSERT_DO_IPCCTL \
5160 assert(mark); assert(sp)
5162 PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
5163 __attribute__visibility__("hidden");
5164 #define PERL_ARGS_ASSERT_DO_IPCGET \
5165 assert(mark); assert(sp)
5167 PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
5168 __attribute__visibility__("hidden");
5169 #define PERL_ARGS_ASSERT_DO_MSGRCV \
5170 assert(mark); assert(sp)
5172 PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
5173 __attribute__visibility__("hidden");
5174 #define PERL_ARGS_ASSERT_DO_MSGSND \
5175 assert(mark); assert(sp)
5177 PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp)
5178 __attribute__visibility__("hidden");
5179 #define PERL_ARGS_ASSERT_DO_SEMOP \
5180 assert(mark); assert(sp)
5182 PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
5183 __attribute__visibility__("hidden");
5184 #define PERL_ARGS_ASSERT_DO_SHMIO \
5185 assert(mark); assert(sp)
5188 #if defined(HAS_NL_LANGINFO)
5189 # if defined(PERL_IN_LOCALE_C)
5190 STATIC const char* S_my_nl_langinfo(const nl_item item, bool toggle);
5191 #define PERL_ARGS_ASSERT_MY_NL_LANGINFO
5194 #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
5195 PERL_CALLCONV const char* Perl_langinfo(const nl_item item);
5196 #define PERL_ARGS_ASSERT_PERL_LANGINFO
5198 #if defined(HAS_PIPE)
5199 PERL_CALLCONV int Perl_PerlProc_pipe_cloexec(pTHX_ int *pipefd)
5200 __attribute__warn_unused_result__
5201 __attribute__visibility__("hidden");
5202 #define PERL_ARGS_ASSERT_PERLPROC_PIPE_CLOEXEC \
5206 #if defined(HAS_SOCKET)
5207 PERL_CALLCONV int Perl_PerlSock_accept_cloexec(pTHX_ int listenfd, struct sockaddr *addr, Sock_size_t *addrlen)
5208 __attribute__warn_unused_result__
5209 __attribute__visibility__("hidden");
5210 #define PERL_ARGS_ASSERT_PERLSOCK_ACCEPT_CLOEXEC
5212 PERL_CALLCONV int Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
5213 __attribute__warn_unused_result__
5214 __attribute__visibility__("hidden");
5215 #define PERL_ARGS_ASSERT_PERLSOCK_SOCKET_CLOEXEC
5218 #if defined(HAVE_INTERP_INTERN)
5219 PERL_CALLCONV void Perl_sys_intern_clear(pTHX);
5220 #define PERL_ARGS_ASSERT_SYS_INTERN_CLEAR
5221 PERL_CALLCONV void Perl_sys_intern_init(pTHX);
5222 #define PERL_ARGS_ASSERT_SYS_INTERN_INIT
5223 # if defined(USE_ITHREADS)
5224 PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst);
5225 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
5226 assert(src); assert(dst)
5229 #if defined(MULTIPLICITY)
5230 PERL_CALLCONV_NO_RET void Perl_croak_nocontext(const char* pat, ...)
5231 __attribute__noreturn__
5232 __attribute__format__null_ok__(__printf__,1,2);
5233 #define PERL_ARGS_ASSERT_CROAK_NOCONTEXT
5235 PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...)
5236 __attribute__format__(__printf__,1,2);
5237 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
5240 PERL_CALLCONV_NO_RET OP* Perl_die_nocontext(const char* pat, ...)
5241 __attribute__noreturn__
5242 __attribute__format__null_ok__(__printf__,1,2);
5243 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT
5245 PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...)
5246 __attribute__format__(__printf__,1,2);
5247 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
5250 PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...);
5251 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
5253 PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...)
5254 __attribute__format__(__printf__,1,2);
5255 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
5258 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *indexp, size_t size);
5259 #define PERL_ARGS_ASSERT_MY_CXT_INIT \
5261 PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...)
5262 __attribute__format__(__printf__,1,2);
5263 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
5266 PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5267 __attribute__format__(__printf__,2,3);
5268 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
5269 assert(sv); assert(pat)
5271 PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
5272 __attribute__format__(__printf__,2,3);
5273 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
5274 assert(sv); assert(pat)
5276 PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
5277 __attribute__format__(__printf__,2,3);
5278 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
5279 assert(sv); assert(pat)
5281 PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
5282 __attribute__format__(__printf__,2,3);
5283 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
5284 assert(sv); assert(pat)
5286 PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...)
5287 __attribute__format__(__printf__,1,2);
5288 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
5291 PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...)
5292 __attribute__format__(__printf__,2,3);
5293 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
5297 #if defined(MYMALLOC)
5298 PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s);
5299 #define PERL_ARGS_ASSERT_DUMP_MSTATS \
5301 PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level);
5302 #define PERL_ARGS_ASSERT_GET_MSTATS \
5304 PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes)
5305 __attribute__warn_unused_result__
5306 __attribute__visibility__("hidden");
5307 #define PERL_ARGS_ASSERT_MALLOC_GOOD_SIZE
5309 PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p)
5310 __attribute__warn_unused_result__
5311 __attribute__visibility__("hidden");
5312 #define PERL_ARGS_ASSERT_MALLOCED_SIZE \
5316 #if defined(PERL_ANY_COW)
5317 PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv);
5318 #define PERL_ARGS_ASSERT_SV_SETSV_COW \
5321 #if defined(PERL_CORE)
5322 PERL_CALLCONV void Perl_opslab_force_free(pTHX_ OPSLAB *slab)
5323 __attribute__visibility__("hidden");
5324 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE \
5327 PERL_CALLCONV void Perl_opslab_free(pTHX_ OPSLAB *slab)
5328 __attribute__visibility__("hidden");
5329 #define PERL_ARGS_ASSERT_OPSLAB_FREE \
5332 PERL_CALLCONV void Perl_opslab_free_nopad(pTHX_ OPSLAB *slab)
5333 __attribute__visibility__("hidden");
5334 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD \
5337 PERL_CALLCONV void Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab)
5338 __attribute__visibility__("hidden");
5339 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \
5340 assert(parser); assert(slab)
5342 #ifndef PERL_NO_INLINE_FUNCTIONS
5343 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv)
5344 __attribute__warn_unused_result__;
5345 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \
5349 # if defined(PERL_DEBUG_READONLY_OPS)
5350 PERL_CALLCONV void Perl_Slab_to_ro(pTHX_ OPSLAB *slab);
5351 #define PERL_ARGS_ASSERT_SLAB_TO_RO \
5353 PERL_CALLCONV void Perl_Slab_to_rw(pTHX_ OPSLAB *const slab);
5354 #define PERL_ARGS_ASSERT_SLAB_TO_RW \
5358 #if defined(PERL_CORE) || defined (PERL_EXT)
5359 #ifndef PERL_NO_INLINE_FUNCTIONS
5360 PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len)
5361 __attribute__warn_unused_result__;
5362 #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \
5366 #ifndef PERL_NO_INLINE_FUNCTIONS
5367 PERL_STATIC_INLINE STRLEN S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp);
5368 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B \
5369 assert(sv); assert(pv)
5372 #if defined(PERL_CORE) || defined(PERL_EXT)
5373 PERL_CALLCONV bool Perl_isSCRIPT_RUN(pTHX_ const U8 *s, const U8 *send, const bool utf8_target)
5374 __attribute__warn_unused_result__;
5375 #define PERL_ARGS_ASSERT_ISSCRIPT_RUN \
5376 assert(s); assert(send)
5378 #ifndef PERL_NO_INLINE_FUNCTIONS
5379 PERL_STATIC_INLINE Size_t S_variant_under_utf8_count(const U8* const s, const U8* const e)
5380 __attribute__warn_unused_result__;
5381 #define PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT \
5382 assert(s); assert(e)
5386 #if defined(PERL_CR_FILTER)
5387 # if defined(PERL_IN_TOKE_C)
5388 STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5389 #define PERL_ARGS_ASSERT_CR_TEXTFILTER
5390 STATIC void S_strip_return(pTHX_ SV *sv);
5391 #define PERL_ARGS_ASSERT_STRIP_RETURN \
5395 #if defined(PERL_DEBUG_READONLY_COW)
5396 PERL_CALLCONV void Perl_sv_buf_to_ro(pTHX_ SV *sv)
5397 __attribute__visibility__("hidden");
5398 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO \
5401 # if defined(PERL_IN_SV_C)
5402 STATIC void S_sv_buf_to_rw(pTHX_ SV *sv);
5403 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW \
5407 #if defined(PERL_DEBUG_READONLY_OPS)
5408 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o);
5409 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC \
5411 PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o);
5412 #define PERL_ARGS_ASSERT_OP_REFCNT_INC
5414 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)
5415 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
5416 __attribute__visibility__("hidden");
5417 #define PERL_ARGS_ASSERT_DO_EXEC \
5421 #if defined(PERL_DONT_CREATE_GVSV)
5423 PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV *gv);
5424 #define PERL_ARGS_ASSERT_GV_SVADD
5427 #if defined(PERL_IMPLICIT_SYS)
5428 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);
5429 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING \
5430 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5431 # if defined(USE_ITHREADS)
5432 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);
5433 #define PERL_ARGS_ASSERT_PERL_CLONE_USING \
5434 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
5437 #if defined(PERL_IN_AV_C)
5438 STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av);
5439 #define PERL_ARGS_ASSERT_GET_AUX_MG \
5442 #if defined(PERL_IN_DEB_C)
5443 STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);
5444 #define PERL_ARGS_ASSERT_DEB_STACK_N \
5447 #if defined(PERL_IN_DOIO_C)
5448 STATIC bool S_argvout_final(pTHX_ MAGIC *mg, IO *io, bool is_explicit);
5449 #define PERL_ARGS_ASSERT_ARGVOUT_FINAL \
5450 assert(mg); assert(io)
5451 STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report);
5452 #define PERL_ARGS_ASSERT_EXEC_FAILED \
5454 STATIC bool S_ingroup(pTHX_ Gid_t testgid, bool effective)
5455 __attribute__warn_unused_result__;
5456 #define PERL_ARGS_ASSERT_INGROUP
5458 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);
5459 #define PERL_ARGS_ASSERT_OPENN_CLEANUP \
5460 assert(gv); assert(io); assert(mode); assert(oname)
5461 STATIC IO * S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype);
5462 #define PERL_ARGS_ASSERT_OPENN_SETUP \
5463 assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype)
5465 #if defined(PERL_IN_DOOP_C)
5466 STATIC Size_t S_do_trans_complex(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5467 __attribute__warn_unused_result__;
5468 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \
5469 assert(sv); assert(tbl)
5471 STATIC Size_t S_do_trans_count(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5472 __attribute__warn_unused_result__;
5473 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
5474 assert(sv); assert(tbl)
5476 STATIC Size_t S_do_trans_count_invmap(pTHX_ SV * const sv, AV * const map)
5477 __attribute__warn_unused_result__;
5478 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_INVMAP \
5479 assert(sv); assert(map)
5481 STATIC Size_t S_do_trans_invmap(pTHX_ SV * const sv, AV * const map)
5482 __attribute__warn_unused_result__;
5483 #define PERL_ARGS_ASSERT_DO_TRANS_INVMAP \
5484 assert(sv); assert(map)
5486 STATIC Size_t S_do_trans_simple(pTHX_ SV * const sv, const OPtrans_map * const tbl)
5487 __attribute__warn_unused_result__;
5488 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \
5489 assert(sv); assert(tbl)
5492 #if defined(PERL_IN_DUMP_C)
5493 STATIC CV* S_deb_curcv(pTHX_ I32 ix);
5494 #define PERL_ARGS_ASSERT_DEB_CURCV
5495 STATIC void S_debprof(pTHX_ const OP *o);
5496 #define PERL_ARGS_ASSERT_DEBPROF \
5498 STATIC SV* S_pm_description(pTHX_ const PMOP *pm);
5499 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5501 STATIC UV S_sequence_num(pTHX_ const OP *o);
5502 #define PERL_ARGS_ASSERT_SEQUENCE_NUM
5504 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
5505 PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv)
5506 __attribute__visibility__("hidden");
5507 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \
5511 #if defined(PERL_IN_GV_C)
5512 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);
5513 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \
5514 assert(stash); assert(name)
5515 #ifndef PERL_NO_INLINE_FUNCTIONS
5516 PERL_STATIC_INLINE GV* S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags);
5517 #define PERL_ARGS_ASSERT_GV_FETCHMETH_INTERNAL
5519 STATIC void S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type);
5520 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
5522 STATIC bool S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8);
5523 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \
5525 STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, const svtype sv_type);
5526 #define PERL_ARGS_ASSERT_GV_MAGICALIZE \
5527 assert(gv); assert(stash); assert(name)
5528 STATIC void S_gv_magicalize_isa(pTHX_ GV *gv);
5529 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
5531 #ifndef PERL_NO_INLINE_FUNCTIONS
5532 PERL_STATIC_INLINE HV* S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags);
5533 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \
5536 STATIC void S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type);
5537 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV \
5538 assert(gv); assert(name)
5539 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);
5540 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME \
5541 assert(stash); assert(gv); assert(name); assert(len); assert(nambeg)
5542 STATIC void S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name, STRLEN len, const U32 flags);
5543 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \
5544 assert(gv); assert(varname); assert(name)
5546 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5547 PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5548 __attribute__visibility__("hidden");
5549 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5550 assert(tsv); assert(sv)
5553 #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
5554 PERL_CALLCONV HV* Perl_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags)
5555 __attribute__visibility__("hidden");
5558 #if defined(PERL_IN_HV_C)
5559 STATIC void S_clear_placeholders(pTHX_ HV *hv, U32 items);
5560 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \
5562 STATIC void S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize);
5563 #define PERL_ARGS_ASSERT_HSPLIT \
5565 STATIC struct xpvhv_aux* S_hv_auxinit(pTHX_ HV *hv);
5566 #define PERL_ARGS_ASSERT_HV_AUXINIT \
5568 STATIC SV* S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
5569 #define PERL_ARGS_ASSERT_HV_DELETE_COMMON
5570 STATIC SV* S_hv_free_ent_ret(pTHX_ HE *entry);
5571 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET \
5573 STATIC void S_hv_free_entries(pTHX_ HV *hv);
5574 #define PERL_ARGS_ASSERT_HV_FREE_ENTRIES \
5576 STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store);
5577 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
5578 assert(hv); assert(needs_copy); assert(needs_store)
5579 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
5580 __attribute__noreturn__;
5581 #define PERL_ARGS_ASSERT_HV_NOTALLOWED \
5582 assert(key); assert(msg)
5584 STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he);
5585 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \
5587 STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
5588 __attribute__malloc__
5589 __attribute__warn_unused_result__;
5590 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
5593 STATIC HEK* S_share_hek_flags(pTHX_ const char *str, STRLEN len, U32 hash, int flags)
5594 __attribute__warn_unused_result__;
5595 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \
5598 STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
5599 #define PERL_ARGS_ASSERT_UNSHARE_HEK_OR_PVN
5601 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
5602 PERL_CALLCONV void Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5603 __attribute__visibility__("hidden");
5604 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \
5608 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
5609 PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
5610 __attribute__visibility__("hidden");
5611 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \
5612 assert(hv); assert(indexp)
5615 #if defined(PERL_IN_LOCALE_C)
5616 #ifndef PERL_NO_INLINE_FUNCTIONS
5617 PERL_STATIC_INLINE const char * S_save_to_buffer(const char * string, const char **buf, Size_t *buf_size, const Size_t offset)
5618 __attribute__warn_unused_result__;
5619 #define PERL_ARGS_ASSERT_SAVE_TO_BUFFER \
5623 # if defined(USE_LOCALE)
5624 STATIC const char* S_category_name(const int category);
5625 #define PERL_ARGS_ASSERT_CATEGORY_NAME
5626 STATIC unsigned int S_get_category_index(const int category, const char * locale);
5627 #define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
5628 STATIC void S_new_LC_ALL(pTHX_ const char* unused);
5629 #define PERL_ARGS_ASSERT_NEW_LC_ALL
5630 STATIC void S_new_collate(pTHX_ const char* newcoll);
5631 #define PERL_ARGS_ASSERT_NEW_COLLATE
5632 STATIC void S_new_ctype(pTHX_ const char* newctype);
5633 #define PERL_ARGS_ASSERT_NEW_CTYPE \
5635 STATIC void S_new_numeric(pTHX_ const char* newnum);
5636 #define PERL_ARGS_ASSERT_NEW_NUMERIC
5637 STATIC void S_restore_switched_locale(pTHX_ const int category, const char * const original_locale);
5638 #define PERL_ARGS_ASSERT_RESTORE_SWITCHED_LOCALE
5639 STATIC void S_set_numeric_radix(pTHX_ const bool use_locale);
5640 #define PERL_ARGS_ASSERT_SET_NUMERIC_RADIX
5641 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)
5642 __attribute__noreturn__;
5643 #define PERL_ARGS_ASSERT_SETLOCALE_FAILURE_PANIC_I \
5646 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);
5647 #define PERL_ARGS_ASSERT_STDIZE_LOCALE
5648 STATIC const char* S_switch_category_locale_to_template(pTHX_ const int switch_category, const int template_category, const char * template_locale);
5649 #define PERL_ARGS_ASSERT_SWITCH_CATEGORY_LOCALE_TO_TEMPLATE
5650 # if defined(USE_POSIX_2008_LOCALE)
5651 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);
5652 #define PERL_ARGS_ASSERT_EMULATE_SETLOCALE_I
5653 STATIC const char* S_my_querylocale_i(pTHX_ const unsigned int index);
5654 #define PERL_ARGS_ASSERT_MY_QUERYLOCALE_I
5655 STATIC const char * S_setlocale_from_aggregate_LC_ALL(pTHX_ const char * locale, const line_t line);
5656 #define PERL_ARGS_ASSERT_SETLOCALE_FROM_AGGREGATE_LC_ALL \
5658 STATIC locale_t S_use_curlocale_scratch(pTHX);
5659 #define PERL_ARGS_ASSERT_USE_CURLOCALE_SCRATCH
5660 # if defined(USE_QUERYLOCALE)
5661 STATIC const char * S_calculate_LC_ALL(pTHX_ const locale_t cur_obj);
5662 #define PERL_ARGS_ASSERT_CALCULATE_LC_ALL
5666 STATIC char* S_win32_setlocale(pTHX_ int category, const char* locale);
5667 #define PERL_ARGS_ASSERT_WIN32_SETLOCALE
5671 #if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
5672 # if defined(USE_LOCALE_COLLATE)
5673 PERL_CALLCONV char* Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8)
5674 __attribute__visibility__("hidden");
5675 #define PERL_ARGS_ASSERT__MEM_COLLXFRM \
5676 assert(input_string); assert(xlen)
5680 #if defined(PERL_IN_MALLOC_C)
5681 STATIC int S_adjust_size_and_find_bucket(size_t *nbytes_p);
5682 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \
5685 #if defined(PERL_IN_MG_C)
5686 STATIC void S_fixup_errno_string(pTHX_ SV* sv);
5687 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING \
5689 STATIC SV* S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val);
5690 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \
5691 assert(sv); assert(mg); assert(meth)
5692 STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth);
5693 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
5694 assert(sv); assert(mg); assert(meth)
5695 STATIC void S_restore_magic(pTHX_ const void *p);
5696 #define PERL_ARGS_ASSERT_RESTORE_MAGIC
5697 STATIC void S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags);
5698 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS \
5700 STATIC void S_unwind_handler_stack(pTHX_ const void *p);
5701 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK
5703 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
5704 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)
5705 __attribute__visibility__("hidden");
5706 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \
5707 assert(posp); assert(lenp)
5710 #if defined(PERL_IN_MRO_C)
5711 STATIC void S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags);
5712 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV \
5713 assert(isa); assert(name)
5714 STATIC void S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv);
5715 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \
5716 assert(stashes); assert(seen_stashes); assert(namesv)
5717 STATIC AV* S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level);
5718 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
5721 #if defined(PERL_IN_NUMERIC_C)
5722 STATIC void S_output_non_portable(pTHX_ const U8 shift);
5723 #define PERL_ARGS_ASSERT_OUTPUT_NON_PORTABLE
5725 #if defined(PERL_IN_OP_C)
5726 STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs);
5727 #define PERL_ARGS_ASSERT_APPLY_ATTRS \
5728 assert(stash); assert(target)
5729 STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp);
5730 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
5731 assert(stash); assert(target); assert(imopsp)
5732 STATIC I32 S_assignment_type(pTHX_ const OP *o)
5733 __attribute__warn_unused_result__;
5734 #define PERL_ARGS_ASSERT_ASSIGNMENT_TYPE
5736 STATIC void S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t);
5737 #define PERL_ARGS_ASSERT_BAD_TYPE_GV \
5738 assert(gv); assert(kid); assert(t)
5739 STATIC void S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid);
5740 #define PERL_ARGS_ASSERT_BAD_TYPE_PV \
5741 assert(t); assert(o); assert(kid)
5742 STATIC void S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv);
5743 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS \
5744 assert(fullname); assert(gv); assert(cv)
5745 STATIC void S_cop_free(pTHX_ COP *cop);
5746 #define PERL_ARGS_ASSERT_COP_FREE \
5748 STATIC OP * S_dup_attrlist(pTHX_ OP *o);
5749 #define PERL_ARGS_ASSERT_DUP_ATTRLIST \
5751 STATIC void S_find_and_forget_pmops(pTHX_ OP *o);
5752 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
5754 STATIC OP* S_fold_constants(pTHX_ OP * const o);
5755 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
5757 STATIC OP* S_force_list(pTHX_ OP* arg, bool nullit);
5758 #define PERL_ARGS_ASSERT_FORCE_LIST
5759 STATIC void S_forget_pmop(pTHX_ PMOP *const o);
5760 #define PERL_ARGS_ASSERT_FORGET_PMOP \
5762 STATIC void S_gen_constant_list(pTHX_ OP* o);
5763 #define PERL_ARGS_ASSERT_GEN_CONSTANT_LIST
5764 STATIC void S_inplace_aassign(pTHX_ OP* o);
5765 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN \
5767 STATIC bool S_is_handle_constructor(const OP *o, I32 numargs)
5768 __attribute__warn_unused_result__;
5769 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
5772 STATIC OP* S_listkids(pTHX_ OP* o);
5773 #define PERL_ARGS_ASSERT_LISTKIDS
5774 STATIC bool S_looks_like_bool(pTHX_ const OP* o);
5775 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \
5777 STATIC OP* S_modkids(pTHX_ OP *o, I32 type);
5778 #define PERL_ARGS_ASSERT_MODKIDS
5779 STATIC void S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name, bool curstash);
5780 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR \
5781 assert(proto); assert(attrs); assert(name)
5782 STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp);
5783 #define PERL_ARGS_ASSERT_MY_KID \
5785 STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg);
5786 #define PERL_ARGS_ASSERT_NEWGIVWHENOP \
5788 #ifndef PERL_NO_INLINE_FUNCTIONS
5789 PERL_STATIC_INLINE OP* S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth);
5790 #define PERL_ARGS_ASSERT_NEWMETHOP_INTERNAL
5792 STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
5793 __attribute__warn_unused_result__;
5794 #define PERL_ARGS_ASSERT_NEW_LOGOP \
5795 assert(firstp); assert(otherp)
5797 STATIC OP* S_no_fh_allowed(pTHX_ OP *o)
5798 __attribute__warn_unused_result__;
5799 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED \
5802 #ifndef PERL_NO_INLINE_FUNCTIONS
5803 PERL_STATIC_INLINE OP* S_op_integerize(pTHX_ OP *o);
5804 #define PERL_ARGS_ASSERT_OP_INTEGERIZE \
5807 #ifndef PERL_NO_INLINE_FUNCTIONS
5808 PERL_STATIC_INLINE OP* S_op_std_init(pTHX_ OP *o);
5809 #define PERL_ARGS_ASSERT_OP_STD_INIT \
5812 STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
5813 #define PERL_ARGS_ASSERT_PMTRANS \
5814 assert(o); assert(expr); assert(repl)
5815 STATIC bool S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv);
5816 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
5817 assert(fullname); assert(gv); assert(cv)
5818 STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond);
5819 #define PERL_ARGS_ASSERT_REF_ARRAY_OR_HASH
5820 STATIC OP* S_refkids(pTHX_ OP* o, I32 type);
5821 #define PERL_ARGS_ASSERT_REFKIDS
5822 STATIC bool S_scalar_mod_type(const OP *o, I32 type)
5823 __attribute__warn_unused_result__;
5824 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE
5826 STATIC OP* S_scalarboolean(pTHX_ OP *o);
5827 #define PERL_ARGS_ASSERT_SCALARBOOLEAN \
5829 STATIC OP* S_scalarkids(pTHX_ OP* o);
5830 #define PERL_ARGS_ASSERT_SCALARKIDS
5831 STATIC OP* S_search_const(pTHX_ OP *o)
5832 __attribute__warn_unused_result__;
5833 #define PERL_ARGS_ASSERT_SEARCH_CONST \
5836 STATIC void S_simplify_sort(pTHX_ OP *o);
5837 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT \
5839 STATIC OP* S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
5840 __attribute__warn_unused_result__;
5841 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV \
5842 assert(o); assert(name)
5844 STATIC OP* S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags);
5845 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
5846 assert(o); assert(name)
5847 STATIC OP* S_voidnonfinal(pTHX_ OP* o);
5848 #define PERL_ARGS_ASSERT_VOIDNONFINAL
5850 #if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
5851 PERL_CALLCONV void Perl_check_hash_fields_and_hekify(pTHX_ UNOP *rop, SVOP *key_op, int real)
5852 __attribute__visibility__("hidden");
5853 #define PERL_ARGS_ASSERT_CHECK_HASH_FIELDS_AND_HEKIFY
5855 PERL_CALLCONV void Perl_no_bareword_allowed(pTHX_ OP *o)
5856 __attribute__visibility__("hidden");
5857 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \
5860 PERL_CALLCONV void Perl_op_prune_chain_head(OP **op_p)
5861 __attribute__visibility__("hidden");
5862 #define PERL_ARGS_ASSERT_OP_PRUNE_CHAIN_HEAD \
5865 PERL_CALLCONV SV * Perl_op_varname(pTHX_ const OP *o)
5866 __attribute__visibility__("hidden");
5867 #define PERL_ARGS_ASSERT_OP_VARNAME \
5870 PERL_CALLCONV void Perl_optimize_optree(pTHX_ OP* o)
5871 __attribute__visibility__("hidden");
5872 #define PERL_ARGS_ASSERT_OPTIMIZE_OPTREE \
5875 PERL_CALLCONV void Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is_slice)
5876 __attribute__visibility__("hidden");
5877 #define PERL_ARGS_ASSERT_WARN_ELEM_SCALAR_CONTEXT \
5878 assert(o); assert(name)
5880 # if defined(USE_ITHREADS)
5881 PERL_CALLCONV void Perl_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp)
5882 __attribute__visibility__("hidden");
5883 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \
5884 assert(svp); assert(targp)
5888 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
5889 PERL_CALLCONV void Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)
5890 __attribute__visibility__("hidden");
5891 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV \
5892 assert(name); assert(old_cv)
5895 #if defined(PERL_IN_PAD_C)
5896 STATIC PADOFFSET S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash);
5897 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \
5899 STATIC void S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash);
5900 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP \
5902 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);
5903 #define PERL_ARGS_ASSERT_PAD_FINDLEX \
5904 assert(namepv); assert(cv); assert(out_name); assert(out_flags)
5905 STATIC void S_pad_reset(pTHX);
5906 #define PERL_ARGS_ASSERT_PAD_RESET
5908 #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
5909 #ifndef PERL_NO_INLINE_FUNCTIONS
5910 PERL_STATIC_INLINE bool S_PadnameIN_SCOPE(const PADNAME * const pn, const U32 seq);
5911 #define PERL_ARGS_ASSERT_PADNAMEIN_SCOPE \
5915 #if defined(PERL_IN_PEEP_C)
5916 STATIC void S_finalize_op(pTHX_ OP* o);
5917 #define PERL_ARGS_ASSERT_FINALIZE_OP \
5919 STATIC void S_optimize_op(pTHX_ OP* o);
5920 #define PERL_ARGS_ASSERT_OPTIMIZE_OP \
5922 STATIC OP* S_traverse_op_tree(pTHX_ OP* top, OP* o);
5923 #define PERL_ARGS_ASSERT_TRAVERSE_OP_TREE \
5924 assert(top); assert(o)
5926 #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
5928 PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type)
5929 __attribute__visibility__("hidden");
5930 #define PERL_ARGS_ASSERT_REF
5934 #if defined(PERL_IN_PERL_C)
5935 STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp);
5936 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
5937 assert(linestr_sv); assert(rsfp)
5938 STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript);
5939 #define PERL_ARGS_ASSERT_FORBID_SETID
5940 STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags);
5941 #define PERL_ARGS_ASSERT_INCPUSH \
5943 STATIC void S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags);
5944 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \
5946 STATIC void S_init_ids(pTHX);
5947 #define PERL_ARGS_ASSERT_INIT_IDS
5948 STATIC void S_init_interp(pTHX);
5949 #define PERL_ARGS_ASSERT_INIT_INTERP
5950 STATIC void S_init_main_stash(pTHX);
5951 #define PERL_ARGS_ASSERT_INIT_MAIN_STASH
5952 STATIC void S_init_perllib(pTHX);
5953 #define PERL_ARGS_ASSERT_INIT_PERLLIB
5954 STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env);
5955 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
5957 STATIC void S_init_predump_symbols(pTHX);
5958 #define PERL_ARGS_ASSERT_INIT_PREDUMP_SYMBOLS
5959 STATIC SV* S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags);
5960 #define PERL_ARGS_ASSERT_MAYBERELOCATE \
5962 PERL_STATIC_NO_RET void S_minus_v(pTHX)
5963 __attribute__noreturn__;
5964 #define PERL_ARGS_ASSERT_MINUS_V
5966 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX)
5967 __attribute__noreturn__;
5968 #define PERL_ARGS_ASSERT_MY_EXIT_JUMP
5970 STATIC void S_nuke_stacks(pTHX);
5971 #define PERL_ARGS_ASSERT_NUKE_STACKS
5972 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript);
5973 #define PERL_ARGS_ASSERT_OPEN_SCRIPT \
5974 assert(scriptname); assert(suidscript)
5975 STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
5976 #define PERL_ARGS_ASSERT_PARSE_BODY
5977 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope)
5978 __attribute__noreturn__;
5979 #define PERL_ARGS_ASSERT_RUN_BODY
5981 PERL_STATIC_NO_RET void S_usage(pTHX)
5982 __attribute__noreturn__;
5983 #define PERL_ARGS_ASSERT_USAGE
5986 #if defined(PERL_IN_PP_C)
5987 STATIC size_t S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping);
5988 #define PERL_ARGS_ASSERT_DO_CHOMP \
5989 assert(retval); assert(sv)
5990 STATIC OP* S_do_delete_local(pTHX);
5991 #define PERL_ARGS_ASSERT_DO_DELETE_LOCAL
5992 STATIC SV* S_refto(pTHX_ SV* sv)
5993 __attribute__warn_unused_result__;
5994 #define PERL_ARGS_ASSERT_REFTO \
5998 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
5999 #ifndef PERL_NO_INLINE_FUNCTIONS
6000 PERL_STATIC_INLINE bool S_lossless_NV_to_IV(const NV nv, IV * ivp)
6001 __attribute__warn_unused_result__;
6002 #define PERL_ARGS_ASSERT_LOSSLESS_NV_TO_IV \
6006 PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
6007 __attribute__warn_unused_result__;
6008 #define PERL_ARGS_ASSERT_SOFTREF2XV \
6009 assert(sv); assert(what); assert(spp)
6012 #if defined(PERL_IN_PP_CTL_C)
6013 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name)
6014 __attribute__warn_unused_result__;
6015 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \
6018 STATIC void S_destroy_matcher(pTHX_ PMOP* matcher);
6019 #define PERL_ARGS_ASSERT_DESTROY_MATCHER \
6021 STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied);
6022 #define PERL_ARGS_ASSERT_DO_SMARTMATCH
6023 STATIC OP* S_docatch(pTHX_ Perl_ppaddr_t firstpp)
6024 __attribute__warn_unused_result__;
6025 #define PERL_ARGS_ASSERT_DOCATCH
6027 STATIC bool S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV* hh);
6028 #define PERL_ARGS_ASSERT_DOEVAL_COMPILE
6029 STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit)
6030 __attribute__warn_unused_result__;
6031 #define PERL_ARGS_ASSERT_DOFINDLABEL \
6032 assert(o); assert(label); assert(opstack); assert(oplimit)
6034 STATIC MAGIC * S_doparseform(pTHX_ SV *sv);
6035 #define PERL_ARGS_ASSERT_DOPARSEFORM \
6037 STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock)
6038 __attribute__warn_unused_result__;
6039 #define PERL_ARGS_ASSERT_DOPOPTOEVAL
6041 STATIC I32 S_dopoptogivenfor(pTHX_ I32 startingblock)
6042 __attribute__warn_unused_result__;
6043 #define PERL_ARGS_ASSERT_DOPOPTOGIVENFOR
6045 STATIC I32 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags)
6046 __attribute__warn_unused_result__;
6047 #define PERL_ARGS_ASSERT_DOPOPTOLABEL \
6050 STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock)
6051 __attribute__warn_unused_result__;
6052 #define PERL_ARGS_ASSERT_DOPOPTOLOOP
6054 STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
6055 __attribute__warn_unused_result__;
6056 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \
6059 STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock)
6060 __attribute__warn_unused_result__;
6061 #define PERL_ARGS_ASSERT_DOPOPTOWHEN
6063 STATIC PMOP* S_make_matcher(pTHX_ REGEXP* re)
6064 __attribute__warn_unused_result__;
6065 #define PERL_ARGS_ASSERT_MAKE_MATCHER \
6068 STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
6069 __attribute__warn_unused_result__;
6070 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \
6071 assert(matcher); assert(sv)
6073 STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize)
6074 __attribute__warn_unused_result__;
6075 #define PERL_ARGS_ASSERT_NUM_OVERFLOW
6077 #ifndef PERL_NO_INLINE_FUNCTIONS
6078 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name)
6079 __attribute__warn_unused_result__;
6080 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE \
6084 STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
6085 __attribute__warn_unused_result__;
6086 #define PERL_ARGS_ASSERT_RUN_USER_FILTER \
6089 STATIC void S_rxres_free(pTHX_ void** rsp);
6090 #define PERL_ARGS_ASSERT_RXRES_FREE \
6092 STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx);
6093 #define PERL_ARGS_ASSERT_RXRES_RESTORE \
6094 assert(rsp); assert(rx)
6095 STATIC void S_save_lines(pTHX_ AV *array, SV *sv);
6096 #define PERL_ARGS_ASSERT_SAVE_LINES \
6099 #if defined(PERL_IN_PP_HOT_C)
6100 STATIC void S_do_oddball(pTHX_ SV **oddkey, SV **firstkey);
6101 #define PERL_ARGS_ASSERT_DO_ODDBALL \
6102 assert(oddkey); assert(firstkey)
6103 #ifndef PERL_NO_INLINE_FUNCTIONS
6104 PERL_STATIC_INLINE HV* S_opmethod_stash(pTHX_ SV* meth);
6105 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \
6108 #ifndef PERL_NO_INLINE_FUNCTIONS
6109 PERL_STATIC_FORCE_INLINE bool S_should_we_output_Debug_r(pTHX_ regexp * prog)
6110 __attribute__warn_unused_result__
6111 __attribute__always_inline__;
6112 #define PERL_ARGS_ASSERT_SHOULD_WE_OUTPUT_DEBUG_R \
6117 #if defined(PERL_IN_PP_PACK_C)
6118 STATIC int S_div128(pTHX_ SV *pnum, bool *done);
6119 #define PERL_ARGS_ASSERT_DIV128 \
6120 assert(pnum); assert(done)
6121 STATIC char S_first_symbol(const char *pat, const char *patend);
6122 #define PERL_ARGS_ASSERT_FIRST_SYMBOL \
6123 assert(pat); assert(patend)
6124 STATIC const char * S_get_num(pTHX_ const char *patptr, SSize_t *lenptr)
6125 __attribute__warn_unused_result__;
6126 #define PERL_ARGS_ASSERT_GET_NUM \
6127 assert(patptr); assert(lenptr)
6129 STATIC const char * S_group_end(pTHX_ const char *patptr, const char *patend, char ender);
6130 #define PERL_ARGS_ASSERT_GROUP_END \
6131 assert(patptr); assert(patend)
6132 STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l)
6133 __attribute__warn_unused_result__;
6134 #define PERL_ARGS_ASSERT_IS_AN_INT \
6137 STATIC SSize_t S_measure_struct(pTHX_ struct tempsym* symptr);
6138 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
6140 STATIC SV* S_mul128(pTHX_ SV *sv, U8 m);
6141 #define PERL_ARGS_ASSERT_MUL128 \
6143 STATIC char * S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap)
6144 __attribute__warn_unused_result__;
6145 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8 \
6146 assert(start); assert(dest)
6148 STATIC bool S_need_utf8(const char *pat, const char *patend);
6149 #define PERL_ARGS_ASSERT_NEED_UTF8 \
6150 assert(pat); assert(patend)
6151 STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr);
6152 #define PERL_ARGS_ASSERT_NEXT_SYMBOL \
6154 STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist);
6155 #define PERL_ARGS_ASSERT_PACK_REC \
6156 assert(cat); assert(symptr); assert(beglist); assert(endlist)
6157 STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
6158 __attribute__warn_unused_result__;
6159 #define PERL_ARGS_ASSERT_SV_EXP_GROW \
6162 STATIC SSize_t S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s);
6163 #define PERL_ARGS_ASSERT_UNPACK_REC \
6164 assert(symptr); assert(s); assert(strbeg); assert(strend)
6166 #if defined(PERL_IN_PP_SORT_C)
6167 #ifndef PERL_NO_INLINE_FUNCTIONS
6168 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
6169 __attribute__always_inline__;
6170 #define PERL_ARGS_ASSERT_AMAGIC_CMP \
6171 assert(str1); assert(str2)
6174 #ifndef PERL_NO_INLINE_FUNCTIONS
6175 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6176 __attribute__always_inline__;
6177 #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC \
6178 assert(str1); assert(str2)
6181 #ifndef PERL_NO_INLINE_FUNCTIONS
6182 PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
6183 __attribute__always_inline__;
6184 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
6185 assert(a); assert(b)
6188 #ifndef PERL_NO_INLINE_FUNCTIONS
6189 PERL_STATIC_FORCE_INLINE I32 S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6190 __attribute__always_inline__;
6191 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC \
6192 assert(a); assert(b)
6195 #ifndef PERL_NO_INLINE_FUNCTIONS
6196 PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
6197 __attribute__always_inline__;
6198 #define PERL_ARGS_ASSERT_AMAGIC_NCMP \
6199 assert(a); assert(b)
6202 #ifndef PERL_NO_INLINE_FUNCTIONS
6203 PERL_STATIC_FORCE_INLINE I32 S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
6204 __attribute__always_inline__;
6205 #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC \
6206 assert(a); assert(b)
6209 #ifndef PERL_NO_INLINE_FUNCTIONS
6210 PERL_STATIC_FORCE_INLINE I32 S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
6211 __attribute__always_inline__;
6212 #define PERL_ARGS_ASSERT_CMP_DESC \
6213 assert(str1); assert(str2)
6216 STATIC I32 S_sortcv(pTHX_ SV *const a, SV *const b);
6217 #define PERL_ARGS_ASSERT_SORTCV \
6218 assert(a); assert(b)
6219 STATIC I32 S_sortcv_stacked(pTHX_ SV *const a, SV *const b);
6220 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
6221 assert(a); assert(b)
6222 STATIC I32 S_sortcv_xsub(pTHX_ SV *const a, SV *const b);
6223 #define PERL_ARGS_ASSERT_SORTCV_XSUB \
6224 assert(a); assert(b)
6225 #ifndef PERL_NO_INLINE_FUNCTIONS
6226 PERL_STATIC_FORCE_INLINE void S_sortsv_flags_impl(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
6227 __attribute__always_inline__;
6228 #define PERL_ARGS_ASSERT_SORTSV_FLAGS_IMPL \
6232 #ifndef PERL_NO_INLINE_FUNCTIONS
6233 PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
6234 __attribute__always_inline__;
6235 #define PERL_ARGS_ASSERT_SV_I_NCMP \
6236 assert(a); assert(b)
6239 #ifndef PERL_NO_INLINE_FUNCTIONS
6240 PERL_STATIC_FORCE_INLINE I32 S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
6241 __attribute__always_inline__;
6242 #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC \
6243 assert(a); assert(b)
6246 #ifndef PERL_NO_INLINE_FUNCTIONS
6247 PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b)
6248 __attribute__always_inline__;
6249 #define PERL_ARGS_ASSERT_SV_NCMP \
6250 assert(a); assert(b)
6253 #ifndef PERL_NO_INLINE_FUNCTIONS
6254 PERL_STATIC_FORCE_INLINE I32 S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
6255 __attribute__always_inline__;
6256 #define PERL_ARGS_ASSERT_SV_NCMP_DESC \
6257 assert(a); assert(b)
6260 # if defined(USE_LOCALE_COLLATE)
6261 #ifndef PERL_NO_INLINE_FUNCTIONS
6262 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
6263 __attribute__always_inline__;
6264 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
6265 assert(str1); assert(str2)
6268 #ifndef PERL_NO_INLINE_FUNCTIONS
6269 PERL_STATIC_FORCE_INLINE I32 S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6270 __attribute__always_inline__;
6271 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC \
6272 assert(str1); assert(str2)
6275 #ifndef PERL_NO_INLINE_FUNCTIONS
6276 PERL_STATIC_FORCE_INLINE I32 S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
6277 __attribute__always_inline__;
6278 #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC \
6279 assert(str1); assert(str2)
6284 #if defined(PERL_IN_PP_SYS_C)
6285 STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
6286 #define PERL_ARGS_ASSERT_DOFORM \
6287 assert(cv); assert(gv)
6288 STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array);
6289 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL
6291 #if defined(PERL_IN_REGCOMP_C)
6292 STATIC void S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist);
6293 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \
6294 assert(pRExC_state); assert(invlist)
6295 STATIC U32 S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n)
6296 __attribute__warn_unused_result__;
6297 #define PERL_ARGS_ASSERT_ADD_DATA \
6298 assert(pRExC_state); assert(s)
6300 STATIC AV* S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count);
6301 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH \
6302 assert(multi_string)
6303 STATIC void S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size);
6304 #define PERL_ARGS_ASSERT_CHANGE_ENGINE_SIZE \
6306 STATIC REGEXP* S_compile_wildcard(pTHX_ const char * subpattern, const STRLEN len, const bool ignore_case)
6307 __attribute__warn_unused_result__;
6308 #define PERL_ARGS_ASSERT_COMPILE_WILDCARD \
6311 STATIC U8 S_compute_EXACTish(RExC_state_t *pRExC_state);
6312 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \
6314 STATIC regnode * S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth);
6315 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \
6316 assert(pRExC_state); assert(source)
6317 STATIC int S_edit_distance(const UV *src, const UV *tgt, const STRLEN x, const STRLEN y, const SSize_t maxDistance)
6318 __attribute__warn_unused_result__;
6319 #define PERL_ARGS_ASSERT_EDIT_DISTANCE \
6320 assert(src); assert(tgt)
6322 STATIC I32 S_execute_wildcard(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave);
6323 #define PERL_ARGS_ASSERT_EXECUTE_WILDCARD \
6324 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
6325 #ifndef PERL_NO_INLINE_FUNCTIONS
6326 PERL_STATIC_INLINE Size_t S_find_first_differing_byte_pos(const U8 * s1, const U8 * s2, const Size_t max);
6327 #define PERL_ARGS_ASSERT_FIND_FIRST_DIFFERING_BYTE_POS \
6328 assert(s1); assert(s2)
6330 STATIC SV * S_get_ANYOFHbbm_contents(pTHX_ const regnode * n)
6331 __attribute__warn_unused_result__;
6332 #define PERL_ARGS_ASSERT_GET_ANYOFHBBM_CONTENTS \
6335 STATIC SV * S_get_ANYOFM_contents(pTHX_ const regnode * n)
6336 __attribute__warn_unused_result__;
6337 #define PERL_ARGS_ASSERT_GET_ANYOFM_CONTENTS \
6340 STATIC SV* S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node);
6341 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \
6342 assert(pRExC_state); assert(node)
6343 STATIC U32 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char * start, const char * end);
6344 #define PERL_ARGS_ASSERT_GET_QUANTIFIER_VALUE \
6345 assert(pRExC_state); assert(start); assert(end)
6346 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);
6347 #define PERL_ARGS_ASSERT_GROK_BSLASH_N \
6348 assert(pRExC_state); assert(flagp)
6349 STATIC regnode_offset S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * backref_parse_start, char ch);
6350 #define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
6351 assert(pRExC_state); assert(flagp); assert(backref_parse_start)
6352 STATIC bool S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
6353 #define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
6354 assert(wname); assert(prop_definition); assert(strings)
6355 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);
6356 #define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
6357 assert(pRExC_state); assert(s)
6358 STATIC regnode_offset S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth);
6359 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \
6360 assert(pRExC_state); assert(flagp)
6361 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);
6362 #define PERL_ARGS_ASSERT_HANDLE_USER_DEFINED_PROPERTY \
6363 assert(name); assert(contents); assert(user_defined_ptr); assert(msg)
6364 #ifndef PERL_NO_INLINE_FUNCTIONS
6365 PERL_STATIC_INLINE SV* S_invlist_contents(pTHX_ SV* const invlist, const bool traditional_style)
6366 __attribute__warn_unused_result__;
6367 #define PERL_ARGS_ASSERT_INVLIST_CONTENTS \
6371 #ifndef PERL_NO_INLINE_FUNCTIONS
6372 PERL_STATIC_INLINE UV S_invlist_highest_range_start(SV* const invlist)
6373 __attribute__warn_unused_result__;
6374 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST_RANGE_START \
6378 #ifndef PERL_NO_INLINE_FUNCTIONS
6379 PERL_STATIC_INLINE bool S_invlist_is_iterating(const SV* const invlist)
6380 __attribute__warn_unused_result__;
6381 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \
6385 #ifndef PERL_NO_INLINE_FUNCTIONS
6386 PERL_STATIC_INLINE UV S_invlist_lowest(SV* const invlist)
6387 __attribute__warn_unused_result__;
6388 #define PERL_ARGS_ASSERT_INVLIST_LOWEST \
6392 STATIC bool S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc);
6393 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT \
6394 assert(pRExC_state); assert(ssc)
6395 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);
6396 #define PERL_ARGS_ASSERT_JOIN_EXACT \
6397 assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char)
6398 STATIC SV* S_make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
6399 __attribute__warn_unused_result__;
6400 #define PERL_ARGS_ASSERT_MAKE_EXACTF_INVLIST \
6401 assert(pRExC_state); assert(node)
6403 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);
6404 #define PERL_ARGS_ASSERT_MAKE_TRIE \
6405 assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
6406 STATIC void S_nextchar(pTHX_ RExC_state_t *pRExC_state);
6407 #define PERL_ARGS_ASSERT_NEXTCHAR \
6409 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);
6410 #define PERL_ARGS_ASSERT_OPTIMIZE_REGCLASS \
6411 assert(pRExC_state); assert(anyof_flags); assert(invert); assert(ret); assert(flagp)
6412 STATIC void S_output_posix_warnings(pTHX_ RExC_state_t *pRExC_state, AV* posix_warnings);
6413 #define PERL_ARGS_ASSERT_OUTPUT_POSIX_WARNINGS \
6414 assert(pRExC_state); assert(posix_warnings)
6415 STATIC void S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state);
6416 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \
6418 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);
6419 #define PERL_ARGS_ASSERT_PARSE_UNIPROP_STRING \
6420 assert(name); assert(user_defined_ptr); assert(msg)
6421 STATIC void S_populate_anyof_bitmap_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
6422 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_BITMAP_FROM_INVLIST \
6423 assert(node); assert(invlist_ptr)
6424 STATIC void S_populate_bitmap_from_invlist(pTHX_ SV * invlist, const UV offset, const U8 * bitmap, const Size_t len);
6425 #define PERL_ARGS_ASSERT_POPULATE_BITMAP_FROM_INVLIST \
6426 assert(invlist); assert(bitmap)
6427 STATIC void S_populate_invlist_from_bitmap(pTHX_ const U8 * bitmap, const Size_t bitmap_len, SV ** invlist, const UV offset);
6428 #define PERL_ARGS_ASSERT_POPULATE_INVLIST_FROM_BITMAP \
6429 assert(bitmap); assert(invlist)
6430 STATIC void S_rck_elide_nothing(pTHX_ regnode *node);
6431 #define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
6433 PERL_STATIC_NO_RET void S_re_croak(pTHX_ bool utf8, const char* pat, ...)
6434 __attribute__noreturn__
6435 __attribute__format__(__printf__,pTHX_2,pTHX_3);
6436 #define PERL_ARGS_ASSERT_RE_CROAK \
6439 STATIC regnode_offset S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth);
6440 #define PERL_ARGS_ASSERT_REG \
6441 assert(pRExC_state); assert(flagp)
6442 STATIC regnode_offset S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2);
6443 #define PERL_ARGS_ASSERT_REG2LANODE \
6445 STATIC regnode_offset S_reg_la_NOTHING(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6446 #define PERL_ARGS_ASSERT_REG_LA_NOTHING \
6447 assert(pRExC_state); assert(type)
6448 STATIC regnode_offset S_reg_la_OPFAIL(pTHX_ RExC_state_t *pRExC_state, U32 flags, const char *type);
6449 #define PERL_ARGS_ASSERT_REG_LA_OPFAIL \
6450 assert(pRExC_state); assert(type)
6451 STATIC regnode_offset S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op);
6452 #define PERL_ARGS_ASSERT_REG_NODE \
6454 STATIC SV * S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags);
6455 #define PERL_ARGS_ASSERT_REG_SCAN_NAME \
6457 #ifndef PERL_NO_INLINE_FUNCTIONS
6458 PERL_STATIC_INLINE char * S_reg_skipcomment(RExC_state_t *pRExC_state, char * p);
6459 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \
6460 assert(pRExC_state); assert(p)
6462 STATIC regnode_offset S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg);
6463 #define PERL_ARGS_ASSERT_REGANODE \
6465 STATIC regnode_offset S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6466 #define PERL_ARGS_ASSERT_REGATOM \
6467 assert(pRExC_state); assert(flagp)
6468 STATIC regnode_offset S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth);
6469 #define PERL_ARGS_ASSERT_REGBRANCH \
6470 assert(pRExC_state); assert(flagp)
6471 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);
6472 #define PERL_ARGS_ASSERT_REGCLASS \
6473 assert(pRExC_state); assert(flagp)
6474 STATIC unsigned int S_regex_set_precedence(const U8 my_operator)
6475 __attribute__warn_unused_result__;
6476 #define PERL_ARGS_ASSERT_REGEX_SET_PRECEDENCE
6478 STATIC void S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op, const regnode_offset operand, const U32 depth);
6479 #define PERL_ARGS_ASSERT_REGINSERT \
6481 STATIC regnode_offset S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_len);
6482 #define PERL_ARGS_ASSERT_REGNODE_GUTS \
6484 STATIC regnode_offset S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth);
6485 #define PERL_ARGS_ASSERT_REGPIECE \
6486 assert(pRExC_state); assert(flagp)
6487 STATIC regnode_offset S_regpnode(pTHX_ RExC_state_t *pRExC_state, U8 op, SV * arg);
6488 #define PERL_ARGS_ASSERT_REGPNODE \
6489 assert(pRExC_state); assert(arg)
6490 STATIC bool S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode_offset p, const regnode_offset val, const U32 depth)
6491 __attribute__warn_unused_result__;
6492 #define PERL_ARGS_ASSERT_REGTAIL \
6493 assert(pRExC_state); assert(p); assert(val)
6495 STATIC void S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);
6496 #define PERL_ARGS_ASSERT_SCAN_COMMIT \
6497 assert(pRExC_state); assert(data); assert(minlenp)
6498 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);
6499 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG \
6500 assert(pRExC_state); assert(node)
6501 STATIC void S_set_regex_pv(pTHX_ RExC_state_t *pRExC_state, REGEXP *Rx);
6502 #define PERL_ARGS_ASSERT_SET_REGEX_PV \
6503 assert(pRExC_state); assert(Rx)
6504 STATIC void S_skip_to_be_ignored_text(pTHX_ RExC_state_t *pRExC_state, char ** p, const bool force_to_xmod);
6505 #define PERL_ARGS_ASSERT_SKIP_TO_BE_IGNORED_TEXT \
6506 assert(pRExC_state); assert(p)
6507 STATIC void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end);
6508 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE \
6510 STATIC void S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with);
6511 #define PERL_ARGS_ASSERT_SSC_AND \
6512 assert(pRExC_state); assert(ssc); assert(and_with)
6513 STATIC void S_ssc_anything(pTHX_ regnode_ssc *ssc);
6514 #define PERL_ARGS_ASSERT_SSC_ANYTHING \
6516 STATIC void S_ssc_clear_locale(regnode_ssc *ssc);
6517 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE \
6519 STATIC void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp);
6520 #define PERL_ARGS_ASSERT_SSC_CP_AND \
6522 STATIC void S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc);
6523 #define PERL_ARGS_ASSERT_SSC_FINALIZE \
6524 assert(pRExC_state); assert(ssc)
6525 STATIC void S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc);
6526 #define PERL_ARGS_ASSERT_SSC_INIT \
6527 assert(pRExC_state); assert(ssc)
6528 STATIC void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6529 #define PERL_ARGS_ASSERT_SSC_INTERSECTION \
6530 assert(ssc); assert(invlist)
6531 STATIC int S_ssc_is_anything(const regnode_ssc *ssc)
6532 __attribute__warn_unused_result__;
6533 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING \
6536 STATIC int S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc)
6537 __attribute__warn_unused_result__;
6538 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \
6539 assert(pRExC_state); assert(ssc)
6541 STATIC void S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with);
6542 #define PERL_ARGS_ASSERT_SSC_OR \
6543 assert(pRExC_state); assert(ssc); assert(or_with)
6544 STATIC void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd);
6545 #define PERL_ARGS_ASSERT_SSC_UNION \
6546 assert(ssc); assert(invlist)
6547 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);
6548 #define PERL_ARGS_ASSERT_STUDY_CHUNK \
6549 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
6551 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
6552 PERL_CALLCONV void Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist);
6553 #define PERL_ARGS_ASSERT__INVLIST_DUMP \
6554 assert(file); assert(indent); assert(invlist)
6556 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
6557 #ifndef PERL_NO_INLINE_FUNCTIONS
6558 PERL_STATIC_INLINE SV* S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp)
6559 __attribute__warn_unused_result__;
6560 #define PERL_ARGS_ASSERT_ADD_CP_TO_INVLIST
6563 #ifndef PERL_NO_INLINE_FUNCTIONS
6564 PERL_STATIC_INLINE void S_invlist_extend(pTHX_ SV* const invlist, const UV len);
6565 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \
6568 #ifndef PERL_NO_INLINE_FUNCTIONS
6569 PERL_STATIC_INLINE UV S_invlist_highest(SV* const invlist)
6570 __attribute__warn_unused_result__;
6571 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST \
6575 #ifndef PERL_NO_INLINE_FUNCTIONS
6576 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset);
6577 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN \
6581 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
6582 PERL_CALLCONV SV* Perl__add_range_to_invlist(pTHX_ SV* invlist, UV start, UV end)
6583 __attribute__warn_unused_result__;
6584 #define PERL_ARGS_ASSERT__ADD_RANGE_TO_INVLIST
6586 /* PERL_CALLCONV void _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i); */
6587 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION
6588 PERL_CALLCONV void Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i);
6589 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \
6590 assert(b); assert(i)
6591 PERL_CALLCONV void Perl__invlist_invert(pTHX_ SV* const invlist);
6592 #define PERL_ARGS_ASSERT__INVLIST_INVERT \
6594 /* PERL_CALLCONV void _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result); */
6595 #define PERL_ARGS_ASSERT__INVLIST_SUBTRACT
6596 /* PERL_CALLCONV void _invlist_union(pTHX_ SV* const a, SV* const b, SV** output); */
6597 #define PERL_ARGS_ASSERT__INVLIST_UNION
6598 PERL_CALLCONV void Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output);
6599 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \
6600 assert(b); assert(output)
6601 PERL_CALLCONV SV* Perl__new_invlist(pTHX_ IV initial_size)
6602 __attribute__warn_unused_result__;
6603 #define PERL_ARGS_ASSERT__NEW_INVLIST
6605 PERL_CALLCONV SV* Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr)
6606 __attribute__warn_unused_result__;
6607 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \
6608 assert(other_elements_ptr)
6611 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
6612 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)
6613 __attribute__warn_unused_result__;
6614 #define PERL_ARGS_ASSERT_FORM_ALIEN_DIGIT_MSG \
6615 assert(first_bad); assert(send)
6617 PERL_CALLCONV bool Perl_grok_bslash_c(pTHX_ const char source, U8 * result, const char** message, U32 * packed_warn)
6618 __attribute__warn_unused_result__;
6619 #define PERL_ARGS_ASSERT_GROK_BSLASH_C \
6620 assert(result); assert(message)
6622 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)
6623 __attribute__warn_unused_result__;
6624 #define PERL_ARGS_ASSERT_GROK_BSLASH_O \
6625 assert(s); assert(send); assert(uv); assert(message)
6627 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)
6628 __attribute__warn_unused_result__;
6629 #define PERL_ARGS_ASSERT_GROK_BSLASH_X \
6630 assert(s); assert(send); assert(uv); assert(message)
6633 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
6634 PERL_CALLCONV const char * Perl_form_cp_too_large_msg(pTHX_ const U8 which, const char * string, const Size_t len, const UV cp)
6635 __attribute__warn_unused_result__;
6636 #define PERL_ARGS_ASSERT_FORM_CP_TOO_LARGE_MSG
6639 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
6640 #ifndef PERL_NO_INLINE_FUNCTIONS
6641 PERL_STATIC_INLINE STRLEN* S_get_invlist_iter_addr(SV* invlist)
6642 __attribute__warn_unused_result__;
6643 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \
6647 #ifndef PERL_NO_INLINE_FUNCTIONS
6648 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist);
6649 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH \
6652 #ifndef PERL_NO_INLINE_FUNCTIONS
6653 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist);
6654 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT \
6657 #ifndef PERL_NO_INLINE_FUNCTIONS
6658 PERL_STATIC_INLINE bool S_invlist_iternext(SV* invlist, UV* start, UV* end)
6659 __attribute__warn_unused_result__;
6660 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \
6661 assert(invlist); assert(start); assert(end)
6665 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
6666 PERL_CALLCONV bool Perl__invlistEQ(pTHX_ SV* const a, SV* const b, const bool complement_b);
6667 #define PERL_ARGS_ASSERT__INVLISTEQ \
6668 assert(a); assert(b)
6669 PERL_CALLCONV SV* Perl__new_invlist_C_array(pTHX_ const UV* const list)
6670 __attribute__warn_unused_result__;
6671 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
6675 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
6676 #ifndef PERL_NO_INLINE_FUNCTIONS
6677 PERL_STATIC_INLINE const char * S_get_regex_charset_name(const U32 flags, STRLEN* const lenp);
6678 #define PERL_ARGS_ASSERT_GET_REGEX_CHARSET_NAME \
6682 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
6683 #ifndef PERL_NO_INLINE_FUNCTIONS
6684 PERL_STATIC_INLINE bool Perl_check_regnode_after(pTHX_ const regnode* p, const STRLEN extra)
6685 __attribute__warn_unused_result__;
6686 #define PERL_ARGS_ASSERT_CHECK_REGNODE_AFTER
6689 PERL_CALLCONV int Perl_re_printf(pTHX_ const char *fmt, ...)
6690 __attribute__visibility__("hidden")
6691 __attribute__format__(__printf__,pTHX_1,pTHX_2);
6692 #define PERL_ARGS_ASSERT_RE_PRINTF \
6695 #ifndef PERL_NO_INLINE_FUNCTIONS
6696 PERL_STATIC_INLINE regnode* Perl_regnext(pTHX_ const regnode* p)
6697 __attribute__warn_unused_result__;
6698 #define PERL_ARGS_ASSERT_REGNEXT
6701 #ifndef PERL_NO_INLINE_FUNCTIONS
6702 PERL_STATIC_INLINE regnode* Perl_regnode_after(pTHX_ const regnode* p, bool varies)
6703 __attribute__warn_unused_result__;
6704 #define PERL_ARGS_ASSERT_REGNODE_AFTER
6707 PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state)
6708 __attribute__visibility__("hidden");
6709 #define PERL_ARGS_ASSERT_REGPROP \
6710 assert(sv); assert(o)
6713 #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)
6714 #ifndef PERL_NO_INLINE_FUNCTIONS
6715 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp)
6716 __attribute__warn_unused_result__;
6717 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
6721 #ifndef PERL_NO_INLINE_FUNCTIONS
6722 PERL_STATIC_INLINE UV S__invlist_len(SV* const invlist)
6723 __attribute__warn_unused_result__;
6724 #define PERL_ARGS_ASSERT__INVLIST_LEN \
6728 PERL_CALLCONV SSize_t Perl__invlist_search(SV* const invlist, const UV cp)
6729 __attribute__warn_unused_result__;
6730 #define PERL_ARGS_ASSERT__INVLIST_SEARCH \
6733 #ifndef PERL_NO_INLINE_FUNCTIONS
6734 PERL_STATIC_INLINE bool* S_get_invlist_offset_addr(SV* invlist)
6735 __attribute__warn_unused_result__;
6736 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \
6740 #ifndef PERL_NO_INLINE_FUNCTIONS
6741 PERL_STATIC_INLINE UV* S_invlist_array(SV* const invlist)
6742 __attribute__warn_unused_result__;
6743 #define PERL_ARGS_ASSERT_INVLIST_ARRAY \
6747 #ifndef PERL_NO_INLINE_FUNCTIONS
6748 PERL_STATIC_INLINE bool S_is_invlist(const SV* const invlist)
6749 __attribute__warn_unused_result__;
6750 #define PERL_ARGS_ASSERT_IS_INVLIST
6754 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
6755 PERL_CALLCONV bool Perl_is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 *strend, const UV cp)
6756 __attribute__warn_unused_result__
6757 __attribute__visibility__("hidden");
6758 #define PERL_ARGS_ASSERT_IS_GRAPHEME \
6759 assert(strbeg); assert(s); assert(strend)
6762 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
6763 PERL_CALLCONV UV Perl__to_fold_latin1(const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags);
6764 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1 \
6765 assert(p); assert(lenp)
6767 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
6768 PERL_CALLCONV SV* Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist);
6769 #define PERL_ARGS_ASSERT_INVLIST_CLONE \
6772 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
6773 PERL_CALLCONV bool Perl_regcurly(const char *s, const char *e, const char * result[5])
6774 __attribute__warn_unused_result__;
6775 #define PERL_ARGS_ASSERT_REGCURLY \
6776 assert(s); assert(e)
6779 #if defined(PERL_IN_REGEXEC_C)
6780 STATIC LB_enum S_advance_one_LB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6781 __attribute__warn_unused_result__;
6782 #define PERL_ARGS_ASSERT_ADVANCE_ONE_LB \
6783 assert(curpos); assert(strend)
6785 STATIC SB_enum S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target)
6786 __attribute__warn_unused_result__;
6787 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \
6788 assert(curpos); assert(strend)
6790 STATIC WB_enum S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target, const bool skip_Extend_Format)
6791 __attribute__warn_unused_result__;
6792 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \
6793 assert(curpos); assert(strend)
6795 STATIC GCB_enum S_backup_one_GCB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6796 __attribute__warn_unused_result__;
6797 #define PERL_ARGS_ASSERT_BACKUP_ONE_GCB \
6798 assert(strbeg); assert(curpos)
6800 STATIC LB_enum S_backup_one_LB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6801 __attribute__warn_unused_result__;
6802 #define PERL_ARGS_ASSERT_BACKUP_ONE_LB \
6803 assert(strbeg); assert(curpos)
6805 STATIC SB_enum S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6806 __attribute__warn_unused_result__;
6807 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB \
6808 assert(strbeg); assert(curpos)
6810 STATIC WB_enum S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target)
6811 __attribute__warn_unused_result__;
6812 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB \
6813 assert(previous); assert(strbeg); assert(curpos)
6815 STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
6816 __attribute__warn_unused_result__;
6817 #define PERL_ARGS_ASSERT_FIND_BYCLASS \
6818 assert(prog); assert(c); assert(s); assert(strend)
6820 STATIC U8 * S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
6821 __attribute__warn_unused_result__;
6822 #define PERL_ARGS_ASSERT_FIND_NEXT_MASKED \
6823 assert(s); assert(send)
6825 STATIC U8 * S_find_span_end(U8* s, const U8 * send, const U8 span_byte)
6826 __attribute__warn_unused_result__;
6827 #define PERL_ARGS_ASSERT_FIND_SPAN_END \
6828 assert(s); assert(send)
6830 STATIC U8 * S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
6831 __attribute__warn_unused_result__;
6832 #define PERL_ARGS_ASSERT_FIND_SPAN_END_MASK \
6833 assert(s); assert(send)
6835 #ifndef PERL_NO_INLINE_FUNCTIONS
6836 PERL_STATIC_INLINE I32 S_foldEQ_latin1_s2_folded(pTHX_ const char* a, const char* b, I32 len);
6837 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1_S2_FOLDED \
6838 assert(a); assert(b)
6840 STATIC bool S_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
6841 __attribute__warn_unused_result__;
6842 #define PERL_ARGS_ASSERT_ISFOO_LC
6844 STATIC bool S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
6845 __attribute__warn_unused_result__;
6846 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC \
6847 assert(character); assert(e)
6849 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)
6850 __attribute__warn_unused_result__;
6851 #define PERL_ARGS_ASSERT_ISGCB \
6852 assert(strbeg); assert(curpos)
6854 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)
6855 __attribute__warn_unused_result__;
6856 #define PERL_ARGS_ASSERT_ISLB \
6857 assert(strbeg); assert(curpos); assert(strend)
6859 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)
6860 __attribute__warn_unused_result__;
6861 #define PERL_ARGS_ASSERT_ISSB \
6862 assert(strbeg); assert(curpos); assert(strend)
6864 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)
6865 __attribute__warn_unused_result__;
6866 #define PERL_ARGS_ASSERT_ISWB \
6867 assert(strbeg); assert(curpos); assert(strend)
6869 STATIC I32 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan)
6870 __attribute__warn_unused_result__;
6871 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
6872 assert(rex); assert(scan)
6874 STATIC void S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 *maxopenparen_p _pDEPTH);
6875 #define PERL_ARGS_ASSERT_REGCP_RESTORE \
6876 assert(rex); assert(maxopenparen_p)
6877 STATIC void S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p _pDEPTH);
6878 #define PERL_ARGS_ASSERT_REGCPPOP \
6879 assert(rex); assert(maxopenparen_p)
6880 STATIC CHECKPOINT S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH);
6881 #define PERL_ARGS_ASSERT_REGCPPUSH \
6883 STATIC U8* S_reghop3(U8 *s, SSize_t off, const U8 *lim)
6884 __attribute__warn_unused_result__;
6885 #define PERL_ARGS_ASSERT_REGHOP3 \
6886 assert(s); assert(lim)
6888 STATIC U8* S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
6889 __attribute__warn_unused_result__;
6890 #define PERL_ARGS_ASSERT_REGHOP4 \
6891 assert(s); assert(llim); assert(rlim)
6893 STATIC U8* S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
6894 __attribute__warn_unused_result__;
6895 #define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
6896 assert(s); assert(lim)
6898 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)
6899 __attribute__warn_unused_result__;
6900 #define PERL_ARGS_ASSERT_REGINCLASS \
6901 assert(n); assert(p); assert(p_end)
6903 STATIC SSize_t S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
6904 __attribute__warn_unused_result__;
6905 #define PERL_ARGS_ASSERT_REGMATCH \
6906 assert(reginfo); assert(startpos); assert(prog)
6908 STATIC I32 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, char *loceol, regmatch_info *const reginfo, I32 max _pDEPTH)
6909 __attribute__warn_unused_result__;
6910 #define PERL_ARGS_ASSERT_REGREPEAT \
6911 assert(prog); assert(startposp); assert(p); assert(loceol); assert(reginfo)
6913 STATIC bool S_regtry(pTHX_ regmatch_info *reginfo, char **startposp)
6914 __attribute__warn_unused_result__;
6915 #define PERL_ARGS_ASSERT_REGTRY \
6916 assert(reginfo); assert(startposp)
6918 STATIC bool S_to_byte_substr(pTHX_ regexp * prog);
6919 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
6921 STATIC void S_to_utf8_substr(pTHX_ regexp * prog);
6922 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
6925 #if defined(PERL_IN_SCOPE_C)
6926 STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
6927 #define PERL_ARGS_ASSERT_SAVE_PUSHPTRI32PTR
6928 STATIC SV* S_save_scalar_at(pTHX_ SV **sptr, const U32 flags);
6929 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
6932 #if defined(PERL_IN_SV_C)
6933 STATIC char * S_F0convert(NV nv, char *const endbuf, STRLEN *const len);
6934 #define PERL_ARGS_ASSERT_F0CONVERT \
6935 assert(endbuf); assert(len)
6936 STATIC void S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv);
6937 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE \
6938 assert(gv); assert(cv)
6939 STATIC void S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv);
6940 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \
6941 assert(func); assert(sv)
6942 STATIC bool S_curse(pTHX_ SV * const sv, const bool check_refcnt);
6943 #define PERL_ARGS_ASSERT_CURSE \
6945 STATIC STRLEN S_expect_number(pTHX_ const char **const pattern)
6946 __attribute__warn_unused_result__;
6947 #define PERL_ARGS_ASSERT_EXPECT_NUMBER \
6950 STATIC SSize_t S_find_array_subscript(pTHX_ const AV *const av, const SV *const val);
6951 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \
6953 STATIC SV * S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val);
6954 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \
6956 STATIC SV* S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p);
6957 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR \
6959 STATIC bool S_glob_2number(pTHX_ GV* const gv);
6960 #define PERL_ARGS_ASSERT_GLOB_2NUMBER \
6962 STATIC void S_glob_assign_glob(pTHX_ SV *const dsv, SV *const ssv, const int dtype);
6963 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \
6964 assert(dsv); assert(ssv)
6965 PERL_CALLCONV SV * Perl_more_sv(pTHX);
6966 #define PERL_ARGS_ASSERT_MORE_SV
6967 STATIC void S_not_a_number(pTHX_ SV *const sv);
6968 #define PERL_ARGS_ASSERT_NOT_A_NUMBER \
6970 STATIC void S_not_incrementable(pTHX_ SV *const sv);
6971 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \
6973 STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
6974 __attribute__warn_unused_result__;
6975 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
6978 STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv);
6979 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
6981 STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags);
6982 #define PERL_ARGS_ASSERT_SV_ADD_ARENA \
6984 STATIC const char * S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size);
6985 #define PERL_ARGS_ASSERT_SV_DISPLAY \
6986 assert(sv); assert(tmpbuf)
6987 STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu);
6988 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \
6989 assert(s); assert(target); assert(end)
6990 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);
6991 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \
6992 assert(sv); assert(mgp); assert(start); assert(send)
6993 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);
6994 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \
6995 assert(start); assert(send); assert(uoffset); assert(at_end); assert(canonical_position)
6996 STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend);
6997 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \
6998 assert(start); assert(send)
6999 #ifndef PERL_NO_INLINE_FUNCTIONS
7000 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags);
7001 #define PERL_ARGS_ASSERT_SV_UNGLOB \
7004 #ifndef PERL_NO_INLINE_FUNCTIONS
7005 PERL_STATIC_INLINE char * S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
7006 __attribute__warn_unused_result__;
7007 #define PERL_ARGS_ASSERT_UIV_2BUF \
7008 assert(buf); assert(peob)
7011 STATIC void S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen);
7012 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \
7013 assert(sv); assert(mgp)
7014 STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen);
7015 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
7016 assert(sv); assert(mgp)
7017 STATIC I32 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask);
7018 #define PERL_ARGS_ASSERT_VISIT \
7020 # if defined(USE_ITHREADS)
7021 STATIC SV* S_sv_dup_common(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7022 __attribute__warn_unused_result__;
7023 #define PERL_ARGS_ASSERT_SV_DUP_COMMON \
7024 assert(ssv); assert(param)
7026 STATIC SV ** S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param);
7027 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \
7028 assert(source); assert(dest); assert(param)
7029 STATIC void S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced);
7030 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \
7031 assert(unreferenced)
7034 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
7035 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)
7036 __attribute__warn_unused_result__
7037 __attribute__visibility__("hidden");
7038 #define PERL_ARGS_ASSERT_VARNAME
7041 #if defined(PERL_IN_TOKE_C)
7042 STATIC int S_ao(pTHX_ int toketype);
7043 #define PERL_ARGS_ASSERT_AO
7044 STATIC void S_check_uni(pTHX);
7045 #define PERL_ARGS_ASSERT_CHECK_UNI
7046 STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what);
7047 #define PERL_ARGS_ASSERT_CHECKCOMMA \
7048 assert(s); assert(name); assert(what)
7049 STATIC char * S_filter_gets(pTHX_ SV *sv, STRLEN append)
7050 __attribute__warn_unused_result__;
7051 #define PERL_ARGS_ASSERT_FILTER_GETS \
7054 STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
7055 __attribute__warn_unused_result__;
7056 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \
7059 STATIC void S_force_ident(pTHX_ const char *s, int kind);
7060 #define PERL_ARGS_ASSERT_FORCE_IDENT \
7062 STATIC void S_force_ident_maybe_lex(pTHX_ char pit);
7063 #define PERL_ARGS_ASSERT_FORCE_IDENT_MAYBE_LEX
7064 STATIC void S_force_next(pTHX_ I32 type);
7065 #define PERL_ARGS_ASSERT_FORCE_NEXT
7066 STATIC char* S_force_strict_version(pTHX_ char *s);
7067 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \
7069 STATIC char* S_force_version(pTHX_ char *s, int guessing);
7070 #define PERL_ARGS_ASSERT_FORCE_VERSION \
7072 STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack);
7073 #define PERL_ARGS_ASSERT_FORCE_WORD \
7075 STATIC SV* S_get_and_check_backslash_N_name_wrapper(pTHX_ const char* s, const char* const e)
7076 __attribute__warn_unused_result__;
7077 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME_WRAPPER \
7078 assert(s); assert(e)
7080 STATIC void S_incline(pTHX_ const char *s, const char *end);
7081 #define PERL_ARGS_ASSERT_INCLINE \
7082 assert(s); assert(end)
7083 STATIC int S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
7084 #define PERL_ARGS_ASSERT_INTUIT_METHOD \
7086 STATIC int S_intuit_more(pTHX_ char *s, char *e);
7087 #define PERL_ARGS_ASSERT_INTUIT_MORE \
7088 assert(s); assert(e)
7089 STATIC I32 S_lop(pTHX_ I32 f, U8 x, char *s);
7090 #define PERL_ARGS_ASSERT_LOP \
7092 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s, STRLEN len)
7093 __attribute__noreturn__;
7094 #define PERL_ARGS_ASSERT_MISSINGTERM
7096 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);
7097 #define PERL_ARGS_ASSERT_NEW_CONSTANT \
7098 assert(key); assert(sv)
7099 STATIC void S_no_op(pTHX_ const char *const what, char *s);
7100 #define PERL_ARGS_ASSERT_NO_OP \
7102 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);
7103 #define PERL_ARGS_ASSERT_PARSE_IDENT \
7104 assert(s); assert(d); assert(e)
7105 STATIC int S_pending_ident(pTHX);
7106 #define PERL_ARGS_ASSERT_PENDING_IDENT
7107 STATIC char* S_scan_const(pTHX_ char *start)
7108 __attribute__warn_unused_result__;
7109 #define PERL_ARGS_ASSERT_SCAN_CONST \
7112 STATIC char* S_scan_formline(pTHX_ char *s)
7113 __attribute__warn_unused_result__;
7114 #define PERL_ARGS_ASSERT_SCAN_FORMLINE \
7117 STATIC char* S_scan_heredoc(pTHX_ char *s)
7118 __attribute__warn_unused_result__;
7119 #define PERL_ARGS_ASSERT_SCAN_HEREDOC \
7122 STATIC char* S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni);
7123 #define PERL_ARGS_ASSERT_SCAN_IDENT \
7124 assert(s); assert(dest)
7125 STATIC char* S_scan_inputsymbol(pTHX_ char *start)
7126 __attribute__warn_unused_result__;
7127 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \
7130 STATIC char* S_scan_pat(pTHX_ char *start, I32 type)
7131 __attribute__warn_unused_result__;
7132 #define PERL_ARGS_ASSERT_SCAN_PAT \
7135 STATIC char* S_scan_subst(pTHX_ char *start)
7136 __attribute__warn_unused_result__;
7137 #define PERL_ARGS_ASSERT_SCAN_SUBST \
7140 STATIC char* S_scan_trans(pTHX_ char *start)
7141 __attribute__warn_unused_result__;
7142 #define PERL_ARGS_ASSERT_SCAN_TRANS \
7145 STATIC I32 S_sublex_done(pTHX)
7146 __attribute__warn_unused_result__;
7147 #define PERL_ARGS_ASSERT_SUBLEX_DONE
7149 STATIC I32 S_sublex_push(pTHX)
7150 __attribute__warn_unused_result__;
7151 #define PERL_ARGS_ASSERT_SUBLEX_PUSH
7153 STATIC I32 S_sublex_start(pTHX)
7154 __attribute__warn_unused_result__;
7155 #define PERL_ARGS_ASSERT_SUBLEX_START
7157 STATIC char* S_swallow_bom(pTHX_ U8 *s)
7158 __attribute__warn_unused_result__;
7159 #define PERL_ARGS_ASSERT_SWALLOW_BOM \
7162 STATIC char * S_tokenize_use(pTHX_ int is_use, char *s)
7163 __attribute__warn_unused_result__;
7164 #define PERL_ARGS_ASSERT_TOKENIZE_USE \
7167 STATIC SV* S_tokeq(pTHX_ SV *sv);
7168 #define PERL_ARGS_ASSERT_TOKEQ \
7170 STATIC void S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
7171 #define PERL_ARGS_ASSERT_UPDATE_DEBUGGER_INFO
7172 STATIC int S_yywarn(pTHX_ const char *const s, U32 flags);
7173 #define PERL_ARGS_ASSERT_YYWARN \
7176 #if defined(PERL_IN_UNIVERSAL_C)
7177 STATIC bool S_isa_lookup(pTHX_ HV *stash, SV *namesv, const char * name, STRLEN len, U32 flags);
7178 STATIC bool S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLEN len, U32 flags);
7180 #if defined(PERL_IN_UTF8_C)
7181 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);
7182 #define PERL_ARGS_ASSERT__TO_UTF8_CASE \
7183 assert(ustrp); assert(lenp); assert(invlist); assert(invmap); assert(normal)
7184 STATIC UV S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp)
7185 __attribute__warn_unused_result__;
7186 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \
7187 assert(p); assert(ustrp); assert(lenp)
7189 #ifndef PERL_NO_INLINE_FUNCTIONS
7190 PERL_STATIC_INLINE int S_does_utf8_overflow(const U8 * const s, const U8 * e, const bool consider_overlongs)
7191 __attribute__warn_unused_result__;
7192 #define PERL_ARGS_ASSERT_DOES_UTF8_OVERFLOW \
7193 assert(s); assert(e)
7196 #ifndef PERL_NO_INLINE_FUNCTIONS
7197 PERL_STATIC_INLINE int S_isFF_overlong(const U8 * const s, const STRLEN len)
7198 __attribute__warn_unused_result__;
7199 #define PERL_ARGS_ASSERT_ISFF_OVERLONG \
7203 #ifndef PERL_NO_INLINE_FUNCTIONS
7204 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, const U8 *const e, SV* const invlist)
7205 __attribute__warn_unused_result__;
7206 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
7207 assert(p); assert(e)
7210 #ifndef PERL_NO_INLINE_FUNCTIONS
7211 PERL_STATIC_INLINE int S_is_utf8_overlong(const U8 * const s, const STRLEN len)
7212 __attribute__warn_unused_result__;
7213 #define PERL_ARGS_ASSERT_IS_UTF8_OVERLONG \
7217 STATIC HV * S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
7218 __attribute__warn_unused_result__;
7219 #define PERL_ARGS_ASSERT_NEW_MSG_HV \
7222 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);
7223 #define PERL_ARGS_ASSERT_TO_CASE_CP_LIST \
7224 assert(invlist); assert(invmap); assert(normal)
7225 STATIC U8 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp, const char dummy)
7226 __attribute__warn_unused_result__;
7227 #define PERL_ARGS_ASSERT_TO_LOWER_LATIN1
7229 STATIC UV S_turkic_fc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7230 #define PERL_ARGS_ASSERT_TURKIC_FC \
7231 assert(p); assert(e); assert(ustrp); assert(lenp)
7232 STATIC UV S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e, U8* ustrp, STRLEN *lenp);
7233 #define PERL_ARGS_ASSERT_TURKIC_LC \
7234 assert(p0); assert(e); assert(ustrp); assert(lenp)
7235 STATIC UV S_turkic_uc(pTHX_ const U8 * const p, const U8 * const e, U8* ustrp, STRLEN *lenp);
7236 #define PERL_ARGS_ASSERT_TURKIC_UC \
7237 assert(p); assert(e); assert(ustrp); assert(lenp)
7238 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)
7239 __attribute__warn_unused_result__;
7240 #define PERL_ARGS_ASSERT_UNEXPECTED_NON_CONTINUATION_TEXT \
7244 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
7245 PERL_CALLCONV UV Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s)
7246 __attribute__visibility__("hidden");
7247 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \
7248 assert(p); assert(lenp)
7251 #if defined(PERL_IN_UTIL_C)
7252 STATIC bool S_ckwarn_common(pTHX_ U32 w);
7253 #define PERL_ARGS_ASSERT_CKWARN_COMMON
7254 STATIC bool S_invoke_exception_hook(pTHX_ SV *ex, bool warn);
7255 #define PERL_ARGS_ASSERT_INVOKE_EXCEPTION_HOOK
7256 STATIC SV* S_mess_alloc(pTHX);
7257 #define PERL_ARGS_ASSERT_MESS_ALLOC
7258 STATIC SV * S_with_queued_errors(pTHX_ SV *ex);
7259 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \
7261 STATIC void S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len);
7262 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK \
7264 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
7265 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);
7266 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
7267 assert(type_name); assert(filename); assert(funcname)
7270 #if defined(PERL_MEM_LOG)
7271 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);
7272 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC \
7273 assert(type_name); assert(filename); assert(funcname)
7274 PERL_CALLCONV void Perl_mem_log_del_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7275 #define PERL_ARGS_ASSERT_MEM_LOG_DEL_SV \
7276 assert(sv); assert(filename); assert(funcname)
7277 PERL_CALLCONV Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname);
7278 #define PERL_ARGS_ASSERT_MEM_LOG_FREE \
7279 assert(filename); assert(funcname)
7280 PERL_CALLCONV void Perl_mem_log_new_sv(const SV *sv, const char *filename, int linenumber, const char *funcname);
7281 #define PERL_ARGS_ASSERT_MEM_LOG_NEW_SV \
7282 assert(sv); assert(filename); assert(funcname)
7283 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);
7284 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC \
7285 assert(type_name); assert(filename); assert(funcname)
7287 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
7288 STATIC void S_pidgone(pTHX_ Pid_t pid, int status);
7289 #define PERL_ARGS_ASSERT_PIDGONE
7291 #if defined(PERL_USE_3ARG_SIGHANDLER)
7292 PERL_CALLCONV Signal_t Perl_csighandler(int sig, Siginfo_t *info, void *uap);
7293 #define PERL_ARGS_ASSERT_CSIGHANDLER
7294 PERL_CALLCONV Signal_t Perl_sighandler(int sig, Siginfo_t *info, void *uap)
7295 __attribute__visibility__("hidden");
7296 #define PERL_ARGS_ASSERT_SIGHANDLER
7299 #if defined(U64TYPE) /* HAS_QUAD undefined outside of core */
7300 #ifndef PERL_NO_INLINE_FUNCTIONS
7301 PERL_STATIC_INLINE unsigned Perl_lsbit_pos64(U64 word)
7302 __attribute__warn_unused_result__;
7303 #define PERL_ARGS_ASSERT_LSBIT_POS64
7306 #ifndef PERL_NO_INLINE_FUNCTIONS
7307 PERL_STATIC_INLINE unsigned Perl_msbit_pos64(U64 word)
7308 __attribute__warn_unused_result__;
7309 #define PERL_ARGS_ASSERT_MSBIT_POS64
7312 #ifndef PERL_NO_INLINE_FUNCTIONS
7313 PERL_STATIC_INLINE unsigned Perl_single_1bit_pos64(U64 word)
7314 __attribute__warn_unused_result__;
7315 #define PERL_ARGS_ASSERT_SINGLE_1BIT_POS64
7319 #if defined(UNLINK_ALL_VERSIONS)
7320 PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f);
7321 #define PERL_ARGS_ASSERT_UNLNK \
7324 #if defined(USE_C_BACKTRACE)
7325 PERL_CALLCONV bool Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip);
7326 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE \
7328 /* PERL_CALLCONV void free_c_backtrace(pTHX_ Perl_c_backtrace* bt); */
7329 #define PERL_ARGS_ASSERT_FREE_C_BACKTRACE
7330 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip)
7331 __attribute__visibility__("hidden");
7332 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE
7334 PERL_CALLCONV SV* Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip);
7335 #define PERL_ARGS_ASSERT_GET_C_BACKTRACE_DUMP
7337 #if defined(USE_DTRACE)
7338 PERL_CALLCONV void Perl_dtrace_probe_call(pTHX_ CV *cv, bool is_call);
7339 #define PERL_ARGS_ASSERT_DTRACE_PROBE_CALL \
7341 PERL_CALLCONV void Perl_dtrace_probe_load(pTHX_ const char *name, bool is_loading);
7342 #define PERL_ARGS_ASSERT_DTRACE_PROBE_LOAD \
7344 PERL_CALLCONV void Perl_dtrace_probe_op(pTHX_ const OP *op);
7345 #define PERL_ARGS_ASSERT_DTRACE_PROBE_OP \
7347 PERL_CALLCONV void Perl_dtrace_probe_phase(pTHX_ enum perl_phase phase);
7348 #define PERL_ARGS_ASSERT_DTRACE_PROBE_PHASE
7350 #if defined(USE_ITHREADS)
7351 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv);
7352 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH \
7354 PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
7355 __attribute__warn_unused_result__;
7356 #define PERL_ARGS_ASSERT_ANY_DUP \
7359 PERL_CALLCONV void Perl_clone_params_del(CLONE_PARAMS *param);
7360 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \
7362 PERL_CALLCONV CLONE_PARAMS * Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to)
7363 __attribute__warn_unused_result__;
7364 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \
7365 assert(from); assert(to)
7367 #ifndef PERL_NO_INLINE_FUNCTIONS
7368 PERL_STATIC_INLINE AV* Perl_cop_file_avn(pTHX_ const COP *cop);
7369 #define PERL_ARGS_ASSERT_COP_FILE_AVN \
7372 PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
7373 __attribute__warn_unused_result__;
7374 #define PERL_ARGS_ASSERT_CX_DUP \
7377 PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
7378 __attribute__warn_unused_result__;
7379 #define PERL_ARGS_ASSERT_DIRP_DUP \
7382 PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param);
7383 #define PERL_ARGS_ASSERT_FP_DUP \
7385 PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
7386 __attribute__warn_unused_result__;
7387 #define PERL_ARGS_ASSERT_GP_DUP \
7390 PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
7391 __attribute__warn_unused_result__;
7392 #define PERL_ARGS_ASSERT_HE_DUP \
7395 PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
7396 __attribute__warn_unused_result__;
7397 #define PERL_ARGS_ASSERT_HEK_DUP \
7400 PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
7401 __attribute__warn_unused_result__;
7402 #define PERL_ARGS_ASSERT_MG_DUP \
7405 PERL_CALLCONV struct mro_meta* Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
7406 __attribute__visibility__("hidden");
7407 #define PERL_ARGS_ASSERT_MRO_META_DUP \
7408 assert(smeta); assert(param)
7410 PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
7411 __attribute__warn_unused_result__;
7412 #define PERL_ARGS_ASSERT_NEWPADOP \
7415 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param)
7416 __attribute__warn_unused_result__
7417 __attribute__visibility__("hidden");
7418 #define PERL_ARGS_ASSERT_PADLIST_DUP \
7419 assert(srcpad); assert(param)
7421 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
7422 __attribute__warn_unused_result__
7423 __attribute__visibility__("hidden");
7424 #define PERL_ARGS_ASSERT_PADNAME_DUP \
7425 assert(src); assert(param)
7427 PERL_CALLCONV PADNAMELIST * Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param)
7428 __attribute__warn_unused_result__
7429 __attribute__visibility__("hidden");
7430 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP \
7431 assert(srcpad); assert(param)
7433 PERL_CALLCONV yy_parser* Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param);
7434 #define PERL_ARGS_ASSERT_PARSER_DUP \
7436 PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter *proto_perl, UV flags);
7437 #define PERL_ARGS_ASSERT_PERL_CLONE \
7439 PERL_CALLCONV void Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param);
7440 #define PERL_ARGS_ASSERT_RE_DUP_GUTS \
7441 assert(sstr); assert(dstr); assert(param)
7442 PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param);
7443 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
7444 assert(r); assert(param)
7445 PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dsv, const SV *const ssv, CLONE_PARAMS *const param);
7446 #define PERL_ARGS_ASSERT_RVPV_DUP \
7447 assert(dsv); assert(ssv); assert(param)
7448 PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
7449 __attribute__warn_unused_result__;
7450 #define PERL_ARGS_ASSERT_SI_DUP \
7453 PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
7454 __attribute__warn_unused_result__;
7455 #define PERL_ARGS_ASSERT_SS_DUP \
7456 assert(proto_perl); assert(param)
7458 PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7459 __attribute__warn_unused_result__;
7460 #define PERL_ARGS_ASSERT_SV_DUP \
7463 PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const ssv, CLONE_PARAMS *const param)
7464 __attribute__warn_unused_result__;
7465 #define PERL_ARGS_ASSERT_SV_DUP_INC \
7469 #if defined(USE_LOCALE) && ( defined(PERL_IN_LOCALE_C) || defined(PERL_IN_MG_C) || defined (PERL_EXT_POSIX) || defined (PERL_EXT_LANGINFO))
7470 PERL_CALLCONV bool Perl__is_cur_LC_category_utf8(pTHX_ int category);
7471 #define PERL_ARGS_ASSERT__IS_CUR_LC_CATEGORY_UTF8
7473 #if defined(USE_LOCALE_COLLATE)
7474 PERL_CALLCONV int Perl_magic_freecollxfrm(pTHX_ SV* sv, MAGIC* mg)
7475 __attribute__visibility__("hidden");
7476 #define PERL_ARGS_ASSERT_MAGIC_FREECOLLXFRM \
7477 assert(sv); assert(mg)
7479 PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
7480 __attribute__visibility__("hidden");
7481 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
7482 assert(sv); assert(mg)
7485 PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp);
7486 #define PERL_ARGS_ASSERT_SV_COLLXFRM \
7487 assert(sv); assert(nxp)
7489 PERL_CALLCONV char* Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags);
7490 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \
7491 assert(sv); assert(nxp)
7493 #if defined(USE_PERLIO)
7494 PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
7495 #define PERL_ARGS_ASSERT_PERLIO_CLEARERR
7496 PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f);
7497 #define PERL_ARGS_ASSERT_PERLIO_CLOSE
7498 PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f);
7499 #define PERL_ARGS_ASSERT_PERLIO_EOF
7500 PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f);
7501 #define PERL_ARGS_ASSERT_PERLIO_ERROR
7502 PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f);
7503 #define PERL_ARGS_ASSERT_PERLIO_FILENO
7504 PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f);
7505 #define PERL_ARGS_ASSERT_PERLIO_FILL
7506 PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f);
7507 #define PERL_ARGS_ASSERT_PERLIO_FLUSH
7508 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
7509 #define PERL_ARGS_ASSERT_PERLIO_GET_BASE
7510 PERL_CALLCONV SSize_t Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
7511 __attribute__warn_unused_result__;
7512 #define PERL_ARGS_ASSERT_PERLIO_GET_BUFSIZ
7514 PERL_CALLCONV SSize_t Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
7515 __attribute__warn_unused_result__;
7516 #define PERL_ARGS_ASSERT_PERLIO_GET_CNT
7518 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
7519 #define PERL_ARGS_ASSERT_PERLIO_GET_PTR
7520 PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count);
7521 #define PERL_ARGS_ASSERT_PERLIO_READ \
7523 PERL_CALLCONV void Perl_PerlIO_restore_errno(pTHX_ PerlIO *f);
7524 #define PERL_ARGS_ASSERT_PERLIO_RESTORE_ERRNO
7525 PERL_CALLCONV void Perl_PerlIO_save_errno(pTHX_ PerlIO *f);
7526 #define PERL_ARGS_ASSERT_PERLIO_SAVE_ERRNO
7527 PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
7528 #define PERL_ARGS_ASSERT_PERLIO_SEEK
7529 PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt);
7530 #define PERL_ARGS_ASSERT_PERLIO_SET_CNT
7531 PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt);
7532 #define PERL_ARGS_ASSERT_PERLIO_SET_PTRCNT
7533 PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
7534 #define PERL_ARGS_ASSERT_PERLIO_SETLINEBUF
7535 PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX)
7536 __attribute__warn_unused_result__;
7537 #define PERL_ARGS_ASSERT_PERLIO_STDERR
7539 PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX)
7540 __attribute__warn_unused_result__;
7541 #define PERL_ARGS_ASSERT_PERLIO_STDIN
7543 PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX)
7544 __attribute__warn_unused_result__;
7545 #define PERL_ARGS_ASSERT_PERLIO_STDOUT
7547 PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f);
7548 #define PERL_ARGS_ASSERT_PERLIO_TELL
7549 PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7550 #define PERL_ARGS_ASSERT_PERLIO_UNREAD \
7552 PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count);
7553 #define PERL_ARGS_ASSERT_PERLIO_WRITE \
7556 #if defined(USE_QUADMATH)
7557 PERL_CALLCONV bool Perl_quadmath_format_needed(const char* format)
7558 __attribute__visibility__("hidden");
7559 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \
7562 PERL_CALLCONV bool Perl_quadmath_format_valid(const char* format)
7563 __attribute__visibility__("hidden");
7564 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_VALID \
7569 PERL_CALLCONV_NO_RET void win32_croak_not_implemented(const char * fname)
7570 __attribute__noreturn__;
7571 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \
7575 #if defined(WIN32) || defined(VMS)
7576 PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp);
7577 #define PERL_ARGS_ASSERT_DO_ASPAWN \
7578 assert(mark); assert(sp)
7579 PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd);
7580 #define PERL_ARGS_ASSERT_DO_SPAWN \
7582 PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd);
7583 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
7586 #if defined(_MSC_VER)
7587 PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
7588 __attribute__visibility__("hidden");
7589 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
7590 assert(sv); assert(mg)
7594 # include "pp_proto.h"