android_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
.clang-format
Android.bp libziparchive: add integer checks 2019-03-20 13:04:02 -07:00
OWNERS
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
unzip.cpp
zip_archive.cc zip_archive.cc: delete android_errorWriteLog 2019-03-21 09:58:56 -07:00
zip_archive_benchmark.cpp
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
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