/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_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_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.c | 329 cil_symtab_array_init(r->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in cil_root_init() 339 cil_symtab_array_destroy(root->symtab); in cil_root_destroy() 1653 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init() argument 1657 cil_symtab_init(&symtab[i], symtab_sizes[i]); in cil_symtab_array_init() 1661 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy() argument 1665 cil_symtab_destroy(&symtab[i]); in cil_symtab_array_destroy() 1674 cil_symtab_array_destroy(((struct cil_block*)current->data)->symtab); in cil_destroy_ast_symtabs() 1677 cil_symtab_array_destroy(((struct cil_in*)current->data)->symtab); in cil_destroy_ast_symtabs() 1685 cil_symtab_array_destroy(((struct cil_macro*)current->data)->symtab); in cil_destroy_ast_symtabs() 1688 cil_symtab_array_destroy(((struct cil_condblock*)current->data)->symtab); in cil_destroy_ast_symtabs() [all …]
|
/external/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 | 225 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()
|
D | ar.c | 762 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 …]
|
D | arlib2.c | 37 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/ |
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/mesa3d/src/glsl/ |
D | builtin_variables.cpp | 387 add_variable(exec_list *instructions, glsl_symbol_table *symtab, in add_variable() argument 391 ir_variable *var = new(symtab) ir_variable(type, name, mode); in add_variable() 418 symtab->add_variable(var); in add_variable() 423 add_uniform(exec_list *instructions, glsl_symbol_table *symtab, in add_uniform() argument 427 add_variable(instructions, symtab, name, type, ir_var_uniform, -1); in add_uniform() 471 add_builtin_variable(exec_list *instructions, glsl_symbol_table *symtab, in add_builtin_variable() argument 477 const glsl_type *const type = symtab->get_type(proto->type); in add_builtin_variable() 482 add_uniform(instructions, symtab, proto->name, type); in add_builtin_variable() 484 add_variable(instructions, symtab, proto->name, type, proto->mode, in add_builtin_variable() 490 add_builtin_constant(exec_list *instructions, glsl_symbol_table *symtab, in add_builtin_constant() argument [all …]
|
D | glsl_types.cpp | 103 add_types_to_symbol_table(glsl_symbol_table *symtab, in add_types_to_symbol_table() argument 110 symtab->add_type(types[i].name, & types[i]); in add_types_to_symbol_table() 159 glsl_type::generate_100ES_types(glsl_symbol_table *symtab) in generate_100ES_types() argument 161 add_types_to_symbol_table(symtab, builtin_core_types, in generate_100ES_types() 164 add_types_to_symbol_table(symtab, builtin_structure_types, in generate_100ES_types() 167 add_types_to_symbol_table(symtab, void_type, 1, false); in generate_100ES_types() 171 glsl_type::generate_110_types(glsl_symbol_table *symtab, bool add_deprecated) in generate_110_types() argument 173 generate_100ES_types(symtab); in generate_110_types() 175 add_types_to_symbol_table(symtab, builtin_110_types, in generate_110_types() 178 add_types_to_symbol_table(symtab, &_sampler3D_type, 1, false); in generate_110_types() [all …]
|
/external/valgrind/coregrind/m_debuginfo/ |
D | storage.c | 341 if (di->symtab != NULL) { in ML_() 343 new_tab[i] = di->symtab[i]; in ML_() 344 ML_(dinfo_free)(di->symtab); in ML_() 346 di->symtab = new_tab; in ML_() 350 di->symtab[di->symtab_used++] = *sym; in ML_() 1659 DiSym* sym = &di->symtab[i]; in canonicaliseSymtab() 1665 VG_(ssort)(di->symtab, di->symtab_used, in canonicaliseSymtab() 1666 sizeof(*di->symtab), compare_DiSym); in canonicaliseSymtab() 1682 if ( di->symtab[w].avmas.main == di->symtab[r].avmas.main in canonicaliseSymtab() 1683 && di->symtab[w].size == di->symtab[r].size in canonicaliseSymtab() [all …]
|
/external/lldb/source/Plugins/SymbolFile/Symtab/ |
D | SymbolFileSymtab.cpp | 96 const Symtab *symtab = m_obj_file->GetSymtab(); in CalculateAbilities() local 97 if (symtab) in CalculateAbilities() 104 if (symtab->AppendSymbolIndexesWithType(eSymbolTypeSourceFile, m_source_indexes)) in CalculateAbilities() 109 …if (symtab->AppendSymbolIndexesWithType(eSymbolTypeCode, Symtab::eDebugYes, Symtab::eVisibilityAny… in CalculateAbilities() 111 symtab->SortSymbolIndexesByValue(m_func_indexes, true); in CalculateAbilities() 115 …if (symtab->AppendSymbolIndexesWithType(eSymbolTypeCode, Symtab::eDebugNo, Symtab::eVisibilityAny,… in CalculateAbilities() 117 symtab->SortSymbolIndexesByValue(m_code_indexes, true); in CalculateAbilities() 120 if (symtab->AppendSymbolIndexesWithType(eSymbolTypeData, m_data_indexes)) in CalculateAbilities() 122 symtab->SortSymbolIndexesByValue(m_data_indexes, true); in CalculateAbilities() 127 if (symtab->AppendSymbolIndexesWithType (eSymbolTypeObjCClass, objc_class_indexes)) in CalculateAbilities() [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-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/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/lldb/source/API/ |
D | SBModule.cpp | 335 Symtab *symtab = GetUnifiedSymbolTable (module_sp); in GetNumSymbols() local 336 if (symtab) in GetNumSymbols() 337 return symtab->GetNumSymbols(); in GetNumSymbols() 347 Symtab *symtab = GetUnifiedSymbolTable (module_sp); in GetSymbolAtIndex() local 348 if (symtab) in GetSymbolAtIndex() 349 sb_symbol.SetSymbol(symtab->SymbolAtIndex (idx)); in GetSymbolAtIndex() 361 Symtab *symtab = GetUnifiedSymbolTable (module_sp); in FindSymbol() local 362 if (symtab) in FindSymbol() 363 …sb_symbol.SetSymbol(symtab->FindFirstSymbolWithNameAndType(ConstString(name), symbol_type, Symtab:… in FindSymbol() 376 Symtab *symtab = GetUnifiedSymbolTable (module_sp); in FindSymbols() local [all …]
|
/external/compiler-rt/lib/cfi/ |
D | cfi.cc | 116 uptr strtab = 0, symtab = 0; in find_cfi_check_in_dso() local 119 symtab = p->d_un.d_ptr; in find_cfi_check_in_dso() 124 if (symtab > strtab) { in find_cfi_check_in_dso() 125 VReport(1, "Can not handle: symtab > strtab (%p > %zx)\n", symtab, strtab); in find_cfi_check_in_dso() 137 if (strtab >= beg && strtab < end && symtab >= beg && symtab < end) in find_cfi_check_in_dso() 144 VReport(1, "Can not handle: symtab %p, strtab %zx\n", symtab, strtab); in find_cfi_check_in_dso() 148 for (const ElfW(Sym) *p = (const ElfW(Sym) *)symtab; (ElfW(Addr))p < strtab; in find_cfi_check_in_dso()
|
/external/lldb/source/Core/ |
D | Module.cpp | 488 Symtab *symtab = sym_vendor->GetSymtab(); in ResolveSymbolContextForAddress() local 489 if (symtab) in ResolveSymbolContextForAddress() 493 … sc.symbol = symtab->FindSymbolContainingFileAddress(so_addr.GetFileAddress()); in ResolveSymbolContextForAddress() 629 Symtab *symtab = symbols->GetSymtab(); in FindFunctions() local 630 if (symtab) in FindFunctions() 631 symtab->FindFunctionSymbols(lookup_name, lookup_name_type_mask, sc_list); in FindFunctions() 665 Symtab *symtab = symbols->GetSymtab(); in FindFunctions() local 666 if (symtab) in FindFunctions() 667 symtab->FindFunctionSymbols(name, name_type_mask, sc_list); in FindFunctions() 695 Symtab *symtab = symbols->GetSymtab(); in FindFunctions() local [all …]
|
/external/mesa3d/src/mesa/program/ |
D | symbol_table.h | 33 extern int _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *symtab, 37 struct _mesa_symbol_table *symtab, int name_space, const char *name, 44 struct _mesa_symbol_table *symtab, int name_space, const char *name);
|
/external/elfutils/libdwfl/ |
D | relocate.c | 204 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/ |
D | picoloaddbg.lua | 162 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/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 449 symtab_t symtab[SYM_NUM]; member 503 symtab_t symtab[SYM_NUM]; member 504 #define p_commons symtab[SYM_COMMONS] 505 #define p_classes symtab[SYM_CLASSES] 506 #define p_roles symtab[SYM_ROLES] 507 #define p_types symtab[SYM_TYPES] 508 #define p_users symtab[SYM_USERS] 509 #define p_bools symtab[SYM_BOOLS] 510 #define p_levels symtab[SYM_LEVELS] 511 #define p_cats symtab[SYM_CATS] [all …]
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ObjectFileELF.cpp | 1011 ObjectFileELF::ParseSymbols (Symtab *symtab, in ParseSymbols() argument 1172 symtab->AddSymbol(dc_symbol); in ParseSymbols() 1179 …tFileELF::ParseSymbolTable(Symtab *symbol_table, user_id_t start_id, lldb_private::Section *symtab) in ParseSymbolTable() argument 1181 if (symtab->GetObjectFile() != this) in ParseSymbolTable() 1185 ObjectFileELF *obj_file_elf = static_cast<ObjectFileELF *>(symtab->GetObjectFile()); in ParseSymbolTable() 1186 return obj_file_elf->ParseSymbolTable (symbol_table, start_id, symtab); in ParseSymbolTable() 1194 user_id_t symtab_id = symtab->GetID(); in ParseSymbolTable() 1205 if (symtab && strtab) in ParseSymbolTable() 1207 assert (symtab->GetObjectFile() == this); in ParseSymbolTable() 1212 if (ReadSectionData(symtab, symtab_data) && in ParseSymbolTable() [all …]
|