Home
last modified time | relevance | path

Searched refs:opmap (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/
Dtest__opcode.py12 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']
[all …]
Dtest_richcmp.py87 opmap = { variable
99 for op in opmap[opname]:
103 for op in opmap[opname]:
118 for opname in opmap:
133 for ops in opmap.values():
152 for ops in opmap.values():
163 for op in opmap[opname]:
303 for op in opmap[opname]:
337 for op in opmap["eq"]:
350 for op in opmap["lt"]:
Dtest_dis.py514 self.assertEqual(dis.opmap["NOP"], 9)
515 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)
516 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)
519 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")
522 self.assertEqual(dis.opmap["EXTENDED_ARG"], dis.EXTENDED_ARG)
523 self.assertEqual(dis.opmap["STORE_NAME"], dis.HAVE_ARGUMENT)
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstop.c140 setOpmap (gint8 * opmap[4], gint width, gint height) in setOpmap()
164 opmap[OP_SPIRAL1][i] = ((guint) in setOpmap()
171 opmap[OP_SPIRAL2][i] = ((guint) in setOpmap()
174 opmap[OP_PARABOLA][i] = in setOpmap()
176 opmap[OP_HSTRIPE][i] = x * 8 * sci; in setOpmap()
225 if (G_UNLIKELY (filter->opmap[0] == NULL)) in gst_optv_transform_frame()
238 p = filter->opmap[OP_SPIRAL1]; in gst_optv_transform_frame()
241 p = filter->opmap[OP_SPIRAL2]; in gst_optv_transform_frame()
244 p = filter->opmap[OP_PARABOLA]; in gst_optv_transform_frame()
247 p = filter->opmap[OP_HSTRIPE]; in gst_optv_transform_frame()
[all …]
Dgstop.h60 gint8 *opmap[4]; member
/third_party/python/Tools/scripts/
Dgenerate_opcode_h.py55 opmap = opcode['opmap']
61 if name in opmap:
62 fobj.write("#define %-23s %3s\n" % (name, opmap[name]))
/third_party/python/Lib/lib2to3/pgen2/
Dgrammar.py184 opmap = {} variable
188 opmap[op] = getattr(token, name)
Ddriver.py67 type = grammar.opmap[value]
Dpgen.py99 itoken = grammar.opmap[value] # Fails if unknown token
/third_party/python/Lib/
Dopcode.py35 opmap = {} variable
40 opmap[name] = op
Dmodulefinder.py12 LOAD_CONST = dis.opmap['LOAD_CONST']
13 IMPORT_NAME = dis.opmap['IMPORT_NAME']
14 STORE_NAME = dis.opmap['STORE_NAME']
15 STORE_GLOBAL = dis.opmap['STORE_GLOBAL']
Ddis.py19 FORMAT_VALUE = opmap['FORMAT_VALUE']
26 MAKE_FUNCTION = opmap['MAKE_FUNCTION']
/third_party/ffmpeg/libavfilter/
Daf_ladspa.c52 unsigned long *opmap; /* map output number to port number */ member
195 s->desc->connect_port(s->handles[h], s->opmap[i], in filter_frame()
264 s->desc->connect_port(s->handles[0], s->opmap[i], in request_frame()
547 s->opmap = av_calloc(nb_ports, sizeof(*s->opmap)); in init()
553 if (!s->ipmap || !s->opmap || !s->icmap || in init()
565 s->opmap[s->nb_outputs] = i; in init()
760 av_freep(&s->opmap); in uninit()
/third_party/python/Lib/lib2to3/
Dpatcomp.py188 elif value in grammar.opmap:
189 return grammar.opmap[value]
Dbtm_utils.py9 tokens = grammar.opmap
/third_party/python/Python/
Dmakeopcodetargets.py35 for opname, op in opcode.opmap.items():
/third_party/python/Doc/library/
Ddis.rst1294 .. data:: opmap