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()
193 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile378 result = SetLength(0); in Erase()422 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
111 array->SetLength(length_); in operator()143 array->SetLength(length); in operator()
64 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()
303 out->SetLength(expect) == 0) { in WriteImage()
1329 if (oat_file->SetLength(0) != 0) { in OpenFile()1367 if (vdex_file->SetLength(0) != 0) { in OpenFile()
2095 dummy_arr->SetLength(length); in FillWithDummyObject()
206 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
2599 if (file->SetLength(end_offset) != 0) { in WriteDexFile()