Lines Matching refs:numRead
92 int numRead = 0; in readBytes() local
94 while (numRead < numBytes) in readBytes()
96 int numLeft = numBytes - numRead; in readBytes()
98 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead); in readBytes()
103 numRead += curNumRead; in readBytes()
253 deInt64 numRead = 0; in run() local
255 while (deFile_read(m_curFile, &buf[0], (deInt64)sizeof(buf), &numRead) == DE_FILERESULT_SUCCESS) in run()
256 fwrite(&buf[0], 1, (size_t)numRead, stdout); in run()
961 deInt64 numRead = 0;
963 while (deFile_read(out, buf, sizeof(buf)-1, &numRead) == DE_FILERESULT_SUCCESS)
965 buf[numRead] = 0;
1016 deInt64 numRead = 0;
1017 deFileResult result = deFile_read(file, block, numToRead, &numRead);
1020 DE_VERIFY((int)numRead == numToRead);