Home
last modified time | relevance | path

Searched refs:sparse_file_destroy (Results 1 – 14 of 14) sorted by relevance

/aosp14/system/core/libsparse/
H A Dsparse.cpp48 void sparse_file_destroy(struct sparse_file* s) { in sparse_file_destroy() function
342 sparse_file_destroy(s); in sparse_file_resparse()
344 sparse_file_destroy(out_s[i]); in sparse_file_resparse()
347 sparse_file_destroy(tmp); in sparse_file_resparse()
355 sparse_file_destroy(s); in sparse_file_resparse()
362 sparse_file_destroy(tmp); in sparse_file_resparse()
H A Dsparse_fuzzer.cpp27 sparse_file_destroy(file); in LLVMFuzzerTestOneInput()
H A Dsimg2img.cpp79 sparse_file_destroy(s); in main()
H A Dappend2simg.cpp123 sparse_file_destroy(sparse_output); in main()
H A Dsparse_read.cpp643 sparse_file_destroy(s); in sparse_file_import_source()
651 sparse_file_destroy(s); in sparse_file_import_source()
695 sparse_file_destroy(s); in sparse_file_import_auto()
/aosp14/system/core/fastboot/
H A Dutil.h14 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
H A Dutil.cpp101 SparsePtr s(sparse_file_import(fd.get(), false, false), sparse_file_destroy); in is_sparse_file()
H A Dsuper_flash_helper.cpp85 SparsePtr s(sparse_file_new(block_size, flashed_size), sparse_file_destroy); in GetSparseLayout()
H A Dfastboot.cpp986 out_s.emplace_back(temp[i], sparse_file_destroy); in resparse_file()
992 SparsePtr s(sparse_file_import_auto(fd, false, true), sparse_file_destroy); in load_sparse_files()
1051 sparse_file_destroy(s); in load_buf_fd()
/aosp14/system/core/fs_mgr/libvbmeta/
H A Dsuper_vbmeta_test.cpp37 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
46 SparsePtr file(sparse_file_new(512 /* block size */, FAKE_DATA_SIZE), sparse_file_destroy); in GeneratePartitionImage()
/aosp14/system/core/fs_mgr/liblp/
H A Dimages.h46 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
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/fuzzy_fastboot/
H A Dtest_utils.h61 sparse_file_destroy(sparse); in ~SparseWrapper()
/aosp14/system/core/libsparse/include/sparse/
H A Dsparse.h58 void sparse_file_destroy(struct sparse_file *s);