Home
last modified time | relevance | path

Searched refs:allocation_count (Results 1 – 25 of 31) sorted by relevance

12

/external/sdv/vsomeip/third_party/boost/container/test/
Dglobal_resource_test.cpp43 std::size_t allocation_count = 0; variable
47 ++allocation_count; in operator new[]()
53 --allocation_count; in operator delete[]()
68 std::size_t memcount = allocation_count; in test_new_delete_resource()
73 BOOST_TEST(memcount == allocation_count); in test_new_delete_resource()
77 BOOST_TEST((allocation_count - memcount) == 1); in test_new_delete_resource()
80 BOOST_TEST(memcount == allocation_count); in test_new_delete_resource()
/external/perfetto/src/trace_processor/perfetto_sql/stdlib/viz/summary/
Dprocesses.sql33 count() AS allocation_count field
84 allocation_count
88 ) AS allocation_count,
109 coalesce(allocation_count, 0) AS allocation_count,
115 AND process_slice_count IS NULL AND allocation_count IS NULL AND graph_object_count IS NULL
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_allocation_test.cc49 int64_t allocation_count_before = allocator_->allocation_count(); in XLA_TEST_F()
64 EXPECT_GT(allocator_->allocation_count(), allocation_count_before); in XLA_TEST_F()
87 int64_t device_allocation_count_before = allocator->allocation_count(d); in XLA_TEST_F()
88 int64_t allocation_count_before = allocator->allocation_count(); in XLA_TEST_F()
98 EXPECT_GT(allocator->allocation_count(), allocation_count_before); in XLA_TEST_F()
99 EXPECT_GT(allocator->allocation_count(d), device_allocation_count_before); in XLA_TEST_F()
Dlocal_client_test_base.h57 int64_t allocation_count() const;
58 int64_t allocation_count(int device_ordinal) const;
Dlocal_client_test_base.cc66 int64_t TestAllocator::allocation_count() const { in allocation_count() function in xla::TestAllocator
71 int64_t TestAllocator::allocation_count(int device_ordinal) const { in allocation_count() function in xla::TestAllocator
/external/grpc-grpc/test/cpp/end2end/
Dcontext_allocator_end2end_test.cc186 NullAllocator(std::atomic<int>* allocation_count, in NullAllocator() argument
188 : allocation_count_(allocation_count), in NullAllocator()
218 std::atomic<int> allocation_count{0}; in TEST_P() local
221 new NullAllocator(&allocation_count, &deallocation_count)); in TEST_P()
228 EXPECT_EQ(kRpcCount, allocation_count); in TEST_P()
236 SimpleAllocator(std::atomic<int>* allocation_count, in SimpleAllocator() argument
238 : allocation_count_(allocation_count), in SimpleAllocator()
268 std::atomic<int> allocation_count{0}; in TEST_P() local
271 new SimpleAllocator(&allocation_count, &deallocation_count)); in TEST_P()
278 EXPECT_EQ(kRpcCount, allocation_count); in TEST_P()
Dmessage_allocator_end2end_test.cc242 allocation_count++; in AllocateMessages()
246 int allocation_count = 0; member in grpc::testing::__anonc8a326820111::SimpleAllocatorTest::SimpleAllocator
261 EXPECT_EQ(kRpcCount, allocator->allocation_count); in TEST_P()
285 EXPECT_EQ(kRpcCount, allocator->allocation_count); in TEST_P()
311 EXPECT_EQ(kRpcCount, allocator->allocation_count); in TEST_P()
339 allocation_count++; in AllocateMessages()
342 int allocation_count = 0; member in grpc::testing::__anonc8a326820111::ArenaAllocatorTest::ArenaAllocator
352 EXPECT_EQ(kRpcCount, allocator->allocation_count); in TEST_P()
/external/perfetto/src/profiling/memory/
Dbookkeeping.h105 uint64_t allocation_count; member
159 alloc.value.totals.allocation_count == allocated)) { in GetCallstackAllocations()
175 it, !dump_at_max_mode_ ? alloc.value.totals.allocation_count : 0); in GetCallstackAllocations()
316 alloc.callstack_allocations()->value.totals.allocation_count++; in AddToCallstackAllocations()
Dbookkeeping_dump.cc66 sample->set_alloc_count(alloc.value.totals.allocation_count); in WriteAllocation()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
387 if (arena->allocation_count != 0) { in DeleteArena()
515 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
516 arena->allocation_count--; in Free()
608 arena->allocation_count++; in DoAllocWithArena()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
388 if (arena->allocation_count != 0) { in DeleteArena()
516 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
517 arena->allocation_count--; in Free()
597 arena->allocation_count++; in DoAllocWithArena()
/external/cronet/tot/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
387 if (arena->allocation_count != 0) { in DeleteArena()
515 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
516 arena->allocation_count--; in Free()
608 arena->allocation_count++; in DoAllocWithArena()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
388 if (arena->allocation_count != 0) { in DeleteArena()
516 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
517 arena->allocation_count--; in Free()
597 arena->allocation_count++; in DoAllocWithArena()
/external/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
387 if (arena->allocation_count != 0) { in DeleteArena()
515 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
516 arena->allocation_count--; in Free()
608 arena->allocation_count++; in DoAllocWithArena()
/external/cronet/stable/third_party/abseil-cpp/absl/base/internal/
Dlow_level_alloc.cc209 int32_t allocation_count ABSL_GUARDED_BY(mu);
352 allocation_count(0), in Arena()
387 if (arena->allocation_count != 0) { in DeleteArena()
515 ABSL_RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); in Free()
516 arena->allocation_count--; in Free()
608 arena->allocation_count++; in DoAllocWithArena()
/external/sdv/vsomeip/third_party/boost/asio/test/
Ddeadline_timer.cpp334 int allocation_count = 0; in deadline_timer_custom_allocation_test() local
339 timers[i].t.async_wait(custom_allocation_timer_handler(&allocation_count)); in deadline_timer_custom_allocation_test()
345 timers[i].t.async_wait(custom_allocation_timer_handler(&allocation_count)); in deadline_timer_custom_allocation_test()
353 BOOST_ASIO_CHECK(allocation_count == 0); in deadline_timer_custom_allocation_test()
Dsystem_timer.cpp354 int allocation_count = 0; in system_timer_custom_allocation_test() local
359 timers[i].t.async_wait(custom_allocation_timer_handler(&allocation_count)); in system_timer_custom_allocation_test()
365 timers[i].t.async_wait(custom_allocation_timer_handler(&allocation_count)); in system_timer_custom_allocation_test()
373 BOOST_ASIO_CHECK(allocation_count == 0); in system_timer_custom_allocation_test()
/external/rust/android-crates-io/crates/vulkano/src/memory/
Ddevice_memory.rs536 .allocation_count in allocate_unchecked()
553 device.allocation_count.fetch_sub(1, Ordering::Release); in allocate_unchecked()
730 self.device.allocation_count.fetch_sub(1, Ordering::Release); in drop()
1691 fn allocation_count() { in allocation_count() function
1693 assert_eq!(device.allocation_count(), 0); in allocation_count()
1703 assert_eq!(device.allocation_count(), 1); in allocation_count()
1714 assert_eq!(device.allocation_count(), 2); in allocation_count()
1716 assert_eq!(device.allocation_count(), 1); in allocation_count()
/external/mesa3d/include/drm-uapi/
Dd3dkmthk.h770 __u32 allocation_count; member
787 __u32 allocation_count; member
810 __u32 allocation_count; member
1338 __u32 allocation_count; member
1352 __u32 allocation_count; member
1459 __u32 allocation_count; member
1509 __u32 allocation_count; member
/external/rust/android-crates-io/crates/vulkano/src/device/
Dmod.rs161 pub(crate) allocation_count: AtomicU32, field
416 allocation_count: AtomicU32::new(0), in new()
497 pub fn allocation_count(&self) -> u32 { in allocation_count() method
498 self.allocation_count.load(Ordering::Acquire) in allocation_count()
/external/cronet/stable/net/socket/
Dtransport_client_socket_pool_test_util.h124 int allocation_count() const { return allocation_count_; } in allocation_count() function
Dwebsocket_transport_client_socket_pool_unittest.cc289 EXPECT_EQ(6, client_socket_factory_.allocation_count()); in TEST_F()
331 client_socket_factory_.allocation_count()); in TEST_F()
441 EXPECT_EQ(5, client_socket_factory_.allocation_count()); in TEST_F()
653 EXPECT_EQ(2, client_socket_factory_.allocation_count()); in TEST_F()
694 EXPECT_EQ(2, client_socket_factory_.allocation_count()); in TEST_F()
723 EXPECT_EQ(1, client_socket_factory_.allocation_count()); in TEST_F()
750 EXPECT_EQ(1, client_socket_factory_.allocation_count()); in TEST_F()
Dclient_socket_pool_base_unittest.cc277 int allocation_count() const { return allocation_count_; } in allocation_count() function in net::__anon3ce64d860111::MockClientSocketFactory
969 client_socket_factory_.allocation_count()); in TEST_F()
982 client_socket_factory_.allocation_count()); in TEST_F()
1009 client_socket_factory_.allocation_count()); in TEST_F()
1019 client_socket_factory_.allocation_count()); in TEST_F()
1041 client_socket_factory_.allocation_count()); in TEST_F()
1177 client_socket_factory_.allocation_count()); in TEST_F()
1186 client_socket_factory_.allocation_count()); in TEST_F()
1234 client_socket_factory_.allocation_count()); in TEST_F()
1257 EXPECT_EQ(kDefaultMaxSockets, client_socket_factory_.allocation_count()); in TEST_F()
[all …]
/external/cronet/tot/net/socket/
Dtransport_client_socket_pool_test_util.h124 int allocation_count() const { return allocation_count_; } in allocation_count() function
Dwebsocket_transport_client_socket_pool_unittest.cc289 EXPECT_EQ(6, client_socket_factory_.allocation_count()); in TEST_F()
331 client_socket_factory_.allocation_count()); in TEST_F()
441 EXPECT_EQ(5, client_socket_factory_.allocation_count()); in TEST_F()
653 EXPECT_EQ(2, client_socket_factory_.allocation_count()); in TEST_F()
694 EXPECT_EQ(2, client_socket_factory_.allocation_count()); in TEST_F()
723 EXPECT_EQ(1, client_socket_factory_.allocation_count()); in TEST_F()
750 EXPECT_EQ(1, client_socket_factory_.allocation_count()); in TEST_F()

12