• Home
  • Raw
  • Download

Lines Matching refs:numBytes

70 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed)  in fillWithRandomBytes()  argument
72 …std::copy(tcu::RandomValueIterator<deUint8>::begin(seed, numBytes), tcu::RandomValueIterator<deUin… in fillWithRandomBytes()
75 …l compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes) in compareByteArrays() argument
86 for (;ndx < numBytes; ndx++) in compareByteArrays()
221 void ReferenceBuffer::setSize (int numBytes) in setSize() argument
223 m_data.resize(numBytes); in setSize()
226 void ReferenceBuffer::setData (int numBytes, const deUint8* bytes) in setData() argument
228 m_data.resize(numBytes); in setData()
229 std::copy(bytes, bytes+numBytes, m_data.begin()); in setData()
232 void ReferenceBuffer::setSubData (int offset, int numBytes, const deUint8* bytes) in setSubData() argument
234 …DE_ASSERT(de::inBounds(offset, 0, (int)m_data.size()) && de::inRange(offset+numBytes, offset, (int… in setSubData()
235 std::copy(bytes, bytes+numBytes, m_data.begin()+offset); in setSubData()
266 bool BufferVerifier::verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) in verify() argument
268 DE_ASSERT(numBytes >= getMinSize()); in verify()
270 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in verify()
271 return m_verifier->verify(buffer, reference, offset, numBytes); in verify()
407 bool VertexArrayVerifier::verify (deUint32 buffer, const deUint8* refPtr, int offset, int numBytes) in verify() argument
426 DE_ASSERT(numBytes >= numBytesInQuad); // Can't render full quad with smaller buffers. in verify()
444 while (numVerified < numBytes) in verify()
446 int numRemaining = numBytes-numVerified; in verify()
449 int curOffset = isLeftoverBatch ? (numBytes-numBytesInQuad) : numVerified; in verify()
456 DE_ASSERT(de::inBounds(curOffset, 0, numBytes)); in verify()
457 DE_ASSERT(de::inRange(curOffset+numBytesToVerify, curOffset, numBytes)); in verify()
568 bool IndexArrayVerifier::verify (deUint32 buffer, const deUint8* refPtr, int offset, int numBytes) in verify() argument
608 while (numVerified < numBytes) in verify()
610 int numRemaining = numBytes-numVerified; in verify()
613 int curOffset = isLeftoverBatch ? (numBytes-minBytesPerBatch) : numVerified; in verify()