Home
last modified time | relevance | path

Searched refs:var_name_ (Results 1 – 13 of 13) sorted by relevance

/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv()
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
64 const char* val = ::getenv(var_name_.c_str()); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
76 SetEnvVar(var_name_.c_str(), was_unset_ ? nullptr : old_value_.c_str()); in ~ScopedSetEnv()
Dscoped_set_env.h34 std::string var_name_;
/external/tensorflow/tensorflow/core/kernels/
Dvariable_ops.cc101 OP_REQUIRES_OK(context, context->GetAttr("var_name", &var_name_)); in TemporaryVariableOp()
103 if (var_name_.empty()) var_name_ = name(); in TemporaryVariableOp()
110 auto unique_name = TemporaryVariableName(var_name_, context->frame_iter()); in Compute()
140 string var_name_; member in tensorflow::TemporaryVariableOp
149 OP_REQUIRES_OK(context, context->GetAttr("var_name", &var_name_)); in DestroyTemporaryVariableOp()
150 OP_REQUIRES(context, !var_name_.empty(), in DestroyTemporaryVariableOp()
163 auto unique_name = TemporaryVariableName(var_name_, context->frame_iter()); in Compute()
174 string var_name_; member in tensorflow::DestroyTemporaryVariableOp