Lines Matching refs:dep
84 register struct dep *dep; in count_implicit_rule_limits() local
97 for (dep = rule->deps; dep != 0; dep = dep->next) in count_implicit_rule_limits()
99 unsigned int len = strlen (dep->name); in count_implicit_rule_limits()
102 char *p = strrchr (dep->name, ']'); in count_implicit_rule_limits()
105 p = strrchr (dep->name, ':'); in count_implicit_rule_limits()
106 p2 = p != 0 ? strchr (dep->name, '%') : 0; in count_implicit_rule_limits()
108 char *p = strrchr (dep->name, '/'); in count_implicit_rule_limits()
109 char *p2 = p != 0 ? strchr (dep->name, '%') : 0; in count_implicit_rule_limits()
120 if (p == dep->name) in count_implicit_rule_limits()
122 if (p - dep->name > namelen) in count_implicit_rule_limits()
126 namelen = p - dep->name; in count_implicit_rule_limits()
129 bcopy (dep->name, name, p - dep->name); in count_implicit_rule_limits()
130 name[p - dep->name] = '\0'; in count_implicit_rule_limits()
136 dep->changed = !dir_file_exists_p (name, ""); in count_implicit_rule_limits()
140 dep->changed = 0; in count_implicit_rule_limits()
165 struct dep *deps; in convert_suffix_rule()
218 register struct dep *d, *d2; in convert_to_pattern()
306 register struct dep *d, *d2; in new_pattern_rule()
386 ptr = p->dep; in install_pattern_rule()
387 r->deps = (struct dep *) multi_glob (parse_file_seq (&ptr, '\0', in install_pattern_rule()
388 sizeof (struct dep), 1), in install_pattern_rule()
389 sizeof (struct dep)); in install_pattern_rule()
414 register struct dep *dep; in freerule() local
419 dep = rule->deps; in freerule()
420 while (dep) in freerule()
422 struct dep *t; in freerule()
424 t = dep->next; in freerule()
427 dep->name = 0; /* Make sure free_dep does not free name. */ in freerule()
428 free_dep (dep); in freerule()
429 dep = t; in freerule()
473 int terminal, struct dep *deps, in create_pattern_rule()
521 register struct dep *d; in print_rule()