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 */
133 OP_SPRINTF, /* 115 */
134 OP_FORMLINE, /* 116 */
138 OP_UCFIRST, /* 120 */
139 OP_LCFIRST, /* 121 */
142 OP_QUOTEMETA, /* 124 */
144 OP_AELEMFAST, /* 126 */
161 OP_ANONLIST, /* 143 */
162 OP_ANONHASH, /* 144 */
167 OP_UNSHIFT, /* 149 */
169 OP_REVERSE, /* 151 */
170 OP_GREPSTART, /* 152 */
171 OP_GREPWHILE, /* 153 */
172 OP_MAPSTART, /* 154 */
173 OP_MAPWHILE, /* 155 */
180 OP_COND_EXPR, /* 162 */
181 OP_ANDASSIGN, /* 163 */
182 OP_ORASSIGN, /* 164 */
184 OP_ENTERSUB, /* 166 */
185 OP_LEAVESUB, /* 167 */
186 OP_LEAVESUBLV, /* 168 */
191 OP_LINESEQ, /* 173 */
192 OP_NEXTSTATE, /* 174 */
193 OP_DBSTATE, /* 175 */
194 OP_UNSTACK, /* 176 */
198 OP_ENTERITER, /* 180 */
200 OP_ENTERLOOP, /* 182 */
201 OP_LEAVELOOP, /* 183 */
211 OP_PIPE_OP, /* 193 */
214 OP_BINMODE, /* 196 */
218 OP_DBMOPEN, /* 200 */
219 OP_DBMCLOSE, /* 201 */
220 OP_SSELECT, /* 202 */
224 OP_ENTERWRITE, /* 206 */
225 OP_LEAVEWRITE, /* 207 */
228 OP_SYSOPEN, /* 210 */
229 OP_SYSSEEK, /* 211 */
230 OP_SYSREAD, /* 212 */
231 OP_SYSWRITE, /* 213 */
237 OP_TRUNCATE, /* 219 */
242 OP_SOCKPAIR, /* 224 */
244 OP_CONNECT, /* 226 */
247 OP_SHUTDOWN, /* 229 */
248 OP_GSOCKOPT, /* 230 */
249 OP_SSOCKOPT, /* 231 */
250 OP_GETSOCKNAME, /* 232 */
251 OP_GETPEERNAME, /* 233 */
254 OP_FTRREAD, /* 236 */
255 OP_FTRWRITE, /* 237 */
256 OP_FTREXEC, /* 238 */
257 OP_FTEREAD, /* 239 */
258 OP_FTEWRITE, /* 240 */
259 OP_FTEEXEC, /* 241 */
262 OP_FTMTIME, /* 244 */
263 OP_FTATIME, /* 245 */
264 OP_FTCTIME, /* 246 */
265 OP_FTROWNED, /* 247 */
266 OP_FTEOWNED, /* 248 */
280 OP_FTBINARY, /* 262 */
289 OP_SYMLINK, /* 271 */
290 OP_READLINK, /* 272 */
293 OP_OPEN_DIR, /* 275 */
294 OP_READDIR, /* 276 */
295 OP_TELLDIR, /* 277 */
296 OP_SEEKDIR, /* 278 */
297 OP_REWINDDIR, /* 279 */
298 OP_CLOSEDIR, /* 280 */
301 OP_WAITPID, /* 283 */
305 OP_GETPPID, /* 287 */
306 OP_GETPGRP, /* 288 */
307 OP_SETPGRP, /* 289 */
308 OP_GETPRIORITY, /* 290 */
309 OP_SETPRIORITY, /* 291 */
312 OP_LOCALTIME, /* 294 */
318 OP_SHMREAD, /* 300 */
319 OP_SHMWRITE, /* 301 */
327 OP_REQUIRE, /* 309 */
329 OP_ENTEREVAL, /* 311 */
330 OP_LEAVEEVAL, /* 312 */
331 OP_ENTERTRY, /* 313 */
332 OP_LEAVETRY, /* 314 */
333 OP_GHBYNAME, /* 315 */
334 OP_GHBYADDR, /* 316 */
335 OP_GHOSTENT, /* 317 */
336 OP_GNBYNAME, /* 318 */
337 OP_GNBYADDR, /* 319 */
338 OP_GNETENT, /* 320 */
339 OP_GPBYNAME, /* 321 */
340 OP_GPBYNUMBER, /* 322 */
341 OP_GPROTOENT, /* 323 */
342 OP_GSBYNAME, /* 324 */
343 OP_GSBYPORT, /* 325 */
344 OP_GSERVENT, /* 326 */
345 OP_SHOSTENT, /* 327 */
346 OP_SNETENT, /* 328 */
347 OP_SPROTOENT, /* 329 */
348 OP_SSERVENT, /* 330 */
349 OP_EHOSTENT, /* 331 */
350 OP_ENETENT, /* 332 */
351 OP_EPROTOENT, /* 333 */
352 OP_ESERVENT, /* 334 */
363 OP_GETLOGIN, /* 345 */
364 OP_SYSCALL, /* 346 */
366 OP_SETSTATE, /* 348 */
367 OP_METHOD_NAMED,/* 349 */
369 OP_DORASSIGN, /* 351 */
370 OP_ENTERGIVEN, /* 352 */
371 OP_LEAVEGIVEN, /* 353 */
372 OP_ENTERWHEN, /* 354 */
373 OP_LEAVEWHEN, /* 355 */
375 OP_CONTINUE, /* 357 */
376 OP_SMARTMATCH, /* 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 || \