android_system_core/base
Pirama Arumuga Nainar 5d7f84144d Support zero-length mapped files
Bug: http://b/119818070 "app crashes when reading asset of zero length"

Add support for zero-length mappings for the Windows code path as well.

Test: ran libbase_test on Windows under wine.
Change-Id: Iccb65fa800c636444100c9369f41e36d24a53a99
2019-03-07 16:12:55 -08:00
..
include/android-base Merge changes from topic "base_cmsg" 2019-02-19 20:53:01 +00:00
.clang-format
Android.bp base: add helpers for sending/receiving file descriptors. 2019-02-13 13:21:54 -08:00
CPPLINT.cfg
OWNERS
chrono_utils.cpp
chrono_utils_test.cpp
cmsg.cpp Hopefully fix more darwin build breakage. 2019-02-19 14:37:02 -08:00
cmsg_test.cpp base: add helpers for sending/receiving file descriptors. 2019-02-13 13:21:54 -08:00
endian_test.cpp
errors_test.cpp
errors_unix.cpp
errors_windows.cpp
file.cpp Add missing includes. 2018-12-06 10:09:20 -08:00
file_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
logging.cpp Base: Explicitly set abort message on FATAL 2018-12-05 12:59:15 -08:00
logging_test.cpp Add Start/Stop/Reset to CapturedStdFd. 2018-09-04 14:29:23 -07:00
macros_test.cpp
mapped_file.cpp Support zero-length mapped files 2019-03-07 16:12:55 -08:00
mapped_file_test.cpp MappedFile and FileMap should support zero-length mappings. 2019-02-06 14:29:35 -08:00
parsedouble_test.cpp Add ParseFloat (in parsedouble.h). 2018-08-08 18:17:21 -07:00
parseint_test.cpp Set errno for all error return cases. 2018-08-29 10:47:06 -07:00
parsenetaddress.cpp
parsenetaddress_test.cpp
properties.cpp libbase: add host properties support. 2018-05-24 18:04:31 -07:00
properties_test.cpp libbase: add host properties support. 2018-05-24 18:04:31 -07:00
quick_exit.cpp
quick_exit_test.cpp
scopeguard_test.cpp
stringprintf.cpp
stringprintf_test.cpp
strings.cpp libbase: support char parameter in StartsWith/EndsWith. 2018-10-30 17:20:50 -07:00
strings_test.cpp libbase: support char parameter in StartsWith/EndsWith. 2018-10-30 17:20:50 -07:00
test_main.cpp
test_utils.cpp base: move TemporaryFile and TemporaryDir to android-base/file.h 2018-11-13 12:44:21 -08:00
test_utils_test.cpp Add Start/Stop/Reset to CapturedStdFd. 2018-09-04 14:29:23 -07:00
threads.cpp Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
utf8.cpp
utf8_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00