Home | History | Annotate | Download | only in tools

Lines Matching refs:curPos

994 	int curPos = 0;
995 while (curPos < dataSize)
997 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos);
999 deFileResult result = deFile_write(file, &data[curPos], blockSize, &numWritten);
1004 curPos += blockSize;
1011 curPos = 0;
1012 while (curPos < dataSize)
1015 int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block));
1021 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0);
1023 curPos += numToRead;