Lines Matching refs:tempSpace
224 char* tempSpace; in Read() local
237 tempSpace = new char [blockSize]; in Read()
242 tempSpace = new char [numBlocks * blockSize]; in Read()
244 if (tempSpace == NULL) { in Read()
250 ReadFile(fd, tempSpace, numBlocks * blockSize, &retval, NULL); in Read()
252 ((char*) buffer)[i] = tempSpace[i]; in Read()
259 delete[] tempSpace; in Read()
268 char* tempSpace; in Write() local
281 tempSpace = new char [blockSize]; in Write()
285 tempSpace = new char [numBlocks * blockSize]; in Write()
287 if (tempSpace == NULL) { in Write()
294 tempSpace[i] = ((char*) buffer)[i]; in Write()
297 tempSpace[i] = 0; in Write()
299 WriteFile(fd, tempSpace, numBlocks * blockSize, &numWritten, NULL); in Write()
306 delete[] tempSpace; in Write()