0cc3ee31c3cddd2bb5322398d17c388975e96d64 |
|
09-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added string::append method that takes iterators as args. Provided 2 specialization when the iterators comes from another string (e.g begin(), end(), some search results...) There is a test showing how iterators on a list of char can be used to insert the list's content to a string.
/external/astl/include/string
|
464136e01a1facf09ce3befccbfc04f2d1da8d5b |
|
09-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added insert(iterator, char); method.
/external/astl/include/string
|
6309a85f3be27b49451e37d0b31446e0cf727f23 |
|
08-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added <,>,<= and >= operators functions for strings.
/external/astl/include/string
|
cb8eb8e1390d1343563a55c117b5c39cfa87fe1d |
|
08-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added the methods to find a char in a string: find_first_of, find_first_not_of find_last_of, find_last_not_of. Added rfind and find for char (equivalent to find_last_of and find_first_of when a char is used instead of a set of char (string)).
/external/astl/include/string
|
40d9e34c926f59cae26c4bae4ab55377cf3cdd40 |
|
08-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added string::substr support. Fixed a bug in the copy constructor. If pos is valid but the number of char greater than the on available, we need to cap it to the max number of chars available.
/external/astl/include/string
|
44d38f3d1ae0fd02030e259c4f93a265f91e96fc |
|
04-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added support to output int, void* and std::string.
/external/astl/include/string
|
74a6fdea77d52a17be4bc38831fe02a31cefbf34 |
|
29-Jan-2010 |
Nicolas Catania <niko@google.com> |
Added the 'at' method to string.
/external/astl/include/string
|
743c6a2694bf16bf29d516c906363199a7bccf86 |
|
29-Jan-2010 |
Nicolas Catania <niko@google.com> |
Changed char_traits to be a template. Some libraries expect it to be so. Left the base definition empty to generate an error when something other than char is used.
/external/astl/include/string
|
f31fdb2e57186a552855e27f55036369ec1c279a |
|
27-Jan-2010 |
Nicolas Catania <niko@google.com> |
Add char_traits support (needed for sstream).
/external/astl/include/string
|
91ea6c037471a1acd97b03c3097223777906f748 |
|
14-Jan-2010 |
Nicolas Catania <niko@google.com> |
Basic implementation of iterators. Added basic iterator support for strings.
/external/astl/include/string
|
d881e3f36a074eb9fd8e353fb5e5e3e539f2d460 |
|
12-Jun-2009 |
Nicolas Catania <niko@google.com> |
Trivial: renamed the parameters to be inline with the standard. idx -> pos num -> n len -> n
/external/astl/include/string
|
60fd0f758a63e74980d712a13c91bc24d98cedc6 |
|
23-May-2009 |
Nicolas Catania <niko@google.com> |
Implementation of string::erase
/external/astl/include/string
|
7618d7b9a011b1158ef868d6ae3ead242ddaccac |
|
18-May-2009 |
Nicolas Catania <niko@google.com> |
Use realloc to implement the reserve call. Minor cleanup of the type used to identify size type and the basic char type used: - size_t is now string::size_type - char is now string::value_type
/external/astl/include/string
|
d738d268c8f915bde451bba52e0c3996113ba9f0 |
|
11-May-2009 |
Nicolas Catania <niko@google.com> |
Added find method to the string class. Implemented find method including tests. Cleaned up the Android.mk file to remove the host target per discussion with dbort. The simulator target should be used to run host tests under valgrind.
/external/astl/include/string
|
fe47ae56a8808c836923466e44704db3a8371593 |
|
17-Apr-2009 |
Niko Catania <niko@google.com> |
Added 2 new files: algorithm and string. Added tests but will submit change to runtest_py separately. Added more description to the README file. Check for unsigned overflows. Added Android.mk in the top dir. Removed the reserve() method and made the size default to 0 in reserve(size_t)
/external/astl/include/string
|