Lines Matching refs:rawbuf
99 static int partflush OF((__GPRO__ uch *rawbuf, ulg size, int unshrink));
720 int flush(__G__ rawbuf, size, unshrink)
722 uch *rawbuf;
734 ret = partflush(__G__ rawbuf, 0x8000L, unshrink);
738 rawbuf += (unsigned)0x8000;
740 return partflush(__G__ rawbuf, size, unshrink);
748 static int partflush(__G__ rawbuf, size, unshrink)
750 uch *rawbuf; /* cannot be ZCONST, gets passed to (*G.message)() */
768 G.crc32val = crc32(G.crc32val, rawbuf, (extent)size);
801 writeToMemory(__G__ rawbuf, (extent)size);
804 if (!uO.cflag && WriteError(rawbuf, size, G.outfile))
806 else if (uO.cflag && (*G.message)((zvoid *)&G, rawbuf, size, 0))
846 p = rawbuf;
848 while (p < rawbuf+(unsigned)size) {
854 if (p == rawbuf+(unsigned)size-1) { /* last char */
875 extent remaining = rawbuf+(unsigned)size-p;
949 p = rawbuf;
953 for (q = transbuf; p < rawbuf+(unsigned)size; ++p) {
956 if (p == rawbuf+(unsigned)size-1) /* last char in buffer */
976 (unsigned)(p-rawbuf), (unsigned)(q-transbuf), size));
995 (unsigned)(p-rawbuf), (unsigned)(q-transbuf), size));