Commit | Line | Data |
---|---|---|
d7cb65f2 | 1 | : BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl. |
5a51db05 | 2 | : |
8fb6968f | 3 | : WARNING: The meanings of some flags have been changed as of v5.31.0 |
30628a6e | 4 | : |
8fb6968f KW |
5 | : This file is known to be processed by regen/embed.pl, autodoc.pl, |
6 | : makedef.pl, Devel::PPPort, and porting/diag.t. | |
7 | : | |
dcd299b4 KW |
8 | : This file contains entries for various functions and macros defined by perl. |
9 | : Each entry includes the name, parameters, and various attributes about it. | |
10 | : In most functions listed here, the name is a short name, and the function's | |
11 | : real name is the short one, prefixed by either 'Perl_' (for publicly visible | |
12 | : functions) or 'S_' (for internal-to-a-file static ones). In many instances a | |
13 | : macro is defined that is the name in this file, and which expands to call the | |
14 | : real (full) name, with any appropriate thread context paramaters, thus hiding | |
15 | : that detail from the typical code. | |
16 | : | |
17 | : Most macros listed here are the complete full name. | |
18 | : | |
8fb6968f | 19 | : All non-static functions defined by perl need to be listed in this file. |
dcd299b4 KW |
20 | : embed.pl uses the entries here to construct: |
21 | : 1) proto.h to declare to the compiler the function interfaces; and | |
22 | : 2) embed.h to create short name macros | |
30628a6e | 23 | : |
dcd299b4 KW |
24 | : Static functions internal to a file need not appear here, but there is |
25 | : benefit to declaring them here, as it generally handles the thread context | |
26 | : parameter invisibly, as well as making sure a PERL_ARGS_ASSERT_foo macro is | |
27 | : defined, which can save you debugging time. | |
8fb6968f KW |
28 | : |
29 | : Lines in this file are of the form: | |
dcd299b4 | 30 | : flags|return_type|name|arg1|arg2|...|argN |
94bdecf9 | 31 | : |
caf8c6bc KW |
32 | : 'flags' is a string of single letters. Most of the flags are meaningful only |
33 | : to embed.pl; some only to autodoc.pl, and others only to makedef.pl. The | |
dcd299b4 | 34 | : comments here mostly don't include how Devel::PPPort or diag.t use them: |
caf8c6bc | 35 | : |
8fb6968f KW |
36 | : A function taking no parameters will have no 'arg' elements. |
37 | : A line may be continued onto the next by ending it with a backslash. | |
94bdecf9 JH |
38 | : Leading and trailing whitespace will be ignored in each component. |
39 | : | |
dcd299b4 KW |
40 | : Most entries here have a macro created with the entry name. This presents |
41 | : name space collision potentials which haven't been well thought out, but are | |
42 | : now documented here. In practice this has rarely been an issue. At least, | |
43 | : with a macro, the XS author can #undef it, unlike a function. | |
44 | : | |
d8bd2bed | 45 | : The default without flags is to declare a function for internal perl-core use |
dcd299b4 KW |
46 | : only. The short name is visible only when the PERL_CORE symbol is defined. |
47 | : On some platforms, such as Linux and Darwin, all non-static functions | |
caf8c6bc KW |
48 | : are currently externally visible. Because of this, and also for programs |
49 | : that embed perl, most non-static functions should have the 'p' flag to avoid | |
50 | : namespace clashes. | |
51 | : | |
dcd299b4 KW |
52 | : There are several advantages to using a macro instead of the full Perl_foo or |
53 | : S_foo form: it hides the need to know if the called function requires a | |
54 | : thread context parameter or not, and the code using it is more readable | |
55 | : because of fewer parameters being visible. And if there is some bug in it | |
56 | : that gets fixed in a later release, ppport.h can be changed to automatically | |
57 | : backport the fixed version to modules. The only disadvantage khw can think | |
58 | : of is the namespace pollution one. | |
59 | : | |
60 | : Since we don't require a C compiler to support variadic macros (C99), the | |
61 | : macros can't be generated in such situations. | |
62 | : | |
63 | : WARNING: Any macro created in a header file is visible to XS code, unless | |
64 | : care is taken to wrap it within something like #ifdef PERL_CORE..#endif. | |
65 | : This has had to be done with things like MAX and MIN, but nearly everything | |
66 | : else has been created without regard to the namespace pollution problem. | |
67 | : | |
f0656a59 KW |
68 | : Here's what else you need to know about using this file with regards to name |
69 | : space pollution: | |
70 | : | |
71 | : The A flag is used to make a function and its short name visible everywhere | |
72 | : on all platforms. This should be used to make it part of Perl's | |
73 | : API contract with XS developers. The documentation for these is | |
74 | : usually placed in perlapi. If no documentation exists, that fact | |
75 | : is also noted in perlapi. | |
76 | : | |
77 | : The C flag is used instead for functions and their short names that need to | |
78 | : be accessible everywhere, typically because they are called from a | |
79 | : publicly available macro or inline function, but they are not for | |
80 | : public use by themselves. The documentation for these is placed | |
81 | : in perlintern. If no documentation exists, that fact is also | |
82 | : noted in perlintern. | |
83 | : | |
84 | : These really need the 'p' flag to avoid name space collisions. | |
85 | : | |
86 | : Some of these have been constructed so that the wrapper macro | |
87 | : names begin with an underscore to lessen the chances of a name | |
88 | : collision. However, this is contrary to the C standard, and those | |
89 | : should be changed. | |
90 | : | |
91 | : The E flag is used instead for a function and its short name that is supposed | |
92 | : to be used only in the core, and in extensions compiled with the | |
93 | : PERL_EXT symbol defined. Again, on some platforms, the function | |
b31417ca KW |
94 | : will be visible everywhere, so one of the 'p' or 'S' flags is |
95 | : generally needed. Also note that an XS writer can always cheat | |
96 | : and pretend to be an extension by #defining PERL_EXT. | |
f0656a59 KW |
97 | : |
98 | : The X flag is similar to the C flag in that the function (whose entry better | |
99 | : have the 'p' flag) is accessible everywhere on all platforms. | |
100 | : However the short name macro that normally gets generated is | |
101 | : suppressed outside the core. (Except it is also visible in | |
102 | : PERL_EXT extensions if the E flag is also specified.) This flag | |
103 | : is used for functions that are called from a public macro, the | |
104 | : name of which isn't derived from the function name. You'll have | |
105 | : to write the macro yourself, and from within it, refer to the | |
106 | : function in its full 'Perl_' form with any necessary thread | |
107 | : context parameter. | |
d8bd2bed | 108 | : |
8fb6968f KW |
109 | : Scattered around the perl source are lines of the form: |
110 | : | |
111 | : =for apidoc name | |
112 | : | |
caf8c6bc KW |
113 | : followed by pod for that function. The purpose of these is to tell |
114 | : autodoc.pl where the documentation is for a function listed in this file. It | |
115 | : uses the prototype from here and the pod from there in generating the | |
116 | : documentation in perlapi or perlintern. The entries in this file that have | |
dcd299b4 | 117 | : corresponding '=for apidoc' entries should have the 'd' flag set in this |
caf8c6bc KW |
118 | : file. |
119 | : | |
120 | : There are also lines of this form scattered around: | |
8fb6968f KW |
121 | : |
122 | : =for apidoc flags|return_type|name|arg1|arg2|...|argN | |
123 | : | |
dcd299b4 KW |
124 | : and with the same meanings as the lines in this file. These are for |
125 | : documenting macros. The 'name' in any such line must not be the same as any | |
126 | : in this file (i.e., no redundant definitions), and one of the flags must be | |
127 | : 'm', indicating it is a macro. The lines following these are pod for the | |
128 | : respective macro. Since these are macros, the arguments need not be legal C | |
129 | : parameters. To indicate this to downstream software that inspects these | |
130 | : lines, there are a few conventions: | |
caf8c6bc KW |
131 | : type should be the entire argument name if it names a type |
132 | : cast should be the entire argument name if it is a cast | |
133 | : SP should be the entire argument name if it is the stack pointer SP | |
134 | : block should be the entire argument name if it is a C brace-enclosed block | |
135 | : | |
136 | : The letters above are exact. For example, you have to have 't', 'y', 'p', | |
137 | : and 'e' literally. Here is an example: | |
138 | : =for apidoc Am|void|Newxc|void* ptr|int nitems|type|cast | |
139 | : | |
140 | : Additionally, an argument can be some word(s) enclosed in double quotes to | |
141 | : indicate that it has to be a string, instead of a const char * const, like this | |
142 | : =for apidoc Ama|SV*|newSVpvs|"string" | |
143 | : | |
dcd299b4 KW |
144 | : If any argument or return value is not one of the above, and isn't a legal C |
145 | : language one, the 'u' flag should be specified. | |
146 | : | |
caf8c6bc KW |
147 | : Again, autodoc uses these lines to construct perlapi. 'return_type' in these |
148 | : lines can be empty, unlike in this file. | |
8fb6968f KW |
149 | : |
150 | : Devel::PPPort also looks at both this file and the '=for apidoc' lines. In | |
151 | : part it is to construct lists of functions that are or are not backported. | |
152 | : | |
dcd299b4 KW |
153 | : makedef.pl uses this file for constructing the export list which lists the |
154 | : symbols that should be available on all platforms. | |
8fb6968f KW |
155 | : |
156 | : porting/diag.t checks some things for consistency based on this file. | |
157 | : | |
dcd299b4 | 158 | : The remainder of these introductory comments detail all the possible flags: |
d412580b | 159 | : |
dcd299b4 KW |
160 | : A Both long and short names are accessible fully everywhere (usually part |
161 | : of the public API). If the function is not part of the public API, | |
ff5af78d | 162 | : instead use C, E, or X. |
d412580b | 163 | : |
dcd299b4 KW |
164 | : add entry to the list of symbols available on all platforms |
165 | : unless e or m are also specified; | |
166 | : any doc entry goes in perlapi.pod rather than perlintern.pod. If | |
167 | : there isn't a doc entry, autodoc.pl lists this in perlapi as | |
168 | : existing and being undocumented; unless x is also specified, in | |
169 | : which case it simply isn't listed. | |
170 | : makes the short name defined for everywhere, not just for | |
171 | : PERL_CORE/PERL_EXT | |
569ba91f | 172 | : |
dcd299b4 KW |
173 | : a Allocates memory a la malloc/calloc. Also implies "R". This flag |
174 | : should only be on a function which returns 'empty' memory which has no | |
175 | : other pointers to it, and which does not contain any pointers to other | |
176 | : things. So for example realloc() can't be 'a'. | |
d412580b DM |
177 | : |
178 | : proto.h: add __attribute__malloc__ | |
179 | : | |
3f1866a8 KW |
180 | : b Binary backward compatibility. This is used for functions which are |
181 | : kept only to not have to change legacy applications that call them. If | |
182 | : there are no such legacy applications in a Perl installation for all | |
183 | : functions flagged with this, the installation can run Configure with the | |
e24a96ba KW |
184 | : -Accflags='-DNO_MATHOMS' parameter to not even compile them. |
185 | : | |
186 | : Sometimes the function has been subsumed by a more general one (say, by | |
dcd299b4 KW |
187 | : adding a flags parameter), and a macro exists with the original short |
188 | : name API, and it calls the new function, bypassing this one, and the | |
189 | : original 'Perl_' form is being deprecated. In this case also specify | |
190 | : the 'M' flag. | |
191 | : | |
192 | : Without the M flag, these functions should be deprecated, and it is an | |
193 | : error to not also specify the 'D' flag. | |
194 | : | |
195 | : The 'b' functions are normally moved to mathoms.c, but if circumstances | |
e24a96ba KW |
196 | : dictate otherwise, they can be anywhere, provided the whole function is |
197 | : wrapped with | |
198 | : #ifndef NO_MATHOMS | |
199 | : ... | |
200 | : #endif | |
d412580b | 201 | : |
5ff52e3c KW |
202 | : Note that this flag no longer automatically adds a 'Perl_' prefix to the |
203 | : name. Additionally specify 'p' to do that. | |
204 | : | |
3f1866a8 | 205 | : This flag effectively causes nothing to happen if the perl interpreter |
dcd299b4 KW |
206 | : is compiled with -DNO_MATHOMS (which causes any functions with this flag |
207 | : to not be compiled); otherwise these happen: | |
208 | : add entry to the list of symbols available on all platforms; | |
d8bd2bed | 209 | : create PERL_ARGS_ASSERT_foo; |
dcd299b4 | 210 | : add embed.h entry (unless overridden by the 'M' or 'o' flags) |
d412580b | 211 | : |
ff5af78d KW |
212 | : C Intended for core use only. This indicates to XS writers that they |
213 | : shouldn't be using this function. Devel::PPPort informs them of this, | |
214 | : for example. Some functions have to be accessible everywhere even if | |
215 | : they are not intended for public use. An example is helper functions | |
216 | : that are called from inline ones that are publicly available. | |
217 | : | |
218 | : add entry to the list of symbols available on all platforms | |
219 | : unless e or m are also specified; | |
220 | : any doc entry goes in perlintern.pod rather than perlapi.pod. If | |
221 | : there isn't a doc entry, autodoc.pl lists this in perlintern as | |
222 | : existing and being undocumented | |
223 | : makes the short name defined for everywhere, not just for | |
224 | : PERL_CORE/PERL_EXT | |
225 | : | |
d412580b DM |
226 | : D Function is deprecated: |
227 | : | |
228 | : proto.h: add __attribute__deprecated__ | |
8fb6968f | 229 | : autodoc.pl adds a note to this effect in the doc entry |
d412580b | 230 | : |
6ef8d77a | 231 | : d Function has documentation (somewhere) in the source: |
d412580b | 232 | : |
64b17d72 KW |
233 | : enables 'no docs for foo" warning in autodoc.pl if the documentation |
234 | : isn't found. | |
d412580b DM |
235 | : |
236 | : E Visible to extensions included in the Perl core: | |
237 | : | |
238 | : in embed.h, change "#ifdef PERL_CORE" | |
239 | : into "#if defined(PERL_CORE) || defined(PERL_EXT)" | |
240 | : | |
8fb6968f KW |
241 | : To be usable from dynamically loaded extensions, either: |
242 | : 1) it must be static to its containing file ("i" or "s" flag); or | |
d212d222 | 243 | : 2) be combined with the "X" flag. |
23fb3b56 | 244 | : |
5af72e99 | 245 | : e Not exported |
30628a6e | 246 | : |
dcd299b4 | 247 | : suppress entry in the list of symbols available on all platforms |
5af72e99 | 248 | : |
d8bd2bed | 249 | : f Function takes a format string. If the function name =~ qr/strftime/ |
dcd299b4 | 250 | : then it is assumed to take a strftime-style format string as the 1st |
8069a3d0 KW |
251 | : arg; otherwise it's assumed to take a printf style format string, not |
252 | : necessarily the 1st arg. All the arguments following it (including | |
253 | : possibly '...') are assumed to be for the format. | |
d412580b | 254 | : |
8069a3d0 | 255 | : embed.h: any entry in here is suppressed because of varargs |
d412580b DM |
256 | : proto.h: add __attribute__format__ (or ...null_ok__) |
257 | : | |
29f5f37e KW |
258 | : F Function has a '...' parameter, but don't assume it is a format. This |
259 | : is to make sure that new functions with formats can't be added without | |
260 | : considering if they are format functions or not. A reason to use this | |
261 | : flag even on a format function is if the format would generate | |
262 | : error: format string argument is not a string type | |
263 | : | |
2015d234 KW |
264 | : G Suppress empty PERL_ARGS_ASSERT_foo macro. Normally such a macro is |
265 | : generated for all entries for functions 'foo' in this file. If there is | |
266 | : a pointer argument to 'foo', it needs to be declared in this file as | |
267 | : either NN or NULLOK, and the function definition must call its | |
268 | : corresponding PERL_ARGS_ASSERT_foo macro (a porting test ensures this) | |
269 | : which asserts at runtime (under DEBUGGING builds) that NN arguments are | |
270 | : not NULL. If there aren't NN arguments, use of this macro is optional. | |
271 | : Rarely, a function will define its own PERL_ARGS_ASSERT_foo macro, and | |
272 | : in those cases, adding this flag to its entry in this file will suppress | |
273 | : the normal one. It is not possible to suppress the generated macro if | |
274 | : it isn't optional, that is, if there is at least one NN argument. | |
275 | : | |
276 | : proto.h: PERL_ARGS_ASSERT macro is not defined unless the function | |
277 | : has NN arguments | |
278 | : | |
dcd299b4 KW |
279 | : h Hide any documentation. This is used when the documentation is atypical |
280 | : of the rest of perlapi and perlintern. In other words the item is | |
281 | : documented, but just not the standard way. One reason would be if there | |
282 | : are a bunch of macros which follow a common paradigm in their naming, so | |
283 | : rather than having an entry for each slight variation, there is an | |
284 | : overarchinge one. It is also used when the documentation is in another | |
285 | : pod, such as perlguts or warnings.h. This flag is useful for downstream | |
286 | : programs, such as Devel::PPPort. | |
287 | : | |
f1e99d0d TK |
288 | : I This flag works exactly the same as 'i' but it also adds |
289 | : __attribute__((always_inline)) or __forceinline if either of them is | |
290 | : supported by the compiler. | |
291 | : | |
292 | : proto.h: function is declared as PERL_STATIC_FORCE_INLINE and | |
293 | : __attribute__always_inline__ is added | |
294 | : | |
dcd299b4 KW |
295 | : i inline static. This is used for functions that the compiler is being |
296 | : requested to inline. If the function is in a header file its | |
297 | : definition will be visible (unless guarded by #if..#endif) to all | |
298 | : XS code. (A typical guard will be that it is being included in a | |
299 | : particular C file(s) or in the perl core.) Therefore, all | |
300 | : non-guarded function should also have the 'p' flag specified to avoid | |
301 | : polluting the XS code name space. Otherwise an error is generated if | |
302 | : the 'S' flag is not also specified. | |
303 | : | |
304 | : proto.h: function is declared as PERL_STATIC_INLINE | |
305 | : | |
306 | : m Implemented as a macro; there is no function associated with this name, | |
2f4e6339 KW |
307 | : and hence no long Perl_ or S_ name. However, if the macro name itself |
308 | : begins with 'Perl_', autodoc.pl will show a thread context parameter | |
309 | : unless the 'T' flag is specified. | |
dcd299b4 KW |
310 | : |
311 | : suppress proto.h entry (actually, not suppressed, but commented out) | |
312 | : suppress entry in the list of exported symbols available on all platforms | |
313 | : suppress embed.h entry, as the implementation should furnish the macro | |
314 | : | |
315 | : M The implementation is furnishing its own macro instead of relying on the | |
316 | : default short name macro that simply expands to call the real name | |
317 | : function. This is used if the parameters need to be cast from what the | |
318 | : caller has, or if there is a macro that bypasses this function (whose | |
319 | : long name is being retained for backward compatibility for those who | |
320 | : call it with that name). An example is when a new function is created | |
321 | : with an extra parameter and a wrapper macro is added that has the old | |
322 | : API, but calls the new one with the exta parameter set to a default. | |
323 | : | |
324 | : This flag requires the 'p' flag to be specified, as there would be no | |
325 | : need to do this if the function weren't publicly accessible before. | |
326 | : | |
327 | : The entry is processed based on the other flags, but the: | |
328 | : embed.h entry is suppressed | |
d412580b | 329 | : |
0a60f600 KW |
330 | : N The name in the entry isn't strictly a name |
331 | : | |
332 | : Normally, the name of the function or macro must contain all \w | |
333 | : characters, and a warning is raised otherwise. This flag suppresses | |
8fb6968f | 334 | : that warning, so that weird things can be documented |
d412580b | 335 | : |
1fcde0e9 KW |
336 | : n Has no arguments (used only in =for apidoc entries) |
337 | : | |
338 | : The macro (it can't be a function) is used without any parameters nor | |
339 | : empty parentheses. | |
d412580b | 340 | : |
7b53c8ee NC |
341 | : O Has a perl_ compatibility macro. |
342 | : | |
8fb6968f | 343 | : The really OLD name for API funcs. |
30628a6e | 344 | : |
8fb6968f KW |
345 | : autodoc.pl adds a note that the perl_ form of this function is |
346 | : deprecated. | |
347 | : | |
37ccf918 | 348 | : o Has no Perl_foo or S_foo compatibility macro: |
d412580b | 349 | : |
dcd299b4 KW |
350 | : This is used for whatever reason to force the function to be called |
351 | : with the long name. Perhaps there is a varargs issue. Use the 'M' | |
352 | : flag instead for wrapper macros, and legacy-only functions should | |
353 | : also use 'b'. | |
59f80a35 | 354 | : |
d412580b DM |
355 | : embed.h: suppress "#define foo Perl_foo" |
356 | : | |
8fb6968f | 357 | : autodoc.pl adds a note that this function must be explicitly called as |
dcd299b4 | 358 | : Perl_$name with an aTHX_ parameter. |
8fb6968f | 359 | : |
d8bd2bed KW |
360 | : P Pure function: |
361 | : | |
eafb5713 KW |
362 | : A pure function has no effects except the return value, and the return |
363 | : value depends only on params and/or globals. This is a hint to the | |
364 | : compiler that it can optimize calls to this function out of common | |
365 | : subexpressions. Consequently if this flag is wrongly specified, it can | |
366 | : lead to subtle bugs that vary by platform, compiler, compiler version, | |
367 | : and optimization level. Also, a future commit could easily change a | |
368 | : currently-pure function without even noticing this flag. So it should | |
369 | : be used sparingly, only for functions that are unlikely to ever become | |
370 | : not pure by future commits. It should not be used for static | |
371 | : functions, as the compiler already has the information needed to make | |
372 | : the 'pure' determination and doesn't need any hint; so it doesn't add | |
373 | : value in those cases, and could be dangerous if it causes the compiler | |
374 | : to skip doing its own checks. It should not be used on functions that | |
375 | : touch SVs, as those can trigger unexpected magic. Also implies "R": | |
d412580b DM |
376 | : |
377 | : proto.h: add __attribute__pure__ | |
378 | : | |
379 | : p Function in source code has a Perl_ prefix: | |
380 | : | |
381 | : proto.h: function is declared as Perl_foo rather than foo | |
382 | : embed.h: "#define foo Perl_foo" entries added | |
383 | : | |
b289a0bd | 384 | : R Return value must not be ignored (also implied by 'a' and 'P' flags): |
d412580b | 385 | : |
e1ebd5bb KW |
386 | : gcc has a bug (which they claim is a feature) in which casting the |
387 | : result of one of these to (void) doesn't silence the warning that the | |
388 | : result is ignored. | |
389 | : | |
d412580b DM |
390 | : proto.h: add __attribute__warn_unused_result__ |
391 | : | |
392 | : r Function never returns: | |
393 | : | |
394 | : proto.h: add __attribute__noreturn__ | |
395 | : | |
9f589e47 | 396 | : S Static function: function in source code has a S_ prefix: |
d412580b DM |
397 | : |
398 | : proto.h: function is declared as S_foo rather than foo, | |
399 | : STATIC is added to declaration; | |
400 | : embed.h: "#define foo S_foo" entries added | |
401 | : | |
8b5ff177 KW |
402 | : s autodoc.pl adds a terminating semi-colon to the usage example in the |
403 | : documentation. | |
404 | : | |
45b29440 KW |
405 | : T Has no implicit interpreter/thread context argument: |
406 | : | |
407 | : suppress the pTHX part of "foo(pTHX...)" in proto.h; | |
408 | : In the PERL_IMPLICIT_SYS branch of embed.h, generates | |
409 | : "#define foo Perl_foo", rather than | |
410 | : "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c) | |
411 | : | |
caf8c6bc KW |
412 | : u The macro's (it has to be a macro) return value or parameters are |
413 | : unorthodox, and aren't in the list above of recognized weird ones. For | |
3dbfa774 KW |
414 | : example, they aren't C parameters, or the macro expands to something |
415 | : that isn't a symbol. | |
416 | : | |
caf8c6bc KW |
417 | : For example, the expansion of STR_WITH_LEN is a comma separated pair of |
418 | : values, so would have this flag; or some macros take preprocessor | |
419 | : tokens, so would have this flag. This flag is an indication to | |
420 | : downstream tools, such as Devel::PPPort, that this requires special | |
421 | : handling. | |
3dbfa774 | 422 | : |
8fb6968f | 423 | : U autodoc.pl will not output a usage example |
d412580b | 424 | : |
21553840 YO |
425 | : W Add a _pDEPTH argument to function prototypes, and an _aDEPTH |
426 | : argument to the function calls. This means that under DEBUGGING | |
427 | : a depth argument is added to the functions, which is used for | |
428 | : example by the regex engine for debugging and trace output. | |
429 | : A non DEBUGGING build will not pass the unused argument. | |
430 | : Currently restricted to functions with at least one argument. | |
431 | : | |
d412580b DM |
432 | : X Explicitly exported: |
433 | : | |
dcd299b4 KW |
434 | : add entry to the list of symbols available on all platforms, unless e |
435 | : or m | |
d412580b | 436 | : |
569ba91f FC |
437 | : This is often used for private functions that are used by public |
438 | : macros. In those cases the macros must use the long form of the | |
439 | : name (Perl_blah(aTHX_ ...)). | |
440 | : | |
e4aeb12f | 441 | : x Experimental, may change: |
d412580b | 442 | : |
e4aeb12f | 443 | : any doc entry is marked that it may change. Also used to suppress |
dcd299b4 | 444 | : making a perlapi doc entry if it would just be a placeholder. |
d412580b | 445 | : |
8fb6968f KW |
446 | : In this file, pointer parameters that must not be passed NULLs should be |
447 | : prefixed with NN. | |
94bdecf9 | 448 | : |
8fb6968f KW |
449 | : And, pointer parameters that may be NULL should be prefixed with NULLOK. |
450 | : This has no effect on output yet. It's a notation for the maintainers to | |
451 | : know "I have defined whether NULL is OK or not" rather than having neither | |
452 | : NULL or NULLOK, which is ambiguous. | |
1b6737cc | 453 | : |
8fb6968f | 454 | : Individual flags may be separated by non-tab whitespace. |
94bdecf9 | 455 | |
24f3e849 KW |
456 | CipRTX |char * |mortal_getenv |NN const char * str |
457 | ||
94bdecf9 | 458 | #if defined(PERL_IMPLICIT_SYS) |
45b29440 | 459 | ATo |PerlInterpreter*|perl_alloc_using \ |
4048f010 NC |
460 | |NN struct IPerlMem *ipM \ |
461 | |NN struct IPerlMem *ipMS \ | |
462 | |NN struct IPerlMem *ipMP \ | |
463 | |NN struct IPerlEnv *ipE \ | |
464 | |NN struct IPerlStdIO *ipStd \ | |
16bf6295 | 465 | |NN struct IPerlLIO *ipLIO \ |
4048f010 NC |
466 | |NN struct IPerlDir *ipD \ |
467 | |NN struct IPerlSock *ipS \ | |
468 | |NN struct IPerlProc *ipP | |
94bdecf9 | 469 | #endif |
45b29440 KW |
470 | ATod |PerlInterpreter* |perl_alloc |
471 | ATod |void |perl_construct |NN PerlInterpreter *my_perl | |
472 | ATod |int |perl_destruct |NN PerlInterpreter *my_perl | |
473 | ATod |void |perl_free |NN PerlInterpreter *my_perl | |
474 | ATod |int |perl_run |NN PerlInterpreter *my_perl | |
475 | ATod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \ | |
7827dc65 | 476 | |int argc|NULLOK char** argv|NULLOK char** env |
45b29440 | 477 | ATpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env |
94bdecf9 | 478 | #if defined(USE_ITHREADS) |
45b29440 | 479 | ATod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags |
94bdecf9 | 480 | # if defined(PERL_IMPLICIT_SYS) |
45b29440 | 481 | ATo |PerlInterpreter*|perl_clone_using \ |
589df73b SH |
482 | |NN PerlInterpreter *proto_perl \ |
483 | |UV flags \ | |
484 | |NN struct IPerlMem* ipM \ | |
485 | |NN struct IPerlMem* ipMS \ | |
486 | |NN struct IPerlMem* ipMP \ | |
487 | |NN struct IPerlEnv* ipE \ | |
488 | |NN struct IPerlStdIO* ipStd \ | |
489 | |NN struct IPerlLIO* ipLIO \ | |
490 | |NN struct IPerlDir* ipD \ | |
491 | |NN struct IPerlSock* ipS \ | |
492 | |NN struct IPerlProc* ipP | |
94bdecf9 JH |
493 | # endif |
494 | #endif | |
495 | ||
7dfc378e KW |
496 | AaTophd |Malloc_t|malloc |MEM_SIZE nbytes |
497 | AaTophd |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size | |
498 | ARTophd |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes | |
45b29440 | 499 | ATop |Free_t |mfree |Malloc_t where |
94bdecf9 | 500 | #if defined(MYMALLOC) |
45b29440 KW |
501 | TpR |MEM_SIZE|malloced_size |NN void *p |
502 | TpR |MEM_SIZE|malloc_good_size |size_t nbytes | |
94bdecf9 | 503 | #endif |
03f05cb4 | 504 | #if defined(PERL_IN_MALLOC_C) |
9f589e47 | 505 | ST |int |adjust_size_and_find_bucket |NN size_t *nbytes_p |
03f05cb4 | 506 | #endif |
94bdecf9 | 507 | |
45b29440 KW |
508 | ATpR |void* |get_context |
509 | ATp |void |set_context |NN void *t | |
94bdecf9 | 510 | |
6f1401dc DM |
511 | XEop |bool |try_amagic_bin |int method|int flags |
512 | XEop |bool |try_amagic_un |int method|int flags | |
46c461b5 | 513 | Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir |
25a9ffce | 514 | Ap |SV * |amagic_deref_call|NN SV *ref|int method |
8d569291 | 515 | p |bool |amagic_is_enabled|int method |
c3a9a790 | 516 | Ap |int |Gv_AMupdate |NN HV* stash|bool destructing |
890ce7af | 517 | ApR |CV* |gv_handler |NULLOK HV* stash|I32 id |
2fcb4757 Z |
518 | Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last |
519 | Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last | |
5983a79d | 520 | Apd |OP* |op_linklist |NN OP *o |
2fcb4757 | 521 | Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last |
67022846 | 522 | : FIXME - this is only called by pp_chown. They should be merged. |
890ce7af | 523 | p |I32 |apply |I32 type|NN SV** mark|NN SV** sp |
e4aeb12f | 524 | Apx |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len |
4048f010 | 525 | Apd |void |av_clear |NN AV *av |
c70927a6 FC |
526 | Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags |
527 | ApdR |bool |av_exists |NN AV *av|SSize_t key | |
fc16c392 FC |
528 | Apd |void |av_extend |NN AV *av|SSize_t key |
529 | p |void |av_extend_guts |NULLOK AV *av|SSize_t key \ | |
530 | |NN SSize_t *maxp \ | |
7261499d | 531 | |NN SV ***allocp|NN SV ***arrayp |
c70927a6 FC |
532 | ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval |
533 | Apd |void |av_fill |NN AV *av|SSize_t fill | |
534 | ApdR |SSize_t|av_len |NN AV *av | |
535 | ApdR |AV* |av_make |SSize_t size|NN SV **strp | |
1f1dcfb5 | 536 | p |SV* |av_nonelem |NN AV *av|SSize_t ix |
4048f010 | 537 | Apd |SV* |av_pop |NN AV *av |
e4aeb12f | 538 | Apdoex |void |av_create_and_push|NN AV **const avp|NN SV *const val |
06942096 | 539 | Apd |void |av_push |NN AV *av|NN SV *val |
d67fec57 | 540 | : Used in scope.c, and by Data::Alias |
4048f010 NC |
541 | EXp |void |av_reify |NN AV *av |
542 | ApdR |SV* |av_shift |NN AV *av | |
c70927a6 | 543 | Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val |
c9182d9c | 544 | AidRp |SSize_t|av_top_index |NN AV *av |
ef9e3b4d | 545 | AmdR |SSize_t|av_tindex |NN AV *av |
4048f010 | 546 | Apd |void |av_undef |NN AV *av |
e4aeb12f | 547 | Apdoex |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val |
c70927a6 | 548 | Apd |void |av_unshift |NN AV *av|SSize_t num |
4048f010 NC |
549 | Apo |SV** |av_arylen_p |NN AV *av |
550 | Apo |IV* |av_iter_p |NN AV *av | |
43869a0c | 551 | #if defined(PERL_IN_AV_C) |
9f589e47 | 552 | S |MAGIC* |get_aux_mg |NN AV *av |
878d132a | 553 | #endif |
d67fec57 | 554 | : Used in perly.y |
4048f010 | 555 | pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right |
d67fec57 | 556 | : Used in perly.y |
25f5d540 | 557 | ApdR |OP* |block_end |I32 floor|NULLOK OP* seq |
1c23e2bd | 558 | ApR |U8 |block_gimme |
d67fec57 | 559 | : Used in perly.y |
25f5d540 | 560 | ApdR |int |block_start |int full |
e4aeb12f | 561 | Aodxp |void |blockhook_register |NN BHK *hk |
d67fec57 | 562 | : Used in perl.c |
94bdecf9 | 563 | p |void |boot_core_UNIVERSAL |
d67fec57 | 564 | : Used in perl.c |
94bdecf9 | 565 | p |void |boot_core_PerlIO |
4048f010 | 566 | Ap |void |call_list |I32 oldscope|NN AV *paramList |
8dff4fc5 BM |
567 | Apd |const PERL_CONTEXT * |caller_cx|I32 level \ |
568 | |NULLOK const PERL_CONTEXT **dbcxp | |
486ec47a | 569 | : Used in several source files |
ae1951c1 | 570 | pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp |
45b29440 KW |
571 | ApRT |U32 |cast_ulong |NV f |
572 | ApRT |I32 |cast_i32 |NV f | |
573 | ApRT |IV |cast_iv |NV f | |
574 | ApRT |UV |cast_uv |NV f | |
94bdecf9 | 575 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
53c1dcc0 | 576 | ApR |I32 |my_chsize |int fd|Off_t length |
94bdecf9 | 577 | #endif |
25502127 FC |
578 | p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \ |
579 | |NULLOK const OP *curop|bool opnext | |
d67fec57 | 580 | : Used in perly.y |
03d05f6e | 581 | ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o |
d67fec57 | 582 | : Used in op.c and perl.c |
e4aeb12f | 583 | px |void |create_eval_scope|NULLOK OP *retop|U32 flags |
c5df3096 | 584 | Aprd |void |croak_sv |NN SV *baseex |
551405c4 | 585 | : croak()'s first parm can be NULL. Otherwise, mod_perl breaks. |
cdfeb707 | 586 | Afprd |void |croak |NULLOK const char* pat|... |
c5df3096 | 587 | Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args |
45b29440 KW |
588 | ATprd |void |croak_no_modify |
589 | ATprd |void |croak_xs_usage |NN const CV *const cv \ | |
afa74d42 | 590 | |NN const char *const params |
45b29440 KW |
591 | Tpr |void |croak_no_mem |
592 | TprX |void |croak_popstack | |
593 | fTrp |void |croak_caller|NULLOK const char* pat|... | |
5af72e99 | 594 | fTpre |void |noperl_die|NN const char* pat|... |
073dd035 | 595 | #if defined(WIN32) |
5af72e99 | 596 | Tore |void |win32_croak_not_implemented|NN const char * fname |
073dd035 | 597 | #endif |
94bdecf9 | 598 | #if defined(PERL_IMPLICIT_CONTEXT) |
45b29440 KW |
599 | AfTrp |void |croak_nocontext|NULLOK const char* pat|... |
600 | AfTrp |OP* |die_nocontext |NULLOK const char* pat|... | |
601 | AfTp |void |deb_nocontext |NN const char* pat|... | |
602 | AfTp |char* |form_nocontext |NN const char* pat|... | |
29f5f37e | 603 | AFTp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|... |
45b29440 KW |
604 | AfTp |SV* |mess_nocontext |NN const char* pat|... |
605 | AfTp |void |warn_nocontext |NN const char* pat|... | |
606 | AfTp |void |warner_nocontext|U32 err|NN const char* pat|... | |
607 | AfTp |SV* |newSVpvf_nocontext|NN const char *const pat|... | |
608 | AfTp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|... | |
609 | AfTp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|... | |
610 | AfTp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|... | |
611 | AfTp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|... | |
57f51a64 KW |
612 | AbfTpD |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|... |
613 | AbfTpD |int |printf_nocontext|NN const char *format|... | |
94bdecf9 | 614 | #endif |
b8c38f0a | 615 | : Used in pp.c |
c1a02cca | 616 | pd |SV * |core_prototype |NULLOK SV *sv|NN const char *name \ |
b66130dd | 617 | |const int code|NULLOK int * const opnum |
1e4b6aa1 | 618 | : Used in gv.c |
8f939fab | 619 | p |OP * |coresub_op |NN SV *const coreargssv|const int code \ |
1e4b6aa1 | 620 | |const int opnum |
d67fec57 | 621 | : Used in sv.c |
e4aeb12f | 622 | ExXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\ |
dab1c735 BF |
623 | |NULLOK const char* p|const STRLEN len \ |
624 | |const U32 flags | |
67022846 | 625 | : Used in pp.c and pp_sys.c |
62d55b22 | 626 | ApdR |SV* |gv_const_sv |NN GV* gv |
45b29440 KW |
627 | ApdRT |SV* |cv_const_sv |NULLOK const CV *const cv |
628 | pRT |SV* |cv_const_sv_or_av|NULLOK const CV *const cv | |
ecf05a58 | 629 | Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags |
890ce7af | 630 | Apd |void |cv_undef |NN CV* cv |
b7acb0a3 | 631 | p |void |cv_undef_flags |NN CV* cv|U32 flags |
c1a02cca | 632 | pd |void |cv_forget_slab |NULLOK CV *cv |
890ce7af | 633 | Ap |void |cx_dump |NN PERL_CONTEXT* cx |
74804ad1 KW |
634 | AiMp |GV * |CvGV |NN CV *sv |
635 | AiMTp |I32 * |CvDEPTH |NN const CV * const sv | |
0f292d69 | 636 | Aphd |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv |
890ce7af | 637 | Ap |void |filter_del |NN filter_t funcp |
0f292d69 | 638 | ApRhd |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen |
a3b680e6 AL |
639 | ApPR |char** |get_op_descs |
640 | ApPR |char** |get_op_names | |
67022846 | 641 | : FIXME discussion on p5p |
a3b680e6 | 642 | pPR |const char* |get_no_modify |
67022846 | 643 | : FIXME discussion on p5p |
a3b680e6 AL |
644 | pPR |U32* |get_opargs |
645 | ApPR |PPADDR_t*|get_ppaddr | |
d67fec57 | 646 | : Used by CXINC, which appears to be in widespread use |
82151c42 | 647 | ApR |I32 |cxinc |
890ce7af | 648 | Afp |void |deb |NN const char* pat|... |
aec46f14 | 649 | Ap |void |vdeb |NN const char* pat|NULLOK va_list* args |
94bdecf9 | 650 | Ap |void |debprofdump |
dc3c1c70 | 651 | EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv |
e839e6ed | 652 | EXp |SV* |multiconcat_stringify |NN const OP* o |
4373e329 | 653 | Ap |I32 |debop |NN const OP* o |
94bdecf9 JH |
654 | Ap |I32 |debstack |
655 | Ap |I32 |debstackptrs | |
13733cde | 656 | pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg |
45b29440 | 657 | ATp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \ |
4373e329 | 658 | |NN const char* fromend|int delim|NN I32* retlen |
45b29440 | 659 | Tp |char* |delimcpy_no_escape|NN char* to|NN const char* toend \ |
ba0a4150 FC |
660 | |NN const char* from \ |
661 | |NN const char* fromend|int delim \ | |
662 | |NN I32* retlen | |
d67fec57 | 663 | : Used in op.c, perl.c |
e4aeb12f | 664 | px |void |delete_eval_scope |
e950ecba KW |
665 | Aprd |OP* |die_sv |NN SV *baseex |
666 | Afrpd |OP* |die |NULLOK const char* pat|... | |
67022846 | 667 | : Used in util.c |
62705b21 | 668 | pr |void |die_unwind |NN SV* msv |
94bdecf9 | 669 | Ap |void |dounwind |I32 cxix |
67022846 | 670 | : FIXME |
b719801d | 671 | pMb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp |
67022846 | 672 | : Used in pp_sys.c |
738ab09f | 673 | p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report |
57f51a64 | 674 | AbpD |int |do_binmode |NN PerlIO *fp|int iotype|int mode |
67022846 | 675 | : Used in pp.c |
063df69c | 676 | Ap |bool |do_close |NULLOK GV* gv|bool not_implicit |
67022846 | 677 | : Defined in doio.c, used only in pp_sys.c |
4373e329 | 678 | p |bool |do_eof |NN GV* gv |
8c654ff2 NC |
679 | |
680 | #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION | |
5178f485 | 681 | pM |bool|do_exec |NN const char* cmd |
8c654ff2 | 682 | #else |
738ab09f | 683 | p |bool|do_exec |NN const char* cmd |
8c654ff2 NC |
684 | #endif |
685 | ||
9ec7171b | 686 | #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS) |
a3e405b2 | 687 | Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp |
890ce7af AL |
688 | Ap |int |do_spawn |NN char* cmd |
689 | Ap |int |do_spawn_nowait|NN char* cmd | |
54725af6 | 690 | #endif |
94bdecf9 | 691 | #if !defined(WIN32) |
738ab09f | 692 | p |bool|do_exec3 |NN const char *incmd|int fd|int do_report |
94bdecf9 | 693 | #endif |
43869a0c | 694 | #if defined(PERL_IN_DOIO_C) |
9f589e47 KW |
695 | S |void |exec_failed |NN const char *cmd|int fd|int do_report |
696 | S |bool |argvout_final |NN MAGIC *mg|NN IO *io|bool not_implicit | |
a0f2c8ec | 697 | #endif |
94bdecf9 | 698 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
67022846 | 699 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 700 | p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp |
67022846 | 701 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 702 | p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp |
67022846 | 703 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 704 | p |I32 |do_msgrcv |NN SV** mark|NN SV** sp |
67022846 | 705 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 706 | p |I32 |do_msgsnd |NN SV** mark|NN SV** sp |
67022846 | 707 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 708 | p |I32 |do_semop |NN SV** mark|NN SV** sp |
67022846 | 709 | : Defined in doio.c, used only in pp_sys.c |
7827dc65 | 710 | p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp |
94bdecf9 | 711 | #endif |
4048f010 | 712 | Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp |
981b7185 NC |
713 | : Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl |
714 | : p |OP* |do_kv | |
33efebe6 DM |
715 | : used in pp.c, pp_hot.c |
716 | pR |I32 |do_ncmp |NN SV *const left|NN SV *const right | |
b719801d | 717 | ApMb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \ |
890ce7af | 718 | |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp |
57f51a64 | 719 | AbpD |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \ |
890ce7af AL |
720 | |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \ |
721 | |NN SV *svs|I32 num | |
45b29440 KW |
722 | pT |void |setfd_cloexec|int fd |
723 | pT |void |setfd_inhexec|int fd | |
884fc2d3 | 724 | p |void |setfd_cloexec_for_nonsysfd|int fd |
74df577f | 725 | p |void |setfd_inhexec_for_sysfd|int fd |
884fc2d3 | 726 | p |void |setfd_cloexec_or_inhexec_by_sysfdness|int fd |
f9821aff | 727 | pR |int |PerlLIO_dup_cloexec|int oldfd |
884fc2d3 | 728 | p |int |PerlLIO_dup2_cloexec|int oldfd|int newfd |
f9821aff Z |
729 | pR |int |PerlLIO_open_cloexec|NN const char *file|int flag |
730 | pR |int |PerlLIO_open3_cloexec|NN const char *file|int flag|int perm | |
45b29440 | 731 | pToR |int |my_mkstemp_cloexec|NN char *templte |
ae73d7ec | 732 | pToR |int |my_mkostemp_cloexec|NN char *templte|int flags |
f9821aff Z |
733 | #ifdef HAS_PIPE |
734 | pR |int |PerlProc_pipe_cloexec|NN int *pipefd | |
735 | #endif | |
736 | #ifdef HAS_SOCKET | |
737 | pR |int |PerlSock_socket_cloexec|int domain|int type|int protocol | |
738 | pR |int |PerlSock_accept_cloexec|int listenfd \ | |
739 | |NULLOK struct sockaddr *addr \ | |
740 | |NULLOK Sock_size_t *addrlen | |
741 | #endif | |
742 | #if defined (HAS_SOCKETPAIR) || \ | |
743 | (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && \ | |
744 | defined(AF_INET) && defined(PF_INET)) | |
745 | pR |int |PerlSock_socketpair_cloexec|int domain|int type|int protocol \ | |
746 | |NN int *pairfd | |
747 | #endif | |
a2b41d5c | 748 | #if defined(PERL_IN_DOIO_C) |
9f589e47 | 749 | S |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \ |
a2b41d5c NC |
750 | |NN PerlIO **saveofp|NN int *savefd \ |
751 | |NN char *savetype | |
9f589e47 | 752 | S |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \ |
a6fc70e5 NC |
753 | |NN char *mode|NN const char *oname \ |
754 | |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \ | |
755 | |int savefd|char savetype|int writing \ | |
7e30e49f DIM |
756 | |bool was_fdopen|NULLOK const char *type \ |
757 | |NULLOK Stat_t *statbufp | |
a2b41d5c | 758 | #endif |
4048f010 NC |
759 | Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \ |
760 | |int as_raw|int rawmode|int rawperm \ | |
761 | |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \ | |
762 | |I32 num | |
e4aeb12f | 763 | xp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \ |
7e30e49f | 764 | |int rawmode|int rawperm|NULLOK Stat_t *statbufp |
e4aeb12f | 765 | xp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \ |
4b451737 NC |
766 | |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \ |
767 | |U32 num | |
67022846 | 768 | : Used in pp_hot.c and pp_sys.c |
890ce7af | 769 | p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp |
67022846 | 770 | : Used in pp_sys.c |
890ce7af | 771 | pR |OP* |do_readline |
67022846 | 772 | : Defined in doio.c, used only in pp_sys.c |
890ce7af | 773 | p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence |
03a22d83 | 774 | Ap |void |do_sprintf |NN SV* sv|SSize_t len|NN SV** sarg |
67022846 | 775 | : Defined in doio.c, used only in pp_sys.c |
890ce7af | 776 | p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence |
67022846 | 777 | : Defined in doio.c, used only in pp_sys.c |
890ce7af | 778 | pR |Off_t |do_tell |NN GV* gv |
67022846 | 779 | : Defined in doop.c, used only in pp.c |
f0fd0980 | 780 | p |Size_t |do_trans |NN SV* sv |
67022846 | 781 | : Used in my.c and pp.c |
d69c4304 | 782 | p |UV |do_vecget |NN SV* sv|STRLEN offset|int size |
67022846 | 783 | : Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */) |
4373e329 | 784 | p |void |do_vecset |NN SV* sv |
67022846 | 785 | : Defined in doop.c, used only in pp.c |
890ce7af | 786 | p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right |
67022846 | 787 | : Used in perly.y |
850e8516 | 788 | p |OP* |dofile |NN OP* term|I32 force_builtin |
1c23e2bd | 789 | ApR |U8 |dowantarray |
c1a02cca | 790 | Adp |void |dump_all |
f0e3f042 | 791 | p |void |dump_all_perl |bool justperl |
94bdecf9 | 792 | Ap |void |dump_eval |
9a957fbc | 793 | Ap |void |dump_form |NN const GV* gv |
3dc78631 | 794 | Ap |void |gv_dump |NULLOK GV* gv |
1e85b658 | 795 | Apd |OPclass|op_class |NULLOK const OP *o |
c1a02cca | 796 | Apd |void |op_dump |NN const OP *o |
9a957fbc | 797 | Ap |void |pmop_dump |NULLOK PMOP* pm |
c1a02cca | 798 | Apd |void |dump_packsubs |NN const HV* stash |
f0e3f042 | 799 | p |void |dump_packsubs_perl |NN const HV* stash|bool justperl |
f54cb97a | 800 | Ap |void |dump_sub |NN const GV* gv |
f0e3f042 | 801 | p |void |dump_sub_perl |NN const GV* gv|bool justperl |
890ce7af AL |
802 | Apd |void |fbm_compile |NN SV* sv|U32 flags |
803 | ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \ | |
9f6cc744 | 804 | |NN SV* littlestr|U32 flags |
5e6ebb12 | 805 | pEXTR |const char *|cntrl_to_mnemonic|const U8 c |
9a5e6f3c | 806 | p |CV * |find_lexical_cv|PADOFFSET off |
67022846 | 807 | : Defined in util.c, used only in perl.c |
7827dc65 AL |
808 | p |char* |find_script |NN const char *scriptname|bool dosearch \ |
809 | |NULLOK const char *const *const search_ext|I32 flags | |
43869a0c | 810 | #if defined(PERL_IN_OP_C) |
9f589e47 | 811 | S |OP* |force_list |NULLOK OP* arg|bool nullit |
985b9e54 GG |
812 | i |OP* |op_integerize |NN OP *o |
813 | i |OP* |op_std_init |NN OP *o | |
b46e009d | 814 | #if defined(USE_ITHREADS) |
815 | i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp | |
816 | #endif | |
817 | i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \ | |
818 | |NULLOK SV* const_meth | |
d67fec57 | 819 | : FIXME |
9f589e47 | 820 | S |OP* |fold_constants |NN OP * const o |
c1a02cca | 821 | Sd |OP* |traverse_op_tree|NN OP* top|NN OP* o |
b7783a12 | 822 | #endif |
aec46f14 AL |
823 | Afpd |char* |form |NN const char* pat|... |
824 | Ap |char* |vform |NN const char* pat|NULLOK va_list* args | |
94bdecf9 | 825 | Ap |void |free_tmps |
43869a0c | 826 | #if defined(PERL_IN_OP_C) |
0f194c83 | 827 | S |void |gen_constant_list|NULLOK OP* o |
0da8eb3a | 828 | #endif |
94bdecf9 | 829 | #if !defined(HAS_GETENV_LEN) |
67022846 | 830 | : Used in hv.c |
9f6cc744 | 831 | p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len |
94bdecf9 | 832 | #endif |
67022846 | 833 | : Used in pp_ctl.c and pp_hot.c |
5af72e99 | 834 | poe |void |get_db_sub |NULLOK SV **svp|NN CV *cv |
46c461b5 AL |
835 | Ap |void |gp_free |NULLOK GV* gv |
836 | Ap |GP* |gp_ref |NULLOK GP* gp | |
13c59d41 | 837 | Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type |
b719801d KW |
838 | ApMb |GV* |gv_AVadd |NULLOK GV *gv |
839 | ApMb |GV* |gv_HVadd |NULLOK GV *gv | |
840 | ApMb |GV* |gv_IOadd |NULLOK GV* gv | |
aa1e761e FC |
841 | AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \ |
842 | |STRLEN len|I32 method | |
0eeb01b9 | 843 | ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags |
0fe84f7c | 844 | ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \ |
0eeb01b9 | 845 | |U32 flags |
0fe84f7c | 846 | ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \ |
0eeb01b9 | 847 | |STRLEN len|U32 flags |
51da40ed | 848 | Ap |void |gv_check |NN HV* stash |
57f51a64 | 849 | AbpD |void |gv_efullname |NN SV* sv|NN const GV* gv |
b719801d | 850 | ApMb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix |
46c461b5 | 851 | Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain |
53c1dcc0 | 852 | Ap |GV* |gv_fetchfile |NN const char* name |
d9095cec NC |
853 | Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\ |
854 | |const U32 flags | |
6c53d59b FC |
855 | Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \ |
856 | |STRLEN len|I32 level | |
e6919483 BF |
857 | Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags |
858 | Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \ | |
859 | |I32 level|U32 flags | |
860 | Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \ | |
861 | |STRLEN len|I32 level|U32 flags | |
460e5730 FC |
862 | Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \ |
863 | |NN const char* name|STRLEN len \ | |
864 | |I32 level | |
d21989ed BF |
865 | Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags |
866 | Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \ | |
867 | |I32 level|U32 flags | |
868 | Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \ | |
869 | |STRLEN len|I32 level|U32 flags | |
b719801d | 870 | ApdMb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name |
eff494dd NC |
871 | Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \ |
872 | |I32 autoload | |
e4aeb12f KW |
873 | Apx |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags |
874 | Apx |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \ | |
dd14162d | 875 | |U32 flags |
e4aeb12f | 876 | Apx |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \ |
c60dbbc3 | 877 | |const STRLEN len|U32 flags |
fe9845cc | 878 | Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type |
57f51a64 | 879 | AbpD |void |gv_fullname |NN SV* sv|NN const GV* gv |
b719801d | 880 | ApMb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix |
9a957fbc | 881 | Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain |
d67fec57 | 882 | : Used in scope.c |
e4aeb12f | 883 | pxoe |GP * |newGP |NN GV *const gv |
803f2748 | 884 | pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv |
ae77754a | 885 | poX |GV * |cvgv_from_hek |NN CV* cv |
c68d9564 | 886 | pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash |
e1104062 FC |
887 | Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \ |
888 | |NN const char* name|STRLEN len|int multi | |
c1a02cca KW |
889 | Apd |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags |
890 | Apd |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \ | |
04ec7e59 | 891 | |U32 flags |
c1a02cca | 892 | Apd |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \ |
04ec7e59 | 893 | |STRLEN len|U32 flags |
9f616d01 | 894 | Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags |
5af72e99 | 895 | pe |GV * |gv_override |NN const char * const name \ |
9e3fb20c | 896 | |const STRLEN len |
e4aeb12f | 897 | Xxpd |void |gv_try_downgrade|NN GV* gv |
d8a875d9 | 898 | p |void |gv_setref |NN SV *const dstr|NN SV *const sstr |
da51bb9b NC |
899 | Apd |HV* |gv_stashpv |NN const char* name|I32 flags |
900 | Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags | |
c4b6b96d SA |
901 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C) |
902 | EpG |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags | |
903 | #endif | |
0eadbdad | 904 | #if defined(PERL_IN_GV_C) |
c6afe666 | 905 | i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags |
c6afe666 | 906 | i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \ |
907 | |STRLEN len|I32 level|U32 flags | |
0eadbdad | 908 | #endif |
8798655d | 909 | Apd |HV* |gv_stashsv |NN SV* sv|I32 flags |
4048f010 | 910 | Apd |void |hv_clear |NULLOK HV *hv |
67022846 | 911 | : used in SAVEHINTS() and op.c |
defdfed5 | 912 | ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv |
4048f010 | 913 | Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry |
b719801d | 914 | AbMdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \ |
a038e571 | 915 | |I32 flags |
b719801d KW |
916 | AbMdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash |
917 | AbMdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen | |
918 | AbMdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash | |
919 | AbMdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \ | |
a038e571 | 920 | |I32 lval |
b719801d | 921 | AbMdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash |
4048f010 | 922 | Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \ |
d3ba3f5c | 923 | |NULLOK const char* key|STRLEN klen|int flags \ |
4048f010 | 924 | |int action|NULLOK SV *val|U32 hash |
a038e571 NC |
925 | Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \ |
926 | |I32 klen_i32|const int action|NULLOK SV *val \ | |
927 | |const U32 hash | |
632239c3 | 928 | Apod |STRLEN |hv_fill |NN HV *const hv |
c77ce6f1 | 929 | Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry |
4048f010 | 930 | Apd |I32 |hv_iterinit |NN HV *hv |
a3b680e6 AL |
931 | ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen |
932 | ApdR |SV* |hv_iterkeysv |NN HE* entry | |
b719801d | 933 | ApdRbM |HE* |hv_iternext |NN HV *hv |
4048f010 | 934 | ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen |
e4aeb12f | 935 | ApxdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags |
4048f010 NC |
936 | ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry |
937 | Ap |void |hv_ksplit |NN HV *hv|IV newmax | |
b719801d | 938 | ApdbM |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how |
43869a0c | 939 | #if defined(PERL_IN_HV_C) |
9f589e47 | 940 | S |SV * |refcounted_he_value |NN const struct refcounted_he *he |
012da8e5 | 941 | #endif |
20439bc7 Z |
942 | Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags |
943 | Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \ | |
944 | |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags | |
945 | Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \ | |
946 | |NN const char *key|U32 hash|U32 flags | |
947 | Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \ | |
948 | |NN SV *key|U32 hash|U32 flags | |
949 | Xpd |struct refcounted_he *|refcounted_he_new_pvn \ | |
950 | |NULLOK struct refcounted_he *parent \ | |
951 | |NN const char *keypv|STRLEN keylen \ | |
952 | |U32 hash|NULLOK SV *value|U32 flags | |
953 | Xpd |struct refcounted_he *|refcounted_he_new_pv \ | |
954 | |NULLOK struct refcounted_he *parent \ | |
955 | |NN const char *key \ | |
956 | |U32 hash|NULLOK SV *value|U32 flags | |
957 | Xpd |struct refcounted_he *|refcounted_he_new_sv \ | |
958 | |NULLOK struct refcounted_he *parent \ | |
959 | |NN SV *key \ | |
960 | |U32 hash|NULLOK SV *value|U32 flags | |
961 | Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he | |
962 | Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he | |
b719801d | 963 | ApbMd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \ |
4048f010 | 964 | |I32 klen|NULLOK SV *val|U32 hash |
b719801d | 965 | ApbMd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\ |
4048f010 | 966 | |U32 hash |
b719801d | 967 | ApbMx |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \ |
4048f010 | 968 | |I32 klen|NULLOK SV *val|U32 hash|int flags |
8581adba FC |
969 | Amd |void |hv_undef |NULLOK HV *hv |
970 | poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags | |
c1a02cca | 971 | AdmP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len |
c8abed4a | 972 | AdiTp |I32 |foldEQ |NN const char* a|NN const char* b|I32 len |
c1a02cca KW |
973 | AdmP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len |
974 | AiTpd |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len | |
e6226b18 KW |
975 | Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \ |
976 | |bool u1|NN const char *s2|NULLOK char **pe2 \ | |
977 | |UV l2|bool u2 | |
eda9cac1 | 978 | Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \ |
4048f010 NC |
979 | |bool u1|NN const char *s2|NULLOK char **pe2 \ |
980 | |UV l2|bool u2 | |
09232555 | 981 | Cp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \ |
eda9cac1 KW |
982 | |bool u1|NN const char *s2|NULLOK char **pe2 \ |
983 | |UV l2|bool u2|U32 flags | |
45b29440 | 984 | AiTp |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len |
43869a0c | 985 | #if defined(PERL_IN_DOIO_C) |
9f589e47 | 986 | SR |bool |ingroup |Gid_t testgid|bool effective |
0da8eb3a | 987 | #endif |
67022846 | 988 | : Used in toke.c |
4373e329 | 989 | p |void |init_argv_symbols|int argc|NN char **argv |
8af6f985 NC |
990 | : Used in pp_ctl.c |
991 | po |void |init_dbargs | |
67022846 | 992 | : Used in mg.c |
94bdecf9 JH |
993 | p |void |init_debugger |
994 | Ap |void |init_stacks | |
bfce84ec | 995 | Ap |void |init_tm |NN struct tm *ptm |
67022846 | 996 | : Used in perly.y |
fa39cb42 | 997 | AbMTpPRd|char* |instr |NN const char* big|NN const char* little |
67022846 | 998 | : Used in sv.c |
96d7c888 FC |
999 | p |bool |io_close |NN IO* io|NULLOK GV *gv \ |
1000 | |bool not_implicit|bool warn_on_fail | |
67022846 | 1001 | : Used in perly.y |
2d03de9c | 1002 | pR |OP* |invert |NULLOK OP* cmd |
6b32f57d | 1003 | pR |OP* |cmpchain_start |I32 type|NULLOK OP* left \ |
02b85d3d | 1004 | |NULLOK OP* right |
6b32f57d | 1005 | pR |OP* |cmpchain_extend|I32 type|NN OP* ch|NULLOK OP* right |
02b85d3d | 1006 | pR |OP* |cmpchain_finish|NN OP* ch |
f54cb97a | 1007 | ApR |I32 |is_lvalue_sub |
777d9014 | 1008 | : Used in cop.h |
eebd3bc0 | 1009 | XopR |I32 |was_lvalue_sub |
1376b35c | 1010 | CpRTP |STRLEN |is_utf8_char_helper|NN const U8 * const s|NN const U8 * e|const U32 flags |
09232555 KW |
1011 | Cp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp |
1012 | Cp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp | |
95e064d9 | 1013 | p |void |init_uniprops |
afc16117 | 1014 | #ifdef PERL_IN_UTF8_C |
9f589e47 | 1015 | STR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp \ |
eaf412bf | 1016 | |const char dummy |
57ff5f59 | 1017 | # ifndef UV_IS_QUAD |
9f589e47 | 1018 | STR |int |is_utf8_cp_above_31_bits|NN const U8 * const s \ |
e050c007 KW |
1019 | |NN const U8 * const e \ |
1020 | |const bool consider_overlongs | |
57ff5f59 | 1021 | # endif |
fab2782b | 1022 | #endif |
348bf2e0 KW |
1023 | #if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C) |
1024 | p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s | |
1025 | #endif | |
09232555 | 1026 | Cp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp |
5178f485 | 1027 | Cm |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp |
09232555 | 1028 | Cp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags |
09232555 KW |
1029 | CpR |bool |_is_uni_perl_idcont|UV c |
1030 | CpR |bool |_is_uni_perl_idstart|UV c | |
45b29440 | 1031 | ATdmoR |bool |is_utf8_invariant_string|NN const U8* const s \ |
e17544a6 | 1032 | |STRLEN len |
c9182d9c | 1033 | ATidRp |bool |is_utf8_invariant_string_loc|NN const U8* const s \ |
e17544a6 | 1034 | |STRLEN len \ |
0cbf5865 | 1035 | |NULLOK const U8 ** ep |
23a7ee81 | 1036 | #ifndef EBCDIC |
73f0a2eb | 1037 | CTiRp |unsigned int|variant_byte_number|PERL_UINTMAX_T word |
23a7ee81 | 1038 | #endif |
03c1e4ab | 1039 | #if defined(PERL_CORE) || defined(PERL_EXT) |
c1a02cca | 1040 | EiTRd |Size_t |variant_under_utf8_count|NN const U8* const s \ |
03c1e4ab KW |
1041 | |NN const U8* const e |
1042 | #endif | |
ef9e3b4d KW |
1043 | AmTdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len |
1044 | AmTdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len | |
c9cd936b | 1045 | #if defined(PERL_CORE) || defined (PERL_EXT) |
86a87e17 | 1046 | EXTidRp |bool |is_utf8_non_invariant_string|NN const U8* const s \ |
c9cd936b KW |
1047 | |STRLEN len |
1048 | #endif | |
45b29440 | 1049 | AbTpdD |STRLEN |is_utf8_char |NN const U8 *s |
b719801d | 1050 | AbMTpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end |
c9182d9c | 1051 | ATidRp |Size_t |isUTF8_CHAR|NN const U8 * const s0 \ |
8ed185f9 | 1052 | |NN const U8 * const e |
c9182d9c | 1053 | ATidRp |Size_t |isSTRICT_UTF8_CHAR |NN const U8 * const s0 \ |
67049a5f | 1054 | |NN const U8 * const e |
c9182d9c | 1055 | ATidRp |Size_t |isC9_STRICT_UTF8_CHAR |NN const U8 * const s0 \ |
c5bfbb64 | 1056 | |NN const U8 * const e |
ef9e3b4d | 1057 | ATmdR |bool |is_utf8_string |NN const U8 *s|STRLEN len |
c9182d9c | 1058 | ATidRp |bool |is_utf8_string_flags \ |
f60f61fd | 1059 | |NN const U8 *s|STRLEN len|const U32 flags |
ef9e3b4d KW |
1060 | ATmdR |bool |is_strict_utf8_string|NN const U8 *s|STRLEN len |
1061 | ATmdR |bool |is_c9strict_utf8_string|NN const U8 *s|STRLEN len | |
b719801d | 1062 | ATpdMb |bool |is_utf8_string_loc \ |
0dc258e2 | 1063 | |NN const U8 *s|const STRLEN len|NN const U8 **ep |
45b29440 | 1064 | ATdm |bool |is_utf8_string_loc_flags \ |
f60f61fd | 1065 | |NN const U8 *s|STRLEN len|NN const U8 **ep \ |
9f2abfde | 1066 | |const U32 flags |
45b29440 | 1067 | ATdm |bool |is_strict_utf8_string_loc \ |
33756530 | 1068 | |NN const U8 *s|STRLEN len|NN const U8 **ep |
45b29440 | 1069 | ATdm |bool |is_c9strict_utf8_string_loc \ |
33756530 | 1070 | |NN const U8 *s|STRLEN len|NN const U8 **ep |
45b29440 | 1071 | ATipd |bool |is_utf8_string_loclen \ |
f60f61fd | 1072 | |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \ |
9f2abfde | 1073 | |NULLOK STRLEN *el |
c9182d9c | 1074 | ATidp |bool |is_utf8_string_loclen_flags \ |
f60f61fd | 1075 | |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \ |
9f2abfde | 1076 | |NULLOK STRLEN *el|const U32 flags |
c9182d9c | 1077 | ATidp |bool |is_strict_utf8_string_loclen \ |
33756530 | 1078 | |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \ |
9f2abfde | 1079 | |NULLOK STRLEN *el |
c9182d9c | 1080 | ATidp |bool |is_c9strict_utf8_string_loclen \ |
33756530 | 1081 | |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \ |
9f2abfde | 1082 | |NULLOK STRLEN *el |
45b29440 | 1083 | AmTd |bool |is_utf8_fixed_width_buf_flags \ |
33756530 | 1084 | |NN const U8 * const s|STRLEN len|const U32 flags |
45b29440 | 1085 | AmTd |bool |is_utf8_fixed_width_buf_loc_flags \ |
33756530 | 1086 | |NN const U8 * const s|STRLEN len \ |
8bc127bf | 1087 | |NULLOK const U8 **ep|const U32 flags |
c9182d9c | 1088 | ATidp |bool |is_utf8_fixed_width_buf_loclen_flags \ |
33756530 | 1089 | |NN const U8 * const s|STRLEN len \ |
8bc127bf | 1090 | |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags |
45b29440 | 1091 | AmTdP |bool |is_utf8_valid_partial_char \ |
f1c999a7 | 1092 | |NN const U8 * const s|NN const U8 * const e |
c9182d9c | 1093 | ATidRp |bool |is_utf8_valid_partial_char_flags \ |
f1c999a7 | 1094 | |NN const U8 * const s|NN const U8 * const e|const U32 flags |
dd1a3ba7 KW |
1095 | CpR |bool |_is_uni_FOO|const U8 classnum|const UV c |
1096 | CpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p \ | |
da8c1a98 | 1097 | |NN const U8 * const e |
dd1a3ba7 KW |
1098 | CpR |bool |_is_utf8_perl_idcont|NN const U8 *p|NN const U8 * const e |
1099 | CpR |bool |_is_utf8_perl_idstart|NN const U8 *p|NN const U8 * const e | |
1100 | ||
be9bef63 KW |
1101 | #if defined(PERL_CORE) || defined(PERL_EXT) |
1102 | EXdpR |bool |isSCRIPT_RUN |NN const U8 *s|NN const U8 *send \ | |
49cd0726 | 1103 | |const bool utf8_target |
be9bef63 | 1104 | #endif |
67022846 | 1105 | : Used in perly.y |
4048f010 | 1106 | p |OP* |jmaybe |NN OP *o |
dd14162d | 1107 | : Used in pp.c |
4048f010 | 1108 | pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords |
43869a0c | 1109 | #if defined(PERL_IN_OP_C) |
9f589e47 | 1110 | S |void |inplace_aassign |NN OP* o |
867fa1e2 | 1111 | #endif |
94bdecf9 | 1112 | Ap |void |leave_scope |I32 base |
efa571ab | 1113 | p |void |notify_parser_that_changed_to_utf8 |
f0e67a1d | 1114 | : Public lexer API |
e4aeb12f KW |
1115 | Axpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags |
1116 | Axpd |bool |lex_bufutf8 | |
1117 | Axpd |char* |lex_grow_linestr|STRLEN len | |
1118 | Axpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags | |
1119 | Axpd |void |lex_stuff_pv |NN const char* pv|U32 flags | |
1120 | Axpd |void |lex_stuff_sv |NN SV* sv|U32 flags | |
1121 | Axpd |void |lex_unstuff |NN char* ptr | |
1122 | Axpd |void |lex_read_to |NN char* ptr | |
1123 | Axpd |void |lex_discard_to |NN char* ptr | |
1124 | Axpd |bool |lex_next_chunk |U32 flags | |
1125 | Axpd |I32 |lex_peek_unichar|U32 flags | |
1126 | Axpd |I32 |lex_read_unichar|U32 flags | |
1127 | Axpd |void |lex_read_space |U32 flags | |
28ac2b49 | 1128 | : Public parser API |
e4aeb12f KW |
1129 | Axpd |OP* |parse_arithexpr|U32 flags |
1130 | Axpd |OP* |parse_termexpr |U32 flags | |
1131 | Axpd |OP* |parse_listexpr |U32 flags | |
1132 | Axpd |OP* |parse_fullexpr |U32 flags | |
1133 | Axpd |OP* |parse_block |U32 flags | |
1134 | Axpd |OP* |parse_barestmt |U32 flags | |
1135 | Axpd |SV* |parse_label |U32 flags | |
1136 | Axpd |OP* |parse_fullstmt |U32 flags | |
1137 | Axpd |OP* |parse_stmtseq |U32 flags | |
996b0cb8 | 1138 | Axpd |OP* |parse_subsignature|U32 flags |
f0e67a1d | 1139 | : Used in various files |
1d70cb64 | 1140 | Apd |void |op_null |NN OP* o |
d67fec57 | 1141 | : FIXME. Used by Data::Alias |
6d9a2efc | 1142 | EXp |void |op_clear |NN OP* o |
4026c95a SH |
1143 | Ap |void |op_refcnt_lock |
1144 | Ap |void |op_refcnt_unlock | |
45b29440 | 1145 | ApdT |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \ |
3253bf85 | 1146 | |int del_count|NULLOK OP* insert |
45b29440 | 1147 | ApdT |OP* |op_parent|NN OP *o |
43869a0c | 1148 | #if defined(PERL_IN_OP_C) |
9f589e47 | 1149 | S |OP* |listkids |NULLOK OP* o |
2dd5337b | 1150 | #endif |
aec46f14 | 1151 | p |OP* |list |NULLOK OP* o |
29f5f37e | 1152 | AFpd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|... |
aec46f14 | 1153 | Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args |
67022846 | 1154 | : Used in perly.y |
4048f010 | 1155 | p |OP* |localize |NN OP *o|I32 lex |
aad570aa | 1156 | ApdR |I32 |looks_like_number|NN SV *const sv |
bcfb98ec | 1157 | AMpd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result |
3823048b | 1158 | Apd |int |grok_infnan |NN const char** sp|NN const char *send |
7827dc65 | 1159 | Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep |
3f7602fa | 1160 | Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags |
bfce84ec | 1161 | ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send |
bcfb98ec KW |
1162 | ApMd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result |
1163 | ApMd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result | |
af8bca27 | 1164 | Cp |UV |grok_bin_oct_hex|NN const char* start \ |
bcfb98ec KW |
1165 | |NN STRLEN* len_p \ |
1166 | |NN I32* flags \ | |
1167 | |NULLOK NV *result \ | |
c969ff22 KW |
1168 | |const unsigned shift \ |
1169 | |const U8 lookup_bit \ | |
1170 | |const char prefix | |
1171 | #ifdef PERL_IN_NUMERIC_C | |
1172 | S |void |output_non_portable|const U8 shift | |
1173 | #endif | |
c1a02cca | 1174 | EXpdT |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr |
67022846 | 1175 | : These are all indirectly referenced by globals.c. This is somewhat annoying. |
bfce84ec AL |
1176 | p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg |
1177 | p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg | |
b3ca2e83 | 1178 | dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg |
f747ebd6 | 1179 | dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg |
0e446081 | 1180 | p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg |
bfce84ec AL |
1181 | p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg |
1182 | p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg | |
09fb282d FC |
1183 | p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \ |
1184 | |NULLOK const char *name|I32 namlen | |
1146e912 | 1185 | p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg |
bfce84ec AL |
1186 | p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg |
1187 | p |int |magic_get |NN SV* sv|NN MAGIC* mg | |
8772537c | 1188 | p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg |
bfce84ec | 1189 | p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg |
a6d69523 | 1190 | p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg |
bfce84ec AL |
1191 | p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg |
1192 | p |int |magic_getpack |NN SV* sv|NN MAGIC* mg | |
1193 | p |int |magic_getpos |NN SV* sv|NN MAGIC* mg | |
1194 | p |int |magic_getsig |NN SV* sv|NN MAGIC* mg | |
1195 | p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg | |
1196 | p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg | |
1197 | p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg | |
1198 | p |int |magic_getvec |NN SV* sv|NN MAGIC* mg | |
4048f010 | 1199 | p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key |
bfce84ec AL |
1200 | p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg |
1201 | p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg | |
73758d77 | 1202 | :removing noreturn to silence a warning for this function resulted in no |
f8d5a522 DD |
1203 | :change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because |
1204 | :this is used in a magic vtable, do not use this on conventionally called funcs | |
518a5310 SH |
1205 | #ifdef _MSC_VER |
1206 | p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg | |
1207 | #else | |
bfce84ec | 1208 | pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg |
518a5310 | 1209 | #endif |
bfce84ec | 1210 | p |int |magic_set |NN SV* sv|NN MAGIC* mg |
bfce84ec | 1211 | p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg |
83f29afa | 1212 | p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg |
bfce84ec | 1213 | p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg |
bfce84ec | 1214 | p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg |
a6d69523 | 1215 | p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg |
bfce84ec | 1216 | p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg |
1f1dcfb5 | 1217 | p |int |magic_setnonelem|NN SV* sv|NN MAGIC* mg |
bfce84ec | 1218 | p |int |magic_setenv |NN SV* sv|NN MAGIC* mg |
b3ca2e83 | 1219 | dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg |
bfce84ec | 1220 | p |int |magic_setisa |NN SV* sv|NN MAGIC* mg |
9cce4f9a | 1221 | p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg |
bfce84ec AL |
1222 | p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg |
1223 | p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg | |
1224 | p |int |magic_setpack |NN SV* sv|NN MAGIC* mg | |
1225 | p |int |magic_setpos |NN SV* sv|NN MAGIC* mg | |
1226 | p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg | |
38a124f0 | 1227 | p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg |
bfce84ec AL |
1228 | p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg |
1229 | p |int |magic_settaint |NN SV* sv|NN MAGIC* mg | |
1230 | p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg | |
1231 | p |int |magic_setvec |NN SV* sv|NN MAGIC* mg | |
1232 | p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg | |
1233 | p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg | |
1234 | p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg | |
1235 | p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg | |
29f5f37e | 1236 | Fpod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \ |
36925d9e | 1237 | |NN SV *meth|U32 flags \ |
046b0c7d | 1238 | |U32 argc|... |
ba5248fc | 1239 | Ap |I32 * |markstack_grow |
94bdecf9 | 1240 | #if defined(USE_LOCALE_COLLATE) |
b22e6366 | 1241 | p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg |
57f51a64 | 1242 | pbD |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen |
67022846 | 1243 | : Defined in locale.c, used only in sv.c |
78d57975 | 1244 | # if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C) |
09232555 | 1245 | p |char* |_mem_collxfrm |NN const char* input_string \ |
a4a439fb KW |
1246 | |STRLEN len \ |
1247 | |NN STRLEN* xlen \ | |
1248 | |bool utf8 | |
1249 | # endif | |
94bdecf9 | 1250 | #endif |
c5df3096 Z |
1251 | Afpd |SV* |mess |NN const char* pat|... |
1252 | Apd |SV* |mess_sv |NN SV* basemsg|bool consume | |
1253 | Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args | |
d67fec57 NC |
1254 | : FIXME - either make it public, or stop exporting it. (Data::Alias uses this) |
1255 | : Used in gv.c, op.c, toke.c | |
6d9a2efc | 1256 | EXp |void |qerror |NN SV* err |
3d4dd4c7 NC |
1257 | Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp |
1258 | Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags | |
9a957fbc | 1259 | Apd |int |mg_clear |NN SV* sv |
4048f010 NC |
1260 | Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \ |
1261 | |I32 klen | |
67022846 | 1262 | : Defined in mg.c, used only in scope.c |
af7df257 | 1263 | pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic |
658db622 | 1264 | Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv |
45b29440 KW |
1265 | ApdRT |MAGIC* |mg_find |NULLOK const SV* sv|int type |
1266 | ApdRT |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl | |
96c2a8ff | 1267 | : exported for re.pm |
d4431b89 | 1268 | EXpR |MAGIC* |mg_find_mglob |NN SV* sv |
9a957fbc | 1269 | Apd |int |mg_free |NN SV* sv |
d9088386 | 1270 | Apd |void |mg_free_type |NN SV* sv|int how |
e0d4aead | 1271 | Apd |void |mg_freeext |NN SV* sv|int how|NULLOK const MGVTBL *vtbl |
9a957fbc | 1272 | Apd |int |mg_get |NN SV* sv |
bd8446cf | 1273 | ApdD |U32 |mg_length |NN SV* sv |
45b29440 | 1274 | ApdT |void |mg_magical |NN SV* sv |
9a957fbc AL |
1275 | Apd |int |mg_set |NN SV* sv |
1276 | Ap |I32 |mg_size |NN SV* sv | |
45b29440 | 1277 | ApT |void |mini_mktime |NN struct tm *ptm |
e4aeb12f | 1278 | Axmd |OP* |op_lvalue |NULLOK OP* o|I32 type |
d3d7d28f | 1279 | poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags |
c1a02cca KW |
1280 | pd |void |finalize_optree |NN OP* o |
1281 | pd |void |optimize_optree|NN OP* o | |
d164302a | 1282 | #if defined(PERL_IN_OP_C) |
9f589e47 KW |
1283 | S |void |optimize_op |NN OP* o |
1284 | S |void |finalize_op |NN OP* o | |
1285 | S |void |move_proto_attr|NN OP **proto|NN OP **attrs \ | |
cbf83791 | 1286 | |NN const GV *name|bool curstash |
d164302a | 1287 | #endif |
67022846 | 1288 | : Used in op.c and pp_sys.c |
a79b25b7 | 1289 | p |int |mode_from_discipline|NULLOK const char* s|STRLEN len |
c7030b81 | 1290 | Ap |const char* |moreswitches |NN const char* s |
4373e329 | 1291 | Ap |NV |my_atof |NN const char *s |
c1a02cca | 1292 | ATdpR |NV |my_strtod |NN const char * const s|NULLOK char ** e |
72eff736 | 1293 | Aprd |void |my_exit |U32 status |
94bdecf9 JH |
1294 | Apr |void |my_failure_exit |
1295 | Ap |I32 |my_fflush_all | |
45b29440 KW |
1296 | ATp |Pid_t |my_fork |
1297 | ATp |void |atfork_lock | |
1298 | ATp |void |atfork_unlock | |
b719801d | 1299 | ApMb |I32 |my_lstat |
0d7d409d | 1300 | pX |I32 |my_lstat_flags |NULLOK const U32 flags |
6dba01e2 | 1301 | #if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT)) |
5af72e99 | 1302 | EeiT |void * |my_memrchr |NN const char * s|const char c|const STRLEN len |
6dba01e2 | 1303 | #endif |
875ca36f | 1304 | #if !defined(PERL_IMPLICIT_SYS) |
bfce84ec AL |
1305 | Ap |I32 |my_pclose |NULLOK PerlIO* ptr |
1306 | Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode | |
875ca36f | 1307 | #endif |
c9289b7b | 1308 | Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args |
df641d45 | 1309 | Apd |void |my_setenv |NULLOK const char* nam|NULLOK const char* val |
b719801d | 1310 | ApMb |I32 |my_stat |
0d7d409d | 1311 | pX |I32 |my_stat_flags |NULLOK const U32 flags |
531b2663 | 1312 | Afp |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 | 1313 | : Used in pp_ctl.c |
94bdecf9 | 1314 | p |void |my_unexec |
09232555 KW |
1315 | CbDTPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch |
1316 | CbDTPR |UV |ASCII_TO_NEED |const UV enc|const UV ch | |
346c6a29 DM |
1317 | ApR |OP* |newANONLIST |NULLOK OP* o |
1318 | ApR |OP* |newANONHASH |NULLOK OP* o | |
bfce84ec | 1319 | Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block |
346c6a29 DM |
1320 | ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right |
1321 | ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop | |
99ab892b | 1322 | Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv |
9c0a6090 FC |
1323 | Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \ |
1324 | |NULLOK const char* name|STRLEN len \ | |
1325 | |U32 flags|NULLOK SV* sv | |
aec46f14 | 1326 | Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block |
346c6a29 | 1327 | ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont |
7896dde7 | 1328 | ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off |
346c6a29 | 1329 | ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other |
e4aeb12f | 1330 | px |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other |
346c6a29 DM |
1331 | ApdR |OP* |newLOOPEX |I32 type|NN OP* label |
1332 | ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block | |
1333 | ApdR |OP* |newNULLLIST | |
1334 | ApdR |OP* |newOP |I32 optype|I32 flags | |
f54cb97a | 1335 | Ap |void |newPROG |NN OP* o |
346c6a29 DM |
1336 | ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right |
1337 | ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop | |
1338 | ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o | |
b719801d | 1339 | ApbM |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \ |
7bff8c33 | 1340 | |NULLOK OP* block |
68cd13c6 | 1341 | pd |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \ |
032a0447 | 1342 | |NN XSUBADDR_t subaddr\ |
9a189793 | 1343 | |NULLOK const char *const filename \ |
8f82b567 FC |
1344 | |NULLOK const char *const proto \ |
1345 | |NULLOK SV **const_svp|U32 flags | |
9a189793 | 1346 | pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr |
e4aeb12f | 1347 | Apx |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\ |
77004dee NC |
1348 | |NN const char *const filename \ |
1349 | |NULLOK const char *const proto|U32 flags | |
44170c9a | 1350 | ApdU |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\ |
4048f010 | 1351 | |NN const char *filename |
b719801d | 1352 | ApMdbR |AV* |newAV |
346c6a29 DM |
1353 | ApR |OP* |newAVREF |NN OP* o |
1354 | ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last | |
1355 | ApR |OP* |newCVREF |I32 flags|NULLOK OP* o | |
1356 | ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv | |
20980f01 | 1357 | Am |GV* |newGVgen |NN const char* pack |
346c6a29 DM |
1358 | ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags |
1359 | ApR |OP* |newGVREF |I32 type|NULLOK OP* o | |
1360 | ApR |OP* |newHVREF |NN OP* o | |
b719801d | 1361 | ApMdbR |HV* |newHV |
346c6a29 | 1362 | ApR |HV* |newHVhv |NULLOK HV *hv |
b719801d | 1363 | ApRbM |IO* |newIO |
346c6a29 | 1364 | ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last |
e4aeb12f KW |
1365 | AxpdRT |PADNAME *|newPADNAMEouter|NN PADNAME *outer |
1366 | AxpdRT |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len | |
1367 | AxpdRT |PADNAMELIST *|newPADNAMELIST|size_t max | |
392d04bb | 1368 | #ifdef USE_ITHREADS |
346c6a29 DM |
1369 | ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv |
1370 | #endif | |
1371 | ApdR |OP* |newPMOP |I32 type|I32 flags | |
1372 | ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv | |
1373 | ApR |SV* |newRV |NN SV *const sv | |
1374 | ApdR |SV* |newRV_noinc |NN SV *const tmpRef | |
1375 | ApdR |SV* |newSV |const STRLEN len | |
1376 | ApR |OP* |newSVREF |NN OP* o | |
1377 | ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv | |
ce409cc8 | 1378 | ApdR |OP* |newDEFSVOP |
346c6a29 DM |
1379 | pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible |
1380 | ApdR |SV* |newSViv |const IV i | |
1381 | ApdR |SV* |newSVuv |const UV u | |
1382 | ApdR |SV* |newSVnv |const NV n | |
1383 | ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len | |
a5ba2527 | 1384 | ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len |
346c6a29 DM |
1385 | ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags |
1386 | ApdR |SV* |newSVhek |NULLOK const HEK *const hek | |
1387 | ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash | |
1388 | ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash | |
1389 | AfpdR |SV* |newSVpvf |NN const char *const pat|... | |
1390 | ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args | |
12964ddd | 1391 | Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname |
b719801d | 1392 | ApMbdR |SV* |newSVsv |NULLOK SV *const old |
ef9e3b4d | 1393 | AmdR |SV* |newSVsv_nomg |NULLOK SV *const old |
238f2c13 | 1394 | ApR |SV* |newSVsv_flags |NULLOK SV *const old|I32 flags |
346c6a29 DM |
1395 | ApdR |SV* |newSV_type |const svtype type |
1396 | ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first | |
1397 | ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \ | |
2f7c6295 | 1398 | |NULLOK UNOP_AUX_item *aux |
7896dde7 | 1399 | ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block |
346c6a29 | 1400 | ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \ |
94bf0465 | 1401 | |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \ |
a034e688 | 1402 | |I32 has_my |
346c6a29 DM |
1403 | ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth |
1404 | ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth | |
d9088386 Z |
1405 | Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags |
1406 | Apd |OP* |ck_entersub_args_list|NN OP *entersubop | |
1407 | Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv | |
1408 | Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv | |
4aaa4757 FC |
1409 | po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \ |
1410 | |NN SV *protosv | |
d9088386 | 1411 | Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p |
71c697de | 1412 | Apd |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 | 1413 | Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj |
aa38f4b1 FC |
1414 | Apd |void |cv_set_call_checker_flags|NN CV *cv \ |
1415 | |NN Perl_call_checker ckfun \ | |
71c697de | 1416 | |NN SV *ckobj|U32 ckflags |
e8570548 | 1417 | Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p |
e4aeb12f | 1418 | Axpd |void |wrap_keyword_plugin|NN Perl_keyword_plugin_t new_plugin|NN Perl_keyword_plugin_t *old_plugin_p |
346c6a29 | 1419 | ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems |
4048f010 NC |
1420 | Ap |char* |scan_vstring |NN const char *s|NN const char *const e \ |
1421 | |NN SV *sv | |
9f6cc744 | 1422 | Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv |
91152fc1 | 1423 | Apd |const char* |prescan_version |NN const char *s\ |
5747a2f6 RGS |
1424 | |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\ |
1425 | |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha | |
2d03de9c | 1426 | Apd |SV* |new_version |NN SV *ver |
ac0e6a2f | 1427 | Apd |SV* |upg_version |NN SV *ver|bool qv |
5de8bffd | 1428 | Apd |SV* |vverify |NN SV *vs |
2d03de9c AL |
1429 | Apd |SV* |vnumify |NN SV *vs |
1430 | Apd |SV* |vnormal |NN SV *vs | |
1431 | Apd |SV* |vstringify |NN SV *vs | |
9f6cc744 | 1432 | Apd |int |vcmp |NN SV *lhv|NN SV *rhv |
67022846 | 1433 | : Used in pp_hot.c and pp_sys.c |
157fb5a1 | 1434 | p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen |
54c193ae | 1435 | AdMTpP |char* |ninstr |NN const char* big|NN const char* bigend \ |
b8070b07 | 1436 | |NN const char* little|NN const char* lend |
1d70cb64 | 1437 | Apd |void |op_free |NULLOK OP* arg |
e4aeb12f | 1438 | xp |OP* |op_unscope |NULLOK OP* o |
7aef8e5b | 1439 | #ifdef PERL_CORE |
8be227ab FC |
1440 | p |void |opslab_free |NN OPSLAB *slab |
1441 | p |void |opslab_free_nopad|NN OPSLAB *slab | |
1442 | p |void |opslab_force_free|NN OPSLAB *slab | |
1443 | #endif | |
67022846 | 1444 | : Used in perly.y |
2d03de9c | 1445 | p |void |package |NN OP* o |
6fa4d285 DG |
1446 | : Used in perly.y |
1447 | p |void |package_version|NN OP* v | |
67022846 | 1448 | : Used in toke.c and perly.y |
d6447115 NC |
1449 | p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\ |
1450 | |const U32 flags | |
d4d03940 | 1451 | #ifdef USE_ITHREADS |
c1a02cca | 1452 | Adxp |PADOFFSET|alloccopstash|NN HV *hv |
d4d03940 | 1453 | #endif |
67022846 | 1454 | : Used in perly.y |
1df70142 | 1455 | pR |OP* |oopsAV |NN OP* o |
67022846 | 1456 | : Used in perly.y |
1df70142 | 1457 | pR |OP* |oopsHV |NN OP* o |
cc76b5cc | 1458 | |
1a0a2ba9 | 1459 | : peephole optimiser |
666e7765 | 1460 | p |void |peep |NULLOK OP* o |
1a0a2ba9 | 1461 | p |void |rpeep |NULLOK OP* o |
67022846 | 1462 | : Defined in doio.c, used only in pp_hot.c |
e4aeb12f | 1463 | dopx |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io |
f59c1a32 | 1464 | |
10bc17b6 | 1465 | Ap |void |reentrant_size |
59bd0823 | 1466 | Ap |void |reentrant_init |
10bc17b6 | 1467 | Ap |void |reentrant_free |
29f5f37e | 1468 | AFTp |void* |reentrant_retry|NN const char *f|... |
f59c1a32 | 1469 | |
7b53c8ee NC |
1470 | : "Very" special - can't use the O flag for this one: |
1471 | : (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef) | |
7827dc65 | 1472 | Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr |
7b53c8ee NC |
1473 | ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv |
1474 | ApdO |I32 |call_method |NN const char* methname|I32 flags | |
1475 | ApdO |I32 |call_pv |NN const char* sub_name|I32 flags | |
8162b70e | 1476 | ApdO |I32 |call_sv |NN SV* sv|volatile I32 flags |
5290524f | 1477 | Ap |void |despatch_signals |
e4c5ccf3 | 1478 | Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref |
7b53c8ee NC |
1479 | ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error |
1480 | ApdO |I32 |eval_sv |NN SV* sv|I32 flags | |
1481 | ApdO |SV* |get_sv |NN const char *name|I32 flags | |
1482 | ApdO |AV* |get_av |NN const char *name|I32 flags | |
1483 | ApdO |HV* |get_hv |NN const char *name|I32 flags | |
1484 | ApdO |CV* |get_cv |NN const char* name|I32 flags | |
780a5241 | 1485 | Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags |
45b29440 | 1486 | ATdo |const char*|Perl_setlocale|const int category|NULLOK const char* locale |
f7416781 | 1487 | #if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H) |
45b29440 | 1488 | ATdo |const char*|Perl_langinfo|const nl_item item |
f7416781 | 1489 | #else |
45b29440 | 1490 | ATdo |const char*|Perl_langinfo|const int item |
f7416781 | 1491 | #endif |
09232555 KW |
1492 | CpO |int |init_i18nl10n |int printwarn |
1493 | CbpOD |int |init_i18nl14n |int printwarn | |
ec268cc8 | 1494 | p |char* |my_strerror |const int errnum |
45b29440 | 1495 | XpT |void |_warn_problematic_locale |
5792c642 | 1496 | Xp |void |set_numeric_underlying |
8d8472df | 1497 | Xp |void |set_numeric_standard |
5c1ff086 | 1498 | Xp |bool |_is_in_locale_category|const bool compiling|const int category |
45b29440 KW |
1499 | ApdT |void |switch_to_global_locale |
1500 | ApdT |bool |sync_locale | |
e4aeb12f KW |
1501 | ApxT |void |thread_locale_init |
1502 | ApxT |void |thread_locale_term | |
7b53c8ee | 1503 | ApdO |void |require_pv |NN const char* pv |
4352fcf7 | 1504 | AbpdM |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \ |
2d03de9c | 1505 | |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags |
dd14162d | 1506 | Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist |
ed4173ef | 1507 | #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C) |
9f589e47 | 1508 | S |void |pidgone |Pid_t pid|int status |
ca0c25f6 | 1509 | #endif |
67022846 | 1510 | : Used in perly.y |
9b6b7be8 | 1511 | p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \ |
5012eebe | 1512 | |UV flags|I32 floor |
43869a0c | 1513 | #if defined(PERL_IN_OP_C) |
9f589e47 | 1514 | S |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl |
0d86688d | 1515 | #endif |
58a0d047 | 1516 | p |void |invmap_dump |NN SV* invlist|NN UV * map |
94bdecf9 | 1517 | Ap |void |pop_scope |
94bdecf9 | 1518 | Ap |void |push_scope |
700d83cb | 1519 | #if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C) |
b719801d | 1520 | ApMb |OP* |ref |NULLOK OP* o|I32 type |
700d83cb | 1521 | #endif |
43869a0c | 1522 | #if defined(PERL_IN_OP_C) |
9f589e47 | 1523 | S |OP* |refkids |NULLOK OP* o|I32 type |
0d86688d | 1524 | #endif |
93b32b6d | 1525 | |
45b29440 KW |
1526 | ATp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count |
1527 | AdTpP |char* |rninstr |NN const char* big|NN const char* bigend \ | |
a3b680e6 | 1528 | |NN const char* little|NN const char* lend |
962fce0f | 1529 | Apd |Sighandler_t|rsignal |int i|Sighandler_t t |
67022846 | 1530 | : Used in pp_sys.c |
7827dc65 | 1531 | p |int |rsignal_restore|int i|NULLOK Sigsave_t* t |
67022846 | 1532 | : Used in pp_sys.c |
9f6cc744 | 1533 | p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save |
94bdecf9 | 1534 | Ap |Sighandler_t|rsignal_state|int i |
43869a0c | 1535 | #if defined(PERL_IN_PP_CTL_C) |
9f589e47 KW |
1536 | S |void |rxres_free |NN void** rsp |
1537 | S |void |rxres_restore |NN void **rsp|NN REGEXP *rx | |
9c105995 NC |
1538 | #endif |
1539 | : Used in pp_hot.c | |
4048f010 | 1540 | p |void |rxres_save |NN void **rsp|NN REGEXP *rx |
94bdecf9 | 1541 | #if !defined(HAS_RENAME) |
67022846 | 1542 | : Used in pp_sys.c |
4373e329 | 1543 | p |I32 |same_dirent |NN const char* a|NN const char* b |
94bdecf9 | 1544 | #endif |
639f6c3d | 1545 | Apda |char* |savepv |NULLOK const char* pv |
052d9143 | 1546 | Apda |char* |savepvn |NULLOK const char* pv|Size_t len |
7827dc65 | 1547 | Apda |char* |savesharedpv |NULLOK const char* pv |
6379d4a9 FC |
1548 | |
1549 | : NULLOK only to suppress a compiler warning | |
1550 | Apda |char* |savesharedpvn |NULLOK const char *const pv \ | |
1551 | |const STRLEN len | |
9dcc53ea | 1552 | Apda |char* |savesharedsvpv |NN SV *sv |
53c1dcc0 | 1553 | Apda |char* |savesvpv |NN SV* sv |
94bdecf9 | 1554 | Ap |void |savestack_grow |
4b3c1a47 | 1555 | Ap |void |savestack_grow_cnt |I32 need |
5178f485 | 1556 | Am |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr |
c70927a6 FC |
1557 | Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \ |
1558 | |const U32 flags | |
94bdecf9 | 1559 | Ap |I32 |save_alloc |I32 size|I32 pad |
4f313521 KW |
1560 | Apdh |void |save_aptr |NN AV** aptr |
1561 | Apdh |AV* |save_ary |NN GV* gv | |
9a957fbc AL |
1562 | Ap |void |save_bool |NN bool* boolp |
1563 | Ap |void |save_clearsv |NN SV** svp | |
4048f010 | 1564 | Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen |
af097752 | 1565 | Ap |void |save_hdelete |NN HV *hv|NN SV *keysv |
c70927a6 | 1566 | Ap |void |save_adelete |NN AV *av|SSize_t key |
7827dc65 | 1567 | Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p |
55968144 | 1568 | Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p |
b719801d | 1569 | ApMb |void |save_freesv |NULLOK SV* sv |
67022846 | 1570 | : Used in SAVEFREOP(), used in op.c, pp_ctl.c |
b719801d KW |
1571 | ApMb |void |save_freeop |NULLOK OP* o |
1572 | ApMb |void |save_freepv |NULLOK char* pv | |
9a957fbc AL |
1573 | Ap |void |save_generic_svref|NN SV** sptr |
1574 | Ap |void |save_generic_pvref|NN char** str | |
1575 | Ap |void |save_shared_pvref|NN char** str | |
364bbfa4 | 1576 | Adp |void |save_gp |NN GV* gv|I32 empty |
4f313521 | 1577 | Apdh |HV* |save_hash |NN GV* gv |
defdfed5 | 1578 | Ap |void |save_hints |
5178f485 | 1579 | Am |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr |
af7df257 | 1580 | Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags |
4f313521 | 1581 | Apdh |void |save_hptr |NN HV** hptr |
aec46f14 AL |
1582 | Ap |void |save_I16 |NN I16* intp |
1583 | Ap |void |save_I32 |NN I32* intp | |
1584 | Ap |void |save_I8 |NN I8* bytep | |
1585 | Ap |void |save_int |NN int* intp | |
53dedf6f | 1586 | Apdh |void |save_item |NN SV* item |
4048f010 | 1587 | Ap |void |save_iv |NN IV *ivp |
4f313521 | 1588 | AbpDdh |void |save_list |NN SV** sarg|I32 maxsarg |
57f51a64 | 1589 | AbpD |void |save_long |NN long* longp |
b719801d | 1590 | ApMb |void |save_mortalizesv|NN SV* sv |
57f51a64 | 1591 | AbpD |void |save_nogv |NN GV* gv |
67022846 | 1592 | : Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c |
b719801d | 1593 | ApMb |void |save_op |
4f313521 | 1594 | Apdh |SV* |save_scalar |NN GV* gv |
aec46f14 | 1595 | Ap |void |save_pptr |NN char** pptr |
4048f010 | 1596 | Ap |void |save_vptr |NN void *ptr |
94bdecf9 | 1597 | Ap |void |save_re_context |
09edbca0 | 1598 | Ap |void |save_padsv_and_mortalize|PADOFFSET off |
aec46f14 | 1599 | Ap |void |save_sptr |NN SV** sptr |
e8eb279c | 1600 | Xp |void |save_strlen |NN STRLEN* ptr |
4f313521 | 1601 | Apdh |SV* |save_svref |NN SV** sptr |
e4aeb12f | 1602 | Axpo |void |savetmps |
2fd8beea | 1603 | Ap |void |save_pushptr |NULLOK void *const ptr|const int type |
ad975267 | 1604 | Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type |
dfcd3de5 | 1605 | : Used by SAVESWITCHSTACK() in pp.c |
ad975267 | 1606 | Ap |void |save_pushptrptr|NULLOK void *const ptr1 \ |
dfcd3de5 | 1607 | |NULLOK void *const ptr2|const int type |
43869a0c | 1608 | #if defined(PERL_IN_SCOPE_C) |
9f589e47 | 1609 | S |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \ |
be84297e NC |
1610 | |NULLOK void *const ptr2|const int type |
1611 | #endif | |
2ac0ce0e KW |
1612 | Xiop |I32 |TOPMARK |
1613 | Xiop |I32 |POPMARK | |
67022846 | 1614 | : Used in perly.y |
aec46f14 | 1615 | p |OP* |sawparens |NULLOK OP* o |
d9088386 | 1616 | Apd |OP* |op_contextualize|NN OP* o|I32 context |
67022846 | 1617 | : Used in perly.y |
aec46f14 | 1618 | p |OP* |scalar |NULLOK OP* o |
43869a0c | 1619 | #if defined(PERL_IN_OP_C) |
9f589e47 KW |
1620 | S |OP* |scalarkids |NULLOK OP* o |
1621 | S |OP* |scalarseq |NULLOK OP* o | |
2dd5337b | 1622 | #endif |
67022846 | 1623 | : Used in pp_ctl.c |
aec46f14 AL |
1624 | p |OP* |scalarvoid |NN OP* o |
1625 | Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen | |
1626 | Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen | |
1627 | Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp | |
1628 | Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen | |
e4aeb12f | 1629 | Axpd |OP* |op_scope |NULLOK OP* o |
e2051532 | 1630 | : Only used by perl.c/miniperl.c, but defined in caretx.c |
5af72e99 | 1631 | pe |void |set_caret_X |
9a9bb270 | 1632 | Apd |void |setdefout |NN GV* gv |
b02f3645 | 1633 | Ap |HEK* |share_hek |NN const char* str|SSize_t len|U32 hash |
5e7940ce | 1634 | #ifdef PERL_USE_3ARG_SIGHANDLER |
d67fec57 | 1635 | : Used in perl.c |
e7124897 DM |
1636 | Tp |Signal_t |sighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap |
1637 | ATp |Signal_t |csighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap | |
8aad04aa | 1638 | #else |
45b29440 KW |
1639 | Tp |Signal_t |sighandler |int sig |
1640 | ATp |Signal_t |csighandler |int sig | |
8aad04aa | 1641 | #endif |
dc37125b DM |
1642 | Tp |Signal_t |sighandler1 |int sig |
1643 | ATp |Signal_t |csighandler1 |int sig | |
1644 | Tp |Signal_t |sighandler3 |int sig|NULLOK Siginfo_t *info|NULLOK void *uap | |
1645 | ATp |Signal_t |csighandler3 |int sig|NULLOK Siginfo_t *info|NULLOK void *uap | |
8a5e470b | 1646 | ATp |Signal_t |perly_sighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap|bool safe |
fc16c392 | 1647 | Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n |
0b1558d1 | 1648 | Ap |I32 |start_subparse |I32 is_format|U32 flags |
50333c97 | 1649 | Xp |void |init_named_cv |NN CV *cv|NN OP *nameop |
67022846 | 1650 | : Used in pp_ctl.c |
aec46f14 | 1651 | p |void |sub_crush_depth|NN CV* cv |
b719801d | 1652 | ApbMd |bool |sv_2bool |NN SV *const sv |
9d176cd8 | 1653 | Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags |
23f13727 SS |
1654 | Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \ |
1655 | |const I32 lref | |
1656 | Apd |IO* |sv_2io |NN SV *const sv | |
43869a0c | 1657 | #if defined(PERL_IN_SV_C) |
9f589e47 | 1658 | S |bool |glob_2number |NN GV* const gv |
180488f8 | 1659 | #endif |
b719801d | 1660 | ApMb |IV |sv_2iv |NN SV *sv |
1061065f | 1661 | Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags |
23f13727 | 1662 | Apd |SV* |sv_2mortal |NULLOK SV *const sv |
1061065f | 1663 | Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags |
67022846 | 1664 | : Used in pp.c, pp_hot.c, sv.c |
e4aeb12f | 1665 | pxd |SV* |sv_2num |NN SV *const sv |
b719801d | 1666 | ApMb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp |
1061065f | 1667 | Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags |
b719801d | 1668 | ApdMb |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp |
757fc329 | 1669 | Ap |char* |sv_2pvutf8_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags |
b719801d | 1670 | ApdMb |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp |
757fc329 | 1671 | Ap |char* |sv_2pvbyte_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags |
57f51a64 | 1672 | AbpD |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp |
b719801d | 1673 | ApMb |UV |sv_2uv |NN SV *sv |
1061065f | 1674 | Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags |
57f51a64 KW |
1675 | AbpdD |IV |sv_iv |NN SV* sv |
1676 | AbpdD |UV |sv_uv |NN SV* sv | |
1677 | AbpdD |NV |sv_nv |NN SV* sv | |
1678 | AbpdD |char* |sv_pvn |NN SV *sv|NN STRLEN *lp | |
1679 | AbpdD |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp | |
1680 | AbpdD |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp | |
23f13727 | 1681 | Apd |I32 |sv_true |NULLOK SV *const sv |
43869a0c | 1682 | #if defined(PERL_IN_SV_C) |
9f589e47 | 1683 | Sd |void |sv_add_arena |NN char *const ptr|const U32 size \ |
d2bd4e7f NC |
1684 | |const U32 flags |
1685 | #endif | |
45b29440 | 1686 | ApdT |void |sv_backoff |NN SV *const sv |
12964ddd | 1687 | Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash |
b001a0d1 FC |
1688 | #if defined(PERL_DEBUG_READONLY_COW) |
1689 | p |void |sv_buf_to_ro |NN SV *sv | |
1620d805 | 1690 | # if defined(PERL_IN_SV_C) |
9f589e47 | 1691 | S |void |sv_buf_to_rw |NN SV *sv |
1620d805 | 1692 | # endif |
b001a0d1 | 1693 | #endif |
66ceb532 SS |
1694 | Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|... |
1695 | Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \ | |
1696 | |NULLOK va_list *const args | |
2b021c53 | 1697 | Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr |
b719801d KW |
1698 | ApMdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len |
1699 | ApMdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr | |
2e000ff2 | 1700 | Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr |
67022846 | 1701 | : Used only in perl.c |
94bdecf9 | 1702 | pd |I32 |sv_clean_all |
67022846 | 1703 | : Used only in perl.c |
94bdecf9 | 1704 | pd |void |sv_clean_objs |
5239d5c4 | 1705 | Apd |void |sv_clear |NN SV *const orig_sv |
4155e4fe | 1706 | #if defined(PERL_IN_SV_C) |
9f589e47 | 1707 | S |bool |curse |NN SV * const sv|const bool check_refcnt |
4155e4fe | 1708 | #endif |
917b9b54 | 1709 | AMpd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2 |
31c72c81 NC |
1710 | Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \ |
1711 | |const U32 flags | |
917b9b54 | 1712 | AMpd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2 |
31c72c81 NC |
1713 | Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \ |
1714 | |NULLOK SV *const sv2|const U32 flags | |
94bdecf9 | 1715 | #if defined(USE_LOCALE_COLLATE) |
b719801d | 1716 | ApbMd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp |
078504b2 | 1717 | Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags |
94bdecf9 | 1718 | #endif |
4373e329 | 1719 | Apd |int |getcwd_sv |NN SV* sv |
ac1e9476 | 1720 | Apd |void |sv_dec |NULLOK SV *const sv |
6f1401dc | 1721 | Apd |void |sv_dec_nomg |NULLOK SV *const sv |
c1a02cca | 1722 | Apd |void |sv_dump |NULLOK SV* sv |
15f169a1 | 1723 | ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name |
c7abbf64 BF |
1724 | ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags |
1725 | ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags | |
1726 | ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \ | |
c60dbbc3 | 1727 | |const STRLEN len|U32 flags |
813e85a0 | 1728 | ApdRx |bool |sv_isa_sv |NN SV* sv|NN SV* namesv |
15f169a1 | 1729 | ApdR |bool |sv_does |NN SV* sv|NN const char *const name |
f778bcfd BF |
1730 | ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags |
1731 | ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags | |
1732 | ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \ | |
1733 | |U32 flags | |
b719801d | 1734 | ApbMd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2 |
31c72c81 | 1735 | Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags |
af828c01 | 1736 | Apd |void |sv_free |NULLOK SV *const sv |
e4aeb12f | 1737 | poxX |void |sv_free2 |NN SV *const sv|const U32 refcnt |
67022846 | 1738 | : Used only in perl.c |
94bdecf9 | 1739 | pd |void |sv_free_arenas |
ac1e9476 | 1740 | Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append |
aad570aa | 1741 | Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen |
ac1e9476 | 1742 | Apd |void |sv_inc |NULLOK SV *const sv |
6f1401dc | 1743 | Apd |void |sv_inc_nomg |NULLOK SV *const sv |
b719801d | 1744 | ApMdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \ |
84335ee9 NC |
1745 | |const STRLEN len|NN const char *const little \ |
1746 | |const STRLEN littlelen | |
c0dd94a0 | 1747 | Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \ |
e7a8a8aa | 1748 | |NN const char *little|const STRLEN littlelen|const U32 flags |
12964ddd | 1749 | Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name |
aec46f14 | 1750 | Apd |int |sv_isobject |NULLOK SV* sv |
af828c01 SS |
1751 | Apd |STRLEN |sv_len |NULLOK SV *const sv |
1752 | Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv | |
864329c3 | 1753 | p |STRLEN |sv_len_utf8_nomg|NN SV *const sv |
2b021c53 | 1754 | Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \ |
ac1e9476 | 1755 | |NULLOK const char *const name|const I32 namlen |
2b021c53 SS |
1756 | Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \ |
1757 | |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \ | |
1758 | |const I32 namlen | |
c9182d9c | 1759 | EiTp |bool |sv_only_taint_gmagic|NN SV *sv |
96c2a8ff | 1760 | : exported for re.pm |
d4431b89 | 1761 | EXp |MAGIC *|sv_magicext_mglob|NN SV *sv |
b719801d | 1762 | ApdbMR |SV* |sv_mortalcopy |NULLOK SV *const oldsv |
c6dcb9ed | 1763 | ApdR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags |
f54cb97a | 1764 | ApdR |SV* |sv_newmortal |
af828c01 | 1765 | Apd |SV* |sv_newref |NULLOK SV *const sv |
aec46f14 | 1766 | Ap |char* |sv_peek |NULLOK SV* sv |
af828c01 | 1767 | Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp |
d931b1be NC |
1768 | Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \ |
1769 | |NULLOK STRLEN *const lenp|U32 flags | |
ac1e9476 | 1770 | Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp |
ef54055c FC |
1771 | Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \ |
1772 | |U32 flags | |
b719801d | 1773 | ApMdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp |
12964ddd SS |
1774 | Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp |
1775 | Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp | |
aec46f14 AL |
1776 | Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding |
1777 | Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \ | |
1778 | |NN char* tstr|int tlen | |
12964ddd | 1779 | ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob |
b1744e13 | 1780 | Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob |
af828c01 | 1781 | Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv |
94bdecf9 | 1782 | Apd |void |sv_report_used |
23f13727 | 1783 | Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash |
ca826051 FC |
1784 | p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \ |
1785 | |NULLOK HV *const stash | |
89e38212 SS |
1786 | Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|... |
1787 | Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args | |
aad570aa | 1788 | Apd |void |sv_setiv |NN SV *const sv|const IV num |
57f51a64 | 1789 | ApdbD |void |sv_setpviv |NN SV *const sv|const IV num |
aad570aa SS |
1790 | Apd |void |sv_setuv |NN SV *const sv|const UV num |
1791 | Apd |void |sv_setnv |NN SV *const sv|const NV num | |
12964ddd SS |
1792 | Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv |
1793 | Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv | |
1794 | Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv | |
1795 | Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \ | |
1796 | |NULLOK void *const pv | |
1797 | Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \ | |
1798 | |NN const char *const pv|const STRLEN n | |
2e000ff2 SS |
1799 | Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr |
1800 | Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len | |
45661033 | 1801 | Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len |
70b71ec8 | 1802 | Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek |
b719801d KW |
1803 | ApMdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr |
1804 | ApMdb |void |sv_taint |NN SV* sv | |
89e38212 | 1805 | ApdR |bool |sv_tainted |NN SV *const sv |
2b021c53 | 1806 | Apd |int |sv_unmagic |NN SV *const sv|const int type |
b83794c7 | 1807 | Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl |
b719801d | 1808 | ApdMb |void |sv_unref |NN SV* sv |
89e38212 SS |
1809 | Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags |
1810 | Apd |void |sv_untaint |NN SV *const sv | |
aad570aa | 1811 | Apd |void |sv_upgrade |NN SV *const sv|svtype new_type |
b719801d | 1812 | ApdMb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len |
2e000ff2 SS |
1813 | Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\ |
1814 | |const U32 flags | |
66ceb532 | 1815 | Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \ |
ea4817b1 | 1816 | |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \ |
66ceb532 | 1817 | |NULLOK bool *const maybe_tainted |
4bac9ae4 | 1818 | Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \ |
ea4817b1 | 1819 | |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \ |
4bac9ae4 | 1820 | |NULLOK bool *const maybe_tainted|const U32 flags |
66ceb532 SS |
1821 | Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \ |
1822 | |NULLOK va_list *const args|NULLOK SV **const svargs \ | |
ea4817b1 | 1823 | |const Size_t sv_count|NULLOK bool *const maybe_tainted |
aec46f14 | 1824 | ApR |NV |str_to_version |NN SV *sv |
dd14162d KW |
1825 | Ap |void |regdump |NN const regexp* r |
1826 | CiTop |struct regexp *|ReANY |NN const REGEXP * const re | |
1827 | Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \ | |
1828 | |NN char* strend|NN char* strbeg \ | |
1829 | |SSize_t minend |NN SV* screamer|U32 nosave | |
1830 | Ap |void |pregfree |NULLOK REGEXP* r | |
1831 | Ap |void |pregfree2 |NN REGEXP *rx | |
1832 | : FIXME - is anything in re using this now? | |
1833 | EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* dsv|NN REGEXP* ssv | |
1834 | Ap |void |regfree_internal|NN REGEXP *const rx | |
1835 | #if defined(USE_ITHREADS) | |
1836 | Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param | |
a9269870 | 1837 | #endif |
dd14162d KW |
1838 | EXp |regexp_engine const *|current_re_engine |
1839 | Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags | |
1840 | p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \ | |
1841 | |int pat_count|NULLOK OP *expr \ | |
1842 | |NN const regexp_engine* eng \ | |
1843 | |NULLOK REGEXP *old_re \ | |
1844 | |NULLOK bool *is_bare_re \ | |
1845 | |const U32 rx_flags|const U32 pm_flags | |
1846 | Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags | |
1847 | Cp |char* |re_intuit_start|NN REGEXP * const rx \ | |
1848 | |NULLOK SV* sv \ | |
1849 | |NN const char* const strbeg \ | |
1850 | |NN char* strpos \ | |
1851 | |NN char* strend \ | |
1852 | |const U32 flags \ | |
1853 | |NULLOK re_scream_pos_data *data | |
1854 | Cp |SV* |re_intuit_string|NN REGEXP *const r | |
1855 | Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \ | |
1856 | |NN char *strend|NN char *strbeg \ | |
1857 | |SSize_t minend|NN SV *sv \ | |
1858 | |NULLOK void *data|U32 flags | |
1859 | ApR |regnode*|regnext |NULLOK regnode* p | |
1860 | EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \ | |
1861 | |NULLOK SV * const value|const U32 flags | |
1862 | EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \ | |
1863 | |const U32 flags | |
1864 | Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags | |
1865 | Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags | |
1866 | Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags | |
1867 | Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags | |
1868 | Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags | |
1869 | Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags | |
1870 | ||
1871 | : FIXME - is anything in re using this now? | |
1872 | EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv | |
1873 | : FIXME - is anything in re using this now? | |
1874 | EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value | |
1875 | : FIXME - is anything in re using this now? | |
1876 | EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren | |
1877 | ||
1878 | : FIXME - is anything in re using this now? | |
1879 | EXp |SV*|reg_qr_package|NN REGEXP * const rx | |
be879013 KW |
1880 | EXpRT |I16 |do_uniprop_match|NN const char * const key|const U16 key_len |
1881 | EXpRT |const char * const *|get_prop_values|const int table_index | |
1882 | EXpR |SV * |get_prop_definition|const int table_index | |
1883 | EXpRT |const char *|get_deprecated_property_msg|const Size_t warning_offset | |
a9269870 | 1884 | #if defined(PERL_IN_REGCOMP_C) |
09f3c061 | 1885 | EiRT |bool |invlist_is_iterating|NN SV* const invlist |
a9269870 KW |
1886 | EiR |SV* |invlist_contents|NN SV* const invlist \ |
1887 | |const bool traditional_style | |
332f44b7 | 1888 | EixRT |UV |invlist_lowest|NN SV* const invlist |
9f589e47 | 1889 | ESRT |bool |new_regcurly |NN const char *s|NN const char *e |
24ad3c33 KW |
1890 | ERS |SV* |make_exactf_invlist |NN RExC_state_t *pRExC_state \ |
1891 | |NN regnode *node | |
dd14162d KW |
1892 | ES |regnode_offset|reg |NN RExC_state_t *pRExC_state \ |
1893 | |I32 paren|NN I32 *flagp|U32 depth | |
1894 | ES |regnode_offset|regnode_guts|NN RExC_state_t *pRExC_state \ | |
1895 | |const U8 op \ | |
1896 | |const STRLEN extra_len \ | |
1897 | |NN const char* const name | |
1898 | ES |void |change_engine_size|NN RExC_state_t *pRExC_state|const Ptrdiff_t size | |
1899 | ES |regnode_offset|reganode|NN RExC_state_t *pRExC_state|U8 op \ | |
1900 | |U32 arg | |
1901 | ES |regnode_offset|regpnode|NN RExC_state_t *pRExC_state|U8 op \ | |
d3e3ece8 | 1902 | |NN SV * arg |
dd14162d KW |
1903 | ES |regnode_offset|reg2Lanode|NN RExC_state_t *pRExC_state \ |
1904 | |const U8 op \ | |
1905 | |const U32 arg1 \ | |
1906 | |const I32 arg2 | |
1907 | ES |regnode_offset|regatom |NN RExC_state_t *pRExC_state \ | |
1908 | |NN I32 *flagp|U32 depth | |
1909 | ES |regnode_offset|regbranch |NN RExC_state_t *pRExC_state \ | |
1910 | |NN I32 *flagp|I32 first|U32 depth | |
1911 | ES |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \ | |
1912 | |NN regnode* const node \ | |
1913 | |NULLOK SV* const cp_list \ | |
1914 | |NULLOK SV* const runtime_defns \ | |
1915 | |NULLOK SV* const only_utf8_locale_list | |
1916 | ES |void |output_posix_warnings \ | |
1917 | |NN RExC_state_t *pRExC_state \ | |
1918 | |NN AV* posix_warnings | |
1919 | EiT |Size_t |find_first_differing_byte_pos|NN const U8 * s1|NN const U8 * s2| const Size_t max | |
1920 | ES |AV* |add_multi_match|NULLOK AV* multi_char_matches \ | |
1921 | |NN SV* multi_string \ | |
1922 | |const STRLEN cp_count | |
1923 | ES |regnode_offset|regclass|NN RExC_state_t *pRExC_state \ | |
1924 | |NN I32 *flagp|U32 depth|const bool stop_at_1 \ | |
1925 | |bool allow_multi_fold \ | |
1926 | |const bool silence_non_portable \ | |
1927 | |const bool strict \ | |
1928 | |bool optimizable \ | |
1929 | |NULLOK SV** ret_invlist | |
be879013 KW |
1930 | ES |SV * |parse_uniprop_string|NN const char * const name \ |
1931 | |Size_t name_len \ | |
1932 | |const bool is_utf8 \ | |
1933 | |const bool to_fold \ | |
1934 | |const bool runtime \ | |
1935 | |const bool deferrable \ | |
cc06e157 | 1936 | |NULLOK AV ** strings \ |
be879013 KW |
1937 | |NN bool * user_defined_ptr \ |
1938 | |NN SV * msg \ | |
1939 | |const STRLEN level | |
1940 | ES |SV * |handle_user_defined_property|NN const char * name \ | |
1941 | |const STRLEN name_len \ | |
1942 | |const bool is_utf8 \ | |
1943 | |const bool to_fold \ | |
1944 | |const bool runtime \ | |
1945 | |const bool deferrable \ | |
1946 | |NN SV* contents \ | |
1947 | |NN bool *user_defined_ptr \ | |
1948 | |NN SV * msg \ | |
1949 | |const STRLEN level | |
51bd1941 | 1950 | ERS |REGEXP*|compile_wildcard|NN const char * subpattern|const STRLEN len\ |
be879013 KW |
1951 | |const bool ignore_case |
1952 | ES |I32 |execute_wildcard|NN REGEXP * const prog|NN char* stringarg \ | |
1953 | |NN char* strend|NN char* strbeg \ | |
1954 | |SSize_t minend |NN SV* screamer|U32 nosave | |
b1a91f30 KW |
1955 | ES |bool |handle_names_wildcard \ |
1956 | |NN const char * wname \ | |
1957 | |const STRLEN wname_len \ | |
cc06e157 KW |
1958 | |NN SV ** prop_definition \ |
1959 | |NN AV ** strings | |
dd14162d KW |
1960 | ES |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \ |
1961 | |NN SV** invlist | |
19bb2455 | 1962 | ES |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \ |
dd14162d KW |
1963 | |NN I32 *flagp \ |
1964 | |NN char * parse_start \ | |
1965 | |char ch | |
1966 | ESTR |unsigned int|regex_set_precedence|const U8 my_operator | |
1967 | ES |regnode_offset|handle_regex_sets|NN RExC_state_t *pRExC_state \ | |
1968 | |NULLOK SV ** return_invlist \ | |
1969 | |NN I32 *flagp|U32 depth \ | |
1970 | |NN char * const oregcomp_parse | |
1971 | ES |void |set_regex_pv |NN RExC_state_t *pRExC_state|NN REGEXP *Rx | |
1972 | # if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING) | |
1973 | ES |void |dump_regex_sets_structures \ | |
1974 | |NN RExC_state_t *pRExC_state \ | |
1975 | |NN AV * stack \ | |
1976 | |const IV fence|NN AV * fence_stack | |
1977 | # endif | |
1978 | ES |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state | |
1979 | ES |regnode_offset|reg_node|NN RExC_state_t *pRExC_state|U8 op | |
1980 | ES |regnode_offset|regpiece|NN RExC_state_t *pRExC_state \ | |
1981 | |NN I32 *flagp|U32 depth | |
1982 | ES |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \ | |
1983 | |NULLOK regnode_offset* nodep \ | |
1984 | |NULLOK UV *code_point_p \ | |
1985 | |NULLOK int* cp_count \ | |
1986 | |NN I32 *flagp \ | |
1987 | |const bool strict \ | |
1988 | |const U32 depth | |
1989 | ES |void |reginsert |NN RExC_state_t *pRExC_state \ | |
1990 | |const U8 op \ | |
1991 | |const regnode_offset operand \ | |
1992 | |const U32 depth | |
1993 | ESR |bool |regtail |NN RExC_state_t * pRExC_state \ | |
1994 | |NN const regnode_offset p \ | |
1995 | |NN const regnode_offset val \ | |
1996 | |const U32 depth | |
1997 | ES |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \ | |
1998 | |U32 flags | |
1999 | ES |U32 |join_exact |NN RExC_state_t *pRExC_state \ | |
2000 | |NN regnode *scan|NN UV *min_subtract \ | |
2001 | |NN bool *unfolded_multi_char \ | |
2002 | |U32 flags|NULLOK regnode *val|U32 depth | |
19bb2455 | 2003 | EST |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state |
dd14162d KW |
2004 | ES |void |nextchar |NN RExC_state_t *pRExC_state |
2005 | ES |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \ | |
2006 | |NN char ** p \ | |
2007 | |const bool force_to_xmod | |
2008 | EiT |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p | |
2009 | ES |void |scan_commit |NN const RExC_state_t *pRExC_state \ | |
2010 | |NN struct scan_data_t *data \ | |
2011 | |NN SSize_t *minlenp \ | |
2012 | |int is_inf | |
2013 | ES |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr | |
2014 | ES |void |ssc_anything |NN regnode_ssc *ssc | |
2015 | ESRT |int |ssc_is_anything|NN const regnode_ssc *ssc | |
2016 | ES |void |ssc_init |NN const RExC_state_t *pRExC_state \ | |
2017 | |NN regnode_ssc *ssc | |
2018 | ESRT |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \ | |
2019 | |NN const regnode_ssc *ssc | |
2020 | ES |void |ssc_and |NN const RExC_state_t *pRExC_state \ | |
2021 | |NN regnode_ssc *ssc \ | |
2022 | |NN const regnode_charclass *and_with | |
2023 | ES |void |ssc_or |NN const RExC_state_t *pRExC_state \ | |
2024 | |NN regnode_ssc *ssc \ | |
2025 | |NN const regnode_charclass *or_with | |
2026 | ES |SV* |get_ANYOF_cp_list_for_ssc \ | |
2027 | |NN const RExC_state_t *pRExC_state \ | |
2028 | |NN const regnode_charclass* const node | |
19bb2455 | 2029 | ES |void |ssc_intersection|NN regnode_ssc *ssc \ |
dd14162d | 2030 | |NN SV* const invlist|const bool invert_2nd |
19bb2455 | 2031 | ES |void |ssc_union |NN regnode_ssc *ssc \ |
dd14162d | 2032 | |NN SV* const invlist|const bool invert_2nd |
19bb2455 | 2033 | ES |void |ssc_add_range |NN regnode_ssc *ssc \ |
dd14162d | 2034 | |UV const start|UV const end |
19bb2455 | 2035 | ES |void |ssc_cp_and |NN regnode_ssc *ssc \ |
dd14162d | 2036 | |UV const cp |
19bb2455 | 2037 | EST |void |ssc_clear_locale|NN regnode_ssc *ssc |
dd14162d KW |
2038 | ETS |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \ |
2039 | |NN const regnode_ssc * ssc | |
2040 | ES |void |ssc_finalize |NN RExC_state_t *pRExC_state \ | |
2041 | |NN regnode_ssc *ssc | |
2042 | ES |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \ | |
2043 | |NN regnode **scanp|NN SSize_t *minlenp \ | |
2044 | |NN SSize_t *deltap|NN regnode *last \ | |
2045 | |NULLOK struct scan_data_t *data \ | |
2046 | |I32 stopparen|U32 recursed_depth \ | |
2047 | |NULLOK regnode_ssc *and_withp \ | |
2048 | |U32 flags|U32 depth | |
2049 | ESR |SV * |get_ANYOFM_contents|NN const regnode * n | |
2050 | ESRT |U32 |add_data |NN RExC_state_t* const pRExC_state \ | |
2051 | |NN const char* const s|const U32 n | |
2052 | frS |void |re_croak |bool utf8|NN const char* pat|... | |
2053 | ES |int |handle_possible_posix \ | |
2054 | |NN RExC_state_t *pRExC_state \ | |
2055 | |NN const char* const s \ | |
2056 | |NULLOK char ** updated_parse_ptr \ | |
2057 | |NULLOK AV** posix_warnings \ | |
2058 | |const bool check_only | |
2059 | ES |I32 |make_trie |NN RExC_state_t *pRExC_state \ | |
2060 | |NN regnode *startbranch|NN regnode *first \ | |
2061 | |NN regnode *last|NN regnode *tail \ | |
2062 | |U32 word_count|U32 flags|U32 depth | |
2063 | ES |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \ | |
2064 | |NN regnode *source|U32 depth | |
2065 | ETSR |int |edit_distance |NN const UV *src \ | |
2066 | |NN const UV *tgt \ | |
2067 | |const STRLEN x \ | |
2068 | |const STRLEN y \ | |
2069 | |const SSize_t maxDistance | |
dd14162d KW |
2070 | # ifdef DEBUGGING |
2071 | EFp |int |re_indentf |NN const char *fmt|U32 depth|... | |
2072 | ES |void |regdump_intflags|NULLOK const char *lead| const U32 flags | |
2073 | ES |void |regdump_extflags|NULLOK const char *lead| const U32 flags | |
2074 | ES |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \ | |
2075 | |NN const regnode *node \ | |
2076 | |NULLOK const regnode *last \ | |
2077 | |NULLOK const regnode *plast \ | |
2078 | |NN SV* sv|I32 indent|U32 depth | |
2079 | ES |void |put_code_point |NN SV* sv|UV c | |
2080 | ES |bool |put_charclass_bitmap_innards|NN SV* sv \ | |
2081 | |NULLOK char* bitmap \ | |
2082 | |NULLOK SV* nonbitmap_invlist \ | |
2083 | |NULLOK SV* only_utf8_locale_invlist\ | |
2084 | |NULLOK const regnode * const node \ | |
2085 | |const U8 flags \ | |
2086 | |const bool force_as_is_display | |
2087 | ES |SV* |put_charclass_bitmap_innards_common \ | |
2088 | |NN SV* invlist \ | |
2089 | |NULLOK SV* posixes \ | |
2090 | |NULLOK SV* only_utf8 \ | |
2091 | |NULLOK SV* not_utf8 \ | |
2092 | |NULLOK SV* only_utf8_locale \ | |
2093 | |const bool invert | |
2094 | ES |void |put_charclass_bitmap_innards_invlist \ | |
2095 | |NN SV *sv \ | |
2096 | |NN SV* invlist | |
2097 | ES |void |put_range |NN SV* sv|UV start|const UV end \ | |
2098 | |const bool allow_literals | |
2099 | ES |void |dump_trie |NN const struct _reg_trie_data *trie\ | |
2100 | |NULLOK HV* widecharmap|NN AV *revcharmap\ | |
2101 | |U32 depth | |
2102 | ES |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\ | |
2103 | |NULLOK HV* widecharmap|NN AV *revcharmap\ | |
2104 | |U32 next_alloc|U32 depth | |
2105 | ES |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\ | |
2106 | |NULLOK HV* widecharmap|NN AV *revcharmap\ | |
2107 | |U32 next_alloc|U32 depth | |
2108 | ESR |bool |regtail_study |NN RExC_state_t *pRExC_state \ | |
2109 | |NN regnode_offset p|NN const regnode_offset val|U32 depth | |
2110 | # endif | |
2111 | # ifndef PERL_EXT_RE_BUILD | |
dd14162d KW |
2112 | EiRT |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0 |
2113 | EiRT |UV |invlist_max |NN SV* const invlist | |
2114 | EiRT |IV* |get_invlist_previous_index_addr|NN SV* invlist | |
2115 | EiT |void |invlist_set_previous_index|NN SV* const invlist|const IV index | |
2116 | EiRT |IV |invlist_previous_index|NN SV* const invlist | |
2117 | EiT |void |invlist_trim |NN SV* invlist | |
2118 | Ei |void |invlist_clear |NN SV* invlist | |
2119 | ES |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end | |
2120 | ES |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src | |
2121 | S |void |initialize_invlist_guts|NN SV* invlist|const Size_t initial_size | |
2122 | # endif | |
2123 | #endif | |
2124 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) | |
2125 | EiR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp | |
2126 | Ei |void |invlist_extend |NN SV* const invlist|const UV len | |
2127 | Ei |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset | |
2128 | EiRT |UV |invlist_highest|NN SV* const invlist | |
2129 | #endif | |
2130 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C) | |
2131 | m |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i | |
2132 | EXp |void |_invlist_intersection_maybe_complement_2nd \ | |
2133 | |NULLOK SV* const a|NN SV* const b \ | |
2134 | |const bool complement_b|NN SV** i | |
2135 | Cm |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output | |
2136 | EXp |void |_invlist_union_maybe_complement_2nd \ | |
2137 | |NULLOK SV* const a|NN SV* const b \ | |
2138 | |const bool complement_b|NN SV** output | |
2139 | m |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result | |
2140 | EXp |void |_invlist_invert|NN SV* const invlist | |
2141 | EXpR |SV* |_new_invlist |IV initial_size | |
2142 | EXpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end | |
2143 | EXpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr | |
2144 | #endif | |
2145 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) | |
2146 | EpRX |bool |grok_bslash_x |NN char** s \ | |
2147 | |NN const char* const send \ | |
2148 | |NN UV* uv \ | |
2149 | |NN const char** message \ | |
2150 | |NULLOK U32 * packed_warn \ | |
2151 | |const bool strict \ | |
2152 | |const bool allow_UV_MAX \ | |
2153 | |const bool utf8 | |
2154 | EpRX |bool |grok_bslash_c |const char source \ | |
2155 | |NN U8 * result \ | |
2156 | |NN const char** message \ | |
2157 | |NULLOK U32 * packed_warn | |
2158 | EpRX |bool |grok_bslash_o |NN char** s \ | |
2159 | |NN const char* const send \ | |
2160 | |NN UV* uv \ | |
2161 | |NN const char** message \ | |
2162 | |NULLOK U32 * packed_warn \ | |
2163 | |const bool strict \ | |
2164 | |const bool allow_UV_MAX \ | |
2165 | |const bool utf8 | |
2166 | EpRX |const char *|form_alien_digit_msg|const U8 which \ | |
2167 | |const STRLEN valids_len \ | |
2168 | |NN const char * const first_bad\ | |
2169 | |NN const char * const send \ | |
2170 | |const bool UTF \ | |
2171 | |const bool braced | |
2172 | #endif | |
2173 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) | |
2174 | EpRX |const char *|form_cp_too_large_msg|const U8 which \ | |
2175 | |NULLOK const char * string \ | |
2176 | |const Size_t len \ | |
2177 | |const UV cp | |
2178 | #endif | |
2179 | #if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C) | |
2180 | EXp |void |_invlist_dump |NN PerlIO *file|I32 level \ | |
2181 | |NN const char* const indent \ | |
2182 | |NN SV* const invlist | |
2183 | #endif | |
2184 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C) | |
2185 | EiRT |STRLEN*|get_invlist_iter_addr |NN SV* invlist | |
2186 | EiT |void |invlist_iterinit|NN SV* invlist | |
2187 | EiRT |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end | |
2188 | EiT |void |invlist_iterfinish|NN SV* invlist | |
2189 | #endif | |
2190 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C) | |
2191 | EXpR |SV* |_new_invlist_C_array|NN const UV* const list | |
2192 | EXp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b | |
2193 | #endif | |
2194 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C) | |
2195 | EiT |const char *|get_regex_charset_name|const U32 flags|NN STRLEN* const lenp | |
2196 | #endif | |
2197 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) \ | |
2198 | || defined(PERL_IN_PP_C) || defined(PERL_IN_OP_C) \ | |
2199 | || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) \ | |
2200 | || defined(PERL_IN_DOOP_C) | |
2201 | EiRT |UV* |invlist_array |NN SV* const invlist | |
2202 | EiRT |bool |is_invlist |NULLOK SV* const invlist | |
2203 | EiRT |bool* |get_invlist_offset_addr|NN SV* invlist | |
2204 | EiRT |UV |_invlist_len |NN SV* const invlist | |
2205 | EiRT |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp | |
2206 | EXpRT |SSize_t|_invlist_search |NN SV* const invlist|const UV cp | |
2207 | #endif | |
2208 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) | |
71562af6 KW |
2209 | # ifndef PERL_EXT_RE_BUILD |
2210 | Ep |SV* |get_regclass_nonbitmap_data \ | |
2211 | |NULLOK const regexp *prog \ | |
2212 | |NN const struct regnode *node \ | |
2213 | |bool doinit \ | |
2214 | |NULLOK SV **listsvp \ | |
2215 | |NULLOK SV **lonly_utf8_locale \ | |
2216 | |NULLOK SV **output_invlist | |
2217 | # else | |
2218 | Ep |SV* |get_re_gclass_nonbitmap_data \ | |
dd14162d KW |
2219 | |NULLOK const regexp *prog \ |
2220 | |NN const struct regnode *node \ | |
2221 | |bool doinit \ | |
2222 | |NULLOK SV **listsvp \ | |
2223 | |NULLOK SV **lonly_utf8_locale \ | |
2224 | |NULLOK SV **output_invlist | |
71562af6 | 2225 | #endif |
dd14162d KW |
2226 | Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \ |
2227 | |NULLOK const RExC_state_t *pRExC_state | |
2228 | Efp |int |re_printf |NN const char *fmt|... | |
2229 | #endif | |
2230 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) | |
2231 | ERp |bool |is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *strend|const UV cp | |
2232 | #endif | |
2233 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) | |
2234 | EXTp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags | |
2235 | #endif | |
2236 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C) | |
2237 | EpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist | |
2238 | #endif | |
2239 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) | |
2240 | EiRT |bool |regcurly |NN const char *s | |
2241 | #endif | |
2242 | #if defined(PERL_IN_REGEXEC_C) | |
2243 | ERS |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character|NN const U8* e | |
2244 | ERTS |U8 * |find_next_masked|NN U8 * s \ | |
2245 | |NN const U8 * send \ | |
2246 | |const U8 byte|const U8 mask | |
2247 | ERTS |U8 *|find_span_end |NN U8* s|NN const U8 * send|const U8 span_byte | |
2248 | ERTS |U8 *|find_span_end_mask|NN U8 * s|NN const U8 * send \ | |
2249 | |const U8 span_byte|const U8 mask | |
2250 | ERS |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog | |
2251 | WERS |I32 |regrepeat |NN regexp *prog|NN char **startposp \ | |
2252 | |NN const regnode *p \ | |
2253 | |NN char *loceol \ | |
2254 | |NN regmatch_info *const reginfo \ | |
2255 | |I32 max | |
2256 | ERS |bool |regtry |NN regmatch_info *reginfo|NN char **startposp | |
2257 | ERS |bool |reginclass |NULLOK regexp * const prog \ | |
2258 | |NN const regnode * const n \ | |
2259 | |NN const U8 * const p \ | |
2260 | |NN const U8 * const p_end \ | |
2261 | |bool const utf8_target | |
2262 | WES |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\ | |
2263 | |U32 maxopenparen | |
2264 | WES |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p | |
2265 | WES |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p | |
2266 | ERST |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim | |
2267 | ERST |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \ | |
2268 | |NN const U8 *rlim | |
2269 | ERST |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim | |
2270 | ERS |char* |find_byclass |NN regexp * prog|NN const regnode *c \ | |
2271 | |NN char *s|NN const char *strend \ | |
2272 | |NULLOK regmatch_info *reginfo | |
2273 | ES |void |to_utf8_substr |NN regexp * prog | |
2274 | ES |bool |to_byte_substr |NN regexp * prog | |
2275 | ERST |I32 |reg_check_named_buff_matched |NN const regexp *rex \ | |
2276 | |NN const regnode *scan | |
2277 | ESR |bool |isGCB |const GCB_enum before \ | |
2278 | |const GCB_enum after \ | |
2279 | |NN const U8 * const strbeg \ | |
2280 | |NN const U8 * const curpos \ | |
2281 | |const bool utf8_target | |
2282 | ESR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \ | |
2283 | |NN U8 ** curpos \ | |
2284 | |const bool utf8_target | |
2285 | ESR |bool |isLB |LB_enum before \ | |
2286 | |LB_enum after \ | |
2287 | |NN const U8 * const strbeg \ | |
2288 | |NN const U8 * const curpos \ | |
2289 | |NN const U8 * const strend \ | |
2290 | |const bool utf8_target | |
2291 | ESR |LB_enum|advance_one_LB |NN U8 ** curpos \ | |
2292 | |NN const U8 * const strend \ | |
2293 | |const bool utf8_target | |
2294 | ESR |LB_enum|backup_one_LB |NN const U8 * const strbeg \ | |
2295 | |NN U8 ** curpos \ | |
2296 | |const bool utf8_target | |
2297 | ESR |bool |isSB |SB_enum before \ | |
2298 | |SB_enum after \ | |
2299 | |NN const U8 * const strbeg \ | |
2300 | |NN const U8 * const curpos \ | |
2301 | |NN const U8 * const strend \ | |
2302 | |const bool utf8_target | |
2303 | ESR |SB_enum|advance_one_SB |NN U8 ** curpos \ | |
2304 | |NN const U8 * const strend \ | |
2305 | |const bool utf8_target | |
2306 | ESR |SB_enum|backup_one_SB |NN const U8 * const strbeg \ | |
2307 | |NN U8 ** curpos \ | |
2308 | |const bool utf8_target | |
2309 | ESR |bool |isWB |WB_enum previous \ | |
2310 | |WB_enum before \ | |
2311 | |WB_enum after \ | |
2312 | |NN const U8 * const strbeg \ | |
2313 | |NN const U8 * const curpos \ | |
2314 | |NN const U8 * const strend \ | |
2315 | |const bool utf8_target | |
2316 | ESR |WB_enum|advance_one_WB |NN U8 ** curpos \ | |
2317 | |NN const U8 * const strend \ | |
2318 | |const bool utf8_target \ | |
2319 | |const bool skip_Extend_Format | |
2320 | ESR |WB_enum|backup_one_WB |NN WB_enum * previous \ | |
2321 | |NN const U8 * const strbeg \ | |
2322 | |NN U8 ** curpos \ | |
2323 | |const bool utf8_target | |
2324 | EiT |I32 |foldEQ_latin1_s2_folded|NN const char* a|NN const char* b|I32 len | |
2325 | # ifdef DEBUGGING | |
2326 | ES |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\ | |
2327 | |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth | |
2328 | ES |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\ | |
2329 | |NN const char *start|NN const char *end\ | |
2330 | |NN const char *blurb | |
2331 | ||
2332 | EFp |int |re_exec_indentf|NN const char *fmt|U32 depth|... | |
2333 | # endif | |
2334 | #endif | |
2335 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) | |
2336 | EXRp |bool |isFOO_lc |const U8 classnum|const U8 character | |
2337 | #endif | |
2338 | ||
2339 | Ap |void |taint_env | |
2340 | Ap |void |taint_proper |NULLOK const char* f|NN const char *const s | |
2341 | EXp |char * |_byte_dump_string \ | |
2342 | |NN const U8 * const start \ | |
2343 | |const STRLEN len \ | |
2344 | |const bool format | |
2345 | ||
2346 | #if defined(PERL_IN_UTF8_C) | |
2347 | iTR |int |does_utf8_overflow|NN const U8 * const s \ | |
2348 | |NN const U8 * e \ | |
2349 | |const bool consider_overlongs | |
2350 | iTR |int |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s \ | |
2351 | |const STRLEN len | |
2352 | iTR |int |isFF_OVERLONG |NN const U8 * const s|const STRLEN len | |
2353 | SR |char * |unexpected_non_continuation_text \ | |
2354 | |NN const U8 * const s \ | |
2355 | |STRLEN print_len \ | |
2356 | |const STRLEN non_cont_byte_pos \ | |
2357 | |const STRLEN expect_len | |
2358 | #if 0 /* Not currently used, but may be needed in the future */ | |
2359 | S |void |warn_on_first_deprecated_use \ | |
2360 | |NN const char * const name \ | |
2361 | |NN const char * const alternative \ | |
2362 | |const bool use_locale \ | |
2363 | |NN const char * const file \ | |
2364 | |const unsigned line | |
2365 | #endif | |
2366 | S |UV |_to_utf8_case |const UV uv1 \ | |
2367 | |NULLOK const U8 *p \ | |
2368 | |NN U8* ustrp \ | |
2369 | |NN STRLEN *lenp \ | |
2370 | |NN SV *invlist \ | |
2371 | |NN const I32 * const invmap \ | |
2372 | |NULLOK const U32 * const * const aux_tables \ | |
8946fcd9 KW |
2373 | |NULLOK const U8 * const aux_table_lengths \ |
2374 | |NN const char * const normal | |
9f589e47 KW |
2375 | S |UV |turkic_fc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp |
2376 | S |UV |turkic_lc |NN const U8 * const p0|NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp | |
2377 | S |UV |turkic_uc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp | |
b9992569 | 2378 | #endif |
09232555 | 2379 | Cp |UV |_to_utf8_lower_flags|NN const U8 *p|NULLOK const U8* e \ |
059703b0 | 2380 | |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags |
09232555 | 2381 | Cp |UV |_to_utf8_upper_flags |NN const U8 *p|NULLOK const U8 *e \ |
059703b0 | 2382 | |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags |
09232555 | 2383 | Cp |UV |_to_utf8_title_flags |NN const U8 *p|NULLOK const U8* e \ |
059703b0 | 2384 | |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags |
09232555 | 2385 | Cp |UV |_to_utf8_fold_flags|NN const U8 *p|NULLOK const U8 *e \ |
059703b0 | 2386 | |NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags |
83f78d1a | 2387 | #if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C) |
45b29440 | 2388 | pT |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \ |
83f78d1a FC |
2389 | |bool pos1_is_uv|IV len_iv \ |
2390 | |bool len_is_uv|NN STRLEN *posp \ | |
2391 | |NN STRLEN *lenp | |
2392 | #endif | |
94bdecf9 | 2393 | #if defined(UNLINK_ALL_VERSIONS) |
6e732051 | 2394 | Ap |I32 |unlnk |NN const char* f |
94bdecf9 | 2395 | #endif |
57f51a64 | 2396 | AbpdD |SSize_t|unpack_str |NN const char *pat|NN const char *patend|NN const char *s \ |
aec46f14 AL |
2397 | |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \ |
2398 | |I32 ocnt|U32 flags | |
e1b825c1 | 2399 | Apd |SSize_t|unpackstring |NN const char *pat|NN const char *patend|NN const char *s \ |
aec46f14 AL |
2400 | |NN const char *strend|U32 flags |
2401 | Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash | |
67022846 | 2402 | : Used in gv.c, hv.c |
78197f2f | 2403 | p |void |unshare_hek |NULLOK HEK* hek |
67022846 | 2404 | : Used in perly.y |
aec46f14 | 2405 | p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg |
09232555 | 2406 | Cp |void |_force_out_malformed_utf8_message \ |
9cbfb8ab KW |
2407 | |NN const U8 *const p|NN const U8 * const e|const U32 flags \ |
2408 | |const bool die_here | |
f46dcac2 KW |
2409 | EXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|Size_t bytelen|NN Size_t *newlen |
2410 | EXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|Size_t bytelen|NN Size_t *newlen | |
622f12e7 | 2411 | AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e |
cfe24c19 | 2412 | AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b |
45b29440 KW |
2413 | AipdRT |U8* |utf8_hop |NN const U8 *s|SSize_t off |
2414 | AipdRT |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start | |
2415 | AipdRT |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end | |
2416 | AipdRT |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end | |
e4aeb12f | 2417 | Apxd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp |
fed3ba5d NC |
2418 | Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \ |
2419 | |STRLEN ulen | |
54c193ae | 2420 | AMxdp |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p |
e4aeb12f | 2421 | AxTp |U8* |bytes_from_utf8_loc|NN const U8 *s \ |
976c1b08 KW |
2422 | |NN STRLEN *lenp \ |
2423 | |NN bool *is_utf8p \ | |
2424 | |NULLOK const U8 ** first_unconverted | |
e4aeb12f | 2425 | Apxd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp |
86a5062a | 2426 | ApdDb |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen |
09232555 KW |
2427 | CbpdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen |
2428 | CbpD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen | |
54c193ae | 2429 | AMpd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen |
9a9a6c98 | 2430 | Cip |UV |utf8_to_uvchr_buf_helper|NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen |
09232555 | 2431 | CpdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen |
09f3c061 | 2432 | p |bool |check_utf8_print |NN const U8 *s|const STRLEN len |
1754c1a1 | 2433 | |
54c193ae | 2434 | AdMTp |UV |utf8n_to_uvchr |NN const U8 *s \ |
f9380377 KW |
2435 | |STRLEN curlen \ |
2436 | |NULLOK STRLEN *retlen \ | |
2437 | |const U32 flags | |
54c193ae | 2438 | AdMTp |UV |utf8n_to_uvchr_error|NN const U8 *s \ |
f9380377 KW |
2439 | |STRLEN curlen \ |
2440 | |NULLOK STRLEN *retlen \ | |
2441 | |const U32 flags \ | |
2442 | |NULLOK U32 * errors | |
c9182d9c | 2443 | AxTdip |UV |utf8n_to_uvchr_msgs|NN const U8 *s \ |
e6a4ffc3 KW |
2444 | |STRLEN curlen \ |
2445 | |NULLOK STRLEN *retlen \ | |
2446 | |const U32 flags \ | |
2447 | |NULLOK U32 * errors \ | |
2448 | |NULLOK AV ** msgs | |
09232555 | 2449 | CTp |UV |_utf8n_to_uvchr_msgs_helper \ |
e6a4ffc3 | 2450 | |NN const U8 *s \ |
37657a5b KW |
2451 | |STRLEN curlen \ |
2452 | |NULLOK STRLEN *retlen \ | |
2453 | |const U32 flags \ | |
2454 | |NULLOK U32 * errors \ | |
2455 | |NULLOK AV ** msgs | |
09232555 | 2456 | CipTRd |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen |
86a5062a | 2457 | CdbDp |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags |
1754c1a1 | 2458 | |
de69f3af | 2459 | Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv |
09232555 | 2460 | Cp |U8* |uvuni_to_utf8 |NN U8 *d|UV uv |
de69f3af | 2461 | Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags |
e4aeb12f | 2462 | Admx |U8* |uvchr_to_utf8_flags_msgs|NN U8 *d|UV uv|UV flags|NULLOK HV ** msgs |
917b9b54 | 2463 | CMpd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|const UV flags |
09232555 | 2464 | Cp |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV uv|const UV flags|NULLOK HV** msgs |
86a5062a | 2465 | CdpbD |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags |
7827dc65 AL |
2466 | Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags |
2467 | ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags | |
e39a4130 | 2468 | EXpR |Size_t |_inverse_folds |const UV cp \ |
1b292063 | 2469 | |NN U32 * first_folds_to \ |
40d2776f | 2470 | |NN const U32 ** remaining_folds_to |
d67fec57 | 2471 | : Used by Data::Alias |
6d9a2efc | 2472 | EXp |void |vivify_defelem |NN SV* sv |
67022846 | 2473 | : Used in pp.c |
9026059d | 2474 | pR |SV* |vivify_ref |NN SV* sv|U32 to_what |
67022846 | 2475 | : Used in pp_sys.c |
aec46f14 | 2476 | p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags |
67022846 | 2477 | : Used in locale.c and perl.c |
7827dc65 | 2478 | p |U32 |parse_unicode_opts|NN const char **popt |
0a87c459 | 2479 | Ap |U32 |seed |
45b29440 KW |
2480 | XpTo |double |drand48_r |NN perl_drand48_t *random_state |
2481 | XpTo |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed | |
67022846 | 2482 | : Only used in perl.c |
e950ecba | 2483 | p |void |get_hash_seed |NN unsigned char * const seed_buffer |
67022846 | 2484 | : Used in doio.c, pp_hot.c, pp_sys.c |
831e4cc3 | 2485 | p |void |report_evil_fh |NULLOK const GV *gv |
a5390457 NC |
2486 | : Used in doio.c, pp_hot.c, pp_sys.c |
2487 | p |void |report_wrongway_fh|NULLOK const GV *gv|const char have | |
67022846 | 2488 | : Used in mg.c, pp.c, pp_hot.c, regcomp.c |
b3dbd76e | 2489 | XEpd |void |report_uninit |NULLOK const SV *uninit_sv |
156d738f FC |
2490 | #if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C) |
2491 | p |void |report_redefined_cv|NN const SV *name \ | |
2492 | |NN const CV *old_cv \ | |
2493 | |NULLOK SV * const *new_const_svp | |
2494 | #endif | |
c5df3096 | 2495 | Apd |void |warn_sv |NN SV *baseex |
aec46f14 | 2496 | Afpd |void |warn |NN const char* pat|... |
c5df3096 | 2497 | Apd |void |vwarn |NN const char* pat|NULLOK va_list* args |
aec46f14 | 2498 | Afp |void |warner |U32 err|NN const char* pat|... |
a2a5de95 | 2499 | Afp |void |ck_warner |U32 err|NN const char* pat|... |
9b387841 | 2500 | Afp |void |ck_warner_d |U32 err|NN const char* pat|... |
aec46f14 | 2501 | Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args |
470dd224 JH |
2502 | #ifdef USE_C_BACKTRACE |
2503 | pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip | |
2504 | dm |void |free_c_backtrace|NN Perl_c_backtrace* bt | |
2505 | Apd |SV* |get_c_backtrace_dump|int max_depth|int skip | |
2506 | Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip | |
2507 | #endif | |
67022846 | 2508 | : FIXME |
aec46f14 | 2509 | p |void |watch |NN char** addr |
a377a099 | 2510 | Am |I32 |whichsig |NN const char* sig |
e950ecba KW |
2511 | Ap |I32 |whichsig_sv |NN SV* sigsv |
2512 | Ap |I32 |whichsig_pv |NN const char* sig | |
2513 | Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len | |
c8028aa6 | 2514 | : used to check for NULs in pathnames and other names |
c9182d9c | 2515 | AiRdp |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name |
81f54ac7 | 2516 | #ifdef PERL_CORE |
45b29440 | 2517 | iTR |bool |should_warn_nl|NN const char *pv |
81f54ac7 | 2518 | #endif |
67022846 | 2519 | : Used in pp_ctl.c |
7d0994e0 | 2520 | p |void |write_to_stderr|NN SV* msv |
67022846 | 2521 | : Used in op.c |
15f169a1 | 2522 | p |int |yyerror |NN const char *const s |
d43328d5 | 2523 | p |void |yyquit |
cc8b45bd | 2524 | pr |void |abort_execution|NN const char * const msg|NN const char * const name |
19c62481 | 2525 | p |int |yyerror_pv |NN const char *const s|U32 flags |
68da2a65 | 2526 | p |int |yyerror_pvn |NULLOK const char *const s|STRLEN len|U32 flags |
d67fec57 | 2527 | : Used in perly.y, and by Data::Alias |
6d9a2efc | 2528 | EXp |int |yylex |
28ac2b49 | 2529 | p |void |yyunlex |
67022846 | 2530 | : Used in perl.c, pp_ctl.c |
28ac2b49 | 2531 | p |int |yyparse |int gramtype |
67022846 | 2532 | : Only used in scope.c |
734c2451 | 2533 | p |void |parser_free |NN const yy_parser *parser |
3ac7ff8f FC |
2534 | #ifdef PERL_CORE |
2535 | p |void |parser_free_nexttoke_ops|NN yy_parser *parser \ | |
2536 | |NN OPSLAB *slab | |
2537 | #endif | |
43869a0c | 2538 | #if defined(PERL_IN_TOKE_C) |
9f589e47 | 2539 | S |int |yywarn |NN const char *const s|U32 flags |
af41e527 | 2540 | #endif |
94bdecf9 | 2541 | #if defined(MYMALLOC) |
6e9b0e18 | 2542 | Ap |void |dump_mstats |NN const char* s |
ec1aec95 | 2543 | Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level |
94bdecf9 | 2544 | #endif |
45b29440 KW |
2545 | ATpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes |
2546 | ATpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size | |
2547 | ATpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes | |
2548 | ATp |Free_t |safesysfree |Malloc_t where | |
d68c938a | 2549 | CrTp |void |croak_memory_wrap |
94bdecf9 JH |
2550 | #if defined(PERL_GLOBAL_STRUCT) |
2551 | Ap |struct perl_vars *|GetVars | |
77304e85 | 2552 | Ap |struct perl_vars*|init_global_struct |
7827dc65 | 2553 | Ap |void |free_global_struct|NN struct perl_vars *plvarsp |
94bdecf9 JH |
2554 | #endif |
2555 | Ap |int |runops_standard | |
2556 | Ap |int |runops_debug | |
66ceb532 SS |
2557 | Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|... |
2558 | Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \ | |
2559 | |NULLOK va_list *const args | |
2b021c53 | 2560 | Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr |
b719801d KW |
2561 | ApdbM |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len |
2562 | ApdbM |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv | |
89e38212 SS |
2563 | Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|... |
2564 | Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \ | |
2565 | |NULLOK va_list *const args | |
aad570aa | 2566 | Apd |void |sv_setiv_mg |NN SV *const sv|const IV i |
57f51a64 | 2567 | ApdbD |void |sv_setpviv_mg |NN SV *const sv|const IV iv |
aad570aa SS |
2568 | Apd |void |sv_setuv_mg |NN SV *const sv|const UV u |
2569 | Apd |void |sv_setnv_mg |NN SV *const sv|const NV num | |
2e000ff2 SS |
2570 | Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr |
2571 | Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len | |
7bc54cea | 2572 | Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr |
b719801d | 2573 | ApdbM |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len |
aec46f14 | 2574 | ApR |MGVTBL*|get_vtbl |int vtbl_id |
3df15adc | 2575 | Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \ |
94bdecf9 | 2576 | |STRLEN pvlim |
4420a417 | 2577 | Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\ |
ab3bbdeb YO |
2578 | |const STRLEN count|const STRLEN max\ |
2579 | |NULLOK STRLEN * const escaped\ | |
dd14162d | 2580 | |const U32 flags |
e950ecba | 2581 | Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\ |
ab3bbdeb | 2582 | |const STRLEN count|const STRLEN max\ |
ddc5bc0f YO |
2583 | |NULLOK char const * const start_color\ |
2584 | |NULLOK char const * const end_color\ | |
dd14162d | 2585 | |const U32 flags |
aec46f14 AL |
2586 | Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|... |
2587 | Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \ | |
2588 | |NULLOK va_list *args | |
b4390064 NC |
2589 | Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\ |
2590 | |NULLOK GV *sv | |
2591 | Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\ | |
2592 | |NULLOK GV *sv | |
4c31e473 NC |
2593 | Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\ |
2594 | |NULLOK HV *sv | |
3dc78631 | 2595 | Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \ |
94bdecf9 | 2596 | |I32 maxnest|bool dumpops|STRLEN pvlim |
aec46f14 AL |
2597 | Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o |
2598 | Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm | |
1b6737cc | 2599 | Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \ |
94bdecf9 | 2600 | |I32 maxnest|bool dumpops|STRLEN pvlim |
1b6737cc | 2601 | Ap |void |magic_dump |NULLOK const MAGIC *mg |
94bdecf9 | 2602 | Ap |void |reginitcolors |
b719801d KW |
2603 | ApdRMb |char* |sv_2pv_nolen |NN SV* sv |
2604 | ApdRMb |char* |sv_2pvutf8_nolen|NN SV* sv | |
2605 | ApdRMb |char* |sv_2pvbyte_nolen|NN SV* sv | |
2606 | ApMdbR |char* |sv_pv |NN SV *sv | |
2607 | ApMdbR |char* |sv_pvutf8 |NN SV *sv | |
2608 | ApMdbR |char* |sv_pvbyte |NN SV *sv | |
2609 | ApMdb |STRLEN |sv_utf8_upgrade|NN SV *sv | |
6a71721d | 2610 | Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv |
b719801d | 2611 | ApdMb |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok |
423ce623 P |
2612 | Amd |bool |sv_utf8_downgrade_nomg|NN SV *const sv|const bool fail_ok |
2613 | Apd |bool |sv_utf8_downgrade_flags|NN SV *const sv|const bool fail_ok|const U32 flags | |
7bc54cea | 2614 | Apd |void |sv_utf8_encode |NN SV *const sv |
43c6a1a7 | 2615 | Apd |bool |sv_utf8_decode |NN SV *const sv |
b719801d | 2616 | ApdMb |void |sv_force_normal|NN SV *sv |
2e000ff2 | 2617 | Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags |
a953aca5 | 2618 | pX |SSize_t|tmps_grow_p |SSize_t ix |
2b021c53 | 2619 | Apd |SV* |sv_rvweaken |NN SV *const sv |
ae2cf9f6 | 2620 | Apd |SV* |sv_rvunweaken |NN SV *const sv |
e4aeb12f | 2621 | ATpxd |SV* |sv_get_backrefs|NN SV *const sv |
3f2f854a KW |
2622 | AiTMdp |SV * |SvREFCNT_inc |NULLOK SV *sv |
2623 | AiTMdp |SV * |SvREFCNT_inc_NN|NN SV *sv | |
2624 | AiTMdp |void |SvREFCNT_inc_void|NULLOK SV *sv | |
2625 | AiMdp |void |SvREFCNT_dec |NULLOK SV *sv | |
2626 | AiMdp |void |SvREFCNT_dec_NN|NN SV *sv | |
1bd041dc KW |
2627 | AiTp |void |SvAMAGIC_on |NN SV *sv |
2628 | AiTp |void |SvAMAGIC_off |NN SV *sv | |
67022846 | 2629 | : This is indirectly referenced by globals.c. This is somewhat annoying. |
b64e5050 | 2630 | p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg |
46c461b5 | 2631 | Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block |
e8f91c91 | 2632 | Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block |
28ef7048 | 2633 | pdX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \ |
7e68c38b | 2634 | |NULLOK OP *attrs|NULLOK OP *block \ |
e8f91c91 | 2635 | |bool o_is_gv |
50278755 | 2636 | Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \ |
eb8433b7 | 2637 | |NULLOK OP *attrs|NULLOK OP *block |
186a5ba8 | 2638 | p |CV* |newSTUB |NN GV *gv|bool fake |
67022846 | 2639 | : Used in perly.y |
46c461b5 | 2640 | p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs |
94bdecf9 | 2641 | #if defined(USE_ITHREADS) |
6c047da7 YST |
2642 | ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param |
2643 | ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param | |
346c6a29 | 2644 | ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param |
6c047da7 YST |
2645 | ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl |
2646 | ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param | |
2647 | ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param | |
288b8c02 NC |
2648 | Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \ |
2649 | |NN CLONE_PARAMS* param | |
66ceb532 | 2650 | Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param |
60b22aca | 2651 | ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param |
66ceb532 | 2652 | ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param |
b88ec9b8 | 2653 | ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param |
43869a0c | 2654 | #if defined(PERL_IN_SV_C) |
9f589e47 | 2655 | S |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \ |
538f2e76 | 2656 | |SSize_t items|NN CLONE_PARAMS *const param |
9f589e47 | 2657 | SR |SV* |sv_dup_common |NN const SV *const sstr \ |
d08d57ef NC |
2658 | |NN CLONE_PARAMS *const param |
2659 | #endif | |
1eb6e4ca | 2660 | ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param |
a09252eb NC |
2661 | ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \ |
2662 | |NN CLONE_PARAMS *const param | |
1eb6e4ca | 2663 | Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param |
66ceb532 | 2664 | Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param |
4674ade5 | 2665 | #endif |
346c6a29 | 2666 | ApR |PTR_TBL_t*|ptr_table_new |
1eb6e4ca SS |
2667 | ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv |
2668 | Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \ | |
2669 | |NN void *const newsv | |
2670 | Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl | |
5c5ade3e | 2671 | ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl |
1eb6e4ca | 2672 | Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl |
ddacffcf | 2673 | #if defined(HAVE_INTERP_INTERN) |
94bdecf9 JH |
2674 | Ap |void |sys_intern_clear |
2675 | Ap |void |sys_intern_init | |
fe826663 NC |
2676 | # if defined(USE_ITHREADS) |
2677 | Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst | |
2678 | # endif | |
94bdecf9 JH |
2679 | #endif |
2680 | ||
9c10ff02 KW |
2681 | : The reason for the 'u' flag is that this passes "aTHX_ x" to its callee: not |
2682 | : a legal C parameter | |
2683 | Admu |const XOP * |Perl_custom_op_xop |NN const OP *o | |
57f51a64 KW |
2684 | AbpRdD |const char * |custom_op_name |NN const OP *o |
2685 | AbpRdD |const char * |custom_op_desc |NN const OP *o | |
ae103e09 | 2686 | pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field |
c1a02cca | 2687 | Adop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \ |
1830b3d9 | 2688 | |NN const XOP *xop |
94bdecf9 | 2689 | |
11675f52 | 2690 | Adp |void |sv_nosharing |NULLOK SV *sv |
57f51a64 | 2691 | AdpbD |void |sv_nolocking |NULLOK SV *sv |
eba16661 | 2692 | Adp |bool |sv_destroyable |NULLOK SV *sv |
57f51a64 | 2693 | AdpbD |void |sv_nounlocking |NULLOK SV *sv |
62375a60 | 2694 | Adp |int |nothreadhook |
0d96b528 | 2695 | p |void |init_constants |
94bdecf9 | 2696 | |
43869a0c | 2697 | #if defined(PERL_IN_DOOP_C) |
f534d546 KW |
2698 | SR |Size_t |do_trans_simple |NN SV * const sv|NN const OPtrans_map * const tbl |
2699 | SR |Size_t |do_trans_count |NN SV * const sv|NN const OPtrans_map * const tbl | |
2700 | SR |Size_t |do_trans_complex |NN SV * const sv|NN const OPtrans_map * const tbl | |
f34acfec KW |
2701 | SR |Size_t |do_trans_invmap |NN SV * const sv|NN AV * const map |
2702 | SR |Size_t |do_trans_count_invmap |NN SV * const sv|NN AV * const map | |
94bdecf9 JH |
2703 | #endif |
2704 | ||
43869a0c | 2705 | #if defined(PERL_IN_GV_C) |
9f589e47 KW |
2706 | S |void |gv_init_svtype |NN GV *gv|const svtype sv_type |
2707 | S |void |gv_magicalize_isa |NN GV *gv | |
2708 | S |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \ | |
90aeefb4 BF |
2709 | |NN const char **name|NN STRLEN *len \ |
2710 | |NN const char *nambeg|STRLEN full_len \ | |
2711 | |const U32 is_utf8|const I32 add | |
9f589e47 | 2712 | S |bool|find_default_stash|NN HV **stash|NN const char *name \ |
90aeefb4 | 2713 | |STRLEN len|const U32 is_utf8|const I32 add \ |
b3041197 | 2714 | |const svtype sv_type |
9f589e47 | 2715 | S |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \ |
1321bbe3 | 2716 | |STRLEN len \ |
b3041197 | 2717 | |const svtype sv_type |
9f589e47 KW |
2718 | S |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type |
2719 | S |bool|gv_is_in_main|NN const char *name|STRLEN len \ | |
536d1a88 | 2720 | |const U32 is_utf8 |
9f589e47 | 2721 | S |void |require_tie_mod|NN GV *gv|NN const char varname \ |
a1683482 | 2722 | |NN const char * name|STRLEN len \ |
dd14162d | 2723 | |const U32 flags |
94bdecf9 JH |
2724 | #endif |
2725 | ||
dd14162d KW |
2726 | #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) |
2727 | po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp | |
f0f5dc9d AL |
2728 | #endif |
2729 | ||
dd14162d KW |
2730 | #if defined(PERL_IN_HV_C) |
2731 | S |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize | |
2732 | S |void |hv_free_entries|NN HV *hv | |
2733 | S |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry | |
2734 | SR |HE* |new_he | |
2735 | SaTR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags | |
2736 | ST |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store | |
2737 | S |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash | |
2738 | SR |HEK* |share_hek_flags|NN const char *str|STRLEN len|U32 hash|int flags | |
2739 | rS |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg | |
2740 | iT |U32|ptr_hash|PTRV u | |
2741 | S |struct xpvhv_aux*|hv_auxinit|NN HV *hv | |
2742 | ST |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter | |
2743 | Sx |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \ | |
2744 | |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \ | |
2745 | |U32 hash | |
2746 | Sx |void |clear_placeholders |NN HV *hv|U32 items | |
94bdecf9 JH |
2747 | #endif |
2748 | ||
dd14162d KW |
2749 | #if defined(PERL_IN_MG_C) |
2750 | S |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags | |
2751 | S |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth | |
2752 | S |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \ | |
2753 | |NN SV *meth|U32 flags \ | |
2754 | |int n|NULLOK SV *val | |
2755 | S |void |restore_magic |NULLOK const void *p | |
2756 | S |void |unwind_handler_stack|NULLOK const void *p | |
2757 | S |void |fixup_errno_string|NN SV* sv | |
2758 | ||
2759 | #endif | |
2760 | ||
2761 | #if defined(PERL_IN_OP_C) | |
2762 | SRT |bool |is_handle_constructor|NN const OP *o|I32 numargs | |
2763 | SR |I32 |assignment_type|NULLOK const OP *o | |
2764 | S |void |forget_pmop |NN PMOP *const o | |
2765 | S |void |find_and_forget_pmops |NN OP *o | |
2766 | S |void |cop_free |NN COP *cop | |
2767 | S |OP* |modkids |NULLOK OP *o|I32 type | |
2768 | S |OP* |scalarboolean |NN OP *o | |
2769 | SR |OP* |search_const |NN OP *o | |
2770 | SR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp | |
2771 | S |void |simplify_sort |NN OP *o | |
2772 | SRT |bool |scalar_mod_type|NULLOK const OP *o|I32 type | |
2773 | S |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp | |
2774 | S |OP * |dup_attrlist |NN OP *o | |
2775 | S |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs | |
2776 | S |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp | |
2777 | S |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid | |
2778 | S |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t | |
2779 | S |void |no_bareword_allowed|NN OP *o | |
2780 | SR |OP* |no_fh_allowed|NN OP *o | |
2781 | SR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags | |
2782 | S |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags | |
2783 | S |bool |looks_like_bool|NN const OP* o | |
2784 | S |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \ | |
2785 | |I32 enter_opcode|I32 leave_opcode \ | |
2786 | |PADOFFSET entertarg | |
2787 | S |OP* |ref_array_or_hash|NULLOK OP* cond | |
2788 | S |bool |process_special_blocks |I32 floor \ | |
2789 | |NN const char *const fullname\ | |
2790 | |NN GV *const gv|NN CV *const cv | |
2791 | S |void |clear_special_blocks |NN const char *const fullname\ | |
2792 | |NN GV *const gv|NN CV *const cv | |
2793 | #endif | |
2794 | XpR |void* |Slab_Alloc |size_t sz | |
2795 | Xp |void |Slab_Free |NN void *op | |
2796 | #if defined(PERL_DEBUG_READONLY_OPS) | |
2797 | # if defined(PERL_CORE) | |
2798 | pe |void |Slab_to_ro |NN OPSLAB *slab | |
2799 | pe |void |Slab_to_rw |NN OPSLAB *const slab | |
2800 | # endif | |
2801 | : Used in OpREFCNT_inc() in sv.c | |
2802 | poex |OP * |op_refcnt_inc |NULLOK OP *o | |
2803 | : FIXME - can be static. | |
2804 | poex |PADOFFSET |op_refcnt_dec |NN OP *o | |
2805 | #endif | |
2806 | ||
2807 | #if defined(PERL_IN_PERL_C) | |
2808 | S |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp | |
2809 | S |void |forbid_setid |const char flag|const bool suidscript | |
2810 | S |void |incpush |NN const char *const dir|STRLEN len \ | |
2811 | |U32 flags | |
2812 | S |SV* |mayberelocate |NN const char *const dir|STRLEN len \ | |
2813 | |U32 flags | |
2814 | S |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags | |
2815 | S |void |init_interp | |
2816 | S |void |init_ids | |
2817 | S |void |init_main_stash | |
2818 | S |void |init_perllib | |
2819 | S |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env | |
2820 | S |void |init_predump_symbols | |
2821 | rS |void |my_exit_jump | |
2822 | S |void |nuke_stacks | |
2823 | S |PerlIO *|open_script |NN const char *scriptname|bool dosearch \ | |
2824 | |NN bool *suidscript | |
2825 | Sr |void |usage | |
2826 | #ifndef SETUID_SCRIPTS_ARE_SECURE_NOW | |
2827 | So |void |validate_suid |NN PerlIO *rsfp | |
2828 | #endif | |
2829 | Sr |void |minus_v | |
2830 | ||
2831 | S |void* |parse_body |NULLOK char **env|XSINIT_t xsinit | |
2832 | rS |void |run_body |I32 oldscope | |
2833 | # ifndef PERL_IS_MINIPERL | |
2834 | S |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem | |
3dab1dad | 2835 | # endif |
94bdecf9 JH |
2836 | #endif |
2837 | ||
dd14162d KW |
2838 | #if defined(PERL_IN_PP_C) |
2839 | S |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping | |
2840 | S |OP* |do_delete_local | |
2841 | SR |SV* |refto |NN SV* sv | |
2842 | #endif | |
2843 | #if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) | |
2844 | : Used in pp_hot.c | |
2845 | pReo |GV* |softref2xv |NN SV *const sv|NN const char *const what \ | |
2846 | |const svtype type|NN SV ***spp | |
2847 | iTR |bool |lossless_NV_to_IV|const NV nv|NN IV * ivp | |
34aeb2e9 | 2848 | #endif |
e0be7821 KW |
2849 | #if defined(PERL_IN_PP_HOT_C) |
2850 | IR |bool |should_we_output_Debug_r|NN regexp * prog | |
2851 | #endif | |
94749a5e | 2852 | |
dd14162d KW |
2853 | #if defined(PERL_IN_PP_PACK_C) |
2854 | S |SSize_t|unpack_rec |NN struct tempsym* symptr|NN const char *s \ | |
2855 | |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s | |
2856 | S |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist | |
2857 | S |SV* |mul128 |NN SV *sv|U8 m | |
2858 | S |SSize_t|measure_struct |NN struct tempsym* symptr | |
2859 | S |bool |next_symbol |NN struct tempsym* symptr | |
2860 | SR |SV* |is_an_int |NN const char *s|STRLEN l | |
2861 | S |int |div128 |NN SV *pnum|NN bool *done | |
2862 | S |const char *|group_end |NN const char *patptr|NN const char *patend \ | |
2863 | |char ender | |
2864 | SR |const char *|get_num |NN const char *patptr|NN SSize_t *lenptr | |
2865 | TS |bool |need_utf8 |NN const char *pat|NN const char *patend | |
2866 | TS |char |first_symbol |NN const char *pat|NN const char *patend | |
2867 | SR |char * |sv_exp_grow |NN SV *sv|STRLEN needed | |
2868 | STR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \ | |
2869 | |const bool needs_swap | |
94749a5e KW |
2870 | #endif |
2871 | ||
dd14162d KW |
2872 | #if defined(PERL_IN_PP_CTL_C) |
2873 | SdR |OP* |docatch |Perl_ppaddr_t firstpp | |
2874 | SR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \ | |
2875 | |U32 flags|NN OP **opstack|NN OP **oplimit | |
2876 | S |MAGIC *|doparseform |NN SV *sv | |
2877 | STR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize | |
2878 | SR |I32 |dopoptoeval |I32 startingblock | |
2879 | SR |I32 |dopoptogivenfor|I32 startingblock | |
2880 | SR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags | |
2881 | SR |I32 |dopoptoloop |I32 startingblock | |
2882 | SR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock | |
2883 | SR |I32 |dopoptowhen |I32 startingblock | |
2884 | S |void |save_lines |NULLOK AV *array|NN SV *sv | |
2885 | S |bool |doeval_compile |U8 gimme \ | |
2886 | |NULLOK CV* outside|U32 seq|NULLOK HV* hh | |
2887 | SR |PerlIO *|check_type_and_open|NN SV *name | |
2888 | #ifndef PERL_DISABLE_PMC | |
2889 | SR |PerlIO *|doopen_pm |NN SV *name | |
2890 | #endif | |
2891 | iRT |bool |path_is_searchable|NN const char *name | |
2892 | SR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen | |
2893 | SR |PMOP* |make_matcher |NN REGEXP* re | |
2894 | SR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv | |
2895 | S |void |destroy_matcher|NN PMOP* matcher | |
2896 | S |OP* |do_smartmatch |NULLOK HV* seen_this \ | |
2897 | |NULLOK HV* seen_other|const bool copied | |
2898 | #endif | |
cb41e5d6 | 2899 | |
dd14162d KW |
2900 | #if defined(PERL_IN_PP_HOT_C) |
2901 | S |void |do_oddball |NN SV **oddkey|NN SV **firstkey | |
2902 | i |HV* |opmethod_stash |NN SV* meth | |
2903 | #endif | |
2904 | ||
2905 | #if defined(PERL_IN_PP_SORT_C) | |
044d25c7 TK |
2906 | I |I32 |sv_ncmp |NN SV *const a|NN SV *const b |
2907 | I |I32 |sv_ncmp_desc |NN SV *const a|NN SV *const b | |
2908 | I |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b | |
2909 | I |I32 |sv_i_ncmp_desc |NN SV *const a|NN SV *const b | |
2910 | I |I32 |amagic_ncmp |NN SV *const a|NN SV *const b | |
2911 | I |I32 |amagic_ncmp_desc |NN SV *const a|NN SV *const b | |
2912 | I |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b | |
2913 | I |I32 |amagic_i_ncmp_desc |NN SV *const a|NN SV *const b | |
2914 | I |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2 | |
2915 | I |I32 |amagic_cmp_desc |NN SV *const str1|NN SV *const str2 | |
2916 | I |I32 |cmp_desc |NN SV *const str1|NN SV *const str2 | |
dd14162d | 2917 | # ifdef USE_LOCALE_COLLATE |
044d25c7 TK |
2918 | I |I32 |amagic_cmp_locale |NN SV *const str1|NN SV *const str2 |
2919 | I |I32 |amagic_cmp_locale_desc|NN SV *const str1|NN SV *const str2 | |
2920 | I |I32 |cmp_locale_desc|NN SV *const str1|NN SV *const str2 | |
dd14162d KW |
2921 | # endif |
2922 | S |I32 |sortcv |NN SV *const a|NN SV *const b | |
2923 | S |I32 |sortcv_xsub |NN SV *const a|NN SV *const b | |
2924 | S |I32 |sortcv_stacked |NN SV *const a|NN SV *const b | |
044d25c7 | 2925 | I |void |sortsv_flags_impl |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags |
dd14162d KW |
2926 | #endif |
2927 | ||
2928 | #if defined(PERL_IN_PP_SYS_C) | |
2929 | S |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop | |
2930 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) | |
2931 | SR |int |dooneliner |NN const char *cmd|NN const char *filename | |
07be1b83 | 2932 | # endif |
dd14162d | 2933 | S |SV * |space_join_names_mortal|NULLOK char *const *array |
94bdecf9 | 2934 | #endif |
dd14162d KW |
2935 | Fp |OP * |tied_method|NN SV *methname|NN SV **sp \ |
2936 | |NN SV *const sv|NN const MAGIC *const mg \ | |
2937 | |const U32 flags|U32 argc|... | |
94bdecf9 | 2938 | |
43869a0c | 2939 | #if defined(PERL_IN_DUMP_C) |
9f589e47 KW |
2940 | S |CV* |deb_curcv |I32 ix |
2941 | S |void |debprof |NN const OP *o | |
2942 | S |UV |sequence_num |NULLOK const OP *o | |
2943 | S |SV* |pm_description |NN const PMOP *pm | |
94bdecf9 JH |
2944 | #endif |
2945 | ||
43869a0c | 2946 | #if defined(PERL_IN_SCOPE_C) |
9f589e47 | 2947 | S |SV* |save_scalar_at |NN SV **sptr|const U32 flags |
94bdecf9 JH |
2948 | #endif |
2949 | ||
4c74a7df | 2950 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C) |
67022846 | 2951 | : Used in gv.c |
2b021c53 | 2952 | po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv |
e15faf7d NC |
2953 | #endif |
2954 | ||
43869a0c | 2955 | #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) |
67022846 | 2956 | : Used in hv.c and mg.c |
e4aeb12f | 2957 | pox |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av |
86f55936 NC |
2958 | #endif |
2959 | ||
579333ee FC |
2960 | #if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C) |
2961 | pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \ | |
2962 | |PADOFFSET targ|NULLOK const SV *const keyname \ | |
1b3df0e6 | 2963 | |SSize_t aindex|int subscript_type |
579333ee FC |
2964 | #endif |
2965 | ||
4c74a7df | 2966 | pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv |
43869a0c | 2967 | #if defined(PERL_IN_SV_C) |
45b29440 | 2968 | TiR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob |
0b754184 | 2969 | i |void |sv_unglob |NN SV *const sv|U32 flags |
9f589e47 KW |
2970 | S |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size |
2971 | S |void |not_a_number |NN SV *const sv | |
2972 | S |void |not_incrementable |NN SV *const sv | |
2973 | S |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask | |
94bdecf9 | 2974 | # ifdef DEBUGGING |
9f589e47 | 2975 | S |void |del_sv |NN SV *p |
94bdecf9 JH |
2976 | # endif |
2977 | # if !defined(NV_PRESERVES_UV) | |
47031da6 | 2978 | # ifdef DEBUGGING |
9f589e47 | 2979 | S |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype |
47031da6 | 2980 | # else |
9f589e47 | 2981 | S |int |sv_2iuv_non_preserve |NN SV *const sv |
47031da6 | 2982 | # endif |
94bdecf9 | 2983 | # endif |
9f589e47 KW |
2984 | SR |STRLEN |expect_number |NN const char **const pattern |
2985 | ST |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \ | |
79d2d448 NC |
2986 | |NN const U8 *const send|NN STRLEN *const uoffset \ |
2987 | |NN bool *const at_end | |
9f589e47 | 2988 | ST |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \ |
503752a1 | 2989 | |NN const U8 *send|STRLEN uoffset|const STRLEN uend |
9f589e47 | 2990 | S |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \ |
25a8a4ef | 2991 | |NN const U8 *const start|NN const U8 *const send \ |
3e2d3818 | 2992 | |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0 |
9f589e47 | 2993 | S |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \ |
ec49a12c | 2994 | |const STRLEN ulen |
9f589e47 | 2995 | S |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \ |
ac1e9476 | 2996 | |const STRLEN byte|const STRLEN utf8|const STRLEN blen |
9f589e47 | 2997 | S |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \ |
25a8a4ef | 2998 | |NN const U8 *end|STRLEN endu |
9f589e47 | 2999 | S |void |assert_uft8_cache_coherent|NN const char *const func \ |
9df83ffd | 3000 | |STRLEN from_cache|STRLEN real|NN SV *const sv |
9f589e47 KW |
3001 | ST |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len |
3002 | S |SV * |more_sv | |
3003 | S |bool |sv_2iuv_common |NN SV *const sv | |
3004 | S |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \ | |
7bc54cea | 3005 | |const int dtype |
9f589e47 KW |
3006 | SRT |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv |
3007 | S |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv | |
94bdecf9 JH |
3008 | #endif |
3009 | ||
ecf9cdab NC |
3010 | : Used in sv.c and hv.c |
3011 | po |void * |more_bodies |const svtype sv_type|const size_t body_size \ | |
3012 | |const size_t arena_size | |
25c7fb78 KW |
3013 | EXpR |SV* |get_and_check_backslash_N_name|NN const char* s \ |
3014 | |NN const char* const e \ | |
3015 | |const bool is_utf8 \ | |
3016 | |NN const char** error_msg | |
4e8ee35f KW |
3017 | EXpR |HV* |load_charnames |NN SV * char_name \ |
3018 | |NN const char * context \ | |
3019 | |const STRLEN context_len \ | |
3020 | |NN const char ** error_msg | |
ecf9cdab | 3021 | |
9a1ae847 | 3022 | : For use ONLY in B::Hooks::Parser, by special dispensation |
e4aeb12f | 3023 | EXpxR |char* |scan_str |NN char *start|int keep_quoted \ |
aabfeadc KW |
3024 | |int keep_delims|int re_reparse \ |
3025 | |NULLOK char **delimp | |
e4aeb12f | 3026 | EXpx |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \ |
aabfeadc | 3027 | |int allow_package|NN STRLEN *slp |
e4aeb12f | 3028 | EXpxR |char* |skipspace_flags|NN char *s|U32 flags |
43869a0c | 3029 | #if defined(PERL_IN_TOKE_C) |
9f589e47 KW |
3030 | S |void |check_uni |
3031 | S |void |force_next |I32 type | |
3032 | S |char* |force_version |NN char *s|int guessing | |
3033 | S |char* |force_strict_version |NN char *s | |
3034 | S |char* |force_word |NN char *start|int token|int check_keyword \ | |
345b3785 | 3035 | |int allow_pack |
9f589e47 KW |
3036 | S |SV* |tokeq |NN SV *sv |
3037 | SR |char* |scan_const |NN char *start | |
3038 | SR |SV* |get_and_check_backslash_N_name_wrapper|NN const char* s \ | |
6f613c73 | 3039 | |NN const char* const e |
9f589e47 KW |
3040 | SR |char* |scan_formline |NN char *s |
3041 | SR |char* |scan_heredoc |NN char *s | |
3042 | S |char* |scan_ident |NN char *s|NN char *dest \ | |
94bdecf9 | 3043 | |STRLEN destlen|I32 ck_uni |
9f589e47 KW |
3044 | SR |char* |scan_inputsymbol|NN char *start |
3045 | SR |char* |scan_pat |NN char *start|I32 type | |
3046 | SR |char* |scan_subst |NN char *start | |
3047 | SR |char* |scan_trans |NN char *start | |
3048 | S |void |update_debugger_info|NULLOK SV *orig_sv \ | |
15f169a1 | 3049 | |NULLOK const char *const buf|STRLEN len |
9f589e47 | 3050 | SR |char* |swallow_bom |NN U8 *s |
a28af015 | 3051 | #ifndef PERL_NO_UTF16_FILTER |
9f589e47 KW |
3052 | S |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen |
3053 | S |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed | |
a28af015 | 3054 | #endif |
9f589e47 | 3055 | S |void |checkcomma |NN const char *s|NN const char *name \ |
c94115d8 | 3056 | |NN const char *what |
9f589e47 KW |
3057 | S |void |force_ident |NN const char *s|int kind |
3058 | S |void |force_ident_maybe_lex|char pit | |
3059 | S |void |incline |NN const char *s|NN const char *end | |
3060 | S |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv | |
3061 | S |int |intuit_more |NN char *s|NN char *e | |
3062 | S |I32 |lop |I32 f|U8 x|NN char *s | |
3063 | rS |void |missingterm |NULLOK char *s|STRLEN len | |
3064 | S |void |no_op |NN const char *const what|NULLOK char *s | |
3065 | S |int |pending_ident | |
3066 | SR |I32 |sublex_done | |
3067 | SR |I32 |sublex_push | |
3068 | SR |I32 |sublex_start | |
3069 | SR |char * |filter_gets |NN SV *sv|STRLEN append | |
3070 | SR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len | |
3071 | SR |char * |tokenize_use |int is_use|NN char *s | |
3072 | So |SV* |new_constant |NULLOK const char *s|STRLEN len \ | |
eb0d8d16 | 3073 | |NN const char *key|STRLEN keylen|NN SV *sv \ |
164e423c KW |
3074 | |NULLOK SV *pv|NULLOK const char *type \ |
3075 | |STRLEN typelen \ | |
3076 | |NULLOK const char ** error_msg | |
9f589e47 KW |
3077 | S |int |ao |int toketype |
3078 | S |void|parse_ident|NN char **s|NN char **d \ | |
07f72646 | 3079 | |NN char * const e|int allow_package \ |
2cb35ee0 FC |
3080 | |bool is_utf8|bool check_dollar \ |
3081 | |bool tick_warn | |
94bdecf9 | 3082 | # if defined(PERL_CR_FILTER) |
9f589e47 KW |
3083 | S |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen |
3084 | S |void |strip_return |NN SV *sv | |
94bdecf9 | 3085 | # endif |
c445ea15 | 3086 | # if defined(DEBUGGING) |
9f589e47 KW |
3087 | S |int |tokereport |I32 rv|NN const YYSTYPE* lvalp |
3088 | Sf |void |printbuf |NN const char *const fmt|NN const char *const s | |
c445ea15 | 3089 | # endif |
94bdecf9 | 3090 | #endif |
c1a02cca | 3091 | EdXxp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn \ |
5783dc51 | 3092 | |bool curstash |
94bdecf9 | 3093 | |
43869a0c | 3094 | #if defined(PERL_IN_UNIVERSAL_C) |
c4b6b96d | 3095 | SG |bool |isa_lookup |NULLOK HV *stash|NULLOK SV *namesv|NULLOK const char * name \ |
c7abbf64 | 3096 | |STRLEN len|U32 flags |
0c22dc83 KW |
3097 | SG |bool |sv_derived_from_svpvn |NULLOK SV *sv \ |
3098 | |NULLOK SV *namesv \ | |
3099 | |NULLOK const char * name \ | |
3100 | |const STRLEN len \ | |
3101 | |U32 flags | |
94bdecf9 JH |
3102 | #endif |
3103 | ||
f7416781 | 3104 | #if defined(PERL_IN_LOCALE_C) |
d36adde0 | 3105 | # ifdef USE_LOCALE |
9f589e47 KW |
3106 | ST |const char*|category_name |const int category |
3107 | S |const char*|switch_category_locale_to_template|const int switch_category|const int template_category|NULLOK const char * template_locale | |
3108 | S |void |restore_switched_locale|const int category|NULLOK const char * const original_locale | |
d36adde0 | 3109 | # endif |
f61748ac | 3110 | # ifdef HAS_NL_LANGINFO |
9f589e47 | 3111 | ST |const char*|my_nl_langinfo|const nl_item item|bool toggle |
f61748ac | 3112 | # else |
9f589e47 | 3113 | ST |const char*|my_nl_langinfo|const int item|bool toggle |
f61748ac | 3114 | # endif |
45b29440 | 3115 | iTR |const char *|save_to_buffer|NULLOK const char * string \ |
f7416781 KW |
3116 | |NULLOK char **buf \ |
3117 | |NN Size_t *buf_size \ | |
3118 | |const Size_t offset | |
3119 | # if defined(USE_LOCALE) | |
9f589e47 KW |
3120 | S |char* |stdize_locale |NN char* locs |
3121 | S |void |new_collate |NULLOK const char* newcoll | |
3122 | S |void |new_ctype |NN const char* newctype | |
3123 | S |void |set_numeric_radix|const bool use_locale | |
3124 | S |void |new_numeric |NULLOK const char* newnum | |
e9bc6d6b | 3125 | # ifdef USE_POSIX_2008_LOCALE |
9f589e47 | 3126 | ST |const char*|emulate_setlocale|const int category \ |
e9bc6d6b KW |
3127 | |NULLOK const char* locale \ |
3128 | |unsigned int index \ | |
3129 | |const bool is_index_valid | |
3130 | # endif | |
f7416781 | 3131 | # ifdef WIN32 |
9f589e47 | 3132 | S |char* |win32_setlocale|int category|NULLOK const char* locale |
f7416781 KW |
3133 | # endif |
3134 | # ifdef DEBUGGING | |
9f589e47 | 3135 | S |void |print_collxfrm_input_and_return \ |
c7202dee KW |
3136 | |NN const char * const s \ |
3137 | |NN const char * const e \ | |
3138 | |NULLOK const STRLEN * const xlen \ | |
3139 | |const bool is_utf8 | |
9f589e47 | 3140 | S |void |print_bytes_for_locale |NN const char * const s \ |
9c8a6dc2 KW |
3141 | |NN const char * const e \ |
3142 | |const bool is_utf8 | |
9f589e47 | 3143 | STR |char * |setlocale_debug_string |const int category \ |
a4f00dcc KW |
3144 | |NULLOK const char* const locale \ |
3145 | |NULLOK const char* const retval | |
f7416781 KW |
3146 | # endif |
3147 | # endif | |
9f162648 JH |
3148 | #endif |
3149 | ||
a8f4b0c6 KW |
3150 | #if defined(USE_LOCALE) \ |
3151 | && ( defined(PERL_IN_LOCALE_C) \ | |
3152 | || defined(PERL_IN_MG_C) \ | |
472be41b KW |
3153 | || defined (PERL_EXT_POSIX) \ |
3154 | || defined (PERL_EXT_LANGINFO)) | |
09232555 | 3155 | Cp |bool |_is_cur_LC_category_utf8|int category |
94bdecf9 JH |
3156 | #endif |
3157 | ||
5d1187d1 | 3158 | |
43869a0c | 3159 | #if defined(PERL_IN_UTIL_C) |
9f589e47 KW |
3160 | S |SV* |mess_alloc |
3161 | S |SV * |with_queued_errors|NN SV *ex | |
3162 | S |bool |invoke_exception_hook|NULLOK SV *ex|bool warn | |
73d1d973 | 3163 | #if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL) |
9f589e47 | 3164 | ST |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \ |
bef8a128 | 3165 | |NN const char *type_name|NULLOK const SV *sv \ |
0b0ab801 MHM |
3166 | |Malloc_t oldalloc|Malloc_t newalloc \ |
3167 | |NN const char *filename|const int linenumber \ | |
3168 | |NN const char *funcname | |
3169 | #endif | |
94bdecf9 JH |
3170 | #endif |
3171 | ||
6fb87544 | 3172 | #if defined(PERL_MEM_LOG) |
45b29440 KW |
3173 | pT |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 |
3174 | pT |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 | |
3175 | pT |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname | |
6fb87544 MH |
3176 | #endif |
3177 | ||
43869a0c | 3178 | #if defined(PERL_IN_UTF8_C) |
9f589e47 | 3179 | SR |HV * |new_msg_hv |NN const char * const message \ |
bb07812e KW |
3180 | |U32 categories \ |
3181 | |U32 flag | |
09f3c061 | 3182 | SR |UV |check_locale_boundary_crossing \ |
ab0b796c KW |
3183 | |NN const U8* const p \ |
3184 | |const UV result \ | |
3185 | |NN U8* const ustrp \ | |
3186 | |NN STRLEN *lenp | |
34aeb2e9 | 3187 | iR |bool |is_utf8_common |NN const U8 *const p \ |
dd1a3ba7 | 3188 | |NN const U8 *const e \ |
34aeb2e9 | 3189 | |NULLOK SV* const invlist |
646ca15d JH |
3190 | #endif |
3191 | ||
c9182d9c | 3192 | EXiTp |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest |
55d09dc8 | 3193 | |
e03e82a0 | 3194 | Apd |void |sv_set_undef |NN SV *sv |
7bc54cea | 3195 | Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags |
2e000ff2 SS |
3196 | Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \ |
3197 | |const I32 flags | |
9dcc53ea Z |
3198 | Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \ |
3199 | |const I32 flags | |
2e000ff2 | 3200 | Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags |
ef9e3b4d | 3201 | Amd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags |
defad34a | 3202 | Adp |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra |
12964ddd | 3203 | Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags |
b719801d | 3204 | AdpMb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv |
5178f485 | 3205 | Amd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv |
4bac9ae4 | 3206 | Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags |
2378c9f3 KW |
3207 | Cpo |char* |my_atof2 |NN const char *orig|NN NV* value |
3208 | Cp |char* |my_atof3 |NN const char *orig|NN NV* value|const STRLEN len | |
45b29440 KW |
3209 | ApT |int |my_socketpair |int family|int type|int protocol|int fd[2] |
3210 | ApT |int |my_dirfd |NULLOK DIR* dir | |
db2c6cb3 | 3211 | #ifdef PERL_ANY_COW |
2a5e5773 | 3212 | : Used in regexec.c |
e4aeb12f | 3213 | pxXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr |
ed252734 | 3214 | #endif |
94bdecf9 | 3215 | |
d070ff45 | 3216 | Aop |const char *|PerlIO_context_layers|NULLOK const char *mode |
11bcd5da | 3217 | |
97cb92d6 | 3218 | #if defined(USE_PERLIO) |
678f21a2 | 3219 | Apdh |int |PerlIO_close |NULLOK PerlIO *f |
46c461b5 | 3220 | Ap |int |PerlIO_fill |NULLOK PerlIO *f |
678f21a2 KW |
3221 | Apdh |int |PerlIO_fileno |NULLOK PerlIO *f |
3222 | Apdh |int |PerlIO_eof |NULLOK PerlIO *f | |
3223 | Apdh |int |PerlIO_error |NULLOK PerlIO *f | |
3224 | Apdh |int |PerlIO_flush |NULLOK PerlIO *f | |
3225 | Apdh |void |PerlIO_clearerr |NULLOK PerlIO *f | |
3226 | Apdh |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt | |
3227 | Apdh |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \ | |
b66f3475 | 3228 | |SSize_t cnt |
678f21a2 KW |
3229 | Apdh |void |PerlIO_setlinebuf |NULLOK PerlIO *f |
3230 | Apdh |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \ | |
4048f010 | 3231 | |Size_t count |
678f21a2 | 3232 | Apdh |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \ |
4048f010 NC |
3233 | |Size_t count |
3234 | Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \ | |
3235 | |Size_t count | |
678f21a2 KW |
3236 | Apdh |Off_t |PerlIO_tell |NULLOK PerlIO *f |
3237 | Apdh |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence | |
0ea86a10 FC |
3238 | Xp |void |PerlIO_save_errno |NULLOK PerlIO *f |
3239 | Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f | |
94bdecf9 | 3240 | |
678f21a2 KW |
3241 | Apdh |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f |
3242 | Apdh |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f | |
3243 | ApRdh |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f | |
3244 | ApRdh |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f | |
94bdecf9 | 3245 | |
678f21a2 KW |
3246 | ApRdh |PerlIO *|PerlIO_stdin |
3247 | ApRdh |PerlIO *|PerlIO_stdout | |
3248 | ApRdh |PerlIO *|PerlIO_stderr | |
57630fb6 | 3249 | #endif /* USE_PERLIO */ |
94bdecf9 | 3250 | |
67022846 | 3251 | : Only used in dump.c |
d6721266 | 3252 | p |void |deb_stack_all |
43869a0c | 3253 | #if defined(PERL_IN_DEB_C) |
9f589e47 | 3254 | S |void |deb_stack_n |NN SV** stack_base|I32 stack_min \ |
3f46c5a6 | 3255 | |I32 stack_max|I32 mark_min|I32 mark_max |
d6721266 DM |
3256 | #endif |
3257 | ||
cc76b5cc | 3258 | : pad API |
346c6a29 | 3259 | ApdR |PADLIST*|pad_new |int flags |
eacbb379 | 3260 | #ifdef DEBUGGING |
45b29440 | 3261 | pTX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist |
eacbb379 | 3262 | #endif |
cc76b5cc | 3263 | #if defined(PERL_IN_PAD_C) |
c1a02cca | 3264 | Sd |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \ |
cc76b5cc Z |
3265 | |NULLOK HV *typestash|NULLOK HV *ourstash |
3266 | #endif | |
3267 | Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\ | |
0e1b3a4b | 3268 | |U32 flags|NULLOK HV *typestash\ |
cca43f78 | 3269 | |NULLOK HV *ourstash |
cc76b5cc Z |
3270 | Apd |PADOFFSET|pad_add_name_pv|NN const char *name\ |
3271 | |const U32 flags|NULLOK HV *typestash\ | |
3272 | |NULLOK HV *ourstash | |
3273 | Apd |PADOFFSET|pad_add_name_sv|NN SV *name\ | |
0e1b3a4b | 3274 | |U32 flags|NULLOK HV *typestash\ |
cc76b5cc | 3275 | |NULLOK HV *ourstash |
e4aeb12f | 3276 | Axpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype |
cc76b5cc | 3277 | Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype |
a70f21d0 | 3278 | p |void |pad_add_weakref|NN CV* func |
43869a0c | 3279 | #if defined(PERL_IN_PAD_C) |
9f589e47 | 3280 | Sd |void |pad_check_dup |NN PADNAME *name|U32 flags \ |
e1c02f84 | 3281 | |NULLOK const HV *ourstash |
cc76b5cc | 3282 | #endif |
402642c6 | 3283 | Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags |
2d7dd515 Z |
3284 | Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags |
3285 | Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags | |
cc76b5cc Z |
3286 | ApdD |PADOFFSET|find_rundefsvoffset | |
3287 | Apd |SV* |find_rundefsv | | |
3288 | #if defined(PERL_IN_PAD_C) | |
9f589e47 | 3289 | Sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \ |
cc76b5cc | 3290 | |NN const CV* cv|U32 seq|int warn \ |
e1c02f84 FC |
3291 | |NULLOK SV** out_capture \ |
3292 | |NN PADNAME** out_name|NN int *out_flags | |
73b81b14 | 3293 | #endif |
dd2155a4 | 3294 | #ifdef DEBUGGING |
cc76b5cc Z |
3295 | Apd |SV* |pad_sv |PADOFFSET po |
3296 | Apd |void |pad_setsv |PADOFFSET po|NN SV* sv | |
dd2155a4 DM |
3297 | #endif |
3298 | pd |void |pad_block_start|int full | |
25f5d540 | 3299 | Apd |U32 |intro_my |
6d5c2147 | 3300 | pd |OP * |pad_leavemy |
cc76b5cc Z |
3301 | pd |void |pad_swipe |PADOFFSET po|bool refadjust |
3302 | #if defined(PERL_IN_PAD_C) | |
9f589e47 | 3303 | Sd |void |pad_reset |
d5b1589c | 3304 | #endif |
e4aeb12f | 3305 | Axpd |void |pad_tidy |padtidy_type type |
cc76b5cc | 3306 | pd |void |pad_free |PADOFFSET po |
e950ecba | 3307 | pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full |
43869a0c | 3308 | #if defined(PERL_IN_PAD_C) |
dd2155a4 | 3309 | # if defined(DEBUGGING) |
9f589e47 | 3310 | Sd |void |cv_dump |NN const CV *cv|NN const char *title |
dd2155a4 | 3311 | # endif |
dd2155a4 | 3312 | #endif |
b9d5702c KW |
3313 | #if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C) |
3314 | iT |bool |PadnameIN_SCOPE|NN const PADNAME * const pn|const U32 seq | |
3315 | #endif | |
cc76b5cc | 3316 | Apd |CV* |cv_clone |NN CV* proto |
a35cc1c1 | 3317 | p |CV* |cv_clone_into |NN CV* proto|NN CV *target |
cc76b5cc Z |
3318 | pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv |
3319 | pdX |void |pad_push |NN PADLIST *padlist|int depth | |
4352fcf7 | 3320 | ApbdRM |HV* |pad_compname_type|const PADOFFSET po |
e4aeb12f | 3321 | AxpdRT |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key |
9b7476d7 | 3322 | Xop |void |padnamelist_free|NN PADNAMELIST *pnl |
e4aeb12f | 3323 | Axpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \ |
9b7476d7 | 3324 | |NULLOK PADNAME *val |
0f94cb1f | 3325 | Xop |void |padname_free |NN PADNAME *pn |
cc76b5cc | 3326 | #if defined(USE_ITHREADS) |
0f94cb1f | 3327 | pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param |
c1a02cca | 3328 | pdR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \ |
9b7476d7 | 3329 | |NN CLONE_PARAMS *param |
eacbb379 | 3330 | pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \ |
b70d5558 | 3331 | |NN CLONE_PARAMS *param |
cc76b5cc | 3332 | #endif |
7261499d FC |
3333 | p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \ |
3334 | |NULLOK PAD *val | |
cc76b5cc | 3335 | |
daad78fc | 3336 | ApdR |CV* |find_runcv |NULLOK U32 *db_seqp |
db4cf31d | 3337 | pR |CV* |find_runcv_where|U8 cond|IV arg \ |
70794f7b | 3338 | |NULLOK U32 *db_seqp |
67022846 | 3339 | : Only used in perl.c |
dd28f7bb | 3340 | p |void |free_tied_hv_pool |
b4ab917c | 3341 | #if defined(DEBUGGING) |
67022846 | 3342 | : Used in mg.c |
46c461b5 | 3343 | pR |int |get_debug_opts |NN const char **s|bool givehelp |
b4ab917c | 3344 | #endif |
4048f010 | 3345 | Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val |
ed760897 | 3346 | #ifdef DEBUGGING |
4048f010 | 3347 | Apod |void |hv_assert |NN HV *hv |
ed760897 | 3348 | #endif |
d6721266 | 3349 | |
4048f010 | 3350 | ApdR |SV* |hv_scalar |NN HV *hv |
8dc9003f | 3351 | p |void |hv_pushkv |NN HV *hv|U32 flags |
e4aeb12f | 3352 | ApdRx |SV* |hv_bucket_ratio|NN HV *hv |
4048f010 NC |
3353 | ApoR |I32* |hv_riter_p |NN HV *hv |
3354 | ApoR |HE** |hv_eiter_p |NN HV *hv | |
3355 | Apo |void |hv_riter_set |NN HV *hv|I32 riter | |
3356 | Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter | |
e950ecba | 3357 | Ap |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand |
4048f010 | 3358 | Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags |
c1a02cca | 3359 | pd |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \ |
27a1175b | 3360 | |U32 flags |
c1a02cca | 3361 | pd |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \ |
27a1175b | 3362 | |U32 flags |
67022846 | 3363 | : Used in dump.c and hv.c |
e4aeb12f | 3364 | pox |AV** |hv_backreferences_p |NN HV *hv |
764ff8a9 | 3365 | #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C) |
e4aeb12f | 3366 | pox |void |hv_kill_backrefs |NN HV *hv |
09aad8f0 | 3367 | #endif |
4048f010 | 3368 | Apd |void |hv_clear_placeholders |NN HV *hv |
6174b39a | 3369 | XpoR |SSize_t*|hv_placeholders_p |NN HV *hv |
0c289d13 | 3370 | ApoR |I32 |hv_placeholders_get |NN const HV *hv |
4048f010 | 3371 | Apo |void |hv_placeholders_set |NN HV *hv|I32 ph |
ca732855 | 3372 | |
67022846 | 3373 | : This is indirectly referenced by globals.c. This is somewhat annoying. |
4048f010 | 3374 | p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg |
10edeb5d | 3375 | |
43869a0c | 3376 | #if defined(PERL_IN_SV_C) |
9f589e47 | 3377 | S |SV * |find_hash_subscript|NULLOK const HV *const hv \ |
6c1b357c | 3378 | |NN const SV *const val |
9f589e47 | 3379 | S |SSize_t|find_array_subscript|NULLOK const AV *const av \ |
6c1b357c | 3380 | |NN const SV *const val |
e4aeb12f | 3381 | Sxd |SV* |find_uninit_var|NULLOK const OP *const obase \ |
fedf30e1 DM |
3382 | |NULLOK const SV *const uninit_sv|bool match \ |
3383 | |NN const char **desc_p | |
29489e7c | 3384 | #endif |
96adfaa1 | 3385 | |
fe9845cc RB |
3386 | Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type |
3387 | Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type | |
7a5fd60d | 3388 | |
41e4abd8 | 3389 | #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP |
67022846 | 3390 | : Used in sv.c |
46c461b5 | 3391 | p |void |dump_sv_child |NN SV *sv |
41e4abd8 NC |
3392 | #endif |
3393 | ||
c69033f2 | 3394 | #ifdef PERL_DONT_CREATE_GVSV |
b719801d | 3395 | ApbM |GV* |gv_SVadd |NULLOK GV *gv |
c69033f2 | 3396 | #endif |
43869a0c | 3397 | #if defined(PERL_IN_UTIL_C) |
9f589e47 | 3398 | S |bool |ckwarn_common |U32 w |
26c7b074 | 3399 | #endif |
ca0c6e8c KW |
3400 | ApoP |bool |ckwarn |U32 w |
3401 | ApoP |bool |ckwarn_d |U32 w | |
d67fec57 | 3402 | : FIXME - exported for ByteLoader - public or private? |
e4aeb12f | 3403 | XEopxR |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \ |
72dc9ed5 | 3404 | |NN const char *const bits|STRLEN size |
c69033f2 | 3405 | |
917b9b54 KW |
3406 | AMpTdf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|... |
3407 | AMpTd |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap | |
a4eca1d4 | 3408 | #ifdef USE_QUADMATH |
065d0f13 TC |
3409 | pTd |bool |quadmath_format_valid|NN const char* format |
3410 | pTd |bool|quadmath_format_needed|NN const char* format | |
a4eca1d4 | 3411 | #endif |
d9fad198 | 3412 | |
67022846 | 3413 | : Used in mg.c, sv.c |
5af72e99 | 3414 | pe |void |my_clearenv |
b0269e46 | 3415 | |
f16dd614 | 3416 | #ifdef PERL_IMPLICIT_CONTEXT |
53d44271 JH |
3417 | #ifdef PERL_GLOBAL_STRUCT_PRIVATE |
3418 | Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size | |
3419 | Apo |int |my_cxt_index |NN const char *my_cxt_key | |
3420 | #else | |
8e7615cb | 3421 | Apo |void* |my_cxt_init |NN int *indexp|size_t size |
f16dd614 | 3422 | #endif |
53d44271 | 3423 | #endif |
071d040c | 3424 | #if defined(PERL_IN_UTIL_C) |
9f589e47 | 3425 | So |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \ |
e9b067d9 | 3426 | |STRLEN xs_len |
071d040c | 3427 | #endif |
29f5f37e | 3428 | FXpoT |I32 |xs_handshake |const U32 key|NN void * v_my_perl\ |
9a189793 | 3429 | |NN const char * file| ... |
b01a1eea | 3430 | Xp |void |xs_boot_epilog |const I32 ax |
a6cc4119 | 3431 | #ifndef HAS_STRLCAT |
fb49ac44 | 3432 | ApTd |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size |
a6cc4119 SP |
3433 | #endif |
3434 | ||
3435 | #ifndef HAS_STRLCPY | |
fb49ac44 | 3436 | ApTd |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size |
a6cc4119 SP |
3437 | #endif |
3438 | ||
aefb3fa0 | 3439 | #ifndef HAS_STRNLEN |
1ab100a8 | 3440 | AipTd |Size_t |my_strnlen |NN const char *str|Size_t maxlen |
aefb3fa0 DIM |
3441 | #endif |
3442 | ||
2517ba99 | 3443 | #ifndef HAS_MKOSTEMP |
45b29440 | 3444 | pTo |int |my_mkostemp |NN char *templte|int flags |
2517ba99 | 3445 | #endif |
e48855bd | 3446 | #ifndef HAS_MKSTEMP |
45b29440 | 3447 | pTo |int |my_mkstemp |NN char *templte |
e48855bd TC |
3448 | #endif |
3449 | ||
45b29440 | 3450 | APpdT |bool |isinfnan |NV nv |
af147c81 | 3451 | pd |bool |isinfnansv |NN SV *sv |
1cd88304 | 3452 | |
ed140128 | 3453 | #if !defined(HAS_SIGNBIT) |
e4aeb12f | 3454 | AxdToP |int |Perl_signbit |NV f |
ed140128 | 3455 | #endif |
f16dd614 | 3456 | |
d67fec57 | 3457 | : Used by B |
e4aeb12f | 3458 | XExop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv |
d67fec57 | 3459 | : Used by SvRX and SvRXOK |
e4aeb12f | 3460 | XExop |REGEXP *|get_re_arg|NULLOK SV *sv |
8b850bd5 | 3461 | |
6a6f8717 | 3462 | Aopdh |SV* |mro_get_private_data|NN struct mro_meta *const smeta \ |
fa60396f | 3463 | |NN const struct mro_alg *const which |
6a6f8717 | 3464 | Aopdh |SV* |mro_set_private_data|NN struct mro_meta *const smeta \ |
fa60396f NC |
3465 | |NN const struct mro_alg *const which \ |
3466 | |NN SV *const data | |
a3e6e81e | 3467 | Aop |const struct mro_alg *|mro_get_from_name|NN SV *name |
c1a02cca | 3468 | Aopd |void |mro_register |NN const struct mro_alg *mro |
31b9005d NC |
3469 | Aop |void |mro_set_mro |NN struct mro_meta *const meta \ |
3470 | |NN SV *const name | |
c60bad7b NC |
3471 | : Used in HvMROMETA(), which is public. |
3472 | Xpo |struct mro_meta* |mro_meta_init |NN HV* stash | |
47c9dd14 | 3473 | #if defined(USE_ITHREADS) |
67022846 | 3474 | : Only used in sv.c |
47c9dd14 BB |
3475 | p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param |
3476 | #endif | |
3477 | Apd |AV* |mro_get_linear_isa|NN HV* stash | |
43869a0c | 3478 | #if defined(PERL_IN_MRO_C) |
9f589e47 KW |
3479 | Sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level |
3480 | S |void |mro_clean_isarev|NN HV * const isa \ | |
80ebaca2 FC |
3481 | |NN const char * const name \ |
3482 | |const STRLEN len \ | |
3386c920 FC |
3483 | |NULLOK HV * const exceptions \ |
3484 | |U32 hash|U32 flags | |
9f589e47 | 3485 | S |void |mro_gather_and_rename|NN HV * const stashes \ |
b89cdb22 | 3486 | |NN HV * const seen_stashes \ |
80ebaca2 FC |
3487 | |NULLOK HV *stash \ |
3488 | |NULLOK HV *oldstash \ | |
d7879cf0 | 3489 | |NN SV *namesv |
4befac30 | 3490 | #endif |
67022846 | 3491 | : Used in hv.c, mg.c, pp.c, sv.c |
4df35a07 | 3492 | pd |void |mro_isa_changed_in|NN HV* stash |
47c9dd14 | 3493 | Apd |void |mro_method_changed_in |NN HV* stash |
5af72e99 | 3494 | pde |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags |
67022846 | 3495 | : Only used in perl.c |
47c9dd14 | 3496 | p |void |boot_core_mro |
45b29440 KW |
3497 | ApoT |void |sys_init |NN int* argc|NN char*** argv |
3498 | ApoT |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env | |
3499 | ApoT |void |sys_term | |
632239c3 | 3500 | Apxd |const char *|cop_fetch_label|NN COP *const cop \ |
dca6062a | 3501 | |NULLOK STRLEN *len|NULLOK U32 *flags |
8375c93e | 3502 | : Only used in op.c and the perl compiler |
632239c3 | 3503 | Apxd |void|cop_store_label \ |
ce42d03d | 3504 | |NN COP *const cop|NN const char *label|STRLEN len|U32 flags |
47c9dd14 | 3505 | |
5af72e99 | 3506 | epo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr |
88e1f1a2 | 3507 | |
f7abe70b | 3508 | #if defined(USE_ITHREADS) |
43869a0c | 3509 | # if defined(PERL_IN_SV_C) |
9f589e47 | 3510 | S |void |unreferenced_to_tmp_stack|NN AV *const unreferenced |
e4295668 | 3511 | # endif |
45b29440 | 3512 | ARTop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \ |
f7abe70b | 3513 | |NN PerlInterpreter *const to |
45b29440 | 3514 | ATop |void |clone_params_del|NN CLONE_PARAMS *param |
f7abe70b | 3515 | #endif |
74e8ce34 NC |
3516 | |
3517 | : Used in perl.c and toke.c | |
29f5f37e | 3518 | Fop |void |populate_isa |NN const char *name|STRLEN len|... |
74e8ce34 | 3519 | |
25fdce4a FC |
3520 | : Some static inline functions need predeclaration because they are used |
3521 | : inside other static inline functions. | |
c47d1a66 | 3522 | #if defined(PERL_CORE) || defined (PERL_EXT) |
25fdce4a FC |
3523 | Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \ |
3524 | |NULLOK STRLEN *lenp | |
c47d1a66 | 3525 | #endif |
25fdce4a | 3526 | |
a73d8813 | 3527 | Ap |void |clear_defarray |NN AV* av|bool abandon |
ad2de1b2 | 3528 | |
e4aeb12f | 3529 | Apx |void |leave_adjust_stacks|NN SV **from_sp|NN SV **to_sp \ |
1c23e2bd | 3530 | |U8 gimme|int filter |
799da9d7 | 3531 | |
ed8ff0f3 | 3532 | #ifndef PERL_NO_INLINE_FUNCTIONS |
5b6f7443 | 3533 | Aixp |U8 |gimme_V | |
c9182d9c KW |
3534 | Aixp |PERL_CONTEXT * |cx_pushblock|U8 type|U8 gimme|NN SV** sp|I32 saveix |
3535 | Aixp |void |cx_popblock|NN PERL_CONTEXT *cx | |
3536 | Aixp |void |cx_topblock|NN PERL_CONTEXT *cx | |
3537 | Aixp |void |cx_pushsub |NN PERL_CONTEXT *cx|NN CV *cv \ | |
6a7d52cc | 3538 | |NULLOK OP *retop|bool hasargs |
c9182d9c KW |
3539 | Aixp |void |cx_popsub_common|NN PERL_CONTEXT *cx |
3540 | Aixp |void |cx_popsub_args |NN PERL_CONTEXT *cx | |
3541 | Aixp |void |cx_popsub |NN PERL_CONTEXT *cx | |
3542 | Aixp |void |cx_pushformat |NN PERL_CONTEXT *cx|NN CV *cv \ | |
6a7d52cc | 3543 | |NULLOK OP *retop|NULLOK GV *gv |
c9182d9c KW |
3544 | Aixp |void |cx_popformat |NN PERL_CONTEXT *cx |
3545 | Aixp |void |cx_pusheval |NN PERL_CONTEXT *cx \ | |
13febba5 | 3546 | |NULLOK OP *retop|NULLOK SV *namesv |
c9182d9c KW |
3547 | Aixp |void |cx_popeval |NN PERL_CONTEXT *cx |
3548 | Aixp |void |cx_pushloop_plain|NN PERL_CONTEXT *cx | |
3549 | Aixp |void |cx_pushloop_for |NN PERL_CONTEXT *cx \ | |
d1b6bf72 | 3550 | |NN void *itervarp|NULLOK SV *itersave |
c9182d9c KW |
3551 | Aixp |void |cx_poploop |NN PERL_CONTEXT *cx |
3552 | Aixp |void |cx_pushwhen |NN PERL_CONTEXT *cx | |
3553 | Aixp |void |cx_popwhen |NN PERL_CONTEXT *cx | |
3554 | Aixp |void |cx_pushgiven |NN PERL_CONTEXT *cx|NULLOK SV *orig_defsv | |
3555 | Aixp |void |cx_popgiven |NN PERL_CONTEXT *cx | |
ed8ff0f3 DM |
3556 | #endif |
3557 | ||
3f6bd23a | 3558 | #ifdef USE_DTRACE |
e950ecba KW |
3559 | XEop |void |dtrace_probe_call |NN CV *cv|bool is_call |
3560 | XEop |void |dtrace_probe_load |NN const char *name|bool is_loading | |
3561 | XEop |void |dtrace_probe_op |NN const OP *op | |
3562 | XEop |void |dtrace_probe_phase|enum perl_phase phase | |
3f6bd23a DM |
3563 | #endif |
3564 | ||
de59f38e | 3565 | XEop |STRLEN*|dup_warnings |NULLOK STRLEN* warnings |
c1e47bad | 3566 | |
b2ba7ad6 | 3567 | : ex: set ts=8 sts=4 sw=4 noet: |