Lines Matching refs:std

30   void MakeEmpty(std::string& item) const {  in MakeEmpty()
33 bool IsEmpty(const std::string& item) const { in IsEmpty()
42 std::string RandomString(size_t len) { in RandomString()
43 std::ostringstream oss; in RandomString()
65 HashSet<std::string, IsEmptyFnString> hash_set; in TEST_F()
66 const std::string test_string = "hello world 1234"; in TEST_F()
81 HashSet<std::string, IsEmptyFnString> hash_set; in TEST_F()
83 std::vector<std::string> strings; in TEST_F()
113 HashSet<std::string, IsEmptyFnString> hash_set; in TEST_F()
116 std::vector<std::string> strings; in TEST_F()
123 std::map<std::string, size_t> found_count; in TEST_F()
124 for (const std::string& s : hash_set) { in TEST_F()
143 HashSet<std::string, IsEmptyFnString> hash_seta, hash_setb; in TEST_F()
144 std::vector<std::string> strings; in TEST_F()
150 std::swap(hash_seta, hash_setb); in TEST_F()
160 HashSet<std::string, IsEmptyFnString> hash_set; in TEST_F()
161 std::unordered_multiset<std::string> std_set; in TEST_F()
162 std::vector<std::string> strings; in TEST_F()
174 size_t delta = std::abs(static_cast<ssize_t>(target_size) - in TEST_F()
184 const std::string& s = strings[PRand() % string_count]; in TEST_F()
189 const std::string& s = strings[PRand() % string_count]; in TEST_F()
203 void MakeEmpty(std::pair<std::string, int>& pair) const { in MakeEmpty()
206 bool IsEmpty(const std::pair<std::string, int>& pair) const { in IsEmpty()
212 HashMap<std::string, int, IsEmptyStringPair> hash_map; in TEST_F()
213 hash_map.Insert(std::make_pair(std::string("abcd"), 123)); in TEST_F()
214 hash_map.Insert(std::make_pair(std::string("abcd"), 124)); in TEST_F()
215 hash_map.Insert(std::make_pair(std::string("bags"), 444)); in TEST_F()
216 auto it = hash_map.Find(std::string("abcd")); in TEST_F()
219 it = hash_map.Find(std::string("abcd")); in TEST_F()