/third_party/curl/src/ |
D | tool_homedir.c | 42 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/ |
D | context_extends.cc | 63 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/ |
D | log_adapter.cc | 171 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 …]
|
D | ms_utils.h | 35 static inline std::string GetEnv(const std::string &envvar) { in GetEnv() function
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_utils.cc | 76 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/ |
D | gtest_premature_exit_test.cc | 40 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/ |
D | common_test.cc | 25 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/ |
D | ps_context.cc | 39 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/ |
D | getenv.c | 30 static char *GetEnv(const char *variable) in GetEnv() function 76 return GetEnv(v); in curl_getenv()
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | common.cc | 94 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()
|
D | env_config_parser.cc | 41 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/ |
D | profiling.cc | 76 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/ |
D | kernel_build_client.h | 70 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/ |
D | ares_android.c | 94 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/ |
D | gen_knobs.cpp | 52 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/ |
D | dump_json_parser.cc | 63 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/ |
D | ascend_graph_impl.cc | 54 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/ |
D | config_manager.cc | 58 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/ |
D | JavaInputStreamAdaptor.cpp | 39 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/ |
D | AndroidKit.cpp | 22 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/third_party/mindspore/mindspore/ccsrc/profiler/device/cpu/ |
D | cpu_data_saver.cc | 40 auto rank_id = common::GetEnv("RANK_ID"); in WriteFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Process.h | 78 static Optional<std::string> GetEnv(StringRef name);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Process.h | 95 static Optional<std::string> GetEnv(StringRef name);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Process.cpp | 34 Optional<std::string> OptPath = Process::GetEnv(EnvName); in FindInEnvPath()
|
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/ |
D | main.cpp | 293 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()
|