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