Lines Matching refs:outFile
61 int outFile = getOutFile(); in writeArrayTable() local
82 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable()
83 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); in writeArrayTable()
89 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { in writeArrayTable()
102 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable()
103 lseek(outFile, arrayHeaderLocation, SEEK_SET); in writeArrayTable()
105 if (write(outFile, &fHeader, sizeof(PathProfileHeader)) < 0) { in writeArrayTable()
111 lseek(outFile, arrayCurrentLocation, SEEK_SET); in writeArrayTable()
122 int outFile = getOutFile(); in writeHashTable() local
129 if (write(outFile, &header, sizeof(PathProfileHeader)) < 0) { in writeHashTable()
144 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { in writeHashTable()
227 int outFile = getOutFile(); in pathProfAtExitHandler() local
234 headerLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler()
235 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); in pathProfAtExitHandler()
253 currentLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler()
254 lseek(outFile, headerLocation, SEEK_SET); in pathProfAtExitHandler()
256 if (write(outFile, header, sizeof(header)) < 0) { in pathProfAtExitHandler()
262 lseek(outFile, currentLocation, SEEK_SET); in pathProfAtExitHandler()