Home
last modified time | relevance | path

Searched refs:_env (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/src/
Djs_native_api_v8.h129 explicit EnvRefHolder(napi_env env) : _env(env) { in EnvRefHolder()
130 _env->Ref(); in EnvRefHolder()
133 explicit EnvRefHolder(const EnvRefHolder& other): _env(other.env()) { in EnvRefHolder()
134 _env->Ref(); in EnvRefHolder()
138 _env = other._env; in EnvRefHolder()
139 other._env = nullptr; in EnvRefHolder()
143 if (_env != nullptr) { in ~EnvRefHolder()
144 _env->Unref(); in ~EnvRefHolder()
149 return _env; in env()
153 napi_env _env;
[all …]
Dnode_api.cc63 static_cast<node_napi_env>(finalizer->_env)->node_env(); in FinalizeBufferCallback()
68 v8::HandleScope handle_scope(finalizer->_env->isolate); in FinalizeBufferCallback()
69 v8::Context::Scope context_scope(finalizer->_env->context()); in FinalizeBufferCallback()
71 finalizer->_env->CallIntoModule([&](napi_env env) { in FinalizeBufferCallback()
1050 _env(env), in Work()
1074 _execute(_env, _data); in DoThreadPoolWork()
1083 v8::HandleScope scope(_env->isolate); in AfterThreadPoolWork()
1087 _env->CallIntoModule([&](napi_env env) { in AfterThreadPoolWork()
1101 node_napi_env _env; member in __anonb7e957610d11::uvimpl::Work
Djs_native_api_v8.cc559 _env->CallFinalizer(fini, _finalize_data, _finalize_hint); in Finalize()
629 return v8::Local<v8::Value>::New(_env->isolate, _persistent); in Get()
/third_party/boost/boost/process/
Denvironment.hpp58 _name(std::move(name)), _data(data), _env(&env_) {} in const_entry()
61 _name(std::move(name)), _data(nullptr), _env(&env) {} in const_entry()
67 auto p = _env->find(_name); in reload()
68 if (p == _env->end()) in reload()
72 this->_env->reload(); in reload()
82 environment_t * _env; member
105 this->_env->set(this->_name, value); in assign()
117 this->_env->set(this->_name, data); in assign()
130 this->_env->set(this->_name, data); in assign()
137 this->_env->set(this->_name, value); in append()
[all …]
/third_party/boost/libs/proto/test/
Denv_var.cpp254 … BOOST_MPL_ASSERT((boost::is_same<boost::result_of<proto::_env(int_ &)>::type, proto::empty_env>)); in test_env_var_tfx()
255 …BOOST_MPL_ASSERT((boost::is_same<boost::result_of<proto::_env(int_ &, int)>::type, proto::empty_en… in test_env_var_tfx()
256 …BOOST_MPL_ASSERT((boost::is_same<boost::result_of<proto::_env(int_ &, int &, float &)>::type, floa… in test_env_var_tfx()
260 …BOOST_MPL_ASSERT((boost::is_same<boost::result_of<proto::_env(int_ &, int &, float)>::type, float … in test_env_var_tfx()
261 …BOOST_MPL_ASSERT((boost::is_same<boost::tr1_result_of<proto::_env(int_ &, int &, float)>::type, fl… in test_env_var_tfx()
263 …BOOST_MPL_ASSERT((boost::is_same<boost::result_of<proto::_env(int_ &, int &, float)>::type, float>… in test_env_var_tfx()
264 …BOOST_MPL_ASSERT((boost::is_same<boost::tr1_result_of<proto::_env(int_ &, int &, float)>::type, fl… in test_env_var_tfx()
268 double & rd = proto::_env()(i, 0, d); in test_env_var_tfx()
271 proto::env<proto::data_type, int> e0 = proto::_env()(i, 0, proto::as_env(42)); in test_env_var_tfx()
274 proto::env<proto::data_type, int> e1 = proto::_env()(i, 0, proto::functional::as_env()(42)); in test_env_var_tfx()
[all …]
/third_party/python/Lib/
D_bootsubprocess.py14 self._env = env
22 if self._env is not None:
23 os.execve(self._cmd[0], self._cmd, self._env)
/third_party/boost/boost/phoenix/core/
Denvironment.hpp282 struct _env struct
283 : proto::transform<_env>
303 struct _env::impl<Expr, State, proto::empty_env>
324 struct _env::impl<Expr, State, unused>
325 : _env::impl<Expr, State, proto::empty_env>
Darity.hpp61 functional::context(_env, _actions)
Dterminal.hpp128 _env
/third_party/boost/boost/spirit/home/lex/lexer/
Dsupport_functions_expression.hpp75 , _env
98 , _env
/third_party/node/tools/inspector_protocol/jinja2/
Dsandbox.py453 self._env = env
460 obj = self._env.getattr(obj, i)
462 obj = self._env.getitem(obj, i)
/third_party/jinja2/
Dsandbox.py488 self._env = env
495 obj = self._env.getattr(obj, i)
497 obj = self._env.getitem(obj, i)
/third_party/skia/third_party/externals/jinja2/
Dsandbox.py488 self._env = env
495 obj = self._env.getattr(obj, i)
497 obj = self._env.getitem(obj, i)
/third_party/boost/boost/spirit/home/lex/
Dargument_phoenix.hpp139 , _env
203 , _env
/third_party/typescript/src/harness/
DfakesHosts.ts25 private readonly _env: Record<string, string> | undefined;
32 this._env = env;
161 return (this._env && this._env[name])!; // TODO: GH#18217
/third_party/grpc/src/python/grpcio_tests/tests_py3_only/unit/
D_simple_stubs_test.py62 def _env(key: str, value: str): function
308 with _env("GRPC_DEFAULT_SSL_ROOTS_FILE_PATH", cert_file):
/third_party/boost/boost/proto/transform/
Denv.hpp470 struct _env struct
471 : transform<_env>
Darg.hpp106 , _env
/third_party/python/Lib/test/support/
D__init__.py1345 self._env = None
1375 self._env = {k.upper(): os.getenv(k) for k in os.environ}
1376 self._env["PYTHONHOME"] = os.path.dirname(self.real)
1378 self._env["PYTHONPATH"] = os.path.dirname(os.__file__)
1414 return self._call(self.link, args, self._env, returncode)
/third_party/boost/libs/phoenix/example/
Dparallel_for.cpp140 _env
/third_party/boost/libs/phoenix/doc/inside/
Dactions.qbk99 [`_env`]
/third_party/boost/boost/proto/
Dproto_fwd.hpp883 struct _env;
/third_party/boost/doc/html/
Ddoc_HTML.manifest2494 boost/proto/_env.html
2495 boost/proto/_env/impl.html
/third_party/node/doc/changelogs/
DCHANGELOG_V13.md778 ….com/nodejs/node/commit/82b447c399)] - **doc,src**: clarify that one napi\_env is per-module (lege…
993 * [[`d7712213a4`](https://github.com/nodejs/node/commit/d7712213a4)] - **n-api**: keep napi\_env al…
1001 …m/nodejs/node/commit/892e7b0d7f)] - **src**: suppress warning in src/node\_env\_var.cc (Harshitha …
DCHANGELOG_V12.md254 ….com/nodejs/node/commit/073b4f2750)] - **doc,src**: clarify that one napi\_env is per-module (lege…
1072 * [[`af5c489f39`](https://github.com/nodejs/node/commit/af5c489f39)] - **n-api**: keep napi\_env al…
1094 …m/nodejs/node/commit/5edd1a229b)] - **src**: suppress warning in src/node\_env\_var.cc (Harshitha …

12