Lines Matching defs:buf
415 unsigned char* buf;
430 buf = (unsigned char*)ALLOC(BUFREADCOMMENT+4);
431 if (buf==NULL)
451 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize)
455 if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) &&
456 ((*(buf+i+2))==0x05) && ((*(buf+i+3))==0x06))
465 TRYFREE(buf);
481 unsigned char* buf;
498 buf = (unsigned char*)ALLOC(BUFREADCOMMENT+4);
499 if (buf==NULL)
519 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize)
523 if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) &&
524 ((*(buf+i+2))==0x06) && ((*(buf+i+3))==0x07))
533 TRYFREE(buf);
1676 buf contain buffer where data must be copied
1677 len the size of buf.
1684 extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len)
1704 pfile_in_zip_read_info->stream.next_out = (Bytef*)buf;
1949 if buf==NULL, it return the size of the local extra field that can be read
1951 if buf!=NULL, len is the size of the buffer, the extra header is copied in
1952 buf.
1953 the return value is the number of bytes copied in buf, or (if <0)
1956 extern int ZEXPORT unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len)
1974 if (buf==NULL)
1994 buf,read_now)!=read_now)