Home
last modified time | relevance | path

Searched refs:env_var_name (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Denv_var.cc28 Status ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val, in ReadBoolFromEnvVar() argument
31 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadBoolFromEnvVar()
44 "Failed to parse the env-var ${", env_var_name, "} into bool: ", in ReadBoolFromEnvVar()
48 Status ReadInt64FromEnvVar(StringPiece env_var_name, int64 default_val, in ReadInt64FromEnvVar() argument
51 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadInt64FromEnvVar()
59 "Failed to parse the env-var ${", env_var_name, "} into int64: ", in ReadInt64FromEnvVar()
63 Status ReadFloatFromEnvVar(StringPiece env_var_name, float default_val, in ReadFloatFromEnvVar() argument
66 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadFloatFromEnvVar()
74 "Failed to parse the env-var ${", env_var_name, "} into float: ", in ReadFloatFromEnvVar()
78 Status ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val, in ReadStringFromEnvVar() argument
[all …]
Denv_var.h30 Status ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val,
36 Status ReadInt64FromEnvVar(StringPiece env_var_name, int64 default_val,
41 Status ReadFloatFromEnvVar(StringPiece env_var_name, float default_val,
46 Status ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val,
/external/webrtc/examples/peerconnection/client/
Ddefaults.cc28 std::string GetEnvVarOrDefault(const char* env_var_name, in GetEnvVarOrDefault() argument
31 const char* env_var = getenv(env_var_name); in GetEnvVarOrDefault()
Ddefaults.h23 std::string GetEnvVarOrDefault(const char* env_var_name,
/external/rust/crates/grpcio-sys/grpc/src/core/lib/debug/
Dtrace.cc140 void grpc_tracer_init(const char* env_var_name) { in grpc_tracer_init() argument
141 (void)env_var_name; // suppress unused variable error in grpc_tracer_init()
Dtrace.h33 void grpc_tracer_init(const char* env_var_name);
/external/grpc-grpc/src/core/lib/debug/
Dtrace.h27 void grpc_tracer_init(const char* env_var_name);
/external/abseil-cpp/absl/flags/
Dparse_test.cc70 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
73 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
80 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dparse_test.cc70 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
73 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
80 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dparse_test.cc70 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
73 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
80 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/libtextclassifier/abseil-cpp/absl/flags/
Dparse_test.cc70 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
73 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
80 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/openscreen/third_party/abseil/src/absl/flags/
Dparse_test.cc71 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
74 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
81 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/angle/third_party/abseil-cpp/absl/flags/
Dparse_test.cc72 std::string GetTestTmpDirEnvVar(const char* const env_var_name) { in GetTestTmpDirEnvVar() argument
75 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar()
82 const char* val = ::getenv(env_var_name); in GetTestTmpDirEnvVar()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp1111 char env_var_name[64]; in StartDebugserverProcess() local
1112 snprintf(env_var_name, sizeof(env_var_name), in StartDebugserverProcess()
1114 std::string extra_arg = host_env.lookup(env_var_name); in StartDebugserverProcess()
1122 __FUNCTION__, env_var_name, extra_arg.c_str()); in StartDebugserverProcess()
/external/webrtc/examples/unityplugin/
Dsimple_peer_connection.cc81 std::string GetEnvVarOrDefault(const char* env_var_name, in GetEnvVarOrDefault() argument
84 const char* env_var = getenv(env_var_name); in GetEnvVarOrDefault()
/external/tensorflow/tensorflow/core/kernels/
Ddeep_conv2d.cc81 static bool ReadBoolFromEnvVar(const char* env_var_name, bool default_val) { in ReadBoolFromEnvVar() argument
82 const char* tf_env_var_val = getenv(env_var_name); in ReadBoolFromEnvVar()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc62 bool ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val) { in ReadBoolFromEnvVar() argument
64 if (tensorflow::ReadBoolFromEnvVar(env_var_name, default_val, &val).ok()) { in ReadBoolFromEnvVar()