Searched refs:numToRead (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | InfiniteRecording.h | 37 size_t numToRead = std::min(count, mMaxSamples); in readFrom() local 38 numToRead = std::min(numToRead, maxPosition - position); in readFrom() 39 if (numToRead == 0) return 0; in readFrom() 42 const size_t firstReadSize = std::min(numToRead, mMaxSamples - offset); // till end in readFrom() 44 if (firstReadSize < numToRead) { in readFrom() 46 std::copy(&mData[0], &mData[numToRead - firstReadSize], &buffer[firstReadSize]); in readFrom() 48 return numToRead; in readFrom()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deBlockBuffer.hpp | 246 int numToRead = de::min(numElements, numUsedInBlock-m_readPos); in readFromCurrentBlock() local 248 DE_ASSERT(numToRead > 0); in readFromCurrentBlock() 250 for (int ndx = 0; ndx < numToRead; ndx++) in readFromCurrentBlock() 253 m_readPos += numToRead; in readFromCurrentBlock() 263 return numToRead; in readFromCurrentBlock()
|
D | deBlockBuffer.cpp | 77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); in run() local 78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); in run()
|
/third_party/vk-gl-cts/execserver/ |
D | xsExecutionServer.cpp | 83 size_t numToRead = (size_t)de::min(src.getNumElements(), (int)numBytesLeft); in read() local 85 if (numToRead > 0) in read() 88 m_buffer.resize(curBufPos+numToRead); in read() 89 src.popBack(&m_buffer[curBufPos], (int)numToRead); in read()
|
/third_party/vk-gl-cts/execserver/tools/ |
D | xsTest.cpp | 1016 …int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)… 1018 deFileResult result = deFile_read(file, block, numToRead, &numRead); 1021 DE_VERIFY((int)numRead == numToRead); 1022 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0); 1024 curPos += numToRead;
|