History log of /system/core/base/strings.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f71319df011d796a60a43fc1bc68e16fbf7d321 05-Dec-2015 Elliott Hughes <enh@google.com> Track rename of base/ to android-base/.

Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
/system/core/base/strings.cpp
5345f1df0d83ec08cf156584d32d425ee9f941e5 31-Oct-2015 Casey Dahlin <sadmac@google.com> Make Join support string delimiters

We've needed this several times in the past.

Change-Id: I7324e8083fe2ff1aa0bf392a8c124fc2f3bb26e2
Test: Full android build
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/core/base/strings.cpp
e0da8a1d377c22d1956376302294ee988b44fd47 22-May-2015 Dan Albert <danalbert@google.com> Generalize Join to work for any container/element.

This is more scalable than explicitly instantiating templates for the
cross product of containers and element types.

Specifically I'm adding this so I can join an unordered_set in adb.

Change-Id: I0055f3390a0ff26a886a0d41bbf0d4fe3d210f9c
/system/core/base/strings.cpp
8d5fa6da44d56511b3e173bc463cbc65ff221b4a 25-Apr-2015 Elliott Hughes <enh@google.com> Remove strtok from adb.

Also fix android::base::Split to behave like Java, Python, and google3.

Change-Id: Ifbffd4e92950a79e7aea5d153c95fe0980648417
/system/core/base/strings.cpp
4b3f533be9a29bc44fae6a94cdbbdc8eb1adaa3c 27-Mar-2015 Dan Albert <danalbert@google.com> Include what we use.

Change-Id: If510431d3d445de94f781b4fdec2e1b445f7c294
/system/core/base/strings.cpp
47328c96d91ca71b57b8976df2df1fe51579a955 19-Mar-2015 Dan Albert <danalbert@google.com> Update string Split API.

Return a new vector rather than appending to the parameter.

Delimiters are also a string rather than a character. Split on any
character in the string.

Change-Id: I039b332ace5578590df9e7ca0e8fa3db28db30a3
/system/core/base/strings.cpp
0f1e54491ceace259d156313e583aeffbcd9b444 14-Mar-2015 Dan Albert <danalbert@google.com> Add common string utilities to libbase.

These are useful outside of ART. Nothing changed (aside from fixing
Trim to not segfault on empty strings), so ART should be able to move
to using these.

Change-Id: Id026ebffe8d31f784a91834786ab189680b13a0f
/system/core/base/strings.cpp