/external/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::__anonf254b2810111::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 …]
|
/external/webrtc/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::__anon7f2e61300111::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 …]
|
/external/libtextclassifier/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::__anonc261c4510111::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 …]
|
/external/openscreen/third_party/abseil/src/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::__anonc8ddd4620111::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 …]
|
/external/rust/crates/grpcio-sys/grpc/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::__anon94a0eaa20111::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 …]
|
/external/angle/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::__anon8bec76100111::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 …]
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | soft_rss_limit_mb_test.cpp | 33 int num_allocs = kMaxNumAllocs / 4; in main() local 34 for (int i = 0; i < 3; i++, num_allocs *= 2) { in main() 35 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); in main() 37 for (int j = 0; j < num_allocs; j++) { in main() 38 if ((j % (num_allocs / 8)) == 0) { in main() 51 if (zero_results != num_allocs) in main() 53 num_allocs - zero_results); in main() 54 for (int j = 0; j < num_allocs; j++) { in main()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | soft_rss_limit_mb_test.cc | 27 int num_allocs = kMaxNumAllocs / 4; in main() local 28 for (int i = 0; i < 3; i++, num_allocs *= 2) { in main() 29 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); in main() 31 for (int j = 0; j < num_allocs; j++) { in main() 32 if ((j % (num_allocs / 8)) == 0) { in main() 45 if (zero_results != num_allocs) in main() 47 num_allocs - zero_results); in main() 48 for (int j = 0; j < num_allocs; j++) { in main()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | mkl_cpu_allocator.h | 92 stats_.num_allocs = 0; in ClearStats() 103 ++stats_.num_allocs; in IncrementStats() 258 stats_.num_allocs = l_stats->num_allocs + s_stats->num_allocs; in GetStats()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | allocator_stats.h | 30 int64 num_allocs; // Number of allocations. member 49 : num_allocs(0), in AllocatorStats()
|
D | allocator_stats.cc | 32 this->peak_bytes_in_use, this->num_allocs, this->largest_alloc_size, in DebugString()
|
/external/grpc-grpc/test/core/iomgr/ |
D | resource_quota_test.cc | 695 int num_allocs = 0; in test_one_slice() local 696 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice() 702 const int start_allocs = num_allocs; in test_one_slice() 706 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice() 727 int num_allocs = 0; in test_one_slice_deleted_late() local 728 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice_deleted_late() 734 const int start_allocs = num_allocs; in test_one_slice_deleted_late() 738 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice_deleted_late() 769 int num_allocs = 0; in test_negative_rq_free_pool() local 770 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_negative_rq_free_pool() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | allocator_test.cc | 28 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument 44 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()
|
D | cpu_allocator_impl.cc | 89 ++stats_.num_allocs; in AllocateRaw() 124 stats_.num_allocs = 0; in ClearStats()
|
D | allocator.cc | 45 static_cast<long long>(this->num_allocs), in DebugString()
|
D | allocator.h | 149 int64 num_allocs; // Number of allocations. member 168 : num_allocs(0), in AllocatorStats()
|
/external/bcc/tools/lib/ |
D | uobjnew.py | 182 data = sorted(data.items(), key=lambda kv: kv[1].num_allocs) 196 (obj_type, value.num_allocs, value.total_size))
|
/external/libcxx/utils/google-benchmark/test/ |
D | memory_manager_test.cc | 10 result->num_allocs = 42; in Stop()
|
/external/llvm-project/libcxx/utils/google-benchmark/test/ |
D | memory_manager_test.cc | 10 result->num_allocs = 42; in Stop()
|
/external/google-benchmark/test/ |
D | memory_manager_test.cc | 10 result->num_allocs = 42; in Stop()
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | bfc_memory_map.proto | 9 int64 num_allocs = 1; field
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_device_context.cc | 64 tf_stats.num_allocs = se_stats->num_allocs; in GetStats()
|
/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | tpu_executor.cc | 229 stats.num_allocs = c_stats.num_allocs; in GetAllocatorStats()
|
D | c_api_decl.h | 83 int64_t num_allocs; member
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 45 void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument 55 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()
|