/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 | 316 cil_symtab_array_init(r->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in cil_root_init() 326 cil_symtab_array_destroy(root->symtab); in cil_root_destroy() 1606 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init() argument 1610 cil_symtab_init(&symtab[i], symtab_sizes[i]); in cil_symtab_array_init() 1614 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy() argument 1618 cil_symtab_destroy(&symtab[i]); in cil_symtab_array_destroy() 1627 cil_symtab_array_destroy(((struct cil_block*)current->data)->symtab); in cil_destroy_ast_symtabs() 1630 cil_symtab_array_destroy(((struct cil_in*)current->data)->symtab); in cil_destroy_ast_symtabs() 1638 cil_symtab_array_destroy(((struct cil_macro*)current->data)->symtab); in cil_destroy_ast_symtabs() 1641 cil_symtab_array_destroy(((struct cil_condblock*)current->data)->symtab); in cil_destroy_ast_symtabs() [all …]
|
D | cil_fqn.c | 111 rc = cil_symtab_map(&(block->symtab[i]), __cil_fqn_qualify_decls, &child_args); in __cil_fqn_qualify_blocks() 119 rc = cil_symtab_map(&(block->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &child_args); in __cil_fqn_qualify_blocks() 138 return cil_symtab_map(&(root->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &fqn_args); in cil_fqn_qualify()
|
/external/elfutils/src/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 | 229 if (symtab.symsnamelen != 0 in handle_file() 232 || (symtab.symsnamelen == 0 && index_size != 0)) in handle_file() 268 if ((symtab.symsnamelen != 0 in handle_file() 269 && ((write_retry (newfd, symtab.symsoff, in handle_file() 270 symtab.symsofflen) in handle_file() 271 != (ssize_t) symtab.symsofflen) in handle_file() 272 || (write_retry (newfd, symtab.symsname, in handle_file() 273 symtab.symsnamelen) in handle_file() 274 != (ssize_t) symtab.symsnamelen))) in handle_file()
|
D | ar.c | 766 if (symtab.symsnamelen != 0 in do_oper_extract() 769 || (symtab.symsnamelen == 0 && index_size != 0)) in do_oper_extract() 803 if ((symtab.symsnamelen != 0 in do_oper_extract() 804 && ((write_retry (newfd, symtab.symsoff, in do_oper_extract() 805 symtab.symsofflen) in do_oper_extract() 806 != (ssize_t) symtab.symsofflen) in do_oper_extract() 807 || (write_retry (newfd, symtab.symsname, in do_oper_extract() 808 symtab.symsnamelen) in do_oper_extract() 809 != (ssize_t) symtab.symsnamelen))) in do_oper_extract() 1034 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 | 338 if (di->symtab != NULL) { in ML_() 340 new_tab[i] = di->symtab[i]; in ML_() 341 ML_(dinfo_free)(di->symtab); in ML_() 343 di->symtab = new_tab; in ML_() 347 di->symtab[di->symtab_used++] = *sym; in ML_() 1645 DiSym* sym = &di->symtab[i]; in canonicaliseSymtab() 1651 VG_(ssort)(di->symtab, di->symtab_used, in canonicaliseSymtab() 1652 sizeof(*di->symtab), compare_DiSym); in canonicaliseSymtab() 1668 if ( di->symtab[w].avmas.main == di->symtab[r].avmas.main in canonicaliseSymtab() 1669 && 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/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/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/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 | 446 symtab_t symtab[SYM_NUM]; member 500 symtab_t symtab[SYM_NUM]; member 501 #define p_commons symtab[SYM_COMMONS] 502 #define p_classes symtab[SYM_CLASSES] 503 #define p_roles symtab[SYM_ROLES] 504 #define p_types symtab[SYM_TYPES] 505 #define p_users symtab[SYM_USERS] 506 #define p_bools symtab[SYM_BOOLS] 507 #define p_levels symtab[SYM_LEVELS] 508 #define p_cats symtab[SYM_CATS] [all …]
|
/external/elfutils/src/libdwfl/ |
D | relocate.c | 195 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol() argument 201 if (symtab->symstrdata == NULL) in resolve_symbol() 205 || referer->symfile->elf != symtab->symelf); in resolve_symbol() 206 symtab->symstrdata = elf_getdata (elf_getscn (symtab->symelf, in resolve_symbol() 207 symtab->strtabndx), in resolve_symbol() 209 if (unlikely (symtab->symstrdata == NULL in resolve_symbol() 210 || symtab->symstrdata->d_buf == NULL)) in resolve_symbol() 213 if (unlikely (sym->st_name >= symtab->symstrdata->d_size)) in resolve_symbol() 216 const char *name = symtab->symstrdata->d_buf; in resolve_symbol()
|
/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 …]
|
/external/llvm/test/Object/ |
D | nm-archive.test | 33 Test we don't error with an archive with no symtab. 34 RUN: llvm-nm %p/Inputs/archive-test.a-gnu-no-symtab 37 Or in an archive with no symtab or string table. 41 And don't crash when asked to print a non-existing symtab.
|
/external/bison/po/ |
D | bison.pot | 429 #: src/reader.c:139 src/symtab.c:156 src/symtab.c:166 src/symtab.c:938 430 #: src/symtab.c:953 src/symtab.c:968 src/symtab.c:983 723 #: src/symtab.c:71 728 #: src/symtab.c:91 733 #: src/symtab.c:154 738 #: src/symtab.c:164 743 #: src/symtab.c:332 748 #: src/symtab.c:346 753 #: src/symtab.c:367 758 #: src/symtab.c:395 [all …]
|