Home
last modified time | relevance | path

Searched refs:sym_index (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil.c802 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index() argument
810 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
813 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
816 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
819 *sym_index = CIL_SYM_BOOLS; in cil_flavor_to_symtab_index()
822 *sym_index = CIL_SYM_TUNABLES; in cil_flavor_to_symtab_index()
826 *sym_index = CIL_SYM_PERMS; in cil_flavor_to_symtab_index()
829 *sym_index = CIL_SYM_COMMONS; in cil_flavor_to_symtab_index()
833 *sym_index = CIL_SYM_CLASSES; in cil_flavor_to_symtab_index()
837 *sym_index = CIL_SYM_CLASSPERMSETS; in cil_flavor_to_symtab_index()
[all …]
Dcil_resolve_ast.c76 enum cil_sym_index sym_index; in __cil_insert_name() local
79 cil_flavor_to_symtab_index(CIL_NAME, &sym_index); in __cil_insert_name()
80 symtab = &((struct cil_root *)db->ast->root->data)->symtab[sym_index]; in __cil_insert_name()
498 enum cil_sym_index sym_index; in cil_resolve_aliasactual() local
504 rc = cil_flavor_to_symtab_index(flavor, &sym_index); in cil_resolve_aliasactual()
509 …rc = cil_resolve_name_keep_aliases(current, aliasactual->alias_str, sym_index, extra_args, &alias_… in cil_resolve_aliasactual()
519 rc = cil_resolve_name(current, aliasactual->actual_str, sym_index, extra_args, &actual_datum); in cil_resolve_aliasactual()
3029 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in cil_resolve_call2() local
3050 sym_index = CIL_SYM_NAMES; in cil_resolve_call2()
3057 sym_index = CIL_SYM_LEVELS; in cil_resolve_call2()
[all …]
Dcil_resolve_ast.h94 int cil_resolve_name_call_args(struct cil_call *call, char *name, enum cil_sym_index sym_index, str…
101 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void…
102 …_aliases(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void *extra_arg…
Dcil_copy_ast.c1761 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in __cil_copy_node_helper() local
2045 rc = cil_flavor_to_symtab_index(orig->flavor, &sym_index); in __cil_copy_node_helper()
2050 rc = cil_get_symtab(parent, &symtab, sym_index); in __cil_copy_node_helper()
Dcil_internal.h984 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
Dcil_build_ast.c3055 enum cil_sym_index sym_index; in cil_gen_alias() local
3077 rc = cil_flavor_to_symtab_index(flavor, &sym_index); in cil_gen_alias()
3082 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)alias, (hashtab_key_t)key, sym_index, fl… in cil_gen_alias()
/external/selinux/libsepol/src/
Dmodule_to_cil.c167 int sym_index; member
3547 …rc = func_to_cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, dat… in additive_scopes_to_cil_map()
3568 for (args.sym_index = 0; args.sym_index < SYM_NUM; args.sym_index++) { in additive_scopes_to_cil()
3569 if (func_to_cil[args.sym_index] == NULL) { in additive_scopes_to_cil()
3572 rc = hashtab_map(decl->symtab[args.sym_index].table, additive_scopes_to_cil_map, &args); in additive_scopes_to_cil()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dsymbols.c704 unsigned int sym_index; in AddSymbolsToKey() local
707 sym_index = darray_item(value->keysym_list.symsMapIndex, i); in AddSymbolsToKey()
714 sym_index + j); in AddSymbolsToKey()