Home | History | Annotate | Download | only in src

Lines Matching refs:scope

242 	scope_datum_t *scope = NULL;
255 scope =
258 if (scope == NULL) {
262 if (scope->scope == SCOPE_DECL) {
598 scope_datum_t *scope;
639 /* Get the scope info for this boolean to see if this is the declaration,
641 scope = hashtab_search(state->cur->policy->p_bools_scope.table, id);
642 if (!scope)
644 if (scope->scope == SCOPE_DECL) {
665 scope_datum_t *scope;
671 scope =
673 if (!scope)
675 if (scope->scope == SCOPE_DECL) {
682 if (scope->scope == SCOPE_REQ) {
703 scope_datum_t *scope;
709 scope =
711 if (!scope)
713 if (scope->scope == SCOPE_DECL) {
720 if (scope->scope == SCOPE_REQ) {
1644 ebitmap_t *srcmap = src->scope + i;
1645 ebitmap_t *destmap = dest->scope + i;
1731 /* then copy required and declared scope indices here */
1811 scope_datum_t *scope, *base_scope;
1816 scope = (scope_datum_t *) datum;
1818 /* check if the base already has a scope entry */
1819 base_scope = hashtab_search(state->base->scope[symbol_num].table, id);
1831 ret = hashtab_insert(state->base->scope[symbol_num].table,
1839 new_scope->scope = SCOPE_REQ; /* this is reset further down */
1842 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) {
1845 base_scope->scope = SCOPE_DECL;
1849 for (i = 0; i < scope
1850 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1856 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) {
1859 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) {
1861 for (i = 0; i < scope->decl_ids_len; i++) {
1862 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1879 for (i = 0; i < scope->decl_ids_len; i++) {
1880 if (add_i_to_a(avdecl_map[scope->decl_ids[i]],
1922 (module->policy->scope[i].table, scope_copy_callback,
1982 bitmap = &decl->required.scope[i];
1988 /* check base's scope table */
2008 scope_datum_t *scope;
2016 scope =
2019 if (scope == NULL) {
2021 "Could not find scope information for class %s",