Searched refs:dataFp (Results 1 – 2 of 2) sorted by relevance
/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 352 void writeDataRecord(FILE *dataFp, int threadId, unsigned int methodVal, in writeDataRecord() argument 356 putc(threadId, dataFp); in writeDataRecord() 358 write2LE(dataFp, threadId); in writeDataRecord() 359 write4LE(dataFp, methodVal); in writeDataRecord() 360 write4LE(dataFp, elapsedTime); in writeDataRecord() 363 void writeDataHeader(FILE *dataFp) in writeDataHeader() argument 372 write4LE(dataFp, header.magic); in writeDataHeader() 373 write2LE(dataFp, header.version); in writeDataHeader() 374 write2LE(dataFp, header.offsetToData); in writeDataHeader() 375 write8LE(dataFp, startTime); in writeDataHeader() [all …]
|
D | TraceDump.c | 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() [all …]
|