1 /* -*- buffer-read-only: t -*-
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6 * 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, by Larry Wall and others
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.
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!
16 * Edit those files and run 'make regen_headers' to effect changes.
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)
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 \
42 PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl)
43 __attribute__nonnull__(1);
44 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \
47 PERL_CALLCONV void perl_free(PerlInterpreter *my_perl)
48 __attribute__nonnull__(1);
49 #define PERL_ARGS_ASSERT_PERL_FREE \
52 PERL_CALLCONV int perl_run(PerlInterpreter *my_perl)
53 __attribute__nonnull__(1);
54 #define PERL_ARGS_ASSERT_PERL_RUN \
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 \
62 PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
63 __attribute__warn_unused_result__;
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 \
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)
89 PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
91 __attribute__warn_unused_result__;
93 PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
95 __attribute__warn_unused_result__;
97 PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
99 __attribute__warn_unused_result__;
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 \
109 PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes)
110 __attribute__warn_unused_result__;
114 PERL_CALLCONV void* Perl_get_context(void)
115 __attribute__warn_unused_result__;
117 PERL_CALLCONV void Perl_set_context(void *t)
118 __attribute__nonnull__(1);
119 #define PERL_ARGS_ASSERT_SET_CONTEXT \
125 /* functions with flag 'n' should come before here */
127 # include "pp_proto.h"
128 PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
129 __attribute__nonnull__(pTHX_1)
130 __attribute__nonnull__(pTHX_2);
131 #define PERL_ARGS_ASSERT_AMAGIC_CALL \
132 assert(left); assert(right)
134 PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash)
135 __attribute__nonnull__(pTHX_1);
136 #define PERL_ARGS_ASSERT_GV_AMUPDATE \
139 PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
140 __attribute__warn_unused_result__;
142 PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last);
143 PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
144 PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
145 __attribute__nonnull__(pTHX_2)
146 __attribute__nonnull__(pTHX_3);
147 #define PERL_ARGS_ASSERT_APPLY \
148 assert(mark); assert(sp)
150 PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
151 __attribute__nonnull__(pTHX_1)
152 __attribute__nonnull__(pTHX_2)
153 __attribute__nonnull__(pTHX_3);
154 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
155 assert(stashpv); assert(cv); assert(attrstr)
157 PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av)
158 __attribute__nonnull__(pTHX_1);
159 #define PERL_ARGS_ASSERT_AV_CLEAR \
162 PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
163 __attribute__nonnull__(pTHX_1);
164 #define PERL_ARGS_ASSERT_AV_DELETE \
167 PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, I32 key)
168 __attribute__warn_unused_result__
169 __attribute__nonnull__(pTHX_1);
170 #define PERL_ARGS_ASSERT_AV_EXISTS \
173 PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, I32 key)
174 __attribute__nonnull__(pTHX_1);
175 #define PERL_ARGS_ASSERT_AV_EXTEND \
178 PERL_CALLCONV AV* Perl_av_fake(pTHX_ I32 size, SV **strp)
179 __attribute__warn_unused_result__
180 __attribute__nonnull__(pTHX_2);
181 #define PERL_ARGS_ASSERT_AV_FAKE \
184 PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval)
185 __attribute__warn_unused_result__
186 __attribute__nonnull__(pTHX_1);
187 #define PERL_ARGS_ASSERT_AV_FETCH \
190 PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, I32 fill)
191 __attribute__nonnull__(pTHX_1);
192 #define PERL_ARGS_ASSERT_AV_FILL \
195 PERL_CALLCONV I32 Perl_av_len(pTHX_ AV *av)
196 __attribute__warn_unused_result__
197 __attribute__nonnull__(pTHX_1);
198 #define PERL_ARGS_ASSERT_AV_LEN \
201 PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV **strp)
202 __attribute__warn_unused_result__
203 __attribute__nonnull__(pTHX_2);
204 #define PERL_ARGS_ASSERT_AV_MAKE \
207 PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av)
208 __attribute__nonnull__(pTHX_1);
209 #define PERL_ARGS_ASSERT_AV_POP \
212 PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
213 __attribute__nonnull__(pTHX_1)
214 __attribute__nonnull__(pTHX_2);
215 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
216 assert(avp); assert(val)
218 PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val)
219 __attribute__nonnull__(pTHX_1)
220 __attribute__nonnull__(pTHX_2);
221 #define PERL_ARGS_ASSERT_AV_PUSH \
222 assert(av); assert(val)
224 PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av)
225 __attribute__nonnull__(pTHX_1);
226 #define PERL_ARGS_ASSERT_AV_REIFY \
229 PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
230 __attribute__warn_unused_result__
231 __attribute__nonnull__(pTHX_1);
232 #define PERL_ARGS_ASSERT_AV_SHIFT \
235 PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, I32 key, SV *val)
236 __attribute__nonnull__(pTHX_1);
237 #define PERL_ARGS_ASSERT_AV_STORE \
240 PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av)
241 __attribute__nonnull__(pTHX_1);
242 #define PERL_ARGS_ASSERT_AV_UNDEF \
245 PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
246 __attribute__nonnull__(pTHX_1)
247 __attribute__nonnull__(pTHX_2);
248 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
249 assert(avp); assert(val)
251 PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, I32 num)
252 __attribute__nonnull__(pTHX_1);
253 #define PERL_ARGS_ASSERT_AV_UNSHIFT \
256 PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av)
257 __attribute__nonnull__(pTHX_1);
258 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \
261 PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av)
262 __attribute__nonnull__(pTHX_1);
263 #define PERL_ARGS_ASSERT_AV_ITER_P \
266 #if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT)
267 STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av)
268 __attribute__nonnull__(pTHX_1);
269 #define PERL_ARGS_ASSERT_GET_AUX_MG \
273 PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
274 __attribute__warn_unused_result__
275 __attribute__nonnull__(pTHX_2)
276 __attribute__nonnull__(pTHX_3);
277 #define PERL_ARGS_ASSERT_BIND_MATCH \
278 assert(left); assert(right)
280 PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
281 __attribute__warn_unused_result__;
283 PERL_CALLCONV I32 Perl_block_gimme(pTHX)
284 __attribute__warn_unused_result__;
286 PERL_CALLCONV int Perl_block_start(pTHX_ int full)
287 __attribute__warn_unused_result__;
289 PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX);
290 PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX);
291 PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
292 __attribute__nonnull__(pTHX_2);
293 #define PERL_ARGS_ASSERT_CALL_LIST \
296 PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
297 __attribute__warn_unused_result__
298 __attribute__nonnull__(pTHX_3);
299 #define PERL_ARGS_ASSERT_CANDO \
302 PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f)
303 __attribute__warn_unused_result__;
305 PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f)
306 __attribute__warn_unused_result__;
308 PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f)
309 __attribute__warn_unused_result__;
311 PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f)
312 __attribute__warn_unused_result__;
314 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
315 PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length)
316 __attribute__warn_unused_result__;
319 PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
320 __attribute__warn_unused_result__;
322 PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags);
323 PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...)
324 __attribute__noreturn__
325 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
327 PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args)
328 __attribute__noreturn__;
330 PERL_CALLCONV void Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
331 __attribute__noreturn__
332 __attribute__nonnull__(pTHX_1)
333 __attribute__nonnull__(pTHX_2);
334 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
335 assert(cv); assert(params)
338 #if defined(PERL_IMPLICIT_CONTEXT)
339 PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...)
340 __attribute__noreturn__
341 __attribute__format__null_ok__(__printf__,1,2);
343 PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...)
344 __attribute__format__(__printf__,1,2)
345 __attribute__nonnull__(1);
346 #define PERL_ARGS_ASSERT_DIE_NOCONTEXT \
349 PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...)
350 __attribute__format__(__printf__,1,2)
351 __attribute__nonnull__(1);
352 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
355 PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...)
356 __attribute__format__(__printf__,1,2)
357 __attribute__nonnull__(1);
358 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
361 PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
362 __attribute__nonnull__(2);
363 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
366 PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...)
367 __attribute__format__(__printf__,1,2)
368 __attribute__nonnull__(1);
369 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
372 PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...)
373 __attribute__format__(__printf__,1,2)
374 __attribute__nonnull__(1);
375 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
378 PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...)
379 __attribute__format__(__printf__,2,3)
380 __attribute__nonnull__(2);
381 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
384 PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...)
385 __attribute__format__(__printf__,1,2)
386 __attribute__nonnull__(1);
387 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
390 PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
391 __attribute__format__(__printf__,2,3)
392 __attribute__nonnull__(1)
393 __attribute__nonnull__(2);
394 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
395 assert(sv); assert(pat)
397 PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
398 __attribute__format__(__printf__,2,3)
399 __attribute__nonnull__(1)
400 __attribute__nonnull__(2);
401 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
402 assert(sv); assert(pat)
404 PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
405 __attribute__format__(__printf__,2,3)
406 __attribute__nonnull__(1)
407 __attribute__nonnull__(2);
408 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
409 assert(sv); assert(pat)
411 PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
412 __attribute__format__(__printf__,2,3)
413 __attribute__nonnull__(1)
414 __attribute__nonnull__(2);
415 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
416 assert(sv); assert(pat)
418 PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
419 __attribute__format__(__printf__,2,3)
420 __attribute__nonnull__(1)
421 __attribute__nonnull__(2);
422 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT \
423 assert(stream); assert(format)
425 PERL_CALLCONV int Perl_printf_nocontext(const char *format, ...)
426 __attribute__format__(__printf__,1,2)
427 __attribute__nonnull__(1);
428 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT \
432 PERL_CALLCONV void Perl_cv_ckproto(pTHX_ const CV* cv, const GV* gv, const char* p)
433 __attribute__nonnull__(pTHX_1);
434 #define PERL_ARGS_ASSERT_CV_CKPROTO \
437 PERL_CALLCONV void Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len)
438 __attribute__nonnull__(pTHX_1);
439 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \
442 PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto)
443 __attribute__nonnull__(pTHX_1);
444 #define PERL_ARGS_ASSERT_CV_CLONE \
447 PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
448 __attribute__warn_unused_result__
449 __attribute__nonnull__(pTHX_1);
450 #define PERL_ARGS_ASSERT_GV_CONST_SV \
453 PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ const CV *const cv)
454 __attribute__warn_unused_result__;
456 PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
457 __attribute__warn_unused_result__;
459 PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv)
460 __attribute__nonnull__(pTHX_1);
461 #define PERL_ARGS_ASSERT_CV_UNDEF \
464 PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
465 __attribute__nonnull__(pTHX_1);
466 #define PERL_ARGS_ASSERT_CX_DUMP \
469 PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
470 PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp)
471 __attribute__nonnull__(pTHX_1);
472 #define PERL_ARGS_ASSERT_FILTER_DEL \
475 PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
476 __attribute__warn_unused_result__
477 __attribute__nonnull__(pTHX_2);
478 #define PERL_ARGS_ASSERT_FILTER_READ \
481 PERL_CALLCONV char** Perl_get_op_descs(pTHX)
482 __attribute__warn_unused_result__
485 PERL_CALLCONV char** Perl_get_op_names(pTHX)
486 __attribute__warn_unused_result__
489 PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
490 __attribute__warn_unused_result__
493 PERL_CALLCONV U32* Perl_get_opargs(pTHX)
494 __attribute__warn_unused_result__
497 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
498 __attribute__warn_unused_result__
501 PERL_CALLCONV I32 Perl_cxinc(pTHX)
502 __attribute__warn_unused_result__;
504 PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
505 __attribute__format__(__printf__,pTHX_1,pTHX_2)
506 __attribute__nonnull__(pTHX_1);
507 #define PERL_ARGS_ASSERT_DEB \
510 PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args)
511 __attribute__nonnull__(pTHX_1);
512 #define PERL_ARGS_ASSERT_VDEB \
515 PERL_CALLCONV void Perl_debprofdump(pTHX);
516 PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o)
517 __attribute__nonnull__(pTHX_1);
518 #define PERL_ARGS_ASSERT_DEBOP \
521 PERL_CALLCONV I32 Perl_debstack(pTHX);
522 PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
523 PERL_CALLCONV char* Perl_delimcpy(pTHX_ char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
524 __attribute__nonnull__(pTHX_1)
525 __attribute__nonnull__(pTHX_2)
526 __attribute__nonnull__(pTHX_3)
527 __attribute__nonnull__(pTHX_4)
528 __attribute__nonnull__(pTHX_6);
529 #define PERL_ARGS_ASSERT_DELIMCPY \
530 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
532 PERL_CALLCONV void Perl_delete_eval_scope(pTHX);
533 PERL_CALLCONV void Perl_deprecate(pTHX_ const char *const s)
534 __attribute__nonnull__(pTHX_1);
535 #define PERL_ARGS_ASSERT_DEPRECATE \
538 PERL_CALLCONV void Perl_deprecate_old(pTHX_ const char *const s)
539 __attribute__nonnull__(pTHX_1);
540 #define PERL_ARGS_ASSERT_DEPRECATE_OLD \
543 PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...)
544 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
546 PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args);
547 PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen);
548 PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
549 /* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
550 __attribute__nonnull__(pTHX_2)
551 __attribute__nonnull__(pTHX_3); */
552 #define PERL_ARGS_ASSERT_DO_AEXEC \
553 assert(mark); assert(sp)
555 PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
556 __attribute__nonnull__(pTHX_2)
557 __attribute__nonnull__(pTHX_3);
558 #define PERL_ARGS_ASSERT_DO_AEXEC5 \
559 assert(mark); assert(sp)
561 PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
562 __attribute__nonnull__(pTHX_1);
563 #define PERL_ARGS_ASSERT_DO_BINMODE \
566 PERL_CALLCONV void Perl_do_chop(pTHX_ SV *astr, SV *sv)
567 __attribute__nonnull__(pTHX_1)
568 __attribute__nonnull__(pTHX_2);
569 #define PERL_ARGS_ASSERT_DO_CHOP \
570 assert(astr); assert(sv)
572 PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
573 PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
574 __attribute__nonnull__(pTHX_1);
575 #define PERL_ARGS_ASSERT_DO_EOF \
579 #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
580 /* PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
581 __attribute__nonnull__(pTHX_1); */
582 #define PERL_ARGS_ASSERT_DO_EXEC \
586 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
587 __attribute__nonnull__(pTHX_1);
588 #define PERL_ARGS_ASSERT_DO_EXEC \
593 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
594 PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
595 __attribute__nonnull__(pTHX_2)
596 __attribute__nonnull__(pTHX_3);
597 #define PERL_ARGS_ASSERT_DO_ASPAWN \
598 assert(mark); assert(sp)
600 PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd)
601 __attribute__nonnull__(pTHX_1);
602 #define PERL_ARGS_ASSERT_DO_SPAWN \
605 PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd)
606 __attribute__nonnull__(pTHX_1);
607 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
612 PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
613 __attribute__nonnull__(pTHX_1);
614 #define PERL_ARGS_ASSERT_DO_EXEC3 \
618 PERL_CALLCONV void Perl_do_execfree(pTHX);
619 #ifdef PERL_IN_DOIO_C
620 STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
621 __attribute__nonnull__(pTHX_1);
622 #define PERL_ARGS_ASSERT_EXEC_FAILED \
626 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
627 PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
628 __attribute__nonnull__(pTHX_2)
629 __attribute__nonnull__(pTHX_3);
630 #define PERL_ARGS_ASSERT_DO_IPCCTL \
631 assert(mark); assert(sp)
633 PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
634 __attribute__nonnull__(pTHX_2)
635 __attribute__nonnull__(pTHX_3);
636 #define PERL_ARGS_ASSERT_DO_IPCGET \
637 assert(mark); assert(sp)
639 PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
640 __attribute__nonnull__(pTHX_1)
641 __attribute__nonnull__(pTHX_2);
642 #define PERL_ARGS_ASSERT_DO_MSGRCV \
643 assert(mark); assert(sp)
645 PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
646 __attribute__nonnull__(pTHX_1)
647 __attribute__nonnull__(pTHX_2);
648 #define PERL_ARGS_ASSERT_DO_MSGSND \
649 assert(mark); assert(sp)
651 PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp)
652 __attribute__nonnull__(pTHX_1)
653 __attribute__nonnull__(pTHX_2);
654 #define PERL_ARGS_ASSERT_DO_SEMOP \
655 assert(mark); assert(sp)
657 PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
658 __attribute__nonnull__(pTHX_2)
659 __attribute__nonnull__(pTHX_3);
660 #define PERL_ARGS_ASSERT_DO_SHMIO \
661 assert(mark); assert(sp)
664 PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
665 __attribute__nonnull__(pTHX_1)
666 __attribute__nonnull__(pTHX_2)
667 __attribute__nonnull__(pTHX_3)
668 __attribute__nonnull__(pTHX_4);
669 #define PERL_ARGS_ASSERT_DO_JOIN \
670 assert(sv); assert(delim); assert(mark); assert(sp)
672 PERL_CALLCONV OP* Perl_do_kv(pTHX);
673 /* PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
674 __attribute__nonnull__(pTHX_1)
675 __attribute__nonnull__(pTHX_2); */
676 #define PERL_ARGS_ASSERT_DO_OPEN \
677 assert(gv); assert(name)
679 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)
680 __attribute__nonnull__(pTHX_1)
681 __attribute__nonnull__(pTHX_2)
682 __attribute__nonnull__(pTHX_8);
683 #define PERL_ARGS_ASSERT_DO_OPEN9 \
684 assert(gv); assert(name); assert(svs)
686 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)
687 __attribute__nonnull__(pTHX_1)
688 __attribute__nonnull__(pTHX_2);
689 #define PERL_ARGS_ASSERT_DO_OPENN \
690 assert(gv); assert(oname)
692 PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
693 __attribute__nonnull__(pTHX_2);
694 #define PERL_ARGS_ASSERT_DO_PRINT \
697 PERL_CALLCONV OP* Perl_do_readline(pTHX)
698 __attribute__warn_unused_result__;
700 PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv)
701 __attribute__nonnull__(pTHX_1);
702 #define PERL_ARGS_ASSERT_DO_CHOMP \
705 PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
706 PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
707 __attribute__nonnull__(pTHX_1)
708 __attribute__nonnull__(pTHX_3);
709 #define PERL_ARGS_ASSERT_DO_SPRINTF \
710 assert(sv); assert(sarg)
712 PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
713 __attribute__nonnull__(pTHX_1);
714 #define PERL_ARGS_ASSERT_DO_SYSSEEK \
717 PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
718 __attribute__warn_unused_result__
719 __attribute__nonnull__(pTHX_1);
720 #define PERL_ARGS_ASSERT_DO_TELL \
723 PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv)
724 __attribute__nonnull__(pTHX_1);
725 #define PERL_ARGS_ASSERT_DO_TRANS \
728 PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size)
729 __attribute__nonnull__(pTHX_1);
730 #define PERL_ARGS_ASSERT_DO_VECGET \
733 PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv)
734 __attribute__nonnull__(pTHX_1);
735 #define PERL_ARGS_ASSERT_DO_VECSET \
738 PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
739 __attribute__nonnull__(pTHX_2)
740 __attribute__nonnull__(pTHX_3)
741 __attribute__nonnull__(pTHX_4);
742 #define PERL_ARGS_ASSERT_DO_VOP \
743 assert(sv); assert(left); assert(right)
745 PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin)
746 __attribute__nonnull__(pTHX_1);
747 #define PERL_ARGS_ASSERT_DOFILE \
750 PERL_CALLCONV I32 Perl_dowantarray(pTHX)
751 __attribute__warn_unused_result__;
753 PERL_CALLCONV void Perl_dump_all(pTHX);
754 PERL_CALLCONV void Perl_dump_eval(pTHX);
755 #if defined(DUMP_FDS)
756 PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s)
757 __attribute__nonnull__(pTHX_1);
758 #define PERL_ARGS_ASSERT_DUMP_FDS \
762 PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv)
763 __attribute__nonnull__(pTHX_1);
764 #define PERL_ARGS_ASSERT_DUMP_FORM \
767 PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv)
768 __attribute__nonnull__(pTHX_1);
769 #define PERL_ARGS_ASSERT_GV_DUMP \
772 PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o)
773 __attribute__nonnull__(pTHX_1);
774 #define PERL_ARGS_ASSERT_OP_DUMP \
777 PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
778 PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash)
779 __attribute__nonnull__(pTHX_1);
780 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
783 PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv)
784 __attribute__nonnull__(pTHX_1);
785 #define PERL_ARGS_ASSERT_DUMP_SUB \
788 PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
789 __attribute__nonnull__(pTHX_1);
790 #define PERL_ARGS_ASSERT_FBM_COMPILE \
793 PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
794 __attribute__warn_unused_result__
795 __attribute__nonnull__(pTHX_1)
796 __attribute__nonnull__(pTHX_2)
797 __attribute__nonnull__(pTHX_3);
798 #define PERL_ARGS_ASSERT_FBM_INSTR \
799 assert(big); assert(bigend); assert(littlestr)
801 PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
802 __attribute__nonnull__(pTHX_1);
803 #define PERL_ARGS_ASSERT_FIND_SCRIPT \
806 PERL_CALLCONV OP* Perl_force_list(pTHX_ OP* arg);
807 PERL_CALLCONV OP* Perl_fold_constants(pTHX_ OP *o)
808 __attribute__nonnull__(pTHX_1);
809 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
812 PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
813 __attribute__format__(__printf__,pTHX_1,pTHX_2)
814 __attribute__nonnull__(pTHX_1);
815 #define PERL_ARGS_ASSERT_FORM \
818 PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args)
819 __attribute__nonnull__(pTHX_1);
820 #define PERL_ARGS_ASSERT_VFORM \
823 PERL_CALLCONV void Perl_free_tmps(pTHX);
824 PERL_CALLCONV OP* Perl_gen_constant_list(pTHX_ OP* o);
825 #if !defined(HAS_GETENV_LEN)
826 PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
827 __attribute__nonnull__(pTHX_1)
828 __attribute__nonnull__(pTHX_2);
829 #define PERL_ARGS_ASSERT_GETENV_LEN \
830 assert(env_elem); assert(len)
833 PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
834 __attribute__nonnull__(pTHX_2);
835 #define PERL_ARGS_ASSERT_GET_DB_SUB \
838 PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
839 PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
840 PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV* gv)
841 __attribute__nonnull__(pTHX_1);
842 #define PERL_ARGS_ASSERT_GV_AVADD \
845 PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV* gv)
846 __attribute__nonnull__(pTHX_1);
847 #define PERL_ARGS_ASSERT_GV_HVADD \
850 PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv)
851 __attribute__nonnull__(pTHX_1);
852 #define PERL_ARGS_ASSERT_GV_IOADD \
855 PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
856 __attribute__warn_unused_result__
857 __attribute__nonnull__(pTHX_2);
858 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4 \
861 PERL_CALLCONV void Perl_gv_check(pTHX_ const HV* stash)
862 __attribute__nonnull__(pTHX_1);
863 #define PERL_ARGS_ASSERT_GV_CHECK \
866 PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
867 __attribute__nonnull__(pTHX_1)
868 __attribute__nonnull__(pTHX_2);
869 #define PERL_ARGS_ASSERT_GV_EFULLNAME \
870 assert(sv); assert(gv)
872 /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
873 __attribute__nonnull__(pTHX_1)
874 __attribute__nonnull__(pTHX_2); */
875 #define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
876 assert(sv); assert(gv)
878 PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
879 __attribute__nonnull__(pTHX_1)
880 __attribute__nonnull__(pTHX_2);
881 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
882 assert(sv); assert(gv)
884 PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name)
885 __attribute__nonnull__(pTHX_1);
886 #define PERL_ARGS_ASSERT_GV_FETCHFILE \
889 PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
890 __attribute__nonnull__(pTHX_1);
891 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
894 PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
895 __attribute__nonnull__(pTHX_2);
896 #define PERL_ARGS_ASSERT_GV_FETCHMETH \
899 PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
900 __attribute__nonnull__(pTHX_2);
901 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD \
904 /* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
905 __attribute__nonnull__(pTHX_1)
906 __attribute__nonnull__(pTHX_2); */
907 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
908 assert(stash); assert(name)
910 PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
911 __attribute__nonnull__(pTHX_1)
912 __attribute__nonnull__(pTHX_2);
913 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
914 assert(stash); assert(name)
916 PERL_CALLCONV GV* Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
917 __attribute__nonnull__(pTHX_1)
918 __attribute__nonnull__(pTHX_2);
919 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS \
920 assert(stash); assert(name)
922 PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
923 __attribute__nonnull__(pTHX_1);
924 #define PERL_ARGS_ASSERT_GV_FETCHPV \
927 PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
928 __attribute__nonnull__(pTHX_1)
929 __attribute__nonnull__(pTHX_2);
930 #define PERL_ARGS_ASSERT_GV_FULLNAME \
931 assert(sv); assert(gv)
933 /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
934 __attribute__nonnull__(pTHX_1)
935 __attribute__nonnull__(pTHX_2); */
936 #define PERL_ARGS_ASSERT_GV_FULLNAME3 \
937 assert(sv); assert(gv)
939 PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
940 __attribute__nonnull__(pTHX_1)
941 __attribute__nonnull__(pTHX_2);
942 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \
943 assert(sv); assert(gv)
945 PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv)
946 __attribute__nonnull__(pTHX_1);
947 #define PERL_ARGS_ASSERT_NEWGP \
950 PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
951 __attribute__nonnull__(pTHX_1)
952 __attribute__nonnull__(pTHX_3);
953 #define PERL_ARGS_ASSERT_GV_INIT \
954 assert(gv); assert(name)
956 PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
957 __attribute__nonnull__(pTHX_1)
958 __attribute__nonnull__(pTHX_2);
959 #define PERL_ARGS_ASSERT_GV_NAME_SET \
960 assert(gv); assert(name)
962 PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
963 __attribute__nonnull__(pTHX_1);
964 #define PERL_ARGS_ASSERT_GV_STASHPV \
967 PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
968 __attribute__nonnull__(pTHX_1);
969 #define PERL_ARGS_ASSERT_GV_STASHPVN \
972 PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
973 __attribute__nonnull__(pTHX_1);
974 #define PERL_ARGS_ASSERT_GV_STASHSV \
977 PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
978 PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv);
979 PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
980 __attribute__nonnull__(pTHX_1);
981 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \
984 /* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
985 __attribute__nonnull__(pTHX_2); */
986 #define PERL_ARGS_ASSERT_HV_DELETE \
989 /* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
990 __attribute__nonnull__(pTHX_2); */
991 #define PERL_ARGS_ASSERT_HV_DELETE_ENT \
994 /* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
995 __attribute__warn_unused_result__
996 __attribute__nonnull__(pTHX_2); */
997 #define PERL_ARGS_ASSERT_HV_EXISTS \
1000 /* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1001 __attribute__warn_unused_result__
1002 __attribute__nonnull__(pTHX_2); */
1003 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1006 /* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
1007 __attribute__nonnull__(pTHX_2); */
1008 #define PERL_ARGS_ASSERT_HV_FETCH \
1011 /* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
1012 __attribute__nonnull__(pTHX_2); */
1013 #define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1016 PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1017 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)
1018 __attribute__nonnull__(pTHX_2);
1019 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1022 PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
1023 __attribute__nonnull__(pTHX_1);
1024 #define PERL_ARGS_ASSERT_HV_FREE_ENT \
1027 PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv)
1028 __attribute__nonnull__(pTHX_1);
1029 #define PERL_ARGS_ASSERT_HV_ITERINIT \
1032 PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1033 __attribute__warn_unused_result__
1034 __attribute__nonnull__(pTHX_1)
1035 __attribute__nonnull__(pTHX_2);
1036 #define PERL_ARGS_ASSERT_HV_ITERKEY \
1037 assert(entry); assert(retlen)
1039 PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
1040 __attribute__warn_unused_result__
1041 __attribute__nonnull__(pTHX_1);
1042 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1045 /* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
1046 __attribute__warn_unused_result__
1047 __attribute__nonnull__(pTHX_1); */
1048 #define PERL_ARGS_ASSERT_HV_ITERNEXT \
1051 PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1052 __attribute__warn_unused_result__
1053 __attribute__nonnull__(pTHX_1)
1054 __attribute__nonnull__(pTHX_2)
1055 __attribute__nonnull__(pTHX_3);
1056 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1057 assert(hv); assert(key); assert(retlen)
1059 PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1060 __attribute__warn_unused_result__
1061 __attribute__nonnull__(pTHX_1);
1062 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1065 PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1066 __attribute__warn_unused_result__
1067 __attribute__nonnull__(pTHX_1)
1068 __attribute__nonnull__(pTHX_2);
1069 #define PERL_ARGS_ASSERT_HV_ITERVAL \
1070 assert(hv); assert(entry)
1072 PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
1073 __attribute__nonnull__(pTHX_1);
1074 #define PERL_ARGS_ASSERT_HV_KSPLIT \
1077 /* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
1078 __attribute__nonnull__(pTHX_1); */
1079 #define PERL_ARGS_ASSERT_HV_MAGIC \
1082 PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
1083 PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
1084 PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
1085 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
1086 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
1087 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)
1088 __attribute__nonnull__(pTHX_2)
1089 __attribute__nonnull__(pTHX_6);
1090 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON \
1091 assert(key_p); assert(value)
1094 /* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1095 /* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1096 /* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1097 PERL_CALLCONV void Perl_hv_undef(pTHX_ HV *hv);
1098 PERL_CALLCONV I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len)
1100 __attribute__nonnull__(pTHX_1)
1101 __attribute__nonnull__(pTHX_2);
1102 #define PERL_ARGS_ASSERT_IBCMP \
1103 assert(a); assert(b)
1105 PERL_CALLCONV I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1107 __attribute__nonnull__(pTHX_1)
1108 __attribute__nonnull__(pTHX_2);
1109 #define PERL_ARGS_ASSERT_IBCMP_LOCALE \
1110 assert(a); assert(b)
1112 PERL_CALLCONV I32 Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1113 __attribute__nonnull__(pTHX_1)
1114 __attribute__nonnull__(pTHX_5);
1115 #define PERL_ARGS_ASSERT_IBCMP_UTF8 \
1116 assert(s1); assert(s2)
1118 PERL_CALLCONV bool Perl_ingroup(pTHX_ Gid_t testgid, bool effective)
1119 __attribute__warn_unused_result__;
1121 PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1122 __attribute__nonnull__(pTHX_2);
1123 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1126 PERL_CALLCONV void Perl_init_debugger(pTHX);
1127 PERL_CALLCONV void Perl_init_stacks(pTHX);
1128 PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm)
1129 __attribute__nonnull__(pTHX_1);
1130 #define PERL_ARGS_ASSERT_INIT_TM \
1133 PERL_CALLCONV U32 Perl_intro_my(pTHX);
1134 PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little)
1135 __attribute__warn_unused_result__
1137 __attribute__nonnull__(pTHX_1)
1138 __attribute__nonnull__(pTHX_2);
1139 #define PERL_ARGS_ASSERT_INSTR \
1140 assert(big); assert(little)
1142 PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit)
1143 __attribute__nonnull__(pTHX_1);
1144 #define PERL_ARGS_ASSERT_IO_CLOSE \
1147 PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1148 __attribute__warn_unused_result__;
1150 PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags)
1151 __attribute__warn_unused_result__
1152 __attribute__nonnull__(pTHX_1);
1153 #define PERL_ARGS_ASSERT_IS_GV_MAGICAL \
1156 PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1157 __attribute__warn_unused_result__;
1159 PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c)
1160 __attribute__warn_unused_result__
1161 __attribute__pure__;
1163 PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c)
1164 __attribute__warn_unused_result__
1165 __attribute__pure__;
1167 PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c)
1168 __attribute__warn_unused_result__
1169 __attribute__pure__;
1171 PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c)
1172 __attribute__warn_unused_result__
1173 __attribute__pure__;
1175 PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c)
1176 __attribute__warn_unused_result__
1177 __attribute__pure__;
1179 PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c)
1180 __attribute__warn_unused_result__
1181 __attribute__pure__;
1183 PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c)
1184 __attribute__warn_unused_result__
1185 __attribute__pure__;
1187 PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c)
1188 __attribute__warn_unused_result__
1189 __attribute__pure__;
1191 PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c)
1192 __attribute__warn_unused_result__
1193 __attribute__pure__;
1195 PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c)
1196 __attribute__warn_unused_result__
1197 __attribute__pure__;
1199 PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c)
1200 __attribute__warn_unused_result__
1201 __attribute__pure__;
1203 PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c)
1204 __attribute__warn_unused_result__
1205 __attribute__pure__;
1207 PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c)
1208 __attribute__warn_unused_result__
1209 __attribute__pure__;
1211 PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c)
1212 __attribute__warn_unused_result__
1213 __attribute__pure__;
1215 PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c)
1216 __attribute__warn_unused_result__
1217 __attribute__pure__;
1219 PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c)
1220 __attribute__warn_unused_result__
1221 __attribute__pure__;
1223 PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c)
1224 __attribute__warn_unused_result__
1225 __attribute__pure__;
1227 PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
1228 __attribute__nonnull__(pTHX_2)
1229 __attribute__nonnull__(pTHX_3);
1230 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \
1231 assert(p); assert(lenp)
1233 PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
1234 __attribute__nonnull__(pTHX_2)
1235 __attribute__nonnull__(pTHX_3);
1236 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \
1237 assert(p); assert(lenp)
1239 PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
1240 __attribute__nonnull__(pTHX_2)
1241 __attribute__nonnull__(pTHX_3);
1242 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \
1243 assert(p); assert(lenp)
1245 PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
1246 __attribute__nonnull__(pTHX_2)
1247 __attribute__nonnull__(pTHX_3);
1248 #define PERL_ARGS_ASSERT_TO_UNI_FOLD \
1249 assert(p); assert(lenp)
1251 PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c)
1252 __attribute__warn_unused_result__
1253 __attribute__pure__;
1255 PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c)
1256 __attribute__warn_unused_result__
1257 __attribute__pure__;
1259 PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c)
1260 __attribute__warn_unused_result__
1261 __attribute__pure__;
1263 PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c)
1264 __attribute__warn_unused_result__
1265 __attribute__pure__;
1267 PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c)
1268 __attribute__warn_unused_result__
1269 __attribute__pure__;
1271 PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c)
1272 __attribute__warn_unused_result__
1273 __attribute__pure__;
1275 PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c)
1276 __attribute__warn_unused_result__
1277 __attribute__pure__;
1279 PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c)
1280 __attribute__warn_unused_result__
1281 __attribute__pure__;
1283 PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c)
1284 __attribute__warn_unused_result__
1285 __attribute__pure__;
1287 PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c)
1288 __attribute__warn_unused_result__
1289 __attribute__pure__;
1291 PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c)
1292 __attribute__warn_unused_result__
1293 __attribute__pure__;
1295 PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c)
1296 __attribute__warn_unused_result__
1297 __attribute__pure__;
1299 PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c)
1300 __attribute__warn_unused_result__
1301 __attribute__pure__;
1303 PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c)
1304 __attribute__warn_unused_result__
1305 __attribute__pure__;
1307 PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ const U8 *s)
1308 __attribute__nonnull__(pTHX_1);
1309 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR \
1312 PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ const U8 *s, STRLEN len)
1313 __attribute__nonnull__(pTHX_1);
1314 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1317 /* PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **p)
1318 __attribute__nonnull__(pTHX_1); */
1319 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
1322 PERL_CALLCONV bool Perl_is_utf8_string_loclen(pTHX_ const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1323 __attribute__nonnull__(pTHX_1);
1324 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1327 PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p)
1328 __attribute__warn_unused_result__
1329 __attribute__nonnull__(pTHX_1);
1330 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \
1333 PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p)
1334 __attribute__warn_unused_result__
1335 __attribute__nonnull__(pTHX_1);
1336 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1339 PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1340 __attribute__warn_unused_result__
1341 __attribute__nonnull__(pTHX_1);
1342 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \
1345 PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p)
1346 __attribute__warn_unused_result__
1347 __attribute__nonnull__(pTHX_1);
1348 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1351 PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p)
1352 __attribute__warn_unused_result__
1353 __attribute__nonnull__(pTHX_1);
1354 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \
1357 PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p)
1358 __attribute__warn_unused_result__
1359 __attribute__nonnull__(pTHX_1);
1360 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII \
1363 PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p)
1364 __attribute__warn_unused_result__
1365 __attribute__nonnull__(pTHX_1);
1366 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE \
1369 PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1370 __attribute__warn_unused_result__
1371 __attribute__nonnull__(pTHX_1);
1372 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \
1375 PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p)
1376 __attribute__warn_unused_result__
1377 __attribute__nonnull__(pTHX_1);
1378 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \
1381 PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p)
1382 __attribute__warn_unused_result__
1383 __attribute__nonnull__(pTHX_1);
1384 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \
1387 PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p)
1388 __attribute__warn_unused_result__
1389 __attribute__nonnull__(pTHX_1);
1390 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER \
1393 PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p)
1394 __attribute__warn_unused_result__
1395 __attribute__nonnull__(pTHX_1);
1396 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER \
1399 PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p)
1400 __attribute__warn_unused_result__
1401 __attribute__nonnull__(pTHX_1);
1402 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT \
1405 PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p)
1406 __attribute__warn_unused_result__
1407 __attribute__nonnull__(pTHX_1);
1408 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \
1411 PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1412 __attribute__warn_unused_result__
1413 __attribute__nonnull__(pTHX_1);
1414 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1417 PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p)
1418 __attribute__warn_unused_result__
1419 __attribute__nonnull__(pTHX_1);
1420 #define PERL_ARGS_ASSERT_IS_UTF8_MARK \
1423 PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
1424 __attribute__nonnull__(pTHX_1);
1425 #define PERL_ARGS_ASSERT_JMAYBE \
1428 PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1430 __attribute__nonnull__(pTHX_1);
1431 #define PERL_ARGS_ASSERT_KEYWORD \
1434 PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
1435 PERL_CALLCONV void Perl_lex_end(pTHX);
1436 PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
1437 PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
1438 __attribute__nonnull__(pTHX_1);
1439 #define PERL_ARGS_ASSERT_OP_NULL \
1442 PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
1443 __attribute__nonnull__(pTHX_1);
1444 #define PERL_ARGS_ASSERT_OP_CLEAR \
1447 PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
1448 PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
1449 STATIC OP* S_linklist(pTHX_ OP *o)
1450 __attribute__nonnull__(pTHX_1);
1451 #define PERL_ARGS_ASSERT_LINKLIST \
1454 PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
1455 PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o);
1456 PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1457 __attribute__nonnull__(pTHX_2);
1458 #define PERL_ARGS_ASSERT_LOAD_MODULE \
1461 PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1462 __attribute__nonnull__(pTHX_2);
1463 #define PERL_ARGS_ASSERT_VLOAD_MODULE \
1466 PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
1467 __attribute__nonnull__(pTHX_1);
1468 #define PERL_ARGS_ASSERT_LOCALIZE \
1471 PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
1472 __attribute__warn_unused_result__
1473 __attribute__nonnull__(pTHX_1);
1474 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
1477 PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1478 __attribute__nonnull__(pTHX_1)
1479 __attribute__nonnull__(pTHX_2)
1480 __attribute__nonnull__(pTHX_3);
1481 #define PERL_ARGS_ASSERT_GROK_BIN \
1482 assert(start); assert(len_p); assert(flags)
1484 PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1485 __attribute__nonnull__(pTHX_1)
1486 __attribute__nonnull__(pTHX_2)
1487 __attribute__nonnull__(pTHX_3);
1488 #define PERL_ARGS_ASSERT_GROK_HEX \
1489 assert(start); assert(len_p); assert(flags)
1491 PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1492 __attribute__nonnull__(pTHX_1);
1493 #define PERL_ARGS_ASSERT_GROK_NUMBER \
1496 PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1497 __attribute__warn_unused_result__
1498 __attribute__nonnull__(pTHX_1)
1499 __attribute__nonnull__(pTHX_2);
1500 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1501 assert(sp); assert(send)
1503 PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1504 __attribute__nonnull__(pTHX_1)
1505 __attribute__nonnull__(pTHX_2)
1506 __attribute__nonnull__(pTHX_3);
1507 #define PERL_ARGS_ASSERT_GROK_OCT \
1508 assert(start); assert(len_p); assert(flags)
1510 PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1511 __attribute__nonnull__(pTHX_1)
1512 __attribute__nonnull__(pTHX_2);
1513 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1514 assert(sv); assert(mg)
1516 PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1517 __attribute__nonnull__(pTHX_1)
1518 __attribute__nonnull__(pTHX_2);
1519 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
1520 assert(sv); assert(mg)
1522 PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1523 __attribute__nonnull__(pTHX_1)
1524 __attribute__nonnull__(pTHX_2);
1525 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
1526 assert(sv); assert(mg)
1528 PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
1529 __attribute__nonnull__(pTHX_1)
1530 __attribute__nonnull__(pTHX_2);
1531 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1532 assert(sv); assert(mg)
1534 PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1535 __attribute__nonnull__(pTHX_1)
1536 __attribute__nonnull__(pTHX_2);
1537 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
1538 assert(sv); assert(mg)
1540 PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1541 __attribute__nonnull__(pTHX_1)
1542 __attribute__nonnull__(pTHX_2);
1543 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1544 assert(sv); assert(mg)
1546 PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
1547 __attribute__nonnull__(pTHX_1)
1548 __attribute__nonnull__(pTHX_2);
1549 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
1550 assert(sv); assert(mg)
1552 PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1553 __attribute__nonnull__(pTHX_1)
1554 __attribute__nonnull__(pTHX_2);
1555 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
1556 assert(sv); assert(mg)
1558 PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1559 __attribute__nonnull__(pTHX_1)
1560 __attribute__nonnull__(pTHX_2);
1561 #define PERL_ARGS_ASSERT_MAGIC_GET \
1562 assert(sv); assert(mg)
1564 PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1565 __attribute__nonnull__(pTHX_1)
1566 __attribute__nonnull__(pTHX_2);
1567 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
1568 assert(sv); assert(mg)
1570 PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1571 __attribute__nonnull__(pTHX_1)
1572 __attribute__nonnull__(pTHX_2);
1573 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
1574 assert(sv); assert(mg)
1576 PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1577 __attribute__nonnull__(pTHX_1)
1578 __attribute__nonnull__(pTHX_2);
1579 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1580 assert(sv); assert(mg)
1582 PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1583 __attribute__nonnull__(pTHX_1)
1584 __attribute__nonnull__(pTHX_2);
1585 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \
1586 assert(sv); assert(mg)
1588 PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1589 __attribute__nonnull__(pTHX_1)
1590 __attribute__nonnull__(pTHX_2);
1591 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \
1592 assert(sv); assert(mg)
1594 PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1595 __attribute__nonnull__(pTHX_1)
1596 __attribute__nonnull__(pTHX_2);
1597 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \
1598 assert(sv); assert(mg)
1600 PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1601 __attribute__nonnull__(pTHX_1)
1602 __attribute__nonnull__(pTHX_2);
1603 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
1604 assert(sv); assert(mg)
1606 PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1607 __attribute__nonnull__(pTHX_1)
1608 __attribute__nonnull__(pTHX_2);
1609 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1610 assert(sv); assert(mg)
1612 PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1613 __attribute__nonnull__(pTHX_1)
1614 __attribute__nonnull__(pTHX_2);
1615 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
1616 assert(sv); assert(mg)
1618 PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1619 __attribute__nonnull__(pTHX_1)
1620 __attribute__nonnull__(pTHX_2);
1621 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \
1622 assert(sv); assert(mg)
1624 PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1625 __attribute__nonnull__(pTHX_1)
1626 __attribute__nonnull__(pTHX_2);
1627 #define PERL_ARGS_ASSERT_MAGIC_LEN \
1628 assert(sv); assert(mg)
1630 PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
1631 __attribute__nonnull__(pTHX_1)
1632 __attribute__nonnull__(pTHX_2)
1633 __attribute__nonnull__(pTHX_3);
1634 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1635 assert(sv); assert(mg); assert(key)
1637 PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1638 __attribute__nonnull__(pTHX_1)
1639 __attribute__nonnull__(pTHX_2);
1640 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
1641 assert(sv); assert(mg)
1643 PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1644 __attribute__nonnull__(pTHX_1)
1645 __attribute__nonnull__(pTHX_2);
1646 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
1647 assert(sv); assert(mg)
1649 PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
1650 __attribute__noreturn__
1651 __attribute__nonnull__(pTHX_1)
1652 __attribute__nonnull__(pTHX_2);
1653 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
1654 assert(sv); assert(mg)
1656 PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1657 __attribute__nonnull__(pTHX_1)
1658 __attribute__nonnull__(pTHX_2);
1659 #define PERL_ARGS_ASSERT_MAGIC_SET \
1660 assert(sv); assert(mg)
1662 PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1663 __attribute__nonnull__(pTHX_1)
1664 __attribute__nonnull__(pTHX_2);
1665 #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC \
1666 assert(sv); assert(mg)
1668 PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1669 __attribute__nonnull__(pTHX_1)
1670 __attribute__nonnull__(pTHX_2);
1671 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
1672 assert(sv); assert(mg)
1674 PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1675 __attribute__nonnull__(pTHX_1)
1676 __attribute__nonnull__(pTHX_2);
1677 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
1678 assert(sv); assert(mg)
1680 PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
1681 __attribute__nonnull__(pTHX_1)
1682 __attribute__nonnull__(pTHX_2);
1683 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
1684 assert(sv); assert(mg)
1686 PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
1687 __attribute__nonnull__(pTHX_1)
1688 __attribute__nonnull__(pTHX_2);
1689 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
1690 assert(sv); assert(mg)
1692 PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
1693 __attribute__nonnull__(pTHX_1)
1694 __attribute__nonnull__(pTHX_2);
1695 #define PERL_ARGS_ASSERT_MAGIC_SETENV \
1696 assert(sv); assert(mg)
1698 PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1699 __attribute__nonnull__(pTHX_1)
1700 __attribute__nonnull__(pTHX_2);
1701 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \
1702 assert(sv); assert(mg)
1704 PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1705 __attribute__nonnull__(pTHX_1)
1706 __attribute__nonnull__(pTHX_2);
1707 #define PERL_ARGS_ASSERT_MAGIC_SETISA \
1708 assert(sv); assert(mg)
1710 PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1711 __attribute__nonnull__(pTHX_1)
1712 __attribute__nonnull__(pTHX_2);
1713 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1714 assert(sv); assert(mg)
1716 PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1717 __attribute__nonnull__(pTHX_1)
1718 __attribute__nonnull__(pTHX_2);
1719 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1720 assert(sv); assert(mg)
1722 PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1723 __attribute__nonnull__(pTHX_1)
1724 __attribute__nonnull__(pTHX_2);
1725 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \
1726 assert(sv); assert(mg)
1728 PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1729 __attribute__nonnull__(pTHX_1)
1730 __attribute__nonnull__(pTHX_2);
1731 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \
1732 assert(sv); assert(mg)
1734 PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1735 __attribute__nonnull__(pTHX_1)
1736 __attribute__nonnull__(pTHX_2);
1737 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
1738 assert(sv); assert(mg)
1740 PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
1741 __attribute__nonnull__(pTHX_1)
1742 __attribute__nonnull__(pTHX_2);
1743 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \
1744 assert(sv); assert(mg)
1746 PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1747 __attribute__nonnull__(pTHX_1)
1748 __attribute__nonnull__(pTHX_2);
1749 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
1750 assert(sv); assert(mg)
1752 PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1753 __attribute__nonnull__(pTHX_1)
1754 __attribute__nonnull__(pTHX_2);
1755 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1756 assert(sv); assert(mg)
1758 PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1759 __attribute__nonnull__(pTHX_1)
1760 __attribute__nonnull__(pTHX_2);
1761 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
1762 assert(sv); assert(mg)
1764 PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1765 __attribute__nonnull__(pTHX_1)
1766 __attribute__nonnull__(pTHX_2);
1767 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \
1768 assert(sv); assert(mg)
1770 PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1771 __attribute__nonnull__(pTHX_1)
1772 __attribute__nonnull__(pTHX_2);
1773 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
1774 assert(sv); assert(mg)
1776 PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1777 __attribute__nonnull__(pTHX_1)
1778 __attribute__nonnull__(pTHX_2);
1779 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
1780 assert(sv); assert(mg)
1782 PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1783 __attribute__nonnull__(pTHX_1)
1784 __attribute__nonnull__(pTHX_2);
1785 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1786 assert(sv); assert(mg)
1788 PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1789 __attribute__nonnull__(pTHX_1)
1790 __attribute__nonnull__(pTHX_2);
1791 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1792 assert(sv); assert(mg)
1794 PERL_CALLCONV void Perl_magicname(pTHX_ const char* sym, const char* name, I32 namlen)
1795 __attribute__nonnull__(pTHX_1);
1796 #define PERL_ARGS_ASSERT_MAGICNAME \
1799 PERL_CALLCONV void Perl_markstack_grow(pTHX);
1800 #if defined(USE_LOCALE_COLLATE)
1801 PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1802 __attribute__nonnull__(pTHX_1)
1803 __attribute__nonnull__(pTHX_2);
1804 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
1805 assert(sv); assert(mg)
1807 PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1808 __attribute__nonnull__(pTHX_1)
1809 __attribute__nonnull__(pTHX_3);
1810 #define PERL_ARGS_ASSERT_MEM_COLLXFRM \
1811 assert(s); assert(xlen)
1814 PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
1815 __attribute__format__(__printf__,pTHX_1,pTHX_2)
1816 __attribute__nonnull__(pTHX_1);
1817 #define PERL_ARGS_ASSERT_MESS \
1820 PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args)
1821 __attribute__nonnull__(pTHX_1);
1822 #define PERL_ARGS_ASSERT_VMESS \
1825 PERL_CALLCONV void Perl_qerror(pTHX_ SV* err)
1826 __attribute__nonnull__(pTHX_1);
1827 #define PERL_ARGS_ASSERT_QERROR \
1830 PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
1831 __attribute__nonnull__(pTHX_3);
1832 #define PERL_ARGS_ASSERT_SORTSV \
1835 PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
1836 __attribute__nonnull__(pTHX_3);
1837 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \
1840 PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv)
1841 __attribute__nonnull__(pTHX_1);
1842 #define PERL_ARGS_ASSERT_MG_CLEAR \
1845 PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
1846 __attribute__nonnull__(pTHX_1)
1847 __attribute__nonnull__(pTHX_2);
1848 #define PERL_ARGS_ASSERT_MG_COPY \
1849 assert(sv); assert(nsv)
1851 PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
1852 __attribute__nonnull__(pTHX_1)
1853 __attribute__nonnull__(pTHX_2);
1854 #define PERL_ARGS_ASSERT_MG_LOCALIZE \
1855 assert(sv); assert(nsv)
1857 PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type)
1858 __attribute__warn_unused_result__;
1860 PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv)
1861 __attribute__nonnull__(pTHX_1);
1862 #define PERL_ARGS_ASSERT_MG_FREE \
1865 PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv)
1866 __attribute__nonnull__(pTHX_1);
1867 #define PERL_ARGS_ASSERT_MG_GET \
1870 PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
1871 __attribute__nonnull__(pTHX_1);
1872 #define PERL_ARGS_ASSERT_MG_LENGTH \
1875 PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv)
1876 __attribute__nonnull__(pTHX_1);
1877 #define PERL_ARGS_ASSERT_MG_MAGICAL \
1880 PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv)
1881 __attribute__nonnull__(pTHX_1);
1882 #define PERL_ARGS_ASSERT_MG_SET \
1885 PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv)
1886 __attribute__nonnull__(pTHX_1);
1887 #define PERL_ARGS_ASSERT_MG_SIZE \
1890 PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
1891 __attribute__nonnull__(pTHX_1);
1892 #define PERL_ARGS_ASSERT_MINI_MKTIME \
1895 PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type);
1896 PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
1897 PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)
1898 __attribute__nonnull__(pTHX_1);
1899 #define PERL_ARGS_ASSERT_MORESWITCHES \
1902 PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s)
1903 __attribute__nonnull__(pTHX_1);
1904 #define PERL_ARGS_ASSERT_MY_ATOF \
1907 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
1908 PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len)
1909 __attribute__nonnull__(1)
1910 __attribute__nonnull__(2);
1911 #define PERL_ARGS_ASSERT_MY_BCOPY \
1912 assert(from); assert(to)
1915 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
1916 PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len)
1917 __attribute__nonnull__(1);
1918 #define PERL_ARGS_ASSERT_MY_BZERO \
1922 PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status)
1923 __attribute__noreturn__;
1925 PERL_CALLCONV void Perl_my_failure_exit(pTHX)
1926 __attribute__noreturn__;
1928 PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
1929 PERL_CALLCONV Pid_t Perl_my_fork(void);
1930 PERL_CALLCONV void Perl_atfork_lock(void);
1931 PERL_CALLCONV void Perl_atfork_unlock(void);
1932 PERL_CALLCONV I32 Perl_my_lstat(pTHX);
1933 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
1934 PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len)
1936 __attribute__nonnull__(1)
1937 __attribute__nonnull__(2);
1938 #define PERL_ARGS_ASSERT_MY_MEMCMP \
1939 assert(s1); assert(s2)
1942 #if !defined(HAS_MEMSET)
1943 PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len)
1944 __attribute__nonnull__(1);
1945 #define PERL_ARGS_ASSERT_MY_MEMSET \
1949 PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
1950 PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode)
1951 __attribute__nonnull__(pTHX_1)
1952 __attribute__nonnull__(pTHX_2);
1953 #define PERL_ARGS_ASSERT_MY_POPEN \
1954 assert(cmd); assert(mode)
1956 PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
1957 __attribute__nonnull__(pTHX_1)
1958 __attribute__nonnull__(pTHX_3);
1959 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \
1960 assert(mode); assert(args)
1962 PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
1963 PERL_CALLCONV I32 Perl_my_stat(pTHX);
1964 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)
1965 __attribute__nonnull__(pTHX_1);
1966 #define PERL_ARGS_ASSERT_MY_STRFTIME \
1970 PERL_CALLCONV short Perl_my_swap(pTHX_ short s)
1971 __attribute__malloc__
1972 __attribute__warn_unused_result__
1973 __attribute__pure__;
1975 PERL_CALLCONV long Perl_my_htonl(pTHX_ long l)
1976 __attribute__malloc__
1977 __attribute__warn_unused_result__
1978 __attribute__pure__;
1980 PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l)
1981 __attribute__malloc__
1982 __attribute__warn_unused_result__
1983 __attribute__pure__;
1986 PERL_CALLCONV void Perl_my_unexec(pTHX);
1987 PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
1988 __attribute__malloc__
1989 __attribute__warn_unused_result__;
1991 PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
1992 __attribute__malloc__
1993 __attribute__warn_unused_result__;
1995 PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
1996 PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
1997 __attribute__malloc__
1998 __attribute__warn_unused_result__;
2000 PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2001 __attribute__malloc__
2002 __attribute__warn_unused_result__
2003 __attribute__nonnull__(pTHX_2);
2004 #define PERL_ARGS_ASSERT_NEWCONDOP \
2007 PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2009 PERL_CALLCONV OP* Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2011 PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2013 PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
2014 __attribute__malloc__
2015 __attribute__warn_unused_result__
2016 __attribute__nonnull__(pTHX_5);
2017 #define PERL_ARGS_ASSERT_NEWFOROP \
2020 PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2021 __attribute__malloc__
2022 __attribute__warn_unused_result__
2023 __attribute__nonnull__(pTHX_1)
2024 __attribute__nonnull__(pTHX_2);
2025 #define PERL_ARGS_ASSERT_NEWGIVENOP \
2026 assert(cond); assert(block)
2028 PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2029 __attribute__malloc__
2030 __attribute__warn_unused_result__
2031 __attribute__nonnull__(pTHX_3)
2032 __attribute__nonnull__(pTHX_4);
2033 #define PERL_ARGS_ASSERT_NEWLOGOP \
2034 assert(first); assert(other)
2036 PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2037 __attribute__malloc__
2038 __attribute__warn_unused_result__
2039 __attribute__nonnull__(pTHX_2);
2040 #define PERL_ARGS_ASSERT_NEWLOOPEX \
2043 PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2044 __attribute__malloc__
2045 __attribute__warn_unused_result__;
2047 PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
2048 __attribute__malloc__
2049 __attribute__warn_unused_result__;
2051 PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
2052 __attribute__malloc__
2053 __attribute__warn_unused_result__;
2055 PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o)
2056 __attribute__nonnull__(pTHX_1);
2057 #define PERL_ARGS_ASSERT_NEWPROG \
2060 PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2061 __attribute__malloc__
2062 __attribute__warn_unused_result__
2063 __attribute__nonnull__(pTHX_2)
2064 __attribute__nonnull__(pTHX_3);
2065 #define PERL_ARGS_ASSERT_NEWRANGE \
2066 assert(left); assert(right)
2068 PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2069 __attribute__malloc__
2070 __attribute__warn_unused_result__;
2072 PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2073 __attribute__malloc__
2074 __attribute__warn_unused_result__;
2076 PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2077 PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2078 __attribute__nonnull__(pTHX_2)
2079 __attribute__nonnull__(pTHX_3);
2080 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2081 assert(subaddr); assert(filename)
2083 PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
2084 __attribute__nonnull__(pTHX_2)
2085 __attribute__nonnull__(pTHX_3);
2086 #define PERL_ARGS_ASSERT_NEWXS \
2087 assert(subaddr); assert(filename)
2089 /* PERL_CALLCONV AV* Perl_newAV(pTHX)
2090 __attribute__warn_unused_result__; */
2092 PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
2093 __attribute__malloc__
2094 __attribute__warn_unused_result__
2095 __attribute__nonnull__(pTHX_1);
2096 #define PERL_ARGS_ASSERT_NEWAVREF \
2099 PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2100 __attribute__malloc__
2101 __attribute__warn_unused_result__;
2103 PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
2104 __attribute__malloc__
2105 __attribute__warn_unused_result__;
2107 PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2108 __attribute__malloc__
2109 __attribute__warn_unused_result__
2110 __attribute__nonnull__(pTHX_3);
2111 #define PERL_ARGS_ASSERT_NEWGVOP \
2114 PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack)
2115 __attribute__malloc__
2116 __attribute__warn_unused_result__
2117 __attribute__nonnull__(pTHX_1);
2118 #define PERL_ARGS_ASSERT_NEWGVGEN \
2121 PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
2122 __attribute__malloc__
2123 __attribute__warn_unused_result__;
2125 PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
2126 __attribute__malloc__
2127 __attribute__warn_unused_result__
2128 __attribute__nonnull__(pTHX_1);
2129 #define PERL_ARGS_ASSERT_NEWHVREF \
2132 /* PERL_CALLCONV HV* Perl_newHV(pTHX)
2133 __attribute__warn_unused_result__; */
2135 PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
2136 __attribute__malloc__
2137 __attribute__warn_unused_result__;
2139 PERL_CALLCONV IO* Perl_newIO(pTHX)
2140 __attribute__malloc__
2141 __attribute__warn_unused_result__;
2143 PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2144 __attribute__malloc__
2145 __attribute__warn_unused_result__;
2148 PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
2149 __attribute__malloc__
2150 __attribute__warn_unused_result__
2151 __attribute__nonnull__(pTHX_3);
2152 #define PERL_ARGS_ASSERT_NEWPADOP \
2156 PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
2157 __attribute__malloc__
2158 __attribute__warn_unused_result__;
2160 PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2161 __attribute__malloc__
2162 __attribute__warn_unused_result__;
2164 PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
2165 __attribute__malloc__
2166 __attribute__warn_unused_result__
2167 __attribute__nonnull__(pTHX_1);
2168 #define PERL_ARGS_ASSERT_NEWRV \
2171 PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv)
2172 __attribute__malloc__
2173 __attribute__warn_unused_result__
2174 __attribute__nonnull__(pTHX_1);
2175 #define PERL_ARGS_ASSERT_NEWRV_NOINC \
2178 PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
2179 __attribute__malloc__
2180 __attribute__warn_unused_result__;
2182 PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
2183 __attribute__malloc__
2184 __attribute__warn_unused_result__
2185 __attribute__nonnull__(pTHX_1);
2186 #define PERL_ARGS_ASSERT_NEWSVREF \
2189 PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2190 __attribute__malloc__
2191 __attribute__warn_unused_result__
2192 __attribute__nonnull__(pTHX_3);
2193 #define PERL_ARGS_ASSERT_NEWSVOP \
2196 PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
2197 __attribute__malloc__
2198 __attribute__warn_unused_result__;
2200 PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
2201 __attribute__malloc__
2202 __attribute__warn_unused_result__;
2204 PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
2205 __attribute__malloc__
2206 __attribute__warn_unused_result__;
2208 PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2209 __attribute__malloc__
2210 __attribute__warn_unused_result__;
2212 PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2213 __attribute__malloc__
2214 __attribute__warn_unused_result__;
2216 PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2217 __attribute__malloc__
2218 __attribute__warn_unused_result__;
2220 PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
2221 __attribute__malloc__
2222 __attribute__warn_unused_result__;
2224 PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2225 __attribute__malloc__
2226 __attribute__warn_unused_result__;
2228 PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
2229 __attribute__malloc__
2230 __attribute__warn_unused_result__
2231 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2232 __attribute__nonnull__(pTHX_1);
2233 #define PERL_ARGS_ASSERT_NEWSVPVF \
2236 PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
2237 __attribute__malloc__
2238 __attribute__warn_unused_result__
2239 __attribute__nonnull__(pTHX_1);
2240 #define PERL_ARGS_ASSERT_VNEWSVPVF \
2243 PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2244 __attribute__nonnull__(pTHX_1);
2245 #define PERL_ARGS_ASSERT_NEWSVRV \
2248 PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
2249 __attribute__malloc__
2250 __attribute__warn_unused_result__;
2252 PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
2253 __attribute__malloc__
2254 __attribute__warn_unused_result__;
2256 PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2257 __attribute__malloc__
2258 __attribute__warn_unused_result__;
2260 PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2261 __attribute__malloc__
2262 __attribute__warn_unused_result__
2263 __attribute__nonnull__(pTHX_2);
2264 #define PERL_ARGS_ASSERT_NEWWHENOP \
2267 PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
2268 __attribute__malloc__
2269 __attribute__warn_unused_result__;
2271 PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2272 __attribute__malloc__
2273 __attribute__warn_unused_result__;
2275 PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
2276 __attribute__nonnull__(pTHX_1)
2277 __attribute__nonnull__(pTHX_2)
2278 __attribute__nonnull__(pTHX_3);
2279 #define PERL_ARGS_ASSERT_SCAN_VSTRING \
2280 assert(s); assert(e); assert(sv)
2282 PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
2283 __attribute__nonnull__(pTHX_1)
2284 __attribute__nonnull__(pTHX_2);
2285 #define PERL_ARGS_ASSERT_SCAN_VERSION \
2286 assert(s); assert(rv)
2288 PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver)
2289 __attribute__nonnull__(pTHX_1);
2290 #define PERL_ARGS_ASSERT_NEW_VERSION \
2293 PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv)
2294 __attribute__nonnull__(pTHX_1);
2295 #define PERL_ARGS_ASSERT_UPG_VERSION \
2298 PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs)
2299 __attribute__nonnull__(pTHX_1);
2300 #define PERL_ARGS_ASSERT_VVERIFY \
2303 PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs)
2304 __attribute__nonnull__(pTHX_1);
2305 #define PERL_ARGS_ASSERT_VNUMIFY \
2308 PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs)
2309 __attribute__nonnull__(pTHX_1);
2310 #define PERL_ARGS_ASSERT_VNORMAL \
2313 PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs)
2314 __attribute__nonnull__(pTHX_1);
2315 #define PERL_ARGS_ASSERT_VSTRINGIFY \
2318 PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
2319 __attribute__nonnull__(pTHX_1)
2320 __attribute__nonnull__(pTHX_2);
2321 #define PERL_ARGS_ASSERT_VCMP \
2322 assert(lhv); assert(rhv)
2324 PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv)
2325 __attribute__nonnull__(pTHX_1);
2326 #define PERL_ARGS_ASSERT_NEXTARGV \
2329 PERL_CALLCONV char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend)
2331 __attribute__nonnull__(pTHX_1)
2332 __attribute__nonnull__(pTHX_2)
2333 __attribute__nonnull__(pTHX_3)
2334 __attribute__nonnull__(pTHX_4);
2335 #define PERL_ARGS_ASSERT_NINSTR \
2336 assert(big); assert(bigend); assert(little); assert(lend)
2338 PERL_CALLCONV OP* Perl_oopsCV(pTHX_ OP* o)
2339 __attribute__noreturn__
2340 __attribute__nonnull__(pTHX_1);
2341 #define PERL_ARGS_ASSERT_OOPSCV \
2344 PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
2346 PERL_CALLCONV OP* Perl_package(pTHX_ OP* o)
2347 __attribute__nonnull__(pTHX_1);
2348 #define PERL_ARGS_ASSERT_PACKAGE \
2352 PERL_CALLCONV void Perl_package(pTHX_ OP* o)
2353 __attribute__nonnull__(pTHX_1);
2354 #define PERL_ARGS_ASSERT_PACKAGE \
2358 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2359 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name)
2360 __attribute__nonnull__(pTHX_1);
2361 #define PERL_ARGS_ASSERT_ALLOCMY \
2364 PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name)
2365 __attribute__warn_unused_result__
2366 __attribute__nonnull__(pTHX_1);
2367 #define PERL_ARGS_ASSERT_PAD_FINDMY \
2370 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX);
2371 PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
2372 __attribute__warn_unused_result__
2373 __attribute__nonnull__(pTHX_1);
2374 #define PERL_ARGS_ASSERT_OOPSAV \
2377 PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
2378 __attribute__warn_unused_result__
2379 __attribute__nonnull__(pTHX_1);
2380 #define PERL_ARGS_ASSERT_OOPSHV \
2383 PERL_CALLCONV void Perl_pad_leavemy(pTHX);
2384 PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
2385 PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po);
2386 PERL_CALLCONV void Perl_pad_reset(pTHX);
2387 PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2388 PERL_CALLCONV void Perl_peep(pTHX_ OP* o);
2389 PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2390 __attribute__nonnull__(pTHX_1)
2391 __attribute__nonnull__(pTHX_2);
2392 #define PERL_ARGS_ASSERT_START_GLOB \
2393 assert(tmpglob); assert(io)
2395 #if defined(USE_REENTRANT_API)
2396 PERL_CALLCONV void Perl_reentrant_size(pTHX);
2397 PERL_CALLCONV void Perl_reentrant_init(pTHX);
2398 PERL_CALLCONV void Perl_reentrant_free(pTHX);
2399 PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...)
2400 __attribute__nonnull__(1);
2401 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \
2405 PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
2406 PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
2407 __attribute__nonnull__(pTHX_1)
2408 __attribute__nonnull__(pTHX_3);
2409 #define PERL_ARGS_ASSERT_CALL_ARGV \
2410 assert(sub_name); assert(argv)
2412 PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags)
2413 __attribute__nonnull__(pTHX_1);
2414 #define PERL_ARGS_ASSERT_CALL_METHOD \
2417 PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
2418 __attribute__nonnull__(pTHX_1);
2419 #define PERL_ARGS_ASSERT_CALL_PV \
2422 PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
2423 __attribute__nonnull__(pTHX_1);
2424 #define PERL_ARGS_ASSERT_CALL_SV \
2427 PERL_CALLCONV void Perl_despatch_signals(pTHX);
2428 PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2429 __attribute__nonnull__(pTHX_1);
2430 #define PERL_ARGS_ASSERT_DOREF \
2433 PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
2434 __attribute__nonnull__(pTHX_1);
2435 #define PERL_ARGS_ASSERT_EVAL_PV \
2438 PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags)
2439 __attribute__nonnull__(pTHX_1);
2440 #define PERL_ARGS_ASSERT_EVAL_SV \
2443 PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create)
2444 __attribute__nonnull__(pTHX_1);
2445 #define PERL_ARGS_ASSERT_GET_SV \
2448 PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create)
2449 __attribute__nonnull__(pTHX_1);
2450 #define PERL_ARGS_ASSERT_GET_AV \
2453 PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char* name, I32 create)
2454 __attribute__nonnull__(pTHX_1);
2455 #define PERL_ARGS_ASSERT_GET_HV \
2458 PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags)
2459 __attribute__nonnull__(pTHX_1);
2460 #define PERL_ARGS_ASSERT_GET_CV \
2463 PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
2464 __attribute__nonnull__(pTHX_1);
2465 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
2468 PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
2469 PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
2470 PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
2471 PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype)
2472 __attribute__nonnull__(pTHX_1);
2473 #define PERL_ARGS_ASSERT_NEW_CTYPE \
2476 PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
2477 PERL_CALLCONV void Perl_set_numeric_local(pTHX);
2478 PERL_CALLCONV void Perl_set_numeric_radix(pTHX);
2479 PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
2480 PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv)
2481 __attribute__nonnull__(pTHX_1);
2482 #define PERL_ARGS_ASSERT_REQUIRE_PV \
2485 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)
2486 __attribute__nonnull__(pTHX_1)
2487 __attribute__nonnull__(pTHX_2)
2488 __attribute__nonnull__(pTHX_3)
2489 __attribute__nonnull__(pTHX_4)
2490 __attribute__nonnull__(pTHX_5)
2491 __attribute__nonnull__(pTHX_6);
2492 #define PERL_ARGS_ASSERT_PACK_CAT \
2493 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2495 PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2496 __attribute__nonnull__(pTHX_1)
2497 __attribute__nonnull__(pTHX_2)
2498 __attribute__nonnull__(pTHX_3)
2499 __attribute__nonnull__(pTHX_4)
2500 __attribute__nonnull__(pTHX_5);
2501 #define PERL_ARGS_ASSERT_PACKLIST \
2502 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2504 #ifdef PERL_USES_PL_PIDSTATUS
2505 PERL_CALLCONV void Perl_pidgone(pTHX_ Pid_t pid, int status);
2507 PERL_CALLCONV void Perl_pmflag(pTHX_ U32* pmfl, int ch)
2508 __attribute__nonnull__(pTHX_1);
2509 #define PERL_ARGS_ASSERT_PMFLAG \
2512 PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
2513 __attribute__nonnull__(pTHX_1)
2514 __attribute__nonnull__(pTHX_2);
2515 #define PERL_ARGS_ASSERT_PMRUNTIME \
2516 assert(o); assert(expr)
2518 PERL_CALLCONV OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
2519 __attribute__nonnull__(pTHX_1)
2520 __attribute__nonnull__(pTHX_2)
2521 __attribute__nonnull__(pTHX_3);
2522 #define PERL_ARGS_ASSERT_PMTRANS \
2523 assert(o); assert(expr); assert(repl)
2525 PERL_CALLCONV void Perl_pop_scope(pTHX);
2526 PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
2527 PERL_CALLCONV void Perl_push_scope(pTHX);
2528 /* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */
2529 PERL_CALLCONV OP* Perl_refkids(pTHX_ OP* o, I32 type);
2530 PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
2531 __attribute__nonnull__(pTHX_1);
2532 #define PERL_ARGS_ASSERT_REGDUMP \
2535 PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
2536 __attribute__nonnull__(pTHX_1);
2537 #define PERL_ARGS_ASSERT_REGDUMP \
2540 PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
2541 __attribute__nonnull__(pTHX_2);
2542 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2545 PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2546 __attribute__nonnull__(pTHX_1)
2547 __attribute__nonnull__(pTHX_2)
2548 __attribute__nonnull__(pTHX_3)
2549 __attribute__nonnull__(pTHX_4)
2550 __attribute__nonnull__(pTHX_6);
2551 #define PERL_ARGS_ASSERT_PREGEXEC \
2552 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2554 PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
2555 PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx)
2556 __attribute__nonnull__(pTHX_1);
2557 #define PERL_ARGS_ASSERT_PREGFREE2 \
2560 PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* r)
2561 __attribute__nonnull__(pTHX_1);
2562 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \
2565 PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx)
2566 __attribute__nonnull__(pTHX_1);
2567 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
2570 #if defined(USE_ITHREADS)
2571 PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
2572 __attribute__nonnull__(pTHX_1)
2573 __attribute__nonnull__(pTHX_2);
2574 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
2575 assert(r); assert(param)
2578 PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2579 __attribute__nonnull__(pTHX_1);
2580 #define PERL_ARGS_ASSERT_PREGCOMP \
2583 PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
2584 __attribute__nonnull__(pTHX_1);
2585 #define PERL_ARGS_ASSERT_RE_COMPILE \
2588 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)
2589 __attribute__nonnull__(pTHX_1)
2590 __attribute__nonnull__(pTHX_3)
2591 __attribute__nonnull__(pTHX_4);
2592 #define PERL_ARGS_ASSERT_RE_INTUIT_START \
2593 assert(rx); assert(strpos); assert(strend)
2595 PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r)
2596 __attribute__nonnull__(pTHX_1);
2597 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
2600 PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
2601 __attribute__nonnull__(pTHX_1)
2602 __attribute__nonnull__(pTHX_2)
2603 __attribute__nonnull__(pTHX_3)
2604 __attribute__nonnull__(pTHX_4)
2605 __attribute__nonnull__(pTHX_6);
2606 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
2607 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2609 PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p)
2610 __attribute__warn_unused_result__;
2613 PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2614 __attribute__nonnull__(pTHX_1);
2615 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2618 PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2619 __attribute__nonnull__(pTHX_1);
2620 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
2623 PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
2624 __attribute__nonnull__(pTHX_1)
2625 __attribute__nonnull__(pTHX_2);
2626 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
2627 assert(rx); assert(namesv)
2629 PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2630 __attribute__nonnull__(pTHX_1)
2631 __attribute__nonnull__(pTHX_2);
2632 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
2633 assert(rx); assert(key)
2635 PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2636 __attribute__nonnull__(pTHX_1);
2637 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
2640 PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2641 __attribute__nonnull__(pTHX_1);
2642 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2645 PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2646 __attribute__nonnull__(pTHX_1);
2647 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
2650 PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2651 __attribute__nonnull__(pTHX_1);
2652 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
2656 PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2657 __attribute__nonnull__(pTHX_1);
2658 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
2661 PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
2662 __attribute__nonnull__(pTHX_1);
2663 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
2666 PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2667 __attribute__nonnull__(pTHX_1)
2668 __attribute__nonnull__(pTHX_2);
2669 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
2670 assert(rx); assert(sv)
2673 PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx)
2674 __attribute__nonnull__(pTHX_1);
2675 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2679 PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2680 __attribute__nonnull__(pTHX_2)
2681 __attribute__nonnull__(pTHX_3);
2682 #define PERL_ARGS_ASSERT_REGPROP \
2683 assert(sv); assert(o)
2685 PERL_CALLCONV void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count)
2686 __attribute__nonnull__(pTHX_1)
2687 __attribute__nonnull__(pTHX_2);
2688 #define PERL_ARGS_ASSERT_REPEATCPY \
2689 assert(to); assert(from)
2691 PERL_CALLCONV char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend)
2693 __attribute__nonnull__(pTHX_1)
2694 __attribute__nonnull__(pTHX_2)
2695 __attribute__nonnull__(pTHX_3)
2696 __attribute__nonnull__(pTHX_4);
2697 #define PERL_ARGS_ASSERT_RNINSTR \
2698 assert(big); assert(bigend); assert(little); assert(lend)
2700 PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
2701 PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2702 PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
2703 __attribute__nonnull__(pTHX_3);
2704 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
2707 PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
2708 PERL_CALLCONV void Perl_rxres_free(pTHX_ void** rsp)
2709 __attribute__nonnull__(pTHX_1);
2710 #define PERL_ARGS_ASSERT_RXRES_FREE \
2713 PERL_CALLCONV void Perl_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
2714 __attribute__nonnull__(pTHX_1)
2715 __attribute__nonnull__(pTHX_2);
2716 #define PERL_ARGS_ASSERT_RXRES_RESTORE \
2717 assert(rsp); assert(rx)
2719 PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
2720 __attribute__nonnull__(pTHX_1)
2721 __attribute__nonnull__(pTHX_2);
2722 #define PERL_ARGS_ASSERT_RXRES_SAVE \
2723 assert(rsp); assert(rx)
2725 #if !defined(HAS_RENAME)
2726 PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b)
2727 __attribute__nonnull__(pTHX_1)
2728 __attribute__nonnull__(pTHX_2);
2729 #define PERL_ARGS_ASSERT_SAME_DIRENT \
2730 assert(a); assert(b)
2733 PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
2734 __attribute__malloc__
2735 __attribute__warn_unused_result__;
2737 PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len)
2738 __attribute__malloc__
2739 __attribute__warn_unused_result__;
2741 PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
2742 __attribute__malloc__
2743 __attribute__warn_unused_result__;
2745 PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2746 __attribute__malloc__
2747 __attribute__warn_unused_result__
2748 __attribute__nonnull__(pTHX_1);
2749 #define PERL_ARGS_ASSERT_SAVESHAREDPVN \
2752 PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
2753 __attribute__malloc__
2754 __attribute__warn_unused_result__
2755 __attribute__nonnull__(pTHX_1);
2756 #define PERL_ARGS_ASSERT_SAVESVPV \
2759 PERL_CALLCONV void Perl_savestack_grow(pTHX);
2760 PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
2761 PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2762 __attribute__nonnull__(pTHX_1)
2763 __attribute__nonnull__(pTHX_3);
2764 #define PERL_ARGS_ASSERT_SAVE_AELEM \
2765 assert(av); assert(sptr)
2767 PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
2768 PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr)
2769 __attribute__nonnull__(pTHX_1);
2770 #define PERL_ARGS_ASSERT_SAVE_APTR \
2773 PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv)
2774 __attribute__nonnull__(pTHX_1);
2775 #define PERL_ARGS_ASSERT_SAVE_ARY \
2778 PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp)
2779 __attribute__nonnull__(pTHX_1);
2780 #define PERL_ARGS_ASSERT_SAVE_BOOL \
2783 PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp)
2784 __attribute__nonnull__(pTHX_1);
2785 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \
2788 PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
2789 __attribute__nonnull__(pTHX_1)
2790 __attribute__nonnull__(pTHX_2);
2791 #define PERL_ARGS_ASSERT_SAVE_DELETE \
2792 assert(hv); assert(key)
2794 PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
2795 __attribute__nonnull__(pTHX_2);
2796 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
2799 PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2800 PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv);
2801 PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o);
2802 PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv);
2803 PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr)
2804 __attribute__nonnull__(pTHX_1);
2805 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
2808 PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str)
2809 __attribute__nonnull__(pTHX_1);
2810 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
2813 PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str)
2814 __attribute__nonnull__(pTHX_1);
2815 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
2818 PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty)
2819 __attribute__nonnull__(pTHX_1);
2820 #define PERL_ARGS_ASSERT_SAVE_GP \
2823 PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv)
2824 __attribute__nonnull__(pTHX_1);
2825 #define PERL_ARGS_ASSERT_SAVE_HASH \
2828 /* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
2829 __attribute__nonnull__(pTHX_1)
2830 __attribute__nonnull__(pTHX_2)
2831 __attribute__nonnull__(pTHX_3); */
2832 #define PERL_ARGS_ASSERT_SAVE_HELEM \
2833 assert(hv); assert(key); assert(sptr)
2835 PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
2836 __attribute__nonnull__(pTHX_1)
2837 __attribute__nonnull__(pTHX_2)
2838 __attribute__nonnull__(pTHX_3);
2839 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
2840 assert(hv); assert(key); assert(sptr)
2842 PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr)
2843 __attribute__nonnull__(pTHX_1);
2844 #define PERL_ARGS_ASSERT_SAVE_HPTR \
2847 PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp)
2848 __attribute__nonnull__(pTHX_1);
2849 #define PERL_ARGS_ASSERT_SAVE_I16 \
2852 PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp)
2853 __attribute__nonnull__(pTHX_1);
2854 #define PERL_ARGS_ASSERT_SAVE_I32 \
2857 PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep)
2858 __attribute__nonnull__(pTHX_1);
2859 #define PERL_ARGS_ASSERT_SAVE_I8 \
2862 PERL_CALLCONV void Perl_save_int(pTHX_ int* intp)
2863 __attribute__nonnull__(pTHX_1);
2864 #define PERL_ARGS_ASSERT_SAVE_INT \
2867 PERL_CALLCONV void Perl_save_item(pTHX_ SV* item)
2868 __attribute__nonnull__(pTHX_1);
2869 #define PERL_ARGS_ASSERT_SAVE_ITEM \
2872 PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp)
2873 __attribute__nonnull__(pTHX_1);
2874 #define PERL_ARGS_ASSERT_SAVE_IV \
2877 PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
2878 __attribute__nonnull__(pTHX_1);
2879 #define PERL_ARGS_ASSERT_SAVE_LIST \
2882 PERL_CALLCONV void Perl_save_long(pTHX_ long* longp)
2883 __attribute__nonnull__(pTHX_1);
2884 #define PERL_ARGS_ASSERT_SAVE_LONG \
2887 PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv)
2888 __attribute__nonnull__(pTHX_1);
2889 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
2892 PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv)
2893 __attribute__nonnull__(pTHX_1);
2894 #define PERL_ARGS_ASSERT_SAVE_NOGV \
2897 PERL_CALLCONV void Perl_save_op(pTHX);
2898 PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv)
2899 __attribute__nonnull__(pTHX_1);
2900 #define PERL_ARGS_ASSERT_SAVE_SCALAR \
2903 PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr)
2904 __attribute__nonnull__(pTHX_1);
2905 #define PERL_ARGS_ASSERT_SAVE_PPTR \
2908 PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr)
2909 __attribute__nonnull__(pTHX_1);
2910 #define PERL_ARGS_ASSERT_SAVE_VPTR \
2913 PERL_CALLCONV void Perl_save_re_context(pTHX);
2914 PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2915 PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr)
2916 __attribute__nonnull__(pTHX_1);
2917 #define PERL_ARGS_ASSERT_SAVE_SPTR \
2920 PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
2921 __attribute__nonnull__(pTHX_1);
2922 #define PERL_ARGS_ASSERT_SAVE_SVREF \
2925 PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
2926 PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
2927 PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o);
2928 PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o);
2929 PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
2930 __attribute__nonnull__(pTHX_1);
2931 #define PERL_ARGS_ASSERT_SCALARVOID \
2934 PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2935 __attribute__nonnull__(pTHX_1)
2936 __attribute__nonnull__(pTHX_3);
2937 #define PERL_ARGS_ASSERT_SCAN_BIN \
2938 assert(start); assert(retlen)
2940 PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2941 __attribute__nonnull__(pTHX_1)
2942 __attribute__nonnull__(pTHX_3);
2943 #define PERL_ARGS_ASSERT_SCAN_HEX \
2944 assert(start); assert(retlen)
2946 PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
2947 __attribute__nonnull__(pTHX_1)
2948 __attribute__nonnull__(pTHX_2);
2949 #define PERL_ARGS_ASSERT_SCAN_NUM \
2950 assert(s); assert(lvalp)
2952 PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2953 __attribute__nonnull__(pTHX_1)
2954 __attribute__nonnull__(pTHX_3);
2955 #define PERL_ARGS_ASSERT_SCAN_OCT \
2956 assert(start); assert(retlen)
2958 PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o);
2959 PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
2960 __attribute__nonnull__(pTHX_1)
2961 __attribute__nonnull__(pTHX_2)
2962 __attribute__nonnull__(pTHX_5);
2963 #define PERL_ARGS_ASSERT_SCREAMINSTR \
2964 assert(bigstr); assert(littlestr); assert(old_posp)
2967 PERL_CALLCONV I32 Perl_setenv_getix(pTHX_ const char* nam)
2968 __attribute__nonnull__(pTHX_1);
2969 #define PERL_ARGS_ASSERT_SETENV_GETIX \
2973 PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
2974 PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
2975 __attribute__nonnull__(pTHX_1);
2976 #define PERL_ARGS_ASSERT_SHARE_HEK \
2979 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
2980 PERL_CALLCONV Signal_t Perl_sighandler(int sig, siginfo_t *info, void *uap);
2981 PERL_CALLCONV Signal_t Perl_csighandler(int sig, siginfo_t *info, void *uap);
2983 PERL_CALLCONV Signal_t Perl_sighandler(int sig);
2984 PERL_CALLCONV Signal_t Perl_csighandler(int sig);
2986 PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
2987 __attribute__nonnull__(pTHX_1)
2988 __attribute__nonnull__(pTHX_2);
2989 #define PERL_ARGS_ASSERT_STACK_GROW \
2990 assert(sp); assert(p)
2992 PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2993 PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
2994 __attribute__nonnull__(pTHX_1);
2995 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
2998 PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv)
2999 __attribute__nonnull__(pTHX_1);
3000 #define PERL_ARGS_ASSERT_SV_2BOOL \
3003 PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3004 __attribute__nonnull__(pTHX_2)
3005 __attribute__nonnull__(pTHX_3);
3006 #define PERL_ARGS_ASSERT_SV_2CV \
3007 assert(st); assert(gvp)
3009 PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv)
3010 __attribute__nonnull__(pTHX_1);
3011 #define PERL_ARGS_ASSERT_SV_2IO \
3015 STATIC bool S_glob_2number(pTHX_ GV* const gv)
3016 __attribute__nonnull__(pTHX_1);
3017 #define PERL_ARGS_ASSERT_GLOB_2NUMBER \
3020 STATIC char* S_glob_2pv(pTHX_ GV* const gv, STRLEN * const len)
3021 __attribute__nonnull__(pTHX_1);
3022 #define PERL_ARGS_ASSERT_GLOB_2PV \
3026 /* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv); */
3027 PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3028 PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
3029 PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV *const sv);
3030 PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
3031 __attribute__nonnull__(pTHX_1);
3032 #define PERL_ARGS_ASSERT_SV_2NUM \
3035 /* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3036 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3037 PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3038 __attribute__nonnull__(pTHX_1);
3039 #define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3042 PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3043 __attribute__nonnull__(pTHX_1);
3044 #define PERL_ARGS_ASSERT_SV_2PVBYTE \
3047 PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3048 __attribute__nonnull__(pTHX_1);
3049 #define PERL_ARGS_ASSERT_SV_PVN_NOMG \
3052 /* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv); */
3053 PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3054 PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv)
3055 __attribute__nonnull__(pTHX_1);
3056 #define PERL_ARGS_ASSERT_SV_IV \
3059 PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv)
3060 __attribute__nonnull__(pTHX_1);
3061 #define PERL_ARGS_ASSERT_SV_UV \
3064 PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv)
3065 __attribute__nonnull__(pTHX_1);
3066 #define PERL_ARGS_ASSERT_SV_NV \
3069 PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3070 __attribute__nonnull__(pTHX_1)
3071 __attribute__nonnull__(pTHX_2);
3072 #define PERL_ARGS_ASSERT_SV_PVN \
3073 assert(sv); assert(lp)
3075 PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3076 __attribute__nonnull__(pTHX_1)
3077 __attribute__nonnull__(pTHX_2);
3078 #define PERL_ARGS_ASSERT_SV_PVUTF8N \
3079 assert(sv); assert(lp)
3081 PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3082 __attribute__nonnull__(pTHX_1)
3083 __attribute__nonnull__(pTHX_2);
3084 #define PERL_ARGS_ASSERT_SV_PVBYTEN \
3085 assert(sv); assert(lp)
3087 PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv);
3088 PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
3089 __attribute__nonnull__(pTHX_1);
3090 #define PERL_ARGS_ASSERT_SV_ADD_ARENA \
3093 PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV *const sv)
3094 __attribute__nonnull__(pTHX_1);
3095 #define PERL_ARGS_ASSERT_SV_BACKOFF \
3098 PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3099 __attribute__nonnull__(pTHX_1)
3100 __attribute__nonnull__(pTHX_2);
3101 #define PERL_ARGS_ASSERT_SV_BLESS \
3102 assert(sv); assert(stash)
3104 PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3105 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3106 __attribute__nonnull__(pTHX_1)
3107 __attribute__nonnull__(pTHX_2);
3108 #define PERL_ARGS_ASSERT_SV_CATPVF \
3109 assert(sv); assert(pat)
3111 PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3112 __attribute__nonnull__(pTHX_1)
3113 __attribute__nonnull__(pTHX_2);
3114 #define PERL_ARGS_ASSERT_SV_VCATPVF \
3115 assert(sv); assert(pat)
3117 PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3118 __attribute__nonnull__(pTHX_1);
3119 #define PERL_ARGS_ASSERT_SV_CATPV \
3122 /* PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3123 __attribute__nonnull__(pTHX_1)
3124 __attribute__nonnull__(pTHX_2); */
3125 #define PERL_ARGS_ASSERT_SV_CATPVN \
3126 assert(dsv); assert(sstr)
3128 /* PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3129 __attribute__nonnull__(pTHX_1); */
3130 #define PERL_ARGS_ASSERT_SV_CATSV \
3133 PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3134 __attribute__nonnull__(pTHX_1);
3135 #define PERL_ARGS_ASSERT_SV_CHOP \
3138 PERL_CALLCONV I32 Perl_sv_clean_all(pTHX);
3139 PERL_CALLCONV void Perl_sv_clean_objs(pTHX);
3140 PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const sv)
3141 __attribute__nonnull__(pTHX_1);
3142 #define PERL_ARGS_ASSERT_SV_CLEAR \
3145 PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3146 PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3147 #if defined(USE_LOCALE_COLLATE)
3148 PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
3149 __attribute__nonnull__(pTHX_1)
3150 __attribute__nonnull__(pTHX_2);
3151 #define PERL_ARGS_ASSERT_SV_COLLXFRM \
3152 assert(sv); assert(nxp)
3155 PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
3156 __attribute__nonnull__(pTHX_1)
3157 __attribute__nonnull__(pTHX_2)
3158 __attribute__nonnull__(pTHX_3)
3159 __attribute__nonnull__(pTHX_4);
3160 #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \
3161 assert(sv); assert(startop); assert(code); assert(padp)
3163 PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv)
3164 __attribute__nonnull__(pTHX_1);
3165 #define PERL_ARGS_ASSERT_GETCWD_SV \
3168 PERL_CALLCONV void Perl_sv_dec(pTHX_ SV *const sv);
3169 PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv)
3170 __attribute__nonnull__(pTHX_1);
3171 #define PERL_ARGS_ASSERT_SV_DUMP \
3174 PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3175 __attribute__warn_unused_result__
3176 __attribute__nonnull__(pTHX_1)
3177 __attribute__nonnull__(pTHX_2);
3178 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \
3179 assert(sv); assert(name)
3181 PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char *const name)
3182 __attribute__warn_unused_result__
3183 __attribute__nonnull__(pTHX_1)
3184 __attribute__nonnull__(pTHX_2);
3185 #define PERL_ARGS_ASSERT_SV_DOES \
3186 assert(sv); assert(name)
3188 PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3189 PERL_CALLCONV void Perl_sv_free(pTHX_ SV *const sv);
3190 PERL_CALLCONV void Perl_sv_free2(pTHX_ SV *const sv)
3191 __attribute__nonnull__(pTHX_1);
3192 #define PERL_ARGS_ASSERT_SV_FREE2 \
3195 PERL_CALLCONV void Perl_sv_free_arenas(pTHX);
3196 PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
3197 __attribute__nonnull__(pTHX_1)
3198 __attribute__nonnull__(pTHX_2);
3199 #define PERL_ARGS_ASSERT_SV_GETS \
3200 assert(sv); assert(fp)
3202 PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
3203 __attribute__nonnull__(pTHX_1);
3204 #define PERL_ARGS_ASSERT_SV_GROW \
3207 PERL_CALLCONV void Perl_sv_inc(pTHX_ SV *const sv);
3208 /* PERL_CALLCONV void Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
3209 __attribute__nonnull__(pTHX_1)
3210 __attribute__nonnull__(pTHX_4); */
3211 #define PERL_ARGS_ASSERT_SV_INSERT \
3212 assert(bigstr); assert(little)
3214 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)
3215 __attribute__nonnull__(pTHX_1)
3216 __attribute__nonnull__(pTHX_4);
3217 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \
3218 assert(bigstr); assert(little)
3220 PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char *const name)
3221 __attribute__nonnull__(pTHX_2);
3222 #define PERL_ARGS_ASSERT_SV_ISA \
3225 PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv);
3226 PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV *const sv);
3227 PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV *const sv);
3228 PERL_CALLCONV void Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
3229 __attribute__nonnull__(pTHX_1);
3230 #define PERL_ARGS_ASSERT_SV_MAGIC \
3233 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)
3234 __attribute__nonnull__(pTHX_1);
3235 #define PERL_ARGS_ASSERT_SV_MAGICEXT \
3238 PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3239 __attribute__malloc__
3240 __attribute__warn_unused_result__;
3242 PERL_CALLCONV SV* Perl_sv_newmortal(pTHX)
3243 __attribute__warn_unused_result__;
3245 PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV *const sv);
3246 PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv);
3247 PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
3248 __attribute__nonnull__(pTHX_2);
3249 #define PERL_ARGS_ASSERT_SV_POS_U2B \
3252 PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
3253 __attribute__nonnull__(pTHX_2);
3254 #define PERL_ARGS_ASSERT_SV_POS_B2U \
3257 /* PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
3258 __attribute__nonnull__(pTHX_1); */
3259 #define PERL_ARGS_ASSERT_SV_PVN_FORCE \
3262 PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
3263 __attribute__nonnull__(pTHX_1);
3264 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \
3267 PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
3268 __attribute__nonnull__(pTHX_1);
3269 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \
3272 PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
3273 __attribute__nonnull__(pTHX_1)
3274 __attribute__nonnull__(pTHX_2);
3275 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \
3276 assert(sv); assert(encoding)
3278 PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3279 __attribute__nonnull__(pTHX_1)
3280 __attribute__nonnull__(pTHX_2)
3281 __attribute__nonnull__(pTHX_3)
3282 __attribute__nonnull__(pTHX_4)
3283 __attribute__nonnull__(pTHX_5);
3284 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \
3285 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3287 PERL_CALLCONV const char* Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3288 __attribute__warn_unused_result__
3289 __attribute__nonnull__(pTHX_1);
3290 #define PERL_ARGS_ASSERT_SV_REFTYPE \
3293 PERL_CALLCONV void Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
3294 __attribute__nonnull__(pTHX_1)
3295 __attribute__nonnull__(pTHX_2);
3296 #define PERL_ARGS_ASSERT_SV_REPLACE \
3297 assert(sv); assert(nsv)
3299 PERL_CALLCONV void Perl_sv_report_used(pTHX);
3300 PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV *const stash)
3301 __attribute__nonnull__(pTHX_1);
3302 #define PERL_ARGS_ASSERT_SV_RESET \
3305 PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3306 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3307 __attribute__nonnull__(pTHX_1)
3308 __attribute__nonnull__(pTHX_2);
3309 #define PERL_ARGS_ASSERT_SV_SETPVF \
3310 assert(sv); assert(pat)
3312 PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3313 __attribute__nonnull__(pTHX_1)
3314 __attribute__nonnull__(pTHX_2);
3315 #define PERL_ARGS_ASSERT_SV_VSETPVF \
3316 assert(sv); assert(pat)
3318 PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
3319 __attribute__nonnull__(pTHX_1);
3320 #define PERL_ARGS_ASSERT_SV_SETIV \
3323 PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3324 __attribute__nonnull__(pTHX_1);
3325 #define PERL_ARGS_ASSERT_SV_SETPVIV \
3328 PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
3329 __attribute__nonnull__(pTHX_1);
3330 #define PERL_ARGS_ASSERT_SV_SETUV \
3333 PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
3334 __attribute__nonnull__(pTHX_1);
3335 #define PERL_ARGS_ASSERT_SV_SETNV \
3338 PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
3339 __attribute__nonnull__(pTHX_1);
3340 #define PERL_ARGS_ASSERT_SV_SETREF_IV \
3343 PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
3344 __attribute__nonnull__(pTHX_1);
3345 #define PERL_ARGS_ASSERT_SV_SETREF_UV \
3348 PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
3349 __attribute__nonnull__(pTHX_1);
3350 #define PERL_ARGS_ASSERT_SV_SETREF_NV \
3353 PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
3354 __attribute__nonnull__(pTHX_1);
3355 #define PERL_ARGS_ASSERT_SV_SETREF_PV \
3358 PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
3359 __attribute__nonnull__(pTHX_1)
3360 __attribute__nonnull__(pTHX_3);
3361 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \
3362 assert(rv); assert(pv)
3364 PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
3365 __attribute__nonnull__(pTHX_1);
3366 #define PERL_ARGS_ASSERT_SV_SETPV \
3369 PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3370 __attribute__nonnull__(pTHX_1);
3371 #define PERL_ARGS_ASSERT_SV_SETPVN \
3374 /* PERL_CALLCONV void Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
3375 __attribute__nonnull__(pTHX_1); */
3376 #define PERL_ARGS_ASSERT_SV_SETSV \
3379 /* PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv)
3380 __attribute__nonnull__(pTHX_1); */
3381 #define PERL_ARGS_ASSERT_SV_TAINT \
3384 PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV *const sv)
3385 __attribute__warn_unused_result__
3386 __attribute__nonnull__(pTHX_1);
3387 #define PERL_ARGS_ASSERT_SV_TAINTED \
3390 PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
3391 __attribute__nonnull__(pTHX_1);
3392 #define PERL_ARGS_ASSERT_SV_UNMAGIC \
3395 /* PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv)
3396 __attribute__nonnull__(pTHX_1); */
3397 #define PERL_ARGS_ASSERT_SV_UNREF \
3400 PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
3401 __attribute__nonnull__(pTHX_1);
3402 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3405 PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV *const sv)
3406 __attribute__nonnull__(pTHX_1);
3407 #define PERL_ARGS_ASSERT_SV_UNTAINT \
3410 PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
3411 __attribute__nonnull__(pTHX_1);
3412 #define PERL_ARGS_ASSERT_SV_UPGRADE \
3415 /* PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
3416 __attribute__nonnull__(pTHX_1); */
3417 #define PERL_ARGS_ASSERT_SV_USEPVN \
3420 PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
3421 __attribute__nonnull__(pTHX_1);
3422 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \
3425 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)
3426 __attribute__nonnull__(pTHX_1)
3427 __attribute__nonnull__(pTHX_2);
3428 #define PERL_ARGS_ASSERT_SV_VCATPVFN \
3429 assert(sv); assert(pat)
3431 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)
3432 __attribute__nonnull__(pTHX_1)
3433 __attribute__nonnull__(pTHX_2);
3434 #define PERL_ARGS_ASSERT_SV_VSETPVFN \
3435 assert(sv); assert(pat)
3437 PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv)
3438 __attribute__warn_unused_result__
3439 __attribute__nonnull__(pTHX_1);
3440 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3443 PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3444 __attribute__nonnull__(pTHX_1)
3445 __attribute__nonnull__(pTHX_2)
3446 __attribute__nonnull__(pTHX_3);
3447 #define PERL_ARGS_ASSERT_SWASH_INIT \
3448 assert(pkg); assert(name); assert(listsv)
3450 PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
3451 __attribute__nonnull__(pTHX_1)
3452 __attribute__nonnull__(pTHX_2);
3453 #define PERL_ARGS_ASSERT_SWASH_FETCH \
3454 assert(swash); assert(ptr)
3456 PERL_CALLCONV void Perl_taint_env(pTHX);
3457 PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char *const s)
3458 __attribute__nonnull__(pTHX_2);
3459 #define PERL_ARGS_ASSERT_TAINT_PROPER \
3462 PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3463 __attribute__nonnull__(pTHX_1)
3464 __attribute__nonnull__(pTHX_2)
3465 __attribute__nonnull__(pTHX_4)
3466 __attribute__nonnull__(pTHX_5)
3467 __attribute__nonnull__(pTHX_6);
3468 #define PERL_ARGS_ASSERT_TO_UTF8_CASE \
3469 assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special)
3471 PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3472 __attribute__nonnull__(pTHX_1)
3473 __attribute__nonnull__(pTHX_2);
3474 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER \
3475 assert(p); assert(ustrp)
3477 PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3478 __attribute__nonnull__(pTHX_1)
3479 __attribute__nonnull__(pTHX_2);
3480 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER \
3481 assert(p); assert(ustrp)
3483 PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3484 __attribute__nonnull__(pTHX_1)
3485 __attribute__nonnull__(pTHX_2);
3486 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE \
3487 assert(p); assert(ustrp)
3489 PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3490 __attribute__nonnull__(pTHX_1)
3491 __attribute__nonnull__(pTHX_2);
3492 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD \
3493 assert(p); assert(ustrp)
3495 #if defined(UNLINK_ALL_VERSIONS)
3496 PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f)
3497 __attribute__nonnull__(pTHX_1);
3498 #define PERL_ARGS_ASSERT_UNLNK \
3502 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)
3503 __attribute__nonnull__(pTHX_1)
3504 __attribute__nonnull__(pTHX_2)
3505 __attribute__nonnull__(pTHX_3)
3506 __attribute__nonnull__(pTHX_5);
3507 #define PERL_ARGS_ASSERT_UNPACK_STR \
3508 assert(pat); assert(patend); assert(s); assert(strend)
3510 PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
3511 __attribute__nonnull__(pTHX_1)
3512 __attribute__nonnull__(pTHX_2)
3513 __attribute__nonnull__(pTHX_3)
3514 __attribute__nonnull__(pTHX_4);
3515 #define PERL_ARGS_ASSERT_UNPACKSTRING \
3516 assert(pat); assert(patend); assert(s); assert(strend)
3518 PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3519 PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek);
3521 PERL_CALLCONV OP * Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3522 __attribute__nonnull__(pTHX_4);
3523 #define PERL_ARGS_ASSERT_UTILIZE \
3527 PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3528 __attribute__nonnull__(pTHX_4);
3529 #define PERL_ARGS_ASSERT_UTILIZE \
3533 PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3534 __attribute__nonnull__(pTHX_1)
3535 __attribute__nonnull__(pTHX_2)
3536 __attribute__nonnull__(pTHX_4);
3537 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \
3538 assert(p); assert(d); assert(newlen)
3540 PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3541 __attribute__nonnull__(pTHX_1)
3542 __attribute__nonnull__(pTHX_2)
3543 __attribute__nonnull__(pTHX_4);
3544 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3545 assert(p); assert(d); assert(newlen)
3547 PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3548 __attribute__warn_unused_result__
3550 __attribute__nonnull__(pTHX_1)
3551 __attribute__nonnull__(pTHX_2);
3552 #define PERL_ARGS_ASSERT_UTF8_LENGTH \
3553 assert(s); assert(e)
3555 PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3556 __attribute__warn_unused_result__
3558 __attribute__nonnull__(pTHX_1)
3559 __attribute__nonnull__(pTHX_2);
3560 #define PERL_ARGS_ASSERT_UTF8_DISTANCE \
3561 assert(a); assert(b)
3563 PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ const U8 *s, I32 off)
3564 __attribute__warn_unused_result__
3566 __attribute__nonnull__(pTHX_1);
3567 #define PERL_ARGS_ASSERT_UTF8_HOP \
3570 PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
3571 __attribute__nonnull__(pTHX_1)
3572 __attribute__nonnull__(pTHX_2);
3573 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
3574 assert(s); assert(len)
3576 PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
3577 __attribute__nonnull__(pTHX_1)
3578 __attribute__nonnull__(pTHX_2);
3579 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
3580 assert(s); assert(len)
3582 PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
3583 __attribute__nonnull__(pTHX_1)
3584 __attribute__nonnull__(pTHX_2);
3585 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
3586 assert(s); assert(len)
3588 PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3589 __attribute__nonnull__(pTHX_1);
3590 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \
3593 PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3594 __attribute__nonnull__(pTHX_1);
3595 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \
3600 PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3601 __attribute__nonnull__(pTHX_1);
3602 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3606 /* PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3607 __attribute__nonnull__(pTHX_1); */
3608 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3613 PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3614 __attribute__nonnull__(pTHX_1);
3615 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3620 PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3621 __attribute__nonnull__(pTHX_1);
3622 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8 \
3626 /* PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3627 __attribute__nonnull__(pTHX_1); */
3628 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8 \
3633 /* PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
3634 __attribute__nonnull__(pTHX_1); */
3635 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
3638 PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3639 __attribute__nonnull__(pTHX_1);
3640 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS \
3643 PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3644 __attribute__nonnull__(pTHX_1);
3645 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS \
3648 PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3649 __attribute__nonnull__(pTHX_1)
3650 __attribute__nonnull__(pTHX_2);
3651 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3652 assert(dsv); assert(spv)
3654 PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3655 __attribute__warn_unused_result__
3656 __attribute__nonnull__(pTHX_1)
3657 __attribute__nonnull__(pTHX_2);
3658 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3659 assert(dsv); assert(ssv)
3661 PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv)
3662 __attribute__nonnull__(pTHX_1);
3663 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3666 PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3667 __attribute__nonnull__(pTHX_1);
3668 #define PERL_ARGS_ASSERT_VIVIFY_REF \
3671 PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
3672 __attribute__nonnull__(pTHX_2);
3673 #define PERL_ARGS_ASSERT_WAIT4PID \
3676 PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt)
3677 __attribute__nonnull__(pTHX_1);
3678 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3681 PERL_CALLCONV U32 Perl_seed(pTHX);
3682 PERL_CALLCONV UV Perl_get_hash_seed(pTHX)
3683 __attribute__warn_unused_result__;
3685 PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op);
3686 PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv);
3687 PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...)
3688 __attribute__format__(__printf__,pTHX_1,pTHX_2)
3689 __attribute__nonnull__(pTHX_1);
3690 #define PERL_ARGS_ASSERT_WARN \
3693 PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args)
3694 __attribute__nonnull__(pTHX_1);
3695 #define PERL_ARGS_ASSERT_VWARN \
3698 PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...)
3699 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3700 __attribute__nonnull__(pTHX_2);
3701 #define PERL_ARGS_ASSERT_WARNER \
3704 PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
3705 __attribute__nonnull__(pTHX_2);
3706 #define PERL_ARGS_ASSERT_VWARNER \
3709 PERL_CALLCONV void Perl_watch(pTHX_ char** addr)
3710 __attribute__nonnull__(pTHX_1);
3711 #define PERL_ARGS_ASSERT_WATCH \
3714 PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig)
3715 __attribute__nonnull__(pTHX_1);
3716 #define PERL_ARGS_ASSERT_WHICHSIG \
3719 PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen)
3720 __attribute__nonnull__(pTHX_1);
3721 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \
3724 PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s)
3725 __attribute__nonnull__(pTHX_1);
3726 #define PERL_ARGS_ASSERT_YYERROR \
3729 PERL_CALLCONV int Perl_yylex(pTHX);
3730 PERL_CALLCONV int Perl_yyparse(pTHX);
3731 PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser)
3732 __attribute__nonnull__(pTHX_1);
3733 #define PERL_ARGS_ASSERT_PARSER_FREE \
3736 PERL_CALLCONV int Perl_yywarn(pTHX_ const char *const s)
3737 __attribute__nonnull__(pTHX_1);
3738 #define PERL_ARGS_ASSERT_YYWARN \
3741 #if defined(MYMALLOC)
3742 PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s)
3743 __attribute__nonnull__(pTHX_1);
3744 #define PERL_ARGS_ASSERT_DUMP_MSTATS \
3747 PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
3748 __attribute__nonnull__(pTHX_1);
3749 #define PERL_ARGS_ASSERT_GET_MSTATS \
3753 PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes)
3754 __attribute__malloc__
3755 __attribute__warn_unused_result__;
3757 PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3758 __attribute__malloc__
3759 __attribute__warn_unused_result__;
3761 PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3762 __attribute__malloc__
3763 __attribute__warn_unused_result__;
3765 PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where);
3766 #if defined(PERL_GLOBAL_STRUCT)
3767 PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX);
3768 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
3769 PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
3770 __attribute__nonnull__(pTHX_1);
3771 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT \
3775 PERL_CALLCONV int Perl_runops_standard(pTHX);
3776 PERL_CALLCONV int Perl_runops_debug(pTHX);
3777 PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3778 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3779 __attribute__nonnull__(pTHX_1)
3780 __attribute__nonnull__(pTHX_2);
3781 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \
3782 assert(sv); assert(pat)
3784 PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3785 __attribute__nonnull__(pTHX_1)
3786 __attribute__nonnull__(pTHX_2);
3787 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \
3788 assert(sv); assert(pat)
3790 PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
3791 __attribute__nonnull__(pTHX_1);
3792 #define PERL_ARGS_ASSERT_SV_CATPV_MG \
3795 /* PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
3796 __attribute__nonnull__(pTHX_1)
3797 __attribute__nonnull__(pTHX_2); */
3798 #define PERL_ARGS_ASSERT_SV_CATPVN_MG \
3799 assert(sv); assert(ptr)
3801 /* PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
3802 __attribute__nonnull__(pTHX_1); */
3803 #define PERL_ARGS_ASSERT_SV_CATSV_MG \
3806 PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3807 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3808 __attribute__nonnull__(pTHX_1)
3809 __attribute__nonnull__(pTHX_2);
3810 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \
3811 assert(sv); assert(pat)
3813 PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3814 __attribute__nonnull__(pTHX_1)
3815 __attribute__nonnull__(pTHX_2);
3816 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \
3817 assert(sv); assert(pat)
3819 PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
3820 __attribute__nonnull__(pTHX_1);
3821 #define PERL_ARGS_ASSERT_SV_SETIV_MG \
3824 PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
3825 __attribute__nonnull__(pTHX_1);
3826 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG \
3829 PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
3830 __attribute__nonnull__(pTHX_1);
3831 #define PERL_ARGS_ASSERT_SV_SETUV_MG \
3834 PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
3835 __attribute__nonnull__(pTHX_1);
3836 #define PERL_ARGS_ASSERT_SV_SETNV_MG \
3839 PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
3840 __attribute__nonnull__(pTHX_1);
3841 #define PERL_ARGS_ASSERT_SV_SETPV_MG \
3844 PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3845 __attribute__nonnull__(pTHX_1)
3846 __attribute__nonnull__(pTHX_2);
3847 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \
3848 assert(sv); assert(ptr)
3850 PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
3851 __attribute__nonnull__(pTHX_1);
3852 #define PERL_ARGS_ASSERT_SV_SETSV_MG \
3855 /* PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
3856 __attribute__nonnull__(pTHX_1); */
3857 #define PERL_ARGS_ASSERT_SV_USEPVN_MG \
3860 PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id)
3861 __attribute__warn_unused_result__;
3863 PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3864 __attribute__nonnull__(pTHX_1)
3865 __attribute__nonnull__(pTHX_2);
3866 #define PERL_ARGS_ASSERT_PV_DISPLAY \
3867 assert(dsv); assert(pv)
3869 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)
3870 __attribute__nonnull__(pTHX_1)
3871 __attribute__nonnull__(pTHX_2);
3872 #define PERL_ARGS_ASSERT_PV_ESCAPE \
3873 assert(dsv); assert(str)
3875 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)
3876 __attribute__nonnull__(pTHX_1)
3877 __attribute__nonnull__(pTHX_2);
3878 #define PERL_ARGS_ASSERT_PV_PRETTY \
3879 assert(dsv); assert(str)
3881 PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
3882 __attribute__format__(__printf__,pTHX_3,pTHX_4)
3883 __attribute__nonnull__(pTHX_2)
3884 __attribute__nonnull__(pTHX_3);
3885 #define PERL_ARGS_ASSERT_DUMP_INDENT \
3886 assert(file); assert(pat)
3888 PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
3889 __attribute__nonnull__(pTHX_2)
3890 __attribute__nonnull__(pTHX_3);
3891 #define PERL_ARGS_ASSERT_DUMP_VINDENT \
3892 assert(file); assert(pat)
3894 PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3895 __attribute__nonnull__(pTHX_2)
3896 __attribute__nonnull__(pTHX_3);
3897 #define PERL_ARGS_ASSERT_DO_GV_DUMP \
3898 assert(file); assert(name)
3900 PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3901 __attribute__nonnull__(pTHX_2)
3902 __attribute__nonnull__(pTHX_3);
3903 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
3904 assert(file); assert(name)
3906 PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
3907 __attribute__nonnull__(pTHX_2)
3908 __attribute__nonnull__(pTHX_3);
3909 #define PERL_ARGS_ASSERT_DO_HV_DUMP \
3910 assert(file); assert(name)
3912 PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3913 __attribute__nonnull__(pTHX_2)
3914 __attribute__nonnull__(pTHX_3);
3915 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
3916 assert(file); assert(mg)
3918 PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
3919 __attribute__nonnull__(pTHX_2);
3920 #define PERL_ARGS_ASSERT_DO_OP_DUMP \
3923 PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
3924 __attribute__nonnull__(pTHX_2);
3925 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
3928 PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3929 __attribute__nonnull__(pTHX_2);
3930 #define PERL_ARGS_ASSERT_DO_SV_DUMP \
3933 PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
3934 PERL_CALLCONV void Perl_reginitcolors(pTHX);
3935 /* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
3936 __attribute__warn_unused_result__
3937 __attribute__nonnull__(pTHX_1); */
3938 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
3941 /* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3942 __attribute__warn_unused_result__
3943 __attribute__nonnull__(pTHX_1); */
3944 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
3947 /* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3948 __attribute__warn_unused_result__
3949 __attribute__nonnull__(pTHX_1); */
3950 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
3953 /* PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv)
3954 __attribute__warn_unused_result__
3955 __attribute__nonnull__(pTHX_1); */
3956 #define PERL_ARGS_ASSERT_SV_PV \
3959 /* PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv)
3960 __attribute__warn_unused_result__
3961 __attribute__nonnull__(pTHX_1); */
3962 #define PERL_ARGS_ASSERT_SV_PVUTF8 \
3965 /* PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv)
3966 __attribute__warn_unused_result__
3967 __attribute__nonnull__(pTHX_1); */
3968 #define PERL_ARGS_ASSERT_SV_PVBYTE \
3971 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
3972 __attribute__nonnull__(pTHX_1); */
3973 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \
3976 PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
3977 __attribute__nonnull__(pTHX_1);
3978 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \
3981 PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *const sv)
3982 __attribute__nonnull__(pTHX_1);
3983 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3986 PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *const sv)
3987 __attribute__nonnull__(pTHX_1);
3988 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3991 /* PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv)
3992 __attribute__nonnull__(pTHX_1); */
3993 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
3996 PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
3997 __attribute__nonnull__(pTHX_1);
3998 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
4001 PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n);
4002 PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv)
4003 __attribute__nonnull__(pTHX_1);
4004 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \
4007 PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
4008 __attribute__nonnull__(pTHX_1)
4009 __attribute__nonnull__(pTHX_2);
4010 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
4011 assert(sv); assert(mg)
4013 PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
4014 PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
4016 PERL_CALLCONV OP * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4017 __attribute__noreturn__;
4020 PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4021 __attribute__noreturn__;
4024 PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs)
4025 __attribute__nonnull__(pTHX_1);
4026 #define PERL_ARGS_ASSERT_MY_ATTRS \
4029 PERL_CALLCONV void Perl_boot_core_xsutils(pTHX);
4030 #if defined(USE_ITHREADS)
4031 PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
4032 __attribute__warn_unused_result__
4033 __attribute__nonnull__(pTHX_4);
4034 #define PERL_ARGS_ASSERT_CX_DUP \
4037 PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
4038 __attribute__warn_unused_result__
4039 __attribute__nonnull__(pTHX_2);
4040 #define PERL_ARGS_ASSERT_SI_DUP \
4043 PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
4044 __attribute__malloc__
4045 __attribute__warn_unused_result__
4046 __attribute__nonnull__(pTHX_1)
4047 __attribute__nonnull__(pTHX_2);
4048 #define PERL_ARGS_ASSERT_SS_DUP \
4049 assert(proto_perl); assert(param)
4051 PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
4052 __attribute__warn_unused_result__
4053 __attribute__nonnull__(pTHX_2);
4054 #define PERL_ARGS_ASSERT_ANY_DUP \
4057 PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
4058 __attribute__warn_unused_result__
4059 __attribute__nonnull__(pTHX_3);
4060 #define PERL_ARGS_ASSERT_HE_DUP \
4063 PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
4064 __attribute__warn_unused_result__
4065 __attribute__nonnull__(pTHX_2);
4066 #define PERL_ARGS_ASSERT_HEK_DUP \
4069 PERL_CALLCONV void Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
4070 __attribute__nonnull__(pTHX_1)
4071 __attribute__nonnull__(pTHX_2)
4072 __attribute__nonnull__(pTHX_3);
4073 #define PERL_ARGS_ASSERT_RE_DUP_GUTS \
4074 assert(sstr); assert(dstr); assert(param)
4076 PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
4077 __attribute__nonnull__(pTHX_3);
4078 #define PERL_ARGS_ASSERT_FP_DUP \
4081 PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR *const dp)
4082 __attribute__warn_unused_result__;
4084 PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
4085 __attribute__warn_unused_result__
4086 __attribute__nonnull__(pTHX_2);
4087 #define PERL_ARGS_ASSERT_GP_DUP \
4090 PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
4091 __attribute__warn_unused_result__
4092 __attribute__nonnull__(pTHX_2);
4093 #define PERL_ARGS_ASSERT_MG_DUP \
4096 PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4097 __attribute__warn_unused_result__
4098 __attribute__nonnull__(pTHX_2);
4099 #define PERL_ARGS_ASSERT_SV_DUP \
4102 PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
4103 __attribute__nonnull__(pTHX_1)
4104 __attribute__nonnull__(pTHX_2)
4105 __attribute__nonnull__(pTHX_3);
4106 #define PERL_ARGS_ASSERT_RVPV_DUP \
4107 assert(dstr); assert(sstr); assert(param)
4109 PERL_CALLCONV yy_parser* Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param)
4110 __attribute__nonnull__(pTHX_2);
4111 #define PERL_ARGS_ASSERT_PARSER_DUP \
4115 PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX)
4116 __attribute__malloc__
4117 __attribute__warn_unused_result__;
4119 PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
4120 __attribute__warn_unused_result__
4121 __attribute__nonnull__(pTHX_1);
4122 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
4125 PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
4126 __attribute__nonnull__(pTHX_1)
4127 __attribute__nonnull__(pTHX_3);
4128 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
4129 assert(tbl); assert(newsv)
4131 PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
4132 __attribute__nonnull__(pTHX_1);
4133 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
4136 PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl);
4137 PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
4138 #if defined(USE_ITHREADS)
4139 # if defined(HAVE_INTERP_INTERN)
4140 PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst)
4141 __attribute__nonnull__(pTHX_1)
4142 __attribute__nonnull__(pTHX_2);
4143 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4144 assert(src); assert(dst)
4148 #if defined(HAVE_INTERP_INTERN)
4149 PERL_CALLCONV void Perl_sys_intern_clear(pTHX);
4150 PERL_CALLCONV void Perl_sys_intern_init(pTHX);
4153 PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o)
4154 __attribute__warn_unused_result__
4155 __attribute__nonnull__(pTHX_1);
4156 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
4159 PERL_CALLCONV const char * Perl_custom_op_desc(pTHX_ const OP *o)
4160 __attribute__warn_unused_result__
4161 __attribute__nonnull__(pTHX_1);
4162 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
4166 PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv);
4167 /* PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv); */
4168 PERL_CALLCONV bool Perl_sv_destroyable(pTHX_ SV *sv);
4170 /* PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); */
4172 PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv);
4174 PERL_CALLCONV int Perl_nothreadhook(pTHX);
4178 #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
4179 STATIC I32 S_do_trans_simple(pTHX_ SV * const sv)
4180 __attribute__warn_unused_result__
4181 __attribute__nonnull__(pTHX_1);
4182 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \
4185 STATIC I32 S_do_trans_count(pTHX_ SV * const sv)
4186 __attribute__warn_unused_result__
4187 __attribute__nonnull__(pTHX_1);
4188 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4191 STATIC I32 S_do_trans_complex(pTHX_ SV * const sv)
4192 __attribute__warn_unused_result__
4193 __attribute__nonnull__(pTHX_1);
4194 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \
4197 STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv)
4198 __attribute__warn_unused_result__
4199 __attribute__nonnull__(pTHX_1);
4200 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8 \
4203 STATIC I32 S_do_trans_count_utf8(pTHX_ SV * const sv)
4204 __attribute__warn_unused_result__
4205 __attribute__nonnull__(pTHX_1);
4206 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8 \
4209 STATIC I32 S_do_trans_complex_utf8(pTHX_ SV * const sv)
4210 __attribute__warn_unused_result__
4211 __attribute__nonnull__(pTHX_1);
4212 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8 \
4217 #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
4218 STATIC void S_gv_init_sv(pTHX_ GV *gv, const svtype sv_type)
4219 __attribute__nonnull__(pTHX_1);
4220 #define PERL_ARGS_ASSERT_GV_INIT_SV \
4223 STATIC HV* S_gv_get_super_pkg(pTHX_ const char* name, I32 namelen)
4224 __attribute__nonnull__(pTHX_1);
4225 #define PERL_ARGS_ASSERT_GV_GET_SUPER_PKG \
4228 STATIC HV* S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags)
4229 __attribute__nonnull__(pTHX_1)
4230 __attribute__nonnull__(pTHX_2)
4231 __attribute__nonnull__(pTHX_3)
4232 __attribute__nonnull__(pTHX_4);
4233 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \
4234 assert(gv); assert(varpv); assert(namesv); assert(methpv)
4238 PERL_CALLCONV void* Perl_get_arena(pTHX_ const size_t svtype, const U32 misc)
4239 __attribute__malloc__
4240 __attribute__warn_unused_result__;
4243 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
4244 STATIC void S_hsplit(pTHX_ HV *hv)
4245 __attribute__nonnull__(pTHX_1);
4246 #define PERL_ARGS_ASSERT_HSPLIT \
4249 STATIC void S_hfreeentries(pTHX_ HV *hv)
4250 __attribute__nonnull__(pTHX_1);
4251 #define PERL_ARGS_ASSERT_HFREEENTRIES \
4254 STATIC HE* S_new_he(pTHX)
4255 __attribute__malloc__
4256 __attribute__warn_unused_result__;
4258 STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4259 __attribute__malloc__
4260 __attribute__warn_unused_result__
4261 __attribute__nonnull__(1);
4262 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4265 STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store)
4266 __attribute__nonnull__(1)
4267 __attribute__nonnull__(2)
4268 __attribute__nonnull__(3);
4269 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4270 assert(hv); assert(needs_copy); assert(needs_store)
4272 STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4273 STATIC HEK* S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
4274 __attribute__warn_unused_result__
4275 __attribute__nonnull__(pTHX_1);
4276 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \
4279 STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4280 __attribute__noreturn__
4281 __attribute__nonnull__(pTHX_2)
4282 __attribute__nonnull__(pTHX_4);
4283 #define PERL_ARGS_ASSERT_HV_NOTALLOWED \
4284 assert(key); assert(msg)
4286 STATIC struct xpvhv_aux* S_hv_auxinit(HV *hv)
4287 __attribute__nonnull__(1);
4288 #define PERL_ARGS_ASSERT_HV_AUXINIT \
4291 STATIC SV* S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4292 STATIC void S_clear_placeholders(pTHX_ HV *hv, U32 items)
4293 __attribute__nonnull__(pTHX_1);
4294 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \
4297 STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he)
4298 __attribute__nonnull__(pTHX_1);
4299 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \
4304 #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
4305 STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv)
4306 __attribute__nonnull__(pTHX_2);
4307 #define PERL_ARGS_ASSERT_SAVE_MAGIC \
4310 STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth)
4311 __attribute__nonnull__(pTHX_1)
4312 __attribute__nonnull__(pTHX_2)
4313 __attribute__nonnull__(pTHX_3);
4314 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4315 assert(sv); assert(mg); assert(meth)
4317 STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val)
4318 __attribute__nonnull__(pTHX_1)
4319 __attribute__nonnull__(pTHX_2)
4320 __attribute__nonnull__(pTHX_3);
4321 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
4322 assert(sv); assert(mg); assert(meth)
4324 STATIC void S_restore_magic(pTHX_ const void *p);
4325 STATIC void S_unwind_handler_stack(pTHX_ const void *p)
4326 __attribute__nonnull__(pTHX_1);
4327 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK \
4333 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
4334 PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o)
4335 __attribute__warn_unused_result__
4336 __attribute__nonnull__(pTHX_1);
4337 #define PERL_ARGS_ASSERT_CK_ANONCODE \
4340 PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o)
4341 __attribute__warn_unused_result__
4342 __attribute__nonnull__(pTHX_1);
4343 #define PERL_ARGS_ASSERT_CK_BITOP \
4346 PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o)
4347 __attribute__warn_unused_result__
4348 __attribute__nonnull__(pTHX_1);
4349 #define PERL_ARGS_ASSERT_CK_CONCAT \
4352 PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o)
4353 __attribute__warn_unused_result__
4354 __attribute__nonnull__(pTHX_1);
4355 #define PERL_ARGS_ASSERT_CK_DEFINED \
4358 PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o)
4359 __attribute__warn_unused_result__
4360 __attribute__nonnull__(pTHX_1);
4361 #define PERL_ARGS_ASSERT_CK_DELETE \
4364 PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o)
4365 __attribute__warn_unused_result__
4366 __attribute__nonnull__(pTHX_1);
4367 #define PERL_ARGS_ASSERT_CK_DIE \
4370 PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o)
4371 __attribute__warn_unused_result__
4372 __attribute__nonnull__(pTHX_1);
4373 #define PERL_ARGS_ASSERT_CK_EOF \
4376 PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o)
4377 __attribute__warn_unused_result__
4378 __attribute__nonnull__(pTHX_1);
4379 #define PERL_ARGS_ASSERT_CK_EVAL \
4382 PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o)
4383 __attribute__warn_unused_result__
4384 __attribute__nonnull__(pTHX_1);
4385 #define PERL_ARGS_ASSERT_CK_EXEC \
4388 PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o)
4389 __attribute__warn_unused_result__
4390 __attribute__nonnull__(pTHX_1);
4391 #define PERL_ARGS_ASSERT_CK_EXISTS \
4394 PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o)
4395 __attribute__warn_unused_result__
4396 __attribute__nonnull__(pTHX_1);
4397 #define PERL_ARGS_ASSERT_CK_EXIT \
4400 PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o)
4401 __attribute__warn_unused_result__
4402 __attribute__nonnull__(pTHX_1);
4403 #define PERL_ARGS_ASSERT_CK_FTST \
4406 PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o)
4407 __attribute__warn_unused_result__
4408 __attribute__nonnull__(pTHX_1);
4409 #define PERL_ARGS_ASSERT_CK_FUN \
4412 PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o)
4413 __attribute__warn_unused_result__
4414 __attribute__nonnull__(pTHX_1);
4415 #define PERL_ARGS_ASSERT_CK_GLOB \
4418 PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o)
4419 __attribute__warn_unused_result__
4420 __attribute__nonnull__(pTHX_1);
4421 #define PERL_ARGS_ASSERT_CK_GREP \
4424 PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o)
4425 __attribute__warn_unused_result__
4426 __attribute__nonnull__(pTHX_1);
4427 #define PERL_ARGS_ASSERT_CK_INDEX \
4430 PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o)
4431 __attribute__warn_unused_result__
4432 __attribute__nonnull__(pTHX_1);
4433 #define PERL_ARGS_ASSERT_CK_JOIN \
4436 PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o)
4437 __attribute__warn_unused_result__
4438 __attribute__nonnull__(pTHX_1);
4439 #define PERL_ARGS_ASSERT_CK_LFUN \
4442 PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o)
4443 __attribute__warn_unused_result__
4444 __attribute__nonnull__(pTHX_1);
4445 #define PERL_ARGS_ASSERT_CK_LISTIOB \
4448 PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o)
4449 __attribute__warn_unused_result__
4450 __attribute__nonnull__(pTHX_1);
4451 #define PERL_ARGS_ASSERT_CK_MATCH \
4454 PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o)
4455 __attribute__warn_unused_result__
4456 __attribute__nonnull__(pTHX_1);
4457 #define PERL_ARGS_ASSERT_CK_METHOD \
4460 PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o)
4461 __attribute__warn_unused_result__
4462 __attribute__nonnull__(pTHX_1);
4463 #define PERL_ARGS_ASSERT_CK_NULL \
4466 PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o)
4467 __attribute__warn_unused_result__
4468 __attribute__nonnull__(pTHX_1);
4469 #define PERL_ARGS_ASSERT_CK_OPEN \
4472 PERL_CALLCONV OP* Perl_ck_readline(pTHX_ OP *o)
4473 __attribute__warn_unused_result__
4474 __attribute__nonnull__(pTHX_1);
4475 #define PERL_ARGS_ASSERT_CK_READLINE \
4478 PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o)
4479 __attribute__warn_unused_result__
4480 __attribute__nonnull__(pTHX_1);
4481 #define PERL_ARGS_ASSERT_CK_REPEAT \
4484 PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o)
4485 __attribute__warn_unused_result__
4486 __attribute__nonnull__(pTHX_1);
4487 #define PERL_ARGS_ASSERT_CK_REQUIRE \
4490 PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o)
4491 __attribute__warn_unused_result__
4492 __attribute__nonnull__(pTHX_1);
4493 #define PERL_ARGS_ASSERT_CK_RETURN \
4496 PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o)
4497 __attribute__warn_unused_result__
4498 __attribute__nonnull__(pTHX_1);
4499 #define PERL_ARGS_ASSERT_CK_RFUN \
4502 PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o)
4503 __attribute__warn_unused_result__
4504 __attribute__nonnull__(pTHX_1);
4505 #define PERL_ARGS_ASSERT_CK_RVCONST \
4508 PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o)
4509 __attribute__warn_unused_result__
4510 __attribute__nonnull__(pTHX_1);
4511 #define PERL_ARGS_ASSERT_CK_SASSIGN \
4514 PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o)
4515 __attribute__warn_unused_result__
4516 __attribute__nonnull__(pTHX_1);
4517 #define PERL_ARGS_ASSERT_CK_SELECT \
4520 PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o)
4521 __attribute__warn_unused_result__
4522 __attribute__nonnull__(pTHX_1);
4523 #define PERL_ARGS_ASSERT_CK_SHIFT \
4526 PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o)
4527 __attribute__warn_unused_result__
4528 __attribute__nonnull__(pTHX_1);
4529 #define PERL_ARGS_ASSERT_CK_SORT \
4532 PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o)
4533 __attribute__warn_unused_result__
4534 __attribute__nonnull__(pTHX_1);
4535 #define PERL_ARGS_ASSERT_CK_SPAIR \
4538 PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o)
4539 __attribute__warn_unused_result__
4540 __attribute__nonnull__(pTHX_1);
4541 #define PERL_ARGS_ASSERT_CK_SPLIT \
4544 PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o)
4545 __attribute__warn_unused_result__
4546 __attribute__nonnull__(pTHX_1);
4547 #define PERL_ARGS_ASSERT_CK_SUBR \
4550 PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o)
4551 __attribute__warn_unused_result__
4552 __attribute__nonnull__(pTHX_1);
4553 #define PERL_ARGS_ASSERT_CK_SUBSTR \
4556 PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o)
4557 __attribute__warn_unused_result__
4558 __attribute__nonnull__(pTHX_1);
4559 #define PERL_ARGS_ASSERT_CK_SVCONST \
4562 PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o)
4563 __attribute__warn_unused_result__
4564 __attribute__nonnull__(pTHX_1);
4565 #define PERL_ARGS_ASSERT_CK_TRUNC \
4568 PERL_CALLCONV OP* Perl_ck_unpack(pTHX_ OP *o)
4569 __attribute__warn_unused_result__
4570 __attribute__nonnull__(pTHX_1);
4571 #define PERL_ARGS_ASSERT_CK_UNPACK \
4574 PERL_CALLCONV OP* Perl_ck_each(pTHX_ OP *o)
4575 __attribute__warn_unused_result__
4576 __attribute__nonnull__(pTHX_1);
4577 #define PERL_ARGS_ASSERT_CK_EACH \
4580 STATIC bool S_is_handle_constructor(const OP *o, I32 numargs)
4581 __attribute__warn_unused_result__
4582 __attribute__nonnull__(1);
4583 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \
4586 STATIC I32 S_is_list_assignment(pTHX_ const OP *o)
4587 __attribute__warn_unused_result__;
4589 # ifdef USE_ITHREADS
4590 STATIC void S_forget_pmop(pTHX_ PMOP *const o, U32 flags)
4591 __attribute__nonnull__(pTHX_1);
4592 #define PERL_ARGS_ASSERT_FORGET_PMOP \
4596 STATIC void S_forget_pmop(pTHX_ PMOP *const o)
4597 __attribute__nonnull__(pTHX_1);
4598 #define PERL_ARGS_ASSERT_FORGET_PMOP \
4602 STATIC void S_find_and_forget_pmops(pTHX_ OP *o)
4603 __attribute__nonnull__(pTHX_1);
4604 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \
4607 STATIC void S_cop_free(pTHX_ COP *cop)
4608 __attribute__nonnull__(pTHX_1);
4609 #define PERL_ARGS_ASSERT_COP_FREE \
4612 STATIC OP* S_modkids(pTHX_ OP *o, I32 type);
4613 STATIC OP* S_scalarboolean(pTHX_ OP *o)
4614 __attribute__nonnull__(pTHX_1);
4615 #define PERL_ARGS_ASSERT_SCALARBOOLEAN \
4618 STATIC OP* S_newDEFSVOP(pTHX)
4619 __attribute__warn_unused_result__;
4621 STATIC OP* S_search_const(pTHX_ OP *o)
4622 __attribute__warn_unused_result__
4623 __attribute__nonnull__(pTHX_1);
4624 #define PERL_ARGS_ASSERT_SEARCH_CONST \
4627 STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp)
4628 __attribute__warn_unused_result__
4629 __attribute__nonnull__(pTHX_3)
4630 __attribute__nonnull__(pTHX_4);
4631 #define PERL_ARGS_ASSERT_NEW_LOGOP \
4632 assert(firstp); assert(otherp)
4634 STATIC void S_simplify_sort(pTHX_ OP *o)
4635 __attribute__nonnull__(pTHX_1);
4636 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT \
4639 STATIC const char* S_gv_ename(pTHX_ GV *gv)
4640 __attribute__nonnull__(pTHX_1);
4641 #define PERL_ARGS_ASSERT_GV_ENAME \
4644 STATIC bool S_scalar_mod_type(const OP *o, I32 type)
4645 __attribute__warn_unused_result__
4646 __attribute__nonnull__(1);
4647 #define PERL_ARGS_ASSERT_SCALAR_MOD_TYPE \
4650 STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp)
4651 __attribute__nonnull__(pTHX_3);
4652 #define PERL_ARGS_ASSERT_MY_KID \
4655 STATIC OP * S_dup_attrlist(pTHX_ OP *o)
4656 __attribute__nonnull__(pTHX_1);
4657 #define PERL_ARGS_ASSERT_DUP_ATTRLIST \
4660 STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my)
4661 __attribute__nonnull__(pTHX_1)
4662 __attribute__nonnull__(pTHX_2);
4663 #define PERL_ARGS_ASSERT_APPLY_ATTRS \
4664 assert(stash); assert(target)
4666 STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp)
4667 __attribute__nonnull__(pTHX_1)
4668 __attribute__nonnull__(pTHX_2)
4669 __attribute__nonnull__(pTHX_4);
4670 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \
4671 assert(stash); assert(target); assert(imopsp)
4673 STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid)
4674 __attribute__nonnull__(pTHX_2)
4675 __attribute__nonnull__(pTHX_3)
4676 __attribute__nonnull__(pTHX_4);
4677 #define PERL_ARGS_ASSERT_BAD_TYPE \
4678 assert(t); assert(name); assert(kid)
4680 STATIC void S_no_bareword_allowed(pTHX_ const OP *o)
4681 __attribute__nonnull__(pTHX_1);
4682 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \
4685 STATIC OP* S_no_fh_allowed(pTHX_ OP *o)
4686 __attribute__warn_unused_result__
4687 __attribute__nonnull__(pTHX_1);
4688 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED \
4691 STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name)
4692 __attribute__warn_unused_result__
4693 __attribute__nonnull__(pTHX_1)
4694 __attribute__nonnull__(pTHX_2);
4695 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS \
4696 assert(o); assert(name)
4698 STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name)
4699 __attribute__warn_unused_result__
4700 __attribute__nonnull__(pTHX_1)
4701 __attribute__nonnull__(pTHX_2);
4702 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS \
4703 assert(o); assert(name)
4705 STATIC bool S_looks_like_bool(pTHX_ const OP* o)
4706 __attribute__nonnull__(pTHX_1);
4707 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \
4710 STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg)
4711 __attribute__nonnull__(pTHX_2);
4712 #define PERL_ARGS_ASSERT_NEWGIVWHENOP \
4715 STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond);
4716 STATIC void S_process_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv)
4717 __attribute__nonnull__(pTHX_1)
4718 __attribute__nonnull__(pTHX_2)
4719 __attribute__nonnull__(pTHX_3);
4720 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \
4721 assert(fullname); assert(gv); assert(cv)
4724 #if defined(PL_OP_SLAB_ALLOC)
4725 PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz)
4726 __attribute__malloc__
4727 __attribute__warn_unused_result__;
4729 PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op)
4730 __attribute__nonnull__(pTHX_1);
4731 #define PERL_ARGS_ASSERT_SLAB_FREE \
4734 # if defined(PERL_DEBUG_READONLY_OPS)
4735 PERL_CALLCONV void Perl_pending_Slabs_to_ro(pTHX);
4736 PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o);
4737 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o)
4738 __attribute__nonnull__(pTHX_1);
4739 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC \
4742 # if defined(PERL_IN_OP_C)
4743 STATIC void S_Slab_to_rw(pTHX_ void *op)
4744 __attribute__nonnull__(pTHX_1);
4745 #define PERL_ARGS_ASSERT_SLAB_TO_RW \
4752 #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
4753 STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp)
4754 __attribute__nonnull__(pTHX_1)
4755 __attribute__nonnull__(pTHX_2);
4756 #define PERL_ARGS_ASSERT_FIND_BEGINNING \
4757 assert(linestr_sv); assert(rsfp)
4759 STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript);
4760 STATIC void S_incpush(pTHX_ const char *dir, bool addsubdirs, bool addoldvers, bool usesep, bool canrelocate);
4761 STATIC void S_init_interp(pTHX);
4762 STATIC void S_init_ids(pTHX);
4763 STATIC void S_init_main_stash(pTHX);
4764 STATIC void S_init_perllib(pTHX);
4765 STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env)
4766 __attribute__nonnull__(pTHX_2);
4767 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \
4770 STATIC void S_init_predump_symbols(pTHX);
4771 STATIC void S_my_exit_jump(pTHX)
4772 __attribute__noreturn__;
4774 STATIC void S_nuke_stacks(pTHX);
4775 STATIC int S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript, PerlIO **rsfpp)
4776 __attribute__nonnull__(pTHX_1)
4777 __attribute__nonnull__(pTHX_3)
4778 __attribute__nonnull__(pTHX_4);
4779 #define PERL_ARGS_ASSERT_OPEN_SCRIPT \
4780 assert(scriptname); assert(suidscript); assert(rsfpp)
4782 STATIC void S_usage(pTHX_ const char *name)
4783 __attribute__nonnull__(pTHX_1);
4784 #define PERL_ARGS_ASSERT_USAGE \
4789 STATIC void S_validate_suid(pTHX_ const char *validarg, int fdscript, bool suidscript, SV* linestr_sv, PerlIO *rsfp)
4790 __attribute__nonnull__(pTHX_1)
4791 __attribute__nonnull__(pTHX_4)
4792 __attribute__nonnull__(pTHX_5);
4793 #define PERL_ARGS_ASSERT_VALIDATE_SUID \
4794 assert(validarg); assert(linestr_sv); assert(rsfp)
4797 STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname, int fdscript, SV* linestr_sv, PerlIO *rsfp)
4798 __attribute__nonnull__(pTHX_1)
4799 __attribute__nonnull__(pTHX_2)
4800 __attribute__nonnull__(pTHX_4)
4801 __attribute__nonnull__(pTHX_5);
4802 #define PERL_ARGS_ASSERT_VALIDATE_SUID \
4803 assert(validarg); assert(scriptname); assert(linestr_sv); assert(rsfp)
4807 # ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
4808 STATIC void S_validate_suid(pTHX_ PerlIO *rsfp)
4809 __attribute__nonnull__(pTHX_1);
4810 #define PERL_ARGS_ASSERT_VALIDATE_SUID \
4816 # if defined(IAMSUID)
4817 STATIC int S_fd_on_nosuid_fs(pTHX_ int fd);
4819 STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit);
4820 STATIC void S_run_body(pTHX_ I32 oldscope)
4821 __attribute__noreturn__;
4823 STATIC SV * S_incpush_if_exists(pTHX_ SV *dir)
4824 __attribute__nonnull__(pTHX_1);
4825 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \
4830 #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)
4831 STATIC SV* S_refto(pTHX_ SV* sv)
4832 __attribute__warn_unused_result__
4833 __attribute__nonnull__(pTHX_1);
4834 #define PERL_ARGS_ASSERT_REFTO \
4838 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
4839 PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp)
4840 __attribute__warn_unused_result__
4841 __attribute__nonnull__(pTHX_1)
4842 __attribute__nonnull__(pTHX_2)
4843 __attribute__nonnull__(pTHX_4);
4844 #define PERL_ARGS_ASSERT_SOFTREF2XV \
4845 assert(sv); assert(what); assert(spp)
4849 #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT)
4850 STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s)
4851 __attribute__nonnull__(pTHX_1)
4852 __attribute__nonnull__(pTHX_2)
4853 __attribute__nonnull__(pTHX_3)
4854 __attribute__nonnull__(pTHX_4);
4855 #define PERL_ARGS_ASSERT_UNPACK_REC \
4856 assert(symptr); assert(s); assert(strbeg); assert(strend)
4858 STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist)
4859 __attribute__nonnull__(pTHX_1)
4860 __attribute__nonnull__(pTHX_2)
4861 __attribute__nonnull__(pTHX_3)
4862 __attribute__nonnull__(pTHX_4);
4863 #define PERL_ARGS_ASSERT_PACK_REC \
4864 assert(cat); assert(symptr); assert(beglist); assert(endlist)
4866 STATIC SV* S_mul128(pTHX_ SV *sv, U8 m)
4867 __attribute__nonnull__(pTHX_1);
4868 #define PERL_ARGS_ASSERT_MUL128 \
4871 STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr)
4872 __attribute__nonnull__(pTHX_1);
4873 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \
4876 STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr)
4877 __attribute__nonnull__(pTHX_1);
4878 #define PERL_ARGS_ASSERT_NEXT_SYMBOL \
4881 STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l)
4882 __attribute__warn_unused_result__
4883 __attribute__nonnull__(pTHX_1);
4884 #define PERL_ARGS_ASSERT_IS_AN_INT \
4887 STATIC int S_div128(pTHX_ SV *pnum, bool *done)
4888 __attribute__nonnull__(pTHX_1)
4889 __attribute__nonnull__(pTHX_2);
4890 #define PERL_ARGS_ASSERT_DIV128 \
4891 assert(pnum); assert(done)
4893 STATIC const char * S_group_end(pTHX_ const char *patptr, const char *patend, char ender)
4894 __attribute__nonnull__(pTHX_1)
4895 __attribute__nonnull__(pTHX_2);
4896 #define PERL_ARGS_ASSERT_GROUP_END \
4897 assert(patptr); assert(patend)
4899 STATIC const char * S_get_num(pTHX_ const char *patptr, I32 *lenptr)
4900 __attribute__warn_unused_result__
4901 __attribute__nonnull__(pTHX_1)
4902 __attribute__nonnull__(pTHX_2);
4903 #define PERL_ARGS_ASSERT_GET_NUM \
4904 assert(patptr); assert(lenptr)
4906 STATIC bool S_need_utf8(const char *pat, const char *patend)
4907 __attribute__nonnull__(1)
4908 __attribute__nonnull__(2);
4909 #define PERL_ARGS_ASSERT_NEED_UTF8 \
4910 assert(pat); assert(patend)
4912 STATIC char S_first_symbol(const char *pat, const char *patend)
4913 __attribute__nonnull__(1)
4914 __attribute__nonnull__(2);
4915 #define PERL_ARGS_ASSERT_FIRST_SYMBOL \
4916 assert(pat); assert(patend)
4918 STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed)
4919 __attribute__warn_unused_result__
4920 __attribute__nonnull__(pTHX_1);
4921 #define PERL_ARGS_ASSERT_SV_EXP_GROW \
4924 STATIC char * S_bytes_to_uni(const U8 *start, STRLEN len, char *dest)
4925 __attribute__warn_unused_result__
4926 __attribute__nonnull__(1)
4927 __attribute__nonnull__(3);
4928 #define PERL_ARGS_ASSERT_BYTES_TO_UNI \
4929 assert(start); assert(dest)
4933 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
4934 STATIC OP* S_docatch(pTHX_ OP *o)
4935 __attribute__warn_unused_result__;
4937 STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit)
4938 __attribute__warn_unused_result__
4939 __attribute__nonnull__(pTHX_1)
4940 __attribute__nonnull__(pTHX_2)
4941 __attribute__nonnull__(pTHX_3)
4942 __attribute__nonnull__(pTHX_4);
4943 #define PERL_ARGS_ASSERT_DOFINDLABEL \
4944 assert(o); assert(label); assert(opstack); assert(oplimit)
4946 STATIC OP* S_doparseform(pTHX_ SV *sv)
4947 __attribute__warn_unused_result__
4948 __attribute__nonnull__(pTHX_1);
4949 #define PERL_ARGS_ASSERT_DOPARSEFORM \
4952 STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize)
4953 __attribute__warn_unused_result__;
4955 STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock)
4956 __attribute__warn_unused_result__;
4958 STATIC I32 S_dopoptogiven(pTHX_ I32 startingblock)
4959 __attribute__warn_unused_result__;
4961 STATIC I32 S_dopoptolabel(pTHX_ const char *label)
4962 __attribute__warn_unused_result__
4963 __attribute__nonnull__(pTHX_1);
4964 #define PERL_ARGS_ASSERT_DOPOPTOLABEL \
4967 STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock)
4968 __attribute__warn_unused_result__;
4970 STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock)
4971 __attribute__warn_unused_result__
4972 __attribute__nonnull__(pTHX_1);
4973 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \
4976 STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock)
4977 __attribute__warn_unused_result__;
4979 STATIC void S_save_lines(pTHX_ AV *array, SV *sv)
4980 __attribute__nonnull__(pTHX_2);
4981 #define PERL_ARGS_ASSERT_SAVE_LINES \
4984 STATIC bool S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq);
4985 STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name)
4986 __attribute__warn_unused_result__
4987 __attribute__nonnull__(pTHX_1);
4988 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \
4991 #ifndef PERL_DISABLE_PMC
4992 STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const STRLEN namelen)
4993 __attribute__warn_unused_result__
4994 __attribute__nonnull__(pTHX_1);
4995 #define PERL_ARGS_ASSERT_DOOPEN_PM \
4999 STATIC bool S_path_is_absolute(const char *name)
5000 __attribute__warn_unused_result__
5001 __attribute__nonnull__(1);
5002 #define PERL_ARGS_ASSERT_PATH_IS_ABSOLUTE \
5005 STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen)
5006 __attribute__warn_unused_result__
5007 __attribute__nonnull__(pTHX_2);
5008 #define PERL_ARGS_ASSERT_RUN_USER_FILTER \
5011 STATIC PMOP* S_make_matcher(pTHX_ REGEXP* re)
5012 __attribute__warn_unused_result__
5013 __attribute__nonnull__(pTHX_1);
5014 #define PERL_ARGS_ASSERT_MAKE_MATCHER \
5017 STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv)
5018 __attribute__warn_unused_result__
5019 __attribute__nonnull__(pTHX_1)
5020 __attribute__nonnull__(pTHX_2);
5021 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \
5022 assert(matcher); assert(sv)
5024 STATIC void S_destroy_matcher(pTHX_ PMOP* matcher)
5025 __attribute__nonnull__(pTHX_1);
5026 #define PERL_ARGS_ASSERT_DESTROY_MATCHER \
5029 STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other);
5032 #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
5033 STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem)
5034 __attribute__nonnull__(pTHX_1)
5035 __attribute__nonnull__(pTHX_2)
5036 __attribute__nonnull__(pTHX_3);
5037 #define PERL_ARGS_ASSERT_DO_ODDBALL \
5038 assert(hash); assert(relem); assert(firstrelem)
5040 STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp)
5041 __attribute__warn_unused_result__
5042 __attribute__nonnull__(pTHX_1);
5043 #define PERL_ARGS_ASSERT_METHOD_COMMON \
5048 #if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT)
5049 STATIC I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b)
5050 __attribute__nonnull__(pTHX_1)
5051 __attribute__nonnull__(pTHX_2);
5052 #define PERL_ARGS_ASSERT_SV_NCMP \
5053 assert(a); assert(b)
5055 STATIC I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
5056 __attribute__nonnull__(pTHX_1)
5057 __attribute__nonnull__(pTHX_2);
5058 #define PERL_ARGS_ASSERT_SV_I_NCMP \
5059 assert(a); assert(b)
5061 STATIC I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
5062 __attribute__nonnull__(pTHX_1)
5063 __attribute__nonnull__(pTHX_2);
5064 #define PERL_ARGS_ASSERT_AMAGIC_NCMP \
5065 assert(a); assert(b)
5067 STATIC I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
5068 __attribute__nonnull__(pTHX_1)
5069 __attribute__nonnull__(pTHX_2);
5070 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \
5071 assert(a); assert(b)
5073 STATIC I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
5074 __attribute__nonnull__(pTHX_1)
5075 __attribute__nonnull__(pTHX_2);
5076 #define PERL_ARGS_ASSERT_AMAGIC_CMP \
5077 assert(str1); assert(str2)
5079 STATIC I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
5080 __attribute__nonnull__(pTHX_1)
5081 __attribute__nonnull__(pTHX_2);
5082 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \
5083 assert(str1); assert(str2)
5085 STATIC I32 S_sortcv(pTHX_ SV *const a, SV *const b)
5086 __attribute__nonnull__(pTHX_1)
5087 __attribute__nonnull__(pTHX_2);
5088 #define PERL_ARGS_ASSERT_SORTCV \
5089 assert(a); assert(b)
5091 STATIC I32 S_sortcv_xsub(pTHX_ SV *const a, SV *const b)
5092 __attribute__nonnull__(pTHX_1)
5093 __attribute__nonnull__(pTHX_2);
5094 #define PERL_ARGS_ASSERT_SORTCV_XSUB \
5095 assert(a); assert(b)
5097 STATIC I32 S_sortcv_stacked(pTHX_ SV *const a, SV *const b)
5098 __attribute__nonnull__(pTHX_1)
5099 __attribute__nonnull__(pTHX_2);
5100 #define PERL_ARGS_ASSERT_SORTCV_STACKED \
5101 assert(a); assert(b)
5103 STATIC void S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare)
5104 __attribute__nonnull__(pTHX_3);
5105 #define PERL_ARGS_ASSERT_QSORTSVU \
5110 #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT)
5111 STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop)
5112 __attribute__nonnull__(pTHX_1)
5113 __attribute__nonnull__(pTHX_2)
5114 __attribute__nonnull__(pTHX_3);
5115 #define PERL_ARGS_ASSERT_DOFORM \
5116 assert(cv); assert(gv); assert(retop)
5118 # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
5119 STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename)
5120 __attribute__warn_unused_result__
5121 __attribute__nonnull__(pTHX_1)
5122 __attribute__nonnull__(pTHX_2);
5123 #define PERL_ARGS_ASSERT_DOONELINER \
5124 assert(cmd); assert(filename)
5127 STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array)
5128 __attribute__nonnull__(pTHX_1);
5129 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL \
5134 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)
5135 STATIC regnode* S_reg(pTHX_ struct RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth)
5136 __attribute__nonnull__(pTHX_1)
5137 __attribute__nonnull__(pTHX_3);
5138 #define PERL_ARGS_ASSERT_REG \
5139 assert(pRExC_state); assert(flagp)
5141 STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *pRExC_state, U8 op, U32 arg)
5142 __attribute__nonnull__(pTHX_1);
5143 #define PERL_ARGS_ASSERT_REGANODE \
5146 STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
5147 __attribute__nonnull__(pTHX_1)
5148 __attribute__nonnull__(pTHX_2);
5149 #define PERL_ARGS_ASSERT_REGATOM \
5150 assert(pRExC_state); assert(flagp)
5152 STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth)
5153 __attribute__nonnull__(pTHX_1)
5154 __attribute__nonnull__(pTHX_2);
5155 #define PERL_ARGS_ASSERT_REGBRANCH \
5156 assert(pRExC_state); assert(flagp)
5158 STATIC STRLEN S_reguni(pTHX_ const struct RExC_state_t *pRExC_state, UV uv, char *s)
5159 __attribute__nonnull__(pTHX_1)
5160 __attribute__nonnull__(pTHX_3);
5161 #define PERL_ARGS_ASSERT_REGUNI \
5162 assert(pRExC_state); assert(s)
5164 STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *pRExC_state, U32 depth)
5165 __attribute__nonnull__(pTHX_1);
5166 #define PERL_ARGS_ASSERT_REGCLASS \
5169 STATIC I32 S_regcurly(const char *s)
5170 __attribute__warn_unused_result__
5171 __attribute__nonnull__(1);
5172 #define PERL_ARGS_ASSERT_REGCURLY \
5175 STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *pRExC_state, U8 op)
5176 __attribute__nonnull__(pTHX_1);
5177 #define PERL_ARGS_ASSERT_REG_NODE \
5180 STATIC UV S_reg_recode(pTHX_ const char value, SV **encp)
5181 __attribute__nonnull__(pTHX_2);
5182 #define PERL_ARGS_ASSERT_REG_RECODE \
5185 STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
5186 __attribute__nonnull__(pTHX_1)
5187 __attribute__nonnull__(pTHX_2);
5188 #define PERL_ARGS_ASSERT_REGPIECE \
5189 assert(pRExC_state); assert(flagp)
5191 STATIC regnode* S_reg_namedseq(pTHX_ struct RExC_state_t *pRExC_state, UV *valuep)
5192 __attribute__nonnull__(pTHX_1);
5193 #define PERL_ARGS_ASSERT_REG_NAMEDSEQ \
5196 STATIC void S_reginsert(pTHX_ struct RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth)
5197 __attribute__nonnull__(pTHX_1)
5198 __attribute__nonnull__(pTHX_3);
5199 #define PERL_ARGS_ASSERT_REGINSERT \
5200 assert(pRExC_state); assert(opnd)
5202 STATIC void S_regtail(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
5203 __attribute__nonnull__(pTHX_1)
5204 __attribute__nonnull__(pTHX_2)
5205 __attribute__nonnull__(pTHX_3);
5206 #define PERL_ARGS_ASSERT_REGTAIL \
5207 assert(pRExC_state); assert(p); assert(val)
5209 STATIC SV * S_reg_scan_name(pTHX_ struct RExC_state_t *pRExC_state, U32 flags)
5210 __attribute__nonnull__(pTHX_1);
5211 #define PERL_ARGS_ASSERT_REG_SCAN_NAME \
5214 STATIC U32 S_join_exact(pTHX_ struct RExC_state_t *pRExC_state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth)
5215 __attribute__nonnull__(pTHX_1)
5216 __attribute__nonnull__(pTHX_2)
5217 __attribute__nonnull__(pTHX_3);
5218 #define PERL_ARGS_ASSERT_JOIN_EXACT \
5219 assert(pRExC_state); assert(scan); assert(min)
5221 STATIC char * S_regwhite(struct RExC_state_t *pRExC_state, char *p)
5222 __attribute__warn_unused_result__
5223 __attribute__nonnull__(1)
5224 __attribute__nonnull__(2);
5225 #define PERL_ARGS_ASSERT_REGWHITE \
5226 assert(pRExC_state); assert(p)
5228 STATIC char * S_nextchar(pTHX_ struct RExC_state_t *pRExC_state)
5229 __attribute__nonnull__(pTHX_1);
5230 #define PERL_ARGS_ASSERT_NEXTCHAR \
5233 STATIC bool S_reg_skipcomment(pTHX_ struct RExC_state_t *pRExC_state)
5234 __attribute__nonnull__(pTHX_1);
5235 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \
5238 STATIC void S_scan_commit(pTHX_ const struct RExC_state_t *pRExC_state, struct scan_data_t *data, I32 *minlenp, int is_inf)
5239 __attribute__nonnull__(pTHX_1)
5240 __attribute__nonnull__(pTHX_2)
5241 __attribute__nonnull__(pTHX_3);
5242 #define PERL_ARGS_ASSERT_SCAN_COMMIT \
5243 assert(pRExC_state); assert(data); assert(minlenp)
5245 STATIC void S_cl_anything(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5246 __attribute__nonnull__(1)
5247 __attribute__nonnull__(2);
5248 #define PERL_ARGS_ASSERT_CL_ANYTHING \
5249 assert(pRExC_state); assert(cl)
5251 STATIC int S_cl_is_anything(const struct regnode_charclass_class *cl)
5252 __attribute__warn_unused_result__
5253 __attribute__nonnull__(1);
5254 #define PERL_ARGS_ASSERT_CL_IS_ANYTHING \
5257 STATIC void S_cl_init(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5258 __attribute__nonnull__(1)
5259 __attribute__nonnull__(2);
5260 #define PERL_ARGS_ASSERT_CL_INIT \
5261 assert(pRExC_state); assert(cl)
5263 STATIC void S_cl_init_zero(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl)
5264 __attribute__nonnull__(1)
5265 __attribute__nonnull__(2);
5266 #define PERL_ARGS_ASSERT_CL_INIT_ZERO \
5267 assert(pRExC_state); assert(cl)
5269 STATIC void S_cl_and(struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with)
5270 __attribute__nonnull__(1)
5271 __attribute__nonnull__(2);
5272 #define PERL_ARGS_ASSERT_CL_AND \
5273 assert(cl); assert(and_with)
5275 STATIC void S_cl_or(const struct RExC_state_t *pRExC_state, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with)
5276 __attribute__nonnull__(1)
5277 __attribute__nonnull__(2)
5278 __attribute__nonnull__(3);
5279 #define PERL_ARGS_ASSERT_CL_OR \
5280 assert(pRExC_state); assert(cl); assert(or_with)
5282 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)
5283 __attribute__nonnull__(pTHX_1)
5284 __attribute__nonnull__(pTHX_2)
5285 __attribute__nonnull__(pTHX_3)
5286 __attribute__nonnull__(pTHX_4)
5287 __attribute__nonnull__(pTHX_5);
5288 #define PERL_ARGS_ASSERT_STUDY_CHUNK \
5289 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
5291 STATIC U32 S_add_data(struct RExC_state_t *pRExC_state, U32 n, const char *s)
5292 __attribute__warn_unused_result__
5293 __attribute__nonnull__(1)
5294 __attribute__nonnull__(3);
5295 #define PERL_ARGS_ASSERT_ADD_DATA \
5296 assert(pRExC_state); assert(s)
5298 STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...)
5299 __attribute__noreturn__
5300 __attribute__nonnull__(pTHX_1)
5301 __attribute__nonnull__(pTHX_2);
5302 #define PERL_ARGS_ASSERT_RE_CROAK2 \
5303 assert(pat1); assert(pat2)
5305 STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t *pRExC_state, I32 value)
5306 __attribute__nonnull__(pTHX_1);
5307 #define PERL_ARGS_ASSERT_REGPPOSIXCC \
5310 STATIC void S_checkposixcc(pTHX_ struct RExC_state_t *pRExC_state)
5311 __attribute__nonnull__(pTHX_1);
5312 #define PERL_ARGS_ASSERT_CHECKPOSIXCC \
5315 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)
5316 __attribute__nonnull__(pTHX_1)
5317 __attribute__nonnull__(pTHX_2)
5318 __attribute__nonnull__(pTHX_3)
5319 __attribute__nonnull__(pTHX_4)
5320 __attribute__nonnull__(pTHX_5);
5321 #define PERL_ARGS_ASSERT_MAKE_TRIE \
5322 assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail)
5324 STATIC void S_make_trie_failtable(pTHX_ struct RExC_state_t *pRExC_state, regnode *source, regnode *stclass, U32 depth)
5325 __attribute__nonnull__(pTHX_1)
5326 __attribute__nonnull__(pTHX_2)
5327 __attribute__nonnull__(pTHX_3);
5328 #define PERL_ARGS_ASSERT_MAKE_TRIE_FAILTABLE \
5329 assert(pRExC_state); assert(source); assert(stclass)
5332 STATIC void S_regdump_extflags(pTHX_ const char *lead, const U32 flags);
5333 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)
5334 __attribute__nonnull__(pTHX_1)
5335 __attribute__nonnull__(pTHX_2)
5336 __attribute__nonnull__(pTHX_3)
5337 __attribute__nonnull__(pTHX_6);
5338 #define PERL_ARGS_ASSERT_DUMPUNTIL \
5339 assert(r); assert(start); assert(node); assert(sv)
5341 STATIC void S_put_byte(pTHX_ SV* sv, int c)
5342 __attribute__nonnull__(pTHX_1);
5343 #define PERL_ARGS_ASSERT_PUT_BYTE \
5346 STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth)
5347 __attribute__nonnull__(pTHX_1)
5348 __attribute__nonnull__(pTHX_3);
5349 #define PERL_ARGS_ASSERT_DUMP_TRIE \
5350 assert(trie); assert(revcharmap)
5352 STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5353 __attribute__nonnull__(pTHX_1)
5354 __attribute__nonnull__(pTHX_3);
5355 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \
5356 assert(trie); assert(revcharmap)
5358 STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth)
5359 __attribute__nonnull__(pTHX_1)
5360 __attribute__nonnull__(pTHX_3);
5361 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \
5362 assert(trie); assert(revcharmap)
5364 STATIC U8 S_regtail_study(pTHX_ struct RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth)
5365 __attribute__nonnull__(pTHX_1)
5366 __attribute__nonnull__(pTHX_2)
5367 __attribute__nonnull__(pTHX_3);
5368 #define PERL_ARGS_ASSERT_REGTAIL_STUDY \
5369 assert(pRExC_state); assert(p); assert(val)
5374 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)
5375 STATIC I32 S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
5376 __attribute__warn_unused_result__
5377 __attribute__nonnull__(pTHX_1)
5378 __attribute__nonnull__(pTHX_2);
5379 #define PERL_ARGS_ASSERT_REGMATCH \
5380 assert(reginfo); assert(prog)
5382 STATIC I32 S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max, int depth)
5383 __attribute__warn_unused_result__
5384 __attribute__nonnull__(pTHX_1)
5385 __attribute__nonnull__(pTHX_2);
5386 #define PERL_ARGS_ASSERT_REGREPEAT \
5387 assert(prog); assert(p)
5389 STATIC I32 S_regtry(pTHX_ regmatch_info *reginfo, char **startpos)
5390 __attribute__warn_unused_result__
5391 __attribute__nonnull__(pTHX_1)
5392 __attribute__nonnull__(pTHX_2);
5393 #define PERL_ARGS_ASSERT_REGTRY \
5394 assert(reginfo); assert(startpos)
5396 STATIC bool S_reginclass(pTHX_ const regexp *prog, const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8)
5397 __attribute__warn_unused_result__
5398 __attribute__nonnull__(pTHX_2)
5399 __attribute__nonnull__(pTHX_3);
5400 #define PERL_ARGS_ASSERT_REGINCLASS \
5401 assert(n); assert(p)
5403 STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor);
5404 STATIC char* S_regcppop(pTHX_ const regexp *rex)
5405 __attribute__nonnull__(pTHX_1);
5406 #define PERL_ARGS_ASSERT_REGCPPOP \
5409 STATIC U8* S_reghop3(U8 *s, I32 off, const U8 *lim)
5410 __attribute__warn_unused_result__
5411 __attribute__nonnull__(1)
5412 __attribute__nonnull__(3);
5413 #define PERL_ARGS_ASSERT_REGHOP3 \
5414 assert(s); assert(lim)
5417 STATIC U8* S_reghop4(U8 *s, I32 off, const U8 *llim, const U8 *rlim)
5418 __attribute__warn_unused_result__
5419 __attribute__nonnull__(1)
5420 __attribute__nonnull__(3)
5421 __attribute__nonnull__(4);
5422 #define PERL_ARGS_ASSERT_REGHOP4 \
5423 assert(s); assert(llim); assert(rlim)
5426 STATIC U8* S_reghopmaybe3(U8 *s, I32 off, const U8 *lim)
5427 __attribute__warn_unused_result__
5428 __attribute__nonnull__(1)
5429 __attribute__nonnull__(3);
5430 #define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
5431 assert(s); assert(lim)
5433 STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo)
5434 __attribute__warn_unused_result__
5435 __attribute__nonnull__(pTHX_1)
5436 __attribute__nonnull__(pTHX_2)
5437 __attribute__nonnull__(pTHX_3)
5438 __attribute__nonnull__(pTHX_4);
5439 #define PERL_ARGS_ASSERT_FIND_BYCLASS \
5440 assert(prog); assert(c); assert(s); assert(strend)
5442 STATIC void S_swap_match_buff(pTHX_ regexp * prog)
5443 __attribute__nonnull__(pTHX_1);
5444 #define PERL_ARGS_ASSERT_SWAP_MATCH_BUFF \
5447 STATIC void S_to_utf8_substr(pTHX_ regexp * prog)
5448 __attribute__nonnull__(pTHX_1);
5449 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \
5452 STATIC void S_to_byte_substr(pTHX_ regexp * prog)
5453 __attribute__nonnull__(pTHX_1);
5454 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \
5457 STATIC I32 S_reg_check_named_buff_matched(pTHX_ const regexp *rex, const regnode *scan)
5458 __attribute__warn_unused_result__
5459 __attribute__nonnull__(pTHX_1)
5460 __attribute__nonnull__(pTHX_2);
5461 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \
5462 assert(rex); assert(scan)
5465 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)
5466 __attribute__nonnull__(pTHX_1)
5467 __attribute__nonnull__(pTHX_2)
5468 __attribute__nonnull__(pTHX_3)
5469 __attribute__nonnull__(pTHX_4)
5470 __attribute__nonnull__(pTHX_5);
5471 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \
5472 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry)
5474 STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb)
5475 __attribute__nonnull__(pTHX_1)
5476 __attribute__nonnull__(pTHX_3)
5477 __attribute__nonnull__(pTHX_4)
5478 __attribute__nonnull__(pTHX_5);
5479 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \
5480 assert(prog); assert(start); assert(end); assert(blurb)
5485 #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
5486 STATIC CV* S_deb_curcv(pTHX_ const I32 ix);
5487 STATIC void S_debprof(pTHX_ const OP *o)
5488 __attribute__nonnull__(pTHX_1);
5489 #define PERL_ARGS_ASSERT_DEBPROF \
5492 STATIC void S_sequence(pTHX_ const OP *o);
5493 STATIC void S_sequence_tail(pTHX_ const OP *o);
5494 STATIC UV S_sequence_num(pTHX_ const OP *o);
5495 STATIC SV* S_pm_description(pTHX_ const PMOP *pm)
5496 __attribute__nonnull__(pTHX_1);
5497 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \
5502 #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
5503 STATIC SV* S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
5504 __attribute__nonnull__(pTHX_1);
5505 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \
5510 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
5511 PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv)
5512 __attribute__nonnull__(pTHX_1)
5513 __attribute__nonnull__(pTHX_2);
5514 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \
5515 assert(tsv); assert(sv)
5519 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5520 PERL_CALLCONV int Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av)
5521 __attribute__nonnull__(pTHX_1)
5522 __attribute__nonnull__(pTHX_2);
5523 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \
5524 assert(sv); assert(av)
5528 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5529 STATIC char * S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob)
5530 __attribute__warn_unused_result__
5531 __attribute__nonnull__(1)
5532 __attribute__nonnull__(5);
5533 #define PERL_ARGS_ASSERT_UIV_2BUF \
5534 assert(buf); assert(peob)
5536 STATIC void S_sv_unglob(pTHX_ SV *const sv)
5537 __attribute__nonnull__(pTHX_1);
5538 #define PERL_ARGS_ASSERT_SV_UNGLOB \
5541 STATIC void S_not_a_number(pTHX_ SV *const sv)
5542 __attribute__nonnull__(pTHX_1);
5543 #define PERL_ARGS_ASSERT_NOT_A_NUMBER \
5546 STATIC I32 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask)
5547 __attribute__nonnull__(pTHX_1);
5548 #define PERL_ARGS_ASSERT_VISIT \
5551 STATIC void S_sv_del_backref(pTHX_ SV *const tsv, SV *const sv)
5552 __attribute__nonnull__(pTHX_1)
5553 __attribute__nonnull__(pTHX_2);
5554 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \
5555 assert(tsv); assert(sv)
5557 STATIC SV * S_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, I32 aindex, int subscript_type)
5558 __attribute__warn_unused_result__;
5561 STATIC void S_del_sv(pTHX_ SV *p)
5562 __attribute__nonnull__(pTHX_1);
5563 #define PERL_ARGS_ASSERT_DEL_SV \
5567 # if !defined(NV_PRESERVES_UV)
5569 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype)
5570 __attribute__nonnull__(pTHX_1);
5571 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
5575 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv)
5576 __attribute__nonnull__(pTHX_1);
5577 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \
5582 STATIC I32 S_expect_number(pTHX_ char **const pattern)
5583 __attribute__warn_unused_result__
5584 __attribute__nonnull__(pTHX_1);
5585 #define PERL_ARGS_ASSERT_EXPECT_NUMBER \
5589 STATIC STRLEN S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN uoffset)
5590 __attribute__nonnull__(1)
5591 __attribute__nonnull__(2);
5592 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \
5593 assert(start); assert(send)
5595 STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, const STRLEN uoffset, const STRLEN uend)
5596 __attribute__nonnull__(1)
5597 __attribute__nonnull__(2);
5598 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \
5599 assert(start); assert(send)
5601 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)
5602 __attribute__nonnull__(pTHX_1)
5603 __attribute__nonnull__(pTHX_2)
5604 __attribute__nonnull__(pTHX_3)
5605 __attribute__nonnull__(pTHX_4);
5606 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \
5607 assert(sv); assert(mgp); assert(start); assert(send)
5609 STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen)
5610 __attribute__nonnull__(pTHX_1)
5611 __attribute__nonnull__(pTHX_2);
5612 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \
5613 assert(sv); assert(mgp)
5615 STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu)
5616 __attribute__nonnull__(pTHX_1)
5617 __attribute__nonnull__(pTHX_2)
5618 __attribute__nonnull__(pTHX_3);
5619 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \
5620 assert(s); assert(target); assert(end)
5622 STATIC char * S_F0convert(NV nv, char *const endbuf, STRLEN *const len)
5623 __attribute__nonnull__(2)
5624 __attribute__nonnull__(3);
5625 #define PERL_ARGS_ASSERT_F0CONVERT \
5626 assert(endbuf); assert(len)
5628 # if defined(PERL_OLD_COPY_ON_WRITE)
5629 STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after)
5630 __attribute__nonnull__(pTHX_1)
5631 __attribute__nonnull__(pTHX_2)
5632 __attribute__nonnull__(pTHX_3);
5633 #define PERL_ARGS_ASSERT_SV_RELEASE_COW \
5634 assert(sv); assert(pvx); assert(after)
5637 STATIC SV * S_more_sv(pTHX);
5638 STATIC void * S_more_bodies(pTHX_ const svtype sv_type);
5639 STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv)
5640 __attribute__nonnull__(pTHX_1);
5641 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \
5644 STATIC void S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype)
5645 __attribute__nonnull__(pTHX_1)
5646 __attribute__nonnull__(pTHX_2);
5647 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \
5648 assert(dstr); assert(sstr)
5650 STATIC void S_glob_assign_ref(pTHX_ SV *const dstr, SV *const sstr)
5651 __attribute__nonnull__(pTHX_1)
5652 __attribute__nonnull__(pTHX_2);
5653 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_REF \
5654 assert(dstr); assert(sstr)
5656 STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv)
5657 __attribute__warn_unused_result__
5658 __attribute__nonnull__(1);
5659 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \
5664 #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
5665 STATIC void S_check_uni(pTHX);
5666 STATIC void S_force_next(pTHX_ I32 type);
5667 STATIC char* S_force_version(pTHX_ char *s, int guessing)
5668 __attribute__nonnull__(pTHX_1);
5669 #define PERL_ARGS_ASSERT_FORCE_VERSION \
5672 STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick)
5673 __attribute__nonnull__(pTHX_1);
5674 #define PERL_ARGS_ASSERT_FORCE_WORD \
5677 STATIC SV* S_tokeq(pTHX_ SV *sv)
5678 __attribute__nonnull__(pTHX_1);
5679 #define PERL_ARGS_ASSERT_TOKEQ \
5682 STATIC void S_readpipe_override(pTHX);
5683 STATIC char* S_scan_const(pTHX_ char *start)
5684 __attribute__warn_unused_result__
5685 __attribute__nonnull__(pTHX_1);
5686 #define PERL_ARGS_ASSERT_SCAN_CONST \
5689 STATIC char* S_scan_formline(pTHX_ char *s)
5690 __attribute__warn_unused_result__
5691 __attribute__nonnull__(pTHX_1);
5692 #define PERL_ARGS_ASSERT_SCAN_FORMLINE \
5695 STATIC char* S_scan_heredoc(pTHX_ char *s)
5696 __attribute__warn_unused_result__
5697 __attribute__nonnull__(pTHX_1);
5698 #define PERL_ARGS_ASSERT_SCAN_HEREDOC \
5701 STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni)
5702 __attribute__nonnull__(pTHX_1)
5703 __attribute__nonnull__(pTHX_2)
5704 __attribute__nonnull__(pTHX_3);
5705 #define PERL_ARGS_ASSERT_SCAN_IDENT \
5706 assert(s); assert(send); assert(dest)
5708 STATIC char* S_scan_inputsymbol(pTHX_ char *start)
5709 __attribute__warn_unused_result__
5710 __attribute__nonnull__(pTHX_1);
5711 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \
5714 STATIC char* S_scan_pat(pTHX_ char *start, I32 type)
5715 __attribute__warn_unused_result__
5716 __attribute__nonnull__(pTHX_1);
5717 #define PERL_ARGS_ASSERT_SCAN_PAT \
5720 STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims)
5721 __attribute__warn_unused_result__
5722 __attribute__nonnull__(pTHX_1);
5723 #define PERL_ARGS_ASSERT_SCAN_STR \
5726 STATIC char* S_scan_subst(pTHX_ char *start)
5727 __attribute__warn_unused_result__
5728 __attribute__nonnull__(pTHX_1);
5729 #define PERL_ARGS_ASSERT_SCAN_SUBST \
5732 STATIC char* S_scan_trans(pTHX_ char *start)
5733 __attribute__warn_unused_result__
5734 __attribute__nonnull__(pTHX_1);
5735 #define PERL_ARGS_ASSERT_SCAN_TRANS \
5738 STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp)
5739 __attribute__nonnull__(pTHX_1)
5740 __attribute__nonnull__(pTHX_2)
5741 __attribute__nonnull__(pTHX_5);
5742 #define PERL_ARGS_ASSERT_SCAN_WORD \
5743 assert(s); assert(dest); assert(slp)
5745 STATIC void S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len);
5746 STATIC char* S_skipspace(pTHX_ char *s)
5747 __attribute__warn_unused_result__
5748 __attribute__nonnull__(pTHX_1);
5749 #define PERL_ARGS_ASSERT_SKIPSPACE \
5752 STATIC char* S_swallow_bom(pTHX_ U8 *s)
5753 __attribute__warn_unused_result__
5754 __attribute__nonnull__(pTHX_1);
5755 #define PERL_ARGS_ASSERT_SWALLOW_BOM \
5758 STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what)
5759 __attribute__nonnull__(pTHX_1)
5760 __attribute__nonnull__(pTHX_2)
5761 __attribute__nonnull__(pTHX_3);
5762 #define PERL_ARGS_ASSERT_CHECKCOMMA \
5763 assert(s); assert(name); assert(what)
5765 STATIC bool S_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen)
5766 __attribute__nonnull__(pTHX_1);
5767 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED \
5770 STATIC void S_force_ident(pTHX_ const char *s, int kind)
5771 __attribute__nonnull__(pTHX_1);
5772 #define PERL_ARGS_ASSERT_FORCE_IDENT \
5775 STATIC void S_incline(pTHX_ const char *s)
5776 __attribute__nonnull__(pTHX_1);
5777 #define PERL_ARGS_ASSERT_INCLINE \
5780 STATIC int S_intuit_method(pTHX_ char *s, GV *gv, CV *cv)
5781 __attribute__nonnull__(pTHX_1);
5782 #define PERL_ARGS_ASSERT_INTUIT_METHOD \
5785 STATIC int S_intuit_more(pTHX_ char *s)
5786 __attribute__nonnull__(pTHX_1);
5787 #define PERL_ARGS_ASSERT_INTUIT_MORE \
5790 STATIC I32 S_lop(pTHX_ I32 f, int x, char *s)
5791 __attribute__nonnull__(pTHX_3);
5792 #define PERL_ARGS_ASSERT_LOP \
5795 STATIC void S_missingterm(pTHX_ char *s)
5796 __attribute__noreturn__;
5798 STATIC void S_no_op(pTHX_ const char *const what, char *s)
5799 __attribute__nonnull__(pTHX_1);
5800 #define PERL_ARGS_ASSERT_NO_OP \
5803 STATIC I32 S_sublex_done(pTHX)
5804 __attribute__warn_unused_result__;
5806 STATIC I32 S_sublex_push(pTHX)
5807 __attribute__warn_unused_result__;
5809 STATIC I32 S_sublex_start(pTHX)
5810 __attribute__warn_unused_result__;
5812 STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append)
5813 __attribute__warn_unused_result__
5814 __attribute__nonnull__(pTHX_1)
5815 __attribute__nonnull__(pTHX_2);
5816 #define PERL_ARGS_ASSERT_FILTER_GETS \
5817 assert(sv); assert(fp)
5819 STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len)
5820 __attribute__warn_unused_result__
5821 __attribute__nonnull__(pTHX_1);
5822 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \
5825 STATIC char * S_tokenize_use(pTHX_ int is_use, char *s)
5826 __attribute__warn_unused_result__
5827 __attribute__nonnull__(pTHX_2);
5828 #define PERL_ARGS_ASSERT_TOKENIZE_USE \
5831 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)
5832 __attribute__nonnull__(pTHX_3)
5833 __attribute__nonnull__(pTHX_5);
5834 #define PERL_ARGS_ASSERT_NEW_CONSTANT \
5835 assert(key); assert(sv)
5837 STATIC int S_ao(pTHX_ int toketype);
5838 # if defined(PERL_CR_FILTER)
5839 STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen);
5840 STATIC void S_strip_return(pTHX_ SV *sv)
5841 __attribute__nonnull__(pTHX_1);
5842 #define PERL_ARGS_ASSERT_STRIP_RETURN \
5846 # if defined(DEBUGGING)
5847 STATIC int S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp)
5848 __attribute__nonnull__(pTHX_2);
5849 #define PERL_ARGS_ASSERT_TOKEREPORT \
5852 STATIC void S_printbuf(pTHX_ const char *const fmt, const char *const s)
5853 __attribute__nonnull__(pTHX_1)
5854 __attribute__nonnull__(pTHX_2);
5855 #define PERL_ARGS_ASSERT_PRINTBUF \
5856 assert(fmt); assert(s)
5861 #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
5862 STATIC bool S_isa_lookup(pTHX_ HV *stash, const char * const name)
5863 __attribute__nonnull__(pTHX_1)
5864 __attribute__nonnull__(pTHX_2);
5865 #define PERL_ARGS_ASSERT_ISA_LOOKUP \
5866 assert(stash); assert(name)
5870 #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
5871 #if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE)
5872 STATIC char* S_stdize_locale(pTHX_ char* locs)
5873 __attribute__nonnull__(pTHX_1);
5874 #define PERL_ARGS_ASSERT_STDIZE_LOCALE \
5880 #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
5881 STATIC const COP* S_closest_cop(pTHX_ const COP *cop, const OP *o)
5882 __attribute__nonnull__(pTHX_1);
5883 #define PERL_ARGS_ASSERT_CLOSEST_COP \
5886 STATIC SV* S_mess_alloc(pTHX);
5887 STATIC const char * S_vdie_croak_common(pTHX_ const char *pat, va_list *args, STRLEN *msglen, I32* utf8);
5888 STATIC bool S_vdie_common(pTHX_ const char *message, STRLEN msglen, I32 utf8, bool warn);
5889 STATIC char * S_write_no_mem(pTHX)
5890 __attribute__noreturn__;
5892 #if defined(PERL_MEM_LOG) && defined(PERL_MEM_LOG_STDERR)
5893 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)
5894 __attribute__nonnull__(4)
5895 __attribute__nonnull__(8)
5896 __attribute__nonnull__(10);
5897 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
5898 assert(type_name); assert(filename); assert(funcname)
5903 #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT)
5904 STATIC NV S_mulexp10(NV value, I32 exponent);
5907 #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT)
5908 STATIC STRLEN S_is_utf8_char_slow(const U8 *s, const STRLEN len)
5909 __attribute__warn_unused_result__
5910 __attribute__nonnull__(1);
5911 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_SLOW \
5914 STATIC bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname)
5915 __attribute__warn_unused_result__
5916 __attribute__nonnull__(pTHX_1)
5917 __attribute__nonnull__(pTHX_2)
5918 __attribute__nonnull__(pTHX_3);
5919 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \
5920 assert(p); assert(swash); assert(swashname)
5922 STATIC SV* S_swash_get(pTHX_ SV* swash, UV start, UV span)
5923 __attribute__warn_unused_result__
5924 __attribute__nonnull__(pTHX_1);
5925 #define PERL_ARGS_ASSERT_SWASH_GET \
5932 PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags)
5933 __attribute__nonnull__(pTHX_1);
5934 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \
5937 PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags)
5938 __attribute__nonnull__(pTHX_1)
5939 __attribute__nonnull__(pTHX_2);
5940 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
5941 assert(dstr); assert(sstr)
5943 PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
5944 __attribute__nonnull__(pTHX_1);
5945 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
5948 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags)
5949 __attribute__nonnull__(pTHX_1);
5950 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS \
5953 PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
5954 __attribute__nonnull__(pTHX_1);
5955 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \
5958 PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
5959 __attribute__nonnull__(pTHX_1)
5960 __attribute__nonnull__(pTHX_2);
5961 #define PERL_ARGS_ASSERT_SV_COPYPV \
5962 assert(dsv); assert(ssv)
5964 PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value)
5965 __attribute__nonnull__(pTHX_1)
5966 __attribute__nonnull__(pTHX_2);
5967 #define PERL_ARGS_ASSERT_MY_ATOF2 \
5968 assert(s); assert(value)
5970 PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
5971 PERL_CALLCONV int Perl_my_dirfd(pTHX_ DIR* dir);
5972 #ifdef PERL_OLD_COPY_ON_WRITE
5973 PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr)
5974 __attribute__nonnull__(pTHX_1)
5975 __attribute__nonnull__(pTHX_2);
5976 #define PERL_ARGS_ASSERT_SV_SETSV_COW \
5977 assert(dstr); assert(sstr)
5981 PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode);
5983 #if defined(USE_PERLIO) && !defined(USE_SFIO)
5984 PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f);
5985 PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f);
5986 PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f);
5987 PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f);
5988 PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f);
5989 PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f);
5990 PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f);
5991 PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt);
5992 PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt);
5993 PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f);
5994 PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count)
5995 __attribute__nonnull__(pTHX_2);
5996 #define PERL_ARGS_ASSERT_PERLIO_READ \
5999 PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
6000 __attribute__nonnull__(pTHX_2);
6001 #define PERL_ARGS_ASSERT_PERLIO_WRITE \
6004 PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
6005 __attribute__nonnull__(pTHX_2);
6006 #define PERL_ARGS_ASSERT_PERLIO_UNREAD \
6009 PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f);
6010 PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
6012 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f);
6013 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f);
6014 PERL_CALLCONV int Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f)
6015 __attribute__warn_unused_result__;
6017 PERL_CALLCONV int Perl_PerlIO_get_cnt(pTHX_ PerlIO *f)
6018 __attribute__warn_unused_result__;
6021 PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX)
6022 __attribute__warn_unused_result__;
6024 PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX)
6025 __attribute__warn_unused_result__;
6027 PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX)
6028 __attribute__warn_unused_result__;
6030 #endif /* PERLIO_LAYERS */
6032 PERL_CALLCONV void Perl_deb_stack_all(pTHX);
6033 #ifdef PERL_IN_DEB_C
6034 STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max)
6035 __attribute__nonnull__(pTHX_1);
6036 #define PERL_ARGS_ASSERT_DEB_STACK_N \
6041 PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags)
6042 __attribute__malloc__
6043 __attribute__warn_unused_result__;
6045 PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv)
6046 __attribute__nonnull__(pTHX_1);
6047 #define PERL_ARGS_ASSERT_PAD_UNDEF \
6050 PERL_CALLCONV PADOFFSET Perl_pad_add_name(pTHX_ const char *name, HV* typestash, HV* ourstash, bool clone, bool state)
6051 __attribute__nonnull__(pTHX_1);
6052 #define PERL_ARGS_ASSERT_PAD_ADD_NAME \
6055 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ SV* sv, OPCODE op_type)
6056 __attribute__nonnull__(pTHX_1);
6057 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \
6060 PERL_CALLCONV void Perl_pad_check_dup(pTHX_ const char* name, bool is_our, const HV* ourstash)
6061 __attribute__nonnull__(pTHX_1)
6062 __attribute__nonnull__(pTHX_3);
6063 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP \
6064 assert(name); assert(ourstash)
6067 PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv)
6068 __attribute__nonnull__(pTHX_2);
6069 #define PERL_ARGS_ASSERT_PAD_SETSV \
6073 PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full);
6074 PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type);
6075 PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
6076 __attribute__nonnull__(pTHX_2);
6077 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \
6080 PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
6081 __attribute__nonnull__(pTHX_1)
6082 __attribute__nonnull__(pTHX_2)
6083 __attribute__nonnull__(pTHX_3);
6084 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
6085 assert(padlist); assert(old_cv); assert(new_cv)
6088 PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
6089 __attribute__nonnull__(pTHX_1);
6090 #define PERL_ARGS_ASSERT_PAD_PUSH \
6093 PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po)
6094 __attribute__warn_unused_result__;
6097 #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
6098 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)
6099 __attribute__nonnull__(pTHX_1)
6100 __attribute__nonnull__(pTHX_2)
6101 __attribute__nonnull__(pTHX_6)
6102 __attribute__nonnull__(pTHX_7);
6103 #define PERL_ARGS_ASSERT_PAD_FINDLEX \
6104 assert(name); assert(cv); assert(out_name_sv); assert(out_flags)
6106 # if defined(DEBUGGING)
6107 STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title)
6108 __attribute__nonnull__(pTHX_1)
6109 __attribute__nonnull__(pTHX_2);
6110 #define PERL_ARGS_ASSERT_CV_DUMP \
6111 assert(cv); assert(title)
6115 PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp)
6116 __attribute__warn_unused_result__;
6118 PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX);
6119 #if defined(DEBUGGING)
6120 PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
6121 __attribute__warn_unused_result__
6122 __attribute__nonnull__(pTHX_1);
6123 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \
6127 PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val)
6128 __attribute__nonnull__(pTHX_1);
6129 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
6132 PERL_CALLCONV void Perl_hv_assert(pTHX_ HV *hv)
6133 __attribute__nonnull__(pTHX_1);
6134 #define PERL_ARGS_ASSERT_HV_ASSERT \
6138 PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
6139 __attribute__warn_unused_result__
6140 __attribute__nonnull__(pTHX_1);
6141 #define PERL_ARGS_ASSERT_HV_SCALAR \
6144 PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
6145 __attribute__warn_unused_result__
6146 __attribute__nonnull__(pTHX_1);
6147 #define PERL_ARGS_ASSERT_HV_RITER_P \
6150 PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
6151 __attribute__warn_unused_result__
6152 __attribute__nonnull__(pTHX_1);
6153 #define PERL_ARGS_ASSERT_HV_EITER_P \
6156 PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter)
6157 __attribute__nonnull__(pTHX_1);
6158 #define PERL_ARGS_ASSERT_HV_RITER_SET \
6161 PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter)
6162 __attribute__nonnull__(pTHX_1);
6163 #define PERL_ARGS_ASSERT_HV_EITER_SET \
6166 PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
6167 __attribute__nonnull__(pTHX_1);
6168 #define PERL_ARGS_ASSERT_HV_NAME_SET \
6171 PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv)
6172 __attribute__nonnull__(pTHX_1);
6173 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
6176 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6177 PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv)
6178 __attribute__nonnull__(pTHX_1);
6179 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \
6183 PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv)
6184 __attribute__nonnull__(pTHX_1);
6185 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
6188 PERL_CALLCONV I32* Perl_hv_placeholders_p(pTHX_ HV *hv)
6189 __attribute__warn_unused_result__
6190 __attribute__nonnull__(pTHX_1);
6191 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
6194 PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
6195 __attribute__warn_unused_result__
6196 __attribute__nonnull__(pTHX_1);
6197 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
6200 PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph)
6201 __attribute__nonnull__(pTHX_1);
6202 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
6206 PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
6207 __attribute__nonnull__(pTHX_1)
6208 __attribute__nonnull__(pTHX_2);
6209 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
6210 assert(hv); assert(mg)
6213 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6214 STATIC SV * S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val)
6215 __attribute__nonnull__(pTHX_2);
6216 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \
6219 STATIC I32 S_find_array_subscript(pTHX_ const AV *const av, const SV *const val)
6220 __attribute__nonnull__(pTHX_2);
6221 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \
6224 STATIC SV* S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool top);
6227 #ifdef PERL_NEED_MY_HTOLE16
6228 PERL_CALLCONV U16 Perl_my_htole16(U16 n);
6230 #ifdef PERL_NEED_MY_LETOH16
6231 PERL_CALLCONV U16 Perl_my_letoh16(U16 n);
6233 #ifdef PERL_NEED_MY_HTOBE16
6234 PERL_CALLCONV U16 Perl_my_htobe16(U16 n);
6236 #ifdef PERL_NEED_MY_BETOH16
6237 PERL_CALLCONV U16 Perl_my_betoh16(U16 n);
6239 #ifdef PERL_NEED_MY_HTOLE32
6240 PERL_CALLCONV U32 Perl_my_htole32(U32 n);
6242 #ifdef PERL_NEED_MY_LETOH32
6243 PERL_CALLCONV U32 Perl_my_letoh32(U32 n);
6245 #ifdef PERL_NEED_MY_HTOBE32
6246 PERL_CALLCONV U32 Perl_my_htobe32(U32 n);
6248 #ifdef PERL_NEED_MY_BETOH32
6249 PERL_CALLCONV U32 Perl_my_betoh32(U32 n);
6251 #ifdef PERL_NEED_MY_HTOLE64
6252 PERL_CALLCONV U64 Perl_my_htole64(U64 n);
6254 #ifdef PERL_NEED_MY_LETOH64
6255 PERL_CALLCONV U64 Perl_my_letoh64(U64 n);
6257 #ifdef PERL_NEED_MY_HTOBE64
6258 PERL_CALLCONV U64 Perl_my_htobe64(U64 n);
6260 #ifdef PERL_NEED_MY_BETOH64
6261 PERL_CALLCONV U64 Perl_my_betoh64(U64 n);
6264 #ifdef PERL_NEED_MY_HTOLES
6265 PERL_CALLCONV short Perl_my_htoles(short n);
6267 #ifdef PERL_NEED_MY_LETOHS
6268 PERL_CALLCONV short Perl_my_letohs(short n);
6270 #ifdef PERL_NEED_MY_HTOBES
6271 PERL_CALLCONV short Perl_my_htobes(short n);
6273 #ifdef PERL_NEED_MY_BETOHS
6274 PERL_CALLCONV short Perl_my_betohs(short n);
6276 #ifdef PERL_NEED_MY_HTOLEI
6277 PERL_CALLCONV int Perl_my_htolei(int n);
6279 #ifdef PERL_NEED_MY_LETOHI
6280 PERL_CALLCONV int Perl_my_letohi(int n);
6282 #ifdef PERL_NEED_MY_HTOBEI
6283 PERL_CALLCONV int Perl_my_htobei(int n);
6285 #ifdef PERL_NEED_MY_BETOHI
6286 PERL_CALLCONV int Perl_my_betohi(int n);
6288 #ifdef PERL_NEED_MY_HTOLEL
6289 PERL_CALLCONV long Perl_my_htolel(long n);
6291 #ifdef PERL_NEED_MY_LETOHL
6292 PERL_CALLCONV long Perl_my_letohl(long n);
6294 #ifdef PERL_NEED_MY_HTOBEL
6295 PERL_CALLCONV long Perl_my_htobel(long n);
6297 #ifdef PERL_NEED_MY_BETOHL
6298 PERL_CALLCONV long Perl_my_betohl(long n);
6301 PERL_CALLCONV void Perl_my_swabn(void* ptr, int n)
6302 __attribute__nonnull__(1);
6303 #define PERL_ARGS_ASSERT_MY_SWABN \
6307 PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type)
6308 __attribute__nonnull__(pTHX_1);
6309 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
6312 PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type)
6313 __attribute__nonnull__(pTHX_1);
6314 #define PERL_ARGS_ASSERT_GV_FETCHSV \
6317 PERL_CALLCONV bool Perl_is_gv_magical_sv(pTHX_ SV *name, U32 flags)
6318 __attribute__warn_unused_result__
6319 __attribute__nonnull__(pTHX_1);
6320 #define PERL_ARGS_ASSERT_IS_GV_MAGICAL_SV \
6324 PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *c, const HV *hv)
6325 __attribute__warn_unused_result__
6326 __attribute__nonnull__(pTHX_1)
6327 __attribute__nonnull__(pTHX_2);
6328 #define PERL_ARGS_ASSERT_STASHPV_HVNAME_MATCH \
6329 assert(c); assert(hv)
6332 #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
6333 PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv)
6334 __attribute__nonnull__(pTHX_1);
6335 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD \
6340 #ifdef PERL_DONT_CREATE_GVSV
6341 PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV* gv)
6342 __attribute__nonnull__(pTHX_1);
6343 #define PERL_ARGS_ASSERT_GV_SVADD \
6347 PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w);
6348 PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w);
6349 PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
6350 __attribute__malloc__
6351 __attribute__warn_unused_result__
6352 __attribute__nonnull__(pTHX_2);
6353 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
6357 PERL_CALLCONV void Perl_offer_nice_chunk(pTHX_ void *const chunk, const U32 chunk_size)
6358 __attribute__nonnull__(pTHX_1);
6359 #define PERL_ARGS_ASSERT_OFFER_NICE_CHUNK \
6363 #ifndef SPRINTF_RETURNS_STRLEN
6364 PERL_CALLCONV int Perl_my_sprintf(char *buffer, const char *pat, ...)
6365 __attribute__nonnull__(1)
6366 __attribute__nonnull__(2);
6367 #define PERL_ARGS_ASSERT_MY_SPRINTF \
6368 assert(buffer); assert(pat)
6372 PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
6373 __attribute__format__(__printf__,3,4)
6374 __attribute__nonnull__(1)
6375 __attribute__nonnull__(3);
6376 #define PERL_ARGS_ASSERT_MY_SNPRINTF \
6377 assert(buffer); assert(format)
6379 PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
6380 __attribute__nonnull__(1)
6381 __attribute__nonnull__(3);
6382 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \
6383 assert(buffer); assert(format)
6386 PERL_CALLCONV void Perl_my_clearenv(pTHX);
6388 #ifdef PERL_IMPLICIT_CONTEXT
6389 #ifdef PERL_GLOBAL_STRUCT_PRIVATE
6390 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size)
6391 __attribute__nonnull__(pTHX_1);
6392 #define PERL_ARGS_ASSERT_MY_CXT_INIT \
6395 PERL_CALLCONV int Perl_my_cxt_index(pTHX_ const char *my_cxt_key)
6396 __attribute__nonnull__(pTHX_1);
6397 #define PERL_ARGS_ASSERT_MY_CXT_INDEX \
6401 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *index, size_t size)
6402 __attribute__nonnull__(pTHX_1);
6403 #define PERL_ARGS_ASSERT_MY_CXT_INIT \
6410 PERL_CALLCONV Size_t Perl_my_strlcat(char *dst, const char *src, Size_t size);
6414 PERL_CALLCONV Size_t Perl_my_strlcpy(char *dst, const char *src, Size_t size);
6418 PERL_CALLCONV void Perl_pad_peg(const char* s)
6419 __attribute__nonnull__(1);
6420 #define PERL_ARGS_ASSERT_PAD_PEG \
6423 #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
6424 STATIC void S_xmldump_attr(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
6425 __attribute__format__(__printf__,pTHX_3,pTHX_4)
6426 __attribute__nonnull__(pTHX_2)
6427 __attribute__nonnull__(pTHX_3);
6428 #define PERL_ARGS_ASSERT_XMLDUMP_ATTR \
6429 assert(file); assert(pat)
6432 PERL_CALLCONV void Perl_xmldump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
6433 __attribute__format__(__printf__,pTHX_3,pTHX_4)
6434 __attribute__nonnull__(pTHX_2)
6435 __attribute__nonnull__(pTHX_3);
6436 #define PERL_ARGS_ASSERT_XMLDUMP_INDENT \
6437 assert(file); assert(pat)
6439 PERL_CALLCONV void Perl_xmldump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
6440 __attribute__nonnull__(pTHX_2)
6441 __attribute__nonnull__(pTHX_3);
6442 #define PERL_ARGS_ASSERT_XMLDUMP_VINDENT \
6443 assert(file); assert(pat)
6445 PERL_CALLCONV void Perl_xmldump_all(pTHX);
6446 PERL_CALLCONV void Perl_xmldump_packsubs(pTHX_ const HV* stash)
6447 __attribute__nonnull__(pTHX_1);
6448 #define PERL_ARGS_ASSERT_XMLDUMP_PACKSUBS \
6451 PERL_CALLCONV void Perl_xmldump_sub(pTHX_ const GV* gv)
6452 __attribute__nonnull__(pTHX_1);
6453 #define PERL_ARGS_ASSERT_XMLDUMP_SUB \
6456 PERL_CALLCONV void Perl_xmldump_form(pTHX_ const GV* gv)
6457 __attribute__nonnull__(pTHX_1);
6458 #define PERL_ARGS_ASSERT_XMLDUMP_FORM \
6461 PERL_CALLCONV void Perl_xmldump_eval(pTHX);
6462 PERL_CALLCONV char* Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv)
6463 __attribute__nonnull__(pTHX_1)
6464 __attribute__nonnull__(pTHX_2);
6465 #define PERL_ARGS_ASSERT_SV_CATXMLSV \
6466 assert(dsv); assert(ssv)
6468 PERL_CALLCONV char* Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8)
6469 __attribute__nonnull__(pTHX_1)
6470 __attribute__nonnull__(pTHX_2);
6471 #define PERL_ARGS_ASSERT_SV_CATXMLPVN \
6472 assert(dsv); assert(pv)
6474 PERL_CALLCONV char* Perl_sv_xmlpeek(pTHX_ SV* sv)
6475 __attribute__nonnull__(pTHX_1);
6476 #define PERL_ARGS_ASSERT_SV_XMLPEEK \
6479 PERL_CALLCONV void Perl_do_pmop_xmldump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
6480 __attribute__nonnull__(pTHX_2);
6481 #define PERL_ARGS_ASSERT_DO_PMOP_XMLDUMP \
6484 PERL_CALLCONV void Perl_pmop_xmldump(pTHX_ const PMOP* pm);
6485 PERL_CALLCONV void Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o)
6486 __attribute__nonnull__(pTHX_2);
6487 #define PERL_ARGS_ASSERT_DO_OP_XMLDUMP \
6490 PERL_CALLCONV void Perl_op_xmldump(pTHX_ const OP *o)
6491 __attribute__nonnull__(pTHX_1);
6492 #define PERL_ARGS_ASSERT_OP_XMLDUMP \
6496 PERL_CALLCONV TOKEN* Perl_newTOKEN(pTHX_ I32 optype, YYSTYPE lval, MADPROP* madprop);
6497 PERL_CALLCONV void Perl_token_free(pTHX_ TOKEN *tk)
6498 __attribute__nonnull__(pTHX_1);
6499 #define PERL_ARGS_ASSERT_TOKEN_FREE \
6502 PERL_CALLCONV void Perl_token_getmad(pTHX_ TOKEN *tk, OP *o, char slot)
6503 __attribute__nonnull__(pTHX_1);
6504 #define PERL_ARGS_ASSERT_TOKEN_GETMAD \
6507 PERL_CALLCONV void Perl_op_getmad_weak(pTHX_ OP* from, OP* o, char slot);
6508 PERL_CALLCONV void Perl_op_getmad(pTHX_ OP* from, OP* o, char slot);
6509 PERL_CALLCONV void Perl_prepend_madprops(pTHX_ MADPROP* mp, OP* o, char slot);
6510 PERL_CALLCONV void Perl_append_madprops(pTHX_ MADPROP* tm, OP* o, char slot);
6511 PERL_CALLCONV void Perl_addmad(pTHX_ MADPROP* tm, MADPROP** root, char slot);
6512 PERL_CALLCONV MADPROP* Perl_newMADsv(pTHX_ char key, SV* sv)
6513 __attribute__nonnull__(pTHX_2);
6514 #define PERL_ARGS_ASSERT_NEWMADSV \
6517 PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, const void* val, I32 vlen);
6518 PERL_CALLCONV void Perl_mad_free(pTHX_ MADPROP* mp);
6520 # if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
6521 STATIC char* S_skipspace0(pTHX_ char *s)
6522 __attribute__nonnull__(pTHX_1);
6523 #define PERL_ARGS_ASSERT_SKIPSPACE0 \
6526 STATIC char* S_skipspace1(pTHX_ char *s)
6527 __attribute__nonnull__(pTHX_1);
6528 #define PERL_ARGS_ASSERT_SKIPSPACE1 \
6531 STATIC char* S_skipspace2(pTHX_ char *s, SV **sv)
6532 __attribute__nonnull__(pTHX_1);
6533 #define PERL_ARGS_ASSERT_SKIPSPACE2 \
6536 STATIC void S_start_force(pTHX_ int where);
6537 STATIC void S_curmad(pTHX_ char slot, SV *sv);
6539 PERL_CALLCONV int Perl_madlex(pTHX);
6540 PERL_CALLCONV int Perl_madparse(pTHX);
6542 #if !defined(HAS_SIGNBIT)
6543 PERL_CALLCONV int Perl_signbit(NV f)
6544 __attribute__pure__;
6548 PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv)
6549 __attribute__nonnull__(pTHX_1)
6550 __attribute__nonnull__(pTHX_2);
6551 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \
6552 assert(c); assert(sv)
6554 PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv);
6556 PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash)
6557 __attribute__nonnull__(pTHX_1);
6558 #define PERL_ARGS_ASSERT_MRO_META_INIT \
6561 #if defined(USE_ITHREADS)
6562 PERL_CALLCONV struct mro_meta* Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param)
6563 __attribute__nonnull__(pTHX_1)
6564 __attribute__nonnull__(pTHX_2);
6565 #define PERL_ARGS_ASSERT_MRO_META_DUP \
6566 assert(smeta); assert(param)
6569 PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash)
6570 __attribute__nonnull__(pTHX_1);
6571 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
6574 #if defined(PERL_IN_MRO_C) || defined(PERL_DECL_PROT)
6575 STATIC AV* S_mro_get_linear_isa_c3(pTHX_ HV* stash, I32 level)
6576 __attribute__nonnull__(pTHX_1);
6577 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_C3 \
6580 STATIC AV* S_mro_get_linear_isa_dfs(pTHX_ HV* stash, I32 level)
6581 __attribute__nonnull__(pTHX_1);
6582 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \
6586 PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash)
6587 __attribute__nonnull__(pTHX_1);
6588 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
6591 PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash)
6592 __attribute__nonnull__(pTHX_1);
6593 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
6596 PERL_CALLCONV void Perl_boot_core_mro(pTHX);
6597 PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv)
6598 __attribute__nonnull__(1)
6599 __attribute__nonnull__(2);
6600 #define PERL_ARGS_ASSERT_SYS_INIT \
6601 assert(argc); assert(argv)
6603 PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env)
6604 __attribute__nonnull__(1)
6605 __attribute__nonnull__(2)
6606 __attribute__nonnull__(3);
6607 #define PERL_ARGS_ASSERT_SYS_INIT3 \
6608 assert(argc); assert(argv); assert(env)
6610 PERL_CALLCONV void Perl_sys_term(void);
6611 PERL_CALLCONV const char * Perl_fetch_cop_label(pTHX_ struct refcounted_he *const chain, STRLEN *len, U32 *flags);
6612 PERL_CALLCONV struct refcounted_he * Perl_store_cop_label(pTHX_ struct refcounted_he *const chain, const char *label)
6613 __attribute__nonnull__(pTHX_2);
6614 #define PERL_ARGS_ASSERT_STORE_COP_LABEL \
6617 PERL_CALLCONV HV * Perl_get_isa_hash(pTHX_ HV *const stash)
6618 __attribute__nonnull__(pTHX_1);
6619 #define PERL_ARGS_ASSERT_GET_ISA_HASH \
6625 * ex: set ts=8 sts=4 sw=4 noet: