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