Home
last modified time | relevance | path

Searched refs:env_var_name (Results 1 – 9 of 9) 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/u-boot/board/gardena/smart-gateway-mt7688/
Dboard.c59 static bool prepare_uuid_var(const char *fd_ptr, const char *env_var_name, in prepare_uuid_var() argument
75 env = env_get(env_var_name); in prepare_uuid_var()
77 env_set(env_var_name, str); in prepare_uuid_var()
188 static void copy_or_generate_uuid(char *fd_ptr, const char *env_var_name) in copy_or_generate_uuid() argument
194 env = env_get(env_var_name); in copy_or_generate_uuid()
/external/webrtc/webrtc/examples/peerconnection/client/
Ddefaults.cc30 std::string GetEnvVarOrDefault(const char* env_var_name, in GetEnvVarOrDefault() argument
33 const char* env_var = getenv(env_var_name); in GetEnvVarOrDefault()
Ddefaults.h24 std::string GetEnvVarOrDefault(const char* env_var_name,
/external/grpc-grpc/src/core/lib/debug/
Dtrace.h27 void grpc_tracer_init(const char* env_var_name);
/external/u-boot/board/ge/bx50v3/
Dbx50v3.c670 char env_var_name[9]; in remove_ethaddr_env_var() local
672 sprintf(env_var_name, index == 0 ? "ethaddr" : "eth%daddr", index); in remove_ethaddr_env_var()
673 env_set(env_var_name, NULL); in remove_ethaddr_env_var()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc58 bool ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val) { in ReadBoolFromEnvVar() argument
60 if (tensorflow::ReadBoolFromEnvVar(env_var_name, default_val, &val).ok()) { in ReadBoolFromEnvVar()
/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()