Home
last modified time | relevance | path

Searched refs:string_utils (Results 1 – 25 of 26) 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/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/google-breakpad/src/common/windows/
Dcommon_windows.gyp85 'string_utils.cc',
86 'string_utils-inl.h',
/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_fake.cc42 using brillo::string_utils::ToString; in FinishRequest()
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_transport_curl.cc272 brillo::string_utils::ToString(code), in AddEasyCurlError()
281 brillo::string_utils::ToString(code), in AddMultiCurlError()
Dhttp_utils_unittest.cc424 auto pair = brillo::string_utils::SplitAtFirst(item, ";"); in TEST()
435 EXPECT_EQ(pair.first, brillo::string_utils::ToString(code)); in TEST()
Dhttp_transport_fake.cc244 brillo::string_utils::ToString(data_size)}, in Reply()
/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/google-breakpad/src/client/windows/
Dbreakpad_client.gyp62 '<(DEPTH)/common/windows/string_utils.cc',
/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc290 if (!string_utils::SplitAtFirst(line, " ", &number, &name, false)) in ParseBinderMinor()
/external/libbrillo/
DAndroid.bp34 "brillo/strings/string_utils.cc",
Dlibbrillo.gypi87 'brillo/strings/string_utils.cc',
/external/libbrillo/brillo/streams/
Dtls_stream.cc50 VLOG(3) << "TLS progress info: " << brillo::string_utils::Join(",", info) in TlsInfoCallback()
/external/google-breakpad/
DMakefile.am1312 src/common/windows/string_utils-inl.h \
1313 src/common/windows/string_utils.cc \
DMakefile.in3048 src/common/windows/string_utils-inl.h \
3049 src/common/windows/string_utils.cc \
/external/google-breakpad/src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/
Dtest_app.sym64 FILE 63 c:\breakpad\trunk\src\common\windows\string_utils-inl.h
128 FILE 127 c:\breakpad\trunk\src\common\windows\string_utils-inl.h

12