/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_in), size_(size_in) { in ArrayRef() 81 : array_(v.data()), size_(v.size()) { in ArrayRef() 90 : array_(v.data()), size_(v.size()) { in ArrayRef() 99 size_ = other.size_; 122 iterator end() { return array_ + size_; } in end() 123 const_iterator end() const { return array_ + size_; } in end() 124 const_iterator cend() const { return array_ + size_; } in cend() [all …]
|
D | array_slice.h | 45 ArraySlice() : array_(nullptr), size_(0), element_size_(0) {} in ArraySlice() 53 size_(dchecked_integral_cast<uint32_t>(length)), in array_() 62 StrideIterator<T> end() { return StrideIterator<T>(&AtUnchecked(size_), element_size_); } in end() 63 const_iterator end() const { return const_iterator(&AtUnchecked(size_), element_size_); } in end() 64 const_iterator cend() const { return const_iterator(&AtUnchecked(size_), element_size_); } in cend() 73 size_type size() const { return size_; } in size() 79 DCHECK_LT(index, size_); 84 DCHECK_LT(index, size_); 100 return (*this)[size_ - 1u]; in back() 105 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 | 469 size_t source_size = source->size_; in ReplaceWith() 472 size_ = source_size; in ReplaceWith() 662 std::swap(size_, other.size_); in SwapMembers() 673 : name_(name), begin_(begin), size_(size), base_begin_(base_begin), base_size_(base_size), in MemMap() 675 if (size_ == 0) { in MemMap() 716 DCHECK_LE(begin_ + size_, reinterpret_cast<uint8_t*>(base_begin_) + base_size_); in RemapAtEnd() 721 uint8_t* old_end = begin_ + size_; in RemapAtEnd() 765 size_ = new_size; in RemapAtEnd() 785 DCHECK_EQ(size_, base_size_); in ReleaseReservedMemory() 787 DCHECK_ALIGNED(size_, kPageSize); in ReleaseReservedMemory() [all …]
|
D | malloc_arena_pool.cc | 64 size_ = size; in MallocArena() 73 MEMORY_TOOL_MAKE_UNDEFINED(memory_ + size_, tail); in ~MallocArena()
|
D | arena_allocator.h | 190 return memory_ + size_; in End() 194 return size_; in Size() 213 size_t size_; variable
|
/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 | 240 const uint8_t* file_end = file_start + size_; in CheckListSize() 286 if (size_ <= offset) { in CheckValidOffsetAndSize() 287 ErrorStringPrintf("Offset(%d) should be within file size(%zu) for %s.", offset, size_, label); in CheckValidOffsetAndSize() 308 if (size_ != expected_size) { in CheckHeader() 309 ErrorStringPrintf("Bad file size (%zd, expected %u)", size_, expected_size); in CheckHeader() 396 uint32_t count = map->size_; in CheckMap() 426 uint32_t icount = item->size_; in CheckMap() 510 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ 516 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ 523 if (!DecodeSignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \ [all …]
|
D | dex_file.h | 624 DCHECK_LE(index, set_item->size_); in GetAnnotationItem() 700 return size_; in Size() 814 const size_t size_; variable 897 size_ = type_list_->Size(); in DexFileParameterIterator() 900 bool HasNext() const { return pos_ < size_; } in HasNext() 901 size_t Size() const { return size_; } in Size() 912 uint32_t size_ = 0; variable
|
D | dex_file.cc | 106 size_(size), in DexFile() 128 CHECK_GT(size_, 0U) << GetLocation(); in DexFile() 181 const size_t count = map_list->size_; in InitializeSectionsFromMapList() 194 num_method_handles_ = map_item.size_; in InitializeSectionsFromMapList() 197 num_call_site_ids_ = map_item.size_; in InitializeSectionsFromMapList()
|
/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/compiler/utils/ |
D | managed_register.h | 96 : ManagedRegister(other), size_(size), spill_offset_(spill_offset) { } in ManagedRegisterSpill() 99 : ManagedRegister(other), size_(-1), spill_offset_(-1) { } in ManagedRegisterSpill() 102 : ManagedRegister(other), size_(size), spill_offset_(-1) { } in ManagedRegisterSpill() 109 return size_; in getSize() 113 int32_t size_;
|
D | swap_space.cc | 64 size_(0), in SwapSpace() 150 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk() 158 LOG(ERROR) << "Current size: " << size_ << " requested: " << next_part << "/" << min_size; in NewFileChunk() 164 size_ += next_part; in NewFileChunk()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout.h | 41 size_(0u) { in DexCacheArraysLayout() 57 return size_; in Size() 128 const size_t size_; variable
|
/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/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/optimizing/ |
D | codegen_test_utils.h | 177 InternalCodeAllocator() : size_(0) { } in InternalCodeAllocator() 180 size_ = size; in Allocate() 185 size_t GetSize() const { return size_; } in GetSize() 187 return ArrayRef<const uint8_t>(memory_.get(), size_); in GetMemory() 191 size_t size_;
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 144 SlotFreeList() : head_(0U), tail_(0), size_(0), padding_(0) {} in SlotFreeList() 153 return size_; in Size() 184 --size_; in Remove() 216 ++size_; in Add() 244 size_ = list->Size(); in Merge() 252 size_ += list->Size(); in Merge() 265 size_ = 0; in Reset() 271 if (size_ == 0) { in Verify() 288 CHECK_EQ(size_, count); in Verify() 305 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
|
D | bump_pointer_space-walk-inl.h | 80 size_t block_size = header->size_; in Walk()
|
/art/runtime/ |
D | image.h | 46 ImageSection() : offset_(0), size_(0) { } in ImageSection() 47 ImageSection(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } in ImageSection() 56 return size_; in Size() 64 return offset - offset_ < size_; in Contains() 69 uint32_t size_; variable
|
/art/dexlayout/ |
D | dex_ir.h | 317 uint32_t GetSize() const WARN_UNUSED { return size_; } in GetSize() 319 void SetSize(uint32_t size) { size_ = size; } in SetSize() 325 Item(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } in Item() 332 uint32_t size_ = 0; variable 585 size_ = UnsignedLeb128Size(CountModifiedUtf8Chars(data)) + strlen(data); in StringData() 601 size_ = kStringIdItemSize; in StringId() 620 explicit TypeId(StringId* string_id) : string_id_(string_id) { size_ = kTypeIdItemSize; } in TypeId() 640 size_ = sizeof(uint32_t) + (type_list->size() * sizeof(uint16_t)); in TypeList() 656 { size_ = kProtoIdItemSize; } in ProtoId() 678 : class_(klass), type_(type), name_(name) { size_ = kFieldIdItemSize; } in FieldId() [all …]
|
D | dex_ir_builder.cc | 335 const uint32_t count = map->size_; in CheckAndSetRemainingOffsets() 340 CHECK_EQ(item->size_, 1u); in CheckAndSetRemainingOffsets() 344 CHECK_EQ(item->size_, header_->StringIds().Size()); in CheckAndSetRemainingOffsets() 348 CHECK_EQ(item->size_, header_->TypeIds().Size()); in CheckAndSetRemainingOffsets() 352 CHECK_EQ(item->size_, header_->ProtoIds().Size()); in CheckAndSetRemainingOffsets() 356 CHECK_EQ(item->size_, header_->FieldIds().Size()); in CheckAndSetRemainingOffsets() 360 CHECK_EQ(item->size_, header_->MethodIds().Size()); in CheckAndSetRemainingOffsets() 366 CHECK_EQ(item->size_, header_->ClassDefs().Size()); in CheckAndSetRemainingOffsets() 371 CHECK_EQ(item->size_, header_->CallSiteIds().Size()); in CheckAndSetRemainingOffsets() 375 CHECK_EQ(item->size_, header_->MethodHandleItems().Size()); in CheckAndSetRemainingOffsets() [all …]
|