Home
last modified time | relevance | path

Searched refs:UserIDResolver (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/lldb/source/Utility/
DUserIDResolver.cpp14 UserIDResolver::~UserIDResolver() = default;
16 llvm::Optional<llvm::StringRef> UserIDResolver::Get( in Get()
18 llvm::Optional<std::string> (UserIDResolver::*do_get)(id_t)) { in Get()
30 class NoopResolver : public UserIDResolver {
44 UserIDResolver &UserIDResolver::GetNoopResolver() { return *g_noop_resolver; } in GetNoopResolver()
DProcessInfo.cpp114 void ProcessInstanceInfo::Dump(Stream &s, UserIDResolver &resolver) const { in Dump()
187 void ProcessInstanceInfo::DumpAsTableRow(Stream &s, UserIDResolver &resolver, in DumpAsTableRow()
198 llvm::Optional<llvm::StringRef> (UserIDResolver::*getName)( in DumpAsTableRow()
199 UserIDResolver::id_t id)) { in DumpAsTableRow()
213 &ProcessInstanceInfo::GetUserID, &UserIDResolver::GetUserName); in DumpAsTableRow()
215 &ProcessInstanceInfo::GetGroupID, &UserIDResolver::GetGroupName); in DumpAsTableRow()
218 &UserIDResolver::GetUserName); in DumpAsTableRow()
221 &UserIDResolver::GetGroupName); in DumpAsTableRow()
227 &UserIDResolver::GetUserName); in DumpAsTableRow()
DCMakeLists.txt73 UserIDResolver.cpp
/external/llvm-project/lldb/include/lldb/Utility/
DUserIDResolver.h22 class UserIDResolver {
25 virtual ~UserIDResolver(); // anchor
28 return Get(uid, m_uid_cache, &UserIDResolver::DoGetUserName); in GetUserName()
31 return Get(gid, m_gid_cache, &UserIDResolver::DoGetGroupName); in GetGroupName()
36 static UserIDResolver &GetNoopResolver();
47 llvm::Optional<std::string> (UserIDResolver::*do_get)(id_t));
DProcessInfo.h22 class UserIDResolver; variable
145 void Dump(Stream &s, UserIDResolver &resolver) const;
149 void DumpAsTableRow(Stream &s, UserIDResolver &resolver, bool show_args,
/external/llvm-project/lldb/unittests/Utility/
DUserIDResolverTest.cpp16 class TestUserIDResolver : public UserIDResolver {
23 TEST(UserIDResolver, GetUserName) { in TEST() argument
36 TEST(UserIDResolver, GetGroupName) { in TEST() argument
DProcessInstanceInfoTest.cpp17 class DummyUserIDResolver : public UserIDResolver {
/external/llvm-project/lldb/include/lldb/Host/posix/
DHostInfoPosix.h17 class UserIDResolver; variable
35 static UserIDResolver &GetUserIDResolver();
/external/llvm-project/lldb/include/lldb/Host/windows/
DHostInfoWindows.h17 class UserIDResolver; variable
32 static UserIDResolver &GetUserIDResolver();
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.h23 class PlatformRemoteGDBServer : public Platform, private UserIDResolver {
100 UserIDResolver &GetUserIDResolver() override { return *this; } in GetUserIDResolver()
191 llvm::Optional<std::string> DoGetUserName(UserIDResolver::id_t uid) override;
192 llvm::Optional<std::string> DoGetGroupName(UserIDResolver::id_t uid) override;
DPlatformRemoteGDBServer.cpp359 PlatformRemoteGDBServer::DoGetUserName(UserIDResolver::id_t uid) { in DoGetUserName()
367 PlatformRemoteGDBServer::DoGetGroupName(UserIDResolver::id_t gid) { in DoGetGroupName()
/external/llvm-project/lldb/source/Host/windows/
DHostInfoWindows.cpp29 class WindowsUserIDResolver : public UserIDResolver {
139 UserIDResolver &HostInfoWindows::GetUserIDResolver() { in GetUserIDResolver()
/external/llvm-project/lldb/source/Host/posix/
DHostInfoPosix.cpp48 class PosixUserIDResolver : public UserIDResolver {
112 UserIDResolver &HostInfoPosix::GetUserIDResolver() { in GetUserIDResolver()
/external/llvm-project/lldb/unittests/Target/
DRemoteAwarePlatformTest.cpp51 MOCK_METHOD0(GetUserIDResolver, UserIDResolver &());
/external/llvm-project/lldb/include/lldb/Target/
DRemoteAwarePlatform.h82 UserIDResolver &GetUserIDResolver() override;
DPlatform.h265 virtual UserIDResolver &GetUserIDResolver() = 0;
/external/llvm-project/lldb/source/Target/
DRemoteAwarePlatform.cpp363 UserIDResolver &RemoteAwarePlatform::GetUserIDResolver() { in GetUserIDResolver()
368 return UserIDResolver::GetNoopResolver(); in GetUserIDResolver()