Searched refs:flattenedHeader (Results 1 – 1 of 1) sorted by relevance
46 chunk_header_v1 flattenedHeader; in readHeader_native() local53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); in readHeader_native()54 if (amt != sizeof(flattenedHeader.headerSize)) { in readHeader_native()58 int remainingHeader = flattenedHeader.headerSize - sizeof(flattenedHeader.headerSize); in readHeader_native()60 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { in readHeader_native()61 LOGW("Skipping unknown header: %d bytes", flattenedHeader.headerSize); in readHeader_native()69 amt = read(fd, &flattenedHeader.version, in readHeader_native()70 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); in readHeader_native()75 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); in readHeader_native()77 if (flattenedHeader.version != VERSION_1_HEADER) { in readHeader_native()[all …]