Home
last modified time | relevance | path

Searched refs:promise_ (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/v8/include/
Dv8-promise.h158 : promise_(promise), event_(event), value_(value) {} in PromiseRejectMessage()
160 V8_INLINE Local<Promise> GetPromise() const { return promise_; } in GetPromise()
165 Local<Promise> promise_;
Dv8-wasm.h248 Persistent<Promise, CopyablePersistentTraits<Promise>> promise_; variable
250 Persistent<Promise> promise_; variable
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/
Dcm_request.cpp144 promise_.set_value(remoteObject); in OnLoadSystemAbilitySuccess()
150 promise_.set_value(nullptr); in OnLoadSystemAbilityFail()
155 return promise_.get_future().get(); in Promise()
/third_party/node/deps/v8/src/wasm/
Dwasm-js.cc265 : promise_(isolate->global_handles()->Create(*promise)) { in AsyncCompilationResolver()
266 i::GlobalHandles::AnnotateStrongRetainer(promise_.location(), in AsyncCompilationResolver()
271 i::GlobalHandles::Destroy(promise_.location()); in ~AsyncCompilationResolver()
278 i::JSPromise::Resolve(promise_, result); in OnCompilationSucceeded()
280 promise_->GetIsolate()->has_pending_exception()); in OnCompilationSucceeded()
287 i::JSPromise::Reject(promise_, error_reason); in OnCompilationFailed()
289 promise_->GetIsolate()->has_pending_exception()); in OnCompilationFailed()
296 i::Handle<i::JSPromise> promise_; member in v8::__anone6070c700211::__anone6070c700311::AsyncCompilationResolver
308 : promise_(isolate->global_handles()->Create(*promise)) { in InstantiateModuleResultResolver()
309 i::GlobalHandles::AnnotateStrongRetainer(promise_.location(), in InstantiateModuleResultResolver()
[all …]
/third_party/node/deps/v8/src/heap/
Dmemory-measurement.cc108 Handle<JSPromise> promise_; member in v8::internal::MeasureMemoryDelegate
119 promise_ = isolate->global_handles()->Create(*promise); in MeasureMemoryDelegate()
123 isolate_->global_handles()->Destroy(promise_.location()); in ~MeasureMemoryDelegate()
164 JSPromise::Resolve(promise_, result).ToHandleChecked(); in MeasurementComplete()
/third_party/node/deps/v8/src/execution/
Dfutex-emulation.cc522 promise_.Reset(v8_isolate, local_promise); in FutexWaitListNode()
523 promise_.SetWeak(); in FutexWaitListNode()
754 if (!node->promise_.IsEmpty()) { in CleanupAsyncWaiterPromise()
756 Utils::OpenHandle(*node->promise_.Get(v8_isolate))); in CleanupAsyncWaiterPromise()
794 if (!node->promise_.IsEmpty()) { in ResolveAsyncWaiterPromise()
799 Utils::OpenHandle(*node->promise_.Get(v8_isolate))); in ResolveAsyncWaiterPromise()
Dfutex-emulation.h124 v8::Global<v8::Promise> promise_; variable
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/include/
Dcm_load_sa.h33 std::promise<OHOS::sptr<IRemoteObject>> promise_; variable
/third_party/node/src/
Dnode_file.h401 v8::Global<v8::Promise> promise_{};
Dnode_file.cc385 Local<Promise> promise = promise_.Get(isolate); in Resolve()
395 Local<Promise> promise = promise_.Get(isolate); in Reject()
413 promise_.Reset(env->isolate(), promise); in CloseReq()
419 promise_.Reset(); in ~CloseReq()
424 tracker->TrackField("promise", promise_); in MemoryInfo()