Commit | Line | Data |
93a17b20 |
1 | OP* CopDBadd P((OP* cur)); |
2 | OP* add_label P((char* lbl, OP* cmd)); |
3 | OP* addcond P((OP* cmd, OP* arg)); |
4 | OP* addflags P((I32 i, I32 flags, OP* arg)); |
5 | OP* addloop P((OP* cmd, OP* arg)); |
6 | OP* append_elem P((I32 optype, OP* head, OP* tail)); |
7 | OP* append_list P((I32 optype, LISTOP* first, LISTOP* last)); |
8 | I32 apply P((I32 type, SV** mark, SV** sp)); |
9 | void av_clear P((AV* ar)); |
10 | AV* av_fake P((I32 size, SV** strp)); |
11 | SV** av_fetch P((AV* ar, I32 key, I32 lval)); |
12 | void av_fill P((AV* ar, I32 fill)); |
13 | void av_free P((AV* ar)); |
14 | I32 av_len P((AV* ar)); |
15 | AV* av_make P((I32 size, SV** strp)); |
16 | SV* av_pop P((AV* ar)); |
17 | void av_popnulls P((AV* ar)); |
18 | bool av_push P((AV* ar, SV* val)); |
19 | SV* av_shift P((AV* ar)); |
20 | SV** av_store P((AV* ar, I32 key, SV* val)); |
21 | void av_undef P((AV* ar)); |
22 | void av_unshift P((AV* ar, I32 num)); |
23 | OP* bind_match P((I32 type, OP* left, OP* pat)); |
24 | OP* block_head P((OP* o, OP** startp)); |
25 | void calllist P((AV* list)); |
26 | I32 cando P((I32 bit, I32 effective, struct stat* statbufp)); |
27 | unsigned long cast_ulong P((double f)); |
28 | void checkcomma P((char* s, char* name, char* what)); |
29 | I32 chsize P((int fd, off_t length)); |
30 | OP* convert P((I32 optype, I32 flags, OP* op)); |
31 | OP* cop_to_arg P((OP* cmd)); |
32 | I32 copyopt P((OP* cmd, OP* which)); |
33 | void cpy7bit P((char* d, char* s, I32 l)); |
34 | char* cpytill P((char* to, char* from, char* fromend, I32 delim, I32* retlen)); |
35 | void cryptfilter P((FILE* fil)); |
36 | void cryptswitch P((void)); |
37 | void deb P((va_alist)); |
38 | void deb_growlevel P((void)); |
39 | OP* die P((va_alist)); |
40 | OP* die_where P((char* message)); |
41 | void do_accept P((SV* sv, GV* ngv, GV* ggv)); |
42 | bool do_aexec P((SV* really, SV** mark, SV** sp)); |
43 | void do_chop P((SV* astr, SV* sv)); |
44 | bool do_close P((GV* gv, bool explicit)); |
45 | int do_ctl P((I32 optype, GV* gv, I32 func, SV* argstr)); |
46 | bool do_eof P((GV* gv)); |
47 | bool do_exec P((char* cmd)); |
48 | void do_execfree P((void)); |
49 | SV* do_fttext P((OP* arg, SV* sv)); |
50 | I32 do_ipcctl P((I32 optype, SV** mark, SV** sp)); |
51 | I32 do_ipcget P((I32 optype, SV** mark, SV** sp)); |
52 | void do_join P((SV* sv, SV* del, SV** mark, SV** sp)); |
53 | OP* do_kv P(()); |
54 | I32 do_msgrcv P((SV** mark, SV** sp)); |
55 | I32 do_msgsnd P((SV** mark, SV** sp)); |
56 | bool do_open P((GV* gv, char* name, I32 len)); |
57 | void do_pipe P((SV* sv, GV* rgv, GV* wgv)); |
58 | bool do_print P((SV* sv, FILE* fp)); |
59 | bool do_seek P((GV* gv, long pos, int whence)); |
60 | I32 do_semop P((SV** mark, SV** sp)); |
61 | I32 do_shmio P((I32 optype, SV** mark, SV** sp)); |
62 | void do_sprintf P((SV* sv, int len, SV** sarg)); |
63 | OP* do_subr P((void)); |
64 | long do_tell P((GV* gv)); |
65 | I32 do_trans P((SV* sv, OP* arg)); |
66 | void do_vecset P((SV* sv)); |
67 | void do_vop P((I32 optype, SV* sv, SV* left, SV* right)); |
68 | void do_write P((struct Outrec* orec, GV* gv)); |
69 | void dump_all P((void)); |
70 | void dump_cop P((OP* cmd, OP* alt)); |
71 | void dump_eval P(()); |
72 | dump_fds P((char* s)); |
73 | void dump_flags P((char* b, U32 flags)); |
74 | void dump_gv P((GV* gv)); |
75 | void dump_op P((OP* arg)); |
76 | void dump_pm P((PMOP* pm)); |
77 | void dump_sub P((GV* gv)); |
79072805 |
78 | dup2 P((int oldfd, int newfd)); |
93a17b20 |
79 | void fbm_compile P((SV* sv, I32 iflag)); |
80 | char* fbm_instr P((unsigned char* big, unsigned char* bigend, SV* littlestr)); |
81 | IO* fetch_io P((OP* op, I32 num)); |
82 | GV* fetch_gv P((OP* op, I32 num)); |
83 | OP* flatten P((OP* arg)); |
84 | void force_ident P((char* s)); |
85 | char* force_word P((char* s, int token)); |
86 | OP* forcelist P((OP* arg)); |
79072805 |
87 | void free_tmps P((void)); |
93a17b20 |
88 | OP* gen_constant_list P((OP* op)); |
79072805 |
89 | I32 getgimme P((OP*op)); |
90 | void gp_free P((GV* gv)); |
93a17b20 |
91 | GP* gp_ref P((GP* gp)); |
92 | GV* gv_AVadd P((GV* gv)); |
93 | GV* gv_HVadd P((GV* gv)); |
94 | void gv_check P((I32 min, I32 max)); |
95 | void gv_efullname P((SV* sv, GV* gv)); |
96 | GV* gv_fetchfile P((char* name)); |
97 | GV* gv_fetchmethod P((HV* stash, char* name)); |
98 | GV* gv_fetchpv P((char* name, I32 add)); |
99 | void gv_fullname P((SV* sv, GV* gv)); |
100 | STRLEN gv_len P((SV* sv)); |
101 | SV* gv_str P((SV* sv)); |
102 | OP* gv_to_op P((I32 atype, GV* gv)); |
103 | void he_delayfree P((HE* hent)); |
104 | void he_free P((HE* hent)); |
105 | void hoistmust P((PMOP* pm)); |
106 | void hv_clear P((HV* tb, I32 dodbm)); |
107 | void hv_dbmclose P((HV* tb)); |
108 | bool hv_dbmopen P((HV* tb, char* fname, int mode)); |
109 | bool hv_dbmstore P((HV* tb, char* key, U32 klen, SV* sv)); |
110 | SV* hv_delete P((HV* tb, char* key, U32 klen)); |
111 | SV** hv_fetch P((HV* tb, char* key, U32 klen, I32 lval)); |
112 | void hv_free P((HV* tb, I32 dodbm)); |
113 | I32 hv_iterinit P((HV* tb)); |
114 | char* hv_iterkey P((HE* entry, I32* retlen)); |
115 | HE* hv_iternext P((HV* tb)); |
116 | SV* hv_iterval P((HV* tb, HE* entry)); |
117 | void hv_magic P((HV* hv, GV* gv, I32 how)); |
118 | SV** hv_store P((HV* tb, char* key, U32 klen, SV* val, U32 hash)); |
119 | void hv_undef P((HV* tb, I32 dodbm)); |
120 | I32 ibcmp P((char* a, char* b, I32 len)); |
121 | I32 ingroup P((int testgid, I32 effective)); |
122 | char* instr P((char* big, char* little)); |
123 | OP* invert P((OP* cmd)); |
124 | OP* jmaybe P((OP* arg)); |
125 | I32 keyword P((char* d, I32 len)); |
126 | void leave_scope P((I32 base)); |
127 | OP* linklist P((OP* op)); |
128 | OP* list P((OP* o)); |
129 | OP* listkids P((OP* o)); |
130 | OP* localize P((OP* arg, I32 lexical)); |
131 | I32 looks_like_number P((SV* sv)); |
132 | OP* loopscope P((OP* o)); |
133 | I32 lop P((I32 f, char* s)); |
79072805 |
134 | int magic_get P((SV* sv, MAGIC* mg)); |
135 | int magic_getarylen P((SV* sv, MAGIC* mg)); |
136 | int magic_getglob P((SV* sv, MAGIC* mg)); |
137 | int magic_getuvar P((SV* sv, MAGIC* mg)); |
93a17b20 |
138 | U32 magic_len P((SV* sv, MAGIC* mg)); |
79072805 |
139 | int magic_set P((SV* sv, MAGIC* mg)); |
140 | int magic_setarylen P((SV* sv, MAGIC* mg)); |
141 | int magic_setbm P((SV* sv, MAGIC* mg)); |
142 | int magic_setdbline P((SV* sv, MAGIC* mg)); |
143 | int magic_setdbm P((SV* sv, MAGIC* mg)); |
144 | int magic_setenv P((SV* sv, MAGIC* mg)); |
145 | int magic_setglob P((SV* sv, MAGIC* mg)); |
93a17b20 |
146 | int magic_setmglob P((SV* sv, MAGIC* mg)); |
79072805 |
147 | int magic_setsig P((SV* sv, MAGIC* mg)); |
148 | int magic_setsubstr P((SV* sv, MAGIC* mg)); |
149 | int magic_setuvar P((SV* sv, MAGIC* mg)); |
150 | int magic_setvec P((SV* sv, MAGIC* mg)); |
93a17b20 |
151 | void magicalize P((char* list)); |
152 | void magicname P((char* sym, char* name, I32 namlen)); |
153 | main P((int argc, char** argv, char** env)); |
154 | #ifndef STANDARD_C |
155 | MALLOCPTRTYPE* malloc P((MEM_SIZE nbytes)); |
156 | #endif |
157 | OP* maybeforcelist P((I32 optype, OP* arg)); |
158 | char* mess P((char* pat, ...)); |
159 | int mg_clear P((SV* sv)); |
160 | MAGIC* mg_find P((SV* sv, char type)); |
161 | int mg_free P((SV* sv, char type)); |
162 | int mg_freeall P((SV* sv)); |
163 | int mg_get P((SV* sv)); |
164 | U32 mg_len P((SV* sv)); |
165 | int mg_set P((SV* sv)); |
166 | char* moreswitches P((char* s)); |
167 | void mstats P((char* s)); |
168 | char* my_bcopy P((char* from, char* to, I32 len)); |
169 | char* my_bzero P((char* loc, I32 len)); |
170 | void my_exit P((I32 status)); |
171 | I32 my_lstat P(()); |
172 | I32 my_memcmp P((unsigned char* s1, unsigned char* s2, I32 len)); |
173 | I32 my_pclose P((FILE* ptr)); |
174 | FILE* my_pfiopen P((FILE* fil, VOID (*func)())); |
175 | FILE* my_popen P((char* cmd, char* mode)); |
176 | void my_setenv P((char* nam, char* val)); |
177 | I32 my_stat P(()); |
178 | short my_swap P((short s)); |
179 | void my_unexec P((void)); |
180 | OP* newANONLIST P((OP* op)); |
181 | OP* newANONHASH P((OP* op)); |
182 | OP* newASSIGNOP P((I32 flags, OP* left, OP* right)); |
183 | OP* newBINOP P((I32 optype, I32 flags, OP* left, OP* right)); |
184 | OP* newCONDOP P((I32 flags, OP* expr, OP* true, OP* false)); |
185 | void newFORM P((I32 floor, OP* op, OP* block)); |
186 | OP* newFOROP P((I32 flags, char* label, line_t forline, OP* scalar, OP* expr, OP*block, OP*cont)); |
187 | HV* newHV P((U32 lookat)); |
188 | OP* newLOGOP P((I32 optype, I32 flags, OP* left, OP* right)); |
189 | OP* newLOOPOP P((I32 flags, I32 debuggable, OP* expr, OP* block)); |
190 | OP* newMETHOD P((OP* ref, OP* name)); |
191 | OP* newNAMEOP P((OP* o)); |
192 | OP* newNULLLIST P((void)); |
193 | OP* newOP P((I32 optype, I32 flags)); |
194 | OP* newRANGE P((I32 flags, OP* left, OP* right)); |
195 | OP* newSLICEOP P((I32 flags, OP* subscript, OP* list)); |
196 | OP* newSTATEOP P((I32 flags, char* label, OP* o)); |
197 | void newSUB P((I32 floor, OP* op, OP* block)); |
198 | OP* newUNOP P((I32 optype, I32 flags, OP* child)); |
199 | AV* newAV P((void)); |
200 | OP* newAVREF P((OP* o)); |
201 | OP* newBINOP P((I32 type, I32 flags, OP* first, OP* last)); |
202 | OP* newCVREF P((OP* o)); |
203 | OP* newGVOP P((I32 type, I32 flags, GV* gv)); |
204 | GV* newGVgen P((void)); |
205 | OP* newGVREF P((OP* o)); |
206 | OP* newHVREF P((OP* o)); |
207 | HV* newHV P((U32 lookat)); |
208 | IO* newIO P((void)); |
209 | OP* newLISTOP P((I32 type, I32 flags, OP* first, OP* last)); |
210 | OP* newPMOP P((I32 type, I32 flags)); |
211 | OP* newPVOP P((I32 type, I32 flags, char* pv)); |
79072805 |
212 | #ifdef LEAKTEST |
93a17b20 |
213 | SV* newSV P((I32 x, STRLEN len)); |
79072805 |
214 | #else |
93a17b20 |
215 | SV* newSV P((STRLEN len)); |
79072805 |
216 | #endif |
93a17b20 |
217 | OP* newSVREF P((OP* o)); |
218 | OP* newSVOP P((I32 type, I32 flags, SV* sv)); |
219 | SV* newSViv P((I32 i)); |
220 | SV* newSVnv P((double n)); |
221 | SV* newSVpv P((char* s, STRLEN len)); |
222 | SV* newSVsv P((SV* old)); |
223 | OP* newUNOP P((I32 type, I32 flags, OP* first)); |
224 | FILE* nextargv P((GV* gv)); |
225 | char* ninstr P((char* big, char* bigend, char* little, char* lend)); |
226 | char* nsavestr P((char* sv, I32 len)); |
227 | void op_behead P((OP* arg)); |
228 | OP* op_fold_const P((OP* arg)); |
229 | void op_free P((OP* arg)); |
230 | void op_optimize P((OP* cmd, I32 fliporflop, I32 acmd)); |
231 | OP* over P((GV* eachgv, OP* cmd)); |
232 | PADOFFSET pad_alloc P((I32 optype, char tmptype)); |
233 | PADOFFSET pad_allocmy P((char* name)); |
234 | PADOFFSET pad_findmy P((char* name)); |
235 | void pad_leavemy P((I32 fill)); |
236 | SV* pad_sv P((PADOFFSET po)); |
79072805 |
237 | void pad_free P((PADOFFSET po)); |
238 | void pad_reset P((void)); |
239 | void pad_swipe P((PADOFFSET po)); |
93a17b20 |
240 | OP* parse_list P((SV* sv)); |
241 | void peep P((OP* op)); |
242 | PerlInterpreter* perl_alloc P((void)); |
243 | I32 perl_callback P((char* subname, I32 sp, I32 gimme, I32 hasargs, I32 numargs)); |
244 | I32 perl_callv P((char* subname, I32 sp, I32 gimme, char** argv)); |
245 | void perl_construct P((PerlInterpreter* sv_interp)); |
246 | void perl_destruct P((PerlInterpreter* sv_interp)); |
247 | void perl_free P((PerlInterpreter* sv_interp)); |
248 | I32 perl_parse P((PerlInterpreter* sv_interp, int argc, char** argv, char** env)); |
249 | I32 perl_run P((PerlInterpreter* sv_interp)); |
250 | void pidgone P((int pid, int status)); |
251 | OP* pmruntime P((OP* pm, OP* expr, OP* repl)); |
252 | OP* pop_return P((void)); |
253 | OP* prepend_elem P((I32 optype, OP* head, OP* tail)); |
79072805 |
254 | void push_return P((OP* op)); |
93a17b20 |
255 | void pv_grow P((char** strptr, I32* curlen, I32 newlen)); |
256 | OP* rcatmaybe P((OP* arg)); |
257 | regexp* regcomp P((char* exp, char* xend, I32 fold)); |
258 | OP* ref P((OP* op, I32 type)); |
259 | OP* refkids P((OP* op, I32 type)); |
260 | void regdump P((regexp* r)); |
261 | I32 regexec P((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, I32 safebase)); |
262 | void regfree P((struct regexp* r)); |
263 | char* regnext P((char* p)); |
264 | char* regprop P((char* op)); |
79072805 |
265 | void reinit_lexer P((void)); |
93a17b20 |
266 | void repeatcpy P((char* to, char* from, I32 len, I32 count)); |
267 | char* rninstr P((char* big, char* bigend, char* little, char* lend)); |
268 | void run_format P((struct Outrec* orec, FF* fcmd)); |
79072805 |
269 | #ifndef safemalloc |
93a17b20 |
270 | void safefree P((char* where)); |
271 | char* safemalloc P((MEM_SIZE size)); |
272 | char* saferealloc P((char* where, unsigned long size)); |
79072805 |
273 | #endif |
93a17b20 |
274 | void safexfree P((char* where)); |
275 | char* safexmalloc P((I32 x, MEM_SIZE size)); |
276 | char* safexrealloc P((char* where, MEM_SIZE size)); |
277 | I32 same_dirent P((char* a, char* b)); |
79072805 |
278 | void savestack_grow P((void)); |
93a17b20 |
279 | void save_aptr P((AV** aptr)); |
280 | AV* save_ary P((GV* gv)); |
281 | HV* save_hash P((GV* gv)); |
282 | void save_hptr P((HV** hptr)); |
283 | void save_I32 P((I32* intp)); |
284 | void save_int P((int* intp)); |
285 | void save_item P((SV* item)); |
286 | void save_lines P((AV* array, SV* sv)); |
287 | void save_list P((SV** sarg, I32 maxsarg)); |
288 | void save_nogv P((GV* gv)); |
289 | SV* save_scalar P((GV* gv)); |
290 | void save_sptr P((SV** sptr)); |
291 | SV* save_svref P((SV** sptr)); |
292 | char* savestr P((char* sv)); |
293 | OP* sawparens P((OP* o)); |
294 | OP* scalar P((OP* o)); |
295 | OP* scalarkids P((OP* op)); |
296 | OP* scalarseq P((OP* o)); |
297 | OP* scalarvoid P((OP* op)); |
298 | char* scan_formline P((char* s)); |
299 | unsigned long scan_hex P((char* start, I32 len, I32* retlen)); |
300 | char* scan_heredoc P((char* s)); |
301 | char* scan_inputsymbol P((char* s)); |
302 | char* scan_ident P((char* s, char* send, char* dest, I32 ck_uni)); |
303 | char* scan_num P((char* s)); |
304 | unsigned long scan_oct P((char* start, I32 len, I32* retlen)); |
305 | char* scan_pat P((char* s)); |
306 | void scan_prefix P((PMOP* pm, char* string, I32 len)); |
307 | char* scan_str P((char* start)); |
308 | char* scan_subst P((char* start)); |
309 | char* scan_trans P((char* start)); |
310 | OP* scope P((OP* o)); |
311 | char* screaminstr P((SV* bigstr, SV* littlestr)); |
312 | I32 setenv_getix P((char* nam)); |
313 | char* skipspace P((char* s)); |
314 | CV* sv_2cv P((SV* sv, HV** st, GV** gvp, I32 lref)); |
315 | I32 sv_2iv P((SV* sv)); |
316 | SV* sv_2mortal P((SV* sv)); |
317 | double sv_2nv P((SV* sv)); |
318 | char* sv_2pv P((SV* sv)); |
319 | char* sv_append_till P((SV* sv, char* from, char* fromend, I32 delim, char* keeplist)); |
320 | int sv_backoff P((SV* sv)); |
321 | void sv_catpv P((SV* sv, char* ptr)); |
322 | void sv_catpvn P((SV* sv, char* ptr, STRLEN len)); |
323 | void sv_catsv P((SV* dstr, SV* sstr)); |
324 | void sv_chop P((SV* sv, char* ptr)); |
325 | void sv_clear P((SV* sv)); |
326 | I32 sv_cmp P((SV* str1, SV* str2)); |
327 | void sv_dec P((SV* sv)); |
328 | I32 sv_eq P((SV* str1, SV* str2)); |
329 | void sv_free P((SV* sv)); |
330 | char* sv_gets P((SV* sv, FILE* fp, I32 append)); |
331 | #ifndef DOSISH |
332 | char* sv_grow P((SV* sv, I32 newlen)); |
333 | #else |
334 | char* sv_grow P((SV* sv, unsigned long newlen)); |
335 | #endif |
336 | void sv_inc P((SV* sv)); |
337 | void sv_insert P((SV* bigstr, STRLEN offset, STRLEN len, char* little, STRLEN littlelen)); |
338 | SV* sv_interp P((SV* sv, SV* src, I32 sp)); |
339 | void sv_intrpcompile P((SV* src)); |
340 | STRLEN sv_len P((SV* sv)); |
341 | void sv_magic P((SV* sv, SV* obj, char how, char* name, STRLEN namlen)); |
342 | SV* sv_mortalcopy P((SV* oldstr)); |
343 | SV* sv_ref P((SV* sv)); |
344 | void sv_replace P((SV* sv, SV* nstr)); |
345 | void sv_reset P((char* s, HV* stash)); |
346 | void sv_setiv P((SV* sv, I32 num)); |
347 | void sv_setnv P((SV* sv, double num)); |
348 | void sv_setpv P((SV* sv, char* ptr)); |
349 | void sv_setpvn P((SV* sv, char* ptr, STRLEN len)); |
350 | void sv_setsv P((SV* dstr, SV* sstr)); |
351 | void taint_env P((void)); |
352 | void taint_proper P((char* f, char* s)); |
353 | I32 uni P((I32 f, char* s)); |
354 | I32 unlnk P((char* f)); |
355 | I32 userinit P((void)); |
356 | I32 wait4pid P((int pid, int* statusp, int flags)); |
357 | void warn P((va_alist)); |
358 | I32 whichsig P((char* sig)); |
359 | void while_io P((OP* cmd)); |
360 | OP* wopt P((OP* cmd)); |
361 | int yyerror P((char* s)); |
362 | int yylex P((void)); |
363 | int yyparse P((void)); |