Home
last modified time | relevance | path

Searched refs:symtab (Results 1 – 25 of 152) sorted by relevance

1234567

/external/selinux/libsepol/cil/src/
Dcil_copy_ast.h40 int cil_copy_block(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
41 int cil_copy_blockabstract(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
42 int cil_copy_blockinherit(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
43 int cil_copy_perm(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
44 int cil_copy_class(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
45 int cil_copy_classorder(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
46 int cil_copy_classmapping(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
47 int cil_copy_permset(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
52 …sspermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab);
53 …_((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab);
[all …]
Dcil_symtab.c54 void cil_symtab_init(symtab_t *symtab, unsigned int size) in cil_symtab_init() argument
56 int rc = symtab_init(symtab, size); in cil_symtab_init()
66 datum->symtab = NULL; in cil_symtab_datum_init()
88 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c… in cil_symtab_insert() argument
90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); in cil_symtab_insert()
94 datum->symtab = symtab; in cil_symtab_insert()
107 symtab_t *symtab = datum->symtab; in cil_symtab_remove_datum() local
109 if (symtab == NULL) { in cil_symtab_remove_datum()
113 hashtab_remove(symtab->table, datum->name, NULL, NULL); in cil_symtab_remove_datum()
114 datum->symtab = NULL; in cil_symtab_remove_datum()
[all …]
Dcil_symtab.h42 symtab_t *symtab; member
73 void cil_symtab_init(symtab_t *symtab, unsigned int size);
77 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c…
79 int cil_symtab_get_datum(symtab_t *symtab, char *key, struct cil_symtab_datum **datum);
80 int cil_symtab_map(symtab_t *symtab,
83 void cil_symtab_destroy(symtab_t *symtab);
84 void cil_complex_symtab_init(struct cil_complex_symtab *symtab, unsigned int size);
85 int cil_complex_symtab_insert(struct cil_complex_symtab *symtab, struct cil_complex_symtab_key *cke…
86 void cil_complex_symtab_search(struct cil_complex_symtab *symtab, struct cil_complex_symtab_key *ck…
87 void cil_complex_symtab_destroy(struct cil_complex_symtab *symtab);
Dcil_copy_ast.c86 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_node() argument
98 …il_copy_block(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_block() argument
104 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_block()
116 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockabstract() argument
130 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockinherit() argument
145 …opy_policycap(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_policycap() argument
151 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_policycap()
163 …cil_copy_perm(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_perm() argument
169 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_perm()
216 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_classmapping() argument
[all …]
Dcil_fqn.c112 rc = cil_symtab_map(&(block->symtab[i]), __cil_fqn_qualify_decls, &child_args); in __cil_fqn_qualify_blocks()
120 rc = cil_symtab_map(&(block->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &child_args); in __cil_fqn_qualify_blocks()
139 return cil_symtab_map(&(root->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &fqn_args); in cil_fqn_qualify()
Dcil.c336 cil_symtab_array_init(r->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in cil_root_init()
346 cil_symtab_array_destroy(root->symtab); in cil_root_destroy()
1688 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init() argument
1692 cil_symtab_init(&symtab[i], symtab_sizes[i]); in cil_symtab_array_init()
1696 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy() argument
1700 cil_symtab_destroy(&symtab[i]); in cil_symtab_array_destroy()
1709 cil_symtab_array_destroy(((struct cil_block*)current->data)->symtab); in cil_destroy_ast_symtabs()
1712 cil_symtab_array_destroy(((struct cil_in*)current->data)->symtab); in cil_destroy_ast_symtabs()
1720 cil_symtab_array_destroy(((struct cil_macro*)current->data)->symtab); in cil_destroy_ast_symtabs()
1723 cil_symtab_array_destroy(((struct cil_condblock*)current->data)->symtab); in cil_destroy_ast_symtabs()
[all …]
/external/elfutils/src/
Darlib.c37 struct arlib_symtab symtab; variable
46 obstack_init (&symtab.symsoffob); in arlib_init()
47 obstack_init (&symtab.symsnameob); in arlib_init()
48 obstack_init (&symtab.longnamesob); in arlib_init()
79 obstack_grow (&symtab.symsoffob, &ar_hdr, sizeof (ar_hdr)); in arlib_init()
85 obstack_int_grow (&symtab.symsoffob, 0); in arlib_init()
96 obstack_grow (&symtab.longnamesob, &ar_hdr, sizeof (ar_hdr)); in arlib_init()
99 symtab.symsofflen = 0; in arlib_init()
100 symtab.symsoff = NULL; in arlib_init()
101 symtab.symsnamelen = 0; in arlib_init()
[all …]
Dranlib.c225 if (symtab.symsnamelen != 0 in handle_file()
228 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file()
264 if ((symtab.symsnamelen != 0 in handle_file()
265 && ((write_retry (newfd, symtab.symsoff, in handle_file()
266 symtab.symsofflen) in handle_file()
267 != (ssize_t) symtab.symsofflen) in handle_file()
268 || (write_retry (newfd, symtab.symsname, in handle_file()
269 symtab.symsnamelen) in handle_file()
270 != (ssize_t) symtab.symsnamelen))) in handle_file()
Dar.c762 if (symtab.symsnamelen != 0 in do_oper_extract()
765 || (symtab.symsnamelen == 0 && index_size != 0)) in do_oper_extract()
799 if ((symtab.symsnamelen != 0 in do_oper_extract()
800 && ((write_retry (newfd, symtab.symsoff, in do_oper_extract()
801 symtab.symsofflen) in do_oper_extract()
802 != (ssize_t) symtab.symsofflen) in do_oper_extract()
803 || (write_retry (newfd, symtab.symsname, in do_oper_extract()
804 symtab.symsnamelen) in do_oper_extract()
805 != (ssize_t) symtab.symsnamelen))) in do_oper_extract()
1030 if (symtab.symsnamelen != 0 in do_oper_delete()
[all …]
Darlib2.c37 size_t size = obstack_object_size (&symtab.longnamesob); in arlib_add_long_name()
39 obstack_grow (&symtab.longnamesob, filename, filenamelen); in arlib_add_long_name()
40 obstack_grow (&symtab.longnamesob, "/\n", 2); in arlib_add_long_name()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil.c42 cil_symtab_array_init(test_new_db->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in test_cil_symtab_array_init()
43 CuAssertPtrNotNull(tc, test_new_db->symtab); in test_cil_symtab_array_init()
54 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init()
55 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init()
61 symtab_t *symtab = NULL; in test_cil_get_symtab_block() local
73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_block()
75 CuAssertPtrNotNull(tc, symtab); in test_cil_get_symtab_block()
79 symtab_t *symtab = NULL; in test_cil_get_symtab_class() local
91 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_class()
93 CuAssertPtrNotNull(tc, symtab); in test_cil_get_symtab_class()
[all …]
/external/valgrind/coregrind/m_debuginfo/
Dstorage.c332 if (di->symtab != NULL) { in ML_()
334 new_tab[i] = di->symtab[i]; in ML_()
335 ML_(dinfo_free)(di->symtab); in ML_()
337 di->symtab = new_tab; in ML_()
341 di->symtab[di->symtab_used++] = *sym; in ML_()
1661 DiSym* sym = &di->symtab[i]; in canonicaliseSymtab()
1667 VG_(ssort)(di->symtab, di->symtab_used, in canonicaliseSymtab()
1668 sizeof(*di->symtab), compare_DiSym); in canonicaliseSymtab()
1684 if ( di->symtab[w].avmas.main == di->symtab[r].avmas.main in canonicaliseSymtab()
1685 && di->symtab[w].size == di->symtab[r].size in canonicaliseSymtab()
[all …]
/external/syslinux/gpxe/src/util/
Dsymcheck.pl8 my $symtab = {};
29 $symtab->{$object}->{$symbol} = {
42 foreach my $object ( keys %$symtab ) {
46 $symtab->{LINKER}->{$obj_symbol} = {
65 $symtab->{LINKER}->{$link_sym} = {
77 $symtab->{DEBUG}->{$debug_sym} = {
89 while ( ( my $object, my $symbols ) = each %$symtab ) {
130 } elsif ( $symtab->{$provide}->{$symbol}->{section} =~ /^\.tbl\./ ) {
152 while ( ( my $object, my $symbols ) = each %$symtab ) {
/external/elfutils/tests/
Drun-elfgetzdata.sh30 7: .symtab, NOT compressed
41 7: .symtab, NOT compressed
54 8: .symtab, NOT compressed
66 8: .symtab, NOT compressed
78 7: .symtab, NOT compressed
89 7: .symtab, NOT compressed
102 8: .symtab, NOT compressed
114 8: .symtab, NOT compressed
126 7: .symtab, NOT compressed
137 7: .symtab, NOT compressed
[all …]
Drun-readelf-z.sh39 [ 7] .symtab SYMTAB 0000000000000000 000000a8 00000168 24 8 8 8
62 [ 8] .symtab SYMTAB 0000000000000000 000000f0 00000180 24 9 9 8
84 [ 7] .symtab SYMTAB 0000000000000000 000000a8 00000168 24 8 8 8
107 [ 8] .symtab SYMTAB 0000000000000000 000000f0 00000180 24 9 9 8
129 [ 7] .symtab SYMTAB 00000000 000080 0000f0 16 8 8 4
152 [ 8] .symtab SYMTAB 00000000 0000c8 000110 16 9 9 4
174 [ 7] .symtab SYMTAB 00000000 000080 0000f0 16 8 8 4
197 [ 8] .symtab SYMTAB 00000000 0000c8 000110 16 9 9 4
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java67 this.symtab = new HashMap<IRubyObject, IRubyObject>(); in initialize()
90 IRubyObject descriptor = this.symtab.get(name); in lookup()
112 symtab.put(def.getName(context), def); in addToSymtab()
117 symtab.put(def.getName(context), def); in addToSymtab()
134 ((RubyEnumDescriptor) symtab.get(runtime.newString(enumName))) in buildFileDescriptor()
139symtab.get(runtime.newString(Utils.unescapeIdentifier(descriptor.getName())))); in buildFileDescriptor()
167 private Map<IRubyObject, IRubyObject> symtab; field in RubyDescriptorPool
/external/libunwind/tests/
Dcheck-namespace.sh.in31 symtab=`nm -g $filename`
36 symtab=`echo "$symtab" | grep -v "^${line}"\$`
43 symtab=`echo "$symtab" | grep -v " ${sym}\$"`
48 if `echo "$symtab" | grep -q " ${sym}\$"`; then
49 symtab=`echo "$symtab" | grep -v " ${sym}\$"`
301 if [ -n "$symtab" ]; then
302 printf " ERROR: Extraneous symbols:\n$symtab\n"
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
Dnative.cpp77 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets() argument
78 Elf_Data *const symtab_data = elf_getdata(symtab, NULL); in get_symbol_offsets()
80 if (gelf_getshdr(symtab, &header) != &header) in get_symbol_offsets()
99 const auto symtab = elf::get_symbol_table(elf.get()); in get_symbol_offsets() local
100 if (!symtab) in get_symbol_offsets()
103 return elf::get_symbol_offsets(elf.get(), symtab); in get_symbol_offsets()
/external/mesa3d/src/mesa/program/
Dsymbol_table.h32 extern int _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *symtab,
40 _mesa_symbol_table_add_global_symbol(struct _mesa_symbol_table *symtab,
47 extern void *_mesa_symbol_table_find_symbol(struct _mesa_symbol_table *symtab,
/external/elfutils/libdwfl/
Drelocate.c204 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol() argument
210 if (symtab->symstrdata == NULL) in resolve_symbol()
214 || referer->symfile->elf != symtab->symelf); in resolve_symbol()
216 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol()
225 if (symtab->symshstrndx == SHN_UNDEF in resolve_symbol()
226 && elf_getshdrstrndx (symtab->symelf, &symtab->symshstrndx) < 0) in resolve_symbol()
229 const char *sname = elf_strptr (symtab->symelf, symtab->symshstrndx, in resolve_symbol()
242 symtab->symstrdata = elf_getdata (scn, NULL); in resolve_symbol()
243 if (unlikely (symtab->symstrdata == NULL in resolve_symbol()
244 || symtab->symstrdata->d_buf == NULL)) in resolve_symbol()
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dpicoloaddbg.lua162 symtab = {}
164 symtab[tonumber(v["mapval"])] = k
168 if symtab[i] then
170 if (j <= string.len(symtab[i])) then
171 outfile:write(string.sub(symtab[i], j, j))
/external/compiler-rt/lib/cfi/
Dcfi.cc189 uptr strtab = 0, symtab = 0; in find_cfi_check_in_dso() local
192 symtab = p->d_un.d_ptr; in find_cfi_check_in_dso()
197 if (symtab > strtab) { in find_cfi_check_in_dso()
198 VReport(1, "Can not handle: symtab > strtab (%p > %zx)\n", symtab, strtab); in find_cfi_check_in_dso()
210 if (strtab >= beg && strtab < end && symtab >= beg && symtab < end) in find_cfi_check_in_dso()
217 VReport(1, "Can not handle: symtab %p, strtab %zx\n", symtab, strtab); in find_cfi_check_in_dso()
221 for (const ElfW(Sym) *p = (const ElfW(Sym) *)symtab; (ElfW(Addr))p < strtab; in find_cfi_check_in_dso()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h454 symtab_t symtab[SYM_NUM]; member
508 symtab_t symtab[SYM_NUM]; member
509 #define p_commons symtab[SYM_COMMONS]
510 #define p_classes symtab[SYM_CLASSES]
511 #define p_roles symtab[SYM_ROLES]
512 #define p_types symtab[SYM_TYPES]
513 #define p_users symtab[SYM_USERS]
514 #define p_bools symtab[SYM_BOOLS]
515 #define p_levels symtab[SYM_LEVELS]
516 #define p_cats symtab[SYM_CATS]
[all …]
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c70 ELF(Sym) *symtab;
136 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr()
147 vdso_info.symtab = (ELF(Sym) *) in vdso_init_from_sysinfo_ehdr()
168 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr()
232 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
/external/swiftshader/third_party/LLVM/tools/llvm-ranlib/
Dllvm-ranlib.cpp38 const Archive::SymTabType& symtab = TheArchive->getSymbolTable(); in printSymbolTable() local
39 for (Archive::SymTabType::const_iterator I=symtab.begin(), E=symtab.end(); in printSymbolTable()

1234567