/third_party/python/Lib/test/ |
D | test_dis.py | 519 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST") 526 for opcode, opname in enumerate(dis.opname): 527 if opname in ('BUILD_MAP_UNPACK_WITH_CALL', 531 with self.subTest(opname=opname): 535 self.assertLessEqual(len(opname), width) 968 …Instruction(opname='LOAD_CONST', opcode=100, arg=8, argval=(3, 4), argrepr='(3, 4)', offset=0, sta… 969 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=0, argval='a', argrepr='a', offset=2, starts_li… 970 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=1, argval='b', argrepr='b', offset=4, starts_li… 971 …Instruction(opname='BUILD_TUPLE', opcode=102, arg=2, argval=2, argrepr='', offset=6, starts_line=N… 972 …Instruction(opname='LOAD_CONST', opcode=100, arg=3, argval=code_object_f, argrepr=repr(code_object… [all …]
|
D | test_peepholer.py | 7 def count_instr_recursively(f, opname): argument 10 if instr.opname == opname: 16 count += count_instr_recursively(c, opname) 26 if 'JUMP_' not in instr.opname: 30 if tgt.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD'): 34 if (instr.opname in ('JUMP_ABSOLUTE', 'JUMP_FORWARD') and 35 tgt.opname == 'RETURN_VALUE'): 39 if '_OR_POP' in instr.opname and 'JUMP_IF_' in tgt.opname: 146 if instr.opname == 'LOAD_CONST'] 232 self.assertFalse(instr.opname.startswith('BINARY_')) [all …]
|
D | test_richcmp.py | 98 def checkfail(self, error, opname, *args): argument 99 for op in opmap[opname]: 102 def checkequal(self, opname, a, b, expres): argument 103 for op in opmap[opname]: 118 for opname in opmap: 119 self.checkfail(ValueError, opname, a, b) 158 def checkvalue(self, opname, a, b, expres): argument 163 for op in opmap[opname]: 302 for opname in ("lt", "le", "gt", "ge"): 303 for op in opmap[opname]:
|
D | test__opcode.py | 22 with self.subTest(opname=name): 51 with self.subTest(opname=name):
|
D | test_compile.py | 693 list(dis.get_instructions(unused_code_at_end))[-1].opname) 774 self.assertEqual('LOAD_CONST', opcodes[-2].opname) 776 self.assertEqual('RETURN_VALUE', opcodes[-1].opname) 793 self.assertEqual('LOAD_CONST', opcodes[0].opname) 795 self.assertEqual('RETURN_VALUE', opcodes[1].opname) 817 self.assertIn('LOAD_', opcodes[0].opname) 818 self.assertEqual('RETURN_VALUE', opcodes[1].opname) 982 if instr.opname == 'JUMP_FORWARD': 984 elif instr.opname in HANDLED_JUMPS:
|
/third_party/python/Lib/test/support/ |
D | bytecode_helper.py | 17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): argument 20 if instr.opname == opname: 25 msg = '%s not found in bytecode:\n%s' % (opname, disassembly) 28 msg = msg % (opname, argval, disassembly) 31 def assertNotInBytecode(self, x, opname, argval=_UNSPECIFIED): argument 34 if instr.opname == opname: 37 msg = '%s occurs in bytecode:\n%s' % (opname, disassembly) 41 msg = msg % (opname, argval, disassembly)
|
/third_party/elfutils/tests/ |
D | varlocs.c | 200 const char *opname = dwarf_opcode_string (atom); in print_expr() local 236 printf ("%s", opname); in print_expr() 244 printf ("%s", opname); in print_expr() 251 printf ("%s", opname); in print_expr() 262 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr() 264 printf ("%s ", opname); in print_expr() 299 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr() 300 printf ("%s", opname); in print_expr() 305 printf ("%s(0x%" PRIx64 ")", opname, (Dwarf_Addr) expr->number); in print_expr() 320 printf ("%s(%" PRIu64 ")", opname, expr->number); in print_expr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/spirv-tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
D | generate_grammar_tables.py | 216 def __init__(self, opname, caps, exts, operands, version, lastVersion): argument 228 assert opname.startswith('Op') 229 self.opname = opname[2:] # Remove the "Op" prefix. 253 if (self.opname == 'ExtInst' 265 opname=self.opname, 282 def __init__(self, opname, opcode, caps, operands): argument 291 self.opname = opname 302 opname=self.opname, 321 opname = inst.get('opname') 330 assert opname is not None [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | compile-i386.c | 1160 const char *opname; in emit_move() local 1220 opname = "mov"; in emit_move() 1222 opname = is_signed ? "movsx" : "movzx"; in emit_move() 1224 opname = "mov"; in emit_move() 1226 insn(opbits(opname, bits), src, dest, comment); in emit_move() 1235 const char *opname = NULL; in emit_compare() local 1239 case '<': opname = "setl"; break; in emit_compare() 1240 case '>': opname = "setg"; break; in emit_compare() 1242 opname = "setle"; break; in emit_compare() 1244 opname = "setge"; break; in emit_compare() [all …]
|
D | show-parse.c | 800 const char *opname; in show_binop() local 809 opname = show_special(op); in show_binop() 811 opname = name[op]; in show_binop() 812 printf("\t%s.%d\t\tv%d,v%d,v%d\n", opname, in show_binop() 835 const char *opname; in show_regular_preop() local 837 opname = show_special(op); in show_regular_preop() 839 opname = name[op]; in show_regular_preop() 840 printf("\t%s.%d\t\tv%d,v%d\n", opname, expr->ctype->bit_size, new, target); in show_regular_preop() 923 const char *opname = expr->op == SPECIAL_INCREMENT ? "add" : "sub"; in show_inc_dec() local 930 printf("\t%s.%d\t\tv%d,v%d,$1\n", opname, bits, new, retval); in show_inc_dec()
|
/third_party/python/Tools/scripts/ |
D | analyze_dxp.py | 89 result = [(op, opcode.opname[op], count) 107 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
|
/third_party/openssl/doc/man7/ |
D | openssl-core_dispatch.h.pod | 25 These macros have the form C<OSSL_OP_I<opname>>. 29 These macros have the form C<OSSL_FUNC_I<opname>_I<funcname>>, where 30 C<I<opname>> is the same as in the macro for the operation this
|
/third_party/openssl/test/testutil/ |
D | tests.c | 211 #define DEFINE_COMPARISON(type, name, opname, op, fmt) \ argument 212 int test_ ## name ## _ ## opname(const char *file, int line, \ 360 #define DEFINE_BN_COMPARISONS(opname, op, zero_cond) \ argument 361 int test_BN_ ## opname(const char *file, int line, \ 371 int test_BN_ ## opname ## _zero(const char *file, int line, \ 450 #define DEFINE_TIME_T_COMPARISON(opname, op) \ argument 451 int test_time_t_ ## opname(const char *file, int line, \
|
/third_party/mesa3d/docs/_exts/ |
D | nir.py | 142 for opname, todocname in self.data['alu-op-refs']: 143 if target == opname: 144 targ = 'nir-alu-op-' + opname
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_print_constant.c | 38 const char *opname = alu_opcode_props[op].name; in mir_print_constant_component() local 43 if (!opname) in mir_print_constant_component() 44 opname = "unknown"; in mir_print_constant_component()
|
/third_party/python/Python/ |
D | makeopcodetargets.py | 35 for opname, op in opcode.opmap.items(): 36 targets[op] = "TARGET_%s" % opname
|
/third_party/python/Lib/ |
D | opcode.py | 36 opname = ['<%r>' % (op,) for op in range(256)] variable 39 opname[op] = name
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_packer.c.py | 212 def pack_variant(opname, states): argument 232 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset, opname[0] == '*') 302 …return variant_template.render(name = opname_to_c(opname), states = zip(pack_exprs, state_body, st…
|
/third_party/ffmpeg/compat/atomics/dummy/ |
D | stdatomic.h | 132 #define FETCH_MODIFY(opname, op) \ argument 133 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \
|
/third_party/libfuse/test/ |
D | stracedecode.c | 49 static const char *opname(enum fuse_opcode opcode) in opname() function 69 opname((enum fuse_opcode) in->opcode), in->opcode, in process_buf()
|
/third_party/ffmpeg/compat/atomics/pthread/ |
D | stdatomic.h | 151 #define FETCH_MODIFY(opname, op) \ argument 152 static inline intptr_t atomic_fetch_ ## opname(intptr_t *object, intptr_t operand) \
|
/third_party/mksh/ |
D | expr.c | 54 static const char opname[][4] = { variable 198 s = opname[(int)es->tok]; in evalerr() 638 for (i = 0; (n0 = ord(opname[i][0])); i++) in exprtoken() 639 if (c == n0 && strncmp(cp, opname[i], in exprtoken() 656 evalerr(es, ET_LVALUE, opname[(int)op]); in assign_check() 658 evalerr(es, ET_RDONLY, opname[(int)op]); in assign_check()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instr_fetch.h | 118 void override_opname(const char *opname) { m_opname = opname;} in override_opname() argument
|