1 /* -*- buffer-read-only: t -*-
5 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6 * 2007 by Larry Wall and others
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
12 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
13 * This file is built by opcode.pl from its data. Any changes made here
34 OP_AV2ARYLEN, /* 16 */
37 OP_PROTOTYPE, /* 19 */
46 OP_REGCMAYBE, /* 28 */
47 OP_REGCRESET, /* 29 */
52 OP_SUBSTCONT, /* 34 */
69 OP_I_POSTINC, /* 51 */
71 OP_I_POSTDEC, /* 53 */
74 OP_I_MULTIPLY, /* 56 */
83 OP_I_SUBTRACT, /* 65 */
85 OP_STRINGIFY, /* 67 */
86 OP_LEFT_SHIFT, /* 68 */
87 OP_RIGHT_SHIFT, /* 69 */
113 OP_I_NEGATE, /* 95 */
115 OP_COMPLEMENT, /* 97 */
116 OP_SMARTMATCH, /* 98 */
134 OP_SPRINTF, /* 116 */
135 OP_FORMLINE, /* 117 */
139 OP_UCFIRST, /* 121 */
140 OP_LCFIRST, /* 122 */
143 OP_QUOTEMETA, /* 125 */
145 OP_AELEMFAST, /* 127 */
162 OP_ANONLIST, /* 144 */
163 OP_ANONHASH, /* 145 */
168 OP_UNSHIFT, /* 150 */
170 OP_REVERSE, /* 152 */
171 OP_GREPSTART, /* 153 */
172 OP_GREPWHILE, /* 154 */
173 OP_MAPSTART, /* 155 */
174 OP_MAPWHILE, /* 156 */
182 OP_COND_EXPR, /* 164 */
183 OP_ANDASSIGN, /* 165 */
184 OP_ORASSIGN, /* 166 */
185 OP_DORASSIGN, /* 167 */
187 OP_ENTERSUB, /* 169 */
188 OP_LEAVESUB, /* 170 */
189 OP_LEAVESUBLV, /* 171 */
194 OP_LINESEQ, /* 176 */
195 OP_NEXTSTATE, /* 177 */
196 OP_DBSTATE, /* 178 */
197 OP_UNSTACK, /* 179 */
201 OP_ENTERITER, /* 183 */
203 OP_ENTERLOOP, /* 185 */
204 OP_LEAVELOOP, /* 186 */
212 OP_SETSTATE, /* 194 */
213 OP_METHOD_NAMED,/* 195 */
214 OP_ENTERGIVEN, /* 196 */
215 OP_LEAVEGIVEN, /* 197 */
216 OP_ENTERWHEN, /* 198 */
217 OP_LEAVEWHEN, /* 199 */
219 OP_CONTINUE, /* 201 */
222 OP_PIPE_OP, /* 204 */
225 OP_BINMODE, /* 207 */
229 OP_DBMOPEN, /* 211 */
230 OP_DBMCLOSE, /* 212 */
231 OP_SSELECT, /* 213 */
235 OP_ENTERWRITE, /* 217 */
236 OP_LEAVEWRITE, /* 218 */
240 OP_SYSOPEN, /* 222 */
241 OP_SYSSEEK, /* 223 */
242 OP_SYSREAD, /* 224 */
243 OP_SYSWRITE, /* 225 */
249 OP_TRUNCATE, /* 231 */
254 OP_SOCKPAIR, /* 236 */
256 OP_CONNECT, /* 238 */
259 OP_SHUTDOWN, /* 241 */
260 OP_GSOCKOPT, /* 242 */
261 OP_SSOCKOPT, /* 243 */
262 OP_GETSOCKNAME, /* 244 */
263 OP_GETPEERNAME, /* 245 */
266 OP_FTRREAD, /* 248 */
267 OP_FTRWRITE, /* 249 */
268 OP_FTREXEC, /* 250 */
269 OP_FTEREAD, /* 251 */
270 OP_FTEWRITE, /* 252 */
271 OP_FTEEXEC, /* 253 */
274 OP_FTMTIME, /* 256 */
275 OP_FTATIME, /* 257 */
276 OP_FTCTIME, /* 258 */
277 OP_FTROWNED, /* 259 */
278 OP_FTEOWNED, /* 260 */
292 OP_FTBINARY, /* 274 */
301 OP_SYMLINK, /* 283 */
302 OP_READLINK, /* 284 */
305 OP_OPEN_DIR, /* 287 */
306 OP_READDIR, /* 288 */
307 OP_TELLDIR, /* 289 */
308 OP_SEEKDIR, /* 290 */
309 OP_REWINDDIR, /* 291 */
310 OP_CLOSEDIR, /* 292 */
313 OP_WAITPID, /* 295 */
317 OP_GETPPID, /* 299 */
318 OP_GETPGRP, /* 300 */
319 OP_SETPGRP, /* 301 */
320 OP_GETPRIORITY, /* 302 */
321 OP_SETPRIORITY, /* 303 */
324 OP_LOCALTIME, /* 306 */
330 OP_SHMREAD, /* 312 */
331 OP_SHMWRITE, /* 313 */
339 OP_REQUIRE, /* 321 */
341 OP_ENTEREVAL, /* 323 */
342 OP_LEAVEEVAL, /* 324 */
343 OP_ENTERTRY, /* 325 */
344 OP_LEAVETRY, /* 326 */
345 OP_GHBYNAME, /* 327 */
346 OP_GHBYADDR, /* 328 */
347 OP_GHOSTENT, /* 329 */
348 OP_GNBYNAME, /* 330 */
349 OP_GNBYADDR, /* 331 */
350 OP_GNETENT, /* 332 */
351 OP_GPBYNAME, /* 333 */
352 OP_GPBYNUMBER, /* 334 */
353 OP_GPROTOENT, /* 335 */
354 OP_GSBYNAME, /* 336 */
355 OP_GSBYPORT, /* 337 */
356 OP_GSERVENT, /* 338 */
357 OP_SHOSTENT, /* 339 */
358 OP_SNETENT, /* 340 */
359 OP_SPROTOENT, /* 341 */
360 OP_SSERVENT, /* 342 */
361 OP_EHOSTENT, /* 343 */
362 OP_ENETENT, /* 344 */
363 OP_EPROTOENT, /* 345 */
364 OP_ESERVENT, /* 346 */
375 OP_GETLOGIN, /* 357 */
376 OP_SYSCALL, /* 358 */
383 #define OP_phoney_INPUT_ONLY -1
384 #define OP_phoney_OUTPUT_ONLY -2
387 #define OP_IS_SOCKET(op) \
388 ((op) == OP_ACCEPT || \
390 (op) == OP_CONNECT || \
391 (op) == OP_GETPEERNAME || \
392 (op) == OP_GETSOCKNAME || \
393 (op) == OP_GSOCKOPT || \
394 (op) == OP_LISTEN || \
397 (op) == OP_SHUTDOWN || \
398 (op) == OP_SOCKET || \
399 (op) == OP_SOCKPAIR || \
403 #define OP_IS_FILETEST(op) \
404 ((op) == OP_FTATIME || \
405 (op) == OP_FTBINARY || \
406 (op) == OP_FTBLK || \
407 (op) == OP_FTCHR || \
408 (op) == OP_FTCTIME || \
409 (op) == OP_FTDIR || \
410 (op) == OP_FTEEXEC || \
411 (op) == OP_FTEOWNED || \
412 (op) == OP_FTEREAD || \
413 (op) == OP_FTEWRITE || \
414 (op) == OP_FTFILE || \
416 (op) == OP_FTLINK || \
417 (op) == OP_FTMTIME || \
418 (op) == OP_FTPIPE || \
419 (op) == OP_FTREXEC || \
420 (op) == OP_FTROWNED || \
421 (op) == OP_FTRREAD || \
422 (op) == OP_FTRWRITE || \
423 (op) == OP_FTSGID || \
424 (op) == OP_FTSIZE || \
425 (op) == OP_FTSOCK || \
426 (op) == OP_FTSUID || \
427 (op) == OP_FTSVTX || \
428 (op) == OP_FTTEXT || \
429 (op) == OP_FTTTY || \