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()
207 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile392 result = SetLength(0); in Erase()436 if (SetLength(0) < 0) { in ClearContent()
94 int SetLength(int64_t new_length) OVERRIDE WARN_UNUSED;
35 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
110 array->SetLength(length_); in operator()142 array->SetLength(length); in operator()
63 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLength() function
58 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
119 arr->SetLength(length); in InstallClass()
760 TEMP_FAILURE_RETRY(temp_dex.GetFile()->SetLength(file_size)); in TEST_F()
719 out->SetLength(expect) == 0) { in WriteImage()
1369 if (oat_file->SetLength(0) != 0) { in OpenFile()1409 if (vdex_file->SetLength(0) != 0) { in OpenFile()
2269 dummy_arr->SetLength(length); in FillWithDummyObject()
209 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
3736 if (file->SetLength(end_offset) != 0) { in WriteDexFile()