android_system_core/libziparchive
Songchun Fan c33f5260ea [libziparchive] add an option to start iteration with functor
To reduce the seeks for local file headers in large APK files, we can
specify entry prefix/suffix when we call StartIteration(). However,
some use cases need additional name matches that is outside the
prefix/suffix matches.

Adding a new option to StartIteration, which allows additional functor
that restricts the iteration to customized name matching schemes.

Test: atest ziparchive-tests
BUG: 151676293
Change-Id: Iff45e083b334602f183c05cb39ba521e7070252c
2020-03-24 10:16:49 -07:00
..
cli-tests cli-test: a tool for testing command-line programs. 2019-12-13 12:23:51 -08:00
include/ziparchive [libziparchive] add an option to start iteration with functor 2020-03-24 10:16:49 -07:00
testdata Fix SEGV in libziparchive with malformed zip file. 2019-12-17 08:39:09 -08:00
.clang-format add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
Android.bp libziparchive: move the array of error strings into the implementation. 2020-03-17 14:10:59 -07:00
entry_name_utils-inl.h Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
entry_name_utils_test.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
libziparchive_fuzzer.cpp libziparchive: add trivial fuzzer. 2019-10-22 11:45:49 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
run-ziptool-tests-on-android.sh cli-test: a tool for testing command-line programs. 2019-12-13 12:23:51 -08:00
zip_archive.cc [libziparchive] add an option to start iteration with functor 2020-03-24 10:16:49 -07:00
zip_archive_benchmark.cpp [zip] Save 1 malloc and memset for each added file in ZipWriter 2019-06-18 21:49:16 -07:00
zip_archive_common.h Add definition for zip64 struct 2020-03-20 22:23:57 -07:00
zip_archive_private.h Add definition for zip64 struct 2020-03-20 22:23:57 -07:00
zip_archive_stream_entry.cc Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
zip_archive_test.cc [libziparchive] add an option to start iteration with functor 2020-03-24 10:16:49 -07:00
zip_cd_entry_map.cc Move the implementation of cd entry map to a separate file 2020-03-16 17:43:49 -07:00
zip_cd_entry_map.h Move the implementation of cd entry map to a separate file 2020-03-16 17:43:49 -07:00
zip_error.cpp libziparchive: move the array of error strings into the implementation. 2020-03-17 14:10:59 -07:00
zip_error.h libziparchive: move the array of error strings into the implementation. 2020-03-17 14:10:59 -07:00
zip_writer.cc Avoid using data descriptors in ZIP files when possible. 2019-07-23 06:58:53 +00:00
zip_writer_test.cc Avoid using data descriptors in ZIP files when possible. 2019-07-23 06:58:53 +00:00
ziptool-tests.xml cli-test: a tool for testing command-line programs. 2019-12-13 12:23:51 -08:00
ziptool.cpp Add definition for zip64 struct 2020-03-20 22:23:57 -07:00