Searched refs:numToWrite (Results 1 – 2 of 2) sorted by relevance
202 int numToWrite = de::min(numElements, m_blockSize-m_writePos); in writeToCurrentBlock() local204 DE_ASSERT(numToWrite > 0); in writeToCurrentBlock()206 for (int ndx = 0; ndx < numToWrite; ndx++) in writeToCurrentBlock()209 m_writePos += numToWrite; in writeToCurrentBlock()214 return numToWrite; in writeToCurrentBlock()
142 const int numToWrite = de::min(maxWriteSize, (int)m_caseList.size() - curPos); in run() local145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped)) in run()