Lines Matching refs:old
526 uncompressgzipped(const unsigned char *old, unsigned char **newch, in uncompressgzipped() argument
529 unsigned char flg = old[3]; in uncompressgzipped()
535 data_start += 2 + old[data_start] + old[data_start + 1] * 256; in uncompressgzipped()
538 while(data_start < *n && old[data_start]) in uncompressgzipped()
543 while(data_start < *n && old[data_start]) in uncompressgzipped()
554 old += data_start; in uncompressgzipped()
555 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
561 uncompresszlib(const unsigned char *old, unsigned char **newch, in uncompresszlib() argument
570 z.next_in = CCAST(Bytef *, old); in uncompresszlib()
605 uncompressbzlib(const unsigned char *old, unsigned char **newch, in uncompressbzlib() argument
619 bz.next_in = CCAST(char *, RCAST(const char *, old)); in uncompressbzlib()
648 uncompressxzlib(const unsigned char *old, unsigned char **newch, in uncompressxzlib() argument
662 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib()
737 writechild(int fd, const void *old, size_t n) in writechild() argument
752 if (swrite(fd, old, n) != CAST(ssize_t, n)) { in writechild()
814 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, in uncompressbuf() argument
827 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf()
829 return uncompresszlib(old, newch, bytes_max, n, 1); in uncompressbuf()
833 return uncompressbzlib(old, newch, bytes_max, n); in uncompressbuf()
838 return uncompressxzlib(old, newch, bytes_max, n); in uncompressbuf()
925 writepid = writechild(fdp[STDIN_FILENO][1], old, *n); in uncompressbuf()