Searched refs:delimiters (Results 1 – 6 of 6) sorted by relevance
/system/incremental_delivery/incfs/ |
D | split.h | 33 void Split(std::string_view s, Separator delimiters, Callback&& onSplitCb) { in Split() argument 36 const auto found = s.find_first_of(delimiters, base); in Split() 52 void Split(std::string_view s, Separator delimiters, std::vector<std::string_view>* out) { in Split() argument 54 Split(s, delimiters, [out](std::string_view split) { out->emplace_back(split); }); in Split() 58 std::vector<std::string_view> Split(std::string_view s, Separator delimiters) { in Split() argument 60 Split(s, delimiters, &result); in Split()
|
/system/core/libutils/ |
D | Tokenizer.cpp | 31 static inline bool isDelimiter(char ch, const char* delimiters) { in isDelimiter() argument 32 return strchr(delimiters, ch) != nullptr; in isDelimiter() 126 String8 Tokenizer::nextToken(const char* delimiters) { in nextToken() argument 134 if (ch == '\n' || isDelimiter(ch, delimiters)) { in nextToken() 156 void Tokenizer::skipDelimiters(const char* delimiters) { in skipDelimiters() argument 163 if (ch == '\n' || !isDelimiter(ch, delimiters)) { in skipDelimiters()
|
/system/libbase/ |
D | strings.cpp | 38 const std::string& delimiters) { in Split() argument 39 CHECK_NE(delimiters.size(), 0U); in Split() 46 found = s.find_first_of(delimiters, base); in Split() 55 std::vector<std::string> Tokenize(const std::string& s, const std::string& delimiters) { in Tokenize() argument 56 CHECK_NE(delimiters.size(), 0U); in Tokenize() 62 size_t base = s.find_first_not_of(delimiters, end); in Tokenize() 66 end = s.find_first_of(delimiters, base); in Tokenize()
|
/system/core/libutils/include/utils/ |
D | Tokenizer.h | 104 String8 nextToken(const char* delimiters); 116 void skipDelimiters(const char* delimiters);
|
/system/libbase/include/android-base/ |
D | strings.h | 37 const std::string& delimiters); 51 std::vector<std::string> Tokenize(const std::string& s, const std::string& delimiters);
|
/system/logging/logcat/ |
D | logcat.cpp | 639 static const char delimiters[] = ",:; \t\n\r\f"; in Run() local 729 auto uid_strings = Split(optarg, delimiters); in Run() 827 for (const auto& buffer : Split(optarg, delimiters)) { in Run() 870 for (const auto& arg : Split(optarg, delimiters)) { in Run() 941 for (const auto& arg : Split(logFormat, delimiters)) { in Run()
|