Lines Matching refs:tempSpace
226 char* tempSpace; in Read() local
239 tempSpace = new char [blockSize]; in Read()
244 tempSpace = new char [numBlocks * blockSize]; in Read()
246 if (tempSpace == NULL) { in Read()
252 ReadFile(fd, tempSpace, numBlocks * blockSize, &retval, NULL); in Read()
254 ((char*) buffer)[i] = tempSpace[i]; in Read()
261 delete[] tempSpace; in Read()
270 char* tempSpace; in Write() local
283 tempSpace = new char [blockSize]; in Write()
287 tempSpace = new char [numBlocks * blockSize]; in Write()
289 if (tempSpace == NULL) { in Write()
296 tempSpace[i] = ((char*) buffer)[i]; in Write()
299 tempSpace[i] = 0; in Write()
301 WriteFile(fd, tempSpace, numBlocks * blockSize, &numWritten, NULL); in Write()
308 delete[] tempSpace; in Write()