Home
last modified time | relevance | path

Searched refs:GetEnv (Results 1 – 25 of 53) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/Support/
H A DProcessTest.cpp48 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
55 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST()
64 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
71 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_flags.cpp57 cf.external_symbolizer_path = GetEnv("ASAN_SYMBOLIZER_PATH"); in InitializeFlags()
94 if (GetEnv("MallocScribble")) { in InitializeFlags()
97 if (GetEnv("MallocPreScribble")) { in InitializeFlags()
H A Dasan_malloc_mac.cpp75 auto init_str = GetEnv("APPLE_ASAN_INIT_FOR_DLOPEN"); in HandleDlopenInit()
H A Dasan_activation.cpp62 if (const char *env = GetEnv("ASAN_ACTIVATION_OPTIONS")) { in OverrideFromActivationFlags()
/llvm-project-15.0.7/flang/runtime/
H A Denvironment.h35 const char *GetEnv(
H A Denvironment.cpp95 const char *ExecutionEnvironment::GetEnv( in GetEnv() function in Fortran::runtime::ExecutionEnvironment
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_flags.cpp27 return GetEnv(flag); in GetFlag()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_flags.cpp52 cf.external_symbolizer_path = GetEnv("MEMPROF_SYMBOLIZER_PATH"); in InitializeFlags()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DProcess.h100 static Optional<std::string> GetEnv(StringRef name);
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan.cpp57 cf.external_symbolizer_path = GetEnv("LSAN_SYMBOLIZER_PATH"); in InitializeFlags()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_flags.cpp58 cf.external_symbolizer_path = GetEnv("TSAN_SYMBOLIZER_PATH"); in InitializeFlags()
H A Dtsan_platform_linux.cpp156 const char *tmpdir = GetEnv("TMPDIR"); in MapRodata()
158 tmpdir = GetEnv("TEST_TMPDIR"); in MapRodata()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_flags.cpp58 cf.external_symbolizer_path = GetEnv("TSAN_SYMBOLIZER_PATH"); in InitializeFlags()
H A Dtsan_platform_linux.cpp168 const char *tmpdir = GetEnv("TMPDIR"); in MapRodata()
170 tmpdir = GetEnv("TEST_TMPDIR"); in MapRodata()
/llvm-project-15.0.7/llvm/lib/Support/
H A DProcess.cpp44 Optional<std::string> OptPath = Process::GetEnv(EnvName); in FindInEnvPath()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DTidyProvider.cpp152 llvm::Optional<std::string> Ret = llvm::sys::Process::GetEnv("USER"); in provideEnvironment()
155 return llvm::sys::Process::GetEnv("USERNAME"); in provideEnvironment()
/llvm-project-15.0.7/compiler-rt/lib/stats/
H A Dstats.cpp60 const char *path_env = GetEnv("SANITIZER_STATS_PATH"); in WriteModuleReport()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_s390.cpp211 if (GetEnv("SANITIZER_IGNORE_CVE_2016_2143")) in AvoidCVE_2016_2143()
H A Dsanitizer_flag_parser.cpp131 const char *env = GetEnv(env_name); in ParseStringFromEnv()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc1336 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
1350 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
1379 const char* xml_output_file_env = posix::GetEnv("XML_OUTPUT_FILE"); in OutputFlagAlsoCheckEnvVar()
1393 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/llvm-project-15.0.7/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp507 sys::Process::GetEnv("VCToolsInstallDir")) { in findVCToolChainViaEnvironment()
515 sys::Process::GetEnv("VCINSTALLDIR")) { in findVCToolChainViaEnvironment()
528 if (Optional<std::string> PathEnv = sys::Process::GetEnv("PATH")) { in findVCToolChainViaEnvironment()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp402 auto *EnvOpts = GetEnv("XRAY_BASIC_OPTIONS"); in basicLoggingInit()
489 auto *Env = GetEnv("XRAY_BASIC_OPTIONS"); in basicLogDynamicInitializer()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp74 tmpdir = GetEnv("TMPDIR"); in get_temp_dir()
94 tmpdir = GetEnv("TMPDIR"); in temp_file_name()
/llvm-project-15.0.7/clang/tools/driver/
H A Ddriver.cpp408 llvm::Optional<std::string> OptCL = llvm::sys::Process::GetEnv("CL"); in clang_main()
417 llvm::Optional<std::string> Opt_CL_ = llvm::sys::Process::GetEnv("_CL_"); in clang_main()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp311 DefaultOptions.User = llvm::sys::Process::GetEnv("USER"); in createOptionsProvider()
314 DefaultOptions.User = llvm::sys::Process::GetEnv("USERNAME"); in createOptionsProvider()

123