Home
last modified time | relevance | path

Searched refs:GetEnvironment (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/API/python_api/sbenvironment/
H A DTestSBEnvironment.py33 env = self.dbg.GetSelectedPlatform().GetEnvironment()
41 env = launch_info.GetEnvironment()
48 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count)
51 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count + 1)
55 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count + 1)
56 self.assertEqual(launch_info.GetEnvironment().Get("FOO"), "baz")
63 self.assertEqualEntries(launch_info.GetEnvironment(), ["BAR=foo", "X=y"])
68 env = self.dbg.GetSelectedTarget().GetEnvironment()
74 env = target.GetEnvironment()
81 self.assertEqual(target.GetEnvironment().Get("PATH"), path)
/llvm-project-15.0.7/lldb/source/API/
H A DSBLaunchInfo.cpp26 SBLaunchInfoImpl() : m_envp(GetEnvironment().getEnvp()) {} in SBLaunchInfoImpl()
29 void RegenerateEnvp() { m_envp = GetEnvironment().getEnvp(); } in RegenerateEnvp()
169 return m_opaque_sp->GetEnvironment().size(); in GetNumEnvironmentEntries()
190 m_opaque_sp->GetEnvironment().insert_or_assign(KV.first(), KV.second); in SetEnvironment()
192 m_opaque_sp->GetEnvironment() = refEnv; in SetEnvironment()
196 SBEnvironment SBLaunchInfo::GetEnvironment() { in GetEnvironment() function in SBLaunchInfo
198 return SBEnvironment(Environment(m_opaque_sp->GetEnvironment())); in GetEnvironment()
H A DSBPlatform.cpp647 SBEnvironment SBPlatform::GetEnvironment() { in GetEnvironment() function in SBPlatform
652 return SBEnvironment(platform_sp->GetEnvironment()); in GetEnvironment()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp195 Environment emulator_env = Host::GetEnvironment(); in DebugProcess()
200 launch_info.GetEnvironment() = ComputeLaunchEnvironment( in DebugProcess()
201 std::move(launch_info.GetEnvironment()), std::move(emulator_env)); in DebugProcess()
239 Environment PlatformQemuUser::GetEnvironment() { in GetEnvironment() function in PlatformQemuUser
240 Environment env = Host::GetEnvironment(); in GetEnvironment()
H A DPlatformQemuUser.h49 Environment GetEnvironment() override;
/llvm-project-15.0.7/lldb/unittests/Host/
H A DHostTest.cpp23 TEST(Host, GetEnvironment) { in TEST() argument
26 Host::GetEnvironment().lookup("LLDB_TEST_ENVIRONMENT_VAR")); in TEST()
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestClient.cpp101 Info.GetEnvironment() = Host::GetEnvironment(); in launchCustom()
128 if (SendEnvironment(Host::GetEnvironment()) != 0) { in SetInferior()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DProcessInfo.h87 Environment &GetEnvironment() { return m_environment; } in GetEnvironment() function
88 const Environment &GetEnvironment() const { return m_environment; } in GetEnvironment() function
/llvm-project-15.0.7/lldb/source/Target/
H A DRemoteAwarePlatform.cpp338 Environment RemoteAwarePlatform::GetEnvironment() { in GetEnvironment() function in RemoteAwarePlatform
340 return m_remote_platform_sp->GetEnvironment(); in GetEnvironment()
341 return Platform::GetEnvironment(); in GetEnvironment()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBLaunchInfo.i74 GetEnvironment();
H A DSBPlatform.i214 GetEnvironment();
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBLaunchInfo.h130 SBEnvironment GetEnvironment();
H A DSBPlatform.h170 SBEnvironment GetEnvironment();
/llvm-project-15.0.7/lldb/source/Host/linux/
H A DHost.cpp207 process_info.GetEnvironment().insert(Var); in GetProcessEnviron()
314 Environment Host::GetEnvironment() { return Environment(environ); } in GetEnvironment() function in Host
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandOptionsProcessLaunch.cpp136 launch_info.GetEnvironment().insert(option_arg); in SetOptionValue()
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp155 info.GetEnvironment() = Host::GetEnvironment(); in handle_launch()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h83 lldb_private::Environment GetEnvironment() override;
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DHost.h249 static Environment GetEnvironment();
/llvm-project-15.0.7/lldb/source/Host/common/
H A DHost.cpp435 launch_info.GetEnvironment() = Host::GetEnvironment(); in RunShellCommand()
/llvm-project-15.0.7/lldb/source/Host/windows/
H A DProcessLauncherWindows.cpp100 ::CreateEnvironmentBuffer(launch_info.GetEnvironment(), environment); in LaunchProcess()
/llvm-project-15.0.7/lldb/source/Host/openbsd/
H A DHost.cpp44 Environment Host::GetEnvironment() { in GetEnvironment() function in Host
/llvm-project-15.0.7/lldb/source/Host/freebsd/
H A DHost.cpp244 Environment Host::GetEnvironment() { return Environment(environ); } in GetEnvironment() function in Host
/llvm-project-15.0.7/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp49 Environment Host::GetEnvironment() { return Environment(environ); } in GetEnvironment() function in Host
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp254 envp(FixupEnvironment(info.GetEnvironment())), in ForkLaunchInfo()
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHost.mm254 Environment host_env = Host::GetEnvironment();
256 for (const auto &KV : launch_info.GetEnvironment()) {
436 Environment Host::GetEnvironment() { return Environment(*_NSGetEnviron()); } function
562 Environment &proc_env = process_info.GetEnvironment();
941 launch_info.GetEnvironment());
1189 Environment::Envp envp = launch_info.GetEnvironment().getEnvp();

12