Searched refs:num_allocs (Results 1 – 6 of 6) sorted by relevance
/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_allocator_test.cc | 34 size_t num_allocs = 0; member 93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anona3df59eb0111::CheckedAlloc 110 ++state->num_allocs; in track_alloc() 194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F() 198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F() 228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F() 236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_allocator_test.cc | 34 size_t num_allocs = 0; member 93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anonf72afd200111::CheckedAlloc 110 ++state->num_allocs; in track_alloc() 194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F() 198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() 219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F() 228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F() 236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F() [all …]
|
/third_party/grpc/test/core/iomgr/ |
D | resource_quota_test.cc | 696 int num_allocs = 0; in test_one_slice() local 697 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice() 703 const int start_allocs = num_allocs; in test_one_slice() 707 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice() 728 int num_allocs = 0; in test_one_slice_deleted_late() local 729 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice_deleted_late() 735 const int start_allocs = num_allocs; in test_one_slice_deleted_late() 739 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice_deleted_late() 770 int num_allocs = 0; in test_negative_rq_free_pool() local 771 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_negative_rq_free_pool() [all …]
|
/third_party/benchmark/test/ |
D | memory_manager_test.cc | 10 result->num_allocs = 42; in Stop()
|
/third_party/benchmark/src/ |
D | benchmark_runner.cc | 105 memory_iterations ? static_cast<double>(memory_result->num_allocs) / in CreateRunReport()
|
/third_party/benchmark/include/benchmark/ |
D | benchmark.h | 334 : num_allocs(0), in Result() 340 int64_t num_allocs; member
|