Lines Matching refs:dest_role
207 role_datum_t *role = NULL, *dest_role = NULL;
247 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id);
248 if (dest_role == NULL) {
249 if ((dest_role =
250 (role_datum_t *) malloc(sizeof(*dest_role))) ==
256 role_datum_init(dest_role);
257 dest_role->s.value = value;
258 dest_role->flavor = isattr ? ROLE_ATTRIB : ROLE_ROLE;
259 if (role_implicit_bounds(roles_tab, dest_id, dest_role)) {
261 role_datum_destroy(dest_role);
262 free(dest_role);
265 if (hashtab_insert(roles_tab, dest_id, dest_role)) {
268 role_datum_destroy(dest_role);
269 free(dest_role);
293 (&dest_role->dominates, role->s.value - 1, 1)) {
297 return dest_role;
300 return dest_role; /* role already declared for this block */