HomeSort by relevance Sort by last modified time
    Searched refs:p_types (Results 1 - 25 of 29) sorted by null

1 2

  /external/selinux/libsepol/tests/
test-expander-attr-map.c 93 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5"));
94 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_1_t"));
95 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_2_t"));
96 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8"));
97 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_1_t"));
98 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_2_t"));
99 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4"));
100 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_1_t"));
101 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_2_t"));
102 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_7"))
    [all...]
test-common.c 155 type = hashtab_search(p->p_types.table, id);
156 primary = hashtab_search(p->p_types.table, primary_id);
233 attr = hashtab_search(decl->p_types.table, id);
235 attr = hashtab_search(p->p_types.table, id);
test-linker-types.c 107 type = hashtab_search(p->p_types.table, id);
116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id);
  /art/runtime/mirror/
method_type.cc 48 mirror::ObjectArray<Class>* const p_types = GetPTypes(); member in class:art::mirror::mirror
49 const int32_t p_types_length = p_types->GetLength();
55 mirror::Class* klass = p_types->GetWithoutChecks(i);
64 mirror::ObjectArray<Class>* const p_types = GetPTypes(); member in class:art::mirror::mirror
65 const int32_t params_length = p_types->GetLength();
72 if (p_types->GetWithoutChecks(i) != target_p_types->GetWithoutChecks(i)) {
80 mirror::ObjectArray<Class>* const p_types = GetPTypes(); member in class:art::mirror::mirror
81 const int32_t params_length = p_types->GetLength();
96 if (!IsParameterTypeConvertible(p_types->GetWithoutChecks(i),
108 mirror::ObjectArray<Class>* const p_types = GetPTypes() member in class:art::mirror::mirror
    [all...]
emulated_stack_frame.cc 33 static void CalculateFrameAndReferencesSize(ObjPtr<mirror::ObjectArray<mirror::Class>> p_types,
38 const size_t length = p_types->GetLength();
42 ObjPtr<mirror::Class> type = p_types->GetWithoutChecks(i);
  /system/sepolicy/tools/sepolicy-analyze/
attribute.c 34 dat = hashtab_search(policydb->p_types.table, name);
71 return hashtab_map(policydb->p_types.table, print_attr, policydb);
typecmp.c 168 type_rules = malloc(sizeof(struct avtab_node) * policydb->p_types.nprim);
173 memset(type_rules, 0, sizeof(struct avtab_node) * policydb->p_types.nprim);
204 for (i = 0; i < policydb->p_types.nprim - 1; i++) {
213 for (j = i + 1; j < policydb->p_types.nprim; j++) {
neverallow.c 113 type = hashtab_search(policydb->p_types.table, id);
144 for (bit = 0; bit < policydb->p_types.nprim; bit++) {
163 for (bit = 0; bit < policydb->p_types.nprim; bit++) {
  /external/selinux/libsepol/src/
context.c 51 if (!c->type || c->type > p->p_types.nprim)
187 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
kernel_to_cil.c 1188 rc = strs_init(&strs, pdb->p_types.nprim);
1193 for (i=0; i < pdb->p_types.nprim; i++) {
1318 rc = strs_init(&strs, pdb->p_types.nprim);
1323 for (i=0; i < pdb->p_types.nprim; i++) {
1364 rc = strs_init(&strs, pdb->p_types.nprim);
1369 for (i=0; i < pdb->p_types.nprim; i++) {
1397 alias = hashtab_search(pdb->p_types.table, name);
1425 rc = strs_init(&strs, pdb->p_types.nprim);
1430 for (i=0; i < pdb->p_types.nprim; i++) {
1451 type = hashtab_search(pdb->p_types.table, child)
    [all...]
link.c 451 base_type = hashtab_search(state->base->p_types.table, id);
490 new_type->s.value = state->base->p_types.nprim + 1;
492 ret = hashtab_insert(state->base->p_types.table,
498 state->base->p_types.nprim++;
515 (state->dest_decl->p_types.table, new_id, new_type)) {
518 state->dest_decl->p_types.nprim++;
773 dest = hashtab_search(state->base->p_types.table, key);
880 target_type = hashtab_search(state->base->p_types.table, target_id);
895 base_type = hashtab_search(state->base->p_types.table, id);
908 new_type->s.value = state->base->p_types.nprim + 1
    [all...]
kernel_to_conf.c 1162 rc = strs_init(&strs, pdb->p_types.nprim);
1167 for (i=0; i < pdb->p_types.nprim; i++) {
1292 rc = strs_init(&strs, pdb->p_types.nprim);
1297 for (i=0; i < pdb->p_types.nprim; i++) {
1338 rc = strs_init(&strs, pdb->p_types.nprim);
1343 for (i=0; i < pdb->p_types.nprim; i++) {
1363 alias = hashtab_search(pdb->p_types.table, name);
1391 rc = strs_init(&strs, pdb->p_types.nprim);
1396 for (i=0; i < pdb->p_types.nprim; i++) {
1417 type = hashtab_search(pdb->p_types.table, child)
    [all...]
expand.c 116 new_type->s.value = ++state->out->p_types.nprim;
126 ret = hashtab_insert(state->out->p_types.table,
168 new_type = hashtab_search(state->out->p_types.table, id);
545 dest = hashtab_search(state->out->p_types.table, (char *)key);
682 ret = hashtab_insert(state->out->p_types.table,
    [all...]
policydb.c 985 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim)
1157 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim,
1187 calloc(p->p_types.nprim, sizeof(type_datum_t *));
    [all...]
hierarchy.c 500 rc = hashtab_map(p->p_types.table, bounds_check_type_callback, &args);
660 rc = hashtab_map(p->p_types.table, hierarchy_add_type_callback, &args);
  /system/sepolicy/tools/
sepolicy-check.c 131 src = hashtab_search(policy->p_types.table, s);
138 tgt = hashtab_search(policy->p_types.table, t);
checkfc.c 74 struct type_datum *attr = hashtab_search(policydb->p_types.table, (char *)attr_name);
112 struct type_datum *type = hashtab_search(policydb->p_types.table, (char *)type_name);
  /system/sepolicy/tests/
sepol_wrap.cpp 43 out->length = db->p_types.nprim;
51 out->d = static_cast<type_datum *>(hashtab_search(db->p_types.table, type));
  /external/selinux/checkpolicy/
checkpolicy.c 237 type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.nprim);
243 sizeof(struct avtab_node) * policydb.p_types.nprim);
250 for (i = 0; i < policydb.p_types.nprim - 1; i++) {
253 for (j = i + 1; j < policydb.p_types.nprim; j++) {
policy_define.c 229 t = hashtab_search(policydbp->p_types.table, type);
1173 attr = hashtab_search(policydbp->p_types.table, id);
1212 attr = hashtab_search(policydbp->p_types.table,
1311 t = hashtab_search(policydbp->p_types.table, id);
1344 t = hashtab_search(policydbp->p_types.table, id);
1358 attr = hashtab_search(policydbp->p_types.table, id);
1395 bounds = hashtab_search(policydbp->p_types.table, bounds_id);
1406 type = hashtab_search(policydbp->p_types.table, type_id);
1508 attr = hashtab_search(policydbp->p_types.table, id);
1583 t = hashtab_search(policydbp->p_types.table, id)
    [all...]
module_compiler.c 627 types_tab = policydbp->p_types.table;
629 types_tab = stack_top->decl->p_types.table;
    [all...]
  /external/selinux/python/audit2allow/
sepolgen-ifgen-attr-helper.c 223 if (hashtab_map(p->p_types.table, attribute_callback, &cb_data)) {
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 512 #define p_types symtab[SYM_TYPES] macro
  /external/selinux/libsepol/cil/src/
cil_binary.c 108 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn);
601 pdb->type_attr_map = cil_malloc(pdb->p_types.nprim * sizeof(ebitmap_t));
602 pdb->attr_type_map = cil_malloc(pdb->p_types.nprim * sizeof(ebitmap_t));
605 for (i = 0; i < pdb->p_types.nprim; i++) {
    [all...]
  /external/selinux/checkpolicy/test/
dismod.c 336 if (hashtab_map(p->p_types.table, display_type_callback, fp))

Completed in 378 milliseconds

1 2