Home
last modified time | relevance | path

Searched refs:string_utils (Results 1 – 25 of 43) sorted by relevance

12

/external/libbrillo/brillo/strings/
Dstring_utils_unittest.cc19 parts = string_utils::Split("", ",", false, false); in TEST()
22 parts = string_utils::Split("abc", ",", false, false); in TEST()
26 parts = string_utils::Split(",a,bc , d, ,e, ", ",", true, true); in TEST()
33 parts = string_utils::Split(",a,bc , d, ,e, ", ",", false, true); in TEST()
42 parts = string_utils::Split(",a,bc , d, ,e, ", ",", true, false); in TEST()
52 parts = string_utils::Split(",a,bc , d, ,e, ", ",", false, false); in TEST()
62 parts = string_utils::Split("abc:=xyz", ":=", false, false); in TEST()
67 parts = string_utils::Split("abc", "", false, false); in TEST()
77 pair = string_utils::SplitAtFirst(" 123 : 4 : 56 : 789 ", ":", true); in TEST()
81 pair = string_utils::SplitAtFirst(" 123 : 4 : 56 : 789 ", ":", false); in TEST()
[all …]
Dstring_utils.cc15 namespace string_utils { namespace
Dstring_utils.h15 namespace string_utils {
/external/autotest/client/common_lib/cros/
Dstring_utils_unittest.py16 from autotest_lib.client.common_lib.cros import string_utils
27 result = list(string_utils.join_longest_with_length_limit(
35 result = list(string_utils.join_longest_with_length_limit(
42 with self.assertRaises(string_utils.StringTooLongError):
43 list(string_utils.join_longest_with_length_limit(strings, 6))
47 result = list(string_utils.join_longest_with_length_limit(
55 result = list(string_utils.join_longest_with_length_limit(
Dgs_cache_client.py32 from autotest_lib.client.common_lib.cros import string_utils
181 for part_of_files in string_utils.join_longest_with_length_limit(
/external/libbrillo/brillo/
Dmime_utils.cc73 brillo::string_utils::Split(mime_string, ";"); in Split()
84 auto pair = brillo::string_utils::SplitAtFirst(parts[i], "="); in Split()
96 auto types = brillo::string_utils::SplitAtFirst(mime, "/"); in Split()
111 parts.push_back(brillo::string_utils::Join("/", type, subtype)); in Combine()
114 brillo::string_utils::Join("=", pair.first, EncodeParam(pair.second))); in Combine()
116 return brillo::string_utils::Join("; ", parts); in Combine()
121 return brillo::string_utils::SplitAtFirst(mime, "/").first; in GetType()
126 return brillo::string_utils::SplitAtFirst(mime, "/").second; in GetSubtype()
141 return brillo::string_utils::SplitAtFirst(mime_string, ";").first; in RemoveParameters()
149 mime += brillo::string_utils::Join("=", paramName, EncodeParam(paramValue)); in AppendParameter()
Ddata_encoding.cc96 pairs.push_back(brillo::string_utils::Join("=", key, value)); in WebParamsEncode()
99 return brillo::string_utils::Join("&", pairs); in WebParamsEncode()
104 std::vector<std::string> params = brillo::string_utils::Split(data, "&"); in WebParamsDecode()
106 auto pair = brillo::string_utils::SplitAtFirst(p, "="); in WebParamsDecode()
Dosrelease_reader.cc49 content = brillo::string_utils::SplitAtFirst(content, "\n", true).first; in Load()
Dkey_value_store.cc59 if (!string_utils::SplitAtFirst(line, "=", &key, &value, false)) in LoadFromString()
/external/libbrillo/brillo/http/
Dhttp_request.cc254 range = brillo::string_utils::ToString(p.first); in SendRequestIfNeeded()
258 range += brillo::string_utils::ToString(p.second); in SendRequestIfNeeded()
267 "bytes=" + brillo::string_utils::Join(",", ranges)); in SendRequestIfNeeded()
Dhttp_connection_curl.cc128 brillo::string_utils::Join(": ", pair.first, pair.second); in PrepareRequest()
240 using brillo::string_utils::SplitAtFirst; in header_callback()
Dhttp_connection_curl_unittest.cc88 header_lines.push_back(string_utils::Join(": ", pair.first, pair.second) + in DoPerform()
125 test_headers.insert(string_utils::Join(": ", pair.first, pair.second));
Dhttp_connection_fake.cc42 using brillo::string_utils::ToString; in FinishRequest()
Dhttp_transport_curl.cc282 brillo::string_utils::ToString(code), in AddEasyCurlError()
291 brillo::string_utils::ToString(code), in AddMultiCurlError()
/external/google-breakpad/src/common/windows/
Dcommon_windows.gyp85 'string_utils.cc',
86 'string_utils-inl.h',
/external/perfetto/
DBUILD49 "src/base/string_utils.cc",
83 "include/perfetto/base/string_utils.h",
139 "src/base/string_utils.cc",
282 "include/perfetto/base/string_utils.h",
357 "include/perfetto/base/string_utils.h",
392 "src/base/string_utils.cc",
565 "include/perfetto/base/string_utils.h",
600 "src/base/string_utils.cc",
/external/perfetto/include/perfetto/base/
DBUILD.gn36 "string_utils.h",
/external/libbrillo/brillo/dbus/
Dutils.cc55 std::vector<std::string> parts = string_utils::Split(dbus_error_message, ";"); in AddDBusError()
/external/google-breakpad/src/common/
Dcommon.gyp183 'windows/string_utils-inl.h',
184 'windows/string_utils.cc',
/external/perf_data_converter/src/quipper/
Dquipper.gyp42 'string_utils.cc',
DAndroid.bp65 "string_utils.cc",
DMakefile.external34 sample_info_reader.cc scoped_temp_path.cc string_utils.cc \
/external/google-breakpad/src/client/windows/
Dbreakpad_client.gyp62 '<(DEPTH)/common/windows/string_utils.cc',
/external/perf_data_converter/src/
DMakefile59 sample_info_reader.cc scoped_temp_path.cc string_utils.cc \
/external/perfetto/src/base/
DBUILD.gn31 "string_utils.cc",

12