/art/libdexfile/dex/ |
D | dex_instruction.h | 484 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetOpcode() local 485 insns[0] = (insns[0] & 0xff00) | static_cast<uint16_t>(opcode); in SetOpcode() 490 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegA_10x() local 491 insns[0] = (val << 8) | (insns[0] & 0x00ff); in SetVRegA_10x() 496 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegB_3rc() local 497 insns[1] = val; in SetVRegB_3rc() 502 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegB_35c() local 503 insns[1] = val; in SetVRegB_35c() 508 uint16_t* insns = reinterpret_cast<uint16_t*>(this); in SetVRegC_22c() local 509 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 | 31 const uint16_t* insns) { in Init() argument 33 insns_ = insns; in Init()
|
D | code_item_accessors.h | 80 ALWAYS_INLINE void Init(uint32_t insns_size_in_code_units, const uint16_t* insns);
|
D | dex_file_verifier.cc | 1258 const uint16_t* insns = accessor.Insns(); in CheckIntraCodeItem() local 1260 if (!CheckListSize(insns, insns_size, sizeof(uint16_t), "insns size")) { in CheckIntraCodeItem() 1267 ptr_ = reinterpret_cast<const uint8_t*>(&insns[insns_size]); in CheckIntraCodeItem() 1272 if (((reinterpret_cast<uintptr_t>(&insns[insns_size]) & 3) != 0) && (insns[insns_size] != 0)) { in CheckIntraCodeItem() 1273 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/runtime/entrypoints/quick/ |
D | quick_fillarray_entrypoints.cc | 31 const uint16_t* const insns = method->DexInstructions().Insns(); in artHandleFillArrayDataFromCode() local 33 reinterpret_cast<const Instruction::ArrayDataPayload*>(insns + payload_offset); in artHandleFillArrayDataFromCode()
|
/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/runtime/verifier/ |
D | method_verifier.cc | 502 bool CheckNotMoveException(const uint16_t* insns, int insn_idx) { in CheckNotMoveException() argument 503 if ((insns[insn_idx] & 0xff) == Instruction::MOVE_EXCEPTION) { in CheckNotMoveException() 516 bool CheckNotMoveResult(const uint16_t* insns, int insn_idx) { in CheckNotMoveResult() argument 517 if (((insns[insn_idx] & 0xff) >= Instruction::MOVE_RESULT) && in CheckNotMoveResult() 518 ((insns[insn_idx] & 0xff) <= Instruction::MOVE_RESULT_OBJECT)) { in CheckNotMoveResult() 530 bool CheckNotMoveExceptionOrMoveResult(const uint16_t* insns, int insn_idx) { in CheckNotMoveExceptionOrMoveResult() argument 531 return (CheckNotMoveException(insns, insn_idx) && CheckNotMoveResult(insns, insn_idx)); in CheckNotMoveExceptionOrMoveResult() 1324 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in CheckArrayData() local 1330 array_data_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in CheckArrayData() 1339 array_data = insns + array_data_offset; in CheckArrayData() [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/dexlayout/ |
D | dex_ir_builder.cc | 822 uint16_t* insns = new uint16_t[insns_size]; in DedupeOrCreateCodeItem() local 823 memcpy(insns, accessor.Insns(), insns_size * sizeof(uint16_t)); in DedupeOrCreateCodeItem() 909 insns, in DedupeOrCreateCodeItem()
|
D | dexlayout.cc | 820 const uint16_t* insns = code->Insns(); in DumpInstruction() local 827 const uint8_t* bytePtr = (const uint8_t*) &insns[insn_idx + i]; in DumpInstruction() 837 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()
|