| 1 | /* -*- buffer-read-only: t -*- |
| 2 | * |
| 3 | * proto.h |
| 4 | * |
| 5 | * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 6 | * 2000, 2001, 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 embed.pl from data in embed.fnc, embed.pl, |
| 13 | * pp.sym, 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 | |
| 21 | #if defined(PERL_IMPLICIT_SYS) |
| 22 | 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) |
| 23 | __attribute__nonnull__(1) |
| 24 | __attribute__nonnull__(2) |
| 25 | __attribute__nonnull__(3) |
| 26 | __attribute__nonnull__(4) |
| 27 | __attribute__nonnull__(5) |
| 28 | __attribute__nonnull__(6) |
| 29 | __attribute__nonnull__(7) |
| 30 | __attribute__nonnull__(8) |
| 31 | __attribute__nonnull__(9); |
| 32 | #define PERL_ARGS_ASSERT_PERL_ALLOC_USING \ |
| 33 | assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP) |
| 34 | |
| 35 | #endif |
| 36 | PERL_CALLCONV PerlInterpreter* perl_alloc(void); |
| 37 | PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl) |
| 38 | __attribute__nonnull__(1); |
| 39 | #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \ |
| 40 | assert(my_perl) |
| 41 | |
| 42 | PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl) |
| 43 | __attribute__nonnull__(1); |
| 44 | #define PERL_ARGS_ASSERT_PERL_DESTRUCT \ |
| 45 | assert(my_perl) |
| 46 | |
| 47 | PERL_CALLCONV void perl_free(PerlInterpreter *my_perl) |
| 48 | __attribute__nonnull__(1); |
| 49 | #define PERL_ARGS_ASSERT_PERL_FREE \ |
| 50 | assert(my_perl) |
| 51 | |
| 52 | PERL_CALLCONV int perl_run(PerlInterpreter *my_perl) |
| 53 | __attribute__nonnull__(1); |
| 54 | #define PERL_ARGS_ASSERT_PERL_RUN \ |
| 55 | assert(my_perl) |
| 56 | |
| 57 | PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env) |
| 58 | __attribute__nonnull__(1); |
| 59 | #define PERL_ARGS_ASSERT_PERL_PARSE \ |
| 60 | assert(my_perl) |
| 61 | |
| 62 | PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env) |
| 63 | __attribute__warn_unused_result__; |
| 64 | |
| 65 | #if defined(USE_ITHREADS) |
| 66 | PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter *proto_perl, UV flags) |
| 67 | __attribute__nonnull__(1); |
| 68 | #define PERL_ARGS_ASSERT_PERL_CLONE \ |
| 69 | assert(proto_perl) |
| 70 | |
| 71 | # if defined(PERL_IMPLICIT_SYS) |
| 72 | 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) |
| 73 | __attribute__nonnull__(1) |
| 74 | __attribute__nonnull__(3) |
| 75 | __attribute__nonnull__(4) |
| 76 | __attribute__nonnull__(5) |
| 77 | __attribute__nonnull__(6) |
| 78 | __attribute__nonnull__(7) |
| 79 | __attribute__nonnull__(8) |
| 80 | __attribute__nonnull__(9) |
| 81 | __attribute__nonnull__(10) |
| 82 | __attribute__nonnull__(11); |
| 83 | #define PERL_ARGS_ASSERT_PERL_CLONE_USING \ |
| 84 | assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP) |
| 85 | |
| 86 | # endif |
| 87 | #endif |
| 88 | |
| 89 | PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) |
| 90 | __attribute__malloc__ |
| 91 | __attribute__warn_unused_result__; |
| 92 | |
| 93 | PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) |
| 94 | __attribute__malloc__ |
| 95 | __attribute__warn_unused_result__; |
| 96 | |
| 97 | PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) |
| 98 | __attribute__malloc__ |
| 99 | __attribute__warn_unused_result__; |
| 100 | |
| 101 | PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); |
| 102 | #if defined(MYMALLOC) |
| 103 | PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) |
| 104 | __attribute__warn_unused_result__ |
| 105 | __attribute__nonnull__(1); |
| 106 | #define PERL_ARGS_ASSERT_MALLOCED_SIZE \ |
| 107 | assert(p) |
| 108 | |
| 109 | PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes) |
| 110 | __attribute__warn_unused_result__; |
| 111 | |
| 112 | #endif |
| 113 | |
| 114 | PERL_CALLCONV void* Perl_get_context(void) |
| 115 | __attribute__warn_unused_result__; |
| 116 | |
| 117 | PERL_CALLCONV void Perl_set_context(void *t) |
| 118 | __attribute__nonnull__(1); |
| 119 | #define PERL_ARGS_ASSERT_SET_CONTEXT \ |
| 120 | assert(t) |
| 121 | |
| 122 | PERL_CALLCONV I32 Perl_regcurly(const char *s) |
| 123 | __attribute__warn_unused_result__ |
| 124 | __attribute__pure__ |
| 125 | __attribute__nonnull__(1); |
| 126 | #define PERL_ARGS_ASSERT_REGCURLY \ |
| 127 | assert(s) |
| 128 | |
| 129 | |
| 130 | END_EXTERN_C |
| 131 | |
| 132 | /* functions with flag 'n' should come before here */ |
| 133 | START_EXTERN_C |
| 134 | # include "pp_proto.h" |
| 135 | PERL_CALLCONV bool Perl_try_amagic_bin(pTHX_ int method, int flags); |
| 136 | PERL_CALLCONV bool Perl_try_amagic_un(pTHX_ int method, int flags); |
| 137 | PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir) |
| 138 | __attribute__nonnull__(pTHX_1) |
| 139 | __attribute__nonnull__(pTHX_2); |
| 140 | #define PERL_ARGS_ASSERT_AMAGIC_CALL \ |
| 141 | assert(left); assert(right) |
| 142 | |
| 143 | PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing) |
| 144 | __attribute__nonnull__(pTHX_1); |
| 145 | #define PERL_ARGS_ASSERT_GV_AMUPDATE \ |
| 146 | assert(stash) |
| 147 | |
| 148 | PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id) |
| 149 | __attribute__warn_unused_result__; |
| 150 | |
| 151 | PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last); |
| 152 | PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last); |
| 153 | PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp) |
| 154 | __attribute__nonnull__(pTHX_2) |
| 155 | __attribute__nonnull__(pTHX_3); |
| 156 | #define PERL_ARGS_ASSERT_APPLY \ |
| 157 | assert(mark); assert(sp) |
| 158 | |
| 159 | PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len) |
| 160 | __attribute__nonnull__(pTHX_1) |
| 161 | __attribute__nonnull__(pTHX_2) |
| 162 | __attribute__nonnull__(pTHX_3); |
| 163 | #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \ |
| 164 | assert(stashpv); assert(cv); assert(attrstr) |
| 165 | |
| 166 | PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av) |
| 167 | __attribute__nonnull__(pTHX_1); |
| 168 | #define PERL_ARGS_ASSERT_AV_CLEAR \ |
| 169 | assert(av) |
| 170 | |
| 171 | PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags) |
| 172 | __attribute__nonnull__(pTHX_1); |
| 173 | #define PERL_ARGS_ASSERT_AV_DELETE \ |
| 174 | assert(av) |
| 175 | |
| 176 | PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, I32 key) |
| 177 | __attribute__warn_unused_result__ |
| 178 | __attribute__nonnull__(pTHX_1); |
| 179 | #define PERL_ARGS_ASSERT_AV_EXISTS \ |
| 180 | assert(av) |
| 181 | |
| 182 | PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, I32 key) |
| 183 | __attribute__nonnull__(pTHX_1); |
| 184 | #define PERL_ARGS_ASSERT_AV_EXTEND \ |
| 185 | assert(av) |
| 186 | |
| 187 | PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval) |
| 188 | __attribute__warn_unused_result__ |
| 189 | __attribute__nonnull__(pTHX_1); |
| 190 | #define PERL_ARGS_ASSERT_AV_FETCH \ |
| 191 | assert(av) |
| 192 | |
| 193 | PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, I32 fill) |
| 194 | __attribute__nonnull__(pTHX_1); |
| 195 | #define PERL_ARGS_ASSERT_AV_FILL \ |
| 196 | assert(av) |
| 197 | |
| 198 | PERL_CALLCONV I32 Perl_av_len(pTHX_ AV *av) |
| 199 | __attribute__warn_unused_result__ |
| 200 | __attribute__nonnull__(pTHX_1); |
| 201 | #define PERL_ARGS_ASSERT_AV_LEN \ |
| 202 | assert(av) |
| 203 | |
| 204 | PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV **strp) |
| 205 | __attribute__warn_unused_result__ |
| 206 | __attribute__nonnull__(pTHX_2); |
| 207 | #define PERL_ARGS_ASSERT_AV_MAKE \ |
| 208 | assert(strp) |
| 209 | |
| 210 | PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av) |
| 211 | __attribute__nonnull__(pTHX_1); |
| 212 | #define PERL_ARGS_ASSERT_AV_POP \ |
| 213 | assert(av) |
| 214 | |
| 215 | PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val) |
| 216 | __attribute__nonnull__(pTHX_1) |
| 217 | __attribute__nonnull__(pTHX_2); |
| 218 | #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \ |
| 219 | assert(avp); assert(val) |
| 220 | |
| 221 | PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val) |
| 222 | __attribute__nonnull__(pTHX_1) |
| 223 | __attribute__nonnull__(pTHX_2); |
| 224 | #define PERL_ARGS_ASSERT_AV_PUSH \ |
| 225 | assert(av); assert(val) |
| 226 | |
| 227 | PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av) |
| 228 | __attribute__nonnull__(pTHX_1); |
| 229 | #define PERL_ARGS_ASSERT_AV_REIFY \ |
| 230 | assert(av) |
| 231 | |
| 232 | PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av) |
| 233 | __attribute__warn_unused_result__ |
| 234 | __attribute__nonnull__(pTHX_1); |
| 235 | #define PERL_ARGS_ASSERT_AV_SHIFT \ |
| 236 | assert(av) |
| 237 | |
| 238 | PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, I32 key, SV *val) |
| 239 | __attribute__nonnull__(pTHX_1); |
| 240 | #define PERL_ARGS_ASSERT_AV_STORE \ |
| 241 | assert(av) |
| 242 | |
| 243 | PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av) |
| 244 | __attribute__nonnull__(pTHX_1); |
| 245 | #define PERL_ARGS_ASSERT_AV_UNDEF \ |
| 246 | assert(av) |
| 247 | |
| 248 | PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val) |
| 249 | __attribute__nonnull__(pTHX_1) |
| 250 | __attribute__nonnull__(pTHX_2); |
| 251 | #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \ |
| 252 | assert(avp); assert(val) |
| 253 | |
| 254 | PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, I32 num) |
| 255 | __attribute__nonnull__(pTHX_1); |
| 256 | #define PERL_ARGS_ASSERT_AV_UNSHIFT \ |
| 257 | assert(av) |
| 258 | |
| 259 | PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av) |
| 260 | __attribute__nonnull__(pTHX_1); |
| 261 | #define PERL_ARGS_ASSERT_AV_ARYLEN_P \ |
| 262 | assert(av) |
| 263 | |
| 264 | PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av) |
| 265 | __attribute__nonnull__(pTHX_1); |
| 266 | #define PERL_ARGS_ASSERT_AV_ITER_P \ |
| 267 | assert(av) |
| 268 | |
| 269 | #if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT) |
| 270 | STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av) |
| 271 | __attribute__nonnull__(pTHX_1); |
| 272 | #define PERL_ARGS_ASSERT_GET_AUX_MG \ |
| 273 | assert(av) |
| 274 | |
| 275 | #endif |
| 276 | PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right) |
| 277 | __attribute__warn_unused_result__ |
| 278 | __attribute__nonnull__(pTHX_2) |
| 279 | __attribute__nonnull__(pTHX_3); |
| 280 | #define PERL_ARGS_ASSERT_BIND_MATCH \ |
| 281 | assert(left); assert(right) |
| 282 | |
| 283 | PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) |
| 284 | __attribute__warn_unused_result__; |
| 285 | |
| 286 | PERL_CALLCONV I32 Perl_block_gimme(pTHX) |
| 287 | __attribute__warn_unused_result__; |
| 288 | |
| 289 | PERL_CALLCONV int Perl_block_start(pTHX_ int full) |
| 290 | __attribute__warn_unused_result__; |
| 291 | |
| 292 | PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); |
| 293 | PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); |
| 294 | PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList) |
| 295 | __attribute__nonnull__(pTHX_2); |
| 296 | #define PERL_ARGS_ASSERT_CALL_LIST \ |
| 297 | assert(paramList) |
| 298 | |
| 299 | PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp) |
| 300 | __attribute__warn_unused_result__ |
| 301 | __attribute__nonnull__(pTHX_3); |
| 302 | #define PERL_ARGS_ASSERT_CANDO \ |
| 303 | assert(statbufp) |
| 304 | |
| 305 | PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f) |
| 306 | __attribute__warn_unused_result__; |
| 307 | |
| 308 | PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f) |
| 309 | __attribute__warn_unused_result__; |
| 310 | |
| 311 | PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f) |
| 312 | __attribute__warn_unused_result__; |
| 313 | |
| 314 | PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f) |
| 315 | __attribute__warn_unused_result__; |
| 316 | |
| 317 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
| 318 | PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) |
| 319 | __attribute__warn_unused_result__; |
| 320 | |
| 321 | #endif |
| 322 | PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o) |
| 323 | __attribute__warn_unused_result__; |
| 324 | |
| 325 | PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags); |
| 326 | PERL_CALLCONV void Perl_croak_sv(pTHX_ SV *baseex) |
| 327 | __attribute__noreturn__ |
| 328 | __attribute__nonnull__(pTHX_1); |
| 329 | #define PERL_ARGS_ASSERT_CROAK_SV \ |
| 330 | assert(baseex) |
| 331 | |
| 332 | PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...) |
| 333 | __attribute__noreturn__ |
| 334 | __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); |
| 335 | |
| 336 | PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args) |
| 337 | __attribute__noreturn__; |
| 338 | |
| 339 | PERL_CALLCONV void Perl_croak_no_modify(pTHX) |
| 340 | __attribute__noreturn__; |
| 341 | |
| 342 | PERL_CALLCONV void Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params) |
| 343 | __attribute__noreturn__ |
| 344 | __attribute__nonnull__(pTHX_1) |
| 345 | __attribute__nonnull__(pTHX_2); |
| 346 | #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \ |
| 347 | assert(cv); assert(params) |
| 348 | |
| 349 | |
| 350 | #if defined(PERL_IMPLICIT_CONTEXT) |
| 351 | PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...) |
| 352 | __attribute__noreturn__ |
| 353 | __attribute__format__null_ok__(__printf__,1,2); |
| 354 | |
| 355 | PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...) |
| 356 | __attribute__format__null_ok__(__printf__,1,2); |
| 357 | |
| 358 | PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) |
| 359 | __attribute__format__(__printf__,1,2) |
| 360 | __attribute__nonnull__(1); |
| 361 | #define PERL_ARGS_ASSERT_DEB_NOCONTEXT \ |
| 362 | assert(pat) |
| 363 | |
| 364 | PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) |
| 365 | __attribute__format__(__printf__,1,2) |
| 366 | __attribute__nonnull__(1); |
| 367 | #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \ |
| 368 | assert(pat) |
| 369 | |
| 370 | PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) |
| 371 | __attribute__nonnull__(2); |
| 372 | #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \ |
| 373 | assert(name) |
| 374 | |
| 375 | PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) |
| 376 | __attribute__format__(__printf__,1,2) |
| 377 | __attribute__nonnull__(1); |
| 378 | #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \ |
| 379 | assert(pat) |
| 380 | |
| 381 | PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) |
| 382 | __attribute__format__(__printf__,1,2) |
| 383 | __attribute__nonnull__(1); |
| 384 | #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \ |
| 385 | assert(pat) |
| 386 | |
| 387 | PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) |
| 388 | __attribute__format__(__printf__,2,3) |
| 389 | __attribute__nonnull__(2); |
| 390 | #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \ |
| 391 | assert(pat) |
| 392 | |
| 393 | PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...) |
| 394 | __attribute__format__(__printf__,1,2) |
| 395 | __attribute__nonnull__(1); |
| 396 | #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \ |
| 397 | assert(pat) |
| 398 | |
| 399 | PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...) |
| 400 | __attribute__format__(__printf__,2,3) |
| 401 | __attribute__nonnull__(1) |
| 402 | __attribute__nonnull__(2); |
| 403 | #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \ |
| 404 | assert(sv); assert(pat) |
| 405 | |
| 406 | PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...) |
| 407 | __attribute__format__(__printf__,2,3) |
| 408 | __attribute__nonnull__(1) |
| 409 | __attribute__nonnull__(2); |
| 410 | #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \ |
| 411 | assert(sv); assert(pat) |
| 412 | |
| 413 | PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...) |
| 414 | __attribute__format__(__printf__,2,3) |
| 415 | __attribute__nonnull__(1) |
| 416 | __attribute__nonnull__(2); |
| 417 | #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \ |
| 418 | assert(sv); assert(pat) |
| 419 | |
| 420 | PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...) |
| 421 | __attribute__format__(__printf__,2,3) |
| 422 | __attribute__nonnull__(1) |
| 423 | __attribute__nonnull__(2); |
| 424 | #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \ |
| 425 | assert(sv); assert(pat) |
| 426 | |
| 427 | PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) |
| 428 | __attribute__format__(__printf__,2,3) |
| 429 | __attribute__nonnull__(1) |
| 430 | __attribute__nonnull__(2); |
| 431 | #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT \ |
| 432 | assert(stream); assert(format) |
| 433 | |
| 434 | PERL_CALLCONV int Perl_printf_nocontext(const char *format, ...) |
| 435 | __attribute__format__(__printf__,1,2) |
| 436 | __attribute__nonnull__(1); |
| 437 | #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT \ |
| 438 | assert(format) |
| 439 | |
| 440 | #endif |
| 441 | PERL_CALLCONV void Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len) |
| 442 | __attribute__nonnull__(pTHX_1); |
| 443 | #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \ |
| 444 | assert(cv) |
| 445 | |
| 446 | PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) |
| 447 | __attribute__nonnull__(pTHX_1); |
| 448 | #define PERL_ARGS_ASSERT_CV_CLONE \ |
| 449 | assert(proto) |
| 450 | |
| 451 | PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv) |
| 452 | __attribute__warn_unused_result__ |
| 453 | __attribute__nonnull__(pTHX_1); |
| 454 | #define PERL_ARGS_ASSERT_GV_CONST_SV \ |
| 455 | assert(gv) |
| 456 | |
| 457 | PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ const CV *const cv) |
| 458 | __attribute__warn_unused_result__; |
| 459 | |
| 460 | PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv) |
| 461 | __attribute__warn_unused_result__; |
| 462 | |
| 463 | PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv) |
| 464 | __attribute__nonnull__(pTHX_1); |
| 465 | #define PERL_ARGS_ASSERT_CV_UNDEF \ |
| 466 | assert(cv) |
| 467 | |
| 468 | PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx) |
| 469 | __attribute__nonnull__(pTHX_1); |
| 470 | #define PERL_ARGS_ASSERT_CX_DUMP \ |
| 471 | assert(cx) |
| 472 | |
| 473 | PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); |
| 474 | PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp) |
| 475 | __attribute__nonnull__(pTHX_1); |
| 476 | #define PERL_ARGS_ASSERT_FILTER_DEL \ |
| 477 | assert(funcp) |
| 478 | |
| 479 | PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen) |
| 480 | __attribute__warn_unused_result__ |
| 481 | __attribute__nonnull__(pTHX_2); |
| 482 | #define PERL_ARGS_ASSERT_FILTER_READ \ |
| 483 | assert(buf_sv) |
| 484 | |
| 485 | PERL_CALLCONV char** Perl_get_op_descs(pTHX) |
| 486 | __attribute__warn_unused_result__ |
| 487 | __attribute__pure__; |
| 488 | |
| 489 | PERL_CALLCONV char** Perl_get_op_names(pTHX) |
| 490 | __attribute__warn_unused_result__ |
| 491 | __attribute__pure__; |
| 492 | |
| 493 | PERL_CALLCONV const char* Perl_get_no_modify(pTHX) |
| 494 | __attribute__warn_unused_result__ |
| 495 | __attribute__pure__; |
| 496 | |
| 497 | PERL_CALLCONV U32* Perl_get_opargs(pTHX) |
| 498 | __attribute__warn_unused_result__ |
| 499 | __attribute__pure__; |
| 500 | |
| 501 | PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) |
| 502 | __attribute__warn_unused_result__ |
| 503 | __attribute__pure__; |
| 504 | |
| 505 | PERL_CALLCONV I32 Perl_cxinc(pTHX) |
| 506 | __attribute__warn_unused_result__; |
| 507 | |
| 508 | PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) |
| 509 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
| 510 | __attribute__nonnull__(pTHX_1); |
| 511 | #define PERL_ARGS_ASSERT_DEB \ |
| 512 | assert(pat) |
| 513 | |
| 514 | PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args) |
| 515 | __attribute__nonnull__(pTHX_1); |
| 516 | #define PERL_ARGS_ASSERT_VDEB \ |
| 517 | assert(pat) |
| 518 | |
| 519 | PERL_CALLCONV void Perl_debprofdump(pTHX); |
| 520 | PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o) |
| 521 | __attribute__nonnull__(pTHX_1); |
| 522 | #define PERL_ARGS_ASSERT_DEBOP \ |
| 523 | assert(o) |
| 524 | |
| 525 | PERL_CALLCONV I32 Perl_debstack(pTHX); |
| 526 | PERL_CALLCONV I32 Perl_debstackptrs(pTHX); |
| 527 | PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen) |
| 528 | __attribute__nonnull__(1) |
| 529 | __attribute__nonnull__(2) |
| 530 | __attribute__nonnull__(3) |
| 531 | __attribute__nonnull__(4) |
| 532 | __attribute__nonnull__(6); |
| 533 | #define PERL_ARGS_ASSERT_DELIMCPY \ |
| 534 | assert(to); assert(toend); assert(from); assert(fromend); assert(retlen) |
| 535 | |
| 536 | PERL_CALLCONV void Perl_delete_eval_scope(pTHX); |
| 537 | PERL_CALLCONV OP* Perl_die_sv(pTHX_ SV *baseex) |
| 538 | __attribute__nonnull__(pTHX_1); |
| 539 | #define PERL_ARGS_ASSERT_DIE_SV \ |
| 540 | assert(baseex) |
| 541 | |
| 542 | PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) |
| 543 | __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); |
| 544 | |
| 545 | PERL_CALLCONV void Perl_die_unwind(pTHX_ SV* msv) |
| 546 | __attribute__noreturn__ |
| 547 | __attribute__nonnull__(pTHX_1); |
| 548 | #define PERL_ARGS_ASSERT_DIE_UNWIND \ |
| 549 | assert(msv) |
| 550 | |
| 551 | PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); |
| 552 | /* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) |
| 553 | __attribute__nonnull__(pTHX_2) |
| 554 | __attribute__nonnull__(pTHX_3); */ |
| 555 | #define PERL_ARGS_ASSERT_DO_AEXEC \ |
| 556 | assert(mark); assert(sp) |
| 557 | |
| 558 | PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report) |
| 559 | __attribute__nonnull__(pTHX_2) |
| 560 | __attribute__nonnull__(pTHX_3); |
| 561 | #define PERL_ARGS_ASSERT_DO_AEXEC5 \ |
| 562 | assert(mark); assert(sp) |
| 563 | |
| 564 | PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) |
| 565 | __attribute__nonnull__(pTHX_1); |
| 566 | #define PERL_ARGS_ASSERT_DO_BINMODE \ |
| 567 | assert(fp) |
| 568 | |
| 569 | PERL_CALLCONV void Perl_do_chop(pTHX_ SV *astr, SV *sv) |
| 570 | __attribute__nonnull__(pTHX_1) |
| 571 | __attribute__nonnull__(pTHX_2); |
| 572 | #define PERL_ARGS_ASSERT_DO_CHOP \ |
| 573 | assert(astr); assert(sv) |
| 574 | |
| 575 | PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit); |
| 576 | PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) |
| 577 | __attribute__nonnull__(pTHX_1); |
| 578 | #define PERL_ARGS_ASSERT_DO_EOF \ |
| 579 | assert(gv) |
| 580 | |
| 581 | |
| 582 | #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION |
| 583 | /* PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) |
| 584 | __attribute__nonnull__(pTHX_1); */ |
| 585 | #define PERL_ARGS_ASSERT_DO_EXEC \ |
| 586 | assert(cmd) |
| 587 | |
| 588 | #else |
| 589 | PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) |
| 590 | __attribute__nonnull__(pTHX_1); |
| 591 | #define PERL_ARGS_ASSERT_DO_EXEC \ |
| 592 | assert(cmd) |
| 593 | |
| 594 | #endif |
| 595 | |
| 596 | #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS) |
| 597 | PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp) |
| 598 | __attribute__nonnull__(pTHX_2) |
| 599 | __attribute__nonnull__(pTHX_3); |
| 600 | #define PERL_ARGS_ASSERT_DO_ASPAWN \ |
| 601 | assert(mark); assert(sp) |
| 602 | |
| 603 | PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd) |
| 604 | __attribute__nonnull__(pTHX_1); |
| 605 | #define PERL_ARGS_ASSERT_DO_SPAWN \ |
| 606 | assert(cmd) |
| 607 | |
| 608 | PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd) |
| 609 | __attribute__nonnull__(pTHX_1); |
| 610 | #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \ |
| 611 | assert(cmd) |
| 612 | |
| 613 | #endif |
| 614 | #if !defined(WIN32) |
| 615 | PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report) |
| 616 | __attribute__nonnull__(pTHX_1); |
| 617 | #define PERL_ARGS_ASSERT_DO_EXEC3 \ |
| 618 | assert(incmd) |
| 619 | |
| 620 | #endif |
| 621 | PERL_CALLCONV void Perl_do_execfree(pTHX); |
| 622 | #if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT) |
| 623 | STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report) |
| 624 | __attribute__nonnull__(pTHX_1); |
| 625 | #define PERL_ARGS_ASSERT_EXEC_FAILED \ |
| 626 | assert(cmd) |
| 627 | |
| 628 | #endif |
| 629 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
| 630 | PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp) |
| 631 | __attribute__nonnull__(pTHX_2) |
| 632 | __attribute__nonnull__(pTHX_3); |
| 633 | #define PERL_ARGS_ASSERT_DO_IPCCTL \ |
| 634 | assert(mark); assert(sp) |
| 635 | |
| 636 | PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp) |
| 637 | __attribute__nonnull__(pTHX_2) |
| 638 | __attribute__nonnull__(pTHX_3); |
| 639 | #define PERL_ARGS_ASSERT_DO_IPCGET \ |
| 640 | assert(mark); assert(sp) |
| 641 | |
| 642 | PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp) |
| 643 | __attribute__nonnull__(pTHX_1) |
| 644 | __attribute__nonnull__(pTHX_2); |
| 645 | #define PERL_ARGS_ASSERT_DO_MSGRCV \ |
| 646 | assert(mark); assert(sp) |
| 647 | |
| 648 | PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp) |
| 649 | __attribute__nonnull__(pTHX_1) |
| 650 | __attribute__nonnull__(pTHX_2); |
| 651 | #define PERL_ARGS_ASSERT_DO_MSGSND \ |
| 652 | assert(mark); assert(sp) |
| 653 | |
| 654 | PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp) |
| 655 | __attribute__nonnull__(pTHX_1) |
| 656 | __attribute__nonnull__(pTHX_2); |
| 657 | #define PERL_ARGS_ASSERT_DO_SEMOP \ |
| 658 | assert(mark); assert(sp) |
| 659 | |
| 660 | PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp) |
| 661 | __attribute__nonnull__(pTHX_2) |
| 662 | __attribute__nonnull__(pTHX_3); |
| 663 | #define PERL_ARGS_ASSERT_DO_SHMIO \ |
| 664 | assert(mark); assert(sp) |
| 665 | |
| 666 | #endif |
| 667 | PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp) |
| 668 | __attribute__nonnull__(pTHX_1) |
| 669 | __attribute__nonnull__(pTHX_2) |
| 670 | __attribute__nonnull__(pTHX_3) |
| 671 | __attribute__nonnull__(pTHX_4); |
| 672 | #define PERL_ARGS_ASSERT_DO_JOIN \ |
| 673 | assert(sv); assert(delim); assert(mark); assert(sp) |
| 674 | |
| 675 | PERL_CALLCONV OP* Perl_do_kv(pTHX); |
| 676 | /* PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp) |
| 677 | __attribute__nonnull__(pTHX_1) |
| 678 | __attribute__nonnull__(pTHX_2); */ |
| 679 | #define PERL_ARGS_ASSERT_DO_OPEN \ |
| 680 | assert(gv); assert(name) |
| 681 | |
| 682 | 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) |
| 683 | __attribute__nonnull__(pTHX_1) |
| 684 | __attribute__nonnull__(pTHX_2) |
| 685 | __attribute__nonnull__(pTHX_8); |
| 686 | #define PERL_ARGS_ASSERT_DO_OPEN9 \ |
| 687 | assert(gv); assert(name); assert(svs) |
| 688 | |
| 689 | 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) |
| 690 | __attribute__nonnull__(pTHX_1) |
| 691 | __attribute__nonnull__(pTHX_2); |
| 692 | #define PERL_ARGS_ASSERT_DO_OPENN \ |
| 693 | assert(gv); assert(oname) |
| 694 | |
| 695 | PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp) |
| 696 | __attribute__nonnull__(pTHX_2); |
| 697 | #define PERL_ARGS_ASSERT_DO_PRINT \ |
| 698 | assert(fp) |
| 699 | |
| 700 | PERL_CALLCONV OP* Perl_do_readline(pTHX) |
| 701 | __attribute__warn_unused_result__; |
| 702 | |
| 703 | PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv) |
| 704 | __attribute__nonnull__(pTHX_1); |
| 705 | #define PERL_ARGS_ASSERT_DO_CHOMP \ |
| 706 | assert(sv) |
| 707 | |
| 708 | PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); |
| 709 | PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg) |
| 710 | __attribute__nonnull__(pTHX_1) |
| 711 | __attribute__nonnull__(pTHX_3); |
| 712 | #define PERL_ARGS_ASSERT_DO_SPRINTF \ |
| 713 | assert(sv); assert(sarg) |
| 714 | |
| 715 | PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence) |
| 716 | __attribute__nonnull__(pTHX_1); |
| 717 | #define PERL_ARGS_ASSERT_DO_SYSSEEK \ |
| 718 | assert(gv) |
| 719 | |
| 720 | PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv) |
| 721 | __attribute__warn_unused_result__ |
| 722 | __attribute__nonnull__(pTHX_1); |
| 723 | #define PERL_ARGS_ASSERT_DO_TELL \ |
| 724 | assert(gv) |
| 725 | |
| 726 | PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv) |
| 727 | __attribute__nonnull__(pTHX_1); |
| 728 | #define PERL_ARGS_ASSERT_DO_TRANS \ |
| 729 | assert(sv) |
| 730 | |
| 731 | PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size) |
| 732 | __attribute__nonnull__(pTHX_1); |
| 733 | #define PERL_ARGS_ASSERT_DO_VECGET \ |
| 734 | assert(sv) |
| 735 | |
| 736 | PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) |
| 737 | __attribute__nonnull__(pTHX_1); |
| 738 | #define PERL_ARGS_ASSERT_DO_VECSET \ |
| 739 | assert(sv) |
| 740 | |
| 741 | PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right) |
| 742 | __attribute__nonnull__(pTHX_2) |
| 743 | __attribute__nonnull__(pTHX_3) |
| 744 | __attribute__nonnull__(pTHX_4); |
| 745 | #define PERL_ARGS_ASSERT_DO_VOP \ |
| 746 | assert(sv); assert(left); assert(right) |
| 747 | |
| 748 | PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin) |
| 749 | __attribute__nonnull__(pTHX_1); |
| 750 | #define PERL_ARGS_ASSERT_DOFILE \ |
| 751 | assert(term) |
| 752 | |
| 753 | PERL_CALLCONV I32 Perl_dowantarray(pTHX) |
| 754 | __attribute__warn_unused_result__; |
| 755 | |
| 756 | PERL_CALLCONV void Perl_dump_all(pTHX); |
| 757 | PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl); |
| 758 | PERL_CALLCONV void Perl_dump_eval(pTHX); |
| 759 | #if defined(DUMP_FDS) |
| 760 | PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s) |
| 761 | __attribute__nonnull__(pTHX_1); |
| 762 | #define PERL_ARGS_ASSERT_DUMP_FDS \ |
| 763 | assert(s) |
| 764 | |
| 765 | #endif |
| 766 | PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv) |
| 767 | __attribute__nonnull__(pTHX_1); |
| 768 | #define PERL_ARGS_ASSERT_DUMP_FORM \ |
| 769 | assert(gv) |
| 770 | |
| 771 | PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv) |
| 772 | __attribute__nonnull__(pTHX_1); |
| 773 | #define PERL_ARGS_ASSERT_GV_DUMP \ |
| 774 | assert(gv) |
| 775 | |
| 776 | PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o) |
| 777 | __attribute__nonnull__(pTHX_1); |
| 778 | #define PERL_ARGS_ASSERT_OP_DUMP \ |
| 779 | assert(o) |
| 780 | |
| 781 | PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); |
| 782 | PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash) |
| 783 | __attribute__nonnull__(pTHX_1); |
| 784 | #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \ |
| 785 | assert(stash) |
| 786 | |
| 787 | PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl) |
| 788 | __attribute__nonnull__(pTHX_1); |
| 789 | #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \ |
| 790 | assert(stash) |
| 791 | |
| 792 | PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv) |
| 793 | __attribute__nonnull__(pTHX_1); |
| 794 | #define PERL_ARGS_ASSERT_DUMP_SUB \ |
| 795 | assert(gv) |
| 796 | |
| 797 | PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl) |
| 798 | __attribute__nonnull__(pTHX_1); |
| 799 | #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \ |
| 800 | assert(gv) |
| 801 | |
| 802 | PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags) |
| 803 | __attribute__nonnull__(pTHX_1); |
| 804 | #define PERL_ARGS_ASSERT_FBM_COMPILE \ |
| 805 | assert(sv) |
| 806 | |
| 807 | PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags) |
| 808 | __attribute__warn_unused_result__ |
| 809 | __attribute__nonnull__(pTHX_1) |
| 810 | __attribute__nonnull__(pTHX_2) |
| 811 | __attribute__nonnull__(pTHX_3); |
| 812 | #define PERL_ARGS_ASSERT_FBM_INSTR \ |
| 813 | assert(big); assert(bigend); assert(littlestr) |
| 814 | |
| 815 | PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags) |
| 816 | __attribute__nonnull__(pTHX_1); |
| 817 | #define PERL_ARGS_ASSERT_FIND_SCRIPT \ |
| 818 | assert(scriptname) |
| 819 | |
| 820 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 821 | STATIC OP* S_force_list(pTHX_ OP* arg); |
| 822 | STATIC OP* S_fold_constants(pTHX_ OP *o) |
| 823 | __attribute__nonnull__(pTHX_1); |
| 824 | #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \ |
| 825 | assert(o) |
| 826 | |
| 827 | #endif |
| 828 | PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) |
| 829 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
| 830 | __attribute__nonnull__(pTHX_1); |
| 831 | #define PERL_ARGS_ASSERT_FORM \ |
| 832 | assert(pat) |
| 833 | |
| 834 | PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args) |
| 835 | __attribute__nonnull__(pTHX_1); |
| 836 | #define PERL_ARGS_ASSERT_VFORM \ |
| 837 | assert(pat) |
| 838 | |
| 839 | PERL_CALLCONV void Perl_free_tmps(pTHX); |
| 840 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 841 | STATIC OP* S_gen_constant_list(pTHX_ OP* o); |
| 842 | #endif |
| 843 | #if !defined(HAS_GETENV_LEN) |
| 844 | PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len) |
| 845 | __attribute__nonnull__(pTHX_1) |
| 846 | __attribute__nonnull__(pTHX_2); |
| 847 | #define PERL_ARGS_ASSERT_GETENV_LEN \ |
| 848 | assert(env_elem); assert(len) |
| 849 | |
| 850 | #endif |
| 851 | PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv) |
| 852 | __attribute__nonnull__(pTHX_2); |
| 853 | #define PERL_ARGS_ASSERT_GET_DB_SUB \ |
| 854 | assert(cv) |
| 855 | |
| 856 | PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); |
| 857 | PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); |
| 858 | PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type); |
| 859 | /* PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv); */ |
| 860 | /* PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv); */ |
| 861 | /* PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv); */ |
| 862 | PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) |
| 863 | __attribute__warn_unused_result__ |
| 864 | __attribute__nonnull__(pTHX_2); |
| 865 | #define PERL_ARGS_ASSERT_GV_AUTOLOAD4 \ |
| 866 | assert(name) |
| 867 | |
| 868 | PERL_CALLCONV void Perl_gv_check(pTHX_ const HV* stash) |
| 869 | __attribute__nonnull__(pTHX_1); |
| 870 | #define PERL_ARGS_ASSERT_GV_CHECK \ |
| 871 | assert(stash) |
| 872 | |
| 873 | PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv) |
| 874 | __attribute__nonnull__(pTHX_1) |
| 875 | __attribute__nonnull__(pTHX_2); |
| 876 | #define PERL_ARGS_ASSERT_GV_EFULLNAME \ |
| 877 | assert(sv); assert(gv) |
| 878 | |
| 879 | /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) |
| 880 | __attribute__nonnull__(pTHX_1) |
| 881 | __attribute__nonnull__(pTHX_2); */ |
| 882 | #define PERL_ARGS_ASSERT_GV_EFULLNAME3 \ |
| 883 | assert(sv); assert(gv) |
| 884 | |
| 885 | PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) |
| 886 | __attribute__nonnull__(pTHX_1) |
| 887 | __attribute__nonnull__(pTHX_2); |
| 888 | #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \ |
| 889 | assert(sv); assert(gv) |
| 890 | |
| 891 | PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) |
| 892 | __attribute__nonnull__(pTHX_1); |
| 893 | #define PERL_ARGS_ASSERT_GV_FETCHFILE \ |
| 894 | assert(name) |
| 895 | |
| 896 | PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags) |
| 897 | __attribute__nonnull__(pTHX_1); |
| 898 | #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \ |
| 899 | assert(name) |
| 900 | |
| 901 | PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) |
| 902 | __attribute__nonnull__(pTHX_2); |
| 903 | #define PERL_ARGS_ASSERT_GV_FETCHMETH \ |
| 904 | assert(name) |
| 905 | |
| 906 | PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) |
| 907 | __attribute__nonnull__(pTHX_2); |
| 908 | #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD \ |
| 909 | assert(name) |
| 910 | |
| 911 | /* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name) |
| 912 | __attribute__nonnull__(pTHX_1) |
| 913 | __attribute__nonnull__(pTHX_2); */ |
| 914 | #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \ |
| 915 | assert(stash); assert(name) |
| 916 | |
| 917 | PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload) |
| 918 | __attribute__nonnull__(pTHX_1) |
| 919 | __attribute__nonnull__(pTHX_2); |
| 920 | #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \ |
| 921 | assert(stash); assert(name) |
| 922 | |
| 923 | PERL_CALLCONV GV* Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags) |
| 924 | __attribute__nonnull__(pTHX_1) |
| 925 | __attribute__nonnull__(pTHX_2); |
| 926 | #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS \ |
| 927 | assert(stash); assert(name) |
| 928 | |
| 929 | PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type) |
| 930 | __attribute__nonnull__(pTHX_1); |
| 931 | #define PERL_ARGS_ASSERT_GV_FETCHPV \ |
| 932 | assert(nambeg) |
| 933 | |
| 934 | PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv) |
| 935 | __attribute__nonnull__(pTHX_1) |
| 936 | __attribute__nonnull__(pTHX_2); |
| 937 | #define PERL_ARGS_ASSERT_GV_FULLNAME \ |
| 938 | assert(sv); assert(gv) |
| 939 | |
| 940 | /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) |
| 941 | __attribute__nonnull__(pTHX_1) |
| 942 | __attribute__nonnull__(pTHX_2); */ |
| 943 | #define PERL_ARGS_ASSERT_GV_FULLNAME3 \ |
| 944 | assert(sv); assert(gv) |
| 945 | |
| 946 | PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) |
| 947 | __attribute__nonnull__(pTHX_1) |
| 948 | __attribute__nonnull__(pTHX_2); |
| 949 | #define PERL_ARGS_ASSERT_GV_FULLNAME4 \ |
| 950 | assert(sv); assert(gv) |
| 951 | |
| 952 | PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv) |
| 953 | __attribute__nonnull__(pTHX_1); |
| 954 | #define PERL_ARGS_ASSERT_NEWGP \ |
| 955 | assert(gv) |
| 956 | |
| 957 | PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) |
| 958 | __attribute__nonnull__(pTHX_1) |
| 959 | __attribute__nonnull__(pTHX_3); |
| 960 | #define PERL_ARGS_ASSERT_GV_INIT \ |
| 961 | assert(gv); assert(name) |
| 962 | |
| 963 | PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags) |
| 964 | __attribute__nonnull__(pTHX_1) |
| 965 | __attribute__nonnull__(pTHX_2); |
| 966 | #define PERL_ARGS_ASSERT_GV_NAME_SET \ |
| 967 | assert(gv); assert(name) |
| 968 | |
| 969 | PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv) |
| 970 | __attribute__nonnull__(pTHX_1); |
| 971 | #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \ |
| 972 | assert(gv) |
| 973 | |
| 974 | PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags) |
| 975 | __attribute__nonnull__(pTHX_1); |
| 976 | #define PERL_ARGS_ASSERT_GV_STASHPV \ |
| 977 | assert(name) |
| 978 | |
| 979 | PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags) |
| 980 | __attribute__nonnull__(pTHX_1); |
| 981 | #define PERL_ARGS_ASSERT_GV_STASHPVN \ |
| 982 | assert(name) |
| 983 | |
| 984 | PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags) |
| 985 | __attribute__nonnull__(pTHX_1); |
| 986 | #define PERL_ARGS_ASSERT_GV_STASHSV \ |
| 987 | assert(sv) |
| 988 | |
| 989 | PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv); |
| 990 | PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv); |
| 991 | PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry) |
| 992 | __attribute__nonnull__(pTHX_1); |
| 993 | #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \ |
| 994 | assert(hv) |
| 995 | |
| 996 | /* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags) |
| 997 | __attribute__nonnull__(pTHX_2); */ |
| 998 | #define PERL_ARGS_ASSERT_HV_DELETE \ |
| 999 | assert(key) |
| 1000 | |
| 1001 | /* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash) |
| 1002 | __attribute__nonnull__(pTHX_2); */ |
| 1003 | #define PERL_ARGS_ASSERT_HV_DELETE_ENT \ |
| 1004 | assert(keysv) |
| 1005 | |
| 1006 | /* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen) |
| 1007 | __attribute__warn_unused_result__ |
| 1008 | __attribute__nonnull__(pTHX_2); */ |
| 1009 | #define PERL_ARGS_ASSERT_HV_EXISTS \ |
| 1010 | assert(key) |
| 1011 | |
| 1012 | /* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash) |
| 1013 | __attribute__warn_unused_result__ |
| 1014 | __attribute__nonnull__(pTHX_2); */ |
| 1015 | #define PERL_ARGS_ASSERT_HV_EXISTS_ENT \ |
| 1016 | assert(keysv) |
| 1017 | |
| 1018 | /* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval) |
| 1019 | __attribute__nonnull__(pTHX_2); */ |
| 1020 | #define PERL_ARGS_ASSERT_HV_FETCH \ |
| 1021 | assert(key) |
| 1022 | |
| 1023 | /* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash) |
| 1024 | __attribute__nonnull__(pTHX_2); */ |
| 1025 | #define PERL_ARGS_ASSERT_HV_FETCH_ENT \ |
| 1026 | assert(keysv) |
| 1027 | |
| 1028 | PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash); |
| 1029 | 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) |
| 1030 | __attribute__nonnull__(pTHX_2); |
| 1031 | #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \ |
| 1032 | assert(key) |
| 1033 | |
| 1034 | PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV const *const hv) |
| 1035 | __attribute__nonnull__(pTHX_1); |
| 1036 | #define PERL_ARGS_ASSERT_HV_FILL \ |
| 1037 | assert(hv) |
| 1038 | |
| 1039 | PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK) |
| 1040 | __attribute__nonnull__(pTHX_1); |
| 1041 | #define PERL_ARGS_ASSERT_HV_FREE_ENT \ |
| 1042 | assert(hv) |
| 1043 | |
| 1044 | PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv) |
| 1045 | __attribute__nonnull__(pTHX_1); |
| 1046 | #define PERL_ARGS_ASSERT_HV_ITERINIT \ |
| 1047 | assert(hv) |
| 1048 | |
| 1049 | PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) |
| 1050 | __attribute__warn_unused_result__ |
| 1051 | __attribute__nonnull__(pTHX_1) |
| 1052 | __attribute__nonnull__(pTHX_2); |
| 1053 | #define PERL_ARGS_ASSERT_HV_ITERKEY \ |
| 1054 | assert(entry); assert(retlen) |
| 1055 | |
| 1056 | PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) |
| 1057 | __attribute__warn_unused_result__ |
| 1058 | __attribute__nonnull__(pTHX_1); |
| 1059 | #define PERL_ARGS_ASSERT_HV_ITERKEYSV \ |
| 1060 | assert(entry) |
| 1061 | |
| 1062 | /* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv) |
| 1063 | __attribute__warn_unused_result__ |
| 1064 | __attribute__nonnull__(pTHX_1); */ |
| 1065 | #define PERL_ARGS_ASSERT_HV_ITERNEXT \ |
| 1066 | assert(hv) |
| 1067 | |
| 1068 | PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen) |
| 1069 | __attribute__warn_unused_result__ |
| 1070 | __attribute__nonnull__(pTHX_1) |
| 1071 | __attribute__nonnull__(pTHX_2) |
| 1072 | __attribute__nonnull__(pTHX_3); |
| 1073 | #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \ |
| 1074 | assert(hv); assert(key); assert(retlen) |
| 1075 | |
| 1076 | PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags) |
| 1077 | __attribute__warn_unused_result__ |
| 1078 | __attribute__nonnull__(pTHX_1); |
| 1079 | #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \ |
| 1080 | assert(hv) |
| 1081 | |
| 1082 | PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry) |
| 1083 | __attribute__warn_unused_result__ |
| 1084 | __attribute__nonnull__(pTHX_1) |
| 1085 | __attribute__nonnull__(pTHX_2); |
| 1086 | #define PERL_ARGS_ASSERT_HV_ITERVAL \ |
| 1087 | assert(hv); assert(entry) |
| 1088 | |
| 1089 | PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax) |
| 1090 | __attribute__nonnull__(pTHX_1); |
| 1091 | #define PERL_ARGS_ASSERT_HV_KSPLIT \ |
| 1092 | assert(hv) |
| 1093 | |
| 1094 | /* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how) |
| 1095 | __attribute__nonnull__(pTHX_1); */ |
| 1096 | #define PERL_ARGS_ASSERT_HV_MAGIC \ |
| 1097 | assert(hv) |
| 1098 | |
| 1099 | PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c); |
| 1100 | PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash); |
| 1101 | PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he); |
| 1102 | PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value); |
| 1103 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
| 1104 | STATIC struct refcounted_he * S_refcounted_he_new_common(pTHX_ struct refcounted_he *const parent, const char *const key_p, const STRLEN key_len, const char flags, char value_type, const void *value, const STRLEN value_len) |
| 1105 | __attribute__nonnull__(pTHX_2) |
| 1106 | __attribute__nonnull__(pTHX_6); |
| 1107 | #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON \ |
| 1108 | assert(key_p); assert(value) |
| 1109 | |
| 1110 | #endif |
| 1111 | /* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */ |
| 1112 | /* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */ |
| 1113 | /* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */ |
| 1114 | PERL_CALLCONV void Perl_hv_undef(pTHX_ HV *hv); |
| 1115 | /* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len) |
| 1116 | __attribute__nonnull__(pTHX_1) |
| 1117 | __attribute__nonnull__(pTHX_2); */ |
| 1118 | |
| 1119 | PERL_CALLCONV I32 Perl_foldEQ(const char* a, const char* b, I32 len) |
| 1120 | __attribute__pure__ |
| 1121 | __attribute__nonnull__(1) |
| 1122 | __attribute__nonnull__(2); |
| 1123 | #define PERL_ARGS_ASSERT_FOLDEQ \ |
| 1124 | assert(a); assert(b) |
| 1125 | |
| 1126 | /* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) |
| 1127 | __attribute__nonnull__(pTHX_1) |
| 1128 | __attribute__nonnull__(pTHX_2); */ |
| 1129 | |
| 1130 | PERL_CALLCONV I32 Perl_foldEQ_locale(const char* a, const char* b, I32 len) |
| 1131 | __attribute__pure__ |
| 1132 | __attribute__nonnull__(1) |
| 1133 | __attribute__nonnull__(2); |
| 1134 | #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \ |
| 1135 | assert(a); assert(b) |
| 1136 | |
| 1137 | /* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2) |
| 1138 | __attribute__nonnull__(pTHX_1) |
| 1139 | __attribute__nonnull__(pTHX_5); */ |
| 1140 | |
| 1141 | PERL_CALLCONV I32 Perl_foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2) |
| 1142 | __attribute__nonnull__(pTHX_1) |
| 1143 | __attribute__nonnull__(pTHX_5); |
| 1144 | #define PERL_ARGS_ASSERT_FOLDEQ_UTF8 \ |
| 1145 | assert(s1); assert(s2) |
| 1146 | |
| 1147 | #if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT) |
| 1148 | STATIC bool S_ingroup(pTHX_ Gid_t testgid, bool effective) |
| 1149 | __attribute__warn_unused_result__; |
| 1150 | |
| 1151 | #endif |
| 1152 | PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) |
| 1153 | __attribute__nonnull__(pTHX_2); |
| 1154 | #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \ |
| 1155 | assert(argv) |
| 1156 | |
| 1157 | PERL_CALLCONV void Perl_init_debugger(pTHX); |
| 1158 | PERL_CALLCONV void Perl_init_stacks(pTHX); |
| 1159 | PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm) |
| 1160 | __attribute__nonnull__(pTHX_1); |
| 1161 | #define PERL_ARGS_ASSERT_INIT_TM \ |
| 1162 | assert(ptm) |
| 1163 | |
| 1164 | PERL_CALLCONV U32 Perl_intro_my(pTHX); |
| 1165 | PERL_CALLCONV char* Perl_instr(const char* big, const char* little) |
| 1166 | __attribute__warn_unused_result__ |
| 1167 | __attribute__pure__ |
| 1168 | __attribute__nonnull__(1) |
| 1169 | __attribute__nonnull__(2); |
| 1170 | #define PERL_ARGS_ASSERT_INSTR \ |
| 1171 | assert(big); assert(little) |
| 1172 | |
| 1173 | PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) |
| 1174 | __attribute__nonnull__(pTHX_1); |
| 1175 | #define PERL_ARGS_ASSERT_IO_CLOSE \ |
| 1176 | assert(io) |
| 1177 | |
| 1178 | PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) |
| 1179 | __attribute__warn_unused_result__; |
| 1180 | |
| 1181 | PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) |
| 1182 | __attribute__warn_unused_result__; |
| 1183 | |
| 1184 | PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) |
| 1185 | __attribute__warn_unused_result__ |
| 1186 | __attribute__pure__; |
| 1187 | |
| 1188 | PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) |
| 1189 | __attribute__warn_unused_result__ |
| 1190 | __attribute__pure__; |
| 1191 | |
| 1192 | PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) |
| 1193 | __attribute__warn_unused_result__ |
| 1194 | __attribute__pure__; |
| 1195 | |
| 1196 | PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) |
| 1197 | __attribute__warn_unused_result__ |
| 1198 | __attribute__pure__; |
| 1199 | |
| 1200 | PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) |
| 1201 | __attribute__warn_unused_result__ |
| 1202 | __attribute__pure__; |
| 1203 | |
| 1204 | PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) |
| 1205 | __attribute__warn_unused_result__ |
| 1206 | __attribute__pure__; |
| 1207 | |
| 1208 | PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) |
| 1209 | __attribute__warn_unused_result__ |
| 1210 | __attribute__pure__; |
| 1211 | |
| 1212 | PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) |
| 1213 | __attribute__warn_unused_result__ |
| 1214 | __attribute__pure__; |
| 1215 | |
| 1216 | PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) |
| 1217 | __attribute__warn_unused_result__ |
| 1218 | __attribute__pure__; |
| 1219 | |
| 1220 | PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) |
| 1221 | __attribute__warn_unused_result__ |
| 1222 | __attribute__pure__; |
| 1223 | |
| 1224 | PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) |
| 1225 | __attribute__warn_unused_result__ |
| 1226 | __attribute__pure__; |
| 1227 | |
| 1228 | PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) |
| 1229 | __attribute__warn_unused_result__ |
| 1230 | __attribute__pure__; |
| 1231 | |
| 1232 | PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) |
| 1233 | __attribute__warn_unused_result__ |
| 1234 | __attribute__pure__; |
| 1235 | |
| 1236 | PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) |
| 1237 | __attribute__warn_unused_result__ |
| 1238 | __attribute__pure__; |
| 1239 | |
| 1240 | PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) |
| 1241 | __attribute__warn_unused_result__ |
| 1242 | __attribute__pure__; |
| 1243 | |
| 1244 | PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) |
| 1245 | __attribute__warn_unused_result__ |
| 1246 | __attribute__pure__; |
| 1247 | |
| 1248 | PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) |
| 1249 | __attribute__nonnull__(pTHX_2) |
| 1250 | __attribute__nonnull__(pTHX_3); |
| 1251 | #define PERL_ARGS_ASSERT_TO_UNI_UPPER \ |
| 1252 | assert(p); assert(lenp) |
| 1253 | |
| 1254 | PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) |
| 1255 | __attribute__nonnull__(pTHX_2) |
| 1256 | __attribute__nonnull__(pTHX_3); |
| 1257 | #define PERL_ARGS_ASSERT_TO_UNI_TITLE \ |
| 1258 | assert(p); assert(lenp) |
| 1259 | |
| 1260 | PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) |
| 1261 | __attribute__nonnull__(pTHX_2) |
| 1262 | __attribute__nonnull__(pTHX_3); |
| 1263 | #define PERL_ARGS_ASSERT_TO_UNI_LOWER \ |
| 1264 | assert(p); assert(lenp) |
| 1265 | |
| 1266 | PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) |
| 1267 | __attribute__nonnull__(pTHX_2) |
| 1268 | __attribute__nonnull__(pTHX_3); |
| 1269 | #define PERL_ARGS_ASSERT_TO_UNI_FOLD \ |
| 1270 | assert(p); assert(lenp) |
| 1271 | |
| 1272 | PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) |
| 1273 | __attribute__warn_unused_result__ |
| 1274 | __attribute__pure__; |
| 1275 | |
| 1276 | PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) |
| 1277 | __attribute__warn_unused_result__ |
| 1278 | __attribute__pure__; |
| 1279 | |
| 1280 | PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) |
| 1281 | __attribute__warn_unused_result__ |
| 1282 | __attribute__pure__; |
| 1283 | |
| 1284 | PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) |
| 1285 | __attribute__warn_unused_result__ |
| 1286 | __attribute__pure__; |
| 1287 | |
| 1288 | PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) |
| 1289 | __attribute__warn_unused_result__ |
| 1290 | __attribute__pure__; |
| 1291 | |
| 1292 | PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) |
| 1293 | __attribute__warn_unused_result__ |
| 1294 | __attribute__pure__; |
| 1295 | |
| 1296 | PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) |
| 1297 | __attribute__warn_unused_result__ |
| 1298 | __attribute__pure__; |
| 1299 | |
| 1300 | PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) |
| 1301 | __attribute__warn_unused_result__ |
| 1302 | __attribute__pure__; |
| 1303 | |
| 1304 | PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) |
| 1305 | __attribute__warn_unused_result__ |
| 1306 | __attribute__pure__; |
| 1307 | |
| 1308 | PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) |
| 1309 | __attribute__warn_unused_result__ |
| 1310 | __attribute__pure__; |
| 1311 | |
| 1312 | PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) |
| 1313 | __attribute__warn_unused_result__ |
| 1314 | __attribute__pure__; |
| 1315 | |
| 1316 | PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) |
| 1317 | __attribute__warn_unused_result__ |
| 1318 | __attribute__pure__; |
| 1319 | |
| 1320 | PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) |
| 1321 | __attribute__warn_unused_result__ |
| 1322 | __attribute__pure__; |
| 1323 | |
| 1324 | PERL_CALLCONV bool Perl_is_ascii_string(const U8 *s, STRLEN len) |
| 1325 | __attribute__nonnull__(1); |
| 1326 | #define PERL_ARGS_ASSERT_IS_ASCII_STRING \ |
| 1327 | assert(s) |
| 1328 | |
| 1329 | PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s) |
| 1330 | __attribute__nonnull__(1); |
| 1331 | #define PERL_ARGS_ASSERT_IS_UTF8_CHAR \ |
| 1332 | assert(s) |
| 1333 | |
| 1334 | PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len) |
| 1335 | __attribute__nonnull__(1); |
| 1336 | #define PERL_ARGS_ASSERT_IS_UTF8_STRING \ |
| 1337 | assert(s) |
| 1338 | |
| 1339 | /* PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p) |
| 1340 | __attribute__nonnull__(1); */ |
| 1341 | #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \ |
| 1342 | assert(s) |
| 1343 | |
| 1344 | PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) |
| 1345 | __attribute__nonnull__(1); |
| 1346 | #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \ |
| 1347 | assert(s) |
| 1348 | |
| 1349 | PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p) |
| 1350 | __attribute__warn_unused_result__ |
| 1351 | __attribute__nonnull__(pTHX_1); |
| 1352 | #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \ |
| 1353 | assert(p) |
| 1354 | |
| 1355 | PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p) |
| 1356 | __attribute__warn_unused_result__ |
| 1357 | __attribute__nonnull__(pTHX_1); |
| 1358 | #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \ |
| 1359 | assert(p) |
| 1360 | |
| 1361 | PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p) |
| 1362 | __attribute__warn_unused_result__ |
| 1363 | __attribute__nonnull__(pTHX_1); |
| 1364 | #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \ |
| 1365 | assert(p) |
| 1366 | |
| 1367 | PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p) |
| 1368 | __attribute__warn_unused_result__ |
| 1369 | __attribute__nonnull__(pTHX_1); |
| 1370 | #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \ |
| 1371 | assert(p) |
| 1372 | |
| 1373 | PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p) |
| 1374 | __attribute__warn_unused_result__ |
| 1375 | __attribute__nonnull__(pTHX_1); |
| 1376 | #define PERL_ARGS_ASSERT_IS_UTF8_ASCII \ |
| 1377 | assert(p) |
| 1378 | |
| 1379 | PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p) |
| 1380 | __attribute__warn_unused_result__ |
| 1381 | __attribute__nonnull__(pTHX_1); |
| 1382 | #define PERL_ARGS_ASSERT_IS_UTF8_SPACE \ |
| 1383 | assert(p) |
| 1384 | |
| 1385 | PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p) |
| 1386 | __attribute__warn_unused_result__ |
| 1387 | __attribute__nonnull__(pTHX_1); |
| 1388 | #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \ |
| 1389 | assert(p) |
| 1390 | |
| 1391 | PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p) |
| 1392 | __attribute__warn_unused_result__ |
| 1393 | __attribute__nonnull__(pTHX_1); |
| 1394 | #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \ |
| 1395 | assert(p) |
| 1396 | |
| 1397 | PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p) |
| 1398 | __attribute__warn_unused_result__ |
| 1399 | __attribute__nonnull__(pTHX_1); |
| 1400 | #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \ |
| 1401 | assert(p) |
| 1402 | |
| 1403 | PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p) |
| 1404 | __attribute__warn_unused_result__ |
| 1405 | __attribute__nonnull__(pTHX_1); |
| 1406 | #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \ |
| 1407 | assert(p) |
| 1408 | |
| 1409 | PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p) |
| 1410 | __attribute__warn_unused_result__ |
| 1411 | __attribute__nonnull__(pTHX_1); |
| 1412 | #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \ |
| 1413 | assert(p) |
| 1414 | |
| 1415 | PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p) |
| 1416 | __attribute__warn_unused_result__ |
| 1417 | __attribute__nonnull__(pTHX_1); |
| 1418 | #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \ |
| 1419 | assert(p) |
| 1420 | |
| 1421 | PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p) |
| 1422 | __attribute__warn_unused_result__ |
| 1423 | __attribute__nonnull__(pTHX_1); |
| 1424 | #define PERL_ARGS_ASSERT_IS_UTF8_UPPER \ |
| 1425 | assert(p) |
| 1426 | |
| 1427 | PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p) |
| 1428 | __attribute__warn_unused_result__ |
| 1429 | __attribute__nonnull__(pTHX_1); |
| 1430 | #define PERL_ARGS_ASSERT_IS_UTF8_LOWER \ |
| 1431 | assert(p) |
| 1432 | |
| 1433 | PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p) |
| 1434 | __attribute__warn_unused_result__ |
| 1435 | __attribute__nonnull__(pTHX_1); |
| 1436 | #define PERL_ARGS_ASSERT_IS_UTF8_PRINT \ |
| 1437 | assert(p) |
| 1438 | |
| 1439 | PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p) |
| 1440 | __attribute__warn_unused_result__ |
| 1441 | __attribute__nonnull__(pTHX_1); |
| 1442 | #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \ |
| 1443 | assert(p) |
| 1444 | |
| 1445 | PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p) |
| 1446 | __attribute__warn_unused_result__ |
| 1447 | __attribute__nonnull__(pTHX_1); |
| 1448 | #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \ |
| 1449 | assert(p) |
| 1450 | |
| 1451 | PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) |
| 1452 | __attribute__warn_unused_result__ |
| 1453 | __attribute__nonnull__(pTHX_1); |
| 1454 | #define PERL_ARGS_ASSERT_IS_UTF8_MARK \ |
| 1455 | assert(p) |
| 1456 | |
| 1457 | PERL_CALLCONV bool Perl_is_utf8_X_begin(pTHX_ const U8 *p) |
| 1458 | __attribute__warn_unused_result__ |
| 1459 | __attribute__nonnull__(pTHX_1); |
| 1460 | #define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN \ |
| 1461 | assert(p) |
| 1462 | |
| 1463 | PERL_CALLCONV bool Perl_is_utf8_X_extend(pTHX_ const U8 *p) |
| 1464 | __attribute__warn_unused_result__ |
| 1465 | __attribute__nonnull__(pTHX_1); |
| 1466 | #define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND \ |
| 1467 | assert(p) |
| 1468 | |
| 1469 | PERL_CALLCONV bool Perl_is_utf8_X_prepend(pTHX_ const U8 *p) |
| 1470 | __attribute__warn_unused_result__ |
| 1471 | __attribute__nonnull__(pTHX_1); |
| 1472 | #define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND \ |
| 1473 | assert(p) |
| 1474 | |
| 1475 | PERL_CALLCONV bool Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p) |
| 1476 | __attribute__warn_unused_result__ |
| 1477 | __attribute__nonnull__(pTHX_1); |
| 1478 | #define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL \ |
| 1479 | assert(p) |
| 1480 | |
| 1481 | PERL_CALLCONV bool Perl_is_utf8_X_L(pTHX_ const U8 *p) |
| 1482 | __attribute__warn_unused_result__ |
| 1483 | __attribute__nonnull__(pTHX_1); |
| 1484 | #define PERL_ARGS_ASSERT_IS_UTF8_X_L \ |
| 1485 | assert(p) |
| 1486 | |
| 1487 | PERL_CALLCONV bool Perl_is_utf8_X_LV(pTHX_ const U8 *p) |
| 1488 | __attribute__warn_unused_result__ |
| 1489 | __attribute__nonnull__(pTHX_1); |
| 1490 | #define PERL_ARGS_ASSERT_IS_UTF8_X_LV \ |
| 1491 | assert(p) |
| 1492 | |
| 1493 | PERL_CALLCONV bool Perl_is_utf8_X_LVT(pTHX_ const U8 *p) |
| 1494 | __attribute__warn_unused_result__ |
| 1495 | __attribute__nonnull__(pTHX_1); |
| 1496 | #define PERL_ARGS_ASSERT_IS_UTF8_X_LVT \ |
| 1497 | assert(p) |
| 1498 | |
| 1499 | PERL_CALLCONV bool Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p) |
| 1500 | __attribute__warn_unused_result__ |
| 1501 | __attribute__nonnull__(pTHX_1); |
| 1502 | #define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V \ |
| 1503 | assert(p) |
| 1504 | |
| 1505 | PERL_CALLCONV bool Perl_is_utf8_X_T(pTHX_ const U8 *p) |
| 1506 | __attribute__warn_unused_result__ |
| 1507 | __attribute__nonnull__(pTHX_1); |
| 1508 | #define PERL_ARGS_ASSERT_IS_UTF8_X_T \ |
| 1509 | assert(p) |
| 1510 | |
| 1511 | PERL_CALLCONV bool Perl_is_utf8_X_V(pTHX_ const U8 *p) |
| 1512 | __attribute__warn_unused_result__ |
| 1513 | __attribute__nonnull__(pTHX_1); |
| 1514 | #define PERL_ARGS_ASSERT_IS_UTF8_X_V \ |
| 1515 | assert(p) |
| 1516 | |
| 1517 | PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o) |
| 1518 | __attribute__nonnull__(pTHX_1); |
| 1519 | #define PERL_ARGS_ASSERT_JMAYBE \ |
| 1520 | assert(o) |
| 1521 | |
| 1522 | PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords) |
| 1523 | __attribute__pure__ |
| 1524 | __attribute__nonnull__(pTHX_1); |
| 1525 | #define PERL_ARGS_ASSERT_KEYWORD \ |
| 1526 | assert(name) |
| 1527 | |
| 1528 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 1529 | STATIC OP* S_opt_scalarhv(pTHX_ OP* rep_op) |
| 1530 | __attribute__nonnull__(pTHX_1); |
| 1531 | #define PERL_ARGS_ASSERT_OPT_SCALARHV \ |
| 1532 | assert(rep_op) |
| 1533 | |
| 1534 | STATIC OP* S_is_inplace_av(pTHX_ OP* o, OP* oright) |
| 1535 | __attribute__nonnull__(pTHX_1); |
| 1536 | #define PERL_ARGS_ASSERT_IS_INPLACE_AV \ |
| 1537 | assert(o) |
| 1538 | |
| 1539 | #endif |
| 1540 | PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); |
| 1541 | PERL_CALLCONV void Perl_lex_end(pTHX); |
| 1542 | PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter); |
| 1543 | PERL_CALLCONV bool Perl_lex_bufutf8(pTHX); |
| 1544 | PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len); |
| 1545 | PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags) |
| 1546 | __attribute__nonnull__(pTHX_1); |
| 1547 | #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \ |
| 1548 | assert(pv) |
| 1549 | |
| 1550 | PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags) |
| 1551 | __attribute__nonnull__(pTHX_1); |
| 1552 | #define PERL_ARGS_ASSERT_LEX_STUFF_SV \ |
| 1553 | assert(sv) |
| 1554 | |
| 1555 | PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr) |
| 1556 | __attribute__nonnull__(pTHX_1); |
| 1557 | #define PERL_ARGS_ASSERT_LEX_UNSTUFF \ |
| 1558 | assert(ptr) |
| 1559 | |
| 1560 | PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr) |
| 1561 | __attribute__nonnull__(pTHX_1); |
| 1562 | #define PERL_ARGS_ASSERT_LEX_READ_TO \ |
| 1563 | assert(ptr) |
| 1564 | |
| 1565 | PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr) |
| 1566 | __attribute__nonnull__(pTHX_1); |
| 1567 | #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \ |
| 1568 | assert(ptr) |
| 1569 | |
| 1570 | PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags); |
| 1571 | PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags); |
| 1572 | PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags); |
| 1573 | PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags); |
| 1574 | PERL_CALLCONV void Perl_op_null(pTHX_ OP* o) |
| 1575 | __attribute__nonnull__(pTHX_1); |
| 1576 | #define PERL_ARGS_ASSERT_OP_NULL \ |
| 1577 | assert(o) |
| 1578 | |
| 1579 | PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) |
| 1580 | __attribute__nonnull__(pTHX_1); |
| 1581 | #define PERL_ARGS_ASSERT_OP_CLEAR \ |
| 1582 | assert(o) |
| 1583 | |
| 1584 | PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); |
| 1585 | PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); |
| 1586 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 1587 | STATIC OP* S_linklist(pTHX_ OP *o) |
| 1588 | __attribute__nonnull__(pTHX_1); |
| 1589 | #define PERL_ARGS_ASSERT_LINKLIST \ |
| 1590 | assert(o) |
| 1591 | |
| 1592 | STATIC OP* S_listkids(pTHX_ OP* o); |
| 1593 | #endif |
| 1594 | PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); |
| 1595 | PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) |
| 1596 | __attribute__nonnull__(pTHX_2); |
| 1597 | #define PERL_ARGS_ASSERT_LOAD_MODULE \ |
| 1598 | assert(name) |
| 1599 | |
| 1600 | PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args) |
| 1601 | __attribute__nonnull__(pTHX_2); |
| 1602 | #define PERL_ARGS_ASSERT_VLOAD_MODULE \ |
| 1603 | assert(name) |
| 1604 | |
| 1605 | PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex) |
| 1606 | __attribute__nonnull__(pTHX_1); |
| 1607 | #define PERL_ARGS_ASSERT_LOCALIZE \ |
| 1608 | assert(o) |
| 1609 | |
| 1610 | PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv) |
| 1611 | __attribute__warn_unused_result__ |
| 1612 | __attribute__nonnull__(pTHX_1); |
| 1613 | #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \ |
| 1614 | assert(sv) |
| 1615 | |
| 1616 | PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
| 1617 | __attribute__nonnull__(pTHX_1) |
| 1618 | __attribute__nonnull__(pTHX_2) |
| 1619 | __attribute__nonnull__(pTHX_3); |
| 1620 | #define PERL_ARGS_ASSERT_GROK_BIN \ |
| 1621 | assert(start); assert(len_p); assert(flags) |
| 1622 | |
| 1623 | PERL_CALLCONV char Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning) |
| 1624 | __attribute__warn_unused_result__; |
| 1625 | |
| 1626 | PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
| 1627 | __attribute__nonnull__(pTHX_1) |
| 1628 | __attribute__nonnull__(pTHX_2) |
| 1629 | __attribute__nonnull__(pTHX_3); |
| 1630 | #define PERL_ARGS_ASSERT_GROK_HEX \ |
| 1631 | assert(start); assert(len_p); assert(flags) |
| 1632 | |
| 1633 | PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) |
| 1634 | __attribute__nonnull__(pTHX_1); |
| 1635 | #define PERL_ARGS_ASSERT_GROK_NUMBER \ |
| 1636 | assert(pv) |
| 1637 | |
| 1638 | PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) |
| 1639 | __attribute__warn_unused_result__ |
| 1640 | __attribute__nonnull__(pTHX_1) |
| 1641 | __attribute__nonnull__(pTHX_2); |
| 1642 | #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \ |
| 1643 | assert(sp); assert(send) |
| 1644 | |
| 1645 | PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
| 1646 | __attribute__nonnull__(pTHX_1) |
| 1647 | __attribute__nonnull__(pTHX_2) |
| 1648 | __attribute__nonnull__(pTHX_3); |
| 1649 | #define PERL_ARGS_ASSERT_GROK_OCT \ |
| 1650 | assert(start); assert(len_p); assert(flags) |
| 1651 | |
| 1652 | PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg) |
| 1653 | __attribute__nonnull__(pTHX_1) |
| 1654 | __attribute__nonnull__(pTHX_2); |
| 1655 | #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \ |
| 1656 | assert(sv); assert(mg) |
| 1657 | |
| 1658 | PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg) |
| 1659 | __attribute__nonnull__(pTHX_1) |
| 1660 | __attribute__nonnull__(pTHX_2); |
| 1661 | #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \ |
| 1662 | assert(sv); assert(mg) |
| 1663 | |
| 1664 | PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg) |
| 1665 | __attribute__nonnull__(pTHX_1) |
| 1666 | __attribute__nonnull__(pTHX_2); |
| 1667 | #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \ |
| 1668 | assert(sv); assert(mg) |
| 1669 | |
| 1670 | PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg) |
| 1671 | __attribute__nonnull__(pTHX_1) |
| 1672 | __attribute__nonnull__(pTHX_2); |
| 1673 | #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \ |
| 1674 | assert(sv); assert(mg) |
| 1675 | |
| 1676 | PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg) |
| 1677 | __attribute__nonnull__(pTHX_2); |
| 1678 | #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \ |
| 1679 | assert(mg) |
| 1680 | |
| 1681 | PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg) |
| 1682 | __attribute__nonnull__(pTHX_1) |
| 1683 | __attribute__nonnull__(pTHX_2); |
| 1684 | #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \ |
| 1685 | assert(sv); assert(mg) |
| 1686 | |
| 1687 | PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg) |
| 1688 | __attribute__nonnull__(pTHX_1) |
| 1689 | __attribute__nonnull__(pTHX_2); |
| 1690 | #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \ |
| 1691 | assert(sv); assert(mg) |
| 1692 | |
| 1693 | PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg) |
| 1694 | __attribute__nonnull__(pTHX_1) |
| 1695 | __attribute__nonnull__(pTHX_2); |
| 1696 | #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \ |
| 1697 | assert(sv); assert(mg) |
| 1698 | |
| 1699 | PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg) |
| 1700 | __attribute__nonnull__(pTHX_1) |
| 1701 | __attribute__nonnull__(pTHX_2); |
| 1702 | #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \ |
| 1703 | assert(sv); assert(mg) |
| 1704 | |
| 1705 | PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg) |
| 1706 | __attribute__nonnull__(pTHX_1) |
| 1707 | __attribute__nonnull__(pTHX_2); |
| 1708 | #define PERL_ARGS_ASSERT_MAGIC_GET \ |
| 1709 | assert(sv); assert(mg) |
| 1710 | |
| 1711 | PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg) |
| 1712 | __attribute__nonnull__(pTHX_1) |
| 1713 | __attribute__nonnull__(pTHX_2); |
| 1714 | #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \ |
| 1715 | assert(sv); assert(mg) |
| 1716 | |
| 1717 | PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg) |
| 1718 | __attribute__nonnull__(pTHX_1) |
| 1719 | __attribute__nonnull__(pTHX_2); |
| 1720 | #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \ |
| 1721 | assert(sv); assert(mg) |
| 1722 | |
| 1723 | PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg) |
| 1724 | __attribute__nonnull__(pTHX_1) |
| 1725 | __attribute__nonnull__(pTHX_2); |
| 1726 | #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \ |
| 1727 | assert(sv); assert(mg) |
| 1728 | |
| 1729 | PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg) |
| 1730 | __attribute__nonnull__(pTHX_1) |
| 1731 | __attribute__nonnull__(pTHX_2); |
| 1732 | #define PERL_ARGS_ASSERT_MAGIC_GETPACK \ |
| 1733 | assert(sv); assert(mg) |
| 1734 | |
| 1735 | PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg) |
| 1736 | __attribute__nonnull__(pTHX_1) |
| 1737 | __attribute__nonnull__(pTHX_2); |
| 1738 | #define PERL_ARGS_ASSERT_MAGIC_GETPOS \ |
| 1739 | assert(sv); assert(mg) |
| 1740 | |
| 1741 | PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg) |
| 1742 | __attribute__nonnull__(pTHX_1) |
| 1743 | __attribute__nonnull__(pTHX_2); |
| 1744 | #define PERL_ARGS_ASSERT_MAGIC_GETSIG \ |
| 1745 | assert(sv); assert(mg) |
| 1746 | |
| 1747 | PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg) |
| 1748 | __attribute__nonnull__(pTHX_1) |
| 1749 | __attribute__nonnull__(pTHX_2); |
| 1750 | #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \ |
| 1751 | assert(sv); assert(mg) |
| 1752 | |
| 1753 | PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg) |
| 1754 | __attribute__nonnull__(pTHX_1) |
| 1755 | __attribute__nonnull__(pTHX_2); |
| 1756 | #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \ |
| 1757 | assert(sv); assert(mg) |
| 1758 | |
| 1759 | PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg) |
| 1760 | __attribute__nonnull__(pTHX_1) |
| 1761 | __attribute__nonnull__(pTHX_2); |
| 1762 | #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \ |
| 1763 | assert(sv); assert(mg) |
| 1764 | |
| 1765 | PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg) |
| 1766 | __attribute__nonnull__(pTHX_1) |
| 1767 | __attribute__nonnull__(pTHX_2); |
| 1768 | #define PERL_ARGS_ASSERT_MAGIC_GETVEC \ |
| 1769 | assert(sv); assert(mg) |
| 1770 | |
| 1771 | PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg) |
| 1772 | __attribute__nonnull__(pTHX_1) |
| 1773 | __attribute__nonnull__(pTHX_2); |
| 1774 | #define PERL_ARGS_ASSERT_MAGIC_LEN \ |
| 1775 | assert(sv); assert(mg) |
| 1776 | |
| 1777 | PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key) |
| 1778 | __attribute__nonnull__(pTHX_1) |
| 1779 | __attribute__nonnull__(pTHX_2) |
| 1780 | __attribute__nonnull__(pTHX_3); |
| 1781 | #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \ |
| 1782 | assert(sv); assert(mg); assert(key) |
| 1783 | |
| 1784 | PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg) |
| 1785 | __attribute__nonnull__(pTHX_1) |
| 1786 | __attribute__nonnull__(pTHX_2); |
| 1787 | #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \ |
| 1788 | assert(sv); assert(mg) |
| 1789 | |
| 1790 | PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg) |
| 1791 | __attribute__nonnull__(pTHX_1) |
| 1792 | __attribute__nonnull__(pTHX_2); |
| 1793 | #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \ |
| 1794 | assert(sv); assert(mg) |
| 1795 | |
| 1796 | PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) |
| 1797 | __attribute__noreturn__ |
| 1798 | __attribute__nonnull__(pTHX_1) |
| 1799 | __attribute__nonnull__(pTHX_2); |
| 1800 | #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \ |
| 1801 | assert(sv); assert(mg) |
| 1802 | |
| 1803 | PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg) |
| 1804 | __attribute__nonnull__(pTHX_1) |
| 1805 | __attribute__nonnull__(pTHX_2); |
| 1806 | #define PERL_ARGS_ASSERT_MAGIC_SET \ |
| 1807 | assert(sv); assert(mg) |
| 1808 | |
| 1809 | PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg) |
| 1810 | __attribute__nonnull__(pTHX_1) |
| 1811 | __attribute__nonnull__(pTHX_2); |
| 1812 | #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC \ |
| 1813 | assert(sv); assert(mg) |
| 1814 | |
| 1815 | PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg) |
| 1816 | __attribute__nonnull__(pTHX_1) |
| 1817 | __attribute__nonnull__(pTHX_2); |
| 1818 | #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \ |
| 1819 | assert(sv); assert(mg) |
| 1820 | |
| 1821 | PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg) |
| 1822 | __attribute__nonnull__(pTHX_1) |
| 1823 | __attribute__nonnull__(pTHX_2); |
| 1824 | #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \ |
| 1825 | assert(sv); assert(mg) |
| 1826 | |
| 1827 | PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg) |
| 1828 | __attribute__nonnull__(pTHX_1) |
| 1829 | __attribute__nonnull__(pTHX_2); |
| 1830 | #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \ |
| 1831 | assert(sv); assert(mg) |
| 1832 | |
| 1833 | PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg) |
| 1834 | __attribute__nonnull__(pTHX_1) |
| 1835 | __attribute__nonnull__(pTHX_2); |
| 1836 | #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \ |
| 1837 | assert(sv); assert(mg) |
| 1838 | |
| 1839 | PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg) |
| 1840 | __attribute__nonnull__(pTHX_1) |
| 1841 | __attribute__nonnull__(pTHX_2); |
| 1842 | #define PERL_ARGS_ASSERT_MAGIC_SETENV \ |
| 1843 | assert(sv); assert(mg) |
| 1844 | |
| 1845 | PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg) |
| 1846 | __attribute__nonnull__(pTHX_1) |
| 1847 | __attribute__nonnull__(pTHX_2); |
| 1848 | #define PERL_ARGS_ASSERT_MAGIC_SETHINT \ |
| 1849 | assert(sv); assert(mg) |
| 1850 | |
| 1851 | PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg) |
| 1852 | __attribute__nonnull__(pTHX_1) |
| 1853 | __attribute__nonnull__(pTHX_2); |
| 1854 | #define PERL_ARGS_ASSERT_MAGIC_SETISA \ |
| 1855 | assert(sv); assert(mg) |
| 1856 | |
| 1857 | PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg) |
| 1858 | __attribute__nonnull__(pTHX_1) |
| 1859 | __attribute__nonnull__(pTHX_2); |
| 1860 | #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \ |
| 1861 | assert(sv); assert(mg) |
| 1862 | |
| 1863 | PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg) |
| 1864 | __attribute__nonnull__(pTHX_1) |
| 1865 | __attribute__nonnull__(pTHX_2); |
| 1866 | #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \ |
| 1867 | assert(sv); assert(mg) |
| 1868 | |
| 1869 | PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg) |
| 1870 | __attribute__nonnull__(pTHX_1) |
| 1871 | __attribute__nonnull__(pTHX_2); |
| 1872 | #define PERL_ARGS_ASSERT_MAGIC_SETPACK \ |
| 1873 | assert(sv); assert(mg) |
| 1874 | |
| 1875 | PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg) |
| 1876 | __attribute__nonnull__(pTHX_1) |
| 1877 | __attribute__nonnull__(pTHX_2); |
| 1878 | #define PERL_ARGS_ASSERT_MAGIC_SETPOS \ |
| 1879 | assert(sv); assert(mg) |
| 1880 | |
| 1881 | PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg) |
| 1882 | __attribute__nonnull__(pTHX_1) |
| 1883 | __attribute__nonnull__(pTHX_2); |
| 1884 | #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \ |
| 1885 | assert(sv); assert(mg) |
| 1886 | |
| 1887 | PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg) |
| 1888 | __attribute__nonnull__(pTHX_2); |
| 1889 | #define PERL_ARGS_ASSERT_MAGIC_SETSIG \ |
| 1890 | assert(mg) |
| 1891 | |
| 1892 | PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg) |
| 1893 | __attribute__nonnull__(pTHX_1) |
| 1894 | __attribute__nonnull__(pTHX_2); |
| 1895 | #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \ |
| 1896 | assert(sv); assert(mg) |
| 1897 | |
| 1898 | PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg) |
| 1899 | __attribute__nonnull__(pTHX_1) |
| 1900 | __attribute__nonnull__(pTHX_2); |
| 1901 | #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \ |
| 1902 | assert(sv); assert(mg) |
| 1903 | |
| 1904 | PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg) |
| 1905 | __attribute__nonnull__(pTHX_1) |
| 1906 | __attribute__nonnull__(pTHX_2); |
| 1907 | #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \ |
| 1908 | assert(sv); assert(mg) |
| 1909 | |
| 1910 | PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg) |
| 1911 | __attribute__nonnull__(pTHX_1) |
| 1912 | __attribute__nonnull__(pTHX_2); |
| 1913 | #define PERL_ARGS_ASSERT_MAGIC_SETVEC \ |
| 1914 | assert(sv); assert(mg) |
| 1915 | |
| 1916 | PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg) |
| 1917 | __attribute__nonnull__(pTHX_1) |
| 1918 | __attribute__nonnull__(pTHX_2); |
| 1919 | #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \ |
| 1920 | assert(sv); assert(mg) |
| 1921 | |
| 1922 | PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg) |
| 1923 | __attribute__nonnull__(pTHX_1) |
| 1924 | __attribute__nonnull__(pTHX_2); |
| 1925 | #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \ |
| 1926 | assert(sv); assert(mg) |
| 1927 | |
| 1928 | PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg) |
| 1929 | __attribute__nonnull__(pTHX_1) |
| 1930 | __attribute__nonnull__(pTHX_2); |
| 1931 | #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \ |
| 1932 | assert(sv); assert(mg) |
| 1933 | |
| 1934 | PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg) |
| 1935 | __attribute__nonnull__(pTHX_1) |
| 1936 | __attribute__nonnull__(pTHX_2); |
| 1937 | #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \ |
| 1938 | assert(sv); assert(mg) |
| 1939 | |
| 1940 | PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, U32 argc, ...) |
| 1941 | __attribute__nonnull__(pTHX_1) |
| 1942 | __attribute__nonnull__(pTHX_2) |
| 1943 | __attribute__nonnull__(pTHX_3); |
| 1944 | #define PERL_ARGS_ASSERT_MAGIC_METHCALL \ |
| 1945 | assert(sv); assert(mg); assert(meth) |
| 1946 | |
| 1947 | PERL_CALLCONV void Perl_markstack_grow(pTHX); |
| 1948 | #if defined(USE_LOCALE_COLLATE) |
| 1949 | PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg) |
| 1950 | __attribute__nonnull__(pTHX_1) |
| 1951 | __attribute__nonnull__(pTHX_2); |
| 1952 | #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \ |
| 1953 | assert(sv); assert(mg) |
| 1954 | |
| 1955 | PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen) |
| 1956 | __attribute__nonnull__(pTHX_1) |
| 1957 | __attribute__nonnull__(pTHX_3); |
| 1958 | #define PERL_ARGS_ASSERT_MEM_COLLXFRM \ |
| 1959 | assert(s); assert(xlen) |
| 1960 | |
| 1961 | #endif |
| 1962 | PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) |
| 1963 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
| 1964 | __attribute__nonnull__(pTHX_1); |
| 1965 | #define PERL_ARGS_ASSERT_MESS \ |
| 1966 | assert(pat) |
| 1967 | |
| 1968 | PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume) |
| 1969 | __attribute__nonnull__(pTHX_1); |
| 1970 | #define PERL_ARGS_ASSERT_MESS_SV \ |
| 1971 | assert(basemsg) |
| 1972 | |
| 1973 | PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args) |
| 1974 | __attribute__nonnull__(pTHX_1); |
| 1975 | #define PERL_ARGS_ASSERT_VMESS \ |
| 1976 | assert(pat) |
| 1977 | |
| 1978 | PERL_CALLCONV void Perl_qerror(pTHX_ SV* err) |
| 1979 | __attribute__nonnull__(pTHX_1); |
| 1980 | #define PERL_ARGS_ASSERT_QERROR \ |
| 1981 | assert(err) |
| 1982 | |
| 1983 | PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp) |
| 1984 | __attribute__nonnull__(pTHX_3); |
| 1985 | #define PERL_ARGS_ASSERT_SORTSV \ |
| 1986 | assert(cmp) |
| 1987 | |
| 1988 | PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags) |
| 1989 | __attribute__nonnull__(pTHX_3); |
| 1990 | #define PERL_ARGS_ASSERT_SORTSV_FLAGS \ |
| 1991 | assert(cmp) |
| 1992 | |
| 1993 | PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv) |
| 1994 | __attribute__nonnull__(pTHX_1); |
| 1995 | #define PERL_ARGS_ASSERT_MG_CLEAR \ |
| 1996 | assert(sv) |
| 1997 | |
| 1998 | PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen) |
| 1999 | __attribute__nonnull__(pTHX_1) |
| 2000 | __attribute__nonnull__(pTHX_2); |
| 2001 | #define PERL_ARGS_ASSERT_MG_COPY \ |
| 2002 | assert(sv); assert(nsv) |
| 2003 | |
| 2004 | PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic) |
| 2005 | __attribute__nonnull__(pTHX_1) |
| 2006 | __attribute__nonnull__(pTHX_2); |
| 2007 | #define PERL_ARGS_ASSERT_MG_LOCALIZE \ |
| 2008 | assert(sv); assert(nsv) |
| 2009 | |
| 2010 | PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type) |
| 2011 | __attribute__warn_unused_result__; |
| 2012 | |
| 2013 | PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv) |
| 2014 | __attribute__nonnull__(pTHX_1); |
| 2015 | #define PERL_ARGS_ASSERT_MG_FREE \ |
| 2016 | assert(sv) |
| 2017 | |
| 2018 | PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv) |
| 2019 | __attribute__nonnull__(pTHX_1); |
| 2020 | #define PERL_ARGS_ASSERT_MG_GET \ |
| 2021 | assert(sv) |
| 2022 | |
| 2023 | PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv) |
| 2024 | __attribute__nonnull__(pTHX_1); |
| 2025 | #define PERL_ARGS_ASSERT_MG_LENGTH \ |
| 2026 | assert(sv) |
| 2027 | |
| 2028 | PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv) |
| 2029 | __attribute__nonnull__(pTHX_1); |
| 2030 | #define PERL_ARGS_ASSERT_MG_MAGICAL \ |
| 2031 | assert(sv) |
| 2032 | |
| 2033 | PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv) |
| 2034 | __attribute__nonnull__(pTHX_1); |
| 2035 | #define PERL_ARGS_ASSERT_MG_SET \ |
| 2036 | assert(sv) |
| 2037 | |
| 2038 | PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv) |
| 2039 | __attribute__nonnull__(pTHX_1); |
| 2040 | #define PERL_ARGS_ASSERT_MG_SIZE \ |
| 2041 | assert(sv) |
| 2042 | |
| 2043 | PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm) |
| 2044 | __attribute__nonnull__(pTHX_1); |
| 2045 | #define PERL_ARGS_ASSERT_MINI_MKTIME \ |
| 2046 | assert(ptm) |
| 2047 | |
| 2048 | PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type); |
| 2049 | PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len); |
| 2050 | PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s) |
| 2051 | __attribute__nonnull__(pTHX_1); |
| 2052 | #define PERL_ARGS_ASSERT_MORESWITCHES \ |
| 2053 | assert(s) |
| 2054 | |
| 2055 | PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) |
| 2056 | __attribute__nonnull__(pTHX_1); |
| 2057 | #define PERL_ARGS_ASSERT_MY_ATOF \ |
| 2058 | assert(s) |
| 2059 | |
| 2060 | #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) |
| 2061 | PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) |
| 2062 | __attribute__nonnull__(1) |
| 2063 | __attribute__nonnull__(2); |
| 2064 | #define PERL_ARGS_ASSERT_MY_BCOPY \ |
| 2065 | assert(from); assert(to) |
| 2066 | |
| 2067 | #endif |
| 2068 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
| 2069 | PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) |
| 2070 | __attribute__nonnull__(1); |
| 2071 | #define PERL_ARGS_ASSERT_MY_BZERO \ |
| 2072 | assert(loc) |
| 2073 | |
| 2074 | #endif |
| 2075 | PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status) |
| 2076 | __attribute__noreturn__; |
| 2077 | |
| 2078 | PERL_CALLCONV void Perl_my_failure_exit(pTHX) |
| 2079 | __attribute__noreturn__; |
| 2080 | |
| 2081 | PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); |
| 2082 | PERL_CALLCONV Pid_t Perl_my_fork(void); |
| 2083 | PERL_CALLCONV void Perl_atfork_lock(void); |
| 2084 | PERL_CALLCONV void Perl_atfork_unlock(void); |
| 2085 | /* PERL_CALLCONV I32 Perl_my_lstat(pTHX); */ |
| 2086 | PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags); |
| 2087 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
| 2088 | PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) |
| 2089 | __attribute__pure__ |
| 2090 | __attribute__nonnull__(1) |
| 2091 | __attribute__nonnull__(2); |
| 2092 | #define PERL_ARGS_ASSERT_MY_MEMCMP \ |
| 2093 | assert(s1); assert(s2) |
| 2094 | |
| 2095 | #endif |
| 2096 | #if !defined(HAS_MEMSET) |
| 2097 | PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) |
| 2098 | __attribute__nonnull__(1); |
| 2099 | #define PERL_ARGS_ASSERT_MY_MEMSET \ |
| 2100 | assert(loc) |
| 2101 | |
| 2102 | #endif |
| 2103 | PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); |
| 2104 | PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode) |
| 2105 | __attribute__nonnull__(pTHX_1) |
| 2106 | __attribute__nonnull__(pTHX_2); |
| 2107 | #define PERL_ARGS_ASSERT_MY_POPEN \ |
| 2108 | assert(cmd); assert(mode) |
| 2109 | |
| 2110 | PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args) |
| 2111 | __attribute__nonnull__(pTHX_1) |
| 2112 | __attribute__nonnull__(pTHX_3); |
| 2113 | #define PERL_ARGS_ASSERT_MY_POPEN_LIST \ |
| 2114 | assert(mode); assert(args) |
| 2115 | |
| 2116 | PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val); |
| 2117 | /* PERL_CALLCONV I32 Perl_my_stat(pTHX); */ |
| 2118 | PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags); |
| 2119 | 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) |
| 2120 | __attribute__nonnull__(pTHX_1); |
| 2121 | #define PERL_ARGS_ASSERT_MY_STRFTIME \ |
| 2122 | assert(fmt) |
| 2123 | |
| 2124 | #if defined(MYSWAP) |
| 2125 | PERL_CALLCONV short Perl_my_swap(pTHX_ short s) |
| 2126 | __attribute__malloc__ |
| 2127 | __attribute__warn_unused_result__ |
| 2128 | __attribute__pure__; |
| 2129 | |
| 2130 | PERL_CALLCONV long Perl_my_htonl(pTHX_ long l) |
| 2131 | __attribute__malloc__ |
| 2132 | __attribute__warn_unused_result__ |
| 2133 | __attribute__pure__; |
| 2134 | |
| 2135 | PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l) |
| 2136 | __attribute__malloc__ |
| 2137 | __attribute__warn_unused_result__ |
| 2138 | __attribute__pure__; |
| 2139 | |
| 2140 | #endif |
| 2141 | PERL_CALLCONV void Perl_my_unexec(pTHX); |
| 2142 | PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) |
| 2143 | __attribute__malloc__ |
| 2144 | __attribute__warn_unused_result__; |
| 2145 | |
| 2146 | PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) |
| 2147 | __attribute__malloc__ |
| 2148 | __attribute__warn_unused_result__; |
| 2149 | |
| 2150 | PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); |
| 2151 | PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) |
| 2152 | __attribute__malloc__ |
| 2153 | __attribute__warn_unused_result__; |
| 2154 | |
| 2155 | PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop) |
| 2156 | __attribute__malloc__ |
| 2157 | __attribute__warn_unused_result__ |
| 2158 | __attribute__nonnull__(pTHX_2); |
| 2159 | #define PERL_ARGS_ASSERT_NEWCONDOP \ |
| 2160 | assert(first) |
| 2161 | |
| 2162 | PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv); |
| 2163 | #ifdef PERL_MAD |
| 2164 | PERL_CALLCONV OP* Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
| 2165 | #else |
| 2166 | PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
| 2167 | #endif |
| 2168 | PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont) |
| 2169 | __attribute__malloc__ |
| 2170 | __attribute__warn_unused_result__ |
| 2171 | __attribute__nonnull__(pTHX_5); |
| 2172 | #define PERL_ARGS_ASSERT_NEWFOROP \ |
| 2173 | assert(expr) |
| 2174 | |
| 2175 | PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off) |
| 2176 | __attribute__malloc__ |
| 2177 | __attribute__warn_unused_result__ |
| 2178 | __attribute__nonnull__(pTHX_1) |
| 2179 | __attribute__nonnull__(pTHX_2); |
| 2180 | #define PERL_ARGS_ASSERT_NEWGIVENOP \ |
| 2181 | assert(cond); assert(block) |
| 2182 | |
| 2183 | PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other) |
| 2184 | __attribute__malloc__ |
| 2185 | __attribute__warn_unused_result__ |
| 2186 | __attribute__nonnull__(pTHX_3) |
| 2187 | __attribute__nonnull__(pTHX_4); |
| 2188 | #define PERL_ARGS_ASSERT_NEWLOGOP \ |
| 2189 | assert(first); assert(other) |
| 2190 | |
| 2191 | PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) |
| 2192 | __attribute__malloc__ |
| 2193 | __attribute__warn_unused_result__ |
| 2194 | __attribute__nonnull__(pTHX_2); |
| 2195 | #define PERL_ARGS_ASSERT_NEWLOOPEX \ |
| 2196 | assert(label) |
| 2197 | |
| 2198 | PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) |
| 2199 | __attribute__malloc__ |
| 2200 | __attribute__warn_unused_result__; |
| 2201 | |
| 2202 | PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) |
| 2203 | __attribute__malloc__ |
| 2204 | __attribute__warn_unused_result__; |
| 2205 | |
| 2206 | PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) |
| 2207 | __attribute__malloc__ |
| 2208 | __attribute__warn_unused_result__; |
| 2209 | |
| 2210 | PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) |
| 2211 | __attribute__nonnull__(pTHX_1); |
| 2212 | #define PERL_ARGS_ASSERT_NEWPROG \ |
| 2213 | assert(o) |
| 2214 | |
| 2215 | PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) |
| 2216 | __attribute__malloc__ |
| 2217 | __attribute__warn_unused_result__ |
| 2218 | __attribute__nonnull__(pTHX_2) |
| 2219 | __attribute__nonnull__(pTHX_3); |
| 2220 | #define PERL_ARGS_ASSERT_NEWRANGE \ |
| 2221 | assert(left); assert(right) |
| 2222 | |
| 2223 | PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) |
| 2224 | __attribute__malloc__ |
| 2225 | __attribute__warn_unused_result__; |
| 2226 | |
| 2227 | PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) |
| 2228 | __attribute__malloc__ |
| 2229 | __attribute__warn_unused_result__; |
| 2230 | |
| 2231 | PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); |
| 2232 | PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags) |
| 2233 | __attribute__nonnull__(pTHX_2) |
| 2234 | __attribute__nonnull__(pTHX_3); |
| 2235 | #define PERL_ARGS_ASSERT_NEWXS_FLAGS \ |
| 2236 | assert(subaddr); assert(filename) |
| 2237 | |
| 2238 | PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename) |
| 2239 | __attribute__nonnull__(pTHX_2) |
| 2240 | __attribute__nonnull__(pTHX_3); |
| 2241 | #define PERL_ARGS_ASSERT_NEWXS \ |
| 2242 | assert(subaddr); assert(filename) |
| 2243 | |
| 2244 | /* PERL_CALLCONV AV* Perl_newAV(pTHX) |
| 2245 | __attribute__warn_unused_result__; */ |
| 2246 | |
| 2247 | PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) |
| 2248 | __attribute__malloc__ |
| 2249 | __attribute__warn_unused_result__ |
| 2250 | __attribute__nonnull__(pTHX_1); |
| 2251 | #define PERL_ARGS_ASSERT_NEWAVREF \ |
| 2252 | assert(o) |
| 2253 | |
| 2254 | PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) |
| 2255 | __attribute__malloc__ |
| 2256 | __attribute__warn_unused_result__; |
| 2257 | |
| 2258 | PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) |
| 2259 | __attribute__malloc__ |
| 2260 | __attribute__warn_unused_result__; |
| 2261 | |
| 2262 | PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) |
| 2263 | __attribute__malloc__ |
| 2264 | __attribute__warn_unused_result__ |
| 2265 | __attribute__nonnull__(pTHX_3); |
| 2266 | #define PERL_ARGS_ASSERT_NEWGVOP \ |
| 2267 | assert(gv) |
| 2268 | |
| 2269 | PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack) |
| 2270 | __attribute__malloc__ |
| 2271 | __attribute__warn_unused_result__ |
| 2272 | __attribute__nonnull__(pTHX_1); |
| 2273 | #define PERL_ARGS_ASSERT_NEWGVGEN \ |
| 2274 | assert(pack) |
| 2275 | |
| 2276 | PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) |
| 2277 | __attribute__malloc__ |
| 2278 | __attribute__warn_unused_result__; |
| 2279 | |
| 2280 | PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) |
| 2281 | __attribute__malloc__ |
| 2282 | __attribute__warn_unused_result__ |
| 2283 | __attribute__nonnull__(pTHX_1); |
| 2284 | #define PERL_ARGS_ASSERT_NEWHVREF \ |
| 2285 | assert(o) |
| 2286 | |
| 2287 | /* PERL_CALLCONV HV* Perl_newHV(pTHX) |
| 2288 | __attribute__warn_unused_result__; */ |
| 2289 | |
| 2290 | PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv) |
| 2291 | __attribute__malloc__ |
| 2292 | __attribute__warn_unused_result__; |
| 2293 | |
| 2294 | /* PERL_CALLCONV IO* Perl_newIO(pTHX) |
| 2295 | __attribute__malloc__ |
| 2296 | __attribute__warn_unused_result__; */ |
| 2297 | |
| 2298 | PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) |
| 2299 | __attribute__malloc__ |
| 2300 | __attribute__warn_unused_result__; |
| 2301 | |
| 2302 | #ifdef USE_ITHREADS |
| 2303 | PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) |
| 2304 | __attribute__malloc__ |
| 2305 | __attribute__warn_unused_result__ |
| 2306 | __attribute__nonnull__(pTHX_3); |
| 2307 | #define PERL_ARGS_ASSERT_NEWPADOP \ |
| 2308 | assert(sv) |
| 2309 | |
| 2310 | #endif |
| 2311 | PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) |
| 2312 | __attribute__malloc__ |
| 2313 | __attribute__warn_unused_result__; |
| 2314 | |
| 2315 | PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) |
| 2316 | __attribute__malloc__ |
| 2317 | __attribute__warn_unused_result__; |
| 2318 | |
| 2319 | PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv) |
| 2320 | __attribute__malloc__ |
| 2321 | __attribute__warn_unused_result__ |
| 2322 | __attribute__nonnull__(pTHX_1); |
| 2323 | #define PERL_ARGS_ASSERT_NEWRV \ |
| 2324 | assert(sv) |
| 2325 | |
| 2326 | PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv) |
| 2327 | __attribute__malloc__ |
| 2328 | __attribute__warn_unused_result__ |
| 2329 | __attribute__nonnull__(pTHX_1); |
| 2330 | #define PERL_ARGS_ASSERT_NEWRV_NOINC \ |
| 2331 | assert(sv) |
| 2332 | |
| 2333 | PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len) |
| 2334 | __attribute__malloc__ |
| 2335 | __attribute__warn_unused_result__; |
| 2336 | |
| 2337 | PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) |
| 2338 | __attribute__malloc__ |
| 2339 | __attribute__warn_unused_result__ |
| 2340 | __attribute__nonnull__(pTHX_1); |
| 2341 | #define PERL_ARGS_ASSERT_NEWSVREF \ |
| 2342 | assert(o) |
| 2343 | |
| 2344 | PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) |
| 2345 | __attribute__malloc__ |
| 2346 | __attribute__warn_unused_result__ |
| 2347 | __attribute__nonnull__(pTHX_3); |
| 2348 | #define PERL_ARGS_ASSERT_NEWSVOP \ |
| 2349 | assert(sv) |
| 2350 | |
| 2351 | PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i) |
| 2352 | __attribute__malloc__ |
| 2353 | __attribute__warn_unused_result__; |
| 2354 | |
| 2355 | PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u) |
| 2356 | __attribute__malloc__ |
| 2357 | __attribute__warn_unused_result__; |
| 2358 | |
| 2359 | PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n) |
| 2360 | __attribute__malloc__ |
| 2361 | __attribute__warn_unused_result__; |
| 2362 | |
| 2363 | PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) |
| 2364 | __attribute__malloc__ |
| 2365 | __attribute__warn_unused_result__; |
| 2366 | |
| 2367 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len) |
| 2368 | __attribute__malloc__ |
| 2369 | __attribute__warn_unused_result__; |
| 2370 | |
| 2371 | PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags) |
| 2372 | __attribute__malloc__ |
| 2373 | __attribute__warn_unused_result__; |
| 2374 | |
| 2375 | PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek) |
| 2376 | __attribute__malloc__ |
| 2377 | __attribute__warn_unused_result__; |
| 2378 | |
| 2379 | PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) |
| 2380 | __attribute__malloc__ |
| 2381 | __attribute__warn_unused_result__; |
| 2382 | |
| 2383 | PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...) |
| 2384 | __attribute__malloc__ |
| 2385 | __attribute__warn_unused_result__ |
| 2386 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
| 2387 | __attribute__nonnull__(pTHX_1); |
| 2388 | #define PERL_ARGS_ASSERT_NEWSVPVF \ |
| 2389 | assert(pat) |
| 2390 | |
| 2391 | PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args) |
| 2392 | __attribute__malloc__ |
| 2393 | __attribute__warn_unused_result__ |
| 2394 | __attribute__nonnull__(pTHX_1); |
| 2395 | #define PERL_ARGS_ASSERT_VNEWSVPVF \ |
| 2396 | assert(pat) |
| 2397 | |
| 2398 | PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname) |
| 2399 | __attribute__nonnull__(pTHX_1); |
| 2400 | #define PERL_ARGS_ASSERT_NEWSVRV \ |
| 2401 | assert(rv) |
| 2402 | |
| 2403 | PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old) |
| 2404 | __attribute__malloc__ |
| 2405 | __attribute__warn_unused_result__; |
| 2406 | |
| 2407 | PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type) |
| 2408 | __attribute__malloc__ |
| 2409 | __attribute__warn_unused_result__; |
| 2410 | |
| 2411 | PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) |
| 2412 | __attribute__malloc__ |
| 2413 | __attribute__warn_unused_result__; |
| 2414 | |
| 2415 | PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block) |
| 2416 | __attribute__malloc__ |
| 2417 | __attribute__warn_unused_result__ |
| 2418 | __attribute__nonnull__(pTHX_2); |
| 2419 | #define PERL_ARGS_ASSERT_NEWWHENOP \ |
| 2420 | assert(block) |
| 2421 | |
| 2422 | PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my) |
| 2423 | __attribute__malloc__ |
| 2424 | __attribute__warn_unused_result__; |
| 2425 | |
| 2426 | PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) |
| 2427 | __attribute__malloc__ |
| 2428 | __attribute__warn_unused_result__; |
| 2429 | |
| 2430 | PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv) |
| 2431 | __attribute__nonnull__(pTHX_1) |
| 2432 | __attribute__nonnull__(pTHX_2) |
| 2433 | __attribute__nonnull__(pTHX_3); |
| 2434 | #define PERL_ARGS_ASSERT_SCAN_VSTRING \ |
| 2435 | assert(s); assert(e); assert(sv) |
| 2436 | |
| 2437 | PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv) |
| 2438 | __attribute__nonnull__(pTHX_1) |
| 2439 | __attribute__nonnull__(pTHX_2); |
| 2440 | #define PERL_ARGS_ASSERT_SCAN_VERSION \ |
| 2441 | assert(s); assert(rv) |
| 2442 | |
| 2443 | 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) |
| 2444 | __attribute__nonnull__(pTHX_1); |
| 2445 | #define PERL_ARGS_ASSERT_PRESCAN_VERSION \ |
| 2446 | assert(s) |
| 2447 | |
| 2448 | PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver) |
| 2449 | __attribute__nonnull__(pTHX_1); |
| 2450 | #define PERL_ARGS_ASSERT_NEW_VERSION \ |
| 2451 | assert(ver) |
| 2452 | |
| 2453 | PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv) |
| 2454 | __attribute__nonnull__(pTHX_1); |
| 2455 | #define PERL_ARGS_ASSERT_UPG_VERSION \ |
| 2456 | assert(ver) |
| 2457 | |
| 2458 | PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs) |
| 2459 | __attribute__nonnull__(pTHX_1); |
| 2460 | #define PERL_ARGS_ASSERT_VVERIFY \ |
| 2461 | assert(vs) |
| 2462 | |
| 2463 | PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs) |
| 2464 | __attribute__nonnull__(pTHX_1); |
| 2465 | #define PERL_ARGS_ASSERT_VNUMIFY \ |
| 2466 | assert(vs) |
| 2467 | |
| 2468 | PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs) |
| 2469 | __attribute__nonnull__(pTHX_1); |
| 2470 | #define PERL_ARGS_ASSERT_VNORMAL \ |
| 2471 | assert(vs) |
| 2472 | |
| 2473 | PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) |
| 2474 | __attribute__nonnull__(pTHX_1); |
| 2475 | #define PERL_ARGS_ASSERT_VSTRINGIFY \ |
| 2476 | assert(vs) |
| 2477 | |
| 2478 | PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv) |
| 2479 | __attribute__nonnull__(pTHX_1) |
| 2480 | __attribute__nonnull__(pTHX_2); |
| 2481 | #define PERL_ARGS_ASSERT_VCMP \ |
| 2482 | assert(lhv); assert(rhv) |
| 2483 | |
| 2484 | PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv) |
| 2485 | __attribute__nonnull__(pTHX_1); |
| 2486 | #define PERL_ARGS_ASSERT_NEXTARGV \ |
| 2487 | assert(gv) |
| 2488 | |
| 2489 | PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend) |
| 2490 | __attribute__pure__ |
| 2491 | __attribute__nonnull__(1) |
| 2492 | __attribute__nonnull__(2) |
| 2493 | __attribute__nonnull__(3) |
| 2494 | __attribute__nonnull__(4); |
| 2495 | #define PERL_ARGS_ASSERT_NINSTR \ |
| 2496 | assert(big); assert(bigend); assert(little); assert(lend) |
| 2497 | |
| 2498 | PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg); |
| 2499 | #ifdef PERL_MAD |
| 2500 | PERL_CALLCONV OP* Perl_package(pTHX_ OP* o) |
| 2501 | __attribute__nonnull__(pTHX_1); |
| 2502 | #define PERL_ARGS_ASSERT_PACKAGE \ |
| 2503 | assert(o) |
| 2504 | |
| 2505 | #else |
| 2506 | PERL_CALLCONV void Perl_package(pTHX_ OP* o) |
| 2507 | __attribute__nonnull__(pTHX_1); |
| 2508 | #define PERL_ARGS_ASSERT_PACKAGE \ |
| 2509 | assert(o) |
| 2510 | |
| 2511 | #endif |
| 2512 | PERL_CALLCONV void Perl_package_version(pTHX_ OP* v) |
| 2513 | __attribute__nonnull__(pTHX_1); |
| 2514 | #define PERL_ARGS_ASSERT_PACKAGE_VERSION \ |
| 2515 | assert(v) |
| 2516 | |
| 2517 | PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); |
| 2518 | PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags) |
| 2519 | __attribute__nonnull__(pTHX_1); |
| 2520 | #define PERL_ARGS_ASSERT_ALLOCMY \ |
| 2521 | assert(name) |
| 2522 | |
| 2523 | PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags) |
| 2524 | __attribute__warn_unused_result__ |
| 2525 | __attribute__nonnull__(pTHX_1); |
| 2526 | #define PERL_ARGS_ASSERT_PAD_FINDMY \ |
| 2527 | assert(name) |
| 2528 | |
| 2529 | PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX) |
| 2530 | __attribute__deprecated__; |
| 2531 | |
| 2532 | PERL_CALLCONV SV* Perl_find_rundefsv(pTHX); |
| 2533 | PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) |
| 2534 | __attribute__warn_unused_result__ |
| 2535 | __attribute__nonnull__(pTHX_1); |
| 2536 | #define PERL_ARGS_ASSERT_OOPSAV \ |
| 2537 | assert(o) |
| 2538 | |
| 2539 | PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) |
| 2540 | __attribute__warn_unused_result__ |
| 2541 | __attribute__nonnull__(pTHX_1); |
| 2542 | #define PERL_ARGS_ASSERT_OOPSHV \ |
| 2543 | assert(o) |
| 2544 | |
| 2545 | PERL_CALLCONV void Perl_pad_leavemy(pTHX); |
| 2546 | #ifdef DEBUGGING |
| 2547 | PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); |
| 2548 | #endif |
| 2549 | PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); |
| 2550 | #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
| 2551 | STATIC void S_pad_reset(pTHX); |
| 2552 | #endif |
| 2553 | PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); |
| 2554 | PERL_CALLCONV void Perl_peep(pTHX_ OP* o); |
| 2555 | PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io) |
| 2556 | __attribute__nonnull__(pTHX_1) |
| 2557 | __attribute__nonnull__(pTHX_2); |
| 2558 | #define PERL_ARGS_ASSERT_START_GLOB \ |
| 2559 | assert(tmpglob); assert(io) |
| 2560 | |
| 2561 | #if defined(USE_REENTRANT_API) |
| 2562 | PERL_CALLCONV void Perl_reentrant_size(pTHX); |
| 2563 | PERL_CALLCONV void Perl_reentrant_init(pTHX); |
| 2564 | PERL_CALLCONV void Perl_reentrant_free(pTHX); |
| 2565 | PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...) |
| 2566 | __attribute__nonnull__(1); |
| 2567 | #define PERL_ARGS_ASSERT_REENTRANT_RETRY \ |
| 2568 | assert(f) |
| 2569 | |
| 2570 | #endif |
| 2571 | PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); |
| 2572 | PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) |
| 2573 | __attribute__nonnull__(pTHX_1) |
| 2574 | __attribute__nonnull__(pTHX_3); |
| 2575 | #define PERL_ARGS_ASSERT_CALL_ARGV \ |
| 2576 | assert(sub_name); assert(argv) |
| 2577 | |
| 2578 | PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) |
| 2579 | __attribute__nonnull__(pTHX_1); |
| 2580 | #define PERL_ARGS_ASSERT_CALL_METHOD \ |
| 2581 | assert(methname) |
| 2582 | |
| 2583 | PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) |
| 2584 | __attribute__nonnull__(pTHX_1); |
| 2585 | #define PERL_ARGS_ASSERT_CALL_PV \ |
| 2586 | assert(sub_name) |
| 2587 | |
| 2588 | PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags) |
| 2589 | __attribute__nonnull__(pTHX_1); |
| 2590 | #define PERL_ARGS_ASSERT_CALL_SV \ |
| 2591 | assert(sv) |
| 2592 | |
| 2593 | PERL_CALLCONV void Perl_despatch_signals(pTHX); |
| 2594 | PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref) |
| 2595 | __attribute__nonnull__(pTHX_1); |
| 2596 | #define PERL_ARGS_ASSERT_DOREF \ |
| 2597 | assert(o) |
| 2598 | |
| 2599 | PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) |
| 2600 | __attribute__nonnull__(pTHX_1); |
| 2601 | #define PERL_ARGS_ASSERT_EVAL_PV \ |
| 2602 | assert(p) |
| 2603 | |
| 2604 | PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) |
| 2605 | __attribute__nonnull__(pTHX_1); |
| 2606 | #define PERL_ARGS_ASSERT_EVAL_SV \ |
| 2607 | assert(sv) |
| 2608 | |
| 2609 | PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags) |
| 2610 | __attribute__nonnull__(pTHX_1); |
| 2611 | #define PERL_ARGS_ASSERT_GET_SV \ |
| 2612 | assert(name) |
| 2613 | |
| 2614 | PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags) |
| 2615 | __attribute__nonnull__(pTHX_1); |
| 2616 | #define PERL_ARGS_ASSERT_GET_AV \ |
| 2617 | assert(name) |
| 2618 | |
| 2619 | PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags) |
| 2620 | __attribute__nonnull__(pTHX_1); |
| 2621 | #define PERL_ARGS_ASSERT_GET_HV \ |
| 2622 | assert(name) |
| 2623 | |
| 2624 | PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags) |
| 2625 | __attribute__nonnull__(pTHX_1); |
| 2626 | #define PERL_ARGS_ASSERT_GET_CV \ |
| 2627 | assert(name) |
| 2628 | |
| 2629 | PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags) |
| 2630 | __attribute__nonnull__(pTHX_1); |
| 2631 | #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \ |
| 2632 | assert(name) |
| 2633 | |
| 2634 | PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); |
| 2635 | PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); |
| 2636 | PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll); |
| 2637 | PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype) |
| 2638 | __attribute__nonnull__(pTHX_1); |
| 2639 | #define PERL_ARGS_ASSERT_NEW_CTYPE \ |
| 2640 | assert(newctype) |
| 2641 | |
| 2642 | PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll); |
| 2643 | PERL_CALLCONV void Perl_set_numeric_local(pTHX); |
| 2644 | PERL_CALLCONV void Perl_set_numeric_radix(pTHX); |
| 2645 | PERL_CALLCONV void Perl_set_numeric_standard(pTHX); |
| 2646 | PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) |
| 2647 | __attribute__nonnull__(pTHX_1); |
| 2648 | #define PERL_ARGS_ASSERT_REQUIRE_PV \ |
| 2649 | assert(pv) |
| 2650 | |
| 2651 | 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) |
| 2652 | __attribute__nonnull__(pTHX_1) |
| 2653 | __attribute__nonnull__(pTHX_2) |
| 2654 | __attribute__nonnull__(pTHX_3) |
| 2655 | __attribute__nonnull__(pTHX_4) |
| 2656 | __attribute__nonnull__(pTHX_5) |
| 2657 | __attribute__nonnull__(pTHX_6); |
| 2658 | #define PERL_ARGS_ASSERT_PACK_CAT \ |
| 2659 | assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list) |
| 2660 | |
| 2661 | PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist) |
| 2662 | __attribute__nonnull__(pTHX_1) |
| 2663 | __attribute__nonnull__(pTHX_2) |
| 2664 | __attribute__nonnull__(pTHX_3) |
| 2665 | __attribute__nonnull__(pTHX_4) |
| 2666 | __attribute__nonnull__(pTHX_5); |
| 2667 | #define PERL_ARGS_ASSERT_PACKLIST \ |
| 2668 | assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist) |
| 2669 | |
| 2670 | #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C) |
| 2671 | STATIC void S_pidgone(pTHX_ Pid_t pid, int status); |
| 2672 | #endif |
| 2673 | PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg) |
| 2674 | __attribute__nonnull__(pTHX_1) |
| 2675 | __attribute__nonnull__(pTHX_2); |
| 2676 | #define PERL_ARGS_ASSERT_PMRUNTIME \ |
| 2677 | assert(o); assert(expr) |
| 2678 | |
| 2679 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 2680 | STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) |
| 2681 | __attribute__nonnull__(pTHX_1) |
| 2682 | __attribute__nonnull__(pTHX_2) |
| 2683 | __attribute__nonnull__(pTHX_3); |
| 2684 | #define PERL_ARGS_ASSERT_PMTRANS \ |
| 2685 | assert(o); assert(expr); assert(repl) |
| 2686 | |
| 2687 | #endif |
| 2688 | PERL_CALLCONV void Perl_pop_scope(pTHX); |
| 2689 | PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail); |
| 2690 | PERL_CALLCONV void Perl_push_scope(pTHX); |
| 2691 | /* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */ |
| 2692 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 2693 | STATIC OP* S_refkids(pTHX_ OP* o, I32 type); |
| 2694 | #endif |
| 2695 | PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r) |
| 2696 | __attribute__nonnull__(pTHX_1); |
| 2697 | #define PERL_ARGS_ASSERT_REGDUMP \ |
| 2698 | assert(r) |
| 2699 | |
| 2700 | PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r) |
| 2701 | __attribute__nonnull__(pTHX_1); |
| 2702 | #define PERL_ARGS_ASSERT_REGDUMP \ |
| 2703 | assert(r) |
| 2704 | |
| 2705 | PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp) |
| 2706 | __attribute__nonnull__(pTHX_2); |
| 2707 | #define PERL_ARGS_ASSERT_REGCLASS_SWASH \ |
| 2708 | assert(node) |
| 2709 | |
| 2710 | PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave) |
| 2711 | __attribute__nonnull__(pTHX_1) |
| 2712 | __attribute__nonnull__(pTHX_2) |
| 2713 | __attribute__nonnull__(pTHX_3) |
| 2714 | __attribute__nonnull__(pTHX_4) |
| 2715 | __attribute__nonnull__(pTHX_6); |
| 2716 | #define PERL_ARGS_ASSERT_PREGEXEC \ |
| 2717 | assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer) |
| 2718 | |
| 2719 | PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r); |
| 2720 | PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx) |
| 2721 | __attribute__nonnull__(pTHX_1); |
| 2722 | #define PERL_ARGS_ASSERT_PREGFREE2 \ |
| 2723 | assert(rx) |
| 2724 | |
| 2725 | PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx) |
| 2726 | __attribute__nonnull__(pTHX_2); |
| 2727 | #define PERL_ARGS_ASSERT_REG_TEMP_COPY \ |
| 2728 | assert(rx) |
| 2729 | |
| 2730 | PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx) |
| 2731 | __attribute__nonnull__(pTHX_1); |
| 2732 | #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \ |
| 2733 | assert(rx) |
| 2734 | |
| 2735 | #if defined(USE_ITHREADS) |
| 2736 | PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param) |
| 2737 | __attribute__nonnull__(pTHX_1) |
| 2738 | __attribute__nonnull__(pTHX_2); |
| 2739 | #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \ |
| 2740 | assert(r); assert(param) |
| 2741 | |
| 2742 | #endif |
| 2743 | PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags) |
| 2744 | __attribute__nonnull__(pTHX_1); |
| 2745 | #define PERL_ARGS_ASSERT_PREGCOMP \ |
| 2746 | assert(pattern) |
| 2747 | |
| 2748 | PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 flags) |
| 2749 | __attribute__nonnull__(pTHX_1); |
| 2750 | #define PERL_ARGS_ASSERT_RE_COMPILE \ |
| 2751 | assert(pattern) |
| 2752 | |
| 2753 | PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data) |
| 2754 | __attribute__nonnull__(pTHX_1) |
| 2755 | __attribute__nonnull__(pTHX_3) |
| 2756 | __attribute__nonnull__(pTHX_4); |
| 2757 | #define PERL_ARGS_ASSERT_RE_INTUIT_START \ |
| 2758 | assert(rx); assert(strpos); assert(strend) |
| 2759 | |
| 2760 | PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r) |
| 2761 | __attribute__nonnull__(pTHX_1); |
| 2762 | #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \ |
| 2763 | assert(r) |
| 2764 | |
| 2765 | PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags) |
| 2766 | __attribute__nonnull__(pTHX_1) |
| 2767 | __attribute__nonnull__(pTHX_2) |
| 2768 | __attribute__nonnull__(pTHX_3) |
| 2769 | __attribute__nonnull__(pTHX_4) |
| 2770 | __attribute__nonnull__(pTHX_6); |
| 2771 | #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \ |
| 2772 | assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv) |
| 2773 | |
| 2774 | PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) |
| 2775 | __attribute__warn_unused_result__; |
| 2776 | |
| 2777 | |
| 2778 | PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags) |
| 2779 | __attribute__nonnull__(pTHX_1); |
| 2780 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \ |
| 2781 | assert(rx) |
| 2782 | |
| 2783 | PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags) |
| 2784 | __attribute__nonnull__(pTHX_1); |
| 2785 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \ |
| 2786 | assert(rx) |
| 2787 | |
| 2788 | PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags) |
| 2789 | __attribute__nonnull__(pTHX_1) |
| 2790 | __attribute__nonnull__(pTHX_2); |
| 2791 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \ |
| 2792 | assert(rx); assert(namesv) |
| 2793 | |
| 2794 | PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags) |
| 2795 | __attribute__nonnull__(pTHX_1) |
| 2796 | __attribute__nonnull__(pTHX_2); |
| 2797 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \ |
| 2798 | assert(rx); assert(key) |
| 2799 | |
| 2800 | PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags) |
| 2801 | __attribute__nonnull__(pTHX_1); |
| 2802 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \ |
| 2803 | assert(rx) |
| 2804 | |
| 2805 | PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags) |
| 2806 | __attribute__nonnull__(pTHX_1); |
| 2807 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \ |
| 2808 | assert(rx) |
| 2809 | |
| 2810 | PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags) |
| 2811 | __attribute__nonnull__(pTHX_1); |
| 2812 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \ |
| 2813 | assert(rx) |
| 2814 | |
| 2815 | PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags) |
| 2816 | __attribute__nonnull__(pTHX_1); |
| 2817 | #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \ |
| 2818 | assert(rx) |
| 2819 | |
| 2820 | |
| 2821 | PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv) |
| 2822 | __attribute__nonnull__(pTHX_1); |
| 2823 | #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \ |
| 2824 | assert(rx) |
| 2825 | |
| 2826 | PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value) |
| 2827 | __attribute__nonnull__(pTHX_1); |
| 2828 | #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \ |
| 2829 | assert(rx) |
| 2830 | |
| 2831 | PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren) |
| 2832 | __attribute__nonnull__(pTHX_1) |
| 2833 | __attribute__nonnull__(pTHX_2); |
| 2834 | #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \ |
| 2835 | assert(rx); assert(sv) |
| 2836 | |
| 2837 | |
| 2838 | PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx) |
| 2839 | __attribute__nonnull__(pTHX_1); |
| 2840 | #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \ |
| 2841 | assert(rx) |
| 2842 | |
| 2843 | |
| 2844 | PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o) |
| 2845 | __attribute__nonnull__(pTHX_2) |
| 2846 | __attribute__nonnull__(pTHX_3); |
| 2847 | #define PERL_ARGS_ASSERT_REGPROP \ |
| 2848 | assert(sv); assert(o) |
| 2849 | |
| 2850 | PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, I32 count) |
| 2851 | __attribute__nonnull__(1) |
| 2852 | __attribute__nonnull__(2); |
| 2853 | #define PERL_ARGS_ASSERT_REPEATCPY \ |
| 2854 | assert(to); assert(from) |
| 2855 | |
| 2856 | PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend) |
| 2857 | __attribute__pure__ |
| 2858 | __attribute__nonnull__(1) |
| 2859 | __attribute__nonnull__(2) |
| 2860 | __attribute__nonnull__(3) |
| 2861 | __attribute__nonnull__(4); |
| 2862 | #define PERL_ARGS_ASSERT_RNINSTR \ |
| 2863 | assert(big); assert(bigend); assert(little); assert(lend) |
| 2864 | |
| 2865 | PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); |
| 2866 | PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); |
| 2867 | PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save) |
| 2868 | __attribute__nonnull__(pTHX_3); |
| 2869 | #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \ |
| 2870 | assert(save) |
| 2871 | |
| 2872 | PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); |
| 2873 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
| 2874 | STATIC void S_rxres_free(pTHX_ void** rsp) |
| 2875 | __attribute__nonnull__(pTHX_1); |
| 2876 | #define PERL_ARGS_ASSERT_RXRES_FREE \ |
| 2877 | assert(rsp) |
| 2878 | |
| 2879 | STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx) |
| 2880 | __attribute__nonnull__(pTHX_1) |
| 2881 | __attribute__nonnull__(pTHX_2); |
| 2882 | #define PERL_ARGS_ASSERT_RXRES_RESTORE \ |
| 2883 | assert(rsp); assert(rx) |
| 2884 | |
| 2885 | #endif |
| 2886 | PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx) |
| 2887 | __attribute__nonnull__(pTHX_1) |
| 2888 | __attribute__nonnull__(pTHX_2); |
| 2889 | #define PERL_ARGS_ASSERT_RXRES_SAVE \ |
| 2890 | assert(rsp); assert(rx) |
| 2891 | |
| 2892 | #if !defined(HAS_RENAME) |
| 2893 | PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) |
| 2894 | __attribute__nonnull__(pTHX_1) |
| 2895 | __attribute__nonnull__(pTHX_2); |
| 2896 | #define PERL_ARGS_ASSERT_SAME_DIRENT \ |
| 2897 | assert(a); assert(b) |
| 2898 | |
| 2899 | #endif |
| 2900 | PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) |
| 2901 | __attribute__malloc__ |
| 2902 | __attribute__warn_unused_result__; |
| 2903 | |
| 2904 | PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) |
| 2905 | __attribute__malloc__ |
| 2906 | __attribute__warn_unused_result__; |
| 2907 | |
| 2908 | PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) |
| 2909 | __attribute__malloc__ |
| 2910 | __attribute__warn_unused_result__; |
| 2911 | |
| 2912 | PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len) |
| 2913 | __attribute__malloc__ |
| 2914 | __attribute__warn_unused_result__ |
| 2915 | __attribute__nonnull__(pTHX_1); |
| 2916 | #define PERL_ARGS_ASSERT_SAVESHAREDPVN \ |
| 2917 | assert(pv) |
| 2918 | |
| 2919 | PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) |
| 2920 | __attribute__malloc__ |
| 2921 | __attribute__warn_unused_result__ |
| 2922 | __attribute__nonnull__(pTHX_1); |
| 2923 | #define PERL_ARGS_ASSERT_SAVESVPV \ |
| 2924 | assert(sv) |
| 2925 | |
| 2926 | PERL_CALLCONV void Perl_savestack_grow(pTHX); |
| 2927 | PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); |
| 2928 | /* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr) |
| 2929 | __attribute__nonnull__(pTHX_1) |
| 2930 | __attribute__nonnull__(pTHX_3); */ |
| 2931 | |
| 2932 | PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags) |
| 2933 | __attribute__nonnull__(pTHX_1) |
| 2934 | __attribute__nonnull__(pTHX_3); |
| 2935 | #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \ |
| 2936 | assert(av); assert(sptr) |
| 2937 | |
| 2938 | PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); |
| 2939 | PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr) |
| 2940 | __attribute__nonnull__(pTHX_1); |
| 2941 | #define PERL_ARGS_ASSERT_SAVE_APTR \ |
| 2942 | assert(aptr) |
| 2943 | |
| 2944 | PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv) |
| 2945 | __attribute__nonnull__(pTHX_1); |
| 2946 | #define PERL_ARGS_ASSERT_SAVE_ARY \ |
| 2947 | assert(gv) |
| 2948 | |
| 2949 | PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp) |
| 2950 | __attribute__nonnull__(pTHX_1); |
| 2951 | #define PERL_ARGS_ASSERT_SAVE_BOOL \ |
| 2952 | assert(boolp) |
| 2953 | |
| 2954 | PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp) |
| 2955 | __attribute__nonnull__(pTHX_1); |
| 2956 | #define PERL_ARGS_ASSERT_SAVE_CLEARSV \ |
| 2957 | assert(svp) |
| 2958 | |
| 2959 | PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen) |
| 2960 | __attribute__nonnull__(pTHX_1) |
| 2961 | __attribute__nonnull__(pTHX_2); |
| 2962 | #define PERL_ARGS_ASSERT_SAVE_DELETE \ |
| 2963 | assert(hv); assert(key) |
| 2964 | |
| 2965 | PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv) |
| 2966 | __attribute__nonnull__(pTHX_1) |
| 2967 | __attribute__nonnull__(pTHX_2); |
| 2968 | #define PERL_ARGS_ASSERT_SAVE_HDELETE \ |
| 2969 | assert(hv); assert(keysv) |
| 2970 | |
| 2971 | PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, I32 key) |
| 2972 | __attribute__nonnull__(pTHX_1); |
| 2973 | #define PERL_ARGS_ASSERT_SAVE_ADELETE \ |
| 2974 | assert(av) |
| 2975 | |
| 2976 | PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p) |
| 2977 | __attribute__nonnull__(pTHX_2); |
| 2978 | #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \ |
| 2979 | assert(p) |
| 2980 | |
| 2981 | PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); |
| 2982 | /* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */ |
| 2983 | /* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */ |
| 2984 | /* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */ |
| 2985 | PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr) |
| 2986 | __attribute__nonnull__(pTHX_1); |
| 2987 | #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \ |
| 2988 | assert(sptr) |
| 2989 | |
| 2990 | PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str) |
| 2991 | __attribute__nonnull__(pTHX_1); |
| 2992 | #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \ |
| 2993 | assert(str) |
| 2994 | |
| 2995 | PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str) |
| 2996 | __attribute__nonnull__(pTHX_1); |
| 2997 | #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \ |
| 2998 | assert(str) |
| 2999 | |
| 3000 | PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty) |
| 3001 | __attribute__nonnull__(pTHX_1); |
| 3002 | #define PERL_ARGS_ASSERT_SAVE_GP \ |
| 3003 | assert(gv) |
| 3004 | |
| 3005 | PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv) |
| 3006 | __attribute__nonnull__(pTHX_1); |
| 3007 | #define PERL_ARGS_ASSERT_SAVE_HASH \ |
| 3008 | assert(gv) |
| 3009 | |
| 3010 | PERL_CALLCONV void Perl_save_hints(pTHX); |
| 3011 | /* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr) |
| 3012 | __attribute__nonnull__(pTHX_1) |
| 3013 | __attribute__nonnull__(pTHX_2) |
| 3014 | __attribute__nonnull__(pTHX_3); */ |
| 3015 | |
| 3016 | PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags) |
| 3017 | __attribute__nonnull__(pTHX_1) |
| 3018 | __attribute__nonnull__(pTHX_2) |
| 3019 | __attribute__nonnull__(pTHX_3); |
| 3020 | #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \ |
| 3021 | assert(hv); assert(key); assert(sptr) |
| 3022 | |
| 3023 | PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr) |
| 3024 | __attribute__nonnull__(pTHX_1); |
| 3025 | #define PERL_ARGS_ASSERT_SAVE_HPTR \ |
| 3026 | assert(hptr) |
| 3027 | |
| 3028 | PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp) |
| 3029 | __attribute__nonnull__(pTHX_1); |
| 3030 | #define PERL_ARGS_ASSERT_SAVE_I16 \ |
| 3031 | assert(intp) |
| 3032 | |
| 3033 | PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp) |
| 3034 | __attribute__nonnull__(pTHX_1); |
| 3035 | #define PERL_ARGS_ASSERT_SAVE_I32 \ |
| 3036 | assert(intp) |
| 3037 | |
| 3038 | PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep) |
| 3039 | __attribute__nonnull__(pTHX_1); |
| 3040 | #define PERL_ARGS_ASSERT_SAVE_I8 \ |
| 3041 | assert(bytep) |
| 3042 | |
| 3043 | PERL_CALLCONV void Perl_save_int(pTHX_ int* intp) |
| 3044 | __attribute__nonnull__(pTHX_1); |
| 3045 | #define PERL_ARGS_ASSERT_SAVE_INT \ |
| 3046 | assert(intp) |
| 3047 | |
| 3048 | PERL_CALLCONV void Perl_save_item(pTHX_ SV* item) |
| 3049 | __attribute__nonnull__(pTHX_1); |
| 3050 | #define PERL_ARGS_ASSERT_SAVE_ITEM \ |
| 3051 | assert(item) |
| 3052 | |
| 3053 | PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp) |
| 3054 | __attribute__nonnull__(pTHX_1); |
| 3055 | #define PERL_ARGS_ASSERT_SAVE_IV \ |
| 3056 | assert(ivp) |
| 3057 | |
| 3058 | PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg) |
| 3059 | __attribute__nonnull__(pTHX_1); |
| 3060 | #define PERL_ARGS_ASSERT_SAVE_LIST \ |
| 3061 | assert(sarg) |
| 3062 | |
| 3063 | PERL_CALLCONV void Perl_save_long(pTHX_ long* longp) |
| 3064 | __attribute__nonnull__(pTHX_1); |
| 3065 | #define PERL_ARGS_ASSERT_SAVE_LONG \ |
| 3066 | assert(longp) |
| 3067 | |
| 3068 | /* PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv) |
| 3069 | __attribute__nonnull__(pTHX_1); */ |
| 3070 | #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \ |
| 3071 | assert(sv) |
| 3072 | |
| 3073 | PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv) |
| 3074 | __attribute__nonnull__(pTHX_1); |
| 3075 | #define PERL_ARGS_ASSERT_SAVE_NOGV \ |
| 3076 | assert(gv) |
| 3077 | |
| 3078 | /* PERL_CALLCONV void Perl_save_op(pTHX); */ |
| 3079 | PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv) |
| 3080 | __attribute__nonnull__(pTHX_1); |
| 3081 | #define PERL_ARGS_ASSERT_SAVE_SCALAR \ |
| 3082 | assert(gv) |
| 3083 | |
| 3084 | PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr) |
| 3085 | __attribute__nonnull__(pTHX_1); |
| 3086 | #define PERL_ARGS_ASSERT_SAVE_PPTR \ |
| 3087 | assert(pptr) |
| 3088 | |
| 3089 | PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr) |
| 3090 | __attribute__nonnull__(pTHX_1); |
| 3091 | #define PERL_ARGS_ASSERT_SAVE_VPTR \ |
| 3092 | assert(ptr) |
| 3093 | |
| 3094 | PERL_CALLCONV void Perl_save_re_context(pTHX); |
| 3095 | PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off); |
| 3096 | PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr) |
| 3097 | __attribute__nonnull__(pTHX_1); |
| 3098 | #define PERL_ARGS_ASSERT_SAVE_SPTR \ |
| 3099 | assert(sptr) |
| 3100 | |
| 3101 | PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr) |
| 3102 | __attribute__nonnull__(pTHX_1); |
| 3103 | #define PERL_ARGS_ASSERT_SAVE_SVREF \ |
| 3104 | assert(sptr) |
| 3105 | |
| 3106 | PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type); |
| 3107 | PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type); |
| 3108 | PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type); |
| 3109 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
| 3110 | STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type); |
| 3111 | #endif |
| 3112 | PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); |
| 3113 | PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); |
| 3114 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 3115 | STATIC OP* S_scalarkids(pTHX_ OP* o); |
| 3116 | STATIC OP* S_scalarseq(pTHX_ OP* o); |
| 3117 | #endif |
| 3118 | PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o) |
| 3119 | __attribute__nonnull__(pTHX_1); |
| 3120 | #define PERL_ARGS_ASSERT_SCALARVOID \ |
| 3121 | assert(o) |
| 3122 | |
| 3123 | PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen) |
| 3124 | __attribute__nonnull__(pTHX_1) |
| 3125 | __attribute__nonnull__(pTHX_3); |
| 3126 | #define PERL_ARGS_ASSERT_SCAN_BIN \ |
| 3127 | assert(start); assert(retlen) |
| 3128 | |
| 3129 | PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen) |
| 3130 | __attribute__nonnull__(pTHX_1) |
| 3131 | __attribute__nonnull__(pTHX_3); |
| 3132 | #define PERL_ARGS_ASSERT_SCAN_HEX \ |
| 3133 | assert(start); assert(retlen) |
| 3134 | |
| 3135 | PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp) |
| 3136 | __attribute__nonnull__(pTHX_1) |
| 3137 | __attribute__nonnull__(pTHX_2); |
| 3138 | #define PERL_ARGS_ASSERT_SCAN_NUM \ |
| 3139 | assert(s); assert(lvalp) |
| 3140 | |
| 3141 | PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen) |
| 3142 | __attribute__nonnull__(pTHX_1) |
| 3143 | __attribute__nonnull__(pTHX_3); |
| 3144 | #define PERL_ARGS_ASSERT_SCAN_OCT \ |
| 3145 | assert(start); assert(retlen) |
| 3146 | |
| 3147 | PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o); |
| 3148 | PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last) |
| 3149 | __attribute__nonnull__(pTHX_1) |
| 3150 | __attribute__nonnull__(pTHX_2) |
| 3151 | __attribute__nonnull__(pTHX_5); |
| 3152 | #define PERL_ARGS_ASSERT_SCREAMINSTR \ |
| 3153 | assert(bigstr); assert(littlestr); assert(old_posp) |
| 3154 | |
| 3155 | PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv); |
| 3156 | PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash) |
| 3157 | __attribute__nonnull__(pTHX_1); |
| 3158 | #define PERL_ARGS_ASSERT_SHARE_HEK \ |
| 3159 | assert(str) |
| 3160 | |
| 3161 | #if defined(HAS_SIGACTION) && defined(SA_SIGINFO) |
| 3162 | PERL_CALLCONV Signal_t Perl_sighandler(int sig, siginfo_t *info, void *uap); |
| 3163 | PERL_CALLCONV Signal_t Perl_csighandler(int sig, siginfo_t *info, void *uap); |
| 3164 | #else |
| 3165 | PERL_CALLCONV Signal_t Perl_sighandler(int sig); |
| 3166 | PERL_CALLCONV Signal_t Perl_csighandler(int sig); |
| 3167 | #endif |
| 3168 | PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n) |
| 3169 | __attribute__nonnull__(pTHX_1) |
| 3170 | __attribute__nonnull__(pTHX_2); |
| 3171 | #define PERL_ARGS_ASSERT_STACK_GROW \ |
| 3172 | assert(sp); assert(p) |
| 3173 | |
| 3174 | PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags); |
| 3175 | PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv) |
| 3176 | __attribute__nonnull__(pTHX_1); |
| 3177 | #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \ |
| 3178 | assert(cv) |
| 3179 | |
| 3180 | PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv) |
| 3181 | __attribute__nonnull__(pTHX_1); |
| 3182 | #define PERL_ARGS_ASSERT_SV_2BOOL \ |
| 3183 | assert(sv) |
| 3184 | |
| 3185 | PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref) |
| 3186 | __attribute__nonnull__(pTHX_2) |
| 3187 | __attribute__nonnull__(pTHX_3); |
| 3188 | #define PERL_ARGS_ASSERT_SV_2CV \ |
| 3189 | assert(st); assert(gvp) |
| 3190 | |
| 3191 | PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv) |
| 3192 | __attribute__nonnull__(pTHX_1); |
| 3193 | #define PERL_ARGS_ASSERT_SV_2IO \ |
| 3194 | assert(sv) |
| 3195 | |
| 3196 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 3197 | STATIC bool S_glob_2number(pTHX_ GV* const gv) |
| 3198 | __attribute__nonnull__(pTHX_1); |
| 3199 | #define PERL_ARGS_ASSERT_GLOB_2NUMBER \ |
| 3200 | assert(gv) |
| 3201 | |
| 3202 | #endif |
| 3203 | /* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv); */ |
| 3204 | PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags); |
| 3205 | PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv); |
| 3206 | PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags); |
| 3207 | PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv) |
| 3208 | __attribute__nonnull__(pTHX_1); |
| 3209 | #define PERL_ARGS_ASSERT_SV_2NUM \ |
| 3210 | assert(sv) |
| 3211 | |
| 3212 | /* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */ |
| 3213 | PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); |
| 3214 | PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp) |
| 3215 | __attribute__nonnull__(pTHX_1); |
| 3216 | #define PERL_ARGS_ASSERT_SV_2PVUTF8 \ |
| 3217 | assert(sv) |
| 3218 | |
| 3219 | PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp) |
| 3220 | __attribute__nonnull__(pTHX_1); |
| 3221 | #define PERL_ARGS_ASSERT_SV_2PVBYTE \ |
| 3222 | assert(sv) |
| 3223 | |
| 3224 | PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) |
| 3225 | __attribute__nonnull__(pTHX_1); |
| 3226 | #define PERL_ARGS_ASSERT_SV_PVN_NOMG \ |
| 3227 | assert(sv) |
| 3228 | |
| 3229 | /* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv); */ |
| 3230 | PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags); |
| 3231 | PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) |
| 3232 | __attribute__nonnull__(pTHX_1); |
| 3233 | #define PERL_ARGS_ASSERT_SV_IV \ |
| 3234 | assert(sv) |
| 3235 | |
| 3236 | PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) |
| 3237 | __attribute__nonnull__(pTHX_1); |
| 3238 | #define PERL_ARGS_ASSERT_SV_UV \ |
| 3239 | assert(sv) |
| 3240 | |
| 3241 | PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) |
| 3242 | __attribute__nonnull__(pTHX_1); |
| 3243 | #define PERL_ARGS_ASSERT_SV_NV \ |
| 3244 | assert(sv) |
| 3245 | |
| 3246 | PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp) |
| 3247 | __attribute__nonnull__(pTHX_1) |
| 3248 | __attribute__nonnull__(pTHX_2); |
| 3249 | #define PERL_ARGS_ASSERT_SV_PVN \ |
| 3250 | assert(sv); assert(lp) |
| 3251 | |
| 3252 | PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp) |
| 3253 | __attribute__nonnull__(pTHX_1) |
| 3254 | __attribute__nonnull__(pTHX_2); |
| 3255 | #define PERL_ARGS_ASSERT_SV_PVUTF8N \ |
| 3256 | assert(sv); assert(lp) |
| 3257 | |
| 3258 | PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp) |
| 3259 | __attribute__nonnull__(pTHX_1) |
| 3260 | __attribute__nonnull__(pTHX_2); |
| 3261 | #define PERL_ARGS_ASSERT_SV_PVBYTEN \ |
| 3262 | assert(sv); assert(lp) |
| 3263 | |
| 3264 | PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv); |
| 3265 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 3266 | STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags) |
| 3267 | __attribute__nonnull__(pTHX_1); |
| 3268 | #define PERL_ARGS_ASSERT_SV_ADD_ARENA \ |
| 3269 | assert(ptr) |
| 3270 | |
| 3271 | #endif |
| 3272 | PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV *const sv) |
| 3273 | __attribute__nonnull__(pTHX_1); |
| 3274 | #define PERL_ARGS_ASSERT_SV_BACKOFF \ |
| 3275 | assert(sv) |
| 3276 | |
| 3277 | PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash) |
| 3278 | __attribute__nonnull__(pTHX_1) |
| 3279 | __attribute__nonnull__(pTHX_2); |
| 3280 | #define PERL_ARGS_ASSERT_SV_BLESS \ |
| 3281 | assert(sv); assert(stash) |
| 3282 | |
| 3283 | PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...) |
| 3284 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3285 | __attribute__nonnull__(pTHX_1) |
| 3286 | __attribute__nonnull__(pTHX_2); |
| 3287 | #define PERL_ARGS_ASSERT_SV_CATPVF \ |
| 3288 | assert(sv); assert(pat) |
| 3289 | |
| 3290 | PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args) |
| 3291 | __attribute__nonnull__(pTHX_1) |
| 3292 | __attribute__nonnull__(pTHX_2); |
| 3293 | #define PERL_ARGS_ASSERT_SV_VCATPVF \ |
| 3294 | assert(sv); assert(pat) |
| 3295 | |
| 3296 | PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr) |
| 3297 | __attribute__nonnull__(pTHX_1); |
| 3298 | #define PERL_ARGS_ASSERT_SV_CATPV \ |
| 3299 | assert(sv) |
| 3300 | |
| 3301 | /* PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len) |
| 3302 | __attribute__nonnull__(pTHX_1) |
| 3303 | __attribute__nonnull__(pTHX_2); */ |
| 3304 | #define PERL_ARGS_ASSERT_SV_CATPVN \ |
| 3305 | assert(dsv); assert(sstr) |
| 3306 | |
| 3307 | /* PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr) |
| 3308 | __attribute__nonnull__(pTHX_1); */ |
| 3309 | #define PERL_ARGS_ASSERT_SV_CATSV \ |
| 3310 | assert(dstr) |
| 3311 | |
| 3312 | PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr) |
| 3313 | __attribute__nonnull__(pTHX_1); |
| 3314 | #define PERL_ARGS_ASSERT_SV_CHOP \ |
| 3315 | assert(sv) |
| 3316 | |
| 3317 | PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); |
| 3318 | PERL_CALLCONV void Perl_sv_clean_objs(pTHX); |
| 3319 | PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const sv) |
| 3320 | __attribute__nonnull__(pTHX_1); |
| 3321 | #define PERL_ARGS_ASSERT_SV_CLEAR \ |
| 3322 | assert(sv) |
| 3323 | |
| 3324 | PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2); |
| 3325 | PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2); |
| 3326 | #if defined(USE_LOCALE_COLLATE) |
| 3327 | PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp) |
| 3328 | __attribute__nonnull__(pTHX_1) |
| 3329 | __attribute__nonnull__(pTHX_2); |
| 3330 | #define PERL_ARGS_ASSERT_SV_COLLXFRM \ |
| 3331 | assert(sv); assert(nxp) |
| 3332 | |
| 3333 | #endif |
| 3334 | PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp) |
| 3335 | __attribute__nonnull__(pTHX_1) |
| 3336 | __attribute__nonnull__(pTHX_2) |
| 3337 | __attribute__nonnull__(pTHX_3) |
| 3338 | __attribute__nonnull__(pTHX_4); |
| 3339 | #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \ |
| 3340 | assert(sv); assert(startop); assert(code); assert(padp) |
| 3341 | |
| 3342 | PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) |
| 3343 | __attribute__nonnull__(pTHX_1); |
| 3344 | #define PERL_ARGS_ASSERT_GETCWD_SV \ |
| 3345 | assert(sv) |
| 3346 | |
| 3347 | PERL_CALLCONV void Perl_sv_dec(pTHX_ SV *const sv); |
| 3348 | PERL_CALLCONV void Perl_sv_dec_nomg(pTHX_ SV *const sv); |
| 3349 | PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) |
| 3350 | __attribute__nonnull__(pTHX_1); |
| 3351 | #define PERL_ARGS_ASSERT_SV_DUMP \ |
| 3352 | assert(sv) |
| 3353 | |
| 3354 | PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char *const name) |
| 3355 | __attribute__warn_unused_result__ |
| 3356 | __attribute__nonnull__(pTHX_1) |
| 3357 | __attribute__nonnull__(pTHX_2); |
| 3358 | #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \ |
| 3359 | assert(sv); assert(name) |
| 3360 | |
| 3361 | PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char *const name) |
| 3362 | __attribute__warn_unused_result__ |
| 3363 | __attribute__nonnull__(pTHX_1) |
| 3364 | __attribute__nonnull__(pTHX_2); |
| 3365 | #define PERL_ARGS_ASSERT_SV_DOES \ |
| 3366 | assert(sv); assert(name) |
| 3367 | |
| 3368 | PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2); |
| 3369 | PERL_CALLCONV void Perl_sv_free(pTHX_ SV *const sv); |
| 3370 | PERL_CALLCONV void Perl_sv_free2(pTHX_ SV *const sv) |
| 3371 | __attribute__nonnull__(pTHX_1); |
| 3372 | #define PERL_ARGS_ASSERT_SV_FREE2 \ |
| 3373 | assert(sv) |
| 3374 | |
| 3375 | PERL_CALLCONV void Perl_sv_free_arenas(pTHX); |
| 3376 | PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append) |
| 3377 | __attribute__nonnull__(pTHX_1) |
| 3378 | __attribute__nonnull__(pTHX_2); |
| 3379 | #define PERL_ARGS_ASSERT_SV_GETS \ |
| 3380 | assert(sv); assert(fp) |
| 3381 | |
| 3382 | PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen) |
| 3383 | __attribute__nonnull__(pTHX_1); |
| 3384 | #define PERL_ARGS_ASSERT_SV_GROW \ |
| 3385 | assert(sv) |
| 3386 | |
| 3387 | PERL_CALLCONV void Perl_sv_inc(pTHX_ SV *const sv); |
| 3388 | PERL_CALLCONV void Perl_sv_inc_nomg(pTHX_ SV *const sv); |
| 3389 | /* PERL_CALLCONV void Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen) |
| 3390 | __attribute__nonnull__(pTHX_1) |
| 3391 | __attribute__nonnull__(pTHX_4); */ |
| 3392 | #define PERL_ARGS_ASSERT_SV_INSERT \ |
| 3393 | assert(bigstr); assert(little) |
| 3394 | |
| 3395 | PERL_CALLCONV void Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags) |
| 3396 | __attribute__nonnull__(pTHX_1) |
| 3397 | __attribute__nonnull__(pTHX_4); |
| 3398 | #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \ |
| 3399 | assert(bigstr); assert(little) |
| 3400 | |
| 3401 | PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char *const name) |
| 3402 | __attribute__nonnull__(pTHX_2); |
| 3403 | #define PERL_ARGS_ASSERT_SV_ISA \ |
| 3404 | assert(name) |
| 3405 | |
| 3406 | PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv); |
| 3407 | PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV *const sv); |
| 3408 | PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV *const sv); |
| 3409 | PERL_CALLCONV void Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen) |
| 3410 | __attribute__nonnull__(pTHX_1); |
| 3411 | #define PERL_ARGS_ASSERT_SV_MAGIC \ |
| 3412 | assert(sv) |
| 3413 | |
| 3414 | 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) |
| 3415 | __attribute__nonnull__(pTHX_1); |
| 3416 | #define PERL_ARGS_ASSERT_SV_MAGICEXT \ |
| 3417 | assert(sv) |
| 3418 | |
| 3419 | PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV *const oldsv) |
| 3420 | __attribute__malloc__ |
| 3421 | __attribute__warn_unused_result__; |
| 3422 | |
| 3423 | PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) |
| 3424 | __attribute__warn_unused_result__; |
| 3425 | |
| 3426 | PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV *const sv); |
| 3427 | PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); |
| 3428 | PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp) |
| 3429 | __attribute__nonnull__(pTHX_2); |
| 3430 | #define PERL_ARGS_ASSERT_SV_POS_U2B \ |
| 3431 | assert(offsetp) |
| 3432 | |
| 3433 | PERL_CALLCONV STRLEN Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags) |
| 3434 | __attribute__nonnull__(pTHX_1); |
| 3435 | #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \ |
| 3436 | assert(sv) |
| 3437 | |
| 3438 | PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp) |
| 3439 | __attribute__nonnull__(pTHX_2); |
| 3440 | #define PERL_ARGS_ASSERT_SV_POS_B2U \ |
| 3441 | assert(offsetp) |
| 3442 | |
| 3443 | /* PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp) |
| 3444 | __attribute__nonnull__(pTHX_1); */ |
| 3445 | #define PERL_ARGS_ASSERT_SV_PVN_FORCE \ |
| 3446 | assert(sv) |
| 3447 | |
| 3448 | PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp) |
| 3449 | __attribute__nonnull__(pTHX_1); |
| 3450 | #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \ |
| 3451 | assert(sv) |
| 3452 | |
| 3453 | PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp) |
| 3454 | __attribute__nonnull__(pTHX_1); |
| 3455 | #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \ |
| 3456 | assert(sv) |
| 3457 | |
| 3458 | PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding) |
| 3459 | __attribute__nonnull__(pTHX_1) |
| 3460 | __attribute__nonnull__(pTHX_2); |
| 3461 | #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \ |
| 3462 | assert(sv); assert(encoding) |
| 3463 | |
| 3464 | PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen) |
| 3465 | __attribute__nonnull__(pTHX_1) |
| 3466 | __attribute__nonnull__(pTHX_2) |
| 3467 | __attribute__nonnull__(pTHX_3) |
| 3468 | __attribute__nonnull__(pTHX_4) |
| 3469 | __attribute__nonnull__(pTHX_5); |
| 3470 | #define PERL_ARGS_ASSERT_SV_CAT_DECODE \ |
| 3471 | assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr) |
| 3472 | |
| 3473 | PERL_CALLCONV const char* Perl_sv_reftype(pTHX_ const SV *const sv, const int ob) |
| 3474 | __attribute__warn_unused_result__ |
| 3475 | __attribute__nonnull__(pTHX_1); |
| 3476 | #define PERL_ARGS_ASSERT_SV_REFTYPE \ |
| 3477 | assert(sv) |
| 3478 | |
| 3479 | PERL_CALLCONV void Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv) |
| 3480 | __attribute__nonnull__(pTHX_1) |
| 3481 | __attribute__nonnull__(pTHX_2); |
| 3482 | #define PERL_ARGS_ASSERT_SV_REPLACE \ |
| 3483 | assert(sv); assert(nsv) |
| 3484 | |
| 3485 | PERL_CALLCONV void Perl_sv_report_used(pTHX); |
| 3486 | PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV *const stash) |
| 3487 | __attribute__nonnull__(pTHX_1); |
| 3488 | #define PERL_ARGS_ASSERT_SV_RESET \ |
| 3489 | assert(s) |
| 3490 | |
| 3491 | PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...) |
| 3492 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3493 | __attribute__nonnull__(pTHX_1) |
| 3494 | __attribute__nonnull__(pTHX_2); |
| 3495 | #define PERL_ARGS_ASSERT_SV_SETPVF \ |
| 3496 | assert(sv); assert(pat) |
| 3497 | |
| 3498 | PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args) |
| 3499 | __attribute__nonnull__(pTHX_1) |
| 3500 | __attribute__nonnull__(pTHX_2); |
| 3501 | #define PERL_ARGS_ASSERT_SV_VSETPVF \ |
| 3502 | assert(sv); assert(pat) |
| 3503 | |
| 3504 | PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num) |
| 3505 | __attribute__nonnull__(pTHX_1); |
| 3506 | #define PERL_ARGS_ASSERT_SV_SETIV \ |
| 3507 | assert(sv) |
| 3508 | |
| 3509 | PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV *const sv, const IV num) |
| 3510 | __attribute__nonnull__(pTHX_1); |
| 3511 | #define PERL_ARGS_ASSERT_SV_SETPVIV \ |
| 3512 | assert(sv) |
| 3513 | |
| 3514 | PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num) |
| 3515 | __attribute__nonnull__(pTHX_1); |
| 3516 | #define PERL_ARGS_ASSERT_SV_SETUV \ |
| 3517 | assert(sv) |
| 3518 | |
| 3519 | PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV *const sv, const NV num) |
| 3520 | __attribute__nonnull__(pTHX_1); |
| 3521 | #define PERL_ARGS_ASSERT_SV_SETNV \ |
| 3522 | assert(sv) |
| 3523 | |
| 3524 | PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv) |
| 3525 | __attribute__nonnull__(pTHX_1); |
| 3526 | #define PERL_ARGS_ASSERT_SV_SETREF_IV \ |
| 3527 | assert(rv) |
| 3528 | |
| 3529 | PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv) |
| 3530 | __attribute__nonnull__(pTHX_1); |
| 3531 | #define PERL_ARGS_ASSERT_SV_SETREF_UV \ |
| 3532 | assert(rv) |
| 3533 | |
| 3534 | PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv) |
| 3535 | __attribute__nonnull__(pTHX_1); |
| 3536 | #define PERL_ARGS_ASSERT_SV_SETREF_NV \ |
| 3537 | assert(rv) |
| 3538 | |
| 3539 | PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv) |
| 3540 | __attribute__nonnull__(pTHX_1); |
| 3541 | #define PERL_ARGS_ASSERT_SV_SETREF_PV \ |
| 3542 | assert(rv) |
| 3543 | |
| 3544 | PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n) |
| 3545 | __attribute__nonnull__(pTHX_1) |
| 3546 | __attribute__nonnull__(pTHX_3); |
| 3547 | #define PERL_ARGS_ASSERT_SV_SETREF_PVN \ |
| 3548 | assert(rv); assert(pv) |
| 3549 | |
| 3550 | PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr) |
| 3551 | __attribute__nonnull__(pTHX_1); |
| 3552 | #define PERL_ARGS_ASSERT_SV_SETPV \ |
| 3553 | assert(sv) |
| 3554 | |
| 3555 | PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len) |
| 3556 | __attribute__nonnull__(pTHX_1); |
| 3557 | #define PERL_ARGS_ASSERT_SV_SETPVN \ |
| 3558 | assert(sv) |
| 3559 | |
| 3560 | /* PERL_CALLCONV void Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr) |
| 3561 | __attribute__nonnull__(pTHX_1); */ |
| 3562 | #define PERL_ARGS_ASSERT_SV_SETSV \ |
| 3563 | assert(dstr) |
| 3564 | |
| 3565 | /* PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv) |
| 3566 | __attribute__nonnull__(pTHX_1); */ |
| 3567 | #define PERL_ARGS_ASSERT_SV_TAINT \ |
| 3568 | assert(sv) |
| 3569 | |
| 3570 | PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV *const sv) |
| 3571 | __attribute__warn_unused_result__ |
| 3572 | __attribute__nonnull__(pTHX_1); |
| 3573 | #define PERL_ARGS_ASSERT_SV_TAINTED \ |
| 3574 | assert(sv) |
| 3575 | |
| 3576 | PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV *const sv, const int type) |
| 3577 | __attribute__nonnull__(pTHX_1); |
| 3578 | #define PERL_ARGS_ASSERT_SV_UNMAGIC \ |
| 3579 | assert(sv) |
| 3580 | |
| 3581 | /* PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) |
| 3582 | __attribute__nonnull__(pTHX_1); */ |
| 3583 | #define PERL_ARGS_ASSERT_SV_UNREF \ |
| 3584 | assert(sv) |
| 3585 | |
| 3586 | PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags) |
| 3587 | __attribute__nonnull__(pTHX_1); |
| 3588 | #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \ |
| 3589 | assert(ref) |
| 3590 | |
| 3591 | PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV *const sv) |
| 3592 | __attribute__nonnull__(pTHX_1); |
| 3593 | #define PERL_ARGS_ASSERT_SV_UNTAINT \ |
| 3594 | assert(sv) |
| 3595 | |
| 3596 | PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type) |
| 3597 | __attribute__nonnull__(pTHX_1); |
| 3598 | #define PERL_ARGS_ASSERT_SV_UPGRADE \ |
| 3599 | assert(sv) |
| 3600 | |
| 3601 | /* PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) |
| 3602 | __attribute__nonnull__(pTHX_1); */ |
| 3603 | #define PERL_ARGS_ASSERT_SV_USEPVN \ |
| 3604 | assert(sv) |
| 3605 | |
| 3606 | PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags) |
| 3607 | __attribute__nonnull__(pTHX_1); |
| 3608 | #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \ |
| 3609 | assert(sv) |
| 3610 | |
| 3611 | PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted) |
| 3612 | __attribute__nonnull__(pTHX_1) |
| 3613 | __attribute__nonnull__(pTHX_2); |
| 3614 | #define PERL_ARGS_ASSERT_SV_VCATPVFN \ |
| 3615 | assert(sv); assert(pat) |
| 3616 | |
| 3617 | PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted) |
| 3618 | __attribute__nonnull__(pTHX_1) |
| 3619 | __attribute__nonnull__(pTHX_2); |
| 3620 | #define PERL_ARGS_ASSERT_SV_VSETPVFN \ |
| 3621 | assert(sv); assert(pat) |
| 3622 | |
| 3623 | PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv) |
| 3624 | __attribute__warn_unused_result__ |
| 3625 | __attribute__nonnull__(pTHX_1); |
| 3626 | #define PERL_ARGS_ASSERT_STR_TO_VERSION \ |
| 3627 | assert(sv) |
| 3628 | |
| 3629 | PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none) |
| 3630 | __attribute__nonnull__(pTHX_1) |
| 3631 | __attribute__nonnull__(pTHX_2) |
| 3632 | __attribute__nonnull__(pTHX_3); |
| 3633 | #define PERL_ARGS_ASSERT_SWASH_INIT \ |
| 3634 | assert(pkg); assert(name); assert(listsv) |
| 3635 | |
| 3636 | PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8) |
| 3637 | __attribute__nonnull__(pTHX_1) |
| 3638 | __attribute__nonnull__(pTHX_2); |
| 3639 | #define PERL_ARGS_ASSERT_SWASH_FETCH \ |
| 3640 | assert(swash); assert(ptr) |
| 3641 | |
| 3642 | PERL_CALLCONV void Perl_taint_env(pTHX); |
| 3643 | PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char *const s) |
| 3644 | __attribute__nonnull__(pTHX_2); |
| 3645 | #define PERL_ARGS_ASSERT_TAINT_PROPER \ |
| 3646 | assert(s) |
| 3647 | |
| 3648 | PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special) |
| 3649 | __attribute__nonnull__(pTHX_1) |
| 3650 | __attribute__nonnull__(pTHX_2) |
| 3651 | __attribute__nonnull__(pTHX_4) |
| 3652 | __attribute__nonnull__(pTHX_5) |
| 3653 | __attribute__nonnull__(pTHX_6); |
| 3654 | #define PERL_ARGS_ASSERT_TO_UTF8_CASE \ |
| 3655 | assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special) |
| 3656 | |
| 3657 | PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) |
| 3658 | __attribute__nonnull__(pTHX_1) |
| 3659 | __attribute__nonnull__(pTHX_2); |
| 3660 | #define PERL_ARGS_ASSERT_TO_UTF8_LOWER \ |
| 3661 | assert(p); assert(ustrp) |
| 3662 | |
| 3663 | PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) |
| 3664 | __attribute__nonnull__(pTHX_1) |
| 3665 | __attribute__nonnull__(pTHX_2); |
| 3666 | #define PERL_ARGS_ASSERT_TO_UTF8_UPPER \ |
| 3667 | assert(p); assert(ustrp) |
| 3668 | |
| 3669 | PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) |
| 3670 | __attribute__nonnull__(pTHX_1) |
| 3671 | __attribute__nonnull__(pTHX_2); |
| 3672 | #define PERL_ARGS_ASSERT_TO_UTF8_TITLE \ |
| 3673 | assert(p); assert(ustrp) |
| 3674 | |
| 3675 | PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) |
| 3676 | __attribute__nonnull__(pTHX_1) |
| 3677 | __attribute__nonnull__(pTHX_2); |
| 3678 | #define PERL_ARGS_ASSERT_TO_UTF8_FOLD \ |
| 3679 | assert(p); assert(ustrp) |
| 3680 | |
| 3681 | #if defined(UNLINK_ALL_VERSIONS) |
| 3682 | PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f) |
| 3683 | __attribute__nonnull__(pTHX_1); |
| 3684 | #define PERL_ARGS_ASSERT_UNLNK \ |
| 3685 | assert(f) |
| 3686 | |
| 3687 | #endif |
| 3688 | PERL_CALLCONV I32 Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags) |
| 3689 | __attribute__nonnull__(pTHX_1) |
| 3690 | __attribute__nonnull__(pTHX_2) |
| 3691 | __attribute__nonnull__(pTHX_3) |
| 3692 | __attribute__nonnull__(pTHX_5); |
| 3693 | #define PERL_ARGS_ASSERT_UNPACK_STR \ |
| 3694 | assert(pat); assert(patend); assert(s); assert(strend) |
| 3695 | |
| 3696 | PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags) |
| 3697 | __attribute__nonnull__(pTHX_1) |
| 3698 | __attribute__nonnull__(pTHX_2) |
| 3699 | __attribute__nonnull__(pTHX_3) |
| 3700 | __attribute__nonnull__(pTHX_4); |
| 3701 | #define PERL_ARGS_ASSERT_UNPACKSTRING \ |
| 3702 | assert(pat); assert(patend); assert(s); assert(strend) |
| 3703 | |
| 3704 | PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); |
| 3705 | PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); |
| 3706 | #ifdef PERL_MAD |
| 3707 | PERL_CALLCONV OP * Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) |
| 3708 | __attribute__nonnull__(pTHX_4); |
| 3709 | #define PERL_ARGS_ASSERT_UTILIZE \ |
| 3710 | assert(idop) |
| 3711 | |
| 3712 | #else |
| 3713 | PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) |
| 3714 | __attribute__nonnull__(pTHX_4); |
| 3715 | #define PERL_ARGS_ASSERT_UTILIZE \ |
| 3716 | assert(idop) |
| 3717 | |
| 3718 | #endif |
| 3719 | PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) |
| 3720 | __attribute__nonnull__(pTHX_1) |
| 3721 | __attribute__nonnull__(pTHX_2) |
| 3722 | __attribute__nonnull__(pTHX_4); |
| 3723 | #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \ |
| 3724 | assert(p); assert(d); assert(newlen) |
| 3725 | |
| 3726 | PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) |
| 3727 | __attribute__nonnull__(pTHX_1) |
| 3728 | __attribute__nonnull__(pTHX_2) |
| 3729 | __attribute__nonnull__(pTHX_4); |
| 3730 | #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \ |
| 3731 | assert(p); assert(d); assert(newlen) |
| 3732 | |
| 3733 | PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e) |
| 3734 | __attribute__warn_unused_result__ |
| 3735 | __attribute__pure__ |
| 3736 | __attribute__nonnull__(pTHX_1) |
| 3737 | __attribute__nonnull__(pTHX_2); |
| 3738 | #define PERL_ARGS_ASSERT_UTF8_LENGTH \ |
| 3739 | assert(s); assert(e) |
| 3740 | |
| 3741 | PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) |
| 3742 | __attribute__warn_unused_result__ |
| 3743 | __attribute__pure__ |
| 3744 | __attribute__nonnull__(pTHX_1) |
| 3745 | __attribute__nonnull__(pTHX_2); |
| 3746 | #define PERL_ARGS_ASSERT_UTF8_DISTANCE \ |
| 3747 | assert(a); assert(b) |
| 3748 | |
| 3749 | PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ const U8 *s, I32 off) |
| 3750 | __attribute__warn_unused_result__ |
| 3751 | __attribute__pure__ |
| 3752 | __attribute__nonnull__(pTHX_1); |
| 3753 | #define PERL_ARGS_ASSERT_UTF8_HOP \ |
| 3754 | assert(s) |
| 3755 | |
| 3756 | PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) |
| 3757 | __attribute__nonnull__(pTHX_1) |
| 3758 | __attribute__nonnull__(pTHX_2); |
| 3759 | #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \ |
| 3760 | assert(s); assert(len) |
| 3761 | |
| 3762 | PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8) |
| 3763 | __attribute__nonnull__(pTHX_1) |
| 3764 | __attribute__nonnull__(pTHX_2); |
| 3765 | #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \ |
| 3766 | assert(s); assert(len) |
| 3767 | |
| 3768 | PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len) |
| 3769 | __attribute__nonnull__(pTHX_1) |
| 3770 | __attribute__nonnull__(pTHX_2); |
| 3771 | #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \ |
| 3772 | assert(s); assert(len) |
| 3773 | |
| 3774 | PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) |
| 3775 | __attribute__nonnull__(pTHX_1); |
| 3776 | #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \ |
| 3777 | assert(s) |
| 3778 | |
| 3779 | PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) |
| 3780 | __attribute__nonnull__(pTHX_1); |
| 3781 | #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \ |
| 3782 | assert(s) |
| 3783 | |
| 3784 | |
| 3785 | #ifdef EBCDIC |
| 3786 | PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) |
| 3787 | __attribute__nonnull__(pTHX_1); |
| 3788 | #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \ |
| 3789 | assert(s) |
| 3790 | |
| 3791 | #else |
| 3792 | /* PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) |
| 3793 | __attribute__nonnull__(pTHX_1); */ |
| 3794 | #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \ |
| 3795 | assert(s) |
| 3796 | |
| 3797 | #endif |
| 3798 | |
| 3799 | PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) |
| 3800 | __attribute__nonnull__(pTHX_1); |
| 3801 | #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \ |
| 3802 | assert(s) |
| 3803 | |
| 3804 | |
| 3805 | #ifdef EBCDIC |
| 3806 | PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
| 3807 | __attribute__nonnull__(pTHX_1); |
| 3808 | #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8 \ |
| 3809 | assert(d) |
| 3810 | |
| 3811 | #else |
| 3812 | /* PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
| 3813 | __attribute__nonnull__(pTHX_1); */ |
| 3814 | #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8 \ |
| 3815 | assert(d) |
| 3816 | |
| 3817 | #endif |
| 3818 | |
| 3819 | /* PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) |
| 3820 | __attribute__nonnull__(pTHX_1); */ |
| 3821 | #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \ |
| 3822 | assert(d) |
| 3823 | |
| 3824 | PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
| 3825 | __attribute__nonnull__(pTHX_1); |
| 3826 | #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS \ |
| 3827 | assert(d) |
| 3828 | |
| 3829 | PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
| 3830 | __attribute__nonnull__(pTHX_1); |
| 3831 | #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS \ |
| 3832 | assert(d) |
| 3833 | |
| 3834 | PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags) |
| 3835 | __attribute__nonnull__(pTHX_1) |
| 3836 | __attribute__nonnull__(pTHX_2); |
| 3837 | #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \ |
| 3838 | assert(dsv); assert(spv) |
| 3839 | |
| 3840 | PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) |
| 3841 | __attribute__warn_unused_result__ |
| 3842 | __attribute__nonnull__(pTHX_1) |
| 3843 | __attribute__nonnull__(pTHX_2); |
| 3844 | #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \ |
| 3845 | assert(dsv); assert(ssv) |
| 3846 | |
| 3847 | PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv) |
| 3848 | __attribute__nonnull__(pTHX_1); |
| 3849 | #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \ |
| 3850 | assert(sv) |
| 3851 | |
| 3852 | PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what) |
| 3853 | __attribute__nonnull__(pTHX_1); |
| 3854 | #define PERL_ARGS_ASSERT_VIVIFY_REF \ |
| 3855 | assert(sv) |
| 3856 | |
| 3857 | PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags) |
| 3858 | __attribute__nonnull__(pTHX_2); |
| 3859 | #define PERL_ARGS_ASSERT_WAIT4PID \ |
| 3860 | assert(statusp) |
| 3861 | |
| 3862 | PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt) |
| 3863 | __attribute__nonnull__(pTHX_1); |
| 3864 | #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \ |
| 3865 | assert(popt) |
| 3866 | |
| 3867 | PERL_CALLCONV U32 Perl_seed(pTHX); |
| 3868 | PERL_CALLCONV UV Perl_get_hash_seed(pTHX) |
| 3869 | __attribute__warn_unused_result__; |
| 3870 | |
| 3871 | PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op); |
| 3872 | PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv); |
| 3873 | PERL_CALLCONV void Perl_warn_sv(pTHX_ SV *baseex) |
| 3874 | __attribute__nonnull__(pTHX_1); |
| 3875 | #define PERL_ARGS_ASSERT_WARN_SV \ |
| 3876 | assert(baseex) |
| 3877 | |
| 3878 | PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) |
| 3879 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
| 3880 | __attribute__nonnull__(pTHX_1); |
| 3881 | #define PERL_ARGS_ASSERT_WARN \ |
| 3882 | assert(pat) |
| 3883 | |
| 3884 | PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args) |
| 3885 | __attribute__nonnull__(pTHX_1); |
| 3886 | #define PERL_ARGS_ASSERT_VWARN \ |
| 3887 | assert(pat) |
| 3888 | |
| 3889 | PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) |
| 3890 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3891 | __attribute__nonnull__(pTHX_2); |
| 3892 | #define PERL_ARGS_ASSERT_WARNER \ |
| 3893 | assert(pat) |
| 3894 | |
| 3895 | PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...) |
| 3896 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3897 | __attribute__nonnull__(pTHX_2); |
| 3898 | #define PERL_ARGS_ASSERT_CK_WARNER \ |
| 3899 | assert(pat) |
| 3900 | |
| 3901 | PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...) |
| 3902 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3903 | __attribute__nonnull__(pTHX_2); |
| 3904 | #define PERL_ARGS_ASSERT_CK_WARNER_D \ |
| 3905 | assert(pat) |
| 3906 | |
| 3907 | PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) |
| 3908 | __attribute__nonnull__(pTHX_2); |
| 3909 | #define PERL_ARGS_ASSERT_VWARNER \ |
| 3910 | assert(pat) |
| 3911 | |
| 3912 | PERL_CALLCONV void Perl_watch(pTHX_ char** addr) |
| 3913 | __attribute__nonnull__(pTHX_1); |
| 3914 | #define PERL_ARGS_ASSERT_WATCH \ |
| 3915 | assert(addr) |
| 3916 | |
| 3917 | PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig) |
| 3918 | __attribute__nonnull__(pTHX_1); |
| 3919 | #define PERL_ARGS_ASSERT_WHICHSIG \ |
| 3920 | assert(sig) |
| 3921 | |
| 3922 | PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv) |
| 3923 | __attribute__nonnull__(pTHX_1); |
| 3924 | #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \ |
| 3925 | assert(msv) |
| 3926 | |
| 3927 | PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s) |
| 3928 | __attribute__nonnull__(pTHX_1); |
| 3929 | #define PERL_ARGS_ASSERT_YYERROR \ |
| 3930 | assert(s) |
| 3931 | |
| 3932 | PERL_CALLCONV int Perl_yylex(pTHX); |
| 3933 | PERL_CALLCONV int Perl_yyparse(pTHX); |
| 3934 | PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser) |
| 3935 | __attribute__nonnull__(pTHX_1); |
| 3936 | #define PERL_ARGS_ASSERT_PARSER_FREE \ |
| 3937 | assert(parser) |
| 3938 | |
| 3939 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
| 3940 | STATIC int S_yywarn(pTHX_ const char *const s) |
| 3941 | __attribute__nonnull__(pTHX_1); |
| 3942 | #define PERL_ARGS_ASSERT_YYWARN \ |
| 3943 | assert(s) |
| 3944 | |
| 3945 | #endif |
| 3946 | #if defined(MYMALLOC) |
| 3947 | PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s) |
| 3948 | __attribute__nonnull__(pTHX_1); |
| 3949 | #define PERL_ARGS_ASSERT_DUMP_MSTATS \ |
| 3950 | assert(s) |
| 3951 | |
| 3952 | PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level) |
| 3953 | __attribute__nonnull__(pTHX_1); |
| 3954 | #define PERL_ARGS_ASSERT_GET_MSTATS \ |
| 3955 | assert(buf) |
| 3956 | |
| 3957 | #endif |
| 3958 | PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) |
| 3959 | __attribute__malloc__ |
| 3960 | __attribute__warn_unused_result__; |
| 3961 | |
| 3962 | PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) |
| 3963 | __attribute__malloc__ |
| 3964 | __attribute__warn_unused_result__; |
| 3965 | |
| 3966 | PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) |
| 3967 | __attribute__malloc__ |
| 3968 | __attribute__warn_unused_result__; |
| 3969 | |
| 3970 | PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); |
| 3971 | #if defined(PERL_GLOBAL_STRUCT) |
| 3972 | PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); |
| 3973 | PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX); |
| 3974 | PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp) |
| 3975 | __attribute__nonnull__(pTHX_1); |
| 3976 | #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT \ |
| 3977 | assert(plvarsp) |
| 3978 | |
| 3979 | #endif |
| 3980 | PERL_CALLCONV int Perl_runops_standard(pTHX); |
| 3981 | PERL_CALLCONV int Perl_runops_debug(pTHX); |
| 3982 | PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...) |
| 3983 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 3984 | __attribute__nonnull__(pTHX_1) |
| 3985 | __attribute__nonnull__(pTHX_2); |
| 3986 | #define PERL_ARGS_ASSERT_SV_CATPVF_MG \ |
| 3987 | assert(sv); assert(pat) |
| 3988 | |
| 3989 | PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args) |
| 3990 | __attribute__nonnull__(pTHX_1) |
| 3991 | __attribute__nonnull__(pTHX_2); |
| 3992 | #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \ |
| 3993 | assert(sv); assert(pat) |
| 3994 | |
| 3995 | PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr) |
| 3996 | __attribute__nonnull__(pTHX_1); |
| 3997 | #define PERL_ARGS_ASSERT_SV_CATPV_MG \ |
| 3998 | assert(sv) |
| 3999 | |
| 4000 | /* PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) |
| 4001 | __attribute__nonnull__(pTHX_1) |
| 4002 | __attribute__nonnull__(pTHX_2); */ |
| 4003 | #define PERL_ARGS_ASSERT_SV_CATPVN_MG \ |
| 4004 | assert(sv); assert(ptr) |
| 4005 | |
| 4006 | /* PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv) |
| 4007 | __attribute__nonnull__(pTHX_1); */ |
| 4008 | #define PERL_ARGS_ASSERT_SV_CATSV_MG \ |
| 4009 | assert(dsv) |
| 4010 | |
| 4011 | PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...) |
| 4012 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
| 4013 | __attribute__nonnull__(pTHX_1) |
| 4014 | __attribute__nonnull__(pTHX_2); |
| 4015 | #define PERL_ARGS_ASSERT_SV_SETPVF_MG \ |
| 4016 | assert(sv); assert(pat) |
| 4017 | |
| 4018 | PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args) |
| 4019 | __attribute__nonnull__(pTHX_1) |
| 4020 | __attribute__nonnull__(pTHX_2); |
| 4021 | #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \ |
| 4022 | assert(sv); assert(pat) |
| 4023 | |
| 4024 | PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i) |
| 4025 | __attribute__nonnull__(pTHX_1); |
| 4026 | #define PERL_ARGS_ASSERT_SV_SETIV_MG \ |
| 4027 | assert(sv) |
| 4028 | |
| 4029 | PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv) |
| 4030 | __attribute__nonnull__(pTHX_1); |
| 4031 | #define PERL_ARGS_ASSERT_SV_SETPVIV_MG \ |
| 4032 | assert(sv) |
| 4033 | |
| 4034 | PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u) |
| 4035 | __attribute__nonnull__(pTHX_1); |
| 4036 | #define PERL_ARGS_ASSERT_SV_SETUV_MG \ |
| 4037 | assert(sv) |
| 4038 | |
| 4039 | PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num) |
| 4040 | __attribute__nonnull__(pTHX_1); |
| 4041 | #define PERL_ARGS_ASSERT_SV_SETNV_MG \ |
| 4042 | assert(sv) |
| 4043 | |
| 4044 | PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr) |
| 4045 | __attribute__nonnull__(pTHX_1); |
| 4046 | #define PERL_ARGS_ASSERT_SV_SETPV_MG \ |
| 4047 | assert(sv) |
| 4048 | |
| 4049 | PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len) |
| 4050 | __attribute__nonnull__(pTHX_1) |
| 4051 | __attribute__nonnull__(pTHX_2); |
| 4052 | #define PERL_ARGS_ASSERT_SV_SETPVN_MG \ |
| 4053 | assert(sv); assert(ptr) |
| 4054 | |
| 4055 | PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr) |
| 4056 | __attribute__nonnull__(pTHX_1); |
| 4057 | #define PERL_ARGS_ASSERT_SV_SETSV_MG \ |
| 4058 | assert(dstr) |
| 4059 | |
| 4060 | /* PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len) |
| 4061 | __attribute__nonnull__(pTHX_1); */ |
| 4062 | #define PERL_ARGS_ASSERT_SV_USEPVN_MG \ |
| 4063 | assert(sv) |
| 4064 | |
| 4065 | PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id) |
| 4066 | __attribute__warn_unused_result__; |
| 4067 | |
| 4068 | PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) |
| 4069 | __attribute__nonnull__(pTHX_1) |
| 4070 | __attribute__nonnull__(pTHX_2); |
| 4071 | #define PERL_ARGS_ASSERT_PV_DISPLAY \ |
| 4072 | assert(dsv); assert(pv) |
| 4073 | |
| 4074 | 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) |
| 4075 | __attribute__nonnull__(pTHX_1) |
| 4076 | __attribute__nonnull__(pTHX_2); |
| 4077 | #define PERL_ARGS_ASSERT_PV_ESCAPE \ |
| 4078 | assert(dsv); assert(str) |
| 4079 | |
| 4080 | 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) |
| 4081 | __attribute__nonnull__(pTHX_1) |
| 4082 | __attribute__nonnull__(pTHX_2); |
| 4083 | #define PERL_ARGS_ASSERT_PV_PRETTY \ |
| 4084 | assert(dsv); assert(str) |
| 4085 | |
| 4086 | PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
| 4087 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
| 4088 | __attribute__nonnull__(pTHX_2) |
| 4089 | __attribute__nonnull__(pTHX_3); |
| 4090 | #define PERL_ARGS_ASSERT_DUMP_INDENT \ |
| 4091 | assert(file); assert(pat) |
| 4092 | |
| 4093 | PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) |
| 4094 | __attribute__nonnull__(pTHX_2) |
| 4095 | __attribute__nonnull__(pTHX_3); |
| 4096 | #define PERL_ARGS_ASSERT_DUMP_VINDENT \ |
| 4097 | assert(file); assert(pat) |
| 4098 | |
| 4099 | PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) |
| 4100 | __attribute__nonnull__(pTHX_2) |
| 4101 | __attribute__nonnull__(pTHX_3); |
| 4102 | #define PERL_ARGS_ASSERT_DO_GV_DUMP \ |
| 4103 | assert(file); assert(name) |
| 4104 | |
| 4105 | PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) |
| 4106 | __attribute__nonnull__(pTHX_2) |
| 4107 | __attribute__nonnull__(pTHX_3); |
| 4108 | #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \ |
| 4109 | assert(file); assert(name) |
| 4110 | |
| 4111 | PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv) |
| 4112 | __attribute__nonnull__(pTHX_2) |
| 4113 | __attribute__nonnull__(pTHX_3); |
| 4114 | #define PERL_ARGS_ASSERT_DO_HV_DUMP \ |
| 4115 | assert(file); assert(name) |
| 4116 | |
| 4117 | PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) |
| 4118 | __attribute__nonnull__(pTHX_2) |
| 4119 | __attribute__nonnull__(pTHX_3); |
| 4120 | #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \ |
| 4121 | assert(file); assert(mg) |
| 4122 | |
| 4123 | PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) |
| 4124 | __attribute__nonnull__(pTHX_2); |
| 4125 | #define PERL_ARGS_ASSERT_DO_OP_DUMP \ |
| 4126 | assert(file) |
| 4127 | |
| 4128 | PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) |
| 4129 | __attribute__nonnull__(pTHX_2); |
| 4130 | #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \ |
| 4131 | assert(file) |
| 4132 | |
| 4133 | PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) |
| 4134 | __attribute__nonnull__(pTHX_2); |
| 4135 | #define PERL_ARGS_ASSERT_DO_SV_DUMP \ |
| 4136 | assert(file) |
| 4137 | |
| 4138 | PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg); |
| 4139 | PERL_CALLCONV void Perl_reginitcolors(pTHX); |
| 4140 | /* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv) |
| 4141 | __attribute__warn_unused_result__ |
| 4142 | __attribute__nonnull__(pTHX_1); */ |
| 4143 | #define PERL_ARGS_ASSERT_SV_2PV_NOLEN \ |
| 4144 | assert(sv) |
| 4145 | |
| 4146 | /* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv) |
| 4147 | __attribute__warn_unused_result__ |
| 4148 | __attribute__nonnull__(pTHX_1); */ |
| 4149 | #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \ |
| 4150 | assert(sv) |
| 4151 | |
| 4152 | /* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv) |
| 4153 | __attribute__warn_unused_result__ |
| 4154 | __attribute__nonnull__(pTHX_1); */ |
| 4155 | #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \ |
| 4156 | assert(sv) |
| 4157 | |
| 4158 | /* PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv) |
| 4159 | __attribute__warn_unused_result__ |
| 4160 | __attribute__nonnull__(pTHX_1); */ |
| 4161 | #define PERL_ARGS_ASSERT_SV_PV \ |
| 4162 | assert(sv) |
| 4163 | |
| 4164 | /* PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv) |
| 4165 | __attribute__warn_unused_result__ |
| 4166 | __attribute__nonnull__(pTHX_1); */ |
| 4167 | #define PERL_ARGS_ASSERT_SV_PVUTF8 \ |
| 4168 | assert(sv) |
| 4169 | |
| 4170 | /* PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv) |
| 4171 | __attribute__warn_unused_result__ |
| 4172 | __attribute__nonnull__(pTHX_1); */ |
| 4173 | #define PERL_ARGS_ASSERT_SV_PVBYTE \ |
| 4174 | assert(sv) |
| 4175 | |
| 4176 | /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv) |
| 4177 | __attribute__nonnull__(pTHX_1); */ |
| 4178 | #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \ |
| 4179 | assert(sv) |
| 4180 | |
| 4181 | /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv) |
| 4182 | __attribute__nonnull__(pTHX_1); */ |
| 4183 | |
| 4184 | PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok) |
| 4185 | __attribute__nonnull__(pTHX_1); |
| 4186 | #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \ |
| 4187 | assert(sv) |
| 4188 | |
| 4189 | PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *const sv) |
| 4190 | __attribute__nonnull__(pTHX_1); |
| 4191 | #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \ |
| 4192 | assert(sv) |
| 4193 | |
| 4194 | PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *const sv) |
| 4195 | __attribute__nonnull__(pTHX_1); |
| 4196 | #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \ |
| 4197 | assert(sv) |
| 4198 | |
| 4199 | /* PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) |
| 4200 | __attribute__nonnull__(pTHX_1); */ |
| 4201 | #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \ |
| 4202 | assert(sv) |
| 4203 | |
| 4204 | PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags) |
| 4205 | __attribute__nonnull__(pTHX_1); |
| 4206 | #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \ |
| 4207 | assert(sv) |
| 4208 | |
| 4209 | PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n); |
| 4210 | PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv) |
| 4211 | __attribute__nonnull__(pTHX_1); |
| 4212 | #define PERL_ARGS_ASSERT_SV_RVWEAKEN \ |
| 4213 | assert(sv) |
| 4214 | |
| 4215 | PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) |
| 4216 | __attribute__nonnull__(pTHX_1) |
| 4217 | __attribute__nonnull__(pTHX_2); |
| 4218 | #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \ |
| 4219 | assert(sv); assert(mg) |
| 4220 | |
| 4221 | PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); |
| 4222 | PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); |
| 4223 | #ifdef PERL_MAD |
| 4224 | PERL_CALLCONV OP * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
| 4225 | __attribute__noreturn__; |
| 4226 | |
| 4227 | #else |
| 4228 | PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
| 4229 | __attribute__noreturn__; |
| 4230 | |
| 4231 | #endif |
| 4232 | PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) |
| 4233 | __attribute__nonnull__(pTHX_1); |
| 4234 | #define PERL_ARGS_ASSERT_MY_ATTRS \ |
| 4235 | assert(o) |
| 4236 | |
| 4237 | #if defined(USE_ITHREADS) |
| 4238 | PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) |
| 4239 | __attribute__warn_unused_result__ |
| 4240 | __attribute__nonnull__(pTHX_4); |
| 4241 | #define PERL_ARGS_ASSERT_CX_DUP \ |
| 4242 | assert(param) |
| 4243 | |
| 4244 | PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) |
| 4245 | __attribute__warn_unused_result__ |
| 4246 | __attribute__nonnull__(pTHX_2); |
| 4247 | #define PERL_ARGS_ASSERT_SI_DUP \ |
| 4248 | assert(param) |
| 4249 | |
| 4250 | PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) |
| 4251 | __attribute__malloc__ |
| 4252 | __attribute__warn_unused_result__ |
| 4253 | __attribute__nonnull__(pTHX_1) |
| 4254 | __attribute__nonnull__(pTHX_2); |
| 4255 | #define PERL_ARGS_ASSERT_SS_DUP \ |
| 4256 | assert(proto_perl); assert(param) |
| 4257 | |
| 4258 | PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl) |
| 4259 | __attribute__warn_unused_result__ |
| 4260 | __attribute__nonnull__(pTHX_2); |
| 4261 | #define PERL_ARGS_ASSERT_ANY_DUP \ |
| 4262 | assert(proto_perl) |
| 4263 | |
| 4264 | PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param) |
| 4265 | __attribute__warn_unused_result__ |
| 4266 | __attribute__nonnull__(pTHX_3); |
| 4267 | #define PERL_ARGS_ASSERT_HE_DUP \ |
| 4268 | assert(param) |
| 4269 | |
| 4270 | PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param) |
| 4271 | __attribute__warn_unused_result__ |
| 4272 | __attribute__nonnull__(pTHX_2); |
| 4273 | #define PERL_ARGS_ASSERT_HEK_DUP \ |
| 4274 | assert(param) |
| 4275 | |
| 4276 | PERL_CALLCONV void Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param) |
| 4277 | __attribute__nonnull__(pTHX_1) |
| 4278 | __attribute__nonnull__(pTHX_2) |
| 4279 | __attribute__nonnull__(pTHX_3); |
| 4280 | #define PERL_ARGS_ASSERT_RE_DUP_GUTS \ |
| 4281 | assert(sstr); assert(dstr); assert(param) |
| 4282 | |
| 4283 | PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param) |
| 4284 | __attribute__nonnull__(pTHX_3); |
| 4285 | #define PERL_ARGS_ASSERT_FP_DUP \ |
| 4286 | assert(param) |
| 4287 | |
| 4288 | PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR *const dp) |
| 4289 | __attribute__warn_unused_result__; |
| 4290 | |
| 4291 | PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param) |
| 4292 | __attribute__warn_unused_result__ |
| 4293 | __attribute__nonnull__(pTHX_2); |
| 4294 | #define PERL_ARGS_ASSERT_GP_DUP \ |
| 4295 | assert(param) |
| 4296 | |
| 4297 | PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param) |
| 4298 | __attribute__warn_unused_result__ |
| 4299 | __attribute__nonnull__(pTHX_2); |
| 4300 | #define PERL_ARGS_ASSERT_MG_DUP \ |
| 4301 | assert(param) |
| 4302 | |
| 4303 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 4304 | STATIC SV ** S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param) |
| 4305 | __attribute__nonnull__(pTHX_1) |
| 4306 | __attribute__nonnull__(pTHX_2) |
| 4307 | __attribute__nonnull__(pTHX_4); |
| 4308 | #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \ |
| 4309 | assert(source); assert(dest); assert(param) |
| 4310 | |
| 4311 | #endif |
| 4312 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 4313 | STATIC SV* S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) |
| 4314 | __attribute__warn_unused_result__ |
| 4315 | __attribute__nonnull__(pTHX_1) |
| 4316 | __attribute__nonnull__(pTHX_2); |
| 4317 | #define PERL_ARGS_ASSERT_SV_DUP_COMMON \ |
| 4318 | assert(sstr); assert(param) |
| 4319 | |
| 4320 | #endif |
| 4321 | PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) |
| 4322 | __attribute__warn_unused_result__ |
| 4323 | __attribute__nonnull__(pTHX_2); |
| 4324 | #define PERL_ARGS_ASSERT_SV_DUP \ |
| 4325 | assert(param) |
| 4326 | |
| 4327 | PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) |
| 4328 | __attribute__warn_unused_result__ |
| 4329 | __attribute__nonnull__(pTHX_2); |
| 4330 | #define PERL_ARGS_ASSERT_SV_DUP_INC \ |
| 4331 | assert(param) |
| 4332 | |
| 4333 | PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param) |
| 4334 | __attribute__nonnull__(pTHX_1) |
| 4335 | __attribute__nonnull__(pTHX_2) |
| 4336 | __attribute__nonnull__(pTHX_3); |
| 4337 | #define PERL_ARGS_ASSERT_RVPV_DUP \ |
| 4338 | assert(dstr); assert(sstr); assert(param) |
| 4339 | |
| 4340 | PERL_CALLCONV yy_parser* Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param) |
| 4341 | __attribute__nonnull__(pTHX_2); |
| 4342 | #define PERL_ARGS_ASSERT_PARSER_DUP \ |
| 4343 | assert(param) |
| 4344 | |
| 4345 | #endif |
| 4346 | PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) |
| 4347 | __attribute__malloc__ |
| 4348 | __attribute__warn_unused_result__; |
| 4349 | |
| 4350 | PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv) |
| 4351 | __attribute__warn_unused_result__ |
| 4352 | __attribute__nonnull__(pTHX_1); |
| 4353 | #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \ |
| 4354 | assert(tbl) |
| 4355 | |
| 4356 | PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv) |
| 4357 | __attribute__nonnull__(pTHX_1) |
| 4358 | __attribute__nonnull__(pTHX_3); |
| 4359 | #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \ |
| 4360 | assert(tbl); assert(newsv) |
| 4361 | |
| 4362 | PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl) |
| 4363 | __attribute__nonnull__(pTHX_1); |
| 4364 | #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \ |
| 4365 | assert(tbl) |
| 4366 | |
| 4367 | PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl) |
| 4368 | __attribute__deprecated__; |
| 4369 | |
| 4370 | PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl); |
| 4371 | #if defined(USE_ITHREADS) |
| 4372 | # if defined(HAVE_INTERP_INTERN) |
| 4373 | PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) |
| 4374 | __attribute__nonnull__(pTHX_1) |
| 4375 | __attribute__nonnull__(pTHX_2); |
| 4376 | #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \ |
| 4377 | assert(src); assert(dst) |
| 4378 | |
| 4379 | # endif |
| 4380 | #endif |
| 4381 | #if defined(HAVE_INTERP_INTERN) |
| 4382 | PERL_CALLCONV void Perl_sys_intern_clear(pTHX); |
| 4383 | PERL_CALLCONV void Perl_sys_intern_init(pTHX); |
| 4384 | #endif |
| 4385 | |
| 4386 | PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o) |
| 4387 | __attribute__warn_unused_result__ |
| 4388 | __attribute__nonnull__(pTHX_1); |
| 4389 | #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \ |
| 4390 | assert(o) |
| 4391 | |
| 4392 | PERL_CALLCONV const char * Perl_custom_op_desc(pTHX_ const OP *o) |
| 4393 | __attribute__warn_unused_result__ |
| 4394 | __attribute__nonnull__(pTHX_1); |
| 4395 | #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \ |
| 4396 | assert(o) |
| 4397 | |
| 4398 | |
| 4399 | PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv); |
| 4400 | /* PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv); */ |
| 4401 | PERL_CALLCONV bool Perl_sv_destroyable(pTHX_ SV *sv); |
| 4402 | #ifdef NO_MATHOMS |
| 4403 | /* PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); */ |
| 4404 | #else |
| 4405 | PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); |
| 4406 | #endif |
| 4407 | PERL_CALLCONV int Perl_nothreadhook(pTHX); |
| 4408 | |
| 4409 | END_EXTERN_C |
| 4410 | |
| 4411 | #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) |
| 4412 | STATIC I32 S_do_trans_simple(pTHX_ SV * const sv) |
| 4413 | __attribute__warn_unused_result__ |
| 4414 | __attribute__nonnull__(pTHX_1); |
| 4415 | #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \ |
| 4416 | assert(sv) |
| 4417 | |
| 4418 | STATIC I32 S_do_trans_count(pTHX_ SV * const sv) |
| 4419 | __attribute__warn_unused_result__ |
| 4420 | __attribute__nonnull__(pTHX_1); |
| 4421 | #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \ |
| 4422 | assert(sv) |
| 4423 | |
| 4424 | STATIC I32 S_do_trans_complex(pTHX_ SV * const sv) |
| 4425 | __attribute__warn_unused_result__ |
| 4426 | __attribute__nonnull__(pTHX_1); |
| 4427 | #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \ |
| 4428 | assert(sv) |
| 4429 | |
| 4430 | STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv) |
| 4431 | __attribute__warn_unused_result__ |
| 4432 | __attribute__nonnull__(pTHX_1); |
| 4433 | #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8 \ |
| 4434 | assert(sv) |
| 4435 | |
| 4436 | STATIC I32 S_do_trans_count_utf8(pTHX_ SV * const sv) |
| 4437 | __attribute__warn_unused_result__ |
| 4438 | __attribute__nonnull__(pTHX_1); |
| 4439 | #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8 \ |
| 4440 | assert(sv) |
| 4441 | |
| 4442 | STATIC I32 S_do_trans_complex_utf8(pTHX_ SV * const sv) |
| 4443 | __attribute__warn_unused_result__ |
| 4444 | __attribute__nonnull__(pTHX_1); |
| 4445 | #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8 \ |
| 4446 | assert(sv) |
| 4447 | |
| 4448 | #endif |
| 4449 | |
| 4450 | #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT) |
| 4451 | STATIC void S_gv_init_sv(pTHX_ GV *gv, const svtype sv_type) |
| 4452 | __attribute__nonnull__(pTHX_1); |
| 4453 | #define PERL_ARGS_ASSERT_GV_INIT_SV \ |
| 4454 | assert(gv) |
| 4455 | |
| 4456 | STATIC HV* S_gv_get_super_pkg(pTHX_ const char* name, I32 namelen) |
| 4457 | __attribute__nonnull__(pTHX_1); |
| 4458 | #define PERL_ARGS_ASSERT_GV_GET_SUPER_PKG \ |
| 4459 | assert(name) |
| 4460 | |
| 4461 | STATIC HV* S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags) |
| 4462 | __attribute__nonnull__(pTHX_1) |
| 4463 | __attribute__nonnull__(pTHX_2) |
| 4464 | __attribute__nonnull__(pTHX_3) |
| 4465 | __attribute__nonnull__(pTHX_4); |
| 4466 | #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \ |
| 4467 | assert(gv); assert(varpv); assert(namesv); assert(methpv) |
| 4468 | |
| 4469 | #endif |
| 4470 | |
| 4471 | PERL_CALLCONV void* Perl_get_arena(pTHX_ const size_t arenasize, const svtype bodytype) |
| 4472 | __attribute__malloc__ |
| 4473 | __attribute__warn_unused_result__; |
| 4474 | |
| 4475 | |
| 4476 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
| 4477 | STATIC void S_hsplit(pTHX_ HV *hv) |
| 4478 | __attribute__nonnull__(pTHX_1); |
| 4479 | #define PERL_ARGS_ASSERT_HSPLIT \ |
| 4480 | assert(hv) |
| 4481 | |
| 4482 | STATIC void S_hfreeentries(pTHX_ HV *hv) |
| 4483 | __attribute__nonnull__(pTHX_1); |
| 4484 | #define PERL_ARGS_ASSERT_HFREEENTRIES \ |
| 4485 | assert(hv) |
| 4486 | |
| 4487 | STATIC I32 S_anonymise_cv(pTHX_ HEK *stash, SV *val) |
| 4488 | __attribute__nonnull__(pTHX_2); |
| 4489 | #define PERL_ARGS_ASSERT_ANONYMISE_CV \ |
| 4490 | assert(val) |
| 4491 | |
| 4492 | STATIC HE* S_new_he(pTHX) |
| 4493 | __attribute__malloc__ |
| 4494 | __attribute__warn_unused_result__; |
| 4495 | |
| 4496 | STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags) |
| 4497 | __attribute__malloc__ |
| 4498 | __attribute__warn_unused_result__ |
| 4499 | __attribute__nonnull__(1); |
| 4500 | #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \ |
| 4501 | assert(str) |
| 4502 | |
| 4503 | STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store) |
| 4504 | __attribute__nonnull__(1) |
| 4505 | __attribute__nonnull__(2) |
| 4506 | __attribute__nonnull__(3); |
| 4507 | #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \ |
| 4508 | assert(hv); assert(needs_copy); assert(needs_store) |
| 4509 | |
| 4510 | STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash); |
| 4511 | STATIC HEK* S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags) |
| 4512 | __attribute__warn_unused_result__ |
| 4513 | __attribute__nonnull__(pTHX_1); |
| 4514 | #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \ |
| 4515 | assert(str) |
| 4516 | |
| 4517 | STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) |
| 4518 | __attribute__noreturn__ |
| 4519 | __attribute__nonnull__(pTHX_2) |
| 4520 | __attribute__nonnull__(pTHX_4); |
| 4521 | #define PERL_ARGS_ASSERT_HV_NOTALLOWED \ |
| 4522 | assert(key); assert(msg) |
| 4523 | |
| 4524 | STATIC struct xpvhv_aux* S_hv_auxinit(HV *hv) |
| 4525 | __attribute__nonnull__(1); |
| 4526 | #define PERL_ARGS_ASSERT_HV_AUXINIT \ |
| 4527 | assert(hv) |
| 4528 | |
| 4529 | STATIC SV* S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); |
| 4530 | STATIC void S_clear_placeholders(pTHX_ HV *hv, U32 items) |
| 4531 | __attribute__nonnull__(pTHX_1); |
| 4532 | #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \ |
| 4533 | assert(hv) |
| 4534 | |
| 4535 | STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he) |
| 4536 | __attribute__nonnull__(pTHX_1); |
| 4537 | #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \ |
| 4538 | assert(he) |
| 4539 | |
| 4540 | #endif |
| 4541 | |
| 4542 | #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) |
| 4543 | STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv) |
| 4544 | __attribute__nonnull__(pTHX_2); |
| 4545 | #define PERL_ARGS_ASSERT_SAVE_MAGIC \ |
| 4546 | assert(sv) |
| 4547 | |
| 4548 | STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth) |
| 4549 | __attribute__nonnull__(pTHX_1) |
| 4550 | __attribute__nonnull__(pTHX_2) |
| 4551 | __attribute__nonnull__(pTHX_3); |
| 4552 | #define PERL_ARGS_ASSERT_MAGIC_METHPACK \ |
| 4553 | assert(sv); assert(mg); assert(meth) |
| 4554 | |
| 4555 | STATIC SV* S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, int n, SV *val) |
| 4556 | __attribute__nonnull__(pTHX_1) |
| 4557 | __attribute__nonnull__(pTHX_2) |
| 4558 | __attribute__nonnull__(pTHX_3); |
| 4559 | #define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \ |
| 4560 | assert(sv); assert(mg); assert(meth) |
| 4561 | |
| 4562 | STATIC void S_restore_magic(pTHX_ const void *p); |
| 4563 | STATIC void S_unwind_handler_stack(pTHX_ const void *p) |
| 4564 | __attribute__nonnull__(pTHX_1); |
| 4565 | #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK \ |
| 4566 | assert(p) |
| 4567 | |
| 4568 | |
| 4569 | #endif |
| 4570 | |
| 4571 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
| 4572 | PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o) |
| 4573 | __attribute__warn_unused_result__ |
| 4574 | __attribute__nonnull__(pTHX_1); |
| 4575 | #define PERL_ARGS_ASSERT_CK_ANONCODE \ |
| 4576 | assert(o) |
| 4577 | |
| 4578 | PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o) |
| 4579 | __attribute__warn_unused_result__ |
| 4580 | __attribute__nonnull__(pTHX_1); |
| 4581 | #define PERL_ARGS_ASSERT_CK_BITOP \ |
| 4582 | assert(o) |
| 4583 | |
| 4584 | PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o) |
| 4585 | __attribute__warn_unused_result__ |
| 4586 | __attribute__nonnull__(pTHX_1); |
| 4587 | #define PERL_ARGS_ASSERT_CK_CONCAT \ |
| 4588 | assert(o) |
| 4589 | |
| 4590 | PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o) |
| 4591 | __attribute__warn_unused_result__ |
| 4592 | __attribute__nonnull__(pTHX_1); |
| 4593 | #define PERL_ARGS_ASSERT_CK_DEFINED \ |
| 4594 | assert(o) |
| 4595 | |
| 4596 | PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o) |
| 4597 | __attribute__warn_unused_result__ |
| 4598 | __attribute__nonnull__(pTHX_1); |
| 4599 | #define PERL_ARGS_ASSERT_CK_DELETE \ |
| 4600 | assert(o) |
| 4601 | |
| 4602 | PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o) |
| 4603 | __attribute__warn_unused_result__ |
| 4604 | __attribute__nonnull__(pTHX_1); |
| 4605 | #define PERL_ARGS_ASSERT_CK_DIE \ |
| 4606 | assert(o) |
| 4607 | |
| 4608 | PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o) |
| 4609 | __attribute__warn_unused_result__ |
| 4610 | __attribute__nonnull__(pTHX_1); |
| 4611 | #define PERL_ARGS_ASSERT_CK_EOF \ |
| 4612 | assert(o) |
| 4613 | |
| 4614 | PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o) |
| 4615 | __attribute__warn_unused_result__ |
| 4616 | __attribute__nonnull__(pTHX_1); |
| 4617 | #define PERL_ARGS_ASSERT_CK_EVAL \ |
| 4618 | assert(o) |
| 4619 | |
| 4620 | PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o) |
| 4621 | __attribute__warn_unused_result__ |
| 4622 | __attribute__nonnull__(pTHX_1); |
| 4623 | #define PERL_ARGS_ASSERT_CK_EXEC \ |
| 4624 | assert(o) |
| 4625 | |
| 4626 | PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o) |
| 4627 | __attribute__warn_unused_result__ |
| 4628 | __attribute__nonnull__(pTHX_1); |
| 4629 | #define PERL_ARGS_ASSERT_CK_EXISTS \ |
| 4630 | assert(o) |
| 4631 | |
| 4632 | PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o) |
| 4633 | __attribute__warn_unused_result__ |
| 4634 | __attribute__nonnull__(pTHX_1); |
| 4635 | #define PERL_ARGS_ASSERT_CK_EXIT \ |
| 4636 | assert(o) |
| 4637 | |
| 4638 | PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o) |
| 4639 | __attribute__warn_unused_result__ |
| 4640 | __attribute__nonnull__(pTHX_1); |
| 4641 | #define PERL_ARGS_ASSERT_CK_FTST \ |
| 4642 | assert(o) |
| 4643 | |
| 4644 | PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o) |
| 4645 | __attribute__warn_unused_result__ |
| 4646 | __attribute__nonnull__(pTHX_1); |
| 4647 | #define PERL_ARGS_ASSERT_CK_FUN \ |
| 4648 | assert(o) |
| 4649 | |
| 4650 | PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o) |
| 4651 | __attribute__warn_unused_result__ |
| 4652 | __attribute__nonnull__(pTHX_1); |
| 4653 | #define PERL_ARGS_ASSERT_CK_GLOB \ |
| 4654 | assert(o) |
| 4655 | |
| 4656 | PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o) |
| 4657 | __attribute__warn_unused_result__ |
| 4658 | __attribute__nonnull__(pTHX_1); |
| 4659 | #define PERL_ARGS_ASSERT_CK_GREP \ |
| 4660 | assert(o) |
| 4661 | |
| 4662 | PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o) |
| 4663 | __attribute__warn_unused_result__ |
| 4664 | __attribute__nonnull__(pTHX_1); |
| 4665 | #define PERL_ARGS_ASSERT_CK_INDEX \ |
| 4666 | assert(o) |
| 4667 | |
| 4668 | PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o) |
| 4669 | __attribute__warn_unused_result__ |
| 4670 | __attribute__nonnull__(pTHX_1); |
| 4671 | #define PERL_ARGS_ASSERT_CK_JOIN \ |
| 4672 | assert(o) |
| 4673 | |
| 4674 | PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o) |
| 4675 | __attribute__warn_unused_result__ |
| 4676 | __attribute__nonnull__(pTHX_1); |
| 4677 | #define PERL_ARGS_ASSERT_CK_LFUN \ |
| 4678 | assert(o) |
| 4679 | |
| 4680 | PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o) |
| 4681 | __attribute__warn_unused_result__ |
| 4682 | __attribute__nonnull__(pTHX_1); |
| 4683 | #define PERL_ARGS_ASSERT_CK_LISTIOB \ |
| 4684 | assert(o) |
| 4685 | |
| 4686 | PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o) |
| 4687 | __attribute__warn_unused_result__ |
| 4688 | __attribute__nonnull__(pTHX_1); |
| 4689 | #define PERL_ARGS_ASSERT_CK_MATCH \ |
| 4690 | assert(o) |
| 4691 | |
| 4692 | PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o) |
| 4693 | __attribute__warn_unused_result__ |
| 4694 | __attribute__nonnull__(pTHX_1); |
| 4695 | #define PERL_ARGS_ASSERT_CK_METHOD \ |
| 4696 | assert(o) |
| 4697 | |
| 4698 | PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o) |
| 4699 | __attribute__warn_unused_result__ |
| 4700 | __attribute__nonnull__(pTHX_1); |
| 4701 | #define PERL_ARGS_ASSERT_CK_NULL \ |
| 4702 | assert(o) |
| 4703 | |
| 4704 | PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o) |
| 4705 | __attribute__warn_unused_result__ |
| 4706 | __attribute__nonnull__(pTHX_1); |
| 4707 | #define PERL_ARGS_ASSERT_CK_OPEN \ |
| 4708 | assert(o) |
| 4709 | |
| 4710 | PERL_CALLCONV OP* Perl_ck_readline(pTHX_ OP *o) |
| 4711 | __attribute__warn_unused_result__ |
| 4712 | __attribute__nonnull__(pTHX_1); |
| 4713 | #define PERL_ARGS_ASSERT_CK_READLINE \ |
| 4714 | assert(o) |
| 4715 | |
| 4716 | PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o) |
| 4717 | __attribute__warn_unused_result__ |
| 4718 | __attribute__nonnull__(pTHX_1); |
| 4719 | #define PERL_ARGS_ASSERT_CK_REPEAT \ |
| 4720 | assert(o) |
| 4721 | |
| 4722 | PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o) |
| 4723 | __attribute__warn_unused_result__ |
| 4724 | __attribute__nonnull__(pTHX_1); |
| 4725 | #define PERL_ARGS_ASSERT_CK_REQUIRE \ |
| 4726 | assert(o) |
| 4727 | |
| 4728 | PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o) |
| 4729 | __attribute__warn_unused_result__ |
| 4730 | __attribute__nonnull__(pTHX_1); |
| 4731 | #define PERL_ARGS_ASSERT_CK_RETURN \ |
| 4732 | assert(o) |
| 4733 | |
| 4734 | PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o) |
| 4735 | __attribute__warn_unused_result__ |
| 4736 | __attribute__nonnull__(pTHX_1); |
| 4737 | #define PERL_ARGS_ASSERT_CK_RFUN \ |
| 4738 | assert(o) |
| 4739 | |
| 4740 | PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o) |
| 4741 | __attribute__warn_unused_result__ |
| 4742 | __attribute__nonnull__(pTHX_1); |
| 4743 | #define PERL_ARGS_ASSERT_CK_RVCONST \ |
| 4744 | assert(o) |
| 4745 | |
| 4746 | PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o) |
| 4747 | __attribute__warn_unused_result__ |
| 4748 | __attribute__nonnull__(pTHX_1); |
| 4749 | #define PERL_ARGS_ASSERT_CK_SASSIGN \ |
| 4750 | assert(o) |
| 4751 | |
| 4752 | PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o) |
| 4753 | __attribute__warn_unused_result__ |
| 4754 | __attribute__nonnull__(pTHX_1); |
| 4755 | #define PERL_ARGS_ASSERT_CK_SELECT \ |
| 4756 | assert(o) |
| 4757 | |
| 4758 | PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o) |
| 4759 | __attribute__warn_unused_result__ |
| 4760 | __attribute__nonnull__(pTHX_1); |
| 4761 | #define PERL_ARGS_ASSERT_CK_SHIFT \ |
| 4762 | assert(o) |
| 4763 | |
| 4764 | PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o) |
| 4765 | __attribute__warn_unused_result__ |
| 4766 | __attribute__nonnull__(pTHX_1); |
| 4767 | #define PERL_ARGS_ASSERT_CK_SORT \ |
| 4768 | assert(o) |
| 4769 | |
| 4770 | PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o) |
| 4771 | __attribute__warn_unused_result__ |
| 4772 | __attribute__nonnull__(pTHX_1); |
| 4773 | #define PERL_ARGS_ASSERT_CK_SPAIR \ |
| 4774 | assert(o) |
| 4775 | |
| 4776 | PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o) |
| 4777 | __attribute__warn_unused_result__ |
| 4778 | __attribute__nonnull__(pTHX_1); |
| 4779 | #define PERL_ARGS_ASSERT_CK_SPLIT \ |
| 4780 | assert(o) |
| 4781 | |
| 4782 | PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o) |
| 4783 | __attribute__warn_unused_result__ |
| 4784 | __attribute__nonnull__(pTHX_1); |
| 4785 | #define PERL_ARGS_ASSERT_CK_SUBR \ |
| 4786 | assert(o) |
| 4787 | |
| 4788 | PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o) |
| 4789 | __attribute__warn_unused_result__ |
| 4790 | __attribute__nonnull__(pTHX_1); |
| 4791 | #define PERL_ARGS_ASSERT_CK_SUBSTR \ |
| 4792 | assert(o) |
| 4793 | |
| 4794 | PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o) |
| 4795 | __attribute__warn_unused_result__ |
| 4796 | __attribute__nonnull__(pTHX_1); |
| 4797 | #define PERL_ARGS_ASSERT_CK_SVCONST \ |
| 4798 | assert(o) |
| 4799 | |
| 4800 | PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o) |
| 4801 | __attribute__warn_unused_result__ |
| 4802 | __attribute__nonnull__(pTHX_1); |
| 4803 | #define PERL_ARGS_ASSERT_CK_TRUNC \ |
| 4804 | assert(o) |
| 4805 | |
| 4806 | PERL_CALLCONV OP* Perl_ck_unpack(pTHX_ OP *o) |
| 4807 | __attribute__warn_unused_result__ |
| 4808 | __attribute__nonnull__(pTHX_1); |
| 4809 | #define PERL_ARGS_ASSERT_CK_UNPACK \ |
| 4810 | assert(o) |
| 4811 | |
| 4812 | PERL_CALLCONV OP* Perl_ck_each(pTHX_ OP *o) |
| 4813 | __attribute__warn_unused_result__ |
| 4814 | __attribute__nonnull__(pTHX_1); |
| 4815 | #define PERL_ARGS_ASSERT_CK_EACH \ |
| 4816 | assert(o) |
| 4817 | |
| 4818 | STATIC bool S_is_handle_constructor(const OP *o, I32 numargs) |
| 4819 | __attribute__warn_unused_result__ |
| 4820 | __attribute__nonnull__(1); |
| 4821 | #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \ |
| 4822 | assert(o) |
| 4823 | |
| 4824 | STATIC I32 S_is_list_assignment(pTHX_ const OP *o) |
| 4825 | __attribute__warn_unused_result__; |
| 4826 | |
| 4827 | # ifdef USE_ITHREADS |
| 4828 | STATIC void S_forget_pmop(pTHX_ PMOP *const o, U32 flags) |
| 4829 | __attribute__nonnull__(pTHX_1); |
| 4830 | #define PERL_ARGS_ASSERT_FORGET_PMOP \ |
| 4831 | assert(o) |
| 4832 | |
| 4833 | # else |
| 4834 | STATIC void S_forget_pmop(pTHX_ PMOP *const o) |
| 4835 | __attribute__nonnull__(pTHX_1); |
| 4836 | #define PERL_ARGS_ASSERT_FORGET_PMOP \ |
| 4837 | assert(o) |
| 4838 | |
| 4839 | # endif |
| 4840 | STATIC void S_find_and_forget_pmops(pTHX_ OP *o) |
| 4841 | __attribute__nonnull__(pTHX_1); |
| 4842 | #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \ |
| 4843 | assert(o) |
| 4844 | |
| 4845 | STATIC void S_cop_free(pTHX_ COP *cop) |
| 4846 | __attribute__nonnull__(pTHX_1); |
| 4847 | #define PERL_ARGS_ASSERT_COP_FREE \ |
| 4848 | assert(cop) |
| 4849 | |
| 4850 | STATIC OP* S_modkids(pTHX_ OP *o, I32 type); |
| 4851 | STATIC OP* S_scalarboolean(pTHX_ OP *o) |
| 4852 | __attribute__nonnull__(pTHX_1); |
| 4853 | #define PERL_ARGS_ASSERT_SCALARBOOLEAN \ |
| 4854 | assert(o) |
| 4855 | |
| 4856 | STATIC OP* S_newDEFSVOP(pTHX) |
| 4857 | __attribute__warn_unused_result__; |
| 4858 | |
| 4859 | STATIC OP* S_search_const(pTHX_ OP *o) |
| 4860 | __attribute__warn_unused_result__ |
| 4861 | __attribute__nonnull__(pTHX_1); |
| 4862 | #define PERL_ARGS_ASSERT_SEARCH_CONST \ |
| 4863 | assert(o) |
| 4864 | |
| 4865 | STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) |
| 4866 | __attribute__warn_unused_result__ |
| 4867 | __attribute__nonnull__(pTHX_3) |
| 4868 | __attribute__nonnull__(pTHX_4); |
| 4869 | #define PERL_ARGS_ASSERT_NEW_LOGOP \ |
| 4870 | assert(firstp); assert(otherp) |
| 4871 | |
| 4872 | STATIC void S_simplify_sort(pTHX_ OP *o) |
| 4873 | __attribute__nonnull__(pTHX_1); |
| 4874 | #define PERL_ARGS_ASSERT_SIMPLIFY_SORT \ |
| 4875 | assert(o) |
| 4876 | |
| 4877 | STATIC const char* S_gv_ename(pTHX_ GV *gv) |
| 4878 | __attribute__nonnull__(pTHX_1); |
| 4879 | #define PERL_ARGS_ASSERT_GV_ENAME \ |
| 4880 | assert(gv) |
| 4881 | |
| 4882 | STATIC bool S_scalar_mod_type(const OP *o, I32 type) |
| 4883 | __attribute__warn_unused_result__ |
| 4884 | __attribute__nonnull__(1); |
| 4885 | #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE \ |
| 4886 | assert(o) |
| 4887 | |
| 4888 | STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) |
| 4889 | __attribute__nonnull__(pTHX_3); |
| 4890 | #define PERL_ARGS_ASSERT_MY_KID \ |
| 4891 | assert(imopsp) |
| 4892 | |
| 4893 | STATIC OP * S_dup_attrlist(pTHX_ OP *o) |
| 4894 | __attribute__nonnull__(pTHX_1); |
| 4895 | #define PERL_ARGS_ASSERT_DUP_ATTRLIST \ |
| 4896 | assert(o) |
| 4897 | |
| 4898 | STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my) |
| 4899 | __attribute__nonnull__(pTHX_1) |
| 4900 | __attribute__nonnull__(pTHX_2); |
| 4901 | #define PERL_ARGS_ASSERT_APPLY_ATTRS \ |
| 4902 | assert(stash); assert(target) |
| 4903 | |
| 4904 | STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp) |
| 4905 | __attribute__nonnull__(pTHX_1) |
| 4906 | __attribute__nonnull__(pTHX_2) |
| 4907 | __attribute__nonnull__(pTHX_4); |
| 4908 | #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \ |
| 4909 | assert(stash); assert(target); assert(imopsp) |
| 4910 | |
| 4911 | STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid) |
| 4912 | __attribute__nonnull__(pTHX_2) |
| 4913 | __attribute__nonnull__(pTHX_3) |
| 4914 | __attribute__nonnull__(pTHX_4); |
| 4915 | #define PERL_ARGS_ASSERT_BAD_TYPE \ |
| 4916 | assert(t); assert(name); assert(kid) |
| 4917 | |
| 4918 | STATIC void S_no_bareword_allowed(pTHX_ const OP *o) |
| 4919 | __attribute__nonnull__(pTHX_1); |
| 4920 | #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \ |
| 4921 | assert(o) |
| 4922 | |
| 4923 | STATIC OP* S_no_fh_allowed(pTHX_ OP *o) |
| 4924 | __attribute__warn_unused_result__ |
| 4925 | __attribute__nonnull__(pTHX_1); |
| 4926 | #define PERL_ARGS_ASSERT_NO_FH_ALLOWED \ |
| 4927 | assert(o) |
| 4928 | |
| 4929 | STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name) |
| 4930 | __attribute__warn_unused_result__ |
| 4931 | __attribute__nonnull__(pTHX_1) |
| 4932 | __attribute__nonnull__(pTHX_2); |
| 4933 | #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS \ |
| 4934 | assert(o); assert(name) |
| 4935 | |
| 4936 | STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name) |
| 4937 | __attribute__warn_unused_result__ |
| 4938 | __attribute__nonnull__(pTHX_1) |
| 4939 | __attribute__nonnull__(pTHX_2); |
| 4940 | #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS \ |
| 4941 | assert(o); assert(name) |
| 4942 | |
| 4943 | STATIC bool S_looks_like_bool(pTHX_ const OP* o) |
| 4944 | __attribute__nonnull__(pTHX_1); |
| 4945 | #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \ |
| 4946 | assert(o) |
| 4947 | |
| 4948 | STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg) |
| 4949 | __attribute__nonnull__(pTHX_2); |
| 4950 | #define PERL_ARGS_ASSERT_NEWGIVWHENOP \ |
| 4951 | assert(block) |
| 4952 | |
| 4953 | STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond); |
| 4954 | STATIC void S_process_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv) |
| 4955 | __attribute__nonnull__(pTHX_1) |
| 4956 | __attribute__nonnull__(pTHX_2) |
| 4957 | __attribute__nonnull__(pTHX_3); |
| 4958 | #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \ |
| 4959 | assert(fullname); assert(gv); assert(cv) |
| 4960 | |
| 4961 | #endif |
| 4962 | #if defined(PL_OP_SLAB_ALLOC) |
| 4963 | PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz) |
| 4964 | __attribute__malloc__ |
| 4965 | __attribute__warn_unused_result__; |
| 4966 | |
| 4967 | PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) |
| 4968 | __attribute__nonnull__(pTHX_1); |
| 4969 | #define PERL_ARGS_ASSERT_SLAB_FREE \ |
| 4970 | assert(op) |
| 4971 | |
| 4972 | # if defined(PERL_DEBUG_READONLY_OPS) |
| 4973 | PERL_CALLCONV void Perl_pending_Slabs_to_ro(pTHX); |
| 4974 | PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o); |
| 4975 | PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o) |
| 4976 | __attribute__nonnull__(pTHX_1); |
| 4977 | #define PERL_ARGS_ASSERT_OP_REFCNT_DEC \ |
| 4978 | assert(o) |
| 4979 | |
| 4980 | # if defined(PERL_IN_OP_C) |
| 4981 | STATIC void S_Slab_to_rw(pTHX_ void *op) |
| 4982 | __attribute__nonnull__(pTHX_1); |
| 4983 | #define PERL_ARGS_ASSERT_SLAB_TO_RW \ |
| 4984 | assert(op) |
| 4985 | |
| 4986 | # endif |
| 4987 | # endif |
| 4988 | #endif |
| 4989 | |
| 4990 | #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT) |
| 4991 | STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp) |
| 4992 | __attribute__nonnull__(pTHX_1) |
| 4993 | __attribute__nonnull__(pTHX_2); |
| 4994 | #define PERL_ARGS_ASSERT_FIND_BEGINNING \ |
| 4995 | assert(linestr_sv); assert(rsfp) |
| 4996 | |
| 4997 | STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript); |
| 4998 | STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags) |
| 4999 | __attribute__nonnull__(pTHX_1); |
| 5000 | #define PERL_ARGS_ASSERT_INCPUSH \ |
| 5001 | assert(dir) |
| 5002 | |
| 5003 | STATIC void S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags) |
| 5004 | __attribute__nonnull__(pTHX_1); |
| 5005 | #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \ |
| 5006 | assert(p) |
| 5007 | |
| 5008 | STATIC void S_init_interp(pTHX); |
| 5009 | STATIC void S_init_ids(pTHX); |
| 5010 | STATIC void S_init_main_stash(pTHX); |
| 5011 | STATIC void S_init_perllib(pTHX); |
| 5012 | STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) |
| 5013 | __attribute__nonnull__(pTHX_2); |
| 5014 | #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \ |
| 5015 | assert(argv) |
| 5016 | |
| 5017 | STATIC void S_init_predump_symbols(pTHX); |
| 5018 | STATIC void S_my_exit_jump(pTHX) |
| 5019 | __attribute__noreturn__; |
| 5020 | |
| 5021 | STATIC void S_nuke_stacks(pTHX); |
| 5022 | STATIC int S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript, PerlIO **rsfpp) |
| 5023 | __attribute__nonnull__(pTHX_1) |
| 5024 | __attribute__nonnull__(pTHX_3) |
| 5025 | __attribute__nonnull__(pTHX_4); |
| 5026 | #define PERL_ARGS_ASSERT_OPEN_SCRIPT \ |
| 5027 | assert(scriptname); assert(suidscript); assert(rsfpp) |
| 5028 | |
| 5029 | STATIC void S_usage(pTHX_ const char *name) |
| 5030 | __attribute__nonnull__(pTHX_1); |
| 5031 | #define PERL_ARGS_ASSERT_USAGE \ |
| 5032 | assert(name) |
| 5033 | |
| 5034 | #ifndef SETUID_SCRIPTS_ARE_SECURE_NOW |
| 5035 | STATIC void S_validate_suid(pTHX_ PerlIO *rsfp) |
| 5036 | __attribute__nonnull__(pTHX_1); |
| 5037 | #define PERL_ARGS_ASSERT_VALIDATE_SUID \ |
| 5038 | assert(rsfp) |
| 5039 | |
| 5040 | #endif |
| 5041 | |
| 5042 | STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); |
| 5043 | STATIC void S_run_body(pTHX_ I32 oldscope) |
| 5044 | __attribute__noreturn__; |
| 5045 | |
| 5046 | STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem) |
| 5047 | __attribute__nonnull__(pTHX_1) |
| 5048 | __attribute__nonnull__(pTHX_2) |
| 5049 | __attribute__nonnull__(pTHX_3); |
| 5050 | #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \ |
| 5051 | assert(av); assert(dir); assert(stem) |
| 5052 | |
| 5053 | #endif |
| 5054 | |
| 5055 | #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT) |
| 5056 | STATIC OP* S_do_delete_local(pTHX); |
| 5057 | STATIC SV* S_refto(pTHX_ SV* sv) |
| 5058 | __attribute__warn_unused_result__ |
| 5059 | __attribute__nonnull__(pTHX_1); |
| 5060 | #define PERL_ARGS_ASSERT_REFTO \ |
| 5061 | assert(sv) |
| 5062 | |
| 5063 | #endif |
| 5064 | #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
| 5065 | PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp) |
| 5066 | __attribute__warn_unused_result__ |
| 5067 | __attribute__nonnull__(pTHX_1) |
| 5068 | __attribute__nonnull__(pTHX_2) |
| 5069 | __attribute__nonnull__(pTHX_4); |
| 5070 | #define PERL_ARGS_ASSERT_SOFTREF2XV \ |
| 5071 | assert(sv); assert(what); assert(spp) |
| 5072 | |
| 5073 | #endif |
| 5074 | |
| 5075 | #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT) |
| 5076 | STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s) |
| 5077 | __attribute__nonnull__(pTHX_1) |
| 5078 | __attribute__nonnull__(pTHX_2) |
| 5079 | __attribute__nonnull__(pTHX_3) |
| 5080 | __attribute__nonnull__(pTHX_4); |
| 5081 | #define PERL_ARGS_ASSERT_UNPACK_REC \ |
| 5082 | assert(symptr); assert(s); assert(strbeg); assert(strend) |
| 5083 | |
| 5084 | STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist) |
| 5085 | __attribute__nonnull__(pTHX_1) |
| 5086 | __attribute__nonnull__(pTHX_2) |
| 5087 | __attribute__nonnull__(pTHX_3) |
| 5088 | __attribute__nonnull__(pTHX_4); |
| 5089 | #define PERL_ARGS_ASSERT_PACK_REC \ |
| 5090 | assert(cat); assert(symptr); assert(beglist); assert(endlist) |
| 5091 | |
| 5092 | STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) |
| 5093 | __attribute__nonnull__(pTHX_1); |
| 5094 | #define PERL_ARGS_ASSERT_MUL128 \ |
| 5095 | assert(sv) |
| 5096 | |
| 5097 | STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr) |
| 5098 | __attribute__nonnull__(pTHX_1); |
| 5099 | #define PERL_ARGS_ASSERT_MEASURE_STRUCT \ |
| 5100 | assert(symptr) |
| 5101 | |
| 5102 | STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr) |
| 5103 | __attribute__nonnull__(pTHX_1); |
| 5104 | #define PERL_ARGS_ASSERT_NEXT_SYMBOL \ |
| 5105 | assert(symptr) |
| 5106 | |
| 5107 | STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l) |
| 5108 | __attribute__warn_unused_result__ |
| 5109 | __attribute__nonnull__(pTHX_1); |
| 5110 | #define PERL_ARGS_ASSERT_IS_AN_INT \ |
| 5111 | assert(s) |
| 5112 | |
| 5113 | STATIC int S_div128(pTHX_ SV *pnum, bool *done) |
| 5114 | __attribute__nonnull__(pTHX_1) |
| 5115 | __attribute__nonnull__(pTHX_2); |
| 5116 | #define PERL_ARGS_ASSERT_DIV128 \ |
| 5117 | assert(pnum); assert(done) |
| 5118 | |
| 5119 | STATIC const char * S_group_end(pTHX_ const char *patptr, const char *patend, char ender) |
| 5120 | __attribute__nonnull__(pTHX_1) |
| 5121 | __attribute__nonnull__(pTHX_2); |
| 5122 | #define PERL_ARGS_ASSERT_GROUP_END \ |
| 5123 | assert(patptr); assert(patend) |
| 5124 | |
| 5125 | STATIC const char * S_get_num(pTHX_ const char *patptr, I32 *lenptr) |
| 5126 | __attribute__warn_unused_result__ |
| 5127 | __attribute__nonnull__(pTHX_1) |
| 5128 | __attribute__nonnull__(pTHX_2); |
| 5129 | #define PERL_ARGS_ASSERT_GET_NUM \ |
| 5130 | assert(patptr); assert(lenptr) |
| 5131 | |
| 5132 | STATIC bool S_need_utf8(const char *pat, const char *patend) |
| 5133 | __attribute__nonnull__(1) |
| 5134 | __attribute__nonnull__(2); |
| 5135 | #define PERL_ARGS_ASSERT_NEED_UTF8 \ |
| 5136 | assert(pat); assert(patend) |
| 5137 | |
| 5138 | STATIC char S_first_symbol(const char *pat, const char *patend) |
| 5139 | __attribute__nonnull__(1) |
| 5140 | __attribute__nonnull__(2); |
| 5141 | #define PERL_ARGS_ASSERT_FIRST_SYMBOL \ |
| 5142 | assert(pat); assert(patend) |
| 5143 | |
| 5144 | STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed) |
| 5145 | __attribute__warn_unused_result__ |
| 5146 | __attribute__nonnull__(pTHX_1); |
| 5147 | #define PERL_ARGS_ASSERT_SV_EXP_GROW \ |
| 5148 | assert(sv) |
| 5149 | |
| 5150 | STATIC char * S_bytes_to_uni(const U8 *start, STRLEN len, char *dest) |
| 5151 | __attribute__warn_unused_result__ |
| 5152 | __attribute__nonnull__(1) |
| 5153 | __attribute__nonnull__(3); |
| 5154 | #define PERL_ARGS_ASSERT_BYTES_TO_UNI \ |
| 5155 | assert(start); assert(dest) |
| 5156 | |
| 5157 | #endif |
| 5158 | |
| 5159 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
| 5160 | STATIC OP* S_docatch(pTHX_ OP *o) |
| 5161 | __attribute__warn_unused_result__; |
| 5162 | |
| 5163 | STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit) |
| 5164 | __attribute__warn_unused_result__ |
| 5165 | __attribute__nonnull__(pTHX_1) |
| 5166 | __attribute__nonnull__(pTHX_2) |
| 5167 | __attribute__nonnull__(pTHX_3) |
| 5168 | __attribute__nonnull__(pTHX_4); |
| 5169 | #define PERL_ARGS_ASSERT_DOFINDLABEL \ |
| 5170 | assert(o); assert(label); assert(opstack); assert(oplimit) |
| 5171 | |
| 5172 | STATIC OP* S_doparseform(pTHX_ SV *sv) |
| 5173 | __attribute__warn_unused_result__ |
| 5174 | __attribute__nonnull__(pTHX_1); |
| 5175 | #define PERL_ARGS_ASSERT_DOPARSEFORM \ |
| 5176 | assert(sv) |
| 5177 | |
| 5178 | STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) |
| 5179 | __attribute__warn_unused_result__; |
| 5180 | |
| 5181 | STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) |
| 5182 | __attribute__warn_unused_result__; |
| 5183 | |
| 5184 | STATIC I32 S_dopoptogiven(pTHX_ I32 startingblock) |
| 5185 | __attribute__warn_unused_result__; |
| 5186 | |
| 5187 | STATIC I32 S_dopoptolabel(pTHX_ const char *label) |
| 5188 | __attribute__warn_unused_result__ |
| 5189 | __attribute__nonnull__(pTHX_1); |
| 5190 | #define PERL_ARGS_ASSERT_DOPOPTOLABEL \ |
| 5191 | assert(label) |
| 5192 | |
| 5193 | STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) |
| 5194 | __attribute__warn_unused_result__; |
| 5195 | |
| 5196 | STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) |
| 5197 | __attribute__warn_unused_result__ |
| 5198 | __attribute__nonnull__(pTHX_1); |
| 5199 | #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \ |
| 5200 | assert(cxstk) |
| 5201 | |
| 5202 | STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock) |
| 5203 | __attribute__warn_unused_result__; |
| 5204 | |
| 5205 | STATIC void S_save_lines(pTHX_ AV *array, SV *sv) |
| 5206 | __attribute__nonnull__(pTHX_2); |
| 5207 | #define PERL_ARGS_ASSERT_SAVE_LINES \ |
| 5208 | assert(sv) |
| 5209 | |
| 5210 | STATIC bool S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq); |
| 5211 | STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name) |
| 5212 | __attribute__warn_unused_result__ |
| 5213 | __attribute__nonnull__(pTHX_1); |
| 5214 | #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \ |
| 5215 | assert(name) |
| 5216 | |
| 5217 | #ifndef PERL_DISABLE_PMC |
| 5218 | STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const STRLEN namelen) |
| 5219 | __attribute__warn_unused_result__ |
| 5220 | __attribute__nonnull__(pTHX_1); |
| 5221 | #define PERL_ARGS_ASSERT_DOOPEN_PM \ |
| 5222 | assert(name) |
| 5223 | |
| 5224 | #endif |
| 5225 | STATIC bool S_path_is_absolute(const char *name) |
| 5226 | __attribute__warn_unused_result__ |
| 5227 | __attribute__nonnull__(1); |
| 5228 | #define PERL_ARGS_ASSERT_PATH_IS_ABSOLUTE \ |
| 5229 | assert(name) |
| 5230 | |
| 5231 | STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen) |
| 5232 | __attribute__warn_unused_result__ |
| 5233 | __attribute__nonnull__(pTHX_2); |
| 5234 | #define PERL_ARGS_ASSERT_RUN_USER_FILTER \ |
| 5235 | assert(buf_sv) |
| 5236 | |
| 5237 | STATIC PMOP* S_make_matcher(pTHX_ REGEXP* re) |
| 5238 | __attribute__warn_unused_result__ |
| 5239 | __attribute__nonnull__(pTHX_1); |
| 5240 | #define PERL_ARGS_ASSERT_MAKE_MATCHER \ |
| 5241 | assert(re) |
| 5242 | |
| 5243 | STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv) |
| 5244 | __attribute__warn_unused_result__ |
| 5245 | __attribute__nonnull__(pTHX_1) |
| 5246 | __attribute__nonnull__(pTHX_2); |
| 5247 | #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \ |
| 5248 | assert(matcher); assert(sv) |
| 5249 | |
| 5250 | STATIC void S_destroy_matcher(pTHX_ PMOP* matcher) |
| 5251 | __attribute__nonnull__(pTHX_1); |
| 5252 | #define PERL_ARGS_ASSERT_DESTROY_MATCHER \ |
| 5253 | assert(matcher) |
| 5254 | |
| 5255 | STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other); |
| 5256 | #endif |
| 5257 | |
| 5258 | #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
| 5259 | STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) |
| 5260 | __attribute__nonnull__(pTHX_1) |
| 5261 | __attribute__nonnull__(pTHX_2) |
| 5262 | __attribute__nonnull__(pTHX_3); |
| 5263 | #define PERL_ARGS_ASSERT_DO_ODDBALL \ |
| 5264 | assert(hash); assert(relem); assert(firstrelem) |
| 5265 | |
| 5266 | STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp) |
| 5267 | __attribute__warn_unused_result__ |
| 5268 | __attribute__nonnull__(pTHX_1); |
| 5269 | #define PERL_ARGS_ASSERT_METHOD_COMMON \ |
| 5270 | assert(meth) |
| 5271 | |
| 5272 | #endif |
| 5273 | |
| 5274 | #if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT) |
| 5275 | STATIC I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b) |
| 5276 | __attribute__nonnull__(pTHX_1) |
| 5277 | __attribute__nonnull__(pTHX_2); |
| 5278 | #define PERL_ARGS_ASSERT_SV_NCMP \ |
| 5279 | assert(a); assert(b) |
| 5280 | |
| 5281 | STATIC I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b) |
| 5282 | __attribute__nonnull__(pTHX_1) |
| 5283 | __attribute__nonnull__(pTHX_2); |
| 5284 | #define PERL_ARGS_ASSERT_SV_I_NCMP \ |
| 5285 | assert(a); assert(b) |
| 5286 | |
| 5287 | STATIC I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b) |
| 5288 | __attribute__nonnull__(pTHX_1) |
| 5289 | __attribute__nonnull__(pTHX_2); |
| 5290 | #define PERL_ARGS_ASSERT_AMAGIC_NCMP \ |
| 5291 | assert(a); assert(b) |
| 5292 | |
| 5293 | STATIC I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b) |
| 5294 | __attribute__nonnull__(pTHX_1) |
| 5295 | __attribute__nonnull__(pTHX_2); |
| 5296 | #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \ |
| 5297 | assert(a); assert(b) |
| 5298 | |
| 5299 | STATIC I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2) |
| 5300 | __attribute__nonnull__(pTHX_1) |
| 5301 | __attribute__nonnull__(pTHX_2); |
| 5302 | #define PERL_ARGS_ASSERT_AMAGIC_CMP \ |
| 5303 | assert(str1); assert(str2) |
| 5304 | |
| 5305 | STATIC I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2) |
| 5306 | __attribute__nonnull__(pTHX_1) |
| 5307 | __attribute__nonnull__(pTHX_2); |
| 5308 | #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \ |
| 5309 | assert(str1); assert(str2) |
| 5310 | |
| 5311 | STATIC I32 S_sortcv(pTHX_ SV *const a, SV *const b) |
| 5312 | __attribute__nonnull__(pTHX_1) |
| 5313 | __attribute__nonnull__(pTHX_2); |
| 5314 | #define PERL_ARGS_ASSERT_SORTCV \ |
| 5315 | assert(a); assert(b) |
| 5316 | |
| 5317 | STATIC I32 S_sortcv_xsub(pTHX_ SV *const a, SV *const b) |
| 5318 | __attribute__nonnull__(pTHX_1) |
| 5319 | __attribute__nonnull__(pTHX_2); |
| 5320 | #define PERL_ARGS_ASSERT_SORTCV_XSUB \ |
| 5321 | assert(a); assert(b) |
| 5322 | |
| 5323 | STATIC I32 S_sortcv_stacked(pTHX_ SV *const a, SV *const b) |
| 5324 | __attribute__nonnull__(pTHX_1) |
| 5325 | __attribute__nonnull__(pTHX_2); |
| 5326 | #define PERL_ARGS_ASSERT_SORTCV_STACKED \ |
| 5327 | assert(a); assert(b) |
| 5328 | |
| 5329 | STATIC void S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare) |
| 5330 | __attribute__nonnull__(pTHX_3); |
| 5331 | #define PERL_ARGS_ASSERT_QSORTSVU \ |
| 5332 | assert(compare) |
| 5333 | |
| 5334 | #endif |
| 5335 | |
| 5336 | #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) |
| 5337 | STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) |
| 5338 | __attribute__nonnull__(pTHX_1) |
| 5339 | __attribute__nonnull__(pTHX_2) |
| 5340 | __attribute__nonnull__(pTHX_3); |
| 5341 | #define PERL_ARGS_ASSERT_DOFORM \ |
| 5342 | assert(cv); assert(gv); assert(retop) |
| 5343 | |
| 5344 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) |
| 5345 | STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) |
| 5346 | __attribute__warn_unused_result__ |
| 5347 | __attribute__nonnull__(pTHX_1) |
| 5348 | __attribute__nonnull__(pTHX_2); |
| 5349 | #define PERL_ARGS_ASSERT_DOONELINER \ |
| 5350 | assert(cmd); assert(filename) |
| 5351 | |
| 5352 | # endif |
| 5353 | STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array) |
| 5354 | __attribute__nonnull__(pTHX_1); |
| 5355 | #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL \ |
| 5356 | assert(array) |
| 5357 | |
| 5358 | STATIC OP * S_tied_handle_method(pTHX_ const char *const methname, SV **sp, IO *const io, MAGIC *const mg, const U32 flags, ...) |
| 5359 | __attribute__nonnull__(pTHX_1) |
| 5360 | __attribute__nonnull__(pTHX_2) |
| 5361 | __attribute__nonnull__(pTHX_3) |
| 5362 | __attribute__nonnull__(pTHX_4); |
| 5363 | #define PERL_ARGS_ASSERT_TIED_HANDLE_METHOD \ |
| 5364 | assert(methname); assert(sp); assert(io); assert(mg) |
| 5365 | |
| 5366 | #endif |
| 5367 | |
| 5368 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT) |
| 5369 | STATIC regnode* S_reg(pTHX_ struct RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth) |
| 5370 | __attribute__nonnull__(pTHX_1) |
| 5371 | __attribute__nonnull__(pTHX_3); |
| 5372 | #define PERL_ARGS_ASSERT_REG \ |
| 5373 | assert(pRExC_state); assert(flagp) |
| 5374 | |
| 5375 | STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *pRExC_state, U8 op, U32 arg) |
| 5376 | __attribute__nonnull__(pTHX_1); |
| 5377 | #define PERL_ARGS_ASSERT_REGANODE \ |
| 5378 | assert(pRExC_state) |
| 5379 | |
| 5380 | STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth) |
| 5381 | __attribute__nonnull__(pTHX_1) |
| 5382 | __attribute__nonnull__(pTHX_2); |
| 5383 | #define PERL_ARGS_ASSERT_REGATOM \ |
| 5384 | assert(pRExC_state); assert(flagp) |
| 5385 | |
| 5386 | STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth) |
| 5387 | __attribute__nonnull__(pTHX_1) |
| 5388 | __attribute__nonnull__(pTHX_2); |
| 5389 | #define PERL_ARGS_ASSERT_REGBRANCH \ |
| 5390 | assert(pRExC_state); assert(flagp) |
| 5391 | |
| 5392 | STATIC STRLEN S_reguni(pTHX_ const struct RExC_state_t *pRExC_state, UV uv, char *s) |
| 5393 | __attribute__nonnull__(pTHX_1) |
| 5394 | __attribute__nonnull__(pTHX_3); |
| 5395 | #define PERL_ARGS_ASSERT_REGUNI \ |
| 5396 | assert(pRExC_state); assert(s) |
| 5397 | |
| 5398 | STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *pRExC_state, U32 depth) |
| 5399 | __attribute__nonnull__(pTHX_1); |
| 5400 | #define PERL_ARGS_ASSERT_REGCLASS \ |
| 5401 | assert(pRExC_state) |
| 5402 | |
| 5403 | STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *pRExC_state, U8 op) |
| 5404 | __attribute__nonnull__(pTHX_1); |
| 5405 | #define PERL_ARGS_ASSERT_REG_NODE \ |
| 5406 | assert(pRExC_state) |
| 5407 | |
| 5408 | STATIC UV S_reg_recode(pTHX_ const char value, SV **encp) |
| 5409 | __attribute__nonnull__(pTHX_2); |
| 5410 | #define PERL_ARGS_ASSERT_REG_RECODE \ |
| 5411 | assert(encp) |
| 5412 | |
| 5413 | STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth) |
| 5414 | __attribute__nonnull__(pTHX_1) |
| 5415 | __attribute__nonnull__(pTHX_2); |
| 5416 | #define PERL_ARGS_ASSERT_REGPIECE \ |
| 5417 | assert(pRExC_state); assert(flagp) |
| 5418 | |
| 5419 | STATIC regnode* S_reg_namedseq(pTHX_ struct RExC_state_t *pRExC_state, UV *valuep, I32 *flagp) |
| 5420 | __attribute__nonnull__(pTHX_1); |
| 5421 | #define PERL_ARGS_ASSERT_REG_NAMEDSEQ \ |
| 5422 | assert(pRExC_state) |
| 5423 | |
| 5424 | STATIC void S_reginsert(pTHX_ struct RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth) |
| 5425 | __attribute__nonnull__(pTHX_1) |
| 5426 | __attribute__nonnull__(pTHX_3); |
| 5427 | #define PERL_ARGS_ASSERT_REGINSERT \ |
| 5428 | assert(pRExC_state); assert(opnd) |
| 5429 | |
| 5430 | STATIC void S_regtail(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth) |
| 5431 | __attribute__nonnull__(pTHX_1) |
| 5432 | __attribute__nonnull__(pTHX_2) |
| 5433 | __attribute__nonnull__(pTHX_3); |
| 5434 | #define PERL_ARGS_ASSERT_REGTAIL \ |
| 5435 | assert(pRExC_state); assert(p); assert(val) |
| 5436 | |
| 5437 | STATIC SV * S_reg_scan_name(pTHX_ struct RExC_state_t *pRExC_state, U32 flags) |
| 5438 | __attribute__nonnull__(pTHX_1); |
| 5439 | #define PERL_ARGS_ASSERT_REG_SCAN_NAME \ |
| 5440 | assert(pRExC_state) |
| 5441 | |
| 5442 | STATIC U32 S_join_exact(pTHX_ struct RExC_state_t *pRExC_state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth) |
| 5443 | __attribute__nonnull__(pTHX_1) |
| 5444 | __attribute__nonnull__(pTHX_2) |
| 5445 | __attribute__nonnull__(pTHX_3); |
| 5446 | #define PERL_ARGS_ASSERT_JOIN_EXACT \ |
| 5447 | assert(pRExC_state); assert(scan); assert(min) |
| 5448 | |
| 5449 | STATIC char * S_regwhite(struct RExC_state_t *pRExC_state, char *p) |
| 5450 | __attribute__warn_unused_result__ |
| 5451 | __attribute__nonnull__(1) |
| 5452 | __attribute__nonnull__(2); |
| 5453 | #define PERL_ARGS_ASSERT_REGWHITE \ |
| 5454 | assert(pRExC_state); assert(p) |
| 5455 | |
| 5456 | STATIC char * S_nextchar(pTHX_ struct RExC_state_t *pRExC_state) |
| 5457 | __attribute__nonnull__(pTHX_1); |
| 5458 | #define PERL_ARGS_ASSERT_NEXTCHAR \ |
| 5459 | assert(pRExC_state) |
| 5460 | |
| 5461 | STATIC bool S_reg_skipcomment(pTHX_ struct RExC_state_t *pRExC_state) |
| 5462 | __attribute__nonnull__(pTHX_1); |
| 5463 | #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \ |
| 5464 | assert(pRExC_state) |
| 5465 | |
| 5466 | STATIC void S_scan_commit(pTHX_ const struct RExC_state_t *pRExC_state, struct scan_data_t *data, I32 *minlenp, int is_inf) |
| 5467 | __attribute__nonnull__(pTHX_1) |
| 5468 | __attribute__nonnull__(pTHX_2) |
| 5469 | __attribute__nonnull__(pTHX_3); |
| 5470 | #define PERL_ARGS_ASSERT_SCAN_COMMIT \ |
| 5471 | assert(pRExC_state); assert(data); assert(minlenp) |
| 5472 | |
| 5473 | STATIC void S_cl_anything(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl) |
| 5474 | __attribute__nonnull__(1) |
| 5475 | __attribute__nonnull__(2); |
| 5476 | #define PERL_ARGS_ASSERT_CL_ANYTHING \ |
| 5477 | assert(pRExC_state); assert(cl) |
| 5478 | |
| 5479 | STATIC int S_cl_is_anything(const struct regnode_charclass_class *cl) |
| 5480 | __attribute__warn_unused_result__ |
| 5481 | __attribute__nonnull__(1); |
| 5482 | #define PERL_ARGS_ASSERT_CL_IS_ANYTHING \ |
| 5483 | assert(cl) |
| 5484 | |
| 5485 | STATIC void S_cl_init(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl) |
| 5486 | __attribute__nonnull__(1) |
| 5487 | __attribute__nonnull__(2); |
| 5488 | #define PERL_ARGS_ASSERT_CL_INIT \ |
| 5489 | assert(pRExC_state); assert(cl) |
| 5490 | |
| 5491 | STATIC void S_cl_init_zero(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl) |
| 5492 | __attribute__nonnull__(1) |
| 5493 | __attribute__nonnull__(2); |
| 5494 | #define PERL_ARGS_ASSERT_CL_INIT_ZERO \ |
| 5495 | assert(pRExC_state); assert(cl) |
| 5496 | |
| 5497 | STATIC void S_cl_and(struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with) |
| 5498 | __attribute__nonnull__(1) |
| 5499 | __attribute__nonnull__(2); |
| 5500 | #define PERL_ARGS_ASSERT_CL_AND \ |
| 5501 | assert(cl); assert(and_with) |
| 5502 | |
| 5503 | STATIC void S_cl_or(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with) |
| 5504 | __attribute__nonnull__(1) |
| 5505 | __attribute__nonnull__(2) |
| 5506 | __attribute__nonnull__(3); |
| 5507 | #define PERL_ARGS_ASSERT_CL_OR \ |
| 5508 | assert(pRExC_state); assert(cl); assert(or_with) |
| 5509 | |
| 5510 | STATIC I32 S_study_chunk(pTHX_ struct RExC_state_t *pRExC_state, regnode **scanp, I32 *minlenp, I32 *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U8* recursed, struct regnode_charclass_class *and_withp, U32 flags, U32 depth) |
| 5511 | __attribute__nonnull__(pTHX_1) |
| 5512 | __attribute__nonnull__(pTHX_2) |
| 5513 | __attribute__nonnull__(pTHX_3) |
| 5514 | __attribute__nonnull__(pTHX_4) |
| 5515 | __attribute__nonnull__(pTHX_5); |
| 5516 | #define PERL_ARGS_ASSERT_STUDY_CHUNK \ |
| 5517 | assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last) |
| 5518 | |
| 5519 | STATIC U32 S_add_data(struct RExC_state_t *pRExC_state, U32 n, const char *s) |
| 5520 | __attribute__warn_unused_result__ |
| 5521 | __attribute__nonnull__(1) |
| 5522 | __attribute__nonnull__(3); |
| 5523 | #define PERL_ARGS_ASSERT_ADD_DATA \ |
| 5524 | assert(pRExC_state); assert(s) |
| 5525 | |
| 5526 | STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) |
| 5527 | __attribute__noreturn__ |
| 5528 | __attribute__nonnull__(pTHX_1) |
| 5529 | __attribute__nonnull__(pTHX_2); |
| 5530 | #define PERL_ARGS_ASSERT_RE_CROAK2 \ |
| 5531 | assert(pat1); assert(pat2) |
| 5532 | |
| 5533 | STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t *pRExC_state, I32 value) |
| 5534 | __attribute__nonnull__(pTHX_1); |
| 5535 | #define PERL_ARGS_ASSERT_REGPPOSIXCC \ |
| 5536 | assert(pRExC_state) |
| 5537 | |
| 5538 | STATIC void S_checkposixcc(pTHX_ struct RExC_state_t *pRExC_state) |
| 5539 | __attribute__nonnull__(pTHX_1); |
| 5540 | #define PERL_ARGS_ASSERT_CHECKPOSIXCC \ |
| 5541 | assert(pRExC_state) |
| 5542 | |
| 5543 | STATIC I32 S_make_trie(pTHX_ struct RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth) |
| 5544 | __attribute__nonnull__(pTHX_1) |
| 5545 | __attribute__nonnull__(pTHX_2) |
| 5546 | __attribute__nonnull__(pTHX_3) |
| 5547 | __attribute__nonnull__(pTHX_4) |
| 5548 | __attribute__nonnull__(pTHX_5); |
| 5549 | #define PERL_ARGS_ASSERT_MAKE_TRIE \ |
| 5550 | assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail) |
| 5551 | |
| 5552 | STATIC void S_make_trie_failtable(pTHX_ struct RExC_state_t *pRExC_state, regnode *source, regnode *stclass, U32 depth) |
| 5553 | __attribute__nonnull__(pTHX_1) |
| 5554 | __attribute__nonnull__(pTHX_2) |
| 5555 | __attribute__nonnull__(pTHX_3); |
| 5556 | #define PERL_ARGS_ASSERT_MAKE_TRIE_FAILTABLE \ |
| 5557 | assert(pRExC_state); assert(source); assert(stclass) |
| 5558 | |
| 5559 | # ifdef DEBUGGING |
| 5560 | STATIC void S_regdump_extflags(pTHX_ const char *lead, const U32 flags); |
| 5561 | 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) |
| 5562 | __attribute__nonnull__(pTHX_1) |
| 5563 | __attribute__nonnull__(pTHX_2) |
| 5564 | __attribute__nonnull__(pTHX_3) |
| 5565 | __attribute__nonnull__(pTHX_6); |
| 5566 | #define PERL_ARGS_ASSERT_DUMPUNTIL \ |
| 5567 | assert(r); assert(start); assert(node); assert(sv) |
| 5568 | |
| 5569 | STATIC void S_put_byte(pTHX_ SV* sv, int c) |
| 5570 | __attribute__nonnull__(pTHX_1); |
| 5571 | #define PERL_ARGS_ASSERT_PUT_BYTE \ |
| 5572 | assert(sv) |
| 5573 | |
| 5574 | STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth) |
| 5575 | __attribute__nonnull__(pTHX_1) |
| 5576 | __attribute__nonnull__(pTHX_3); |
| 5577 | #define PERL_ARGS_ASSERT_DUMP_TRIE \ |
| 5578 | assert(trie); assert(revcharmap) |
| 5579 | |
| 5580 | STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth) |
| 5581 | __attribute__nonnull__(pTHX_1) |
| 5582 | __attribute__nonnull__(pTHX_3); |
| 5583 | #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \ |
| 5584 | assert(trie); assert(revcharmap) |
| 5585 | |
| 5586 | STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth) |
| 5587 | __attribute__nonnull__(pTHX_1) |
| 5588 | __attribute__nonnull__(pTHX_3); |
| 5589 | #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \ |
| 5590 | assert(trie); assert(revcharmap) |
| 5591 | |
| 5592 | STATIC U8 S_regtail_study(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth) |
| 5593 | __attribute__nonnull__(pTHX_1) |
| 5594 | __attribute__nonnull__(pTHX_2) |
| 5595 | __attribute__nonnull__(pTHX_3); |
| 5596 | #define PERL_ARGS_ASSERT_REGTAIL_STUDY \ |
| 5597 | assert(pRExC_state); assert(p); assert(val) |
| 5598 | |
| 5599 | # endif |
| 5600 | #endif |
| 5601 | |
| 5602 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT) |
| 5603 | STATIC I32 S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog) |
| 5604 | __attribute__warn_unused_result__ |
| 5605 | __attribute__nonnull__(pTHX_1) |
| 5606 | __attribute__nonnull__(pTHX_2); |
| 5607 | #define PERL_ARGS_ASSERT_REGMATCH \ |
| 5608 | assert(reginfo); assert(prog) |
| 5609 | |
| 5610 | STATIC I32 S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max, int depth) |
| 5611 | __attribute__warn_unused_result__ |
| 5612 | __attribute__nonnull__(pTHX_1) |
| 5613 | __attribute__nonnull__(pTHX_2); |
| 5614 | #define PERL_ARGS_ASSERT_REGREPEAT \ |
| 5615 | assert(prog); assert(p) |
| 5616 | |
| 5617 | STATIC I32 S_regtry(pTHX_ regmatch_info *reginfo, char **startpos) |
| 5618 | __attribute__warn_unused_result__ |
| 5619 | __attribute__nonnull__(pTHX_1) |
| 5620 | __attribute__nonnull__(pTHX_2); |
| 5621 | #define PERL_ARGS_ASSERT_REGTRY \ |
| 5622 | assert(reginfo); assert(startpos) |
| 5623 | |
| 5624 | STATIC bool S_reginclass(pTHX_ const regexp *prog, const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8) |
| 5625 | __attribute__warn_unused_result__ |
| 5626 | __attribute__nonnull__(pTHX_2) |
| 5627 | __attribute__nonnull__(pTHX_3); |
| 5628 | #define PERL_ARGS_ASSERT_REGINCLASS \ |
| 5629 | assert(n); assert(p) |
| 5630 | |
| 5631 | STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor); |
| 5632 | STATIC char* S_regcppop(pTHX_ const regexp *rex) |
| 5633 | __attribute__nonnull__(pTHX_1); |
| 5634 | #define PERL_ARGS_ASSERT_REGCPPOP \ |
| 5635 | assert(rex) |
| 5636 | |
| 5637 | STATIC U8* S_reghop3(U8 *s, I32 off, const U8 *lim) |
| 5638 | __attribute__warn_unused_result__ |
| 5639 | __attribute__nonnull__(1) |
| 5640 | __attribute__nonnull__(3); |
| 5641 | #define PERL_ARGS_ASSERT_REGHOP3 \ |
| 5642 | assert(s); assert(lim) |
| 5643 | |
| 5644 | #ifdef XXX_dmq |
| 5645 | STATIC U8* S_reghop4(U8 *s, I32 off, const U8 *llim, const U8 *rlim) |
| 5646 | __attribute__warn_unused_result__ |
| 5647 | __attribute__nonnull__(1) |
| 5648 | __attribute__nonnull__(3) |
| 5649 | __attribute__nonnull__(4); |
| 5650 | #define PERL_ARGS_ASSERT_REGHOP4 \ |
| 5651 | assert(s); assert(llim); assert(rlim) |
| 5652 | |
| 5653 | #endif |
| 5654 | STATIC U8* S_reghopmaybe3(U8 *s, I32 off, const U8 *lim) |
| 5655 | __attribute__warn_unused_result__ |
| 5656 | __attribute__nonnull__(1) |
| 5657 | __attribute__nonnull__(3); |
| 5658 | #define PERL_ARGS_ASSERT_REGHOPMAYBE3 \ |
| 5659 | assert(s); assert(lim) |
| 5660 | |
| 5661 | STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo) |
| 5662 | __attribute__warn_unused_result__ |
| 5663 | __attribute__nonnull__(pTHX_1) |
| 5664 | __attribute__nonnull__(pTHX_2) |
| 5665 | __attribute__nonnull__(pTHX_3) |
| 5666 | __attribute__nonnull__(pTHX_4); |
| 5667 | #define PERL_ARGS_ASSERT_FIND_BYCLASS \ |
| 5668 | assert(prog); assert(c); assert(s); assert(strend) |
| 5669 | |
| 5670 | STATIC void S_to_utf8_substr(pTHX_ regexp * prog) |
| 5671 | __attribute__nonnull__(pTHX_1); |
| 5672 | #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \ |
| 5673 | assert(prog) |
| 5674 | |
| 5675 | STATIC void S_to_byte_substr(pTHX_ regexp * prog) |
| 5676 | __attribute__nonnull__(pTHX_1); |
| 5677 | #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \ |
| 5678 | assert(prog) |
| 5679 | |
| 5680 | STATIC I32 S_reg_check_named_buff_matched(pTHX_ const regexp *rex, const regnode *scan) |
| 5681 | __attribute__warn_unused_result__ |
| 5682 | __attribute__nonnull__(pTHX_1) |
| 5683 | __attribute__nonnull__(pTHX_2); |
| 5684 | #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \ |
| 5685 | assert(rex); assert(scan) |
| 5686 | |
| 5687 | # ifdef DEBUGGING |
| 5688 | 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) |
| 5689 | __attribute__nonnull__(pTHX_1) |
| 5690 | __attribute__nonnull__(pTHX_2) |
| 5691 | __attribute__nonnull__(pTHX_3) |
| 5692 | __attribute__nonnull__(pTHX_4) |
| 5693 | __attribute__nonnull__(pTHX_5); |
| 5694 | #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \ |
| 5695 | assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry) |
| 5696 | |
| 5697 | STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb) |
| 5698 | __attribute__nonnull__(pTHX_1) |
| 5699 | __attribute__nonnull__(pTHX_3) |
| 5700 | __attribute__nonnull__(pTHX_4) |
| 5701 | __attribute__nonnull__(pTHX_5); |
| 5702 | #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \ |
| 5703 | assert(prog); assert(start); assert(end); assert(blurb) |
| 5704 | |
| 5705 | # endif |
| 5706 | #endif |
| 5707 | |
| 5708 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
| 5709 | STATIC CV* S_deb_curcv(pTHX_ const I32 ix); |
| 5710 | STATIC void S_debprof(pTHX_ const OP *o) |
| 5711 | __attribute__nonnull__(pTHX_1); |
| 5712 | #define PERL_ARGS_ASSERT_DEBPROF \ |
| 5713 | assert(o) |
| 5714 | |
| 5715 | STATIC void S_sequence(pTHX_ const OP *o); |
| 5716 | STATIC void S_sequence_tail(pTHX_ const OP *o); |
| 5717 | STATIC UV S_sequence_num(pTHX_ const OP *o); |
| 5718 | STATIC SV* S_pm_description(pTHX_ const PMOP *pm) |
| 5719 | __attribute__nonnull__(pTHX_1); |
| 5720 | #define PERL_ARGS_ASSERT_PM_DESCRIPTION \ |
| 5721 | assert(pm) |
| 5722 | |
| 5723 | #endif |
| 5724 | |
| 5725 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
| 5726 | STATIC SV* S_save_scalar_at(pTHX_ SV **sptr, const U32 flags) |
| 5727 | __attribute__nonnull__(pTHX_1); |
| 5728 | #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \ |
| 5729 | assert(sptr) |
| 5730 | |
| 5731 | #endif |
| 5732 | |
| 5733 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
| 5734 | PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv) |
| 5735 | __attribute__nonnull__(pTHX_1) |
| 5736 | __attribute__nonnull__(pTHX_2); |
| 5737 | #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \ |
| 5738 | assert(tsv); assert(sv) |
| 5739 | |
| 5740 | #endif |
| 5741 | |
| 5742 | #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 5743 | PERL_CALLCONV int Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av) |
| 5744 | __attribute__nonnull__(pTHX_1) |
| 5745 | __attribute__nonnull__(pTHX_2); |
| 5746 | #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \ |
| 5747 | assert(sv); assert(av) |
| 5748 | |
| 5749 | #endif |
| 5750 | |
| 5751 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 5752 | STATIC char * S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob) |
| 5753 | __attribute__warn_unused_result__ |
| 5754 | __attribute__nonnull__(1) |
| 5755 | __attribute__nonnull__(5); |
| 5756 | #define PERL_ARGS_ASSERT_UIV_2BUF \ |
| 5757 | assert(buf); assert(peob) |
| 5758 | |
| 5759 | STATIC void S_sv_unglob(pTHX_ SV *const sv) |
| 5760 | __attribute__nonnull__(pTHX_1); |
| 5761 | #define PERL_ARGS_ASSERT_SV_UNGLOB \ |
| 5762 | assert(sv) |
| 5763 | |
| 5764 | STATIC void S_not_a_number(pTHX_ SV *const sv) |
| 5765 | __attribute__nonnull__(pTHX_1); |
| 5766 | #define PERL_ARGS_ASSERT_NOT_A_NUMBER \ |
| 5767 | assert(sv) |
| 5768 | |
| 5769 | STATIC I32 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask) |
| 5770 | __attribute__nonnull__(pTHX_1); |
| 5771 | #define PERL_ARGS_ASSERT_VISIT \ |
| 5772 | assert(f) |
| 5773 | |
| 5774 | STATIC void S_sv_del_backref(pTHX_ SV *const tsv, SV *const sv) |
| 5775 | __attribute__nonnull__(pTHX_1) |
| 5776 | __attribute__nonnull__(pTHX_2); |
| 5777 | #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \ |
| 5778 | assert(tsv); assert(sv) |
| 5779 | |
| 5780 | STATIC SV * S_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, I32 aindex, int subscript_type) |
| 5781 | __attribute__warn_unused_result__; |
| 5782 | |
| 5783 | # ifdef DEBUGGING |
| 5784 | STATIC void S_del_sv(pTHX_ SV *p) |
| 5785 | __attribute__nonnull__(pTHX_1); |
| 5786 | #define PERL_ARGS_ASSERT_DEL_SV \ |
| 5787 | assert(p) |
| 5788 | |
| 5789 | # endif |
| 5790 | # if !defined(NV_PRESERVES_UV) |
| 5791 | # ifdef DEBUGGING |
| 5792 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype) |
| 5793 | __attribute__nonnull__(pTHX_1); |
| 5794 | #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \ |
| 5795 | assert(sv) |
| 5796 | |
| 5797 | # else |
| 5798 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv) |
| 5799 | __attribute__nonnull__(pTHX_1); |
| 5800 | #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \ |
| 5801 | assert(sv) |
| 5802 | |
| 5803 | # endif |
| 5804 | # endif |
| 5805 | STATIC I32 S_expect_number(pTHX_ char **const pattern) |
| 5806 | __attribute__warn_unused_result__ |
| 5807 | __attribute__nonnull__(pTHX_1); |
| 5808 | #define PERL_ARGS_ASSERT_EXPECT_NUMBER \ |
| 5809 | assert(pattern) |
| 5810 | |
| 5811 | # |
| 5812 | STATIC STRLEN S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN uoffset) |
| 5813 | __attribute__nonnull__(1) |
| 5814 | __attribute__nonnull__(2); |
| 5815 | #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \ |
| 5816 | assert(start); assert(send) |
| 5817 | |
| 5818 | STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, const STRLEN uoffset, const STRLEN uend) |
| 5819 | __attribute__nonnull__(1) |
| 5820 | __attribute__nonnull__(2); |
| 5821 | #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \ |
| 5822 | assert(start); assert(send) |
| 5823 | |
| 5824 | STATIC STRLEN S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, const STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0) |
| 5825 | __attribute__nonnull__(pTHX_1) |
| 5826 | __attribute__nonnull__(pTHX_2) |
| 5827 | __attribute__nonnull__(pTHX_3) |
| 5828 | __attribute__nonnull__(pTHX_4); |
| 5829 | #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \ |
| 5830 | assert(sv); assert(mgp); assert(start); assert(send) |
| 5831 | |
| 5832 | STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen) |
| 5833 | __attribute__nonnull__(pTHX_1) |
| 5834 | __attribute__nonnull__(pTHX_2); |
| 5835 | #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \ |
| 5836 | assert(sv); assert(mgp) |
| 5837 | |
| 5838 | STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu) |
| 5839 | __attribute__nonnull__(pTHX_1) |
| 5840 | __attribute__nonnull__(pTHX_2) |
| 5841 | __attribute__nonnull__(pTHX_3); |
| 5842 | #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \ |
| 5843 | assert(s); assert(target); assert(end) |
| 5844 | |
| 5845 | STATIC char * S_F0convert(NV nv, char *const endbuf, STRLEN *const len) |
| 5846 | __attribute__nonnull__(2) |
| 5847 | __attribute__nonnull__(3); |
| 5848 | #define PERL_ARGS_ASSERT_F0CONVERT \ |
| 5849 | assert(endbuf); assert(len) |
| 5850 | |
| 5851 | # if defined(PERL_OLD_COPY_ON_WRITE) |
| 5852 | STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after) |
| 5853 | __attribute__nonnull__(pTHX_1) |
| 5854 | __attribute__nonnull__(pTHX_2) |
| 5855 | __attribute__nonnull__(pTHX_3); |
| 5856 | #define PERL_ARGS_ASSERT_SV_RELEASE_COW \ |
| 5857 | assert(sv); assert(pvx); assert(after) |
| 5858 | |
| 5859 | # endif |
| 5860 | STATIC SV * S_more_sv(pTHX); |
| 5861 | STATIC void * S_more_bodies(pTHX_ const svtype sv_type); |
| 5862 | STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv) |
| 5863 | __attribute__nonnull__(pTHX_1); |
| 5864 | #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \ |
| 5865 | assert(sv) |
| 5866 | |
| 5867 | STATIC void S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype) |
| 5868 | __attribute__nonnull__(pTHX_1) |
| 5869 | __attribute__nonnull__(pTHX_2); |
| 5870 | #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \ |
| 5871 | assert(dstr); assert(sstr) |
| 5872 | |
| 5873 | STATIC void S_glob_assign_ref(pTHX_ SV *const dstr, SV *const sstr) |
| 5874 | __attribute__nonnull__(pTHX_1) |
| 5875 | __attribute__nonnull__(pTHX_2); |
| 5876 | #define PERL_ARGS_ASSERT_GLOB_ASSIGN_REF \ |
| 5877 | assert(dstr); assert(sstr) |
| 5878 | |
| 5879 | STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv) |
| 5880 | __attribute__warn_unused_result__ |
| 5881 | __attribute__nonnull__(1); |
| 5882 | #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \ |
| 5883 | assert(tbl) |
| 5884 | |
| 5885 | #endif |
| 5886 | |
| 5887 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
| 5888 | STATIC void S_check_uni(pTHX); |
| 5889 | STATIC void S_force_next(pTHX_ I32 type); |
| 5890 | STATIC char* S_force_version(pTHX_ char *s, int guessing) |
| 5891 | __attribute__nonnull__(pTHX_1); |
| 5892 | #define PERL_ARGS_ASSERT_FORCE_VERSION \ |
| 5893 | assert(s) |
| 5894 | |
| 5895 | STATIC char* S_force_strict_version(pTHX_ char *s) |
| 5896 | __attribute__nonnull__(pTHX_1); |
| 5897 | #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \ |
| 5898 | assert(s) |
| 5899 | |
| 5900 | STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick) |
| 5901 | __attribute__nonnull__(pTHX_1); |
| 5902 | #define PERL_ARGS_ASSERT_FORCE_WORD \ |
| 5903 | assert(start) |
| 5904 | |
| 5905 | STATIC SV* S_tokeq(pTHX_ SV *sv) |
| 5906 | __attribute__nonnull__(pTHX_1); |
| 5907 | #define PERL_ARGS_ASSERT_TOKEQ \ |
| 5908 | assert(sv) |
| 5909 | |
| 5910 | STATIC void S_readpipe_override(pTHX); |
| 5911 | STATIC char* S_scan_const(pTHX_ char *start) |
| 5912 | __attribute__warn_unused_result__ |
| 5913 | __attribute__nonnull__(pTHX_1); |
| 5914 | #define PERL_ARGS_ASSERT_SCAN_CONST \ |
| 5915 | assert(start) |
| 5916 | |
| 5917 | STATIC char* S_scan_formline(pTHX_ char *s) |
| 5918 | __attribute__warn_unused_result__ |
| 5919 | __attribute__nonnull__(pTHX_1); |
| 5920 | #define PERL_ARGS_ASSERT_SCAN_FORMLINE \ |
| 5921 | assert(s) |
| 5922 | |
| 5923 | STATIC char* S_scan_heredoc(pTHX_ char *s) |
| 5924 | __attribute__warn_unused_result__ |
| 5925 | __attribute__nonnull__(pTHX_1); |
| 5926 | #define PERL_ARGS_ASSERT_SCAN_HEREDOC \ |
| 5927 | assert(s) |
| 5928 | |
| 5929 | STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni) |
| 5930 | __attribute__nonnull__(pTHX_1) |
| 5931 | __attribute__nonnull__(pTHX_2) |
| 5932 | __attribute__nonnull__(pTHX_3); |
| 5933 | #define PERL_ARGS_ASSERT_SCAN_IDENT \ |
| 5934 | assert(s); assert(send); assert(dest) |
| 5935 | |
| 5936 | STATIC char* S_scan_inputsymbol(pTHX_ char *start) |
| 5937 | __attribute__warn_unused_result__ |
| 5938 | __attribute__nonnull__(pTHX_1); |
| 5939 | #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \ |
| 5940 | assert(start) |
| 5941 | |
| 5942 | STATIC char* S_scan_pat(pTHX_ char *start, I32 type) |
| 5943 | __attribute__warn_unused_result__ |
| 5944 | __attribute__nonnull__(pTHX_1); |
| 5945 | #define PERL_ARGS_ASSERT_SCAN_PAT \ |
| 5946 | assert(start) |
| 5947 | |
| 5948 | STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims) |
| 5949 | __attribute__warn_unused_result__ |
| 5950 | __attribute__nonnull__(pTHX_1); |
| 5951 | #define PERL_ARGS_ASSERT_SCAN_STR \ |
| 5952 | assert(start) |
| 5953 | |
| 5954 | STATIC char* S_scan_subst(pTHX_ char *start) |
| 5955 | __attribute__warn_unused_result__ |
| 5956 | __attribute__nonnull__(pTHX_1); |
| 5957 | #define PERL_ARGS_ASSERT_SCAN_SUBST \ |
| 5958 | assert(start) |
| 5959 | |
| 5960 | STATIC char* S_scan_trans(pTHX_ char *start) |
| 5961 | __attribute__warn_unused_result__ |
| 5962 | __attribute__nonnull__(pTHX_1); |
| 5963 | #define PERL_ARGS_ASSERT_SCAN_TRANS \ |
| 5964 | assert(start) |
| 5965 | |
| 5966 | STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp) |
| 5967 | __attribute__nonnull__(pTHX_1) |
| 5968 | __attribute__nonnull__(pTHX_2) |
| 5969 | __attribute__nonnull__(pTHX_5); |
| 5970 | #define PERL_ARGS_ASSERT_SCAN_WORD \ |
| 5971 | assert(s); assert(dest); assert(slp) |
| 5972 | |
| 5973 | STATIC void S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len); |
| 5974 | STATIC char* S_skipspace(pTHX_ char *s) |
| 5975 | __attribute__warn_unused_result__ |
| 5976 | __attribute__nonnull__(pTHX_1); |
| 5977 | #define PERL_ARGS_ASSERT_SKIPSPACE \ |
| 5978 | assert(s) |
| 5979 | |
| 5980 | STATIC char* S_swallow_bom(pTHX_ U8 *s) |
| 5981 | __attribute__warn_unused_result__ |
| 5982 | __attribute__nonnull__(pTHX_1); |
| 5983 | #define PERL_ARGS_ASSERT_SWALLOW_BOM \ |
| 5984 | assert(s) |
| 5985 | |
| 5986 | #ifndef PERL_NO_UTF16_FILTER |
| 5987 | STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen) |
| 5988 | __attribute__nonnull__(pTHX_2); |
| 5989 | #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \ |
| 5990 | assert(sv) |
| 5991 | |
| 5992 | STATIC U8* S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed) |
| 5993 | __attribute__nonnull__(pTHX_1); |
| 5994 | #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \ |
| 5995 | assert(s) |
| 5996 | |
| 5997 | #endif |
| 5998 | STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what) |
| 5999 | __attribute__nonnull__(pTHX_1) |
| 6000 | __attribute__nonnull__(pTHX_2) |
| 6001 | __attribute__nonnull__(pTHX_3); |
| 6002 | #define PERL_ARGS_ASSERT_CHECKCOMMA \ |
| 6003 | assert(s); assert(name); assert(what) |
| 6004 | |
| 6005 | STATIC bool S_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen) |
| 6006 | __attribute__nonnull__(pTHX_1); |
| 6007 | #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED \ |
| 6008 | assert(name) |
| 6009 | |
| 6010 | STATIC void S_force_ident(pTHX_ const char *s, int kind) |
| 6011 | __attribute__nonnull__(pTHX_1); |
| 6012 | #define PERL_ARGS_ASSERT_FORCE_IDENT \ |
| 6013 | assert(s) |
| 6014 | |
| 6015 | STATIC void S_incline(pTHX_ const char *s) |
| 6016 | __attribute__nonnull__(pTHX_1); |
| 6017 | #define PERL_ARGS_ASSERT_INCLINE \ |
| 6018 | assert(s) |
| 6019 | |
| 6020 | STATIC int S_intuit_method(pTHX_ char *s, GV *gv, CV *cv) |
| 6021 | __attribute__nonnull__(pTHX_1); |
| 6022 | #define PERL_ARGS_ASSERT_INTUIT_METHOD \ |
| 6023 | assert(s) |
| 6024 | |
| 6025 | STATIC int S_intuit_more(pTHX_ char *s) |
| 6026 | __attribute__nonnull__(pTHX_1); |
| 6027 | #define PERL_ARGS_ASSERT_INTUIT_MORE \ |
| 6028 | assert(s) |
| 6029 | |
| 6030 | STATIC I32 S_lop(pTHX_ I32 f, int x, char *s) |
| 6031 | __attribute__nonnull__(pTHX_3); |
| 6032 | #define PERL_ARGS_ASSERT_LOP \ |
| 6033 | assert(s) |
| 6034 | |
| 6035 | STATIC void S_missingterm(pTHX_ char *s) |
| 6036 | __attribute__noreturn__; |
| 6037 | |
| 6038 | STATIC void S_no_op(pTHX_ const char *const what, char *s) |
| 6039 | __attribute__nonnull__(pTHX_1); |
| 6040 | #define PERL_ARGS_ASSERT_NO_OP \ |
| 6041 | assert(what) |
| 6042 | |
| 6043 | STATIC I32 S_sublex_done(pTHX) |
| 6044 | __attribute__warn_unused_result__; |
| 6045 | |
| 6046 | STATIC I32 S_sublex_push(pTHX) |
| 6047 | __attribute__warn_unused_result__; |
| 6048 | |
| 6049 | STATIC I32 S_sublex_start(pTHX) |
| 6050 | __attribute__warn_unused_result__; |
| 6051 | |
| 6052 | STATIC char * S_filter_gets(pTHX_ SV *sv, STRLEN append) |
| 6053 | __attribute__warn_unused_result__ |
| 6054 | __attribute__nonnull__(pTHX_1); |
| 6055 | #define PERL_ARGS_ASSERT_FILTER_GETS \ |
| 6056 | assert(sv) |
| 6057 | |
| 6058 | STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len) |
| 6059 | __attribute__warn_unused_result__ |
| 6060 | __attribute__nonnull__(pTHX_1); |
| 6061 | #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \ |
| 6062 | assert(pkgname) |
| 6063 | |
| 6064 | STATIC char * S_tokenize_use(pTHX_ int is_use, char *s) |
| 6065 | __attribute__warn_unused_result__ |
| 6066 | __attribute__nonnull__(pTHX_2); |
| 6067 | #define PERL_ARGS_ASSERT_TOKENIZE_USE \ |
| 6068 | assert(s) |
| 6069 | |
| 6070 | 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) |
| 6071 | __attribute__nonnull__(pTHX_3) |
| 6072 | __attribute__nonnull__(pTHX_5); |
| 6073 | #define PERL_ARGS_ASSERT_NEW_CONSTANT \ |
| 6074 | assert(key); assert(sv) |
| 6075 | |
| 6076 | STATIC int S_deprecate_commaless_var_list(pTHX); |
| 6077 | STATIC int S_ao(pTHX_ int toketype); |
| 6078 | # if defined(PERL_CR_FILTER) |
| 6079 | STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen); |
| 6080 | STATIC void S_strip_return(pTHX_ SV *sv) |
| 6081 | __attribute__nonnull__(pTHX_1); |
| 6082 | #define PERL_ARGS_ASSERT_STRIP_RETURN \ |
| 6083 | assert(sv) |
| 6084 | |
| 6085 | # endif |
| 6086 | # if defined(DEBUGGING) |
| 6087 | STATIC int S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp) |
| 6088 | __attribute__nonnull__(pTHX_2); |
| 6089 | #define PERL_ARGS_ASSERT_TOKEREPORT \ |
| 6090 | assert(lvalp) |
| 6091 | |
| 6092 | STATIC void S_printbuf(pTHX_ const char *const fmt, const char *const s) |
| 6093 | __attribute__nonnull__(pTHX_1) |
| 6094 | __attribute__nonnull__(pTHX_2); |
| 6095 | #define PERL_ARGS_ASSERT_PRINTBUF \ |
| 6096 | assert(fmt); assert(s) |
| 6097 | |
| 6098 | # endif |
| 6099 | #endif |
| 6100 | |
| 6101 | #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT) |
| 6102 | STATIC bool S_isa_lookup(pTHX_ HV *stash, const char * const name) |
| 6103 | __attribute__nonnull__(pTHX_1) |
| 6104 | __attribute__nonnull__(pTHX_2); |
| 6105 | #define PERL_ARGS_ASSERT_ISA_LOOKUP \ |
| 6106 | assert(stash); assert(name) |
| 6107 | |
| 6108 | STATIC HV * S_get_isa_hash(pTHX_ HV *const stash) |
| 6109 | __attribute__nonnull__(pTHX_1); |
| 6110 | #define PERL_ARGS_ASSERT_GET_ISA_HASH \ |
| 6111 | assert(stash) |
| 6112 | |
| 6113 | #endif |
| 6114 | |
| 6115 | #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT) |
| 6116 | #if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE) |
| 6117 | STATIC char* S_stdize_locale(pTHX_ char* locs) |
| 6118 | __attribute__nonnull__(pTHX_1); |
| 6119 | #define PERL_ARGS_ASSERT_STDIZE_LOCALE \ |
| 6120 | assert(locs) |
| 6121 | |
| 6122 | #endif |
| 6123 | #endif |
| 6124 | |
| 6125 | #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT) |
| 6126 | STATIC const COP* S_closest_cop(pTHX_ const COP *cop, const OP *o) |
| 6127 | __attribute__nonnull__(pTHX_1); |
| 6128 | #define PERL_ARGS_ASSERT_CLOSEST_COP \ |
| 6129 | assert(cop) |
| 6130 | |
| 6131 | STATIC SV* S_mess_alloc(pTHX); |
| 6132 | STATIC SV * S_with_queued_errors(pTHX_ SV *ex) |
| 6133 | __attribute__nonnull__(pTHX_1); |
| 6134 | #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \ |
| 6135 | assert(ex) |
| 6136 | |
| 6137 | STATIC bool S_invoke_exception_hook(pTHX_ SV *ex, bool warn); |
| 6138 | STATIC char * S_write_no_mem(pTHX) |
| 6139 | __attribute__noreturn__; |
| 6140 | |
| 6141 | #if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL) |
| 6142 | 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) |
| 6143 | __attribute__nonnull__(4) |
| 6144 | __attribute__nonnull__(8) |
| 6145 | __attribute__nonnull__(10); |
| 6146 | #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \ |
| 6147 | assert(type_name); assert(filename); assert(funcname) |
| 6148 | |
| 6149 | #endif |
| 6150 | #endif |
| 6151 | |
| 6152 | #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT) |
| 6153 | STATIC NV S_mulexp10(NV value, I32 exponent); |
| 6154 | #endif |
| 6155 | |
| 6156 | #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT) |
| 6157 | STATIC STRLEN S_is_utf8_char_slow(const U8 *s, const STRLEN len) |
| 6158 | __attribute__warn_unused_result__ |
| 6159 | __attribute__nonnull__(1); |
| 6160 | #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_SLOW \ |
| 6161 | assert(s) |
| 6162 | |
| 6163 | STATIC bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname) |
| 6164 | __attribute__warn_unused_result__ |
| 6165 | __attribute__nonnull__(pTHX_1) |
| 6166 | __attribute__nonnull__(pTHX_2) |
| 6167 | __attribute__nonnull__(pTHX_3); |
| 6168 | #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \ |
| 6169 | assert(p); assert(swash); assert(swashname) |
| 6170 | |
| 6171 | STATIC SV* S_swash_get(pTHX_ SV* swash, UV start, UV span) |
| 6172 | __attribute__warn_unused_result__ |
| 6173 | __attribute__nonnull__(pTHX_1); |
| 6174 | #define PERL_ARGS_ASSERT_SWASH_GET \ |
| 6175 | assert(swash) |
| 6176 | |
| 6177 | #endif |
| 6178 | |
| 6179 | START_EXTERN_C |
| 6180 | |
| 6181 | PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags) |
| 6182 | __attribute__nonnull__(pTHX_1); |
| 6183 | #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \ |
| 6184 | assert(dstr) |
| 6185 | |
| 6186 | PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags) |
| 6187 | __attribute__nonnull__(pTHX_1) |
| 6188 | __attribute__nonnull__(pTHX_2); |
| 6189 | #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \ |
| 6190 | assert(dstr); assert(sstr) |
| 6191 | |
| 6192 | PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags) |
| 6193 | __attribute__nonnull__(pTHX_1); |
| 6194 | #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \ |
| 6195 | assert(dsv) |
| 6196 | |
| 6197 | /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags) |
| 6198 | __attribute__nonnull__(pTHX_1); */ |
| 6199 | |
| 6200 | PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra) |
| 6201 | __attribute__nonnull__(pTHX_1); |
| 6202 | #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \ |
| 6203 | assert(sv) |
| 6204 | |
| 6205 | PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) |
| 6206 | __attribute__nonnull__(pTHX_1); |
| 6207 | #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \ |
| 6208 | assert(sv) |
| 6209 | |
| 6210 | PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv) |
| 6211 | __attribute__nonnull__(pTHX_1) |
| 6212 | __attribute__nonnull__(pTHX_2); |
| 6213 | #define PERL_ARGS_ASSERT_SV_COPYPV \ |
| 6214 | assert(dsv); assert(ssv) |
| 6215 | |
| 6216 | PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value) |
| 6217 | __attribute__nonnull__(pTHX_1) |
| 6218 | __attribute__nonnull__(pTHX_2); |
| 6219 | #define PERL_ARGS_ASSERT_MY_ATOF2 \ |
| 6220 | assert(s); assert(value) |
| 6221 | |
| 6222 | PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]); |
| 6223 | PERL_CALLCONV int Perl_my_dirfd(pTHX_ DIR* dir); |
| 6224 | #ifdef PERL_OLD_COPY_ON_WRITE |
| 6225 | PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr) |
| 6226 | __attribute__nonnull__(pTHX_2); |
| 6227 | #define PERL_ARGS_ASSERT_SV_SETSV_COW \ |
| 6228 | assert(sstr) |
| 6229 | |
| 6230 | #endif |
| 6231 | |
| 6232 | PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode); |
| 6233 | |
| 6234 | #if defined(USE_PERLIO) && !defined(USE_SFIO) |
| 6235 | PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f); |
| 6236 | PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f); |
| 6237 | PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f); |
| 6238 | PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f); |
| 6239 | PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f); |
| 6240 | PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f); |
| 6241 | PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f); |
| 6242 | PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt); |
| 6243 | PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt); |
| 6244 | PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f); |
| 6245 | PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) |
| 6246 | __attribute__nonnull__(pTHX_2); |
| 6247 | #define PERL_ARGS_ASSERT_PERLIO_READ \ |
| 6248 | assert(vbuf) |
| 6249 | |
| 6250 | PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) |
| 6251 | __attribute__nonnull__(pTHX_2); |
| 6252 | #define PERL_ARGS_ASSERT_PERLIO_WRITE \ |
| 6253 | assert(vbuf) |
| 6254 | |
| 6255 | PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) |
| 6256 | __attribute__nonnull__(pTHX_2); |
| 6257 | #define PERL_ARGS_ASSERT_PERLIO_UNREAD \ |
| 6258 | assert(vbuf) |
| 6259 | |
| 6260 | PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f); |
| 6261 | PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence); |
| 6262 | |
| 6263 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f); |
| 6264 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f); |
| 6265 | PERL_CALLCONV int Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f) |
| 6266 | __attribute__warn_unused_result__; |
| 6267 | |
| 6268 | PERL_CALLCONV int Perl_PerlIO_get_cnt(pTHX_ PerlIO *f) |
| 6269 | __attribute__warn_unused_result__; |
| 6270 | |
| 6271 | |
| 6272 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX) |
| 6273 | __attribute__warn_unused_result__; |
| 6274 | |
| 6275 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX) |
| 6276 | __attribute__warn_unused_result__; |
| 6277 | |
| 6278 | PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX) |
| 6279 | __attribute__warn_unused_result__; |
| 6280 | |
| 6281 | #endif /* PERLIO_LAYERS */ |
| 6282 | |
| 6283 | PERL_CALLCONV void Perl_deb_stack_all(pTHX); |
| 6284 | #if defined(PERL_IN_DEB_C) || defined(PERL_DECL_PROT) |
| 6285 | STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max) |
| 6286 | __attribute__nonnull__(pTHX_1); |
| 6287 | #define PERL_ARGS_ASSERT_DEB_STACK_N \ |
| 6288 | assert(stack_base) |
| 6289 | |
| 6290 | #endif |
| 6291 | |
| 6292 | PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags) |
| 6293 | __attribute__malloc__ |
| 6294 | __attribute__warn_unused_result__; |
| 6295 | |
| 6296 | PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv) |
| 6297 | __attribute__nonnull__(pTHX_1); |
| 6298 | #define PERL_ARGS_ASSERT_PAD_UNDEF \ |
| 6299 | assert(cv) |
| 6300 | |
| 6301 | PERL_CALLCONV PADOFFSET Perl_pad_add_name(pTHX_ const char *name, const STRLEN len, const U32 flags, HV *typestash, HV *ourstash) |
| 6302 | __attribute__nonnull__(pTHX_1); |
| 6303 | #define PERL_ARGS_ASSERT_PAD_ADD_NAME \ |
| 6304 | assert(name) |
| 6305 | |
| 6306 | PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ SV* sv, OPCODE op_type) |
| 6307 | __attribute__nonnull__(pTHX_1); |
| 6308 | #define PERL_ARGS_ASSERT_PAD_ADD_ANON \ |
| 6309 | assert(sv) |
| 6310 | |
| 6311 | #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
| 6312 | STATIC void S_pad_check_dup(pTHX_ SV *name, const U32 flags, const HV *ourstash) |
| 6313 | __attribute__nonnull__(pTHX_1); |
| 6314 | #define PERL_ARGS_ASSERT_PAD_CHECK_DUP \ |
| 6315 | assert(name) |
| 6316 | |
| 6317 | #endif |
| 6318 | #ifdef DEBUGGING |
| 6319 | PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv) |
| 6320 | __attribute__nonnull__(pTHX_2); |
| 6321 | #define PERL_ARGS_ASSERT_PAD_SETSV \ |
| 6322 | assert(sv) |
| 6323 | |
| 6324 | #endif |
| 6325 | PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full); |
| 6326 | PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type); |
| 6327 | PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full) |
| 6328 | __attribute__nonnull__(pTHX_2); |
| 6329 | #define PERL_ARGS_ASSERT_DO_DUMP_PAD \ |
| 6330 | assert(file) |
| 6331 | |
| 6332 | PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv) |
| 6333 | __attribute__nonnull__(pTHX_1) |
| 6334 | __attribute__nonnull__(pTHX_2) |
| 6335 | __attribute__nonnull__(pTHX_3); |
| 6336 | #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \ |
| 6337 | assert(padlist); assert(old_cv); assert(new_cv) |
| 6338 | |
| 6339 | |
| 6340 | PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth) |
| 6341 | __attribute__nonnull__(pTHX_1); |
| 6342 | #define PERL_ARGS_ASSERT_PAD_PUSH \ |
| 6343 | assert(padlist) |
| 6344 | |
| 6345 | PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po) |
| 6346 | __attribute__warn_unused_result__; |
| 6347 | |
| 6348 | #if defined(USE_ITHREADS) |
| 6349 | PERL_CALLCONV AV* Perl_padlist_dup(pTHX_ AV *const srcpad, CLONE_PARAMS *const param) |
| 6350 | __attribute__warn_unused_result__ |
| 6351 | __attribute__nonnull__(pTHX_2); |
| 6352 | #define PERL_ARGS_ASSERT_PADLIST_DUP \ |
| 6353 | assert(param) |
| 6354 | |
| 6355 | #endif |
| 6356 | |
| 6357 | #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
| 6358 | STATIC PADOFFSET S_pad_findlex(pTHX_ const char *name, const CV* cv, U32 seq, int warn, SV** out_capture, SV** out_name_sv, int *out_flags) |
| 6359 | __attribute__nonnull__(pTHX_1) |
| 6360 | __attribute__nonnull__(pTHX_2) |
| 6361 | __attribute__nonnull__(pTHX_6) |
| 6362 | __attribute__nonnull__(pTHX_7); |
| 6363 | #define PERL_ARGS_ASSERT_PAD_FINDLEX \ |
| 6364 | assert(name); assert(cv); assert(out_name_sv); assert(out_flags) |
| 6365 | |
| 6366 | STATIC PADOFFSET S_pad_add_name_sv(pTHX_ SV *namesv, const U32 flags, HV *typestash, HV *ourstash) |
| 6367 | __attribute__nonnull__(pTHX_1); |
| 6368 | #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \ |
| 6369 | assert(namesv) |
| 6370 | |
| 6371 | # if defined(DEBUGGING) |
| 6372 | STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title) |
| 6373 | __attribute__nonnull__(pTHX_1) |
| 6374 | __attribute__nonnull__(pTHX_2); |
| 6375 | #define PERL_ARGS_ASSERT_CV_DUMP \ |
| 6376 | assert(cv); assert(title) |
| 6377 | |
| 6378 | # endif |
| 6379 | #endif |
| 6380 | PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp) |
| 6381 | __attribute__warn_unused_result__; |
| 6382 | |
| 6383 | PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX); |
| 6384 | #if defined(DEBUGGING) |
| 6385 | PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp) |
| 6386 | __attribute__warn_unused_result__ |
| 6387 | __attribute__nonnull__(pTHX_1); |
| 6388 | #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \ |
| 6389 | assert(s) |
| 6390 | |
| 6391 | #endif |
| 6392 | PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val) |
| 6393 | __attribute__nonnull__(pTHX_1); |
| 6394 | #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \ |
| 6395 | assert(sv) |
| 6396 | |
| 6397 | #ifdef DEBUGGING |
| 6398 | PERL_CALLCONV void Perl_hv_assert(pTHX_ HV *hv) |
| 6399 | __attribute__nonnull__(pTHX_1); |
| 6400 | #define PERL_ARGS_ASSERT_HV_ASSERT \ |
| 6401 | assert(hv) |
| 6402 | |
| 6403 | #endif |
| 6404 | |
| 6405 | PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv) |
| 6406 | __attribute__warn_unused_result__ |
| 6407 | __attribute__nonnull__(pTHX_1); |
| 6408 | #define PERL_ARGS_ASSERT_HV_SCALAR \ |
| 6409 | assert(hv) |
| 6410 | |
| 6411 | PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv) |
| 6412 | __attribute__warn_unused_result__ |
| 6413 | __attribute__nonnull__(pTHX_1); |
| 6414 | #define PERL_ARGS_ASSERT_HV_RITER_P \ |
| 6415 | assert(hv) |
| 6416 | |
| 6417 | PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv) |
| 6418 | __attribute__warn_unused_result__ |
| 6419 | __attribute__nonnull__(pTHX_1); |
| 6420 | #define PERL_ARGS_ASSERT_HV_EITER_P \ |
| 6421 | assert(hv) |
| 6422 | |
| 6423 | PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter) |
| 6424 | __attribute__nonnull__(pTHX_1); |
| 6425 | #define PERL_ARGS_ASSERT_HV_RITER_SET \ |
| 6426 | assert(hv) |
| 6427 | |
| 6428 | PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter) |
| 6429 | __attribute__nonnull__(pTHX_1); |
| 6430 | #define PERL_ARGS_ASSERT_HV_EITER_SET \ |
| 6431 | assert(hv) |
| 6432 | |
| 6433 | PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags) |
| 6434 | __attribute__nonnull__(pTHX_1); |
| 6435 | #define PERL_ARGS_ASSERT_HV_NAME_SET \ |
| 6436 | assert(hv) |
| 6437 | |
| 6438 | PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv) |
| 6439 | __attribute__nonnull__(pTHX_1); |
| 6440 | #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \ |
| 6441 | assert(hv) |
| 6442 | |
| 6443 | #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 6444 | PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv) |
| 6445 | __attribute__nonnull__(pTHX_1); |
| 6446 | #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \ |
| 6447 | assert(hv) |
| 6448 | |
| 6449 | #endif |
| 6450 | PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv) |
| 6451 | __attribute__nonnull__(pTHX_1); |
| 6452 | #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \ |
| 6453 | assert(hv) |
| 6454 | |
| 6455 | PERL_CALLCONV I32* Perl_hv_placeholders_p(pTHX_ HV *hv) |
| 6456 | __attribute__warn_unused_result__ |
| 6457 | __attribute__nonnull__(pTHX_1); |
| 6458 | #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \ |
| 6459 | assert(hv) |
| 6460 | |
| 6461 | PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv) |
| 6462 | __attribute__warn_unused_result__ |
| 6463 | __attribute__nonnull__(pTHX_1); |
| 6464 | #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \ |
| 6465 | assert(hv) |
| 6466 | |
| 6467 | PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph) |
| 6468 | __attribute__nonnull__(pTHX_1); |
| 6469 | #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \ |
| 6470 | assert(hv) |
| 6471 | |
| 6472 | |
| 6473 | PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg) |
| 6474 | __attribute__nonnull__(pTHX_1) |
| 6475 | __attribute__nonnull__(pTHX_2); |
| 6476 | #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \ |
| 6477 | assert(hv); assert(mg) |
| 6478 | |
| 6479 | |
| 6480 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 6481 | STATIC SV * S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val) |
| 6482 | __attribute__nonnull__(pTHX_2); |
| 6483 | #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \ |
| 6484 | assert(val) |
| 6485 | |
| 6486 | STATIC I32 S_find_array_subscript(pTHX_ const AV *const av, const SV *const val) |
| 6487 | __attribute__nonnull__(pTHX_2); |
| 6488 | #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \ |
| 6489 | assert(val) |
| 6490 | |
| 6491 | STATIC SV* S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool top); |
| 6492 | #endif |
| 6493 | |
| 6494 | #ifdef PERL_NEED_MY_HTOLE16 |
| 6495 | PERL_CALLCONV U16 Perl_my_htole16(U16 n); |
| 6496 | #endif |
| 6497 | #ifdef PERL_NEED_MY_LETOH16 |
| 6498 | PERL_CALLCONV U16 Perl_my_letoh16(U16 n); |
| 6499 | #endif |
| 6500 | #ifdef PERL_NEED_MY_HTOBE16 |
| 6501 | PERL_CALLCONV U16 Perl_my_htobe16(U16 n); |
| 6502 | #endif |
| 6503 | #ifdef PERL_NEED_MY_BETOH16 |
| 6504 | PERL_CALLCONV U16 Perl_my_betoh16(U16 n); |
| 6505 | #endif |
| 6506 | #ifdef PERL_NEED_MY_HTOLE32 |
| 6507 | PERL_CALLCONV U32 Perl_my_htole32(U32 n); |
| 6508 | #endif |
| 6509 | #ifdef PERL_NEED_MY_LETOH32 |
| 6510 | PERL_CALLCONV U32 Perl_my_letoh32(U32 n); |
| 6511 | #endif |
| 6512 | #ifdef PERL_NEED_MY_HTOBE32 |
| 6513 | PERL_CALLCONV U32 Perl_my_htobe32(U32 n); |
| 6514 | #endif |
| 6515 | #ifdef PERL_NEED_MY_BETOH32 |
| 6516 | PERL_CALLCONV U32 Perl_my_betoh32(U32 n); |
| 6517 | #endif |
| 6518 | #ifdef PERL_NEED_MY_HTOLE64 |
| 6519 | PERL_CALLCONV U64 Perl_my_htole64(U64 n); |
| 6520 | #endif |
| 6521 | #ifdef PERL_NEED_MY_LETOH64 |
| 6522 | PERL_CALLCONV U64 Perl_my_letoh64(U64 n); |
| 6523 | #endif |
| 6524 | #ifdef PERL_NEED_MY_HTOBE64 |
| 6525 | PERL_CALLCONV U64 Perl_my_htobe64(U64 n); |
| 6526 | #endif |
| 6527 | #ifdef PERL_NEED_MY_BETOH64 |
| 6528 | PERL_CALLCONV U64 Perl_my_betoh64(U64 n); |
| 6529 | #endif |
| 6530 | |
| 6531 | #ifdef PERL_NEED_MY_HTOLES |
| 6532 | PERL_CALLCONV short Perl_my_htoles(short n); |
| 6533 | #endif |
| 6534 | #ifdef PERL_NEED_MY_LETOHS |
| 6535 | PERL_CALLCONV short Perl_my_letohs(short n); |
| 6536 | #endif |
| 6537 | #ifdef PERL_NEED_MY_HTOBES |
| 6538 | PERL_CALLCONV short Perl_my_htobes(short n); |
| 6539 | #endif |
| 6540 | #ifdef PERL_NEED_MY_BETOHS |
| 6541 | PERL_CALLCONV short Perl_my_betohs(short n); |
| 6542 | #endif |
| 6543 | #ifdef PERL_NEED_MY_HTOLEI |
| 6544 | PERL_CALLCONV int Perl_my_htolei(int n); |
| 6545 | #endif |
| 6546 | #ifdef PERL_NEED_MY_LETOHI |
| 6547 | PERL_CALLCONV int Perl_my_letohi(int n); |
| 6548 | #endif |
| 6549 | #ifdef PERL_NEED_MY_HTOBEI |
| 6550 | PERL_CALLCONV int Perl_my_htobei(int n); |
| 6551 | #endif |
| 6552 | #ifdef PERL_NEED_MY_BETOHI |
| 6553 | PERL_CALLCONV int Perl_my_betohi(int n); |
| 6554 | #endif |
| 6555 | #ifdef PERL_NEED_MY_HTOLEL |
| 6556 | PERL_CALLCONV long Perl_my_htolel(long n); |
| 6557 | #endif |
| 6558 | #ifdef PERL_NEED_MY_LETOHL |
| 6559 | PERL_CALLCONV long Perl_my_letohl(long n); |
| 6560 | #endif |
| 6561 | #ifdef PERL_NEED_MY_HTOBEL |
| 6562 | PERL_CALLCONV long Perl_my_htobel(long n); |
| 6563 | #endif |
| 6564 | #ifdef PERL_NEED_MY_BETOHL |
| 6565 | PERL_CALLCONV long Perl_my_betohl(long n); |
| 6566 | #endif |
| 6567 | |
| 6568 | PERL_CALLCONV void Perl_my_swabn(void* ptr, int n) |
| 6569 | __attribute__nonnull__(1); |
| 6570 | #define PERL_ARGS_ASSERT_MY_SWABN \ |
| 6571 | assert(ptr) |
| 6572 | |
| 6573 | |
| 6574 | PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type) |
| 6575 | __attribute__nonnull__(pTHX_1); |
| 6576 | #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \ |
| 6577 | assert(name) |
| 6578 | |
| 6579 | PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type) |
| 6580 | __attribute__nonnull__(pTHX_1); |
| 6581 | #define PERL_ARGS_ASSERT_GV_FETCHSV \ |
| 6582 | assert(name) |
| 6583 | |
| 6584 | PERL_CALLCONV bool Perl_is_gv_magical_sv(pTHX_ SV *const name_sv, U32 flags) |
| 6585 | __attribute__warn_unused_result__ |
| 6586 | __attribute__nonnull__(pTHX_1); |
| 6587 | #define PERL_ARGS_ASSERT_IS_GV_MAGICAL_SV \ |
| 6588 | assert(name_sv) |
| 6589 | |
| 6590 | |
| 6591 | PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *c, const HV *hv) |
| 6592 | __attribute__warn_unused_result__ |
| 6593 | __attribute__nonnull__(pTHX_1) |
| 6594 | __attribute__nonnull__(pTHX_2); |
| 6595 | #define PERL_ARGS_ASSERT_STASHPV_HVNAME_MATCH \ |
| 6596 | assert(c); assert(hv) |
| 6597 | |
| 6598 | |
| 6599 | #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP |
| 6600 | PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv) |
| 6601 | __attribute__nonnull__(pTHX_1); |
| 6602 | #define PERL_ARGS_ASSERT_DUMP_SV_CHILD \ |
| 6603 | assert(sv) |
| 6604 | |
| 6605 | #endif |
| 6606 | |
| 6607 | #ifdef PERL_DONT_CREATE_GVSV |
| 6608 | /* PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV *gv); */ |
| 6609 | #endif |
| 6610 | #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT) |
| 6611 | STATIC bool S_ckwarn_common(pTHX_ U32 w); |
| 6612 | #endif |
| 6613 | PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w); |
| 6614 | PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w); |
| 6615 | PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size) |
| 6616 | __attribute__malloc__ |
| 6617 | __attribute__warn_unused_result__ |
| 6618 | __attribute__nonnull__(pTHX_2); |
| 6619 | #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \ |
| 6620 | assert(bits) |
| 6621 | |
| 6622 | |
| 6623 | PERL_CALLCONV void Perl_offer_nice_chunk(pTHX_ void *const chunk, const U32 chunk_size) |
| 6624 | __attribute__nonnull__(pTHX_1); |
| 6625 | #define PERL_ARGS_ASSERT_OFFER_NICE_CHUNK \ |
| 6626 | assert(chunk) |
| 6627 | |
| 6628 | |
| 6629 | #ifndef SPRINTF_RETURNS_STRLEN |
| 6630 | PERL_CALLCONV int Perl_my_sprintf(char *buffer, const char *pat, ...) |
| 6631 | __attribute__nonnull__(1) |
| 6632 | __attribute__nonnull__(2); |
| 6633 | #define PERL_ARGS_ASSERT_MY_SPRINTF \ |
| 6634 | assert(buffer); assert(pat) |
| 6635 | |
| 6636 | #endif |
| 6637 | |
| 6638 | PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...) |
| 6639 | __attribute__format__(__printf__,3,4) |
| 6640 | __attribute__nonnull__(1) |
| 6641 | __attribute__nonnull__(3); |
| 6642 | #define PERL_ARGS_ASSERT_MY_SNPRINTF \ |
| 6643 | assert(buffer); assert(format) |
| 6644 | |
| 6645 | PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap) |
| 6646 | __attribute__nonnull__(1) |
| 6647 | __attribute__nonnull__(3); |
| 6648 | #define PERL_ARGS_ASSERT_MY_VSNPRINTF \ |
| 6649 | assert(buffer); assert(format) |
| 6650 | |
| 6651 | |
| 6652 | PERL_CALLCONV void Perl_my_clearenv(pTHX); |
| 6653 | |
| 6654 | #ifdef PERL_IMPLICIT_CONTEXT |
| 6655 | #ifdef PERL_GLOBAL_STRUCT_PRIVATE |
| 6656 | PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size) |
| 6657 | __attribute__nonnull__(pTHX_1); |
| 6658 | #define PERL_ARGS_ASSERT_MY_CXT_INIT \ |
| 6659 | assert(my_cxt_key) |
| 6660 | |
| 6661 | PERL_CALLCONV int Perl_my_cxt_index(pTHX_ const char *my_cxt_key) |
| 6662 | __attribute__nonnull__(pTHX_1); |
| 6663 | #define PERL_ARGS_ASSERT_MY_CXT_INDEX \ |
| 6664 | assert(my_cxt_key) |
| 6665 | |
| 6666 | #else |
| 6667 | PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *index, size_t size) |
| 6668 | __attribute__nonnull__(pTHX_1); |
| 6669 | #define PERL_ARGS_ASSERT_MY_CXT_INIT \ |
| 6670 | assert(index) |
| 6671 | |
| 6672 | #endif |
| 6673 | #endif |
| 6674 | |
| 6675 | #ifndef HAS_STRLCAT |
| 6676 | PERL_CALLCONV Size_t Perl_my_strlcat(char *dst, const char *src, Size_t size); |
| 6677 | #endif |
| 6678 | |
| 6679 | #ifndef HAS_STRLCPY |
| 6680 | PERL_CALLCONV Size_t Perl_my_strlcpy(char *dst, const char *src, Size_t size); |
| 6681 | #endif |
| 6682 | |
| 6683 | #ifdef PERL_MAD |
| 6684 | PERL_CALLCONV void Perl_pad_peg(const char* s) |
| 6685 | __attribute__nonnull__(1); |
| 6686 | #define PERL_ARGS_ASSERT_PAD_PEG \ |
| 6687 | assert(s) |
| 6688 | |
| 6689 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
| 6690 | STATIC void S_xmldump_attr(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
| 6691 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
| 6692 | __attribute__nonnull__(pTHX_2) |
| 6693 | __attribute__nonnull__(pTHX_3); |
| 6694 | #define PERL_ARGS_ASSERT_XMLDUMP_ATTR \ |
| 6695 | assert(file); assert(pat) |
| 6696 | |
| 6697 | #endif |
| 6698 | PERL_CALLCONV void Perl_xmldump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
| 6699 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
| 6700 | __attribute__nonnull__(pTHX_2) |
| 6701 | __attribute__nonnull__(pTHX_3); |
| 6702 | #define PERL_ARGS_ASSERT_XMLDUMP_INDENT \ |
| 6703 | assert(file); assert(pat) |
| 6704 | |
| 6705 | PERL_CALLCONV void Perl_xmldump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) |
| 6706 | __attribute__nonnull__(pTHX_2) |
| 6707 | __attribute__nonnull__(pTHX_3); |
| 6708 | #define PERL_ARGS_ASSERT_XMLDUMP_VINDENT \ |
| 6709 | assert(file); assert(pat) |
| 6710 | |
| 6711 | PERL_CALLCONV void Perl_xmldump_all(pTHX); |
| 6712 | PERL_CALLCONV void Perl_xmldump_all_perl(pTHX_ bool justperl); |
| 6713 | PERL_CALLCONV void Perl_xmldump_packsubs(pTHX_ const HV* stash) |
| 6714 | __attribute__nonnull__(pTHX_1); |
| 6715 | #define PERL_ARGS_ASSERT_XMLDUMP_PACKSUBS \ |
| 6716 | assert(stash) |
| 6717 | |
| 6718 | PERL_CALLCONV void Perl_xmldump_packsubs_perl(pTHX_ const HV* stash, bool justperl) |
| 6719 | __attribute__nonnull__(pTHX_1); |
| 6720 | #define PERL_ARGS_ASSERT_XMLDUMP_PACKSUBS_PERL \ |
| 6721 | assert(stash) |
| 6722 | |
| 6723 | PERL_CALLCONV void Perl_xmldump_sub(pTHX_ const GV* gv) |
| 6724 | __attribute__nonnull__(pTHX_1); |
| 6725 | #define PERL_ARGS_ASSERT_XMLDUMP_SUB \ |
| 6726 | assert(gv) |
| 6727 | |
| 6728 | PERL_CALLCONV void Perl_xmldump_sub_perl(pTHX_ const GV* gv, bool justperl) |
| 6729 | __attribute__nonnull__(pTHX_1); |
| 6730 | #define PERL_ARGS_ASSERT_XMLDUMP_SUB_PERL \ |
| 6731 | assert(gv) |
| 6732 | |
| 6733 | PERL_CALLCONV void Perl_xmldump_form(pTHX_ const GV* gv) |
| 6734 | __attribute__nonnull__(pTHX_1); |
| 6735 | #define PERL_ARGS_ASSERT_XMLDUMP_FORM \ |
| 6736 | assert(gv) |
| 6737 | |
| 6738 | PERL_CALLCONV void Perl_xmldump_eval(pTHX); |
| 6739 | PERL_CALLCONV char* Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv) |
| 6740 | __attribute__nonnull__(pTHX_1) |
| 6741 | __attribute__nonnull__(pTHX_2); |
| 6742 | #define PERL_ARGS_ASSERT_SV_CATXMLSV \ |
| 6743 | assert(dsv); assert(ssv) |
| 6744 | |
| 6745 | PERL_CALLCONV char* Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8) |
| 6746 | __attribute__nonnull__(pTHX_1) |
| 6747 | __attribute__nonnull__(pTHX_2); |
| 6748 | #define PERL_ARGS_ASSERT_SV_CATXMLPVN \ |
| 6749 | assert(dsv); assert(pv) |
| 6750 | |
| 6751 | PERL_CALLCONV char* Perl_sv_xmlpeek(pTHX_ SV* sv) |
| 6752 | __attribute__nonnull__(pTHX_1); |
| 6753 | #define PERL_ARGS_ASSERT_SV_XMLPEEK \ |
| 6754 | assert(sv) |
| 6755 | |
| 6756 | PERL_CALLCONV void Perl_do_pmop_xmldump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) |
| 6757 | __attribute__nonnull__(pTHX_2); |
| 6758 | #define PERL_ARGS_ASSERT_DO_PMOP_XMLDUMP \ |
| 6759 | assert(file) |
| 6760 | |
| 6761 | PERL_CALLCONV void Perl_pmop_xmldump(pTHX_ const PMOP* pm); |
| 6762 | PERL_CALLCONV void Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o) |
| 6763 | __attribute__nonnull__(pTHX_2); |
| 6764 | #define PERL_ARGS_ASSERT_DO_OP_XMLDUMP \ |
| 6765 | assert(file) |
| 6766 | |
| 6767 | PERL_CALLCONV void Perl_op_xmldump(pTHX_ const OP *o) |
| 6768 | __attribute__nonnull__(pTHX_1); |
| 6769 | #define PERL_ARGS_ASSERT_OP_XMLDUMP \ |
| 6770 | assert(o) |
| 6771 | |
| 6772 | |
| 6773 | PERL_CALLCONV TOKEN* Perl_newTOKEN(pTHX_ I32 optype, YYSTYPE lval, MADPROP* madprop); |
| 6774 | PERL_CALLCONV void Perl_token_free(pTHX_ TOKEN *tk) |
| 6775 | __attribute__nonnull__(pTHX_1); |
| 6776 | #define PERL_ARGS_ASSERT_TOKEN_FREE \ |
| 6777 | assert(tk) |
| 6778 | |
| 6779 | PERL_CALLCONV void Perl_token_getmad(pTHX_ TOKEN *tk, OP *o, char slot) |
| 6780 | __attribute__nonnull__(pTHX_1); |
| 6781 | #define PERL_ARGS_ASSERT_TOKEN_GETMAD \ |
| 6782 | assert(tk) |
| 6783 | |
| 6784 | PERL_CALLCONV void Perl_op_getmad_weak(pTHX_ OP* from, OP* o, char slot); |
| 6785 | PERL_CALLCONV void Perl_op_getmad(pTHX_ OP* from, OP* o, char slot); |
| 6786 | PERL_CALLCONV void Perl_prepend_madprops(pTHX_ MADPROP* mp, OP* o, char slot); |
| 6787 | PERL_CALLCONV void Perl_append_madprops(pTHX_ MADPROP* tm, OP* o, char slot); |
| 6788 | PERL_CALLCONV void Perl_addmad(pTHX_ MADPROP* tm, MADPROP** root, char slot); |
| 6789 | PERL_CALLCONV MADPROP* Perl_newMADsv(pTHX_ char key, SV* sv) |
| 6790 | __attribute__nonnull__(pTHX_2); |
| 6791 | #define PERL_ARGS_ASSERT_NEWMADSV \ |
| 6792 | assert(sv) |
| 6793 | |
| 6794 | PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen); |
| 6795 | PERL_CALLCONV void Perl_mad_free(pTHX_ MADPROP* mp); |
| 6796 | |
| 6797 | # if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
| 6798 | STATIC char* S_skipspace0(pTHX_ char *s) |
| 6799 | __attribute__nonnull__(pTHX_1); |
| 6800 | #define PERL_ARGS_ASSERT_SKIPSPACE0 \ |
| 6801 | assert(s) |
| 6802 | |
| 6803 | STATIC char* S_skipspace1(pTHX_ char *s) |
| 6804 | __attribute__nonnull__(pTHX_1); |
| 6805 | #define PERL_ARGS_ASSERT_SKIPSPACE1 \ |
| 6806 | assert(s) |
| 6807 | |
| 6808 | STATIC char* S_skipspace2(pTHX_ char *s, SV **sv) |
| 6809 | __attribute__nonnull__(pTHX_1); |
| 6810 | #define PERL_ARGS_ASSERT_SKIPSPACE2 \ |
| 6811 | assert(s) |
| 6812 | |
| 6813 | STATIC void S_start_force(pTHX_ int where); |
| 6814 | STATIC void S_curmad(pTHX_ char slot, SV *sv); |
| 6815 | # endif |
| 6816 | PERL_CALLCONV int Perl_madlex(pTHX); |
| 6817 | PERL_CALLCONV int Perl_madparse(pTHX); |
| 6818 | #endif |
| 6819 | #if !defined(HAS_SIGNBIT) |
| 6820 | PERL_CALLCONV int Perl_signbit(NV f) |
| 6821 | __attribute__pure__; |
| 6822 | |
| 6823 | #endif |
| 6824 | |
| 6825 | PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv) |
| 6826 | __attribute__nonnull__(pTHX_1) |
| 6827 | __attribute__nonnull__(pTHX_2); |
| 6828 | #define PERL_ARGS_ASSERT_EMULATE_COP_IO \ |
| 6829 | assert(c); assert(sv) |
| 6830 | |
| 6831 | PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv); |
| 6832 | |
| 6833 | PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which) |
| 6834 | __attribute__nonnull__(pTHX_1) |
| 6835 | __attribute__nonnull__(pTHX_2); |
| 6836 | #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \ |
| 6837 | assert(smeta); assert(which) |
| 6838 | |
| 6839 | PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data) |
| 6840 | __attribute__nonnull__(pTHX_1) |
| 6841 | __attribute__nonnull__(pTHX_2) |
| 6842 | __attribute__nonnull__(pTHX_3); |
| 6843 | #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \ |
| 6844 | assert(smeta); assert(which); assert(data) |
| 6845 | |
| 6846 | PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name) |
| 6847 | __attribute__nonnull__(pTHX_1); |
| 6848 | #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \ |
| 6849 | assert(name) |
| 6850 | |
| 6851 | PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro) |
| 6852 | __attribute__nonnull__(pTHX_1); |
| 6853 | #define PERL_ARGS_ASSERT_MRO_REGISTER \ |
| 6854 | assert(mro) |
| 6855 | |
| 6856 | PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name) |
| 6857 | __attribute__nonnull__(pTHX_1) |
| 6858 | __attribute__nonnull__(pTHX_2); |
| 6859 | #define PERL_ARGS_ASSERT_MRO_SET_MRO \ |
| 6860 | assert(meta); assert(name) |
| 6861 | |
| 6862 | PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash) |
| 6863 | __attribute__nonnull__(pTHX_1); |
| 6864 | #define PERL_ARGS_ASSERT_MRO_META_INIT \ |
| 6865 | assert(stash) |
| 6866 | |
| 6867 | #if defined(USE_ITHREADS) |
| 6868 | PERL_CALLCONV struct mro_meta* Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param) |
| 6869 | __attribute__nonnull__(pTHX_1) |
| 6870 | __attribute__nonnull__(pTHX_2); |
| 6871 | #define PERL_ARGS_ASSERT_MRO_META_DUP \ |
| 6872 | assert(smeta); assert(param) |
| 6873 | |
| 6874 | #endif |
| 6875 | PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash) |
| 6876 | __attribute__nonnull__(pTHX_1); |
| 6877 | #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \ |
| 6878 | assert(stash) |
| 6879 | |
| 6880 | #if defined(PERL_IN_MRO_C) || defined(PERL_DECL_PROT) |
| 6881 | STATIC AV* S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level) |
| 6882 | __attribute__nonnull__(pTHX_1); |
| 6883 | #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \ |
| 6884 | assert(stash) |
| 6885 | |
| 6886 | #endif |
| 6887 | PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash) |
| 6888 | __attribute__nonnull__(pTHX_1); |
| 6889 | #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \ |
| 6890 | assert(stash) |
| 6891 | |
| 6892 | PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash) |
| 6893 | __attribute__nonnull__(pTHX_1); |
| 6894 | #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \ |
| 6895 | assert(stash) |
| 6896 | |
| 6897 | PERL_CALLCONV void Perl_boot_core_mro(pTHX); |
| 6898 | PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv) |
| 6899 | __attribute__nonnull__(1) |
| 6900 | __attribute__nonnull__(2); |
| 6901 | #define PERL_ARGS_ASSERT_SYS_INIT \ |
| 6902 | assert(argc); assert(argv) |
| 6903 | |
| 6904 | PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env) |
| 6905 | __attribute__nonnull__(1) |
| 6906 | __attribute__nonnull__(2) |
| 6907 | __attribute__nonnull__(3); |
| 6908 | #define PERL_ARGS_ASSERT_SYS_INIT3 \ |
| 6909 | assert(argc); assert(argv); assert(env) |
| 6910 | |
| 6911 | PERL_CALLCONV void Perl_sys_term(void); |
| 6912 | PERL_CALLCONV const char * Perl_fetch_cop_label(pTHX_ struct refcounted_he *const chain, STRLEN *len, U32 *flags); |
| 6913 | PERL_CALLCONV struct refcounted_he * Perl_store_cop_label(pTHX_ struct refcounted_he *const chain, const char *label) |
| 6914 | __attribute__nonnull__(pTHX_2); |
| 6915 | #define PERL_ARGS_ASSERT_STORE_COP_LABEL \ |
| 6916 | assert(label) |
| 6917 | |
| 6918 | |
| 6919 | PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr) |
| 6920 | __attribute__nonnull__(pTHX_1) |
| 6921 | __attribute__nonnull__(pTHX_3); |
| 6922 | #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \ |
| 6923 | assert(keyword_ptr); assert(op_ptr) |
| 6924 | |
| 6925 | |
| 6926 | #if defined(USE_ITHREADS) |
| 6927 | # if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
| 6928 | STATIC void S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced) |
| 6929 | __attribute__nonnull__(pTHX_1); |
| 6930 | #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \ |
| 6931 | assert(unreferenced) |
| 6932 | |
| 6933 | # endif |
| 6934 | PERL_CALLCONV CLONE_PARAMS * Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to) |
| 6935 | __attribute__malloc__ |
| 6936 | __attribute__warn_unused_result__ |
| 6937 | __attribute__nonnull__(1) |
| 6938 | __attribute__nonnull__(2); |
| 6939 | #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \ |
| 6940 | assert(from); assert(to) |
| 6941 | |
| 6942 | PERL_CALLCONV void Perl_clone_params_del(CLONE_PARAMS *param) |
| 6943 | __attribute__nonnull__(1); |
| 6944 | #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \ |
| 6945 | assert(param) |
| 6946 | |
| 6947 | #endif |
| 6948 | END_EXTERN_C |
| 6949 | /* |
| 6950 | * ex: set ts=8 sts=4 sw=4 noet: |
| 6951 | */ |
| 6952 | /* ex: set ro: */ |