/art/libartbase/base/ |
D | memory_region.h | 37 class MemoryRegion final : public ValueObject { 40 constexpr bool operator()(const MemoryRegion& lhs, const MemoryRegion& rhs) const { in operator() 45 MemoryRegion() : pointer_(nullptr), size_(0) {} in MemoryRegion() function 46 MemoryRegion(void* pointer_in, uintptr_t size_in) : pointer_(pointer_in), size_(size_in) {} in MemoryRegion() function 53 return OFFSETOF_MEMBER(MemoryRegion, pointer_); in pointer_offset() 112 void CopyFrom(size_t offset, const MemoryRegion& from) const; 117 CopyFrom(offset, MemoryRegion(vector.data(), vector.size())); in CopyFromVector() 122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion() 125 return MemoryRegion(reinterpret_cast<void*>(begin() + offset), size_in); in Subregion() 129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend()
|
D | memory_region_test.cc | 23 TEST(MemoryRegion, LoadUnaligned) { in TEST() argument 26 MemoryRegion region(&data, n); in TEST() 38 TEST(MemoryRegion, StoreUnaligned) { in TEST() argument 41 MemoryRegion region(&data, n); in TEST()
|
D | memory_region.cc | 24 void MemoryRegion::CopyFrom(size_t offset, const MemoryRegion& from) const { in CopyFrom()
|
D | bit_memory_region_test.cc | 61 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, 1); in TEST() 67 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST() 85 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, bit_length); in TEST() 91 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST()
|
D | bit_table.h | 308 FNVHash<MemoryRegion> hasher; 309 uint32_t hash = hasher(MemoryRegion(values, sizeof(Entry) * count)); 410 MemoryRegion operator[](size_t row) { return rows_[row]; } 411 const MemoryRegion operator[](size_t row) const { return rows_[row]; } 418 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup() 421 FNVHash<MemoryRegion> hasher; in Dedup() 427 if (MemoryRegion::ContentEquals()(region, rows_[it->second])) { in Dedup() 436 rows_.push_back(MemoryRegion(copy, region.size())); in Dedup() 452 for (MemoryRegion row : rows_) { in Encode() 481 ScopedArenaDeque<MemoryRegion> rows_;
|
D | bit_table_test.cc | 171 FNVHash<MemoryRegion> hasher; in TEST() 177 EXPECT_EQ(hasher(MemoryRegion(&value0, sizeof(value0))), in TEST() 178 hasher(MemoryRegion(&value1, sizeof(value1)))); in TEST() 186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST() 187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
|
D | bit_memory_region.h | 46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() 49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion()
|
/art/compiler/utils/ |
D | assembler.cc | 54 void AssemblerBuffer::ProcessFixups(const MemoryRegion& region) { in ProcessFixups() 63 void AssemblerBuffer::FinalizeInstructions(const MemoryRegion& instructions) { in FinalizeInstructions() 65 MemoryRegion from(reinterpret_cast<void*>(contents()), Size()); in FinalizeInstructions()
|
D | assembler.h | 51 virtual void Process(const MemoryRegion& region, int position) = 0; 169 void FinalizeInstructions(const MemoryRegion& region); 273 void ProcessFixups(const MemoryRegion& region); 378 virtual void FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions()
|
D | jni_macro_assembler.h | 38 class MemoryRegion; variable 61 virtual void FinalizeInstructions(const MemoryRegion& region) = 0; 270 void FinalizeInstructions(const MemoryRegion& region) override { in FinalizeInstructions()
|
D | jni_macro_assembler_test.h | 137 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
D | assembler_thumb_test.cc | 185 MemoryRegion code(&managed_code[0], managed_code.size()); in EmitAndCheck()
|
D | assembler_test.h | 1602 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 88 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 130 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 162 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 194 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 215 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 236 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 78 void Arm64Assembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() 80 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in FinalizeInstructions()
|
D | assembler_arm64.h | 84 void FinalizeInstructions(const MemoryRegion& region) override;
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 92 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImplSized()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 55 void ArmVIXLAssembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() 57 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in FinalizeInstructions()
|
D | assembler_arm_vixl.h | 171 void FinalizeInstructions(const MemoryRegion& region) override;
|
/art/compiler/optimizing/ |
D | emit_swap_mips_test.cc | 104 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
D | code_generator.cc | 449 MemoryRegion code(buffer, code_size); in Finalize()
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 513 BitMemoryRegion(MemoryRegion( in DexFileData()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 650 MemoryRegion code(&managed_code[0], managed_code.size()); in ArtJniCompileMethodInternal()
|
/art/compiler/utils/mips/ |
D | assembler_mips32r5_test.cc | 54 MemoryRegion code(data.data(), data.size()); in DriverStr()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.h | 1440 void FinalizeInstructions(const MemoryRegion& region) override;
|