Home
last modified time | relevance | path

Searched refs:ecma_is_value_object (Results 1 – 25 of 54) sorted by relevance

123

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-iterator-object.c200 if (!ecma_is_value_object (method) || !ecma_op_is_callable (method)) in ecma_op_get_iterator()
221 if (!ecma_is_value_object (iterator)) in ecma_op_get_iterator()
246 JERRY_ASSERT (ecma_is_value_object (iterator)); in ecma_op_iterator_next()
258 if (!ecma_is_value_object (func_next) || !ecma_op_is_callable (func_next)) in ecma_op_iterator_next()
299 JERRY_ASSERT (ecma_is_value_object (iterator)); in ecma_op_iterator_return()
314 if (!ecma_is_value_object (func_return) || !ecma_op_is_callable (func_return)) in ecma_op_iterator_return()
343 JERRY_ASSERT (ecma_is_value_object (iterator)); in ecma_op_iterator_throw()
366 if (!ecma_is_value_object (func_throw) || !ecma_op_is_callable (func_throw)) in ecma_op_iterator_throw()
394 JERRY_ASSERT (ecma_is_value_object (iter_result)); in ecma_op_iterator_value()
414 JERRY_ASSERT (ecma_is_value_object (iterator)); in ecma_op_iterator_close()
[all …]
Decma-conversion.c127 JERRY_ASSERT (ecma_is_value_object (x) || ECMA_ASSERT_VALUE_IS_SYMBOL (x)); in ecma_op_same_value()
195 if (ecma_is_value_object (value)) in ecma_op_to_primitive()
249 JERRY_ASSERT (ecma_is_value_object (value) || ECMA_ASSERT_VALUE_IS_SYMBOL (value)); in ecma_op_to_boolean()
290 if (ecma_is_value_object (value)) in ecma_op_to_number()
358 if (ecma_is_value_object (value)) in ecma_get_number()
411 if (JERRY_UNLIKELY (ecma_is_value_object (value))) in ecma_op_to_string()
521 else if (ecma_is_value_object (value)) in ecma_op_to_object()
670 if (!ecma_is_value_object (obj_value)) in ecma_op_to_property_descriptor()
780 JERRY_ASSERT (ecma_is_value_object (get_prop_value)); in ecma_op_to_property_descriptor()
819 JERRY_ASSERT (ecma_is_value_object (set_prop_value)); in ecma_op_to_property_descriptor()
[all …]
Decma-dataview-object.c55 if (!ecma_is_value_object (buffer)) in ecma_op_dataview_create()
159 if (ecma_is_value_object (this_arg)) in ecma_op_dataview_get_object()
341 if (!ecma_is_value_object (value)) in ecma_is_dataview()
Decma-container-object.c485 if (!ecma_is_value_object (result)) in ecma_op_container_create()
564 if (ecma_is_value_object (this_arg)) in ecma_op_container_get_object()
627 if (lit_id == LIT_MAGIC_STRING_WEAKMAP_UL && !ecma_is_value_object (key_arg)) in ecma_op_container_get()
674 && !ecma_is_value_object (key_arg)) in ecma_op_container_has()
783 && !ecma_is_value_object (key_arg)) in ecma_op_container_set()
840 JERRY_ASSERT (ecma_is_value_object (predicate)); in ecma_op_container_foreach()
948 if (!ecma_is_value_object (key_arg)) in ecma_op_container_delete_weak()
1124 if (!ecma_is_value_object (this_val)) in ecma_op_container_iterator_next()
Decma-promise-object.c339 if (!ecma_is_value_object (argv[0])) in ecma_promise_resolve_handler()
575 JERRY_ASSERT (ecma_is_value_object (executor)); in ecma_op_create_promise_object()
633 JERRY_ASSERT (ecma_is_value_object (capability)); in ecma_op_get_capabilities_executor_cb()
773 if (!ecma_is_value_object (this_arg)) in ecma_promise_reject_or_resolve()
779 && ecma_is_value_object (value) in ecma_promise_reject_or_resolve()
934 if (!ecma_is_value_object (promise)) in ecma_promise_then()
Decma-comparison.c153 if (ecma_is_value_object (x)) in ecma_op_abstract_equality_compare()
217 || ecma_is_value_object (x) in ecma_op_strict_equality_compare()
218 || ecma_is_value_object (y)) in ecma_op_strict_equality_compare()
Decma-function-object.c102 return (ecma_is_value_object (value) in ecma_op_is_callable()
153 return (ecma_is_value_object (value) in ecma_is_constructor()
584 if (!ecma_is_value_object (value)) in ecma_op_function_has_instance()
614 if (!ecma_is_value_object (prototype_obj_value)) in ecma_op_function_has_instance()
754 if (!ecma_is_value_object (proto)) in ecma_op_get_prototype_from_constructor()
847 else if (!ecma_is_value_object (this_binding)) in ecma_op_function_call_simple()
901 if (!ECMA_IS_VALUE_ERROR (ret_value) && !ecma_is_value_object (ret_value)) in ecma_op_function_call_simple()
1178 if (ECMA_IS_VALUE_ERROR (ret_value) || ecma_is_value_object (ret_value)) in ecma_op_function_construct_external()
1286 if (ECMA_IS_VALUE_ERROR (ret_value) || ecma_is_value_object (ret_value)) in ecma_op_function_construct()
Decma-proxy-object.c51 if (ecma_is_value_object (argument)) in ecma_proxy_validate()
246 JERRY_ASSERT (ecma_is_value_null (proto) || ecma_is_value_object (proto)); in ecma_proxy_object_prototype_to_cp()
276 JERRY_ASSERT (ecma_is_value_object (handler)); in ecma_validate_proxy_object()
334 if (!ecma_is_value_object (handler_proto) && !ecma_is_value_null (handler_proto)) in ecma_proxy_object_get_prototype_of()
402 JERRY_ASSERT (ecma_is_value_object (proto) || ecma_is_value_null (proto)); in ecma_proxy_object_set_prototype_of()
715 if (!ecma_is_value_object (trap_result) && !ecma_is_value_undefined (trap_result)) in ecma_proxy_object_get_own_property_descriptor()
1802 if (!ecma_is_value_object (new_obj)) in ecma_proxy_object_construct()
Decma-objects-general.c82 if (ecma_is_value_object (value) in ecma_op_create_object_object_arg()
259 || !ecma_is_value_object (result)) in ecma_op_general_object_default_value()
334 && !ecma_is_value_object (call_completion))) in ecma_op_general_object_ordinary_value()
/third_party/jerryscript/jerry-core/api/
Djerry.c609 if (!ecma_is_value_object (func_val)) in jerry_run()
724 return (ecma_is_value_object (value) in jerry_value_is_array()
823 return ecma_is_value_object (value); in jerry_value_is_object()
837 return (ecma_is_value_object (value) in jerry_value_is_promise()
856 return (ecma_is_value_object (value) in jerry_value_is_proxy()
1103 if (!ecma_is_value_object (lhs) in jerry_binary_operation()
1245 if (!ecma_is_value_object (value)) in jerry_get_error_type()
2118 if (!ecma_is_value_object (obj_val) in jerry_has_property()
2140 if (!ecma_is_value_object (obj_val) in jerry_has_own_property()
2180 if (!ecma_is_value_object (obj_val) in jerry_has_internal_property()
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-reflect.c93 if (arguments_number == 0 || !ecma_is_value_object (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
161 if (arguments_number == 0 || !ecma_is_value_object (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
218 if (!ecma_is_value_object (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
231 if (!ecma_is_value_object (arguments_list[1]) && !ecma_is_value_null (arguments_list[1])) in ecma_builtin_reflect_dispatch_routine()
Decma-builtin-object.c180 if (!ecma_is_value_object (arg2) && !ecma_is_value_null (arg2)) in ecma_builtin_object_object_set_prototype_of()
186 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_object_set_prototype_of()
244 if (!ecma_is_value_object (arg2) && !ecma_is_value_null (arg2)) in ecma_builtin_object_object_set_proto()
250 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_object_set_proto()
869 if (!ecma_is_value_object (arg1) && !ecma_is_value_null (arg1)) in ecma_builtin_object_object_create()
1123 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_dispatch_routine()
1132 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_dispatch_routine()
1230 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_dispatch_routine()
1261 if (!ecma_is_value_object (arg1)) in ecma_builtin_object_dispatch_routine()
Decma-builtin-promise.c133 JERRY_ASSERT (ecma_is_value_object (iterator) in ecma_builtin_promise_perform_race()
134 && ecma_is_value_object (capability)); in ecma_builtin_promise_perform_race()
212 JERRY_ASSERT (ecma_is_value_object (remaining)); in ecma_builtin_promise_remaining_inc_or_dec()
329 JERRY_ASSERT (ecma_is_value_object (capability) && ecma_is_constructor (ctor)); in ecma_builtin_promise_perform_all()
497 if (!ecma_is_value_object (this_arg)) in ecma_builtin_promise_race_or_all()
Decma-builtin-arraybuffer-prototype.c58 if (ecma_is_value_object (this_arg)) in ecma_builtin_arraybuffer_prototype_bytelength_getter()
91 if (!ecma_is_value_object (this_arg)) in ecma_builtin_arraybuffer_prototype_object_slice()
Decma-builtin-json.c629 if (ecma_is_value_object (value)) in ecma_builtin_json_internalize_property()
1132 if (ecma_is_value_object (value)) in ecma_builtin_json_serialize_property()
1184 if (ecma_is_value_object (value)) in ecma_builtin_json_serialize_property()
1277 if (ecma_is_value_object (value) && !ecma_op_is_callable (value)) in ecma_builtin_json_serialize_property()
1397 if (ecma_is_value_object (arg2)) in ecma_builtin_json_stringify()
1441 else if (ecma_is_value_object (value)) in ecma_builtin_json_stringify()
1487 if (ecma_is_value_object (arg3)) in ecma_builtin_json_stringify()
Decma-builtin-regexp-prototype.c108 if (!ecma_is_value_object (this_arg)) in ecma_builtin_regexp_prototype_get_flags()
485 if (!ecma_is_value_object (this_arg)) in ecma_builtin_regexp_prototype_test()
533 if (!ecma_is_value_object (this_arg)) in ecma_builtin_regexp_prototype_to_string()
Decma-builtin-boolean-prototype.c97 else if (ecma_is_value_object (this_arg)) in ecma_builtin_boolean_prototype_object_value_of()
Decma-builtin-error-prototype.c88 if (!ecma_is_value_object (this_arg)) in ecma_builtin_error_prototype_object_to_string()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c197 if (ecma_is_value_object (value)) in ecma_gc_mark_properties()
260 if (ecma_is_value_object (args_len_or_this)) in ecma_gc_mark_bound_function_object()
275 if (ecma_is_value_object (args_p[i])) in ecma_gc_mark_bound_function_object()
292 if (ecma_is_value_object (result)) in ecma_gc_mark_promise_object()
351 if (ecma_is_value_object (entry_p->key)) in ecma_gc_mark_map_object()
356 if (ecma_is_value_object (entry_p->value)) in ecma_gc_mark_map_object()
388 if (ecma_is_value_object (entry_p->value)) in ecma_gc_mark_weakmap_object()
420 if (ecma_is_value_object (*entry_p)) in ecma_gc_mark_set_object()
452 if (ecma_is_value_object (executable_object_p->frame_ctx.this_binding)) in ecma_gc_mark_executable_object()
476 if (ecma_is_value_object (*register_p)) in ecma_gc_mark_executable_object()
[all …]
Decma-helpers-value.c380 ecma_is_value_object (ecma_value_t value) /**< ecma value */ in ecma_is_value_object() function
410 || ecma_is_value_object (value)); in ecma_check_value_type_is_spec_defined()
422 if (!ecma_is_value_object (arg)) in ecma_is_value_array()
793 JERRY_ASSERT (ecma_is_value_object (value)); in ecma_get_object_from_value()
892 if (!ecma_is_value_object (value)) in ecma_copy_value_if_not_object()
906 if (ecma_is_value_object (value)) in ecma_ref_if_object()
918 if (ecma_is_value_object (value)) in ecma_deref_if_object()
1180 JERRY_ASSERT (ecma_is_value_object (value)); in ecma_get_typeof_lit_id()
/third_party/jerryscript/jerry-core/ext/
Ddebug-utils.c17 if (!ecma_is_value_object(value)) { in PrintObjectValueProperties()
47 if (ecma_is_value_object(prop_value_p.value)) { in PrintObjectProperties()
Dheapdump.c195 if (ecma_is_value_object(value)) { in DumpPropertyPair()
334 if (ecma_is_value_object(values[i])) { in DumpInfoObject()
/third_party/jerryscript/jerry-core/vm/
Dopcodes-ecma-relational-equality.c108 if (!ecma_is_value_object (right_value)) in opfunc_instanceof()
157 if (!ecma_is_value_object (right_value)) in opfunc_in()
Dopcodes-ecma-arithmetics.c109 if (ecma_is_value_object (left_value)) in opfunc_addition()
121 if (ecma_is_value_object (right_value)) in opfunc_addition()
Dopcodes.c219 JERRY_ASSERT (ecma_is_value_object (obj_value)); in vm_op_delete_prop()
525 if (ecma_is_value_object (stack_top_p[i])) in opfunc_append_array()
557 if (ecma_is_value_object (stack_top_p[i])) in opfunc_append_array()
820 if (ecma_is_value_object (result)) in ecma_op_implicit_constructor_handler_heritage_cb()
829 else if (ecma_is_value_object (proto_value)) in ecma_op_implicit_constructor_handler_heritage_cb()
973 if (ecma_is_value_object (proto_parent)) in opfunc_init_class()
1075 if (ecma_is_value_object (property_pair_p->values[index].value) in opfunc_set_class_attributes()

123