Lines Matching refs:nIdx2
42 std::ptrdiff_t nIdx2 = aPool.alloc(); in testPoolBasics() local
45 CPPUNIT_ASSERT_MESSAGE("allocator idx order 1", nIdx1 < nIdx2 ); in testPoolBasics()
46 CPPUNIT_ASSERT_MESSAGE("allocator idx order 2", nIdx2 < nIdx3 ); in testPoolBasics()
48 aPool.free(nIdx2); in testPoolBasics()
51 nIdx2 = aPool.alloc(); in testPoolBasics()
55 CPPUNIT_ASSERT_MESSAGE("allocator idx order 2 after fragmentation", nIdx3 < nIdx2 ); in testPoolBasics()
65 std::ptrdiff_t nIdx2 = aPool.store(1); in testPoolValueSemantics() local
66 CPPUNIT_ASSERT_MESSAGE("allocator value semantics 2", aPool.get(nIdx2) == 1 ); in testPoolValueSemantics()
71 aPool.free(nIdx2); in testPoolValueSemantics()
74 nIdx2 = aPool.store(1); in testPoolValueSemantics()
75 … CPPUNIT_ASSERT_MESSAGE("allocator value semantics 2 after fragmentation", aPool.get(nIdx2) == 1 ); in testPoolValueSemantics()