Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil.c1019 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index() argument
1027 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
1030 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
1033 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
1036 *sym_index = CIL_SYM_BOOLS; in cil_flavor_to_symtab_index()
1039 *sym_index = CIL_SYM_TUNABLES; in cil_flavor_to_symtab_index()
1043 *sym_index = CIL_SYM_PERMS; in cil_flavor_to_symtab_index()
1046 *sym_index = CIL_SYM_COMMONS; in cil_flavor_to_symtab_index()
1050 *sym_index = CIL_SYM_CLASSES; in cil_flavor_to_symtab_index()
1054 *sym_index = CIL_SYM_CLASSPERMSETS; in cil_flavor_to_symtab_index()
[all …]
Dcil_resolve_ast.c80 enum cil_sym_index sym_index; in __cil_insert_name() local
99 cil_flavor_to_symtab_index(CIL_NAME, &sym_index); in __cil_insert_name()
100 symtab = &((struct cil_root *)db->ast->root->data)->symtab[sym_index]; in __cil_insert_name()
504 enum cil_sym_index sym_index; in cil_resolve_aliasactual() local
510 rc = cil_flavor_to_symtab_index(flavor, &sym_index); in cil_resolve_aliasactual()
515 …rc = cil_resolve_name_keep_aliases(current, aliasactual->alias_str, sym_index, extra_args, &alias_… in cil_resolve_aliasactual()
525 rc = cil_resolve_name(current, aliasactual->actual_str, sym_index, extra_args, &actual_datum); in cil_resolve_aliasactual()
3088 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in cil_resolve_call_args() local
3109 sym_index = CIL_SYM_NAMES; in cil_resolve_call_args()
3116 sym_index = CIL_SYM_LEVELS; in cil_resolve_call_args()
[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.c1708 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in __cil_copy_node_helper() local
1998 rc = cil_flavor_to_symtab_index(orig->flavor, &sym_index); in __cil_copy_node_helper()
2003 rc = cil_get_symtab(parent, &symtab, sym_index); in __cil_copy_node_helper()
Dcil_internal.h996 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
Dcil_build_ast.c3061 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()
/third_party/elfio/elfio/
Delfio_relocation.hpp289 Elf_Word sym_index = sym_writer.add_symbol( str_index, value, size, in add_entry() local
291 add_entry( offset, sym_index, type ); in add_entry()
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c168 int sym_index; member
3557 …rc = func_to_cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, dat… in additive_scopes_to_cil_map()
3578 for (args.sym_index = 0; args.sym_index < SYM_NUM; args.sym_index++) { in additive_scopes_to_cil()
3579 if (func_to_cil[args.sym_index] == NULL) { in additive_scopes_to_cil()
3582 rc = hashtab_map(decl->symtab[args.sym_index].table, additive_scopes_to_cil_map, &args); in additive_scopes_to_cil()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c919 static bool get_vna_hash(struct dso *dso, int sym_index, uint32_t *vna_hash) in get_vna_hash() argument
925 uint16_t vsym = dso->versym[sym_index]; in get_vna_hash()
970 int sym_index; in do_relocs() local
1006 sym_index = R_SYM(rel[1]); in do_relocs()
1007 if (sym_index) { in do_relocs()
1008 sym = syms + sym_index; in do_relocs()
1012 vinfo.use_vna_hash = get_vna_hash(dso, sym_index, &vinfo.vna_hash); in do_relocs()
1013 if (dso->cache_sym_index == sym_index) { in do_relocs()
1020 dso->cache_sym_index = sym_index; in do_relocs()
/third_party/musl/ldso/
Ddynlink.c346 int sym_index; in do_relocs() local
382 sym_index = R_SYM(rel[1]); in do_relocs()
383 if (sym_index) { in do_relocs()
384 sym = syms + sym_index; in do_relocs()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c344 int sym_index; in do_relocs() local
380 sym_index = R_SYM(rel[1]); in do_relocs()
381 if (sym_index) { in do_relocs()
382 sym = syms + sym_index; in do_relocs()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c344 int sym_index; in do_relocs() local
380 sym_index = R_SYM(rel[1]); in do_relocs()
381 if (sym_index) { in do_relocs()
382 sym = syms + sym_index; in do_relocs()