Searched refs:bytesinpkt (Results 1 – 3 of 3) sorted by relevance
67 int bytesinpkt; /* # of bytes in current packet */ member87 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()88 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet()89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet()90 (size_t)dinfo->bytesinpkt) in flush_packet()92 dinfo->bytesinpkt = 0; in flush_packet()99 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \100 if ((dinfo)->bytesinpkt >= 255) \156 dinfo->bytesinpkt = 0; in compress_init()
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()