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/tests/test_string.cpp
|
464136e01a1facf09ce3befccbfc04f2d1da8d5b |
|
09-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added insert(iterator, char); method.
/external/astl/tests/test_string.cpp
|
6309a85f3be27b49451e37d0b31446e0cf727f23 |
|
08-Feb-2010 |
Nicolas Catania <niko@google.com> |
Added <,>,<= and >= operators functions for strings.
/external/astl/tests/test_string.cpp
|
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/tests/test_string.cpp
|
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/tests/test_string.cpp
|
6943930994c640cbb24773ddb8df99de8a5d7e16 |
|
02-Feb-2010 |
Nicolas Catania <niko@google.com> |
Implementation of vector::erase. Added std::copy, needed to shift the element down during an erase call. Squashed commit of the following: commit e534509bd709350e585f722e525eb2b63ade5831 Author: Nicolas Catania <niko@google.com> Date: Mon Feb 1 10:38:21 2010 -0800 implementation of std::copy commit f94dad514c54c66da85d9492452610285b5ee446 Author: Nicolas Catania <niko@google.com> Date: Sun Jan 31 14:58:15 2010 -0800 Added support for erase. Erase element and erase range of elements.
/external/astl/tests/test_string.cpp
|
74a6fdea77d52a17be4bc38831fe02a31cefbf34 |
|
29-Jan-2010 |
Nicolas Catania <niko@google.com> |
Added the 'at' method to string.
/external/astl/tests/test_string.cpp
|
91ea6c037471a1acd97b03c3097223777906f748 |
|
14-Jan-2010 |
Nicolas Catania <niko@google.com> |
Basic implementation of iterators. Added basic iterator support for strings.
/external/astl/tests/test_string.cpp
|
2a4077a9186d6f6dff104bbd1a73484aae6d5c01 |
|
23-May-2009 |
Nicolas Catania <niko@google.com> |
Basic implementation of vector. Uses malloc/realloc for pod type. For classes uses placement new to insert new copies of the data. In the test package, renamed macros.h to common.h New memory file with uninitialized_copy and uninitialized_fill. Disabled the host target since it is used only on linux to run the valgrind tool and that I don't want to spend time making it compile on mac, cygwin ....
/external/astl/tests/test_string.cpp
|
8b5f35d0aa39e39119dc1e3e2fc4d283995faa2a |
|
12-Jun-2009 |
Nicolas Catania <niko@google.com> |
Revert "Basic implementation of vector." This reverts commit fd56a38d5dcb569b146634bb22c5d9cb1e138e3f.
/external/astl/tests/test_string.cpp
|
fd56a38d5dcb569b146634bb22c5d9cb1e138e3f |
|
23-May-2009 |
Nicolas Catania <niko@google.com> |
Basic implementation of vector. Uses malloc/realloc for pod type. For classes uses placement new to insert new copies of the data. In the test package, renamed macros.h to common.h New memory file with uninitialized_copy and uninitialized_fill.
/external/astl/tests/test_string.cpp
|
60fd0f758a63e74980d712a13c91bc24d98cedc6 |
|
23-May-2009 |
Nicolas Catania <niko@google.com> |
Implementation of string::erase
/external/astl/tests/test_string.cpp
|
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/tests/test_string.cpp
|
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/tests/test_string.cpp
|
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/tests/test_string.cpp
|