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()
163 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile314 TEMP_FAILURE_RETRY(SetLength(0)); in Erase()355 if (SetLength(0) < 0) { in ClearContent()
56 int SetLength(int64_t new_length) OVERRIDE WARN_UNUSED;
35 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
108 array->SetLength(length_); in operator()140 array->SetLength(length); in operator()
56 void SetLength(int32_t length) SHARED_REQUIRES(Locks::mutator_lock_) { in SetLength() function
58 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
122 arr->SetLength(length); in InstallClass()
356 out->SetLength(expect) == 0) { in WriteElf()375 out->SetLength(expect) == 0) { in WriteImage()
1976 if (file->SetLength(end_offset) != 0) { in WriteDexFile()2102 if (file->SetLength(new_length) != 0) { in ExtendForTypeLookupTables()
200 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
1725 dummy_obj->AsArray()->SetLength(length); in FillWithDummyObject()
1199 if (oat_file->SetLength(0) != 0) { in OpenFile()