Home
last modified time | relevance | path

Searched refs:Size (Results 51 – 75 of 211) sorted by relevance

123456789

/art/compiler/optimizing/
Ddata_type.h76 static constexpr size_t Size(Type type) { in Size() function
216 Size(result_type) > Size(input_type); in IsZeroExtension()
/art/runtime/
Dreference_table.h48 size_t Size() const;
Dvdex_file.h243 size_t Size() const { return mmap_.Size(); } in Size() function
295 return mmap_.Size() >= sizeof(VerifierDepsHeader) && GetVerifierDepsHeader().IsValid(); in IsValid()
Dimage.cc152 return os << "size=" << section.Size() << " range=" << section.Offset() << "-" << section.End(); in operator <<()
161 for (size_t pos = kStartPos; pos < objects.Size(); ) { in VisitObjects()
Delf_file.h65 size_t Size() const;
Ddebugger.cc868 size_t Size() const { in Size() function in art::StringTable
1002 << " ClassNames: " << class_names.Size() << std::endl in GetRecentAllocations()
1003 << " MethodNames: " << method_names.Size() << std::endl in GetRecentAllocations()
1004 << " Filenames: " << filenames.Size(); in GetRecentAllocations()
1007 LOG(INFO) << "allocation records all objects: " << records->Size(); in GetRecentAllocations()
1031 Append2BE(bytes, class_names.Size()); in GetRecentAllocations()
1032 Append2BE(bytes, method_names.Size()); in GetRecentAllocations()
1033 Append2BE(bytes, filenames.Size()); in GetRecentAllocations()
Dimtable-inl.h68 for (size_t i = 0; i != param_types->Size(); ++i) { in GetImtHashComponents()
Delf_file_impl.h70 size_t Size() const { in Size() function
71 return map_.Size(); in Size()
/art/libdexfile/dex/
Ddex_file_verifier_test.cc81 dex_file->Size(), in VerifyModification()
1624 dex_file->Size(), in TEST_F()
1630 dex_file->Size(), in TEST_F()
1641 dex_file->Size(), in TEST_F()
1647 dex_file->Size(), in TEST_F()
1694 dex_file->Size(), in TEST_F()
1738 dex_file->Size(), in TEST_F()
1782 dex_file->Size(), in TEST_F()
1826 dex_file->Size(), in TEST_F()
1863 dex_file->Size(), in TEST_F()
[all …]
Ddex_file_structs.h45 size_t Size() const { return sizeof(uint32_t) + (size_ * sizeof(MapItem)); } in Size() function
153 uint32_t Size() const { in Size() function
Ddex_file_layout.h80 bool Size() const { in Size() function
/art/libartbase/base/
Darena_allocator.cc136 malloc_bytes += arena->Size(); in Dump()
274 DCHECK_LE(bytes, new_arena->Size()); in AllocFromNewArena()
275 if (static_cast<size_t>(end_ - ptr_) > new_arena->Size() - bytes) { in AllocFromNewArena()
/art/runtime/gc/allocator/
Drosalloc.h152 size_t Size() const { in Size() function
232 if (list->Size() == 0) { in Merge()
244 size_ = list->Size(); in Merge()
252 size_ += list->Size(); in Merge()
431 return free_list_.Size() == numOfSlots[size_bracket_idx_]; in IsAllFree()
435 return free_list_.Size(); in NumberOfFreeSlots()
441 return bulk_free_list_.Size() == 0; in IsBulkFreeListEmpty()
445 return thread_local_free_list_.Size() == 0; in IsThreadLocalFreeListEmpty()
/art/oatdump/
Doatdump.cc485 os << oat_file_.Size() << "\n\n"; in Dump()
641 CHECK_EQ(dex_container->GetDataSection()->Size(), 0u); in Dump()
646 main_section->Size(), in Dump()
681 stats_.AddBytes(oat_file_.Size()); in Dump()
866 offsets_.insert(oat_file_.Size()); in AddAllOffsets()
972 size_t fsize = dex_file == nullptr ? oat_dex_file.FileSize() : dex_file->Size(); in ExportDexFile()
1176 if (oat_method_offsets_offset > oat_file_.Size()) { in DumpOatMethod()
1179 oat_method_offsets_offset, oat_file_.Size()); in DumpOatMethod()
1188 if (aligned_code_begin > oat_file_.Size()) { in DumpOatMethod()
1191 aligned_code_begin, oat_file_.Size()); in DumpOatMethod()
[all …]
/art/runtime/gc/accounting/
Dspace_bitmap.h167 size_t Size() const { in Size() function
173 return IndexToOffset<uint64_t>(Size() / sizeof(intptr_t)); in HeapSize()
/art/cmdline/
Dcmdline_parser_test.cc175 EXPECT_EQ(0u, parser_->GetArgumentsMap().Size()); \
191 EXPECT_EQ(1u, args.Size()); \
210 EXPECT_EQ(0u, args.Size()); \
222 EXPECT_EQ(0u, args.Size()); in TEST_F()
569 EXPECT_EQ(4u, map.Size()); in TEST_F()
/art/dexlayout/
Ddex_ir_builder.cc120 uint32_t Size() const override { return size(); } in Size() function in art::dex_ir::CollectionMap
345 CHECK_EQ(item->size_, header_->StringIds().Size()); in CheckAndSetRemainingOffsets()
349 CHECK_EQ(item->size_, header_->TypeIds().Size()); in CheckAndSetRemainingOffsets()
353 CHECK_EQ(item->size_, header_->ProtoIds().Size()); in CheckAndSetRemainingOffsets()
357 CHECK_EQ(item->size_, header_->FieldIds().Size()); in CheckAndSetRemainingOffsets()
361 CHECK_EQ(item->size_, header_->MethodIds().Size()); in CheckAndSetRemainingOffsets()
367 CHECK_EQ(item->size_, header_->ClassDefs().Size()); in CheckAndSetRemainingOffsets()
372 CHECK_EQ(item->size_, header_->CallSiteIds().Size()); in CheckAndSetRemainingOffsets()
376 CHECK_EQ(item->size_, header_->MethodHandleItems().Size()); in CheckAndSetRemainingOffsets()
586 uint32_t size = dex_type_list->Size(); in CreateTypeList()
[all …]
/art/runtime/native/
Djava_lang_reflect_Parameter.cc51 uint32_t parameter_count = method->GetParameterTypeList()->Size(); in Parameter_getAnnotationNative()
Djava_lang_reflect_Executable.cc293 const int32_t this_size = this_list->Size(); in Executable_compareMethodParametersInternal()
294 const int32_t other_size = other_list->Size(); in Executable_compareMethodParametersInternal()
351 const uint32_t num_params = params->Size(); in Executable_getParameterTypesInternal()
382 return (params == nullptr) ? 0 : params->Size(); in Executable_getParameterCountInternal()
/art/tools/veridex/
Dresolver.cc120 CHECK_GT(reinterpret_cast<uintptr_t>(dex_file.Begin()) + dex_file.Size(), in GetResolverOf()
166 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupMethodIn()
210 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupFieldIn()
/art/libartbase/base/unix_file/
Dfd_file_test.cc85 template <size_t Size>
86 static void NullTerminateCharArray(char (&array)[Size]) { in NullTerminateCharArray() argument
87 array[Size - 1] = '\0'; in NullTerminateCharArray()
/art/runtime/gc/space/
Dzygote_space.h69 return Size(); in GetBytesAllocated()
Dregion_space.cc80 CHECK_EQ(mem_map.Size(), capacity + kRegionSize); in CreateMemMap()
82 CHECK_EQ(mem_map.Size(), mem_map.BaseSize()); in CreateMemMap()
93 CHECK_EQ(mem_map.Size(), capacity); in CreateMemMap()
112 num_regions_(mem_map_.Size() / kRegionSize), in RegionSpace()
121 CHECK_ALIGNED(mem_map_.Size(), kRegionSize); in RegionSpace()
782 CheckedCall(mprotect, __FUNCTION__, Begin(), Size(), PROT_NONE); in Protect()
788 CheckedCall(mprotect, __FUNCTION__, Begin(), Size(), PROT_READ | PROT_WRITE); in Unprotect()
805 if (Size() > new_capacity) { in ClampGrowthLimit()
/art/tools/hiddenapi/
Dhiddenapi.cc125 for (uint32_t i = 0; ifaces != nullptr && i < ifaces->Size(); ++i) { in GetInterfaceDescriptors()
663 AllocateMemory(old_dex_.Size()); in Encode()
664 Append(old_dex_.Begin(), old_dex_.Size(), /* update_header= */ false); in Encode()
674 CHECK(IsAligned<kMapListAlignment>(old_dex_.Size())) in Encode()
679 size_t new_size = old_dex_.Size() + size_delta; in Encode()
684 Append(old_dex_.Begin(), old_dex_.Size(), /* update_header= */ false); in Encode()
796 size_t map_size = GetMapList().Size(); in RemoveOldMapList()
808 dex::MapList* map = Append(old_dex_.GetMapList(), old_dex_.GetMapList()->Size()); in CreateMapListWithNewItem()
/art/runtime/gc/
Dallocation_record.cc239 DCHECK_LE(Size(), alloc_record_max_); in RecordAllocation()
246 DCHECK_LE(Size(), alloc_record_max_); in RecordAllocation()

123456789