/external/selinux/libsepol/cil/src/ |
D | cil_copy_ast.h | 40 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 …]
|
D | cil_symtab.c | 54 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 …]
|
D | cil_copy_ast.c | 86 …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 …]
|
D | cil_symtab.h | 42 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);
|
D | cil.c | 343 cil_symtab_array_init(r->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in cil_root_init() 353 cil_symtab_array_destroy(root->symtab); in cil_root_destroy() 1710 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init() argument 1714 cil_symtab_init(&symtab[i], symtab_sizes[i]); in cil_symtab_array_init() 1718 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy() argument 1722 cil_symtab_destroy(&symtab[i]); in cil_symtab_array_destroy() 1731 cil_symtab_array_destroy(((struct cil_block*)current->data)->symtab); in cil_destroy_ast_symtabs() 1734 cil_symtab_array_destroy(((struct cil_in*)current->data)->symtab); in cil_destroy_ast_symtabs() 1742 cil_symtab_array_destroy(((struct cil_macro*)current->data)->symtab); in cil_destroy_ast_symtabs() 1745 cil_symtab_array_destroy(((struct cil_condblock*)current->data)->symtab); in cil_destroy_ast_symtabs() [all …]
|
/external/elfutils/src/ |
D | arlib.c | 38 struct arlib_symtab symtab; variable 47 obstack_init (&symtab.symsoffob); in arlib_init() 48 obstack_init (&symtab.symsnameob); in arlib_init() 49 obstack_init (&symtab.longnamesob); in arlib_init() 80 obstack_grow (&symtab.symsoffob, &ar_hdr, sizeof (ar_hdr)); in arlib_init() 86 obstack_int_grow (&symtab.symsoffob, 0); in arlib_init() 97 obstack_grow (&symtab.longnamesob, &ar_hdr, sizeof (ar_hdr)); in arlib_init() 100 symtab.symsofflen = 0; in arlib_init() 101 symtab.symsoff = NULL; in arlib_init() 102 symtab.symsnamelen = 0; in arlib_init() [all …]
|
D | ranlib.c | 209 if (symtab.symsnamelen != 0 in handle_file() 212 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file() 248 if ((symtab.symsnamelen != 0 in handle_file() 249 && ((write_retry (newfd, symtab.symsoff, in handle_file() 250 symtab.symsofflen) in handle_file() 251 != (ssize_t) symtab.symsofflen) in handle_file() 252 || (write_retry (newfd, symtab.symsname, in handle_file() 253 symtab.symsnamelen) in handle_file() 254 != (ssize_t) symtab.symsnamelen))) in handle_file()
|
D | ar.c | 753 if (symtab.symsnamelen != 0 in do_oper_extract() 756 || (symtab.symsnamelen == 0 && index_size != 0)) in do_oper_extract() 790 if ((symtab.symsnamelen != 0 in do_oper_extract() 791 && ((write_retry (newfd, symtab.symsoff, in do_oper_extract() 792 symtab.symsofflen) in do_oper_extract() 793 != (ssize_t) symtab.symsofflen) in do_oper_extract() 794 || (write_retry (newfd, symtab.symsname, in do_oper_extract() 795 symtab.symsnamelen) in do_oper_extract() 796 != (ssize_t) symtab.symsnamelen))) in do_oper_extract() 1024 if (symtab.symsnamelen != 0 in do_oper_delete() [all …]
|
D | arlib2.c | 35 size_t size = obstack_object_size (&symtab.longnamesob); in arlib_add_long_name() 37 obstack_grow (&symtab.longnamesob, filename, filenamelen); in arlib_add_long_name() 38 obstack_grow (&symtab.longnamesob, "/\n", 2); in arlib_add_long_name()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil.c | 42 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/elfutils/tests/ |
D | run-elfgetzdata.sh | 30 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 …]
|
D | run-strip-g.sh | 39 echo no symtab found in strip.out 48 echo symtab found in debug.out 64 echo no symtab found in strip.out 73 echo symtab found in debug.out 89 echo no symtab found in strip.out 98 echo symtab found in debug.out
|
D | run-readelf-z.sh | 39 [ 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/one-true-awk/ |
D | tran.c | 37 Array *symtab; /* main symbol table */ variable 88 literal0 = setsymtab("0", "0", 0.0, NUM|STR|CON|DONTFREE, symtab); in syminit() 90 nullloc = setsymtab("$zero&null", "", 0.0, NUM|STR|CON|DONTFREE, symtab); in syminit() 93 fsloc = setsymtab("FS", " ", 0.0, STR|DONTFREE, symtab); in syminit() 95 rsloc = setsymtab("RS", "\n", 0.0, STR|DONTFREE, symtab); in syminit() 97 ofsloc = setsymtab("OFS", " ", 0.0, STR|DONTFREE, symtab); in syminit() 99 orsloc = setsymtab("ORS", "\n", 0.0, STR|DONTFREE, symtab); in syminit() 101 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 102 CONVFMT = &setsymtab("CONVFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 103 FILENAME = &setsymtab("FILENAME", "", 0.0, STR|DONTFREE, symtab)->sval; in syminit() [all …]
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptorPool.java | 67 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() 139 … symtab.get(runtime.newString(Utils.unescapeIdentifier(descriptor.getName())))); in buildFileDescriptor() 167 private Map<IRubyObject, IRubyObject> symtab; field in RubyDescriptorPool
|
/external/libunwind/tests/ |
D | check-namespace.sh.in | 31 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/ |
D | native.cpp | 77 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/elfutils/libdwfl/ |
D | relocate.c | 209 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol() argument 215 if (symtab->symstrdata == NULL) in resolve_symbol() 219 || referer->symfile->elf != symtab->symelf); in resolve_symbol() 221 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol() 230 if (symtab->symshstrndx == SHN_UNDEF in resolve_symbol() 231 && elf_getshdrstrndx (symtab->symelf, &symtab->symshstrndx) < 0) in resolve_symbol() 234 const char *sname = elf_strptr (symtab->symelf, symtab->symshstrndx, in resolve_symbol() 247 symtab->symstrdata = elf_getdata (scn, NULL); in resolve_symbol() 248 if (unlikely (symtab->symstrdata == NULL in resolve_symbol() 249 || symtab->symstrdata->d_buf == NULL)) in resolve_symbol() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | symbol_table.h | 36 extern int _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *symtab, 44 _mesa_symbol_table_add_global_symbol(struct _mesa_symbol_table *symtab, 51 extern void *_mesa_symbol_table_find_symbol(struct _mesa_symbol_table *symtab,
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 467 symtab_t symtab[SYM_NUM]; member 521 symtab_t symtab[SYM_NUM]; member 522 #define p_commons symtab[SYM_COMMONS] 523 #define p_classes symtab[SYM_CLASSES] 524 #define p_roles symtab[SYM_ROLES] 525 #define p_types symtab[SYM_TYPES] 526 #define p_users symtab[SYM_USERS] 527 #define p_bools symtab[SYM_BOOLS] 528 #define p_levels symtab[SYM_LEVELS] 529 #define p_cats symtab[SYM_CATS] [all …]
|
/external/compiler-rt/lib/cfi/ |
D | cfi.cc | 189 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/ |
D | reloc-error-remove-symtab.test | 2 # RUN: not llvm-objcopy -R .symtab %t %t2 2>&1 >/dev/null | FileCheck %s 19 Link: .symtab 32 # CHECK: Symbol table .symtab cannot be removed because it is referenced by the relocation section …
|
D | basic-relocations.test | 20 Link: .symtab 34 Link: .symtab 42 Link: .symtab 51 Link: .symtab
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 70 ELF(Sym) *symtab; 139 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr() 150 vdso_info.symtab = (ELF(Sym) *) in vdso_init_from_sysinfo_ehdr() 171 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr() 235 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
|
/external/swiftshader/third_party/LLVM/tools/llvm-ranlib/ |
D | llvm-ranlib.cpp | 38 const Archive::SymTabType& symtab = TheArchive->getSymbolTable(); in printSymbolTable() local 39 for (Archive::SymTabType::const_iterator I=symtab.begin(), E=symtab.end(); in printSymbolTable()
|