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

/external/toybox/toys/pending/
H A Dgzip.c23 files with the .gz suffix.
40 files without the .gz suffix.
79 gzFile gz; local
85 if (!(gz = gzdopen(dd ? in_fd : out_fd, b))) perror_exit("gzdopen");
87 while ((len = gzread(gz, toybuf, sizeof(toybuf))) > 0)
91 if (len != gzwrite(gz, toybuf, len)) break;
97 error_msg("%s%s: %s", "gz", dd ? "read" : "write", gzerror(gz, &len));
99 if (gzclose(gz) != Z_OK) perror_msg("gzclose"), err++;
119 // Are we reading file.gz t
[all...]
/external/python/cpython2/Modules/zlib/
H A Dgzlib.c289 gzFile gz; local
298 gz = gz_open(path, fd, mode);
300 return gz;
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...]
/external/python/cpython3/Modules/zlib/
H A Dgzlib.c291 gzFile gz; local
300 gz = gz_open(path, fd, mode);
302 return gz;
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...]
/external/zlib/src/
H A Dgzlib.c291 gzFile gz; local
300 gz = gz_open(path, fd, mode);
302 return gz;
/external/zlib/src/examples/
H A Dgzappend.c266 file gz; local
269 gz.name = name;
270 gz.fd = open(name, O_RDWR, 0);
271 if (gz.fd == -1) bye("cannot open ", name);
272 gz.buf = malloc(CHUNK);
273 if (gz.buf == NULL) bye("out of memory", "");
274 gz.size = LGCHUNK;
275 gz.left = 0;
278 gzheader(&gz);
291 lastoff = lseek(gz
[all...]
/external/zlib/src/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...]
/external/tensorflow/tensorflow/contrib/image/kernels/
H A Dsingle_image_random_dot_stereograms_ops.cc292 double zt, gz; local
306 gz = getZFromOutputPixel(x, y);
307 s = separation(gz);
315 zt = gz + 2 * (2 - mu * gz) * t / (mu * E2Epixels);

Completed in 1650 milliseconds