Searched defs:dis (Results 1 - 25 of 59) sorted by relevance

123

/external/python/cpython2/Tools/compiler/
H A Dstacktest.py2 import dis namespace
21 dis.dis(a)
23 dis.dis(b)
H A Ddumppyc.py4 import dis namespace
25 dis.dis(co)
/external/python/cpython3/Lib/test/
H A Dtest__opcode.py1 import dis namespace
10 self.assertEqual(_opcode.stack_effect(dis.opmap['POP_TOP']), -1)
11 self.assertEqual(_opcode.stack_effect(dis.opmap['DUP_TOP_TWO']), 2)
12 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 0), -1)
13 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 1), -1)
14 self.assertEqual(_opcode.stack_effect(dis.opmap['BUILD_SLICE'], 3), -2)
16 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['BUILD_SLICE'])
17 self.assertRaises(ValueError, _opcode.stack_effect, dis.opmap['POP_TOP'], 0)
H A Dbytecode_helper.py4 import dis namespace
14 dis.dis(co, file=s)
19 for instr in dis.get_instructions(x):
33 for instr in dis.get_instructions(x):
H A Dtest_dtrace.py1 import dis namespace
137 return dis.get_instructions(c)
H A Dtest_peepholer.py1 import dis namespace
92 load_consts = [instr for instr in dis.get_instructions(code)
172 for instr in dis.get_instructions(code):
214 for instr in dis.get_instructions(code):
221 for instr in dis.get_instructions(code):
238 returns = [instr for instr in dis.get_instructions(f)
248 returns = [instr for instr in dis.get_instructions(f)
265 returns = [instr for instr in dis.get_instructions(f)
276 returns = [instr for instr in dis.get_instructions(f)
279 returns = [instr for instr in dis
[all...]
/external/python/cpython2/Lib/
H A Ddis.py9 __all__ = ["dis", "disassemble", "distb", "disco",
16 def dis(x=None): function
38 dis(x1)
204 sys.stderr.write("usage: python dis.py [-|file]\n")
221 dis(code)
H A Dmodulefinder.py4 import dis namespace
18 LOAD_CONST = dis.opmap['LOAD_CONST']
19 IMPORT_NAME = dis.opmap['IMPORT_NAME']
20 STORE_NAME = dis.opmap['STORE_NAME']
21 STORE_GLOBAL = dis.opmap['STORE_GLOBAL']
23 HAVE_ARGUMENT = dis.HAVE_ARGUMENT
24 EXTENDED_ARG = dis.EXTENDED_ARG
H A Dtrace.py60 import dis namespace
397 for _, lineno in dis.findlinestarts(code):
H A Dinspect.py37 import dis namespace
765 if op >= dis.HAVE_ARGUMENT:
766 opname = dis.opname[op]
H A Dpickletools.py9 dis(pickle, out=None, memo=None, indentlevel=4)
13 __all__ = ['dis', 'genops', 'optimize']
18 # well-formedness. dis() does a lot of this already.
22 # dis() already prints this info at the end.
1891 def dis(pickle, out=None, memo=None, indentlevel=4): function
1902 may be mutated by dis(), if the pickle contains PUT or BINPUT opcodes.
1903 Passing the same memo object to another dis() call then allows disassembly
2036 >>> dis(pkl)
2065 >>> dis(pkl)
2090 >>> dis(pickl
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_dis.py1 # Minimal tests for dis module
6 import dis namespace
91 dis.dis(func)
106 self.assertEqual(dis.opmap["STOP_CODE"], 0)
107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)
108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)
111 self.assertEqual(dis
[all...]
H A Dtest_peepholer.py1 import dis namespace
10 dis.dis(func)
/external/libxcam/modules/ocl/
H A Dcl_pyramid_blender.cpp135 float dis = 0.0f, sum = 0.0f; local
143 dis = ((float)i - radius) * ((float)i - radius);
144 g_table[i] = exp(-dis / (2.0f * sigma * sigma));
H A Dcl_gauss_handler.cpp91 float dis = 0.0f, sum = 0.0f; local
102 dis = ((float)i - radius) * ((float)i - radius) + ((float)j - radius) * ((float)j - radius);
103 _g_table[i * scale + j] = exp(-dis / (2.0f * sigma * sigma));
H A Dcl_video_stabilizer.cpp354 float dis = 0.0f; local
360 dis = ((float)i - radius) * ((float)i - radius);
361 _weight[i] = exp(-dis / (_stdev * _stdev));
/external/python/cpython3/Lib/
H A Ddis.py11 __all__ = ["code_info", "dis", "disassemble", "distb", "disco",
34 def dis(x=None, *, file=None): function
55 dis(x1, file=file)
357 disassemble(_try_compile(source, '<dis>'), file=file)
459 def dis(self): member in class:Bytecode
487 dis(code)
H A Dmodulefinder.py3 import dis namespace
16 LOAD_CONST = dis.opmap['LOAD_CONST']
17 IMPORT_NAME = dis.opmap['IMPORT_NAME']
18 STORE_NAME = dis.opmap['STORE_NAME']
19 STORE_GLOBAL = dis.opmap['STORE_GLOBAL']
21 EXTENDED_ARG = dis.EXTENDED_ARG
344 opargs = [(op, arg) for _, op, arg in dis._unpack_opargs(code)
H A Dtrace.py60 import dis namespace
352 for _, lineno in dis.findlinestarts(code):
H A Dpickletools.py9 dis(pickle, out=None, memo=None, indentlevel=4)
19 __all__ = ['dis', 'genops', 'optimize']
26 # well-formedness. dis() does a lot of this already.
30 # dis() already prints this info at the end.
2345 def dis(pickle, out=None, memo=None, indentlevel=4, annotate=0): function
2356 may be mutated by dis(), if the pickle contains PUT or BINPUT opcodes.
2357 Passing the same memo object to another dis() call then allows disassembly
2364 Optional arg 'annotate' if nonzero instructs dis() to add short
2508 >>> dis(pkl0)
2546 >>> dis(pkl
[all...]
/external/nos/host/android/citadel/validation/
H A Dcitadel_validation_tool.cpp164 std::uniform_int_distribution<uint16_t> dis; local
184 const uint32_t value = dis(gen);
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_core.c600 struct rbug_proto_shader_disable *dis = (struct rbug_proto_shader_disable *)header; local
607 rb_context = rbug_get_context_locked(rb_screen, dis->context);
616 tr_shdr = rbug_get_shader_locked(rb_context, dis->shader);
624 tr_shdr->disabled = dis->disable;
/external/v8/src/s390/
H A Dassembler-s390-inl.h62 int32_t dis = static_cast<int32_t>(instr & 0xFFFFFFFF) * 2 // halfwords local
66 instr |= static_cast<uint32_t>(dis / 2);
459 int32_t dis = static_cast<int32_t>(instr_1 & 0xFFFFFFFF) * 2; local
460 return reinterpret_cast<Address>(reinterpret_cast<uint64_t>(pc) + dis);
/external/libxcam/xcore/
H A Dxcam_utils.cpp268 float dis = 0.0f, sum = 1.0f; local
275 dis = ((float)i - radius) * ((float)i - radius);
276 table[i] = table[scale - i - 1] = exp(-dis / (2.0f * sigma * sigma));
/external/python/cpython2/Lib/compiler/
H A Dpyassem.py3 import dis namespace
399 for i in dis.hasjrel:
400 hasjrel.add(dis.opname[i])
402 for i in dis.hasjabs:
403 hasjabs.add(dis.opname[i])
492 _cmp = list(dis.cmp_op)
526 for num in range(len(dis.opname)):
527 opnum[dis.opname[num]] = num

Completed in 733 milliseconds

123