Home
last modified time | relevance | path

Searched refs:env_vars (Results 1 - 21 of 21) sorted by relevance

/third_party/python/Lib/test/support/
H A Dscript_helper.py95 def run_python_until_end(*args, **env_vars):
97 cwd = env_vars.pop('__cwd', None)
98 if '__isolated' in env_vars:
99 isolated = env_vars.pop('__isolated')
101 isolated = not env_vars and not env_required
107 elif not env_vars and not env_required:
113 if env_vars.pop('__cleanenv', None):
129 if 'TERM' not in env_vars:
132 env.update(env_vars)
148 def _assert_python(expected_success, /, *args, **env_vars)
[all...]
/third_party/python/Lib/test/
H A Dtest_c_locale_coercion.py115 def get_expected_details(cls, coercion_expected, fs_encoding, stream_encoding, env_vars):
123 expected_lang = env_vars.get("LANG", "not set")
127 expected_lc_ctype = env_vars.get("LC_CTYPE", "not set")
128 expected_lc_all = env_vars.get("LC_ALL", "not set")
133 def get_child_details(cls, env_vars):
146 **env_vars
210 env_vars,
222 result = EncodingDetails.get_child_details(env_vars)
228 env_vars
H A Dtest_cmd_line_script.py127 *cmd_line_switches, cwd=None, **env_vars):
133 *run_args, __isolated=False, __cwd=cwd, **env_vars
140 *cmd_line_switches, cwd=None, **env_vars):
147 *run_args, __isolated=False, __cwd=cwd, **env_vars
H A Dtest_gdb.py89 def run_gdb(*args, **env_vars):
94 if env_vars:
96 env.update(env_vars)
H A Dtest_cmd_line.py579 # to env_vars and change the output of stderr
622 env_vars = dict(
640 assert_python_ok('-c', code, **env_vars)
911 def run_ignoring_vars(self, predicate, **env_vars):
917 return assert_python_ok('-E', '-c', code, **env_vars)
H A Dtest_compileall.py523 def assertRunOK(self, *args, **env_vars):
525 *self._get_run_args(args), **env_vars,
530 def assertRunNotOK(self, *args, **env_vars):
532 *self._get_run_args(args), **env_vars,
H A Dtest_sys.py224 def check_exit_message(code, expected, **env_vars):
225 rc, out, err = assert_python_failure('-c', code, **env_vars)
/third_party/node/src/
H A Dnode_worker.cc54 std::shared_ptr<KVStore> env_vars, in Worker()
62 env_vars_(env_vars), in Worker()
462 std::shared_ptr<KVStore> env_vars = nullptr; in New() local
481 env_vars = env->env_vars()->Clone(isolate); in New()
484 env_vars = KVStore::CreateMapKVStore(); in New()
485 env_vars->AssignFromObject(isolate->GetCurrentContext(), in New()
489 env_vars = env->env_vars(); in New()
495 HandleEnvOptions(per_isolate_opts->per_env, [&env_vars](cons in New()
48 Worker(Environment* env, Local<Object> wrap, const std::string& url, const std::string& name, std::shared_ptr<PerIsolateOptions> per_isolate_opts, std::vector<std::string>&& exec_argv, std::shared_ptr<KVStore> env_vars, const SnapshotData* snapshot_data) Worker() argument
[all...]
H A Dnode_env_var.cc348 env->env_vars()->Get(env->isolate(), property.As<String>()); in EnvGetter()
383 env->env_vars()->Set(env->isolate(), key, value_string); in EnvSetter()
394 int32_t rc = env->env_vars()->Query(env->isolate(), property.As<String>()); in EnvQuery()
404 env->env_vars()->Delete(env->isolate(), property.As<String>()); in EnvDeleter()
417 env->env_vars()->Enumerate(env->isolate())); in EnvEnumerator()
H A Dnode_credentials.cc78 std::shared_ptr<KVStore> env_vars, in SafeGetenv()
90 if (env_vars != nullptr) { in SafeGetenv()
94 MaybeLocal<String> maybe_value = env_vars->Get( in SafeGetenv()
135 if (!SafeGetenv(*strenvtag, &text, env->env_vars(), isolate)) return; in SafeGetenv()
76 SafeGetenv(const char* key, std::string* text, std::shared_ptr<KVStore> env_vars, v8::Isolate* isolate) SafeGetenv() argument
H A Ddebug_utils.h72 // Uses NODE_DEBUG_NATIVE to initialize the categories. The env_vars variable
75 void Parse(std::shared_ptr<KVStore> env_vars = nullptr,
H A Dnode_worker.h35 std::shared_ptr<KVStore> env_vars,
H A Ddebug_utils.cc62 void EnabledDebugList::Parse(std::shared_ptr<KVStore> env_vars, in Parse() argument
65 credentials::SafeGetenv("NODE_DEBUG_NATIVE", &cats, env_vars, isolate); in Parse()
H A Denv-inl.h296 inline std::shared_ptr<KVStore> Environment::env_vars() { in env_vars() function in node::Environment
300 inline void Environment::set_env_vars(std::shared_ptr<KVStore> env_vars) { in set_env_vars() argument
301 env_vars_ = env_vars; in set_env_vars()
H A Dnode_internals.h302 std::shared_ptr<KVStore> env_vars = nullptr,
H A Denv.h659 inline std::shared_ptr<KVStore> env_vars();
660 inline void set_env_vars(std::shared_ptr<KVStore> env_vars);
H A Denv.cc700 enabled_debug_list_.Parse(env_vars(), isolate); in Environment()
H A Dnode_messaging.cc319 env_->env_vars()->AssignToObject(isolate, env_->context(), normal_object);
/third_party/gn/src/base/
H A Denvironment.h17 namespace env_vars { namespace
23 } // namespace env_vars
H A Denvironment.cc128 namespace env_vars { namespace
136 } // namespace env_vars
/third_party/libuv/test/
H A Dtest-env-vars.c28 TEST_IMPL(env_vars) { in TEST_IMPL()

Completed in 24 milliseconds