Mercurial > repo
comparison perl-5.22.2/proto.h @ 8045:a16537d2fe07
<xfix> tar xf perl-5.22.2.tar.gz # Ah, whatever, I\'m doing it anyway
author | HackBot |
---|---|
date | Sat, 14 May 2016 14:54:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
8044:711c038a7dce | 8045:a16537d2fe07 |
---|---|
1 /* -*- buffer-read-only: t -*- | |
2 * | |
3 * proto.h | |
4 * | |
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
6 * 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others | |
7 * | |
8 * You may distribute under the terms of either the GNU General Public | |
9 * License or the Artistic License, as specified in the README file. | |
10 * | |
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! | |
12 * This file is built by regen/embed.pl from data in embed.fnc, | |
13 * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h. | |
14 * Any changes made here will be lost! | |
15 * | |
16 * Edit those files and run 'make regen_headers' to effect changes. | |
17 */ | |
18 | |
19 START_EXTERN_C | |
20 PERL_CALLCONV UV ASCII_TO_NEED(const UV enc, const UV ch) | |
21 __attribute__deprecated__ | |
22 __attribute__warn_unused_result__ | |
23 __attribute__pure__; | |
24 | |
25 PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing) | |
26 __attribute__nonnull__(pTHX_1); | |
27 #define PERL_ARGS_ASSERT_GV_AMUPDATE \ | |
28 assert(stash) | |
29 | |
30 PERL_CALLCONV UV NATIVE_TO_NEED(const UV enc, const UV ch) | |
31 __attribute__deprecated__ | |
32 __attribute__warn_unused_result__ | |
33 __attribute__pure__; | |
34 | |
35 PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode); | |
36 PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz) | |
37 __attribute__malloc__ | |
38 __attribute__warn_unused_result__; | |
39 | |
40 PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) | |
41 __attribute__nonnull__(pTHX_1); | |
42 #define PERL_ARGS_ASSERT_SLAB_FREE \ | |
43 assert(op) | |
44 | |
45 PERL_CALLCONV SV* Perl__get_encoding(pTHX) | |
46 __attribute__pure__; | |
47 | |
48 PERL_CALLCONV bool Perl__is_in_locale_category(pTHX_ const bool compiling, const int category); | |
49 PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c) | |
50 __attribute__warn_unused_result__; | |
51 | |
52 PERL_CALLCONV bool Perl__is_uni_perl_idcont(pTHX_ UV c) | |
53 __attribute__warn_unused_result__; | |
54 | |
55 PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c) | |
56 __attribute__warn_unused_result__; | |
57 | |
58 PERL_CALLCONV bool Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p) | |
59 __attribute__warn_unused_result__ | |
60 __attribute__nonnull__(pTHX_2); | |
61 #define PERL_ARGS_ASSERT__IS_UTF8_FOO \ | |
62 assert(p) | |
63 | |
64 PERL_CALLCONV bool Perl__is_utf8_idcont(pTHX_ const U8 *p) | |
65 __attribute__warn_unused_result__ | |
66 __attribute__nonnull__(pTHX_1); | |
67 #define PERL_ARGS_ASSERT__IS_UTF8_IDCONT \ | |
68 assert(p) | |
69 | |
70 PERL_CALLCONV bool Perl__is_utf8_idstart(pTHX_ const U8 *p) | |
71 __attribute__warn_unused_result__ | |
72 __attribute__nonnull__(pTHX_1); | |
73 #define PERL_ARGS_ASSERT__IS_UTF8_IDSTART \ | |
74 assert(p) | |
75 | |
76 PERL_CALLCONV bool Perl__is_utf8_mark(pTHX_ const U8 *p) | |
77 __attribute__warn_unused_result__ | |
78 __attribute__nonnull__(pTHX_1); | |
79 #define PERL_ARGS_ASSERT__IS_UTF8_MARK \ | |
80 assert(p) | |
81 | |
82 PERL_CALLCONV bool Perl__is_utf8_perl_idcont(pTHX_ const U8 *p) | |
83 __attribute__warn_unused_result__ | |
84 __attribute__nonnull__(pTHX_1); | |
85 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \ | |
86 assert(p) | |
87 | |
88 PERL_CALLCONV bool Perl__is_utf8_perl_idstart(pTHX_ const U8 *p) | |
89 __attribute__warn_unused_result__ | |
90 __attribute__nonnull__(pTHX_1); | |
91 #define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \ | |
92 assert(p) | |
93 | |
94 PERL_CALLCONV bool Perl__is_utf8_xidcont(pTHX_ const U8 *p) | |
95 __attribute__warn_unused_result__ | |
96 __attribute__nonnull__(pTHX_1); | |
97 #define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT \ | |
98 assert(p) | |
99 | |
100 PERL_CALLCONV bool Perl__is_utf8_xidstart(pTHX_ const U8 *p) | |
101 __attribute__warn_unused_result__ | |
102 __attribute__nonnull__(pTHX_1); | |
103 #define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART \ | |
104 assert(p) | |
105 | |
106 PERL_CALLCONV UV Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags) | |
107 __attribute__nonnull__(pTHX_2) | |
108 __attribute__nonnull__(pTHX_3); | |
109 #define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \ | |
110 assert(p); assert(lenp) | |
111 | |
112 PERL_CALLCONV UV Perl__to_utf8_fold_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, U8 flags) | |
113 __attribute__nonnull__(pTHX_1) | |
114 __attribute__nonnull__(pTHX_2); | |
115 #define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \ | |
116 assert(p); assert(ustrp) | |
117 | |
118 PERL_CALLCONV UV Perl__to_utf8_lower_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags) | |
119 __attribute__nonnull__(pTHX_1) | |
120 __attribute__nonnull__(pTHX_2); | |
121 #define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \ | |
122 assert(p); assert(ustrp) | |
123 | |
124 PERL_CALLCONV UV Perl__to_utf8_title_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags) | |
125 __attribute__nonnull__(pTHX_1) | |
126 __attribute__nonnull__(pTHX_2); | |
127 #define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \ | |
128 assert(p); assert(ustrp) | |
129 | |
130 PERL_CALLCONV UV Perl__to_utf8_upper_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, bool flags) | |
131 __attribute__nonnull__(pTHX_1) | |
132 __attribute__nonnull__(pTHX_2); | |
133 #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \ | |
134 assert(p); assert(ustrp) | |
135 | |
136 PERL_CALLCONV void Perl__warn_problematic_locale(void); | |
137 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags) | |
138 __attribute__nonnull__(pTHX_1); | |
139 #define PERL_ARGS_ASSERT_ALLOCMY \ | |
140 assert(name) | |
141 | |
142 PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir) | |
143 __attribute__nonnull__(pTHX_1) | |
144 __attribute__nonnull__(pTHX_2); | |
145 #define PERL_ARGS_ASSERT_AMAGIC_CALL \ | |
146 assert(left); assert(right) | |
147 | |
148 PERL_CALLCONV SV * Perl_amagic_deref_call(pTHX_ SV *ref, int method) | |
149 __attribute__nonnull__(pTHX_1); | |
150 #define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \ | |
151 assert(ref) | |
152 | |
153 PERL_CALLCONV bool Perl_amagic_is_enabled(pTHX_ int method); | |
154 PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp) | |
155 __attribute__nonnull__(pTHX_2) | |
156 __attribute__nonnull__(pTHX_3); | |
157 #define PERL_ARGS_ASSERT_APPLY \ | |
158 assert(mark); assert(sp) | |
159 | |
160 PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len) | |
161 __attribute__nonnull__(pTHX_1) | |
162 __attribute__nonnull__(pTHX_2) | |
163 __attribute__nonnull__(pTHX_3); | |
164 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \ | |
165 assert(stashpv); assert(cv); assert(attrstr) | |
166 | |
167 PERL_CALLCONV void Perl_atfork_lock(void); | |
168 PERL_CALLCONV void Perl_atfork_unlock(void); | |
169 PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av) | |
170 __attribute__nonnull__(pTHX_1); | |
171 #define PERL_ARGS_ASSERT_AV_ARYLEN_P \ | |
172 assert(av) | |
173 | |
174 PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av) | |
175 __attribute__nonnull__(pTHX_1); | |
176 #define PERL_ARGS_ASSERT_AV_CLEAR \ | |
177 assert(av) | |
178 | |
179 PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val) | |
180 __attribute__nonnull__(pTHX_1) | |
181 __attribute__nonnull__(pTHX_2); | |
182 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \ | |
183 assert(avp); assert(val) | |
184 | |
185 PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val) | |
186 __attribute__nonnull__(pTHX_1) | |
187 __attribute__nonnull__(pTHX_2); | |
188 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \ | |
189 assert(avp); assert(val) | |
190 | |
191 PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags) | |
192 __attribute__nonnull__(pTHX_1); | |
193 #define PERL_ARGS_ASSERT_AV_DELETE \ | |
194 assert(av) | |
195 | |
196 PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, SSize_t key) | |
197 __attribute__warn_unused_result__ | |
198 __attribute__nonnull__(pTHX_1); | |
199 #define PERL_ARGS_ASSERT_AV_EXISTS \ | |
200 assert(av) | |
201 | |
202 PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, SSize_t key) | |
203 __attribute__nonnull__(pTHX_1); | |
204 #define PERL_ARGS_ASSERT_AV_EXTEND \ | |
205 assert(av) | |
206 | |
207 PERL_CALLCONV void Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp) | |
208 __attribute__nonnull__(pTHX_3) | |
209 __attribute__nonnull__(pTHX_4) | |
210 __attribute__nonnull__(pTHX_5); | |
211 #define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \ | |
212 assert(maxp); assert(allocp); assert(arrayp) | |
213 | |
214 PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval) | |
215 __attribute__warn_unused_result__ | |
216 __attribute__nonnull__(pTHX_1); | |
217 #define PERL_ARGS_ASSERT_AV_FETCH \ | |
218 assert(av) | |
219 | |
220 PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, SSize_t fill) | |
221 __attribute__nonnull__(pTHX_1); | |
222 #define PERL_ARGS_ASSERT_AV_FILL \ | |
223 assert(av) | |
224 | |
225 PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av) | |
226 __attribute__nonnull__(pTHX_1); | |
227 #define PERL_ARGS_ASSERT_AV_ITER_P \ | |
228 assert(av) | |
229 | |
230 PERL_CALLCONV SSize_t Perl_av_len(pTHX_ AV *av) | |
231 __attribute__warn_unused_result__ | |
232 __attribute__nonnull__(pTHX_1); | |
233 #define PERL_ARGS_ASSERT_AV_LEN \ | |
234 assert(av) | |
235 | |
236 PERL_CALLCONV AV* Perl_av_make(pTHX_ SSize_t size, SV **strp) | |
237 __attribute__warn_unused_result__ | |
238 __attribute__nonnull__(pTHX_2); | |
239 #define PERL_ARGS_ASSERT_AV_MAKE \ | |
240 assert(strp) | |
241 | |
242 PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av) | |
243 __attribute__nonnull__(pTHX_1); | |
244 #define PERL_ARGS_ASSERT_AV_POP \ | |
245 assert(av) | |
246 | |
247 PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val) | |
248 __attribute__nonnull__(pTHX_1) | |
249 __attribute__nonnull__(pTHX_2); | |
250 #define PERL_ARGS_ASSERT_AV_PUSH \ | |
251 assert(av); assert(val) | |
252 | |
253 PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av) | |
254 __attribute__nonnull__(pTHX_1); | |
255 #define PERL_ARGS_ASSERT_AV_REIFY \ | |
256 assert(av) | |
257 | |
258 PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av) | |
259 __attribute__warn_unused_result__ | |
260 __attribute__nonnull__(pTHX_1); | |
261 #define PERL_ARGS_ASSERT_AV_SHIFT \ | |
262 assert(av) | |
263 | |
264 PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val) | |
265 __attribute__nonnull__(pTHX_1); | |
266 #define PERL_ARGS_ASSERT_AV_STORE \ | |
267 assert(av) | |
268 | |
269 /* PERL_CALLCONV SSize_t Perl_av_tindex(pTHX_ AV *av) | |
270 __attribute__warn_unused_result__ | |
271 __attribute__nonnull__(pTHX_1); */ | |
272 | |
273 PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av) | |
274 __attribute__nonnull__(pTHX_1); | |
275 #define PERL_ARGS_ASSERT_AV_UNDEF \ | |
276 assert(av) | |
277 | |
278 PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, SSize_t num) | |
279 __attribute__nonnull__(pTHX_1); | |
280 #define PERL_ARGS_ASSERT_AV_UNSHIFT \ | |
281 assert(av) | |
282 | |
283 PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right) | |
284 __attribute__warn_unused_result__ | |
285 __attribute__nonnull__(pTHX_2) | |
286 __attribute__nonnull__(pTHX_3); | |
287 #define PERL_ARGS_ASSERT_BIND_MATCH \ | |
288 assert(left); assert(right) | |
289 | |
290 PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) | |
291 __attribute__warn_unused_result__; | |
292 | |
293 PERL_CALLCONV I32 Perl_block_gimme(pTHX) | |
294 __attribute__warn_unused_result__; | |
295 | |
296 PERL_CALLCONV int Perl_block_start(pTHX_ int full) | |
297 __attribute__warn_unused_result__; | |
298 | |
299 PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk) | |
300 __attribute__nonnull__(pTHX_1); | |
301 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \ | |
302 assert(hk) | |
303 | |
304 PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); | |
305 PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); | |
306 PERL_CALLCONV void Perl_boot_core_mro(pTHX); | |
307 PERL_CALLCONV int Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen) | |
308 __attribute__nonnull__(pTHX_1) | |
309 __attribute__nonnull__(pTHX_3); | |
310 #define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \ | |
311 assert(b); assert(u) | |
312 | |
313 PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8) | |
314 __attribute__nonnull__(pTHX_1) | |
315 __attribute__nonnull__(pTHX_2); | |
316 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \ | |
317 assert(s); assert(len) | |
318 | |
319 PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len) | |
320 __attribute__nonnull__(pTHX_1) | |
321 __attribute__nonnull__(pTHX_2); | |
322 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \ | |
323 assert(s); assert(len) | |
324 | |
325 PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) | |
326 __attribute__nonnull__(pTHX_1) | |
327 __attribute__nonnull__(pTHX_3); | |
328 #define PERL_ARGS_ASSERT_CALL_ARGV \ | |
329 assert(sub_name); assert(argv) | |
330 | |
331 PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); | |
332 PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList) | |
333 __attribute__nonnull__(pTHX_2); | |
334 #define PERL_ARGS_ASSERT_CALL_LIST \ | |
335 assert(paramList) | |
336 | |
337 PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) | |
338 __attribute__nonnull__(pTHX_1); | |
339 #define PERL_ARGS_ASSERT_CALL_METHOD \ | |
340 assert(methname) | |
341 | |
342 PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) | |
343 __attribute__nonnull__(pTHX_1); | |
344 #define PERL_ARGS_ASSERT_CALL_PV \ | |
345 assert(sub_name) | |
346 | |
347 PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags) | |
348 __attribute__nonnull__(pTHX_1); | |
349 #define PERL_ARGS_ASSERT_CALL_SV \ | |
350 assert(sv) | |
351 | |
352 PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp); | |
353 PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) | |
354 __attribute__malloc__ | |
355 __attribute__warn_unused_result__; | |
356 | |
357 PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp) | |
358 __attribute__warn_unused_result__ | |
359 __attribute__nonnull__(pTHX_3); | |
360 #define PERL_ARGS_ASSERT_CANDO \ | |
361 assert(statbufp) | |
362 | |
363 PERL_CALLCONV I32 Perl_cast_i32(NV f) | |
364 __attribute__warn_unused_result__; | |
365 | |
366 PERL_CALLCONV IV Perl_cast_iv(NV f) | |
367 __attribute__warn_unused_result__; | |
368 | |
369 PERL_CALLCONV U32 Perl_cast_ulong(NV f) | |
370 __attribute__warn_unused_result__; | |
371 | |
372 PERL_CALLCONV UV Perl_cast_uv(NV f) | |
373 __attribute__warn_unused_result__; | |
374 | |
375 PERL_CALLCONV bool Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len) | |
376 __attribute__nonnull__(pTHX_1); | |
377 #define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \ | |
378 assert(s) | |
379 | |
380 PERL_CALLCONV OP * Perl_ck_anoncode(pTHX_ OP *o) | |
381 __attribute__warn_unused_result__ | |
382 __attribute__nonnull__(pTHX_1); | |
383 #define PERL_ARGS_ASSERT_CK_ANONCODE \ | |
384 assert(o) | |
385 | |
386 PERL_CALLCONV OP * Perl_ck_backtick(pTHX_ OP *o) | |
387 __attribute__warn_unused_result__ | |
388 __attribute__nonnull__(pTHX_1); | |
389 #define PERL_ARGS_ASSERT_CK_BACKTICK \ | |
390 assert(o) | |
391 | |
392 PERL_CALLCONV OP * Perl_ck_bitop(pTHX_ OP *o) | |
393 __attribute__warn_unused_result__ | |
394 __attribute__nonnull__(pTHX_1); | |
395 #define PERL_ARGS_ASSERT_CK_BITOP \ | |
396 assert(o) | |
397 | |
398 PERL_CALLCONV OP * Perl_ck_cmp(pTHX_ OP *o) | |
399 __attribute__warn_unused_result__ | |
400 __attribute__nonnull__(pTHX_1); | |
401 #define PERL_ARGS_ASSERT_CK_CMP \ | |
402 assert(o) | |
403 | |
404 PERL_CALLCONV OP * Perl_ck_concat(pTHX_ OP *o) | |
405 __attribute__warn_unused_result__ | |
406 __attribute__nonnull__(pTHX_1); | |
407 #define PERL_ARGS_ASSERT_CK_CONCAT \ | |
408 assert(o) | |
409 | |
410 PERL_CALLCONV OP * Perl_ck_defined(pTHX_ OP *o) | |
411 __attribute__warn_unused_result__ | |
412 __attribute__nonnull__(pTHX_1); | |
413 #define PERL_ARGS_ASSERT_CK_DEFINED \ | |
414 assert(o) | |
415 | |
416 PERL_CALLCONV OP * Perl_ck_delete(pTHX_ OP *o) | |
417 __attribute__warn_unused_result__ | |
418 __attribute__nonnull__(pTHX_1); | |
419 #define PERL_ARGS_ASSERT_CK_DELETE \ | |
420 assert(o) | |
421 | |
422 PERL_CALLCONV OP * Perl_ck_each(pTHX_ OP *o) | |
423 __attribute__warn_unused_result__ | |
424 __attribute__nonnull__(pTHX_1); | |
425 #define PERL_ARGS_ASSERT_CK_EACH \ | |
426 assert(o) | |
427 | |
428 PERL_CALLCONV OP* Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv) | |
429 __attribute__nonnull__(pTHX_1) | |
430 __attribute__nonnull__(pTHX_2) | |
431 __attribute__nonnull__(pTHX_3); | |
432 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \ | |
433 assert(entersubop); assert(namegv); assert(protosv) | |
434 | |
435 PERL_CALLCONV OP* Perl_ck_entersub_args_list(pTHX_ OP *entersubop) | |
436 __attribute__nonnull__(pTHX_1); | |
437 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \ | |
438 assert(entersubop) | |
439 | |
440 PERL_CALLCONV OP* Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv) | |
441 __attribute__nonnull__(pTHX_1) | |
442 __attribute__nonnull__(pTHX_2) | |
443 __attribute__nonnull__(pTHX_3); | |
444 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \ | |
445 assert(entersubop); assert(namegv); assert(protosv) | |
446 | |
447 PERL_CALLCONV OP* Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv) | |
448 __attribute__nonnull__(pTHX_1) | |
449 __attribute__nonnull__(pTHX_2) | |
450 __attribute__nonnull__(pTHX_3); | |
451 #define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \ | |
452 assert(entersubop); assert(namegv); assert(protosv) | |
453 | |
454 PERL_CALLCONV OP * Perl_ck_eof(pTHX_ OP *o) | |
455 __attribute__warn_unused_result__ | |
456 __attribute__nonnull__(pTHX_1); | |
457 #define PERL_ARGS_ASSERT_CK_EOF \ | |
458 assert(o) | |
459 | |
460 PERL_CALLCONV OP * Perl_ck_eval(pTHX_ OP *o) | |
461 __attribute__warn_unused_result__ | |
462 __attribute__nonnull__(pTHX_1); | |
463 #define PERL_ARGS_ASSERT_CK_EVAL \ | |
464 assert(o) | |
465 | |
466 PERL_CALLCONV OP * Perl_ck_exec(pTHX_ OP *o) | |
467 __attribute__warn_unused_result__ | |
468 __attribute__nonnull__(pTHX_1); | |
469 #define PERL_ARGS_ASSERT_CK_EXEC \ | |
470 assert(o) | |
471 | |
472 PERL_CALLCONV OP * Perl_ck_exists(pTHX_ OP *o) | |
473 __attribute__warn_unused_result__ | |
474 __attribute__nonnull__(pTHX_1); | |
475 #define PERL_ARGS_ASSERT_CK_EXISTS \ | |
476 assert(o) | |
477 | |
478 PERL_CALLCONV OP * Perl_ck_ftst(pTHX_ OP *o) | |
479 __attribute__warn_unused_result__ | |
480 __attribute__nonnull__(pTHX_1); | |
481 #define PERL_ARGS_ASSERT_CK_FTST \ | |
482 assert(o) | |
483 | |
484 PERL_CALLCONV OP * Perl_ck_fun(pTHX_ OP *o) | |
485 __attribute__warn_unused_result__ | |
486 __attribute__nonnull__(pTHX_1); | |
487 #define PERL_ARGS_ASSERT_CK_FUN \ | |
488 assert(o) | |
489 | |
490 PERL_CALLCONV OP * Perl_ck_glob(pTHX_ OP *o) | |
491 __attribute__warn_unused_result__ | |
492 __attribute__nonnull__(pTHX_1); | |
493 #define PERL_ARGS_ASSERT_CK_GLOB \ | |
494 assert(o) | |
495 | |
496 PERL_CALLCONV OP * Perl_ck_grep(pTHX_ OP *o) | |
497 __attribute__warn_unused_result__ | |
498 __attribute__nonnull__(pTHX_1); | |
499 #define PERL_ARGS_ASSERT_CK_GREP \ | |
500 assert(o) | |
501 | |
502 PERL_CALLCONV OP * Perl_ck_index(pTHX_ OP *o) | |
503 __attribute__warn_unused_result__ | |
504 __attribute__nonnull__(pTHX_1); | |
505 #define PERL_ARGS_ASSERT_CK_INDEX \ | |
506 assert(o) | |
507 | |
508 PERL_CALLCONV OP * Perl_ck_join(pTHX_ OP *o) | |
509 __attribute__warn_unused_result__ | |
510 __attribute__nonnull__(pTHX_1); | |
511 #define PERL_ARGS_ASSERT_CK_JOIN \ | |
512 assert(o) | |
513 | |
514 PERL_CALLCONV OP * Perl_ck_length(pTHX_ OP *o) | |
515 __attribute__warn_unused_result__ | |
516 __attribute__nonnull__(pTHX_1); | |
517 #define PERL_ARGS_ASSERT_CK_LENGTH \ | |
518 assert(o) | |
519 | |
520 PERL_CALLCONV OP * Perl_ck_lfun(pTHX_ OP *o) | |
521 __attribute__warn_unused_result__ | |
522 __attribute__nonnull__(pTHX_1); | |
523 #define PERL_ARGS_ASSERT_CK_LFUN \ | |
524 assert(o) | |
525 | |
526 PERL_CALLCONV OP * Perl_ck_listiob(pTHX_ OP *o) | |
527 __attribute__warn_unused_result__ | |
528 __attribute__nonnull__(pTHX_1); | |
529 #define PERL_ARGS_ASSERT_CK_LISTIOB \ | |
530 assert(o) | |
531 | |
532 PERL_CALLCONV OP * Perl_ck_match(pTHX_ OP *o) | |
533 __attribute__warn_unused_result__ | |
534 __attribute__nonnull__(pTHX_1); | |
535 #define PERL_ARGS_ASSERT_CK_MATCH \ | |
536 assert(o) | |
537 | |
538 PERL_CALLCONV OP * Perl_ck_method(pTHX_ OP *o) | |
539 __attribute__warn_unused_result__ | |
540 __attribute__nonnull__(pTHX_1); | |
541 #define PERL_ARGS_ASSERT_CK_METHOD \ | |
542 assert(o) | |
543 | |
544 PERL_CALLCONV OP * Perl_ck_null(pTHX_ OP *o) | |
545 __attribute__warn_unused_result__ | |
546 __attribute__nonnull__(pTHX_1); | |
547 #define PERL_ARGS_ASSERT_CK_NULL \ | |
548 assert(o) | |
549 | |
550 PERL_CALLCONV OP * Perl_ck_open(pTHX_ OP *o) | |
551 __attribute__warn_unused_result__ | |
552 __attribute__nonnull__(pTHX_1); | |
553 #define PERL_ARGS_ASSERT_CK_OPEN \ | |
554 assert(o) | |
555 | |
556 PERL_CALLCONV OP * Perl_ck_prototype(pTHX_ OP *o) | |
557 __attribute__warn_unused_result__ | |
558 __attribute__nonnull__(pTHX_1); | |
559 #define PERL_ARGS_ASSERT_CK_PROTOTYPE \ | |
560 assert(o) | |
561 | |
562 PERL_CALLCONV OP * Perl_ck_readline(pTHX_ OP *o) | |
563 __attribute__warn_unused_result__ | |
564 __attribute__nonnull__(pTHX_1); | |
565 #define PERL_ARGS_ASSERT_CK_READLINE \ | |
566 assert(o) | |
567 | |
568 PERL_CALLCONV OP * Perl_ck_refassign(pTHX_ OP *o) | |
569 __attribute__warn_unused_result__ | |
570 __attribute__nonnull__(pTHX_1); | |
571 #define PERL_ARGS_ASSERT_CK_REFASSIGN \ | |
572 assert(o) | |
573 | |
574 PERL_CALLCONV OP * Perl_ck_repeat(pTHX_ OP *o) | |
575 __attribute__warn_unused_result__ | |
576 __attribute__nonnull__(pTHX_1); | |
577 #define PERL_ARGS_ASSERT_CK_REPEAT \ | |
578 assert(o) | |
579 | |
580 PERL_CALLCONV OP * Perl_ck_require(pTHX_ OP *o) | |
581 __attribute__warn_unused_result__ | |
582 __attribute__nonnull__(pTHX_1); | |
583 #define PERL_ARGS_ASSERT_CK_REQUIRE \ | |
584 assert(o) | |
585 | |
586 PERL_CALLCONV OP * Perl_ck_return(pTHX_ OP *o) | |
587 __attribute__warn_unused_result__ | |
588 __attribute__nonnull__(pTHX_1); | |
589 #define PERL_ARGS_ASSERT_CK_RETURN \ | |
590 assert(o) | |
591 | |
592 PERL_CALLCONV OP * Perl_ck_rfun(pTHX_ OP *o) | |
593 __attribute__warn_unused_result__ | |
594 __attribute__nonnull__(pTHX_1); | |
595 #define PERL_ARGS_ASSERT_CK_RFUN \ | |
596 assert(o) | |
597 | |
598 PERL_CALLCONV OP * Perl_ck_rvconst(pTHX_ OP *o) | |
599 __attribute__warn_unused_result__ | |
600 __attribute__nonnull__(pTHX_1); | |
601 #define PERL_ARGS_ASSERT_CK_RVCONST \ | |
602 assert(o) | |
603 | |
604 PERL_CALLCONV OP * Perl_ck_sassign(pTHX_ OP *o) | |
605 __attribute__warn_unused_result__ | |
606 __attribute__nonnull__(pTHX_1); | |
607 #define PERL_ARGS_ASSERT_CK_SASSIGN \ | |
608 assert(o) | |
609 | |
610 PERL_CALLCONV OP * Perl_ck_select(pTHX_ OP *o) | |
611 __attribute__warn_unused_result__ | |
612 __attribute__nonnull__(pTHX_1); | |
613 #define PERL_ARGS_ASSERT_CK_SELECT \ | |
614 assert(o) | |
615 | |
616 PERL_CALLCONV OP * Perl_ck_shift(pTHX_ OP *o) | |
617 __attribute__warn_unused_result__ | |
618 __attribute__nonnull__(pTHX_1); | |
619 #define PERL_ARGS_ASSERT_CK_SHIFT \ | |
620 assert(o) | |
621 | |
622 PERL_CALLCONV OP * Perl_ck_smartmatch(pTHX_ OP *o) | |
623 __attribute__warn_unused_result__ | |
624 __attribute__nonnull__(pTHX_1); | |
625 #define PERL_ARGS_ASSERT_CK_SMARTMATCH \ | |
626 assert(o) | |
627 | |
628 PERL_CALLCONV OP * Perl_ck_sort(pTHX_ OP *o) | |
629 __attribute__warn_unused_result__ | |
630 __attribute__nonnull__(pTHX_1); | |
631 #define PERL_ARGS_ASSERT_CK_SORT \ | |
632 assert(o) | |
633 | |
634 PERL_CALLCONV OP * Perl_ck_spair(pTHX_ OP *o) | |
635 __attribute__warn_unused_result__ | |
636 __attribute__nonnull__(pTHX_1); | |
637 #define PERL_ARGS_ASSERT_CK_SPAIR \ | |
638 assert(o) | |
639 | |
640 PERL_CALLCONV OP * Perl_ck_split(pTHX_ OP *o) | |
641 __attribute__warn_unused_result__ | |
642 __attribute__nonnull__(pTHX_1); | |
643 #define PERL_ARGS_ASSERT_CK_SPLIT \ | |
644 assert(o) | |
645 | |
646 PERL_CALLCONV OP * Perl_ck_stringify(pTHX_ OP *o) | |
647 __attribute__warn_unused_result__ | |
648 __attribute__nonnull__(pTHX_1); | |
649 #define PERL_ARGS_ASSERT_CK_STRINGIFY \ | |
650 assert(o) | |
651 | |
652 PERL_CALLCONV OP * Perl_ck_subr(pTHX_ OP *o) | |
653 __attribute__warn_unused_result__ | |
654 __attribute__nonnull__(pTHX_1); | |
655 #define PERL_ARGS_ASSERT_CK_SUBR \ | |
656 assert(o) | |
657 | |
658 PERL_CALLCONV OP * Perl_ck_substr(pTHX_ OP *o) | |
659 __attribute__warn_unused_result__ | |
660 __attribute__nonnull__(pTHX_1); | |
661 #define PERL_ARGS_ASSERT_CK_SUBSTR \ | |
662 assert(o) | |
663 | |
664 PERL_CALLCONV OP * Perl_ck_svconst(pTHX_ OP *o) | |
665 __attribute__warn_unused_result__ | |
666 __attribute__nonnull__(pTHX_1); | |
667 #define PERL_ARGS_ASSERT_CK_SVCONST \ | |
668 assert(o) | |
669 | |
670 PERL_CALLCONV OP * Perl_ck_tell(pTHX_ OP *o) | |
671 __attribute__warn_unused_result__ | |
672 __attribute__nonnull__(pTHX_1); | |
673 #define PERL_ARGS_ASSERT_CK_TELL \ | |
674 assert(o) | |
675 | |
676 PERL_CALLCONV OP * Perl_ck_trunc(pTHX_ OP *o) | |
677 __attribute__warn_unused_result__ | |
678 __attribute__nonnull__(pTHX_1); | |
679 #define PERL_ARGS_ASSERT_CK_TRUNC \ | |
680 assert(o) | |
681 | |
682 PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...) | |
683 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
684 __attribute__nonnull__(pTHX_2); | |
685 #define PERL_ARGS_ASSERT_CK_WARNER \ | |
686 assert(pat) | |
687 | |
688 PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...) | |
689 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
690 __attribute__nonnull__(pTHX_2); | |
691 #define PERL_ARGS_ASSERT_CK_WARNER_D \ | |
692 assert(pat) | |
693 | |
694 PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w); | |
695 PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w); | |
696 PERL_CALLCONV const COP* Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext) | |
697 __attribute__nonnull__(pTHX_1); | |
698 #define PERL_ARGS_ASSERT_CLOSEST_COP \ | |
699 assert(cop) | |
700 | |
701 PERL_CALLCONV const char * Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags) | |
702 __attribute__nonnull__(pTHX_1); | |
703 #define PERL_ARGS_ASSERT_COP_FETCH_LABEL \ | |
704 assert(cop) | |
705 | |
706 PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags) | |
707 __attribute__nonnull__(pTHX_1) | |
708 __attribute__nonnull__(pTHX_2); | |
709 #define PERL_ARGS_ASSERT_COP_STORE_LABEL \ | |
710 assert(cop); assert(label) | |
711 | |
712 PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum) | |
713 __attribute__nonnull__(pTHX_2); | |
714 #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \ | |
715 assert(name) | |
716 | |
717 PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum) | |
718 __attribute__nonnull__(pTHX_1); | |
719 #define PERL_ARGS_ASSERT_CORESUB_OP \ | |
720 assert(coreargssv) | |
721 | |
722 PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags); | |
723 PERL_CALLCONV_NO_RET void Perl_croak(pTHX_ const char* pat, ...) | |
724 __attribute__noreturn__ | |
725 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); | |
726 | |
727 PERL_STATIC_NO_RET void S_croak_memory_wrap(void) | |
728 __attribute__noreturn__; | |
729 | |
730 PERL_CALLCONV_NO_RET void Perl_croak_no_mem(void) | |
731 __attribute__noreturn__; | |
732 | |
733 PERL_CALLCONV_NO_RET void Perl_croak_no_modify(void) | |
734 __attribute__noreturn__; | |
735 | |
736 PERL_CALLCONV_NO_RET void Perl_croak_popstack(void) | |
737 __attribute__noreturn__; | |
738 | |
739 PERL_CALLCONV_NO_RET void Perl_croak_sv(pTHX_ SV *baseex) | |
740 __attribute__noreturn__ | |
741 __attribute__nonnull__(pTHX_1); | |
742 #define PERL_ARGS_ASSERT_CROAK_SV \ | |
743 assert(baseex) | |
744 | |
745 PERL_CALLCONV_NO_RET void Perl_croak_xs_usage(const CV *const cv, const char *const params) | |
746 __attribute__noreturn__ | |
747 __attribute__nonnull__(1) | |
748 __attribute__nonnull__(2); | |
749 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \ | |
750 assert(cv); assert(params) | |
751 | |
752 PERL_CALLCONV regexp_engine const * Perl_current_re_engine(pTHX); | |
753 PERL_CALLCONV const char * Perl_custom_op_desc(pTHX_ const OP *o) | |
754 __attribute__warn_unused_result__ | |
755 __attribute__nonnull__(pTHX_1); | |
756 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \ | |
757 assert(o) | |
758 | |
759 PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field) | |
760 __attribute__warn_unused_result__ | |
761 __attribute__nonnull__(pTHX_1); | |
762 #define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \ | |
763 assert(o) | |
764 | |
765 PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o) | |
766 __attribute__warn_unused_result__ | |
767 __attribute__nonnull__(pTHX_1); | |
768 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \ | |
769 assert(o) | |
770 | |
771 PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop) | |
772 __attribute__nonnull__(pTHX_1) | |
773 __attribute__nonnull__(pTHX_2); | |
774 #define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \ | |
775 assert(ppaddr); assert(xop) | |
776 | |
777 /* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o) | |
778 __attribute__pure__ | |
779 __attribute__nonnull__(pTHX_1); */ | |
780 | |
781 PERL_CALLCONV void Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags) | |
782 __attribute__nonnull__(pTHX_1); | |
783 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \ | |
784 assert(cv) | |
785 | |
786 PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) | |
787 __attribute__nonnull__(pTHX_1); | |
788 #define PERL_ARGS_ASSERT_CV_CLONE \ | |
789 assert(proto) | |
790 | |
791 PERL_CALLCONV CV* Perl_cv_clone_into(pTHX_ CV* proto, CV *target) | |
792 __attribute__nonnull__(pTHX_1) | |
793 __attribute__nonnull__(pTHX_2); | |
794 #define PERL_ARGS_ASSERT_CV_CLONE_INTO \ | |
795 assert(proto); assert(target) | |
796 | |
797 PERL_CALLCONV SV* Perl_cv_const_sv(const CV *const cv) | |
798 __attribute__warn_unused_result__; | |
799 | |
800 PERL_CALLCONV SV* Perl_cv_const_sv_or_av(const CV *const cv) | |
801 __attribute__warn_unused_result__; | |
802 | |
803 PERL_CALLCONV void Perl_cv_forget_slab(pTHX_ CV *cv); | |
804 PERL_CALLCONV void Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p) | |
805 __attribute__nonnull__(pTHX_1) | |
806 __attribute__nonnull__(pTHX_2) | |
807 __attribute__nonnull__(pTHX_3); | |
808 #define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \ | |
809 assert(cv); assert(ckfun_p); assert(ckobj_p) | |
810 | |
811 PERL_CALLCONV SV * Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags) | |
812 __attribute__nonnull__(pTHX_1); | |
813 #define PERL_ARGS_ASSERT_CV_NAME \ | |
814 assert(cv) | |
815 | |
816 PERL_CALLCONV void Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj) | |
817 __attribute__nonnull__(pTHX_1) | |
818 __attribute__nonnull__(pTHX_2) | |
819 __attribute__nonnull__(pTHX_3); | |
820 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \ | |
821 assert(cv); assert(ckfun); assert(ckobj) | |
822 | |
823 PERL_CALLCONV void Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 flags) | |
824 __attribute__nonnull__(pTHX_1) | |
825 __attribute__nonnull__(pTHX_2) | |
826 __attribute__nonnull__(pTHX_3); | |
827 #define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \ | |
828 assert(cv); assert(ckfun); assert(ckobj) | |
829 | |
830 PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv) | |
831 __attribute__nonnull__(pTHX_1); | |
832 #define PERL_ARGS_ASSERT_CV_UNDEF \ | |
833 assert(cv) | |
834 | |
835 PERL_CALLCONV void Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags) | |
836 __attribute__nonnull__(pTHX_1); | |
837 #define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \ | |
838 assert(cv) | |
839 | |
840 PERL_CALLCONV GV * Perl_cvgv_from_hek(pTHX_ CV* cv) | |
841 __attribute__nonnull__(pTHX_1); | |
842 #define PERL_ARGS_ASSERT_CVGV_FROM_HEK \ | |
843 assert(cv) | |
844 | |
845 PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv) | |
846 __attribute__nonnull__(pTHX_1); | |
847 #define PERL_ARGS_ASSERT_CVGV_SET \ | |
848 assert(cv) | |
849 | |
850 PERL_CALLCONV void Perl_cvstash_set(pTHX_ CV* cv, HV* stash) | |
851 __attribute__nonnull__(pTHX_1); | |
852 #define PERL_ARGS_ASSERT_CVSTASH_SET \ | |
853 assert(cv) | |
854 | |
855 PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx) | |
856 __attribute__nonnull__(pTHX_1); | |
857 #define PERL_ARGS_ASSERT_CX_DUMP \ | |
858 assert(cx) | |
859 | |
860 PERL_CALLCONV I32 Perl_cxinc(pTHX) | |
861 __attribute__warn_unused_result__; | |
862 | |
863 PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) | |
864 __attribute__format__(__printf__,pTHX_1,pTHX_2) | |
865 __attribute__nonnull__(pTHX_1); | |
866 #define PERL_ARGS_ASSERT_DEB \ | |
867 assert(pat) | |
868 | |
869 PERL_CALLCONV void Perl_deb_stack_all(pTHX); | |
870 PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o) | |
871 __attribute__nonnull__(pTHX_1); | |
872 #define PERL_ARGS_ASSERT_DEBOP \ | |
873 assert(o) | |
874 | |
875 PERL_CALLCONV void Perl_debprofdump(pTHX); | |
876 PERL_CALLCONV I32 Perl_debstack(pTHX); | |
877 PERL_CALLCONV I32 Perl_debstackptrs(pTHX); | |
878 PERL_CALLCONV SV * Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg) | |
879 __attribute__warn_unused_result__ | |
880 __attribute__nonnull__(pTHX_1); | |
881 #define PERL_ARGS_ASSERT_DEFELEM_TARGET \ | |
882 assert(sv) | |
883 | |
884 PERL_CALLCONV void Perl_delete_eval_scope(pTHX); | |
885 PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen) | |
886 __attribute__nonnull__(1) | |
887 __attribute__nonnull__(2) | |
888 __attribute__nonnull__(3) | |
889 __attribute__nonnull__(4) | |
890 __attribute__nonnull__(6); | |
891 #define PERL_ARGS_ASSERT_DELIMCPY \ | |
892 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen) | |
893 | |
894 PERL_CALLCONV void Perl_despatch_signals(pTHX); | |
895 PERL_CALLCONV_NO_RET OP* Perl_die(pTHX_ const char* pat, ...) | |
896 __attribute__noreturn__ | |
897 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); | |
898 | |
899 PERL_CALLCONV_NO_RET OP* Perl_die_sv(pTHX_ SV *baseex) | |
900 __attribute__noreturn__ | |
901 __attribute__nonnull__(pTHX_1); | |
902 #define PERL_ARGS_ASSERT_DIE_SV \ | |
903 assert(baseex) | |
904 | |
905 PERL_CALLCONV_NO_RET void Perl_die_unwind(pTHX_ SV* msv) | |
906 __attribute__noreturn__ | |
907 __attribute__nonnull__(pTHX_1); | |
908 #define PERL_ARGS_ASSERT_DIE_UNWIND \ | |
909 assert(msv) | |
910 | |
911 /* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) | |
912 __attribute__nonnull__(pTHX_2) | |
913 __attribute__nonnull__(pTHX_3); */ | |
914 #define PERL_ARGS_ASSERT_DO_AEXEC \ | |
915 assert(mark); assert(sp) | |
916 | |
917 PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report) | |
918 __attribute__nonnull__(pTHX_2) | |
919 __attribute__nonnull__(pTHX_3); | |
920 #define PERL_ARGS_ASSERT_DO_AEXEC5 \ | |
921 assert(mark); assert(sp) | |
922 | |
923 PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) | |
924 __attribute__nonnull__(pTHX_1); | |
925 #define PERL_ARGS_ASSERT_DO_BINMODE \ | |
926 assert(fp) | |
927 | |
928 PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit); | |
929 PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full) | |
930 __attribute__nonnull__(pTHX_2); | |
931 #define PERL_ARGS_ASSERT_DO_DUMP_PAD \ | |
932 assert(file) | |
933 | |
934 PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) | |
935 __attribute__nonnull__(pTHX_1); | |
936 #define PERL_ARGS_ASSERT_DO_EOF \ | |
937 assert(gv) | |
938 | |
939 PERL_CALLCONV void Perl_do_execfree(pTHX); | |
940 PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
941 __attribute__nonnull__(pTHX_2) | |
942 __attribute__nonnull__(pTHX_3); | |
943 #define PERL_ARGS_ASSERT_DO_GV_DUMP \ | |
944 assert(file); assert(name) | |
945 | |
946 PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
947 __attribute__nonnull__(pTHX_2) | |
948 __attribute__nonnull__(pTHX_3); | |
949 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP \ | |
950 assert(file); assert(name) | |
951 | |
952 PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv) | |
953 __attribute__nonnull__(pTHX_2) | |
954 __attribute__nonnull__(pTHX_3); | |
955 #define PERL_ARGS_ASSERT_DO_HV_DUMP \ | |
956 assert(file); assert(name) | |
957 | |
958 PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp) | |
959 __attribute__nonnull__(pTHX_1) | |
960 __attribute__nonnull__(pTHX_2) | |
961 __attribute__nonnull__(pTHX_3) | |
962 __attribute__nonnull__(pTHX_4); | |
963 #define PERL_ARGS_ASSERT_DO_JOIN \ | |
964 assert(sv); assert(delim); assert(mark); assert(sp) | |
965 | |
966 PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
967 __attribute__nonnull__(pTHX_2); | |
968 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \ | |
969 assert(file) | |
970 | |
971 PERL_CALLCONV I32 Perl_do_ncmp(pTHX_ SV *const left, SV *const right) | |
972 __attribute__warn_unused_result__ | |
973 __attribute__nonnull__(pTHX_1) | |
974 __attribute__nonnull__(pTHX_2); | |
975 #define PERL_ARGS_ASSERT_DO_NCMP \ | |
976 assert(left); assert(right) | |
977 | |
978 PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) | |
979 __attribute__nonnull__(pTHX_2); | |
980 #define PERL_ARGS_ASSERT_DO_OP_DUMP \ | |
981 assert(file) | |
982 | |
983 /* PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp) | |
984 __attribute__nonnull__(pTHX_1) | |
985 __attribute__nonnull__(pTHX_2); */ | |
986 #define PERL_ARGS_ASSERT_DO_OPEN \ | |
987 assert(gv); assert(name) | |
988 | |
989 PERL_CALLCONV bool Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num) | |
990 __attribute__nonnull__(pTHX_1) | |
991 __attribute__nonnull__(pTHX_2); | |
992 #define PERL_ARGS_ASSERT_DO_OPEN6 \ | |
993 assert(gv); assert(oname) | |
994 | |
995 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) | |
996 __attribute__nonnull__(pTHX_1) | |
997 __attribute__nonnull__(pTHX_2) | |
998 __attribute__nonnull__(pTHX_8); | |
999 #define PERL_ARGS_ASSERT_DO_OPEN9 \ | |
1000 assert(gv); assert(name); assert(svs) | |
1001 | |
1002 PERL_CALLCONV bool Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm) | |
1003 __attribute__nonnull__(pTHX_1) | |
1004 __attribute__nonnull__(pTHX_2); | |
1005 #define PERL_ARGS_ASSERT_DO_OPEN_RAW \ | |
1006 assert(gv); assert(oname) | |
1007 | |
1008 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) | |
1009 __attribute__nonnull__(pTHX_1) | |
1010 __attribute__nonnull__(pTHX_2); | |
1011 #define PERL_ARGS_ASSERT_DO_OPENN \ | |
1012 assert(gv); assert(oname) | |
1013 | |
1014 PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) | |
1015 __attribute__nonnull__(pTHX_2); | |
1016 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP \ | |
1017 assert(file) | |
1018 | |
1019 PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp) | |
1020 __attribute__nonnull__(pTHX_2); | |
1021 #define PERL_ARGS_ASSERT_DO_PRINT \ | |
1022 assert(fp) | |
1023 | |
1024 PERL_CALLCONV OP* Perl_do_readline(pTHX) | |
1025 __attribute__warn_unused_result__; | |
1026 | |
1027 PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); | |
1028 PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg) | |
1029 __attribute__nonnull__(pTHX_1) | |
1030 __attribute__nonnull__(pTHX_3); | |
1031 #define PERL_ARGS_ASSERT_DO_SPRINTF \ | |
1032 assert(sv); assert(sarg) | |
1033 | |
1034 PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
1035 __attribute__nonnull__(pTHX_2); | |
1036 #define PERL_ARGS_ASSERT_DO_SV_DUMP \ | |
1037 assert(file) | |
1038 | |
1039 PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence) | |
1040 __attribute__nonnull__(pTHX_1); | |
1041 #define PERL_ARGS_ASSERT_DO_SYSSEEK \ | |
1042 assert(gv) | |
1043 | |
1044 PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv) | |
1045 __attribute__warn_unused_result__ | |
1046 __attribute__nonnull__(pTHX_1); | |
1047 #define PERL_ARGS_ASSERT_DO_TELL \ | |
1048 assert(gv) | |
1049 | |
1050 PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv) | |
1051 __attribute__nonnull__(pTHX_1); | |
1052 #define PERL_ARGS_ASSERT_DO_TRANS \ | |
1053 assert(sv) | |
1054 | |
1055 PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size) | |
1056 __attribute__nonnull__(pTHX_1); | |
1057 #define PERL_ARGS_ASSERT_DO_VECGET \ | |
1058 assert(sv) | |
1059 | |
1060 PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) | |
1061 __attribute__nonnull__(pTHX_1); | |
1062 #define PERL_ARGS_ASSERT_DO_VECSET \ | |
1063 assert(sv) | |
1064 | |
1065 PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right) | |
1066 __attribute__nonnull__(pTHX_2) | |
1067 __attribute__nonnull__(pTHX_3) | |
1068 __attribute__nonnull__(pTHX_4); | |
1069 #define PERL_ARGS_ASSERT_DO_VOP \ | |
1070 assert(sv); assert(left); assert(right) | |
1071 | |
1072 PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin) | |
1073 __attribute__nonnull__(pTHX_1); | |
1074 #define PERL_ARGS_ASSERT_DOFILE \ | |
1075 assert(term) | |
1076 | |
1077 PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env) | |
1078 __attribute__warn_unused_result__; | |
1079 | |
1080 PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref) | |
1081 __attribute__nonnull__(pTHX_1); | |
1082 #define PERL_ARGS_ASSERT_DOREF \ | |
1083 assert(o) | |
1084 | |
1085 PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); | |
1086 PERL_CALLCONV I32 Perl_dowantarray(pTHX) | |
1087 __attribute__warn_unused_result__; | |
1088 | |
1089 PERL_CALLCONV void Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed) | |
1090 __attribute__nonnull__(1); | |
1091 #define PERL_ARGS_ASSERT_DRAND48_INIT_R \ | |
1092 assert(random_state) | |
1093 | |
1094 PERL_CALLCONV double Perl_drand48_r(perl_drand48_t *random_state) | |
1095 __attribute__nonnull__(1); | |
1096 #define PERL_ARGS_ASSERT_DRAND48_R \ | |
1097 assert(random_state) | |
1098 | |
1099 PERL_CALLCONV void Perl_dump_all(pTHX); | |
1100 PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl); | |
1101 PERL_CALLCONV void Perl_dump_eval(pTHX); | |
1102 PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv) | |
1103 __attribute__nonnull__(pTHX_1); | |
1104 #define PERL_ARGS_ASSERT_DUMP_FORM \ | |
1105 assert(gv) | |
1106 | |
1107 PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) | |
1108 __attribute__format__(__printf__,pTHX_3,pTHX_4) | |
1109 __attribute__nonnull__(pTHX_2) | |
1110 __attribute__nonnull__(pTHX_3); | |
1111 #define PERL_ARGS_ASSERT_DUMP_INDENT \ | |
1112 assert(file); assert(pat) | |
1113 | |
1114 PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash) | |
1115 __attribute__nonnull__(pTHX_1); | |
1116 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS \ | |
1117 assert(stash) | |
1118 | |
1119 PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl) | |
1120 __attribute__nonnull__(pTHX_1); | |
1121 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \ | |
1122 assert(stash) | |
1123 | |
1124 PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv) | |
1125 __attribute__nonnull__(pTHX_1); | |
1126 #define PERL_ARGS_ASSERT_DUMP_SUB \ | |
1127 assert(gv) | |
1128 | |
1129 PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl) | |
1130 __attribute__nonnull__(pTHX_1); | |
1131 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL \ | |
1132 assert(gv) | |
1133 | |
1134 PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
1135 __attribute__nonnull__(pTHX_2) | |
1136 __attribute__nonnull__(pTHX_3); | |
1137 #define PERL_ARGS_ASSERT_DUMP_VINDENT \ | |
1138 assert(file); assert(pat) | |
1139 | |
1140 PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv) | |
1141 __attribute__nonnull__(pTHX_1) | |
1142 __attribute__nonnull__(pTHX_2); | |
1143 #define PERL_ARGS_ASSERT_EMULATE_COP_IO \ | |
1144 assert(c); assert(sv) | |
1145 | |
1146 PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) | |
1147 __attribute__nonnull__(pTHX_1); | |
1148 #define PERL_ARGS_ASSERT_EVAL_PV \ | |
1149 assert(p) | |
1150 | |
1151 PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) | |
1152 __attribute__nonnull__(pTHX_1); | |
1153 #define PERL_ARGS_ASSERT_EVAL_SV \ | |
1154 assert(sv) | |
1155 | |
1156 PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags) | |
1157 __attribute__nonnull__(pTHX_1); | |
1158 #define PERL_ARGS_ASSERT_FBM_COMPILE \ | |
1159 assert(sv) | |
1160 | |
1161 PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags) | |
1162 __attribute__warn_unused_result__ | |
1163 __attribute__nonnull__(pTHX_1) | |
1164 __attribute__nonnull__(pTHX_2) | |
1165 __attribute__nonnull__(pTHX_3); | |
1166 #define PERL_ARGS_ASSERT_FBM_INSTR \ | |
1167 assert(big); assert(bigend); assert(littlestr) | |
1168 | |
1169 PERL_CALLCONV bool Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen) | |
1170 __attribute__nonnull__(pTHX_1); | |
1171 #define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED \ | |
1172 assert(name) | |
1173 | |
1174 PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); | |
1175 PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp) | |
1176 __attribute__nonnull__(pTHX_1); | |
1177 #define PERL_ARGS_ASSERT_FILTER_DEL \ | |
1178 assert(funcp) | |
1179 | |
1180 PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen) | |
1181 __attribute__warn_unused_result__ | |
1182 __attribute__nonnull__(pTHX_2); | |
1183 #define PERL_ARGS_ASSERT_FILTER_READ \ | |
1184 assert(buf_sv) | |
1185 | |
1186 PERL_CALLCONV void Perl_finalize_optree(pTHX_ OP* o) | |
1187 __attribute__nonnull__(pTHX_1); | |
1188 #define PERL_ARGS_ASSERT_FINALIZE_OPTREE \ | |
1189 assert(o) | |
1190 | |
1191 PERL_CALLCONV CV * Perl_find_lexical_cv(pTHX_ PADOFFSET off); | |
1192 PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp) | |
1193 __attribute__warn_unused_result__; | |
1194 | |
1195 PERL_CALLCONV CV* Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp) | |
1196 __attribute__warn_unused_result__; | |
1197 | |
1198 PERL_CALLCONV SV* Perl_find_rundefsv(pTHX); | |
1199 PERL_CALLCONV SV* Perl_find_rundefsv2(pTHX_ CV *cv, U32 seq) | |
1200 __attribute__nonnull__(pTHX_1); | |
1201 #define PERL_ARGS_ASSERT_FIND_RUNDEFSV2 \ | |
1202 assert(cv) | |
1203 | |
1204 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX) | |
1205 __attribute__deprecated__; | |
1206 | |
1207 PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags) | |
1208 __attribute__nonnull__(pTHX_1); | |
1209 #define PERL_ARGS_ASSERT_FIND_SCRIPT \ | |
1210 assert(scriptname) | |
1211 | |
1212 PERL_CALLCONV I32 Perl_foldEQ(const char* a, const char* b, I32 len) | |
1213 __attribute__pure__ | |
1214 __attribute__nonnull__(1) | |
1215 __attribute__nonnull__(2); | |
1216 #define PERL_ARGS_ASSERT_FOLDEQ \ | |
1217 assert(a); assert(b) | |
1218 | |
1219 PERL_CALLCONV I32 Perl_foldEQ_latin1(const char* a, const char* b, I32 len) | |
1220 __attribute__pure__ | |
1221 __attribute__nonnull__(1) | |
1222 __attribute__nonnull__(2); | |
1223 #define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \ | |
1224 assert(a); assert(b) | |
1225 | |
1226 PERL_CALLCONV I32 Perl_foldEQ_locale(const char* a, const char* b, I32 len) | |
1227 __attribute__pure__ | |
1228 __attribute__nonnull__(1) | |
1229 __attribute__nonnull__(2); | |
1230 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \ | |
1231 assert(a); assert(b) | |
1232 | |
1233 /* PERL_CALLCONV I32 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2) | |
1234 __attribute__nonnull__(pTHX_1) | |
1235 __attribute__nonnull__(pTHX_5); */ | |
1236 | |
1237 PERL_CALLCONV I32 Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags) | |
1238 __attribute__nonnull__(pTHX_1) | |
1239 __attribute__nonnull__(pTHX_5); | |
1240 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \ | |
1241 assert(s1); assert(s2) | |
1242 | |
1243 PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) | |
1244 __attribute__format__(__printf__,pTHX_1,pTHX_2) | |
1245 __attribute__nonnull__(pTHX_1); | |
1246 #define PERL_ARGS_ASSERT_FORM \ | |
1247 assert(pat) | |
1248 | |
1249 PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX); | |
1250 PERL_CALLCONV void Perl_free_tmps(pTHX); | |
1251 PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags) | |
1252 __attribute__nonnull__(pTHX_1); | |
1253 #define PERL_ARGS_ASSERT_GET_AV \ | |
1254 assert(name) | |
1255 | |
1256 PERL_CALLCONV void* Perl_get_context(void) | |
1257 __attribute__warn_unused_result__; | |
1258 | |
1259 PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags) | |
1260 __attribute__nonnull__(pTHX_1); | |
1261 #define PERL_ARGS_ASSERT_GET_CV \ | |
1262 assert(name) | |
1263 | |
1264 PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags) | |
1265 __attribute__nonnull__(pTHX_1); | |
1266 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS \ | |
1267 assert(name) | |
1268 | |
1269 PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv) | |
1270 __attribute__nonnull__(pTHX_2); | |
1271 #define PERL_ARGS_ASSERT_GET_DB_SUB \ | |
1272 assert(cv) | |
1273 | |
1274 PERL_CALLCONV void Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer) | |
1275 __attribute__nonnull__(pTHX_1); | |
1276 #define PERL_ARGS_ASSERT_GET_HASH_SEED \ | |
1277 assert(seed_buffer) | |
1278 | |
1279 PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags) | |
1280 __attribute__nonnull__(pTHX_1); | |
1281 #define PERL_ARGS_ASSERT_GET_HV \ | |
1282 assert(name) | |
1283 | |
1284 PERL_CALLCONV const char* Perl_get_no_modify(pTHX) | |
1285 __attribute__warn_unused_result__ | |
1286 __attribute__pure__; | |
1287 | |
1288 PERL_CALLCONV char** Perl_get_op_descs(pTHX) | |
1289 __attribute__warn_unused_result__ | |
1290 __attribute__pure__; | |
1291 | |
1292 PERL_CALLCONV char** Perl_get_op_names(pTHX) | |
1293 __attribute__warn_unused_result__ | |
1294 __attribute__pure__; | |
1295 | |
1296 PERL_CALLCONV U32* Perl_get_opargs(pTHX) | |
1297 __attribute__warn_unused_result__ | |
1298 __attribute__pure__; | |
1299 | |
1300 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) | |
1301 __attribute__warn_unused_result__ | |
1302 __attribute__pure__; | |
1303 | |
1304 PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv); | |
1305 PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags) | |
1306 __attribute__nonnull__(pTHX_1); | |
1307 #define PERL_ARGS_ASSERT_GET_SV \ | |
1308 assert(name) | |
1309 | |
1310 PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id) | |
1311 __attribute__warn_unused_result__; | |
1312 | |
1313 PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) | |
1314 __attribute__nonnull__(pTHX_1); | |
1315 #define PERL_ARGS_ASSERT_GETCWD_SV \ | |
1316 assert(sv) | |
1317 | |
1318 PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); | |
1319 PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); | |
1320 PERL_CALLCONV bool Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr) | |
1321 __attribute__nonnull__(1) | |
1322 __attribute__nonnull__(2); | |
1323 #define PERL_ARGS_ASSERT_GROK_ATOUV \ | |
1324 assert(pv); assert(valptr) | |
1325 | |
1326 PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) | |
1327 __attribute__nonnull__(pTHX_1) | |
1328 __attribute__nonnull__(pTHX_2) | |
1329 __attribute__nonnull__(pTHX_3); | |
1330 #define PERL_ARGS_ASSERT_GROK_BIN \ | |
1331 assert(start); assert(len_p); assert(flags) | |
1332 | |
1333 PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) | |
1334 __attribute__nonnull__(pTHX_1) | |
1335 __attribute__nonnull__(pTHX_2) | |
1336 __attribute__nonnull__(pTHX_3); | |
1337 #define PERL_ARGS_ASSERT_GROK_HEX \ | |
1338 assert(start); assert(len_p); assert(flags) | |
1339 | |
1340 PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send) | |
1341 __attribute__nonnull__(pTHX_1) | |
1342 __attribute__nonnull__(pTHX_2); | |
1343 #define PERL_ARGS_ASSERT_GROK_INFNAN \ | |
1344 assert(sp); assert(send) | |
1345 | |
1346 PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) | |
1347 __attribute__nonnull__(pTHX_1); | |
1348 #define PERL_ARGS_ASSERT_GROK_NUMBER \ | |
1349 assert(pv) | |
1350 | |
1351 PERL_CALLCONV int Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags) | |
1352 __attribute__nonnull__(pTHX_1); | |
1353 #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \ | |
1354 assert(pv) | |
1355 | |
1356 PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) | |
1357 __attribute__warn_unused_result__ | |
1358 __attribute__nonnull__(pTHX_1) | |
1359 __attribute__nonnull__(pTHX_2); | |
1360 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \ | |
1361 assert(sp); assert(send) | |
1362 | |
1363 PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) | |
1364 __attribute__nonnull__(pTHX_1) | |
1365 __attribute__nonnull__(pTHX_2) | |
1366 __attribute__nonnull__(pTHX_3); | |
1367 #define PERL_ARGS_ASSERT_GROK_OCT \ | |
1368 assert(start); assert(len_p); assert(flags) | |
1369 | |
1370 /* PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv); */ | |
1371 /* PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv); */ | |
1372 /* PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv); */ | |
1373 PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type); | |
1374 /* PERL_CALLCONV GV* gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) | |
1375 __attribute__warn_unused_result__ | |
1376 __attribute__nonnull__(pTHX_2); */ | |
1377 | |
1378 PERL_CALLCONV GV* Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags) | |
1379 __attribute__warn_unused_result__ | |
1380 __attribute__nonnull__(pTHX_2); | |
1381 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \ | |
1382 assert(namepv) | |
1383 | |
1384 PERL_CALLCONV GV* Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags) | |
1385 __attribute__warn_unused_result__ | |
1386 __attribute__nonnull__(pTHX_2); | |
1387 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \ | |
1388 assert(name) | |
1389 | |
1390 PERL_CALLCONV GV* Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags) | |
1391 __attribute__warn_unused_result__ | |
1392 __attribute__nonnull__(pTHX_2); | |
1393 #define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \ | |
1394 assert(namesv) | |
1395 | |
1396 PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash) | |
1397 __attribute__nonnull__(pTHX_1); | |
1398 #define PERL_ARGS_ASSERT_GV_CHECK \ | |
1399 assert(stash) | |
1400 | |
1401 PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv) | |
1402 __attribute__warn_unused_result__ | |
1403 __attribute__nonnull__(pTHX_1); | |
1404 #define PERL_ARGS_ASSERT_GV_CONST_SV \ | |
1405 assert(gv) | |
1406 | |
1407 PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv); | |
1408 PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv) | |
1409 __attribute__nonnull__(pTHX_1) | |
1410 __attribute__nonnull__(pTHX_2); | |
1411 #define PERL_ARGS_ASSERT_GV_EFULLNAME \ | |
1412 assert(sv); assert(gv) | |
1413 | |
1414 /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
1415 __attribute__nonnull__(pTHX_1) | |
1416 __attribute__nonnull__(pTHX_2); */ | |
1417 #define PERL_ARGS_ASSERT_GV_EFULLNAME3 \ | |
1418 assert(sv); assert(gv) | |
1419 | |
1420 PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
1421 __attribute__nonnull__(pTHX_1) | |
1422 __attribute__nonnull__(pTHX_2); | |
1423 #define PERL_ARGS_ASSERT_GV_EFULLNAME4 \ | |
1424 assert(sv); assert(gv) | |
1425 | |
1426 PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) | |
1427 __attribute__nonnull__(pTHX_1); | |
1428 #define PERL_ARGS_ASSERT_GV_FETCHFILE \ | |
1429 assert(name) | |
1430 | |
1431 PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags) | |
1432 __attribute__nonnull__(pTHX_1); | |
1433 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \ | |
1434 assert(name) | |
1435 | |
1436 /* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) | |
1437 __attribute__nonnull__(pTHX_2); */ | |
1438 | |
1439 /* PERL_CALLCONV GV* gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) | |
1440 __attribute__nonnull__(pTHX_2); */ | |
1441 | |
1442 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags) | |
1443 __attribute__nonnull__(pTHX_2); | |
1444 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \ | |
1445 assert(name) | |
1446 | |
1447 PERL_CALLCONV GV* Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags) | |
1448 __attribute__nonnull__(pTHX_2); | |
1449 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \ | |
1450 assert(name) | |
1451 | |
1452 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags) | |
1453 __attribute__nonnull__(pTHX_2); | |
1454 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \ | |
1455 assert(name) | |
1456 | |
1457 PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags) | |
1458 __attribute__nonnull__(pTHX_2); | |
1459 #define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \ | |
1460 assert(name) | |
1461 | |
1462 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags) | |
1463 __attribute__nonnull__(pTHX_2); | |
1464 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \ | |
1465 assert(namesv) | |
1466 | |
1467 PERL_CALLCONV GV* Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags) | |
1468 __attribute__nonnull__(pTHX_2); | |
1469 #define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \ | |
1470 assert(namesv) | |
1471 | |
1472 /* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name) | |
1473 __attribute__nonnull__(pTHX_1) | |
1474 __attribute__nonnull__(pTHX_2); */ | |
1475 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \ | |
1476 assert(stash); assert(name) | |
1477 | |
1478 PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload) | |
1479 __attribute__nonnull__(pTHX_1) | |
1480 __attribute__nonnull__(pTHX_2); | |
1481 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \ | |
1482 assert(stash); assert(name) | |
1483 | |
1484 PERL_CALLCONV GV* Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags) | |
1485 __attribute__nonnull__(pTHX_1) | |
1486 __attribute__nonnull__(pTHX_2); | |
1487 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \ | |
1488 assert(stash); assert(name) | |
1489 | |
1490 PERL_CALLCONV GV* Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags) | |
1491 __attribute__nonnull__(pTHX_1) | |
1492 __attribute__nonnull__(pTHX_2); | |
1493 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \ | |
1494 assert(stash); assert(name) | |
1495 | |
1496 PERL_CALLCONV GV* Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags) | |
1497 __attribute__nonnull__(pTHX_1) | |
1498 __attribute__nonnull__(pTHX_2); | |
1499 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \ | |
1500 assert(stash); assert(namesv) | |
1501 | |
1502 PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type) | |
1503 __attribute__nonnull__(pTHX_1); | |
1504 #define PERL_ARGS_ASSERT_GV_FETCHPV \ | |
1505 assert(nambeg) | |
1506 | |
1507 PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type) | |
1508 __attribute__nonnull__(pTHX_1); | |
1509 #define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \ | |
1510 assert(name) | |
1511 | |
1512 PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type) | |
1513 __attribute__nonnull__(pTHX_1); | |
1514 #define PERL_ARGS_ASSERT_GV_FETCHSV \ | |
1515 assert(name) | |
1516 | |
1517 PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv) | |
1518 __attribute__nonnull__(pTHX_1) | |
1519 __attribute__nonnull__(pTHX_2); | |
1520 #define PERL_ARGS_ASSERT_GV_FULLNAME \ | |
1521 assert(sv); assert(gv) | |
1522 | |
1523 /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
1524 __attribute__nonnull__(pTHX_1) | |
1525 __attribute__nonnull__(pTHX_2); */ | |
1526 #define PERL_ARGS_ASSERT_GV_FULLNAME3 \ | |
1527 assert(sv); assert(gv) | |
1528 | |
1529 PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
1530 __attribute__nonnull__(pTHX_1) | |
1531 __attribute__nonnull__(pTHX_2); | |
1532 #define PERL_ARGS_ASSERT_GV_FULLNAME4 \ | |
1533 assert(sv); assert(gv) | |
1534 | |
1535 PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id) | |
1536 __attribute__warn_unused_result__; | |
1537 | |
1538 /* PERL_CALLCONV void gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) | |
1539 __attribute__nonnull__(pTHX_1) | |
1540 __attribute__nonnull__(pTHX_3); */ | |
1541 | |
1542 PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags) | |
1543 __attribute__nonnull__(pTHX_1) | |
1544 __attribute__nonnull__(pTHX_3); | |
1545 #define PERL_ARGS_ASSERT_GV_INIT_PV \ | |
1546 assert(gv); assert(name) | |
1547 | |
1548 PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags) | |
1549 __attribute__nonnull__(pTHX_1) | |
1550 __attribute__nonnull__(pTHX_3); | |
1551 #define PERL_ARGS_ASSERT_GV_INIT_PVN \ | |
1552 assert(gv); assert(name) | |
1553 | |
1554 PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags) | |
1555 __attribute__nonnull__(pTHX_1) | |
1556 __attribute__nonnull__(pTHX_3); | |
1557 #define PERL_ARGS_ASSERT_GV_INIT_SV \ | |
1558 assert(gv); assert(namesv) | |
1559 | |
1560 PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags) | |
1561 __attribute__nonnull__(pTHX_1) | |
1562 __attribute__nonnull__(pTHX_2); | |
1563 #define PERL_ARGS_ASSERT_GV_NAME_SET \ | |
1564 assert(gv); assert(name) | |
1565 | |
1566 PERL_CALLCONV GV * Perl_gv_override(pTHX_ const char * const name, const STRLEN len) | |
1567 __attribute__nonnull__(pTHX_1); | |
1568 #define PERL_ARGS_ASSERT_GV_OVERRIDE \ | |
1569 assert(name) | |
1570 | |
1571 PERL_CALLCONV void Perl_gv_setref(pTHX_ SV *const dstr, SV *const sstr) | |
1572 __attribute__nonnull__(pTHX_1) | |
1573 __attribute__nonnull__(pTHX_2); | |
1574 #define PERL_ARGS_ASSERT_GV_SETREF \ | |
1575 assert(dstr); assert(sstr) | |
1576 | |
1577 PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags) | |
1578 __attribute__nonnull__(pTHX_1); | |
1579 #define PERL_ARGS_ASSERT_GV_STASHPV \ | |
1580 assert(name) | |
1581 | |
1582 PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags) | |
1583 __attribute__nonnull__(pTHX_1); | |
1584 #define PERL_ARGS_ASSERT_GV_STASHPVN \ | |
1585 assert(name) | |
1586 | |
1587 PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags) | |
1588 __attribute__nonnull__(pTHX_1); | |
1589 #define PERL_ARGS_ASSERT_GV_STASHSV \ | |
1590 assert(sv) | |
1591 | |
1592 PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv) | |
1593 __attribute__nonnull__(pTHX_1); | |
1594 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \ | |
1595 assert(gv) | |
1596 | |
1597 PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv) | |
1598 __attribute__nonnull__(pTHX_1); | |
1599 #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \ | |
1600 assert(hv) | |
1601 | |
1602 PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv); | |
1603 PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv) | |
1604 __attribute__nonnull__(pTHX_1); | |
1605 #define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \ | |
1606 assert(hv) | |
1607 | |
1608 PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash); | |
1609 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) | |
1610 __attribute__nonnull__(pTHX_2); | |
1611 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \ | |
1612 assert(key) | |
1613 | |
1614 PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv) | |
1615 __attribute__warn_unused_result__; | |
1616 | |
1617 PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry) | |
1618 __attribute__nonnull__(pTHX_1); | |
1619 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \ | |
1620 assert(hv) | |
1621 | |
1622 /* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags) | |
1623 __attribute__nonnull__(pTHX_2); */ | |
1624 #define PERL_ARGS_ASSERT_HV_DELETE \ | |
1625 assert(key) | |
1626 | |
1627 /* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash) | |
1628 __attribute__nonnull__(pTHX_2); */ | |
1629 #define PERL_ARGS_ASSERT_HV_DELETE_ENT \ | |
1630 assert(keysv) | |
1631 | |
1632 PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv) | |
1633 __attribute__warn_unused_result__ | |
1634 __attribute__nonnull__(pTHX_1); | |
1635 #define PERL_ARGS_ASSERT_HV_EITER_P \ | |
1636 assert(hv) | |
1637 | |
1638 PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter) | |
1639 __attribute__nonnull__(pTHX_1); | |
1640 #define PERL_ARGS_ASSERT_HV_EITER_SET \ | |
1641 assert(hv) | |
1642 | |
1643 PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags) | |
1644 __attribute__nonnull__(pTHX_1) | |
1645 __attribute__nonnull__(pTHX_2); | |
1646 #define PERL_ARGS_ASSERT_HV_ENAME_ADD \ | |
1647 assert(hv); assert(name) | |
1648 | |
1649 PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags) | |
1650 __attribute__nonnull__(pTHX_1) | |
1651 __attribute__nonnull__(pTHX_2); | |
1652 #define PERL_ARGS_ASSERT_HV_ENAME_DELETE \ | |
1653 assert(hv); assert(name) | |
1654 | |
1655 /* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen) | |
1656 __attribute__warn_unused_result__ | |
1657 __attribute__nonnull__(pTHX_2); */ | |
1658 #define PERL_ARGS_ASSERT_HV_EXISTS \ | |
1659 assert(key) | |
1660 | |
1661 /* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash) | |
1662 __attribute__warn_unused_result__ | |
1663 __attribute__nonnull__(pTHX_2); */ | |
1664 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT \ | |
1665 assert(keysv) | |
1666 | |
1667 /* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval) | |
1668 __attribute__nonnull__(pTHX_2); */ | |
1669 #define PERL_ARGS_ASSERT_HV_FETCH \ | |
1670 assert(key) | |
1671 | |
1672 /* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash) | |
1673 __attribute__nonnull__(pTHX_2); */ | |
1674 #define PERL_ARGS_ASSERT_HV_FETCH_ENT \ | |
1675 assert(keysv) | |
1676 | |
1677 PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV *const hv) | |
1678 __attribute__nonnull__(pTHX_1); | |
1679 #define PERL_ARGS_ASSERT_HV_FILL \ | |
1680 assert(hv) | |
1681 | |
1682 PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entry) | |
1683 __attribute__nonnull__(pTHX_1); | |
1684 #define PERL_ARGS_ASSERT_HV_FREE_ENT \ | |
1685 assert(hv) | |
1686 | |
1687 PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv) | |
1688 __attribute__nonnull__(pTHX_1); | |
1689 #define PERL_ARGS_ASSERT_HV_ITERINIT \ | |
1690 assert(hv) | |
1691 | |
1692 PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) | |
1693 __attribute__warn_unused_result__ | |
1694 __attribute__nonnull__(pTHX_1) | |
1695 __attribute__nonnull__(pTHX_2); | |
1696 #define PERL_ARGS_ASSERT_HV_ITERKEY \ | |
1697 assert(entry); assert(retlen) | |
1698 | |
1699 PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) | |
1700 __attribute__warn_unused_result__ | |
1701 __attribute__nonnull__(pTHX_1); | |
1702 #define PERL_ARGS_ASSERT_HV_ITERKEYSV \ | |
1703 assert(entry) | |
1704 | |
1705 /* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv) | |
1706 __attribute__warn_unused_result__ | |
1707 __attribute__nonnull__(pTHX_1); */ | |
1708 #define PERL_ARGS_ASSERT_HV_ITERNEXT \ | |
1709 assert(hv) | |
1710 | |
1711 PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags) | |
1712 __attribute__warn_unused_result__ | |
1713 __attribute__nonnull__(pTHX_1); | |
1714 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \ | |
1715 assert(hv) | |
1716 | |
1717 PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen) | |
1718 __attribute__warn_unused_result__ | |
1719 __attribute__nonnull__(pTHX_1) | |
1720 __attribute__nonnull__(pTHX_2) | |
1721 __attribute__nonnull__(pTHX_3); | |
1722 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV \ | |
1723 assert(hv); assert(key); assert(retlen) | |
1724 | |
1725 PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry) | |
1726 __attribute__warn_unused_result__ | |
1727 __attribute__nonnull__(pTHX_1) | |
1728 __attribute__nonnull__(pTHX_2); | |
1729 #define PERL_ARGS_ASSERT_HV_ITERVAL \ | |
1730 assert(hv); assert(entry) | |
1731 | |
1732 PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax) | |
1733 __attribute__nonnull__(pTHX_1); | |
1734 #define PERL_ARGS_ASSERT_HV_KSPLIT \ | |
1735 assert(hv) | |
1736 | |
1737 /* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how) | |
1738 __attribute__nonnull__(pTHX_1); */ | |
1739 #define PERL_ARGS_ASSERT_HV_MAGIC \ | |
1740 assert(hv) | |
1741 | |
1742 PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags) | |
1743 __attribute__nonnull__(pTHX_1); | |
1744 #define PERL_ARGS_ASSERT_HV_NAME_SET \ | |
1745 assert(hv) | |
1746 | |
1747 PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv) | |
1748 __attribute__warn_unused_result__ | |
1749 __attribute__nonnull__(pTHX_1); | |
1750 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \ | |
1751 assert(hv) | |
1752 | |
1753 PERL_CALLCONV SSize_t* Perl_hv_placeholders_p(pTHX_ HV *hv) | |
1754 __attribute__warn_unused_result__ | |
1755 __attribute__nonnull__(pTHX_1); | |
1756 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \ | |
1757 assert(hv) | |
1758 | |
1759 PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph) | |
1760 __attribute__nonnull__(pTHX_1); | |
1761 #define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \ | |
1762 assert(hv) | |
1763 | |
1764 PERL_CALLCONV void Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand) | |
1765 __attribute__nonnull__(pTHX_1); | |
1766 #define PERL_ARGS_ASSERT_HV_RAND_SET \ | |
1767 assert(hv) | |
1768 | |
1769 PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv) | |
1770 __attribute__warn_unused_result__ | |
1771 __attribute__nonnull__(pTHX_1); | |
1772 #define PERL_ARGS_ASSERT_HV_RITER_P \ | |
1773 assert(hv) | |
1774 | |
1775 PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter) | |
1776 __attribute__nonnull__(pTHX_1); | |
1777 #define PERL_ARGS_ASSERT_HV_RITER_SET \ | |
1778 assert(hv) | |
1779 | |
1780 PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv) | |
1781 __attribute__warn_unused_result__ | |
1782 __attribute__nonnull__(pTHX_1); | |
1783 #define PERL_ARGS_ASSERT_HV_SCALAR \ | |
1784 assert(hv) | |
1785 | |
1786 /* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */ | |
1787 /* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */ | |
1788 /* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */ | |
1789 /* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */ | |
1790 PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags); | |
1791 /* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len) | |
1792 __attribute__nonnull__(pTHX_1) | |
1793 __attribute__nonnull__(pTHX_2); */ | |
1794 | |
1795 /* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) | |
1796 __attribute__nonnull__(pTHX_1) | |
1797 __attribute__nonnull__(pTHX_2); */ | |
1798 | |
1799 /* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2) | |
1800 __attribute__nonnull__(pTHX_1) | |
1801 __attribute__nonnull__(pTHX_5); */ | |
1802 | |
1803 PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) | |
1804 __attribute__nonnull__(pTHX_2); | |
1805 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \ | |
1806 assert(argv) | |
1807 | |
1808 PERL_CALLCONV void Perl_init_constants(pTHX); | |
1809 PERL_CALLCONV void Perl_init_dbargs(pTHX); | |
1810 PERL_CALLCONV void Perl_init_debugger(pTHX); | |
1811 PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); | |
1812 PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); | |
1813 PERL_CALLCONV void Perl_init_stacks(pTHX); | |
1814 PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm) | |
1815 __attribute__nonnull__(pTHX_1); | |
1816 #define PERL_ARGS_ASSERT_INIT_TM \ | |
1817 assert(ptm) | |
1818 | |
1819 PERL_CALLCONV char* Perl_instr(const char* big, const char* little) | |
1820 __attribute__warn_unused_result__ | |
1821 __attribute__pure__ | |
1822 __attribute__nonnull__(1) | |
1823 __attribute__nonnull__(2); | |
1824 #define PERL_ARGS_ASSERT_INSTR \ | |
1825 assert(big); assert(little) | |
1826 | |
1827 PERL_CALLCONV U32 Perl_intro_my(pTHX); | |
1828 PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) | |
1829 __attribute__warn_unused_result__; | |
1830 | |
1831 PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail) | |
1832 __attribute__nonnull__(pTHX_1); | |
1833 #define PERL_ARGS_ASSERT_IO_CLOSE \ | |
1834 assert(io) | |
1835 | |
1836 PERL_CALLCONV bool Perl_isALNUM_lazy(pTHX_ const char* p) | |
1837 __attribute__deprecated__ | |
1838 __attribute__warn_unused_result__ | |
1839 __attribute__pure__ | |
1840 __attribute__nonnull__(pTHX_1); | |
1841 #define PERL_ARGS_ASSERT_ISALNUM_LAZY \ | |
1842 assert(p) | |
1843 | |
1844 PERL_CALLCONV bool Perl_isIDFIRST_lazy(pTHX_ const char* p) | |
1845 __attribute__deprecated__ | |
1846 __attribute__warn_unused_result__ | |
1847 __attribute__pure__ | |
1848 __attribute__nonnull__(pTHX_1); | |
1849 #define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \ | |
1850 assert(p) | |
1851 | |
1852 /* PERL_CALLCONV bool Perl_is_ascii_string(pTHX_ const U8 *s, STRLEN len) | |
1853 __attribute__warn_unused_result__ | |
1854 __attribute__nonnull__(pTHX_1); */ | |
1855 | |
1856 PERL_CALLCONV bool Perl_is_invariant_string(const U8 *s, STRLEN len) | |
1857 __attribute__warn_unused_result__ | |
1858 __attribute__nonnull__(1); | |
1859 #define PERL_ARGS_ASSERT_IS_INVARIANT_STRING \ | |
1860 assert(s) | |
1861 | |
1862 PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) | |
1863 __attribute__warn_unused_result__; | |
1864 | |
1865 PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) | |
1866 __attribute__deprecated__ | |
1867 __attribute__warn_unused_result__ | |
1868 __attribute__pure__; | |
1869 | |
1870 PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) | |
1871 __attribute__deprecated__ | |
1872 __attribute__warn_unused_result__ | |
1873 __attribute__pure__; | |
1874 | |
1875 PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c) | |
1876 __attribute__deprecated__ | |
1877 __attribute__warn_unused_result__ | |
1878 __attribute__pure__; | |
1879 | |
1880 PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c) | |
1881 __attribute__deprecated__ | |
1882 __attribute__warn_unused_result__ | |
1883 __attribute__pure__; | |
1884 | |
1885 PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) | |
1886 __attribute__deprecated__ | |
1887 __attribute__warn_unused_result__ | |
1888 __attribute__pure__; | |
1889 | |
1890 PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) | |
1891 __attribute__deprecated__ | |
1892 __attribute__warn_unused_result__ | |
1893 __attribute__pure__; | |
1894 | |
1895 PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) | |
1896 __attribute__deprecated__ | |
1897 __attribute__warn_unused_result__ | |
1898 __attribute__pure__; | |
1899 | |
1900 PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) | |
1901 __attribute__deprecated__ | |
1902 __attribute__warn_unused_result__ | |
1903 __attribute__pure__; | |
1904 | |
1905 PERL_CALLCONV bool Perl_is_uni_blank(pTHX_ UV c) | |
1906 __attribute__deprecated__ | |
1907 __attribute__warn_unused_result__ | |
1908 __attribute__pure__; | |
1909 | |
1910 PERL_CALLCONV bool Perl_is_uni_blank_lc(pTHX_ UV c) | |
1911 __attribute__deprecated__ | |
1912 __attribute__warn_unused_result__ | |
1913 __attribute__pure__; | |
1914 | |
1915 PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) | |
1916 __attribute__deprecated__ | |
1917 __attribute__warn_unused_result__ | |
1918 __attribute__pure__; | |
1919 | |
1920 PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) | |
1921 __attribute__deprecated__ | |
1922 __attribute__warn_unused_result__ | |
1923 __attribute__pure__; | |
1924 | |
1925 PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) | |
1926 __attribute__deprecated__ | |
1927 __attribute__warn_unused_result__ | |
1928 __attribute__pure__; | |
1929 | |
1930 PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) | |
1931 __attribute__deprecated__ | |
1932 __attribute__warn_unused_result__ | |
1933 __attribute__pure__; | |
1934 | |
1935 PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) | |
1936 __attribute__deprecated__ | |
1937 __attribute__warn_unused_result__ | |
1938 __attribute__pure__; | |
1939 | |
1940 PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) | |
1941 __attribute__deprecated__ | |
1942 __attribute__warn_unused_result__ | |
1943 __attribute__pure__; | |
1944 | |
1945 PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) | |
1946 __attribute__deprecated__ | |
1947 __attribute__warn_unused_result__ | |
1948 __attribute__pure__; | |
1949 | |
1950 PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) | |
1951 __attribute__deprecated__ | |
1952 __attribute__warn_unused_result__ | |
1953 __attribute__pure__; | |
1954 | |
1955 PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) | |
1956 __attribute__deprecated__ | |
1957 __attribute__warn_unused_result__ | |
1958 __attribute__pure__; | |
1959 | |
1960 PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) | |
1961 __attribute__deprecated__ | |
1962 __attribute__warn_unused_result__ | |
1963 __attribute__pure__; | |
1964 | |
1965 PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) | |
1966 __attribute__deprecated__ | |
1967 __attribute__warn_unused_result__ | |
1968 __attribute__pure__; | |
1969 | |
1970 PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) | |
1971 __attribute__deprecated__ | |
1972 __attribute__warn_unused_result__ | |
1973 __attribute__pure__; | |
1974 | |
1975 PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) | |
1976 __attribute__deprecated__ | |
1977 __attribute__warn_unused_result__ | |
1978 __attribute__pure__; | |
1979 | |
1980 PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) | |
1981 __attribute__deprecated__ | |
1982 __attribute__warn_unused_result__ | |
1983 __attribute__pure__; | |
1984 | |
1985 PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) | |
1986 __attribute__deprecated__ | |
1987 __attribute__warn_unused_result__ | |
1988 __attribute__pure__; | |
1989 | |
1990 PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) | |
1991 __attribute__deprecated__ | |
1992 __attribute__warn_unused_result__ | |
1993 __attribute__pure__; | |
1994 | |
1995 PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) | |
1996 __attribute__deprecated__ | |
1997 __attribute__warn_unused_result__ | |
1998 __attribute__pure__; | |
1999 | |
2000 PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) | |
2001 __attribute__deprecated__ | |
2002 __attribute__warn_unused_result__ | |
2003 __attribute__pure__; | |
2004 | |
2005 PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) | |
2006 __attribute__deprecated__ | |
2007 __attribute__warn_unused_result__ | |
2008 __attribute__pure__; | |
2009 | |
2010 PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) | |
2011 __attribute__deprecated__ | |
2012 __attribute__warn_unused_result__ | |
2013 __attribute__pure__; | |
2014 | |
2015 PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p) | |
2016 __attribute__deprecated__ | |
2017 __attribute__warn_unused_result__ | |
2018 __attribute__nonnull__(pTHX_1); | |
2019 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \ | |
2020 assert(p) | |
2021 | |
2022 PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p) | |
2023 __attribute__deprecated__ | |
2024 __attribute__warn_unused_result__ | |
2025 __attribute__nonnull__(pTHX_1); | |
2026 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \ | |
2027 assert(p) | |
2028 | |
2029 PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p) | |
2030 __attribute__deprecated__ | |
2031 __attribute__warn_unused_result__ | |
2032 __attribute__nonnull__(pTHX_1); | |
2033 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \ | |
2034 assert(p) | |
2035 | |
2036 PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p) | |
2037 __attribute__deprecated__ | |
2038 __attribute__warn_unused_result__ | |
2039 __attribute__nonnull__(pTHX_1); | |
2040 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII \ | |
2041 assert(p) | |
2042 | |
2043 PERL_CALLCONV bool Perl_is_utf8_blank(pTHX_ const U8 *p) | |
2044 __attribute__deprecated__ | |
2045 __attribute__warn_unused_result__ | |
2046 __attribute__nonnull__(pTHX_1); | |
2047 #define PERL_ARGS_ASSERT_IS_UTF8_BLANK \ | |
2048 assert(p) | |
2049 | |
2050 PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s) | |
2051 __attribute__deprecated__ | |
2052 __attribute__nonnull__(1); | |
2053 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR \ | |
2054 assert(s) | |
2055 | |
2056 /* PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end) | |
2057 __attribute__nonnull__(1) | |
2058 __attribute__nonnull__(2); */ | |
2059 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \ | |
2060 assert(buf); assert(buf_end) | |
2061 | |
2062 PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p) | |
2063 __attribute__deprecated__ | |
2064 __attribute__warn_unused_result__ | |
2065 __attribute__nonnull__(pTHX_1); | |
2066 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \ | |
2067 assert(p) | |
2068 | |
2069 PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p) | |
2070 __attribute__deprecated__ | |
2071 __attribute__warn_unused_result__ | |
2072 __attribute__nonnull__(pTHX_1); | |
2073 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \ | |
2074 assert(p) | |
2075 | |
2076 PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p) | |
2077 __attribute__deprecated__ | |
2078 __attribute__warn_unused_result__ | |
2079 __attribute__nonnull__(pTHX_1); | |
2080 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \ | |
2081 assert(p) | |
2082 | |
2083 PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p) | |
2084 __attribute__deprecated__ | |
2085 __attribute__warn_unused_result__ | |
2086 __attribute__nonnull__(pTHX_1); | |
2087 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \ | |
2088 assert(p) | |
2089 | |
2090 PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p) | |
2091 __attribute__deprecated__ | |
2092 __attribute__warn_unused_result__ | |
2093 __attribute__nonnull__(pTHX_1); | |
2094 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \ | |
2095 assert(p) | |
2096 | |
2097 PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p) | |
2098 __attribute__deprecated__ | |
2099 __attribute__warn_unused_result__ | |
2100 __attribute__nonnull__(pTHX_1); | |
2101 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER \ | |
2102 assert(p) | |
2103 | |
2104 PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) | |
2105 __attribute__deprecated__ | |
2106 __attribute__warn_unused_result__ | |
2107 __attribute__nonnull__(pTHX_1); | |
2108 #define PERL_ARGS_ASSERT_IS_UTF8_MARK \ | |
2109 assert(p) | |
2110 | |
2111 PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p) | |
2112 __attribute__deprecated__ | |
2113 __attribute__warn_unused_result__ | |
2114 __attribute__nonnull__(pTHX_1); | |
2115 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \ | |
2116 assert(p) | |
2117 | |
2118 PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p) | |
2119 __attribute__deprecated__ | |
2120 __attribute__warn_unused_result__ | |
2121 __attribute__nonnull__(pTHX_1); | |
2122 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \ | |
2123 assert(p) | |
2124 | |
2125 PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p) | |
2126 __attribute__deprecated__ | |
2127 __attribute__warn_unused_result__ | |
2128 __attribute__nonnull__(pTHX_1); | |
2129 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \ | |
2130 assert(p) | |
2131 | |
2132 PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p) | |
2133 __attribute__deprecated__ | |
2134 __attribute__warn_unused_result__ | |
2135 __attribute__nonnull__(pTHX_1); | |
2136 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT \ | |
2137 assert(p) | |
2138 | |
2139 PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p) | |
2140 __attribute__deprecated__ | |
2141 __attribute__warn_unused_result__ | |
2142 __attribute__nonnull__(pTHX_1); | |
2143 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \ | |
2144 assert(p) | |
2145 | |
2146 PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p) | |
2147 __attribute__deprecated__ | |
2148 __attribute__warn_unused_result__ | |
2149 __attribute__nonnull__(pTHX_1); | |
2150 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE \ | |
2151 assert(p) | |
2152 | |
2153 PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len) | |
2154 __attribute__nonnull__(1); | |
2155 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \ | |
2156 assert(s) | |
2157 | |
2158 /* PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep) | |
2159 __attribute__nonnull__(1); */ | |
2160 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \ | |
2161 assert(s) | |
2162 | |
2163 PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) | |
2164 __attribute__nonnull__(1); | |
2165 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \ | |
2166 assert(s) | |
2167 | |
2168 PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p) | |
2169 __attribute__deprecated__ | |
2170 __attribute__warn_unused_result__ | |
2171 __attribute__nonnull__(pTHX_1); | |
2172 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER \ | |
2173 assert(p) | |
2174 | |
2175 PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p) | |
2176 __attribute__deprecated__ | |
2177 __attribute__warn_unused_result__ | |
2178 __attribute__nonnull__(pTHX_1); | |
2179 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \ | |
2180 assert(p) | |
2181 | |
2182 PERL_CALLCONV bool Perl_is_utf8_xidcont(pTHX_ const U8 *p) | |
2183 __attribute__deprecated__ | |
2184 __attribute__warn_unused_result__ | |
2185 __attribute__nonnull__(pTHX_1); | |
2186 #define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT \ | |
2187 assert(p) | |
2188 | |
2189 PERL_CALLCONV bool Perl_is_utf8_xidfirst(pTHX_ const U8 *p) | |
2190 __attribute__deprecated__ | |
2191 __attribute__warn_unused_result__ | |
2192 __attribute__nonnull__(pTHX_1); | |
2193 #define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST \ | |
2194 assert(p) | |
2195 | |
2196 PERL_CALLCONV bool Perl_isinfnan(NV nv); | |
2197 PERL_CALLCONV bool Perl_isinfnansv(pTHX_ SV *sv) | |
2198 __attribute__nonnull__(pTHX_1); | |
2199 #define PERL_ARGS_ASSERT_ISINFNANSV \ | |
2200 assert(sv) | |
2201 | |
2202 PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o) | |
2203 __attribute__nonnull__(pTHX_1); | |
2204 #define PERL_ARGS_ASSERT_JMAYBE \ | |
2205 assert(o) | |
2206 | |
2207 PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords) | |
2208 __attribute__pure__ | |
2209 __attribute__nonnull__(pTHX_1); | |
2210 #define PERL_ARGS_ASSERT_KEYWORD \ | |
2211 assert(name) | |
2212 | |
2213 PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr) | |
2214 __attribute__nonnull__(pTHX_1) | |
2215 __attribute__nonnull__(pTHX_3); | |
2216 #define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \ | |
2217 assert(keyword_ptr); assert(op_ptr) | |
2218 | |
2219 PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); | |
2220 PERL_CALLCONV bool Perl_lex_bufutf8(pTHX); | |
2221 PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr) | |
2222 __attribute__nonnull__(pTHX_1); | |
2223 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \ | |
2224 assert(ptr) | |
2225 | |
2226 PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len); | |
2227 PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags); | |
2228 PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags); | |
2229 PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags); | |
2230 PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr) | |
2231 __attribute__nonnull__(pTHX_1); | |
2232 #define PERL_ARGS_ASSERT_LEX_READ_TO \ | |
2233 assert(ptr) | |
2234 | |
2235 PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags); | |
2236 PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags); | |
2237 PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags) | |
2238 __attribute__nonnull__(pTHX_1); | |
2239 #define PERL_ARGS_ASSERT_LEX_STUFF_PV \ | |
2240 assert(pv) | |
2241 | |
2242 PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags) | |
2243 __attribute__nonnull__(pTHX_1); | |
2244 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN \ | |
2245 assert(pv) | |
2246 | |
2247 PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags) | |
2248 __attribute__nonnull__(pTHX_1); | |
2249 #define PERL_ARGS_ASSERT_LEX_STUFF_SV \ | |
2250 assert(sv) | |
2251 | |
2252 PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr) | |
2253 __attribute__nonnull__(pTHX_1); | |
2254 #define PERL_ARGS_ASSERT_LEX_UNSTUFF \ | |
2255 assert(ptr) | |
2256 | |
2257 PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); | |
2258 PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) | |
2259 __attribute__nonnull__(pTHX_2); | |
2260 #define PERL_ARGS_ASSERT_LOAD_MODULE \ | |
2261 assert(name) | |
2262 | |
2263 PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex) | |
2264 __attribute__nonnull__(pTHX_1); | |
2265 #define PERL_ARGS_ASSERT_LOCALIZE \ | |
2266 assert(o) | |
2267 | |
2268 PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv) | |
2269 __attribute__warn_unused_result__ | |
2270 __attribute__nonnull__(pTHX_1); | |
2271 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \ | |
2272 assert(sv) | |
2273 | |
2274 PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg) | |
2275 __attribute__nonnull__(pTHX_1) | |
2276 __attribute__nonnull__(pTHX_2); | |
2277 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \ | |
2278 assert(sv); assert(mg) | |
2279 | |
2280 PERL_CALLCONV int Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg) | |
2281 __attribute__nonnull__(pTHX_1) | |
2282 __attribute__nonnull__(pTHX_2); | |
2283 #define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \ | |
2284 assert(sv); assert(mg) | |
2285 | |
2286 PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg) | |
2287 __attribute__nonnull__(pTHX_1) | |
2288 __attribute__nonnull__(pTHX_2); | |
2289 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \ | |
2290 assert(sv); assert(mg) | |
2291 | |
2292 PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg) | |
2293 __attribute__nonnull__(pTHX_1) | |
2294 __attribute__nonnull__(pTHX_2); | |
2295 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \ | |
2296 assert(sv); assert(mg) | |
2297 | |
2298 PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg) | |
2299 __attribute__nonnull__(pTHX_1) | |
2300 __attribute__nonnull__(pTHX_2); | |
2301 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \ | |
2302 assert(sv); assert(mg) | |
2303 | |
2304 PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg) | |
2305 __attribute__nonnull__(pTHX_2); | |
2306 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \ | |
2307 assert(mg) | |
2308 | |
2309 PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg) | |
2310 __attribute__nonnull__(pTHX_1) | |
2311 __attribute__nonnull__(pTHX_2); | |
2312 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \ | |
2313 assert(sv); assert(mg) | |
2314 | |
2315 PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg) | |
2316 __attribute__nonnull__(pTHX_1) | |
2317 __attribute__nonnull__(pTHX_2); | |
2318 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \ | |
2319 assert(sv); assert(mg) | |
2320 | |
2321 PERL_CALLCONV int Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen) | |
2322 __attribute__nonnull__(pTHX_1) | |
2323 __attribute__nonnull__(pTHX_2) | |
2324 __attribute__nonnull__(pTHX_3); | |
2325 #define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \ | |
2326 assert(sv); assert(mg); assert(nsv) | |
2327 | |
2328 PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg); | |
2329 PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg) | |
2330 __attribute__nonnull__(pTHX_1) | |
2331 __attribute__nonnull__(pTHX_2); | |
2332 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \ | |
2333 assert(sv); assert(mg) | |
2334 | |
2335 PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg) | |
2336 __attribute__nonnull__(pTHX_1) | |
2337 __attribute__nonnull__(pTHX_2); | |
2338 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \ | |
2339 assert(sv); assert(mg) | |
2340 | |
2341 PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg) | |
2342 __attribute__nonnull__(pTHX_1) | |
2343 __attribute__nonnull__(pTHX_2); | |
2344 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \ | |
2345 assert(sv); assert(mg) | |
2346 | |
2347 PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg) | |
2348 __attribute__nonnull__(pTHX_1) | |
2349 __attribute__nonnull__(pTHX_2); | |
2350 #define PERL_ARGS_ASSERT_MAGIC_GET \ | |
2351 assert(sv); assert(mg) | |
2352 | |
2353 PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg) | |
2354 __attribute__nonnull__(pTHX_1) | |
2355 __attribute__nonnull__(pTHX_2); | |
2356 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \ | |
2357 assert(sv); assert(mg) | |
2358 | |
2359 PERL_CALLCONV int Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg) | |
2360 __attribute__nonnull__(pTHX_1) | |
2361 __attribute__nonnull__(pTHX_2); | |
2362 #define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \ | |
2363 assert(sv); assert(mg) | |
2364 | |
2365 PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg) | |
2366 __attribute__nonnull__(pTHX_1) | |
2367 __attribute__nonnull__(pTHX_2); | |
2368 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \ | |
2369 assert(sv); assert(mg) | |
2370 | |
2371 PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg) | |
2372 __attribute__nonnull__(pTHX_1) | |
2373 __attribute__nonnull__(pTHX_2); | |
2374 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \ | |
2375 assert(sv); assert(mg) | |
2376 | |
2377 PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg) | |
2378 __attribute__nonnull__(pTHX_1) | |
2379 __attribute__nonnull__(pTHX_2); | |
2380 #define PERL_ARGS_ASSERT_MAGIC_GETPACK \ | |
2381 assert(sv); assert(mg) | |
2382 | |
2383 PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg) | |
2384 __attribute__nonnull__(pTHX_1) | |
2385 __attribute__nonnull__(pTHX_2); | |
2386 #define PERL_ARGS_ASSERT_MAGIC_GETPOS \ | |
2387 assert(sv); assert(mg) | |
2388 | |
2389 PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg) | |
2390 __attribute__nonnull__(pTHX_1) | |
2391 __attribute__nonnull__(pTHX_2); | |
2392 #define PERL_ARGS_ASSERT_MAGIC_GETSIG \ | |
2393 assert(sv); assert(mg) | |
2394 | |
2395 PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg) | |
2396 __attribute__nonnull__(pTHX_1) | |
2397 __attribute__nonnull__(pTHX_2); | |
2398 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \ | |
2399 assert(sv); assert(mg) | |
2400 | |
2401 PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg) | |
2402 __attribute__nonnull__(pTHX_1) | |
2403 __attribute__nonnull__(pTHX_2); | |
2404 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \ | |
2405 assert(sv); assert(mg) | |
2406 | |
2407 PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg) | |
2408 __attribute__nonnull__(pTHX_1) | |
2409 __attribute__nonnull__(pTHX_2); | |
2410 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR \ | |
2411 assert(sv); assert(mg) | |
2412 | |
2413 PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg) | |
2414 __attribute__nonnull__(pTHX_1) | |
2415 __attribute__nonnull__(pTHX_2); | |
2416 #define PERL_ARGS_ASSERT_MAGIC_GETVEC \ | |
2417 assert(sv); assert(mg) | |
2418 | |
2419 PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) | |
2420 __attribute__nonnull__(pTHX_1) | |
2421 __attribute__nonnull__(pTHX_2); | |
2422 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \ | |
2423 assert(sv); assert(mg) | |
2424 | |
2425 PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...) | |
2426 __attribute__nonnull__(pTHX_1) | |
2427 __attribute__nonnull__(pTHX_2) | |
2428 __attribute__nonnull__(pTHX_3); | |
2429 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \ | |
2430 assert(sv); assert(mg); assert(meth) | |
2431 | |
2432 PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key) | |
2433 __attribute__nonnull__(pTHX_1) | |
2434 __attribute__nonnull__(pTHX_2) | |
2435 __attribute__nonnull__(pTHX_3); | |
2436 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \ | |
2437 assert(sv); assert(mg); assert(key) | |
2438 | |
2439 PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg) | |
2440 __attribute__nonnull__(pTHX_1) | |
2441 __attribute__nonnull__(pTHX_2); | |
2442 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \ | |
2443 assert(sv); assert(mg) | |
2444 | |
2445 PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg) | |
2446 __attribute__nonnull__(pTHX_1) | |
2447 __attribute__nonnull__(pTHX_2); | |
2448 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \ | |
2449 assert(sv); assert(mg) | |
2450 | |
2451 PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg) | |
2452 __attribute__nonnull__(pTHX_1) | |
2453 __attribute__nonnull__(pTHX_2); | |
2454 #define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \ | |
2455 assert(hv); assert(mg) | |
2456 | |
2457 PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg) | |
2458 __attribute__nonnull__(pTHX_1) | |
2459 __attribute__nonnull__(pTHX_2); | |
2460 #define PERL_ARGS_ASSERT_MAGIC_SET \ | |
2461 assert(sv); assert(mg) | |
2462 | |
2463 PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg) | |
2464 __attribute__nonnull__(pTHX_1) | |
2465 __attribute__nonnull__(pTHX_2); | |
2466 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \ | |
2467 assert(sv); assert(mg) | |
2468 | |
2469 PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg) | |
2470 __attribute__nonnull__(pTHX_1) | |
2471 __attribute__nonnull__(pTHX_2); | |
2472 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \ | |
2473 assert(sv); assert(mg) | |
2474 | |
2475 PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg) | |
2476 __attribute__nonnull__(pTHX_1) | |
2477 __attribute__nonnull__(pTHX_2); | |
2478 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \ | |
2479 assert(sv); assert(mg) | |
2480 | |
2481 PERL_CALLCONV int Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg) | |
2482 __attribute__nonnull__(pTHX_1) | |
2483 __attribute__nonnull__(pTHX_2); | |
2484 #define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \ | |
2485 assert(sv); assert(mg) | |
2486 | |
2487 PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg) | |
2488 __attribute__nonnull__(pTHX_1) | |
2489 __attribute__nonnull__(pTHX_2); | |
2490 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \ | |
2491 assert(sv); assert(mg) | |
2492 | |
2493 PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg) | |
2494 __attribute__nonnull__(pTHX_1) | |
2495 __attribute__nonnull__(pTHX_2); | |
2496 #define PERL_ARGS_ASSERT_MAGIC_SETENV \ | |
2497 assert(sv); assert(mg) | |
2498 | |
2499 PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg) | |
2500 __attribute__nonnull__(pTHX_1) | |
2501 __attribute__nonnull__(pTHX_2); | |
2502 #define PERL_ARGS_ASSERT_MAGIC_SETHINT \ | |
2503 assert(sv); assert(mg) | |
2504 | |
2505 PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg) | |
2506 __attribute__nonnull__(pTHX_1) | |
2507 __attribute__nonnull__(pTHX_2); | |
2508 #define PERL_ARGS_ASSERT_MAGIC_SETISA \ | |
2509 assert(sv); assert(mg) | |
2510 | |
2511 PERL_CALLCONV int Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg) | |
2512 __attribute__nonnull__(pTHX_1) | |
2513 __attribute__nonnull__(pTHX_2); | |
2514 #define PERL_ARGS_ASSERT_MAGIC_SETLVREF \ | |
2515 assert(sv); assert(mg) | |
2516 | |
2517 PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg) | |
2518 __attribute__nonnull__(pTHX_1) | |
2519 __attribute__nonnull__(pTHX_2); | |
2520 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \ | |
2521 assert(sv); assert(mg) | |
2522 | |
2523 PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg) | |
2524 __attribute__nonnull__(pTHX_1) | |
2525 __attribute__nonnull__(pTHX_2); | |
2526 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \ | |
2527 assert(sv); assert(mg) | |
2528 | |
2529 PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg) | |
2530 __attribute__nonnull__(pTHX_1) | |
2531 __attribute__nonnull__(pTHX_2); | |
2532 #define PERL_ARGS_ASSERT_MAGIC_SETPACK \ | |
2533 assert(sv); assert(mg) | |
2534 | |
2535 PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg) | |
2536 __attribute__nonnull__(pTHX_1) | |
2537 __attribute__nonnull__(pTHX_2); | |
2538 #define PERL_ARGS_ASSERT_MAGIC_SETPOS \ | |
2539 assert(sv); assert(mg) | |
2540 | |
2541 PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg) | |
2542 __attribute__nonnull__(pTHX_1) | |
2543 __attribute__nonnull__(pTHX_2); | |
2544 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \ | |
2545 assert(sv); assert(mg) | |
2546 | |
2547 PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg) | |
2548 __attribute__nonnull__(pTHX_2); | |
2549 #define PERL_ARGS_ASSERT_MAGIC_SETSIG \ | |
2550 assert(mg) | |
2551 | |
2552 PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg) | |
2553 __attribute__nonnull__(pTHX_1) | |
2554 __attribute__nonnull__(pTHX_2); | |
2555 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \ | |
2556 assert(sv); assert(mg) | |
2557 | |
2558 PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg) | |
2559 __attribute__nonnull__(pTHX_1) | |
2560 __attribute__nonnull__(pTHX_2); | |
2561 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \ | |
2562 assert(sv); assert(mg) | |
2563 | |
2564 PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg) | |
2565 __attribute__nonnull__(pTHX_1) | |
2566 __attribute__nonnull__(pTHX_2); | |
2567 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \ | |
2568 assert(sv); assert(mg) | |
2569 | |
2570 PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg) | |
2571 __attribute__nonnull__(pTHX_1) | |
2572 __attribute__nonnull__(pTHX_2); | |
2573 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR \ | |
2574 assert(sv); assert(mg) | |
2575 | |
2576 PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg) | |
2577 __attribute__nonnull__(pTHX_1) | |
2578 __attribute__nonnull__(pTHX_2); | |
2579 #define PERL_ARGS_ASSERT_MAGIC_SETVEC \ | |
2580 assert(sv); assert(mg) | |
2581 | |
2582 PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg) | |
2583 __attribute__nonnull__(pTHX_1) | |
2584 __attribute__nonnull__(pTHX_2); | |
2585 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \ | |
2586 assert(sv); assert(mg) | |
2587 | |
2588 PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg) | |
2589 __attribute__nonnull__(pTHX_1) | |
2590 __attribute__nonnull__(pTHX_2); | |
2591 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \ | |
2592 assert(sv); assert(mg) | |
2593 | |
2594 PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) | |
2595 __attribute__malloc__ | |
2596 __attribute__warn_unused_result__; | |
2597 | |
2598 PERL_CALLCONV I32 * Perl_markstack_grow(pTHX); | |
2599 PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) | |
2600 __attribute__format__(__printf__,pTHX_1,pTHX_2) | |
2601 __attribute__nonnull__(pTHX_1); | |
2602 #define PERL_ARGS_ASSERT_MESS \ | |
2603 assert(pat) | |
2604 | |
2605 PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume) | |
2606 __attribute__nonnull__(pTHX_1); | |
2607 #define PERL_ARGS_ASSERT_MESS_SV \ | |
2608 assert(basemsg) | |
2609 | |
2610 PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); | |
2611 PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv) | |
2612 __attribute__nonnull__(pTHX_1); | |
2613 #define PERL_ARGS_ASSERT_MG_CLEAR \ | |
2614 assert(sv) | |
2615 | |
2616 PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen) | |
2617 __attribute__nonnull__(pTHX_1) | |
2618 __attribute__nonnull__(pTHX_2); | |
2619 #define PERL_ARGS_ASSERT_MG_COPY \ | |
2620 assert(sv); assert(nsv) | |
2621 | |
2622 PERL_CALLCONV MAGIC* Perl_mg_find(const SV* sv, int type) | |
2623 __attribute__warn_unused_result__; | |
2624 | |
2625 PERL_CALLCONV MAGIC* Perl_mg_find_mglob(pTHX_ SV* sv) | |
2626 __attribute__warn_unused_result__ | |
2627 __attribute__nonnull__(pTHX_1); | |
2628 #define PERL_ARGS_ASSERT_MG_FIND_MGLOB \ | |
2629 assert(sv) | |
2630 | |
2631 PERL_CALLCONV MAGIC* Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl) | |
2632 __attribute__warn_unused_result__; | |
2633 | |
2634 PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv) | |
2635 __attribute__nonnull__(pTHX_1); | |
2636 #define PERL_ARGS_ASSERT_MG_FREE \ | |
2637 assert(sv) | |
2638 | |
2639 PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how) | |
2640 __attribute__nonnull__(pTHX_1); | |
2641 #define PERL_ARGS_ASSERT_MG_FREE_TYPE \ | |
2642 assert(sv) | |
2643 | |
2644 PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv) | |
2645 __attribute__nonnull__(pTHX_1); | |
2646 #define PERL_ARGS_ASSERT_MG_GET \ | |
2647 assert(sv) | |
2648 | |
2649 PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv) | |
2650 __attribute__deprecated__ | |
2651 __attribute__nonnull__(pTHX_1); | |
2652 #define PERL_ARGS_ASSERT_MG_LENGTH \ | |
2653 assert(sv) | |
2654 | |
2655 PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic) | |
2656 __attribute__nonnull__(pTHX_1) | |
2657 __attribute__nonnull__(pTHX_2); | |
2658 #define PERL_ARGS_ASSERT_MG_LOCALIZE \ | |
2659 assert(sv); assert(nsv) | |
2660 | |
2661 PERL_CALLCONV void Perl_mg_magical(SV* sv) | |
2662 __attribute__nonnull__(1); | |
2663 #define PERL_ARGS_ASSERT_MG_MAGICAL \ | |
2664 assert(sv) | |
2665 | |
2666 PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv) | |
2667 __attribute__nonnull__(pTHX_1); | |
2668 #define PERL_ARGS_ASSERT_MG_SET \ | |
2669 assert(sv) | |
2670 | |
2671 PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv) | |
2672 __attribute__nonnull__(pTHX_1); | |
2673 #define PERL_ARGS_ASSERT_MG_SIZE \ | |
2674 assert(sv) | |
2675 | |
2676 PERL_CALLCONV void Perl_mini_mktime(struct tm *ptm) | |
2677 __attribute__nonnull__(1); | |
2678 #define PERL_ARGS_ASSERT_MINI_MKTIME \ | |
2679 assert(ptm) | |
2680 | |
2681 PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len); | |
2682 PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size); | |
2683 PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s) | |
2684 __attribute__nonnull__(pTHX_1); | |
2685 #define PERL_ARGS_ASSERT_MORESWITCHES \ | |
2686 assert(s) | |
2687 | |
2688 PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name) | |
2689 __attribute__nonnull__(pTHX_1); | |
2690 #define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \ | |
2691 assert(name) | |
2692 | |
2693 PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash) | |
2694 __attribute__nonnull__(pTHX_1); | |
2695 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \ | |
2696 assert(stash) | |
2697 | |
2698 PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which) | |
2699 __attribute__nonnull__(pTHX_1) | |
2700 __attribute__nonnull__(pTHX_2); | |
2701 #define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \ | |
2702 assert(smeta); assert(which) | |
2703 | |
2704 PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash) | |
2705 __attribute__nonnull__(pTHX_1); | |
2706 #define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \ | |
2707 assert(stash) | |
2708 | |
2709 PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash) | |
2710 __attribute__nonnull__(pTHX_1); | |
2711 #define PERL_ARGS_ASSERT_MRO_META_INIT \ | |
2712 assert(stash) | |
2713 | |
2714 PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash) | |
2715 __attribute__nonnull__(pTHX_1); | |
2716 #define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \ | |
2717 assert(stash) | |
2718 | |
2719 PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags) | |
2720 __attribute__nonnull__(pTHX_3); | |
2721 #define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \ | |
2722 assert(gv) | |
2723 | |
2724 PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro) | |
2725 __attribute__nonnull__(pTHX_1); | |
2726 #define PERL_ARGS_ASSERT_MRO_REGISTER \ | |
2727 assert(mro) | |
2728 | |
2729 PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name) | |
2730 __attribute__nonnull__(pTHX_1) | |
2731 __attribute__nonnull__(pTHX_2); | |
2732 #define PERL_ARGS_ASSERT_MRO_SET_MRO \ | |
2733 assert(meta); assert(name) | |
2734 | |
2735 PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data) | |
2736 __attribute__nonnull__(pTHX_1) | |
2737 __attribute__nonnull__(pTHX_2) | |
2738 __attribute__nonnull__(pTHX_3); | |
2739 #define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \ | |
2740 assert(smeta); assert(which); assert(data) | |
2741 | |
2742 PERL_CALLCONV SV* Perl_multideref_stringify(pTHX_ const OP* o, CV *cv) | |
2743 __attribute__nonnull__(pTHX_1); | |
2744 #define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \ | |
2745 assert(o) | |
2746 | |
2747 PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) | |
2748 __attribute__nonnull__(pTHX_1); | |
2749 #define PERL_ARGS_ASSERT_MY_ATOF \ | |
2750 assert(s) | |
2751 | |
2752 PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value) | |
2753 __attribute__nonnull__(pTHX_1) | |
2754 __attribute__nonnull__(pTHX_2); | |
2755 #define PERL_ARGS_ASSERT_MY_ATOF2 \ | |
2756 assert(s); assert(value) | |
2757 | |
2758 PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) | |
2759 __attribute__nonnull__(pTHX_1); | |
2760 #define PERL_ARGS_ASSERT_MY_ATTRS \ | |
2761 assert(o) | |
2762 | |
2763 PERL_CALLCONV void Perl_my_clearenv(pTHX); | |
2764 PERL_CALLCONV int Perl_my_dirfd(DIR* dir); | |
2765 PERL_CALLCONV_NO_RET void Perl_my_exit(pTHX_ U32 status) | |
2766 __attribute__noreturn__; | |
2767 | |
2768 PERL_CALLCONV_NO_RET void Perl_my_failure_exit(pTHX) | |
2769 __attribute__noreturn__; | |
2770 | |
2771 PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); | |
2772 PERL_CALLCONV Pid_t Perl_my_fork(void); | |
2773 /* PERL_CALLCONV I32 Perl_my_lstat(pTHX); */ | |
2774 PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags); | |
2775 PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args) | |
2776 __attribute__nonnull__(pTHX_1) | |
2777 __attribute__nonnull__(pTHX_3); | |
2778 #define PERL_ARGS_ASSERT_MY_POPEN_LIST \ | |
2779 assert(mode); assert(args) | |
2780 | |
2781 PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val); | |
2782 PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...) | |
2783 __attribute__format__(__printf__,3,4) | |
2784 __attribute__nonnull__(1) | |
2785 __attribute__nonnull__(3); | |
2786 #define PERL_ARGS_ASSERT_MY_SNPRINTF \ | |
2787 assert(buffer); assert(format) | |
2788 | |
2789 PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]); | |
2790 /* PERL_CALLCONV I32 Perl_my_stat(pTHX); */ | |
2791 PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags); | |
2792 PERL_CALLCONV char* Perl_my_strerror(pTHX_ const int errnum); | |
2793 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) | |
2794 __attribute__format__(__strftime__,pTHX_1,0) | |
2795 __attribute__nonnull__(pTHX_1); | |
2796 #define PERL_ARGS_ASSERT_MY_STRFTIME \ | |
2797 assert(fmt) | |
2798 | |
2799 PERL_CALLCONV void Perl_my_unexec(pTHX); | |
2800 PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap) | |
2801 __attribute__nonnull__(1) | |
2802 __attribute__nonnull__(3); | |
2803 #define PERL_ARGS_ASSERT_MY_VSNPRINTF \ | |
2804 assert(buffer); assert(format) | |
2805 | |
2806 PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); | |
2807 PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) | |
2808 __attribute__malloc__ | |
2809 __attribute__warn_unused_result__; | |
2810 | |
2811 PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) | |
2812 __attribute__malloc__ | |
2813 __attribute__warn_unused_result__; | |
2814 | |
2815 PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); | |
2816 PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) | |
2817 __attribute__malloc__ | |
2818 __attribute__warn_unused_result__; | |
2819 | |
2820 /* PERL_CALLCONV CV* newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */ | |
2821 PERL_CALLCONV CV* Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv); | |
2822 /* PERL_CALLCONV AV* Perl_newAV(pTHX) | |
2823 __attribute__warn_unused_result__; */ | |
2824 | |
2825 PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) | |
2826 __attribute__malloc__ | |
2827 __attribute__warn_unused_result__ | |
2828 __attribute__nonnull__(pTHX_1); | |
2829 #define PERL_ARGS_ASSERT_NEWAVREF \ | |
2830 assert(o) | |
2831 | |
2832 PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
2833 __attribute__malloc__ | |
2834 __attribute__warn_unused_result__; | |
2835 | |
2836 PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop) | |
2837 __attribute__malloc__ | |
2838 __attribute__warn_unused_result__ | |
2839 __attribute__nonnull__(pTHX_2); | |
2840 #define PERL_ARGS_ASSERT_NEWCONDOP \ | |
2841 assert(first) | |
2842 | |
2843 PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv); | |
2844 PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv); | |
2845 PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) | |
2846 __attribute__malloc__ | |
2847 __attribute__warn_unused_result__; | |
2848 | |
2849 PERL_CALLCONV OP* Perl_newDEFSVOP(pTHX) | |
2850 __attribute__warn_unused_result__; | |
2851 | |
2852 PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); | |
2853 PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont) | |
2854 __attribute__malloc__ | |
2855 __attribute__warn_unused_result__ | |
2856 __attribute__nonnull__(pTHX_3); | |
2857 #define PERL_ARGS_ASSERT_NEWFOROP \ | |
2858 assert(expr) | |
2859 | |
2860 PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off) | |
2861 __attribute__malloc__ | |
2862 __attribute__warn_unused_result__ | |
2863 __attribute__nonnull__(pTHX_1) | |
2864 __attribute__nonnull__(pTHX_2); | |
2865 #define PERL_ARGS_ASSERT_NEWGIVENOP \ | |
2866 assert(cond); assert(block) | |
2867 | |
2868 PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv) | |
2869 __attribute__nonnull__(pTHX_1); | |
2870 #define PERL_ARGS_ASSERT_NEWGP \ | |
2871 assert(gv) | |
2872 | |
2873 PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) | |
2874 __attribute__malloc__ | |
2875 __attribute__warn_unused_result__ | |
2876 __attribute__nonnull__(pTHX_3); | |
2877 #define PERL_ARGS_ASSERT_NEWGVOP \ | |
2878 assert(gv) | |
2879 | |
2880 PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) | |
2881 __attribute__malloc__ | |
2882 __attribute__warn_unused_result__; | |
2883 | |
2884 /* PERL_CALLCONV GV* newGVgen(pTHX_ const char* pack) | |
2885 __attribute__nonnull__(pTHX_1); */ | |
2886 | |
2887 PERL_CALLCONV GV* Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags) | |
2888 __attribute__malloc__ | |
2889 __attribute__warn_unused_result__ | |
2890 __attribute__nonnull__(pTHX_1); | |
2891 #define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \ | |
2892 assert(pack) | |
2893 | |
2894 /* PERL_CALLCONV HV* Perl_newHV(pTHX) | |
2895 __attribute__warn_unused_result__; */ | |
2896 | |
2897 PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) | |
2898 __attribute__malloc__ | |
2899 __attribute__warn_unused_result__ | |
2900 __attribute__nonnull__(pTHX_1); | |
2901 #define PERL_ARGS_ASSERT_NEWHVREF \ | |
2902 assert(o) | |
2903 | |
2904 PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv) | |
2905 __attribute__malloc__ | |
2906 __attribute__warn_unused_result__; | |
2907 | |
2908 /* PERL_CALLCONV IO* Perl_newIO(pTHX) | |
2909 __attribute__malloc__ | |
2910 __attribute__warn_unused_result__; */ | |
2911 | |
2912 PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
2913 __attribute__malloc__ | |
2914 __attribute__warn_unused_result__; | |
2915 | |
2916 PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other) | |
2917 __attribute__malloc__ | |
2918 __attribute__warn_unused_result__ | |
2919 __attribute__nonnull__(pTHX_3) | |
2920 __attribute__nonnull__(pTHX_4); | |
2921 #define PERL_ARGS_ASSERT_NEWLOGOP \ | |
2922 assert(first); assert(other) | |
2923 | |
2924 PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) | |
2925 __attribute__malloc__ | |
2926 __attribute__warn_unused_result__ | |
2927 __attribute__nonnull__(pTHX_2); | |
2928 #define PERL_ARGS_ASSERT_NEWLOOPEX \ | |
2929 assert(label) | |
2930 | |
2931 PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) | |
2932 __attribute__malloc__ | |
2933 __attribute__warn_unused_result__; | |
2934 | |
2935 PERL_CALLCONV OP* Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth) | |
2936 __attribute__malloc__ | |
2937 __attribute__warn_unused_result__ | |
2938 __attribute__nonnull__(pTHX_3); | |
2939 #define PERL_ARGS_ASSERT_NEWMETHOP \ | |
2940 assert(dynamic_meth) | |
2941 | |
2942 PERL_CALLCONV OP* Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth) | |
2943 __attribute__malloc__ | |
2944 __attribute__warn_unused_result__ | |
2945 __attribute__nonnull__(pTHX_3); | |
2946 #define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \ | |
2947 assert(const_meth) | |
2948 | |
2949 PERL_CALLCONV CV * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) | |
2950 __attribute__nonnull__(pTHX_2); | |
2951 #define PERL_ARGS_ASSERT_NEWMYSUB \ | |
2952 assert(o) | |
2953 | |
2954 PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) | |
2955 __attribute__malloc__ | |
2956 __attribute__warn_unused_result__; | |
2957 | |
2958 PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) | |
2959 __attribute__malloc__ | |
2960 __attribute__warn_unused_result__; | |
2961 | |
2962 PERL_CALLCONV PADNAMELIST * Perl_newPADNAMELIST(size_t max) | |
2963 __attribute__malloc__ | |
2964 __attribute__warn_unused_result__; | |
2965 | |
2966 PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer) | |
2967 __attribute__malloc__ | |
2968 __attribute__warn_unused_result__ | |
2969 __attribute__nonnull__(1); | |
2970 #define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \ | |
2971 assert(outer) | |
2972 | |
2973 PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len) | |
2974 __attribute__malloc__ | |
2975 __attribute__warn_unused_result__ | |
2976 __attribute__nonnull__(1); | |
2977 #define PERL_ARGS_ASSERT_NEWPADNAMEPVN \ | |
2978 assert(s) | |
2979 | |
2980 PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) | |
2981 __attribute__malloc__ | |
2982 __attribute__warn_unused_result__; | |
2983 | |
2984 PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) | |
2985 __attribute__nonnull__(pTHX_1); | |
2986 #define PERL_ARGS_ASSERT_NEWPROG \ | |
2987 assert(o) | |
2988 | |
2989 PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) | |
2990 __attribute__malloc__ | |
2991 __attribute__warn_unused_result__; | |
2992 | |
2993 PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) | |
2994 __attribute__malloc__ | |
2995 __attribute__warn_unused_result__ | |
2996 __attribute__nonnull__(pTHX_2) | |
2997 __attribute__nonnull__(pTHX_3); | |
2998 #define PERL_ARGS_ASSERT_NEWRANGE \ | |
2999 assert(left); assert(right) | |
3000 | |
3001 PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv) | |
3002 __attribute__malloc__ | |
3003 __attribute__warn_unused_result__ | |
3004 __attribute__nonnull__(pTHX_1); | |
3005 #define PERL_ARGS_ASSERT_NEWRV \ | |
3006 assert(sv) | |
3007 | |
3008 PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const tmpRef) | |
3009 __attribute__malloc__ | |
3010 __attribute__warn_unused_result__ | |
3011 __attribute__nonnull__(pTHX_1); | |
3012 #define PERL_ARGS_ASSERT_NEWRV_NOINC \ | |
3013 assert(tmpRef) | |
3014 | |
3015 PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) | |
3016 __attribute__malloc__ | |
3017 __attribute__warn_unused_result__; | |
3018 | |
3019 PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) | |
3020 __attribute__malloc__ | |
3021 __attribute__warn_unused_result__; | |
3022 | |
3023 PERL_CALLCONV CV* Perl_newSTUB(pTHX_ GV *gv, bool fake) | |
3024 __attribute__nonnull__(pTHX_1); | |
3025 #define PERL_ARGS_ASSERT_NEWSTUB \ | |
3026 assert(gv) | |
3027 | |
3028 /* PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */ | |
3029 PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len) | |
3030 __attribute__malloc__ | |
3031 __attribute__warn_unused_result__; | |
3032 | |
3033 PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) | |
3034 __attribute__malloc__ | |
3035 __attribute__warn_unused_result__ | |
3036 __attribute__nonnull__(pTHX_3); | |
3037 #define PERL_ARGS_ASSERT_NEWSVOP \ | |
3038 assert(sv) | |
3039 | |
3040 PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) | |
3041 __attribute__malloc__ | |
3042 __attribute__warn_unused_result__ | |
3043 __attribute__nonnull__(pTHX_1); | |
3044 #define PERL_ARGS_ASSERT_NEWSVREF \ | |
3045 assert(o) | |
3046 | |
3047 PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type) | |
3048 __attribute__malloc__ | |
3049 __attribute__warn_unused_result__; | |
3050 | |
3051 PERL_CALLCONV SV* Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible) | |
3052 __attribute__malloc__ | |
3053 __attribute__warn_unused_result__ | |
3054 __attribute__nonnull__(pTHX_1); | |
3055 #define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \ | |
3056 assert(av) | |
3057 | |
3058 PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek) | |
3059 __attribute__malloc__ | |
3060 __attribute__warn_unused_result__; | |
3061 | |
3062 PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i) | |
3063 __attribute__malloc__ | |
3064 __attribute__warn_unused_result__; | |
3065 | |
3066 PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n) | |
3067 __attribute__malloc__ | |
3068 __attribute__warn_unused_result__; | |
3069 | |
3070 PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) | |
3071 __attribute__malloc__ | |
3072 __attribute__warn_unused_result__; | |
3073 | |
3074 PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash) | |
3075 __attribute__malloc__ | |
3076 __attribute__warn_unused_result__; | |
3077 | |
3078 PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...) | |
3079 __attribute__malloc__ | |
3080 __attribute__warn_unused_result__ | |
3081 __attribute__format__(__printf__,pTHX_1,pTHX_2) | |
3082 __attribute__nonnull__(pTHX_1); | |
3083 #define PERL_ARGS_ASSERT_NEWSVPVF \ | |
3084 assert(pat) | |
3085 | |
3086 PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len) | |
3087 __attribute__malloc__ | |
3088 __attribute__warn_unused_result__; | |
3089 | |
3090 PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags) | |
3091 __attribute__malloc__ | |
3092 __attribute__warn_unused_result__; | |
3093 | |
3094 PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) | |
3095 __attribute__malloc__ | |
3096 __attribute__warn_unused_result__; | |
3097 | |
3098 PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname) | |
3099 __attribute__nonnull__(pTHX_1); | |
3100 #define PERL_ARGS_ASSERT_NEWSVRV \ | |
3101 assert(rv) | |
3102 | |
3103 PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old) | |
3104 __attribute__malloc__ | |
3105 __attribute__warn_unused_result__; | |
3106 | |
3107 PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u) | |
3108 __attribute__malloc__ | |
3109 __attribute__warn_unused_result__; | |
3110 | |
3111 PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) | |
3112 __attribute__malloc__ | |
3113 __attribute__warn_unused_result__; | |
3114 | |
3115 PERL_CALLCONV OP* Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux) | |
3116 __attribute__malloc__ | |
3117 __attribute__warn_unused_result__; | |
3118 | |
3119 PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block) | |
3120 __attribute__malloc__ | |
3121 __attribute__warn_unused_result__ | |
3122 __attribute__nonnull__(pTHX_2); | |
3123 #define PERL_ARGS_ASSERT_NEWWHENOP \ | |
3124 assert(block) | |
3125 | |
3126 PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my) | |
3127 __attribute__malloc__ | |
3128 __attribute__warn_unused_result__; | |
3129 | |
3130 PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename) | |
3131 __attribute__nonnull__(pTHX_2) | |
3132 __attribute__nonnull__(pTHX_3); | |
3133 #define PERL_ARGS_ASSERT_NEWXS \ | |
3134 assert(subaddr); assert(filename) | |
3135 | |
3136 PERL_CALLCONV CV * Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr) | |
3137 __attribute__nonnull__(pTHX_1) | |
3138 __attribute__nonnull__(pTHX_2); | |
3139 #define PERL_ARGS_ASSERT_NEWXS_DEFFILE \ | |
3140 assert(name); assert(subaddr) | |
3141 | |
3142 PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags) | |
3143 __attribute__nonnull__(pTHX_2) | |
3144 __attribute__nonnull__(pTHX_3); | |
3145 #define PERL_ARGS_ASSERT_NEWXS_FLAGS \ | |
3146 assert(subaddr); assert(filename) | |
3147 | |
3148 PERL_CALLCONV CV * Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags) | |
3149 __attribute__nonnull__(pTHX_3); | |
3150 #define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \ | |
3151 assert(subaddr) | |
3152 | |
3153 PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll); | |
3154 PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype) | |
3155 __attribute__nonnull__(pTHX_1); | |
3156 #define PERL_ARGS_ASSERT_NEW_CTYPE \ | |
3157 assert(newctype) | |
3158 | |
3159 PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll); | |
3160 PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) | |
3161 __attribute__malloc__ | |
3162 __attribute__warn_unused_result__; | |
3163 | |
3164 PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver) | |
3165 __attribute__nonnull__(pTHX_1); | |
3166 #define PERL_ARGS_ASSERT_NEW_VERSION \ | |
3167 assert(ver) | |
3168 | |
3169 PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size) | |
3170 __attribute__malloc__ | |
3171 __attribute__warn_unused_result__ | |
3172 __attribute__nonnull__(pTHX_2); | |
3173 #define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \ | |
3174 assert(bits) | |
3175 | |
3176 PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv, bool nomagicopen) | |
3177 __attribute__nonnull__(pTHX_1); | |
3178 #define PERL_ARGS_ASSERT_NEXTARGV \ | |
3179 assert(gv) | |
3180 | |
3181 PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend) | |
3182 __attribute__pure__ | |
3183 __attribute__nonnull__(1) | |
3184 __attribute__nonnull__(2) | |
3185 __attribute__nonnull__(3) | |
3186 __attribute__nonnull__(4); | |
3187 #define PERL_ARGS_ASSERT_NINSTR \ | |
3188 assert(big); assert(bigend); assert(little); assert(lend) | |
3189 | |
3190 PERL_CALLCONV_NO_RET void Perl_noperl_die(const char* pat, ...) | |
3191 __attribute__noreturn__ | |
3192 __attribute__format__(__printf__,1,2) | |
3193 __attribute__nonnull__(1); | |
3194 #define PERL_ARGS_ASSERT_NOPERL_DIE \ | |
3195 assert(pat) | |
3196 | |
3197 PERL_CALLCONV int Perl_nothreadhook(pTHX); | |
3198 PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) | |
3199 __attribute__warn_unused_result__ | |
3200 __attribute__nonnull__(pTHX_1); | |
3201 #define PERL_ARGS_ASSERT_OOPSAV \ | |
3202 assert(o) | |
3203 | |
3204 PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) | |
3205 __attribute__warn_unused_result__ | |
3206 __attribute__nonnull__(pTHX_1); | |
3207 #define PERL_ARGS_ASSERT_OOPSHV \ | |
3208 assert(o) | |
3209 | |
3210 PERL_CALLCONV OP* Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last); | |
3211 PERL_CALLCONV OP* Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last); | |
3212 PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) | |
3213 __attribute__nonnull__(pTHX_1); | |
3214 #define PERL_ARGS_ASSERT_OP_CLEAR \ | |
3215 assert(o) | |
3216 | |
3217 PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context) | |
3218 __attribute__nonnull__(pTHX_1); | |
3219 #define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \ | |
3220 assert(o) | |
3221 | |
3222 PERL_CALLCONV OP* Perl_op_convert_list(pTHX_ I32 optype, I32 flags, OP* o) | |
3223 __attribute__warn_unused_result__; | |
3224 | |
3225 PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o) | |
3226 __attribute__nonnull__(pTHX_1); | |
3227 #define PERL_ARGS_ASSERT_OP_DUMP \ | |
3228 assert(o) | |
3229 | |
3230 PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg); | |
3231 PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o) | |
3232 __attribute__nonnull__(pTHX_1); | |
3233 #define PERL_ARGS_ASSERT_OP_LINKLIST \ | |
3234 assert(o) | |
3235 | |
3236 /* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */ | |
3237 PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags); | |
3238 PERL_CALLCONV void Perl_op_null(pTHX_ OP* o) | |
3239 __attribute__nonnull__(pTHX_1); | |
3240 #define PERL_ARGS_ASSERT_OP_NULL \ | |
3241 assert(o) | |
3242 | |
3243 PERL_CALLCONV OP* Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last); | |
3244 PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); | |
3245 PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); | |
3246 PERL_CALLCONV OP* Perl_op_scope(pTHX_ OP* o); | |
3247 PERL_CALLCONV OP* Perl_op_sibling_splice(OP *parent, OP *start, int del_count, OP* insert); | |
3248 PERL_CALLCONV OP* Perl_op_unscope(pTHX_ OP* o); | |
3249 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) | |
3250 __attribute__nonnull__(pTHX_1) | |
3251 __attribute__nonnull__(pTHX_2) | |
3252 __attribute__nonnull__(pTHX_3) | |
3253 __attribute__nonnull__(pTHX_4) | |
3254 __attribute__nonnull__(pTHX_5) | |
3255 __attribute__nonnull__(pTHX_6); | |
3256 #define PERL_ARGS_ASSERT_PACK_CAT \ | |
3257 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list) | |
3258 | |
3259 PERL_CALLCONV void Perl_package(pTHX_ OP* o) | |
3260 __attribute__nonnull__(pTHX_1); | |
3261 #define PERL_ARGS_ASSERT_PACKAGE \ | |
3262 assert(o) | |
3263 | |
3264 PERL_CALLCONV void Perl_package_version(pTHX_ OP* v) | |
3265 __attribute__nonnull__(pTHX_1); | |
3266 #define PERL_ARGS_ASSERT_PACKAGE_VERSION \ | |
3267 assert(v) | |
3268 | |
3269 PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist) | |
3270 __attribute__nonnull__(pTHX_1) | |
3271 __attribute__nonnull__(pTHX_2) | |
3272 __attribute__nonnull__(pTHX_3) | |
3273 __attribute__nonnull__(pTHX_4) | |
3274 __attribute__nonnull__(pTHX_5); | |
3275 #define PERL_ARGS_ASSERT_PACKLIST \ | |
3276 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist) | |
3277 | |
3278 PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype) | |
3279 __attribute__nonnull__(pTHX_1); | |
3280 #define PERL_ARGS_ASSERT_PAD_ADD_ANON \ | |
3281 assert(func) | |
3282 | |
3283 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash) | |
3284 __attribute__nonnull__(pTHX_1); | |
3285 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \ | |
3286 assert(name) | |
3287 | |
3288 PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash) | |
3289 __attribute__nonnull__(pTHX_1); | |
3290 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \ | |
3291 assert(namepv) | |
3292 | |
3293 PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash) | |
3294 __attribute__nonnull__(pTHX_1); | |
3295 #define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \ | |
3296 assert(name) | |
3297 | |
3298 PERL_CALLCONV void Perl_pad_add_weakref(pTHX_ CV* func) | |
3299 __attribute__nonnull__(pTHX_1); | |
3300 #define PERL_ARGS_ASSERT_PAD_ADD_WEAKREF \ | |
3301 assert(func) | |
3302 | |
3303 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); | |
3304 PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full); | |
3305 PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po) | |
3306 __attribute__warn_unused_result__; | |
3307 | |
3308 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags) | |
3309 __attribute__nonnull__(pTHX_1); | |
3310 #define PERL_ARGS_ASSERT_PAD_FINDMY_PV \ | |
3311 assert(name) | |
3312 | |
3313 PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags) | |
3314 __attribute__nonnull__(pTHX_1); | |
3315 #define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \ | |
3316 assert(namepv) | |
3317 | |
3318 PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags) | |
3319 __attribute__nonnull__(pTHX_1); | |
3320 #define PERL_ARGS_ASSERT_PAD_FINDMY_SV \ | |
3321 assert(name) | |
3322 | |
3323 PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv) | |
3324 __attribute__nonnull__(pTHX_1) | |
3325 __attribute__nonnull__(pTHX_2) | |
3326 __attribute__nonnull__(pTHX_3); | |
3327 #define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \ | |
3328 assert(padlist); assert(old_cv); assert(new_cv) | |
3329 | |
3330 PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); | |
3331 PERL_CALLCONV OP * Perl_pad_leavemy(pTHX); | |
3332 PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags) | |
3333 __attribute__malloc__ | |
3334 __attribute__warn_unused_result__; | |
3335 | |
3336 PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth) | |
3337 __attribute__nonnull__(pTHX_1); | |
3338 #define PERL_ARGS_ASSERT_PAD_PUSH \ | |
3339 assert(padlist) | |
3340 | |
3341 PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); | |
3342 PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type); | |
3343 PERL_CALLCONV PAD ** Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val) | |
3344 __attribute__nonnull__(pTHX_1); | |
3345 #define PERL_ARGS_ASSERT_PADLIST_STORE \ | |
3346 assert(padlist) | |
3347 | |
3348 PERL_CALLCONV void Perl_padname_free(pTHX_ PADNAME *pn) | |
3349 __attribute__nonnull__(pTHX_1); | |
3350 #define PERL_ARGS_ASSERT_PADNAME_FREE \ | |
3351 assert(pn) | |
3352 | |
3353 PERL_CALLCONV PADNAME * Perl_padnamelist_fetch(PADNAMELIST *pnl, SSize_t key) | |
3354 __attribute__warn_unused_result__ | |
3355 __attribute__nonnull__(1); | |
3356 #define PERL_ARGS_ASSERT_PADNAMELIST_FETCH \ | |
3357 assert(pnl) | |
3358 | |
3359 PERL_CALLCONV void Perl_padnamelist_free(pTHX_ PADNAMELIST *pnl) | |
3360 __attribute__nonnull__(pTHX_1); | |
3361 #define PERL_ARGS_ASSERT_PADNAMELIST_FREE \ | |
3362 assert(pnl) | |
3363 | |
3364 PERL_CALLCONV PADNAME ** Perl_padnamelist_store(pTHX_ PADNAMELIST *pnl, SSize_t key, PADNAME *val) | |
3365 __attribute__nonnull__(pTHX_1); | |
3366 #define PERL_ARGS_ASSERT_PADNAMELIST_STORE \ | |
3367 assert(pnl) | |
3368 | |
3369 PERL_CALLCONV OP* Perl_parse_arithexpr(pTHX_ U32 flags); | |
3370 PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags); | |
3371 PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags); | |
3372 PERL_CALLCONV OP* Perl_parse_fullexpr(pTHX_ U32 flags); | |
3373 PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags); | |
3374 PERL_CALLCONV SV* Perl_parse_label(pTHX_ U32 flags); | |
3375 PERL_CALLCONV OP* Perl_parse_listexpr(pTHX_ U32 flags); | |
3376 PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags); | |
3377 PERL_CALLCONV OP * Perl_parse_subsignature(pTHX) | |
3378 __attribute__warn_unused_result__; | |
3379 | |
3380 PERL_CALLCONV OP* Perl_parse_termexpr(pTHX_ U32 flags); | |
3381 PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt) | |
3382 __attribute__nonnull__(pTHX_1); | |
3383 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \ | |
3384 assert(popt) | |
3385 | |
3386 PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser) | |
3387 __attribute__nonnull__(pTHX_1); | |
3388 #define PERL_ARGS_ASSERT_PARSER_FREE \ | |
3389 assert(parser) | |
3390 | |
3391 PERL_CALLCONV void Perl_peep(pTHX_ OP* o); | |
3392 PERL_CALLCONV PerlInterpreter* perl_alloc(void); | |
3393 PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl) | |
3394 __attribute__nonnull__(1); | |
3395 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \ | |
3396 assert(my_perl) | |
3397 | |
3398 PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl) | |
3399 __attribute__nonnull__(1); | |
3400 #define PERL_ARGS_ASSERT_PERL_DESTRUCT \ | |
3401 assert(my_perl) | |
3402 | |
3403 PERL_CALLCONV void perl_free(PerlInterpreter *my_perl) | |
3404 __attribute__nonnull__(1); | |
3405 #define PERL_ARGS_ASSERT_PERL_FREE \ | |
3406 assert(my_perl) | |
3407 | |
3408 PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env) | |
3409 __attribute__nonnull__(1); | |
3410 #define PERL_ARGS_ASSERT_PERL_PARSE \ | |
3411 assert(my_perl) | |
3412 | |
3413 PERL_CALLCONV int perl_run(PerlInterpreter *my_perl) | |
3414 __attribute__nonnull__(1); | |
3415 #define PERL_ARGS_ASSERT_PERL_RUN \ | |
3416 assert(my_perl) | |
3417 | |
3418 PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); | |
3419 PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl, bool isreg, I32 floor) | |
3420 __attribute__nonnull__(pTHX_1) | |
3421 __attribute__nonnull__(pTHX_2); | |
3422 #define PERL_ARGS_ASSERT_PMRUNTIME \ | |
3423 assert(o); assert(expr) | |
3424 | |
3425 PERL_CALLCONV void Perl_pop_scope(pTHX); | |
3426 PERL_CALLCONV void Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...) | |
3427 __attribute__nonnull__(pTHX_1); | |
3428 #define PERL_ARGS_ASSERT_POPULATE_ISA \ | |
3429 assert(name) | |
3430 | |
3431 PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags) | |
3432 __attribute__nonnull__(pTHX_1); | |
3433 #define PERL_ARGS_ASSERT_PREGCOMP \ | |
3434 assert(pattern) | |
3435 | |
3436 PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave) | |
3437 __attribute__nonnull__(pTHX_1) | |
3438 __attribute__nonnull__(pTHX_2) | |
3439 __attribute__nonnull__(pTHX_3) | |
3440 __attribute__nonnull__(pTHX_4) | |
3441 __attribute__nonnull__(pTHX_6); | |
3442 #define PERL_ARGS_ASSERT_PREGEXEC \ | |
3443 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer) | |
3444 | |
3445 PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r); | |
3446 PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx) | |
3447 __attribute__nonnull__(pTHX_1); | |
3448 #define PERL_ARGS_ASSERT_PREGFREE2 \ | |
3449 assert(rx) | |
3450 | |
3451 PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha) | |
3452 __attribute__nonnull__(pTHX_1); | |
3453 #define PERL_ARGS_ASSERT_PRESCAN_VERSION \ | |
3454 assert(s) | |
3455 | |
3456 PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl) | |
3457 __attribute__deprecated__; | |
3458 | |
3459 PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv) | |
3460 __attribute__warn_unused_result__ | |
3461 __attribute__nonnull__(pTHX_1); | |
3462 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \ | |
3463 assert(tbl) | |
3464 | |
3465 PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl); | |
3466 PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) | |
3467 __attribute__malloc__ | |
3468 __attribute__warn_unused_result__; | |
3469 | |
3470 PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl) | |
3471 __attribute__nonnull__(pTHX_1); | |
3472 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \ | |
3473 assert(tbl) | |
3474 | |
3475 PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv) | |
3476 __attribute__nonnull__(pTHX_1) | |
3477 __attribute__nonnull__(pTHX_3); | |
3478 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE \ | |
3479 assert(tbl); assert(newsv) | |
3480 | |
3481 PERL_CALLCONV void Perl_push_scope(pTHX); | |
3482 PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) | |
3483 __attribute__nonnull__(pTHX_1) | |
3484 __attribute__nonnull__(pTHX_2); | |
3485 #define PERL_ARGS_ASSERT_PV_DISPLAY \ | |
3486 assert(dsv); assert(pv) | |
3487 | |
3488 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) | |
3489 __attribute__nonnull__(pTHX_2); | |
3490 #define PERL_ARGS_ASSERT_PV_ESCAPE \ | |
3491 assert(str) | |
3492 | |
3493 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) | |
3494 __attribute__nonnull__(pTHX_1) | |
3495 __attribute__nonnull__(pTHX_2); | |
3496 #define PERL_ARGS_ASSERT_PV_PRETTY \ | |
3497 assert(dsv); assert(str) | |
3498 | |
3499 PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags) | |
3500 __attribute__nonnull__(pTHX_1) | |
3501 __attribute__nonnull__(pTHX_2); | |
3502 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \ | |
3503 assert(dsv); assert(spv) | |
3504 | |
3505 PERL_CALLCONV void Perl_qerror(pTHX_ SV* err) | |
3506 __attribute__nonnull__(pTHX_1); | |
3507 #define PERL_ARGS_ASSERT_QERROR \ | |
3508 assert(err) | |
3509 | |
3510 PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags) | |
3511 __attribute__nonnull__(pTHX_1); | |
3512 #define PERL_ARGS_ASSERT_RE_COMPILE \ | |
3513 assert(pattern) | |
3514 | |
3515 PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data) | |
3516 __attribute__nonnull__(pTHX_1) | |
3517 __attribute__nonnull__(pTHX_3) | |
3518 __attribute__nonnull__(pTHX_4) | |
3519 __attribute__nonnull__(pTHX_5); | |
3520 #define PERL_ARGS_ASSERT_RE_INTUIT_START \ | |
3521 assert(rx); assert(strbeg); assert(strpos); assert(strend) | |
3522 | |
3523 PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r) | |
3524 __attribute__nonnull__(pTHX_1); | |
3525 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING \ | |
3526 assert(r) | |
3527 | |
3528 PERL_CALLCONV REGEXP* Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, U32 rx_flags, U32 pm_flags) | |
3529 __attribute__nonnull__(pTHX_4); | |
3530 #define PERL_ARGS_ASSERT_RE_OP_COMPILE \ | |
3531 assert(eng) | |
3532 | |
3533 PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) | |
3534 __attribute__malloc__ | |
3535 __attribute__warn_unused_result__; | |
3536 | |
3537 PERL_CALLCONV void Perl_reentrant_free(pTHX); | |
3538 PERL_CALLCONV void Perl_reentrant_init(pTHX); | |
3539 PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...) | |
3540 __attribute__nonnull__(1); | |
3541 #define PERL_ARGS_ASSERT_REENTRANT_RETRY \ | |
3542 assert(f) | |
3543 | |
3544 PERL_CALLCONV void Perl_reentrant_size(pTHX); | |
3545 /* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */ | |
3546 PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags); | |
3547 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags) | |
3548 __attribute__nonnull__(pTHX_2); | |
3549 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \ | |
3550 assert(key) | |
3551 | |
3552 PERL_CALLCONV SV * Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags) | |
3553 __attribute__nonnull__(pTHX_2); | |
3554 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \ | |
3555 assert(keypv) | |
3556 | |
3557 PERL_CALLCONV SV * Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags) | |
3558 __attribute__nonnull__(pTHX_2); | |
3559 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \ | |
3560 assert(key) | |
3561 | |
3562 PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he); | |
3563 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he); | |
3564 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags) | |
3565 __attribute__nonnull__(pTHX_2); | |
3566 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \ | |
3567 assert(key) | |
3568 | |
3569 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags) | |
3570 __attribute__nonnull__(pTHX_2); | |
3571 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \ | |
3572 assert(keypv) | |
3573 | |
3574 PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags) | |
3575 __attribute__nonnull__(pTHX_2); | |
3576 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \ | |
3577 assert(key) | |
3578 | |
3579 PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags) | |
3580 __attribute__nonnull__(pTHX_1); | |
3581 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \ | |
3582 assert(rx) | |
3583 | |
3584 PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags) | |
3585 __attribute__nonnull__(pTHX_1); | |
3586 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \ | |
3587 assert(rx) | |
3588 | |
3589 PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags) | |
3590 __attribute__nonnull__(pTHX_1) | |
3591 __attribute__nonnull__(pTHX_2); | |
3592 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \ | |
3593 assert(rx); assert(key) | |
3594 | |
3595 PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags) | |
3596 __attribute__nonnull__(pTHX_1) | |
3597 __attribute__nonnull__(pTHX_2); | |
3598 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \ | |
3599 assert(rx); assert(namesv) | |
3600 | |
3601 PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags) | |
3602 __attribute__nonnull__(pTHX_1); | |
3603 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \ | |
3604 assert(rx) | |
3605 | |
3606 PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags) | |
3607 __attribute__nonnull__(pTHX_1); | |
3608 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \ | |
3609 assert(rx) | |
3610 | |
3611 PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags) | |
3612 __attribute__nonnull__(pTHX_1); | |
3613 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \ | |
3614 assert(rx) | |
3615 | |
3616 PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags) | |
3617 __attribute__nonnull__(pTHX_1); | |
3618 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \ | |
3619 assert(rx) | |
3620 | |
3621 PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv) | |
3622 __attribute__nonnull__(pTHX_1); | |
3623 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \ | |
3624 assert(rx) | |
3625 | |
3626 PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren) | |
3627 __attribute__nonnull__(pTHX_1) | |
3628 __attribute__nonnull__(pTHX_2); | |
3629 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \ | |
3630 assert(rx); assert(sv) | |
3631 | |
3632 PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value) | |
3633 __attribute__nonnull__(pTHX_1); | |
3634 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \ | |
3635 assert(rx) | |
3636 | |
3637 PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx) | |
3638 __attribute__nonnull__(pTHX_1); | |
3639 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \ | |
3640 assert(rx) | |
3641 | |
3642 PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx) | |
3643 __attribute__nonnull__(pTHX_2); | |
3644 #define PERL_ARGS_ASSERT_REG_TEMP_COPY \ | |
3645 assert(rx) | |
3646 | |
3647 PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp) | |
3648 __attribute__nonnull__(pTHX_2); | |
3649 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \ | |
3650 assert(node) | |
3651 | |
3652 PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r) | |
3653 __attribute__nonnull__(pTHX_1); | |
3654 #define PERL_ARGS_ASSERT_REGDUMP \ | |
3655 assert(r) | |
3656 | |
3657 PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags) | |
3658 __attribute__nonnull__(pTHX_1) | |
3659 __attribute__nonnull__(pTHX_2) | |
3660 __attribute__nonnull__(pTHX_3) | |
3661 __attribute__nonnull__(pTHX_4) | |
3662 __attribute__nonnull__(pTHX_6); | |
3663 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS \ | |
3664 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv) | |
3665 | |
3666 PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx) | |
3667 __attribute__nonnull__(pTHX_1); | |
3668 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL \ | |
3669 assert(rx) | |
3670 | |
3671 PERL_CALLCONV void Perl_reginitcolors(pTHX); | |
3672 PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) | |
3673 __attribute__warn_unused_result__; | |
3674 | |
3675 PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, IV count) | |
3676 __attribute__nonnull__(1) | |
3677 __attribute__nonnull__(2); | |
3678 #define PERL_ARGS_ASSERT_REPEATCPY \ | |
3679 assert(to); assert(from) | |
3680 | |
3681 PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv); | |
3682 PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv); | |
3683 PERL_CALLCONV void Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have); | |
3684 PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) | |
3685 __attribute__nonnull__(pTHX_1); | |
3686 #define PERL_ARGS_ASSERT_REQUIRE_PV \ | |
3687 assert(pv) | |
3688 | |
3689 PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend) | |
3690 __attribute__pure__ | |
3691 __attribute__nonnull__(1) | |
3692 __attribute__nonnull__(2) | |
3693 __attribute__nonnull__(3) | |
3694 __attribute__nonnull__(4); | |
3695 #define PERL_ARGS_ASSERT_RNINSTR \ | |
3696 assert(big); assert(bigend); assert(little); assert(lend) | |
3697 | |
3698 PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o); | |
3699 PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); | |
3700 PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); | |
3701 PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save) | |
3702 __attribute__nonnull__(pTHX_3); | |
3703 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE \ | |
3704 assert(save) | |
3705 | |
3706 PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); | |
3707 PERL_CALLCONV int Perl_runops_debug(pTHX); | |
3708 PERL_CALLCONV int Perl_runops_standard(pTHX); | |
3709 PERL_CALLCONV CV* Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags) | |
3710 __attribute__nonnull__(pTHX_1); | |
3711 #define PERL_ARGS_ASSERT_RV2CV_OP_CV \ | |
3712 assert(cvop) | |
3713 | |
3714 PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx) | |
3715 __attribute__nonnull__(pTHX_1) | |
3716 __attribute__nonnull__(pTHX_2); | |
3717 #define PERL_ARGS_ASSERT_RXRES_SAVE \ | |
3718 assert(rsp); assert(rx) | |
3719 | |
3720 PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) | |
3721 __attribute__malloc__ | |
3722 __attribute__warn_unused_result__; | |
3723 | |
3724 PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); | |
3725 PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) | |
3726 __attribute__malloc__ | |
3727 __attribute__warn_unused_result__; | |
3728 | |
3729 PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) | |
3730 __attribute__malloc__ | |
3731 __attribute__warn_unused_result__; | |
3732 | |
3733 PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp) | |
3734 __attribute__nonnull__(pTHX_1); | |
3735 #define PERL_ARGS_ASSERT_SAVE_I16 \ | |
3736 assert(intp) | |
3737 | |
3738 PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp) | |
3739 __attribute__nonnull__(pTHX_1); | |
3740 #define PERL_ARGS_ASSERT_SAVE_I32 \ | |
3741 assert(intp) | |
3742 | |
3743 PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep) | |
3744 __attribute__nonnull__(pTHX_1); | |
3745 #define PERL_ARGS_ASSERT_SAVE_I8 \ | |
3746 assert(bytep) | |
3747 | |
3748 PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, SSize_t key) | |
3749 __attribute__nonnull__(pTHX_1); | |
3750 #define PERL_ARGS_ASSERT_SAVE_ADELETE \ | |
3751 assert(av) | |
3752 | |
3753 /* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr) | |
3754 __attribute__nonnull__(pTHX_1) | |
3755 __attribute__nonnull__(pTHX_3); */ | |
3756 | |
3757 PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags) | |
3758 __attribute__nonnull__(pTHX_1) | |
3759 __attribute__nonnull__(pTHX_3); | |
3760 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \ | |
3761 assert(av); assert(sptr) | |
3762 | |
3763 PERL_CALLCONV void Perl_save_aliased_sv(pTHX_ GV* gv) | |
3764 __attribute__nonnull__(pTHX_1); | |
3765 #define PERL_ARGS_ASSERT_SAVE_ALIASED_SV \ | |
3766 assert(gv) | |
3767 | |
3768 PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); | |
3769 PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr) | |
3770 __attribute__nonnull__(pTHX_1); | |
3771 #define PERL_ARGS_ASSERT_SAVE_APTR \ | |
3772 assert(aptr) | |
3773 | |
3774 PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv) | |
3775 __attribute__nonnull__(pTHX_1); | |
3776 #define PERL_ARGS_ASSERT_SAVE_ARY \ | |
3777 assert(gv) | |
3778 | |
3779 PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp) | |
3780 __attribute__nonnull__(pTHX_1); | |
3781 #define PERL_ARGS_ASSERT_SAVE_BOOL \ | |
3782 assert(boolp) | |
3783 | |
3784 PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp) | |
3785 __attribute__nonnull__(pTHX_1); | |
3786 #define PERL_ARGS_ASSERT_SAVE_CLEARSV \ | |
3787 assert(svp) | |
3788 | |
3789 PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen) | |
3790 __attribute__nonnull__(pTHX_1) | |
3791 __attribute__nonnull__(pTHX_2); | |
3792 #define PERL_ARGS_ASSERT_SAVE_DELETE \ | |
3793 assert(hv); assert(key) | |
3794 | |
3795 PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p) | |
3796 __attribute__nonnull__(pTHX_2); | |
3797 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \ | |
3798 assert(p) | |
3799 | |
3800 PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); | |
3801 /* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */ | |
3802 /* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */ | |
3803 /* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */ | |
3804 PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str) | |
3805 __attribute__nonnull__(pTHX_1); | |
3806 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \ | |
3807 assert(str) | |
3808 | |
3809 PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr) | |
3810 __attribute__nonnull__(pTHX_1); | |
3811 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \ | |
3812 assert(sptr) | |
3813 | |
3814 PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty) | |
3815 __attribute__nonnull__(pTHX_1); | |
3816 #define PERL_ARGS_ASSERT_SAVE_GP \ | |
3817 assert(gv) | |
3818 | |
3819 PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv) | |
3820 __attribute__nonnull__(pTHX_1); | |
3821 #define PERL_ARGS_ASSERT_SAVE_HASH \ | |
3822 assert(gv) | |
3823 | |
3824 PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv) | |
3825 __attribute__nonnull__(pTHX_1) | |
3826 __attribute__nonnull__(pTHX_2); | |
3827 #define PERL_ARGS_ASSERT_SAVE_HDELETE \ | |
3828 assert(hv); assert(keysv) | |
3829 | |
3830 /* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr) | |
3831 __attribute__nonnull__(pTHX_1) | |
3832 __attribute__nonnull__(pTHX_2) | |
3833 __attribute__nonnull__(pTHX_3); */ | |
3834 | |
3835 PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags) | |
3836 __attribute__nonnull__(pTHX_1) | |
3837 __attribute__nonnull__(pTHX_2) | |
3838 __attribute__nonnull__(pTHX_3); | |
3839 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \ | |
3840 assert(hv); assert(key); assert(sptr) | |
3841 | |
3842 PERL_CALLCONV void Perl_save_hints(pTHX); | |
3843 PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr) | |
3844 __attribute__nonnull__(pTHX_1); | |
3845 #define PERL_ARGS_ASSERT_SAVE_HPTR \ | |
3846 assert(hptr) | |
3847 | |
3848 PERL_CALLCONV void Perl_save_int(pTHX_ int* intp) | |
3849 __attribute__nonnull__(pTHX_1); | |
3850 #define PERL_ARGS_ASSERT_SAVE_INT \ | |
3851 assert(intp) | |
3852 | |
3853 PERL_CALLCONV void Perl_save_item(pTHX_ SV* item) | |
3854 __attribute__nonnull__(pTHX_1); | |
3855 #define PERL_ARGS_ASSERT_SAVE_ITEM \ | |
3856 assert(item) | |
3857 | |
3858 PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp) | |
3859 __attribute__nonnull__(pTHX_1); | |
3860 #define PERL_ARGS_ASSERT_SAVE_IV \ | |
3861 assert(ivp) | |
3862 | |
3863 PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg) | |
3864 __attribute__nonnull__(pTHX_1); | |
3865 #define PERL_ARGS_ASSERT_SAVE_LIST \ | |
3866 assert(sarg) | |
3867 | |
3868 PERL_CALLCONV void Perl_save_long(pTHX_ long* longp) | |
3869 __attribute__nonnull__(pTHX_1); | |
3870 #define PERL_ARGS_ASSERT_SAVE_LONG \ | |
3871 assert(longp) | |
3872 | |
3873 /* PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv) | |
3874 __attribute__nonnull__(pTHX_1); */ | |
3875 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \ | |
3876 assert(sv) | |
3877 | |
3878 PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv) | |
3879 __attribute__nonnull__(pTHX_1); | |
3880 #define PERL_ARGS_ASSERT_SAVE_NOGV \ | |
3881 assert(gv) | |
3882 | |
3883 /* PERL_CALLCONV void Perl_save_op(pTHX); */ | |
3884 PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off); | |
3885 PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr) | |
3886 __attribute__nonnull__(pTHX_1); | |
3887 #define PERL_ARGS_ASSERT_SAVE_PPTR \ | |
3888 assert(pptr) | |
3889 | |
3890 PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type); | |
3891 PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type); | |
3892 PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type); | |
3893 PERL_CALLCONV void Perl_save_re_context(pTHX); | |
3894 PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv) | |
3895 __attribute__nonnull__(pTHX_1); | |
3896 #define PERL_ARGS_ASSERT_SAVE_SCALAR \ | |
3897 assert(gv) | |
3898 | |
3899 PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val) | |
3900 __attribute__nonnull__(pTHX_1); | |
3901 #define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \ | |
3902 assert(sv) | |
3903 | |
3904 PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str) | |
3905 __attribute__nonnull__(pTHX_1); | |
3906 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \ | |
3907 assert(str) | |
3908 | |
3909 PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr) | |
3910 __attribute__nonnull__(pTHX_1); | |
3911 #define PERL_ARGS_ASSERT_SAVE_SPTR \ | |
3912 assert(sptr) | |
3913 | |
3914 PERL_CALLCONV void Perl_save_strlen(pTHX_ STRLEN* ptr) | |
3915 __attribute__nonnull__(pTHX_1); | |
3916 #define PERL_ARGS_ASSERT_SAVE_STRLEN \ | |
3917 assert(ptr) | |
3918 | |
3919 PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr) | |
3920 __attribute__nonnull__(pTHX_1); | |
3921 #define PERL_ARGS_ASSERT_SAVE_SVREF \ | |
3922 assert(sptr) | |
3923 | |
3924 PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr) | |
3925 __attribute__nonnull__(pTHX_1); | |
3926 #define PERL_ARGS_ASSERT_SAVE_VPTR \ | |
3927 assert(ptr) | |
3928 | |
3929 PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) | |
3930 __attribute__malloc__ | |
3931 __attribute__warn_unused_result__; | |
3932 | |
3933 PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) | |
3934 __attribute__malloc__ | |
3935 __attribute__warn_unused_result__; | |
3936 | |
3937 PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) | |
3938 __attribute__malloc__ | |
3939 __attribute__warn_unused_result__; | |
3940 | |
3941 PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len) | |
3942 __attribute__malloc__ | |
3943 __attribute__warn_unused_result__; | |
3944 | |
3945 PERL_CALLCONV char* Perl_savesharedsvpv(pTHX_ SV *sv) | |
3946 __attribute__malloc__ | |
3947 __attribute__warn_unused_result__ | |
3948 __attribute__nonnull__(pTHX_1); | |
3949 #define PERL_ARGS_ASSERT_SAVESHAREDSVPV \ | |
3950 assert(sv) | |
3951 | |
3952 PERL_CALLCONV void Perl_savestack_grow(pTHX); | |
3953 PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); | |
3954 PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) | |
3955 __attribute__malloc__ | |
3956 __attribute__warn_unused_result__ | |
3957 __attribute__nonnull__(pTHX_1); | |
3958 #define PERL_ARGS_ASSERT_SAVESVPV \ | |
3959 assert(sv) | |
3960 | |
3961 PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); | |
3962 PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); | |
3963 PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o) | |
3964 __attribute__nonnull__(pTHX_1); | |
3965 #define PERL_ARGS_ASSERT_SCALARVOID \ | |
3966 assert(o) | |
3967 | |
3968 PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
3969 __attribute__nonnull__(pTHX_1) | |
3970 __attribute__nonnull__(pTHX_3); | |
3971 #define PERL_ARGS_ASSERT_SCAN_BIN \ | |
3972 assert(start); assert(retlen) | |
3973 | |
3974 PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
3975 __attribute__nonnull__(pTHX_1) | |
3976 __attribute__nonnull__(pTHX_3); | |
3977 #define PERL_ARGS_ASSERT_SCAN_HEX \ | |
3978 assert(start); assert(retlen) | |
3979 | |
3980 PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp) | |
3981 __attribute__nonnull__(pTHX_1) | |
3982 __attribute__nonnull__(pTHX_2); | |
3983 #define PERL_ARGS_ASSERT_SCAN_NUM \ | |
3984 assert(s); assert(lvalp) | |
3985 | |
3986 PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
3987 __attribute__nonnull__(pTHX_1) | |
3988 __attribute__nonnull__(pTHX_3); | |
3989 #define PERL_ARGS_ASSERT_SCAN_OCT \ | |
3990 assert(start); assert(retlen) | |
3991 | |
3992 PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv) | |
3993 __attribute__nonnull__(pTHX_1) | |
3994 __attribute__nonnull__(pTHX_2); | |
3995 #define PERL_ARGS_ASSERT_SCAN_VERSION \ | |
3996 assert(s); assert(rv) | |
3997 | |
3998 PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv) | |
3999 __attribute__nonnull__(pTHX_1) | |
4000 __attribute__nonnull__(pTHX_2) | |
4001 __attribute__nonnull__(pTHX_3); | |
4002 #define PERL_ARGS_ASSERT_SCAN_VSTRING \ | |
4003 assert(s); assert(e); assert(sv) | |
4004 | |
4005 PERL_CALLCONV U32 Perl_seed(pTHX); | |
4006 PERL_CALLCONV void Perl_set_caret_X(pTHX); | |
4007 PERL_CALLCONV void Perl_set_context(void *t) | |
4008 __attribute__nonnull__(1); | |
4009 #define PERL_ARGS_ASSERT_SET_CONTEXT \ | |
4010 assert(t) | |
4011 | |
4012 PERL_CALLCONV void Perl_set_numeric_local(pTHX); | |
4013 PERL_CALLCONV void Perl_set_numeric_radix(pTHX); | |
4014 PERL_CALLCONV void Perl_set_numeric_standard(pTHX); | |
4015 PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv) | |
4016 __attribute__nonnull__(pTHX_1); | |
4017 #define PERL_ARGS_ASSERT_SETDEFOUT \ | |
4018 assert(gv) | |
4019 | |
4020 PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash) | |
4021 __attribute__nonnull__(pTHX_1); | |
4022 #define PERL_ARGS_ASSERT_SHARE_HEK \ | |
4023 assert(str) | |
4024 | |
4025 PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp) | |
4026 __attribute__nonnull__(pTHX_3); | |
4027 #define PERL_ARGS_ASSERT_SORTSV \ | |
4028 assert(cmp) | |
4029 | |
4030 PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags) | |
4031 __attribute__nonnull__(pTHX_3); | |
4032 #define PERL_ARGS_ASSERT_SORTSV_FLAGS \ | |
4033 assert(cmp) | |
4034 | |
4035 PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, SSize_t n) | |
4036 __attribute__nonnull__(pTHX_1) | |
4037 __attribute__nonnull__(pTHX_2); | |
4038 #define PERL_ARGS_ASSERT_STACK_GROW \ | |
4039 assert(sp); assert(p) | |
4040 | |
4041 PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io) | |
4042 __attribute__nonnull__(pTHX_1) | |
4043 __attribute__nonnull__(pTHX_2); | |
4044 #define PERL_ARGS_ASSERT_START_GLOB \ | |
4045 assert(tmpglob); assert(io) | |
4046 | |
4047 PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags); | |
4048 PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv) | |
4049 __attribute__warn_unused_result__ | |
4050 __attribute__nonnull__(pTHX_1); | |
4051 #define PERL_ARGS_ASSERT_STR_TO_VERSION \ | |
4052 assert(sv) | |
4053 | |
4054 PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv) | |
4055 __attribute__nonnull__(pTHX_1); | |
4056 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \ | |
4057 assert(cv) | |
4058 | |
4059 /* PERL_CALLCONV bool sv_2bool(pTHX_ SV *const sv) | |
4060 __attribute__nonnull__(pTHX_1); */ | |
4061 | |
4062 PERL_CALLCONV bool Perl_sv_2bool_flags(pTHX_ SV *sv, I32 flags) | |
4063 __attribute__nonnull__(pTHX_1); | |
4064 #define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \ | |
4065 assert(sv) | |
4066 | |
4067 PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref) | |
4068 __attribute__nonnull__(pTHX_2) | |
4069 __attribute__nonnull__(pTHX_3); | |
4070 #define PERL_ARGS_ASSERT_SV_2CV \ | |
4071 assert(st); assert(gvp) | |
4072 | |
4073 PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv) | |
4074 __attribute__nonnull__(pTHX_1); | |
4075 #define PERL_ARGS_ASSERT_SV_2IO \ | |
4076 assert(sv) | |
4077 | |
4078 /* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv) | |
4079 __attribute__nonnull__(pTHX_1); */ | |
4080 #define PERL_ARGS_ASSERT_SV_2IV \ | |
4081 assert(sv) | |
4082 | |
4083 PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags) | |
4084 __attribute__nonnull__(pTHX_1); | |
4085 #define PERL_ARGS_ASSERT_SV_2IV_FLAGS \ | |
4086 assert(sv) | |
4087 | |
4088 PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv); | |
4089 PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv) | |
4090 __attribute__nonnull__(pTHX_1); | |
4091 #define PERL_ARGS_ASSERT_SV_2NUM \ | |
4092 assert(sv) | |
4093 | |
4094 PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags) | |
4095 __attribute__nonnull__(pTHX_1); | |
4096 #define PERL_ARGS_ASSERT_SV_2NV_FLAGS \ | |
4097 assert(sv) | |
4098 | |
4099 /* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp) | |
4100 __attribute__nonnull__(pTHX_1); */ | |
4101 #define PERL_ARGS_ASSERT_SV_2PV \ | |
4102 assert(sv) | |
4103 | |
4104 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) | |
4105 __attribute__nonnull__(pTHX_1); | |
4106 #define PERL_ARGS_ASSERT_SV_2PV_FLAGS \ | |
4107 assert(sv) | |
4108 | |
4109 /* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv) | |
4110 __attribute__warn_unused_result__ | |
4111 __attribute__nonnull__(pTHX_1); */ | |
4112 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN \ | |
4113 assert(sv) | |
4114 | |
4115 PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp) | |
4116 __attribute__nonnull__(pTHX_1); | |
4117 #define PERL_ARGS_ASSERT_SV_2PVBYTE \ | |
4118 assert(sv) | |
4119 | |
4120 /* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv) | |
4121 __attribute__warn_unused_result__ | |
4122 __attribute__nonnull__(pTHX_1); */ | |
4123 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \ | |
4124 assert(sv) | |
4125 | |
4126 PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *sv, STRLEN *const lp) | |
4127 __attribute__nonnull__(pTHX_1); | |
4128 #define PERL_ARGS_ASSERT_SV_2PVUTF8 \ | |
4129 assert(sv) | |
4130 | |
4131 /* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv) | |
4132 __attribute__warn_unused_result__ | |
4133 __attribute__nonnull__(pTHX_1); */ | |
4134 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \ | |
4135 assert(sv) | |
4136 | |
4137 /* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv) | |
4138 __attribute__nonnull__(pTHX_1); */ | |
4139 #define PERL_ARGS_ASSERT_SV_2UV \ | |
4140 assert(sv) | |
4141 | |
4142 PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags) | |
4143 __attribute__nonnull__(pTHX_1); | |
4144 #define PERL_ARGS_ASSERT_SV_2UV_FLAGS \ | |
4145 assert(sv) | |
4146 | |
4147 PERL_CALLCONV int Perl_sv_backoff(SV *const sv) | |
4148 __attribute__nonnull__(1); | |
4149 #define PERL_ARGS_ASSERT_SV_BACKOFF \ | |
4150 assert(sv) | |
4151 | |
4152 PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash) | |
4153 __attribute__nonnull__(pTHX_1) | |
4154 __attribute__nonnull__(pTHX_2); | |
4155 #define PERL_ARGS_ASSERT_SV_BLESS \ | |
4156 assert(sv); assert(stash) | |
4157 | |
4158 PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen) | |
4159 __attribute__nonnull__(pTHX_1) | |
4160 __attribute__nonnull__(pTHX_2) | |
4161 __attribute__nonnull__(pTHX_3) | |
4162 __attribute__nonnull__(pTHX_4) | |
4163 __attribute__nonnull__(pTHX_5); | |
4164 #define PERL_ARGS_ASSERT_SV_CAT_DECODE \ | |
4165 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr) | |
4166 | |
4167 PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr) | |
4168 __attribute__nonnull__(pTHX_1); | |
4169 #define PERL_ARGS_ASSERT_SV_CATPV \ | |
4170 assert(sv) | |
4171 | |
4172 PERL_CALLCONV void Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags) | |
4173 __attribute__nonnull__(pTHX_1) | |
4174 __attribute__nonnull__(pTHX_2); | |
4175 #define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \ | |
4176 assert(dstr); assert(sstr) | |
4177 | |
4178 PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr) | |
4179 __attribute__nonnull__(pTHX_1); | |
4180 #define PERL_ARGS_ASSERT_SV_CATPV_MG \ | |
4181 assert(sv) | |
4182 | |
4183 PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...) | |
4184 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
4185 __attribute__nonnull__(pTHX_1) | |
4186 __attribute__nonnull__(pTHX_2); | |
4187 #define PERL_ARGS_ASSERT_SV_CATPVF \ | |
4188 assert(sv); assert(pat) | |
4189 | |
4190 PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...) | |
4191 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
4192 __attribute__nonnull__(pTHX_1) | |
4193 __attribute__nonnull__(pTHX_2); | |
4194 #define PERL_ARGS_ASSERT_SV_CATPVF_MG \ | |
4195 assert(sv); assert(pat) | |
4196 | |
4197 /* PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len) | |
4198 __attribute__nonnull__(pTHX_1) | |
4199 __attribute__nonnull__(pTHX_2); */ | |
4200 #define PERL_ARGS_ASSERT_SV_CATPVN \ | |
4201 assert(dsv); assert(sstr) | |
4202 | |
4203 PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags) | |
4204 __attribute__nonnull__(pTHX_1) | |
4205 __attribute__nonnull__(pTHX_2); | |
4206 #define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \ | |
4207 assert(dstr); assert(sstr) | |
4208 | |
4209 /* PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
4210 __attribute__nonnull__(pTHX_1) | |
4211 __attribute__nonnull__(pTHX_2); */ | |
4212 #define PERL_ARGS_ASSERT_SV_CATPVN_MG \ | |
4213 assert(sv); assert(ptr) | |
4214 | |
4215 /* PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr) | |
4216 __attribute__nonnull__(pTHX_1); */ | |
4217 #define PERL_ARGS_ASSERT_SV_CATSV \ | |
4218 assert(dstr) | |
4219 | |
4220 PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags) | |
4221 __attribute__nonnull__(pTHX_1); | |
4222 #define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \ | |
4223 assert(dsv) | |
4224 | |
4225 /* PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv) | |
4226 __attribute__nonnull__(pTHX_1); */ | |
4227 #define PERL_ARGS_ASSERT_SV_CATSV_MG \ | |
4228 assert(dsv) | |
4229 | |
4230 PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr) | |
4231 __attribute__nonnull__(pTHX_1); | |
4232 #define PERL_ARGS_ASSERT_SV_CHOP \ | |
4233 assert(sv) | |
4234 | |
4235 PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); | |
4236 PERL_CALLCONV void Perl_sv_clean_objs(pTHX); | |
4237 PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const orig_sv) | |
4238 __attribute__nonnull__(pTHX_1); | |
4239 #define PERL_ARGS_ASSERT_SV_CLEAR \ | |
4240 assert(orig_sv) | |
4241 | |
4242 PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2); | |
4243 PERL_CALLCONV I32 Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags); | |
4244 PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2); | |
4245 PERL_CALLCONV I32 Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags); | |
4246 /* PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv) | |
4247 __attribute__nonnull__(pTHX_1) | |
4248 __attribute__nonnull__(pTHX_2); */ | |
4249 #define PERL_ARGS_ASSERT_SV_COPYPV \ | |
4250 assert(dsv); assert(ssv) | |
4251 | |
4252 PERL_CALLCONV void Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags) | |
4253 __attribute__nonnull__(pTHX_1) | |
4254 __attribute__nonnull__(pTHX_2); | |
4255 #define PERL_ARGS_ASSERT_SV_COPYPV_FLAGS \ | |
4256 assert(dsv); assert(ssv) | |
4257 | |
4258 /* PERL_CALLCONV void Perl_sv_copypv_nomg(pTHX_ SV *const dsv, SV *const ssv) | |
4259 __attribute__nonnull__(pTHX_1) | |
4260 __attribute__nonnull__(pTHX_2); */ | |
4261 | |
4262 PERL_CALLCONV void Perl_sv_dec(pTHX_ SV *const sv); | |
4263 PERL_CALLCONV void Perl_sv_dec_nomg(pTHX_ SV *const sv); | |
4264 PERL_CALLCONV void Perl_sv_del_backref(pTHX_ SV *const tsv, SV *const sv) | |
4265 __attribute__nonnull__(pTHX_1) | |
4266 __attribute__nonnull__(pTHX_2); | |
4267 #define PERL_ARGS_ASSERT_SV_DEL_BACKREF \ | |
4268 assert(tsv); assert(sv) | |
4269 | |
4270 PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char *const name) | |
4271 __attribute__warn_unused_result__ | |
4272 __attribute__nonnull__(pTHX_1) | |
4273 __attribute__nonnull__(pTHX_2); | |
4274 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM \ | |
4275 assert(sv); assert(name) | |
4276 | |
4277 PERL_CALLCONV bool Perl_sv_derived_from_pv(pTHX_ SV* sv, const char *const name, U32 flags) | |
4278 __attribute__warn_unused_result__ | |
4279 __attribute__nonnull__(pTHX_1) | |
4280 __attribute__nonnull__(pTHX_2); | |
4281 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PV \ | |
4282 assert(sv); assert(name) | |
4283 | |
4284 PERL_CALLCONV bool Perl_sv_derived_from_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags) | |
4285 __attribute__warn_unused_result__ | |
4286 __attribute__nonnull__(pTHX_1) | |
4287 __attribute__nonnull__(pTHX_2); | |
4288 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_PVN \ | |
4289 assert(sv); assert(name) | |
4290 | |
4291 PERL_CALLCONV bool Perl_sv_derived_from_sv(pTHX_ SV* sv, SV *namesv, U32 flags) | |
4292 __attribute__warn_unused_result__ | |
4293 __attribute__nonnull__(pTHX_1) | |
4294 __attribute__nonnull__(pTHX_2); | |
4295 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM_SV \ | |
4296 assert(sv); assert(namesv) | |
4297 | |
4298 PERL_CALLCONV bool Perl_sv_destroyable(pTHX_ SV *sv); | |
4299 PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char *const name) | |
4300 __attribute__warn_unused_result__ | |
4301 __attribute__nonnull__(pTHX_1) | |
4302 __attribute__nonnull__(pTHX_2); | |
4303 #define PERL_ARGS_ASSERT_SV_DOES \ | |
4304 assert(sv); assert(name) | |
4305 | |
4306 PERL_CALLCONV bool Perl_sv_does_pv(pTHX_ SV* sv, const char *const name, U32 flags) | |
4307 __attribute__warn_unused_result__ | |
4308 __attribute__nonnull__(pTHX_1) | |
4309 __attribute__nonnull__(pTHX_2); | |
4310 #define PERL_ARGS_ASSERT_SV_DOES_PV \ | |
4311 assert(sv); assert(name) | |
4312 | |
4313 PERL_CALLCONV bool Perl_sv_does_pvn(pTHX_ SV* sv, const char *const name, const STRLEN len, U32 flags) | |
4314 __attribute__warn_unused_result__ | |
4315 __attribute__nonnull__(pTHX_1) | |
4316 __attribute__nonnull__(pTHX_2); | |
4317 #define PERL_ARGS_ASSERT_SV_DOES_PVN \ | |
4318 assert(sv); assert(name) | |
4319 | |
4320 PERL_CALLCONV bool Perl_sv_does_sv(pTHX_ SV* sv, SV* namesv, U32 flags) | |
4321 __attribute__warn_unused_result__ | |
4322 __attribute__nonnull__(pTHX_1) | |
4323 __attribute__nonnull__(pTHX_2); | |
4324 #define PERL_ARGS_ASSERT_SV_DOES_SV \ | |
4325 assert(sv); assert(namesv) | |
4326 | |
4327 PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) | |
4328 __attribute__nonnull__(pTHX_1); | |
4329 #define PERL_ARGS_ASSERT_SV_DUMP \ | |
4330 assert(sv) | |
4331 | |
4332 /* PERL_CALLCONV I32 sv_eq(pTHX_ SV* sv1, SV* sv2); */ | |
4333 PERL_CALLCONV I32 Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags); | |
4334 /* PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) | |
4335 __attribute__nonnull__(pTHX_1); */ | |
4336 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \ | |
4337 assert(sv) | |
4338 | |
4339 PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags) | |
4340 __attribute__nonnull__(pTHX_1); | |
4341 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \ | |
4342 assert(sv) | |
4343 | |
4344 PERL_CALLCONV void Perl_sv_free(pTHX_ SV *const sv); | |
4345 PERL_CALLCONV void Perl_sv_free2(pTHX_ SV *const sv, const U32 refcnt) | |
4346 __attribute__nonnull__(pTHX_1); | |
4347 #define PERL_ARGS_ASSERT_SV_FREE2 \ | |
4348 assert(sv) | |
4349 | |
4350 PERL_CALLCONV void Perl_sv_free_arenas(pTHX); | |
4351 PERL_CALLCONV SV* Perl_sv_get_backrefs(SV *const sv) | |
4352 __attribute__pure__ | |
4353 __attribute__nonnull__(1); | |
4354 #define PERL_ARGS_ASSERT_SV_GET_BACKREFS \ | |
4355 assert(sv) | |
4356 | |
4357 PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append) | |
4358 __attribute__nonnull__(pTHX_1) | |
4359 __attribute__nonnull__(pTHX_2); | |
4360 #define PERL_ARGS_ASSERT_SV_GETS \ | |
4361 assert(sv); assert(fp) | |
4362 | |
4363 PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen) | |
4364 __attribute__nonnull__(pTHX_1); | |
4365 #define PERL_ARGS_ASSERT_SV_GROW \ | |
4366 assert(sv) | |
4367 | |
4368 PERL_CALLCONV void Perl_sv_inc(pTHX_ SV *const sv); | |
4369 PERL_CALLCONV void Perl_sv_inc_nomg(pTHX_ SV *const sv); | |
4370 /* PERL_CALLCONV void Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen) | |
4371 __attribute__nonnull__(pTHX_1) | |
4372 __attribute__nonnull__(pTHX_4); */ | |
4373 #define PERL_ARGS_ASSERT_SV_INSERT \ | |
4374 assert(bigstr); assert(little) | |
4375 | |
4376 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) | |
4377 __attribute__nonnull__(pTHX_1) | |
4378 __attribute__nonnull__(pTHX_4); | |
4379 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS \ | |
4380 assert(bigstr); assert(little) | |
4381 | |
4382 PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char *const name) | |
4383 __attribute__nonnull__(pTHX_2); | |
4384 #define PERL_ARGS_ASSERT_SV_ISA \ | |
4385 assert(name) | |
4386 | |
4387 PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv); | |
4388 PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) | |
4389 __attribute__nonnull__(pTHX_1); | |
4390 #define PERL_ARGS_ASSERT_SV_IV \ | |
4391 assert(sv) | |
4392 | |
4393 PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV *const sv); | |
4394 PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV *const sv); | |
4395 PERL_CALLCONV STRLEN Perl_sv_len_utf8_nomg(pTHX_ SV *const sv) | |
4396 __attribute__nonnull__(pTHX_1); | |
4397 #define PERL_ARGS_ASSERT_SV_LEN_UTF8_NOMG \ | |
4398 assert(sv) | |
4399 | |
4400 PERL_CALLCONV void Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen) | |
4401 __attribute__nonnull__(pTHX_1); | |
4402 #define PERL_ARGS_ASSERT_SV_MAGIC \ | |
4403 assert(sv) | |
4404 | |
4405 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) | |
4406 __attribute__nonnull__(pTHX_1); | |
4407 #define PERL_ARGS_ASSERT_SV_MAGICEXT \ | |
4408 assert(sv) | |
4409 | |
4410 PERL_CALLCONV MAGIC * Perl_sv_magicext_mglob(pTHX_ SV *sv) | |
4411 __attribute__nonnull__(pTHX_1); | |
4412 #define PERL_ARGS_ASSERT_SV_MAGICEXT_MGLOB \ | |
4413 assert(sv) | |
4414 | |
4415 /* PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV *const oldsv) | |
4416 __attribute__malloc__ | |
4417 __attribute__warn_unused_result__; */ | |
4418 | |
4419 PERL_CALLCONV SV* Perl_sv_mortalcopy_flags(pTHX_ SV *const oldsv, U32 flags) | |
4420 __attribute__malloc__ | |
4421 __attribute__warn_unused_result__; | |
4422 | |
4423 PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) | |
4424 __attribute__warn_unused_result__; | |
4425 | |
4426 PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV *const sv); | |
4427 /* PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv); */ | |
4428 PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv); | |
4429 PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) | |
4430 __attribute__nonnull__(pTHX_1); | |
4431 #define PERL_ARGS_ASSERT_SV_NV \ | |
4432 assert(sv) | |
4433 | |
4434 PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); | |
4435 PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp) | |
4436 __attribute__nonnull__(pTHX_2); | |
4437 #define PERL_ARGS_ASSERT_SV_POS_B2U \ | |
4438 assert(offsetp) | |
4439 | |
4440 PERL_CALLCONV STRLEN Perl_sv_pos_b2u_flags(pTHX_ SV *const sv, STRLEN const offset, U32 flags) | |
4441 __attribute__nonnull__(pTHX_1); | |
4442 #define PERL_ARGS_ASSERT_SV_POS_B2U_FLAGS \ | |
4443 assert(sv) | |
4444 | |
4445 PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp) | |
4446 __attribute__nonnull__(pTHX_2); | |
4447 #define PERL_ARGS_ASSERT_SV_POS_U2B \ | |
4448 assert(offsetp) | |
4449 | |
4450 PERL_CALLCONV STRLEN Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags) | |
4451 __attribute__nonnull__(pTHX_1); | |
4452 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS \ | |
4453 assert(sv) | |
4454 | |
4455 /* PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv) | |
4456 __attribute__warn_unused_result__ | |
4457 __attribute__nonnull__(pTHX_1); */ | |
4458 #define PERL_ARGS_ASSERT_SV_PV \ | |
4459 assert(sv) | |
4460 | |
4461 /* PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv) | |
4462 __attribute__warn_unused_result__ | |
4463 __attribute__nonnull__(pTHX_1); */ | |
4464 #define PERL_ARGS_ASSERT_SV_PVBYTE \ | |
4465 assert(sv) | |
4466 | |
4467 PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp) | |
4468 __attribute__nonnull__(pTHX_1) | |
4469 __attribute__nonnull__(pTHX_2); | |
4470 #define PERL_ARGS_ASSERT_SV_PVBYTEN \ | |
4471 assert(sv); assert(lp) | |
4472 | |
4473 PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp) | |
4474 __attribute__nonnull__(pTHX_1); | |
4475 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE \ | |
4476 assert(sv) | |
4477 | |
4478 PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp) | |
4479 __attribute__nonnull__(pTHX_1) | |
4480 __attribute__nonnull__(pTHX_2); | |
4481 #define PERL_ARGS_ASSERT_SV_PVN \ | |
4482 assert(sv); assert(lp) | |
4483 | |
4484 /* PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp) | |
4485 __attribute__nonnull__(pTHX_1); */ | |
4486 #define PERL_ARGS_ASSERT_SV_PVN_FORCE \ | |
4487 assert(sv) | |
4488 | |
4489 PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) | |
4490 __attribute__nonnull__(pTHX_1); | |
4491 #define PERL_ARGS_ASSERT_SV_PVN_FORCE_FLAGS \ | |
4492 assert(sv) | |
4493 | |
4494 PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) | |
4495 __attribute__nonnull__(pTHX_1); | |
4496 #define PERL_ARGS_ASSERT_SV_PVN_NOMG \ | |
4497 assert(sv) | |
4498 | |
4499 /* PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv) | |
4500 __attribute__warn_unused_result__ | |
4501 __attribute__nonnull__(pTHX_1); */ | |
4502 #define PERL_ARGS_ASSERT_SV_PVUTF8 \ | |
4503 assert(sv) | |
4504 | |
4505 PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp) | |
4506 __attribute__nonnull__(pTHX_1) | |
4507 __attribute__nonnull__(pTHX_2); | |
4508 #define PERL_ARGS_ASSERT_SV_PVUTF8N \ | |
4509 assert(sv); assert(lp) | |
4510 | |
4511 PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp) | |
4512 __attribute__nonnull__(pTHX_1); | |
4513 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE \ | |
4514 assert(sv) | |
4515 | |
4516 PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding) | |
4517 __attribute__nonnull__(pTHX_1) | |
4518 __attribute__nonnull__(pTHX_2); | |
4519 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8 \ | |
4520 assert(sv); assert(encoding) | |
4521 | |
4522 PERL_CALLCONV SV* Perl_sv_ref(pTHX_ SV *dst, const SV *const sv, const int ob) | |
4523 __attribute__nonnull__(pTHX_2); | |
4524 #define PERL_ARGS_ASSERT_SV_REF \ | |
4525 assert(sv) | |
4526 | |
4527 PERL_CALLCONV const char* Perl_sv_reftype(pTHX_ const SV *const sv, const int ob) | |
4528 __attribute__warn_unused_result__ | |
4529 __attribute__nonnull__(pTHX_1); | |
4530 #define PERL_ARGS_ASSERT_SV_REFTYPE \ | |
4531 assert(sv) | |
4532 | |
4533 PERL_CALLCONV void Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv) | |
4534 __attribute__nonnull__(pTHX_1) | |
4535 __attribute__nonnull__(pTHX_2); | |
4536 #define PERL_ARGS_ASSERT_SV_REPLACE \ | |
4537 assert(sv); assert(nsv) | |
4538 | |
4539 PERL_CALLCONV void Perl_sv_report_used(pTHX); | |
4540 PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV *const stash) | |
4541 __attribute__nonnull__(pTHX_1); | |
4542 #define PERL_ARGS_ASSERT_SV_RESET \ | |
4543 assert(s) | |
4544 | |
4545 PERL_CALLCONV void Perl_sv_resetpvn(pTHX_ const char* s, STRLEN len, HV *const stash); | |
4546 PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv) | |
4547 __attribute__nonnull__(pTHX_1); | |
4548 #define PERL_ARGS_ASSERT_SV_RVWEAKEN \ | |
4549 assert(sv) | |
4550 | |
4551 PERL_CALLCONV void Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek) | |
4552 __attribute__nonnull__(pTHX_1); | |
4553 #define PERL_ARGS_ASSERT_SV_SETHEK \ | |
4554 assert(sv) | |
4555 | |
4556 PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num) | |
4557 __attribute__nonnull__(pTHX_1); | |
4558 #define PERL_ARGS_ASSERT_SV_SETIV \ | |
4559 assert(sv) | |
4560 | |
4561 PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i) | |
4562 __attribute__nonnull__(pTHX_1); | |
4563 #define PERL_ARGS_ASSERT_SV_SETIV_MG \ | |
4564 assert(sv) | |
4565 | |
4566 PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV *const sv, const NV num) | |
4567 __attribute__nonnull__(pTHX_1); | |
4568 #define PERL_ARGS_ASSERT_SV_SETNV \ | |
4569 assert(sv) | |
4570 | |
4571 PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num) | |
4572 __attribute__nonnull__(pTHX_1); | |
4573 #define PERL_ARGS_ASSERT_SV_SETNV_MG \ | |
4574 assert(sv) | |
4575 | |
4576 PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr) | |
4577 __attribute__nonnull__(pTHX_1); | |
4578 #define PERL_ARGS_ASSERT_SV_SETPV \ | |
4579 assert(sv) | |
4580 | |
4581 PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr) | |
4582 __attribute__nonnull__(pTHX_1); | |
4583 #define PERL_ARGS_ASSERT_SV_SETPV_MG \ | |
4584 assert(sv) | |
4585 | |
4586 PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...) | |
4587 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
4588 __attribute__nonnull__(pTHX_1) | |
4589 __attribute__nonnull__(pTHX_2); | |
4590 #define PERL_ARGS_ASSERT_SV_SETPVF \ | |
4591 assert(sv); assert(pat) | |
4592 | |
4593 PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...) | |
4594 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
4595 __attribute__nonnull__(pTHX_1) | |
4596 __attribute__nonnull__(pTHX_2); | |
4597 #define PERL_ARGS_ASSERT_SV_SETPVF_MG \ | |
4598 assert(sv); assert(pat) | |
4599 | |
4600 PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV *const sv, const IV num) | |
4601 __attribute__nonnull__(pTHX_1); | |
4602 #define PERL_ARGS_ASSERT_SV_SETPVIV \ | |
4603 assert(sv) | |
4604 | |
4605 PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv) | |
4606 __attribute__nonnull__(pTHX_1); | |
4607 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG \ | |
4608 assert(sv) | |
4609 | |
4610 PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len) | |
4611 __attribute__nonnull__(pTHX_1); | |
4612 #define PERL_ARGS_ASSERT_SV_SETPVN \ | |
4613 assert(sv) | |
4614 | |
4615 PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len) | |
4616 __attribute__nonnull__(pTHX_1) | |
4617 __attribute__nonnull__(pTHX_2); | |
4618 #define PERL_ARGS_ASSERT_SV_SETPVN_MG \ | |
4619 assert(sv); assert(ptr) | |
4620 | |
4621 PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv) | |
4622 __attribute__nonnull__(pTHX_1); | |
4623 #define PERL_ARGS_ASSERT_SV_SETREF_IV \ | |
4624 assert(rv) | |
4625 | |
4626 PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv) | |
4627 __attribute__nonnull__(pTHX_1); | |
4628 #define PERL_ARGS_ASSERT_SV_SETREF_NV \ | |
4629 assert(rv) | |
4630 | |
4631 PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv) | |
4632 __attribute__nonnull__(pTHX_1); | |
4633 #define PERL_ARGS_ASSERT_SV_SETREF_PV \ | |
4634 assert(rv) | |
4635 | |
4636 PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n) | |
4637 __attribute__nonnull__(pTHX_1) | |
4638 __attribute__nonnull__(pTHX_3); | |
4639 #define PERL_ARGS_ASSERT_SV_SETREF_PVN \ | |
4640 assert(rv); assert(pv) | |
4641 | |
4642 PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv) | |
4643 __attribute__nonnull__(pTHX_1); | |
4644 #define PERL_ARGS_ASSERT_SV_SETREF_UV \ | |
4645 assert(rv) | |
4646 | |
4647 /* PERL_CALLCONV void Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr) | |
4648 __attribute__nonnull__(pTHX_1); */ | |
4649 #define PERL_ARGS_ASSERT_SV_SETSV \ | |
4650 assert(dstr) | |
4651 | |
4652 PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV *dstr, SV *sstr, const I32 flags) | |
4653 __attribute__nonnull__(pTHX_1); | |
4654 #define PERL_ARGS_ASSERT_SV_SETSV_FLAGS \ | |
4655 assert(dstr) | |
4656 | |
4657 PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr) | |
4658 __attribute__nonnull__(pTHX_1); | |
4659 #define PERL_ARGS_ASSERT_SV_SETSV_MG \ | |
4660 assert(dstr) | |
4661 | |
4662 PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV *const sv, const UV num) | |
4663 __attribute__nonnull__(pTHX_1); | |
4664 #define PERL_ARGS_ASSERT_SV_SETUV \ | |
4665 assert(sv) | |
4666 | |
4667 PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u) | |
4668 __attribute__nonnull__(pTHX_1); | |
4669 #define PERL_ARGS_ASSERT_SV_SETUV_MG \ | |
4670 assert(sv) | |
4671 | |
4672 /* PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv) | |
4673 __attribute__nonnull__(pTHX_1); */ | |
4674 #define PERL_ARGS_ASSERT_SV_TAINT \ | |
4675 assert(sv) | |
4676 | |
4677 PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV *const sv) | |
4678 __attribute__warn_unused_result__ | |
4679 __attribute__nonnull__(pTHX_1); | |
4680 #define PERL_ARGS_ASSERT_SV_TAINTED \ | |
4681 assert(sv) | |
4682 | |
4683 PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv); | |
4684 PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) | |
4685 __attribute__warn_unused_result__ | |
4686 __attribute__nonnull__(pTHX_1) | |
4687 __attribute__nonnull__(pTHX_2); | |
4688 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \ | |
4689 assert(dsv); assert(ssv) | |
4690 | |
4691 PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV *const sv, const int type) | |
4692 __attribute__nonnull__(pTHX_1); | |
4693 #define PERL_ARGS_ASSERT_SV_UNMAGIC \ | |
4694 assert(sv) | |
4695 | |
4696 PERL_CALLCONV int Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl) | |
4697 __attribute__nonnull__(pTHX_1); | |
4698 #define PERL_ARGS_ASSERT_SV_UNMAGICEXT \ | |
4699 assert(sv) | |
4700 | |
4701 /* PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) | |
4702 __attribute__nonnull__(pTHX_1); */ | |
4703 #define PERL_ARGS_ASSERT_SV_UNREF \ | |
4704 assert(sv) | |
4705 | |
4706 PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags) | |
4707 __attribute__nonnull__(pTHX_1); | |
4708 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \ | |
4709 assert(ref) | |
4710 | |
4711 PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV *const sv) | |
4712 __attribute__nonnull__(pTHX_1); | |
4713 #define PERL_ARGS_ASSERT_SV_UNTAINT \ | |
4714 assert(sv) | |
4715 | |
4716 PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type) | |
4717 __attribute__nonnull__(pTHX_1); | |
4718 #define PERL_ARGS_ASSERT_SV_UPGRADE \ | |
4719 assert(sv) | |
4720 | |
4721 /* PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) | |
4722 __attribute__nonnull__(pTHX_1); */ | |
4723 #define PERL_ARGS_ASSERT_SV_USEPVN \ | |
4724 assert(sv) | |
4725 | |
4726 PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags) | |
4727 __attribute__nonnull__(pTHX_1); | |
4728 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS \ | |
4729 assert(sv) | |
4730 | |
4731 /* PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len) | |
4732 __attribute__nonnull__(pTHX_1); */ | |
4733 #define PERL_ARGS_ASSERT_SV_USEPVN_MG \ | |
4734 assert(sv) | |
4735 | |
4736 PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *const sv) | |
4737 __attribute__nonnull__(pTHX_1); | |
4738 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \ | |
4739 assert(sv) | |
4740 | |
4741 PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok) | |
4742 __attribute__nonnull__(pTHX_1); | |
4743 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE \ | |
4744 assert(sv) | |
4745 | |
4746 PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *const sv) | |
4747 __attribute__nonnull__(pTHX_1); | |
4748 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \ | |
4749 assert(sv) | |
4750 | |
4751 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv) | |
4752 __attribute__nonnull__(pTHX_1); */ | |
4753 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE \ | |
4754 assert(sv) | |
4755 | |
4756 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *const sv, const I32 flags) | |
4757 __attribute__nonnull__(pTHX_1); */ | |
4758 | |
4759 PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags_grow(pTHX_ SV *const sv, const I32 flags, STRLEN extra) | |
4760 __attribute__nonnull__(pTHX_1); | |
4761 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE_FLAGS_GROW \ | |
4762 assert(sv) | |
4763 | |
4764 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv) | |
4765 __attribute__nonnull__(pTHX_1); */ | |
4766 | |
4767 PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) | |
4768 __attribute__nonnull__(pTHX_1); | |
4769 #define PERL_ARGS_ASSERT_SV_UV \ | |
4770 assert(sv) | |
4771 | |
4772 PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args) | |
4773 __attribute__nonnull__(pTHX_1) | |
4774 __attribute__nonnull__(pTHX_2); | |
4775 #define PERL_ARGS_ASSERT_SV_VCATPVF \ | |
4776 assert(sv); assert(pat) | |
4777 | |
4778 PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args) | |
4779 __attribute__nonnull__(pTHX_1) | |
4780 __attribute__nonnull__(pTHX_2); | |
4781 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG \ | |
4782 assert(sv); assert(pat) | |
4783 | |
4784 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) | |
4785 __attribute__nonnull__(pTHX_1) | |
4786 __attribute__nonnull__(pTHX_2); | |
4787 #define PERL_ARGS_ASSERT_SV_VCATPVFN \ | |
4788 assert(sv); assert(pat) | |
4789 | |
4790 PERL_CALLCONV void Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted, const U32 flags) | |
4791 __attribute__nonnull__(pTHX_1) | |
4792 __attribute__nonnull__(pTHX_2); | |
4793 #define PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS \ | |
4794 assert(sv); assert(pat) | |
4795 | |
4796 PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args) | |
4797 __attribute__nonnull__(pTHX_1) | |
4798 __attribute__nonnull__(pTHX_2); | |
4799 #define PERL_ARGS_ASSERT_SV_VSETPVF \ | |
4800 assert(sv); assert(pat) | |
4801 | |
4802 PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args) | |
4803 __attribute__nonnull__(pTHX_1) | |
4804 __attribute__nonnull__(pTHX_2); | |
4805 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG \ | |
4806 assert(sv); assert(pat) | |
4807 | |
4808 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) | |
4809 __attribute__nonnull__(pTHX_1) | |
4810 __attribute__nonnull__(pTHX_2); | |
4811 #define PERL_ARGS_ASSERT_SV_VSETPVFN \ | |
4812 assert(sv); assert(pat) | |
4813 | |
4814 PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8) | |
4815 __attribute__nonnull__(pTHX_1) | |
4816 __attribute__nonnull__(pTHX_2); | |
4817 #define PERL_ARGS_ASSERT_SWASH_FETCH \ | |
4818 assert(swash); assert(ptr) | |
4819 | |
4820 PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none) | |
4821 __attribute__warn_unused_result__ | |
4822 __attribute__nonnull__(pTHX_1) | |
4823 __attribute__nonnull__(pTHX_2) | |
4824 __attribute__nonnull__(pTHX_3); | |
4825 #define PERL_ARGS_ASSERT_SWASH_INIT \ | |
4826 assert(pkg); assert(name); assert(listsv) | |
4827 | |
4828 PERL_CALLCONV void Perl_sync_locale(pTHX); | |
4829 PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv) | |
4830 __attribute__nonnull__(1) | |
4831 __attribute__nonnull__(2); | |
4832 #define PERL_ARGS_ASSERT_SYS_INIT \ | |
4833 assert(argc); assert(argv) | |
4834 | |
4835 PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env) | |
4836 __attribute__nonnull__(1) | |
4837 __attribute__nonnull__(2) | |
4838 __attribute__nonnull__(3); | |
4839 #define PERL_ARGS_ASSERT_SYS_INIT3 \ | |
4840 assert(argc); assert(argv); assert(env) | |
4841 | |
4842 PERL_CALLCONV void Perl_sys_term(void); | |
4843 PERL_CALLCONV void Perl_taint_env(pTHX); | |
4844 PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char *const s) | |
4845 __attribute__nonnull__(pTHX_2); | |
4846 #define PERL_ARGS_ASSERT_TAINT_PROPER \ | |
4847 assert(s) | |
4848 | |
4849 PERL_CALLCONV OP * Perl_tied_method(pTHX_ SV *methname, SV **sp, SV *const sv, const MAGIC *const mg, const U32 flags, U32 argc, ...) | |
4850 __attribute__nonnull__(pTHX_1) | |
4851 __attribute__nonnull__(pTHX_2) | |
4852 __attribute__nonnull__(pTHX_3) | |
4853 __attribute__nonnull__(pTHX_4); | |
4854 #define PERL_ARGS_ASSERT_TIED_METHOD \ | |
4855 assert(methname); assert(sp); assert(sv); assert(mg) | |
4856 | |
4857 PERL_CALLCONV SSize_t Perl_tmps_grow_p(pTHX_ SSize_t ix); | |
4858 /* PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) | |
4859 __attribute__nonnull__(pTHX_2) | |
4860 __attribute__nonnull__(pTHX_3); */ | |
4861 | |
4862 PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) | |
4863 __attribute__nonnull__(pTHX_2) | |
4864 __attribute__nonnull__(pTHX_3); | |
4865 #define PERL_ARGS_ASSERT_TO_UNI_LOWER \ | |
4866 assert(p); assert(lenp) | |
4867 | |
4868 PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) | |
4869 __attribute__deprecated__ | |
4870 __attribute__warn_unused_result__ | |
4871 __attribute__pure__; | |
4872 | |
4873 PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) | |
4874 __attribute__nonnull__(pTHX_2) | |
4875 __attribute__nonnull__(pTHX_3); | |
4876 #define PERL_ARGS_ASSERT_TO_UNI_TITLE \ | |
4877 assert(p); assert(lenp) | |
4878 | |
4879 PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) | |
4880 __attribute__deprecated__ | |
4881 __attribute__warn_unused_result__ | |
4882 __attribute__pure__; | |
4883 | |
4884 PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) | |
4885 __attribute__nonnull__(pTHX_2) | |
4886 __attribute__nonnull__(pTHX_3); | |
4887 #define PERL_ARGS_ASSERT_TO_UNI_UPPER \ | |
4888 assert(p); assert(lenp) | |
4889 | |
4890 PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) | |
4891 __attribute__deprecated__ | |
4892 __attribute__warn_unused_result__ | |
4893 __attribute__pure__; | |
4894 | |
4895 PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special) | |
4896 __attribute__nonnull__(pTHX_1) | |
4897 __attribute__nonnull__(pTHX_2) | |
4898 __attribute__nonnull__(pTHX_4) | |
4899 __attribute__nonnull__(pTHX_5); | |
4900 #define PERL_ARGS_ASSERT_TO_UTF8_CASE \ | |
4901 assert(p); assert(ustrp); assert(swashp); assert(normal) | |
4902 | |
4903 /* PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
4904 __attribute__nonnull__(pTHX_1) | |
4905 __attribute__nonnull__(pTHX_2); */ | |
4906 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD \ | |
4907 assert(p); assert(ustrp) | |
4908 | |
4909 /* PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
4910 __attribute__nonnull__(pTHX_1) | |
4911 __attribute__nonnull__(pTHX_2); */ | |
4912 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER \ | |
4913 assert(p); assert(ustrp) | |
4914 | |
4915 /* PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
4916 __attribute__nonnull__(pTHX_1) | |
4917 __attribute__nonnull__(pTHX_2); */ | |
4918 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE \ | |
4919 assert(p); assert(ustrp) | |
4920 | |
4921 /* PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
4922 __attribute__nonnull__(pTHX_1) | |
4923 __attribute__nonnull__(pTHX_2); */ | |
4924 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER \ | |
4925 assert(p); assert(ustrp) | |
4926 | |
4927 PERL_CALLCONV bool Perl_try_amagic_bin(pTHX_ int method, int flags); | |
4928 PERL_CALLCONV bool Perl_try_amagic_un(pTHX_ int method, int flags); | |
4929 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) | |
4930 __attribute__nonnull__(pTHX_1) | |
4931 __attribute__nonnull__(pTHX_2) | |
4932 __attribute__nonnull__(pTHX_3) | |
4933 __attribute__nonnull__(pTHX_5); | |
4934 #define PERL_ARGS_ASSERT_UNPACK_STR \ | |
4935 assert(pat); assert(patend); assert(s); assert(strend) | |
4936 | |
4937 PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags) | |
4938 __attribute__nonnull__(pTHX_1) | |
4939 __attribute__nonnull__(pTHX_2) | |
4940 __attribute__nonnull__(pTHX_3) | |
4941 __attribute__nonnull__(pTHX_4); | |
4942 #define PERL_ARGS_ASSERT_UNPACKSTRING \ | |
4943 assert(pat); assert(patend); assert(s); assert(strend) | |
4944 | |
4945 PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); | |
4946 PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); | |
4947 PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv) | |
4948 __attribute__nonnull__(pTHX_1); | |
4949 #define PERL_ARGS_ASSERT_UPG_VERSION \ | |
4950 assert(ver) | |
4951 | |
4952 PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
4953 __attribute__nonnull__(pTHX_1) | |
4954 __attribute__nonnull__(pTHX_2) | |
4955 __attribute__nonnull__(pTHX_4); | |
4956 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8 \ | |
4957 assert(p); assert(d); assert(newlen) | |
4958 | |
4959 PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
4960 __attribute__nonnull__(pTHX_1) | |
4961 __attribute__nonnull__(pTHX_2) | |
4962 __attribute__nonnull__(pTHX_4); | |
4963 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \ | |
4964 assert(p); assert(d); assert(newlen) | |
4965 | |
4966 PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) | |
4967 __attribute__warn_unused_result__ | |
4968 __attribute__pure__ | |
4969 __attribute__nonnull__(pTHX_1) | |
4970 __attribute__nonnull__(pTHX_2); | |
4971 #define PERL_ARGS_ASSERT_UTF8_DISTANCE \ | |
4972 assert(a); assert(b) | |
4973 | |
4974 PERL_CALLCONV U8* Perl_utf8_hop(const U8 *s, I32 off) | |
4975 __attribute__warn_unused_result__ | |
4976 __attribute__pure__ | |
4977 __attribute__nonnull__(1); | |
4978 #define PERL_ARGS_ASSERT_UTF8_HOP \ | |
4979 assert(s) | |
4980 | |
4981 PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e) | |
4982 __attribute__warn_unused_result__ | |
4983 __attribute__pure__ | |
4984 __attribute__nonnull__(pTHX_1) | |
4985 __attribute__nonnull__(pTHX_2); | |
4986 #define PERL_ARGS_ASSERT_UTF8_LENGTH \ | |
4987 assert(s); assert(e) | |
4988 | |
4989 PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) | |
4990 __attribute__nonnull__(pTHX_1) | |
4991 __attribute__nonnull__(pTHX_2); | |
4992 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES \ | |
4993 assert(s); assert(len) | |
4994 | |
4995 PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) | |
4996 __attribute__deprecated__ | |
4997 __attribute__nonnull__(pTHX_1); | |
4998 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR \ | |
4999 assert(s) | |
5000 | |
5001 /* PERL_CALLCONV UV utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen) | |
5002 __attribute__nonnull__(pTHX_1) | |
5003 __attribute__nonnull__(pTHX_2); */ | |
5004 | |
5005 PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) | |
5006 __attribute__deprecated__ | |
5007 __attribute__nonnull__(pTHX_1); | |
5008 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI \ | |
5009 assert(s) | |
5010 | |
5011 PERL_CALLCONV UV Perl_utf8_to_uvuni_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen) | |
5012 __attribute__deprecated__ | |
5013 __attribute__nonnull__(pTHX_1) | |
5014 __attribute__nonnull__(pTHX_2); | |
5015 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI_BUF \ | |
5016 assert(s); assert(send) | |
5017 | |
5018 PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
5019 __attribute__nonnull__(pTHX_1); | |
5020 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \ | |
5021 assert(s) | |
5022 | |
5023 PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
5024 __attribute__nonnull__(pTHX_1); | |
5025 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \ | |
5026 assert(s) | |
5027 | |
5028 PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) | |
5029 __attribute__nonnull__(pTHX_4); | |
5030 #define PERL_ARGS_ASSERT_UTILIZE \ | |
5031 assert(idop) | |
5032 | |
5033 /* PERL_CALLCONV U8* uvchr_to_utf8(pTHX_ U8 *d, UV uv) | |
5034 __attribute__nonnull__(pTHX_1); */ | |
5035 | |
5036 /* PERL_CALLCONV U8* uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) | |
5037 __attribute__nonnull__(pTHX_1); */ | |
5038 | |
5039 PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) | |
5040 __attribute__nonnull__(pTHX_1); | |
5041 #define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \ | |
5042 assert(d) | |
5043 | |
5044 PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) | |
5045 __attribute__nonnull__(pTHX_1); | |
5046 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \ | |
5047 assert(d) | |
5048 | |
5049 PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) | |
5050 __attribute__nonnull__(pTHX_1); | |
5051 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS \ | |
5052 assert(d) | |
5053 | |
5054 PERL_CALLCONV UV Perl_valid_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) | |
5055 __attribute__nonnull__(pTHX_1); | |
5056 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVCHR \ | |
5057 assert(s) | |
5058 | |
5059 PERL_CALLCONV UV Perl_valid_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) | |
5060 __attribute__deprecated__ | |
5061 __attribute__nonnull__(pTHX_1); | |
5062 #define PERL_ARGS_ASSERT_VALID_UTF8_TO_UVUNI \ | |
5063 assert(s) | |
5064 | |
5065 PERL_CALLCONV bool Perl_validate_proto(pTHX_ SV *name, SV *proto, bool warn) | |
5066 __attribute__nonnull__(pTHX_1); | |
5067 #define PERL_ARGS_ASSERT_VALIDATE_PROTO \ | |
5068 assert(name) | |
5069 | |
5070 PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv) | |
5071 __attribute__nonnull__(pTHX_1) | |
5072 __attribute__nonnull__(pTHX_2); | |
5073 #define PERL_ARGS_ASSERT_VCMP \ | |
5074 assert(lhv); assert(rhv) | |
5075 | |
5076 PERL_CALLCONV_NO_RET void Perl_vcroak(pTHX_ const char* pat, va_list* args) | |
5077 __attribute__noreturn__; | |
5078 | |
5079 PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args) | |
5080 __attribute__nonnull__(pTHX_1); | |
5081 #define PERL_ARGS_ASSERT_VDEB \ | |
5082 assert(pat) | |
5083 | |
5084 PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args) | |
5085 __attribute__nonnull__(pTHX_1); | |
5086 #define PERL_ARGS_ASSERT_VFORM \ | |
5087 assert(pat) | |
5088 | |
5089 PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv) | |
5090 __attribute__nonnull__(pTHX_1); | |
5091 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \ | |
5092 assert(sv) | |
5093 | |
5094 PERL_CALLCONV SV* Perl_vivify_ref(pTHX_ SV* sv, U32 to_what) | |
5095 __attribute__warn_unused_result__ | |
5096 __attribute__nonnull__(pTHX_1); | |
5097 #define PERL_ARGS_ASSERT_VIVIFY_REF \ | |
5098 assert(sv) | |
5099 | |
5100 PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args) | |
5101 __attribute__nonnull__(pTHX_2); | |
5102 #define PERL_ARGS_ASSERT_VLOAD_MODULE \ | |
5103 assert(name) | |
5104 | |
5105 PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args) | |
5106 __attribute__nonnull__(pTHX_1); | |
5107 #define PERL_ARGS_ASSERT_VMESS \ | |
5108 assert(pat) | |
5109 | |
5110 PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args) | |
5111 __attribute__malloc__ | |
5112 __attribute__warn_unused_result__ | |
5113 __attribute__nonnull__(pTHX_1); | |
5114 #define PERL_ARGS_ASSERT_VNEWSVPVF \ | |
5115 assert(pat) | |
5116 | |
5117 PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs) | |
5118 __attribute__nonnull__(pTHX_1); | |
5119 #define PERL_ARGS_ASSERT_VNORMAL \ | |
5120 assert(vs) | |
5121 | |
5122 PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs) | |
5123 __attribute__nonnull__(pTHX_1); | |
5124 #define PERL_ARGS_ASSERT_VNUMIFY \ | |
5125 assert(vs) | |
5126 | |
5127 PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) | |
5128 __attribute__nonnull__(pTHX_1); | |
5129 #define PERL_ARGS_ASSERT_VSTRINGIFY \ | |
5130 assert(vs) | |
5131 | |
5132 PERL_CALLCONV SV* Perl_vverify(pTHX_ SV *vs) | |
5133 __attribute__nonnull__(pTHX_1); | |
5134 #define PERL_ARGS_ASSERT_VVERIFY \ | |
5135 assert(vs) | |
5136 | |
5137 PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args) | |
5138 __attribute__nonnull__(pTHX_1); | |
5139 #define PERL_ARGS_ASSERT_VWARN \ | |
5140 assert(pat) | |
5141 | |
5142 PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) | |
5143 __attribute__nonnull__(pTHX_2); | |
5144 #define PERL_ARGS_ASSERT_VWARNER \ | |
5145 assert(pat) | |
5146 | |
5147 PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags) | |
5148 __attribute__nonnull__(pTHX_2); | |
5149 #define PERL_ARGS_ASSERT_WAIT4PID \ | |
5150 assert(statusp) | |
5151 | |
5152 PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) | |
5153 __attribute__format__(__printf__,pTHX_1,pTHX_2) | |
5154 __attribute__nonnull__(pTHX_1); | |
5155 #define PERL_ARGS_ASSERT_WARN \ | |
5156 assert(pat) | |
5157 | |
5158 PERL_CALLCONV void Perl_warn_sv(pTHX_ SV *baseex) | |
5159 __attribute__nonnull__(pTHX_1); | |
5160 #define PERL_ARGS_ASSERT_WARN_SV \ | |
5161 assert(baseex) | |
5162 | |
5163 PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) | |
5164 __attribute__format__(__printf__,pTHX_2,pTHX_3) | |
5165 __attribute__nonnull__(pTHX_2); | |
5166 #define PERL_ARGS_ASSERT_WARNER \ | |
5167 assert(pat) | |
5168 | |
5169 PERL_CALLCONV I32 Perl_was_lvalue_sub(pTHX) | |
5170 __attribute__warn_unused_result__; | |
5171 | |
5172 PERL_CALLCONV void Perl_watch(pTHX_ char** addr) | |
5173 __attribute__nonnull__(pTHX_1); | |
5174 #define PERL_ARGS_ASSERT_WATCH \ | |
5175 assert(addr) | |
5176 | |
5177 /* PERL_CALLCONV I32 whichsig(pTHX_ const char* sig) | |
5178 __attribute__nonnull__(pTHX_1); */ | |
5179 | |
5180 PERL_CALLCONV I32 Perl_whichsig_pv(pTHX_ const char* sig) | |
5181 __attribute__nonnull__(pTHX_1); | |
5182 #define PERL_ARGS_ASSERT_WHICHSIG_PV \ | |
5183 assert(sig) | |
5184 | |
5185 PERL_CALLCONV I32 Perl_whichsig_pvn(pTHX_ const char* sig, STRLEN len) | |
5186 __attribute__nonnull__(pTHX_1); | |
5187 #define PERL_ARGS_ASSERT_WHICHSIG_PVN \ | |
5188 assert(sig) | |
5189 | |
5190 PERL_CALLCONV I32 Perl_whichsig_sv(pTHX_ SV* sigsv) | |
5191 __attribute__nonnull__(pTHX_1); | |
5192 #define PERL_ARGS_ASSERT_WHICHSIG_SV \ | |
5193 assert(sigsv) | |
5194 | |
5195 PERL_CALLCONV void Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p) | |
5196 __attribute__nonnull__(pTHX_2) | |
5197 __attribute__nonnull__(pTHX_3); | |
5198 #define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \ | |
5199 assert(new_checker); assert(old_checker_p) | |
5200 | |
5201 PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv) | |
5202 __attribute__nonnull__(pTHX_1); | |
5203 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR \ | |
5204 assert(msv) | |
5205 | |
5206 PERL_CALLCONV void Perl_xs_boot_epilog(pTHX_ const U32 ax); | |
5207 PERL_CALLCONV I32 Perl_xs_handshake(const U32 key, void * v_my_perl, const char * file, ...) | |
5208 __attribute__nonnull__(2) | |
5209 __attribute__nonnull__(3); | |
5210 #define PERL_ARGS_ASSERT_XS_HANDSHAKE \ | |
5211 assert(v_my_perl); assert(file) | |
5212 | |
5213 PERL_CALLCONV int Perl_yyerror(pTHX_ const char *const s) | |
5214 __attribute__nonnull__(pTHX_1); | |
5215 #define PERL_ARGS_ASSERT_YYERROR \ | |
5216 assert(s) | |
5217 | |
5218 PERL_CALLCONV int Perl_yyerror_pv(pTHX_ const char *const s, U32 flags) | |
5219 __attribute__nonnull__(pTHX_1); | |
5220 #define PERL_ARGS_ASSERT_YYERROR_PV \ | |
5221 assert(s) | |
5222 | |
5223 PERL_CALLCONV int Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags) | |
5224 __attribute__nonnull__(pTHX_1); | |
5225 #define PERL_ARGS_ASSERT_YYERROR_PVN \ | |
5226 assert(s) | |
5227 | |
5228 PERL_CALLCONV int Perl_yylex(pTHX); | |
5229 PERL_CALLCONV int Perl_yyparse(pTHX_ int gramtype); | |
5230 PERL_CALLCONV void Perl_yyunlex(pTHX); | |
5231 #if !(defined(DEBUGGING)) | |
5232 # if !defined(NV_PRESERVES_UV) | |
5233 # if defined(PERL_IN_SV_C) | |
5234 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv) | |
5235 __attribute__nonnull__(pTHX_1); | |
5236 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \ | |
5237 assert(sv) | |
5238 | |
5239 # endif | |
5240 # endif | |
5241 #endif | |
5242 #if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO)) | |
5243 PERL_CALLCONV Signal_t Perl_csighandler(int sig); | |
5244 PERL_CALLCONV Signal_t Perl_sighandler(int sig); | |
5245 #endif | |
5246 #if !(defined(NO_MATHOMS)) | |
5247 PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); | |
5248 #endif | |
5249 #if !(defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION)) | |
5250 PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) | |
5251 __attribute__nonnull__(pTHX_1); | |
5252 #define PERL_ARGS_ASSERT_DO_EXEC \ | |
5253 assert(cmd) | |
5254 | |
5255 #endif | |
5256 #if !(defined(PERL_GLOBAL_STRUCT_PRIVATE)) | |
5257 # if defined(PERL_IMPLICIT_CONTEXT) | |
5258 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *index, size_t size) | |
5259 __attribute__nonnull__(pTHX_1); | |
5260 #define PERL_ARGS_ASSERT_MY_CXT_INIT \ | |
5261 assert(index) | |
5262 | |
5263 # endif | |
5264 #endif | |
5265 #if !(defined(WIN32)) | |
5266 /* PERL_CALLCONV char* my_setlocale(pTHX_ int category, const char* locale) | |
5267 __attribute__pure__; */ | |
5268 | |
5269 #endif | |
5270 #if !(defined(_MSC_VER)) | |
5271 PERL_CALLCONV_NO_RET int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) | |
5272 __attribute__noreturn__ | |
5273 __attribute__nonnull__(pTHX_1) | |
5274 __attribute__nonnull__(pTHX_2); | |
5275 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \ | |
5276 assert(sv); assert(mg) | |
5277 | |
5278 #endif | |
5279 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) | |
5280 PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) | |
5281 __attribute__nonnull__(1); | |
5282 #define PERL_ARGS_ASSERT_MY_BZERO \ | |
5283 assert(loc) | |
5284 | |
5285 #endif | |
5286 #if !defined(HAS_GETENV_LEN) | |
5287 PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len) | |
5288 __attribute__nonnull__(pTHX_1) | |
5289 __attribute__nonnull__(pTHX_2); | |
5290 #define PERL_ARGS_ASSERT_GETENV_LEN \ | |
5291 assert(env_elem); assert(len) | |
5292 | |
5293 #endif | |
5294 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) | |
5295 PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) | |
5296 __attribute__pure__ | |
5297 __attribute__nonnull__(1) | |
5298 __attribute__nonnull__(2); | |
5299 #define PERL_ARGS_ASSERT_MY_MEMCMP \ | |
5300 assert(s1); assert(s2) | |
5301 | |
5302 #endif | |
5303 #if !defined(HAS_MEMSET) | |
5304 PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) | |
5305 __attribute__nonnull__(1); | |
5306 #define PERL_ARGS_ASSERT_MY_MEMSET \ | |
5307 assert(loc) | |
5308 | |
5309 #endif | |
5310 #if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) | |
5311 # if defined(PERL_IN_PP_SYS_C) | |
5312 STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) | |
5313 __attribute__warn_unused_result__ | |
5314 __attribute__nonnull__(pTHX_1) | |
5315 __attribute__nonnull__(pTHX_2); | |
5316 #define PERL_ARGS_ASSERT_DOONELINER \ | |
5317 assert(cmd); assert(filename) | |
5318 | |
5319 # endif | |
5320 #endif | |
5321 #if !defined(HAS_RENAME) | |
5322 PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) | |
5323 __attribute__nonnull__(pTHX_1) | |
5324 __attribute__nonnull__(pTHX_2); | |
5325 #define PERL_ARGS_ASSERT_SAME_DIRENT \ | |
5326 assert(a); assert(b) | |
5327 | |
5328 #endif | |
5329 #if !defined(HAS_SIGNBIT) | |
5330 PERL_CALLCONV int Perl_signbit(NV f) | |
5331 __attribute__pure__; | |
5332 | |
5333 #endif | |
5334 #if !defined(HAS_STRLCAT) | |
5335 PERL_CALLCONV Size_t Perl_my_strlcat(char *dst, const char *src, Size_t size); | |
5336 #endif | |
5337 #if !defined(HAS_STRLCPY) | |
5338 PERL_CALLCONV Size_t Perl_my_strlcpy(char *dst, const char *src, Size_t size); | |
5339 #endif | |
5340 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) | |
5341 PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) | |
5342 __attribute__warn_unused_result__; | |
5343 | |
5344 #endif | |
5345 #if !defined(NV_PRESERVES_UV) | |
5346 # if defined(DEBUGGING) | |
5347 # if defined(PERL_IN_SV_C) | |
5348 STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *const sv, I32 numtype) | |
5349 __attribute__nonnull__(pTHX_1); | |
5350 #define PERL_ARGS_ASSERT_SV_2IUV_NON_PRESERVE \ | |
5351 assert(sv) | |
5352 | |
5353 # endif | |
5354 # endif | |
5355 #endif | |
5356 #if !defined(PERL_DISABLE_PMC) | |
5357 # if defined(PERL_IN_PP_CTL_C) | |
5358 STATIC PerlIO * S_doopen_pm(pTHX_ SV *name) | |
5359 __attribute__warn_unused_result__ | |
5360 __attribute__nonnull__(pTHX_1); | |
5361 #define PERL_ARGS_ASSERT_DOOPEN_PM \ | |
5362 assert(name) | |
5363 | |
5364 # endif | |
5365 #endif | |
5366 #if !defined(PERL_EXT_RE_BUILD) | |
5367 # if defined(PERL_IN_REGCOMP_C) | |
5368 PERL_STATIC_INLINE IV* S_get_invlist_previous_index_addr(SV* invlist) | |
5369 __attribute__warn_unused_result__ | |
5370 __attribute__nonnull__(1); | |
5371 #define PERL_ARGS_ASSERT_GET_INVLIST_PREVIOUS_INDEX_ADDR \ | |
5372 assert(invlist) | |
5373 | |
5374 PERL_STATIC_INLINE bool S_invlist_is_iterating(SV* const invlist) | |
5375 __attribute__warn_unused_result__ | |
5376 __attribute__nonnull__(1); | |
5377 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING \ | |
5378 assert(invlist) | |
5379 | |
5380 PERL_STATIC_INLINE IV S_invlist_previous_index(SV* const invlist) | |
5381 __attribute__warn_unused_result__ | |
5382 __attribute__nonnull__(1); | |
5383 #define PERL_ARGS_ASSERT_INVLIST_PREVIOUS_INDEX \ | |
5384 assert(invlist) | |
5385 | |
5386 PERL_STATIC_INLINE void S_invlist_set_previous_index(SV* const invlist, const IV index) | |
5387 __attribute__nonnull__(1); | |
5388 #define PERL_ARGS_ASSERT_INVLIST_SET_PREVIOUS_INDEX \ | |
5389 assert(invlist) | |
5390 | |
5391 PERL_STATIC_INLINE void S_invlist_trim(SV* const invlist) | |
5392 __attribute__nonnull__(1); | |
5393 #define PERL_ARGS_ASSERT_INVLIST_TRIM \ | |
5394 assert(invlist) | |
5395 | |
5396 # endif | |
5397 #endif | |
5398 #if !defined(PERL_IMPLICIT_SYS) | |
5399 PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); | |
5400 PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode) | |
5401 __attribute__nonnull__(pTHX_1) | |
5402 __attribute__nonnull__(pTHX_2); | |
5403 #define PERL_ARGS_ASSERT_MY_POPEN \ | |
5404 assert(cmd); assert(mode) | |
5405 | |
5406 #endif | |
5407 #if !defined(PERL_IS_MINIPERL) | |
5408 # if defined(PERL_IN_PERL_C) | |
5409 STATIC SV * S_incpush_if_exists(pTHX_ AV *const av, SV *dir, SV *const stem) | |
5410 __attribute__nonnull__(pTHX_1) | |
5411 __attribute__nonnull__(pTHX_2) | |
5412 __attribute__nonnull__(pTHX_3); | |
5413 #define PERL_ARGS_ASSERT_INCPUSH_IF_EXISTS \ | |
5414 assert(av); assert(dir); assert(stem) | |
5415 | |
5416 # endif | |
5417 #endif | |
5418 #if !defined(PERL_NO_INLINE_FUNCTIONS) | |
5419 PERL_STATIC_INLINE STRLEN S__is_utf8_char_slow(const U8 *s, const U8 *e) | |
5420 __attribute__warn_unused_result__ | |
5421 __attribute__nonnull__(1) | |
5422 __attribute__nonnull__(2); | |
5423 #define PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW \ | |
5424 assert(s); assert(e) | |
5425 | |
5426 PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest) | |
5427 __attribute__nonnull__(2); | |
5428 #define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \ | |
5429 assert(dest) | |
5430 | |
5431 PERL_STATIC_INLINE SSize_t S_av_top_index(pTHX_ AV *av) | |
5432 __attribute__warn_unused_result__ | |
5433 __attribute__nonnull__(pTHX_1); | |
5434 #define PERL_ARGS_ASSERT_AV_TOP_INDEX \ | |
5435 assert(av) | |
5436 | |
5437 PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name) | |
5438 __attribute__warn_unused_result__ | |
5439 __attribute__nonnull__(pTHX_1) | |
5440 __attribute__nonnull__(pTHX_3) | |
5441 __attribute__nonnull__(pTHX_4); | |
5442 #define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \ | |
5443 assert(pv); assert(what); assert(op_name) | |
5444 | |
5445 PERL_STATIC_INLINE bool S_sv_only_taint_gmagic(SV *sv) | |
5446 __attribute__nonnull__(1); | |
5447 #define PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC \ | |
5448 assert(sv) | |
5449 | |
5450 #endif | |
5451 #if !defined(PERL_NO_UTF16_FILTER) | |
5452 # if defined(PERL_IN_TOKE_C) | |
5453 STATIC U8* S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed) | |
5454 __attribute__nonnull__(pTHX_1); | |
5455 #define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \ | |
5456 assert(s) | |
5457 | |
5458 STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen) | |
5459 __attribute__nonnull__(pTHX_2); | |
5460 #define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \ | |
5461 assert(sv) | |
5462 | |
5463 # endif | |
5464 #endif | |
5465 #if !defined(SETUID_SCRIPTS_ARE_SECURE_NOW) | |
5466 # if defined(PERL_IN_PERL_C) | |
5467 STATIC void S_validate_suid(pTHX_ PerlIO *rsfp) | |
5468 __attribute__nonnull__(pTHX_1); | |
5469 #define PERL_ARGS_ASSERT_VALIDATE_SUID \ | |
5470 assert(rsfp) | |
5471 | |
5472 # endif | |
5473 #endif | |
5474 #if !defined(SPRINTF_RETURNS_STRLEN) | |
5475 PERL_CALLCONV int Perl_my_sprintf(char *buffer, const char *pat, ...) | |
5476 __attribute__nonnull__(1) | |
5477 __attribute__nonnull__(2); | |
5478 #define PERL_ARGS_ASSERT_MY_SPRINTF \ | |
5479 assert(buffer); assert(pat) | |
5480 | |
5481 #endif | |
5482 #if !defined(USE_QUADMATH) | |
5483 # if defined(PERL_IN_NUMERIC_C) | |
5484 STATIC NV S_mulexp10(NV value, I32 exponent); | |
5485 # endif | |
5486 #endif | |
5487 #if !defined(WIN32) | |
5488 PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report) | |
5489 __attribute__nonnull__(pTHX_1); | |
5490 #define PERL_ARGS_ASSERT_DO_EXEC3 \ | |
5491 assert(incmd) | |
5492 | |
5493 #endif | |
5494 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) | |
5495 PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) | |
5496 __attribute__nonnull__(1) | |
5497 __attribute__nonnull__(2); | |
5498 #define PERL_ARGS_ASSERT_MY_BCOPY \ | |
5499 assert(from); assert(to) | |
5500 | |
5501 #endif | |
5502 #if defined(DEBUGGING) | |
5503 PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp) | |
5504 __attribute__warn_unused_result__ | |
5505 __attribute__nonnull__(pTHX_1); | |
5506 #define PERL_ARGS_ASSERT_GET_DEBUG_OPTS \ | |
5507 assert(s) | |
5508 | |
5509 PERL_CALLCONV void Perl_hv_assert(pTHX_ HV *hv) | |
5510 __attribute__nonnull__(pTHX_1); | |
5511 #define PERL_ARGS_ASSERT_HV_ASSERT \ | |
5512 assert(hv) | |
5513 | |
5514 PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv) | |
5515 __attribute__nonnull__(pTHX_2); | |
5516 #define PERL_ARGS_ASSERT_PAD_SETSV \ | |
5517 assert(sv) | |
5518 | |
5519 PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); | |
5520 PERL_CALLCONV void Perl_set_padlist(CV * cv, PADLIST * padlist) | |
5521 __attribute__nonnull__(1); | |
5522 #define PERL_ARGS_ASSERT_SET_PADLIST \ | |
5523 assert(cv) | |
5524 | |
5525 # if defined(PERL_IN_PAD_C) | |
5526 STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title) | |
5527 __attribute__nonnull__(pTHX_1) | |
5528 __attribute__nonnull__(pTHX_2); | |
5529 #define PERL_ARGS_ASSERT_CV_DUMP \ | |
5530 assert(cv); assert(title) | |
5531 | |
5532 # endif | |
5533 # if defined(PERL_IN_REGCOMP_C) | |
5534 STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 depth) | |
5535 __attribute__nonnull__(pTHX_1) | |
5536 __attribute__nonnull__(pTHX_3); | |
5537 #define PERL_ARGS_ASSERT_DUMP_TRIE \ | |
5538 assert(trie); assert(revcharmap) | |
5539 | |
5540 STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth) | |
5541 __attribute__nonnull__(pTHX_1) | |
5542 __attribute__nonnull__(pTHX_3); | |
5543 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_LIST \ | |
5544 assert(trie); assert(revcharmap) | |
5545 | |
5546 STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV* widecharmap, AV *revcharmap, U32 next_alloc, U32 depth) | |
5547 __attribute__nonnull__(pTHX_1) | |
5548 __attribute__nonnull__(pTHX_3); | |
5549 #define PERL_ARGS_ASSERT_DUMP_TRIE_INTERIM_TABLE \ | |
5550 assert(trie); assert(revcharmap) | |
5551 | |
5552 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) | |
5553 __attribute__nonnull__(pTHX_1) | |
5554 __attribute__nonnull__(pTHX_2) | |
5555 __attribute__nonnull__(pTHX_3) | |
5556 __attribute__nonnull__(pTHX_6); | |
5557 #define PERL_ARGS_ASSERT_DUMPUNTIL \ | |
5558 assert(r); assert(start); assert(node); assert(sv) | |
5559 | |
5560 STATIC bool S_put_charclass_bitmap_innards(pTHX_ SV* sv, char* bitmap, SV** bitmap_invlist) | |
5561 __attribute__nonnull__(pTHX_1) | |
5562 __attribute__nonnull__(pTHX_2); | |
5563 #define PERL_ARGS_ASSERT_PUT_CHARCLASS_BITMAP_INNARDS \ | |
5564 assert(sv); assert(bitmap) | |
5565 | |
5566 STATIC void S_put_code_point(pTHX_ SV* sv, UV c) | |
5567 __attribute__nonnull__(pTHX_1); | |
5568 #define PERL_ARGS_ASSERT_PUT_CODE_POINT \ | |
5569 assert(sv) | |
5570 | |
5571 STATIC void S_put_range(pTHX_ SV* sv, UV start, const UV end, const bool allow_literals) | |
5572 __attribute__nonnull__(pTHX_1); | |
5573 #define PERL_ARGS_ASSERT_PUT_RANGE \ | |
5574 assert(sv) | |
5575 | |
5576 STATIC void S_regdump_extflags(pTHX_ const char *lead, const U32 flags); | |
5577 STATIC void S_regdump_intflags(pTHX_ const char *lead, const U32 flags); | |
5578 STATIC U8 S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth) | |
5579 __attribute__nonnull__(pTHX_1) | |
5580 __attribute__nonnull__(pTHX_2) | |
5581 __attribute__nonnull__(pTHX_3); | |
5582 #define PERL_ARGS_ASSERT_REGTAIL_STUDY \ | |
5583 assert(pRExC_state); assert(p); assert(val) | |
5584 | |
5585 # endif | |
5586 # if defined(PERL_IN_REGEXEC_C) | |
5587 STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb) | |
5588 __attribute__nonnull__(pTHX_1) | |
5589 __attribute__nonnull__(pTHX_3) | |
5590 __attribute__nonnull__(pTHX_4) | |
5591 __attribute__nonnull__(pTHX_5); | |
5592 #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \ | |
5593 assert(prog); assert(start); assert(end); assert(blurb) | |
5594 | |
5595 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) | |
5596 __attribute__nonnull__(pTHX_1) | |
5597 __attribute__nonnull__(pTHX_2) | |
5598 __attribute__nonnull__(pTHX_3) | |
5599 __attribute__nonnull__(pTHX_4) | |
5600 __attribute__nonnull__(pTHX_5); | |
5601 #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \ | |
5602 assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry) | |
5603 | |
5604 # endif | |
5605 # if defined(PERL_IN_SV_C) | |
5606 STATIC void S_del_sv(pTHX_ SV *p) | |
5607 __attribute__nonnull__(pTHX_1); | |
5608 #define PERL_ARGS_ASSERT_DEL_SV \ | |
5609 assert(p) | |
5610 | |
5611 # endif | |
5612 # if defined(PERL_IN_TOKE_C) | |
5613 STATIC void S_printbuf(pTHX_ const char *const fmt, const char *const s) | |
5614 __attribute__format__(__printf__,pTHX_1,0) | |
5615 __attribute__nonnull__(pTHX_1) | |
5616 __attribute__nonnull__(pTHX_2); | |
5617 #define PERL_ARGS_ASSERT_PRINTBUF \ | |
5618 assert(fmt); assert(s) | |
5619 | |
5620 STATIC int S_tokereport(pTHX_ I32 rv, const YYSTYPE* lvalp) | |
5621 __attribute__nonnull__(pTHX_2); | |
5622 #define PERL_ARGS_ASSERT_TOKEREPORT \ | |
5623 assert(lvalp) | |
5624 | |
5625 # endif | |
5626 #endif | |
5627 #if defined(DEBUG_LEAKING_SCALARS_FORK_DUMP) | |
5628 PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv) | |
5629 __attribute__nonnull__(pTHX_1); | |
5630 #define PERL_ARGS_ASSERT_DUMP_SV_CHILD \ | |
5631 assert(sv) | |
5632 | |
5633 #endif | |
5634 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) | |
5635 PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp) | |
5636 __attribute__nonnull__(pTHX_2) | |
5637 __attribute__nonnull__(pTHX_3); | |
5638 #define PERL_ARGS_ASSERT_DO_IPCCTL \ | |
5639 assert(mark); assert(sp) | |
5640 | |
5641 PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp) | |
5642 __attribute__nonnull__(pTHX_2) | |
5643 __attribute__nonnull__(pTHX_3); | |
5644 #define PERL_ARGS_ASSERT_DO_IPCGET \ | |
5645 assert(mark); assert(sp) | |
5646 | |
5647 PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp) | |
5648 __attribute__nonnull__(pTHX_1) | |
5649 __attribute__nonnull__(pTHX_2); | |
5650 #define PERL_ARGS_ASSERT_DO_MSGRCV \ | |
5651 assert(mark); assert(sp) | |
5652 | |
5653 PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp) | |
5654 __attribute__nonnull__(pTHX_1) | |
5655 __attribute__nonnull__(pTHX_2); | |
5656 #define PERL_ARGS_ASSERT_DO_MSGSND \ | |
5657 assert(mark); assert(sp) | |
5658 | |
5659 PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp) | |
5660 __attribute__nonnull__(pTHX_1) | |
5661 __attribute__nonnull__(pTHX_2); | |
5662 #define PERL_ARGS_ASSERT_DO_SEMOP \ | |
5663 assert(mark); assert(sp) | |
5664 | |
5665 PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp) | |
5666 __attribute__nonnull__(pTHX_2) | |
5667 __attribute__nonnull__(pTHX_3); | |
5668 #define PERL_ARGS_ASSERT_DO_SHMIO \ | |
5669 assert(mark); assert(sp) | |
5670 | |
5671 #endif | |
5672 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO) | |
5673 PERL_CALLCONV Signal_t Perl_csighandler(int sig, siginfo_t *info, void *uap); | |
5674 PERL_CALLCONV Signal_t Perl_sighandler(int sig, siginfo_t *info, void *uap); | |
5675 #endif | |
5676 #if defined(HAVE_INTERP_INTERN) | |
5677 PERL_CALLCONV void Perl_sys_intern_clear(pTHX); | |
5678 PERL_CALLCONV void Perl_sys_intern_init(pTHX); | |
5679 # if defined(USE_ITHREADS) | |
5680 PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) | |
5681 __attribute__nonnull__(pTHX_1) | |
5682 __attribute__nonnull__(pTHX_2); | |
5683 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \ | |
5684 assert(src); assert(dst) | |
5685 | |
5686 # endif | |
5687 #endif | |
5688 #if defined(MYMALLOC) | |
5689 PERL_CALLCONV void Perl_dump_mstats(pTHX_ const char* s) | |
5690 __attribute__nonnull__(pTHX_1); | |
5691 #define PERL_ARGS_ASSERT_DUMP_MSTATS \ | |
5692 assert(s) | |
5693 | |
5694 PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level) | |
5695 __attribute__nonnull__(pTHX_1); | |
5696 #define PERL_ARGS_ASSERT_GET_MSTATS \ | |
5697 assert(buf) | |
5698 | |
5699 PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes) | |
5700 __attribute__warn_unused_result__; | |
5701 | |
5702 PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) | |
5703 __attribute__warn_unused_result__ | |
5704 __attribute__nonnull__(1); | |
5705 #define PERL_ARGS_ASSERT_MALLOCED_SIZE \ | |
5706 assert(p) | |
5707 | |
5708 #endif | |
5709 #if defined(NO_MATHOMS) | |
5710 /* PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); */ | |
5711 #endif | |
5712 #if defined(PERL_ANY_COW) | |
5713 PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr) | |
5714 __attribute__nonnull__(pTHX_2); | |
5715 #define PERL_ARGS_ASSERT_SV_SETSV_COW \ | |
5716 assert(sstr) | |
5717 | |
5718 #endif | |
5719 #if defined(PERL_CORE) | |
5720 PERL_CALLCONV void Perl_opslab_force_free(pTHX_ OPSLAB *slab) | |
5721 __attribute__nonnull__(pTHX_1); | |
5722 #define PERL_ARGS_ASSERT_OPSLAB_FORCE_FREE \ | |
5723 assert(slab) | |
5724 | |
5725 PERL_CALLCONV void Perl_opslab_free(pTHX_ OPSLAB *slab) | |
5726 __attribute__nonnull__(pTHX_1); | |
5727 #define PERL_ARGS_ASSERT_OPSLAB_FREE \ | |
5728 assert(slab) | |
5729 | |
5730 PERL_CALLCONV void Perl_opslab_free_nopad(pTHX_ OPSLAB *slab) | |
5731 __attribute__nonnull__(pTHX_1); | |
5732 #define PERL_ARGS_ASSERT_OPSLAB_FREE_NOPAD \ | |
5733 assert(slab) | |
5734 | |
5735 PERL_CALLCONV void Perl_parser_free_nexttoke_ops(pTHX_ yy_parser *parser, OPSLAB *slab) | |
5736 __attribute__nonnull__(pTHX_1) | |
5737 __attribute__nonnull__(pTHX_2); | |
5738 #define PERL_ARGS_ASSERT_PARSER_FREE_NEXTTOKE_OPS \ | |
5739 assert(parser); assert(slab) | |
5740 | |
5741 PERL_STATIC_INLINE bool S_should_warn_nl(const char *pv) | |
5742 __attribute__warn_unused_result__ | |
5743 __attribute__nonnull__(1); | |
5744 #define PERL_ARGS_ASSERT_SHOULD_WARN_NL \ | |
5745 assert(pv) | |
5746 | |
5747 # if defined(PERL_DEBUG_READONLY_OPS) | |
5748 PERL_CALLCONV void Perl_Slab_to_ro(pTHX_ OPSLAB *slab) | |
5749 __attribute__nonnull__(pTHX_1); | |
5750 #define PERL_ARGS_ASSERT_SLAB_TO_RO \ | |
5751 assert(slab) | |
5752 | |
5753 PERL_CALLCONV void Perl_Slab_to_rw(pTHX_ OPSLAB *const slab) | |
5754 __attribute__nonnull__(pTHX_1); | |
5755 #define PERL_ARGS_ASSERT_SLAB_TO_RW \ | |
5756 assert(slab) | |
5757 | |
5758 # endif | |
5759 #endif | |
5760 #if defined(PERL_CORE) || defined (PERL_EXT) | |
5761 PERL_STATIC_INLINE STRLEN S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp) | |
5762 __attribute__nonnull__(pTHX_1) | |
5763 __attribute__nonnull__(pTHX_2); | |
5764 #define PERL_ARGS_ASSERT_SV_OR_PV_POS_U2B \ | |
5765 assert(sv); assert(pv) | |
5766 | |
5767 #endif | |
5768 #if defined(PERL_CR_FILTER) | |
5769 # if defined(PERL_IN_TOKE_C) | |
5770 STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen); | |
5771 STATIC void S_strip_return(pTHX_ SV *sv) | |
5772 __attribute__nonnull__(pTHX_1); | |
5773 #define PERL_ARGS_ASSERT_STRIP_RETURN \ | |
5774 assert(sv) | |
5775 | |
5776 # endif | |
5777 #endif | |
5778 #if defined(PERL_DEBUG_READONLY_COW) | |
5779 PERL_CALLCONV void Perl_sv_buf_to_ro(pTHX_ SV *sv) | |
5780 __attribute__nonnull__(pTHX_1); | |
5781 #define PERL_ARGS_ASSERT_SV_BUF_TO_RO \ | |
5782 assert(sv) | |
5783 | |
5784 # if defined(PERL_IN_SV_C) | |
5785 STATIC void S_sv_buf_to_rw(pTHX_ SV *sv) | |
5786 __attribute__nonnull__(pTHX_1); | |
5787 #define PERL_ARGS_ASSERT_SV_BUF_TO_RW \ | |
5788 assert(sv) | |
5789 | |
5790 # endif | |
5791 #endif | |
5792 #if defined(PERL_DEBUG_READONLY_OPS) | |
5793 PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o) | |
5794 __attribute__nonnull__(pTHX_1); | |
5795 #define PERL_ARGS_ASSERT_OP_REFCNT_DEC \ | |
5796 assert(o) | |
5797 | |
5798 PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o); | |
5799 #endif | |
5800 #if defined(PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION) | |
5801 /* PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) | |
5802 __attribute__nonnull__(pTHX_1); */ | |
5803 | |
5804 #endif | |
5805 #if defined(PERL_DONT_CREATE_GVSV) | |
5806 /* PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV *gv); */ | |
5807 #endif | |
5808 #if defined(PERL_GLOBAL_STRUCT) | |
5809 PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); | |
5810 PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp) | |
5811 __attribute__nonnull__(pTHX_1); | |
5812 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT \ | |
5813 assert(plvarsp) | |
5814 | |
5815 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX); | |
5816 #endif | |
5817 #if defined(PERL_GLOBAL_STRUCT_PRIVATE) | |
5818 # if defined(PERL_IMPLICIT_CONTEXT) | |
5819 PERL_CALLCONV int Perl_my_cxt_index(pTHX_ const char *my_cxt_key) | |
5820 __attribute__nonnull__(pTHX_1); | |
5821 #define PERL_ARGS_ASSERT_MY_CXT_INDEX \ | |
5822 assert(my_cxt_key) | |
5823 | |
5824 PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ const char *my_cxt_key, size_t size) | |
5825 __attribute__nonnull__(pTHX_1); | |
5826 #define PERL_ARGS_ASSERT_MY_CXT_INIT \ | |
5827 assert(my_cxt_key) | |
5828 | |
5829 # endif | |
5830 #endif | |
5831 #if defined(PERL_IMPLICIT_CONTEXT) | |
5832 PERL_CALLCONV_NO_RET void Perl_croak_nocontext(const char* pat, ...) | |
5833 __attribute__noreturn__ | |
5834 __attribute__format__null_ok__(__printf__,1,2); | |
5835 | |
5836 PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) | |
5837 __attribute__format__(__printf__,1,2) | |
5838 __attribute__nonnull__(1); | |
5839 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT \ | |
5840 assert(pat) | |
5841 | |
5842 PERL_CALLCONV_NO_RET OP* Perl_die_nocontext(const char* pat, ...) | |
5843 __attribute__noreturn__ | |
5844 __attribute__format__null_ok__(__printf__,1,2); | |
5845 | |
5846 PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) | |
5847 __attribute__format__(__printf__,1,2) | |
5848 __attribute__nonnull__(1); | |
5849 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \ | |
5850 assert(pat) | |
5851 | |
5852 PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) | |
5853 __attribute__format__(__printf__,2,3) | |
5854 __attribute__nonnull__(1) | |
5855 __attribute__nonnull__(2); | |
5856 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT \ | |
5857 assert(stream); assert(format) | |
5858 | |
5859 PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) | |
5860 __attribute__nonnull__(2); | |
5861 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \ | |
5862 assert(name) | |
5863 | |
5864 PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) | |
5865 __attribute__format__(__printf__,1,2) | |
5866 __attribute__nonnull__(1); | |
5867 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \ | |
5868 assert(pat) | |
5869 | |
5870 PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...) | |
5871 __attribute__format__(__printf__,1,2) | |
5872 __attribute__nonnull__(1); | |
5873 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \ | |
5874 assert(pat) | |
5875 | |
5876 PERL_CALLCONV int Perl_printf_nocontext(const char *format, ...) | |
5877 __attribute__format__(__printf__,1,2) | |
5878 __attribute__nonnull__(1); | |
5879 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT \ | |
5880 assert(format) | |
5881 | |
5882 PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...) | |
5883 __attribute__format__(__printf__,2,3) | |
5884 __attribute__nonnull__(1) | |
5885 __attribute__nonnull__(2); | |
5886 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \ | |
5887 assert(sv); assert(pat) | |
5888 | |
5889 PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...) | |
5890 __attribute__format__(__printf__,2,3) | |
5891 __attribute__nonnull__(1) | |
5892 __attribute__nonnull__(2); | |
5893 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \ | |
5894 assert(sv); assert(pat) | |
5895 | |
5896 PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...) | |
5897 __attribute__format__(__printf__,2,3) | |
5898 __attribute__nonnull__(1) | |
5899 __attribute__nonnull__(2); | |
5900 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \ | |
5901 assert(sv); assert(pat) | |
5902 | |
5903 PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...) | |
5904 __attribute__format__(__printf__,2,3) | |
5905 __attribute__nonnull__(1) | |
5906 __attribute__nonnull__(2); | |
5907 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \ | |
5908 assert(sv); assert(pat) | |
5909 | |
5910 PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) | |
5911 __attribute__format__(__printf__,1,2) | |
5912 __attribute__nonnull__(1); | |
5913 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \ | |
5914 assert(pat) | |
5915 | |
5916 PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) | |
5917 __attribute__format__(__printf__,2,3) | |
5918 __attribute__nonnull__(2); | |
5919 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \ | |
5920 assert(pat) | |
5921 | |
5922 #endif | |
5923 #if defined(PERL_IMPLICIT_SYS) | |
5924 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) | |
5925 __attribute__nonnull__(1) | |
5926 __attribute__nonnull__(2) | |
5927 __attribute__nonnull__(3) | |
5928 __attribute__nonnull__(4) | |
5929 __attribute__nonnull__(5) | |
5930 __attribute__nonnull__(6) | |
5931 __attribute__nonnull__(7) | |
5932 __attribute__nonnull__(8) | |
5933 __attribute__nonnull__(9); | |
5934 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING \ | |
5935 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP) | |
5936 | |
5937 # if defined(USE_ITHREADS) | |
5938 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) | |
5939 __attribute__nonnull__(1) | |
5940 __attribute__nonnull__(3) | |
5941 __attribute__nonnull__(4) | |
5942 __attribute__nonnull__(5) | |
5943 __attribute__nonnull__(6) | |
5944 __attribute__nonnull__(7) | |
5945 __attribute__nonnull__(8) | |
5946 __attribute__nonnull__(9) | |
5947 __attribute__nonnull__(10) | |
5948 __attribute__nonnull__(11); | |
5949 #define PERL_ARGS_ASSERT_PERL_CLONE_USING \ | |
5950 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP) | |
5951 | |
5952 # endif | |
5953 #endif | |
5954 #if defined(PERL_IN_AV_C) | |
5955 STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av) | |
5956 __attribute__nonnull__(pTHX_1); | |
5957 #define PERL_ARGS_ASSERT_GET_AUX_MG \ | |
5958 assert(av) | |
5959 | |
5960 #endif | |
5961 #if defined(PERL_IN_DEB_C) | |
5962 STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max) | |
5963 __attribute__nonnull__(pTHX_1); | |
5964 #define PERL_ARGS_ASSERT_DEB_STACK_N \ | |
5965 assert(stack_base) | |
5966 | |
5967 #endif | |
5968 #if defined(PERL_IN_DOIO_C) | |
5969 STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report) | |
5970 __attribute__nonnull__(pTHX_1); | |
5971 #define PERL_ARGS_ASSERT_EXEC_FAILED \ | |
5972 assert(cmd) | |
5973 | |
5974 STATIC bool S_ingroup(pTHX_ Gid_t testgid, bool effective) | |
5975 __attribute__warn_unused_result__; | |
5976 | |
5977 STATIC bool S_openn_cleanup(pTHX_ GV *gv, IO *io, PerlIO *fp, char *mode, const char *oname, PerlIO *saveifp, PerlIO *saveofp, int savefd, char savetype, int writing, bool was_fdopen, const char *type) | |
5978 __attribute__nonnull__(pTHX_1) | |
5979 __attribute__nonnull__(pTHX_2) | |
5980 __attribute__nonnull__(pTHX_4) | |
5981 __attribute__nonnull__(pTHX_5); | |
5982 #define PERL_ARGS_ASSERT_OPENN_CLEANUP \ | |
5983 assert(gv); assert(io); assert(mode); assert(oname) | |
5984 | |
5985 STATIC IO * S_openn_setup(pTHX_ GV *gv, char *mode, PerlIO **saveifp, PerlIO **saveofp, int *savefd, char *savetype) | |
5986 __attribute__nonnull__(pTHX_1) | |
5987 __attribute__nonnull__(pTHX_2) | |
5988 __attribute__nonnull__(pTHX_3) | |
5989 __attribute__nonnull__(pTHX_4) | |
5990 __attribute__nonnull__(pTHX_5) | |
5991 __attribute__nonnull__(pTHX_6); | |
5992 #define PERL_ARGS_ASSERT_OPENN_SETUP \ | |
5993 assert(gv); assert(mode); assert(saveifp); assert(saveofp); assert(savefd); assert(savetype) | |
5994 | |
5995 #endif | |
5996 #if defined(PERL_IN_DOOP_C) | |
5997 STATIC I32 S_do_trans_complex(pTHX_ SV * const sv) | |
5998 __attribute__warn_unused_result__ | |
5999 __attribute__nonnull__(pTHX_1); | |
6000 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX \ | |
6001 assert(sv) | |
6002 | |
6003 STATIC I32 S_do_trans_complex_utf8(pTHX_ SV * const sv) | |
6004 __attribute__warn_unused_result__ | |
6005 __attribute__nonnull__(pTHX_1); | |
6006 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8 \ | |
6007 assert(sv) | |
6008 | |
6009 STATIC I32 S_do_trans_count(pTHX_ SV * const sv) | |
6010 __attribute__warn_unused_result__ | |
6011 __attribute__nonnull__(pTHX_1); | |
6012 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \ | |
6013 assert(sv) | |
6014 | |
6015 STATIC I32 S_do_trans_count_utf8(pTHX_ SV * const sv) | |
6016 __attribute__warn_unused_result__ | |
6017 __attribute__nonnull__(pTHX_1); | |
6018 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8 \ | |
6019 assert(sv) | |
6020 | |
6021 STATIC I32 S_do_trans_simple(pTHX_ SV * const sv) | |
6022 __attribute__warn_unused_result__ | |
6023 __attribute__nonnull__(pTHX_1); | |
6024 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE \ | |
6025 assert(sv) | |
6026 | |
6027 STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv) | |
6028 __attribute__warn_unused_result__ | |
6029 __attribute__nonnull__(pTHX_1); | |
6030 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8 \ | |
6031 assert(sv) | |
6032 | |
6033 #endif | |
6034 #if defined(PERL_IN_DUMP_C) | |
6035 STATIC CV* S_deb_curcv(pTHX_ I32 ix); | |
6036 STATIC void S_debprof(pTHX_ const OP *o) | |
6037 __attribute__nonnull__(pTHX_1); | |
6038 #define PERL_ARGS_ASSERT_DEBPROF \ | |
6039 assert(o) | |
6040 | |
6041 STATIC SV* S_pm_description(pTHX_ const PMOP *pm) | |
6042 __attribute__nonnull__(pTHX_1); | |
6043 #define PERL_ARGS_ASSERT_PM_DESCRIPTION \ | |
6044 assert(pm) | |
6045 | |
6046 STATIC UV S_sequence_num(pTHX_ const OP *o); | |
6047 #endif | |
6048 #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C) | |
6049 PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv) | |
6050 __attribute__nonnull__(pTHX_1); | |
6051 #define PERL_ARGS_ASSERT_HV_KILL_BACKREFS \ | |
6052 assert(hv) | |
6053 | |
6054 #endif | |
6055 #if defined(PERL_IN_GV_C) | |
6056 STATIC bool S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type) | |
6057 __attribute__nonnull__(pTHX_1) | |
6058 __attribute__nonnull__(pTHX_2); | |
6059 #define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \ | |
6060 assert(stash); assert(name) | |
6061 | |
6062 PERL_STATIC_INLINE GV* S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, I32 level, U32 flags); | |
6063 STATIC void S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type) | |
6064 __attribute__nonnull__(pTHX_1); | |
6065 #define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \ | |
6066 assert(gv) | |
6067 | |
6068 STATIC bool S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf8) | |
6069 __attribute__nonnull__(pTHX_1); | |
6070 #define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \ | |
6071 assert(name) | |
6072 | |
6073 STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, const svtype sv_type) | |
6074 __attribute__nonnull__(pTHX_1) | |
6075 __attribute__nonnull__(pTHX_2) | |
6076 __attribute__nonnull__(pTHX_3); | |
6077 #define PERL_ARGS_ASSERT_GV_MAGICALIZE \ | |
6078 assert(gv); assert(stash); assert(name) | |
6079 | |
6080 STATIC void S_gv_magicalize_isa(pTHX_ GV *gv) | |
6081 __attribute__nonnull__(pTHX_1); | |
6082 #define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \ | |
6083 assert(gv) | |
6084 | |
6085 PERL_STATIC_INLINE HV* S_gv_stashpvn_internal(pTHX_ const char* name, U32 namelen, I32 flags) | |
6086 __attribute__nonnull__(pTHX_1); | |
6087 #define PERL_ARGS_ASSERT_GV_STASHPVN_INTERNAL \ | |
6088 assert(name) | |
6089 | |
6090 PERL_STATIC_INLINE HV* S_gv_stashsvpvn_cached(pTHX_ SV *namesv, const char* name, U32 namelen, I32 flags); | |
6091 STATIC void S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type) | |
6092 __attribute__nonnull__(pTHX_1) | |
6093 __attribute__nonnull__(pTHX_2); | |
6094 #define PERL_ARGS_ASSERT_MAYBE_MULTIMAGIC_GV \ | |
6095 assert(gv); assert(name) | |
6096 | |
6097 STATIC bool S_parse_gv_stash_name(pTHX_ HV **stash, GV **gv, const char **name, STRLEN *len, const char *nambeg, STRLEN full_len, const U32 is_utf8, const I32 add) | |
6098 __attribute__nonnull__(pTHX_1) | |
6099 __attribute__nonnull__(pTHX_2) | |
6100 __attribute__nonnull__(pTHX_3) | |
6101 __attribute__nonnull__(pTHX_4) | |
6102 __attribute__nonnull__(pTHX_5); | |
6103 #define PERL_ARGS_ASSERT_PARSE_GV_STASH_NAME \ | |
6104 assert(stash); assert(gv); assert(name); assert(len); assert(nambeg) | |
6105 | |
6106 STATIC HV* S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags) | |
6107 __attribute__nonnull__(pTHX_1) | |
6108 __attribute__nonnull__(pTHX_2) | |
6109 __attribute__nonnull__(pTHX_3) | |
6110 __attribute__nonnull__(pTHX_4); | |
6111 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD \ | |
6112 assert(gv); assert(varpv); assert(namesv); assert(methpv) | |
6113 | |
6114 #endif | |
6115 #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C) | |
6116 PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *const tsv, SV *const sv) | |
6117 __attribute__nonnull__(pTHX_1) | |
6118 __attribute__nonnull__(pTHX_2); | |
6119 #define PERL_ARGS_ASSERT_SV_ADD_BACKREF \ | |
6120 assert(tsv); assert(sv) | |
6121 | |
6122 #endif | |
6123 #if defined(PERL_IN_HV_C) | |
6124 STATIC void S_clear_placeholders(pTHX_ HV *hv, U32 items) | |
6125 __attribute__nonnull__(pTHX_1); | |
6126 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS \ | |
6127 assert(hv) | |
6128 | |
6129 STATIC void S_hfreeentries(pTHX_ HV *hv) | |
6130 __attribute__nonnull__(pTHX_1); | |
6131 #define PERL_ARGS_ASSERT_HFREEENTRIES \ | |
6132 assert(hv) | |
6133 | |
6134 STATIC void S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize) | |
6135 __attribute__nonnull__(pTHX_1); | |
6136 #define PERL_ARGS_ASSERT_HSPLIT \ | |
6137 assert(hv) | |
6138 | |
6139 STATIC struct xpvhv_aux* S_hv_auxinit(pTHX_ HV *hv) | |
6140 __attribute__nonnull__(pTHX_1); | |
6141 #define PERL_ARGS_ASSERT_HV_AUXINIT \ | |
6142 assert(hv) | |
6143 | |
6144 STATIC struct xpvhv_aux* S_hv_auxinit_internal(struct xpvhv_aux *iter) | |
6145 __attribute__nonnull__(1); | |
6146 #define PERL_ARGS_ASSERT_HV_AUXINIT_INTERNAL \ | |
6147 assert(iter) | |
6148 | |
6149 STATIC SV* S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); | |
6150 STATIC SV* S_hv_free_ent_ret(pTHX_ HV *hv, HE *entry) | |
6151 __attribute__nonnull__(pTHX_1) | |
6152 __attribute__nonnull__(pTHX_2); | |
6153 #define PERL_ARGS_ASSERT_HV_FREE_ENT_RET \ | |
6154 assert(hv); assert(entry) | |
6155 | |
6156 STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store) | |
6157 __attribute__nonnull__(1) | |
6158 __attribute__nonnull__(2) | |
6159 __attribute__nonnull__(3); | |
6160 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \ | |
6161 assert(hv); assert(needs_copy); assert(needs_store) | |
6162 | |
6163 PERL_STATIC_NO_RET void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) | |
6164 __attribute__noreturn__ | |
6165 __attribute__nonnull__(pTHX_2) | |
6166 __attribute__nonnull__(pTHX_4); | |
6167 #define PERL_ARGS_ASSERT_HV_NOTALLOWED \ | |
6168 assert(key); assert(msg) | |
6169 | |
6170 STATIC HE* S_new_he(pTHX) | |
6171 __attribute__malloc__ | |
6172 __attribute__warn_unused_result__; | |
6173 | |
6174 PERL_STATIC_INLINE U32 S_ptr_hash(PTRV u); | |
6175 STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he) | |
6176 __attribute__nonnull__(pTHX_1); | |
6177 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE \ | |
6178 assert(he) | |
6179 | |
6180 STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags) | |
6181 __attribute__malloc__ | |
6182 __attribute__warn_unused_result__ | |
6183 __attribute__nonnull__(1); | |
6184 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \ | |
6185 assert(str) | |
6186 | |
6187 STATIC HEK* S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags) | |
6188 __attribute__warn_unused_result__ | |
6189 __attribute__nonnull__(pTHX_1); | |
6190 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS \ | |
6191 assert(str) | |
6192 | |
6193 STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash); | |
6194 #endif | |
6195 #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) | |
6196 PERL_CALLCONV void Perl_sv_kill_backrefs(pTHX_ SV *const sv, AV *const av) | |
6197 __attribute__nonnull__(pTHX_1); | |
6198 #define PERL_ARGS_ASSERT_SV_KILL_BACKREFS \ | |
6199 assert(sv) | |
6200 | |
6201 #endif | |
6202 #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) | |
6203 PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp) | |
6204 __attribute__nonnull__(pTHX_1) | |
6205 __attribute__nonnull__(pTHX_2); | |
6206 #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \ | |
6207 assert(hv); assert(indexp) | |
6208 | |
6209 #endif | |
6210 #if defined(PERL_IN_MALLOC_C) | |
6211 STATIC int S_adjust_size_and_find_bucket(size_t *nbytes_p) | |
6212 __attribute__nonnull__(1); | |
6213 #define PERL_ARGS_ASSERT_ADJUST_SIZE_AND_FIND_BUCKET \ | |
6214 assert(nbytes_p) | |
6215 | |
6216 #endif | |
6217 #if defined(PERL_IN_MG_C) | |
6218 STATIC void S_fixup_errno_string(pTHX_ SV* sv) | |
6219 __attribute__nonnull__(pTHX_1); | |
6220 #define PERL_ARGS_ASSERT_FIXUP_ERRNO_STRING \ | |
6221 assert(sv) | |
6222 | |
6223 STATIC SV* S_magic_methcall1(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, int n, SV *val) | |
6224 __attribute__nonnull__(pTHX_1) | |
6225 __attribute__nonnull__(pTHX_2) | |
6226 __attribute__nonnull__(pTHX_3); | |
6227 #define PERL_ARGS_ASSERT_MAGIC_METHCALL1 \ | |
6228 assert(sv); assert(mg); assert(meth) | |
6229 | |
6230 STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, SV *meth) | |
6231 __attribute__nonnull__(pTHX_1) | |
6232 __attribute__nonnull__(pTHX_2) | |
6233 __attribute__nonnull__(pTHX_3); | |
6234 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \ | |
6235 assert(sv); assert(mg); assert(meth) | |
6236 | |
6237 STATIC void S_restore_magic(pTHX_ const void *p); | |
6238 STATIC void S_save_magic_flags(pTHX_ I32 mgs_ix, SV *sv, U32 flags) | |
6239 __attribute__nonnull__(pTHX_2); | |
6240 #define PERL_ARGS_ASSERT_SAVE_MAGIC_FLAGS \ | |
6241 assert(sv) | |
6242 | |
6243 STATIC void S_unwind_handler_stack(pTHX_ const void *p); | |
6244 #endif | |
6245 #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C) | |
6246 PERL_CALLCONV bool Perl_translate_substr_offsets(STRLEN curlen, IV pos1_iv, bool pos1_is_uv, IV len_iv, bool len_is_uv, STRLEN *posp, STRLEN *lenp) | |
6247 __attribute__nonnull__(6) | |
6248 __attribute__nonnull__(7); | |
6249 #define PERL_ARGS_ASSERT_TRANSLATE_SUBSTR_OFFSETS \ | |
6250 assert(posp); assert(lenp) | |
6251 | |
6252 #endif | |
6253 #if defined(PERL_IN_MRO_C) | |
6254 STATIC void S_mro_clean_isarev(pTHX_ HV * const isa, const char * const name, const STRLEN len, HV * const exceptions, U32 hash, U32 flags) | |
6255 __attribute__nonnull__(pTHX_1) | |
6256 __attribute__nonnull__(pTHX_2); | |
6257 #define PERL_ARGS_ASSERT_MRO_CLEAN_ISAREV \ | |
6258 assert(isa); assert(name) | |
6259 | |
6260 STATIC void S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes, HV *stash, HV *oldstash, SV *namesv) | |
6261 __attribute__nonnull__(pTHX_1) | |
6262 __attribute__nonnull__(pTHX_2) | |
6263 __attribute__nonnull__(pTHX_5); | |
6264 #define PERL_ARGS_ASSERT_MRO_GATHER_AND_RENAME \ | |
6265 assert(stashes); assert(seen_stashes); assert(namesv) | |
6266 | |
6267 STATIC AV* S_mro_get_linear_isa_dfs(pTHX_ HV* stash, U32 level) | |
6268 __attribute__nonnull__(pTHX_1); | |
6269 #define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA_DFS \ | |
6270 assert(stash) | |
6271 | |
6272 #endif | |
6273 #if defined(PERL_IN_OP_C) | |
6274 PERL_STATIC_INLINE bool S_aassign_common_vars(pTHX_ OP* o); | |
6275 STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs) | |
6276 __attribute__nonnull__(pTHX_1) | |
6277 __attribute__nonnull__(pTHX_2); | |
6278 #define PERL_ARGS_ASSERT_APPLY_ATTRS \ | |
6279 assert(stash); assert(target) | |
6280 | |
6281 STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp) | |
6282 __attribute__nonnull__(pTHX_1) | |
6283 __attribute__nonnull__(pTHX_2) | |
6284 __attribute__nonnull__(pTHX_4); | |
6285 #define PERL_ARGS_ASSERT_APPLY_ATTRS_MY \ | |
6286 assert(stash); assert(target); assert(imopsp) | |
6287 | |
6288 STATIC I32 S_assignment_type(pTHX_ const OP *o) | |
6289 __attribute__warn_unused_result__; | |
6290 | |
6291 STATIC void S_bad_type_gv(pTHX_ I32 n, GV *gv, const OP *kid, const char *t) | |
6292 __attribute__nonnull__(pTHX_2) | |
6293 __attribute__nonnull__(pTHX_3) | |
6294 __attribute__nonnull__(pTHX_4); | |
6295 #define PERL_ARGS_ASSERT_BAD_TYPE_GV \ | |
6296 assert(gv); assert(kid); assert(t) | |
6297 | |
6298 STATIC void S_bad_type_pv(pTHX_ I32 n, const char *t, const OP *o, const OP *kid) | |
6299 __attribute__nonnull__(pTHX_2) | |
6300 __attribute__nonnull__(pTHX_3) | |
6301 __attribute__nonnull__(pTHX_4); | |
6302 #define PERL_ARGS_ASSERT_BAD_TYPE_PV \ | |
6303 assert(t); assert(o); assert(kid) | |
6304 | |
6305 STATIC void S_clear_special_blocks(pTHX_ const char *const fullname, GV *const gv, CV *const cv) | |
6306 __attribute__nonnull__(pTHX_1) | |
6307 __attribute__nonnull__(pTHX_2) | |
6308 __attribute__nonnull__(pTHX_3); | |
6309 #define PERL_ARGS_ASSERT_CLEAR_SPECIAL_BLOCKS \ | |
6310 assert(fullname); assert(gv); assert(cv) | |
6311 | |
6312 STATIC void S_cop_free(pTHX_ COP *cop) | |
6313 __attribute__nonnull__(pTHX_1); | |
6314 #define PERL_ARGS_ASSERT_COP_FREE \ | |
6315 assert(cop) | |
6316 | |
6317 STATIC OP * S_dup_attrlist(pTHX_ OP *o) | |
6318 __attribute__nonnull__(pTHX_1); | |
6319 #define PERL_ARGS_ASSERT_DUP_ATTRLIST \ | |
6320 assert(o) | |
6321 | |
6322 STATIC void S_finalize_op(pTHX_ OP* o) | |
6323 __attribute__nonnull__(pTHX_1); | |
6324 #define PERL_ARGS_ASSERT_FINALIZE_OP \ | |
6325 assert(o) | |
6326 | |
6327 STATIC void S_find_and_forget_pmops(pTHX_ OP *o) | |
6328 __attribute__nonnull__(pTHX_1); | |
6329 #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \ | |
6330 assert(o) | |
6331 | |
6332 STATIC OP* S_fold_constants(pTHX_ OP *o) | |
6333 __attribute__nonnull__(pTHX_1); | |
6334 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \ | |
6335 assert(o) | |
6336 | |
6337 STATIC OP* S_force_list(pTHX_ OP* arg, bool nullit); | |
6338 STATIC void S_forget_pmop(pTHX_ PMOP *const o) | |
6339 __attribute__nonnull__(pTHX_1); | |
6340 #define PERL_ARGS_ASSERT_FORGET_PMOP \ | |
6341 assert(o) | |
6342 | |
6343 STATIC OP* S_gen_constant_list(pTHX_ OP* o); | |
6344 STATIC void S_inplace_aassign(pTHX_ OP* o) | |
6345 __attribute__nonnull__(pTHX_1); | |
6346 #define PERL_ARGS_ASSERT_INPLACE_AASSIGN \ | |
6347 assert(o) | |
6348 | |
6349 STATIC bool S_is_handle_constructor(const OP *o, I32 numargs) | |
6350 __attribute__warn_unused_result__ | |
6351 __attribute__nonnull__(1); | |
6352 #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \ | |
6353 assert(o) | |
6354 | |
6355 STATIC OP* S_listkids(pTHX_ OP* o); | |
6356 STATIC bool S_looks_like_bool(pTHX_ const OP* o) | |
6357 __attribute__nonnull__(pTHX_1); | |
6358 #define PERL_ARGS_ASSERT_LOOKS_LIKE_BOOL \ | |
6359 assert(o) | |
6360 | |
6361 STATIC OP* S_modkids(pTHX_ OP *o, I32 type); | |
6362 STATIC void S_move_proto_attr(pTHX_ OP **proto, OP **attrs, const GV *name) | |
6363 __attribute__nonnull__(pTHX_1) | |
6364 __attribute__nonnull__(pTHX_2) | |
6365 __attribute__nonnull__(pTHX_3); | |
6366 #define PERL_ARGS_ASSERT_MOVE_PROTO_ATTR \ | |
6367 assert(proto); assert(attrs); assert(name) | |
6368 | |
6369 STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) | |
6370 __attribute__nonnull__(pTHX_3); | |
6371 #define PERL_ARGS_ASSERT_MY_KID \ | |
6372 assert(imopsp) | |
6373 | |
6374 STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg) | |
6375 __attribute__nonnull__(pTHX_2); | |
6376 #define PERL_ARGS_ASSERT_NEWGIVWHENOP \ | |
6377 assert(block) | |
6378 | |
6379 PERL_STATIC_INLINE OP* S_newMETHOP_internal(pTHX_ I32 type, I32 flags, OP* dynamic_meth, SV* const_meth); | |
6380 STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) | |
6381 __attribute__warn_unused_result__ | |
6382 __attribute__nonnull__(pTHX_3) | |
6383 __attribute__nonnull__(pTHX_4); | |
6384 #define PERL_ARGS_ASSERT_NEW_LOGOP \ | |
6385 assert(firstp); assert(otherp) | |
6386 | |
6387 STATIC void S_no_bareword_allowed(pTHX_ OP *o) | |
6388 __attribute__nonnull__(pTHX_1); | |
6389 #define PERL_ARGS_ASSERT_NO_BAREWORD_ALLOWED \ | |
6390 assert(o) | |
6391 | |
6392 STATIC OP* S_no_fh_allowed(pTHX_ OP *o) | |
6393 __attribute__warn_unused_result__ | |
6394 __attribute__nonnull__(pTHX_1); | |
6395 #define PERL_ARGS_ASSERT_NO_FH_ALLOWED \ | |
6396 assert(o) | |
6397 | |
6398 PERL_STATIC_INLINE OP* S_op_integerize(pTHX_ OP *o) | |
6399 __attribute__nonnull__(pTHX_1); | |
6400 #define PERL_ARGS_ASSERT_OP_INTEGERIZE \ | |
6401 assert(o) | |
6402 | |
6403 PERL_STATIC_INLINE OP* S_op_std_init(pTHX_ OP *o) | |
6404 __attribute__nonnull__(pTHX_1); | |
6405 #define PERL_ARGS_ASSERT_OP_STD_INIT \ | |
6406 assert(o) | |
6407 | |
6408 STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) | |
6409 __attribute__nonnull__(pTHX_1) | |
6410 __attribute__nonnull__(pTHX_2) | |
6411 __attribute__nonnull__(pTHX_3); | |
6412 #define PERL_ARGS_ASSERT_PMTRANS \ | |
6413 assert(o); assert(expr); assert(repl) | |
6414 | |
6415 STATIC bool S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, GV *const gv, CV *const cv) | |
6416 __attribute__nonnull__(pTHX_2) | |
6417 __attribute__nonnull__(pTHX_3) | |
6418 __attribute__nonnull__(pTHX_4); | |
6419 #define PERL_ARGS_ASSERT_PROCESS_SPECIAL_BLOCKS \ | |
6420 assert(fullname); assert(gv); assert(cv) | |
6421 | |
6422 STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond); | |
6423 STATIC OP* S_refkids(pTHX_ OP* o, I32 type); | |
6424 STATIC bool S_scalar_mod_type(const OP *o, I32 type) | |
6425 __attribute__warn_unused_result__; | |
6426 | |
6427 STATIC OP* S_scalarboolean(pTHX_ OP *o) | |
6428 __attribute__nonnull__(pTHX_1); | |
6429 #define PERL_ARGS_ASSERT_SCALARBOOLEAN \ | |
6430 assert(o) | |
6431 | |
6432 STATIC OP* S_scalarkids(pTHX_ OP* o); | |
6433 STATIC OP* S_scalarseq(pTHX_ OP* o); | |
6434 STATIC OP* S_search_const(pTHX_ OP *o) | |
6435 __attribute__warn_unused_result__ | |
6436 __attribute__nonnull__(pTHX_1); | |
6437 #define PERL_ARGS_ASSERT_SEARCH_CONST \ | |
6438 assert(o) | |
6439 | |
6440 STATIC void S_simplify_sort(pTHX_ OP *o) | |
6441 __attribute__nonnull__(pTHX_1); | |
6442 #define PERL_ARGS_ASSERT_SIMPLIFY_SORT \ | |
6443 assert(o) | |
6444 | |
6445 STATIC OP* S_too_few_arguments_pv(pTHX_ OP *o, const char* name, U32 flags) | |
6446 __attribute__warn_unused_result__ | |
6447 __attribute__nonnull__(pTHX_1) | |
6448 __attribute__nonnull__(pTHX_2); | |
6449 #define PERL_ARGS_ASSERT_TOO_FEW_ARGUMENTS_PV \ | |
6450 assert(o); assert(name) | |
6451 | |
6452 STATIC OP* S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags) | |
6453 __attribute__nonnull__(pTHX_1) | |
6454 __attribute__nonnull__(pTHX_2); | |
6455 #define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \ | |
6456 assert(o); assert(name) | |
6457 | |
6458 # if defined(USE_ITHREADS) | |
6459 PERL_STATIC_INLINE void S_op_relocate_sv(pTHX_ SV** svp, PADOFFSET* targp) | |
6460 __attribute__nonnull__(pTHX_1) | |
6461 __attribute__nonnull__(pTHX_2); | |
6462 #define PERL_ARGS_ASSERT_OP_RELOCATE_SV \ | |
6463 assert(svp); assert(targp) | |
6464 | |
6465 # endif | |
6466 #endif | |
6467 #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C) | |
6468 PERL_CALLCONV void Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp) | |
6469 __attribute__nonnull__(pTHX_1) | |
6470 __attribute__nonnull__(pTHX_2); | |
6471 #define PERL_ARGS_ASSERT_REPORT_REDEFINED_CV \ | |
6472 assert(name); assert(old_cv) | |
6473 | |
6474 #endif | |
6475 #if defined(PERL_IN_PAD_C) | |
6476 STATIC PADOFFSET S_pad_alloc_name(pTHX_ PADNAME *name, U32 flags, HV *typestash, HV *ourstash) | |
6477 __attribute__nonnull__(pTHX_1); | |
6478 #define PERL_ARGS_ASSERT_PAD_ALLOC_NAME \ | |
6479 assert(name) | |
6480 | |
6481 STATIC void S_pad_check_dup(pTHX_ PADNAME *name, U32 flags, const HV *ourstash) | |
6482 __attribute__nonnull__(pTHX_1); | |
6483 #define PERL_ARGS_ASSERT_PAD_CHECK_DUP \ | |
6484 assert(name) | |
6485 | |
6486 STATIC PADOFFSET S_pad_findlex(pTHX_ const char *namepv, STRLEN namelen, U32 flags, const CV* cv, U32 seq, int warn, SV** out_capture, PADNAME** out_name, int *out_flags) | |
6487 __attribute__nonnull__(pTHX_1) | |
6488 __attribute__nonnull__(pTHX_4) | |
6489 __attribute__nonnull__(pTHX_8) | |
6490 __attribute__nonnull__(pTHX_9); | |
6491 #define PERL_ARGS_ASSERT_PAD_FINDLEX \ | |
6492 assert(namepv); assert(cv); assert(out_name); assert(out_flags) | |
6493 | |
6494 STATIC void S_pad_reset(pTHX); | |
6495 #endif | |
6496 #if defined(PERL_IN_PERL_C) | |
6497 STATIC void S_find_beginning(pTHX_ SV* linestr_sv, PerlIO *rsfp) | |
6498 __attribute__nonnull__(pTHX_1) | |
6499 __attribute__nonnull__(pTHX_2); | |
6500 #define PERL_ARGS_ASSERT_FIND_BEGINNING \ | |
6501 assert(linestr_sv); assert(rsfp) | |
6502 | |
6503 STATIC void S_forbid_setid(pTHX_ const char flag, const bool suidscript); | |
6504 STATIC void S_incpush(pTHX_ const char *const dir, STRLEN len, U32 flags) | |
6505 __attribute__nonnull__(pTHX_1); | |
6506 #define PERL_ARGS_ASSERT_INCPUSH \ | |
6507 assert(dir) | |
6508 | |
6509 STATIC void S_incpush_use_sep(pTHX_ const char *p, STRLEN len, U32 flags) | |
6510 __attribute__nonnull__(pTHX_1); | |
6511 #define PERL_ARGS_ASSERT_INCPUSH_USE_SEP \ | |
6512 assert(p) | |
6513 | |
6514 STATIC void S_init_ids(pTHX); | |
6515 STATIC void S_init_interp(pTHX); | |
6516 STATIC void S_init_main_stash(pTHX); | |
6517 STATIC void S_init_perllib(pTHX); | |
6518 STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) | |
6519 __attribute__nonnull__(pTHX_2); | |
6520 #define PERL_ARGS_ASSERT_INIT_POSTDUMP_SYMBOLS \ | |
6521 assert(argv) | |
6522 | |
6523 STATIC void S_init_predump_symbols(pTHX); | |
6524 STATIC SV* S_mayberelocate(pTHX_ const char *const dir, STRLEN len, U32 flags) | |
6525 __attribute__nonnull__(pTHX_1); | |
6526 #define PERL_ARGS_ASSERT_MAYBERELOCATE \ | |
6527 assert(dir) | |
6528 | |
6529 PERL_STATIC_NO_RET void S_minus_v(pTHX) | |
6530 __attribute__noreturn__; | |
6531 | |
6532 PERL_STATIC_NO_RET void S_my_exit_jump(pTHX) | |
6533 __attribute__noreturn__; | |
6534 | |
6535 STATIC void S_nuke_stacks(pTHX); | |
6536 STATIC PerlIO * S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript) | |
6537 __attribute__nonnull__(pTHX_1) | |
6538 __attribute__nonnull__(pTHX_3); | |
6539 #define PERL_ARGS_ASSERT_OPEN_SCRIPT \ | |
6540 assert(scriptname); assert(suidscript) | |
6541 | |
6542 STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); | |
6543 PERL_STATIC_NO_RET void S_run_body(pTHX_ I32 oldscope) | |
6544 __attribute__noreturn__; | |
6545 | |
6546 PERL_STATIC_NO_RET void S_usage(pTHX) | |
6547 __attribute__noreturn__; | |
6548 | |
6549 #endif | |
6550 #if defined(PERL_IN_PP_C) | |
6551 STATIC size_t S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping) | |
6552 __attribute__nonnull__(pTHX_1) | |
6553 __attribute__nonnull__(pTHX_2); | |
6554 #define PERL_ARGS_ASSERT_DO_CHOMP \ | |
6555 assert(retval); assert(sv) | |
6556 | |
6557 STATIC OP* S_do_delete_local(pTHX); | |
6558 STATIC SV* S_refto(pTHX_ SV* sv) | |
6559 __attribute__warn_unused_result__ | |
6560 __attribute__nonnull__(pTHX_1); | |
6561 #define PERL_ARGS_ASSERT_REFTO \ | |
6562 assert(sv) | |
6563 | |
6564 #endif | |
6565 #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) | |
6566 PERL_CALLCONV GV* Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const svtype type, SV ***spp) | |
6567 __attribute__warn_unused_result__ | |
6568 __attribute__nonnull__(pTHX_1) | |
6569 __attribute__nonnull__(pTHX_2) | |
6570 __attribute__nonnull__(pTHX_4); | |
6571 #define PERL_ARGS_ASSERT_SOFTREF2XV \ | |
6572 assert(sv); assert(what); assert(spp) | |
6573 | |
6574 #endif | |
6575 #if defined(PERL_IN_PP_CTL_C) | |
6576 STATIC PerlIO * S_check_type_and_open(pTHX_ SV *name) | |
6577 __attribute__warn_unused_result__ | |
6578 __attribute__nonnull__(pTHX_1); | |
6579 #define PERL_ARGS_ASSERT_CHECK_TYPE_AND_OPEN \ | |
6580 assert(name) | |
6581 | |
6582 STATIC void S_destroy_matcher(pTHX_ PMOP* matcher) | |
6583 __attribute__nonnull__(pTHX_1); | |
6584 #define PERL_ARGS_ASSERT_DESTROY_MATCHER \ | |
6585 assert(matcher) | |
6586 | |
6587 STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other, const bool copied); | |
6588 STATIC OP* S_docatch(pTHX_ OP *o) | |
6589 __attribute__warn_unused_result__; | |
6590 | |
6591 STATIC bool S_doeval(pTHX_ int gimme, CV* outside, U32 seq, HV* hh); | |
6592 STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstack, OP **oplimit) | |
6593 __attribute__warn_unused_result__ | |
6594 __attribute__nonnull__(pTHX_1) | |
6595 __attribute__nonnull__(pTHX_2) | |
6596 __attribute__nonnull__(pTHX_5) | |
6597 __attribute__nonnull__(pTHX_6); | |
6598 #define PERL_ARGS_ASSERT_DOFINDLABEL \ | |
6599 assert(o); assert(label); assert(opstack); assert(oplimit) | |
6600 | |
6601 STATIC MAGIC * S_doparseform(pTHX_ SV *sv) | |
6602 __attribute__nonnull__(pTHX_1); | |
6603 #define PERL_ARGS_ASSERT_DOPARSEFORM \ | |
6604 assert(sv) | |
6605 | |
6606 STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) | |
6607 __attribute__warn_unused_result__; | |
6608 | |
6609 STATIC I32 S_dopoptogiven(pTHX_ I32 startingblock) | |
6610 __attribute__warn_unused_result__; | |
6611 | |
6612 STATIC I32 S_dopoptolabel(pTHX_ const char *label, STRLEN len, U32 flags) | |
6613 __attribute__warn_unused_result__ | |
6614 __attribute__nonnull__(pTHX_1); | |
6615 #define PERL_ARGS_ASSERT_DOPOPTOLABEL \ | |
6616 assert(label) | |
6617 | |
6618 STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) | |
6619 __attribute__warn_unused_result__; | |
6620 | |
6621 STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) | |
6622 __attribute__warn_unused_result__ | |
6623 __attribute__nonnull__(pTHX_1); | |
6624 #define PERL_ARGS_ASSERT_DOPOPTOSUB_AT \ | |
6625 assert(cxstk) | |
6626 | |
6627 STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock) | |
6628 __attribute__warn_unused_result__; | |
6629 | |
6630 STATIC SV ** S_leave_common(pTHX_ SV **newsp, SV **sp, SV **mark, I32 gimme, U32 flags, bool lvalue) | |
6631 __attribute__nonnull__(pTHX_1) | |
6632 __attribute__nonnull__(pTHX_2) | |
6633 __attribute__nonnull__(pTHX_3); | |
6634 #define PERL_ARGS_ASSERT_LEAVE_COMMON \ | |
6635 assert(newsp); assert(sp); assert(mark) | |
6636 | |
6637 STATIC PMOP* S_make_matcher(pTHX_ REGEXP* re) | |
6638 __attribute__warn_unused_result__ | |
6639 __attribute__nonnull__(pTHX_1); | |
6640 #define PERL_ARGS_ASSERT_MAKE_MATCHER \ | |
6641 assert(re) | |
6642 | |
6643 STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv) | |
6644 __attribute__warn_unused_result__ | |
6645 __attribute__nonnull__(pTHX_1) | |
6646 __attribute__nonnull__(pTHX_2); | |
6647 #define PERL_ARGS_ASSERT_MATCHER_MATCHES_SV \ | |
6648 assert(matcher); assert(sv) | |
6649 | |
6650 STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) | |
6651 __attribute__warn_unused_result__; | |
6652 | |
6653 PERL_STATIC_INLINE bool S_path_is_searchable(const char *name) | |
6654 __attribute__warn_unused_result__ | |
6655 __attribute__nonnull__(1); | |
6656 #define PERL_ARGS_ASSERT_PATH_IS_SEARCHABLE \ | |
6657 assert(name) | |
6658 | |
6659 STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen) | |
6660 __attribute__warn_unused_result__ | |
6661 __attribute__nonnull__(pTHX_2); | |
6662 #define PERL_ARGS_ASSERT_RUN_USER_FILTER \ | |
6663 assert(buf_sv) | |
6664 | |
6665 STATIC void S_rxres_free(pTHX_ void** rsp) | |
6666 __attribute__nonnull__(pTHX_1); | |
6667 #define PERL_ARGS_ASSERT_RXRES_FREE \ | |
6668 assert(rsp) | |
6669 | |
6670 STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx) | |
6671 __attribute__nonnull__(pTHX_1) | |
6672 __attribute__nonnull__(pTHX_2); | |
6673 #define PERL_ARGS_ASSERT_RXRES_RESTORE \ | |
6674 assert(rsp); assert(rx) | |
6675 | |
6676 STATIC void S_save_lines(pTHX_ AV *array, SV *sv) | |
6677 __attribute__nonnull__(pTHX_2); | |
6678 #define PERL_ARGS_ASSERT_SAVE_LINES \ | |
6679 assert(sv) | |
6680 | |
6681 #endif | |
6682 #if defined(PERL_IN_PP_HOT_C) | |
6683 STATIC void S_do_oddball(pTHX_ SV **oddkey, SV **firstkey) | |
6684 __attribute__nonnull__(pTHX_1) | |
6685 __attribute__nonnull__(pTHX_2); | |
6686 #define PERL_ARGS_ASSERT_DO_ODDBALL \ | |
6687 assert(oddkey); assert(firstkey) | |
6688 | |
6689 PERL_STATIC_INLINE HV* S_opmethod_stash(pTHX_ SV* meth) | |
6690 __attribute__nonnull__(pTHX_1); | |
6691 #define PERL_ARGS_ASSERT_OPMETHOD_STASH \ | |
6692 assert(meth) | |
6693 | |
6694 #endif | |
6695 #if defined(PERL_IN_PP_PACK_C) | |
6696 STATIC int S_div128(pTHX_ SV *pnum, bool *done) | |
6697 __attribute__nonnull__(pTHX_1) | |
6698 __attribute__nonnull__(pTHX_2); | |
6699 #define PERL_ARGS_ASSERT_DIV128 \ | |
6700 assert(pnum); assert(done) | |
6701 | |
6702 STATIC char S_first_symbol(const char *pat, const char *patend) | |
6703 __attribute__nonnull__(1) | |
6704 __attribute__nonnull__(2); | |
6705 #define PERL_ARGS_ASSERT_FIRST_SYMBOL \ | |
6706 assert(pat); assert(patend) | |
6707 | |
6708 STATIC const char * S_get_num(pTHX_ const char *patptr, I32 *lenptr) | |
6709 __attribute__warn_unused_result__ | |
6710 __attribute__nonnull__(pTHX_1) | |
6711 __attribute__nonnull__(pTHX_2); | |
6712 #define PERL_ARGS_ASSERT_GET_NUM \ | |
6713 assert(patptr); assert(lenptr) | |
6714 | |
6715 STATIC const char * S_group_end(pTHX_ const char *patptr, const char *patend, char ender) | |
6716 __attribute__nonnull__(pTHX_1) | |
6717 __attribute__nonnull__(pTHX_2); | |
6718 #define PERL_ARGS_ASSERT_GROUP_END \ | |
6719 assert(patptr); assert(patend) | |
6720 | |
6721 STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l) | |
6722 __attribute__warn_unused_result__ | |
6723 __attribute__nonnull__(pTHX_1); | |
6724 #define PERL_ARGS_ASSERT_IS_AN_INT \ | |
6725 assert(s) | |
6726 | |
6727 STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr) | |
6728 __attribute__nonnull__(pTHX_1); | |
6729 #define PERL_ARGS_ASSERT_MEASURE_STRUCT \ | |
6730 assert(symptr) | |
6731 | |
6732 STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) | |
6733 __attribute__nonnull__(pTHX_1); | |
6734 #define PERL_ARGS_ASSERT_MUL128 \ | |
6735 assert(sv) | |
6736 | |
6737 STATIC char * S_my_bytes_to_utf8(const U8 *start, STRLEN len, char *dest, const bool needs_swap) | |
6738 __attribute__warn_unused_result__ | |
6739 __attribute__nonnull__(1) | |
6740 __attribute__nonnull__(3); | |
6741 #define PERL_ARGS_ASSERT_MY_BYTES_TO_UTF8 \ | |
6742 assert(start); assert(dest) | |
6743 | |
6744 STATIC bool S_need_utf8(const char *pat, const char *patend) | |
6745 __attribute__nonnull__(1) | |
6746 __attribute__nonnull__(2); | |
6747 #define PERL_ARGS_ASSERT_NEED_UTF8 \ | |
6748 assert(pat); assert(patend) | |
6749 | |
6750 STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr) | |
6751 __attribute__nonnull__(pTHX_1); | |
6752 #define PERL_ARGS_ASSERT_NEXT_SYMBOL \ | |
6753 assert(symptr) | |
6754 | |
6755 STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist) | |
6756 __attribute__nonnull__(pTHX_1) | |
6757 __attribute__nonnull__(pTHX_2) | |
6758 __attribute__nonnull__(pTHX_3) | |
6759 __attribute__nonnull__(pTHX_4); | |
6760 #define PERL_ARGS_ASSERT_PACK_REC \ | |
6761 assert(cat); assert(symptr); assert(beglist); assert(endlist) | |
6762 | |
6763 STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed) | |
6764 __attribute__warn_unused_result__ | |
6765 __attribute__nonnull__(pTHX_1); | |
6766 #define PERL_ARGS_ASSERT_SV_EXP_GROW \ | |
6767 assert(sv) | |
6768 | |
6769 STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s) | |
6770 __attribute__nonnull__(pTHX_1) | |
6771 __attribute__nonnull__(pTHX_2) | |
6772 __attribute__nonnull__(pTHX_3) | |
6773 __attribute__nonnull__(pTHX_4); | |
6774 #define PERL_ARGS_ASSERT_UNPACK_REC \ | |
6775 assert(symptr); assert(s); assert(strbeg); assert(strend) | |
6776 | |
6777 #endif | |
6778 #if defined(PERL_IN_PP_SORT_C) | |
6779 STATIC I32 S_amagic_cmp(pTHX_ SV *const str1, SV *const str2) | |
6780 __attribute__nonnull__(pTHX_1) | |
6781 __attribute__nonnull__(pTHX_2); | |
6782 #define PERL_ARGS_ASSERT_AMAGIC_CMP \ | |
6783 assert(str1); assert(str2) | |
6784 | |
6785 STATIC I32 S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b) | |
6786 __attribute__nonnull__(pTHX_1) | |
6787 __attribute__nonnull__(pTHX_2); | |
6788 #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP \ | |
6789 assert(a); assert(b) | |
6790 | |
6791 STATIC I32 S_amagic_ncmp(pTHX_ SV *const a, SV *const b) | |
6792 __attribute__nonnull__(pTHX_1) | |
6793 __attribute__nonnull__(pTHX_2); | |
6794 #define PERL_ARGS_ASSERT_AMAGIC_NCMP \ | |
6795 assert(a); assert(b) | |
6796 | |
6797 STATIC void S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare) | |
6798 __attribute__nonnull__(pTHX_3); | |
6799 #define PERL_ARGS_ASSERT_QSORTSVU \ | |
6800 assert(compare) | |
6801 | |
6802 STATIC I32 S_sortcv(pTHX_ SV *const a, SV *const b) | |
6803 __attribute__nonnull__(pTHX_1) | |
6804 __attribute__nonnull__(pTHX_2); | |
6805 #define PERL_ARGS_ASSERT_SORTCV \ | |
6806 assert(a); assert(b) | |
6807 | |
6808 STATIC I32 S_sortcv_stacked(pTHX_ SV *const a, SV *const b) | |
6809 __attribute__nonnull__(pTHX_1) | |
6810 __attribute__nonnull__(pTHX_2); | |
6811 #define PERL_ARGS_ASSERT_SORTCV_STACKED \ | |
6812 assert(a); assert(b) | |
6813 | |
6814 STATIC I32 S_sortcv_xsub(pTHX_ SV *const a, SV *const b) | |
6815 __attribute__nonnull__(pTHX_1) | |
6816 __attribute__nonnull__(pTHX_2); | |
6817 #define PERL_ARGS_ASSERT_SORTCV_XSUB \ | |
6818 assert(a); assert(b) | |
6819 | |
6820 STATIC I32 S_sv_i_ncmp(pTHX_ SV *const a, SV *const b) | |
6821 __attribute__nonnull__(pTHX_1) | |
6822 __attribute__nonnull__(pTHX_2); | |
6823 #define PERL_ARGS_ASSERT_SV_I_NCMP \ | |
6824 assert(a); assert(b) | |
6825 | |
6826 STATIC I32 S_sv_ncmp(pTHX_ SV *const a, SV *const b) | |
6827 __attribute__nonnull__(pTHX_1) | |
6828 __attribute__nonnull__(pTHX_2); | |
6829 #define PERL_ARGS_ASSERT_SV_NCMP \ | |
6830 assert(a); assert(b) | |
6831 | |
6832 # if defined(USE_LOCALE_COLLATE) | |
6833 STATIC I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2) | |
6834 __attribute__nonnull__(pTHX_1) | |
6835 __attribute__nonnull__(pTHX_2); | |
6836 #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE \ | |
6837 assert(str1); assert(str2) | |
6838 | |
6839 # endif | |
6840 #endif | |
6841 #if defined(PERL_IN_PP_SYS_C) | |
6842 STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) | |
6843 __attribute__nonnull__(pTHX_1) | |
6844 __attribute__nonnull__(pTHX_2); | |
6845 #define PERL_ARGS_ASSERT_DOFORM \ | |
6846 assert(cv); assert(gv) | |
6847 | |
6848 STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array) | |
6849 __attribute__nonnull__(pTHX_1); | |
6850 #define PERL_ARGS_ASSERT_SPACE_JOIN_NAMES_MORTAL \ | |
6851 assert(array) | |
6852 | |
6853 #endif | |
6854 #if defined(PERL_IN_REGCOMP_C) | |
6855 STATIC void S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, const UV end) | |
6856 __attribute__nonnull__(pTHX_1); | |
6857 #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \ | |
6858 assert(invlist) | |
6859 | |
6860 PERL_STATIC_INLINE UV* S__invlist_array_init(SV* const invlist, const bool will_have_0) | |
6861 __attribute__warn_unused_result__ | |
6862 __attribute__nonnull__(1); | |
6863 #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \ | |
6864 assert(invlist) | |
6865 | |
6866 STATIC SV* S__make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node) | |
6867 __attribute__warn_unused_result__ | |
6868 __attribute__nonnull__(pTHX_1) | |
6869 __attribute__nonnull__(pTHX_2); | |
6870 #define PERL_ARGS_ASSERT__MAKE_EXACTF_INVLIST \ | |
6871 assert(pRExC_state); assert(node) | |
6872 | |
6873 STATIC void S_add_above_Latin1_folds(pTHX_ RExC_state_t *pRExC_state, const U8 cp, SV** invlist) | |
6874 __attribute__nonnull__(pTHX_1) | |
6875 __attribute__nonnull__(pTHX_3); | |
6876 #define PERL_ARGS_ASSERT_ADD_ABOVE_LATIN1_FOLDS \ | |
6877 assert(pRExC_state); assert(invlist) | |
6878 | |
6879 PERL_STATIC_INLINE SV* S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp) | |
6880 __attribute__warn_unused_result__; | |
6881 | |
6882 STATIC U32 S_add_data(RExC_state_t* const pRExC_state, const char* const s, const U32 n) | |
6883 __attribute__warn_unused_result__ | |
6884 __attribute__nonnull__(1) | |
6885 __attribute__nonnull__(2); | |
6886 #define PERL_ARGS_ASSERT_ADD_DATA \ | |
6887 assert(pRExC_state); assert(s) | |
6888 | |
6889 STATIC AV* S_add_multi_match(pTHX_ AV* multi_char_matches, SV* multi_string, const STRLEN cp_count) | |
6890 __attribute__nonnull__(pTHX_2); | |
6891 #define PERL_ARGS_ASSERT_ADD_MULTI_MATCH \ | |
6892 assert(multi_string) | |
6893 | |
6894 PERL_STATIC_INLINE void S_alloc_maybe_populate_EXACT(pTHX_ RExC_state_t *pRExC_state, regnode *node, I32 *flagp, STRLEN len, UV code_point, bool downgradable) | |
6895 __attribute__nonnull__(pTHX_1) | |
6896 __attribute__nonnull__(pTHX_2) | |
6897 __attribute__nonnull__(pTHX_3); | |
6898 #define PERL_ARGS_ASSERT_ALLOC_MAYBE_POPULATE_EXACT \ | |
6899 assert(pRExC_state); assert(node); assert(flagp) | |
6900 | |
6901 STATIC const char * S_cntrl_to_mnemonic(const U8 c) | |
6902 __attribute__pure__; | |
6903 | |
6904 PERL_STATIC_INLINE U8 S_compute_EXACTish(RExC_state_t *pRExC_state) | |
6905 __attribute__nonnull__(1); | |
6906 #define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \ | |
6907 assert(pRExC_state) | |
6908 | |
6909 STATIC regnode * S_construct_ahocorasick_from_trie(pTHX_ RExC_state_t *pRExC_state, regnode *source, U32 depth) | |
6910 __attribute__nonnull__(pTHX_1) | |
6911 __attribute__nonnull__(pTHX_2); | |
6912 #define PERL_ARGS_ASSERT_CONSTRUCT_AHOCORASICK_FROM_TRIE \ | |
6913 assert(pRExC_state); assert(source) | |
6914 | |
6915 STATIC bool S_could_it_be_a_POSIX_class(RExC_state_t *pRExC_state) | |
6916 __attribute__nonnull__(1); | |
6917 #define PERL_ARGS_ASSERT_COULD_IT_BE_A_POSIX_CLASS \ | |
6918 assert(pRExC_state) | |
6919 | |
6920 STATIC SV* S_get_ANYOF_cp_list_for_ssc(pTHX_ const RExC_state_t *pRExC_state, const regnode_charclass* const node) | |
6921 __attribute__nonnull__(pTHX_1) | |
6922 __attribute__nonnull__(pTHX_2); | |
6923 #define PERL_ARGS_ASSERT_GET_ANYOF_CP_LIST_FOR_SSC \ | |
6924 assert(pRExC_state); assert(node) | |
6925 | |
6926 PERL_STATIC_INLINE STRLEN* S_get_invlist_iter_addr(SV* invlist) | |
6927 __attribute__warn_unused_result__ | |
6928 __attribute__nonnull__(1); | |
6929 #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \ | |
6930 assert(invlist) | |
6931 | |
6932 STATIC bool S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode** nodep, UV *code_point_p, int* cp_count, I32 *flagp, const U32 depth) | |
6933 __attribute__nonnull__(pTHX_1) | |
6934 __attribute__nonnull__(pTHX_5); | |
6935 #define PERL_ARGS_ASSERT_GROK_BSLASH_N \ | |
6936 assert(pRExC_state); assert(flagp) | |
6937 | |
6938 STATIC regnode* S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse) | |
6939 __attribute__nonnull__(pTHX_1) | |
6940 __attribute__nonnull__(pTHX_3) | |
6941 __attribute__nonnull__(pTHX_5); | |
6942 #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \ | |
6943 assert(pRExC_state); assert(flagp); assert(oregcomp_parse) | |
6944 | |
6945 PERL_STATIC_INLINE SV* S_invlist_clone(pTHX_ SV* const invlist) | |
6946 __attribute__warn_unused_result__ | |
6947 __attribute__nonnull__(pTHX_1); | |
6948 #define PERL_ARGS_ASSERT_INVLIST_CLONE \ | |
6949 assert(invlist) | |
6950 | |
6951 STATIC void S_invlist_extend(pTHX_ SV* const invlist, const UV len) | |
6952 __attribute__nonnull__(pTHX_1); | |
6953 #define PERL_ARGS_ASSERT_INVLIST_EXTEND \ | |
6954 assert(invlist) | |
6955 | |
6956 PERL_STATIC_INLINE UV S_invlist_highest(SV* const invlist) | |
6957 __attribute__warn_unused_result__ | |
6958 __attribute__nonnull__(1); | |
6959 #define PERL_ARGS_ASSERT_INVLIST_HIGHEST \ | |
6960 assert(invlist) | |
6961 | |
6962 PERL_STATIC_INLINE void S_invlist_iterfinish(SV* invlist) | |
6963 __attribute__nonnull__(1); | |
6964 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH \ | |
6965 assert(invlist) | |
6966 | |
6967 PERL_STATIC_INLINE void S_invlist_iterinit(SV* invlist) | |
6968 __attribute__nonnull__(1); | |
6969 #define PERL_ARGS_ASSERT_INVLIST_ITERINIT \ | |
6970 assert(invlist) | |
6971 | |
6972 STATIC bool S_invlist_iternext(SV* invlist, UV* start, UV* end) | |
6973 __attribute__warn_unused_result__ | |
6974 __attribute__nonnull__(1) | |
6975 __attribute__nonnull__(2) | |
6976 __attribute__nonnull__(3); | |
6977 #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \ | |
6978 assert(invlist); assert(start); assert(end) | |
6979 | |
6980 PERL_STATIC_INLINE UV S_invlist_max(SV* const invlist) | |
6981 __attribute__warn_unused_result__ | |
6982 __attribute__nonnull__(1); | |
6983 #define PERL_ARGS_ASSERT_INVLIST_MAX \ | |
6984 assert(invlist) | |
6985 | |
6986 PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len, const bool offset) | |
6987 __attribute__nonnull__(pTHX_1); | |
6988 #define PERL_ARGS_ASSERT_INVLIST_SET_LEN \ | |
6989 assert(invlist) | |
6990 | |
6991 STATIC bool S_is_ssc_worth_it(const RExC_state_t * pRExC_state, const regnode_ssc * ssc) | |
6992 __attribute__nonnull__(1) | |
6993 __attribute__nonnull__(2); | |
6994 #define PERL_ARGS_ASSERT_IS_SSC_WORTH_IT \ | |
6995 assert(pRExC_state); assert(ssc) | |
6996 | |
6997 STATIC U32 S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, bool *unfolded_multi_char, U32 flags, regnode *val, U32 depth) | |
6998 __attribute__nonnull__(pTHX_1) | |
6999 __attribute__nonnull__(pTHX_2) | |
7000 __attribute__nonnull__(pTHX_3) | |
7001 __attribute__nonnull__(pTHX_4); | |
7002 #define PERL_ARGS_ASSERT_JOIN_EXACT \ | |
7003 assert(pRExC_state); assert(scan); assert(min_subtract); assert(unfolded_multi_char) | |
7004 | |
7005 STATIC I32 S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 word_count, U32 flags, U32 depth) | |
7006 __attribute__nonnull__(pTHX_1) | |
7007 __attribute__nonnull__(pTHX_2) | |
7008 __attribute__nonnull__(pTHX_3) | |
7009 __attribute__nonnull__(pTHX_4) | |
7010 __attribute__nonnull__(pTHX_5); | |
7011 #define PERL_ARGS_ASSERT_MAKE_TRIE \ | |
7012 assert(pRExC_state); assert(startbranch); assert(first); assert(last); assert(tail) | |
7013 | |
7014 STATIC char * S_nextchar(pTHX_ RExC_state_t *pRExC_state) | |
7015 __attribute__nonnull__(pTHX_1); | |
7016 #define PERL_ARGS_ASSERT_NEXTCHAR \ | |
7017 assert(pRExC_state) | |
7018 | |
7019 STATIC void S_parse_lparen_question_flags(pTHX_ RExC_state_t *pRExC_state) | |
7020 __attribute__nonnull__(pTHX_1); | |
7021 #define PERL_ARGS_ASSERT_PARSE_LPAREN_QUESTION_FLAGS \ | |
7022 assert(pRExC_state) | |
7023 | |
7024 STATIC void S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr) | |
7025 __attribute__nonnull__(pTHX_1) | |
7026 __attribute__nonnull__(pTHX_2); | |
7027 #define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST \ | |
7028 assert(node); assert(invlist_ptr) | |
7029 | |
7030 PERL_STATIC_NO_RET void S_re_croak2(pTHX_ bool utf8, const char* pat1, const char* pat2, ...) | |
7031 __attribute__noreturn__ | |
7032 __attribute__nonnull__(pTHX_2) | |
7033 __attribute__nonnull__(pTHX_3); | |
7034 #define PERL_ARGS_ASSERT_RE_CROAK2 \ | |
7035 assert(pat1); assert(pat2) | |
7036 | |
7037 STATIC regnode* S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth) | |
7038 __attribute__nonnull__(pTHX_1) | |
7039 __attribute__nonnull__(pTHX_3); | |
7040 #define PERL_ARGS_ASSERT_REG \ | |
7041 assert(pRExC_state); assert(flagp) | |
7042 | |
7043 STATIC regnode* S_reg2Lanode(pTHX_ RExC_state_t *pRExC_state, const U8 op, const U32 arg1, const I32 arg2) | |
7044 __attribute__nonnull__(pTHX_1); | |
7045 #define PERL_ARGS_ASSERT_REG2LANODE \ | |
7046 assert(pRExC_state) | |
7047 | |
7048 STATIC regnode* S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op) | |
7049 __attribute__nonnull__(pTHX_1); | |
7050 #define PERL_ARGS_ASSERT_REG_NODE \ | |
7051 assert(pRExC_state) | |
7052 | |
7053 STATIC UV S_reg_recode(pTHX_ const char value, SV **encp) | |
7054 __attribute__nonnull__(pTHX_2); | |
7055 #define PERL_ARGS_ASSERT_REG_RECODE \ | |
7056 assert(encp) | |
7057 | |
7058 STATIC SV * S_reg_scan_name(pTHX_ RExC_state_t *pRExC_state, U32 flags) | |
7059 __attribute__nonnull__(pTHX_1); | |
7060 #define PERL_ARGS_ASSERT_REG_SCAN_NAME \ | |
7061 assert(pRExC_state) | |
7062 | |
7063 PERL_STATIC_INLINE char * S_reg_skipcomment(RExC_state_t *pRExC_state, char * p) | |
7064 __attribute__nonnull__(1) | |
7065 __attribute__nonnull__(2); | |
7066 #define PERL_ARGS_ASSERT_REG_SKIPCOMMENT \ | |
7067 assert(pRExC_state); assert(p) | |
7068 | |
7069 STATIC regnode* S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg) | |
7070 __attribute__nonnull__(pTHX_1); | |
7071 #define PERL_ARGS_ASSERT_REGANODE \ | |
7072 assert(pRExC_state) | |
7073 | |
7074 STATIC regnode* S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth) | |
7075 __attribute__nonnull__(pTHX_1) | |
7076 __attribute__nonnull__(pTHX_2); | |
7077 #define PERL_ARGS_ASSERT_REGATOM \ | |
7078 assert(pRExC_state); assert(flagp) | |
7079 | |
7080 STATIC regnode* S_regbranch(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, I32 first, U32 depth) | |
7081 __attribute__nonnull__(pTHX_1) | |
7082 __attribute__nonnull__(pTHX_2); | |
7083 #define PERL_ARGS_ASSERT_REGBRANCH \ | |
7084 assert(pRExC_state); assert(flagp) | |
7085 | |
7086 STATIC regnode* S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1, bool allow_multi_fold, const bool silence_non_portable, const bool strict, SV** ret_invlist) | |
7087 __attribute__nonnull__(pTHX_1) | |
7088 __attribute__nonnull__(pTHX_2); | |
7089 #define PERL_ARGS_ASSERT_REGCLASS \ | |
7090 assert(pRExC_state); assert(flagp) | |
7091 | |
7092 STATIC unsigned int S_regex_set_precedence(const U8 my_operator) | |
7093 __attribute__pure__; | |
7094 | |
7095 STATIC void S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth) | |
7096 __attribute__nonnull__(pTHX_1) | |
7097 __attribute__nonnull__(pTHX_3); | |
7098 #define PERL_ARGS_ASSERT_REGINSERT \ | |
7099 assert(pRExC_state); assert(opnd) | |
7100 | |
7101 STATIC regnode* S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const U8 op, const STRLEN extra_len, const char* const name) | |
7102 __attribute__nonnull__(pTHX_1) | |
7103 __attribute__nonnull__(pTHX_4); | |
7104 #define PERL_ARGS_ASSERT_REGNODE_GUTS \ | |
7105 assert(pRExC_state); assert(name) | |
7106 | |
7107 STATIC char * S_regpatws(RExC_state_t *pRExC_state, char *p, const bool recognize_comment) | |
7108 __attribute__warn_unused_result__ | |
7109 __attribute__nonnull__(1) | |
7110 __attribute__nonnull__(2); | |
7111 #define PERL_ARGS_ASSERT_REGPATWS \ | |
7112 assert(pRExC_state); assert(p) | |
7113 | |
7114 STATIC regnode* S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth) | |
7115 __attribute__nonnull__(pTHX_1) | |
7116 __attribute__nonnull__(pTHX_2); | |
7117 #define PERL_ARGS_ASSERT_REGPIECE \ | |
7118 assert(pRExC_state); assert(flagp) | |
7119 | |
7120 PERL_STATIC_INLINE I32 S_regpposixcc(pTHX_ RExC_state_t *pRExC_state, I32 value, const bool strict) | |
7121 __attribute__nonnull__(pTHX_1); | |
7122 #define PERL_ARGS_ASSERT_REGPPOSIXCC \ | |
7123 assert(pRExC_state) | |
7124 | |
7125 STATIC void S_regtail(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth) | |
7126 __attribute__nonnull__(pTHX_1) | |
7127 __attribute__nonnull__(pTHX_2) | |
7128 __attribute__nonnull__(pTHX_3); | |
7129 #define PERL_ARGS_ASSERT_REGTAIL \ | |
7130 assert(pRExC_state); assert(p); assert(val) | |
7131 | |
7132 STATIC void S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf) | |
7133 __attribute__nonnull__(pTHX_1) | |
7134 __attribute__nonnull__(pTHX_2) | |
7135 __attribute__nonnull__(pTHX_3); | |
7136 #define PERL_ARGS_ASSERT_SCAN_COMMIT \ | |
7137 assert(pRExC_state); assert(data); assert(minlenp) | |
7138 | |
7139 STATIC void S_set_ANYOF_arg(pTHX_ RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const only_utf8_locale_list, SV* const swash, const bool has_user_defined_property) | |
7140 __attribute__nonnull__(pTHX_1) | |
7141 __attribute__nonnull__(pTHX_2); | |
7142 #define PERL_ARGS_ASSERT_SET_ANYOF_ARG \ | |
7143 assert(pRExC_state); assert(node) | |
7144 | |
7145 PERL_STATIC_INLINE void S_ssc_add_range(pTHX_ regnode_ssc *ssc, UV const start, UV const end) | |
7146 __attribute__nonnull__(pTHX_1); | |
7147 #define PERL_ARGS_ASSERT_SSC_ADD_RANGE \ | |
7148 assert(ssc) | |
7149 | |
7150 STATIC void S_ssc_and(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *and_with) | |
7151 __attribute__nonnull__(pTHX_1) | |
7152 __attribute__nonnull__(pTHX_2) | |
7153 __attribute__nonnull__(pTHX_3); | |
7154 #define PERL_ARGS_ASSERT_SSC_AND \ | |
7155 assert(pRExC_state); assert(ssc); assert(and_with) | |
7156 | |
7157 STATIC void S_ssc_anything(pTHX_ regnode_ssc *ssc) | |
7158 __attribute__nonnull__(pTHX_1); | |
7159 #define PERL_ARGS_ASSERT_SSC_ANYTHING \ | |
7160 assert(ssc) | |
7161 | |
7162 PERL_STATIC_INLINE void S_ssc_clear_locale(regnode_ssc *ssc) | |
7163 __attribute__nonnull__(1); | |
7164 #define PERL_ARGS_ASSERT_SSC_CLEAR_LOCALE \ | |
7165 assert(ssc) | |
7166 | |
7167 PERL_STATIC_INLINE void S_ssc_cp_and(pTHX_ regnode_ssc *ssc, UV const cp) | |
7168 __attribute__nonnull__(pTHX_1); | |
7169 #define PERL_ARGS_ASSERT_SSC_CP_AND \ | |
7170 assert(ssc) | |
7171 | |
7172 STATIC void S_ssc_finalize(pTHX_ RExC_state_t *pRExC_state, regnode_ssc *ssc) | |
7173 __attribute__nonnull__(pTHX_1) | |
7174 __attribute__nonnull__(pTHX_2); | |
7175 #define PERL_ARGS_ASSERT_SSC_FINALIZE \ | |
7176 assert(pRExC_state); assert(ssc) | |
7177 | |
7178 STATIC void S_ssc_init(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc) | |
7179 __attribute__nonnull__(pTHX_1) | |
7180 __attribute__nonnull__(pTHX_2); | |
7181 #define PERL_ARGS_ASSERT_SSC_INIT \ | |
7182 assert(pRExC_state); assert(ssc) | |
7183 | |
7184 PERL_STATIC_INLINE void S_ssc_intersection(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd) | |
7185 __attribute__nonnull__(pTHX_1) | |
7186 __attribute__nonnull__(pTHX_2); | |
7187 #define PERL_ARGS_ASSERT_SSC_INTERSECTION \ | |
7188 assert(ssc); assert(invlist) | |
7189 | |
7190 STATIC int S_ssc_is_anything(const regnode_ssc *ssc) | |
7191 __attribute__warn_unused_result__ | |
7192 __attribute__nonnull__(1); | |
7193 #define PERL_ARGS_ASSERT_SSC_IS_ANYTHING \ | |
7194 assert(ssc) | |
7195 | |
7196 STATIC int S_ssc_is_cp_posixl_init(const RExC_state_t *pRExC_state, const regnode_ssc *ssc) | |
7197 __attribute__warn_unused_result__ | |
7198 __attribute__nonnull__(1) | |
7199 __attribute__nonnull__(2); | |
7200 #define PERL_ARGS_ASSERT_SSC_IS_CP_POSIXL_INIT \ | |
7201 assert(pRExC_state); assert(ssc) | |
7202 | |
7203 STATIC void S_ssc_or(pTHX_ const RExC_state_t *pRExC_state, regnode_ssc *ssc, const regnode_charclass *or_with) | |
7204 __attribute__nonnull__(pTHX_1) | |
7205 __attribute__nonnull__(pTHX_2) | |
7206 __attribute__nonnull__(pTHX_3); | |
7207 #define PERL_ARGS_ASSERT_SSC_OR \ | |
7208 assert(pRExC_state); assert(ssc); assert(or_with) | |
7209 | |
7210 PERL_STATIC_INLINE void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, const bool invert_2nd) | |
7211 __attribute__nonnull__(pTHX_1) | |
7212 __attribute__nonnull__(pTHX_2); | |
7213 #define PERL_ARGS_ASSERT_SSC_UNION \ | |
7214 assert(ssc); assert(invlist) | |
7215 | |
7216 STATIC SSize_t S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth) | |
7217 __attribute__nonnull__(pTHX_1) | |
7218 __attribute__nonnull__(pTHX_2) | |
7219 __attribute__nonnull__(pTHX_3) | |
7220 __attribute__nonnull__(pTHX_4) | |
7221 __attribute__nonnull__(pTHX_5); | |
7222 #define PERL_ARGS_ASSERT_STUDY_CHUNK \ | |
7223 assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last) | |
7224 | |
7225 #endif | |
7226 #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) | |
7227 PERL_CALLCONV void Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char* const indent, SV* const invlist) | |
7228 __attribute__nonnull__(pTHX_1) | |
7229 __attribute__nonnull__(pTHX_3) | |
7230 __attribute__nonnull__(pTHX_4); | |
7231 #define PERL_ARGS_ASSERT__INVLIST_DUMP \ | |
7232 assert(file); assert(indent); assert(invlist) | |
7233 | |
7234 #endif | |
7235 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C) | |
7236 PERL_CALLCONV SV* Perl__new_invlist_C_array(pTHX_ const UV* const list) | |
7237 __attribute__warn_unused_result__ | |
7238 __attribute__nonnull__(pTHX_1); | |
7239 #define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \ | |
7240 assert(list) | |
7241 | |
7242 #endif | |
7243 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) | |
7244 PERL_CALLCONV SV* Perl__get_regclass_nonbitmap_data(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **lonly_utf8_locale, SV *exclude_list) | |
7245 __attribute__nonnull__(pTHX_2); | |
7246 #define PERL_ARGS_ASSERT__GET_REGCLASS_NONBITMAP_DATA \ | |
7247 assert(node) | |
7248 | |
7249 PERL_CALLCONV void Perl__load_PL_utf8_foldclosures(pTHX); | |
7250 PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o, const regmatch_info *reginfo, const RExC_state_t *pRExC_state) | |
7251 __attribute__nonnull__(pTHX_2) | |
7252 __attribute__nonnull__(pTHX_3); | |
7253 #define PERL_ARGS_ASSERT_REGPROP \ | |
7254 assert(sv); assert(o) | |
7255 | |
7256 #endif | |
7257 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) | |
7258 PERL_CALLCONV SV* Perl__get_swash_invlist(pTHX_ SV* const swash) | |
7259 __attribute__warn_unused_result__ | |
7260 __attribute__nonnull__(pTHX_1); | |
7261 #define PERL_ARGS_ASSERT__GET_SWASH_INVLIST \ | |
7262 assert(swash) | |
7263 | |
7264 PERL_STATIC_INLINE bool S__invlist_contains_cp(SV* const invlist, const UV cp) | |
7265 __attribute__warn_unused_result__ | |
7266 __attribute__nonnull__(1); | |
7267 #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \ | |
7268 assert(invlist) | |
7269 | |
7270 PERL_CALLCONV SV* Perl__invlist_contents(pTHX_ SV* const invlist) | |
7271 __attribute__warn_unused_result__ | |
7272 __attribute__nonnull__(pTHX_1); | |
7273 #define PERL_ARGS_ASSERT__INVLIST_CONTENTS \ | |
7274 assert(invlist) | |
7275 | |
7276 PERL_STATIC_INLINE UV S__invlist_len(SV* const invlist) | |
7277 __attribute__warn_unused_result__ | |
7278 __attribute__nonnull__(1); | |
7279 #define PERL_ARGS_ASSERT__INVLIST_LEN \ | |
7280 assert(invlist) | |
7281 | |
7282 PERL_CALLCONV IV Perl__invlist_search(SV* const invlist, const UV cp) | |
7283 __attribute__warn_unused_result__ | |
7284 __attribute__nonnull__(1); | |
7285 #define PERL_ARGS_ASSERT__INVLIST_SEARCH \ | |
7286 assert(invlist) | |
7287 | |
7288 PERL_CALLCONV HV* Perl__swash_inversion_hash(pTHX_ SV* const swash) | |
7289 __attribute__warn_unused_result__ | |
7290 __attribute__nonnull__(pTHX_1); | |
7291 #define PERL_ARGS_ASSERT__SWASH_INVERSION_HASH \ | |
7292 assert(swash) | |
7293 | |
7294 PERL_STATIC_INLINE bool* S_get_invlist_offset_addr(SV* invlist) | |
7295 __attribute__warn_unused_result__ | |
7296 __attribute__nonnull__(1); | |
7297 #define PERL_ARGS_ASSERT_GET_INVLIST_OFFSET_ADDR \ | |
7298 assert(invlist) | |
7299 | |
7300 PERL_STATIC_INLINE UV* S_invlist_array(SV* const invlist) | |
7301 __attribute__warn_unused_result__ | |
7302 __attribute__nonnull__(1); | |
7303 #define PERL_ARGS_ASSERT_INVLIST_ARRAY \ | |
7304 assert(invlist) | |
7305 | |
7306 #endif | |
7307 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C) | |
7308 PERL_CALLCONV SV* Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none, SV* invlist, U8* const flags_p) | |
7309 __attribute__nonnull__(pTHX_1) | |
7310 __attribute__nonnull__(pTHX_2) | |
7311 __attribute__nonnull__(pTHX_3); | |
7312 #define PERL_ARGS_ASSERT__CORE_SWASH_INIT \ | |
7313 assert(pkg); assert(name); assert(listsv) | |
7314 | |
7315 #endif | |
7316 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) | |
7317 STATIC char* S_form_short_octal_warning(pTHX_ const char * const s, const STRLEN len) | |
7318 __attribute__warn_unused_result__ | |
7319 __attribute__pure__ | |
7320 __attribute__nonnull__(pTHX_1); | |
7321 #define PERL_ARGS_ASSERT_FORM_SHORT_OCTAL_WARNING \ | |
7322 assert(s) | |
7323 | |
7324 STATIC char S_grok_bslash_c(pTHX_ const char source, const bool output_warning) | |
7325 __attribute__warn_unused_result__; | |
7326 | |
7327 STATIC bool S_grok_bslash_o(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8) | |
7328 __attribute__warn_unused_result__ | |
7329 __attribute__nonnull__(pTHX_1) | |
7330 __attribute__nonnull__(pTHX_2) | |
7331 __attribute__nonnull__(pTHX_3); | |
7332 #define PERL_ARGS_ASSERT_GROK_BSLASH_O \ | |
7333 assert(s); assert(uv); assert(error_msg) | |
7334 | |
7335 PERL_STATIC_INLINE bool S_grok_bslash_x(pTHX_ char** s, UV* uv, const char** error_msg, const bool output_warning, const bool strict, const bool silence_non_portable, const bool utf8) | |
7336 __attribute__warn_unused_result__ | |
7337 __attribute__nonnull__(pTHX_1) | |
7338 __attribute__nonnull__(pTHX_2) | |
7339 __attribute__nonnull__(pTHX_3); | |
7340 #define PERL_ARGS_ASSERT_GROK_BSLASH_X \ | |
7341 assert(s); assert(uv); assert(error_msg) | |
7342 | |
7343 PERL_STATIC_INLINE I32 S_regcurly(const char *s) | |
7344 __attribute__warn_unused_result__ | |
7345 __attribute__pure__ | |
7346 __attribute__nonnull__(1); | |
7347 #define PERL_ARGS_ASSERT_REGCURLY \ | |
7348 assert(s) | |
7349 | |
7350 #endif | |
7351 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C) | |
7352 PERL_CALLCONV SV* Perl__add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end) | |
7353 __attribute__warn_unused_result__; | |
7354 | |
7355 /* PERL_CALLCONV void _invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i) | |
7356 __attribute__nonnull__(pTHX_1) | |
7357 __attribute__nonnull__(pTHX_2) | |
7358 __attribute__nonnull__(pTHX_3); */ | |
7359 | |
7360 PERL_CALLCONV void Perl__invlist_intersection_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** i) | |
7361 __attribute__nonnull__(pTHX_2) | |
7362 __attribute__nonnull__(pTHX_4); | |
7363 #define PERL_ARGS_ASSERT__INVLIST_INTERSECTION_MAYBE_COMPLEMENT_2ND \ | |
7364 assert(b); assert(i) | |
7365 | |
7366 PERL_CALLCONV void Perl__invlist_invert(pTHX_ SV* const invlist) | |
7367 __attribute__nonnull__(pTHX_1); | |
7368 #define PERL_ARGS_ASSERT__INVLIST_INVERT \ | |
7369 assert(invlist) | |
7370 | |
7371 PERL_CALLCONV void Perl__invlist_populate_swatch(SV* const invlist, const UV start, const UV end, U8* swatch) | |
7372 __attribute__nonnull__(1) | |
7373 __attribute__nonnull__(4); | |
7374 #define PERL_ARGS_ASSERT__INVLIST_POPULATE_SWATCH \ | |
7375 assert(invlist); assert(swatch) | |
7376 | |
7377 /* PERL_CALLCONV void _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result) | |
7378 __attribute__nonnull__(pTHX_1) | |
7379 __attribute__nonnull__(pTHX_2) | |
7380 __attribute__nonnull__(pTHX_3); */ | |
7381 | |
7382 /* PERL_CALLCONV void _invlist_union(pTHX_ SV* const a, SV* const b, SV** output) | |
7383 __attribute__nonnull__(pTHX_2) | |
7384 __attribute__nonnull__(pTHX_3); */ | |
7385 | |
7386 PERL_CALLCONV void Perl__invlist_union_maybe_complement_2nd(pTHX_ SV* const a, SV* const b, const bool complement_b, SV** output) | |
7387 __attribute__nonnull__(pTHX_2) | |
7388 __attribute__nonnull__(pTHX_4); | |
7389 #define PERL_ARGS_ASSERT__INVLIST_UNION_MAYBE_COMPLEMENT_2ND \ | |
7390 assert(b); assert(output) | |
7391 | |
7392 PERL_CALLCONV SV* Perl__new_invlist(pTHX_ IV initial_size) | |
7393 __attribute__warn_unused_result__; | |
7394 | |
7395 PERL_CALLCONV SV* Perl__setup_canned_invlist(pTHX_ const STRLEN size, const UV element0, UV** other_elements_ptr) | |
7396 __attribute__warn_unused_result__ | |
7397 __attribute__nonnull__(pTHX_3); | |
7398 #define PERL_ARGS_ASSERT__SETUP_CANNED_INVLIST \ | |
7399 assert(other_elements_ptr) | |
7400 | |
7401 PERL_CALLCONV SV* Perl__swash_to_invlist(pTHX_ SV* const swash) | |
7402 __attribute__warn_unused_result__ | |
7403 __attribute__nonnull__(pTHX_1); | |
7404 #define PERL_ARGS_ASSERT__SWASH_TO_INVLIST \ | |
7405 assert(swash) | |
7406 | |
7407 #endif | |
7408 #if defined(PERL_IN_REGEXEC_C) | |
7409 STATIC SB_enum S_advance_one_SB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target) | |
7410 __attribute__warn_unused_result__ | |
7411 __attribute__nonnull__(pTHX_1) | |
7412 __attribute__nonnull__(pTHX_2); | |
7413 #define PERL_ARGS_ASSERT_ADVANCE_ONE_SB \ | |
7414 assert(curpos); assert(strend) | |
7415 | |
7416 STATIC WB_enum S_advance_one_WB(pTHX_ U8 ** curpos, const U8 * const strend, const bool utf8_target) | |
7417 __attribute__warn_unused_result__ | |
7418 __attribute__nonnull__(pTHX_1) | |
7419 __attribute__nonnull__(pTHX_2); | |
7420 #define PERL_ARGS_ASSERT_ADVANCE_ONE_WB \ | |
7421 assert(curpos); assert(strend) | |
7422 | |
7423 STATIC SB_enum S_backup_one_SB(pTHX_ const U8 * const strbeg, U8 ** curpos, const bool utf8_target) | |
7424 __attribute__warn_unused_result__ | |
7425 __attribute__nonnull__(pTHX_1) | |
7426 __attribute__nonnull__(pTHX_2); | |
7427 #define PERL_ARGS_ASSERT_BACKUP_ONE_SB \ | |
7428 assert(strbeg); assert(curpos) | |
7429 | |
7430 STATIC WB_enum S_backup_one_WB(pTHX_ WB_enum * previous, const U8 * const strbeg, U8 ** curpos, const bool utf8_target) | |
7431 __attribute__warn_unused_result__ | |
7432 __attribute__nonnull__(pTHX_1) | |
7433 __attribute__nonnull__(pTHX_2) | |
7434 __attribute__nonnull__(pTHX_3); | |
7435 #define PERL_ARGS_ASSERT_BACKUP_ONE_WB \ | |
7436 assert(previous); assert(strbeg); assert(curpos) | |
7437 | |
7438 STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, regmatch_info *reginfo) | |
7439 __attribute__warn_unused_result__ | |
7440 __attribute__nonnull__(pTHX_1) | |
7441 __attribute__nonnull__(pTHX_2) | |
7442 __attribute__nonnull__(pTHX_3) | |
7443 __attribute__nonnull__(pTHX_4); | |
7444 #define PERL_ARGS_ASSERT_FIND_BYCLASS \ | |
7445 assert(prog); assert(c); assert(s); assert(strend) | |
7446 | |
7447 STATIC bool S_isFOO_lc(pTHX_ const U8 classnum, const U8 character) | |
7448 __attribute__warn_unused_result__; | |
7449 | |
7450 STATIC bool S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character) | |
7451 __attribute__warn_unused_result__ | |
7452 __attribute__nonnull__(pTHX_2); | |
7453 #define PERL_ARGS_ASSERT_ISFOO_UTF8_LC \ | |
7454 assert(character) | |
7455 | |
7456 STATIC bool S_isGCB(const GCB_enum before, const GCB_enum after) | |
7457 __attribute__warn_unused_result__; | |
7458 | |
7459 STATIC bool S_isSB(pTHX_ SB_enum before, SB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target) | |
7460 __attribute__warn_unused_result__ | |
7461 __attribute__nonnull__(pTHX_3) | |
7462 __attribute__nonnull__(pTHX_4) | |
7463 __attribute__nonnull__(pTHX_5); | |
7464 #define PERL_ARGS_ASSERT_ISSB \ | |
7465 assert(strbeg); assert(curpos); assert(strend) | |
7466 | |
7467 STATIC bool S_isWB(pTHX_ WB_enum previous, WB_enum before, WB_enum after, const U8 * const strbeg, const U8 * const curpos, const U8 * const strend, const bool utf8_target) | |
7468 __attribute__warn_unused_result__ | |
7469 __attribute__nonnull__(pTHX_4) | |
7470 __attribute__nonnull__(pTHX_5) | |
7471 __attribute__nonnull__(pTHX_6); | |
7472 #define PERL_ARGS_ASSERT_ISWB \ | |
7473 assert(strbeg); assert(curpos); assert(strend) | |
7474 | |
7475 STATIC I32 S_reg_check_named_buff_matched(const regexp *rex, const regnode *scan) | |
7476 __attribute__warn_unused_result__ | |
7477 __attribute__nonnull__(1) | |
7478 __attribute__nonnull__(2); | |
7479 #define PERL_ARGS_ASSERT_REG_CHECK_NAMED_BUFF_MATCHED \ | |
7480 assert(rex); assert(scan) | |
7481 | |
7482 STATIC void S_regcppop(pTHX_ regexp *rex, U32 *maxopenparen_p) | |
7483 __attribute__nonnull__(pTHX_1) | |
7484 __attribute__nonnull__(pTHX_2); | |
7485 #define PERL_ARGS_ASSERT_REGCPPOP \ | |
7486 assert(rex); assert(maxopenparen_p) | |
7487 | |
7488 STATIC CHECKPOINT S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen) | |
7489 __attribute__nonnull__(pTHX_1); | |
7490 #define PERL_ARGS_ASSERT_REGCPPUSH \ | |
7491 assert(rex) | |
7492 | |
7493 STATIC U8* S_reghop3(U8 *s, SSize_t off, const U8 *lim) | |
7494 __attribute__warn_unused_result__ | |
7495 __attribute__nonnull__(1) | |
7496 __attribute__nonnull__(3); | |
7497 #define PERL_ARGS_ASSERT_REGHOP3 \ | |
7498 assert(s); assert(lim) | |
7499 | |
7500 STATIC U8* S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim) | |
7501 __attribute__warn_unused_result__ | |
7502 __attribute__nonnull__(1) | |
7503 __attribute__nonnull__(3) | |
7504 __attribute__nonnull__(4); | |
7505 #define PERL_ARGS_ASSERT_REGHOP4 \ | |
7506 assert(s); assert(llim); assert(rlim) | |
7507 | |
7508 STATIC U8* S_reghopmaybe3(U8 *s, SSize_t off, const U8 *lim) | |
7509 __attribute__warn_unused_result__ | |
7510 __attribute__nonnull__(1) | |
7511 __attribute__nonnull__(3); | |
7512 #define PERL_ARGS_ASSERT_REGHOPMAYBE3 \ | |
7513 assert(s); assert(lim) | |
7514 | |
7515 STATIC bool S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8 * const p, const U8 * const p_end, bool const utf8_target) | |
7516 __attribute__warn_unused_result__ | |
7517 __attribute__nonnull__(pTHX_2) | |
7518 __attribute__nonnull__(pTHX_3) | |
7519 __attribute__nonnull__(pTHX_4); | |
7520 #define PERL_ARGS_ASSERT_REGINCLASS \ | |
7521 assert(n); assert(p); assert(p_end) | |
7522 | |
7523 STATIC SSize_t S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) | |
7524 __attribute__warn_unused_result__ | |
7525 __attribute__nonnull__(pTHX_1) | |
7526 __attribute__nonnull__(pTHX_2) | |
7527 __attribute__nonnull__(pTHX_3); | |
7528 #define PERL_ARGS_ASSERT_REGMATCH \ | |
7529 assert(reginfo); assert(startpos); assert(prog) | |
7530 | |
7531 STATIC I32 S_regrepeat(pTHX_ regexp *prog, char **startposp, const regnode *p, regmatch_info *const reginfo, I32 max, int depth) | |
7532 __attribute__warn_unused_result__ | |
7533 __attribute__nonnull__(pTHX_1) | |
7534 __attribute__nonnull__(pTHX_2) | |
7535 __attribute__nonnull__(pTHX_3) | |
7536 __attribute__nonnull__(pTHX_4); | |
7537 #define PERL_ARGS_ASSERT_REGREPEAT \ | |
7538 assert(prog); assert(startposp); assert(p); assert(reginfo) | |
7539 | |
7540 STATIC I32 S_regtry(pTHX_ regmatch_info *reginfo, char **startposp) | |
7541 __attribute__warn_unused_result__ | |
7542 __attribute__nonnull__(pTHX_1) | |
7543 __attribute__nonnull__(pTHX_2); | |
7544 #define PERL_ARGS_ASSERT_REGTRY \ | |
7545 assert(reginfo); assert(startposp) | |
7546 | |
7547 STATIC bool S_to_byte_substr(pTHX_ regexp * prog) | |
7548 __attribute__nonnull__(pTHX_1); | |
7549 #define PERL_ARGS_ASSERT_TO_BYTE_SUBSTR \ | |
7550 assert(prog) | |
7551 | |
7552 STATIC void S_to_utf8_substr(pTHX_ regexp * prog) | |
7553 __attribute__nonnull__(pTHX_1); | |
7554 #define PERL_ARGS_ASSERT_TO_UTF8_SUBSTR \ | |
7555 assert(prog) | |
7556 | |
7557 #endif | |
7558 #if defined(PERL_IN_SCOPE_C) | |
7559 STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type); | |
7560 STATIC SV* S_save_scalar_at(pTHX_ SV **sptr, const U32 flags) | |
7561 __attribute__nonnull__(pTHX_1); | |
7562 #define PERL_ARGS_ASSERT_SAVE_SCALAR_AT \ | |
7563 assert(sptr) | |
7564 | |
7565 #endif | |
7566 #if defined(PERL_IN_SV_C) | |
7567 STATIC char * S_F0convert(NV nv, char *const endbuf, STRLEN *const len) | |
7568 __attribute__nonnull__(2) | |
7569 __attribute__nonnull__(3); | |
7570 #define PERL_ARGS_ASSERT_F0CONVERT \ | |
7571 assert(endbuf); assert(len) | |
7572 | |
7573 STATIC void S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv) | |
7574 __attribute__nonnull__(pTHX_1) | |
7575 __attribute__nonnull__(pTHX_2); | |
7576 #define PERL_ARGS_ASSERT_ANONYMISE_CV_MAYBE \ | |
7577 assert(gv); assert(cv) | |
7578 | |
7579 STATIC void S_assert_uft8_cache_coherent(pTHX_ const char *const func, STRLEN from_cache, STRLEN real, SV *const sv) | |
7580 __attribute__nonnull__(pTHX_1) | |
7581 __attribute__nonnull__(pTHX_4); | |
7582 #define PERL_ARGS_ASSERT_ASSERT_UFT8_CACHE_COHERENT \ | |
7583 assert(func); assert(sv) | |
7584 | |
7585 STATIC bool S_curse(pTHX_ SV * const sv, const bool check_refcnt) | |
7586 __attribute__nonnull__(pTHX_1); | |
7587 #define PERL_ARGS_ASSERT_CURSE \ | |
7588 assert(sv) | |
7589 | |
7590 STATIC I32 S_expect_number(pTHX_ char **const pattern) | |
7591 __attribute__warn_unused_result__ | |
7592 __attribute__nonnull__(pTHX_1); | |
7593 #define PERL_ARGS_ASSERT_EXPECT_NUMBER \ | |
7594 assert(pattern) | |
7595 | |
7596 STATIC I32 S_find_array_subscript(pTHX_ const AV *const av, const SV *const val) | |
7597 __attribute__nonnull__(pTHX_2); | |
7598 #define PERL_ARGS_ASSERT_FIND_ARRAY_SUBSCRIPT \ | |
7599 assert(val) | |
7600 | |
7601 STATIC SV * S_find_hash_subscript(pTHX_ const HV *const hv, const SV *const val) | |
7602 __attribute__nonnull__(pTHX_2); | |
7603 #define PERL_ARGS_ASSERT_FIND_HASH_SUBSCRIPT \ | |
7604 assert(val) | |
7605 | |
7606 STATIC SV* S_find_uninit_var(pTHX_ const OP *const obase, const SV *const uninit_sv, bool match, const char **desc_p) | |
7607 __attribute__nonnull__(pTHX_4); | |
7608 #define PERL_ARGS_ASSERT_FIND_UNINIT_VAR \ | |
7609 assert(desc_p) | |
7610 | |
7611 STATIC bool S_glob_2number(pTHX_ GV* const gv) | |
7612 __attribute__nonnull__(pTHX_1); | |
7613 #define PERL_ARGS_ASSERT_GLOB_2NUMBER \ | |
7614 assert(gv) | |
7615 | |
7616 STATIC void S_glob_assign_glob(pTHX_ SV *const dstr, SV *const sstr, const int dtype) | |
7617 __attribute__nonnull__(pTHX_1) | |
7618 __attribute__nonnull__(pTHX_2); | |
7619 #define PERL_ARGS_ASSERT_GLOB_ASSIGN_GLOB \ | |
7620 assert(dstr); assert(sstr) | |
7621 | |
7622 STATIC SV * S_more_sv(pTHX); | |
7623 STATIC void S_not_a_number(pTHX_ SV *const sv) | |
7624 __attribute__nonnull__(pTHX_1); | |
7625 #define PERL_ARGS_ASSERT_NOT_A_NUMBER \ | |
7626 assert(sv) | |
7627 | |
7628 STATIC void S_not_incrementable(pTHX_ SV *const sv) | |
7629 __attribute__nonnull__(pTHX_1); | |
7630 #define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \ | |
7631 assert(sv) | |
7632 | |
7633 STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv) | |
7634 __attribute__warn_unused_result__ | |
7635 __attribute__nonnull__(1); | |
7636 #define PERL_ARGS_ASSERT_PTR_TABLE_FIND \ | |
7637 assert(tbl) | |
7638 | |
7639 STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv) | |
7640 __attribute__nonnull__(pTHX_1); | |
7641 #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \ | |
7642 assert(sv) | |
7643 | |
7644 STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags) | |
7645 __attribute__nonnull__(pTHX_1); | |
7646 #define PERL_ARGS_ASSERT_SV_ADD_ARENA \ | |
7647 assert(ptr) | |
7648 | |
7649 STATIC const char * S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size) | |
7650 __attribute__nonnull__(pTHX_1) | |
7651 __attribute__nonnull__(pTHX_2); | |
7652 #define PERL_ARGS_ASSERT_SV_DISPLAY \ | |
7653 assert(sv); assert(tmpbuf) | |
7654 | |
7655 STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu) | |
7656 __attribute__nonnull__(pTHX_1) | |
7657 __attribute__nonnull__(pTHX_2) | |
7658 __attribute__nonnull__(pTHX_3); | |
7659 #define PERL_ARGS_ASSERT_SV_POS_B2U_MIDWAY \ | |
7660 assert(s); assert(target); assert(end) | |
7661 | |
7662 STATIC STRLEN S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0) | |
7663 __attribute__nonnull__(pTHX_1) | |
7664 __attribute__nonnull__(pTHX_2) | |
7665 __attribute__nonnull__(pTHX_3) | |
7666 __attribute__nonnull__(pTHX_4); | |
7667 #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \ | |
7668 assert(sv); assert(mgp); assert(start); assert(send) | |
7669 | |
7670 STATIC STRLEN S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN *const uoffset, bool *const at_end) | |
7671 __attribute__nonnull__(1) | |
7672 __attribute__nonnull__(2) | |
7673 __attribute__nonnull__(3) | |
7674 __attribute__nonnull__(4); | |
7675 #define PERL_ARGS_ASSERT_SV_POS_U2B_FORWARDS \ | |
7676 assert(start); assert(send); assert(uoffset); assert(at_end) | |
7677 | |
7678 STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, const STRLEN uend) | |
7679 __attribute__nonnull__(1) | |
7680 __attribute__nonnull__(2); | |
7681 #define PERL_ARGS_ASSERT_SV_POS_U2B_MIDWAY \ | |
7682 assert(start); assert(send) | |
7683 | |
7684 PERL_STATIC_INLINE void S_sv_unglob(pTHX_ SV *const sv, U32 flags) | |
7685 __attribute__nonnull__(pTHX_1); | |
7686 #define PERL_ARGS_ASSERT_SV_UNGLOB \ | |
7687 assert(sv) | |
7688 | |
7689 STATIC char * S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const peob) | |
7690 __attribute__warn_unused_result__ | |
7691 __attribute__nonnull__(1) | |
7692 __attribute__nonnull__(5); | |
7693 #define PERL_ARGS_ASSERT_UIV_2BUF \ | |
7694 assert(buf); assert(peob) | |
7695 | |
7696 STATIC void S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen) | |
7697 __attribute__nonnull__(pTHX_1) | |
7698 __attribute__nonnull__(pTHX_2); | |
7699 #define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \ | |
7700 assert(sv); assert(mgp) | |
7701 | |
7702 STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen) | |
7703 __attribute__nonnull__(pTHX_1) | |
7704 __attribute__nonnull__(pTHX_2); | |
7705 #define PERL_ARGS_ASSERT_UTF8_MG_POS_CACHE_UPDATE \ | |
7706 assert(sv); assert(mgp) | |
7707 | |
7708 STATIC I32 S_visit(pTHX_ SVFUNC_t f, const U32 flags, const U32 mask) | |
7709 __attribute__nonnull__(pTHX_1); | |
7710 #define PERL_ARGS_ASSERT_VISIT \ | |
7711 assert(f) | |
7712 | |
7713 # if defined(PERL_OLD_COPY_ON_WRITE) | |
7714 STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after) | |
7715 __attribute__nonnull__(pTHX_1) | |
7716 __attribute__nonnull__(pTHX_2) | |
7717 __attribute__nonnull__(pTHX_3); | |
7718 #define PERL_ARGS_ASSERT_SV_RELEASE_COW \ | |
7719 assert(sv); assert(pvx); assert(after) | |
7720 | |
7721 # endif | |
7722 # if defined(USE_ITHREADS) | |
7723 STATIC SV* S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) | |
7724 __attribute__warn_unused_result__ | |
7725 __attribute__nonnull__(pTHX_1) | |
7726 __attribute__nonnull__(pTHX_2); | |
7727 #define PERL_ARGS_ASSERT_SV_DUP_COMMON \ | |
7728 assert(sstr); assert(param) | |
7729 | |
7730 STATIC SV ** S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param) | |
7731 __attribute__nonnull__(pTHX_1) | |
7732 __attribute__nonnull__(pTHX_2) | |
7733 __attribute__nonnull__(pTHX_4); | |
7734 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE \ | |
7735 assert(source); assert(dest); assert(param) | |
7736 | |
7737 STATIC void S_unreferenced_to_tmp_stack(pTHX_ AV *const unreferenced) | |
7738 __attribute__nonnull__(pTHX_1); | |
7739 #define PERL_ARGS_ASSERT_UNREFERENCED_TO_TMP_STACK \ | |
7740 assert(unreferenced) | |
7741 | |
7742 # endif | |
7743 #endif | |
7744 #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C) | |
7745 PERL_CALLCONV SV * Perl_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ, const SV *const keyname, I32 aindex, int subscript_type) | |
7746 __attribute__warn_unused_result__; | |
7747 | |
7748 #endif | |
7749 #if defined(PERL_IN_TOKE_C) | |
7750 STATIC int S_ao(pTHX_ int toketype); | |
7751 STATIC void S_check_uni(pTHX); | |
7752 STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what) | |
7753 __attribute__nonnull__(pTHX_1) | |
7754 __attribute__nonnull__(pTHX_2) | |
7755 __attribute__nonnull__(pTHX_3); | |
7756 #define PERL_ARGS_ASSERT_CHECKCOMMA \ | |
7757 assert(s); assert(name); assert(what) | |
7758 | |
7759 STATIC int S_deprecate_commaless_var_list(pTHX); | |
7760 STATIC char * S_filter_gets(pTHX_ SV *sv, STRLEN append) | |
7761 __attribute__warn_unused_result__ | |
7762 __attribute__nonnull__(pTHX_1); | |
7763 #define PERL_ARGS_ASSERT_FILTER_GETS \ | |
7764 assert(sv) | |
7765 | |
7766 STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len) | |
7767 __attribute__warn_unused_result__ | |
7768 __attribute__nonnull__(pTHX_1); | |
7769 #define PERL_ARGS_ASSERT_FIND_IN_MY_STASH \ | |
7770 assert(pkgname) | |
7771 | |
7772 STATIC void S_force_ident(pTHX_ const char *s, int kind) | |
7773 __attribute__nonnull__(pTHX_1); | |
7774 #define PERL_ARGS_ASSERT_FORCE_IDENT \ | |
7775 assert(s) | |
7776 | |
7777 STATIC void S_force_ident_maybe_lex(pTHX_ char pit); | |
7778 STATIC void S_force_next(pTHX_ I32 type); | |
7779 STATIC char* S_force_strict_version(pTHX_ char *s) | |
7780 __attribute__nonnull__(pTHX_1); | |
7781 #define PERL_ARGS_ASSERT_FORCE_STRICT_VERSION \ | |
7782 assert(s) | |
7783 | |
7784 STATIC char* S_force_version(pTHX_ char *s, int guessing) | |
7785 __attribute__nonnull__(pTHX_1); | |
7786 #define PERL_ARGS_ASSERT_FORCE_VERSION \ | |
7787 assert(s) | |
7788 | |
7789 STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack) | |
7790 __attribute__nonnull__(pTHX_1); | |
7791 #define PERL_ARGS_ASSERT_FORCE_WORD \ | |
7792 assert(start) | |
7793 | |
7794 PERL_STATIC_INLINE SV* S_get_and_check_backslash_N_name(pTHX_ const char* s, const char* const e) | |
7795 __attribute__warn_unused_result__ | |
7796 __attribute__nonnull__(pTHX_1) | |
7797 __attribute__nonnull__(pTHX_2); | |
7798 #define PERL_ARGS_ASSERT_GET_AND_CHECK_BACKSLASH_N_NAME \ | |
7799 assert(s); assert(e) | |
7800 | |
7801 STATIC void S_incline(pTHX_ const char *s) | |
7802 __attribute__nonnull__(pTHX_1); | |
7803 #define PERL_ARGS_ASSERT_INCLINE \ | |
7804 assert(s) | |
7805 | |
7806 STATIC int S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv) | |
7807 __attribute__nonnull__(pTHX_1); | |
7808 #define PERL_ARGS_ASSERT_INTUIT_METHOD \ | |
7809 assert(s) | |
7810 | |
7811 STATIC int S_intuit_more(pTHX_ char *s) | |
7812 __attribute__nonnull__(pTHX_1); | |
7813 #define PERL_ARGS_ASSERT_INTUIT_MORE \ | |
7814 assert(s) | |
7815 | |
7816 STATIC I32 S_lop(pTHX_ I32 f, int x, char *s) | |
7817 __attribute__nonnull__(pTHX_3); | |
7818 #define PERL_ARGS_ASSERT_LOP \ | |
7819 assert(s) | |
7820 | |
7821 PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s) | |
7822 __attribute__noreturn__; | |
7823 | |
7824 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) | |
7825 __attribute__nonnull__(pTHX_3) | |
7826 __attribute__nonnull__(pTHX_5); | |
7827 #define PERL_ARGS_ASSERT_NEW_CONSTANT \ | |
7828 assert(key); assert(sv) | |
7829 | |
7830 STATIC void S_no_op(pTHX_ const char *const what, char *s) | |
7831 __attribute__nonnull__(pTHX_1); | |
7832 #define PERL_ARGS_ASSERT_NO_OP \ | |
7833 assert(what) | |
7834 | |
7835 STATIC void S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, bool is_utf8) | |
7836 __attribute__nonnull__(pTHX_1) | |
7837 __attribute__nonnull__(pTHX_2) | |
7838 __attribute__nonnull__(pTHX_3); | |
7839 #define PERL_ARGS_ASSERT_PARSE_IDENT \ | |
7840 assert(s); assert(d); assert(e) | |
7841 | |
7842 STATIC int S_pending_ident(pTHX); | |
7843 STATIC char* S_scan_const(pTHX_ char *start) | |
7844 __attribute__warn_unused_result__ | |
7845 __attribute__nonnull__(pTHX_1); | |
7846 #define PERL_ARGS_ASSERT_SCAN_CONST \ | |
7847 assert(start) | |
7848 | |
7849 STATIC char* S_scan_formline(pTHX_ char *s) | |
7850 __attribute__warn_unused_result__ | |
7851 __attribute__nonnull__(pTHX_1); | |
7852 #define PERL_ARGS_ASSERT_SCAN_FORMLINE \ | |
7853 assert(s) | |
7854 | |
7855 STATIC char* S_scan_heredoc(pTHX_ char *s) | |
7856 __attribute__warn_unused_result__ | |
7857 __attribute__nonnull__(pTHX_1); | |
7858 #define PERL_ARGS_ASSERT_SCAN_HEREDOC \ | |
7859 assert(s) | |
7860 | |
7861 STATIC char* S_scan_ident(pTHX_ char *s, char *dest, STRLEN destlen, I32 ck_uni) | |
7862 __attribute__nonnull__(pTHX_1) | |
7863 __attribute__nonnull__(pTHX_2); | |
7864 #define PERL_ARGS_ASSERT_SCAN_IDENT \ | |
7865 assert(s); assert(dest) | |
7866 | |
7867 STATIC char* S_scan_inputsymbol(pTHX_ char *start) | |
7868 __attribute__warn_unused_result__ | |
7869 __attribute__nonnull__(pTHX_1); | |
7870 #define PERL_ARGS_ASSERT_SCAN_INPUTSYMBOL \ | |
7871 assert(start) | |
7872 | |
7873 STATIC char* S_scan_pat(pTHX_ char *start, I32 type) | |
7874 __attribute__warn_unused_result__ | |
7875 __attribute__nonnull__(pTHX_1); | |
7876 #define PERL_ARGS_ASSERT_SCAN_PAT \ | |
7877 assert(start) | |
7878 | |
7879 STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, char **delimp) | |
7880 __attribute__warn_unused_result__ | |
7881 __attribute__nonnull__(pTHX_1); | |
7882 #define PERL_ARGS_ASSERT_SCAN_STR \ | |
7883 assert(start) | |
7884 | |
7885 STATIC char* S_scan_subst(pTHX_ char *start) | |
7886 __attribute__warn_unused_result__ | |
7887 __attribute__nonnull__(pTHX_1); | |
7888 #define PERL_ARGS_ASSERT_SCAN_SUBST \ | |
7889 assert(start) | |
7890 | |
7891 STATIC char* S_scan_trans(pTHX_ char *start) | |
7892 __attribute__warn_unused_result__ | |
7893 __attribute__nonnull__(pTHX_1); | |
7894 #define PERL_ARGS_ASSERT_SCAN_TRANS \ | |
7895 assert(start) | |
7896 | |
7897 STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp) | |
7898 __attribute__nonnull__(pTHX_1) | |
7899 __attribute__nonnull__(pTHX_2) | |
7900 __attribute__nonnull__(pTHX_5); | |
7901 #define PERL_ARGS_ASSERT_SCAN_WORD \ | |
7902 assert(s); assert(dest); assert(slp) | |
7903 | |
7904 STATIC char* S_skipspace_flags(pTHX_ char *s, U32 flags) | |
7905 __attribute__warn_unused_result__ | |
7906 __attribute__nonnull__(pTHX_1); | |
7907 #define PERL_ARGS_ASSERT_SKIPSPACE_FLAGS \ | |
7908 assert(s) | |
7909 | |
7910 STATIC I32 S_sublex_done(pTHX) | |
7911 __attribute__warn_unused_result__; | |
7912 | |
7913 STATIC I32 S_sublex_push(pTHX) | |
7914 __attribute__warn_unused_result__; | |
7915 | |
7916 STATIC I32 S_sublex_start(pTHX) | |
7917 __attribute__warn_unused_result__; | |
7918 | |
7919 STATIC char* S_swallow_bom(pTHX_ U8 *s) | |
7920 __attribute__warn_unused_result__ | |
7921 __attribute__nonnull__(pTHX_1); | |
7922 #define PERL_ARGS_ASSERT_SWALLOW_BOM \ | |
7923 assert(s) | |
7924 | |
7925 STATIC char * S_tokenize_use(pTHX_ int is_use, char *s) | |
7926 __attribute__warn_unused_result__ | |
7927 __attribute__nonnull__(pTHX_2); | |
7928 #define PERL_ARGS_ASSERT_TOKENIZE_USE \ | |
7929 assert(s) | |
7930 | |
7931 STATIC SV* S_tokeq(pTHX_ SV *sv) | |
7932 __attribute__nonnull__(pTHX_1); | |
7933 #define PERL_ARGS_ASSERT_TOKEQ \ | |
7934 assert(sv) | |
7935 | |
7936 STATIC void S_update_debugger_info(pTHX_ SV *orig_sv, const char *const buf, STRLEN len); | |
7937 STATIC int S_yywarn(pTHX_ const char *const s, U32 flags) | |
7938 __attribute__nonnull__(pTHX_1); | |
7939 #define PERL_ARGS_ASSERT_YYWARN \ | |
7940 assert(s) | |
7941 | |
7942 #endif | |
7943 #if defined(PERL_IN_UNIVERSAL_C) | |
7944 STATIC bool S_isa_lookup(pTHX_ HV *stash, const char * const name, STRLEN len, U32 flags) | |
7945 __attribute__nonnull__(pTHX_1) | |
7946 __attribute__nonnull__(pTHX_2); | |
7947 #define PERL_ARGS_ASSERT_ISA_LOOKUP \ | |
7948 assert(stash); assert(name) | |
7949 | |
7950 #endif | |
7951 #if defined(PERL_IN_UTF8_C) | |
7952 STATIC UV S_check_locale_boundary_crossing(pTHX_ const U8* const p, const UV result, U8* const ustrp, STRLEN *lenp) | |
7953 __attribute__warn_unused_result__ | |
7954 __attribute__nonnull__(pTHX_1) | |
7955 __attribute__nonnull__(pTHX_3) | |
7956 __attribute__nonnull__(pTHX_4); | |
7957 #define PERL_ARGS_ASSERT_CHECK_LOCALE_BOUNDARY_CROSSING \ | |
7958 assert(p); assert(ustrp); assert(lenp) | |
7959 | |
7960 PERL_STATIC_INLINE bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname, SV* const invlist) | |
7961 __attribute__warn_unused_result__ | |
7962 __attribute__nonnull__(pTHX_1) | |
7963 __attribute__nonnull__(pTHX_2) | |
7964 __attribute__nonnull__(pTHX_3); | |
7965 #define PERL_ARGS_ASSERT_IS_UTF8_COMMON \ | |
7966 assert(p); assert(swash); assert(swashname) | |
7967 | |
7968 STATIC U8* S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val, const bool wants_value, const U8* const typestr) | |
7969 __attribute__warn_unused_result__ | |
7970 __attribute__nonnull__(pTHX_1) | |
7971 __attribute__nonnull__(pTHX_2) | |
7972 __attribute__nonnull__(pTHX_3) | |
7973 __attribute__nonnull__(pTHX_4) | |
7974 __attribute__nonnull__(pTHX_5) | |
7975 __attribute__nonnull__(pTHX_7); | |
7976 #define PERL_ARGS_ASSERT_SWASH_SCAN_LIST_LINE \ | |
7977 assert(l); assert(lend); assert(min); assert(max); assert(val); assert(typestr) | |
7978 | |
7979 STATIC SV* S_swatch_get(pTHX_ SV* swash, UV start, UV span) | |
7980 __attribute__warn_unused_result__ | |
7981 __attribute__nonnull__(pTHX_1); | |
7982 #define PERL_ARGS_ASSERT_SWATCH_GET \ | |
7983 assert(swash) | |
7984 | |
7985 STATIC U8 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp) | |
7986 __attribute__warn_unused_result__; | |
7987 | |
7988 #endif | |
7989 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C) | |
7990 PERL_CALLCONV UV Perl__to_upper_title_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const char S_or_s) | |
7991 __attribute__nonnull__(pTHX_2) | |
7992 __attribute__nonnull__(pTHX_3); | |
7993 #define PERL_ARGS_ASSERT__TO_UPPER_TITLE_LATIN1 \ | |
7994 assert(p); assert(lenp) | |
7995 | |
7996 #endif | |
7997 #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) | |
7998 PERL_CALLCONV UV Perl__to_fold_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp, const unsigned int flags) | |
7999 __attribute__nonnull__(pTHX_2) | |
8000 __attribute__nonnull__(pTHX_3); | |
8001 #define PERL_ARGS_ASSERT__TO_FOLD_LATIN1 \ | |
8002 assert(p); assert(lenp) | |
8003 | |
8004 #endif | |
8005 #if defined(PERL_IN_UTIL_C) | |
8006 STATIC bool S_ckwarn_common(pTHX_ U32 w); | |
8007 STATIC bool S_invoke_exception_hook(pTHX_ SV *ex, bool warn); | |
8008 STATIC SV* S_mess_alloc(pTHX); | |
8009 STATIC SV * S_with_queued_errors(pTHX_ SV *ex) | |
8010 __attribute__nonnull__(pTHX_1); | |
8011 #define PERL_ARGS_ASSERT_WITH_QUEUED_ERRORS \ | |
8012 assert(ex) | |
8013 | |
8014 STATIC void S_xs_version_bootcheck(pTHX_ U32 items, U32 ax, const char *xs_p, STRLEN xs_len) | |
8015 __attribute__nonnull__(pTHX_3); | |
8016 #define PERL_ARGS_ASSERT_XS_VERSION_BOOTCHECK \ | |
8017 assert(xs_p) | |
8018 | |
8019 # if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL) | |
8020 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) | |
8021 __attribute__nonnull__(4) | |
8022 __attribute__nonnull__(8) | |
8023 __attribute__nonnull__(10); | |
8024 #define PERL_ARGS_ASSERT_MEM_LOG_COMMON \ | |
8025 assert(type_name); assert(filename); assert(funcname) | |
8026 | |
8027 # endif | |
8028 #endif | |
8029 #if defined(PERL_MEM_LOG) | |
8030 PERL_CALLCONV Malloc_t Perl_mem_log_alloc(const UV nconst, UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname) | |
8031 __attribute__nonnull__(3) | |
8032 __attribute__nonnull__(5) | |
8033 __attribute__nonnull__(7); | |
8034 #define PERL_ARGS_ASSERT_MEM_LOG_ALLOC \ | |
8035 assert(type_name); assert(filename); assert(funcname) | |
8036 | |
8037 PERL_CALLCONV Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname) | |
8038 __attribute__nonnull__(2) | |
8039 __attribute__nonnull__(4); | |
8040 #define PERL_ARGS_ASSERT_MEM_LOG_FREE \ | |
8041 assert(filename); assert(funcname) | |
8042 | |
8043 PERL_CALLCONV Malloc_t Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname) | |
8044 __attribute__nonnull__(3) | |
8045 __attribute__nonnull__(6) | |
8046 __attribute__nonnull__(8); | |
8047 #define PERL_ARGS_ASSERT_MEM_LOG_REALLOC \ | |
8048 assert(type_name); assert(filename); assert(funcname) | |
8049 | |
8050 #endif | |
8051 #if defined(PERL_OP_PARENT) | |
8052 PERL_CALLCONV OP* Perl_op_parent(OP *o) | |
8053 __attribute__nonnull__(1); | |
8054 #define PERL_ARGS_ASSERT_OP_PARENT \ | |
8055 assert(o) | |
8056 | |
8057 #endif | |
8058 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C) | |
8059 STATIC void S_pidgone(pTHX_ Pid_t pid, int status); | |
8060 #endif | |
8061 #if defined(UNLINK_ALL_VERSIONS) | |
8062 PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f) | |
8063 __attribute__nonnull__(pTHX_1); | |
8064 #define PERL_ARGS_ASSERT_UNLNK \ | |
8065 assert(f) | |
8066 | |
8067 #endif | |
8068 #if defined(USE_C_BACKTRACE) | |
8069 PERL_CALLCONV bool Perl_dump_c_backtrace(pTHX_ PerlIO* fp, int max_depth, int skip) | |
8070 __attribute__nonnull__(pTHX_1); | |
8071 #define PERL_ARGS_ASSERT_DUMP_C_BACKTRACE \ | |
8072 assert(fp) | |
8073 | |
8074 /* PERL_CALLCONV void free_c_backtrace(pTHX_ Perl_c_backtrace* bt) | |
8075 __attribute__nonnull__(pTHX_1); */ | |
8076 | |
8077 PERL_CALLCONV Perl_c_backtrace* Perl_get_c_backtrace(pTHX_ int max_depth, int skip); | |
8078 PERL_CALLCONV SV* Perl_get_c_backtrace_dump(pTHX_ int max_depth, int skip); | |
8079 #endif | |
8080 #if defined(USE_ITHREADS) | |
8081 PERL_CALLCONV PADOFFSET Perl_alloccopstash(pTHX_ HV *hv) | |
8082 __attribute__nonnull__(pTHX_1); | |
8083 #define PERL_ARGS_ASSERT_ALLOCCOPSTASH \ | |
8084 assert(hv) | |
8085 | |
8086 PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl) | |
8087 __attribute__warn_unused_result__ | |
8088 __attribute__nonnull__(pTHX_2); | |
8089 #define PERL_ARGS_ASSERT_ANY_DUP \ | |
8090 assert(proto_perl) | |
8091 | |
8092 PERL_CALLCONV void Perl_clone_params_del(CLONE_PARAMS *param) | |
8093 __attribute__nonnull__(1); | |
8094 #define PERL_ARGS_ASSERT_CLONE_PARAMS_DEL \ | |
8095 assert(param) | |
8096 | |
8097 PERL_CALLCONV CLONE_PARAMS * Perl_clone_params_new(PerlInterpreter *const from, PerlInterpreter *const to) | |
8098 __attribute__malloc__ | |
8099 __attribute__warn_unused_result__ | |
8100 __attribute__nonnull__(1) | |
8101 __attribute__nonnull__(2); | |
8102 #define PERL_ARGS_ASSERT_CLONE_PARAMS_NEW \ | |
8103 assert(from); assert(to) | |
8104 | |
8105 PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) | |
8106 __attribute__warn_unused_result__ | |
8107 __attribute__nonnull__(pTHX_4); | |
8108 #define PERL_ARGS_ASSERT_CX_DUP \ | |
8109 assert(param) | |
8110 | |
8111 PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param) | |
8112 __attribute__warn_unused_result__ | |
8113 __attribute__nonnull__(pTHX_2); | |
8114 #define PERL_ARGS_ASSERT_DIRP_DUP \ | |
8115 assert(param) | |
8116 | |
8117 PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param) | |
8118 __attribute__nonnull__(pTHX_3); | |
8119 #define PERL_ARGS_ASSERT_FP_DUP \ | |
8120 assert(param) | |
8121 | |
8122 PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param) | |
8123 __attribute__warn_unused_result__ | |
8124 __attribute__nonnull__(pTHX_2); | |
8125 #define PERL_ARGS_ASSERT_GP_DUP \ | |
8126 assert(param) | |
8127 | |
8128 PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param) | |
8129 __attribute__warn_unused_result__ | |
8130 __attribute__nonnull__(pTHX_3); | |
8131 #define PERL_ARGS_ASSERT_HE_DUP \ | |
8132 assert(param) | |
8133 | |
8134 PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param) | |
8135 __attribute__warn_unused_result__ | |
8136 __attribute__nonnull__(pTHX_2); | |
8137 #define PERL_ARGS_ASSERT_HEK_DUP \ | |
8138 assert(param) | |
8139 | |
8140 PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param) | |
8141 __attribute__warn_unused_result__ | |
8142 __attribute__nonnull__(pTHX_2); | |
8143 #define PERL_ARGS_ASSERT_MG_DUP \ | |
8144 assert(param) | |
8145 | |
8146 PERL_CALLCONV struct mro_meta* Perl_mro_meta_dup(pTHX_ struct mro_meta* smeta, CLONE_PARAMS* param) | |
8147 __attribute__nonnull__(pTHX_1) | |
8148 __attribute__nonnull__(pTHX_2); | |
8149 #define PERL_ARGS_ASSERT_MRO_META_DUP \ | |
8150 assert(smeta); assert(param) | |
8151 | |
8152 PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) | |
8153 __attribute__malloc__ | |
8154 __attribute__warn_unused_result__ | |
8155 __attribute__nonnull__(pTHX_3); | |
8156 #define PERL_ARGS_ASSERT_NEWPADOP \ | |
8157 assert(sv) | |
8158 | |
8159 PERL_CALLCONV PADLIST * Perl_padlist_dup(pTHX_ PADLIST *srcpad, CLONE_PARAMS *param) | |
8160 __attribute__warn_unused_result__ | |
8161 __attribute__nonnull__(pTHX_1) | |
8162 __attribute__nonnull__(pTHX_2); | |
8163 #define PERL_ARGS_ASSERT_PADLIST_DUP \ | |
8164 assert(srcpad); assert(param) | |
8165 | |
8166 PERL_CALLCONV PADNAME * Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param) | |
8167 __attribute__warn_unused_result__ | |
8168 __attribute__nonnull__(pTHX_1) | |
8169 __attribute__nonnull__(pTHX_2); | |
8170 #define PERL_ARGS_ASSERT_PADNAME_DUP \ | |
8171 assert(src); assert(param) | |
8172 | |
8173 PERL_CALLCONV PADNAMELIST * Perl_padnamelist_dup(pTHX_ PADNAMELIST *srcpad, CLONE_PARAMS *param) | |
8174 __attribute__warn_unused_result__ | |
8175 __attribute__nonnull__(pTHX_1) | |
8176 __attribute__nonnull__(pTHX_2); | |
8177 #define PERL_ARGS_ASSERT_PADNAMELIST_DUP \ | |
8178 assert(srcpad); assert(param) | |
8179 | |
8180 PERL_CALLCONV yy_parser* Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param) | |
8181 __attribute__nonnull__(pTHX_2); | |
8182 #define PERL_ARGS_ASSERT_PARSER_DUP \ | |
8183 assert(param) | |
8184 | |
8185 PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter *proto_perl, UV flags) | |
8186 __attribute__nonnull__(1); | |
8187 #define PERL_ARGS_ASSERT_PERL_CLONE \ | |
8188 assert(proto_perl) | |
8189 | |
8190 PERL_CALLCONV void Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param) | |
8191 __attribute__nonnull__(pTHX_1) | |
8192 __attribute__nonnull__(pTHX_2) | |
8193 __attribute__nonnull__(pTHX_3); | |
8194 #define PERL_ARGS_ASSERT_RE_DUP_GUTS \ | |
8195 assert(sstr); assert(dstr); assert(param) | |
8196 | |
8197 PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param) | |
8198 __attribute__nonnull__(pTHX_1) | |
8199 __attribute__nonnull__(pTHX_2); | |
8200 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \ | |
8201 assert(r); assert(param) | |
8202 | |
8203 PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param) | |
8204 __attribute__nonnull__(pTHX_1) | |
8205 __attribute__nonnull__(pTHX_2) | |
8206 __attribute__nonnull__(pTHX_3); | |
8207 #define PERL_ARGS_ASSERT_RVPV_DUP \ | |
8208 assert(dstr); assert(sstr); assert(param) | |
8209 | |
8210 PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) | |
8211 __attribute__warn_unused_result__ | |
8212 __attribute__nonnull__(pTHX_2); | |
8213 #define PERL_ARGS_ASSERT_SI_DUP \ | |
8214 assert(param) | |
8215 | |
8216 PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) | |
8217 __attribute__malloc__ | |
8218 __attribute__warn_unused_result__ | |
8219 __attribute__nonnull__(pTHX_1) | |
8220 __attribute__nonnull__(pTHX_2); | |
8221 #define PERL_ARGS_ASSERT_SS_DUP \ | |
8222 assert(proto_perl); assert(param) | |
8223 | |
8224 PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) | |
8225 __attribute__warn_unused_result__ | |
8226 __attribute__nonnull__(pTHX_2); | |
8227 #define PERL_ARGS_ASSERT_SV_DUP \ | |
8228 assert(param) | |
8229 | |
8230 PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) | |
8231 __attribute__warn_unused_result__ | |
8232 __attribute__nonnull__(pTHX_2); | |
8233 #define PERL_ARGS_ASSERT_SV_DUP_INC \ | |
8234 assert(param) | |
8235 | |
8236 #endif | |
8237 #if defined(USE_LOCALE) && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX)) | |
8238 PERL_CALLCONV bool Perl__is_cur_LC_category_utf8(pTHX_ int category); | |
8239 #endif | |
8240 #if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C) | |
8241 STATIC char* S_stdize_locale(pTHX_ char* locs) | |
8242 __attribute__nonnull__(pTHX_1); | |
8243 #define PERL_ARGS_ASSERT_STDIZE_LOCALE \ | |
8244 assert(locs) | |
8245 | |
8246 #endif | |
8247 #if defined(USE_LOCALE_COLLATE) | |
8248 PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg) | |
8249 __attribute__nonnull__(pTHX_1) | |
8250 __attribute__nonnull__(pTHX_2); | |
8251 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \ | |
8252 assert(sv); assert(mg) | |
8253 | |
8254 PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen) | |
8255 __attribute__nonnull__(pTHX_1) | |
8256 __attribute__nonnull__(pTHX_3); | |
8257 #define PERL_ARGS_ASSERT_MEM_COLLXFRM \ | |
8258 assert(s); assert(xlen) | |
8259 | |
8260 /* PERL_CALLCONV char* sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp) | |
8261 __attribute__nonnull__(pTHX_1) | |
8262 __attribute__nonnull__(pTHX_2); */ | |
8263 | |
8264 PERL_CALLCONV char* Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags) | |
8265 __attribute__nonnull__(pTHX_1) | |
8266 __attribute__nonnull__(pTHX_2); | |
8267 #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \ | |
8268 assert(sv); assert(nxp) | |
8269 | |
8270 #endif | |
8271 #if defined(USE_PERLIO) | |
8272 PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f); | |
8273 PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f); | |
8274 PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f); | |
8275 PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f); | |
8276 PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f); | |
8277 PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f); | |
8278 PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f); | |
8279 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f); | |
8280 PERL_CALLCONV SSize_t Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f) | |
8281 __attribute__warn_unused_result__; | |
8282 | |
8283 PERL_CALLCONV SSize_t Perl_PerlIO_get_cnt(pTHX_ PerlIO *f) | |
8284 __attribute__warn_unused_result__; | |
8285 | |
8286 PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f); | |
8287 PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) | |
8288 __attribute__nonnull__(pTHX_2); | |
8289 #define PERL_ARGS_ASSERT_PERLIO_READ \ | |
8290 assert(vbuf) | |
8291 | |
8292 PERL_CALLCONV void Perl_PerlIO_restore_errno(pTHX_ PerlIO *f); | |
8293 PERL_CALLCONV void Perl_PerlIO_save_errno(pTHX_ PerlIO *f); | |
8294 PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence); | |
8295 PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, SSize_t cnt); | |
8296 PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, SSize_t cnt); | |
8297 PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f); | |
8298 PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX) | |
8299 __attribute__warn_unused_result__; | |
8300 | |
8301 PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX) | |
8302 __attribute__warn_unused_result__; | |
8303 | |
8304 PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX) | |
8305 __attribute__warn_unused_result__; | |
8306 | |
8307 PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f); | |
8308 PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) | |
8309 __attribute__nonnull__(pTHX_2); | |
8310 #define PERL_ARGS_ASSERT_PERLIO_UNREAD \ | |
8311 assert(vbuf) | |
8312 | |
8313 PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) | |
8314 __attribute__nonnull__(pTHX_2); | |
8315 #define PERL_ARGS_ASSERT_PERLIO_WRITE \ | |
8316 assert(vbuf) | |
8317 | |
8318 #endif | |
8319 #if defined(USE_QUADMATH) | |
8320 PERL_CALLCONV bool Perl_quadmath_format_needed(const char* format) | |
8321 __attribute__nonnull__(1); | |
8322 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_NEEDED \ | |
8323 assert(format) | |
8324 | |
8325 PERL_CALLCONV const char* Perl_quadmath_format_single(const char* format) | |
8326 __attribute__nonnull__(1); | |
8327 #define PERL_ARGS_ASSERT_QUADMATH_FORMAT_SINGLE \ | |
8328 assert(format) | |
8329 | |
8330 #endif | |
8331 #if defined(WIN32) | |
8332 PERL_CALLCONV char* Perl_my_setlocale(pTHX_ int category, const char* locale) | |
8333 __attribute__pure__; | |
8334 | |
8335 PERL_CALLCONV_NO_RET void win32_croak_not_implemented(const char * fname) | |
8336 __attribute__noreturn__ | |
8337 __attribute__nonnull__(1); | |
8338 #define PERL_ARGS_ASSERT_WIN32_CROAK_NOT_IMPLEMENTED \ | |
8339 assert(fname) | |
8340 | |
8341 #endif | |
8342 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS) | |
8343 PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp) | |
8344 __attribute__nonnull__(pTHX_2) | |
8345 __attribute__nonnull__(pTHX_3); | |
8346 #define PERL_ARGS_ASSERT_DO_ASPAWN \ | |
8347 assert(mark); assert(sp) | |
8348 | |
8349 PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd) | |
8350 __attribute__nonnull__(pTHX_1); | |
8351 #define PERL_ARGS_ASSERT_DO_SPAWN \ | |
8352 assert(cmd) | |
8353 | |
8354 PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd) | |
8355 __attribute__nonnull__(pTHX_1); | |
8356 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \ | |
8357 assert(cmd) | |
8358 | |
8359 #endif | |
8360 #if defined(_MSC_VER) | |
8361 PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) | |
8362 __attribute__nonnull__(pTHX_1) | |
8363 __attribute__nonnull__(pTHX_2); | |
8364 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \ | |
8365 assert(sv); assert(mg) | |
8366 | |
8367 #endif | |
8368 #ifdef PERL_CORE | |
8369 # include "pp_proto.h" | |
8370 #endif | |
8371 END_EXTERN_C | |
8372 | |
8373 /* ex: set ro: */ |