Home
last modified time | relevance | path

Searched refs:ecma_op_is_callable (Results 1 – 25 of 27) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-jobqueue.c141 JERRY_ASSERT (ecma_is_value_boolean (handler) || ecma_op_is_callable (handler)); in ecma_process_promise_reaction_job()
171 JERRY_ASSERT (ecma_op_is_callable (reject)); in ecma_process_promise_reaction_job()
184 JERRY_ASSERT (ecma_op_is_callable (resolve)); in ecma_process_promise_reaction_job()
303 JERRY_ASSERT (ecma_op_is_callable (then)); in ecma_enqueue_promise_resolve_thenable_job()
Decma-iterator-object.c200 if (!ecma_is_value_object (method) || !ecma_op_is_callable (method)) in ecma_op_get_iterator()
258 if (!ecma_is_value_object (func_next) || !ecma_op_is_callable (func_next)) in ecma_op_iterator_next()
314 if (!ecma_is_value_object (func_return) || !ecma_op_is_callable (func_return)) in ecma_op_iterator_return()
366 if (!ecma_is_value_object (func_throw) || !ecma_op_is_callable (func_throw)) in ecma_op_iterator_throw()
Decma-promise-object.c355 else if (!ecma_op_is_callable (then)) in ecma_promise_resolve_handler()
565 JERRY_ASSERT (ecma_op_is_callable (executor)); in ecma_op_create_promise_object()
738 if (!ecma_op_is_callable (resolve)) in ecma_promise_new_capability()
750 if (!ecma_op_is_callable (reject)) in ecma_promise_new_capability()
859 if (!ecma_op_is_callable (on_fulfilled)) in ecma_promise_do_then()
865 if (!ecma_op_is_callable (on_rejected)) in ecma_promise_do_then()
Decma-function-object.h34 bool ecma_op_is_callable (ecma_value_t value);
Decma-conversion.c765 if (!ecma_op_is_callable (get_prop_value) in ecma_op_to_property_descriptor()
804 if (!ecma_op_is_callable (set_prop_value) in ecma_op_to_property_descriptor()
Decma-container-object.c433 if (!ecma_op_is_callable (result)) in ecma_op_container_create()
835 if (!ecma_op_is_callable (predicate)) in ecma_op_container_foreach()
Decma-function-object.c84 return ecma_op_is_callable (((ecma_proxy_object_t *) obj_p)->target); in ecma_op_object_is_callable()
100 ecma_op_is_callable (ecma_value_t value) /**< ecma value */ in ecma_op_is_callable() function
Decma-objects-general.c320 if (ecma_op_is_callable (function_value)) in ecma_op_general_object_ordinary_value()
Decma-regexp-object.c2719 if (!ecma_op_is_callable (replace_arg)) in ecma_regexp_replace_helper()
2790 if (ecma_op_is_callable (result)) in ecma_regexp_replace_helper()
2853 if (ecma_op_is_callable (result)) in ecma_regexp_replace_helper()
3416 if (ecma_op_is_callable (exec)) in ecma_op_regexp_exec()
Decma-typedarray-object.c762 JERRY_ASSERT (ecma_op_is_callable (map_fn_val) || ecma_is_value_undefined (map_fn_val)); in ecma_op_typedarray_from()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c203 if (!ecma_op_is_callable (cb_func_val)) in ecma_builtin_typedarray_prototype_exec_routine()
439 if (!ecma_op_is_callable (cb_func_val)) in ecma_builtin_typedarray_prototype_map()
530 if (!ecma_op_is_callable (cb_func_val)) in ecma_builtin_typedarray_prototype_reduce_with_direction()
705 if (!ecma_op_is_callable (cb_func_val)) in ecma_builtin_typedarray_prototype_filter()
1212 if (!ecma_op_is_callable (join_value)) in ecma_builtin_typedarray_prototype_object_to_string()
1439 JERRY_ASSERT (ecma_op_is_callable (compare_func)); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1496 if (!ecma_is_value_undefined (compare_func) && !ecma_op_is_callable (compare_func)) in ecma_builtin_typedarray_prototype_sort()
1598 if (!ecma_op_is_callable (predicate)) in ecma_builtin_typedarray_prototype_find_helper()
2037 if (ecma_op_is_callable (func_value)) in ecma_builtin_typedarray_prototype_to_locale_string_helper()
Decma-builtin-typedarray.c84 if (!ecma_op_is_callable (map_fn)) in ecma_builtin_typedarray_from()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-prototype.c409 if (!ecma_op_is_callable (replace_symbol)) in ecma_builtin_string_prototype_object_replace()
446 if (!ecma_op_is_callable (replace_value)) in ecma_builtin_string_prototype_object_replace()
598 if (!ecma_op_is_callable (search_symbol)) in ecma_builtin_string_prototype_object_search()
664 if (!ecma_op_is_callable (search_symbol)) in ecma_builtin_string_prototype_object_search()
763 if (!ecma_op_is_callable (split_symbol)) in ecma_builtin_string_prototype_object_split()
Decma-builtin-array-prototype.c141 if (!ecma_op_is_callable (join_value)) in ecma_builtin_array_prototype_object_to_string()
1067 JERRY_ASSERT (ecma_op_is_callable (compare_func)); in ecma_builtin_array_prototype_object_sort_compare_helper()
1120 if (!ecma_is_value_undefined (arg1) && !ecma_op_is_callable (arg1)) in ecma_builtin_array_prototype_object_sort()
1877 if (!ecma_op_is_callable (arg1)) in ecma_builtin_array_apply()
1960 if (!ecma_op_is_callable (arg1)) in ecma_builtin_array_prototype_object_map()
2053 if (!ecma_op_is_callable (arg1)) in ecma_builtin_array_prototype_object_filter()
2157 if (!ecma_op_is_callable (args_p[0])) in ecma_builtin_array_reduce_from()
2376 if (!ecma_op_is_callable (predicate)) in ecma_builtin_array_prototype_object_find()
Decma-builtin-json.c747 if (!ECMA_IS_VALUE_ERROR (result) && ecma_op_is_callable (arg2)) in ecma_builtin_json_parse()
1145 if (ecma_op_is_callable (to_json)) in ecma_builtin_json_serialize_property()
1277 if (ecma_is_value_object (value) && !ecma_op_is_callable (value)) in ecma_builtin_json_serialize_property()
1402 if (ecma_op_is_callable (arg2)) in ecma_builtin_json_stringify()
Decma-builtin-object-prototype.c122 if (!ecma_op_is_callable (to_string_val)) in ecma_builtin_object_prototype_object_to_locale_string()
Decma-builtin-reflect.c254 if (!ecma_op_is_callable (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
Decma-builtin-function-prototype.c408 if (!ecma_op_is_callable (this_arg)) in ecma_builtin_function_prototype_dispatch_routine()
Decma-builtin-array.c96 if (!ecma_op_is_callable (mapfn)) in ecma_builtin_array_object_from()
Decma-builtin-date-prototype.c167 if (!ecma_op_is_callable (to_iso)) in ecma_builtin_date_prototype_to_json()
Decma-builtin-promise.c631 if (arguments_list_len == 0 || !ecma_op_is_callable (arguments_list_p[0])) in ecma_builtin_promise_dispatch_construct()
Decma-builtin-helpers.c239 if (!ecma_op_is_callable (to_locale_value)) in ecma_builtin_helper_get_to_locale_string_at_index()
/third_party/jerryscript/jerry-core/api/
Djerry.c781 return ecma_op_is_callable (value); in jerry_value_is_function()
1104 || !ecma_op_is_callable (rhs)) in jerry_binary_operation()
2656 if (ecma_op_is_callable (getter)) in jerry_define_own_property()
2676 if (ecma_op_is_callable (setter)) in jerry_define_own_property()
/third_party/jerryscript/jerry-core/vm/
Dvm.c1837 if (ecma_is_value_object(left_value) && ecma_op_is_callable(left_value)) { in vm_loop()
2524 if (ecma_is_value_object(left_value) && ecma_op_is_callable(left_value)) { in vm_loop()
2560 if (ecma_is_value_object(left_value) && ecma_op_is_callable(left_value)) { in vm_loop()
2584 if (ecma_is_value_object(left_value) && ecma_op_is_callable(left_value)) { in vm_loop()
4024 if (ecma_is_value_object(result) && ecma_op_is_callable(result)) { in vm_loop()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-value.c1182 ret_value = ecma_op_is_callable (value) ? LIT_MAGIC_STRING_FUNCTION : LIT_MAGIC_STRING_OBJECT; in ecma_get_typeof_lit_id()

12