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.cc913 size_t scope_index = GetConstantPoolEntry(scope); in CreateCatchContext() local
914 OutputCreateCatchContext(exception, scope_index); in CreateCatchContext()
920 size_t scope_index = GetConstantPoolEntry(scope); in CreateFunctionContext() local
921 OutputCreateFunctionContext(scope_index, slots); in CreateFunctionContext()
927 size_t scope_index = GetConstantPoolEntry(scope); in CreateEvalContext() local
928 OutputCreateEvalContext(scope_index, slots); in CreateEvalContext()
934 size_t scope_index = GetConstantPoolEntry(scope); in CreateWithContext() local
935 OutputCreateWithContext(object, scope_index); in CreateWithContext()
/external/selinux/libsepol/src/
Dpolicydb.c3717 static int scope_index_read(scope_index_t * scope_index, in scope_index_read() argument
3725 if (ebitmap_read(scope_index->scope + i, fp) < 0) { in scope_index_read()
3732 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3733 if (scope_index->class_perms_len == 0) { in scope_index_read()
3734 scope_index->class_perms_map = NULL; in scope_index_read()
3737 if ((scope_index->class_perms_map = in scope_index_read()
3738 calloc(scope_index->class_perms_len, in scope_index_read()
3739 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()
3742 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
3743 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.c3584 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