This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
autodoc.pl: Check for misuse of the 'n' flag
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
d7cb65f2 3: This file is processed by regen/embed.pl and autodoc.pl
d8bd2bed
KW
4: It is used to declare the interfaces to the functions defined by perl. All
5: non-static functions must have entries here. Static functions need not, but
6: there is benefit to declaring them here, as it generally handles the thread
7: context parameter invisibly, as well as making sure a PERL_ARGS_ASSERT_foo
8: macro is defined, which can save you debugging time.
d412580b 9:
94bdecf9
JH
10: Lines are of the form:
11: flags|return_type|function_name|arg1|arg2|...|argN
12:
13: A line may be continued on another by ending it with a backslash.
14: Leading and trailing whitespace will be ignored in each component.
15:
d8bd2bed
KW
16: The default without flags is to declare a function for internal perl-core use
17: only, not visible to XS code nor to Perl extensions. Use the A and E flags to
18: modify this. Most non-static functions should have the 'p' flag to avoid
19: namespace clashes with programs that embed perl.
20:
94bdecf9 21: flags are single letters with following meanings:
d412580b 22:
ba4591a5 23: A Available fully everywhere (usually part of the public API):
d412580b 24:
5af72e99 25: add entry to the list of exported symbols (unless e or m);
ba4591a5
KW
26: any doc entry goes in perlapi.pod rather than perlintern.pod. If no
27: documentation is furnished for this function, and M is also
28: specified, the function is not listed as part of the public API.
d212d222 29: If M isn't specified, and no documentation is furnished, the
ba4591a5 30: function is listed in perlapi as existing and being undocumented
d412580b
DM
31: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
32:
569ba91f
FC
33: If the function is only exported for use in a public
34: macro, see X.
35:
346c6a29
DM
36: a Allocates memory a la malloc/calloc. Also implies "R".
37: This should only be on functions which returns 'empty' memory
38: which has no other pointers to it, and which does not contain
39: any pointers to other things. So for example realloc() can't be
40: 'a'.
d412580b
DM
41:
42: proto.h: add __attribute__malloc__
43:
3f1866a8
KW
44: b Binary backward compatibility. This is used for functions which are
45: kept only to not have to change legacy applications that call them. If
46: there are no such legacy applications in a Perl installation for all
47: functions flagged with this, the installation can run Configure with the
48: -Accflags='-DNO_MATHOMS' parameter to not even compile them. If there
49: is a macro form of this function that provides equivalent functionality
50: (using a different implementation), also specify the 'm' flag. The 'b'
51: functions are normally moved to mathoms.c, but if circumstances dictate
52: otherwise, they can be anywhere, provided the whole function is wrapped
53: with
54: #ifndef NO_MATHOMS
55: ...
56: #endif
d412580b 57:
5ff52e3c
KW
58: Note that this flag no longer automatically adds a 'Perl_' prefix to the
59: name. Additionally specify 'p' to do that.
60:
3f1866a8
KW
61: For functions, like wrappers, whose macro shortcut doesn't call the
62: function, but which, for whatever reason, aren't considered legacy-only,
63: use the 'o' flag
64:
65: This flag effectively causes nothing to happen if the perl interpreter
66: is compiled with -DNO_MATHOMS; otherwise these happen:
d500e60d 67: add entry to the list of exported symbols;
d8bd2bed 68: create PERL_ARGS_ASSERT_foo;
3f1866a8 69: add embed.h entry (unless overridden by the 'm' flag)
d412580b
DM
70:
71: D Function is deprecated:
72:
73: proto.h: add __attribute__deprecated__
74:
6ef8d77a 75: d Function has documentation (somewhere) in the source:
d412580b
DM
76:
77: enables 'no docs for foo" warning in autodoc.pl
78:
79: E Visible to extensions included in the Perl core:
80:
81: in embed.h, change "#ifdef PERL_CORE"
82: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
83:
d212d222
KW
84: To be usable from dynamically loaded extensions, either:
85: 1) must be static to its containing file ("i" or "s" flag); or
86: 2) be combined with the "X" flag.
23fb3b56 87:
5af72e99
KW
88: e Not exported
89: suppress entry in the list of exported symbols
90:
d8bd2bed 91: f Function takes a format string. If the function name =~ qr/strftime/
531b2663
DM
92: then its assumed to take a strftime-style format string as 1st arg;
93: otherwise it's assumed to be a printf style format string, varargs
94: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
95:
96: proto.h: add __attribute__format__ (or ...null_ok__)
97:
71556506
KW
98: i Static inline: function in source code has a S_ prefix:
99:
4d2e4fbc
KW
100: proto.h: function is declared as S_foo rather than foo unless the 'p'
101: flag is also given in which case 'Perl_foo' is used,
71556506 102: PERL_STATIC_INLINE is added to declaration;
4d2e4fbc 103: embed.h: "#define foo S_foo" or Perl_foo entries added
71556506 104:
54c193ae 105: M There is an extra macro that bypasses this function
d412580b 106:
54c193ae
KW
107: (requires 'p', and implies 'o') The function exists so that callers who
108: used the 'Perl_' form can continue to do so, but there is a macro
109: available with out the 'Perl_' prefix that bypasses the function call,
110: such as when the function has been reduced to a wrapper around another
111: one.
d412580b
DM
112:
113: m Implemented as a macro:
114:
3f1866a8
KW
115: suppress proto.h entry unless 'b' also specified (actually, not
116: suppressed, but commented out)
d500e60d 117: suppress entry in the list of exported symbols
d412580b
DM
118: suppress embed.h entry
119:
d412580b 120:
1fcde0e9
KW
121: n Has no arguments (used only in =for apidoc entries)
122:
123: The macro (it can't be a function) is used without any parameters nor
124: empty parentheses.
d412580b 125:
7b53c8ee
NC
126: O Has a perl_ compatibility macro.
127:
128: The really OLD name for API funcs
129:
37ccf918 130: o Has no Perl_foo or S_foo compatibility macro:
d412580b 131:
59f80a35
KW
132: This can be used when you define a macro with this entry's name that
133: doesn't call the function specified by this entry. This is typically
134: done for a function that effectively just wraps another one, and where
135: the macro form calls the underlying function directly. For these, also
136: specify the 'm' flag. Legacy-only functions should instead use 'b'.
137:
d412580b
DM
138: embed.h: suppress "#define foo Perl_foo"
139:
d8bd2bed
KW
140: P Pure function:
141:
eafb5713
KW
142: A pure function has no effects except the return value, and the return
143: value depends only on params and/or globals. This is a hint to the
144: compiler that it can optimize calls to this function out of common
145: subexpressions. Consequently if this flag is wrongly specified, it can
146: lead to subtle bugs that vary by platform, compiler, compiler version,
147: and optimization level. Also, a future commit could easily change a
148: currently-pure function without even noticing this flag. So it should
149: be used sparingly, only for functions that are unlikely to ever become
150: not pure by future commits. It should not be used for static
151: functions, as the compiler already has the information needed to make
152: the 'pure' determination and doesn't need any hint; so it doesn't add
153: value in those cases, and could be dangerous if it causes the compiler
154: to skip doing its own checks. It should not be used on functions that
155: touch SVs, as those can trigger unexpected magic. Also implies "R":
d412580b
DM
156:
157: proto.h: add __attribute__pure__
158:
159: p Function in source code has a Perl_ prefix:
160:
161: proto.h: function is declared as Perl_foo rather than foo
162: embed.h: "#define foo Perl_foo" entries added
163:
b289a0bd 164: R Return value must not be ignored (also implied by 'a' and 'P' flags):
d412580b
DM
165:
166: proto.h: add __attribute__warn_unused_result__
167:
168: r Function never returns:
169:
170: proto.h: add __attribute__noreturn__
171:
9f589e47 172: S Static function: function in source code has a S_ prefix:
d412580b
DM
173:
174: proto.h: function is declared as S_foo rather than foo,
175: STATIC is added to declaration;
176: embed.h: "#define foo S_foo" entries added
177:
8b5ff177
KW
178: s autodoc.pl adds a terminating semi-colon to the usage example in the
179: documentation.
180:
45b29440
KW
181: T Has no implicit interpreter/thread context argument:
182:
183: suppress the pTHX part of "foo(pTHX...)" in proto.h;
184: In the PERL_IMPLICIT_SYS branch of embed.h, generates
185: "#define foo Perl_foo", rather than
186: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
187:
d412580b
DM
188: U Suppress usage example in autogenerated documentation
189:
190: (currently no effect)
191:
21553840
YO
192: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
193: argument to the function calls. This means that under DEBUGGING
194: a depth argument is added to the functions, which is used for
195: example by the regex engine for debugging and trace output.
196: A non DEBUGGING build will not pass the unused argument.
197: Currently restricted to functions with at least one argument.
198:
d412580b
DM
199: X Explicitly exported:
200:
5af72e99 201: add entry to the list of exported symbols, unless e or m
d412580b 202:
569ba91f
FC
203: This is often used for private functions that are used by public
204: macros. In those cases the macros must use the long form of the
205: name (Perl_blah(aTHX_ ...)).
206:
e4aeb12f 207: x Experimental, may change:
d412580b 208:
e4aeb12f
KW
209: any doc entry is marked that it may change. Also used to suppress
210: making a doc entry if it would just be a placeholder.
d412580b 211:
1aa6ea50 212: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 213:
f54cb97a 214: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 215:
1b6737cc
AL
216: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
217: no effect on output yet. It's a notation for the maintainers to know "I have
218: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
219: which is ambiguous.
220:
94bdecf9 221: Individual flags may be separated by whitespace.
94bdecf9 222
94bdecf9 223#if defined(PERL_IMPLICIT_SYS)
45b29440 224ATo |PerlInterpreter*|perl_alloc_using \
4048f010
NC
225 |NN struct IPerlMem *ipM \
226 |NN struct IPerlMem *ipMS \
227 |NN struct IPerlMem *ipMP \
228 |NN struct IPerlEnv *ipE \
229 |NN struct IPerlStdIO *ipStd \
16bf6295 230 |NN struct IPerlLIO *ipLIO \
4048f010
NC
231 |NN struct IPerlDir *ipD \
232 |NN struct IPerlSock *ipS \
233 |NN struct IPerlProc *ipP
94bdecf9 234#endif
45b29440
KW
235ATod |PerlInterpreter* |perl_alloc
236ATod |void |perl_construct |NN PerlInterpreter *my_perl
237ATod |int |perl_destruct |NN PerlInterpreter *my_perl
238ATod |void |perl_free |NN PerlInterpreter *my_perl
239ATod |int |perl_run |NN PerlInterpreter *my_perl
240ATod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65 241 |int argc|NULLOK char** argv|NULLOK char** env
45b29440 242ATpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 243#if defined(USE_ITHREADS)
45b29440 244ATod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 245# if defined(PERL_IMPLICIT_SYS)
45b29440 246ATo |PerlInterpreter*|perl_clone_using \
589df73b
SH
247 |NN PerlInterpreter *proto_perl \
248 |UV flags \
249 |NN struct IPerlMem* ipM \
250 |NN struct IPerlMem* ipMS \
251 |NN struct IPerlMem* ipMP \
252 |NN struct IPerlEnv* ipE \
253 |NN struct IPerlStdIO* ipStd \
254 |NN struct IPerlLIO* ipLIO \
255 |NN struct IPerlDir* ipD \
256 |NN struct IPerlSock* ipS \
257 |NN struct IPerlProc* ipP
94bdecf9
JH
258# endif
259#endif
260
45b29440
KW
261AaTop |Malloc_t|malloc |MEM_SIZE nbytes
262AaTop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
263ARTop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
264ATop |Free_t |mfree |Malloc_t where
94bdecf9 265#if defined(MYMALLOC)
45b29440
KW
266TpR |MEM_SIZE|malloced_size |NN void *p
267TpR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 268#endif
03f05cb4 269#if defined(PERL_IN_MALLOC_C)
9f589e47 270ST |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
03f05cb4 271#endif
94bdecf9 272
45b29440
KW
273ATpR |void* |get_context
274ATp |void |set_context |NN void *t
94bdecf9 275
6f1401dc
DM
276XEop |bool |try_amagic_bin |int method|int flags
277XEop |bool |try_amagic_un |int method|int flags
46c461b5 278Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 279Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 280p |bool |amagic_is_enabled|int method
c3a9a790 281Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 282ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
283Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
284Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 285Apd |OP* |op_linklist |NN OP *o
2fcb4757 286Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 287: FIXME - this is only called by pp_chown. They should be merged.
890ce7af 288p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
e4aeb12f 289Apx |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 290Apd |void |av_clear |NN AV *av
c70927a6
FC
291Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
292ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
293Apd |void |av_extend |NN AV *av|SSize_t key
294p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
295 |NN SSize_t *maxp \
7261499d 296 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
297ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
298Apd |void |av_fill |NN AV *av|SSize_t fill
299ApdR |SSize_t|av_len |NN AV *av
300ApdR |AV* |av_make |SSize_t size|NN SV **strp
1f1dcfb5 301p |SV* |av_nonelem |NN AV *av|SSize_t ix
4048f010 302Apd |SV* |av_pop |NN AV *av
e4aeb12f 303Apdoex |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 304Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 305: Used in scope.c, and by Data::Alias
4048f010
NC
306EXp |void |av_reify |NN AV *av
307ApdR |SV* |av_shift |NN AV *av
c70927a6
FC
308Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
309AidR |SSize_t|av_top_index |NN AV *av
310AmpdR |SSize_t|av_tindex |NN AV *av
4048f010 311Apd |void |av_undef |NN AV *av
e4aeb12f 312Apdoex |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 313Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
314Apo |SV** |av_arylen_p |NN AV *av
315Apo |IV* |av_iter_p |NN AV *av
43869a0c 316#if defined(PERL_IN_AV_C)
9f589e47 317S |MAGIC* |get_aux_mg |NN AV *av
878d132a 318#endif
d67fec57 319: Used in perly.y
4048f010 320pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 321: Used in perly.y
25f5d540 322ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
1c23e2bd 323ApR |U8 |block_gimme
d67fec57 324: Used in perly.y
25f5d540 325ApdR |int |block_start |int full
e4aeb12f 326Aodxp |void |blockhook_register |NN BHK *hk
d67fec57 327: Used in perl.c
94bdecf9 328p |void |boot_core_UNIVERSAL
d67fec57 329: Used in perl.c
94bdecf9 330p |void |boot_core_PerlIO
4048f010 331Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
332Apd |const PERL_CONTEXT * |caller_cx|I32 level \
333 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 334: Used in several source files
ae1951c1 335pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
45b29440
KW
336ApRT |U32 |cast_ulong |NV f
337ApRT |I32 |cast_i32 |NV f
338ApRT |IV |cast_iv |NV f
339ApRT |UV |cast_uv |NV f
94bdecf9 340#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 341ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 342#endif
25502127
FC
343p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
344 |NULLOK const OP *curop|bool opnext
d67fec57 345: Used in perly.y
03d05f6e 346ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 347: Used in op.c and perl.c
e4aeb12f 348px |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 349Aprd |void |croak_sv |NN SV *baseex
551405c4 350: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 351Afprd |void |croak |NULLOK const char* pat|...
c5df3096 352Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
45b29440
KW
353ATprd |void |croak_no_modify
354ATprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 355 |NN const char *const params
45b29440
KW
356Tpr |void |croak_no_mem
357TprX |void |croak_popstack
358fTrp |void |croak_caller|NULLOK const char* pat|...
5af72e99 359fTpre |void |noperl_die|NN const char* pat|...
073dd035 360#if defined(WIN32)
5af72e99 361Tore |void |win32_croak_not_implemented|NN const char * fname
073dd035 362#endif
94bdecf9 363#if defined(PERL_IMPLICIT_CONTEXT)
45b29440
KW
364AfTrp |void |croak_nocontext|NULLOK const char* pat|...
365AfTrp |OP* |die_nocontext |NULLOK const char* pat|...
366AfTp |void |deb_nocontext |NN const char* pat|...
367AfTp |char* |form_nocontext |NN const char* pat|...
368ATp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
369AfTp |SV* |mess_nocontext |NN const char* pat|...
370AfTp |void |warn_nocontext |NN const char* pat|...
371AfTp |void |warner_nocontext|U32 err|NN const char* pat|...
372AfTp |SV* |newSVpvf_nocontext|NN const char *const pat|...
373AfTp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
374AfTp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
375AfTp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
376AfTp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
377AbfTp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
378AbfTp |int |printf_nocontext|NN const char *format|...
94bdecf9 379#endif
b8c38f0a
FC
380: Used in pp.c
381p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 382 |const int code|NULLOK int * const opnum
1e4b6aa1 383: Used in gv.c
8f939fab 384p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 385 |const int opnum
d67fec57 386: Used in sv.c
e4aeb12f 387ExXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
388 |NULLOK const char* p|const STRLEN len \
389 |const U32 flags
67022846 390: Used in pp.c and pp_sys.c
62d55b22 391ApdR |SV* |gv_const_sv |NN GV* gv
45b29440
KW
392ApdRT |SV* |cv_const_sv |NULLOK const CV *const cv
393pRT |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 394Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 395Apd |void |cv_undef |NN CV* cv
b7acb0a3 396p |void |cv_undef_flags |NN CV* cv|U32 flags
de0885da 397p |void |cv_forget_slab |NULLOK CV *cv
890ce7af 398Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 399Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 400Ap |void |filter_del |NN filter_t funcp
4048f010 401ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
402ApPR |char** |get_op_descs
403ApPR |char** |get_op_names
67022846 404: FIXME discussion on p5p
a3b680e6 405pPR |const char* |get_no_modify
67022846 406: FIXME discussion on p5p
a3b680e6
AL
407pPR |U32* |get_opargs
408ApPR |PPADDR_t*|get_ppaddr
d67fec57 409: Used by CXINC, which appears to be in widespread use
82151c42 410ApR |I32 |cxinc
890ce7af 411Afp |void |deb |NN const char* pat|...
aec46f14 412Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 413Ap |void |debprofdump
dc3c1c70 414EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
e839e6ed 415EXp |SV* |multiconcat_stringify |NN const OP* o
4373e329 416Ap |I32 |debop |NN const OP* o
94bdecf9
JH
417Ap |I32 |debstack
418Ap |I32 |debstackptrs
13733cde 419pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
45b29440 420ATp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 421 |NN const char* fromend|int delim|NN I32* retlen
45b29440 422Tp |char* |delimcpy_no_escape|NN char* to|NN const char* toend \
ba0a4150
FC
423 |NN const char* from \
424 |NN const char* fromend|int delim \
425 |NN I32* retlen
d67fec57 426: Used in op.c, perl.c
e4aeb12f 427px |void |delete_eval_scope
e950ecba
KW
428Aprd |OP* |die_sv |NN SV *baseex
429Afrpd |OP* |die |NULLOK const char* pat|...
67022846 430: Used in util.c
62705b21 431pr |void |die_unwind |NN SV* msv
94bdecf9 432Ap |void |dounwind |I32 cxix
67022846 433: FIXME
738ab09f 434pmb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 435: Used in pp_sys.c
738ab09f 436p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
1545ba5b 437Abp |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 438: Used in pp.c
063df69c 439Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 440: Defined in doio.c, used only in pp_sys.c
4373e329 441p |bool |do_eof |NN GV* gv
8c654ff2
NC
442
443#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
738ab09f 444pm |bool|do_exec |NN const char* cmd
8c654ff2 445#else
738ab09f 446p |bool|do_exec |NN const char* cmd
8c654ff2
NC
447#endif
448
9ec7171b 449#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 450Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
451Ap |int |do_spawn |NN char* cmd
452Ap |int |do_spawn_nowait|NN char* cmd
54725af6 453#endif
94bdecf9 454#if !defined(WIN32)
738ab09f 455p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9 456#endif
43869a0c 457#if defined(PERL_IN_DOIO_C)
9f589e47
KW
458S |void |exec_failed |NN const char *cmd|int fd|int do_report
459S |bool |argvout_final |NN MAGIC *mg|NN IO *io|bool not_implicit
a0f2c8ec 460#endif
94bdecf9 461#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 462: Defined in doio.c, used only in pp_sys.c
7827dc65 463p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 464: Defined in doio.c, used only in pp_sys.c
7827dc65 465p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 466: Defined in doio.c, used only in pp_sys.c
7827dc65 467p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 468: Defined in doio.c, used only in pp_sys.c
7827dc65 469p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 470: Defined in doio.c, used only in pp_sys.c
7827dc65 471p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 472: Defined in doio.c, used only in pp_sys.c
7827dc65 473p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 474#endif
4048f010 475Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
476: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
477: p |OP* |do_kv
33efebe6
DM
478: used in pp.c, pp_hot.c
479pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
e4dba786 480Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 481 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
1545ba5b 482Abp |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
483 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
484 |NN SV *svs|I32 num
45b29440
KW
485pT |void |setfd_cloexec|int fd
486pT |void |setfd_inhexec|int fd
884fc2d3 487p |void |setfd_cloexec_for_nonsysfd|int fd
74df577f 488p |void |setfd_inhexec_for_sysfd|int fd
884fc2d3 489p |void |setfd_cloexec_or_inhexec_by_sysfdness|int fd
f9821aff 490pR |int |PerlLIO_dup_cloexec|int oldfd
884fc2d3 491p |int |PerlLIO_dup2_cloexec|int oldfd|int newfd
f9821aff
Z
492pR |int |PerlLIO_open_cloexec|NN const char *file|int flag
493pR |int |PerlLIO_open3_cloexec|NN const char *file|int flag|int perm
45b29440 494pToR |int |my_mkstemp_cloexec|NN char *templte
f9821aff
Z
495#ifdef HAS_PIPE
496pR |int |PerlProc_pipe_cloexec|NN int *pipefd
497#endif
498#ifdef HAS_SOCKET
499pR |int |PerlSock_socket_cloexec|int domain|int type|int protocol
500pR |int |PerlSock_accept_cloexec|int listenfd \
501 |NULLOK struct sockaddr *addr \
502 |NULLOK Sock_size_t *addrlen
503#endif
504#if defined (HAS_SOCKETPAIR) || \
505 (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && \
506 defined(AF_INET) && defined(PF_INET))
507pR |int |PerlSock_socketpair_cloexec|int domain|int type|int protocol \
508 |NN int *pairfd
509#endif
a2b41d5c 510#if defined(PERL_IN_DOIO_C)
9f589e47 511S |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
a2b41d5c
NC
512 |NN PerlIO **saveofp|NN int *savefd \
513 |NN char *savetype
9f589e47 514S |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
a6fc70e5
NC
515 |NN char *mode|NN const char *oname \
516 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
517 |int savefd|char savetype|int writing \
7e30e49f
DIM
518 |bool was_fdopen|NULLOK const char *type \
519 |NULLOK Stat_t *statbufp
a2b41d5c 520#endif
4048f010
NC
521Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
522 |int as_raw|int rawmode|int rawperm \
523 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
524 |I32 num
e4aeb12f 525xp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
7e30e49f 526 |int rawmode|int rawperm|NULLOK Stat_t *statbufp
e4aeb12f 527xp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
4b451737
NC
528 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
529 |U32 num
67022846 530: Used in pp_hot.c and pp_sys.c
890ce7af 531p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 532: Used in pp_sys.c
890ce7af 533pR |OP* |do_readline
67022846 534: Defined in doio.c, used only in pp_sys.c
890ce7af 535p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
03a22d83 536Ap |void |do_sprintf |NN SV* sv|SSize_t len|NN SV** sarg
67022846 537: Defined in doio.c, used only in pp_sys.c
890ce7af 538p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 539: Defined in doio.c, used only in pp_sys.c
890ce7af 540pR |Off_t |do_tell |NN GV* gv
67022846 541: Defined in doop.c, used only in pp.c
f0fd0980 542p |Size_t |do_trans |NN SV* sv
67022846 543: Used in my.c and pp.c
d69c4304 544p |UV |do_vecget |NN SV* sv|STRLEN offset|int size
67022846 545: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 546p |void |do_vecset |NN SV* sv
67022846 547: Defined in doop.c, used only in pp.c
890ce7af 548p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 549: Used in perly.y
850e8516 550p |OP* |dofile |NN OP* term|I32 force_builtin
1c23e2bd 551ApR |U8 |dowantarray
94bdecf9 552Ap |void |dump_all
f0e3f042 553p |void |dump_all_perl |bool justperl
94bdecf9 554Ap |void |dump_eval
9a957fbc 555Ap |void |dump_form |NN const GV* gv
3dc78631 556Ap |void |gv_dump |NULLOK GV* gv
1e85b658 557Apd |OPclass|op_class |NULLOK const OP *o
4048f010 558Ap |void |op_dump |NN const OP *o
9a957fbc
AL
559Ap |void |pmop_dump |NULLOK PMOP* pm
560Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 561p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 562Ap |void |dump_sub |NN const GV* gv
f0e3f042 563p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
564Apd |void |fbm_compile |NN SV* sv|U32 flags
565ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 566 |NN SV* littlestr|U32 flags
9a5e6f3c 567p |CV * |find_lexical_cv|PADOFFSET off
67022846 568: Defined in util.c, used only in perl.c
7827dc65
AL
569p |char* |find_script |NN const char *scriptname|bool dosearch \
570 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 571#if defined(PERL_IN_OP_C)
9f589e47 572S |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
573i |OP* |op_integerize |NN OP *o
574i |OP* |op_std_init |NN OP *o
b46e009d 575#if defined(USE_ITHREADS)
576i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
577#endif
578i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
579 |NULLOK SV* const_meth
d67fec57 580: FIXME
9f589e47
KW
581S |OP* |fold_constants |NN OP * const o
582S |OP* |traverse_op_tree|NN OP* top|NN OP* o
b7783a12 583#endif
aec46f14
AL
584Afpd |char* |form |NN const char* pat|...
585Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 586Ap |void |free_tmps
43869a0c 587#if defined(PERL_IN_OP_C)
9f589e47 588S |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 589#endif
94bdecf9 590#if !defined(HAS_GETENV_LEN)
67022846 591: Used in hv.c
9f6cc744 592p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 593#endif
67022846 594: Used in pp_ctl.c and pp_hot.c
5af72e99 595poe |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
596Ap |void |gp_free |NULLOK GV* gv
597Ap |GP* |gp_ref |NULLOK GP* gp
13c59d41 598Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
bb85b28a
NC
599Apmb |GV* |gv_AVadd |NULLOK GV *gv
600Apmb |GV* |gv_HVadd |NULLOK GV *gv
601Apmb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
602AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
603 |STRLEN len|I32 method
0eeb01b9 604ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 605ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 606 |U32 flags
0fe84f7c 607ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 608 |STRLEN len|U32 flags
51da40ed 609Ap |void |gv_check |NN HV* stash
1545ba5b 610Abp |void |gv_efullname |NN SV* sv|NN const GV* gv
46c461b5
AL
611Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
612Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 613Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
614Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
615 |const U32 flags
6c53d59b
FC
616Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
617 |STRLEN len|I32 level
e6919483
BF
618Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
619Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
620 |I32 level|U32 flags
621Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
622 |STRLEN len|I32 level|U32 flags
460e5730
FC
623Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
624 |NN const char* name|STRLEN len \
625 |I32 level
d21989ed
BF
626Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
627Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
628 |I32 level|U32 flags
629Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
630 |STRLEN len|I32 level|U32 flags
eff494dd
NC
631Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
632Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
633 |I32 autoload
e4aeb12f
KW
634Apx |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
635Apx |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
44130a26 636 |U32 flags
e4aeb12f 637Apx |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 638 |const STRLEN len|U32 flags
fe9845cc 639Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
1545ba5b 640Abp |void |gv_fullname |NN SV* sv|NN const GV* gv
9a957fbc
AL
641Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
642Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 643: Used in scope.c
e4aeb12f 644pxoe |GP * |newGP |NN GV *const gv
803f2748 645pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 646poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 647pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
648Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
649 |NN const char* name|STRLEN len|int multi
04ec7e59 650Ap |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
e6066781 651Ap |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 652 |U32 flags
e6066781 653Ap |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 654 |STRLEN len|U32 flags
9f616d01 655Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
5af72e99 656pe |GV * |gv_override |NN const char * const name \
9e3fb20c 657 |const STRLEN len
e4aeb12f 658Xxpd |void |gv_try_downgrade|NN GV* gv
d8a875d9 659p |void |gv_setref |NN SV *const dstr|NN SV *const sstr
da51bb9b
NC
660Apd |HV* |gv_stashpv |NN const char* name|I32 flags
661Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
0eadbdad 662#if defined(PERL_IN_GV_C)
c6afe666 663i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
664i |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags
665i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
666 |STRLEN len|I32 level|U32 flags
0eadbdad 667#endif
8798655d 668Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 669Apd |void |hv_clear |NULLOK HV *hv
67022846 670: used in SAVEHINTS() and op.c
defdfed5 671ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010 672Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
5ff52e3c 673Abmdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 674 |I32 flags
5ff52e3c
KW
675Abmdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
676AbmdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
677AbmdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
678Abmdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 679 |I32 lval
5ff52e3c 680Abmdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
4048f010 681Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 682 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 683 |int action|NULLOK SV *val|U32 hash
a038e571
NC
684Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
685 |I32 klen_i32|const int action|NULLOK SV *val \
686 |const U32 hash
54c193ae 687AMpod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 688Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 689Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
690ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
691ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
692ApdRbm |HE* |hv_iternext |NN HV *hv
693ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
e4aeb12f 694ApxdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
4048f010
NC
695ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
696Ap |void |hv_ksplit |NN HV *hv|IV newmax
697Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 698#if defined(PERL_IN_HV_C)
9f589e47 699S |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 700#endif
20439bc7
Z
701Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
702Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
703 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
704Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
705 |NN const char *key|U32 hash|U32 flags
706Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
707 |NN SV *key|U32 hash|U32 flags
708Xpd |struct refcounted_he *|refcounted_he_new_pvn \
709 |NULLOK struct refcounted_he *parent \
710 |NN const char *keypv|STRLEN keylen \
711 |U32 hash|NULLOK SV *value|U32 flags
712Xpd |struct refcounted_he *|refcounted_he_new_pv \
713 |NULLOK struct refcounted_he *parent \
714 |NN const char *key \
715 |U32 hash|NULLOK SV *value|U32 flags
716Xpd |struct refcounted_he *|refcounted_he_new_sv \
717 |NULLOK struct refcounted_he *parent \
718 |NN SV *key \
719 |U32 hash|NULLOK SV *value|U32 flags
720Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
721Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
5ff52e3c 722Apbmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 723 |I32 klen|NULLOK SV *val|U32 hash
5ff52e3c 724Apbmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 725 |U32 hash
e4aeb12f 726Apbmx |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 727 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
728Amd |void |hv_undef |NULLOK HV *hv
729poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
ca0c6e8c 730AmP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
45b29440 731AiTp |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
ca0c6e8c 732AmP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
45b29440 733AiTp |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
e6226b18
KW
734Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
735 |bool u1|NN const char *s2|NULLOK char **pe2 \
736 |UV l2|bool u2
eda9cac1 737Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
738 |bool u1|NN const char *s2|NULLOK char **pe2 \
739 |UV l2|bool u2
e4aeb12f 740Axp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
eda9cac1
KW
741 |bool u1|NN const char *s2|NULLOK char **pe2 \
742 |UV l2|bool u2|U32 flags
45b29440 743AiTp |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 744#if defined(PERL_IN_DOIO_C)
9f589e47 745SR |bool |ingroup |Gid_t testgid|bool effective
0da8eb3a 746#endif
67022846 747: Used in toke.c
4373e329 748p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
749: Used in pp_ctl.c
750po |void |init_dbargs
67022846 751: Used in mg.c
94bdecf9
JH
752p |void |init_debugger
753Ap |void |init_stacks
bfce84ec 754Ap |void |init_tm |NN struct tm *ptm
67022846 755: Used in perly.y
45b29440 756AbmTpPR |char* |instr |NN const char* big|NN const char* little
67022846 757: Used in sv.c
96d7c888
FC
758p |bool |io_close |NN IO* io|NULLOK GV *gv \
759 |bool not_implicit|bool warn_on_fail
67022846 760: Used in perly.y
2d03de9c 761pR |OP* |invert |NULLOK OP* cmd
f54cb97a 762ApR |I32 |is_lvalue_sub
777d9014 763: Used in cop.h
eebd3bc0 764XopR |I32 |was_lvalue_sub
e4aeb12f
KW
765ApxRTP |STRLEN |_is_utf8_char_helper|NN const U8 * const s|NN const U8 * e|const U32 flags
766AbDxpR |U32 |to_uni_upper_lc|U32 c
767AbDxpR |U32 |to_uni_title_lc|U32 c
768AbDxpR |U32 |to_uni_lower_lc|U32 c
769AbDxpR |bool |is_uni_alnum |UV c
770AbDxpR |bool |is_uni_alnumc |UV c
771AbDxpR |bool |is_uni_idfirst |UV c
772AbDxpR |bool |is_uni_alpha |UV c
773AbDxpPR |bool |is_uni_ascii |UV c
774AbDxpPR |bool |is_uni_blank |UV c
775AbDxpPR |bool |is_uni_space |UV c
776AbDxpPR |bool |is_uni_cntrl |UV c
777AbDxpR |bool |is_uni_graph |UV c
778AbDxpR |bool |is_uni_digit |UV c
779AbDxpR |bool |is_uni_upper |UV c
780AbDxpR |bool |is_uni_lower |UV c
781AbDxpR |bool |is_uni_print |UV c
782AbDxpR |bool |is_uni_punct |UV c
783AbDxpPR |bool |is_uni_xdigit |UV c
784Axp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
785Axp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
786AbDxpR |bool |isIDFIRST_lazy |NN const char* p
787AbDxpR |bool |isALNUM_lazy |NN const char* p
95e064d9 788p |void |init_uniprops
afc16117 789#ifdef PERL_IN_UTF8_C
9f589e47 790STR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp \
eaf412bf 791 |const char dummy
57ff5f59 792# ifndef UV_IS_QUAD
9f589e47 793STR |int |is_utf8_cp_above_31_bits|NN const U8 * const s \
e050c007
KW
794 |NN const U8 * const e \
795 |const bool consider_overlongs
57ff5f59 796# endif
fab2782b
YO
797#endif
798#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
45b29440 799EXTp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 800#endif
348bf2e0
KW
801#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
802p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
803#endif
e4aeb12f
KW
804Axp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
805Axmp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
806Axp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
807AbDxpR |bool |is_uni_alnum_lc|UV c
808AbDxpR |bool |is_uni_alnumc_lc|UV c
809AbDxpR |bool |is_uni_idfirst_lc|UV c
810AxpR |bool |_is_uni_perl_idcont|UV c
811AxpR |bool |_is_uni_perl_idstart|UV c
812AbDxpR |bool |is_uni_alpha_lc|UV c
813AbDxpPR |bool |is_uni_ascii_lc|UV c
814AbDxpPR |bool |is_uni_space_lc|UV c
815AbDxpPR |bool |is_uni_blank_lc|UV c
816AbDxpPR |bool |is_uni_cntrl_lc|UV c
817AbDxpR |bool |is_uni_graph_lc|UV c
818AbDxpR |bool |is_uni_digit_lc|UV c
819AbDxpR |bool |is_uni_upper_lc|UV c
820AbDxpR |bool |is_uni_lower_lc|UV c
821AbDxpR |bool |is_uni_print_lc|UV c
822AbDxpR |bool |is_uni_punct_lc|UV c
823AbDxpPR |bool |is_uni_xdigit_lc|UV c
45b29440 824ATdmoR |bool |is_utf8_invariant_string|NN const U8* const s \
e17544a6 825 |STRLEN len
45b29440 826ATidR |bool |is_utf8_invariant_string_loc|NN const U8* const s \
e17544a6 827 |STRLEN len \
0cbf5865 828 |NULLOK const U8 ** ep
23a7ee81 829#ifndef EBCDIC
45b29440 830ATiR |unsigned int|_variant_byte_number|PERL_UINTMAX_T word
23a7ee81 831#endif
03c1e4ab 832#if defined(PERL_CORE) || defined(PERL_EXT)
45b29440 833EiTR |Size_t |variant_under_utf8_count|NN const U8* const s \
03c1e4ab
KW
834 |NN const U8* const e
835#endif
45b29440
KW
836AmTpdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len
837AmTpdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len
c9cd936b 838#if defined(PERL_CORE) || defined (PERL_EXT)
45b29440 839EXTidR |bool |is_utf8_non_invariant_string|NN const U8* const s \
c9cd936b
KW
840 |STRLEN len
841#endif
45b29440
KW
842AbTpdD |STRLEN |is_utf8_char |NN const U8 *s
843AbmTpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
844ATidR |Size_t |isUTF8_CHAR|NN const U8 * const s0 \
8ed185f9 845 |NN const U8 * const e
45b29440 846ATidR |Size_t |isSTRICT_UTF8_CHAR |NN const U8 * const s0 \
67049a5f 847 |NN const U8 * const e
45b29440 848ATidR |Size_t |isC9_STRICT_UTF8_CHAR |NN const U8 * const s0 \
c5bfbb64 849 |NN const U8 * const e
45b29440
KW
850ATmdpR |bool |is_utf8_string |NN const U8 *s|STRLEN len
851ATidR |bool |is_utf8_string_flags \
f60f61fd 852 |NN const U8 *s|STRLEN len|const U32 flags
45b29440
KW
853ATmdpR |bool |is_strict_utf8_string|NN const U8 *s|STRLEN len
854ATmdpR |bool |is_c9strict_utf8_string|NN const U8 *s|STRLEN len
855ATpdmb |bool |is_utf8_string_loc \
0dc258e2 856 |NN const U8 *s|const STRLEN len|NN const U8 **ep
45b29440 857ATdm |bool |is_utf8_string_loc_flags \
f60f61fd 858 |NN const U8 *s|STRLEN len|NN const U8 **ep \
9f2abfde 859 |const U32 flags
45b29440 860ATdm |bool |is_strict_utf8_string_loc \
33756530 861 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 862ATdm |bool |is_c9strict_utf8_string_loc \
33756530 863 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 864ATipd |bool |is_utf8_string_loclen \
f60f61fd 865 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 866 |NULLOK STRLEN *el
45b29440 867ATid |bool |is_utf8_string_loclen_flags \
f60f61fd 868 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 869 |NULLOK STRLEN *el|const U32 flags
45b29440 870ATid |bool |is_strict_utf8_string_loclen \
33756530 871 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 872 |NULLOK STRLEN *el
45b29440 873ATid |bool |is_c9strict_utf8_string_loclen \
33756530 874 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 875 |NULLOK STRLEN *el
45b29440 876AmTd |bool |is_utf8_fixed_width_buf_flags \
33756530 877 |NN const U8 * const s|STRLEN len|const U32 flags
45b29440 878AmTd |bool |is_utf8_fixed_width_buf_loc_flags \
33756530 879 |NN const U8 * const s|STRLEN len \
8bc127bf 880 |NULLOK const U8 **ep|const U32 flags
45b29440 881ATid |bool |is_utf8_fixed_width_buf_loclen_flags \
33756530 882 |NN const U8 * const s|STRLEN len \
8bc127bf 883 |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags
45b29440 884AmTdP |bool |is_utf8_valid_partial_char \
f1c999a7 885 |NN const U8 * const s|NN const U8 * const e
45b29440 886ATidR |bool |is_utf8_valid_partial_char_flags \
f1c999a7 887 |NN const U8 * const s|NN const U8 * const e|const U32 flags
e4aeb12f
KW
888AxpR |bool |_is_uni_FOO|const U8 classnum|const UV c
889AxpR |bool |_is_utf8_FOO|U8 classnum|NN const U8 * const p \
34aeb2e9
KW
890 |NN const char * const name \
891 |NN const char * const alternative \
892 |const bool use_utf8|const bool use_locale \
893 |NN const char * const file|const unsigned line
e4aeb12f 894AxpR |bool |_is_utf8_FOO_with_len|const U8 classnum|NN const U8 *p \
da8c1a98 895 |NN const U8 * const e
e4aeb12f
KW
896AbDxpR |bool |is_utf8_alnum |NN const U8 *p
897AbDxpR |bool |is_utf8_alnumc |NN const U8 *p
898AbDxpR |bool |is_utf8_idfirst|NN const U8 *p
899AbDxpR |bool |is_utf8_xidfirst|NN const U8 *p
900AxpR |bool |_is_utf8_idcont|NN const U8 *p
901AxpR |bool |_is_utf8_idstart|NN const U8 *p
902AxpR |bool |_is_utf8_xidcont|NN const U8 *p
903AxpR |bool |_is_utf8_xidstart|NN const U8 *p
904AxpR |bool |_is_utf8_perl_idcont_with_len|NN const U8 *p \
da8c1a98 905 |NN const U8 * const e
e4aeb12f 906AxpR |bool |_is_utf8_perl_idstart_with_len|NN const U8 *p \
da8c1a98 907 |NN const U8 * const e
e4aeb12f
KW
908AbDxpR |bool |is_utf8_idcont |NN const U8 *p
909AbDxpR |bool |is_utf8_xidcont |NN const U8 *p
910AbDxpR |bool |is_utf8_alpha |NN const U8 *p
911AbDxpR |bool |is_utf8_ascii |NN const U8 *p
912AbDxpR |bool |is_utf8_blank |NN const U8 *p
913AbDxpR |bool |is_utf8_space |NN const U8 *p
914AbDxpR |bool |is_utf8_perl_space |NN const U8 *p
915AbDxpR |bool |is_utf8_perl_word |NN const U8 *p
916AbDxpR |bool |is_utf8_cntrl |NN const U8 *p
917AbDxpR |bool |is_utf8_digit |NN const U8 *p
918AbDxpR |bool |is_utf8_posix_digit |NN const U8 *p
919AbDxpR |bool |is_utf8_graph |NN const U8 *p
920AbDxpR |bool |is_utf8_upper |NN const U8 *p
921AbDxpR |bool |is_utf8_lower |NN const U8 *p
922AbDxpR |bool |is_utf8_print |NN const U8 *p
923AbDxpR |bool |is_utf8_punct |NN const U8 *p
924AbDxpR |bool |is_utf8_xdigit |NN const U8 *p
925AxpR |bool |_is_utf8_mark |NN const U8 *p
926AbDxpR |bool |is_utf8_mark |NN const U8 *p
be9bef63
KW
927#if defined(PERL_CORE) || defined(PERL_EXT)
928EXdpR |bool |isSCRIPT_RUN |NN const U8 *s|NN const U8 *send \
49cd0726 929 |const bool utf8_target
be9bef63 930#endif
67022846 931: Used in perly.y
4048f010 932p |OP* |jmaybe |NN OP *o
67022846 933: Used in pp.c
4048f010 934pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 935#if defined(PERL_IN_OP_C)
9f589e47 936S |void |inplace_aassign |NN OP* o
867fa1e2 937#endif
94bdecf9 938Ap |void |leave_scope |I32 base
efa571ab 939p |void |notify_parser_that_changed_to_utf8
f0e67a1d 940: Public lexer API
e4aeb12f
KW
941Axpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
942Axpd |bool |lex_bufutf8
943Axpd |char* |lex_grow_linestr|STRLEN len
944Axpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
945Axpd |void |lex_stuff_pv |NN const char* pv|U32 flags
946Axpd |void |lex_stuff_sv |NN SV* sv|U32 flags
947Axpd |void |lex_unstuff |NN char* ptr
948Axpd |void |lex_read_to |NN char* ptr
949Axpd |void |lex_discard_to |NN char* ptr
950Axpd |bool |lex_next_chunk |U32 flags
951Axpd |I32 |lex_peek_unichar|U32 flags
952Axpd |I32 |lex_read_unichar|U32 flags
953Axpd |void |lex_read_space |U32 flags
28ac2b49 954: Public parser API
e4aeb12f
KW
955Axpd |OP* |parse_arithexpr|U32 flags
956Axpd |OP* |parse_termexpr |U32 flags
957Axpd |OP* |parse_listexpr |U32 flags
958Axpd |OP* |parse_fullexpr |U32 flags
959Axpd |OP* |parse_block |U32 flags
960Axpd |OP* |parse_barestmt |U32 flags
961Axpd |SV* |parse_label |U32 flags
962Axpd |OP* |parse_fullstmt |U32 flags
963Axpd |OP* |parse_stmtseq |U32 flags
f0e67a1d 964: Used in various files
1d70cb64 965Apd |void |op_null |NN OP* o
d67fec57 966: FIXME. Used by Data::Alias
6d9a2efc 967EXp |void |op_clear |NN OP* o
4026c95a
SH
968Ap |void |op_refcnt_lock
969Ap |void |op_refcnt_unlock
45b29440 970ApdT |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 971 |int del_count|NULLOK OP* insert
45b29440 972ApdT |OP* |op_parent|NN OP *o
43869a0c 973#if defined(PERL_IN_OP_C)
9f589e47 974S |OP* |listkids |NULLOK OP* o
2dd5337b 975#endif
aec46f14 976p |OP* |list |NULLOK OP* o
aec46f14
AL
977Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
978Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 979: Used in perly.y
4048f010 980p |OP* |localize |NN OP *o|I32 lex
aad570aa 981ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 982Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ce54a8b9 983#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
e4aeb12f 984ExpRX |bool |grok_bslash_x |NN char** s \
e8278639
KW
985 |NN const char* const send \
986 |NN UV* uv \
17896a85
KW
987 |NN const char** error_msg \
988 |const bool output_warning \
989 |const bool strict \
990 |const bool silence_non_portable \
991 |const bool utf8
e4aeb12f
KW
992ExpRX |char |grok_bslash_c |const char source|const bool output_warning
993ExpRX |bool |grok_bslash_o |NN char** s \
e8278639
KW
994 |NN const char* const send \
995 |NN UV* uv \
17896a85
KW
996 |NN const char** error_msg \
997 |const bool output_warning \
998 |const bool strict \
999 |const bool silence_non_portable \
1000 |const bool utf8
e4aeb12f 1001ExiR |char*|form_short_octal_warning|NN const char * const s \
5e0a247b 1002 |const STRLEN len
45b29440 1003EiRT |I32 |regcurly |NN const char *s
ce54a8b9 1004#endif
7827dc65 1005Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 1006Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 1007Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 1008Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 1009ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 1010Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
45b29440 1011EXpT |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 1012: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
1013p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
1014p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 1015dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 1016dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 1017p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1018p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
1019p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
1020p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
1021 |NULLOK const char *name|I32 namlen
1146e912 1022p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
1023p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
1024p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 1025p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 1026p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 1027p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1028p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
1029p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
1030p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
1031p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
1032p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
1033p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
1034p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
1035p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 1036p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
1037p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
1038p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 1039:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
1040:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
1041:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
1042#ifdef _MSC_VER
1043p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
1044#else
bfce84ec 1045pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 1046#endif
bfce84ec 1047p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 1048p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 1049p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1050p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1051p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 1052p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec 1053p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
1f1dcfb5 1054p |int |magic_setnonelem|NN SV* sv|NN MAGIC* mg
bfce84ec 1055p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 1056dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 1057p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 1058p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1059p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
1060p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
1061p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
1062p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
1063p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 1064p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1065p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
1066p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
1067p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
1068p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
1069p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
1070p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
1071p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
1072p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 1073pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 1074 |NN SV *meth|U32 flags \
046b0c7d 1075 |U32 argc|...
ba5248fc 1076Ap |I32 * |markstack_grow
94bdecf9 1077#if defined(USE_LOCALE_COLLATE)
b22e6366 1078p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
78d57975 1079pb |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen
67022846 1080: Defined in locale.c, used only in sv.c
78d57975 1081# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
e4aeb12f 1082px |char* |_mem_collxfrm |NN const char* input_string \
a4a439fb
KW
1083 |STRLEN len \
1084 |NN STRLEN* xlen \
1085 |bool utf8
1086# endif
94bdecf9 1087#endif
c5df3096
Z
1088Afpd |SV* |mess |NN const char* pat|...
1089Apd |SV* |mess_sv |NN SV* basemsg|bool consume
1090Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
1091: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
1092: Used in gv.c, op.c, toke.c
6d9a2efc 1093EXp |void |qerror |NN SV* err
3d4dd4c7
NC
1094Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
1095Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 1096Apd |int |mg_clear |NN SV* sv
4048f010
NC
1097Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
1098 |I32 klen
67022846 1099: Defined in mg.c, used only in scope.c
af7df257 1100pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
658db622 1101Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv
45b29440
KW
1102ApdRT |MAGIC* |mg_find |NULLOK const SV* sv|int type
1103ApdRT |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 1104: exported for re.pm
d4431b89 1105EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 1106Apd |int |mg_free |NN SV* sv
d9088386 1107Apd |void |mg_free_type |NN SV* sv|int how
e0d4aead 1108Apd |void |mg_freeext |NN SV* sv|int how|NULLOK const MGVTBL *vtbl
9a957fbc 1109Apd |int |mg_get |NN SV* sv
bd8446cf 1110ApdD |U32 |mg_length |NN SV* sv
45b29440 1111ApdT |void |mg_magical |NN SV* sv
9a957fbc
AL
1112Apd |int |mg_set |NN SV* sv
1113Ap |I32 |mg_size |NN SV* sv
45b29440 1114ApT |void |mini_mktime |NN struct tm *ptm
e4aeb12f 1115Axmd |OP* |op_lvalue |NULLOK OP* o|I32 type
d3d7d28f 1116poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
d164302a 1117p |void |finalize_optree |NN OP* o
d2905138 1118p |void |optimize_optree|NN OP* o
d164302a 1119#if defined(PERL_IN_OP_C)
9f589e47
KW
1120S |void |optimize_op |NN OP* o
1121S |void |finalize_op |NN OP* o
1122S |void |move_proto_attr|NN OP **proto|NN OP **attrs \
cbf83791 1123 |NN const GV *name|bool curstash
d164302a 1124#endif
67022846 1125: Used in op.c and pp_sys.c
a79b25b7 1126p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 1127Ap |const char* |moreswitches |NN const char* s
4373e329 1128Ap |NV |my_atof |NN const char *s
45b29440 1129ATpR |NV |my_strtod |NN const char * const s|NULLOK char ** e
94bdecf9
JH
1130Apr |void |my_exit |U32 status
1131Apr |void |my_failure_exit
1132Ap |I32 |my_fflush_all
45b29440
KW
1133ATp |Pid_t |my_fork
1134ATp |void |atfork_lock
1135ATp |void |atfork_unlock
0d7d409d
DM
1136Apmb |I32 |my_lstat
1137pX |I32 |my_lstat_flags |NULLOK const U32 flags
6dba01e2 1138#if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
5af72e99 1139EeiT |void * |my_memrchr |NN const char * s|const char c|const STRLEN len
6dba01e2 1140#endif
875ca36f 1141#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
1142Ap |I32 |my_pclose |NULLOK PerlIO* ptr
1143Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 1144#endif
c9289b7b 1145Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 1146Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
0d7d409d
DM
1147Apmb |I32 |my_stat
1148pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 1149Afp |char * |my_strftime |NN const char *fmt|int sec|int min|int hour|int mday|int mon|int year|int wday|int yday|int isdst
67022846 1150: Used in pp_ctl.c
94bdecf9 1151p |void |my_unexec
e4aeb12f
KW
1152AbDxTPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
1153AbDxTPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
346c6a29
DM
1154ApR |OP* |newANONLIST |NULLOK OP* o
1155ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 1156Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
1157ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
1158ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 1159Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
1160Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1161 |NULLOK const char* name|STRLEN len \
1162 |U32 flags|NULLOK SV* sv
aec46f14 1163Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29 1164ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
7896dde7 1165ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
346c6a29 1166ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
e4aeb12f 1167px |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29
DM
1168ApdR |OP* |newLOOPEX |I32 type|NN OP* label
1169ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
1170ApdR |OP* |newNULLLIST
1171ApdR |OP* |newOP |I32 optype|I32 flags
f54cb97a 1172Ap |void |newPROG |NN OP* o
346c6a29
DM
1173ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1174ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1175ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
5ff52e3c 1176Apbm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1177 |NULLOK OP* block
68cd13c6 1178pd |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
032a0447 1179 |NN XSUBADDR_t subaddr\
9a189793 1180 |NULLOK const char *const filename \
8f82b567
FC
1181 |NULLOK const char *const proto \
1182 |NULLOK SV **const_svp|U32 flags
9a189793 1183pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
e4aeb12f 1184Apx |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
77004dee
NC
1185 |NN const char *const filename \
1186 |NULLOK const char *const proto|U32 flags
4048f010
NC
1187Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
1188 |NN const char *filename
5ff52e3c 1189ApmdbR |AV* |newAV
346c6a29
DM
1190ApR |OP* |newAVREF |NN OP* o
1191ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1192ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1193ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 1194Am |GV* |newGVgen |NN const char* pack
346c6a29
DM
1195ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags
1196ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1197ApR |OP* |newHVREF |NN OP* o
5ff52e3c 1198ApmdbR |HV* |newHV
346c6a29
DM
1199ApR |HV* |newHVhv |NULLOK HV *hv
1200ApRbm |IO* |newIO
1201ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
e4aeb12f
KW
1202AxpdRT |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1203AxpdRT |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1204AxpdRT |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1205#ifdef USE_ITHREADS
346c6a29
DM
1206ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1207#endif
1208ApdR |OP* |newPMOP |I32 type|I32 flags
1209ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
1210ApR |SV* |newRV |NN SV *const sv
1211ApdR |SV* |newRV_noinc |NN SV *const tmpRef
1212ApdR |SV* |newSV |const STRLEN len
1213ApR |OP* |newSVREF |NN OP* o
1214ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1215ApdR |OP* |newDEFSVOP
346c6a29
DM
1216pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
1217ApdR |SV* |newSViv |const IV i
1218ApdR |SV* |newSVuv |const UV u
1219ApdR |SV* |newSVnv |const NV n
1220ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
a5ba2527 1221ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len
346c6a29
DM
1222ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1223ApdR |SV* |newSVhek |NULLOK const HEK *const hek
1224ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1225ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1226AfpdR |SV* |newSVpvf |NN const char *const pat|...
1227ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1228Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
238f2c13
P
1229ApmbdR |SV* |newSVsv |NULLOK SV *const old
1230ApmdR |SV* |newSVsv_nomg |NULLOK SV *const old
1231ApR |SV* |newSVsv_flags |NULLOK SV *const old|I32 flags
346c6a29
DM
1232ApdR |SV* |newSV_type |const svtype type
1233ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1234ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1235 |NULLOK UNOP_AUX_item *aux
7896dde7 1236ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
346c6a29 1237ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1238 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1239 |I32 has_my
346c6a29
DM
1240ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1241ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1242Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1243Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1244Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1245Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1246po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1247 |NN SV *protosv
d9088386 1248Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
71c697de 1249Apd |void |cv_get_call_checker_flags|NN CV *cv|U32 gflags|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p|NN U32 *ckflags_p
d9088386 1250Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1251Apd |void |cv_set_call_checker_flags|NN CV *cv \
1252 |NN Perl_call_checker ckfun \
71c697de 1253 |NN SV *ckobj|U32 ckflags
e8570548 1254Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
e4aeb12f 1255Axpd |void |wrap_keyword_plugin|NN Perl_keyword_plugin_t new_plugin|NN Perl_keyword_plugin_t *old_plugin_p
346c6a29 1256ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1257Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1258 |NN SV *sv
9f6cc744 1259Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1260Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1261 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1262 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1263Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1264Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1265Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1266Apd |SV* |vnumify |NN SV *vs
1267Apd |SV* |vnormal |NN SV *vs
1268Apd |SV* |vstringify |NN SV *vs
9f6cc744 1269Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1270: Used in pp_hot.c and pp_sys.c
157fb5a1 1271p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
54c193ae 1272AdMTpP |char* |ninstr |NN const char* big|NN const char* bigend \
b8070b07 1273 |NN const char* little|NN const char* lend
1d70cb64 1274Apd |void |op_free |NULLOK OP* arg
e4aeb12f 1275xp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1276#ifdef PERL_CORE
8be227ab
FC
1277p |void |opslab_free |NN OPSLAB *slab
1278p |void |opslab_free_nopad|NN OPSLAB *slab
1279p |void |opslab_force_free|NN OPSLAB *slab
1280#endif
67022846 1281: Used in perly.y
2d03de9c 1282p |void |package |NN OP* o
6fa4d285
DG
1283: Used in perly.y
1284p |void |package_version|NN OP* v
67022846 1285: Used in toke.c and perly.y
d6447115
NC
1286p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1287 |const U32 flags
d4d03940 1288#ifdef USE_ITHREADS
e4aeb12f 1289Axp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1290#endif
67022846 1291: Used in perly.y
1df70142 1292pR |OP* |oopsAV |NN OP* o
67022846 1293: Used in perly.y
1df70142 1294pR |OP* |oopsHV |NN OP* o
cc76b5cc 1295
1a0a2ba9 1296: peephole optimiser
666e7765 1297p |void |peep |NULLOK OP* o
1a0a2ba9 1298p |void |rpeep |NULLOK OP* o
67022846 1299: Defined in doio.c, used only in pp_hot.c
e4aeb12f 1300dopx |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1301
10bc17b6 1302Ap |void |reentrant_size
59bd0823 1303Ap |void |reentrant_init
10bc17b6 1304Ap |void |reentrant_free
45b29440 1305ATp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1306
7b53c8ee
NC
1307: "Very" special - can't use the O flag for this one:
1308: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1309Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1310ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1311ApdO |I32 |call_method |NN const char* methname|I32 flags
1312ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
8162b70e 1313ApdO |I32 |call_sv |NN SV* sv|volatile I32 flags
5290524f 1314Ap |void |despatch_signals
e4c5ccf3 1315Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1316ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1317ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1318ApdO |SV* |get_sv |NN const char *name|I32 flags
1319ApdO |AV* |get_av |NN const char *name|I32 flags
1320ApdO |HV* |get_hv |NN const char *name|I32 flags
1321ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1322Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
45b29440 1323ATdo |const char*|Perl_setlocale|const int category|NULLOK const char* locale
f7416781 1324#if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
45b29440 1325ATdo |const char*|Perl_langinfo|const nl_item item
f7416781 1326#else
45b29440 1327ATdo |const char*|Perl_langinfo|const int item
f7416781 1328#endif
e4aeb12f
KW
1329ApOx |int |init_i18nl10n |int printwarn
1330AbpOx |int |init_i18nl14n |int printwarn
ec268cc8 1331p |char* |my_strerror |const int errnum
45b29440 1332XpT |void |_warn_problematic_locale
5792c642 1333Xp |void |set_numeric_underlying
8d8472df 1334Xp |void |set_numeric_standard
5c1ff086 1335Xp |bool |_is_in_locale_category|const bool compiling|const int category
45b29440
KW
1336ApdT |void |switch_to_global_locale
1337ApdT |bool |sync_locale
e4aeb12f
KW
1338ApxT |void |thread_locale_init
1339ApxT |void |thread_locale_term
7b53c8ee 1340ApdO |void |require_pv |NN const char* pv
1545ba5b 1341Abpd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
2d03de9c
AL
1342 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1343Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef 1344#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
9f589e47 1345S |void |pidgone |Pid_t pid|int status
ca0c25f6 1346#endif
67022846 1347: Used in perly.y
9b6b7be8 1348p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
5012eebe 1349 |UV flags|I32 floor
43869a0c 1350#if defined(PERL_IN_OP_C)
9f589e47 1351S |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
0d86688d 1352#endif
94bdecf9 1353Ap |void |pop_scope
94bdecf9 1354Ap |void |push_scope
5ff52e3c 1355Apmb |OP* |ref |NULLOK OP* o|I32 type
43869a0c 1356#if defined(PERL_IN_OP_C)
9f589e47 1357S |OP* |refkids |NULLOK OP* o|I32 type
0d86688d 1358#endif
097eb12c 1359Ap |void |regdump |NN const regexp* r
b24b43f7 1360#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
680b55f7 1361EXpR |SV* |_new_invlist_C_array|NN const UV* const list
e4aeb12f 1362EXxp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1363#endif
49d7dfbc 1364Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1365 |NN char* strend|NN char* strbeg \
1366 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1367Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1368Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1369: FIXME - is anything in re using this now?
89699a04 1370EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* dsv|NN REGEXP* ssv
4048f010 1371Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1372#if defined(USE_ITHREADS)
49d7dfbc 1373Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1374#endif
3c13cae6 1375EXp |regexp_engine const *|current_re_engine
1593ad57 1376Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1377p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1378 |int pat_count|NULLOK OP *expr \
3c13cae6 1379 |NN const regexp_engine* eng \
1067df30 1380 |NULLOK REGEXP *old_re \
76ac488f 1381 |NULLOK bool *is_bare_re \
fb1ab119 1382 |const U32 rx_flags|const U32 pm_flags
37acfcba 1383Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
52a21eb3
DM
1384Ap |char* |re_intuit_start|NN REGEXP * const rx \
1385 |NULLOK SV* sv \
1386 |NN const char* const strbeg \
1387 |NN char* strpos \
1388 |NN char* strend \
1389 |const U32 flags \
9f61653a 1390 |NULLOK re_scream_pos_data *data
4048f010
NC
1391Ap |SV* |re_intuit_string|NN REGEXP *const r
1392Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1393 |NN char *strend|NN char *strbeg \
1394 |SSize_t minend|NN SV *sv \
1395 |NULLOK void *data|U32 flags
8074533a 1396ApR |regnode*|regnext |NULLOK regnode* p
e950ecba 1397EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
192b9cd1 1398 |NULLOK SV * const value|const U32 flags
e950ecba 1399EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
192b9cd1 1400 |const U32 flags
e950ecba
KW
1401Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1402Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1403Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1404Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1405Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1406Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1407
d67fec57 1408: FIXME - is anything in re using this now?
2fdbfb4d 1409EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1410: FIXME - is anything in re using this now?
2fdbfb4d 1411EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1412: FIXME - is anything in re using this now?
2fdbfb4d
AB
1413EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1414
d67fec57 1415: FIXME - is anything in re using this now?
49d7dfbc 1416EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1417
45b29440
KW
1418ATp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
1419AdTpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1420 |NN const char* little|NN const char* lend
94bdecf9 1421Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1422: Used in pp_sys.c
7827dc65 1423p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1424: Used in pp_sys.c
9f6cc744 1425p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1426Ap |Sighandler_t|rsignal_state|int i
43869a0c 1427#if defined(PERL_IN_PP_CTL_C)
9f589e47
KW
1428S |void |rxres_free |NN void** rsp
1429S |void |rxres_restore |NN void **rsp|NN REGEXP *rx
9c105995
NC
1430#endif
1431: Used in pp_hot.c
4048f010 1432p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1433#if !defined(HAS_RENAME)
67022846 1434: Used in pp_sys.c
4373e329 1435p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1436#endif
639f6c3d
NC
1437Apda |char* |savepv |NULLOK const char* pv
1438Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1439Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1440
1441: NULLOK only to suppress a compiler warning
1442Apda |char* |savesharedpvn |NULLOK const char *const pv \
1443 |const STRLEN len
9dcc53ea 1444Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1445Apda |char* |savesvpv |NN SV* sv
94bdecf9 1446Ap |void |savestack_grow
4b3c1a47 1447Ap |void |savestack_grow_cnt |I32 need
c70927a6
FC
1448Amp |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1449Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1450 |const U32 flags
94bdecf9 1451Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1452Ap |void |save_aptr |NN AV** aptr
1453Ap |AV* |save_ary |NN GV* gv
1454Ap |void |save_bool |NN bool* boolp
1455Ap |void |save_clearsv |NN SV** svp
4048f010 1456Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1457Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1458Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1459Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1460Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1461Apmb |void |save_freesv |NULLOK SV* sv
67022846 1462: Used in SAVEFREOP(), used in op.c, pp_ctl.c
ad975267 1463Apmb |void |save_freeop |NULLOK OP* o
2fd8beea 1464Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1465Ap |void |save_generic_svref|NN SV** sptr
1466Ap |void |save_generic_pvref|NN char** str
1467Ap |void |save_shared_pvref|NN char** str
364bbfa4 1468Adp |void |save_gp |NN GV* gv|I32 empty
aec46f14 1469Ap |HV* |save_hash |NN GV* gv
defdfed5 1470Ap |void |save_hints
af7df257
CS
1471Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1472Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1473Ap |void |save_hptr |NN HV** hptr
1474Ap |void |save_I16 |NN I16* intp
1475Ap |void |save_I32 |NN I32* intp
1476Ap |void |save_I8 |NN I8* bytep
1477Ap |void |save_int |NN int* intp
1478Ap |void |save_item |NN SV* item
4048f010 1479Ap |void |save_iv |NN IV *ivp
1545ba5b
DD
1480Abp |void |save_list |NN SV** sarg|I32 maxsarg
1481Abp |void |save_long |NN long* longp
2fd8beea 1482Apmb |void |save_mortalizesv|NN SV* sv
1545ba5b 1483Abp |void |save_nogv |NN GV* gv
67022846 1484: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
ad975267 1485Apmb |void |save_op
aec46f14
AL
1486Ap |SV* |save_scalar |NN GV* gv
1487Ap |void |save_pptr |NN char** pptr
4048f010 1488Ap |void |save_vptr |NN void *ptr
94bdecf9 1489Ap |void |save_re_context
09edbca0 1490Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1491Ap |void |save_sptr |NN SV** sptr
e8eb279c 1492Xp |void |save_strlen |NN STRLEN* ptr
aec46f14 1493Ap |SV* |save_svref |NN SV** sptr
e4aeb12f 1494Axpo |void |savetmps
2fd8beea 1495Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1496Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1497: Used by SAVESWITCHSTACK() in pp.c
ad975267 1498Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1499 |NULLOK void *const ptr2|const int type
43869a0c 1500#if defined(PERL_IN_SCOPE_C)
9f589e47 1501S |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
be84297e
NC
1502 |NULLOK void *const ptr2|const int type
1503#endif
67022846 1504: Used in perly.y
aec46f14 1505p |OP* |sawparens |NULLOK OP* o
d9088386 1506Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1507: Used in perly.y
aec46f14 1508p |OP* |scalar |NULLOK OP* o
43869a0c 1509#if defined(PERL_IN_OP_C)
9f589e47
KW
1510S |OP* |scalarkids |NULLOK OP* o
1511S |OP* |scalarseq |NULLOK OP* o
2dd5337b 1512#endif
67022846 1513: Used in pp_ctl.c
aec46f14
AL
1514p |OP* |scalarvoid |NN OP* o
1515Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1516Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1517Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1518Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
e4aeb12f 1519Axpd |OP* |op_scope |NULLOK OP* o
e2051532 1520: Only used by perl.c/miniperl.c, but defined in caretx.c
5af72e99 1521pe |void |set_caret_X
9a9bb270 1522Apd |void |setdefout |NN GV* gv
b02f3645 1523Ap |HEK* |share_hek |NN const char* str|SSize_t len|U32 hash
8aad04aa 1524#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1525: Used in perl.c
45b29440
KW
1526Tp |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1527ATp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1528#else
45b29440
KW
1529Tp |Signal_t |sighandler |int sig
1530ATp |Signal_t |csighandler |int sig
8aad04aa 1531#endif
fc16c392 1532Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1533Ap |I32 |start_subparse |I32 is_format|U32 flags
50333c97 1534Xp |void |init_named_cv |NN CV *cv|NN OP *nameop
67022846 1535: Used in pp_ctl.c
aec46f14 1536p |void |sub_crush_depth|NN CV* cv
1545ba5b 1537Apbmd |bool |sv_2bool |NN SV *const sv
9d176cd8 1538Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1539Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1540 |const I32 lref
1541Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1542#if defined(PERL_IN_SV_C)
9f589e47 1543S |bool |glob_2number |NN GV* const gv
180488f8 1544#endif
5ff52e3c 1545Apmb |IV |sv_2iv |NN SV *sv
1061065f 1546Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1547Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1548Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1549: Used in pp.c, pp_hot.c, sv.c
e4aeb12f 1550pxd |SV* |sv_2num |NN SV *const sv
5ff52e3c 1551Apmb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1061065f 1552Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
fe46cbda 1553Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
a901b181 1554Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
1545ba5b 1555Abp |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
5ff52e3c 1556Apmb |UV |sv_2uv |NN SV *sv
1061065f 1557Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
1545ba5b
DD
1558Abpd |IV |sv_iv |NN SV* sv
1559Abpd |UV |sv_uv |NN SV* sv
1560Abpd |NV |sv_nv |NN SV* sv
1561Abpd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1562Abpd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1563Abpd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1564Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1565#if defined(PERL_IN_SV_C)
9f589e47 1566Sd |void |sv_add_arena |NN char *const ptr|const U32 size \
d2bd4e7f
NC
1567 |const U32 flags
1568#endif
45b29440 1569ApdT |void |sv_backoff |NN SV *const sv
12964ddd 1570Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1571#if defined(PERL_DEBUG_READONLY_COW)
1572p |void |sv_buf_to_ro |NN SV *sv
1620d805 1573# if defined(PERL_IN_SV_C)
9f589e47 1574S |void |sv_buf_to_rw |NN SV *sv
1620d805 1575# endif
b001a0d1 1576#endif
66ceb532
SS
1577Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1578Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1579 |NULLOK va_list *const args
2b021c53 1580Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
5ff52e3c
KW
1581Apmdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1582Apmdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1583Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1584: Used only in perl.c
94bdecf9 1585pd |I32 |sv_clean_all
67022846 1586: Used only in perl.c
94bdecf9 1587pd |void |sv_clean_objs
5239d5c4 1588Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe 1589#if defined(PERL_IN_SV_C)
9f589e47 1590S |bool |curse |NN SV * const sv|const bool check_refcnt
4155e4fe 1591#endif
54c193ae 1592AMopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1593Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1594 |const U32 flags
54c193ae 1595AMopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1596Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1597 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1598#if defined(USE_LOCALE_COLLATE)
1545ba5b 1599Apbmd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
078504b2 1600Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1601#endif
4373e329 1602Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1603Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1604Apd |void |sv_dec_nomg |NULLOK SV *const sv
769b28f4 1605Ap |void |sv_dump |NULLOK SV* sv
15f169a1 1606ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1607ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1608ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1609ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1610 |const STRLEN len|U32 flags
15f169a1 1611ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1612ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1613ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1614ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1615 |U32 flags
1545ba5b 1616Apbmd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1617Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1618Apd |void |sv_free |NULLOK SV *const sv
e4aeb12f 1619poxX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1620: Used only in perl.c
94bdecf9 1621pd |void |sv_free_arenas
ac1e9476 1622Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1623Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1624Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1625Apd |void |sv_inc_nomg |NULLOK SV *const sv
5ff52e3c 1626Apmdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1627 |const STRLEN len|NN const char *const little \
1628 |const STRLEN littlelen
c0dd94a0 1629Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
e7a8a8aa 1630 |NN const char *little|const STRLEN littlelen|const U32 flags
12964ddd 1631Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1632Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1633Apd |STRLEN |sv_len |NULLOK SV *const sv
1634Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1635p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1636Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1637 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1638Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1639 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1640 |const I32 namlen
45b29440 1641EiT |bool |sv_only_taint_gmagic|NN SV *sv
96c2a8ff 1642: exported for re.pm
d4431b89 1643EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
346c6a29 1644ApdbmR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
c6dcb9ed 1645ApdR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1646ApdR |SV* |sv_newmortal
af828c01 1647Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1648Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1649Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1650Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1651 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1652Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1653Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1654 |U32 flags
5ff52e3c 1655Apmdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1656Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1657Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1658Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1659Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1660 |NN char* tstr|int tlen
12964ddd 1661ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1662Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1663Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1664Apd |void |sv_report_used
23f13727 1665Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1666p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1667 |NULLOK HV *const stash
89e38212
SS
1668Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1669Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1670Apd |void |sv_setiv |NN SV *const sv|const IV num
3d9637d6 1671Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1672Apd |void |sv_setuv |NN SV *const sv|const UV num
1673Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1674Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1675Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1676Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1677Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1678 |NULLOK void *const pv
1679Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1680 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1681Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1682Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
45661033 1683Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len
70b71ec8 1684Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
5ff52e3c
KW
1685Apmdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
1686Apmdb |void |sv_taint |NN SV* sv
89e38212 1687ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1688Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1689Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
174c73e3 1690Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1691Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1692Apd |void |sv_untaint |NN SV *const sv
aad570aa 1693Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1694Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1695Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1696 |const U32 flags
66ceb532 1697Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1698 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
66ceb532 1699 |NULLOK bool *const maybe_tainted
4bac9ae4 1700Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1701 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
4bac9ae4 1702 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1703Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1704 |NULLOK va_list *const args|NULLOK SV **const svargs \
ea4817b1 1705 |const Size_t sv_count|NULLOK bool *const maybe_tainted
aec46f14 1706ApR |NV |str_to_version |NN SV *sv
e4aeb12f
KW
1707EXpRx |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
1708EXpx |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1709#ifdef PERL_IN_REGCOMP_C
e4aeb12f
KW
1710EixR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
1711EixRT |bool |invlist_is_iterating|NN SV* const invlist
b2458342 1712#ifndef PERL_EXT_RE_BUILD
e4aeb12f
KW
1713EixRT |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
1714EixRT |UV |invlist_max |NN SV* const invlist
1715ESx |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
1716ESx |void |invlist_extend |NN SV* const invlist|const UV len
1717ESx |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
1718EixRT |IV* |get_invlist_previous_index_addr|NN SV* invlist
1719Eix |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
1720EixT |void |invlist_set_previous_index|NN SV* const invlist|const IV index
1721EixRT |IV |invlist_previous_index|NN SV* const invlist
1722EixT |void |invlist_trim |NN SV* invlist
1723Eix |void |invlist_clear |NN SV* invlist
1724Sx |void |initialize_invlist_guts|NN SV* invlist|const Size_t initial_size
1725#endif
1726EixRT |STRLEN*|get_invlist_iter_addr |NN SV* invlist
1727EixT |void |invlist_iterinit|NN SV* invlist
1728ESxRT |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
1729EixT |void |invlist_iterfinish|NN SV* invlist
1730EixRT |UV |invlist_highest|NN SV* const invlist
1731ExRS |SV* |_make_exactf_invlist |NN RExC_state_t *pRExC_state \
8c75ba15 1732 |NN regnode *node
e4aeb12f 1733ESxR |SV* |invlist_contents|NN SV* const invlist \
bb17e326 1734 |const bool traditional_style
9f589e47 1735ESRT |bool |new_regcurly |NN const char *s|NN const char *e
839cfe5d
KW
1736#endif
1737#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
e4aeb12f
KW
1738EXmx |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
1739EXpx |void |_invlist_intersection_maybe_complement_2nd \
a0316a6c
KW
1740 |NULLOK SV* const a|NN SV* const b \
1741 |const bool complement_b|NN SV** i
e4aeb12f
KW
1742EXmx |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
1743EXpx |void |_invlist_union_maybe_complement_2nd \
a0316a6c
KW
1744 |NULLOK SV* const a|NN SV* const b \
1745 |const bool complement_b|NN SV** output
e4aeb12f
KW
1746EXmx |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
1747EXpx |void |_invlist_invert|NN SV* const invlist
1748EXxpR |SV* |_new_invlist |IV initial_size
1749EXxpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
1750EXxpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
d764b54e 1751#endif
3d746163 1752#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
e4aeb12f 1753ExpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist
1bb572bb 1754#endif
dbb3849a 1755#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
e4aeb12f
KW
1756EixRT |UV* |invlist_array |NN SV* const invlist
1757EixRT |bool |is_invlist |NULLOK SV* const invlist
1758EixRT |bool* |get_invlist_offset_addr|NN SV* invlist
1759EixRT |UV |_invlist_len |NN SV* const invlist
1760ExiRT |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
1761EXpxRT |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
ad3f05ad 1762#endif
77d654fb 1763#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
e4aeb12f 1764EXpx |SV* |_get_regclass_nonbitmap_data \
77d654fb 1765 |NULLOK const regexp *prog \
ef9bc832
KW
1766 |NN const struct regnode *node \
1767 |bool doinit \
77d654fb 1768 |NULLOK SV **listsvp \
ef9bc832 1769 |NULLOK SV **lonly_utf8_locale \
b77aba85 1770 |NULLOK SV **output_invlist
77d654fb 1771#endif
ad3f05ad 1772#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
e4aeb12f 1773EXxp |void |_invlist_dump |NN PerlIO *file|I32 level \
ad3f05ad
KW
1774 |NN const char* const indent \
1775 |NN SV* const invlist
c4a5db0c 1776#endif
94bdecf9 1777Ap |void |taint_env
6fd06953 1778Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
e4aeb12f 1779Epx |char * |_byte_dump_string \
63ab03b3 1780 |NN const U8 * const start \
7e2f38b2
KW
1781 |const STRLEN len \
1782 |const bool format
b9992569 1783#if defined(PERL_IN_UTF8_C)
45b29440 1784iTR |int |does_utf8_overflow|NN const U8 * const s \
e050c007
KW
1785 |NN const U8 * e \
1786 |const bool consider_overlongs
45b29440 1787iTR |int |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s \
d6be65ae 1788 |const STRLEN len
45b29440 1789iTR |int |isFF_OVERLONG |NN const U8 * const s|const STRLEN len
e4aeb12f 1790SxR |char * |unexpected_non_continuation_text \
7cf8d05d 1791 |NN const U8 * const s \
3cc6a05e 1792 |STRLEN print_len \
7cf8d05d
KW
1793 |const STRLEN non_cont_byte_pos \
1794 |const STRLEN expect_len
9f589e47 1795S |void |warn_on_first_deprecated_use \
34aeb2e9
KW
1796 |NN const char * const name \
1797 |NN const char * const alternative \
1798 |const bool use_locale \
1799 |NN const char * const file \
1800 |const unsigned line
9f589e47 1801S |U32 |check_and_deprecate \
607313a1
KW
1802 |NN const U8 * p \
1803 |NN const U8 ** e \
1804 |const unsigned type \
1805 |const bool use_locale \
1806 |NN const char * const file \
1807 |const unsigned line
9f589e47 1808S |UV |_to_utf8_case |const UV uv1 \
a13f1de4 1809 |NULLOK const U8 *p \
b9992569 1810 |NN U8* ustrp \
c404ed8c 1811 |NN STRLEN *lenp \
8946fcd9 1812 |NN SV *invlist \
341bb5b7 1813 |NN const int * const invmap \
e39a4130 1814 |NULLOK const unsigned int * const * const aux_tables \
8946fcd9
KW
1815 |NULLOK const U8 * const aux_table_lengths \
1816 |NN const char * const normal
9f589e47
KW
1817S |UV |turkic_fc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
1818S |UV |turkic_lc |NN const U8 * const p0|NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
1819S |UV |turkic_uc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
b9992569 1820#endif
cb57a253 1821ApbmdD |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
e4aeb12f 1822Axp |UV |_to_utf8_lower_flags|NN const U8 *p|NULLOK const U8* e \
607313a1
KW
1823 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1824 |NN const char * const file|const int line
cb57a253 1825ApbmdD |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
e4aeb12f 1826Axp |UV |_to_utf8_upper_flags |NN const U8 *p|NULLOK const U8 *e \
607313a1
KW
1827 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1828 |NN const char * const file|const int line
cb57a253 1829ApbmdD |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
e4aeb12f 1830Axp |UV |_to_utf8_title_flags |NN const U8 *p|NULLOK const U8* e \
607313a1
KW
1831 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1832 |NN const char * const file|const int line
cb57a253 1833ApbmdD |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
e4aeb12f 1834Axp |UV |_to_utf8_fold_flags|NN const U8 *p|NULLOK const U8 *e \
607313a1
KW
1835 |NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags \
1836 |NN const char * const file|const int line
83f78d1a 1837#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
45b29440 1838pT |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
1839 |bool pos1_is_uv|IV len_iv \
1840 |bool len_is_uv|NN STRLEN *posp \
1841 |NN STRLEN *lenp
1842#endif
94bdecf9 1843#if defined(UNLINK_ALL_VERSIONS)
6e732051 1844Ap |I32 |unlnk |NN const char* f
94bdecf9 1845#endif
1545ba5b 1846Abpd |SSize_t|unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
1847 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1848 |I32 ocnt|U32 flags
e1b825c1 1849Apd |SSize_t|unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
1850 |NN const char *strend|U32 flags
1851Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1852: Used in gv.c, hv.c
78197f2f 1853p |void |unshare_hek |NULLOK HEK* hek
67022846 1854: Used in perly.y
aec46f14 1855p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
e4aeb12f 1856Apx |void |_force_out_malformed_utf8_message \
9cbfb8ab
KW
1857 |NN const U8 *const p|NN const U8 * const e|const U32 flags \
1858 |const bool die_here
73d689df
KW
1859EXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1860EXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
622f12e7 1861AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
cfe24c19 1862AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
45b29440
KW
1863AipdRT |U8* |utf8_hop |NN const U8 *s|SSize_t off
1864AipdRT |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start
1865AipdRT |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end
1866AipdRT |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end
e4aeb12f 1867Apxd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp
fed3ba5d
NC
1868Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
1869 |STRLEN ulen
54c193ae 1870AMxdp |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p
e4aeb12f 1871AxTp |U8* |bytes_from_utf8_loc|NN const U8 *s \
976c1b08
KW
1872 |NN STRLEN *lenp \
1873 |NN bool *is_utf8p \
1874 |NULLOK const U8 ** first_unconverted
e4aeb12f 1875Apxd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp
977c1d31 1876ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1545ba5b 1877AbpdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
e4aeb12f 1878AbpxD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
54c193ae 1879AMpd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
4f83cdcd 1880ApdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
e4aeb12f 1881px |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 1882
54c193ae 1883AdMTp |UV |utf8n_to_uvchr |NN const U8 *s \
f9380377
KW
1884 |STRLEN curlen \
1885 |NULLOK STRLEN *retlen \
1886 |const U32 flags
54c193ae 1887AdMTp |UV |utf8n_to_uvchr_error|NN const U8 *s \
f9380377
KW
1888 |STRLEN curlen \
1889 |NULLOK STRLEN *retlen \
1890 |const U32 flags \
1891 |NULLOK U32 * errors
e4aeb12f 1892AxTdi |UV |utf8n_to_uvchr_msgs|NN const U8 *s \
e6a4ffc3
KW
1893 |STRLEN curlen \
1894 |NULLOK STRLEN *retlen \
1895 |const U32 flags \
1896 |NULLOK U32 * errors \
1897 |NULLOK AV ** msgs
e4aeb12f 1898AxTp |UV |_utf8n_to_uvchr_msgs_helper \
e6a4ffc3 1899 |NN const U8 *s \
37657a5b
KW
1900 |STRLEN curlen \
1901 |NULLOK STRLEN *retlen \
1902 |const U32 flags \
1903 |NULLOK U32 * errors \
1904 |NULLOK AV ** msgs
45b29440 1905AipTR |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
378516de 1906Ap |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 1907
de69f3af 1908Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
a27992cc 1909Ap |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 1910Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
e4aeb12f 1911Admx |U8* |uvchr_to_utf8_flags_msgs|NN U8 *d|UV uv|UV flags|NULLOK HV ** msgs
54c193ae 1912AMpod |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|const UV flags
e4aeb12f 1913Apx |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV uv|const UV flags|NULLOK HV** msgs
378516de 1914Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1915Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1916ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
e39a4130
KW
1917EXpR |Size_t |_inverse_folds |const UV cp \
1918 |NN unsigned int * first_folds_to \
1919 |NN const unsigned int ** remaining_folds_to
d67fec57 1920: Used by Data::Alias
6d9a2efc 1921EXp |void |vivify_defelem |NN SV* sv
67022846 1922: Used in pp.c
9026059d 1923pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 1924: Used in pp_sys.c
aec46f14 1925p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1926: Used in locale.c and perl.c
7827dc65 1927p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1928Ap |U32 |seed
45b29440
KW
1929XpTo |double |drand48_r |NN perl_drand48_t *random_state
1930XpTo |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 1931: Only used in perl.c
e950ecba 1932p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 1933: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 1934p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
1935: Used in doio.c, pp_hot.c, pp_sys.c
1936p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 1937: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1938XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
1939#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
1940p |void |report_redefined_cv|NN const SV *name \
1941 |NN const CV *old_cv \
1942 |NULLOK SV * const *new_const_svp
1943#endif
c5df3096 1944Apd |void |warn_sv |NN SV *baseex
aec46f14 1945Afpd |void |warn |NN const char* pat|...
c5df3096 1946Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 1947Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1948Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1949Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1950Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
1951#ifdef USE_C_BACKTRACE
1952pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
1953dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
1954Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
1955Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
1956#endif
67022846 1957: FIXME
aec46f14 1958p |void |watch |NN char** addr
a377a099 1959Am |I32 |whichsig |NN const char* sig
e950ecba
KW
1960Ap |I32 |whichsig_sv |NN SV* sigsv
1961Ap |I32 |whichsig_pv |NN const char* sig
1962Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
c8028aa6 1963: used to check for NULs in pathnames and other names
41188aa0 1964AiR |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
81f54ac7 1965#ifdef PERL_CORE
45b29440 1966iTR |bool |should_warn_nl|NN const char *pv
81f54ac7 1967#endif
67022846 1968: Used in pp_ctl.c
7d0994e0 1969p |void |write_to_stderr|NN SV* msv
67022846 1970: Used in op.c
15f169a1 1971p |int |yyerror |NN const char *const s
d43328d5 1972p |void |yyquit
cc8b45bd 1973pr |void |abort_execution|NN const char * const msg|NN const char * const name
19c62481 1974p |int |yyerror_pv |NN const char *const s|U32 flags
68da2a65 1975p |int |yyerror_pvn |NULLOK const char *const s|STRLEN len|U32 flags
d67fec57 1976: Used in perly.y, and by Data::Alias
6d9a2efc 1977EXp |int |yylex
28ac2b49 1978p |void |yyunlex
67022846 1979: Used in perl.c, pp_ctl.c
28ac2b49 1980p |int |yyparse |int gramtype
67022846 1981: Only used in scope.c
734c2451 1982p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
1983#ifdef PERL_CORE
1984p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
1985 |NN OPSLAB *slab
1986#endif
43869a0c 1987#if defined(PERL_IN_TOKE_C)
9f589e47 1988S |int |yywarn |NN const char *const s|U32 flags
af41e527 1989#endif
94bdecf9 1990#if defined(MYMALLOC)
6e9b0e18 1991Ap |void |dump_mstats |NN const char* s
ec1aec95 1992Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1993#endif
45b29440
KW
1994ATpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1995ATpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
1996ATpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
1997ATp |Free_t |safesysfree |Malloc_t where
5af72e99 1998AirTe |void |croak_memory_wrap
94bdecf9
JH
1999#if defined(PERL_GLOBAL_STRUCT)
2000Ap |struct perl_vars *|GetVars
77304e85 2001Ap |struct perl_vars*|init_global_struct
7827dc65 2002Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
2003#endif
2004Ap |int |runops_standard
2005Ap |int |runops_debug
66ceb532
SS
2006Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
2007Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
2008 |NULLOK va_list *const args
2b021c53 2009Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 2010Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 2011Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
2012Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
2013Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
2014 |NULLOK va_list *const args
aad570aa 2015Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
3d9637d6 2016Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
2017Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
2018Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
2019Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
2020Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 2021Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 2022Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 2023ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 2024Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 2025 |STRLEN pvlim
4420a417 2026Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
2027 |const STRLEN count|const STRLEN max\
2028 |NULLOK STRLEN * const escaped\
2029 |const U32 flags
e950ecba 2030Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 2031 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
2032 |NULLOK char const * const start_color\
2033 |NULLOK char const * const end_color\
ab3bbdeb 2034 |const U32 flags
aec46f14
AL
2035Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
2036Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
2037 |NULLOK va_list *args
b4390064
NC
2038Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
2039 |NULLOK GV *sv
2040Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
2041 |NULLOK GV *sv
4c31e473
NC
2042Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
2043 |NULLOK HV *sv
3dc78631 2044Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 2045 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
2046Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
2047Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 2048Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 2049 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 2050Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 2051Ap |void |reginitcolors
cb2f1b7b
NC
2052ApdRmb |char* |sv_2pv_nolen |NN SV* sv
2053ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
2054ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
5ff52e3c
KW
2055ApmdbR |char* |sv_pv |NN SV *sv
2056ApmdbR |char* |sv_pvutf8 |NN SV *sv
2057ApmdbR |char* |sv_pvbyte |NN SV *sv
2058Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 2059Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
43c6a1a7 2060Apd |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
7bc54cea 2061Apd |void |sv_utf8_encode |NN SV *const sv
43c6a1a7 2062Apd |bool |sv_utf8_decode |NN SV *const sv
5abc721d 2063Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 2064Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 2065pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 2066Apd |SV* |sv_rvweaken |NN SV *const sv
ae2cf9f6 2067Apd |SV* |sv_rvunweaken |NN SV *const sv
e4aeb12f 2068ATpxd |SV* |sv_get_backrefs|NN SV *const sv
67022846 2069: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 2070p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 2071Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91 2072Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
28ef7048 2073pdX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 2074 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 2075 |bool o_is_gv
50278755 2076Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 2077 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 2078p |CV* |newSTUB |NN GV *gv|bool fake
67022846 2079: Used in perly.y
46c461b5 2080p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 2081#if defined(USE_ITHREADS)
6c047da7
YST
2082ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
2083ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
346c6a29 2084ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
2085ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
2086ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
2087ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
2088Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
2089 |NN CLONE_PARAMS* param
66ceb532 2090Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 2091ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 2092ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 2093ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 2094#if defined(PERL_IN_SV_C)
9f589e47 2095S |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
538f2e76 2096 |SSize_t items|NN CLONE_PARAMS *const param
9f589e47 2097SR |SV* |sv_dup_common |NN const SV *const sstr \
d08d57ef
NC
2098 |NN CLONE_PARAMS *const param
2099#endif
1eb6e4ca 2100ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
2101ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
2102 |NN CLONE_PARAMS *const param
1eb6e4ca 2103Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 2104Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 2105#endif
346c6a29 2106ApR |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
2107ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2108Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
2109 |NN void *const newsv
2110Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 2111ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 2112Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 2113#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
2114Ap |void |sys_intern_clear
2115Ap |void |sys_intern_init
fe826663
NC
2116# if defined(USE_ITHREADS)
2117Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
2118# endif
94bdecf9
JH
2119#endif
2120
d722d2af 2121Amop |const XOP * |custom_op_xop |NN const OP *o
1545ba5b
DD
2122AbpR |const char * |custom_op_name |NN const OP *o
2123AbpR |const char * |custom_op_desc |NN const OP *o
ae103e09 2124pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
1830b3d9
BM
2125Aop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
2126 |NN const XOP *xop
94bdecf9 2127
c48640ec
AL
2128Adp |void |sv_nosharing |NULLOK SV *sv
2129Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 2130Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 2131Adpb |void |sv_nounlocking |NULLOK SV *sv
62375a60 2132Adp |int |nothreadhook
0d96b528 2133p |void |init_constants
94bdecf9 2134
43869a0c 2135#if defined(PERL_IN_DOOP_C)
9f589e47
KW
2136SR |Size_t |do_trans_simple |NN SV * const sv
2137SR |Size_t |do_trans_count |NN SV * const sv
2138SR |Size_t |do_trans_complex |NN SV * const sv
2139SR |Size_t |do_trans_simple_utf8 |NN SV * const sv
2140SR |Size_t |do_trans_count_utf8 |NN SV * const sv
2141SR |Size_t |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
2142#endif
2143
43869a0c 2144#if defined(PERL_IN_GV_C)
9f589e47
KW
2145S |void |gv_init_svtype |NN GV *gv|const svtype sv_type
2146S |void |gv_magicalize_isa |NN GV *gv
2147S |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
90aeefb4
BF
2148 |NN const char **name|NN STRLEN *len \
2149 |NN const char *nambeg|STRLEN full_len \
2150 |const U32 is_utf8|const I32 add
9f589e47 2151S |bool|find_default_stash|NN HV **stash|NN const char *name \
90aeefb4 2152 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 2153 |const svtype sv_type
9f589e47 2154S |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
1321bbe3 2155 |STRLEN len \
b3041197 2156 |const svtype sv_type
9f589e47
KW
2157S |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
2158S |bool|gv_is_in_main|NN const char *name|STRLEN len \
536d1a88 2159 |const U32 is_utf8
9f589e47 2160S |void |require_tie_mod|NN GV *gv|NN const char varname \
a1683482 2161 |NN const char * name|STRLEN len \
e94ea821 2162 |const U32 flags
94bdecf9
JH
2163#endif
2164
e0171a1a
DM
2165#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
2166po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
2167#endif
2168
43869a0c 2169#if defined(PERL_IN_HV_C)
9f589e47
KW
2170S |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
2171S |void |hv_free_entries|NN HV *hv
2172S |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
2173SR |HE* |new_he
2174SaTR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
2175ST |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
2176S |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
2177SR |HEK* |share_hek_flags|NN const char *str|STRLEN len|U32 hash|int flags
2178rS |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
45b29440 2179iT |U32|ptr_hash|PTRV u
9f589e47
KW
2180S |struct xpvhv_aux*|hv_auxinit|NN HV *hv
2181ST |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter
e4aeb12f 2182Sx |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
4048f010
NC
2183 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
2184 |U32 hash
e4aeb12f 2185Sx |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
2186#endif
2187
43869a0c 2188#if defined(PERL_IN_MG_C)
9f589e47
KW
2189S |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
2190S |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
2191S |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 2192 |NN SV *meth|U32 flags \
aec46f14 2193 |int n|NULLOK SV *val
9f589e47
KW
2194S |void |restore_magic |NULLOK const void *p
2195S |void |unwind_handler_stack|NULLOK const void *p
2196S |void |fixup_errno_string|NN SV* sv
8772537c 2197
94bdecf9
JH
2198#endif
2199
43869a0c 2200#if defined(PERL_IN_OP_C)
9f589e47
KW
2201SRT |bool |is_handle_constructor|NN const OP *o|I32 numargs
2202SR |I32 |assignment_type|NULLOK const OP *o
2203S |void |forget_pmop |NN PMOP *const o
2204S |void |find_and_forget_pmops |NN OP *o
2205S |void |cop_free |NN COP *cop
2206S |OP* |modkids |NULLOK OP *o|I32 type
2207S |OP* |scalarboolean |NN OP *o
2208SR |OP* |search_const |NN OP *o
2209SR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
2210S |void |simplify_sort |NN OP *o
2211SRT |bool |scalar_mod_type|NULLOK const OP *o|I32 type
2212S |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
2213S |OP * |dup_attrlist |NN OP *o
2214S |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
2215S |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
2216S |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
2217S |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
2218S |void |no_bareword_allowed|NN OP *o
2219SR |OP* |no_fh_allowed|NN OP *o
2220SR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2221S |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
2222S |bool |looks_like_bool|NN const OP* o
2223S |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
7896dde7
Z
2224 |I32 enter_opcode|I32 leave_opcode \
2225 |PADOFFSET entertarg
9f589e47
KW
2226S |OP* |ref_array_or_hash|NULLOK OP* cond
2227S |bool |process_special_blocks |I32 floor \
d699ecb7 2228 |NN const char *const fullname\
33fb7a6e 2229 |NN GV *const gv|NN CV *const cv
9f589e47 2230S |void |clear_special_blocks |NN const char *const fullname\
3969ff3f 2231 |NN GV *const gv|NN CV *const cv
c7e45529 2232#endif
346c6a29 2233XpR |void* |Slab_Alloc |size_t sz
8be227ab
FC
2234Xp |void |Slab_Free |NN void *op
2235#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 2236# if defined(PERL_CORE)
5af72e99
KW
2237pe |void |Slab_to_ro |NN OPSLAB *slab
2238pe |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 2239# endif
67022846 2240: Used in OpREFCNT_inc() in sv.c
e4aeb12f 2241poex |OP * |op_refcnt_inc |NULLOK OP *o
67022846 2242: FIXME - can be static.
e4aeb12f 2243poex |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
2244#endif
2245
43869a0c 2246#if defined(PERL_IN_PERL_C)
9f589e47
KW
2247S |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
2248S |void |forbid_setid |const char flag|const bool suidscript
2249S |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 2250 |U32 flags
9f589e47 2251S |SV* |mayberelocate |NN const char *const dir|STRLEN len \
c29067d7 2252 |U32 flags
9f589e47
KW
2253S |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
2254S |void |init_interp
2255S |void |init_ids
2256S |void |init_main_stash
2257S |void |init_perllib
2258S |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
2259S |void |init_predump_symbols
2260rS |void |my_exit_jump
2261S |void |nuke_stacks
2262S |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
8d113837 2263 |NN bool *suidscript
9f589e47 2264Sr |void |usage
cc69b689 2265#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
9f589e47 2266So |void |validate_suid |NN PerlIO *rsfp
ec2019ad 2267#endif
9f589e47 2268Sr |void |minus_v
2f9285f8 2269
9f589e47
KW
2270S |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
2271rS |void |run_body |I32 oldscope
59d6f6a4 2272# ifndef PERL_IS_MINIPERL
9f589e47 2273S |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 2274# endif
94bdecf9
JH
2275#endif
2276
43869a0c 2277#if defined(PERL_IN_PP_C)
9f589e47
KW
2278S |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
2279S |OP* |do_delete_local
2280SR |SV* |refto |NN SV* sv
94bdecf9 2281#endif
43869a0c 2282#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 2283: Used in pp_hot.c
5af72e99 2284pReo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 2285 |const svtype type|NN SV ***spp
45b29440 2286iTR |bool |lossless_NV_to_IV|const NV nv|NN IV * ivp
dc3c76f8 2287#endif
94bdecf9 2288
43869a0c 2289#if defined(PERL_IN_PP_PACK_C)
9f589e47 2290S |SSize_t|unpack_rec |NN struct tempsym* symptr|NN const char *s \
aec46f14 2291 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
9f589e47
KW
2292S |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
2293S |SV* |mul128 |NN SV *sv|U8 m
2294S |SSize_t|measure_struct |NN struct tempsym* symptr
2295S |bool |next_symbol |NN struct tempsym* symptr
2296SR |SV* |is_an_int |NN const char *s|STRLEN l
2297S |int |div128 |NN SV *pnum|NN bool *done
2298S |const char *|group_end |NN const char *patptr|NN const char *patend \
4048f010 2299 |char ender
9f589e47
KW
2300SR |const char *|get_num |NN const char *patptr|NN SSize_t *lenptr
2301TS |bool |need_utf8 |NN const char *pat|NN const char *patend
2302TS |char |first_symbol |NN const char *pat|NN const char *patend
2303SR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
2304STR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3a88beaa 2305 |const bool needs_swap
94bdecf9
JH
2306#endif
2307
43869a0c 2308#if defined(PERL_IN_PP_CTL_C)
9f589e47
KW
2309SR |OP* |docatch |Perl_ppaddr_t firstpp
2310SR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
5db1eb8d 2311 |U32 flags|NN OP **opstack|NN OP **oplimit
9f589e47
KW
2312S |MAGIC *|doparseform |NN SV *sv
2313STR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
2314SR |I32 |dopoptoeval |I32 startingblock
2315SR |I32 |dopoptogivenfor|I32 startingblock
2316SR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
2317SR |I32 |dopoptoloop |I32 startingblock
2318SR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
2319SR |I32 |dopoptowhen |I32 startingblock
2320S |void |save_lines |NULLOK AV *array|NN SV *sv
2321S |bool |doeval_compile |U8 gimme \
f45b078d 2322 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
9f589e47 2323SR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 2324#ifndef PERL_DISABLE_PMC
9f589e47 2325SR |PerlIO *|doopen_pm |NN SV *name
75c20bac 2326#endif
45b29440 2327iRT |bool |path_is_searchable|NN const char *name
9f589e47
KW
2328SR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
2329SR |PMOP* |make_matcher |NN REGEXP* re
2330SR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
2331S |void |destroy_matcher|NN PMOP* matcher
2332S |OP* |do_smartmatch |NULLOK HV* seen_this \
7896dde7 2333 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
2334#endif
2335
43869a0c 2336#if defined(PERL_IN_PP_HOT_C)
9f589e47 2337S |void |do_oddball |NN SV **oddkey|NN SV **firstkey
7d6c333c 2338i |HV* |opmethod_stash |NN SV* meth
94bdecf9
JH
2339#endif
2340
43869a0c 2341#if defined(PERL_IN_PP_SORT_C)
9f589e47
KW
2342S |I32 |sv_ncmp |NN SV *const a|NN SV *const b
2343S |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
2344S |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
2345S |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
2346S |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
0ce92b9f 2347# ifdef USE_LOCALE_COLLATE
9f589e47 2348S |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
0ce92b9f 2349# endif
9f589e47
KW
2350S |I32 |sortcv |NN SV *const a|NN SV *const b
2351S |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
2352S |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
f0f5dc9d
AL
2353#endif
2354
43869a0c 2355#if defined(PERL_IN_PP_SYS_C)
9f589e47 2356S |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
94bdecf9 2357# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
9f589e47 2358SR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 2359# endif
9f589e47 2360S |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 2361#endif
3e0cb5de 2362p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2363 |NN SV *const sv|NN const MAGIC *const mg \
2364 |const U32 flags|U32 argc|...
94bdecf9 2365
8b9781c9
YO
2366#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2367Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2368 |NULLOK const RExC_state_t *pRExC_state
7b031478 2369Ep |int |re_printf |NN const char *fmt|...
8b9781c9 2370#endif
43869a0c 2371#if defined(PERL_IN_REGCOMP_C)
9f589e47 2372ES |regnode_offset|reg |NN RExC_state_t *pRExC_state \
4048f010 2373 |I32 paren|NN I32 *flagp|U32 depth
9f589e47 2374ES |regnode_offset|regnode_guts|NN RExC_state_t *pRExC_state \
f917fa87
KW
2375 |const U8 op \
2376 |const STRLEN extra_len \
2377 |NN const char* const name
9f589e47
KW
2378ES |void |change_engine_size|NN RExC_state_t *pRExC_state|const Ptrdiff_t size
2379ES |regnode_offset|reganode|NN RExC_state_t *pRExC_state|U8 op \
4048f010 2380 |U32 arg
9f589e47 2381ES |regnode_offset|reg2Lanode|NN RExC_state_t *pRExC_state \
9990d5ab
KW
2382 |const U8 op \
2383 |const U32 arg1 \
2384 |const I32 arg2
9f589e47 2385ES |regnode_offset|regatom |NN RExC_state_t *pRExC_state \
4048f010 2386 |NN I32 *flagp|U32 depth
9f589e47 2387ES |regnode_offset|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2388 |NN I32 *flagp|I32 first|U32 depth
9f589e47 2389ES |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2390 |NN regnode* const node \
9991ebf1 2391 |NULLOK SV* const cp_list \
4c404f26
KW
2392 |NULLOK SV* const runtime_defns \
2393 |NULLOK SV* const only_utf8_locale_list
9f589e47 2394ES |void |output_posix_warnings \
b7c50ab8 2395 |NN RExC_state_t *pRExC_state \
a6609ec9 2396 |NN AV* posix_warnings
9f589e47 2397ES |AV* |add_multi_match|NULLOK AV* multi_char_matches \
8f0cd35a 2398 |NN SV* multi_string \
a5454c46 2399 |const STRLEN cp_count
9f589e47 2400ES |regnode_offset|regclass|NN RExC_state_t *pRExC_state \
8316ead6 2401 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2402 |bool allow_multi_fold \
af631a26
KW
2403 |const bool silence_non_portable \
2404 |const bool strict \
46d34d0e 2405 |bool optimizable \
25f472ce 2406 |NULLOK SV** ret_invlist
9f589e47 2407ES |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
8954b91a 2408 |NN SV** invlist
f55b7b26 2409Ei |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \
6421685e
KW
2410 |NN I32 *flagp \
2411 |NN char * parse_start \
2412 |char ch
9f589e47
KW
2413ESTR |unsigned int|regex_set_precedence|const U8 my_operator
2414ES |regnode_offset|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2415 |NULLOK SV ** return_invlist \
f4f5fe57 2416 |NN I32 *flagp|U32 depth \
9d1a5160 2417 |NN char * const oregcomp_parse
9f589e47 2418ES |void |set_regex_pv |NN RExC_state_t *pRExC_state|NN REGEXP *Rx
a03e9135 2419#if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
9f589e47 2420ES |void |dump_regex_sets_structures \
a03e9135
KW
2421 |NN RExC_state_t *pRExC_state \
2422 |NN AV * stack \
2423 |const IV fence|NN AV * fence_stack
2424#endif
9f589e47
KW
2425ES |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2426ES |regnode_offset|reg_node|NN RExC_state_t *pRExC_state|U8 op
2427ES |regnode_offset|regpiece|NN RExC_state_t *pRExC_state \
4048f010 2428 |NN I32 *flagp|U32 depth
9f589e47 2429ES |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
f55b7b26 2430 |NULLOK regnode_offset* nodep \
b6d67071
KW
2431 |NULLOK UV *code_point_p \
2432 |NULLOK int* cp_count \
2433 |NN I32 *flagp \
fe0a3646 2434 |const bool strict \
b6d67071 2435 |const U32 depth
9f589e47 2436ES |void |reginsert |NN RExC_state_t *pRExC_state \
a9f8f0e7
KW
2437 |const U8 op \
2438 |const regnode_offset operand \
2439 |const U32 depth
9f589e47 2440ES |bool |regtail |NN RExC_state_t * pRExC_state \
f55b7b26
KW
2441 |NN const regnode_offset p \
2442 |NN const regnode_offset val \
6f2a89df 2443 |const U32 depth
9f589e47 2444ES |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2445 |U32 flags
9f589e47 2446ES |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2447 |NN regnode *scan|NN UV *min_subtract \
fb29cc72 2448 |NN bool *unfolded_multi_char \
f758bddf 2449 |U32 flags|NULLOK regnode *val|U32 depth
45b29440 2450EiT |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
9f589e47
KW
2451ES |void |nextchar |NN RExC_state_t *pRExC_state
2452ES |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
3e699fa0
KW
2453 |NN char ** p \
2454 |const bool force_to_xmod
45b29440 2455EiT |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
9f589e47 2456ES |void |scan_commit |NN const RExC_state_t *pRExC_state \
09b2b2e6
KW
2457 |NN struct scan_data_t *data \
2458 |NN SSize_t *minlenp \
2459 |int is_inf
9f589e47
KW
2460ES |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
2461ES |void |ssc_anything |NN regnode_ssc *ssc
2462ESRT |int |ssc_is_anything|NN const regnode_ssc *ssc
2463ES |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2464 |NN regnode_ssc *ssc
9f589e47 2465ESRT |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
fb38762f 2466 |NN const regnode_ssc *ssc
9f589e47 2467ES |void |ssc_and |NN const RExC_state_t *pRExC_state \
1ca93ef1 2468 |NN regnode_ssc *ssc \
7dcac5f6 2469 |NN const regnode_charclass *and_with
9f589e47 2470ES |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2471 |NN regnode_ssc *ssc \
7dcac5f6 2472 |NN const regnode_charclass *or_with
9f589e47 2473ES |SV* |get_ANYOF_cp_list_for_ssc \
fb38762f 2474 |NN const RExC_state_t *pRExC_state \
5c0f85ef 2475 |NN const regnode_charclass* const node
fb38762f
KW
2476Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2477 |NN SV* const invlist|const bool invert_2nd
2478Ei |void |ssc_union |NN regnode_ssc *ssc \
2479 |NN SV* const invlist|const bool invert_2nd
2480Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2481 |UV const start|UV const end
2482Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2483 |UV const cp
45b29440 2484EiT |void |ssc_clear_locale|NN regnode_ssc *ssc
9f589e47 2485ETS |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
b35552de 2486 |NN const regnode_ssc * ssc
9f589e47 2487ES |void |ssc_finalize |NN RExC_state_t *pRExC_state \
fb38762f 2488 |NN regnode_ssc *ssc
9f589e47 2489ES |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2490 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2491 |NN SSize_t *deltap|NN regnode *last \
4048f010 2492 |NULLOK struct scan_data_t *data \
09a65838 2493 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2494 |NULLOK regnode_ssc *and_withp \
a3621e74 2495 |U32 flags|U32 depth
9f589e47
KW
2496ESR |SV * |get_ANYOFM_contents|NN const regnode * n
2497ESRT |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2498 |NN const char* const s|const U32 n
9f589e47
KW
2499rS |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
2500ES |int |handle_possible_posix \
46d34d0e
KW
2501 |NN RExC_state_t *pRExC_state \
2502 |NN const char* const s \
2503 |NULLOK char ** updated_parse_ptr \
b7c50ab8
KW
2504 |NULLOK AV** posix_warnings \
2505 |const bool check_only
9f589e47 2506ES |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2507 |NN regnode *startbranch|NN regnode *first \
2508 |NN regnode *last|NN regnode *tail \
786e8c11 2509 |U32 word_count|U32 flags|U32 depth
9f589e47 2510ES |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
615a2e7f 2511 |NN regnode *source|U32 depth
9f589e47
KW
2512ETSR |const char *|cntrl_to_mnemonic|const U8 c
2513ETSR |int |edit_distance |NN const UV *src \
c6871b76
KW
2514 |NN const UV *tgt \
2515 |const STRLEN x \
2516 |const STRLEN y \
2517 |const SSize_t maxDistance
73b95840
KW
2518EpX |SV * |parse_uniprop_string|NN const char * const name \
2519 |const Size_t name_len \
2520 |const bool is_utf8 \
2521 |const bool to_fold \
2522 |const bool runtime \
62286d58 2523 |const bool deferrable \
73b95840
KW
2524 |NN bool * user_defined_ptr \
2525 |NN SV * msg \
2526 |const STRLEN level
2527EXp |SV * |handle_user_defined_property|NN const char * name \
2528 |const STRLEN name_len \
2529 |const bool is_utf8 \
2530 |const bool to_fold \
2531 |const bool runtime \
62286d58 2532 |const bool deferrable \
73b95840
KW
2533 |NN SV* contents \
2534 |NN bool *user_defined_ptr \
2535 |NN SV * msg \
2536 |const STRLEN level
3dab1dad 2537# ifdef DEBUGGING
7b031478 2538Ep |int |re_indentf |NN const char *fmt|U32 depth|...
9f589e47
KW
2539ES |void |regdump_intflags|NULLOK const char *lead| const U32 flags
2540ES |void |regdump_extflags|NULLOK const char *lead| const U32 flags
2541ES |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
3dab1dad 2542 |NN const regnode *node \
786e8c11
YO
2543 |NULLOK const regnode *last \
2544 |NULLOK const regnode *plast \
2545 |NN SV* sv|I32 indent|U32 depth
9f589e47
KW
2546ES |void |put_code_point |NN SV* sv|UV c
2547ES |bool |put_charclass_bitmap_innards|NN SV* sv \
06a83acd 2548 |NULLOK char* bitmap \
b77aba85
KW
2549 |NULLOK SV* nonbitmap_invlist \
2550 |NULLOK SV* only_utf8_locale_invlist\
753b2c6a
KW
2551 |NULLOK const regnode * const node \
2552 |const bool force_as_is_display
9f589e47 2553ES |SV* |put_charclass_bitmap_innards_common \
b77aba85
KW
2554 |NN SV* invlist \
2555 |NULLOK SV* posixes \
2556 |NULLOK SV* only_utf8 \
2557 |NULLOK SV* not_utf8 \
2558 |NULLOK SV* only_utf8_locale \
2559 |const bool invert
9f589e47 2560ES |void |put_charclass_bitmap_innards_invlist \
b77aba85
KW
2561 |NN SV *sv \
2562 |NN SV* invlist
9f589e47 2563ES |void |put_range |NN SV* sv|UV start|const UV end \
e053ac11 2564 |const bool allow_literals
9f589e47 2565ES |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2566 |NULLOK HV* widecharmap|NN AV *revcharmap\
2567 |U32 depth
9f589e47 2568ES |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2569 |NULLOK HV* widecharmap|NN AV *revcharmap\
2570 |U32 next_alloc|U32 depth
9f589e47 2571ES |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2572 |NULLOK HV* widecharmap|NN AV *revcharmap\
2573 |U32 next_alloc|U32 depth
9f589e47 2574ES |bool |regtail_study |NN RExC_state_t *pRExC_state \
f55b7b26 2575 |NN regnode_offset p|NN const regnode_offset val|U32 depth
3dab1dad 2576# endif
94bdecf9
JH
2577#endif
2578
34aeb2e9 2579#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
e4aeb12f 2580EXRpx |bool |isFOO_lc |const U8 classnum|const U8 character
34aeb2e9 2581#endif
94749a5e
KW
2582
2583#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
2584ERp |bool |_is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *strend|const UV cp
2585#endif
2586
34aeb2e9 2587#if defined(PERL_IN_REGEXEC_C)
9f589e47
KW
2588ERS |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character|NN const U8* e
2589ERTS |U8 * |find_next_masked|NN U8 * s \
2b1f9c71 2590 |NN const U8 * send \
2813d4ad 2591 |const U8 byte|const U8 mask
9f589e47
KW
2592ERTS |U8 *|find_span_end |NN U8* s|NN const U8 * send|const U8 span_byte
2593ERTS |U8 *|find_span_end_mask|NN U8 * s|NN const U8 * send \
070e8b2e 2594 |const U8 span_byte|const U8 mask
9f589e47
KW
2595ERS |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
2596WERS |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b 2597 |NN const regnode *p \
8019f582 2598 |NN char *loceol \
02d5137b 2599 |NN regmatch_info *const reginfo \
21553840 2600 |I32 max
9f589e47
KW
2601ERS |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
2602ERS |bool |reginclass |NULLOK regexp * const prog \
3db24e1e
KW
2603 |NN const regnode * const n \
2604 |NN const U8 * const p \
2605 |NN const U8 * const p_end \
635cd5d4 2606 |bool const utf8_target
9f589e47 2607WES |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
21553840 2608 |U32 maxopenparen
9f589e47
KW
2609WES |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p
2610WES |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p
2611ERST |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
2612ERST |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2613 |NN const U8 *rlim
9f589e47
KW
2614ERST |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
2615ERS |char* |find_byclass |NN regexp * prog|NN const regnode *c \
984e6dd1 2616 |NN char *s|NN const char *strend \
f9176b44 2617 |NULLOK regmatch_info *reginfo
9f589e47
KW
2618ES |void |to_utf8_substr |NN regexp * prog
2619ES |bool |to_byte_substr |NN regexp * prog
2620ERST |I32 |reg_check_named_buff_matched |NN const regexp *rex \
4048f010 2621 |NN const regnode *scan
9f589e47 2622ESR |bool |isGCB |const GCB_enum before \
b0e24409
KW
2623 |const GCB_enum after \
2624 |NN const U8 * const strbeg \
2625 |NN const U8 * const curpos \
2626 |const bool utf8_target
9f589e47 2627ESR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
b0e24409
KW
2628 |NN U8 ** curpos \
2629 |const bool utf8_target
9f589e47 2630ESR |bool |isLB |LB_enum before \
6b659339
KW
2631 |LB_enum after \
2632 |NN const U8 * const strbeg \
2633 |NN const U8 * const curpos \
2634 |NN const U8 * const strend \
2635 |const bool utf8_target
9f589e47 2636ESR |LB_enum|advance_one_LB |NN U8 ** curpos \
6b659339
KW
2637 |NN const U8 * const strend \
2638 |const bool utf8_target
9f589e47 2639ESR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
6b659339
KW
2640 |NN U8 ** curpos \
2641 |const bool utf8_target
9f589e47 2642ESR |bool |isSB |SB_enum before \
85e5f08b 2643 |SB_enum after \
06ae2722
KW
2644 |NN const U8 * const strbeg \
2645 |NN const U8 * const curpos \
ae3bb8ea
KW
2646 |NN const U8 * const strend \
2647 |const bool utf8_target
9f589e47 2648ESR |SB_enum|advance_one_SB |NN U8 ** curpos \
06ae2722
KW
2649 |NN const U8 * const strend \
2650 |const bool utf8_target
9f589e47 2651ESR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
ae3bb8ea
KW
2652 |NN U8 ** curpos \
2653 |const bool utf8_target
9f589e47 2654ESR |bool |isWB |WB_enum previous \
85e5f08b
KW
2655 |WB_enum before \
2656 |WB_enum after \
ae3bb8ea
KW
2657 |NN const U8 * const strbeg \
2658 |NN const U8 * const curpos \
2659 |NN const U8 * const strend \
2660 |const bool utf8_target
9f589e47 2661ESR |WB_enum|advance_one_WB |NN U8 ** curpos \
06ae2722 2662 |NN const U8 * const strend \
4370fbb5
KW
2663 |const bool utf8_target \
2664 |const bool skip_Extend_Format
9f589e47 2665ESR |WB_enum|backup_one_WB |NN WB_enum * previous \
06ae2722
KW
2666 |NN const U8 * const strbeg \
2667 |NN U8 ** curpos \
2668 |const bool utf8_target
45b29440 2669EiT |I32 |foldEQ_latin1_s2_folded|NN const char* a|NN const char* b|I32 len
07be1b83 2670# ifdef DEBUGGING
9f589e47 2671ES |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
389f4c1e 2672 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
9f589e47 2673ES |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
efd26800
NC
2674 |NN const char *start|NN const char *end\
2675 |NN const char *blurb
cb41e5d6 2676
7b031478 2677Ep |int |re_exec_indentf |NN const char *fmt|U32 depth|...
07be1b83 2678# endif
94bdecf9
JH
2679#endif
2680
43869a0c 2681#if defined(PERL_IN_DUMP_C)
9f589e47
KW
2682S |CV* |deb_curcv |I32 ix
2683S |void |debprof |NN const OP *o
2684S |UV |sequence_num |NULLOK const OP *o
2685S |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2686#endif
2687
43869a0c 2688#if defined(PERL_IN_SCOPE_C)
9f589e47 2689S |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2690#endif
2691
4c74a7df 2692#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2693: Used in gv.c
2b021c53 2694po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2695#endif
2696
43869a0c 2697#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2698: Used in hv.c and mg.c
e4aeb12f 2699pox |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2700#endif
2701
579333ee
FC
2702#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2703pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2704 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 2705 |SSize_t aindex|int subscript_type
579333ee
FC
2706#endif
2707
4c74a7df 2708pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2709#if defined(PERL_IN_SV_C)
45b29440 2710TiR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2711i |void |sv_unglob |NN SV *const sv|U32 flags
9f589e47
KW
2712S |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
2713S |void |not_a_number |NN SV *const sv
2714S |void |not_incrementable |NN SV *const sv
2715S |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2716# ifdef DEBUGGING
9f589e47 2717S |void |del_sv |NN SV *p
94bdecf9
JH
2718# endif
2719# if !defined(NV_PRESERVES_UV)
47031da6 2720# ifdef DEBUGGING
9f589e47 2721S |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2722# else
9f589e47 2723S |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2724# endif
94bdecf9 2725# endif
9f589e47
KW
2726SR |STRLEN |expect_number |NN const char **const pattern
2727ST |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2728 |NN const U8 *const send|NN STRLEN *const uoffset \
2729 |NN bool *const at_end
9f589e47 2730ST |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2731 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
9f589e47 2732S |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2733 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2734 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
9f589e47 2735S |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ec49a12c 2736 |const STRLEN ulen
9f589e47 2737S |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ac1e9476 2738 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
9f589e47 2739S |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2740 |NN const U8 *end|STRLEN endu
9f589e47 2741S |void |assert_uft8_cache_coherent|NN const char *const func \
9df83ffd 2742 |STRLEN from_cache|STRLEN real|NN SV *const sv
9f589e47
KW
2743ST |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
2744S |SV * |more_sv
2745S |bool |sv_2iuv_common |NN SV *const sv
2746S |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
7bc54cea 2747 |const int dtype
9f589e47
KW
2748SRT |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2749S |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2750#endif
2751
ecf9cdab
NC
2752: Used in sv.c and hv.c
2753po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2754 |const size_t arena_size
25c7fb78
KW
2755EXpR |SV* |get_and_check_backslash_N_name|NN const char* s \
2756 |NN const char* const e \
2757 |const bool is_utf8 \
2758 |NN const char** error_msg
ecf9cdab 2759
9a1ae847 2760: For use ONLY in B::Hooks::Parser, by special dispensation
e4aeb12f 2761EXpxR |char* |scan_str |NN char *start|int keep_quoted \
aabfeadc
KW
2762 |int keep_delims|int re_reparse \
2763 |NULLOK char **delimp
e4aeb12f 2764EXpx |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
aabfeadc 2765 |int allow_package|NN STRLEN *slp
e4aeb12f 2766EXpxR |char* |skipspace_flags|NN char *s|U32 flags
43869a0c 2767#if defined(PERL_IN_TOKE_C)
9f589e47
KW
2768S |void |check_uni
2769S |void |force_next |I32 type
2770S |char* |force_version |NN char *s|int guessing
2771S |char* |force_strict_version |NN char *s
2772S |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2773 |int allow_pack
9f589e47
KW
2774S |SV* |tokeq |NN SV *sv
2775SR |char* |scan_const |NN char *start
2776SR |SV* |get_and_check_backslash_N_name_wrapper|NN const char* s \
6f613c73 2777 |NN const char* const e
9f589e47
KW
2778SR |char* |scan_formline |NN char *s
2779SR |char* |scan_heredoc |NN char *s
2780S |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2781 |STRLEN destlen|I32 ck_uni
9f589e47
KW
2782SR |char* |scan_inputsymbol|NN char *start
2783SR |char* |scan_pat |NN char *start|I32 type
2784SR |char* |scan_subst |NN char *start
2785SR |char* |scan_trans |NN char *start
2786S |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2787 |NULLOK const char *const buf|STRLEN len
9f589e47 2788SR |char* |swallow_bom |NN U8 *s
a28af015 2789#ifndef PERL_NO_UTF16_FILTER
9f589e47
KW
2790S |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
2791S |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2792#endif
9f589e47 2793S |void |checkcomma |NN const char *s|NN const char *name \
c94115d8 2794 |NN const char *what
9f589e47
KW
2795S |void |force_ident |NN const char *s|int kind
2796S |void |force_ident_maybe_lex|char pit
2797S |void |incline |NN const char *s|NN const char *end
2798S |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
2799S |int |intuit_more |NN char *s|NN char *e
2800S |I32 |lop |I32 f|U8 x|NN char *s
2801rS |void |missingterm |NULLOK char *s|STRLEN len
2802S |void |no_op |NN const char *const what|NULLOK char *s
2803S |int |pending_ident
2804SR |I32 |sublex_done
2805SR |I32 |sublex_push
2806SR |I32 |sublex_start
2807SR |char * |filter_gets |NN SV *sv|STRLEN append
2808SR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
2809SR |char * |tokenize_use |int is_use|NN char *s
2810So |SV* |new_constant |NULLOK const char *s|STRLEN len \
eb0d8d16 2811 |NN const char *key|STRLEN keylen|NN SV *sv \
164e423c
KW
2812 |NULLOK SV *pv|NULLOK const char *type \
2813 |STRLEN typelen \
2814 |NULLOK const char ** error_msg
9f589e47
KW
2815S |int |ao |int toketype
2816S |void|parse_ident|NN char **s|NN char **d \
07f72646 2817 |NN char * const e|int allow_package \
2cb35ee0
FC
2818 |bool is_utf8|bool check_dollar \
2819 |bool tick_warn
94bdecf9 2820# if defined(PERL_CR_FILTER)
9f589e47
KW
2821S |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
2822S |void |strip_return |NN SV *sv
94bdecf9 2823# endif
c445ea15 2824# if defined(DEBUGGING)
9f589e47
KW
2825S |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
2826Sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2827# endif
94bdecf9 2828#endif
e4aeb12f 2829EXxp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn \
5783dc51 2830 |bool curstash
94bdecf9 2831
43869a0c 2832#if defined(PERL_IN_UNIVERSAL_C)
9f589e47 2833S |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2834 |STRLEN len|U32 flags
94bdecf9
JH
2835#endif
2836
f7416781 2837#if defined(PERL_IN_LOCALE_C)
d36adde0 2838# ifdef USE_LOCALE
9f589e47
KW
2839ST |const char*|category_name |const int category
2840S |const char*|switch_category_locale_to_template|const int switch_category|const int template_category|NULLOK const char * template_locale
2841S |void |restore_switched_locale|const int category|NULLOK const char * const original_locale
d36adde0 2842# endif
f61748ac 2843# ifdef HAS_NL_LANGINFO
9f589e47 2844ST |const char*|my_nl_langinfo|const nl_item item|bool toggle
f61748ac 2845# else
9f589e47 2846ST |const char*|my_nl_langinfo|const int item|bool toggle
f61748ac 2847# endif
45b29440 2848iTR |const char *|save_to_buffer|NULLOK const char * string \
f7416781
KW
2849 |NULLOK char **buf \
2850 |NN Size_t *buf_size \
2851 |const Size_t offset
2852# if defined(USE_LOCALE)
9f589e47
KW
2853S |char* |stdize_locale |NN char* locs
2854S |void |new_collate |NULLOK const char* newcoll
2855S |void |new_ctype |NN const char* newctype
2856S |void |set_numeric_radix|const bool use_locale
2857S |void |new_numeric |NULLOK const char* newnum
e9bc6d6b 2858# ifdef USE_POSIX_2008_LOCALE
9f589e47 2859ST |const char*|emulate_setlocale|const int category \
e9bc6d6b
KW
2860 |NULLOK const char* locale \
2861 |unsigned int index \
2862 |const bool is_index_valid
2863# endif
f7416781 2864# ifdef WIN32
9f589e47 2865S |char* |win32_setlocale|int category|NULLOK const char* locale
f7416781
KW
2866# endif
2867# ifdef DEBUGGING
9f589e47 2868S |void |print_collxfrm_input_and_return \
c7202dee
KW
2869 |NN const char * const s \
2870 |NN const char * const e \
2871 |NULLOK const STRLEN * const xlen \
2872 |const bool is_utf8
9f589e47 2873S |void |print_bytes_for_locale |NN const char * const s \
9c8a6dc2
KW
2874 |NN const char * const e \
2875 |const bool is_utf8
9f589e47 2876STR |char * |setlocale_debug_string |const int category \
a4f00dcc
KW
2877 |NULLOK const char* const locale \
2878 |NULLOK const char* const retval
f7416781
KW
2879# endif
2880# endif
9f162648
JH
2881#endif
2882
a8f4b0c6
KW
2883#if defined(USE_LOCALE) \
2884 && ( defined(PERL_IN_LOCALE_C) \
2885 || defined(PERL_IN_MG_C) \
472be41b
KW
2886 || defined (PERL_EXT_POSIX) \
2887 || defined (PERL_EXT_LANGINFO))
e4aeb12f 2888Apx |bool |_is_cur_LC_category_utf8|int category
94bdecf9
JH
2889#endif
2890
5d1187d1 2891
43869a0c 2892#if defined(PERL_IN_UTIL_C)
9f589e47
KW
2893S |SV* |mess_alloc
2894S |SV * |with_queued_errors|NN SV *ex
2895S |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 2896#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9f589e47 2897ST |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 2898 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
2899 |Malloc_t oldalloc|Malloc_t newalloc \
2900 |NN const char *filename|const int linenumber \
2901 |NN const char *funcname
2902#endif
94bdecf9
JH
2903#endif
2904
6fb87544 2905#if defined(PERL_MEM_LOG)
45b29440
KW
2906pT |Malloc_t |mem_log_alloc |const UV nconst|UV typesize|NN const char *type_name|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2907pT |Malloc_t |mem_log_realloc |const UV n|const UV typesize|NN const char *type_name|Malloc_t oldalloc|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2908pT |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
6fb87544
MH
2909#endif
2910
43869a0c 2911#if defined(PERL_IN_UTF8_C)
9f589e47 2912SR |HV * |new_msg_hv |NN const char * const message \
bb07812e
KW
2913 |U32 categories \
2914 |U32 flag
e4aeb12f 2915SRx |UV |check_locale_boundary_crossing \
ab0b796c
KW
2916 |NN const U8* const p \
2917 |const UV result \
2918 |NN U8* const ustrp \
2919 |NN STRLEN *lenp
34aeb2e9 2920iR |bool |is_utf8_common |NN const U8 *const p \
34aeb2e9 2921 |NULLOK SV* const invlist
da8c1a98 2922iR |bool |is_utf8_common_with_len|NN const U8 *const p \
eb1f4bb4
KW
2923 |NN const U8 *const e \
2924 |NULLOK SV* const invlist
9f589e47 2925SR |SV* |swatch_get |NN SV* swash|UV start|UV span
e4aeb12f 2926SRx |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \
95543e92
KW
2927 |NN UV* max|NN UV* val|const bool wants_value \
2928 |NN const U8* const typestr
646ca15d
JH
2929#endif
2930
e4aeb12f 2931EXixT |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
55d09dc8 2932
e03e82a0 2933Apd |void |sv_set_undef |NN SV *sv
7bc54cea 2934Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
2935Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
2936 |const I32 flags
9dcc53ea
Z
2937Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \
2938 |const I32 flags
2e000ff2 2939Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 2940Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 2941Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 2942Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
0b1d8e2d 2943Apmb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
4bac9ae4
CS
2944Apmd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
2945Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
6928bedc
KW
2946Apo |char* |my_atof2 |NN const char *orig|NN NV* value
2947Ap |char* |my_atof3 |NN const char *orig|NN NV* value|const STRLEN len
45b29440
KW
2948ApT |int |my_socketpair |int family|int type|int protocol|int fd[2]
2949ApT |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 2950#ifdef PERL_ANY_COW
67022846 2951: Used in pp_hot.c and regexec.c
e4aeb12f 2952pxXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 2953#endif
94bdecf9 2954
d070ff45 2955Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2956
97cb92d6 2957#if defined(USE_PERLIO)
46c461b5
AL
2958Ap |int |PerlIO_close |NULLOK PerlIO *f
2959Ap |int |PerlIO_fill |NULLOK PerlIO *f
2960Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2961Ap |int |PerlIO_eof |NULLOK PerlIO *f
2962Ap |int |PerlIO_error |NULLOK PerlIO *f
2963Ap |int |PerlIO_flush |NULLOK PerlIO *f
2964Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
b66f3475 2965Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3d4dd4c7 2966Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
b66f3475 2967 |SSize_t cnt
46c461b5 2968Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2969Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2970 |Size_t count
2971Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2972 |Size_t count
2973Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2974 |Size_t count
46c461b5
AL
2975Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2976Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
0ea86a10
FC
2977Xp |void |PerlIO_save_errno |NULLOK PerlIO *f
2978Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f
94bdecf9 2979
46c461b5
AL
2980Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2981Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b66f3475
LT
2982ApR |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
2983ApR |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2984
46c461b5
AL
2985ApR |PerlIO *|PerlIO_stdin
2986ApR |PerlIO *|PerlIO_stdout
2987ApR |PerlIO *|PerlIO_stderr
57630fb6 2988#endif /* USE_PERLIO */
94bdecf9 2989
67022846 2990: Only used in dump.c
d6721266 2991p |void |deb_stack_all
43869a0c 2992#if defined(PERL_IN_DEB_C)
9f589e47 2993S |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2994 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2995#endif
2996
cc76b5cc 2997: pad API
346c6a29 2998ApdR |PADLIST*|pad_new |int flags
eacbb379 2999#ifdef DEBUGGING
45b29440 3000pTX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist
eacbb379 3001#endif
cc76b5cc 3002#if defined(PERL_IN_PAD_C)
9f589e47 3003S |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \
cc76b5cc
Z
3004 |NULLOK HV *typestash|NULLOK HV *ourstash
3005#endif
3006Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 3007 |U32 flags|NULLOK HV *typestash\
cca43f78 3008 |NULLOK HV *ourstash
cc76b5cc
Z
3009Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
3010 |const U32 flags|NULLOK HV *typestash\
3011 |NULLOK HV *ourstash
3012Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 3013 |U32 flags|NULLOK HV *typestash\
cc76b5cc 3014 |NULLOK HV *ourstash
e4aeb12f 3015Axpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
cc76b5cc 3016Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
a70f21d0 3017p |void |pad_add_weakref|NN CV* func
43869a0c 3018#if defined(PERL_IN_PAD_C)
9f589e47 3019Sd |void |pad_check_dup |NN PADNAME *name|U32 flags \
e1c02f84 3020 |NULLOK const HV *ourstash
cc76b5cc 3021#endif
402642c6 3022Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
3023Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
3024Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
3025ApdD |PADOFFSET|find_rundefsvoffset |
3026Apd |SV* |find_rundefsv |
3027#if defined(PERL_IN_PAD_C)
9f589e47 3028Sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc 3029 |NN const CV* cv|U32 seq|int warn \
e1c02f84
FC
3030 |NULLOK SV** out_capture \
3031 |NN PADNAME** out_name|NN int *out_flags
73b81b14 3032#endif
dd2155a4 3033#ifdef DEBUGGING
cc76b5cc
Z
3034Apd |SV* |pad_sv |PADOFFSET po
3035Apd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
3036#endif
3037pd |void |pad_block_start|int full
25f5d540 3038Apd |U32 |intro_my
6d5c2147 3039pd |OP * |pad_leavemy
cc76b5cc
Z
3040pd |void |pad_swipe |PADOFFSET po|bool refadjust
3041#if defined(PERL_IN_PAD_C)
9f589e47 3042Sd |void |pad_reset
d5b1589c 3043#endif
e4aeb12f 3044Axpd |void |pad_tidy |padtidy_type type
cc76b5cc 3045pd |void |pad_free |PADOFFSET po
e950ecba 3046pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 3047#if defined(PERL_IN_PAD_C)
dd2155a4 3048# if defined(DEBUGGING)
9f589e47 3049Sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 3050# endif
dd2155a4 3051#endif
cc76b5cc 3052Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 3053p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
3054pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
3055pdX |void |pad_push |NN PADLIST *padlist|int depth
09d7a3ba 3056ApbdR |HV* |pad_compname_type|const PADOFFSET po
e4aeb12f 3057AxpdRT |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key
9b7476d7 3058Xop |void |padnamelist_free|NN PADNAMELIST *pnl
e4aeb12f 3059Axpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \
9b7476d7 3060 |NULLOK PADNAME *val
0f94cb1f 3061Xop |void |padname_free |NN PADNAME *pn
cc76b5cc 3062#if defined(USE_ITHREADS)
0f94cb1f 3063pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param
9b7476d7
FC
3064pR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \
3065 |NN CLONE_PARAMS *param
eacbb379 3066pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \
b70d5558 3067 |NN CLONE_PARAMS *param
cc76b5cc 3068#endif
7261499d
FC
3069p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
3070 |NULLOK PAD *val
cc76b5cc 3071
daad78fc 3072ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 3073pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 3074 |NULLOK U32 *db_seqp
67022846 3075: Only used in perl.c
dd28f7bb 3076p |void |free_tied_hv_pool
b4ab917c 3077#if defined(DEBUGGING)
67022846 3078: Used in mg.c
46c461b5 3079pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 3080#endif
4048f010 3081Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 3082#ifdef DEBUGGING
4048f010