Lines Matching refs:opmap
12 self.assertEqual(stack_effect(dis.opmap['POP_TOP']), -1)
13 self.assertEqual(stack_effect(dis.opmap['DUP_TOP_TWO']), 2)
14 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 0), -1)
15 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 1), -1)
16 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 3), -2)
18 self.assertRaises(ValueError, stack_effect, dis.opmap['BUILD_SLICE'])
19 self.assertRaises(ValueError, stack_effect, dis.opmap['POP_TOP'], 0)
21 for name, code in dis.opmap.items():
30 for code in set(range(256)) - set(dis.opmap.values()):
36 JUMP_IF_TRUE_OR_POP = dis.opmap['JUMP_IF_TRUE_OR_POP']
40 FOR_ITER = dis.opmap['FOR_ITER']
44 JUMP_FORWARD = dis.opmap['JUMP_FORWARD']
50 for name, code in dis.opmap.items():