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