Lines Matching refs:dataFp
1131 int readDataRecord(FILE *dataFp, DataHeader* dataHeader, in readDataRecord() argument
1139 id = getc(dataFp); in readDataRecord()
1142 id = read2LE(dataFp); in readDataRecord()
1149 *methodVal = read4LE(dataFp); in readDataRecord()
1150 *elapsedTime = read4LE(dataFp); in readDataRecord()
1154 getc(dataFp); in readDataRecord()
1157 if (feof(dataFp)) { in readDataRecord()
1175 FILE* dataFp = NULL; in dumpTrace() local
1189 dataFp = fopen(gOptions.traceFileName, "rb"); in dumpTrace()
1190 if (dataFp == NULL) in dumpTrace()
1193 if ((pKeys = parseKeys(dataFp, 1)) == NULL) in dumpTrace()
1196 if (parseDataHeader(dataFp, &dataHeader) < 0) in dumpTrace()
1214 if (readDataRecord(dataFp, &dataHeader, &threadId, &methodVal, &elapsedTime)) in dumpTrace()
1272 if (dataFp != NULL) in dumpTrace()
1273 fclose(dataFp); in dumpTrace()
2298 FILE* dataFp = NULL; in parseDataKeys() local
2304 dataFp = fopen(traceFileName, "rb"); in parseDataKeys()
2305 if (dataFp == NULL) in parseDataKeys()
2308 if ((dataKeys = parseKeys(dataFp, 0)) == NULL) in parseDataKeys()
2311 if (parseDataHeader(dataFp, &dataHeader) < 0) in parseDataKeys()
2326 if (readDataRecord(dataFp, &dataHeader, &threadId, &methodVal, ¤tTime)) in parseDataKeys()
2478 if (dataFp != NULL) in parseDataKeys()
2479 fclose(dataFp); in parseDataKeys()