Searched refs:ConstructorCounted (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/ |
D | btree_test.cc | 2427 struct ConstructorCounted { struct 2428 explicit ConstructorCounted(int i) : i(i) { ++constructor_calls; } in ConstructorCounted() function 2434 int ConstructorCounted::constructor_calls = 0; 2437 bool operator()(int a, const ConstructorCounted &b) const { return a < b.i; } in operator ()() 2438 bool operator()(const ConstructorCounted &a, int b) const { return a.i < b; } in operator ()() 2439 bool operator()(const ConstructorCounted &a, in operator ()() 2440 const ConstructorCounted &b) const { in operator ()() 2449 ConstructorCounted::constructor_calls = 0; in TEST() 2451 absl::btree_set<ConstructorCounted, ConstructorCountedCompare> set{ in TEST() 2454 EXPECT_EQ(ConstructorCounted::constructor_calls, 2); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | btree_test.cc | 2427 struct ConstructorCounted { struct 2428 explicit ConstructorCounted(int i) : i(i) { ++constructor_calls; } in ConstructorCounted() argument 2434 int ConstructorCounted::constructor_calls = 0; 2437 bool operator()(int a, const ConstructorCounted &b) const { return a < b.i; } in operator ()() 2438 bool operator()(const ConstructorCounted &a, int b) const { return a.i < b; } in operator ()() 2439 bool operator()(const ConstructorCounted &a, in operator ()() 2440 const ConstructorCounted &b) const { in operator ()() 2449 ConstructorCounted::constructor_calls = 0; in TEST() 2451 absl::btree_set<ConstructorCounted, ConstructorCountedCompare> set{ in TEST() 2454 EXPECT_EQ(ConstructorCounted::constructor_calls, 2); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/container/ |
D | btree_test.cc | 2561 struct ConstructorCounted { struct 2562 explicit ConstructorCounted(int i) : i(i) { ++constructor_calls; } in ConstructorCounted() argument 2568 int ConstructorCounted::constructor_calls = 0; 2571 bool operator()(int a, const ConstructorCounted &b) const { return a < b.i; } in operator ()() 2572 bool operator()(const ConstructorCounted &a, int b) const { return a.i < b; } in operator ()() 2573 bool operator()(const ConstructorCounted &a, in operator ()() 2574 const ConstructorCounted &b) const { in operator ()() 2583 ConstructorCounted::constructor_calls = 0; in TEST() 2585 absl::btree_set<ConstructorCounted, ConstructorCountedCompare> set{ in TEST() 2588 EXPECT_EQ(ConstructorCounted::constructor_calls, 2); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/container/ |
D | btree_test.cc | 2522 struct ConstructorCounted { struct 2523 explicit ConstructorCounted(int i) : i(i) { ++constructor_calls; } in ConstructorCounted() argument 2529 int ConstructorCounted::constructor_calls = 0; 2532 bool operator()(int a, const ConstructorCounted &b) const { return a < b.i; } in operator ()() 2533 bool operator()(const ConstructorCounted &a, int b) const { return a.i < b; } in operator ()() 2534 bool operator()(const ConstructorCounted &a, in operator ()() 2535 const ConstructorCounted &b) const { in operator ()() 2544 ConstructorCounted::constructor_calls = 0; in TEST() 2546 absl::btree_set<ConstructorCounted, ConstructorCountedCompare> set{ in TEST() 2549 EXPECT_EQ(ConstructorCounted::constructor_calls, 2); in TEST() [all …]
|