/external/capstone/arch/XCore/ |
D | XCoreMapping.c | 52 if (reg >= ARR_SIZE(reg_name_maps)) in XCore_reg_name() 65 for(i = 1; i < ARR_SIZE(reg_name_maps); i++) { in XCore_reg_id() 91 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in XCore_get_insn_id() 257 for (i = 0; i < ARR_SIZE(alias_insn_names); i++) { in XCore_insn_name() 278 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in XCore_group_name() 290 if (r < ARR_SIZE(map)) in XCore_map_register()
|
/external/capstone/arch/AArch64/ |
D | AArch64BaseInfo.c | 638 for (i = 0; i < ARR_SIZE(SysRegPairs); ++i) { in A64SysRegMapper_toString() 648 for (i = 0; i < ARR_SIZE(CycloneSysRegPairs); ++i) { in A64SysRegMapper_toString() 725 ARR_SIZE(TLBIPairs), 746 ARR_SIZE(ATPairs), 767 ARR_SIZE(DBarrierPairs), 784 ARR_SIZE(DCPairs), 796 ARR_SIZE(ICPairs), 806 ARR_SIZE(ISBPairs), 833 ARR_SIZE(PRFMPairs), 847 ARR_SIZE(PStatePairs), [all …]
|
D | AArch64Mapping.c | 286 if (reg >= ARR_SIZE(reg_name_maps)) in AArch64_reg_name() 310 int i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in AArch64_get_insn_id() 814 if (id < ARR_SIZE(insn_name_maps)) in AArch64_insn_name() 818 for (i = 0; i < ARR_SIZE(alias_insn_name_maps); i++) { in AArch64_insn_name() 852 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in AArch64_group_name() 862 int i = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name); in AArch64_map_insn() 866 i = name2id(alias_insn_name_maps, ARR_SIZE(alias_insn_name_maps), name); in AArch64_map_insn() 959 if (r < ARR_SIZE(map)) in AArch64_map_vregister() 1018 int i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in AArch64_get_op_access()
|
D | AArch64Disassembler.c | 239 for (i = 0; i < ARR_SIZE(MI->flat_insn->detail->arm64.operands); i++) in _getInstruction()
|
/external/capstone/arch/Sparc/ |
D | SparcMapping.c | 115 if (reg >= ARR_SIZE(reg_name_maps)) in Sparc_reg_name() 165 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in Sparc_get_insn_id() 187 for (i = 0; i < ARR_SIZE(insn_hints); i++) { in Sparc_get_insn_id() 498 for (i = 0; i < ARR_SIZE(alias_insn_names); i++) { in Sparc_insn_name() 529 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in Sparc_group_name() 565 if (r < ARR_SIZE(map)) in Sparc_map_register() 578 i = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name); in Sparc_map_insn() 628 i = name2id(alias_icc_maps, ARR_SIZE(alias_icc_maps), name); in Sparc_map_ICC() 637 i = name2id(alias_fcc_maps, ARR_SIZE(alias_fcc_maps), name); in Sparc_map_FCC() 653 for(i = 0; i < ARR_SIZE(hint_maps); i++) { in Sparc_map_hint()
|
/external/capstone/arch/M680X/ |
D | M680XInstPrinter.c | 302 if (reg >= ARR_SIZE(s_reg_names)) in M680X_reg_name() 315 if (id >= ARR_SIZE(s_instruction_names)) in M680X_insn_name() 328 return id2name(s_group_names, ARR_SIZE(s_group_names), id); in M680X_group_name() 338 if (M680X_REG_ENDING != ARR_SIZE(s_reg_names)) { in M680X_instprinter_init() 345 if (M680X_INS_ENDING != ARR_SIZE(s_instruction_names)) { in M680X_instprinter_init() 352 if (M680X_GRP_ENDING != ARR_SIZE(s_group_names)) { in M680X_instprinter_init()
|
D | M680XDisassembler.c | 248 for (i = 0; i < ARR_SIZE(cpu->pageX_prefix); ++i) { in M680X_get_insn_id() 272 for (i = 0; i < ARR_SIZE(cpu->overlay_table_size); ++i) { in M680X_get_insn_id() 589 for (i = 0; i < ARR_SIZE(changed_regs); ++i) { in set_changed_regs_read_write_counts() 940 for (i = 0; i < ARR_SIZE(cpu->pageX_table_size); ++i) { in decode_insn() 980 for (i = 0; i < ARR_SIZE(cpu->overlay_table_size); ++i) { in decode_insn() 1955 ARR_SIZE(g_m6801_inst_overlay_table), 1956 ARR_SIZE(g_hd6301_inst_overlay_table) 1969 { ARR_SIZE(g_hd6309_inst_overlay_table), 0 }, 1973 ARR_SIZE(g_hd6309_inst_page2_table), 1974 ARR_SIZE(g_hd6309_inst_page3_table), [all …]
|
/external/capstone/arch/SystemZ/ |
D | SystemZMapping.c | 142 if (reg >= ARR_SIZE(reg_name_maps)) in SystemZ_reg_name() 168 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in SystemZ_get_insn_id() 215 for (i = 0; i < ARR_SIZE(alias_insn_names); i++) { in SystemZ_insn_name() 267 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in SystemZ_group_name() 472 if (r < ARR_SIZE(map)) in SystemZ_map_register()
|
/external/capstone/arch/EVM/ |
D | EVMMapping.c | 38 if (evm_insn_find(insns, ARR_SIZE(insns), id) > 0) { in EVM_get_insn_id() 310 if (id >= ARR_SIZE(insn_name_maps)) in EVM_insn_name() 339 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in EVM_group_name()
|
/external/capstone/arch/X86/ |
D | X86Mapping.c | 831 if (reg >= ARR_SIZE(reg_name_maps)) in X86_reg_name() 2437 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in X86_group_name() 2494 int i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in X86_get_insn_id() 2967 static struct insn_reg insn_regs_intel_sorted [ARR_SIZE(insn_regs_intel)]; 2986 unsigned int last = ARR_SIZE(insn_regs_intel) - 1; in X86_insn_reg_intel() 2993 ARR_SIZE(insn_regs_intel_sorted), in X86_insn_reg_intel() 3027 for (i = 0; i < ARR_SIZE(insn_regs_intel2); i++) { in X86_insn_reg_intel2() 3048 for (i = 0; i < ARR_SIZE(insn_regs_intel2); i++) { in X86_insn_reg_att2() 3069 for (i = 0; i < ARR_SIZE(insn_regs_att); i++) { in X86_insn_reg_att() 3085 int i = insn_find(insns, ARR_SIZE(insns), opcode, &h->insn_cache); in valid_repne() [all …]
|
D | X86ATTInstPrinter.c | 1052 …sizeof(MI->flat_insn->detail->x86.operands[0]) * (ARR_SIZE(MI->flat_insn->detail->x86.operands) - … in X86_ATT_printInst() 1069 …sizeof(MI->flat_insn->detail->x86.operands[0]) * (ARR_SIZE(MI->flat_insn->detail->x86.operands) - … in X86_ATT_printInst()
|
D | X86IntelInstPrinter.c | 803 …sizeof(MI->flat_insn->detail->x86.operands[0]) * (ARR_SIZE(MI->flat_insn->detail->x86.operands) - … in X86_Intel_printInst()
|
D | X86DisassemblerDecoder.c | 1145 for (i = idx - 1; i < ARR_SIZE(x86_16_bit_eq_tbl) && x86_16_bit_eq_tbl[i].first == orig; i++) { in is16BitEquivalent()
|
/external/capstone/arch/ARM/ |
D | ARMMapping.c | 248 if (reg >= ARR_SIZE(reg_name_maps)) in ARM_reg_name() 260 if (reg >= ARR_SIZE(reg_name_maps2)) in ARM_reg_name2() 283 int i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in ARM_get_insn_id() 816 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in ARM_group_name() 891 int i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in ARM_get_op_access()
|
/external/capstone/ |
D | utils.h | 54 #define ARR_SIZE(a) (sizeof(a)/sizeof(a[0])) macro
|
D | MCInst.c | 16 #define MCINST_CACHE (ARR_SIZE(mcInst->Operands) - 1)
|
/external/capstone/arch/Mips/ |
D | MipsMapping.c | 204 if (reg >= ARR_SIZE(reg_name_maps)) in Mips_reg_name() 230 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in Mips_get_insn_id() 957 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in Mips_group_name() 970 i = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name); in Mips_map_insn() 1063 if (r < ARR_SIZE(map)) in Mips_map_register()
|
/external/capstone/arch/PowerPC/ |
D | PPCMapping.c | 237 if (reg >= ARR_SIZE(reg_name_maps)) in PPC_reg_name() 263 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in PPC_get_insn_id() 1427 for (i = 0; i < ARR_SIZE(alias_insn_names); i++) { in PPC_insn_name() 1465 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in PPC_group_name() 1538 if (r < ARR_SIZE(map)) in PPC_map_register() 1644 for(i = 0; i < ARR_SIZE(alias_insn_name_maps); i++) { in PPC_alias_insn() 1654 x = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name); in PPC_alias_insn()
|
/external/capstone/arch/TMS320C64x/ |
D | TMS320C64xMapping.c | 113 if (reg >= ARR_SIZE(reg_name_maps)) in TMS320C64x_reg_name() 126 for(i = 1; i < ARR_SIZE(reg_name_maps); i++) { in TMS320C64x_reg_id() 1696 i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache); in TMS320C64x_get_insn_id() 1904 for (i = 0; i < ARR_SIZE(group_name_maps); i++) { in TMS320C64x_group_name() 1920 if (r < ARR_SIZE(map)) in TMS320C64x_map_register()
|
/external/capstone/arch/MOS65XX/ |
D | MOS65XXDisassembler.c | 560 if (id >= ARR_SIZE(InstructionInfoTable)) { in MOS65XX_insn_name() 572 if (reg >= ARR_SIZE(RegNames)) { in MOS65XX_reg_name() 591 if (id >= ARR_SIZE(GroupNames)) { in MOS65XX_group_name()
|
/external/capstone/arch/M68K/ |
D | M68KInstPrinter.c | 348 if (reg >= ARR_SIZE(s_reg_names)) { in M68K_reg_name() 382 return id2name(group_name_maps, ARR_SIZE(group_name_maps), id); in M68K_group_name()
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc_builder.cpp | 341 .ARR_SIZE(bc.array_size) in build_cf_mem() 352 .ARR_SIZE(bc.array_size) in build_cf_mem() 363 .ARR_SIZE(bc.array_size) in build_cf_mem() 740 .ARR_SIZE(bc.array_size); in build_fetch_mem()
|
D | sb_bc_fmt_def.inc | 171 BC_FIELD(CF_ALLOC_EXPORT_WORD1_BUF, ARR_SIZE, ARR_SZ, 11, 0) 183 BC_FIELD(CF_ALLOC_EXPORT_WORD1_BUF, ARR_SIZE, ARR_SZ, 11, 0) 194 BC_FIELD(CF_ALLOC_EXPORT_WORD1_BUF, ARR_SIZE, ARR_SZ, 11, 0) 606 BC_FIELD(MEM_RD_WORD1, ARR_SIZE, ARR_SZ, 31, 20)
|
/external/capstone/tests/ |
D | test_m680x.c | 10 #define ARR_SIZE(a) (sizeof(a)/sizeof(a[0])) macro
|
/external/capstone/bindings/ocaml/ |
D | ocaml.c | 13 #define ARR_SIZE(a) (sizeof(a)/sizeof(a[0])) macro 322 lcount = list_count(insn[j-1].detail->x86.prefix, ARR_SIZE(insn[j-1].detail->x86.prefix)); in _cs_disasm() 333 lcount = list_count(insn[j-1].detail->x86.opcode, ARR_SIZE(insn[j-1].detail->x86.opcode)); in _cs_disasm()
|