Home
last modified time | relevance | path

Searched refs:delimiters (Results 1 – 6 of 6) sorted by relevance

/system/incremental_delivery/incfs/
Dsplit.h33 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/
DTokenizer.cpp30 static inline bool isDelimiter(char ch, const char* delimiters) { in isDelimiter() argument
31 return strchr(delimiters, ch) != nullptr; in isDelimiter()
125 String8 Tokenizer::nextToken(const char* delimiters) { in nextToken() argument
133 if (ch == '\n' || isDelimiter(ch, delimiters)) { in nextToken()
155 void Tokenizer::skipDelimiters(const char* delimiters) { in skipDelimiters() argument
162 if (ch == '\n' || !isDelimiter(ch, delimiters)) { in skipDelimiters()
/system/core/libutils/include/utils/
DTokenizer.h104 String8 nextToken(const char* delimiters);
116 void skipDelimiters(const char* delimiters);
/system/libbase/
Dstrings.cpp32 const std::string& delimiters) { in Split() argument
33 CHECK_NE(delimiters.size(), 0U); in Split()
40 found = s.find_first_of(delimiters, base); in Split()
/system/libbase/include/android-base/
Dstrings.h33 const std::string& delimiters);
/system/core/logcat/
Dlogcat.cpp552 static const char delimiters[] = ",:; \t\n\r\f"; in Run() local
643 auto uid_strings = Split(optarg, delimiters); in Run()
737 for (const auto& buffer : Split(optarg, delimiters)) { in Run()
785 for (const auto& arg : Split(optarg, delimiters)) { in Run()
943 for (const auto& arg : Split(logFormat, delimiters)) { in Run()