Home
last modified time | relevance | path

Searched refs:Session (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeExeSymbol.cpp23 static DbiStream *getDbiStreamPtr(NativeSession &Session) { in getDbiStreamPtr() argument
24 Expected<DbiStream &> DbiS = Session.getPDBFile().getPDBDbiStream(); in getDbiStreamPtr()
33 : NativeRawSymbol(Session, PDB_SymType::Exe, SymbolId), in NativeExeSymbol()
34 Dbi(getDbiStreamPtr(Session)) {} in NativeExeSymbol()
50 return Session.getSymbolCache().createTypeEnumerator( in findChildren()
56 return Session.getSymbolCache().createTypeEnumerator( in findChildren()
68 auto IS = Session.getPDBFile().getPDBInfoStream(); in getAge()
76 return std::string(Session.getPDBFile().getFilePath()); in getSymbolsFileName()
80 auto IS = Session.getPDBFile().getPDBInfoStream(); in getGuid()
88 auto Dbi = Session.getPDBFile().getPDBDbiStream(); in hasCTypes()
[all …]
H A DNativeTypeFunctionSig.cpp28 NativeTypeFunctionArg(NativeSession &Session, in NativeTypeFunctionArg() argument
30 : NativeRawSymbol(Session, PDB_SymType::FunctionArg, 0), in NativeTypeFunctionArg()
48 NativeEnumFunctionArgs(NativeSession &Session, in NativeEnumFunctionArgs() argument
50 : Session(Session), TypeEnumerator(std::move(TypeEnumerator)) {} in NativeEnumFunctionArgs()
69 return PDBSymbol::create(Session, std::move(NTFA)); in wrap()
71 NativeSession &Session; member in __anon17ee42930111::NativeEnumFunctionArgs
80 : NativeRawSymbol(Session, PDB_SymType::FunctionSig, Id), in NativeTypeFunctionSig()
86 : NativeRawSymbol(Session, PDB_SymType::FunctionSig, Id), in NativeTypeFunctionSig()
114 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
138 auto NET = std::make_unique<NativeEnumTypes>(Session, in findChildren()
[all …]
H A DNativeTypeEnum.cpp41 NativeEnumEnumEnumerators(NativeSession &Session,
55 NativeSession &Session; member in __anone0fbb8df0111::NativeEnumEnumEnumerators
64 NativeSession &Session, const NativeTypeEnum &ClassParent) in NativeEnumEnumEnumerators() argument
65 : Session(Session), ClassParent(ClassParent) { in NativeEnumEnumEnumerators()
99 SymIndexId Id = Session.getSymbolCache() in getChildAtIndex()
103 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
123 : NativeRawSymbol(Session, PDB_SymType::Enum, Id), in NativeTypeEnum()
135 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
139 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
300 Session.getConcreteSymbolById<PDBSymbolTypeBuiltin>(Id); in getLength()
[all …]
H A DNativeTypeArray.cpp19 NativeTypeArray::NativeTypeArray(NativeSession &Session, SymIndexId Id, in NativeTypeArray() argument
22 : NativeRawSymbol(Session, PDB_SymType::ArrayType, Id), Record(Record), in NativeTypeArray()
32 dumpSymbolIdField(OS, "elementTypeId", getTypeId(), Indent, Session, in dump()
35 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
46 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType()); in getArrayIndexTypeId()
57 Session.getSymbolCache().getNativeSymbolById(getTypeId()); in getCount()
62 return Session.getSymbolCache().findSymbolByTypeIndex( in getTypeId()
H A DNativeInlineSiteSymbol.cpp23 NativeSession &Session, SymIndexId Id, const codeview::InlineSiteSym &Sym, in NativeInlineSiteSymbol() argument
25 : NativeRawSymbol(Session, PDB_SymType::InlineSite, Id), Sym(Sym), in NativeInlineSiteSymbol()
58 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in getName()
63 auto Ipi = Session.getPDBFile().getPDBIpiStream(); in getName()
132 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineeLinesByVA()
135 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineeLinesByVA()
167 Session.getSymbolCache().getOrCreateSourceFile(*ChecksumIter); in findInlineeLinesByVA()
170 Session.addressForVA(VA, LineSect, LineOff); in findInlineeLinesByVA()
171 NativeLineNumber LineNum(Session, SrcLine, SrcCol, LineSect, LineOff, Length, in findInlineeLinesByVA()
173 auto SrcFile = Session.getSymbolCache().getSourceFileById(SrcFileId); in findInlineeLinesByVA()
H A DNativeTypePointer.cpp19 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
21 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI) { in NativeTypePointer()
26 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
29 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI), in NativeTypePointer()
40 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump()
44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
47 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
75 return Session.getSymbolCache().findSymbolByTypeIndex(MPI.ContainingType); in getClassParentId()
104 return Session.getSymbolCache().findSymbolByTypeIndex(Referent); in getTypeId()
H A DNativeFunctionSymbol.cpp21 NativeFunctionSymbol::NativeFunctionSymbol(NativeSession &Session, in NativeFunctionSymbol() argument
25 : NativeRawSymbol(Session, PDB_SymType::Function, Id), Sym(Sym), in NativeFunctionSymbol()
52 return Session.getRVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getRelativeVirtualAddress()
56 return Session.getVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getVirtualAddress()
95 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineFramesByVA()
98 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineFramesByVA()
122 SymIndexId Id = Session.getSymbolCache().getOrCreateInlineSymbol( in findInlineFramesByVA()
142 return std::make_unique<NativeEnumSymbols>(Session, std::move(Frames)); in findInlineFramesByVA()
H A DNativeEnumGlobals.cpp25 : Index(0), Session(PDBSession) { in NativeEnumGlobals()
26 GlobalsStream &GS = cantFail(Session.getPDBFile().getPDBGlobalsStream()); in NativeEnumGlobals()
27 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in NativeEnumGlobals()
46 Session.getSymbolCache().getOrCreateGlobalSymbolByOffset(MatchOffsets[N]); in getChildAtIndex()
47 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
H A DNativeLineNumber.cpp14 NativeLineNumber::NativeLineNumber(const NativeSession &Session, in NativeLineNumber() argument
19 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber()
38 return Session.getRVAFromSectOffset(Section, Offset); in getRelativeVirtualAddress()
42 return Session.getVAFromSectOffset(Section, Offset); in getVirtualAddress()
H A DSymbolCache.cpp74 : Session(Session), Dbi(Dbi) { in SymbolCache()
90 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in createTypeEnumerator()
97 new NativeEnumTypes(Session, Types, std::move(Kinds))); in createTypeEnumerator()
103 new NativeEnumGlobals(Session, {Kind})); in createGlobalsEnumerator()
168 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in findSymbolByTypeIndex()
255 return PDBSymbol::create(Session, *NRS); in getSymbolById()
344 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findFunctionSymbolBySectOffset()
348 Session.getModuleDebugStream(Modi); in findFunctionSymbolBySectOffset()
454 Session.getModuleDebugStream(Modi); in findLineTable()
530 if (!Session.moduleIndexForVA(VA, Modi)) in findLineNumbersByVA()
[all …]
H A DNativeTypeUDT.cpp19 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
21 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
24 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
26 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
29 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
32 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), in NativeTypeUDT()
44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
49 Session, PdbSymbolIdField::UnmodifiedType, ShowIdFields, in dump()
94 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape); in getVirtualTableShapeId()
H A DNativeTypeTypedef.cpp7 NativeTypeTypedef::NativeTypeTypedef(NativeSession &Session, SymIndexId Id, in NativeTypeTypedef() argument
9 : NativeRawSymbol(Session, PDB_SymType::Typedef, Id), in NativeTypeTypedef()
19 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
28 return Session.getSymbolCache().findSymbolByTypeIndex(Record.Type); in getTypeId()
H A DNativeSourceFile.cpp15 NativeSourceFile::NativeSourceFile(NativeSession &Session, uint32_t FileId, in NativeSourceFile() argument
17 : Session(Session), FileId(FileId), Checksum(Checksum) {} in NativeSourceFile()
20 auto ST = Session.getPDBFile().getStringTable(); in getFileName()
H A DNativePublicSymbol.cpp19 NativePublicSymbol::NativePublicSymbol(NativeSession &Session, SymIndexId Id, in NativePublicSymbol() argument
21 : NativeRawSymbol(Session, PDB_SymType::PublicSymbol, Id), Sym(Sym) {} in NativePublicSymbol()
43 return Session.getRVAFromSectOffset(Sym.Segment, Sym.Offset); in getRelativeVirtualAddress()
47 return Session.getVAFromSectOffset(Sym.Segment, Sym.Offset); in getVirtualAddress()
H A DNativeEnumTypes.cpp26 : Matches(), Index(0), Session(PDBSession) { in NativeEnumTypes()
52 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
60 SymIndexId Id = Session.getSymbolCache().findSymbolByTypeIndex(Matches[N]); in getChildAtIndex()
61 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASession.cpp109 Session.reset(new DIASession(DiaSession)); in createFromPdb()
134 Session.reset(new DIASession(DiaSession)); in createFromExe()
145 return (S_OK == Session->put_loadAddress(Address)); in setLoadAddress()
150 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
185 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
199 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findSymbolByAddress()
254 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findLineNumbersByAddress()
356 if (S_OK != Session->findFileById(FileId, &LocatedFile)) in getSourceFileById()
372 if (S_OK != Session->getEnumTables(&DiaEnumerator)) in getEnumTables()
384 if (Session.getEnumTables(&ET) != S_OK) in getTableEnumerator()
[all …]
H A DDIAEnumSymbols.cpp19 : Session(PDBSession), Enumerator(DiaEnumerator) {} in DIAEnumSymbols()
32 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); in getChildAtIndex()
33 return std::unique_ptr<PDBSymbol>(PDBSymbol::create(Session, std::move(RawSymbol))); in getChildAtIndex()
42 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); in getNext()
44 PDBSymbol::create(Session, std::move(RawSymbol))); in getNext()
/freebsd-13.1/crypto/openssh/
H A Dsession.h30 typedef struct Session Session; typedef
31 struct Session { struct
74 void session_destroy_all(struct ssh *, void (*)(Session *)); argument
75 void session_pty_cleanup2(Session *);
77 Session *session_new(void);
78 Session *session_by_tty(char *);
79 void session_close(struct ssh *, Session *);
H A Dsession.c117 Session *session_new(void);
1467 do_pwchange(Session *s) in do_pwchange()
1765 Session *
1768 Session *s, *tmp; in session_new()
1809 Session *s = &sessions[i]; in session_dump()
1839 Session *
1855 static Session *
1872 static Session *
1895 static Session *
2227 Session *s; in session_input_channel_req()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDB.cpp24 std::unique_ptr<IPDBSession> &Session) { in loadDataForPDB() argument
27 return NativeSession::createFromPdbPath(Path, Session); in loadDataForPDB()
30 return DIASession::createFromPdb(Path, Session); in loadDataForPDB()
37 std::unique_ptr<IPDBSession> &Session) { in loadDataForEXE() argument
43 return NativeSession::createFromPdbPath(PdbPath.get(), Session); in loadDataForEXE()
47 return DIASession::createFromExe(Path, Session); in loadDataForEXE()
H A DPDBContext.cpp25 : DIContext(CK_PDB), Session(std::move(PDBSession)) { in PDBContext()
28 Session->setLoadAddress(ImageBase.get()); in PDBContext()
40 Session->findSymbolByAddress(Address.Address, PDB_SymType::None); in getLineInfoForAddress()
49 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Length); in getLineInfoForAddress()
55 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress()
73 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Size); in getLineInfoForAddressRange()
93 Session->findSymbolByAddress(Address.Address, PDB_SymType::Function); in getInliningInfoForAddress()
116 auto SourceFile = Session->getSourceFileById(Line->getSourceFileId()); in getInliningInfoForAddress()
140 Session->findSymbolByAddress(Address, PDB_SymType::Function); in getFunctionName()
148 Session->findSymbolByAddress(Address, PDB_SymType::PublicSymbol); in getFunctionName()
H A DPDBSymbolTypeFunctionSig.cpp31 : Session(PDBSession), in FunctionArgEnumerator()
36 : Session(PDBSession), Enumerator(std::move(ArgEnumerator)) {} in FunctionArgEnumerator()
46 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); in getChildAtIndex()
53 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); in getNext()
59 const IPDBSession &Session; member in __anonb92d1b420111::FunctionArgEnumerator
66 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
H A DPDBSymbolFunc.cpp33 : Session(PDBSession), Func(PDBFunc) { in FunctionArgEnumerator()
57 return Session.getConcreteSymbolById<PDBSymbolData>( in getChildAtIndex()
66 return Session.getConcreteSymbolById<PDBSymbolData>(Result.getSymIndexId()); in getNext()
73 const IPDBSession &Session; member in __anona532bec30111::FunctionArgEnumerator
82 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
100 return Session.findLineNumbersByAddress(RawSymbol->getVirtualAddress(), in getLineNumbers()
H A DPDBSymbolData.cpp25 return Session.findLineNumbersByRVA(RVA, Len); in getLineNumbers()
28 return Session.findLineNumbersBySectOffset( in getLineNumbers()
44 Session.addressForRVA(RVA, DataSection, DataOffset); in getCompilandId()
48 if (auto SecContribs = Session.getSectionContribs()) { in getCompilandId()
58 while (auto LexParent = Session.getSymbolById(LexParentId)) { in getCompilandId()
/freebsd-13.1/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dzfs_key7 Session-Interactive-Only: yes
8 Session-Type: Additional
9 Session:

12345