/art/libdexfile/dex/ |
D | dex_instruction.h | 491 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetOpcode() local 492 insns[0] = (insns[0] & 0xff00) | static_cast<uint16_t>(opcode); in SetOpcode() 497 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegA_10x() local 498 insns[0] = (val << 8) | (insns[0] & 0x00ff); in SetVRegA_10x() 503 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegB_3rc() local 504 insns[1] = val; in SetVRegB_3rc() 509 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegB_35c() local 510 insns[1] = val; in SetVRegB_35c() 515 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegC_22c() local 516 insns[1] = val; in SetVRegC_22c() [all …]
|
D | dex_instruction.cc | 92 const uint16_t* insns = reinterpret_cast<const uint16_t*>(this); in CanFlowThrough() local 93 uint16_t insn = *insns; in CanFlowThrough() 99 const uint16_t* insns = reinterpret_cast<const uint16_t*>(this); in SizeInCodeUnitsComplexOpcode() local 101 switch (*insns) { in SizeInCodeUnitsComplexOpcode() 103 return (4 + insns[1] * 2); in SizeInCodeUnitsComplexOpcode() 105 return (2 + insns[1] * 4); in SizeInCodeUnitsComplexOpcode() 107 uint16_t element_size = insns[1]; in SizeInCodeUnitsComplexOpcode() 108 uint32_t length = insns[2] | (((uint32_t)insns[3]) << 16); in SizeInCodeUnitsComplexOpcode() 113 if ((*insns & 0xFF) == 0) { in SizeInCodeUnitsComplexOpcode() 123 const uint16_t* insns = reinterpret_cast<const uint16_t*>(this); in CodeUnitsRequiredForSizeOfComplexOpcode() local [all …]
|
D | code_item_accessors_test.cc | 75 const uint16_t* insns) { in TEST() argument 79 EXPECT_EQ(insns_accessor.Insns(), insns); in TEST() 84 EXPECT_EQ(data_accessor.Insns(), insns); in TEST()
|
D | code_item_accessors-inl.h | 32 const uint16_t* insns) { in Init() argument 34 insns_ = insns; in Init()
|
D | code_item_accessors.h | 81 ALWAYS_INLINE void Init(uint32_t insns_size_in_code_units, const uint16_t* insns);
|
D | dex_file_verifier.cc | 1558 const uint16_t* insns = accessor.Insns(); in CheckIntraCodeItem() local 1560 if (!CheckListSize(insns, insns_size, sizeof(uint16_t), "insns size")) { in CheckIntraCodeItem() 1567 ptr_ = reinterpret_cast<const uint8_t*>(&insns[insns_size]); in CheckIntraCodeItem() 1572 if (((reinterpret_cast<uintptr_t>(&insns[insns_size]) & 3) != 0) && (insns[insns_size] != 0)) { in CheckIntraCodeItem() 1573 ErrorStringPrintf("Non-zero padding: %x", insns[insns_size]); in CheckIntraCodeItem()
|
/art/dexdump/ |
D | dexdump_cfg.cc | 50 const uint16_t* insns = reinterpret_cast<const uint16_t*>(inst); in DumpMethodCFG() local 51 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in DumpMethodCFG() 52 const uint16_t* switch_insns = insns + switch_offset; in DumpMethodCFG() 55 if ((*insns & 0xff) == Instruction::PACKED_SWITCH) { in DumpMethodCFG() 222 const uint16_t* insns = reinterpret_cast<const uint16_t*>(inst); in DumpMethodCFG() local 224 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in DumpMethodCFG() 226 const uint16_t* switch_insns = insns + switch_offset; in DumpMethodCFG() 229 if ((*insns & 0xff) == Instruction::PACKED_SWITCH) { in DumpMethodCFG()
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | CodeItem.java | 33 public List<Instruction> insns; field in CodeItem 72 insns = new LinkedList<Instruction>(); in populateInstructionList() 82 insns.add(newInsn); in populateInstructionList() 101 for (Instruction insn : insns) { in write() 138 List<Instruction> insnsToIncrement = insns; in incrementIndex()
|
/art/test/dexdump/ |
D | all.txt | 111 insns size : 4 16-bit code units 127 insns size : 29 16-bit code units 156 insns size : 65 16-bit code units 203 insns size : 33 16-bit code units 250 insns size : 17 16-bit code units 273 insns size : 23 16-bit code units 299 insns size : 11 16-bit code units 319 insns size : 25 16-bit code units 346 insns size : 28 16-bit code units 372 insns size : 54 16-bit code units [all …]
|
D | const-method-handle.txt | 59 insns size : 4 16-bit code units 77 insns size : 25 16-bit code units 136 insns size : 4 16-bit code units 154 insns size : 47 16-bit code units 195 insns size : 25 16-bit code units 224 insns size : 15 16-bit code units 245 insns size : 3 16-bit code units 261 insns size : 3 16-bit code units
|
D | invoke-custom.txt | 60 insns size : 4 16-bit code units 104 insns size : 4 16-bit code units 122 insns size : 34 16-bit code units 156 insns size : 34 16-bit code units 190 insns size : 36 16-bit code units 225 insns size : 36 16-bit code units 260 insns size : 34 16-bit code units 294 insns size : 36 16-bit code units 329 insns size : 38 16-bit code units 365 insns size : 34 16-bit code units [all …]
|
D | invoke-polymorphic.txt | 59 insns size : 4 16-bit code units 77 insns size : 30 16-bit code units
|
D | staticfields.txt | 114 insns size : 4 16-bit code units
|
D | values.txt | 325 insns size : 4 16-bit code units 343 insns size : 4 16-bit code units
|
D | bytecodes.txt | 131 insns size : 4 16-bit code units 178 insns size : 4 16-bit code units 230 insns size : 4 16-bit code units 276 insns size : 4 16-bit code units 443 insns size : 74 16-bit code units 492 insns size : 234 16-bit code units 643 insns size : 239 16-bit code units 810 insns size : 118 16-bit code units 903 insns size : 171 16-bit code units 1027 insns size : 78 16-bit code units [all …]
|
D | checkers.txt | 59 insns size : 4 16-bit code units 75 insns size : 33 16-bit code units 105 insns size : 4 16-bit code units 121 insns size : 59 16-bit code units 165 insns size : 216 16-bit code units 284 insns size : 58 16-bit code units 322 insns size : 158 16-bit code units 414 insns size : 21 16-bit code units 438 insns size : 8 16-bit code units 456 insns size : 44 16-bit code units [all …]
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | CodeTranslator.java | 75 List<Instruction> inputInsns = codeItem.insns; in codeItemToMutatableCode() 201 codeItem.insns = outputInsns; in mutatableCodeToCodeItem()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 110 std::vector<uint8_t> RawCode(std::initializer_list<uint32_t> insns) { in RawCode() argument 113 std::count_if(insns.begin(), insns.end(), [](uint32_t x) { return IsUint<16>(x); }); in RawCode() 114 raw_code.reserve(insns.size() * 4u - number_of_16_bit_insns * 2u); in RawCode() 115 for (uint32_t insn : insns) { in RawCode()
|
/art/tools/veridex/ |
D | flow_analysis.cc | 203 const uint16_t* insns = code_item_accessor_.Insns() + dex_pc; in AnalyzeCode() local 204 const Instruction& inst = *Instruction::At(insns); in AnalyzeCode()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 1946 const uint16_t* const insns = accessor.Insns(); in DEX_INSTRUCTION_LIST() local 1947 const Instruction* next = Instruction::At(insns + dex_pc); in DEX_INSTRUCTION_LIST() 1955 dex_pc = inst->GetDexPc(insns); in DEX_INSTRUCTION_LIST() 2000 shadow_frame.SetDexPC(next->GetDexPc(insns)); // Record where we stopped. in DEX_INSTRUCTION_LIST()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 823 uint16_t* insns = new uint16_t[insns_size]; in DedupeOrCreateCodeItem() local 824 memcpy(insns, accessor.Insns(), insns_size * sizeof(uint16_t)); in DedupeOrCreateCodeItem() 910 insns, in DedupeOrCreateCodeItem()
|
D | dexlayout.cc | 821 const uint16_t* insns = code->Insns(); in DumpInstruction() local 828 const uint8_t* bytePtr = (const uint8_t*) &insns[insn_idx + i]; in DumpInstruction() 838 const uint16_t instr = Get2LE((const uint8_t*) &insns[insn_idx]); in DumpInstruction()
|
D | dex_ir.h | 1043 uint16_t* insns, in CodeItem() argument 1051 insns_(insns), in CodeItem()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 101 std::vector<uint8_t> RawCode(std::initializer_list<uint32_t> insns) { in RawCode() argument 103 raw_code.reserve(insns.size() * 4u); in RawCode() 104 for (uint32_t insn : insns) { in RawCode()
|