Searched defs:gz (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/boot/lib/libz/
H A Dzopen.c41 gzFile gz = gzopen(fname, mode); local
42 if(gz == NULL)
46 return (funopen(gz, xgzread, NULL, xgzseek, xgzclose));
48 return (funopen(gz, NULL, xgzwrite, xgzseek, xgzclose));
H A Dgzlib.c292 gzFile gz; local
301 gz = gz_open(path, fd, mode);
303 return gz;
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c191 * if gz is true, include ".gz" extension
196 kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz) argument
378 if (gz) {
380 fn_puts(dst, "(\\.gz){0,1}");
382 fn_puts(dst, ".gz");
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c49 # define GZ_SUFFIX "-gz"
53 # define GZ_SUFFIX "-gz"
131 # define GZ_SUFFIX ".gz"
146 /* for Z_SOLO, create simplified gz* functions using deflate and inflate */
201 gzFile gz; local
204 gz = malloc(sizeof(struct gzFile_s));
205 if (gz == NULL)
207 gz->write = strchr(mode, 'w') != NULL;
208 gz->strm.zalloc = myalloc;
209 gz
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dread.c612 gzFile gz; local
643 if ((gz = gzdopen(fd, "rb")) == NULL)
646 gz = NULL;
667 gzread(gz, fb->buf + (int)off, fb->sz - off) :
787 curp->gzip = (cp != NULL && ! strcmp(cp + 1, "gz"));
796 * already end in .gz, try appending .gz.
800 mandoc_asprintf(&cp, "%s.gz", file);
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c1841 char *result, *cp, *gz; local
1857 /* also check for gz file */
1858 (void) asprintf(&gz, "%s.gz", result);
1859 if (gz != NULL) {
1860 int res = stat(gz, &st);
1861 free(gz);
1883 char *gz; local
1886 /* also check for gz file */
1887 (void) asprintf(&gz, "
[all...]

Completed in 371 milliseconds