Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 25 of 29) sorted by relevance

12

/art/compiler/utils/
Darray_ref.h61 : array_(nullptr), size_(0u) { in ArrayRef()
66 : array_(array), size_(size) { in ArrayRef()
72 : array_(array), size_(size) { in array_()
76 : array_(array), size_(size) { in ArrayRef()
82 : array_(array), size_(size) { in array_()
86 : array_(v.data()), size_(v.size()) { in ArrayRef()
92 : array_(v.data()), size_(v.size()) {
99 size_ = other.size_;
116 iterator end() { return array_ + size_; } in end()
117 const_iterator end() const { return array_ + size_; } in end()
[all …]
Dmanaged_register.h89 : ManagedRegister(other), size_(size), spill_offset_(spill_offset) { } in ManagedRegisterSpill()
92 : ManagedRegister(other), size_(-1), spill_offset_(-1) { } in ManagedRegisterSpill()
95 : ManagedRegister(other), size_(size), spill_offset_(-1) { } in ManagedRegisterSpill()
102 return size_; in getSize()
106 int32_t size_;
Dswap_space.cc68 size_(0), in SwapSpace()
136 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk()
141 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
144 LOG(ERROR) << "Current size: " << size_ << " requested: " << next_part << "/" << min_size; in NewFileChunk()
151 size_ += next_part; in NewFileChunk()
Darena_allocator.h116 return memory_ + size_; in End()
120 return size_; in Size()
134 size_t size_; variable
Dswap_space.h68 return size_; in GetSize()
75 size_t size_; variable
Darena_allocator.cc124 size_ = map_->Size(); in Arena()
127 size_ = size; in Arena()
/art/runtime/base/
Dbounded_fifo.h35 size_ = 0; in clear()
43 return size_; in size()
47 ++size_; in push_back()
48 DCHECK_LE(size_, MaxSize); in push_back()
54 DCHECK_GT(size_, 0U); in front()
55 return data_[(back_index_ - size_) & mask_]; in front()
59 DCHECK_GT(size_, 0U); in pop_front()
60 --size_; in pop_front()
65 size_t back_index_, size_; variable
/art/runtime/
Dmemory_region.h33 MemoryRegion() : pointer_(NULL), size_(0) {} in MemoryRegion()
34 MemoryRegion(void* pointer, uword size) : pointer_(pointer), size_(size) {} in MemoryRegion()
37 size_t size() const { return size_; } in size()
38 size_t size_in_bits() const { return size_ * kBitsPerByte; } in size_in_bits()
45 byte* end() const { return start() + size_; } in end()
89 size_ = (region.size() + extra); in Extend()
109 size_t size_; variable
Ddex_file.h131 uint32_t size_; member
139 uint32_t size_; member
240 return size_; in Size()
244 DCHECK_LT(idx, this->size_); in GetTypeItem()
259 uint32_t size_; // size of the list, in entries
357 uint32_t size_; member
365 uint32_t size_; member
874 return size_; in Size()
961 const size_t size_; variable
1035 : dex_file_(dex_file), size_(0), pos_(0) { in DexFileParameterIterator()
[all …]
Dmem_map.h107 return size_; in Size()
157 size_t size_; // Length of data. variable
Ddex_file_verifier.cc193 const byte* file_end = file_start + size_; in CheckListSize()
236 if (size_ <= offset) { in CheckValidOffsetAndSize()
237 ErrorStringPrintf("Offset(%d) should be within file size(%zu) for %s.", offset, size_, label); in CheckValidOffsetAndSize()
246 if (size_ != expected_size) { in CheckHeader()
247 ErrorStringPrintf("Bad file size (%zd, expected %ud)", size_, expected_size); in CheckHeader()
297 uint32_t count = map->size_; in CheckMap()
321 uint32_t icount = item->size_; in CheckMap()
815 const byte* file_end = begin_ + size_; in CheckIntraStringDataItem()
1237 if (UNLIKELY(aligned_offset > size_)) { in CheckIntraSectionIterate()
1323 uint32_t count = map->size_; in CheckIntraSection()
[all …]
Ddex_file_verifier.h38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location), in DexFileVerifier()
116 const size_t size_; variable
Dmem_map.cc478 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap()
480 if (size_ == 0) { in MemMap()
500 DCHECK_LE(begin_ + size_, reinterpret_cast<byte*>(base_begin_) + base_size_); in RemapAtEnd()
505 byte* old_end = begin_ + size_; in RemapAtEnd()
512 size_ = new_end - reinterpret_cast<byte*>(begin_); in RemapAtEnd()
514 DCHECK_LE(begin_ + size_, reinterpret_cast<byte*>(base_begin_) + base_size_); in RemapAtEnd()
Delf_file.cc1385 tag->size_ = static_cast<uint32_t>( in Create()
1411 return size_; in GetSize()
1445 explicit DebugTag(uint32_t index) : index_(index), size_(0), tag_(0), has_child_(false) {} in DebugTag()
1447 off_map_.insert(std::pair<uint32_t, uint32_t>(type, size_)); in AddAttribute()
1449 size_ += attr_size; in AddAttribute()
1453 uint32_t size_; member in art::DebugTag
/art/runtime/gc/collector/
Dimmune_region.h49 return reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(begin_) < size_; in ContainsObject()
62 return size_ == 0; in IsEmpty()
65 size_ = reinterpret_cast<uintptr_t>(end_) - reinterpret_cast<uintptr_t>(begin_); in UpdateSize()
70 uintptr_t size_; variable
/art/compiler/optimizing/
Doptimizing_compiler.cc42 size_ = size; in Allocate()
47 size_t GetSize() const { return size_; } in GetSize()
52 size_t size_; member in art::FINAL
Dcodegen_test.cc35 size_ = size; in Allocate()
40 size_t GetSize() const { return size_; } in GetSize()
44 size_t size_; member in art::InternalCodeAllocator
/art/runtime/gc/space/
Dlarge_object_space_test.cc101 id_(id), iterations_(iterations), size_(size), los_(los) {} in AllocRaceTask()
106 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr); in Run()
121 size_t size_; member in art::gc::space::AllocRaceTask
Dbump_pointer_space.cc146 header->size_ = bytes; // Write out the block header. in AllocBlock()
188 size_t block_size = header->size_; in Walk()
Dbump_pointer_space.h185 size_t size_; // Size of the block in bytes, does not include the header. member
/art/compiler/
Delf_writer_quick.cc72 : ElfFilePiece(offset), dbg_name_(name), data_(data), size_(size) {} in ElfFileMemoryPiece()
75 DCHECK(data_ != nullptr || size_ == 0U) << dbg_name_ << " " << size_; in DoActualWrite()
77 if (!elf_file->WriteFully(data_, size_)) { in DoActualWrite()
92 Elf32_Word size_; member in art::ElfFileMemoryPiece
430 rodata_builder_.section_.sh_size = rodata_builder_.size_; in Write()
436 text_builder_.section_.sh_size = text_builder_.size_; in Write()
625 rodata_builder_.size_, STB_GLOBAL, STT_OBJECT); in SetupRequiredSymbols()
627 text_builder_.size_, STB_GLOBAL, STT_OBJECT); in SetupRequiredSymbols()
628 dynsym_builder_.AddSymbol("oatlastword", &text_builder_, text_builder_.size_ - 4, in SetupRequiredSymbols()
681 sym.st_size = it->size_; in GenerateSymtab()
Delf_writer_quick.h143 offset_(offset), size_(size) {} in ElfOatSectionBuilder()
150 Elf32_Word size_; variable
191 Elf32_Word size_; member
Doat_writer.h92 return size_; in GetSize()
252 size_t size_; variable
/art/compiler/utils/arm/
Dassembler_thumb2.h510 size_ = CalculateSize(); in assembler_()
518 size_ = CalculateSize(); in Branch()
528 size_ = CalculateSize(); in assembler_()
540 if (size_ != newsize) { in Resolve()
541 size_ = newsize; in Resolve()
573 if (size_ != newsize) { in Relocate()
574 size_ = newsize; in Relocate()
581 return size_; in GetSize()
610 size_ = size; in ResetSize()
664 Size size_; variable
/art/runtime/verifier/
Dmethod_verifier.h113 PcToRegisterLineTable() : size_(0) {} in PcToRegisterLineTable()
123 DCHECK_LT(idx, size_); in GetLine()
129 size_t size_; variable

12