Home
last modified time | relevance | path

Searched full:pdb (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/external/python/cpython3/Lib/test/
Dtest_pdb.py1 # A test suite for pdb; not very comprehensive at the moment.
5 import pdb
17 # This little helper class is essential for testing pdb under doctest.
23 """Context manager that makes testing Pdb in doctests easier."""
40 """This tests the custom displayhook for pdb.
43 ... import pdb; pdb.Pdb(nosigint=True, readrc=False).set_trace()
55 (Pdb) foo
57 (Pdb) bar
58 (Pdb) for i in range(5): print(i)
64 (Pdb) continue
[all …]
/external/selinux/libsepol/src/
Dkernel_to_conf.c30 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()
266 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
283 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
289 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 …]
Dkernel_to_cil.c31 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()
270 static int class_constraint_rules_to_strs(struct policydb *pdb, char *classkey, in class_constraint_rules_to_strs() argument
288 expr = constraint_expr_to_str(pdb, curr->expr, &is_mls); in class_constraint_rules_to_strs()
294 perms = sepol_av_to_string(pdb, class->s.value, curr->permissions); in class_constraint_rules_to_strs()
317 static int class_validatetrans_rules_to_strs(struct policydb *pdb, char *classkey, in class_validatetrans_rules_to_strs() argument
[all …]
Dmodule_to_cil.c163 struct policydb *pdb; member
197 /* A linked list of all roles stored in the pdb
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()
398 rc = hashtab_map(pdb->p_types.table, typealiases_gather_map, pdb); in typealias_list_create()
491 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
498 scope = hashtab_search(pdb->scope[symbol_type].table, id); in is_id_in_scope_with_start()
516 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope() argument
[all …]
/external/python/cpython2/Lib/test/
Dtest_pdb.py1 # A test suite for pdb; at the moment, this only validates skipping of
12 # This little helper class is essential for testing pdb under doctest.
19 """Run 'script' lines with pdb and the pdb 'commands'."""
24 cmd = [sys.executable, '-m', 'pdb', filename]
85 """Context manager that makes testing Pdb in doctests easier."""
102 """This tests the custom displayhook for pdb.
105 ... import pdb; pdb.Pdb().set_trace()
117 (Pdb) foo
119 (Pdb) bar
120 (Pdb) for i in range(5): write(i)
[all …]
/external/selinux/libsepol/cil/src/
Dcil_binary.h43 * @param[in] pdb The policy database.
47 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **pdb);
52 * It is assumed that pdb has been allocated and initialized so that fields such
55 * properly allocate and initialize the pdb and then calls this function. This
59 * @param[in] pdb The policy database.
63 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *pdb);
68 * @param[in] pdb The policy database to insert the common into.
74 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_o…
79 * @param[in] pdb The policy database to insert the class into.
84 int cil_class_to_policydb(policydb_t *pdb, struct cil_class *cil_class);
[all …]
Dcil_binary.c64 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 …]
/external/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp10 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
12 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
13 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
14 #include "llvm/DebugInfo/PDB/PDBSymbolAnnotation.h"
15 #include "llvm/DebugInfo/PDB/PDBSymbolBlock.h"
16 #include "llvm/DebugInfo/PDB/PDBSymbolCompiland.h"
17 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h"
18 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h"
19 #include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
20 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
[all …]
DPDB.cpp1 //===- PDB.cpp - base header file for creating a PDB reader -----*- C++ -*-===//
10 #include "llvm/DebugInfo/PDB/PDB.h"
14 #include "llvm/DebugInfo/PDB/GenericError.h"
15 #include "llvm/DebugInfo/PDB/IPDBSession.h"
16 #include "llvm/DebugInfo/PDB/PDB.h"
18 #include "llvm/DebugInfo/PDB/DIA/DIASession.h"
20 #include "llvm/DebugInfo/PDB/Raw/RawSession.h"
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/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBSymbol.cpp9 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
10 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
11 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
12 #include "llvm/DebugInfo/PDB/IPDBSession.h"
13 #include "llvm/DebugInfo/PDB/PDBExtras.h"
14 #include "llvm/DebugInfo/PDB/PDBSymbolAnnotation.h"
15 #include "llvm/DebugInfo/PDB/PDBSymbolBlock.h"
16 #include "llvm/DebugInfo/PDB/PDBSymbolCompiland.h"
17 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h"
18 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h"
[all …]
DPDBSymbolTypeUDT.cpp9 #include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h"
11 #include "llvm/DebugInfo/PDB/IPDBSession.h"
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
13 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
14 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
15 #include "llvm/DebugInfo/PDB/PDBSymbolExe.h"
16 #include "llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h"
17 #include "llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h"
18 #include "llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h"
23 using namespace llvm::pdb;
/external/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp1 //===- llvm/unittest/DebugInfo/PDB/PDBApiTest.cpp -------------------------===//
13 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
14 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
15 #include "llvm/DebugInfo/PDB/IPDBSession.h"
16 #include "llvm/DebugInfo/PDB/IPDBSourceFile.h"
18 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
19 #include "llvm/DebugInfo/PDB/PDBSymbolAnnotation.h"
20 #include "llvm/DebugInfo/PDB/PDBSymbolBlock.h"
21 #include "llvm/DebugInfo/PDB/PDBSymbolCompiland.h"
22 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h"
[all …]
/external/llvm/tools/llvm-pdbdump/
DPdbYaml.cpp12 #include "llvm/DebugInfo/PDB/PDBExtras.h"
13 #include "llvm/DebugInfo/PDB/Raw/PDBFile.h"
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> {
[all …]
DPdbYaml.h16 #include "llvm/DebugInfo/PDB/PDBTypes.h"
17 #include "llvm/DebugInfo/PDB/Raw/PDBFile.h"
18 #include "llvm/DebugInfo/PDB/Raw/RawConstants.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);
[all …]
/external/python/cpython3/Doc/library/
Dpdb.rst3 :mod:`pdb` --- The Python Debugger
6 .. module:: pdb
9 **Source code:** :source:`Lib/pdb.py`
15 The module :mod:`pdb` defines an interactive source code debugger for Python
22 single: Pdb (class in pdb)
26 The debugger is extensible -- it is actually defined as the class :class:`Pdb`.
30 The debugger's prompt is ``(Pdb)``. Typical usage to run a program under control
33 >>> import pdb
35 >>> pdb.run('mymodule.test()')
37 (Pdb) continue
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp10 #include "llvm/DebugInfo/PDB/Raw/MappedBlockStream.h"
11 #include "llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h"
12 #include "llvm/DebugInfo/PDB/Raw/IPDBStreamData.h"
13 #include "llvm/DebugInfo/PDB/Raw/IndexedStreamData.h"
14 #include "llvm/DebugInfo/PDB/Raw/PDBFile.h"
15 #include "llvm/DebugInfo/PDB/Raw/RawError.h"
18 using namespace llvm::pdb;
39 const IPDBFile &Pdb) in MappedBlockStream() argument
40 : Pdb(Pdb), Data(std::move(Data)) {} in MappedBlockStream()
127 uint32_t First = Offset / Pdb.getBlockSize(); in readLongestContiguousChunk()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DFormatters.h15 #include "llvm/DebugInfo/PDB/Native/RawConstants.h"
16 #include "llvm/DebugInfo/PDB/Native/RawTypes.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")
[all …]
DDbiStream.h1 //===- DbiStream.h - PDB Dbi Stream (Stream 3) Access -----------*- C++ -*-===//
15 #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
16 #include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"
17 #include "llvm/DebugInfo/PDB/Native/PDBStringTable.h"
18 #include "llvm/DebugInfo/PDB/Native/RawConstants.h"
19 #include "llvm/DebugInfo/PDB/Native/RawTypes.h"
20 #include "llvm/DebugInfo/PDB/PDBTypes.h"
32 namespace pdb {
43 Error reload(PDBFile *Pdb);
95 Error initializeSectionHeadersData(PDBFile *Pdb);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp9 #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
13 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
14 #include "llvm/DebugInfo/PDB/IPDBSourceFile.h"
15 #include "llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h"
16 #include "llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h"
17 #include "llvm/DebugInfo/PDB/Native/NativeEnumTypes.h"
18 #include "llvm/DebugInfo/PDB/Native/NativeExeSymbol.h"
19 #include "llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h"
20 #include "llvm/DebugInfo/PDB/Native/NativeTypeEnum.h"
21 #include "llvm/DebugInfo/PDB/Native/PDBFile.h"
[all …]
DSymbolCache.cpp1 #include "llvm/DebugInfo/PDB/Native/SymbolCache.h"
6 #include "llvm/DebugInfo/PDB/Native/DbiStream.h"
7 #include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
8 #include "llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h"
9 #include "llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h"
10 #include "llvm/DebugInfo/PDB/Native/NativeEnumTypes.h"
11 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
12 #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
13 #include "llvm/DebugInfo/PDB/Native/NativeTypeArray.h"
14 #include "llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h"
[all …]
/external/google-breakpad/src/processor/testdata/
Dminidump2.stackwalk.machine_readable.out5 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 …]
/external/python/cpython3/Tools/msi/lib/
Dlib_files.wxs50 <Component Id="$(var.ext).pdb" Directory="DLLs" Guid="*">
51 <File Name="$(var.ext).pdb" />
56 <Component Id="sqlite3.pdb" Directory="DLLs" Guid="*">
57 <File Name="sqlite3.pdb" />
59 <Component Id="libcrypto.pdb" Directory="DLLs" Guid="*">
60 <File Name="libcrypto$(var.ssltag).pdb" KeyPath="yes" />
62 <Component Id="libssl.pdb" Directory="DLLs" Guid="*">
63 <File Name="libssl$(var.ssltag).pdb" KeyPath="yes" />
65 <Component Id="venvlauncher.pdb" Directory="Lib_venv_scripts_nt__pdbs" Guid="*">
66 <File Name="python.pdb" Source="venvlauncher.pdb" KeyPath="yes" />
[all …]
/external/python/cpython2/Doc/library/
Dpdb.rst3 :mod:`pdb` --- The Python Debugger
6 .. module:: pdb
9 **Source code:** :source:`Lib/pdb.py`
15 The module :mod:`pdb` defines an interactive source code debugger for Python
22 single: Pdb (class in pdb)
26 The debugger is extensible --- it is actually defined as the class :class:`Pdb`.
30 The debugger's prompt is ``(Pdb)``. Typical usage to run a program under control
33 >>> import pdb
35 >>> pdb.run('mymodule.test()')
37 (Pdb) continue
[all …]
/external/llvm/test/DebugInfo/PDB/
Dpdbdump-write.test1 ; This testcase checks to make sure that we can write PDB files. It
2 ; works by first reading a known good PDB file and dumping the contents
3 ; to YAML. Then it tries to reconstruct as much of the original PDB as
5 ; the YAML, the PDB might be missing data required for any standard tool
7 ; constructed PDB to YAML, and verifies that the YAML is the same as the
8 ; original YAML generated from the good PDB.
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/
Dmodule.modulemap101 umbrella "DebugInfo/PDB"
108 exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
109 exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
110 exclude header "DebugInfo/PDB/DIA/DIAEnumFrameData.h"
111 exclude header "DebugInfo/PDB/DIA/DIAEnumInjectedSources.h"
112 exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
113 exclude header "DebugInfo/PDB/DIA/DIAEnumSectionContribs.h"
114 exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
115 exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
116 exclude header "DebugInfo/PDB/DIA/DIAEnumTables.h"
[all …]

12345678910>>...44