Lines Matching refs:originalSize
157 size_t originalSize = *size; in File_Read() local
159 if (originalSize == 0) in File_Read()
166 const DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Read()
170 originalSize -= processed; in File_Read()
178 while (originalSize > 0); in File_Read()
184 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Read()
187 originalSize -= processed; in File_Read()
195 while (originalSize > 0); in File_Read()
201 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Read()
208 originalSize -= (size_t)processed; in File_Read()
213 while (originalSize > 0); in File_Read()
223 size_t originalSize = *size; in File_Write() local
225 if (originalSize == 0) in File_Write()
232 const DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Write()
236 originalSize -= processed; in File_Write()
243 while (originalSize > 0); in File_Write()
249 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Write()
252 originalSize -= processed; in File_Write()
259 while (originalSize > 0); in File_Write()
265 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Write()
272 originalSize -= (size_t)processed; in File_Write()
275 while (originalSize > 0); in File_Write()