/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 | 310 FNVHash<MemoryRegion> hasher; 311 uint32_t hash = hasher(MemoryRegion(values, sizeof(Entry) * count)); 409 MemoryRegion operator[](size_t row) { return rows_[row]; } 410 const MemoryRegion operator[](size_t row) const { return rows_[row]; } 417 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup() 420 FNVHash<MemoryRegion> hasher; in Dedup() 426 if (MemoryRegion::ContentEquals()(region, rows_[it->second])) { in Dedup() 435 rows_.push_back(MemoryRegion(copy, region.size())); in Dedup() 453 for (MemoryRegion row : rows_) { in Encode() 482 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 | 47 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() 50 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() 67 MemoryRegion from(reinterpret_cast<void*>(contents()), Size()); in ProcessFixups() 72 void AssemblerBuffer::CopyInstructions(const MemoryRegion& instructions) { in CopyInstructions() 73 MemoryRegion from(reinterpret_cast<void*>(contents()), Size()); in CopyInstructions()
|
D | assembler.h | 50 virtual void Process(const MemoryRegion& region, int position) = 0; 167 void CopyInstructions(const MemoryRegion& region); 273 void ProcessFixups(const MemoryRegion& region); 382 virtual void CopyInstructions(const MemoryRegion& region) { in CopyInstructions()
|
D | jni_macro_assembler.h | 38 class MemoryRegion; variable 95 virtual void CopyInstructions(const MemoryRegion& region) = 0; 289 void CopyInstructions(const MemoryRegion& region) override { in CopyInstructions()
|
D | jni_macro_assembler_test.h | 86 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
D | assembler_thumb_test.cc | 81 MemoryRegion code(&managed_code[0], managed_code.size()); in EmitAndCheck()
|
D | assembler_test.h | 1631 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 81 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 118 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 150 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 171 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 192 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 82 void Arm64Assembler::CopyInstructions(const MemoryRegion& region) { in CopyInstructions() 84 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in CopyInstructions()
|
D | assembler_arm64.h | 94 void CopyInstructions(const MemoryRegion& region) override;
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 98 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImplSized()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 55 void ArmVIXLAssembler::CopyInstructions(const MemoryRegion& region) { in CopyInstructions() 57 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in CopyInstructions()
|
D | assembler_arm_vixl.h | 221 void CopyInstructions(const MemoryRegion& region) override;
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 720 MemoryRegion code(&managed_code[0], managed_code.size()); in ArtJniCompileMethodInternal()
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 792 BitMemoryRegion(MemoryRegion( in DexFileData()
|
/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64_test.cc | 53 MemoryRegion code(&data[0], data.size()); in DriverStr()
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 5476 MemoryRegion code_region(code->data(), code->size()); in EmitThunkCode()
|
D | code_generator_x86_64.cc | 8382 void Process(const MemoryRegion& region, int pos) override { in Process()
|
D | code_generator_x86.cc | 9061 void Process(const MemoryRegion& region, int pos) override { in Process()
|