/art/runtime/ |
D | dex_instruction.h | 45 const uint16_t ident; 46 const uint16_t case_count; 55 const uint16_t ident; 56 const uint16_t case_count; 73 const uint16_t ident; 74 const uint16_t element_width; 201 static const Instruction* At(const uint16_t* code) { in At() 208 return At(reinterpret_cast<const uint16_t*>(this) + offset); in RelativeAt() 310 uint16_t VRegA_32x() const; 323 int8_t VRegA_10t(uint16_t inst_data) const; [all …]
|
D | utf.cc | 78 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_data_out, const char* utf8_data_in) { in ConvertModifiedUtf8ToUtf16() 81 const uint16_t leading = GetLeadingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 82 const uint16_t trailing = GetTrailingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 91 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_data_out, size_t out_chars, in ConvertModifiedUtf8ToUtf16() 95 uint16_t *out_p = utf16_data_out; in ConvertModifiedUtf8ToUtf16() 102 *out_p++ = dchecked_integral_cast<uint16_t>(*p++); in ConvertModifiedUtf8ToUtf16() 110 const uint16_t leading = GetLeadingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 111 const uint16_t trailing = GetTrailingUtf16Char(ch); in ConvertModifiedUtf8ToUtf16() 121 const uint16_t* utf16_in, size_t char_count) { in ConvertUtf16ToModifiedUtf8() 124 const uint16_t *utf16_end = utf16_in + char_count; in ConvertUtf16ToModifiedUtf8() [all …]
|
D | utf.h | 36 typedef PrimitiveArray<uint16_t> CharArray; 49 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count); 54 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_out, const char* utf8_in); 55 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_out, size_t out_chars, 68 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, 78 const uint16_t* utf16_in, size_t char_count); 85 int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count); 116 ALWAYS_INLINE uint16_t GetLeadingUtf16Char(uint32_t maybe_pair); 122 ALWAYS_INLINE uint16_t GetTrailingUtf16Char(uint32_t maybe_pair);
|
D | dex_instruction-inl.h | 89 inline int8_t Instruction::VRegA_10t(uint16_t inst_data) const { in VRegA_10t() 94 inline uint8_t Instruction::VRegA_10x(uint16_t inst_data) const { in VRegA_10x() 99 inline uint4_t Instruction::VRegA_11n(uint16_t inst_data) const { in VRegA_11n() 104 inline uint8_t Instruction::VRegA_11x(uint16_t inst_data) const { in VRegA_11x() 109 inline uint4_t Instruction::VRegA_12x(uint16_t inst_data) const { in VRegA_12x() 119 inline uint8_t Instruction::VRegA_21c(uint16_t inst_data) const { in VRegA_21c() 124 inline uint8_t Instruction::VRegA_21h(uint16_t inst_data) const { in VRegA_21h() 129 inline uint8_t Instruction::VRegA_21s(uint16_t inst_data) const { in VRegA_21s() 134 inline uint8_t Instruction::VRegA_21t(uint16_t inst_data) const { in VRegA_21t() 139 inline uint8_t Instruction::VRegA_22b(uint16_t inst_data) const { in VRegA_22b() [all …]
|
D | dex_file_verifier.h | 65 uint16_t class_type_index, 70 uint16_t class_type_index, 79 uint16_t* class_type_index, 93 uint16_t* class_type_index, 101 uint16_t* class_type_index, 110 bool CheckIntraSectionIterate(size_t offset, uint32_t count, uint16_t type); 111 bool CheckIntraIdSection(size_t offset, uint32_t count, uint16_t type); 112 bool CheckIntraDataSection(size_t offset, uint32_t count, uint16_t type); 115 bool CheckOffsetToTypeMap(size_t offset, uint16_t type); 119 uint16_t FindFirstClassDataDefiner(const uint8_t* ptr, bool* success); [all …]
|
D | utf_test.cc | 116 static void AssertConversion(const std::vector<uint16_t> input, in AssertConversion() 160 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> prefixes { in TEST_F() 166 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> suffixes { in TEST_F() 172 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> tests { in TEST_F() 179 const std::vector<uint16_t>& prefix_in = prefix.first; in TEST_F() 182 const std::vector<uint16_t>& test_in = test.first; in TEST_F() 185 const std::vector<uint16_t>& suffix_in = suffix.first; in TEST_F() 187 std::vector<uint16_t> in = prefix_in; in TEST_F() 230 static size_t CountUtf8Bytes_reference(const uint16_t* chars, size_t char_count) { in CountUtf8Bytes_reference() 233 const uint16_t ch = *chars++; in CountUtf8Bytes_reference() [all …]
|
D | dex_instruction_visitor_test.cc | 44 const uint16_t c0[] = {}; in TEST() 49 const uint16_t c1[] = { 0 }; in TEST() 54 const uint16_t c2[] = { 0, 0 }; in TEST() 59 const uint16_t c3[] = { 0, 0, 0, }; in TEST() 64 const uint16_t c4[] = { 0, 0, 0, 0 }; in TEST()
|
/art/runtime/quick/ |
D | inline_method_analyser.h | 37 enum InlineMethodOpcode : uint16_t { 128 enum InlineMethodFlags : uint16_t { 164 uint16_t op_variant : 3; 165 uint16_t method_is_static : 1; 166 uint16_t object_arg : 4; 167 uint16_t src_arg : 4; // iput only 168 uint16_t return_arg_plus1 : 4; // iput only, method argument to return + 1, 0 = return void. 169 uint16_t field_idx; 176 uint16_t arg; 177 uint16_t is_wide : 1; [all …]
|
/art/runtime/arch/ |
D | memcmp16.h | 35 extern "C" uint32_t __memcmp16(const uint16_t* s0, const uint16_t* s1, size_t count); 41 static inline int32_t MemCmp16(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16() 50 extern "C" int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count); 60 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count);
|
D | memcmp16_test.cc | 37 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_compare() 55 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() 88 s1 = new uint16_t[count1]; in CheckSeparate() 91 s1 = reinterpret_cast<uint16_t*>(0xebad1001); in CheckSeparate() 95 s2 = new uint16_t[count2]; in CheckSeparate() 98 s2 = reinterpret_cast<uint16_t*>(0xebad2002); in CheckSeparate() 106 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 110 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 113 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 117 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() [all …]
|
D | memcmp16.cc | 22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count); 23 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_generic_static() 36 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16Testing()
|
/art/compiler/optimizing/ |
D | pretty_printer_test.cc | 30 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() 42 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 69 const uint16_t data[] = in TEST_F() 91 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 113 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 120 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 127 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 146 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 152 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 168 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | dominator_test.cc | 29 static void TestCode(const uint16_t* data, const uint32_t* blocks, size_t blocks_length) { in TestCode() 51 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 64 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 79 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 96 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 111 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 118 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 127 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 140 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 147 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | suspend_check_test.cc | 31 static void TestCode(const uint16_t* data) { in TestCode() 45 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 53 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 60 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 69 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 78 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 87 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F()
|
D | liveness_test.cc | 46 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() 89 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 111 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 137 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST_F() 184 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 231 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 276 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 321 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST_F() 373 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 428 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | ssa_test.cc | 79 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() 120 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 151 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 182 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 215 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 246 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 277 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST_F() 311 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 352 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 391 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | linearize_test.cc | 39 static void TestCode(const uint16_t* data, const uint32_t (&expected_order)[number_of_blocks]) { in TestCode() 69 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 94 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 120 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 150 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 180 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 206 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() 234 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F()
|
D | bytecode_utils.h | 48 const uint16_t* code_ptr_; 49 const uint16_t* const code_end_; 62 const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset; in DexSwitchTable() 63 DCHECK_EQ(table[0], sparse_ ? static_cast<uint16_t>(Instruction::kSparseSwitchSignature) in DexSwitchTable() 64 : static_cast<uint16_t>(Instruction::kPackedSwitchSignature)); in DexSwitchTable() 69 uint16_t GetNumEntries() const { in GetNumEntries() 121 uint16_t num_entries_; 127 static constexpr uint16_t kSmallSwitchThreshold = 3;
|
D | codegen_test.cc | 292 static void TestCode(const uint16_t* data, in TestCode() 305 static void TestCodeLong(const uint16_t* data, in TestCodeLong() 321 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM(Instruction::RETURN_VOID); in TEST_F() 326 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 334 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 343 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 350 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 357 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 366 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST_F() 375 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
/art/runtime/mirror/ |
D | string.cc | 44 const uint16_t* chars = GetValue(); in FastIndexOf() 45 const uint16_t* p = chars + start; in FastIndexOf() 46 const uint16_t* end = chars + count; in FastIndexOf() 77 void String::SetCharAt(int32_t index, uint16_t c) { in SetCharAt() 91 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings() 92 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); in AllocFromStrings() 93 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); in AllocFromStrings() 97 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { in AllocFromUtf16() 105 uint16_t* array = string->GetValue(); in AllocFromUtf16() 106 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16() [all …]
|
/art/runtime/jit/ |
D | offline_profiling_info.cc | 41 static constexpr uint16_t kMaxDexFileKeyLength = PATH_MAX; 167 3 * sizeof(uint16_t) + // method_set.size + class_set.size + dex_location.size 189 AddUintToBuffer(&buffer, static_cast<uint16_t>(info_.size())); in Save() 214 sizeof(uint16_t) * (dex_data.class_set.size() + dex_data.method_set.size()); in Save() 218 DCHECK_LE(dex_location.size(), std::numeric_limits<uint16_t>::max()); in Save() 219 DCHECK_LE(dex_data.method_set.size(), std::numeric_limits<uint16_t>::max()); in Save() 220 DCHECK_LE(dex_data.class_set.size(), std::numeric_limits<uint16_t>::max()); in Save() 221 AddUintToBuffer(&buffer, static_cast<uint16_t>(dex_location.size())); in Save() 222 AddUintToBuffer(&buffer, static_cast<uint16_t>(dex_data.method_set.size())); in Save() 223 AddUintToBuffer(&buffer, static_cast<uint16_t>(dex_data.class_set.size())); in Save() [all …]
|
D | offline_profiling_info.h | 69 bool ContainsClass(const DexFile& dex_file, uint16_t class_def_idx) const; 101 std::set<uint16_t> method_set; 102 std::set<uint16_t> class_set; 112 bool AddMethodIndex(const std::string& dex_location, uint32_t checksum, uint16_t method_idx); 113 bool AddClassIndex(const std::string& dex_location, uint32_t checksum, uint16_t class_idx); 120 uint16_t method_set_size; 121 uint16_t class_set_size; 158 /*out*/uint16_t* number_of_lines, 169 uint16_t method_set_size, 170 uint16_t class_set_size,
|
/art/runtime/verifier/ |
D | reg_type.h | 193 uint16_t GetId() const { return cache_id_; } in GetId() 282 uint16_t cache_id) SHARED_REQUIRES(Locks::mutator_lock_) in RegType() 295 const uint16_t cache_id_; 319 uint16_t cache_id) 327 uint16_t cache_id) SHARED_REQUIRES(Locks::mutator_lock_) in ConflictType() 348 uint16_t cache_id) 356 uint16_t cache_id) SHARED_REQUIRES(Locks::mutator_lock_) in UndefinedType() 365 uint16_t cache_id) SHARED_REQUIRES(Locks::mutator_lock_); 373 uint16_t cache_id) SHARED_REQUIRES(Locks::mutator_lock_); 382 uint16_t cache_id) [all …]
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 60 extern "C" int32_t MterpDoSparseSwitch(const uint16_t* switchData, int32_t testVal) { in MterpDoSparseSwitch() 62 uint16_t size; in MterpDoSparseSwitch() 76 uint16_t signature = *switchData++; in MterpDoSparseSwitch() 77 DCHECK_EQ(signature, static_cast<uint16_t>(art::Instruction::kSparseSwitchSignature)); in MterpDoSparseSwitch() 112 extern "C" int32_t MterpDoPackedSwitch(const uint16_t* switchData, int32_t testVal) { in MterpDoPackedSwitch() 124 uint16_t signature = *switchData++; in MterpDoPackedSwitch() 125 DCHECK_EQ(signature, static_cast<uint16_t>(art::Instruction::kPackedSwitchSignature)); in MterpDoPackedSwitch() 127 uint16_t size = *switchData++; in MterpDoPackedSwitch() 154 uint16_t* dex_pc_ptr, uint16_t inst_data ) in MterpInvokeVirtual() 163 uint16_t* dex_pc_ptr, uint16_t inst_data ) in MterpInvokeSuper() [all …]
|
/art/compiler/utils/mips/ |
D | assembler_mips.h | 125 void Addiu(Register rt, Register rs, uint16_t imm16); 146 void Andi(Register rt, Register rs, uint16_t imm16); 148 void Ori(Register rt, Register rs, uint16_t imm16); 150 void Xori(Register rt, Register rs, uint16_t imm16); 178 void Lb(Register rt, Register rs, uint16_t imm16); 179 void Lh(Register rt, Register rs, uint16_t imm16); 180 void Lw(Register rt, Register rs, uint16_t imm16); 181 void Lwl(Register rt, Register rs, uint16_t imm16); 182 void Lwr(Register rt, Register rs, uint16_t imm16); 183 void Lbu(Register rt, Register rs, uint16_t imm16); [all …]
|