Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/containers/
Dstring_pool_unittest.cc161 std::array<std::unique_ptr<char[]>, kStringSizes.size()> big_strings; in TEST_F() local
162 for (size_t i = 0; i < big_strings.size(); i++) { in TEST_F()
163 big_strings[i].reset(new char[kStringSizes[i] + 1]); in TEST_F()
165 big_strings[i].get()[j] = 'A' + static_cast<char>((j + i) % 26); in TEST_F()
167 big_strings[i].get()[kStringSizes[i]] = '\0'; in TEST_F()
171 for (size_t i = 0; i < big_strings.size(); i++) { in TEST_F()
173 base::StringView(big_strings[i].get(), kStringSizes[i])); in TEST_F()
176 big_strings[i].get(), kStringSizes[i]))); in TEST_F()
195 for (size_t i = 0; i < big_strings.size(); i++) { in TEST_F()
196 ASSERT_EQ(big_strings[i].get(), pool_.Get(string_ids[i])); in TEST_F()