Searched refs:bytesinpkt (Results 1 – 1 of 1) sorted by relevance
98 int bytesinpkt; /* # of bytes in current packet */ member115 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()116 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet()117 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet()118 (size_t)dinfo->bytesinpkt) in flush_packet()120 dinfo->bytesinpkt = 0; in flush_packet()127 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \128 if ((dinfo)->bytesinpkt >= 255) \200 dinfo->bytesinpkt = 0; in compress_init()