Lines Matching refs:nIdx3
43 std::ptrdiff_t nIdx3 = aPool.alloc(); in testPoolBasics() local
46 CPPUNIT_ASSERT_MESSAGE("allocator idx order 2", nIdx2 < nIdx3 ); in testPoolBasics()
49 aPool.free(nIdx3); in testPoolBasics()
52 nIdx3 = aPool.alloc(); in testPoolBasics()
54 CPPUNIT_ASSERT_MESSAGE("allocator idx order 1 after fragmentation", nIdx1 < nIdx3 ); in testPoolBasics()
55 CPPUNIT_ASSERT_MESSAGE("allocator idx order 2 after fragmentation", nIdx3 < nIdx2 ); in testPoolBasics()
68 std::ptrdiff_t nIdx3 = aPool.store(2); in testPoolValueSemantics() local
69 CPPUNIT_ASSERT_MESSAGE("allocator value semantics 3", aPool.get(nIdx3) == 2 ); in testPoolValueSemantics()
72 aPool.free(nIdx3); in testPoolValueSemantics()
77 nIdx3 = aPool.store(2); in testPoolValueSemantics()
78 … CPPUNIT_ASSERT_MESSAGE("allocator value semantics 3 after fragmentation", aPool.get(nIdx3) == 2 ); in testPoolValueSemantics()