Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil.c770 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index() argument
778 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
781 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
784 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index()
787 *sym_index = CIL_SYM_BOOLS; in cil_flavor_to_symtab_index()
790 *sym_index = CIL_SYM_TUNABLES; in cil_flavor_to_symtab_index()
794 *sym_index = CIL_SYM_PERMS; in cil_flavor_to_symtab_index()
797 *sym_index = CIL_SYM_COMMONS; in cil_flavor_to_symtab_index()
801 *sym_index = CIL_SYM_CLASSES; in cil_flavor_to_symtab_index()
805 *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()
454 enum cil_sym_index sym_index; in cil_resolve_aliasactual() local
460 rc = cil_flavor_to_symtab_index(flavor, &sym_index); in cil_resolve_aliasactual()
464 rc = cil_resolve_name(current, aliasactual->alias_str, sym_index, extra_args, &alias_datum); in cil_resolve_aliasactual()
469 rc = cil_resolve_name(current, aliasactual->actual_str, sym_index, extra_args, &actual_datum); in cil_resolve_aliasactual()
2928 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in cil_resolve_call2() local
2949 sym_index = CIL_SYM_NAMES; in cil_resolve_call2()
2956 sym_index = CIL_SYM_LEVELS; in cil_resolve_call2()
[all …]
Dcil_resolve_ast.h92 int cil_resolve_name_call_args(struct cil_call *call, char *name, enum cil_sym_index sym_index, str…
99 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void…
Dcil_copy_ast.c1678 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in __cil_copy_node_helper() local
1950 rc = cil_flavor_to_symtab_index(orig->flavor, &sym_index); in __cil_copy_node_helper()
1955 rc = cil_get_symtab(parent, &symtab, sym_index); in __cil_copy_node_helper()
Dcil_internal.h936 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
Dcil_build_ast.c3047 enum cil_sym_index sym_index; in cil_gen_alias() local
3069 rc = cil_flavor_to_symtab_index(flavor, &sym_index); in cil_gen_alias()
3074 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)alias, (hashtab_key_t)key, sym_index, fl… in cil_gen_alias()
/external/ltrace/sysdeps/linux-gnu/mips/
Dplt.c157 size_t sym_index, GElf_Rela *rela, GElf_Sym *sym) in arch_get_sym_info() argument
165 sym_index += lte->arch.mips_gotsym; in arch_get_sym_info()
167 if (gelf_getsym(lte->dynsym, sym_index, sym) == NULL) in arch_get_sym_info()
349 int sym_index = ndx + lte->arch.mips_gotsym; in arch_elf_add_plt_entry() local
355 GElf_Addr addr = arch_plt_sym_val(lte, sym_index, 0); in arch_elf_add_plt_entry()
/external/valgrind/perf/
Dtinycc.c5480 unsigned long value, Section *sec, int sym_index);
18170 int *ptr, *hash, nb_syms, sym_index, h; in rebuild_hash() local
18186 for(sym_index = 1; sym_index < nb_syms; sym_index++) { in rebuild_hash()
18190 hash[h] = sym_index; in rebuild_hash()
18204 int name_offset, sym_index; in put_elf_sym() local
18221 sym_index = sym - (Elf32_Sym *)s->data; in put_elf_sym()
18233 base[2 + h] = sym_index; in put_elf_sym()
18245 return sym_index; in put_elf_sym()
18254 int nbuckets, sym_index, h; in find_elf_sym() local
18262 sym_index = ((int *)hs->data)[2 + h]; in find_elf_sym()
[all …]
/external/ltrace/
Dbackend.h314 int arch_get_sym_info(struct ltelf *lte, const char *filename, size_t sym_index,
Dltrace-elf.c715 size_t sym_index, GElf_Rela *rela, GElf_Sym *sym) in arch_get_sym_info() argument
/external/selinux/libsepol/src/
Dmodule_to_cil.c154 int sym_index; member
3388 …rc = func_to_cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, dat… in additive_scopes_to_cil_map()
3409 for (args.sym_index = 0; args.sym_index < SYM_NUM; args.sym_index++) { in additive_scopes_to_cil()
3410 rc = hashtab_map(decl->symtab[args.sym_index].table, additive_scopes_to_cil_map, &args); in additive_scopes_to_cil()