/aosp12/system/update_engine/common/ |
H A D | file_fetcher.h | 48 void SetLength(size_t length) override { data_length_ = length; } in SetLength() function 49 void UnsetLength() override { SetLength(0); } in UnsetLength()
|
H A D | multi_range_http_fetcher.cc | 79 base_fetcher_->SetLength(range.length()); in StartTransfer() 204 base_fetcher_->SetLength(range.length()); in SetOffset()
|
H A D | mock_http_fetcher.h | 73 void SetLength(size_t length) override {} in SetLength() function
|
H A D | http_fetcher.h | 91 virtual void SetLength(size_t length) = 0;
|
H A D | multi_range_http_fetcher.h | 70 void SetLength(size_t length) override {} // unsupported in SetLength() function
|
/aosp12/art/libartbase/base/unix_file/ |
H A D | random_access_file_test.h | 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()
|
H A D | random_access_file.h | 51 virtual int SetLength(int64_t new_length) = 0;
|
H A D | fd_file.cc | 371 int FdFile::SetLength(int64_t new_length) { in SetLength() function in unix_file::FdFile 556 result = SetLength(0); in Erase() 600 if (SetLength(0) < 0) { in ClearContent()
|
H A D | fd_file.h | 72 int SetLength(int64_t new_length) override WARN_UNUSED;
|
H A D | fd_file_test.cc | 39 TEST_F(FdFileTest, SetLength) { in TEST_F() argument
|
/aosp12/system/update_engine/ |
H A D | libcurl_http_fetcher.h | 93 void SetLength(size_t length) override { download_length_ = length; } in SetLength() function 94 void UnsetLength() override { SetLength(0); } in UnsetLength()
|
/aosp12/art/runtime/mirror/ |
H A D | array-alloc-inl.h | 75 array->SetLength(length_); in operator() 107 array->SetLength(length); in operator()
|
H A D | array.h | 68 void SetLength(int32_t length) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLength() function
|
/aosp12/art/dex2oat/linker/ |
H A D | elf_writer_quick.cc | 287 return elf_file_->SetLength(file_size) == 0; in StripDebugInfo()
|
H A D | oat_writer.cc | 3202 if (file->SetLength(page_aligned_size) != 0) { in WriteDexFiles() 3701 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
|
H A D | image_writer.cc | 434 TEMP_FAILURE_RETRY(image_file->SetLength(0)); in Write()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | mod_union_table_test.cc | 60 obj->SetLength(static_cast<int32_t>(component_count)); in AllocObjectArray()
|
/aosp12/art/runtime/gc/space/ |
H A D | space_test.h | 118 arr->SetLength(length); in InstallClass()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | document.h | 479 data_.ss.SetLength(0); 1632 inline void SetLength(SizeType len) { str[LenPos] = (Ch)(MaxSize - len); } 1718 data_.ss.SetLength(s.length);
|
/aosp12/art/dexlayout/ |
H A D | dexlayout_test.cc | 746 TEMP_FAILURE_RETRY(temp_dex.GetFile()->SetLength(file_size)); in TEST_F()
|
/aosp12/art/dex2oat/ |
H A D | dex2oat.cc | 1242 if (oat_file->SetLength(0) != 0) { in OpenFile() 1282 if (vdex_file->SetLength(0) != 0) { in OpenFile()
|
/aosp12/art/runtime/gc/collector/ |
H A D | concurrent_copying.cc | 3350 fake_arr->SetLength(length); in FillWithFakeObject()
|