Home
last modified time | relevance | path

Searched refs:SplitString (Results 1 – 25 of 79) sorted by relevance

1234

/external/perfetto/src/base/
Dstring_utils_unittest.cc50 TEST(StringUtilsTest, SplitString) { in TEST() argument
51 EXPECT_THAT(SplitString("", ":"), ElementsAre("")); in TEST()
52 EXPECT_THAT(SplitString("a:b:c", ":"), ElementsAre("a", "b", "c")); in TEST()
53 EXPECT_THAT(SplitString("a::b::c", "::"), ElementsAre("a", "b", "c")); in TEST()
54 EXPECT_THAT(SplitString("abc", ":"), ElementsAre("abc")); in TEST()
55 EXPECT_THAT(SplitString("abc", "::"), ElementsAre("abc")); in TEST()
56 EXPECT_THAT(SplitString("abc", ":"), ElementsAre("abc")); in TEST()
57 EXPECT_THAT(SplitString("abc", "::"), ElementsAre("abc")); in TEST()
Dstring_utils.cc52 std::vector<std::string> SplitString(const std::string& text, in SplitString() function
/external/libchrome/base/strings/
Dstring_split_unittest.cc162 r = SplitString(std::string(), ",:;", KEEP_WHITESPACE, SPLIT_WANT_ALL); in TEST()
166 r = SplitString("hello, world", "", KEEP_WHITESPACE, SPLIT_WANT_ALL); in TEST()
171 r = SplitString("::,,;;", ",:;", KEEP_WHITESPACE, SPLIT_WANT_ALL); in TEST()
176 r = SplitString("red, green; blue:", ",:;", TRIM_WHITESPACE, in TEST()
184 r = SplitString(" red green \tblue\n", " \t\n", TRIM_WHITESPACE, in TEST()
192 r = SplitString(" red ", " ", TRIM_WHITESPACE, SPLIT_WANT_ALL); in TEST()
203 r = SplitString(std::string(), ",", KEEP_WHITESPACE, SPLIT_WANT_ALL); in TEST()
205 r = SplitString(std::string(), ",", KEEP_WHITESPACE, SPLIT_WANT_NONEMPTY); in TEST()
209 r = SplitString(" ", ",", TRIM_WHITESPACE, SPLIT_WANT_ALL); in TEST()
212 r = SplitString(" ", ",", TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY); in TEST()
[all …]
Dstring_split.h46 BASE_EXPORT std::vector<std::string> SplitString(
51 BASE_EXPORT std::vector<string16> SplitString(
Dstring_split.cc160 std::vector<std::string> SplitString(StringPiece input, in SplitString() function
172 std::vector<string16> SplitString(StringPiece16 input, in SplitString() function
/external/perf_data_converter/src/quipper/
Dperf_stat_parser.cc30 SplitString(data, '\n', &lines); in ParsePerfStatOutputToProto()
39 SplitString(lines[i], ' ', &tokens); in ParsePerfStatOutputToProto()
Dtest_utils.cc23 using quipper::SplitString;
58 SplitString(string(&bytes[0], bytes.size()), kNewLineDelimiter, lines); in SeparateLines()
Dstring_utils.h18 void SplitString(const string& str, char delimiter,
Dstring_utils.cc23 void SplitString(const string& str, char delimiter, in SplitString() function
/external/perfetto/src/trace_processor/metrics/
Dmetrics.cc44 for (const auto& query : base::SplitString(sql, ";\n\n")) { in RunMetric()
69 auto queries = base::SplitString(sql_metrics::kAndroidMem, ";\n\n"); in ComputeMetrics()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.cpp115 static void SplitString(std::vector<std::string>& out_segments, const std::string& input, char spli… in SplitString() function
138 SplitString(pathSegments, path, '/'); in CreateDirectoryPath()
/external/autotest/client/deps/glbench/src/
Dmain.cc142 vector<string> enabled_tests = SplitString(FLAGS_tests, ":", true); in main()
143 vector<string> disabled_tests = SplitString(FLAGS_blacklist, ":", true); in main()
/external/libchrome/base/process/
Dinternal_linux.cc106 std::vector<std::string> other_stats = SplitString( in ParseProcStats()
201 std::vector<std::string> cpu = SplitString( in GetUserCpuTimeSinceBoot()
Dprocess_iterator_linux.cc54 *proc_cmd_line_args = SplitString(cmd_line, delimiters, KEEP_WHITESPACE, in GetProcCmdline()
/external/perfetto/include/perfetto/base/
Dstring_utils.h31 std::vector<std::string> SplitString(const std::string& text,
/external/tensorflow/tensorflow/lite/testing/
Dsplit_test.cc39 TEST(SplitTest, SplitString) { in TEST() argument
/external/llvm/lib/Support/
DStringExtras.cpp50 void llvm::SplitString(StringRef Source, in SplitString() function in llvm
DProcess.cpp40 SplitString(OptPath.getValue(), Dirs, EnvPathSeparatorStr); in FindInEnvPath()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringExtras.cpp50 void llvm::SplitString(StringRef Source, in SplitString() function in llvm
DProcess.cpp40 SplitString(OptPath.getValue(), Dirs, EnvPathSeparatorStr); in FindInEnvPath()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DProcess.cpp46 SplitString(OptPath.getValue(), Dirs, EnvPathSeparatorStr); in FindInEnvPath()
DStringExtras.cpp51 void llvm::SplitString(StringRef Source, in SplitString() function in llvm
/external/swiftshader/third_party/LLVM/lib/Support/
DStringExtras.cpp51 void llvm::SplitString(StringRef Source, in SplitString() function in llvm
/external/libbrillo/brillo/
Dkey_value_store.cc49 vector<string> lines = base::SplitString(data, "\n", base::KEEP_WHITESPACE, in LoadFromString()
/external/libchrome/base/debug/
Dproc_maps_linux.cc101 std::vector<std::string> lines = SplitString( in ParseProcMaps()

1234