/art/libartbase/base/ |
D | bounded_fifo.h | 39 size_ = 0; in clear() 47 return size_; in size() 51 ++size_; in push_back() 52 DCHECK_LE(size_, kMaxSize); in push_back() 58 DCHECK_GT(size_, 0U); in front() 59 return data_[(back_index_ - size_) & mask_]; in front() 63 DCHECK_GT(size_, 0U); in pop_front() 64 --size_; in pop_front() 69 size_t back_index_, size_; variable
|
D | array_ref.h | 58 : array_(nullptr), size_(0u) { in ArrayRef() 63 : array_(array), size_(size) { in ArrayRef() 70 : array_(array), size_(size) { in ArrayRef() 74 : array_(array), size_(size) { in ArrayRef() 80 : array_(v.data()), size_(v.size()) { in ArrayRef() 87 : array_(v.data()), size_(v.size()) { in ArrayRef() 96 size_ = other.size_; 119 iterator end() { return array_ + size_; } in end() 120 const_iterator end() const { return array_ + size_; } in end() 121 const_iterator cend() const { return array_ + size_; } in cend() [all …]
|
D | array_slice.h | 47 ArraySlice() : array_(nullptr), size_(0), element_size_(0) {} in ArraySlice() 55 size_(dchecked_integral_cast<uint32_t>(length)), in array_() 76 StrideIterator<T> end() { return StrideIterator<T>(&AtUnchecked(size_), element_size_); } in end() 77 const_iterator end() const { return const_iterator(&AtUnchecked(size_), element_size_); } in end() 78 const_iterator cend() const { return const_iterator(&AtUnchecked(size_), element_size_); } in cend() 87 size_type size() const { return size_; } in size() 93 DCHECK_LT(index, size_); 98 DCHECK_LT(index, size_); 114 return (*this)[size_ - 1u]; in back() 119 return (*this)[size_ - 1u]; in back() [all …]
|
D | length_prefixed_array.h | 34 : size_(dchecked_integral_cast<uint32_t>(length)) {} in LengthPrefixedArray() 37 DCHECK_LT(index, size_); 42 DCHECK_LT(index, size_); 56 return StrideIterator<T>(&AtUnchecked(size_, element_size, alignment), element_size); 61 return StrideIterator<const T>(&AtUnchecked(size_, element_size, alignment), element_size); 80 return size_; in size() 85 size_ = dchecked_integral_cast<uint32_t>(length); in SetSize() 106 uint32_t size_; variable
|
D | memory_region.h | 45 MemoryRegion() : pointer_(nullptr), size_(0) {} in MemoryRegion() 46 MemoryRegion(void* pointer_in, uintptr_t size_in) : pointer_(pointer_in), size_(size_in) {} in MemoryRegion() 49 size_t size() const { return size_; } in size() 50 size_t size_in_bits() const { return size_ * kBitsPerByte; } in size_in_bits() 57 uint8_t* end() const { return begin() + size_; } in end() 131 size_ = (region.size() + extra); in Extend() 158 size_t size_; variable
|
D | mem_map.cc | 499 size_t source_size = source->size_; in ReplaceWith() 502 size_ = source_size; in ReplaceWith() 704 std::swap(size_, other.size_); in SwapMembers() 715 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap() 717 if (size_ == 0) { in MemMap() 758 DCHECK_LE(begin_ + size_, reinterpret_cast<uint8_t*>(base_begin_) + base_size_); in RemapAtEnd() 763 uint8_t* old_end = begin_ + size_; in RemapAtEnd() 807 size_ = new_size; in RemapAtEnd() 827 DCHECK_EQ(size_, base_size_); in ReleaseReservedMemory() 829 DCHECK_ALIGNED_PARAM(size_, GetPageSize()); in ReleaseReservedMemory() [all …]
|
D | arena_allocator.h | 182 Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) {} in Arena() 193 uint8_t* End() const { return memory_ + size_; } in End() 196 return size_; in Size() 208 bool Contains(const void* ptr) const { return memory_ <= ptr && ptr < memory_ + size_; } in Contains() 215 size_t size_; variable
|
D | malloc_arena_pool.cc | 64 size_ = size; in MallocArena() 73 MEMORY_TOOL_MAKE_UNDEFINED(memory_ + size_, tail); in ~MallocArena()
|
D | scoped_arena_allocator.cc | 178 DCHECK_GE(mark_arena_->bytes_allocated_, mark_arena_->size_ - mark_free); in ApproximatePeakBytes() 179 subtract = mark_arena_->bytes_allocated_ - (mark_arena_->size_ - mark_free); in ApproximatePeakBytes()
|
/art/libdexfile/dex/ |
D | dex_file_structs.h | 37 uint32_t size_; member 42 uint32_t size_; member 45 size_t Size() const { return sizeof(uint32_t) + (size_ * sizeof(MapItem)); } in Size() 154 return size_; in Size() 158 DCHECK_LT(idx, this->size_); in GetTypeItem() 173 uint32_t size_; // size of the list, in entries 251 uint32_t size_; member 259 uint32_t size_; member 275 uint32_t size_; // total size of the item member
|
D | dex_file_verifier.cc | 131 size_(dex_file->DataSize()), in DexFileVerifier() 154 DCHECK_LE(offset, size_); in OffsetToPtr() 169 return *offset <= size_; in PtrToOffset() 173 return OffsetToPtr(size_); in EndOfFile() 402 const size_t size_; member in art::dex::DexFileVerifier 548 ErrorStringPrintf("Offset beyond end of file for %s: %zx to %zx", label, offset, size_); in CheckListSize() 554 size_t max_elements = (size_ - offset) / elem_size; in CheckListSize() 557 "List too large for %s: %zx+%zu*%zu > %zx", label, offset, count, elem_size, size_); in CheckListSize() 597 if (size_ <= offset) { in CheckValidOffsetAndSize() 598 ErrorStringPrintf("Offset(%d) should be within file size(%zu) for %s.", offset, size_, label); in CheckValidOffsetAndSize() [all …]
|
/art/runtime/gc/collector/ |
D | immune_region.h | 47 return reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(begin_) < size_; in ContainsObject() 69 return size_; in Size() 74 size_ = reinterpret_cast<uintptr_t>(end_) - reinterpret_cast<uintptr_t>(begin_); in UpdateSize() 79 uintptr_t size_; variable
|
/art/runtime/ |
D | linear_alloc.h | 44 : kind_(kind), size_(dchecked_integral_cast<uint32_t>(size)) { in kind_() 46 CHECK_EQ(size_ & kIs16Aligned, 0u); in kind_() 48 size_ |= kIs16Aligned; in kind_() 56 ATTRIBUTE_NO_SANITIZE_ADDRESS size_t GetSize() const { return size_ & ~kIs16Aligned; } in GetSize() 57 bool Is16Aligned() const { return size_ & kIs16Aligned; } in Is16Aligned() 63 uint32_t size_; variable
|
D | handle_scope.h | 144 return CapacityOffset(pointer_size) + sizeof(capacity_) + sizeof(size_); in ReferencesOffset() 149 return size_; in Size() 181 uint32_t size_ = 0; variable
|
D | handle_scope-inl.h | 107 size_t pos = size_; in NewHandle() 108 ++size_; in NewHandle() 126 return GetReferences() <= handle_scope_entry && handle_scope_entry < GetReferences() + size_; in Contains()
|
/art/runtime/base/ |
D | gc_visited_arena_pool.cc | 38 size_ = size; in TrackedArena() 244 if (chunk->size_ < 2 * size) { in AllocArena() 245 DCHECK_GE(chunk->size_, size); in AllocArena() 247 chunk->size_, in AllocArena() 269 best_fit_nh.value()->size_ -= size; in AllocArena() 287 merge_with_prev = (*prev_iter)->addr_ + (*prev_iter)->size_ == range_begin; in FreeRangeLocked() 290 range_size += (*prev_iter)->size_; in FreeRangeLocked() 299 range_size += (*next_iter)->size_; in FreeRangeLocked() 324 free_chunks_nh.value()->size_ = range_size; in FreeRangeLocked() 325 DCHECK_EQ(best_fit_allocs_nh.value()->size_, range_size); in FreeRangeLocked()
|
D | gc_visited_arena_pool.h | 226 Chunk(uint8_t* addr, size_t size) : addr_(addr), size_(size) {} in Chunk() 228 size_t size_; variable 242 return a->size_ < b->size_ || in operator() 243 (a->size_ == b->size_ && std::less<uint8_t*>{}(a->addr_, b->addr_)); in operator()
|
/art/tools/jvmti-agents/titrace/ |
D | titrace.cc | 46 explicit TiMemory(jvmtiEnv* env, T* mem, size_t size) : env_(env), mem_(mem), size_(size) { in TiMemory() 60 size_ = other.size_; in TiMemory() 65 other.size_ = 0u; in TiMemory() 82 return size_ / sizeof(T); in Size() 88 size_t size_; member
|
/art/dex2oat/utils/ |
D | swap_space.cc | 65 size_(0), in SwapSpace() 152 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 157 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk() 160 LOG(ERROR) << "Current size: " << size_ << " requested: " << next_part << "/" << min_size; in NewFileChunk() 166 size_ += next_part; in NewFileChunk()
|
D | swap_space.h | 44 return size_; in GetSize() 99 size_t size_; variable
|
/art/compiler/jit/ |
D | jit_logger.cc | 114 uint32_t size_; // Total size of header member 153 uint32_t size_; // Total size of this event record. member 237 header.size_ = sizeof(header); in WriteJitDumpHeader() 276 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size; in WriteJitDumpLog()
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 49 : reg_(reg), frame_offset_(0u), size_(size) { in ArgumentLocation() 54 : reg_(ManagedRegister::NoRegister()), frame_offset_(frame_offset), size_(size) {} in ArgumentLocation() 71 return size_; in GetSize() 77 size_t size_; variable
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 142 SlotFreeList() : head_(0U), tail_(0), size_(0), padding_(0) {} in SlotFreeList() 151 return size_; in Size() 182 --size_; in Remove() 214 ++size_; in Add() 242 size_ = list->Size(); in Merge() 250 size_ += list->Size(); in Merge() 263 size_ = 0; in Reset() 269 if (size_ == 0) { in Verify() 286 CHECK_EQ(size_, count); in Verify() 303 uint32_t size_; variable [all …]
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 129 id_(id), iterations_(iterations), size_(size), los_(los) {} in AllocRaceTask() 134 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr, in Run() 150 size_t size_; member in art::gc::space::AllocRaceTask
|
/art/runtime/oat/ |
D | image.h | 51 ImageSection() : offset_(0), size_(0) { } in ImageSection() 52 ImageSection(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } in ImageSection() 61 return size_; in Size() 69 return offset - offset_ < size_; in Contains() 74 uint32_t size_; variable
|