Lines Matching refs:tempSpace
217 char* tempSpace; in Read() local
230 tempSpace = new char [blockSize]; in Read()
235 tempSpace = new char [numBlocks * blockSize]; in Read()
237 if (tempSpace == NULL) { in Read()
243 ReadFile(fd, tempSpace, numBlocks * blockSize, &retval, NULL); in Read()
245 ((char*) buffer)[i] = tempSpace[i]; in Read()
252 delete[] tempSpace; in Read()
261 char* tempSpace; in Write() local
274 tempSpace = new char [blockSize]; in Write()
278 tempSpace = new char [numBlocks * blockSize]; in Write()
280 if (tempSpace == NULL) { in Write()
287 tempSpace[i] = ((char*) buffer)[i]; in Write()
290 tempSpace[i] = 0; in Write()
292 WriteFile(fd, tempSpace, numBlocks * blockSize, &numWritten, NULL); in Write()
299 delete[] tempSpace; in Write()