Home
last modified time | relevance | path

Searched refs:SetLength (Results 1 – 15 of 15) sorted by relevance

/art/libartbase/base/unix_file/
Drandom_access_file.h51 virtual int SetLength(int64_t new_length) = 0;
Drandom_access_file_test.h120 ASSERT_EQ(-EINVAL, file->SetLength(-123)); in TestSetLength()
124 ASSERT_EQ(0, file->SetLength(new_length)); in TestSetLength()
132 ASSERT_EQ(0, file->SetLength(new_length)); in TestSetLength()
Dfd_file.h72 int SetLength(int64_t new_length) override WARN_UNUSED;
Dfd_file.cc371 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile
556 result = SetLength(0); in Erase()
600 if (SetLength(0) < 0) { in ClearContent()
Dfd_file_test.cc39 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
/art/runtime/mirror/
Darray-alloc-inl.h75 array->SetLength(length_); in operator()
107 array->SetLength(length); in operator()
Darray.h68 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLength() function
/art/dex2oat/linker/
Delf_writer_quick.cc287 return elf_file_->SetLength(file_size) == 0; in StripDebugInfo()
Doat_writer.cc3202 if (file->SetLength(page_aligned_size) != 0) { in WriteDexFiles()
3701 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
Dimage_writer.cc434 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
/art/runtime/gc/accounting/
Dmod_union_table_test.cc60 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
/art/runtime/gc/space/
Dspace_test.h118 arr->SetLength(length); in InstallClass()
/art/dexlayout/
Ddexlayout_test.cc746 TEMP_FAILURE_RETRY(temp_dex.GetFile()->SetLength(file_size)); in TEST_F()
/art/dex2oat/
Ddex2oat.cc1242 if (oat_file->SetLength(0) != 0) { in OpenFile()
1282 if (vdex_file->SetLength(0) != 0) { in OpenFile()
/art/runtime/gc/collector/
Dconcurrent_copying.cc3330 fake_arr->SetLength(length); in FillWithFakeObject()