Searched refs:scope_index (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 622 static int validate_scope_index(sepol_handle_t *handle, scope_index_t *scope_index, validate_t flav… in validate_scope_index() argument 624 if (validate_ebitmap(&scope_index->p_classes_scope, &flavors[SYM_CLASSES])) in validate_scope_index() 626 if (validate_ebitmap(&scope_index->p_roles_scope, &flavors[SYM_ROLES])) in validate_scope_index() 628 if (validate_ebitmap(&scope_index->p_types_scope, &flavors[SYM_TYPES])) in validate_scope_index() 630 if (validate_ebitmap(&scope_index->p_users_scope, &flavors[SYM_USERS])) in validate_scope_index() 632 if (validate_ebitmap(&scope_index->p_bools_scope, &flavors[SYM_BOOLS])) in validate_scope_index() 634 if (validate_ebitmap(&scope_index->p_sens_scope, &flavors[SYM_LEVELS])) in validate_scope_index() 636 if (validate_ebitmap(&scope_index->p_cat_scope, &flavors[SYM_CATS])) in validate_scope_index() 638 if (scope_index->class_perms_len > flavors[SYM_CLASSES].nprim) in validate_scope_index()
|
D | policydb.c | 3913 static int scope_index_read(scope_index_t * scope_index, in scope_index_read() argument 3921 if (ebitmap_read(scope_index->scope + i, fp) < 0) { in scope_index_read() 3928 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read() 3929 if (scope_index->class_perms_len == 0) { in scope_index_read() 3930 scope_index->class_perms_map = NULL; in scope_index_read() 3933 if ((scope_index->class_perms_map = in scope_index_read() 3934 calloc(scope_index->class_perms_len, in scope_index_read() 3935 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read() 3938 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read() 3939 if (ebitmap_read(scope_index->class_perms_map + i, fp) < 0) { in scope_index_read()
|
D | write.c | 2000 static int scope_index_write(scope_index_t * scope_index, in scope_index_write() argument 2007 if (ebitmap_write(scope_index->scope + i, fp) == -1) { in scope_index_write() 2011 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write() 2015 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write() 2016 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
|
D | module_to_cil.c | 3557 static int is_scope_superset(struct scope_index *sup, struct scope_index *sub) in is_scope_superset()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_type.cpp | 573 const auto scope_index = 2; in ValidateTypeCooperativeMatrixNV() local 574 const auto scope_id = inst->GetOperandAs<uint32_t>(scope_index); in ValidateTypeCooperativeMatrixNV()
|
/third_party/spirv-tools/source/val/ |
D | validate_type.cpp | 573 const auto scope_index = 2; in ValidateTypeCooperativeMatrixNV() local 574 const auto scope_id = inst->GetOperandAs<uint32_t>(scope_index); in ValidateTypeCooperativeMatrixNV()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_type.cpp | 573 const auto scope_index = 2; in ValidateTypeCooperativeMatrixNV() local 574 const auto scope_id = inst->GetOperandAs<uint32_t>(scope_index); in ValidateTypeCooperativeMatrixNV()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 429 typedef struct scope_index { struct
|