Lines Matching defs:pref
184 char *pref; /* Prefix from which file was formed */
247 * See if pref is a prefix of str.
250 * pref possible prefix
261 SuffStrIsPrefix(const char *pref, const char *str)
263 while (*str && *pref == *str) {
264 pref++;
268 return (*pref ? NULL : str);
1194 s2->file = bmake_strdup(targ->pref);
1195 s2->pref = targ->pref;
1212 s2->file = str_concat(targ->pref, s->name, 0);
1213 s2->pref = targ->pref;
1293 free(s->pref);
1423 prefLen = strlen(targ->pref);
1450 if (strncmp(cp, targ->pref, prefLen) != 0)
1479 ret->pref = targ->pref;
2024 * but different suff and pref fields */
2027 char *pref; /* Prefix to use */
2096 targ->pref = bmake_malloc(prefLen + 1);
2097 memcpy(targ->pref, sopref, prefLen);
2098 targ->pref[prefLen] = '\0';
2132 targ->pref = bmake_strdup(sopref);
2184 pref = (targ != NULL) ? targ->pref : gn->name;
2185 Var_Set(PREFIX, pref, gn, 0);
2342 Var_Set(PREFIX, targ->pref, targ->node, 0);