Home
last modified time | relevance | path

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

/system/bt/gd/common/
Dstrings_test.cc34 using bluetooth::common::StringSplit;
90 ASSERT_THAT(StringSplit("", ","), ElementsAre("")); in TEST()
91 ASSERT_THAT(StringSplit("1,2,3", ","), ElementsAre("1", "2", "3")); in TEST()
92 ASSERT_THAT(StringSplit("1,2,3", "!"), ElementsAre("1,2,3")); in TEST()
93 ASSERT_THAT(StringSplit("1,2,3", ",", 2), ElementsAre("1", "2,3")); in TEST()
94 ASSERT_THAT(StringSplit("a,b,", ","), ElementsAre("a", "b", "")); in TEST()
95 ASSERT_THAT(StringSplit("ab,", ",", 2), ElementsAre("ab", "")); in TEST()
96 ASSERT_THAT(StringSplit("ab,,", ",", 2), ElementsAre("ab", ",")); in TEST()
97 ASSERT_THAT(StringSplit("ab,,", ",", 1), ElementsAre("ab,,")); in TEST()
98 ASSERT_THAT(StringSplit("1,,2,,3", ",,"), ElementsAre("1", "2", "3")); in TEST()
[all …]
Dinit_flags.cc49 auto flag_pair = StringSplit(flag_element, "=", 2); in Load()
57 auto tags = StringSplit(flag_pair[1], ","); in Load()
66 auto tags = StringSplit(flag_pair[1], ","); in Load()
Dstrings.h86 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t…
Dstrings.cc83 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() function
/system/bt/gd/storage/
Dlegacy_config_file.cc60 auto tokens = common::StringSplit(line, "=", 2); in Read()
Dconfig_cache_helper.h126 auto values = common::StringSplit(*value, " "); in Get()