Home | History | Annotate | Download | only in tests

Lines Matching defs:role

189 	role_datum_t *role;
192 role = hashtab_search(decl->p_roles.table, id);
194 role = hashtab_search(p->p_roles.table, id);
196 if (!role)
197 printf("role %s can't be found! \n", id);
199 CU_ASSERT_FATAL(role != NULL);
201 ebitmap_for_each_bit(&role->types.types, tnode, i) {
218 printf("\nrole %s has %d types, %d expected\n", p->sym_val_to_name[SYM_ROLES][role->s.value - 1], found, len);
220 CU_ASSERT(role->types.negset.highbit == 0);
221 CU_ASSERT(role->types.flags == flags);
223 return role;