Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 2 of 2) sorted by relevance

/dalvik/tools/dmtracedump/
DCreateTestTrace.c326 void write2LE(FILE* fp, unsigned short val) in write2LE() argument
328 putc(val & 0xff, fp); in write2LE()
329 putc(val >> 8, fp); in write2LE()
332 void write4LE(FILE* fp, unsigned int val) in write4LE() argument
334 putc(val & 0xff, fp); in write4LE()
335 putc((val >> 8) & 0xff, fp); in write4LE()
336 putc((val >> 16) & 0xff, fp); in write4LE()
337 putc((val >> 24) & 0xff, fp); in write4LE()
340 void write8LE(FILE* fp, unsigned long long val) in write8LE() argument
342 putc(val & 0xff, fp); in write8LE()
[all …]
DTraceDump.c935 DataKeys* parseKeys(FILE *fp, int verbose) in parseKeys() argument
949 if (fseek(fp, 0L, SEEK_END) != 0) { in parseKeys()
953 pKeys->fileLen = ftell(fp); in parseKeys()
958 rewind(fp); in parseKeys()
966 if (fread(pKeys->fileData, 1, pKeys->fileLen, fp) != (size_t) pKeys->fileLen) in parseKeys()
986 fseek(fp, offset, SEEK_SET); in parseKeys()
1031 unsigned int read2LE(FILE* fp) in read2LE() argument
1035 val = getc(fp); in read2LE()
1036 val |= getc(fp) << 8; in read2LE()
1039 unsigned int read4LE(FILE* fp) in read4LE() argument
[all …]