Home
last modified time | relevance | path

Searched refs:can_call_into_js (Results 1 – 16 of 16) sorted by relevance

/third_party/node/src/api/
Dcallback.cc60 if (!env->can_call_into_js()) { in InternalCallbackScope()
94 if (!env_->can_call_into_js()) return; in Close()
118 if (!env_->can_call_into_js()) return; in Close()
142 if (!env_->can_call_into_js()) return; in Close()
238 if (!env->can_call_into_js()) return Local<Value>(); in MakeCallback()
/third_party/node/src/
Dnode_api_internals.h15 bool can_call_into_js() const override;
Denv.cc232 if (!env_->owns_process_state() || !env_->can_call_into_js()) { in UpdateTraceCategoryState()
746 if (!try_catch.HasTerminated() && can_call_into_js()) in RunAndClearNativeImmediates()
829 if (!env->can_call_into_js()) in RunTimers()
848 } while (ret.IsEmpty() && env->can_call_into_js()); in RunTimers()
896 if (env->immediate_info()->count() == 0 || !env->can_call_into_js()) in CheckImmediate()
906 } while (env->immediate_info()->has_outstanding() && env->can_call_into_js()); in CheckImmediate()
Dnode_process_events.cc40 if (!env->can_call_into_js()) return Just(false); in ProcessEmitWarningGeneric()
Djs_native_api_v8.h79 virtual bool can_call_into_js() const { return true; } in can_call_into_js() function
215 (env)->last_exception.IsEmpty() && (env)->can_call_into_js(), \
Dasync_wrap.cc113 if (!env->can_call_into_js()) return; in DestroyAsyncIdsCallback()
132 if (async_hooks->fields()[type] == 0 || !env->can_call_into_js()) in Emit()
569 !env->can_call_into_js()) { in EmitDestroy()
Denv-inl.h865 inline bool Environment::can_call_into_js() const { in can_call_into_js() function
869 inline void Environment::set_can_call_into_js(bool can_call_into_js) { in set_can_call_into_js() argument
870 can_call_into_js_ = can_call_into_js; in set_can_call_into_js()
Dnode_errors.cc285 if (!env->can_call_into_js()) in ReportFatalException()
953 if (env->can_call_into_js()) { in TriggerUncaughtException()
Dnode_messaging.cc712 if (!env()->can_call_into_js()) return MaybeLocal<Value>(); in ReceiveMessage()
766 if (!env()->can_call_into_js()) { in OnMessage()
904 while (env->can_call_into_js()) { in ReadIterable()
Dnode_api.cc25 bool node_napi_env__::can_call_into_js() const { in can_call_into_js() function in node_napi_env__
26 return node_env()->can_call_into_js(); in can_call_into_js()
Denv.h1039 inline bool can_call_into_js() const;
1040 inline void set_can_call_into_js(bool can_call_into_js);
Dinspector_agent.cc850 if (!parent_env_->can_call_into_js()) return; in ToggleAsyncHook()
Dnode_contextify.cc939 if (!env->can_call_into_js()) in EvalMachine()
DREADME.md723 `env->can_call_into_js()` flag and do not proceed if it is set to `false`.
/third_party/node/doc/changelogs/
DCHANGELOG_V13.md1423 …s://github.com/nodejs/node/commit/94357db815)] - **src**: add more `can_call_into_js()` guards (An…
DCHANGELOG_V10.md3297 …s/node/commit/afc811cc1c)] - **src**: break out of timers loop if `!can_call_into_js()` (Anna Henn…