Home
last modified time | relevance | path

Searched refs:zipItems (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dzip_utils.cpp51 std::vector<std::pair<std::string, std::string>> zipItems; in ZipFolder() local
52 std::transform(allFiles.begin(), allFiles.end(), std::back_inserter(zipItems), in ZipFolder()
58 for (auto zipItem : zipItems) { in ZipFolder()
59 DUMPER_HILOGD(MODULE_COMMON, "debug|zipItems, absPath=[%{public}s], relPath=[%{public}s]", in ZipFolder()
67 bool ret = zipWriter.Write(zipItems, notify); in ZipFolder()
/base/hiviewdfx/hidumper/frameworks/native/src/util/zip/
H A Dzip_writer.cpp78 bool ZipWriter::Write(const std::vector<std::pair<std::string, std::string>> &zipItems, const ZipTickNotify notify) in Write() argument
87 zipItems_.insert(zipItems_.end(), zipItems.begin(), zipItems.end()); in Write()
104 std::vector<std::pair<std::string, std::string>> zipItems; in FlushItems() local
105 zipItems.assign(zipItems_.begin(), zipItems_.end()); in FlushItems()
109 for (size_t i = 0; i < zipItems.size(); i++) { in FlushItems()
110 if ((notify != nullptr) && (notify(((PROCENT100 * i) / zipItems.size()), UNSET_PROGRESS))) { in FlushItems()
116 auto item = zipItems[i]; in FlushItems()
/base/hiviewdfx/hidumper/frameworks/native/include/util/zip/
H A Dzip_writer.h33 // zipItems: first:absolutePath, second:relativePath
34 bool Write(const std::vector<std::pair<std::string, std::string>> &zipItems,

Completed in 1 milliseconds