Home
last modified time | relevance | path

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

/system/extras/verity/
Dbuild_verity_tree.cpp36 std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)> file(nullptr, sparse_file_destroy); in generate_verity_tree()
Dverity_verifier.cpp99 sparse_file_destroy(file); in main()
/system/core/libsparse/
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()
Dsparse_fuzzer.cpp27 sparse_file_destroy(file); in LLVMFuzzerTestOneInput()
Dsimg2img.cpp79 sparse_file_destroy(s); in main()
Dappend2simg.cpp123 sparse_file_destroy(sparse_output); in main()
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()
/system/core/fastboot/
Dutil.h14 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
Dutil.cpp101 SparsePtr s(sparse_file_import(fd.get(), false, false), sparse_file_destroy); in is_sparse_file()
Dsuper_flash_helper.cpp85 SparsePtr s(sparse_file_new(block_size, flashed_size), sparse_file_destroy); in GetSparseLayout()
Dfastboot.cpp991 out_s.emplace_back(temp[i], sparse_file_destroy); in resparse_file()
997 SparsePtr s(sparse_file_import_auto(fd, false, true), sparse_file_destroy); in load_sparse_files()
1056 sparse_file_destroy(s); in load_buf_fd()
/system/core/fs_mgr/liblp/
Dimages.h46 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
Dimages.cpp206 SparsePtr file(sparse_file_new(block_size_, block_device.size), sparse_file_destroy); in ImageBuilder()
491 SparsePtr source(sparse_file_import(source_fd, true, true), sparse_file_destroy); in OpenImageFile()
/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.h61 sparse_file_destroy(sparse); in ~SparseWrapper()
/system/core/libsparse/include/sparse/
Dsparse.h58 void sparse_file_destroy(struct sparse_file *s);
/system/core/fs_mgr/libvbmeta/
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()
/system/extras/partition_tools/
Dlpadd.cc35 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
260 SparsePtr sf(sparse_file_import(fd.get(), false, false), sparse_file_destroy); in MaybeUnsparse()
406 SparsePtr sf(sparse_file_new(sparse_block_size_, len), sparse_file_destroy); in Finalize()
Dlpunpack.cc39 using SparsePtr = std::unique_ptr<sparse_file, decltype(&sparse_file_destroy)>;
169 SparsePtr ptr(sparse_file_import(fd, false, false), sparse_file_destroy); in main()
/system/extras/verity/fec/
Dimage.cpp135 sparse_file_destroy(file); in file_image_load()