Home
last modified time | relevance | path

Searched refs:sym_index (Results 1 – 13 of 13) 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/musl/porting/linux/user/ldso/
Ddynlink.c945 static bool get_vna_hash(struct dso *dso, int sym_index, uint32_t *vna_hash) in get_vna_hash() argument
951 uint16_t vsym = dso->versym[sym_index]; in get_vna_hash()
987 static void get_verinfo(struct dso *dso, int sym_index, struct verinfo *vinfo) in get_verinfo() argument
991 int16_t vsym = dso->versym[sym_index]; in get_verinfo()
1028 int sym_index; in do_relocs() local
1064 sym_index = R_SYM(rel[1]); in do_relocs()
1065 if (sym_index) { in do_relocs()
1066 sym = syms + sym_index; in do_relocs()
1071 vinfo.use_vna_hash = get_vna_hash(dso, sym_index, &vinfo.vna_hash); in do_relocs()
1072 if (!vinfo.use_vna_hash && dso->versym && (dso->versym[sym_index] & 0x7fff) >= 0) { in do_relocs()
[all …]
/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/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()
/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/astc-encoder/Source/
Dtinyexr.h2699 mz_uint i, j, used_syms, total, sym_index, next_code[17], in tinfl_decompress() local
2716 for (tree_next = -1, sym_index = 0; in tinfl_decompress()
2717 sym_index < r->m_table_sizes[r->m_type]; ++sym_index) { in tinfl_decompress()
2719 code_size = pTable->m_code_size[sym_index]; in tinfl_decompress()
2725 mz_int16 k = (mz_int16)((code_size << 9) | sym_index); in tinfl_decompress()
2751 pTable->m_tree[-tree_cur - 1] = (mz_int16)sym_index; in tinfl_decompress()