Lines Matching refs:scope
214 scope_datum_t *scope = NULL;
227 scope =
230 if (scope == NULL) {
234 if (scope->scope == SCOPE_DECL) {
563 scope_datum_t *scope;
604 /* Get the scope info for this boolean to see if this is the declaration,
606 scope = hashtab_search(state->cur->policy->p_bools_scope.table, id);
607 if (!scope)
609 if (scope->scope == SCOPE_DECL) {
630 scope_datum_t *scope;
636 scope =
638 if (!scope)
640 if (scope->scope == SCOPE_DECL) {
647 if (scope->scope == SCOPE_REQ) {
668 scope_datum_t *scope;
674 scope =
676 if (!scope)
678 if (scope->scope == SCOPE_DECL) {
685 if (scope->scope == SCOPE_REQ) {
1609 ebitmap_t *srcmap = src->scope + i;
1610 ebitmap_t *destmap = dest->scope + i;
1696 /* then copy required and declared scope indices here */
1774 scope_datum_t *scope, *base_scope;
1779 scope = (scope_datum_t *) datum;
1781 /* check if the base already has a scope entry */
1782 base_scope = hashtab_search(state->base->scope[symbol_num].table, id);
1794 ret = hashtab_insert(state->base->scope[symbol_num].table,
1802 new_scope->scope = SCOPE_REQ; /* this is reset further down */
1805 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) {
1808 base_scope->scope = SCOPE_DECL;
1812 for (i = 0; i < scope->decl_ids_len; i++) {
1813 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1819 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) {
1822 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) {
1824 for (i = 0; i < scope->decl_ids_len; i++) {
1825 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1842 for (i = 0; i < scope->decl_ids_len; i++) {
1843 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1885 (module->policy->scope[i].table, scope_copy_callback,
1945 bitmap = &decl->required.scope[i];
1951 /* check base's scope table */
1971 scope_datum_t *scope;
1979 scope =
1982 if (scope == NULL) {
1984 "Could not find scope information for class %s",