Searched refs:num_allocations (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | op_kernel_test.cc | 423 int num_allocations(bool scoped) { in num_allocations() function in tensorflow::__anonc25ee1c30111::ScopedAllocatorDevice 461 EXPECT_EQ(sa_device->num_allocations(false), 0); in TEST_F() 462 EXPECT_EQ(sa_device->num_allocations(true), 0); in TEST_F() 466 EXPECT_EQ(sa_device->num_allocations(false), 1); in TEST_F() 467 EXPECT_EQ(sa_device->num_allocations(true), 0); in TEST_F() 472 EXPECT_EQ(sa_device->num_allocations(false), 2); in TEST_F() 473 EXPECT_EQ(sa_device->num_allocations(true), 0); in TEST_F() 475 EXPECT_EQ(sa_device->num_allocations(false), 2); in TEST_F() 476 EXPECT_EQ(sa_device->num_allocations(true), 1); in TEST_F()
|
/external/protobuf/src/google/protobuf/ |
D | arena_unittest.cc | 1394 ++num_allocations; in on_allocation() 1414 static uint32 num_allocations; member in google::protobuf::ArenaHooksTestUtil 1419 uint32 ArenaHooksTestUtil::num_allocations = 0; member in google::protobuf::ArenaHooksTestUtil 1443 EXPECT_EQ(0, ArenaHooksTestUtil::num_allocations); in TEST() 1446 EXPECT_EQ(1, ArenaHooksTestUtil::num_allocations); in TEST() 1448 EXPECT_EQ(2, ArenaHooksTestUtil::num_allocations); in TEST()
|
/external/libpng/ |
D | pngtest.c | 512 static int num_allocations = 0; variable 540 num_allocations ++; in png_debug_malloc() 2009 num_allocations); in main() 2102 num_allocations); in main()
|