Searched refs:SetLength (Results 1 – 15 of 15) sorted by relevance
51 virtual int SetLength(int64_t new_length) = 0;
120 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()
72 int SetLength(int64_t new_length) override WARN_UNUSED;
371 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile556 result = SetLength(0); in Erase()600 if (SetLength(0) < 0) { in ClearContent()
39 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
75 array->SetLength(length_); in operator()107 array->SetLength(length); in operator()
68 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLength() function
287 return elf_file_->SetLength(file_size) == 0; in StripDebugInfo()
3202 if (file->SetLength(page_aligned_size) != 0) { in WriteDexFiles()3701 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
434 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
60 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
118 arr->SetLength(length); in InstallClass()
746 TEMP_FAILURE_RETRY(temp_dex.GetFile()->SetLength(file_size)); in TEST_F()
1242 if (oat_file->SetLength(0) != 0) { in OpenFile()1282 if (vdex_file->SetLength(0) != 0) { in OpenFile()
3330 fake_arr->SetLength(length); in FillWithFakeObject()