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