Home
last modified time | relevance | path

Searched refs:scope_index (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-array-builder.cc728 size_t scope_index = GetConstantPoolEntry(scope); in CreateCatchContext() local
729 OutputCreateCatchContext(exception, name_index, scope_index); in CreateCatchContext()
745 size_t scope_index = GetConstantPoolEntry(scope); in CreateWithContext() local
746 OutputCreateWithContext(object, scope_index); in CreateWithContext()
/external/selinux/libsepol/src/
Dpolicydb.c3706 static int scope_index_read(scope_index_t * scope_index, in scope_index_read() argument
3714 if (ebitmap_read(scope_index->scope + i, fp) < 0) { in scope_index_read()
3721 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3722 if (scope_index->class_perms_len == 0) { in scope_index_read()
3723 scope_index->class_perms_map = NULL; in scope_index_read()
3726 if ((scope_index->class_perms_map = in scope_index_read()
3727 calloc(scope_index->class_perms_len, in scope_index_read()
3728 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()
3731 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
3732 if (ebitmap_read(scope_index->class_perms_map + i, fp) < 0) { in scope_index_read()
Dwrite.c1902 static int scope_index_write(scope_index_t * scope_index, in scope_index_write() argument
1909 if (ebitmap_write(scope_index->scope + i, fp) == -1) { in scope_index_write()
1913 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1917 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
1918 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
Dmodule_to_cil.c3607 static int is_scope_superset(struct scope_index *sup, struct scope_index *sub) in is_scope_superset()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h427 typedef struct scope_index { struct