Home
last modified time | relevance | path

Searched refs:oparg (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/
Ddis.py88 oparg = ord(code[i]) + ord(code[i+1])*256 + extended_arg
92 extended_arg = oparg*65536L
93 print repr(oparg).rjust(5),
95 print '(' + repr(co.co_consts[oparg]) + ')',
97 print '(' + co.co_names[oparg] + ')',
99 print '(to ' + repr(i + oparg) + ')',
101 print '(' + co.co_varnames[oparg] + ')',
103 print '(' + cmp_op[oparg] + ')',
107 print '(' + free[oparg] + ')',
126 oparg = ord(code[i]) + ord(code[i+1])*256
[all …]
Dmodulefinder.py368 for i, (op, oparg) in enumerate(opargs):
370 yield "store", (names[oparg],)
375 yield "import", (fromlist, names[oparg])
385 for i, (op, oparg) in enumerate(opargs):
387 yield "store", (names[oparg],)
394 yield "import", (fromlist, names[oparg])
396 yield "absolute_import", (fromlist, names[oparg])
398 yield "relative_import", (level, fromlist, names[oparg])
/external/python/cpython2/Python/
Dceval.c714 oparg = NEXTARG(); \ in PyEval_EvalFrameEx()
732 oparg = NEXTARG(); \ in PyEval_EvalFrameEx()
791 register int oparg; /* Current opcode argument, if any */ in PyEval_EvalFrameEx() local
910 #define PREDICTED_WITH_ARG(op) PRED_##op: oparg = PEEKARG(); next_instr += 3 in PyEval_EvalFrameEx()
1168 oparg = 0; /* allows oparg to be stored in a register because in PyEval_EvalFrameEx()
1171 oparg = NEXTARG(); in PyEval_EvalFrameEx()
1187 f->f_lasti, opcode, oparg); in PyEval_EvalFrameEx()
1215 x = GETLOCAL(oparg); in PyEval_EvalFrameEx()
1223 PyTuple_GetItem(co->co_varnames, oparg)); in PyEval_EvalFrameEx()
1229 x = GETITEM(consts, oparg); in PyEval_EvalFrameEx()
[all …]
Dcompile.c686 opcode_stack_effect(int opcode, int oparg) in opcode_stack_effect() argument
824 return oparg-1; in opcode_stack_effect()
837 return oparg; in opcode_stack_effect()
845 return 1-oparg; in opcode_stack_effect()
885 return -oparg; in opcode_stack_effect()
888 return -NARGS(oparg); in opcode_stack_effect()
891 return -NARGS(oparg)-1; in opcode_stack_effect()
893 return -NARGS(oparg)-2; in opcode_stack_effect()
896 return -oparg; in opcode_stack_effect()
898 if (oparg == 3) in opcode_stack_effect()
[all …]
/external/kernel-headers/original/uapi/linux/
Dfutex.h148 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument
150 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))
/external/python/cpython2/Lib/compiler/
Dpyassem.py391 oparg = inst[1]
392 offset = begin[oparg] - pc
413 opname, oparg = t
416 self.insts[i] = opname, conv(self, oparg)
512 oparg = t[1]
514 lnotab.nextLine(oparg)
516 hi, lo = twobyte(oparg)
520 print opname, oparg
/external/python/cpython2/Misc/
DNEWS10574 literals. The oparg for BUILD_MAP now indicates an estimated