android_system_core/libziparchive
Elliott Hughes a22ac0f07e libziparchive: start moving to a non-ZipString StartIteration API.
Same issue as with FindEntry: using ZipString in the API forces all
callers to make sure they don't hit the ZipString length limits. Switch
to std::string_view and uniformly use the empty string as a way to
signal no prefix/suffix rather than nullptr.

Also use default arguments to make the common case of no prefix and no
suffix more convenient.

Also just use std::string to increase the lifetime of the provided
prefix/suffix rather than manual memory management.

Bug: http://b/129068177
Test: treehugger
Change-Id: I6675e39ce62fadd766386d77d27423013c17d6f7
2019-05-08 11:00:32 -07:00
..
include/ziparchive libziparchive: start moving to a non-ZipString StartIteration API. 2019-05-08 11:00:32 -07:00
testdata
.clang-format
Android.bp Enable native_bridge_support 2019-05-06 14:05:05 +02:00
OWNERS
entry_name_utils-inl.h Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
entry_name_utils_test.cc
unzip.cpp libziparchive: start moving to a non-ZipString StartIteration API. 2019-05-08 11:00:32 -07:00
zip_archive.cc libziparchive: start moving to a non-ZipString StartIteration API. 2019-05-08 11:00:32 -07:00
zip_archive_benchmark.cpp libziparchive: start moving to a non-ZipString StartIteration API. 2019-05-08 11:00:32 -07:00
zip_archive_common.h
zip_archive_private.h Add a simple MappedFile to libbase and switch fastboot and libziparchive over. 2018-10-23 13:20:49 -07:00
zip_archive_stream_entry.cc Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
zip_archive_test.cc libziparchive: start moving to a non-ZipString StartIteration API. 2019-05-08 11:00:32 -07:00
zip_writer.cc Ziparchive: Enable -Wconversion 2019-04-05 13:50:48 -07:00
zip_writer_test.cc libziparchive: report errors on over-long names. 2019-05-04 08:41:12 -07:00