Home
last modified time | relevance | path

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

/aosp_15_r20/external/libchrome/base/containers/
H A Dsmall_map_unittest.cc444 class unordered_map_add_item : public std::unordered_map<int, int> { class
446 unordered_map_add_item() = default;
447 explicit unordered_map_add_item(const std::pair<int, int>& item) { in unordered_map_add_item() function in base::__anon0c9d55e30111::unordered_map_add_item
452 void InitMap(unordered_map_add_item* map_ctor) { in InitMap()
453 new (map_ctor) unordered_map_add_item(std::make_pair(0, 0)); in InitMap()
461 void operator()(unordered_map_add_item* map_ctor) const { in operator ()()
462 new (map_ctor) unordered_map_add_item(std::make_pair(item_, item_)); in operator ()()
471 small_map<unordered_map_add_item, 4, std::equal_to<int>, in TEST()
472 void (&)(unordered_map_add_item*)> in TEST()
492 small_map<unordered_map_add_item, 4, std::equal_to<int>, in TEST()
/aosp_15_r20/external/cronet/base/containers/
H A Dsmall_map_unittest.cc444 class unordered_map_add_item : public std::unordered_map<int, int> { class
446 unordered_map_add_item() = default;
447 explicit unordered_map_add_item(const std::pair<int, int>& item) { in unordered_map_add_item() function in base::__anone57de3d90111::unordered_map_add_item
452 void InitMap(unordered_map_add_item* map_ctor) { in InitMap()
453 new (map_ctor) unordered_map_add_item(std::make_pair(0, 0)); in InitMap()
461 void operator()(unordered_map_add_item* map_ctor) const { in operator ()()
462 new (map_ctor) unordered_map_add_item(std::make_pair(item_, item_)); in operator ()()
471 small_map<unordered_map_add_item, 4, std::equal_to<int>, in TEST()
472 void (&)(unordered_map_add_item*)> in TEST()
492 small_map<unordered_map_add_item, 4, std::equal_to<int>, in TEST()