Lines Matching refs:length

2581 ObjPtr<mirror::PointerArray> ClassLinker::AllocPointerArray(Thread* self, size_t length) {  in AllocPointerArray()  argument
2584 ? ObjPtr<mirror::Array>(mirror::LongArray::Alloc(self, length)) in AllocPointerArray()
2585 : ObjPtr<mirror::Array>(mirror::IntArray::Alloc(self, length))); in AllocPointerArray()
2741 size_t length) { in AllocStackTraceElementArray() argument
2743 self, GetClassRoot<mirror::ObjectArray<mirror::StackTraceElement>>(this), length); in AllocStackTraceElementArray()
3791 size_t length) { in AllocArtFieldArray() argument
3792 if (length == 0) { in AllocArtFieldArray()
3797 size_t storage_size = LengthPrefixedArray<ArtField>::ComputeSize(length); in AllocArtFieldArray()
3799 auto* ret = new(array_storage) LengthPrefixedArray<ArtField>(length); in AllocArtFieldArray()
3801 std::uninitialized_fill_n(&ret->At(0), length, ArtField()); in AllocArtFieldArray()
3807 size_t length) { in AllocArtMethodArray() argument
3808 if (length == 0) { in AllocArtMethodArray()
3814 LengthPrefixedArray<ArtMethod>::ComputeSize(length, method_size, method_alignment); in AllocArtMethodArray()
3816 auto* ret = new (array_storage) LengthPrefixedArray<ArtMethod>(length); in AllocArtMethodArray()
3818 for (size_t i = 0; i < length; ++i) { in AllocArtMethodArray()
4058 const size_t dex_cache_length = dex_cache_location.length(); in RegisterDexFileLocked()
4064 CHECK_GE(dex_file_location.length(), dex_cache_length) in RegisterDexFileLocked()
4067 dex_file_location.length() - dex_cache_length, in RegisterDexFileLocked()
7114 for (size_t i = 0, length = if_table->Count(); i < length; ++i) { in FillIMTFromIfTable() local
7181 for (size_t i = 0, length = if_table->Count(); i < length; ++i) { in FillIMTFromIfTable() local