OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SplitAtFirst
(Results
1 - 10
of
10
) sorted by null
/external/libbrillo/brillo/strings/
string_utils_unittest.cc
74
TEST(StringUtils,
SplitAtFirst
) {
77
pair = string_utils::
SplitAtFirst
(" 123 : 4 : 56 : 789 ", ":", true);
81
pair = string_utils::
SplitAtFirst
(" 123 : 4 : 56 : 789 ", ":", false);
85
pair = string_utils::
SplitAtFirst
("", "=");
89
pair = string_utils::
SplitAtFirst
("=", "=");
93
pair = string_utils::
SplitAtFirst
("a=", "=");
97
pair = string_utils::
SplitAtFirst
("abc=", "=");
101
pair = string_utils::
SplitAtFirst
("=a", "=");
105
pair = string_utils::
SplitAtFirst
("=abc=", "=");
109
pair = string_utils::
SplitAtFirst
("abc", "=")
[
all
...]
string_utils.h
40
BRILLO_EXPORT std::pair<std::string, std::string>
SplitAtFirst
(
46
inline std::pair<std::string, std::string>
SplitAtFirst
(
49
return
SplitAtFirst
(str, delimiter, true);
55
BRILLO_EXPORT bool
SplitAtFirst
(const std::string& str,
61
inline bool
SplitAtFirst
(const std::string& str,
65
return
SplitAtFirst
(str, delimiter, left_part, right_part, true);
string_utils.cc
40
bool
SplitAtFirst
(const std::string& str,
64
std::pair<std::string, std::string>
SplitAtFirst
(const std::string& str,
68
SplitAtFirst
(str, delimiter, &pair.first, &pair.second, trim_whitespaces);
/external/libbrillo/brillo/
mime_utils.cc
84
auto pair = brillo::string_utils::
SplitAtFirst
(parts[i], "=");
96
auto types = brillo::string_utils::
SplitAtFirst
(mime, "/");
121
return brillo::string_utils::
SplitAtFirst
(mime, "/").first;
126
return brillo::string_utils::
SplitAtFirst
(mime, "/").second;
141
return brillo::string_utils::
SplitAtFirst
(mime_string, ";").first;
osrelease_reader.cc
49
content = brillo::string_utils::
SplitAtFirst
(content, "\n", true).first;
key_value_store.cc
59
if (!string_utils::
SplitAtFirst
(line, "=", &key, &value, false))
data_encoding.cc
106
auto pair = brillo::string_utils::
SplitAtFirst
(p, "=");
/external/libbrillo/brillo/http/
http_connection_curl.cc
240
using brillo::string_utils::
SplitAtFirst
;
254
auto pair =
SplitAtFirst
(header, " ");
256
me->status_text_ =
SplitAtFirst
(pair.second, " ").second;
259
auto pair =
SplitAtFirst
(header, ":");
http_utils_unittest.cc
424
auto pair = brillo::string_utils::
SplitAtFirst
(item, ";");
/external/libbrillo/brillo/message_loops/
base_message_loop.cc
291
if (!string_utils::
SplitAtFirst
(line, " ", &number, &name, false))
Completed in 162 milliseconds