Lines Matching refs:ProfileFile
122 static int doProfileMerging(FILE *ProfileFile) { in doProfileMerging() argument
126 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in doProfileMerging()
131 ProfileFileSize = ftell(ProfileFile); in doProfileMerging()
134 if (fseek(ProfileFile, 0L, SEEK_SET) == -1) { in doProfileMerging()
149 fileno(ProfileFile), 0); in doProfileMerging()
179 FILE *ProfileFile; in openFileForMerging() local
182 ProfileFile = lprofOpenFileEx(ProfileFileName); in openFileForMerging()
183 if (!ProfileFile) in openFileForMerging()
186 rc = doProfileMerging(ProfileFile); in openFileForMerging()
187 if (rc || COMPILER_RT_FTRUNCATE(ProfileFile, 0L) || in openFileForMerging()
188 fseek(ProfileFile, 0L, SEEK_SET) == -1) { in openFileForMerging()
191 fclose(ProfileFile); in openFileForMerging()
194 fseek(ProfileFile, 0L, SEEK_SET); in openFileForMerging()
195 return ProfileFile; in openFileForMerging()