Home
last modified time | relevance | path

Searched refs:op_count (Results 1 – 25 of 77) sorted by relevance

1234

/external/capstone/arch/AArch64/
DAArch64InstPrinter.c56 MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].type = ARM64_OP_MEM; in set_mem_access()
57 …MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].mem.base = ARM64_REG_… in set_mem_access()
58 …MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].mem.index = ARM64_REG… in set_mem_access()
59 MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].mem.disp = 0; in set_mem_access()
62 MI->flat_insn->detail->arm64.op_count++; in set_mem_access()
119 … MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].type = ARM64_OP_REG; in AArch64_printInst()
120 …MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].reg = MCOperand_getRe… in AArch64_printInst()
121 MI->flat_insn->detail->arm64.op_count++; in AArch64_printInst()
122 … MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].type = ARM64_OP_REG; in AArch64_printInst()
123 …MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].reg = getWRegFromXReg… in AArch64_printInst()
[all …]
/external/capstone/arch/XCore/
DXCoreInstPrinter.c68 … MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].type = XCORE_OP_REG; in XCore_insn_extract()
69 MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].reg = id; in XCore_insn_extract()
70 MI->flat_insn->detail->xcore.op_count++; in XCore_insn_extract()
90 … MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].type = XCORE_OP_MEM; in XCore_insn_extract()
91 …MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.base = (uint8_t)i… in XCore_insn_extract()
92 …MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.index = XCORE_REG… in XCore_insn_extract()
93 MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.disp = 0; in XCore_insn_extract()
94 MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.direct = 1; in XCore_insn_extract()
109 …MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.index = (uint8_t)… in XCore_insn_extract()
114 … MI->flat_insn->detail->xcore.operands[MI->flat_insn->detail->xcore.op_count].mem.disp = atoi(p2); in XCore_insn_extract()
[all …]
/external/capstone/arch/ARM/
DARMInstPrinter.c129 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].type = ARM_OP_MEM; in set_mem_access()
130 …MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.base = ARM_REG_INVALI… in set_mem_access()
131 …MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = ARM_REG_INVAL… in set_mem_access()
132 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.scale = 1; in set_mem_access()
133 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.disp = 0; in set_mem_access()
136 MI->flat_insn->detail->arm.op_count++; in set_mem_access()
143 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].type = ARM_OP_IMM; in op_addImm()
144 MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].imm = v; in op_addImm()
145 MI->flat_insn->detail->arm.op_count++; in op_addImm()
189 …MI->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].shift.type = (arm_shifter… in printRegImmShift()
[all …]
/external/capstone/arch/SystemZ/
DSystemZInstPrinter.c63 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].type = SYSZ_OP_MEM; in printAddress()
64 …MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].mem.base = (uint8_t)Sys… in printAddress()
65 …MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].mem.index = (uint8_t)Sy… in printAddress()
66 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].mem.disp = Disp; in printAddress()
67 MI->flat_insn->detail->sysz.op_count++; in printAddress()
71 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].type = SYSZ_OP_IMM; in printAddress()
72 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].imm = Disp; in printAddress()
73 MI->flat_insn->detail->sysz.op_count++; in printAddress()
88 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].type = SYSZ_OP_REG; in _printOperand()
89 MI->flat_insn->detail->sysz.operands[MI->flat_insn->detail->sysz.op_count].reg = reg; in _printOperand()
[all …]
/external/capstone/arch/X86/
DX86ATTInstPrinter.c61 MI->flat_insn->detail->x86.op_count++; in set_mem_access()
273 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].type = X86_OP_MEM; in printSrcIdx()
274 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].size = MI->x86opsize; in printSrcIdx()
275 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.segment = X86_REG_INV… in printSrcIdx()
276 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.base = X86_REG_INVALI… in printSrcIdx()
277 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.index = X86_REG_INVAL… in printSrcIdx()
278 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.scale = 1; in printSrcIdx()
279 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.disp = 0; in printSrcIdx()
289 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.segment = reg; in printSrcIdx()
307 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].type = X86_OP_MEM; in printDstIdx()
[all …]
DX86IntelInstPrinter.c60 MI->flat_insn->detail->x86.op_count++; in set_mem_access()
299 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].type = X86_OP_MEM; in printSrcIdx()
300 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].size = MI->x86opsize; in printSrcIdx()
301 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.segment = X86_REG_INV… in printSrcIdx()
302 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.base = X86_REG_INVALI… in printSrcIdx()
303 …MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.index = X86_REG_INVAL… in printSrcIdx()
304 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.scale = 1; in printSrcIdx()
305 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.disp = 0; in printSrcIdx()
315 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.segment = reg; in printSrcIdx()
330 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].type = X86_OP_MEM; in printDstIdx()
[all …]
/external/capstone/arch/PowerPC/
DPPCInstPrinter.c52 MI->flat_insn->detail->ppc.operands[MI->flat_insn->detail->ppc.op_count].type = PPC_OP_MEM; in set_mem_access()
53 …MI->flat_insn->detail->ppc.operands[MI->flat_insn->detail->ppc.op_count].mem.base = PPC_REG_INVALI… in set_mem_access()
54 MI->flat_insn->detail->ppc.operands[MI->flat_insn->detail->ppc.op_count].mem.disp = 0; in set_mem_access()
57 MI->flat_insn->detail->ppc.op_count++; in set_mem_access()
118 ppc->operands[ppc->op_count].type = PPC_OP_IMM; in PPC_printInst()
119 ppc->operands[ppc->op_count].imm = SH; in PPC_printInst()
120 ++ppc->op_count; in PPC_printInst()
363 MI->flat_insn->detail->ppc.operands[MI->flat_insn->detail->ppc.op_count].type = PPC_OP_IMM; in printU2ImmOperand()
364 MI->flat_insn->detail->ppc.operands[MI->flat_insn->detail->ppc.op_count].imm = Value; in printU2ImmOperand()
365 MI->flat_insn->detail->ppc.op_count++; in printU2ImmOperand()
[all …]
/external/capstone/arch/Mips/
DMipsInstPrinter.c96 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].type = MIPS_OP_MEM; in set_mem_access()
97 …MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].mem.base = MIPS_REG_INV… in set_mem_access()
98 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].mem.disp = 0; in set_mem_access()
101 MI->flat_insn->detail->mips.op_count++; in set_mem_access()
198 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].mem.base = reg; in printOperand()
200 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].type = MIPS_OP_REG; in printOperand()
201 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].reg = reg; in printOperand()
202 MI->flat_insn->detail->mips.op_count++; in printOperand()
222 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].mem.disp = imm; in printOperand()
237 MI->flat_insn->detail->mips.operands[MI->flat_insn->detail->mips.op_count].type = MIPS_OP_IMM; in printOperand()
[all …]
/external/capstone/arch/Sparc/
DSparcInstPrinter.c56 MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].type = SPARC_OP_REG; in Sparc_add_reg()
57 MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].reg = reg; in Sparc_add_reg()
58 MI->flat_insn->detail->sparc.op_count++; in Sparc_add_reg()
70 MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].type = SPARC_OP_MEM; in set_mem_access()
71 …MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].mem.base = SPARC_REG_… in set_mem_access()
72 MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].mem.disp = 0; in set_mem_access()
75 MI->flat_insn->detail->sparc.op_count++; in set_mem_access()
178 if (MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].mem.base) in printOperand()
179 …MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].mem.index = (uint8_t)… in printOperand()
181 …MI->flat_insn->detail->sparc.operands[MI->flat_insn->detail->sparc.op_count].mem.base = (uint8_t)r… in printOperand()
[all …]
/external/libunwind/tests/
Dia64-test-dyn1.c115 r_epi->op_count = 5; in main()
121 assert ((unsigned) i <= r_epi->op_count); in main()
126 r_pro->op_count = 4; in main()
137 assert ((unsigned) i <= r_pro->op_count); in main()
142 r->op_count = 16; in main()
148 assert ((unsigned) i <= r->op_count); in main()
153 r->op_count = 16; in main()
161 assert ((unsigned) i <= r->op_count); in main()
166 r->op_count = 16; in main()
177 assert ((unsigned) i <= r->op_count); in main()
/external/mesa3d/src/mapi/glapi/gen/
DglX_server_table.py99 op_count = 1 << (remaining_bits - M);
104 for i in range(min_opcode, next_opcode, op_count):
108 for j in range(i, i + op_count):
115 if empty == op_count:
118 if used == op_count:
121 … if (empty_children > 0) or (full_children == child_count) or (op_count <= self.min_op_count):
135 for i in range(min_opcode, next_opcode, op_count):
/external/capstone/cstool/
Dcstool_mips.c21 if (mips->op_count) in print_insn_detail_mips()
22 printf("\top_count: %u\n", mips->op_count); in print_insn_detail_mips()
24 for (i = 0; i < mips->op_count; i++) { in print_insn_detail_mips()
Dcstool_sparc.c20 if (sparc->op_count) in print_insn_detail_sparc()
21 printf("\top_count: %u\n", sparc->op_count); in print_insn_detail_sparc()
23 for (i = 0; i < sparc->op_count; i++) { in print_insn_detail_sparc()
Dcstool_xcore.c19 if (xcore->op_count) in print_insn_detail_xcore()
20 printf("\top_count: %u\n", xcore->op_count); in print_insn_detail_xcore()
22 for (i = 0; i < xcore->op_count; i++) { in print_insn_detail_xcore()
Dcstool_systemz.c20 if (sysz->op_count) in print_insn_detail_sysz()
21 printf("\top_count: %u\n", sysz->op_count); in print_insn_detail_sysz()
23 for (i = 0; i < sysz->op_count; i++) { in print_insn_detail_sysz()
Dcstool_ppc.c49 if (ppc->op_count) in print_insn_detail_ppc()
50 printf("\top_count: %u\n", ppc->op_count); in print_insn_detail_ppc()
52 for (i = 0; i < ppc->op_count; i++) { in print_insn_detail_ppc()
Dcstool_arm64.c21 if (arm64->op_count) in print_insn_detail_arm64()
22 printf("\top_count: %u\n", arm64->op_count); in print_insn_detail_arm64()
24 for (i = 0; i < arm64->op_count; i++) { in print_insn_detail_arm64()
/external/capstone/
Dcs.c979 for (i = 0; i < insn->detail->arm.op_count; i++) in cs_op_count()
984 for (i = 0; i < insn->detail->arm64.op_count; i++) in cs_op_count()
989 for (i = 0; i < insn->detail->x86.op_count; i++) in cs_op_count()
994 for (i = 0; i < insn->detail->mips.op_count; i++) in cs_op_count()
999 for (i = 0; i < insn->detail->ppc.op_count; i++) in cs_op_count()
1004 for (i = 0; i < insn->detail->sparc.op_count; i++) in cs_op_count()
1009 for (i = 0; i < insn->detail->sysz.op_count; i++) in cs_op_count()
1014 for (i = 0; i < insn->detail->xcore.op_count; i++) in cs_op_count()
1056 for (i = 0; i < insn->detail->arm.op_count; i++) { in cs_op_index()
1064 for (i = 0; i < insn->detail->arm64.op_count; i++) { in cs_op_index()
[all …]
/external/capstone/bindings/java/capstone/
DXcore.java56 public byte op_count; field in Xcore.UnionOpInfo
65 op = new Operand[op_count]; in read()
66 if (op_count != 0) in read()
DMips.java60 public byte op_count; field in Mips.UnionOpInfo
69 op = new Operand[op_count]; in read()
70 if (op_count != 0) in read()
DSparc.java57 public byte op_count; field in Sparc.UnionOpInfo
69 op = new Operand[op_count]; in read()
70 if (op_count != 0) in read()
DSystemz.java59 public byte op_count; field in Systemz.UnionOpInfo
70 op = new Operand[op_count]; in read()
71 if (op_count != 0) in read()
DPpc.java71 public byte op_count; field in Ppc.UnionOpInfo
84 op = new Operand[op_count]; in read()
85 if (op_count != 0) in read()
DArm64.java90 public byte op_count; field in Arm64.UnionOpInfo
103 op = new Operand[op_count]; in read()
104 if (op_count != 0) in read()
/external/libunwind/src/mi/
DGdyn-remote.c58 uint32_t insn_count, op_count, i; in intern_regions() local
70 || (ret = fetch32 (as, a, addr, (int32_t *) &op_count, arg)) < 0) in intern_regions()
73 region = calloc (1, _U_dyn_region_info_size (op_count)); in intern_regions()
81 region->op_count = op_count; in intern_regions()
82 for (i = 0; i < op_count; ++i) in intern_regions()

1234