Lines Matching defs:pref
185 char *pref; /* Prefix from which file was formed */
248 * See if pref is a prefix of str.
251 * pref possible prefix
262 SuffStrIsPrefix(const char *pref, const char *str)
264 while (*str && *pref == *str) {
265 pref++;
269 return (*pref ? NULL : str);
1208 s2->file = bmake_strdup(targ->pref);
1209 s2->pref = targ->pref;
1226 s2->file = str_concat(targ->pref, s->name, 0);
1227 s2->pref = targ->pref;
1307 free(s->pref);
1437 prefLen = strlen(targ->pref);
1464 if (strncmp(cp, targ->pref, prefLen) != 0)
1493 ret->pref = targ->pref;
2059 * but different suff and pref fields */
2062 char *pref; /* Prefix to use */
2131 targ->pref = bmake_malloc(prefLen + 1);
2132 memcpy(targ->pref, sopref, prefLen);
2133 targ->pref[prefLen] = '\0';
2167 targ->pref = bmake_strdup(sopref);
2219 pref = (targ != NULL) ? targ->pref : gn->name;
2220 Var_Set(PREFIX, pref, gn, 0);
2377 Var_Set(PREFIX, targ->pref, targ->node, 0);