Home
last modified time | relevance | path

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

/system/chre/util/tests/
Dsynchronized_expandable_memory_pool_test.cc26 class ConstructorCount { class
28 ConstructorCount(int value_) : value(value_) { in ConstructorCount() function in __anon1da92cef0111::ConstructorCount
31 ~ConstructorCount() { in ~ConstructorCount()
44 ssize_t ConstructorCount::sConstructedCounter = 0;
63 SynchronizedExpandableMemoryPool<ConstructorCount, blockSize, maxBlockCount> in TEST()
67 ConstructorCount *temp = testMemoryPool.allocate(10); in TEST()
69 ASSERT_EQ(ConstructorCount::sConstructedCounter, 1); in TEST()
72 ASSERT_EQ(ConstructorCount::sConstructedCounter, 0); in TEST()
Dsegmented_queue_test.cc33 class ConstructorCount { class
35 ConstructorCount() = default;
36 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() function in __anoneef3842b0111::ConstructorCount
40 ~ConstructorCount() { in ~ConstructorCount()
151 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
204 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
304 SegmentedQueue<ConstructorCount, blockSize> segmentedQueue(maxBlockCount); in TEST()
312 [](ConstructorCount &element) { return element.getValue() <= 4; }, in TEST()
423 deque<ConstructorCount> referenceDeque; in TEST()
424 SegmentedQueue<ConstructorCount, blockSize> testSegmentedQueue(totalSize / in TEST()
[all …]
Dblocking_queue_test.cc29 class ConstructorCount { class
31 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() function in __anon07a9eb180111::ConstructorCount
35 ~ConstructorCount() { in ~ConstructorCount()