Home
last modified time | relevance | path

Searched refs:SparsePtr (Results 1 – 11 of 11) sorted by relevance

/aosp14/system/core/fs_mgr/liblp/
H A Dimages.h46 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>; variable
47 const std::vector<SparsePtr>& device_images() const { return device_images_; } in device_images()
63 std::vector<SparsePtr> device_images_;
H A Dimages.cpp173 SparsePtr file(sparse_file_new(block_size_, block_device.size), sparse_file_destroy); in ImageBuilder()
457 SparsePtr source(sparse_file_import(source_fd, true, true), sparse_file_destroy); in OpenImageFile()
/aosp14/system/core/fastboot/
H A Dfastboot.h60 std::vector<SparsePtr> files;
158 void flash_partition_files(const std::string& partition, const std::vector<SparsePtr>& files);
160 std::vector<SparsePtr> resparse_file(sparse_file* s, int64_t max_size);
H A Dsuper_flash_helper.cpp73 SparsePtr SuperFlashHelper::GetSparseLayout() { in GetSparseLayout()
85 SparsePtr s(sparse_file_new(block_size, flashed_size), sparse_file_destroy); in GetSparseLayout()
H A Dtask.h80 SparsePtr sparse_layout, uint64_t super_size);
91 SparsePtr sparse_layout_;
H A Dsuper_flash_helper.h40 SparsePtr GetSparseLayout();
H A Dutil.h14 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>; variable
H A Dutil.cpp101 SparsePtr s(sparse_file_import(fd.get(), false, false), sparse_file_destroy); in is_sparse_file()
H A Dtask.cpp89 SparsePtr sparse_layout, uint64_t super_size) in FlashSuperLayoutTask()
99 std::vector<SparsePtr> files; in Run()
H A Dfastboot.cpp972 std::vector<SparsePtr> resparse_file(sparse_file* s, int64_t max_size) { in resparse_file()
984 std::vector<SparsePtr> out_s; in resparse_file()
991 static std::vector<SparsePtr> load_sparse_files(int fd, int64_t max_size) { in load_sparse_files()
992 SparsePtr s(sparse_file_import_auto(fd, false, true), sparse_file_destroy); in load_sparse_files()
1234 void flash_partition_files(const std::string& partition, const std::vector<SparsePtr>& files) { in flash_partition_files()
/aosp14/system/core/fs_mgr/libvbmeta/
H A Dsuper_vbmeta_test.cpp37 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>; typedef
46 SparsePtr file(sparse_file_new(512 /* block size */, FAKE_DATA_SIZE), sparse_file_destroy); in GeneratePartitionImage()