Searched refs:StringSplit (Results 1 – 6 of 6) sorted by relevance
/system/bt/gd/common/ |
D | strings_test.cc | 34 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 …]
|
D | init_flags.cc | 49 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()
|
D | strings.h | 86 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t…
|
D | strings.cc | 83 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() function
|
/system/bt/gd/storage/ |
D | legacy_config_file.cc | 60 auto tokens = common::StringSplit(line, "=", 2); in Read()
|
D | config_cache_helper.h | 126 auto values = common::StringSplit(*value, " "); in Get()
|