Searched refs:INBUFSIZ (Results 1 - 7 of 7) sorted by relevance

/haiku/src/bin/unzip/
H A Dprocess.c182 G.inbuf = (uch *)malloc(INBUFSIZ + 4); /* 4 extra for hold[] (below) */
190 G.hold = G.inbuf + INBUFSIZ; /* to check for boundary-spanning sigs */
906 if (G.ziplen <= INBUFSIZ) {
924 Zipfile is longer than INBUFSIZ: may need to loop. Start with short
929 if ((tail_len = G.ziplen % INBUFSIZ) > ECREC_SIZE) {
963 numblks = (int)((searchlen - tail_len + (INBUFSIZ-1)) / INBUFSIZ);
967 G.cur_zipfile_bufstart -= INBUFSIZ;
969 if ((G.incnt = read(G.zipfd,(char *)G.inbuf,INBUFSIZ))
970 != INBUFSIZ)
[all...]
H A Dfunzip.c199 if ((G.incnt = fread((char *)G.inbuf, 1, INBUFSIZ, G.in)) <= 0)
481 if ((G.inbuf = (uch *)malloc(INBUFSIZ)) == (uch *)NULL)
H A Dfileio.c526 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0)
536 G.cur_zipfile_bufstart += INBUFSIZ;
569 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) == 0) {
585 G.cur_zipfile_bufstart += INBUFSIZ; /* always starts on block bndry */
623 (G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) <= 0)
625 G.cur_zipfile_bufstart += INBUFSIZ; /* always starts on a block boundary */
677 LONGINT inbuf_offset = request % INBUFSIZ;
699 if ((G.incnt = read(G.zipfd, (char *)G.inbuf, INBUFSIZ)) <= 0)
H A Dextract.c516 read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */
865 inbuf_offset = request % INBUFSIZ;
883 inbuf_offset = request % INBUFSIZ;
915 if ((G.incnt = read(G.zipfd,(char *)G.inbuf,INBUFSIZ)) <= 0)
H A Dunzpriv.h839 #ifndef INBUFSIZ
841 # define INBUFSIZ 2048 /* works for MS-DOS small model */ macro
843 # define INBUFSIZ 8192 /* larger buffers for real OSes */ macro
899 # define OUTBUFSIZ INBUFSIZ
H A Dinflate.c468 G.incnt = (G.inbuf + INBUFSIZ) - G.inptr; /* reset for other routines */
H A Dinflatef.c226 G.incnt = (G.inbuf + INBUFSIZ) - G.inptr; /* reset for other routines */

Completed in 139 milliseconds