Searched refs:predicate (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c220 char *predicate; local
234 if (!(predicate = malloc(hintlen + predlen + 1))) {
239 (void) strcpy(predicate, "(service-type=");
240 (void) strcat(predicate, type_hint);
241 (void) strcat(predicate, ")");
243 predicate = "";
254 err = slp_packSrvRqst("service:service-agent", predicate, hp);
263 free(predicate);
/illumos-gate/usr/src/lib/libpp/common/
H A Dppexpr.c39 * exists predicate evaluation
105 * strcmp/match predicate evaluation
149 * #if predicate parse and evaluation
153 predicate(int warn) function
197 error(1, "%s: predicate argument expected", pred);
214 error(1, "%s(%s): non-standard predicate test", pred, args);
521 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "# must precede a predicate identifier";
524 n = predicate(0);
527 n = predicate(1);

Completed in 72 milliseconds