HomeSort by relevance Sort by last modified time
    Searched refs:insn (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/lib/Target/X86/Disassembler/
X86DisassemblerDecoder.c 164 * @param insn - The instruction with the reader function to use. The cursor
170 static int consumeByte(struct InternalInstruction* insn, uint8_t* byte) {
171 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor);
174 ++(insn->readerCursor);
182 * @param insn - See consumeByte().
186 static int lookAtByte(struct InternalInstruction* insn, uint8_t* byte) {
187 return insn->reader(insn->readerArg, byte, insn->readerCursor)
    [all...]
  /external/libpcap/
bpf_dump.c 36 struct bpf_insn *insn; local
40 insn = p->bf_insns;
43 for (i = 0; i < n; ++insn, ++i) {
44 printf("%u %u %u %u\n", insn->code,
45 insn->jt, insn->jf, insn->k);
50 for (i = 0; i < n; ++insn, ++i)
52 insn->code, insn->jt, insn->jf, insn->k)
    [all...]
  /external/tcpdump/
bpf_dump.c 40 struct bpf_insn *insn; local
44 insn = p->bf_insns;
47 for (i = 0; i < n; ++insn, ++i) {
48 printf("%u %u %u %u\n", insn->code,
49 insn->jt, insn->jf, insn->k);
54 for (i = 0; i < n; ++insn, ++i)
56 insn->code, insn->jt, insn->jf, insn->k)
    [all...]
  /sdk/emulator/qtools/
armdis.h 11 static char *disasm(uint32_t addr, uint32_t insn, char *buffer);
12 static Opcode decode(uint32_t insn);
15 static Opcode decode00(uint32_t insn);
16 static Opcode decode01(uint32_t insn);
17 static Opcode decode10(uint32_t insn);
18 static Opcode decode11(uint32_t insn);
19 static Opcode decode_mul(uint32_t insn);
20 static Opcode decode_ldrh(uint32_t insn);
21 static Opcode decode_alu(uint32_t insn);
23 static char *disasm_alu(Opcode opcode, uint32_t insn, char *ptr)
    [all...]
armdis.cpp 39 char *Arm::disasm(uint32_t addr, uint32_t insn, char *result)
45 Opcode opcode = decode(insn);
69 return disasm_alu(opcode, insn, ptr);
72 return disasm_branch(addr, opcode, insn, ptr);
74 return disasm_bkpt(insn, ptr);
79 return disasm_bx(insn, ptr);
84 return disasm_clz(insn, ptr);
90 return disasm_memblock(opcode, insn, ptr);
99 return disasm_mem(insn, ptr);
104 return disasm_memhalf(insn, ptr)
    [all...]
  /dalvik/dx/src/com/android/dx/dex/code/form/
Form30t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
71 public boolean branchFits(TargetInsn insn) {
77 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
78 int offset = ((TargetInsn) insn).getTargetOffset()
    [all...]
Form21t.java 45 public String insnArgString(DalvInsn insn) {
46 RegisterSpecList regs = insn.getRegisters();
47 return regs.get(0).regString() + ", " + branchString(insn);
52 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
53 return branchComment(insn);
64 public boolean isCompatible(DalvInsn insn) {
65 RegisterSpecList regs = insn.getRegisters();
67 if (!((insn instanceof TargetInsn) &&
73 TargetInsn ti = (TargetInsn) insn;
79 public BitSet compatibleRegs(DalvInsn insn) {
    [all...]
Form22t.java 45 public String insnArgString(DalvInsn insn) {
46 RegisterSpecList regs = insn.getRegisters();
48 ", " + branchString(insn);
53 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
54 return branchComment(insn);
65 public boolean isCompatible(DalvInsn insn) {
66 RegisterSpecList regs = insn.getRegisters();
68 if (!((insn instanceof TargetInsn) &&
75 TargetInsn ti = (TargetInsn) insn;
81 public BitSet compatibleRegs(DalvInsn insn) {
    [all...]
Form10t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
66 TargetInsn ti = (TargetInsn) insn;
72 public boolean branchFits(TargetInsn insn) {
73 int offset = insn.getTargetOffset()
    [all...]
Form20t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
66 TargetInsn ti = (TargetInsn) insn;
72 public boolean branchFits(TargetInsn insn) {
73 int offset = insn.getTargetOffset()
    [all...]
Form31i.java 47 public String insnArgString(DalvInsn insn) {
48 RegisterSpecList regs = insn.getRegisters();
49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant();
56 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
57 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant();
69 public boolean isCompatible(DalvInsn insn) {
70 RegisterSpecList regs = insn.getRegisters();
71 if (!((insn instanceof CstInsn) &&
77 CstInsn ci = (CstInsn) insn;
89 public BitSet compatibleRegs(DalvInsn insn) {
    [all...]
Form31t.java 45 public String insnArgString(DalvInsn insn) {
46 RegisterSpecList regs = insn.getRegisters();
47 return regs.get(0).regString() + ", " + branchString(insn);
52 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
53 return branchComment(insn);
64 public boolean isCompatible(DalvInsn insn) {
65 RegisterSpecList regs = insn.getRegisters();
67 if (!((insn instanceof TargetInsn) &&
78 public BitSet compatibleRegs(DalvInsn insn) {
79 RegisterSpecList regs = insn.getRegisters()
    [all...]
Form51l.java 48 public String insnArgString(DalvInsn insn) {
49 RegisterSpecList regs = insn.getRegisters();
50 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant();
57 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant();
70 public boolean isCompatible(DalvInsn insn) {
71 RegisterSpecList regs = insn.getRegisters();
72 if (!((insn instanceof CstInsn) &&
78 CstInsn ci = (CstInsn) insn;
86 public BitSet compatibleRegs(DalvInsn insn) {
    [all...]
Form11x.java 45 public String insnArgString(DalvInsn insn) {
46 RegisterSpecList regs = insn.getRegisters();
52 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
65 public boolean isCompatible(DalvInsn insn) {
66 RegisterSpecList regs = insn.getRegisters();
67 return (insn instanceof SimpleInsn) &&
74 public BitSet compatibleRegs(DalvInsn insn) {
75 RegisterSpecList regs = insn.getRegisters();
84 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
85 RegisterSpecList regs = insn.getRegisters()
    [all...]
Form10x.java 42 public String insnArgString(DalvInsn insn) {
49 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
62 public boolean isCompatible(DalvInsn insn) {
63 return (insn instanceof SimpleInsn) &&
64 (insn.getRegisters().size() == 0);
69 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
70 write(out, opcodeUnit(insn, 0));
  /system/core/libpixelflinger/codeflinger/
disassem.c 62 * insn[cc][mod] [operands]
292 static void disasm_register_shift(const disasm_interface_t *di, u_int insn);
293 static void disasm_print_reglist(const disasm_interface_t *di, u_int insn);
294 static void disasm_insn_ldrstr(const disasm_interface_t *di, u_int insn,
296 static void disasm_insn_ldrhstrh(const disasm_interface_t *di, u_int insn,
298 static void disasm_insn_ldcstc(const disasm_interface_t *di, u_int insn,
308 u_int insn; local
316 insn = di->di_readword(loc);
318 /* di->di_printf("loc=%08x insn=%08x : ", loc, insn);*/
    [all...]
  /frameworks/compile/libbcc/tests/
disassem.cpp 63 * insn[cc][mod] [operands]
288 static void disasm_register_shift(const disasm_interface_t *di, u_int insn);
289 static void disasm_print_reglist(const disasm_interface_t *di, u_int insn);
290 static void disasm_insn_ldrstr(const disasm_interface_t *di, u_int insn,
292 static void disasm_insn_ldrhstrh(const disasm_interface_t *di, u_int insn,
294 static void disasm_insn_ldcstc(const disasm_interface_t *di, u_int insn,
304 u_int insn; local
312 insn = di->di_readword(loc);
314 /* di->di_printf("loc=%08x insn=%08x : ", loc, insn);*/
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/code/form/
Form21t.java 43 public String insnArgString(DalvInsn insn) {
44 RegisterSpecList regs = insn.getRegisters();
45 return regs.get(0).regString() + ", " + branchString(insn);
50 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
51 return branchComment(insn);
62 public boolean isCompatible(DalvInsn insn) {
63 RegisterSpecList regs = insn.getRegisters();
65 if (!((insn instanceof TargetInsn) &&
71 TargetInsn ti = (TargetInsn) insn;
77 public boolean branchFits(TargetInsn insn) {
    [all...]
Form10t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
66 TargetInsn ti = (TargetInsn) insn;
72 public boolean branchFits(TargetInsn insn) {
73 int offset = insn.getTargetOffset()
    [all...]
Form20t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
66 TargetInsn ti = (TargetInsn) insn;
72 public boolean branchFits(TargetInsn insn) {
73 int offset = insn.getTargetOffset()
    [all...]
Form31t.java 43 public String insnArgString(DalvInsn insn) {
44 RegisterSpecList regs = insn.getRegisters();
45 return regs.get(0).regString() + ", " + branchString(insn);
50 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
51 return branchComment(insn);
62 public boolean isCompatible(DalvInsn insn) {
63 RegisterSpecList regs = insn.getRegisters();
65 if (!((insn instanceof TargetInsn) &&
76 public boolean branchFits(TargetInsn insn) {
88 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
    [all...]
Form22t.java 43 public String insnArgString(DalvInsn insn) {
44 RegisterSpecList regs = insn.getRegisters();
46 ", " + branchString(insn);
51 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
52 return branchComment(insn);
63 public boolean isCompatible(DalvInsn insn) {
64 RegisterSpecList regs = insn.getRegisters();
66 if (!((insn instanceof TargetInsn) &&
73 TargetInsn ti = (TargetInsn) insn;
79 public boolean branchFits(TargetInsn insn) {
    [all...]
Form30t.java 42 public String insnArgString(DalvInsn insn) {
43 return branchString(insn);
48 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
49 return branchComment(insn);
60 public boolean isCompatible(DalvInsn insn) {
61 if (!((insn instanceof TargetInsn) &&
62 (insn.getRegisters().size() == 0))) {
71 public boolean branchFits(TargetInsn insn) {
83 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
84 int offset = ((TargetInsn) insn).getTargetOffset()
    [all...]
Form10x.java 42 public String insnArgString(DalvInsn insn) {
49 public String insnCommentString(DalvInsn insn, boolean noteIndices) {
62 public boolean isCompatible(DalvInsn insn) {
63 return (insn instanceof SimpleInsn) &&
64 (insn.getRegisters().size() == 0);
75 public void writeTo(AnnotatedOutput out, DalvInsn insn) {
76 write(out, opcodeUnit(insn, 0));
  /external/llvm/lib/Target/ARM/Disassembler/
ARMDisassembler.cpp 37 /// o static uint16_t decodeInstruction(uint32_t insn) - the decoding function
40 /// o static uint16_t decodeThumbInstruction(field_t insn) - the decoding
52 static inline void showBitVector(raw_ostream &os, const uint32_t &insn) {
60 if (insn >> (i - 1) & 0x01)
75 static unsigned decodeARMInstruction(uint32_t &insn) {
76 if (slice(insn, 31, 28) == 15)
86 if (slice(insn, 27, 21) == 0x3e && slice(insn, 6, 4) == 1) {
87 if (slice(insn, 3, 0) == 15)
96 if (slice(insn, 27, 21) == 0x37 && slice(insn, 5, 4) == 1
397 uint32_t insn; local
446 unsigned insn = 0; local
    [all...]

Completed in 354 milliseconds

1 2 3 4 5 6 7 8 9