/external/libcxx/test/std/thread/futures/futures.shared_future/ |
dtor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); 33 assert(test_alloc_base::alloc_count == 1); 35 assert(test_alloc_base::alloc_count == 1); 38 assert(test_alloc_base::alloc_count == 1); 41 assert(test_alloc_base::alloc_count == 0); 47 assert(test_alloc_base::alloc_count == 1); 49 assert(test_alloc_base::alloc_count == 1); 52 assert(test_alloc_base::alloc_count == 1); 55 assert(test_alloc_base::alloc_count == 0); 61 assert(test_alloc_base::alloc_count == 1) [all...] |
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
dtor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); 33 assert(test_alloc_base::alloc_count == 1); 35 assert(test_alloc_base::alloc_count == 1); 38 assert(test_alloc_base::alloc_count == 1); 41 assert(test_alloc_base::alloc_count == 0); 47 assert(test_alloc_base::alloc_count == 1); 49 assert(test_alloc_base::alloc_count == 1); 52 assert(test_alloc_base::alloc_count == 1); 55 assert(test_alloc_base::alloc_count == 0); 61 assert(test_alloc_base::alloc_count == 1) [all...] |
/external/libcxx/test/std/thread/futures/futures.promise/ |
swap.pass.cpp | 28 assert(test_alloc_base::alloc_count == 0); 32 assert(test_alloc_base::alloc_count == 2); 34 assert(test_alloc_base::alloc_count == 2); 36 assert(test_alloc_base::alloc_count == 2); 40 assert(test_alloc_base::alloc_count == 2); 42 assert(test_alloc_base::alloc_count == 0); 46 assert(test_alloc_base::alloc_count == 2); 48 assert(test_alloc_base::alloc_count == 2); 50 assert(test_alloc_base::alloc_count == 2); 54 assert(test_alloc_base::alloc_count == 2) [all...] |
move_ctor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); 31 assert(test_alloc_base::alloc_count == 1); 33 assert(test_alloc_base::alloc_count == 1); 45 assert(test_alloc_base::alloc_count == 1); 48 assert(test_alloc_base::alloc_count == 0); 52 assert(test_alloc_base::alloc_count == 1); 54 assert(test_alloc_base::alloc_count == 1); 66 assert(test_alloc_base::alloc_count == 1); 69 assert(test_alloc_base::alloc_count == 0); 73 assert(test_alloc_base::alloc_count == 1) [all...] |
move_assign.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); 31 assert(test_alloc_base::alloc_count == 2); 33 assert(test_alloc_base::alloc_count == 1); 35 assert(test_alloc_base::alloc_count == 1); 48 assert(test_alloc_base::alloc_count == 1); 50 assert(test_alloc_base::alloc_count == 0); 54 assert(test_alloc_base::alloc_count == 2); 56 assert(test_alloc_base::alloc_count == 1); 58 assert(test_alloc_base::alloc_count == 1); 71 assert(test_alloc_base::alloc_count == 1) [all...] |
alloc_ctor.pass.cpp | 28 assert(test_alloc_base::alloc_count == 0); 31 assert(test_alloc_base::alloc_count == 1); 33 assert(test_alloc_base::alloc_count == 1); 36 assert(test_alloc_base::alloc_count == 0); 39 assert(test_alloc_base::alloc_count == 1); 41 assert(test_alloc_base::alloc_count == 1); 44 assert(test_alloc_base::alloc_count == 0); 47 assert(test_alloc_base::alloc_count == 1); 49 assert(test_alloc_base::alloc_count == 1); 52 assert(test_alloc_base::alloc_count == 0) [all...] |
/external/grpc-grpc/third_party/nanopb/tests/common/ |
malloc_wrappers.c | 6 static size_t alloc_count = 0; variable 36 alloc_count++; 45 assert(alloc_count > 0); 46 alloc_count--; 53 return alloc_count;
|
/external/nanopb-c/tests/common/ |
malloc_wrappers.c | 6 static size_t alloc_count = 0; variable 36 alloc_count++; 45 assert(alloc_count > 0); 46 alloc_count--; 53 return alloc_count;
|
/external/protobuf/src/google/protobuf/ |
arena_test_util.h | 51 int alloc_count() { return 0; } function in class:google::protobuf::internal::NoHeapChecker::NewDeleteCapture
|
arena_test_util.cc | 44 EXPECT_EQ(0, capture_alloc.alloc_count());
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
pool_allocator_test.cc | 129 int alloc_count = 0; local 132 [&alloc_count, &alloc_size](void* ptr, int numa_node, int64 size) { 133 ++alloc_count; 151 EXPECT_EQ(0, alloc_count); 162 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes 165 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); 176 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes 177 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); 191 EXPECT_EQ(3, alloc_count); 192 EXPECT_EQ(16 + 4 + 2 + (alloc_count * kChunkPrefixSize), alloc_size) [all...] |
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
ctor_func_alloc.pass.cpp | 53 assert(test_alloc_base::alloc_count > 0); 61 assert(test_alloc_base::alloc_count == 0); 68 assert(test_alloc_base::alloc_count > 0); 76 assert(test_alloc_base::alloc_count == 0); 82 assert(test_alloc_base::alloc_count > 0); 88 assert(test_alloc_base::alloc_count == 0); 94 assert(test_alloc_base::alloc_count > 0); 100 assert(test_alloc_base::alloc_count == 0);
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
move_alloc.pass.cpp | 53 int alloc_count = test_alloc_base::alloc_count; local 65 assert ( test_alloc_base::alloc_count == alloc_count );
|
/external/jemalloc/test/integration/ |
iterate.c | 7 static size_t alloc_count; variable 14 alloc_count++; 33 alloc_count = 0; 63 alloc_count = 0; 95 alloc_count = 0;
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/ |
generic_string_alloc.pass.cpp | 52 assert(Alloc::alloc_count > 0);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter_allocator_throw.pass.cpp | 45 assert(test_allocator<A>::alloc_count == 0);
|
pointer_deleter_allocator_throw.pass.cpp | 46 assert(test_allocator<A>::alloc_count == 0);
|
nullptr_t_deleter_allocator.pass.cpp | 44 assert(test_allocator<A>::alloc_count == 1); 50 assert(test_allocator<A>::alloc_count == 0);
|
pointer_deleter_allocator.pass.cpp | 46 assert(test_allocator<A>::alloc_count == 1); 52 assert(test_allocator<A>::alloc_count == 0);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
reset_pointer_deleter_allocator.pass.cpp | 60 assert(test_allocator<A>::alloc_count == 1); 66 assert(test_allocator<A>::alloc_count == 0); 81 assert(test_allocator<A>::alloc_count == 1); 87 assert(test_allocator<A>::alloc_count == 0);
|
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
allocate.pass.cpp | 64 assert(P.alloc_count == 1); 70 assert(P.alloc_count == 2);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
allocate_shared.pass.cpp | 61 assert(test_allocator<A>::alloc_count == 1); 67 assert(test_allocator<A>::alloc_count == 0);
|
allocate_shared_cxx03.pass.cpp | 107 assert(test_allocator<Two>::alloc_count == 1); 112 assert(test_allocator<Two>::alloc_count == 0);
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/ |
string_alloc.pass.cpp | 59 assert(MAlloc::alloc_count == 0); 72 assert(MAlloc::alloc_count == 0); 100 assert(MAlloc::alloc_count > 0); 113 assert(MAlloc::alloc_count > 0);
|
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
do_allocate_and_deallocate.pass.cpp | 49 assert(P.alloc_count == 1); 76 assert(P.alloc_count == 1);
|