platform_system_core/libziparchive
Nick Kralevich 6d3c80b85a zip_writer.cc: update powerof2 and use it unconditionally
Update the powerof2 macro to one that is integer overflow safe.
This definition is the same one used by bionic, but cleaned up using
clang_format.

Unconditionally use this powerof2 macro, to ensure consistency across
all the build environments.

Test: compiles and boots
Change-Id: I21bfaf2360d1f77caf96365e20490b1deadfdfe0
2019-03-27 10:24:44 -07:00
..
include/ziparchive More Mac build fixes. 2018-10-26 10:53:24 -07:00
testdata Check filename memory bound when parsing ziparchive 2017-06-30 17:19:28 +09:00
.clang-format add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
Android.bp libziparchive: add integer checks 2019-03-20 13:04:02 -07:00
entry_name_utils-inl.h entry_name_utils-inl.h: clear top bit before shifting 2019-03-21 09:29:31 -07:00
entry_name_utils_test.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
unzip.cpp Add libziparchive-based unzip. 2017-06-04 11:53:48 -07:00
zip_archive.cc zip_archive.cc: delete android_errorWriteLog 2019-03-21 09:58:56 -07:00
zip_archive_benchmark.cpp BENCHMARK_MAIN now requires a semicolon. 2017-12-13 18:19:18 -08:00
zip_archive_common.h Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00
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 libziparchive: Use ReadAtOffset exclusively 2017-07-25 18:12:12 +00:00
zip_archive_test.cc Fix double closes in ziparchive tests. 2018-11-16 19:54:41 +00:00
zip_writer.cc zip_writer.cc: update powerof2 and use it unconditionally 2019-03-27 10:24:44 -07:00
zip_writer_test.cc Ran clang-format on libziparchive sources and headers 2017-07-02 11:46:53 +09:00