• Home
  • Raw
  • Download

Lines Matching refs:refBuf

68 		ReferenceBuffer	refBuf;  in iterate()  local
73 refBuf.setSize(m_bufferSize); in iterate()
74 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
79 writer.write(buf, 0, m_bufferSize, refBuf.getPtr(), m_bufferTarget); in iterate()
86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
122 ReferenceBuffer refBuf; in iterate() local
126 refBuf.setSize(m_size); in iterate()
127 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate()
141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate()
173 ReferenceBuffer refBuf; in iterate() local
177 refBuf.setSize(m_bufferSize); in iterate()
178 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
182 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
185 fillWithRandomBytes(refBuf.getPtr(m_mapOffset), m_mapSize, dataSeed&0xabcdef); in iterate()
191 deMemcpy(ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); in iterate()
228 ReferenceBuffer refBuf; in iterate() local
238 refBuf.setSize(bufferSize); in iterate()
239 fillWithRandomBytes(refBuf.getPtr(), bufferSize, dataSeed); in iterate()
243 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
246 …fillWithRandomBytes(refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs, dataSeed&0xabcdef… in iterate()
252 deMemcpy((deUint8*)ptr+mapWriteOffs, refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs); in iterate()
256 bool isOk = verifier.verify(buf, refBuf.getPtr(), verifyOffset, verifySize, m_bufferTarget); in iterate()
287 ReferenceBuffer refBuf; in iterate() local
297 refBuf.setSize(bufferSize); in iterate()
298 fillWithRandomBytes(refBuf.getPtr(), bufferSize, dataSeed); in iterate()
302 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
305 …fillWithRandomBytes(refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs, dataSeed&0xabcdef… in iterate()
311 deMemcpy((deUint8*)ptr+mapWriteOffs, refBuf.getPtr(mapOffset+mapWriteOffs), mapSize-mapWriteOffs); in iterate()
315 bool isOk = verifier.verify(buf, refBuf.getPtr(), verifyOffset, verifySize, m_bufferTarget); in iterate()
346 ReferenceBuffer refBuf; in iterate() local
358 refBuf.setSize(bufferSize); in iterate()
359 fillWithRandomBytes(refBuf.getPtr(), bufferSize, dataSeed); in iterate()
363 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
366 fillWithRandomBytes(refBuf.getPtr(mapOffset), mapSize, dataSeed&0xabcdef); in iterate()
372 deMemcpy(ptr, refBuf.getPtr(mapOffset), mapSize); in iterate()
384 if (!verifier.verify(buf, refBuf.getPtr(), mapOffset+sliceAOffs, sliceASize, m_bufferTarget)) in iterate()
387 if (!verifier.verify(buf, refBuf.getPtr(), mapOffset+sliceBOffs, sliceBSize, m_bufferTarget)) in iterate()
392 if (!verifier.verify(buf, refBuf.getPtr(), mapOffset, mapSize, m_bufferTarget)) in iterate()
424 ReferenceBuffer refBuf; in iterate() local
430 refBuf.setSize(size); in iterate()
431 fillWithRandomBytes(refBuf.getPtr(), size, dataSeed); in iterate()
435 glBufferData(m_bufferTarget, size, refBuf.getPtr(), m_usage); in iterate()
438 if (!verifier.verify(buf, refBuf.getPtr(), 0, size)) in iterate()
447 fillWithRandomBytes(refBuf.getPtr(), size, dataSeed&0xabcdef); in iterate()
448 deMemcpy(ptr, refBuf.getPtr(), size); in iterate()
456 if (!verifier.verify(buf, refBuf.getPtr(), 0, size)) in iterate()
490 ReferenceBuffer refBuf; in iterate() local
495 refBuf.setSize(m_bufferSize); in iterate()
496 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
500 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
503 if (!verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget)) in iterate()
512 if (!compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize)) in iterate()
515 fillWithRandomBytes(refBuf.getPtr(m_mapOffset), m_mapSize, dataSeed&0xabcdef); in iterate()
516 deMemcpy(ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
522 if (!verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget)) in iterate()