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