Searched refs:SetLength (Results 1 – 14 of 14) 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()
380 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile640 if (SetLength(end_length) != 0) { in Copy()703 result = SetLength(0); in Erase()748 if (SetLength(0) < 0) { in ClearContent()
72 int SetLength(int64_t new_length) override WARN_UNUSED;
57 TEST_F(FdFileTest, SetLength) { in TEST_F() argument210 ASSERT_EQ(src->SetLength(src->GetLength() + empty_suffix), 0); in CreateSparseSourceFile()515 ASSERT_EQ(dest_file->SetLength(existing_length), 0); in TEST_F()
75 array->SetLength(length_); in operator()107 array->SetLength(length); in operator()
71 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLength() function
61 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
289 return elf_file_->SetLength(file_size) == 0; in StripDebugInfo()
3350 if (file->SetLength(page_aligned_size) != 0) { in WriteDexFiles()3664 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
606 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
118 arr->SetLength(length); in InstallClass()
1303 if (oat_file->SetLength(0) != 0) { in OpenFile()1347 if (vdex_file->SetLength(0) != 0) { in OpenFile()
3382 fake_arr->SetLength(length); in FillWithFakeObject()