Home
last modified time | relevance | path

Searched refs:rawbuf (Results 1 – 5 of 5) sorted by relevance

/haiku/src/bin/unzip/
H A Dfunzip.c174 static int partflush OF((uch *rawbuf, unsigned w));
248 static int partflush(rawbuf, w) in partflush() argument
249 uch *rawbuf; /* start of buffer area to flush */ in partflush()
252 G.crc32val = crc32(G.crc32val, rawbuf, (extent)w);
253 if (fwrite((char *)rawbuf,1,(extent)w,out) != (extent)w && !PIPE_ERROR)
263 uch *rawbuf; local
270 rawbuf = slide;
272 ret = partflush(rawbuf, 0x8000);
276 rawbuf += (unsigned)0x8000;
278 return partflush(rawbuf, (extent)w);
H A Dfileio.c99 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);
[all …]
H A Dapi.c396 int writeToMemory(__GPRO__ ZCONST uch *rawbuf, extent size) in writeToMemory() argument
398 if ((uch *)rawbuf != G.redirect_pointer) in writeToMemory()
399 memcpy(G.redirect_pointer, rawbuf, size); in writeToMemory()
H A Dextract.c2024 int memflush(__G__ rawbuf, size)
2026 ZCONST uch *rawbuf;
2036 memcpy((char *)G.outbufptr, (char *)rawbuf, (extent)size);
H A Dunzpriv.h1840 int memflush OF((__GPRO__ ZCONST uch *rawbuf, ulg size));
1887 int writeToMemory OF((__GPRO__ ZCONST uch *rawbuf,