Home
last modified time | relevance | path

Searched refs:HostInfo (Results 1 – 25 of 109) sorted by relevance

12345

/external/llvm-project/lldb/unittests/Host/
DHostInfoTest.cpp22 SubsystemRAII<FileSystem, HostInfo> subsystems;
28 ArchSpec spec = HostInfo::GetAugmentedArchSpec("x86_64-pc-linux-gnu"); in TEST_F()
32 spec = HostInfo::GetAugmentedArchSpec("x86_64-pc"); in TEST_F()
36 spec = HostInfo::GetAugmentedArchSpec("x86_64"); in TEST_F()
44 EXPECT_EQ(HostInfo::GetAugmentedArchSpec(LLDB_ARCH_DEFAULT).GetTriple(), in TEST_F()
45 HostInfo::GetArchitecture(HostInfo::eArchKindDefault).GetTriple()); in TEST_F()
51 EXPECT_TRUE(HostInfo::GetHostname(s)); in TEST_F()
56 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX.sdk")).empty()); in TEST_F()
58 EXPECT_FALSE(HostInfo::GetXcodeSDKPath(XcodeSDK("MacOSX9999.sdk")).empty()); in TEST_F()
60 EXPECT_TRUE(HostInfo::GetXcodeSDKPath(XcodeSDK("CeciNestPasUnOS.sdk")).empty()); in TEST_F()
/external/autotest/server/hosts/
Dhost_info_unittest.py19 self.info = host_info.HostInfo()
23 self.assertNotEqual(host_info.HostInfo(), 42)
24 self.assertNotEqual(host_info.HostInfo(), None)
26 self.assertFalse(host_info.HostInfo() == 42)
27 self.assertFalse(host_info.HostInfo() == None)
32 self.assertEqual(host_info.HostInfo(), host_info.HostInfo())
34 self.assertFalse(host_info.HostInfo() != host_info.HostInfo())
39 info1 = host_info.HostInfo(
43 info2 = host_info.HostInfo(
54 info1 = host_info.HostInfo(labels=['label'])
[all …]
Dshadowing_store_unittest.py21 info = host_info.HostInfo(labels='blah', attributes='boo')
32 info = host_info.HostInfo(labels='blah', attributes='boo')
39 init_info = host_info.HostInfo(labels='init')
43 info = host_info.HostInfo(labels='blah', attributes='boo')
50 init_info = host_info.HostInfo(labels='init')
59 init_info = host_info.HostInfo(labels='init')
69 p_info = host_info.HostInfo('primary')
76 s_info = host_info.HostInfo('shadow')
86 p_info = host_info.HostInfo('primary')
93 s_info = host_info.HostInfo('shadow')
Dfile_store_unittest.py27 info = host_info.HostInfo(labels=['labels'],
37 info = host_info.HostInfo(labels=['labels'],
67 store.commit(host_info.HostInfo())
80 store.commit(host_info.HostInfo())
94 store.commit(host_info.HostInfo())
102 store.commit(host_info.HostInfo())
113 store.commit(host_info.HostInfo())
138 store.commit(host_info.HostInfo())
162 store.commit(host_info.HostInfo())
182 store.commit(host_info.HostInfo())
Dafe_store_unittest.py72 info = host_info.HostInfo(['label2'], {})
90 info = host_info.HostInfo(['label2'], {})
99 info = host_info.HostInfo([], {'attrib1': 'val1'})
110 info = host_info.HostInfo([], {'attrib1': 'val1_updated'})
121 info = host_info.HostInfo([], {})
158 new_info = host_info.HostInfo(['label2'], {})
169 new_info = host_info.HostInfo(['pool:YYY'], {})
180 new_info = host_info.HostInfo(['pool:YYY'], {})
191 new_info = host_info.HostInfo(['label2'], {})
/external/llvm-project/lldb/source/API/
DSBHostOS.cpp37 sb_filespec.SetFileSpec(HostInfo::GetProgramFileSpec()); in GetProgramFileSpec()
55 fspec = HostInfo::GetShlibDir(); in GetLLDBPath()
58 fspec = HostInfo::GetSupportExeDir(); in GetLLDBPath()
61 fspec = HostInfo::GetHeaderDir(); in GetLLDBPath()
69 fspec = HostInfo::GetSystemPluginDir(); in GetLLDBPath()
72 fspec = HostInfo::GetUserPluginDir(); in GetLLDBPath()
75 fspec = HostInfo::GetProcessTempDir(); in GetLLDBPath()
78 fspec = HostInfo::GetGlobalTempDir(); in GetLLDBPath()
/external/llvm-project/lldb/source/Host/common/
DHostInfoBase.cpp88 HostInfo::GetArchitecture().GetTriple(); in GetTargetTriple()
95 HostInfo::ComputeHostArchitectureSupport(g_fields->m_host_arch_32, in GetArchitecture()
120 if (!HostInfo::ComputeSharedLibraryDirectory(g_fields->m_lldb_so_dir)) in GetShlibDir()
130 if (!HostInfo::ComputeSupportExeDirectory(g_fields->m_lldb_support_exe_dir)) in GetSupportExeDir()
140 if (!HostInfo::ComputeHeaderDirectory(g_fields->m_lldb_headers_dir)) in GetHeaderDir()
150 if (!HostInfo::ComputeSystemPluginsDirectory(g_fields->m_lldb_system_plugin_dir)) in GetSystemPluginDir()
161 if (!HostInfo::ComputeUserPluginsDirectory(g_fields->m_lldb_user_plugin_dir)) in GetUserPluginDir()
171 if (!HostInfo::ComputeProcessTempFileDirectory( g_fields->m_lldb_process_tmp_dir)) in GetProcessTempDir()
182 if (!HostInfo::ComputeGlobalTempFileDirectory( g_fields->m_lldb_global_tmp_dir)) in GetGlobalTempDir()
198 if (auto kind = HostInfo::ParseArchitectureKind(triple)) in GetAugmentedArchSpec()
[all …]
/external/deqp/scripts/build/
Dcommon.py33 class HostInfo: class
41 return HostInfo.OS_OSX
43 return HostInfo.OS_WINDOWS
45 return HostInfo.OS_LINUX
129 if HostInfo.getOs() == HostInfo.OS_WINDOWS:
/external/llvm-project/lldb/source/Plugins/Platform/Windows/
DPlatformWindows.cpp38 AddArch(HostInfo::GetArchitecture(HostInfo::eArchKindDefault)); in SupportedArchList()
39 AddArch(HostInfo::GetArchitecture(HostInfo::eArchKind32)); in SupportedArchList()
40 AddArch(HostInfo::GetArchitecture(HostInfo::eArchKind64)); in SupportedArchList()
131 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
302 llvm::VersionTuple version = HostInfo::GetOSVersion(); in GetStatus()
/external/llvm-project/lldb/unittests/Host/linux/
DHostTest.cpp22 HostInfo::Initialize(); in SetUpTestCase()
25 HostInfo::Terminate(); in TearDownTestCase()
56 EXPECT_EQ(HostInfo::GetArchitecture(HostInfo::eArchKindDefault), in TEST_F()
/external/openscreen/osp/impl/
Dmdns_responder_service.h110 struct HostInfo { struct
156 HostInfo* AddOrGetHostInfo(UdpSocket* socket, const DomainName& domain_name);
157 HostInfo* GetHostInfo(UdpSocket* socket, const DomainName& domain_name);
158 bool IsServiceReady(const ServiceInstance& instance, HostInfo* host) const;
193 std::map<NetworkScopedDomainName, HostInfo, NetworkScopedDomainNameComparator>
/external/llvm-project/lldb/source/Plugins/Platform/NetBSD/
DPlatformNetBSD.cpp95 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
123 ArchSpec hostArch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in GetSupportedArchitectureAtIndex()
132 arch = HostInfo::GetArchitecture(HostInfo::eArchKind32); in GetSupportedArchitectureAtIndex()
/external/autotest/site_utils/deployment/prepare/
Ddut_unittest.py17 from autotest_lib.server.hosts.host_info import InMemoryHostInfoStore, HostInfo
59 m = MockHost(info=HostInfo(**mock_labstation_args))
63 m = MockHost(info=HostInfo(**mock_labstation_args_bad_config))
/external/llvm-project/lldb/unittests/Platform/
DPlatformAppleSimulatorTest.cpp21 SubsystemRAII<FileSystem, HostInfo, PlatformAppleSimulator>
52 HostInfo::GetArchitecture(HostInfo::eArchKindDefault)); in TEST_F()
/external/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
DPlatformFreeBSD.cpp106 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
134 ArchSpec hostArch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in GetSupportedArchitectureAtIndex()
143 arch = HostInfo::GetArchitecture(HostInfo::eArchKind32); in GetSupportedArchitectureAtIndex()
/external/llvm-project/lldb/source/Plugins/Platform/Linux/
DPlatformLinux.cpp102 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
130 ArchSpec hostArch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in GetSupportedArchitectureAtIndex()
139 arch = HostInfo::GetArchitecture(HostInfo::eArchKind32); in GetSupportedArchitectureAtIndex()
/external/llvm-project/lldb/unittests/ObjectFile/MachO/
DTestObjectFileMachO.cpp27 SubsystemRAII<FileSystem, HostInfo, ObjectFileMachO> subsystems;
34 HostInfo::GetSharedCacheImageInfo("/usr/lib/libobjc.A.dylib"); in TEST_F()
43 OF->GetArchitecture().IsCompatibleMatch(HostInfo::GetArchitecture())); in TEST_F()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.cpp248 HostInfo::GetSharedCacheImageInfo(module_spec.GetFileSpec().GetPath()); in GetSharedModuleWithLocalCache()
519 ArchSpec host_arch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in x86GetSupportedArchitectureAtIndex()
531 arch = HostInfo::GetArchitecture(HostInfo::eArchKind32); in x86GetSupportedArchitectureAtIndex()
539 arch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in x86GetSupportedArchitectureAtIndex()
543 HostInfo::GetArchitecture(HostInfo::eArchKindDefault)); in x86GetSupportedArchitectureAtIndex()
545 HostInfo::GetArchitecture(HostInfo::eArchKind64)); in x86GetSupportedArchitectureAtIndex()
550 arch = HostInfo::GetArchitecture(HostInfo::eArchKind32); in x86GetSupportedArchitectureAtIndex()
1314 FileSpec sdks_spec = HostInfo::GetXcodeContentsDirectory(); in GetSDKDirectoryForModules()
1342 llvm::VersionTuple version = HostInfo::GetOSVersion(); in GetSDKDirectoryForModules()
1525 auto get_host_os = []() { return HostInfo::GetTargetTriple().getOS(); }; in AddClangModuleCompilationOptionsForSDKType()
[all …]
DPlatformMacOSX.cpp60 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
120 if (FileSpec fspec = HostInfo::GetXcodeContentsDirectory()) { in GetSDKDirectory()
132 HostInfo::GetXcodeSDKPath(lldb_private::XcodeSDK::GetAnyMacOS())); in GetSDKDirectory()
DPlatformAppleSimulator.cpp94 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in GetStatus()
140 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in ConnectRemote()
256 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in GetSimulatorDevice()
511 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(preferred))); in GetXcodeSDKDir()
513 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK(std::move(secondary))); in GetXcodeSDKDir()
534 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK("iPhoneSimulator.Internal.sdk")); in CreateInstance()
536 sdk = HostInfo::GetXcodeSDKPath(XcodeSDK("iPhoneSimulator.sdk")); in CreateInstance()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Lua/
DScriptInterpreterTests.cpp29 HostInfo::Initialize(); in SetUp()
39 HostInfo::Terminate(); in TearDown()
/external/llvm-project/lldb/source/Plugins/Platform/OpenBSD/
DPlatformOpenBSD.cpp101 default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture()); in Initialize()
129 ArchSpec hostArch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in GetSupportedArchitectureAtIndex()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DTestBase.h26 lldb_private::HostInfo::Initialize(); in SetUpTestCase()
32 lldb_private::HostInfo::Terminate(); in TearDownTestCase()
/external/llvm-project/lldb/source/Host/netbsd/
DHostNetBSD.cpp118 HostInfo::GetArchitecture(HostInfo::eArchKind32); in GetNetBSDProcessCPUType()
122 HostInfo::GetArchitecture(HostInfo::eArchKind64); in GetNetBSDProcessCPUType()
/external/llvm-project/lldb/unittests/Target/
DStackFrameRecognizerTest.cpp32 HostInfo::Initialize(); in SetUp()
43 HostInfo::Terminate(); in TearDown()

12345