Home
last modified time | relevance | path

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

/external/abseil-cpp/absl/container/
Dflat_hash_map_test.cc111 struct LazyInt { struct
112 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument
131 size_t operator()(const LazyInt& obj) const { in operator ()()
142 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
155 m[LazyInt(1, &conversions)] = 1; in TEST()
162 m[LazyInt(1, &conversions)] = 2; in TEST()
169 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
176 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/
Dflat_hash_map_test.cc111 struct LazyInt { struct
112 explicit LazyInt(size_t value, int* tracker) in LazyInt() function
131 size_t operator()(const LazyInt& obj) const { in operator ()()
142 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
155 m[LazyInt(1, &conversions)] = 1; in TEST()
162 m[LazyInt(1, &conversions)] = 2; in TEST()
169 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
176 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dflat_hash_map_test.cc125 struct LazyInt { struct
126 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument
145 size_t operator()(const LazyInt& obj) const { in operator ()()
156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
169 m[LazyInt(1, &conversions)] = 1; in TEST()
176 m[LazyInt(1, &conversions)] = 2; in TEST()
183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/
Dflat_hash_map_test.cc125 struct LazyInt { struct
126 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument
145 size_t operator()(const LazyInt& obj) const { in operator ()()
156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
169 m[LazyInt(1, &conversions)] = 1; in TEST()
176 m[LazyInt(1, &conversions)] = 2; in TEST()
183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/
Dflat_hash_map_test.cc125 struct LazyInt { struct
126 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument
145 size_t operator()(const LazyInt& obj) const { in operator ()()
156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
169 m[LazyInt(1, &conversions)] = 1; in TEST()
176 m[LazyInt(1, &conversions)] = 2; in TEST()
183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/
Dflat_hash_map_test.cc125 struct LazyInt { struct
126 explicit LazyInt(size_t value, int* tracker) in LazyInt() argument
145 size_t operator()(const LazyInt& obj) const { in operator ()()
156 bool operator()(size_t lhs, const LazyInt& rhs) const { in operator ()()
169 m[LazyInt(1, &conversions)] = 1; in TEST()
176 m[LazyInt(1, &conversions)] = 2; in TEST()
183 m.try_emplace(LazyInt(2, &conversions), 3); in TEST()
190 m.try_emplace(LazyInt(2, &conversions), 4); in TEST()