Lines Matching refs:name
70 char *name; in count_implicit_rule_limits() local
77 name = 0; 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()
124 if (name != 0) in count_implicit_rule_limits()
125 free (name); in count_implicit_rule_limits()
126 namelen = p - dep->name; in count_implicit_rule_limits()
127 name = (char *) xmalloc (namelen + 1); 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()
150 if (name != 0) in count_implicit_rule_limits()
151 free (name); in count_implicit_rule_limits()
205 deps->name = depname; in convert_suffix_rule()
427 dep->name = 0; /* Make sure free_dep does not free name. */ in freerule()