HomeSort by relevance Sort by last modified time
    Searched refs:SYM_TYPES (Results 1 - 13 of 13) sorted by null

  /external/libsepol/tests/
test-linker-types.c 136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
154 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1);
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o6_b"))->decl_id;
158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1)
    [all...]
test-linker-roles.c 81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
90 decl = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b");
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
121 decl = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1");
134 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
135 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
146 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
147 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id;
158 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id
    [all...]
test-linker-cond-map.c 97 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b");
107 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b");
125 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1");
135 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1");
145 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2");
test-common.c 94 CU_ASSERT(p->sym_val_to_name[SYM_TYPES][d->s.value - 1] == (char *)key);
205 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) {
211 printf("\nRole %s had type %s not in types array\n", id, p->sym_val_to_name[SYM_TYPES][i]);
248 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) {
254 printf("\nattr %s had type %s not in types array\n", id, p->sym_val_to_name[SYM_TYPES][i]);
test-deps.c 173 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type);
252 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type);
  /external/libsepol/include/sepol/policydb/
policydb.h 349 #define SYM_TYPES 3
385 #define p_types_scope scope[SYM_TYPES]
479 #define p_types symtab[SYM_TYPES]
490 #define p_type_val_to_name sym_val_to_name[SYM_TYPES]
  /external/checkpolicy/test/
dispol.c 338 display_id(p, fp, SYM_TYPES, i - 1, "");
351 display_id(p, fp, SYM_TYPES, rt->type - 1, "");
364 display_id(p, fp, SYM_TYPES, ft->stype - 1, "");
365 display_id(p, fp, SYM_TYPES, ft->ttype - 1, "");
367 display_id(p, fp, SYM_TYPES, ft->otype - 1, "");
dismod.c 159 display_id(policy, fp, SYM_TYPES, i, "");
166 display_id(policy, fp, SYM_TYPES, i, "-");
284 display_id(policy, fp, SYM_TYPES, avrule->perms->data - 1, "");
302 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, "");
321 display_id(&policydb, fp, SYM_TYPES, i, "");
327 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, "");
491 display_id(p, fp, SYM_TYPES, tr->otype - 1, "");
  /external/libsepol/src/
link.c 514 state->cur->map[SYM_TYPES][type->s.value - 1] = base_type->s.value;
755 bounds_val = state->cur->map[SYM_TYPES][type->bounds - 1];
911 mod->map[SYM_TYPES][primval - 1]);
912 assert(mod->map[SYM_TYPES][type->s.value - 1] ==
930 mod->map[SYM_TYPES][type->s.value - 1] = base_type->primary;
951 assert(mod->map[SYM_TYPES][i]);
953 (&dst->types, mod->map[SYM_TYPES][i] - 1, 1)) {
960 assert(mod->map[SYM_TYPES][i]);
962 (&dst->negset, mod->map[SYM_TYPES][i] - 1, 1)) {
    [all...]
expand.c 91 if (!is_id_enabled(id, state->base, SYM_TYPES)) {
159 if (!is_id_enabled(id, state->base, SYM_TYPES)) {
521 if (!is_id_enabled((char *)key, state->base, SYM_TYPES))
632 state->base, SYM_TYPES)) {
    [all...]
write.c     [all...]
  /external/checkpolicy/
module_compiler.c 336 retval = declare_symbol(SYM_TYPES, id, typdatum, &value, &value);
651 if (symbol_type == SYM_TYPES) {
659 [SYM_TYPES].
956 require_symbol(SYM_TYPES, id, (hashtab_datum_t *) type,
    [all...]
policy_define.c 215 if (!is_id_in_scope(SYM_TYPES, type)) {
1122 ret = declare_symbol(SYM_TYPES, id, aliasdatum,
1145 aliasdatum = hashtab_search(policydbp->symtab[SYM_TYPES].table, id);
1183 if (!is_id_in_scope(SYM_TYPES, id)) {
1215 if (!is_id_in_scope(SYM_TYPES, id)) {
1228 if (!is_id_in_scope(SYM_TYPES, id)) {
1265 if (!is_id_in_scope(SYM_TYPES, bounds_id)) {
1276 if (!is_id_in_scope(SYM_TYPES, type_id)) {
1378 if (!is_id_in_scope(SYM_TYPES, id)) {
1451 if (!is_id_in_scope(SYM_TYPES, id))
    [all...]

Completed in 100 milliseconds