Searched refs:reactions (Results 1 - 9 of 9) sorted by relevance
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-promise-object.c | 117 ecma_promise_trigger_reactions (ecma_collection_t *reactions, /**< lists of reactions */ in ecma_promise_trigger_reactions() argument 121 ecma_value_t *buffer_p = reactions->buffer_p; in ecma_promise_trigger_reactions() 122 ecma_value_t *buffer_end_p = buffer_p + reactions->item_count; in ecma_promise_trigger_reactions() 215 ecma_collection_t *reactions = promise_p->reactions; in ecma_reject_promise() local 217 /* Fulfill reactions will never be triggered. */ in ecma_reject_promise() 218 ecma_promise_trigger_reactions (reactions, reason, true); in ecma_reject_promise() 220 promise_p->reactions = ecma_new_collection (); in ecma_reject_promise() 222 ecma_collection_destroy (reactions); in ecma_reject_promise() 244 ecma_collection_t *reactions = promise_p->reactions; ecma_fulfill_promise() local 529 ecma_collection_t *reactions = ecma_new_collection (); ecma_op_create_promise_object() local [all...] |
H A D | ecma-promise-object.h | 65 ecma_collection_t *reactions; /**< list of promise reactions */ member 75 * bit 2 is not set: callback reactions
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-promise.h | 24 // lists for fulfill and reject reactions. The PromiseReaction carries both 28 // We also overlay the result and reactions fields on the JSPromise, since 29 // the reactions are only necessary for pending promises, whereas the result 37 // [reactions]: Checks that the promise is pending and returns the reactions. 38 inline Object reactions() const; 85 Handle<Object> reactions,
|
H A D | js-promise-inl.h | 32 Object JSPromise::reactions() const { in reactions() function in v8::internal::JSPromise
|
H A D | objects.cc | 5412 // 2. Let reactions be promise.[[PromiseFulfillReactions]]. in Fulfill() 5413 Handle<Object> reactions(promise->reactions(), isolate); in Fulfill() 5423 // 7. Return TriggerPromiseReactions(reactions, value). in Fulfill() 5424 return TriggerPromiseReactions(isolate, reactions, value, in Fulfill() 5458 // 2. Let reactions be promise.[[PromiseRejectReactions]]. in Reject() 5459 Handle<Object> reactions(promise->reactions(), isolate); in Reject() 5475 // 8. Return TriggerPromiseReactions(reactions, reason). in Reject() 5476 return TriggerPromiseReactions(isolate, reactions, reaso in Reject() 5577 TriggerPromiseReactions(Isolate* isolate, Handle<Object> reactions, Handle<Object> argument, PromiseReaction::Type type) TriggerPromiseReactions() argument [all...] |
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-gc.c | 297 /* Mark all reactions. */ in ecma_gc_mark_promise_object() 299 ecma_collection_t *collection_p = promise_object_p->reactions; in ecma_gc_mark_promise_object() 1157 ecma_collection_destroy (((ecma_promise_object_t *) object_p)->reactions); in ecma_gc_free_object()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | objects-debug.cc | 1324 CHECK(reactions().IsSmi() || reactions().IsPromiseReaction()); in JSPromiseVerify()
|
H A D | objects-printer.cc | 694 os << "\n - reactions: " << Brief(reactions()); in JSPromisePrint()
|
/third_party/node/deps/v8/src/execution/ |
H A D | isolate.cc | 935 if (!promise->reactions().IsPromiseReaction()) return; in CaptureAsyncStackTrace() 937 PromiseReaction::cast(promise->reactions()), isolate); in CaptureAsyncStackTrace() 2664 Handle<Object> current(promise->reactions(), isolate); in ThrowInternal()
|
Completed in 31 milliseconds