Lines Matching refs:originalBuf
85 de::ArrayBuffer<int> originalBuf(4); in ArrayBuffer_selfTest() local
86 *originalBuf.getElementPtr(0) = 1; in ArrayBuffer_selfTest()
87 *originalBuf.getElementPtr(1) = 2; in ArrayBuffer_selfTest()
88 *originalBuf.getElementPtr(2) = 3; in ArrayBuffer_selfTest()
89 *originalBuf.getElementPtr(3) = 4; in ArrayBuffer_selfTest()
91 de::ArrayBuffer<int> targetBuf(originalBuf); in ArrayBuffer_selfTest()
93 DE_TEST_ASSERT(*originalBuf.getElementPtr(0) == 1); in ArrayBuffer_selfTest()
94 DE_TEST_ASSERT(*originalBuf.getElementPtr(1) == 2); in ArrayBuffer_selfTest()
95 DE_TEST_ASSERT(*originalBuf.getElementPtr(2) == 3); in ArrayBuffer_selfTest()
96 DE_TEST_ASSERT(*originalBuf.getElementPtr(3) == 4); in ArrayBuffer_selfTest()
106 de::ArrayBuffer<int> originalBuf(4); in ArrayBuffer_selfTest() local
107 *originalBuf.getElementPtr(0) = 1; in ArrayBuffer_selfTest()
108 *originalBuf.getElementPtr(1) = 2; in ArrayBuffer_selfTest()
109 *originalBuf.getElementPtr(2) = 3; in ArrayBuffer_selfTest()
110 *originalBuf.getElementPtr(3) = 4; in ArrayBuffer_selfTest()
114 targetBuf = originalBuf; in ArrayBuffer_selfTest()
116 DE_TEST_ASSERT(*originalBuf.getElementPtr(0) == 1); in ArrayBuffer_selfTest()
117 DE_TEST_ASSERT(*originalBuf.getElementPtr(1) == 2); in ArrayBuffer_selfTest()
118 DE_TEST_ASSERT(*originalBuf.getElementPtr(2) == 3); in ArrayBuffer_selfTest()
119 DE_TEST_ASSERT(*originalBuf.getElementPtr(3) == 4); in ArrayBuffer_selfTest()