Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 26) sorted by relevance

12

/art/libartbase/base/
Dmemory_region_test.cc26 MemoryRegion region(&data, n); in TEST() local
28 ASSERT_EQ(0, region.LoadUnaligned<char>(0)); in TEST()
33 region.LoadUnaligned<uint32_t>(1)); in TEST()
34 ASSERT_EQ(5 + (6 << kBitsPerByte), region.LoadUnaligned<int16_t>(5)); in TEST()
35 ASSERT_EQ(7u, region.LoadUnaligned<unsigned char>(7)); in TEST()
41 MemoryRegion region(&data, n); in TEST() local
43 region.StoreUnaligned<unsigned char>(0u, 7); in TEST()
44 region.StoreUnaligned<int16_t>(1, 6 + (5 << kBitsPerByte)); in TEST()
45 region.StoreUnaligned<uint32_t>(3, in TEST()
50 region.StoreUnaligned<char>(7, 0); in TEST()
Dbit_memory_region.h46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() argument
47 : BitMemoryRegion(region.begin(), /* bit_start */ 0, region.size_in_bits()) { in BitMemoryRegion()
49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion() argument
50 : BitMemoryRegion(region) { in BitMemoryRegion()
281 BitMemoryRegion region(out_->data(), bit_offset_, bit_length); in Allocate()
284 return region; in Allocate()
287 ALWAYS_INLINE void WriteRegion(const BitMemoryRegion& region) { in WriteRegion() argument
288 Allocate(region.size_in_bits()).StoreBits(/* bit_offset */ 0, region, region.size_in_bits()); in WriteRegion()
Dbit_table.h418 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup()
419 DCHECK(num_bits == 0 || BitMemoryRegion(region).LoadBit(num_bits - 1) == 1); in Dedup()
420 DCHECK_EQ(BitMemoryRegion(region).LoadBits(num_bits, region.size_in_bits() - num_bits), 0u); in Dedup()
422 uint32_t hash = hasher(region); in Dedup()
427 if (MemoryRegion::ContentEquals()(region, rows_[it->second])) { in Dedup()
434 void* copy = allocator_->Alloc(region.size(), kArenaAllocBitTableBuilder); in Dedup()
435 memcpy(copy, region.pointer(), region.size()); in Dedup()
436 rows_.push_back(MemoryRegion(copy, region.size())); in Dedup()
Dmemory_region.h129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend() argument
130 pointer_ = region.pointer(); in Extend()
131 size_ = (region.size() + extra); in Extend()
Dmemory_type_table.h141 inline bool Add(const MemoryTypeRange<T>& region);
/art/test/1000-non-moving-space-stress/
Dinfo.txt4 reference to an object cleared or moved from a newly allocated region
5 of the region space.
/art/compiler/utils/
Dassembler.cc54 void AssemblerBuffer::ProcessFixups(const MemoryRegion& region) { in ProcessFixups() argument
57 fixup->Process(region, fixup->position()); in ProcessFixups()
Dassembler.h51 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() argument
379 buffer_.FinalizeInstructions(region); in FinalizeInstructions()
Djni_macro_assembler.h61 virtual void FinalizeInstructions(const MemoryRegion& region) = 0;
270 void FinalizeInstructions(const MemoryRegion& region) override { in FinalizeInstructions() argument
271 asm_.FinalizeInstructions(region); in FinalizeInstructions()
/art/test/659-unpadded-array/
Dinfo.txt1 Regression test for the concurrent GC whose region space had
/art/test/090-loop-formation/
Dinfo.txt3 in the loop region, and the JIT compiler won't choke on unresolved fields.
/art/runtime/
Dstack_map.cc73 BitMemoryRegion region = reader.GetReadRegion().Subregion(bit_table_start); in Dedupe() local
74 auto it = dedupe_map_.insert(std::make_pair(region, /* placeholder */ 0)); in Dedupe()
75 if (it.second /* new bit table */ || region.size_in_bits() < 32) { in Dedupe()
78 writer_.WriteRegion(region); in Dedupe()
/art/compiler/utils/arm64/
Dassembler_arm64.cc78 void Arm64Assembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument
81 region.CopyFrom(0, from); in FinalizeInstructions()
Dassembler_arm64.h84 void FinalizeInstructions(const MemoryRegion& region) override;
/art/runtime/gc/space/
Dregion_space-inl.h372 mirror::Object* region = AllocLargeInRange<kForEvac>(0, in AllocLarge() local
378 if (region != nullptr) { in AllocLarge()
379 return region; in AllocLarge()
Dregion_space.cc312 Region* region = RefToRegionLocked(reinterpret_cast<mirror::Object*>(addr)); in ZeroLiveBytesForLargeObject() local
314 DCHECK(region->IsLarge()); in ZeroLiveBytesForLargeObject()
316 DCHECK(region->IsLargeTail()); in ZeroLiveBytesForLargeObject()
318 region->ZeroLiveBytes(); in ZeroLiveBytesForLargeObject()
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc55 void ArmVIXLAssembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument
58 region.CopyFrom(0, from); in FinalizeInstructions()
Dassembler_arm_vixl.h171 void FinalizeInstructions(const MemoryRegion& region) override;
/art/compiler/utils/mips64/
Dassembler_mips64.cc43 void Mips64Assembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument
46 Assembler::FinalizeInstructions(region); in FinalizeInstructions()
Dassembler_mips64.h1440 void FinalizeInstructions(const MemoryRegion& region) override;
/art/compiler/utils/mips/
Dassembler_mips.h1375 void FinalizeInstructions(const MemoryRegion& region) override;
Dassembler_mips.cc168 void MipsAssembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument
172 Assembler::FinalizeInstructions(region); in FinalizeInstructions()
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1862 # Fast path array allocation for region tlab allocation.
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1936 # Fast path array allocation for region tlab allocation.
/art/compiler/optimizing/
Dcode_generator_x86_64.cc7487 void Process(const MemoryRegion& region, int pos) override { in Process() argument
7494 region.StoreUnaligned<int32_t>(pos - 4, relative_position); in Process()

12