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.c79 enum cil_sym_index sym_index; in __cil_insert_name() local
98 cil_flavor_to_symtab_index(CIL_NAME, &sym_index); in __cil_insert_name()
99 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()
3059 enum cil_sym_index sym_index = CIL_SYM_UNKNOWN; in cil_resolve_call_args() local
3080 sym_index = CIL_SYM_NAMES; in cil_resolve_call_args()
3087 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
1992 rc = cil_flavor_to_symtab_index(orig->flavor, &sym_index); in __cil_copy_node_helper()
1997 rc = cil_get_symtab(parent, &symtab, sym_index); in __cil_copy_node_helper()
Dcil_internal.h995 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.hpp288 Elf_Word sym_index = sym_writer.add_symbol( str_index, value, size, in add_entry() local
290 add_entry( offset, sym_index, type ); in add_entry()
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c168 int sym_index; member
3520 …rc = func_to_cil[args->sym_index](args->indent, args->pdb, args->block, args->decl_stack, key, dat… in additive_scopes_to_cil_map()
3541 for (args.sym_index = 0; args.sym_index < SYM_NUM; args.sym_index++) { in additive_scopes_to_cil()
3542 if (func_to_cil[args.sym_index] == NULL) { in additive_scopes_to_cil()
3545 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.c912 static bool get_vna_hash(struct dso *dso, int sym_index, uint32_t *vna_hash) in get_vna_hash() argument
918 uint16_t vsym = dso->versym[sym_index]; in get_vna_hash()
963 int sym_index; in do_relocs() local
999 sym_index = R_SYM(rel[1]); in do_relocs()
1000 if (sym_index) { in do_relocs()
1001 sym = syms + sym_index; in do_relocs()
1005 vinfo.use_vna_hash = get_vna_hash(dso, sym_index, &vinfo.vna_hash); in do_relocs()
1006 if (dso->cache_sym_index == sym_index) { in do_relocs()
1013 dso->cache_sym_index = sym_index; in do_relocs()
/third_party/musl/ldso/
Ddynlink.c342 int sym_index; in do_relocs() local
378 sym_index = R_SYM(rel[1]); in do_relocs()
379 if (sym_index) { in do_relocs()
380 sym = syms + sym_index; in do_relocs()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c340 int sym_index; in do_relocs() local
376 sym_index = R_SYM(rel[1]); in do_relocs()
377 if (sym_index) { in do_relocs()
378 sym = syms + sym_index; in do_relocs()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c340 int sym_index; in do_relocs() local
376 sym_index = R_SYM(rel[1]); in do_relocs()
377 if (sym_index) { in do_relocs()
378 sym = syms + sym_index; in do_relocs()
/third_party/quickjs/
Dquickjs.c7486 uint32_t num_index, str_index, sym_index, exotic_count, exotic_keys_count; in JS_GetOwnPropertyNamesInternal() local
7588 sym_index = str_index + str_keys_count; in JS_GetOwnPropertyNamesInternal()
7605 j = sym_index++; in JS_GetOwnPropertyNamesInternal()
7642 tab_atom[sym_index].atom = atom; in JS_GetOwnPropertyNamesInternal()
7643 tab_atom[sym_index].is_enumerable = is_enumerable; in JS_GetOwnPropertyNamesInternal()
7644 sym_index++; in JS_GetOwnPropertyNamesInternal()
7655 assert(sym_index == atom_count); in JS_GetOwnPropertyNamesInternal()