Home
last modified time | relevance | path

Searched refs:kv_pairs (Results 1 – 4 of 4) sorted by relevance

/external/chromium/base/
Dstring_split_unittest.cc88 std::vector<std::pair<std::string, std::string> > kv_pairs; member in base::SplitStringIntoKeyValuePairsTest
95 &kv_pairs)); in TEST_F()
96 EXPECT_TRUE(kv_pairs.empty()); in TEST_F()
103 &kv_pairs)); in TEST_F()
104 ASSERT_EQ(2U, kv_pairs.size()); in TEST_F()
105 EXPECT_EQ("key1", kv_pairs[0].first); in TEST_F()
106 EXPECT_EQ("value1", kv_pairs[0].second); in TEST_F()
107 EXPECT_EQ("key3", kv_pairs[1].first); in TEST_F()
108 EXPECT_EQ("value3", kv_pairs[1].second); in TEST_F()
115 &kv_pairs)); in TEST_F()
[all …]
Dvlog.cc59 std::vector<KVPair> kv_pairs; in VlogInfo() local
61 vmodule_switch, '=', ',', &kv_pairs)) { in VlogInfo()
65 for (std::vector<KVPair>::const_iterator it = kv_pairs.begin(); in VlogInfo()
66 it != kv_pairs.end(); ++it) { in VlogInfo()
Dstring_split.cc97 std::vector<std::pair<std::string, std::string> >* kv_pairs) { in SplitStringIntoKeyValuePairs()
98 kv_pairs->clear(); in SplitStringIntoKeyValuePairs()
120 kv_pairs->push_back(make_pair(key, value.empty()? "" : value[0])); in SplitStringIntoKeyValuePairs()
Dstring_split.h50 std::vector<std::pair<std::string, std::string> >* kv_pairs);