Home
last modified time | relevance | path

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

1234

/third_party/curl/src/
Dtool_homedir.c42 static char *GetEnv(const char *variable) in GetEnv() function
80 home = GetEnv("CURL_HOME"); in homedir()
85 home = GetEnv("XDG_CONFIG_HOME"); in homedir()
100 home = GetEnv("HOME"); in homedir()
118 home = GetEnv("APPDATA"); in homedir()
120 char *env = GetEnv("USERPROFILE"); in homedir()
/third_party/mindspore/mindspore/ccsrc/utils/context/
Dcontext_extends.cc63 auto role = common::GetEnv("MS_ROLE"); in OpenTsd()
71 auto rank_size_env = common::GetEnv("RANK_SIZE"); in OpenTsd()
147 auto env_disable_reuse_memory = common::GetEnv("DISABLE_REUSE_MEMORY"); in SetDisableReuseMemoryFlag()
178 auto env_ddk_version = common::GetEnv("DDK_VERSION"); in GetGeOptions()
200 auto env_job_id = common::GetEnv("JOB_ID"); in GetGeOptions()
208 auto env_fe_flag = common::GetEnv("FE_FLAG"); in GetGeOptions()
214 auto env_aicpu_flag = common::GetEnv("AICPU_FLAG"); in GetGeOptions()
220 auto proto_lib_path = common::GetEnv("OPTION_PROTO_LIB_PATH"); in GetGeOptions()
242 auto env_table_file = common::GetEnv("RANK_TABLE_FILE"); in SetHcclOptions()
243 auto env_rank_id = common::GetEnv("RANK_ID"); in SetHcclOptions()
[all …]
/third_party/mindspore/mindspore/core/utils/
Dlog_adapter.cc171 static std::string GetEnv(const std::string &envvar) { in GetEnv() function
378 auto str_level = GetEnv("GLOG_v"); in GetGlobalLogLevel()
398 auto submodule = GetEnv("MS_SUBMODULE_LOG_v"); in InitSubModulesLogLevel()
440 if (mindspore::GetEnv("GLOG_v").empty()) {
445 if (mindspore::GetEnv("GLOG_logfile_mode").empty()) {
450 std::string max_log_size = mindspore::GetEnv("GLOG_max_log_size");
454 std::string logtostderr = mindspore::GetEnv("GLOG_logtostderr");
459 if (mindspore::GetEnv("GLOG_log_dir").empty()) {
465 std::string rank_id = mindspore::GetEnv("RANK_ID");
466 std::string gpu_rank_id = mindspore::GetEnv("OMPI_COMM_WORLD_RANK");
[all …]
Dms_utils.h35 static inline std::string GetEnv(const std::string &envvar) { in GetEnv() function
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_utils.cc76 auto save_path = common::GetEnv(kTUNE_BANK_PATH); in GetBankPath()
92 auto save_path = common::GetEnv(kTUNE_DUMP_PATH); in GetTuneDumpPath()
111 auto old_build = common::GetEnv("MS_OLD_BUILD_PROCESS"); in GetOpDebugPath()
113 if (!Common::CommonFuncForConfigPath("./", common::GetEnv(kCOMPILER_CACHE_PATH), &config_path)) { in GetOpDebugPath()
115 << common::GetEnv(kCOMPILER_CACHE_PATH) in GetOpDebugPath()
130 std::string rank_id_str = common::GetEnv(kRankID); in GetOpDebugPath()
147 auto env_level = common::GetEnv(kCOMPILER_OP_LEVEL); in GetOpDebugLevel()
183 if (!Common::CommonFuncForConfigPath("", common::GetEnv("OP_BANK_PATH"), &config_path)) { in GenSocInfo()
184 …N) << "Invalid environment variable 'OP_BANK_PATH', the path is " << common::GetEnv("OP_BANK_PATH") in GenSocInfo()
189 if (!Common::CommonFuncForConfigPath("", common::GetEnv("MDL_BANK_PATH"), &config_path)) { in GenSocInfo()
[all …]
/third_party/googletest/googletest/test/
Dgtest_premature_exit_test.cc40 using ::testing::internal::posix::GetEnv;
56 premature_exit_file_path_ = GetEnv("TEST_PREMATURE_EXIT_FILE"); in PrematureExitTest()
115 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); in main()
/third_party/mindspore/tests/st/cpp/common/
Dcommon_test.cc25 static std::string GetEnv(const std::string &envvar) { in GetEnv() function
61 auto device_target_str = GetEnv("DEVICE_TARGET"); in ContextAutoSet()
66 auto device_id_str = GetEnv("DEVICE_ID"); in ContextAutoSet()
/third_party/mindspore/mindspore/ccsrc/ps/
Dps_context.cc39 std::string ms_role = common::GetEnv(kEnvRole); in SetPSEnable()
51 worker_num_ = std::strtol(common::GetEnv(kEnvWorkerNum).c_str(), nullptr, kBase); in SetPSEnable()
52 server_num_ = std::strtol(common::GetEnv(kEnvPServerNum).c_str(), nullptr, kBase); in SetPSEnable()
53 scheduler_host_ = common::GetEnv(kEnvSchedulerHost); in SetPSEnable()
57 scheduler_port_ = std::strtol(common::GetEnv(kEnvSchedulerPort).c_str(), nullptr, kBase); in SetPSEnable()
62 …static_cast<uint16_t>((std::strtol(common::GetEnv(kEnvSchedulerManagePort).c_str(), nullptr, kBase… in SetPSEnable()
67 node_id_ = common::GetEnv(kEnvNodeId); in SetPSEnable()
/third_party/curl/lib/
Dgetenv.c30 static char *GetEnv(const char *variable) in GetEnv() function
76 return GetEnv(v); in curl_getenv()
/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.cc94 auto config_path_str = common::GetEnv(env); in GetConfigFile()
276 const std::string logtostderr = common::GetEnv("GLOG_logtostderr"); in GlogLogDirRegister()
277 const std::string log_dir = common::GetEnv("GLOG_log_dir"); in GlogLogDirRegister()
284 const std::string rank_id = common::GetEnv("RANK_ID"); in GlogLogDirRegister()
285 const std::string gpu_rank_id = common::GetEnv("OMPI_COMM_WORLD_RANK"); in GlogLogDirRegister()
Denv_config_parser.cc41 std::string env_enable_str = common::GetEnv(ENV_RDR_ENABLE); in GetRdrEnableFromEnv()
57 std::string path = common::GetEnv(ENV_RDR_PATH); in GetRdrPathFromEnv()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dprofiling.cc76 bool ProfilingManager::IsProfilingEnable() const { return common::GetEnv("PROFILING_MODE") == "true… in IsProfilingEnable()
80 std::string dir = common::GetEnv("MINDDATA_PROFILING_DIR"); in Initialize()
104 device_id_ = common::GetEnv("DEVICE_ID"); in Initialize()
113 device_id_ = common::GetEnv("RANK_ID"); in Initialize()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dkernel_build_client.h70 virtual std::string GetEnv() = 0;
76 if (dp_->Open({GetEnv(), GetScript()}, true) != -1) { in Open()
230 std::string GetEnv() override { return GetPyExe(); } in GetEnv() function
279 std::string GetEnv() override { return GetPyExe(); } in GetEnv() function
/third_party/node/deps/cares/src/lib/
Dares_android.c94 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_library_init_android()
212 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_library_cleanup_android()
266 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_get_android_server_list()
377 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_get_android_search_domains_list()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_knobs.cpp52 const std::string var = GetEnv(text.substr(start + 2, end - start - 2));
61 const std::string var = GetEnv(text.substr(start + 1, end - start - 1));
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.cc63 auto single_op = common::GetEnv(kGraphOpRun); in IsDumpEnabled()
64 auto config_path = common::GetEnv(kMindsporeDumpConfig); in IsDumpEnabled()
162 std::string config_path = common::GetEnv("MINDSPORE_HCCL_CONFIG_PATH"); in CopyHcclJsonToDir()
164 config_path = common::GetEnv("RANK_TABLE_FILE"); in CopyHcclJsonToDir()
332 dump_path = common::GetEnv("MS_DIAGNOSTIC_DATA_PATH"); in ParseDumpPath()
557 auto env_rank_id = common::GetEnv("RANK_ID"); in GetOpOverflowBinPath()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/ascend/
Dascend_graph_impl.cc54 env_guard_ = MsEnvGuard::GetEnv(device_id_); in InitEnv()
298 auto env_hccl_mode = common::GetEnv(kHcclEnable); in MsEnvGuard()
311 auto para_group_file = common::GetEnv(kHcclGroupFile); in MsEnvGuard()
361 std::shared_ptr<AscendGraphImpl::MsEnvGuard> AscendGraphImpl::MsEnvGuard::GetEnv(uint32_t device_id… in GetEnv() function in mindspore::AscendGraphImpl::MsEnvGuard
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.cc58 std::string env_cache_host = common::GetEnv("MS_CACHE_HOST"); in ConfigManager()
59 std::string env_cache_port = common::GetEnv("MS_CACHE_PORT"); in ConfigManager()
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp39 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
247 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/third_party/skia/modules/androidkit/src/
DAndroidKit.cpp22 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/third_party/mindspore/mindspore/ccsrc/profiler/device/cpu/
Dcpu_data_saver.cc40 auto rank_id = common::GetEnv("RANK_ID"); in WriteFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DProcess.h78 static Optional<std::string> GetEnv(StringRef name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DProcess.h95 static Optional<std::string> GetEnv(StringRef name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DProcess.cpp34 Optional<std::string> OptPath = Process::GetEnv(EnvName); in FindInEnvPath()
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/
Dmain.cpp293 jint jni_return = java_vm->GetEnv((void**)&java_env, JNI_VERSION_1_6); in ShowSoftKeyboardInput()
326 jint jni_return = java_vm->GetEnv((void**)&java_env, JNI_VERSION_1_6); in PollUnicodeChars()

1234