Lines Matching defs:cexp
230 const constraint_expr_t *cexp;
243 for (cexp = cons->expr; cexp; cexp = cexp->next) {
244 if (cexp->expr_type == CEXPR_NAMES) {
245 if (cexp->attr & CEXPR_XTARGET && nperms != 0)
247 if (!(cexp->attr & CEXPR_TYPE)) {
248 if (validate_empty_type_set(cexp->type_names))
252 switch (cexp->op) {
260 switch (cexp->attr) {
264 if (validate_ebitmap(&cexp->names, &flavors[SYM_USERS]))
270 if (validate_ebitmap(&cexp->names, &flavors[SYM_ROLES]))
276 if (validate_ebitmap(&cexp->names, &flavors[SYM_TYPES]))
278 if (validate_type_set(cexp->type_names, &flavors[SYM_TYPES]))
284 } else if (cexp->expr_type == CEXPR_ATTR) {
285 if (!ebitmap_is_empty(&cexp->names))
287 if (validate_empty_type_set(cexp->type_names))
290 switch (cexp->op) {
297 if ((cexp->attr & CEXPR_USER) || (cexp->attr & CEXPR_TYPE))
304 switch (cexp->attr) {
319 switch (cexp->expr_type) {
328 if (cexp->op != 0)
330 if (cexp->attr != 0)
332 if (!ebitmap_is_empty(&cexp->names))
334 if (validate_empty_type_set(cexp->type_names))