Lines Matching refs:path
87 local gzFile gz_open(path, fd, mode)
88 const char *path;
150 /* save the path name for error messages */
151 state->path = malloc(strlen(path) + 1);
152 if (state->path == NULL) {
156 strcpy(state->path, path);
160 open(path,
175 free(state->path);
196 gzFile ZEXPORT gzopen(path, mode)
197 const char *path;
200 return gz_open(path, -1, mode);
204 gzFile ZEXPORT gzopen64(path, mode)
205 const char *path;
208 return gz_open(path, -1, mode);
216 char *path; /* identifier for error messages */
219 if (fd == -1 || (path = malloc(7 + 3 * sizeof(int))) == NULL)
221 sprintf(path, "<fd:%d>", fd); /* for debugging */
222 gz = gz_open(path, fd, mode);
223 free(path);
508 /* construct error message with path */
509 if ((state->msg = malloc(strlen(state->path) + strlen(msg) + 3)) == NULL) {
514 strcpy(state->msg, state->path);