History log of /external/qemu/android/base/containers/PodVector.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e87cd78d4634396f2734c381f5ac77fd70e8858e 26-Feb-2014 David 'Digit' Turner <digit@google.com> Fix Darwin build.

OS X doesn't provide malloc_usable_size() but malloc_size() instead.
Also include <malloc/malloc.h> instead of <malloc.h> on this platform.

+ Factor the detection/declaration of USE_MALLOC_USABLE_SIZE in
a header to avoid repetitions.

Change-Id: Id9a391f07b14a2459a3fe510c89ad52ba4d3a3fd
/external/qemu/android/base/containers/PodVector.cpp
d3f2c27ff9f611e5047a35cb20ed53f548214fed 19-Feb-2014 David 'Digit' Turner <digit@google.com> New C++ helper classes.

This adds a few useful C++ helper classes to android/base/
that will be used in the future by other patches.

+ Add android/base/String.h, a slightly more efficient version
of std::string.

+ Add android/base/containers/StringVector.h, an optimized
vector of strings that is much more efficient than
std::vector<std::string> and should use less memory.

+ Add android/base/containers/PodVector.h which defines
an efficient std::vector<> equivalent for POD-struct
compatible types.

+ Modify PathUtils.h to use StringVector instead of
std::vector<std::string>.

+ Modify android/utils/file_data.c to get rid of valgrind
complaints when running the unit test suite.

+ Add android/base/Limits.h to get reliable integer
limit macros in C++.

Change-Id: Id9374aec658383c29be70a798ba17867664f69d3
/external/qemu/android/base/containers/PodVector.cpp