Lines Matching refs:fileLen
187 int64_t fileLen; member
594 char* dataEnd = pKeys->fileData + pKeys->fileLen; in parseVersion()
638 char* dataEnd = pKeys->fileData + pKeys->fileLen; in parseThreads()
684 char* dataEnd = pKeys->fileData + pKeys->fileLen; in parseMethods()
783 char* dataEnd = pKeys->fileData + pKeys->fileLen; in parseEnd()
837 pKeys->fileLen = ftell(fp); in parseKeys()
838 if (pKeys->fileLen == 0) { in parseKeys()
845 pKeys->fileData = new char[pKeys->fileLen]; in parseKeys()
847 fprintf(stderr, "ERROR: unable to alloc %" PRIu64 " bytes\n", pKeys->fileLen); in parseKeys()
852 if (fread(pKeys->fileData, 1, pKeys->fileLen, fp) != (size_t)pKeys->fileLen) { in parseKeys()
853 fprintf(stderr, "ERROR: unable to read %" PRIu64 " bytes from trace file\n", pKeys->fileLen); in parseKeys()
870 pKeys->fileLen = offset; in parseKeys()