/external/selinux/libsepol/cil/src/ |
D | cil_binary.h | 47 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **pdb); 63 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *pdb); 74 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o… 84 int cil_class_to_policydb(policydb_t *pdb, struct cil_class *cil_class); 94 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role); 105 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role); 115 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type, void *type_value_to_cil[]); 125 int cil_typealias_to_policydb(policydb_t *pdb, struct cil_alias *cil_alias); 137 int cil_typepermissive_to_policydb(policydb_t *pdb, struct cil_typepermissive *cil_typeperm); 147 int cil_typeattribute_to_policydb(policydb_t *pdb, struct cil_typeattribute *cil_attr, void *type_v… [all …]
|
D | cil_binary.c | 64 policydb_t *pdb; member 74 policydb_t *pdb; member 79 static int __cil_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t… in __cil_get_sepol_user_datum() argument 81 *sepol_user = hashtab_search(pdb->p_users.table, datum->fqn); in __cil_get_sepol_user_datum() 90 static int __cil_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t… in __cil_get_sepol_role_datum() argument 92 *sepol_role = hashtab_search(pdb->p_roles.table, datum->fqn); in __cil_get_sepol_role_datum() 101 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t… in __cil_get_sepol_type_datum() argument 103 *sepol_type = hashtab_search(pdb->p_types.table, datum->fqn); in __cil_get_sepol_type_datum() 112 static int __cil_get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum… in __cil_get_sepol_class_datum() argument 114 *sepol_class = hashtab_search(pdb->p_classes.table, datum->fqn); in __cil_get_sepol_class_datum() [all …]
|
D | android.c | 30 policydb_t *pdb; member 948 policydb_t *pdb = args->pdb; in define_symbols() local 953 rc = cil_type_to_policydb(pdb, node->data, type_value_to_cil); in define_symbols() 962 rc = cil_typeattribute_to_policydb(pdb, node->data, type_value_to_cil); in define_symbols() 988 policydb_t *pdb = args->pdb; in expand_symbols() local 992 rc = cil_typeattribute_to_bitmap(pdb, db, node->data); in expand_symbols() 1028 policydb_t *pdb = args->pdb; in apply_rules() local 1034 rc = cil_avrule_to_policydb(pdb, db, node->data); in apply_rules() 1053 policydb_t *pdb = &policydb->p; in cil_amend_policydb() local 1068 void **type_value_to_cil = calloc(db->num_types_and_attrs + pdb->p_types.nprim + 1, in cil_amend_policydb() [all …]
|
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 30 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str() argument 45 char *val1 = pdb->p_bool_val_to_name[curr->bool - 1]; in cond_expr_to_str() 119 static char *constraint_expr_to_str(struct policydb *pdb, struct constraint_expr *expr, int *use_ml… in constraint_expr_to_str() argument 182 names = ebitmap_to_str(&ts->types, pdb->p_type_val_to_name, 1); in constraint_expr_to_str() 184 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str() 186 names = ebitmap_to_str(&curr->names, pdb->p_role_val_to_name, 1); in constraint_expr_to_str() 270 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument 287 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs() 293 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs() 325 static int class_validatetrans_rules_to_strs(struct policydb *pdb, char *classkey, in class_validatetrans_rules_to_strs() argument [all …]
|
D | kernel_to_cil.c | 31 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str() argument 46 char *val1 = pdb->p_bool_val_to_name[curr->bool - 1]; in cond_expr_to_str() 121 static char *constraint_expr_to_str(struct policydb *pdb, struct constraint_expr *expr, int *use_ml… in constraint_expr_to_str() argument 185 names = ebitmap_to_str(&ts->types, pdb->p_type_val_to_name, 1); in constraint_expr_to_str() 187 names = ebitmap_to_str(&curr->names, pdb->p_user_val_to_name, 1); in constraint_expr_to_str() 189 names = ebitmap_to_str(&curr->names, pdb->p_role_val_to_name, 1); in constraint_expr_to_str() 274 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument 292 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs() 298 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs() 321 static int class_validatetrans_rules_to_strs(struct policydb *pdb, char *classkey, in class_validatetrans_rules_to_strs() argument [all …]
|
D | module_to_cil.c | 163 struct policydb *pdb; member 333 struct policydb *pdb = arg; in typealiases_gather_map() local 339 scope = hashtab_search(pdb->scope[SYM_TYPES].table, key); in typealiases_gather_map() 381 static int typealias_list_create(struct policydb *pdb) in typealias_list_create() argument 388 for (block = pdb->global; block != NULL; block = block->next) { in typealias_list_create() 400 rc = hashtab_map(pdb->p_types.table, typealiases_gather_map, pdb); in typealias_list_create() 493 static int is_id_in_scope_with_start(struct policydb *pdb, struct stack *decl_stack, int start, uin… in is_id_in_scope_with_start() argument 500 scope = hashtab_search(pdb->scope[symbol_type].table, id); in is_id_in_scope_with_start() 518 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope() argument 522 return is_id_in_scope_with_start(pdb, decl_stack, start, symbol_type, type); in is_id_in_ancestor_scope() [all …]
|
D | kernel_to_common.c | 653 int sort_ocontexts(struct policydb *pdb) in sort_ocontexts() argument 657 if (pdb->target_platform == SEPOL_TARGET_SELINUX) { in sort_ocontexts() 658 rc = sort_ocontext_data(&pdb->ocontexts[5], fsuse_data_cmp); in sort_ocontexts() 663 rc = sort_ocontext_data(&pdb->ocontexts[2], portcon_data_cmp); in sort_ocontexts() 668 rc = sort_ocontext_data(&pdb->ocontexts[3], netif_data_cmp); in sort_ocontexts() 673 rc = sort_ocontext_data(&pdb->ocontexts[4], node_data_cmp); in sort_ocontexts() 678 rc = sort_ocontext_data(&pdb->ocontexts[6], node6_data_cmp); in sort_ocontexts() 683 rc = sort_ocontext_data(&pdb->ocontexts[OCON_IBPKEY], ibpkey_data_cmp); in sort_ocontexts() 688 rc = sort_ocontext_data(&pdb->ocontexts[OCON_IBENDPORT], ibendport_data_cmp); in sort_ocontexts() 692 } else if (pdb->target_platform == SEPOL_TARGET_XEN) { in sort_ocontexts() [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | PdbYaml.cpp | 17 using namespace llvm::pdb; 18 using namespace llvm::pdb::yaml; 22 template <> struct ScalarTraits<llvm::pdb::PDB_UniqueId> { 23 static void output(const llvm::pdb::PDB_UniqueId &S, void *, in output() 29 llvm::pdb::PDB_UniqueId &S) { in input() 57 template <> struct ScalarEnumerationTraits<llvm::pdb::PDB_Machine> { 58 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration() 80 template <> struct ScalarEnumerationTraits<llvm::pdb::PdbRaw_DbiVer> { 81 static void enumeration(IO &io, llvm::pdb::PdbRaw_DbiVer &Value) { in enumeration() 82 io.enumCase(Value, "V41", llvm::pdb::PdbRaw_DbiVer::PdbDbiVC41); in enumeration() [all …]
|
D | PdbYaml.h | 25 namespace pdb { 72 template <> struct MappingTraits<pdb::yaml::PdbObject> { 73 static void mapping(IO &IO, pdb::yaml::PdbObject &Obj); 76 template <> struct MappingTraits<pdb::yaml::MsfHeaders> { 77 static void mapping(IO &IO, pdb::yaml::MsfHeaders &Obj); 80 template <> struct MappingTraits<pdb::PDBFile::SuperBlock> { 81 static void mapping(IO &IO, pdb::PDBFile::SuperBlock &SB); 84 template <> struct MappingTraits<pdb::yaml::StreamBlockList> { 85 static void mapping(IO &IO, pdb::yaml::StreamBlockList &SB); 88 template <> struct MappingTraits<pdb::yaml::PdbInfoStream> { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | Formatters.h | 25 template <> struct format_provider<pdb::PdbRaw_ImplVer> { 26 static void format(const pdb::PdbRaw_ImplVer &V, llvm::raw_ostream &Stream, 29 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC110, "VC110") 30 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC140, "VC140") 31 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC2, "VC2") 32 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC4, "VC4") 33 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC41, "VC41") 34 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC50, "VC50") 35 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70, "VC70") 36 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70Dep, "VC70Dep") [all …]
|
D | DbiModuleDescriptor.h | 22 namespace pdb { 59 template <> struct VarStreamArrayExtractor<pdb::DbiModuleDescriptor> { 61 pdb::DbiModuleDescriptor &Info) { 62 if (auto EC = pdb::DbiModuleDescriptor::initialize(Stream, Info))
|
/external/google-breakpad/src/processor/testdata/ |
D | minidump2.stackwalk.machine_readable.out | 5 Module|test_app.exe||test_app.pdb|5A9832E5287241C1838ED98914E9B7FF1|0x00400000|0x0042cfff|1 6 Module|dbghelp.dll|5.1.2600.2180|dbghelp.pdb|39559573E21B46F28E286923BE9E6A761|0x59a60000|0x59b00ff… 7 Module|imm32.dll|5.1.2600.2180|imm32.pdb|2C17A49C251B4C8EB9E2AD13D7D9EA162|0x76390000|0x763acfff|0 8 Module|psapi.dll|5.1.2600.2180|psapi.pdb|A5C3A1F9689F43D8AD228A09293889702|0x76bf0000|0x76bfafff|0 9 Module|ole32.dll|5.1.2600.2726|ole32.pdb|683B65B246F4418796D2EE6D4C55EB112|0x774e0000|0x7761cfff|0 10 Module|version.dll|5.1.2600.2180|version.pdb|180A90C40384463E82DDC45B2C8AB76E2|0x77c00000|0x77c07ff… 11 Module|msvcrt.dll|7.0.2600.2180|msvcrt.pdb|A678F3C30DED426B839032B996987E381|0x77c10000|0x77c67fff|0 12 Module|user32.dll|5.1.2600.2622|user32.pdb|EE2B714D83A34C9D88027621272F83262|0x77d40000|0x77dcffff|0 13 Module|advapi32.dll|5.1.2600.2180|advapi32.pdb|455D6C5F184D45BBB5C5F30F829751142|0x77dd0000|0x77e6a… 14 Module|rpcrt4.dll|5.1.2600.2180|rpcrt4.pdb|BEA45A721DA141DAA3BA86B3A20311532|0x77e70000|0x77f00fff|0 [all …]
|
D | minidump2.dump.out | 208 (cv_record).pdb_file_name = "c:\test_app.pdb" 210 (debug_file) = "c:\test_app.pdb" 240 (cv_record).pdb_file_name = "ntdll.pdb" 242 (debug_file) = "ntdll.pdb" 272 (cv_record).pdb_file_name = "kernel32.pdb" 274 (debug_file) = "kernel32.pdb" 304 (cv_record).pdb_file_name = "ole32.pdb" 306 (debug_file) = "ole32.pdb" 336 (cv_record).pdb_file_name = "advapi32.pdb" 338 (debug_file) = "advapi32.pdb" [all …]
|
/external/libwebsockets/lib/misc/ |
D | lws-struct-sqlite.c | 180 lws_struct_sq3_deserialize(sqlite3 *pdb, const char *filter, const char *order, in lws_struct_sq3_deserialize() argument 223 if (sqlite3_exec(pdb, s, lws_struct_sq3_deser_cb, &a, NULL) != SQLITE_OK) { in lws_struct_sq3_deserialize() 224 lwsl_err("%s: %s: fail %s\n", __func__, sqlite3_errmsg(pdb), s); in lws_struct_sq3_deserialize() 240 _lws_struct_sq3_ser_one(sqlite3 *pdb, const lws_struct_map_t *schema, in _lws_struct_sq3_ser_one() argument 421 n = sqlite3_exec(pdb, sql, NULL, NULL, NULL); in _lws_struct_sq3_ser_one() 425 lwsl_err("%s: %s: fail\n", __func__, sqlite3_errmsg(pdb)); in _lws_struct_sq3_ser_one() 434 lws_struct_sq3_serialize(sqlite3 *pdb, const lws_struct_map_t *schema, in lws_struct_sq3_serialize() argument 441 if (_lws_struct_sq3_ser_one(pdb, schema, idx++, item)) in lws_struct_sq3_serialize() 450 lws_struct_sq3_create_table(sqlite3 *pdb, const lws_struct_map_t *schema) in lws_struct_sq3_create_table() argument 494 if (sqlite3_exec(pdb, s, NULL, NULL, NULL) != SQLITE_OK) { in lws_struct_sq3_create_table() [all …]
|
/external/llvm/test/DebugInfo/PDB/DIA/ |
D | pdbdump-flags.test | 1 ; RUN: llvm-pdbdump pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS 2 ; RUN: llvm-pdbdump pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES 3 ; RUN: llvm-pdbdump pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILAN… 4 ; RUN: llvm-pdbdump pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=M… 7 ; NO_ARGS: empty.pdb 16 ; TYPES: empty.pdb 25 ; COMPILANDS: empty.pdb 34 ; MULTIPLE: empty.pdb
|
/external/google-breakpad/src/tools/windows/converter_exe/ |
D | missing_symbols_test.txt | 1 msctf.pdb|6A5BABB8E88644C696530BFE3C90F32F2|6.1.7600.16385|msctf.dll|4A5BDFAA109000 2 imm32.pdb|98F27BA5AEE541ECBEE00CD03AD50FEE2|6.1.7600.16385|imm32.dll|4A5BDF402e000 3 amd_opencl64.pdb|3D306D0FCCB14F47AF322A5ACDF5EEA81||amd_opencl64.dll|587901FB1E000 4 igd10iumd64.pdb|B2B72475BB0846D8ADE4344FAE0CCE361 ||igd10iumd64.dll|568D69FBD99000 5 NvCameraWhitelisting64.pdb|3C364C4D3FBF4180B021D52D469C6DAB1||NvCameraWhitelisting64.dll|5B8ED23485…
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 14 using namespace llvm::pdb; 24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 44 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 71 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 103 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) { in operator <<() 119 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 154 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) { in operator <<() 174 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 188 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 199 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) { in operator <<() [all …]
|
/external/selinux/libsepol/fuzz/ |
D | secilc-fuzzer.c | 28 sepol_policydb_t *pdb = NULL; in LLVMFuzzerTestOneInput() local 49 if (cil_build_policydb(db, &pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput() 52 if (sepol_policydb_optimize(pdb) != SEPOL_OK) in LLVMFuzzerTestOneInput() 64 if (sepol_policydb_write(pdb, pf) != 0) in LLVMFuzzerTestOneInput() 71 sepol_policydb_free(pdb); in LLVMFuzzerTestOneInput()
|
/external/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 15 using namespace llvm::pdb; 25 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 45 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 77 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) { in operator <<() 93 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 149 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) { in operator <<() 167 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 181 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() 191 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) { in operator <<() 214 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_SymType &Tag) { in operator <<() [all …]
|
D | PDB.cpp | 25 using namespace llvm::pdb; 27 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB() 40 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE()
|
/external/llvm/test/tools/llvm-pdbdump/ |
D | regex-filter.test | 1 ; RUN: llvm-pdbdump pretty -symbols -globals -types %p/Inputs/FilterTest.pdb \ 4 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_TYPEDEFS %s 6 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_ENUMS %s 8 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_VARS %s 10 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_WHOLE_CLASS %s 12 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_COMPILAND %s 14 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=INCLUDE_ONLY_TYPES %s 16 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=INCLUDE_ONLY_VARS %s
|
/external/llvm/tools/llvm-pdbdump/fuzzer/ |
D | llvm-pdbdump-fuzzer.cpp | 53 std::unique_ptr<pdb::PDBFile> File(new pdb::PDBFile(std::move(InputStream))); in LLVMFuzzerTestOneInput() 83 pdb::DbiStream &DS = DbiS.get(); in LLVMFuzzerTestOneInput() 86 auto ModStreamData = pdb::MappedBlockStream::createIndexedStream( in LLVMFuzzerTestOneInput() 92 pdb::ModStream ModS(Modi.Info, std::move(*ModStreamData)); in LLVMFuzzerTestOneInput()
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | ModInfo.h | 20 namespace pdb { 66 template <> struct VarStreamArrayExtractor<pdb::ModInfo> { 68 pdb::ModInfo &Info) const { 69 if (auto EC = pdb::ModInfo::initialize(Stream, Info))
|
/external/llvm/test/DebugInfo/PDB/ |
D | pdbdump-write.test | 10 ; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %p/Inputs/empty.pdb > %… 11 ; RUN: llvm-pdbdump yaml2pdb -pdb=%t.2 %t.1 12 ; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %t.2 > %t.3
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/DIA/ |
D | DIAError.h | 16 namespace pdb { 30 struct is_error_code_enum<llvm::pdb::dia_error_code> : std::true_type {}; 34 namespace pdb {
|