/third_party/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() 95 symtab->nprim++; in cil_symtab_insert() 108 symtab_t *symtab = datum->symtab; in cil_symtab_remove_datum() local 110 if (symtab == NULL) { in cil_symtab_remove_datum() 114 hashtab_remove(symtab->table, datum->name, NULL, NULL); in cil_symtab_remove_datum() [all …]
|
D | cil_copy_ast.c | 88 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_node() argument 100 …il_copy_block(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_block() argument 106 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_block() 125 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockabstract() argument 139 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockinherit() argument 154 …opy_policycap(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_policycap() argument 160 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_policycap() 172 …cil_copy_perm(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_perm() argument 178 cil_symtab_get_datum(symtab, key, &datum); in cil_copy_perm() 225 …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_fqn.c | 114 rc = cil_symtab_map(&(block->symtab[i]), __cil_fqn_qualify_decls, &child_args); in __cil_fqn_qualify_blocks() 122 rc = cil_symtab_map(&(block->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &child_args); in __cil_fqn_qualify_blocks() 141 return cil_symtab_map(&(root->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &fqn_args); in cil_fqn_qualify()
|
/third_party/elfutils/src/ |
D | arlib.c | 37 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 …]
|
D | ranlib.c | 208 if (symtab.symsnamelen != 0 in handle_file() 211 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file() 247 if (symtab.symsnamelen != 0 in handle_file() 248 && ((write_retry (newfd, symtab.symsoff, in handle_file() 249 symtab.symsofflen) in handle_file() 250 != (ssize_t) symtab.symsofflen) in handle_file() 251 || (write_retry (newfd, symtab.symsname, in handle_file() 252 symtab.symsnamelen) in handle_file() 253 != (ssize_t) symtab.symsnamelen))) in handle_file()
|
D | ar.c | 751 if (symtab.symsnamelen != 0 in do_oper_extract() 754 || (symtab.symsnamelen == 0 && index_size != 0)) in do_oper_extract() 788 if (symtab.symsnamelen != 0 in do_oper_extract() 789 && ((write_retry (newfd, symtab.symsoff, in do_oper_extract() 790 symtab.symsofflen) in do_oper_extract() 791 != (ssize_t) symtab.symsofflen) in do_oper_extract() 792 || (write_retry (newfd, symtab.symsname, in do_oper_extract() 793 symtab.symsnamelen) in do_oper_extract() 794 != (ssize_t) symtab.symsnamelen))) in do_oper_extract() 1025 if (symtab.symsnamelen != 0 in do_oper_delete() [all …]
|
D | arlib2.c | 34 size_t size = obstack_object_size (&symtab.longnamesob); in arlib_add_long_name() 36 obstack_grow (&symtab.longnamesob, filename, filenamelen); in arlib_add_long_name() 37 obstack_grow (&symtab.longnamesob, "/\n", 2); in arlib_add_long_name()
|
/third_party/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 …]
|
/third_party/libabigail/src/ |
D | abg-symtab-reader.cc | 71 symtab::make_filter() const in make_filter() 86 symtab::lookup_symbol(const std::string& name) const in lookup_symbol() 101 symtab::lookup_symbol(GElf_Addr symbol_addr) const in lookup_symbol() 141 symtab::load(Elf* elf_handle, in load() 147 symtab_ptr result(new symtab); in load() 164 symtab::load(string_elf_symbols_map_sptr function_symbol_map, in load() 167 symtab_ptr result(new symtab); in load() 175 symtab::symtab() in symtab() function in abigail::symtab_reader::symtab 202 symtab::load_(Elf* elf_handle, in load_() 234 Elf_Data* symtab = elf_getdata(symtab_section, 0); in load_() local [all …]
|
D | abg-symtab-reader.h | 174 class symtab; variable 175 typedef std::unique_ptr<symtab> symtab_ptr; 201 class symtab 258 symtab(); 322 const symtab& tab_; 328 filtered_symtab(const symtab& tab, const symtab_filter& filter) in filtered_symtab() 333 symtab::const_iterator 338 symtab::const_iterator
|
D | abg-elf-reader.cc | 669 reader::symtab() const in symtab() function in abigail::elf::reader 674 priv_->symt = symtab_reader::symtab::load in symtab() 696 elf_symbol_sptr symbol = symtab()->lookup_symbol(symbol_address); in function_symbol_is_exported() 728 elf_symbol_sptr symbol = symtab()->lookup_symbol(symbol_address); in variable_symbol_is_exported() 757 const elf_symbols& syms = symtab()->lookup_symbol(name); in function_symbol_is_exported() 787 const elf_symbols& syms = symtab()->lookup_symbol(name); in variable_symbol_is_exported() 884 if (!symtab() || !symtab()->has_symbols()) in read_corpus() 892 corpus()->set_symtab(symtab()); in read_corpus()
|
/third_party/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
|
/third_party/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
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
D | native.cpp | 79 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets() argument 80 Elf_Data *const symtab_data = elf_getdata(symtab, NULL); in get_symbol_offsets() 82 if (gelf_getshdr(symtab, &header) != &header) in get_symbol_offsets() 101 const auto symtab = elf::get_symbol_table(elf.get()); in get_symbol_offsets() local 102 if (!symtab) in get_symbol_offsets() 105 return elf::get_symbol_offsets(elf.get(), symtab); in get_symbol_offsets()
|
/third_party/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,
|
/third_party/elfutils/libdwfl/ |
D | relocate.c | 211 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol() argument 217 if (symtab->symstrdata == NULL) in resolve_symbol() 221 || referer->symfile->elf != symtab->symelf); in resolve_symbol() 223 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol() 232 if (symtab->symshstrndx == SHN_UNDEF in resolve_symbol() 233 && elf_getshdrstrndx (symtab->symelf, &symtab->symshstrndx) < 0) in resolve_symbol() 236 const char *sname = elf_strptr (symtab->symelf, symtab->symshstrndx, in resolve_symbol() 249 symtab->symstrdata = elf_getdata (scn, NULL); in resolve_symbol() 250 if (unlikely (symtab->symstrdata == NULL in resolve_symbol() 251 || symtab->symstrdata->d_buf == NULL)) in resolve_symbol() [all …]
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | def.c | 719 upb_symtab *symtab; member 736 intern->symtab = upb_symtab_new(); in DescriptorPool_create() 746 if (intern->symtab) { in DescriptorPool_destructor() 747 upb_symtab_free(intern->symtab); in DescriptorPool_destructor() 749 intern->symtab = NULL; in DescriptorPool_destructor() 753 void DescriptorPool_CreateWithSymbolTable(zval *zv, upb_symtab *symtab) { in DescriptorPool_CreateWithSymbolTable() argument 756 if (symtab) { in DescriptorPool_CreateWithSymbolTable() 758 upb_symtab_free(intern->symtab); in DescriptorPool_CreateWithSymbolTable() 759 intern->symtab = symtab; in DescriptorPool_CreateWithSymbolTable() 765 upb_symtab *ret = intern->symtab; in DescriptorPool_Steal() [all …]
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 470 symtab_t symtab[SYM_NUM]; member 524 symtab_t symtab[SYM_NUM]; member 525 #define p_commons symtab[SYM_COMMONS] 526 #define p_classes symtab[SYM_CLASSES] 527 #define p_roles symtab[SYM_ROLES] 528 #define p_types symtab[SYM_TYPES] 529 #define p_users symtab[SYM_USERS] 530 #define p_bools symtab[SYM_BOOLS] 531 #define p_levels symtab[SYM_LEVELS] 532 #define p_cats symtab[SYM_CATS] [all …]
|
/third_party/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}\$"` 373 if [ -n "$symtab" ]; then 374 printf " ERROR: Extraneous symbols:\n$symtab\n"
|
/third_party/ltp/libs/libltpvdso/ |
D | parse_vdso.c | 46 ELF(Sym) *symtab; 143 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr() 154 vdso_info.symtab = (ELF(Sym) *) in vdso_init_from_sysinfo_ehdr() 175 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr() 240 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | vdso.rs | 30 symtab: *const Elf_Sym, field 74 symtab: null(), in init_from_sysinfo_ehdr() 134 vdso.symtab = null(); in init_from_sysinfo_ehdr() 149 vdso.symtab = in init_from_sysinfo_ehdr() 263 let sym = &*self.symtab.add(chain as usize); in sym()
|