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