Searched refs:ecma_is_promise (Results 1 – 4 of 4) sorted by relevance
45 ecma_is_promise (ecma_object_t *obj_p) /**< points to object */ in ecma_is_promise() function59 JERRY_ASSERT (ecma_is_promise (obj_p)); in ecma_promise_get_result()73 JERRY_ASSERT (ecma_is_promise (obj_p)); in ecma_promise_set_result()90 JERRY_ASSERT (ecma_is_promise (obj_p)); in ecma_promise_get_flags()102 JERRY_ASSERT (ecma_is_promise (obj_p)); in ecma_promise_set_state()274 JERRY_ASSERT (ecma_is_promise (promise_obj_p)); in ecma_promise_reject_handler()311 JERRY_ASSERT (ecma_is_promise (promise_obj_p)); in ecma_promise_resolve_handler()780 && ecma_is_promise (ecma_get_object_from_value (value))) in ecma_promise_reject_or_resolve()941 if (!ecma_is_promise (obj)) in ecma_promise_then()
85 bool ecma_is_promise (ecma_object_t *obj_p);
301 JERRY_ASSERT (ecma_is_promise (ecma_get_object_from_value (promise))); in ecma_enqueue_promise_resolve_thenable_job()
838 && ecma_is_promise (ecma_get_object_from_value (value))); in jerry_value_is_promise()3312 if (!ecma_is_value_object (promise) || !ecma_is_promise (ecma_get_object_from_value (promise))) in jerry_resolve_or_reject_promise()