Lines Matching refs:name
68 static FILE_TIMESTAMP name_mtime PARAMS ((char *name));
231 file->name); in update_goal_chain()
356 fatal (NILF, msg_noparent, "", file->name, ""); in complain()
358 fatal (NILF, msg_parent, "", file->name, file->parent->name, ""); in complain()
362 error (NILF, msg_noparent, "*** ", file->name, "."); in complain()
364 error (NILF, msg_parent, "*** ", file->name, file->parent->name, "."); in complain()
442 file->name); in update_file_1()
485 file->name, d->file->name); in update_file_1()
625 _("Target `%s' not remade because of errors."), file->name); in update_file_1()
695 printf (fmt, dep_name (d), file->name); in update_file_1()
728 printf (_("No need to remake target `%s'"), file->name); in update_file_1()
729 if (!streq (file->name, file->hname)) in update_file_1()
743 file->name = file->hname; in update_file_1()
754 if (!streq(file->name, file->hname)) in update_file_1()
997 file->name, d->file->name); in check_dep()
1042 #define TOUCH_ERROR(call) return (perror_with_name (call, file->name), 1)
1048 message (0, "touch %s", file->name); in touch_file()
1051 if (ar_name (file->name)) in touch_file()
1052 return ar_touch (file->name); in touch_file()
1056 int fd = open (file->name, O_RDWR | O_CREAT, 0666); in touch_file()
1081 fd = open (file->name, O_RDWR | O_TRUNC, 0666); in touch_file()
1151 if (ar_name (file->name)) in f_mtime()
1161 ar_parse_name (file->name, &arname, &memname); in f_mtime()
1178 char *name; in f_mtime() local
1193 name = (char *) xmalloc (arlen + 1 + memlen + 2); in f_mtime()
1194 bcopy (arname, name, arlen); in f_mtime()
1195 name[arlen] = '('; in f_mtime()
1196 bcopy (memname, name + arlen + 1, memlen); in f_mtime()
1197 name[arlen + 1 + memlen] = ')'; in f_mtime()
1198 name[arlen + 1 + memlen + 1] = '\0'; in f_mtime()
1202 if (arfile->name == arfile->hname) in f_mtime()
1203 rename_file (file, name); in f_mtime()
1205 rehash_file (file, name); in f_mtime()
1227 mtime = name_mtime (file->name); in f_mtime()
1232 char *name = file->name; in f_mtime() local
1233 if (vpath_search (&name, &mtime) in f_mtime()
1235 || (name[0] == '-' && name[1] == 'l' in f_mtime()
1236 && library_search (&name, &mtime))) in f_mtime()
1246 if (gpath_search (name, strlen(name) - strlen(file->name) - 1)) in f_mtime()
1248 rename_file (file, name); in f_mtime()
1253 rehash_file (file, name); in f_mtime()
1258 mtime = name_mtime (name); in f_mtime()
1307 file->name); in f_mtime()
1314 file->name, from_now); in f_mtime()
1355 name_mtime (char *name) in name_mtime() argument
1361 EINTRLOOP (e, stat (name, &st)); in name_mtime()
1363 mtime = FILE_TIMESTAMP_STAT_MODTIME (name, st); in name_mtime()
1368 perror_with_name ("stat: ", name); in name_mtime()
1389 strcpy (lpath, name); in name_mtime()