Lines Matching refs:in_name
86 char *in_name, *out_name; in do_gunzip() local
93 in_name = strdup(arg); in do_gunzip()
99 in_name = strdup("-"); in do_gunzip()
108 both_files = strcmp(in_name, "-") && strcmp(out_name, "-"); in do_gunzip()
109 if (both_files) xstat(in_name, &sb); in do_gunzip()
130 if (!(toys.optflags&(FLAG_c|FLAG_k))) unlink(in_name); in do_gunzip()
131 free(in_name); in do_gunzip()
135 static void do_gzip(int in_fd, char *in_name) in do_gzip() argument
144 out_name = (toys.optflags&FLAG_c) ? strdup("-") : xmprintf("%s.gz", in_name); in do_gzip()
145 both_files = strcmp(in_name, "-") && strcmp(out_name, "-"); in do_gzip()
146 if (both_files) xstat(in_name, &sb); in do_gzip()
167 if (!(toys.optflags&(FLAG_c|FLAG_k))) unlink(in_name); in do_gzip()