Home
last modified time | relevance | path

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

/art/runtime/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.cc163 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile
314 TEMP_FAILURE_RETRY(SetLength(0)); in Erase()
355 if (SetLength(0) < 0) { in ClearContent()
Dfd_file.h56 int SetLength(int64_t new_length) OVERRIDE WARN_UNUSED;
Dfd_file_test.cc35 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
/art/runtime/mirror/
Darray-inl.h108 array->SetLength(length_); in operator()
140 array->SetLength(length); in operator()
Darray.h56 void SetLength(int32_t length) SHARED_REQUIRES(Locks::mutator_lock_) { in SetLength() function
/art/runtime/gc/accounting/
Dmod_union_table_test.cc58 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
/art/runtime/gc/space/
Dspace_test.h122 arr->SetLength(length); in InstallClass()
/art/patchoat/
Dpatchoat.cc356 out->SetLength(expect) == 0) { in WriteElf()
375 out->SetLength(expect) == 0) { in WriteImage()
/art/compiler/
Doat_writer.cc1976 if (file->SetLength(end_offset) != 0) { in WriteDexFile()
2102 if (file->SetLength(new_length) != 0) { in ExtendForTypeLookupTables()
Dimage_writer.cc200 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1725 dummy_obj->AsArray()->SetLength(length); in FillWithDummyObject()
/art/dex2oat/
Ddex2oat.cc1199 if (oat_file->SetLength(0) != 0) { in OpenFile()