Home
last modified time | relevance | path

Searched refs:ConstructorCount (Results 1 – 4 of 4) sorted by relevance

/system/chre/util/tests/
Dsynchronized_expandable_memory_pool_test.cc25 class ConstructorCount { class
27 ConstructorCount(int value_) : value(value_) { in ConstructorCount() function in __anon32557d2a0111::ConstructorCount
30 ~ConstructorCount() { in ~ConstructorCount()
43 ssize_t ConstructorCount::sConstructedCounter = 0;
62 SynchronizedExpandableMemoryPool<ConstructorCount, blockSize, maxBlockCount> in TEST()
66 ConstructorCount *temp = testMemoryPool.allocate(10); in TEST()
68 ASSERT_EQ(ConstructorCount::sConstructedCounter, 1); in TEST()
71 ASSERT_EQ(ConstructorCount::sConstructedCounter, 0); in TEST()
Dsynchronized_memory_pool_test.cc25 class ConstructorCount { class
27 ConstructorCount(int value_) : value(value_) { in ConstructorCount() function in __anone2a4fed70111::ConstructorCount
30 ~ConstructorCount() { in ~ConstructorCount()
43 ssize_t ConstructorCount::sConstructedCounter = 0;
Dblocking_queue_test.cc29 class ConstructorCount { class
31 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() function in __anon38e414730111::ConstructorCount
35 ~ConstructorCount() { in ~ConstructorCount()
Dsegmented_queue_test.cc35 class ConstructorCount { class
37 ConstructorCount() = default;
38 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() function in __anon4772d8e60111::ConstructorCount
42 ~ConstructorCount() { in ~ConstructorCount()
153 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
206 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
306 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
313 [](ConstructorCount &element, void *data, void *extraData) { in TEST()
473 deque<ConstructorCount> referenceDeque; in TEST()
474 SegmentedQueue<ConstructorCount, blockSize> testSegmentedQueue(totalSize / in TEST()
[all …]