Searched refs:separator (Results 1 - 2 of 2) sorted by relevance

/art/runtime/
H A Dutils.cc760 bool IsValidClassName(const char* s, ClassNameType type, char separator) { argument
817 bool sepOrFirst = true; // first character or just encountered a separator.
840 if (c != separator) {
841 // The wrong separator character.
873 void Split(const std::string& s, char separator, std::vector<std::string>& result) { argument
877 if (*p == separator) {
881 while (++p != end && *p != separator) {
882 // Skip to the next occurrence of the separator.
890 std::string Join(std::vector<StringT>& strings, char separator) { argument
897 result += separator;
[all...]
H A Dutils.h312 // Splits a string using the given separator character into a vector of
314 void Split(const std::string& s, char separator, std::vector<std::string>& result);
316 // Joins a vector of strings into a single string, using the given separator.
317 template <typename StringT> std::string Join(std::vector<StringT>& strings, char separator);

Completed in 1977 milliseconds