Lines Matching refs:pred
43 exists(int op, char* pred, register char* args) in exists() argument
65 error(1, "%s: \"...\" or <...> argument expected", pred); in exists()
78 message((-2, "%s: %s found", pred, pp.path)); in exists()
84 if (c) error(1, "%s: \"...\" arguments expected", pred); in exists()
86 message((-2, "%s: %s not found", pred, file)); in exists()
109 compare(char* pred, char* args, int match) in compare() argument
142 error(2, "%s: 2 arguments expected", pred); in compare()
161 static char pred[MAXID + 1]; in predicate() local
183 strcpy(pred, pp.token); in predicate()
197 error(1, "%s: predicate argument expected", pred); in predicate()
198 if (pp.macref) pprefmac(pred, REF_IF); in predicate()
207 debug((-6, "pred=%s args=%s", pred, args)); in predicate()
214 error(1, "%s(%s): non-standard predicate test", pred, args); in predicate()
220 if (type != T_ID) error(1, "%s: identifier argument expected", pred); in predicate()
234 return exists(index, pred, args); in predicate()
237 return compare(pred, args, index == X_MATCH); in predicate()
239 if (type != T_ID) error(1, "%s: identifier argument expected", pred); in predicate()
245 error(2, "%s invalid in #%s expressions", pred, dirname(IF)); in predicate()
248 …if (warn && !(pp.mode & HOSTED) && (sym = ppsymref(pp.symtab, pred)) && (sym->flags & SYM_PREDICAT… in predicate()
249 error(1, "use #%s(%s) to disambiguate", pred, args); in predicate()
250 if (p = (struct pplist*)hashget(pp.prdtab, pred)) in predicate()