/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-generator-prototype.c | 82 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_GENERATOR_UL) in ecma_builtin_generator_prototype_object_do() 94 if (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_EXECUTABLE_OBJECT_RUNNING) in ecma_builtin_generator_prototype_object_do() 99 …if (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_EXECUTABLE_OBJECT_COMPLETE… in ecma_builtin_generator_prototype_object_do() 108 …if (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_GENERATOR_ITERATE_AND_YIEL… in ecma_builtin_generator_prototype_object_do() 110 ecma_value_t iterator = executable_object_p->extended_object.u.class_prop.u.value; in ecma_builtin_generator_prototype_object_do() 136 …executable_object_p->extended_object.u.class_prop.extra_info &= (uint16_t) ~ECMA_GENERATOR_ITERATE… in ecma_builtin_generator_prototype_object_do() 161 …bool done = (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_EXECUTABLE_OBJECT… in ecma_builtin_generator_prototype_object_do() 183 … executable_object_p->extended_object.u.class_prop.extra_info |= ECMA_GENERATOR_ITERATE_AND_YIELD; in ecma_builtin_generator_prototype_object_do() 184 executable_object_p->extended_object.u.class_prop.u.value = iterator; in ecma_builtin_generator_prototype_object_do()
|
D | ecma-builtin-boolean-prototype.c | 105 JERRY_ASSERT (ecma_is_value_boolean (ext_object_p->u.class_prop.u.value)); in ecma_builtin_boolean_prototype_object_value_of() 107 return ext_object_p->u.class_prop.u.value; in ecma_builtin_boolean_prototype_object_value_of()
|
D | ecma-builtins.c | 455 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_STRING_UL; in ecma_instantiate_builtin() 456 ext_object_p->u.class_prop.u.value = ecma_make_magic_string_value (LIT_MAGIC_STRING__EMPTY); in ecma_instantiate_builtin() 467 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_NUMBER_UL; in ecma_instantiate_builtin() 468 ext_object_p->u.class_prop.u.value = ecma_make_integer_value (0); in ecma_instantiate_builtin() 479 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_BOOLEAN_UL; in ecma_instantiate_builtin() 480 ext_object_p->u.class_prop.u.value = ECMA_VALUE_FALSE; in ecma_instantiate_builtin() 491 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_DATE_UL; in ecma_instantiate_builtin() 495 ECMA_SET_INTERNAL_VALUE_POINTER (ext_object_p->u.class_prop.u.value, prim_prop_num_value_p); in ecma_instantiate_builtin() 506 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_REGEXP_UL; in ecma_instantiate_builtin() 513 ECMA_SET_INTERNAL_VALUE_POINTER (ext_object_p->u.class_prop.u.value, bc_p); in ecma_instantiate_builtin()
|
D | ecma-builtin-regexp-prototype.c | 70 re_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_flags_helper() 226 re_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_get_source() 387 … regexp_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_compile() 405 … pattern_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_compile() 590 re_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_to_string()
|
D | ecma-builtin-promise.c | 217 JERRY_ASSERT (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_NUMBER_UL); in ecma_builtin_promise_remaining_inc_or_dec() 219 JERRY_ASSERT (ecma_is_value_integer_number (ext_object_p->u.class_prop.u.value)); in ecma_builtin_promise_remaining_inc_or_dec() 221 …ecma_length_t current = (ecma_length_t) ecma_get_integer_from_value (ext_object_p->u.class_prop.u.… in ecma_builtin_promise_remaining_inc_or_dec() 231 ext_object_p->u.class_prop.u.value = ecma_make_uint32_value (current); in ecma_builtin_promise_remaining_inc_or_dec()
|
D | ecma-builtin-date.c | 755 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_UNDEFINED; in ecma_builtin_date_dispatch_construct() 813 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_DATE_UL; in ecma_builtin_date_dispatch_construct() 817 ECMA_SET_INTERNAL_VALUE_POINTER (ext_object_p->u.class_prop.u.value, date_num_p); in ecma_builtin_date_dispatch_construct()
|
D | ecma-builtin-date-prototype.c | 582 *ECMA_GET_INTERNAL_VALUE_POINTER (ecma_number_t, ext_object_p->u.class_prop.u.value) = full_date; in ecma_builtin_date_prototype_dispatch_set() 624 … ext_object_p->u.class_prop.u.value); in ecma_builtin_date_prototype_dispatch_routine()
|
D | ecma-builtin-dataview-prototype.c | 119 return ecma_make_uint32_value (obj_p->header.u.class_prop.u.length); in ecma_builtin_dataview_prototype_object_getters()
|
D | ecma-builtin-regexp.c | 111 pattern_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_dispatch_helper()
|
D | ecma-builtin-number-prototype.c | 556 JERRY_ASSERT (ecma_is_value_number (ext_object_p->u.class_prop.u.value)); in ecma_builtin_number_prototype_object_value_of() 558 return ext_object_p->u.class_prop.u.value; in ecma_builtin_number_prototype_object_value_of()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-arraybuffer-object.c | 55 ext_object_p->u.class_prop.extra_info = ECMA_ARRAYBUFFER_INTERNAL_MEMORY; in ecma_arraybuffer_new_object() 56 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_ARRAY_BUFFER_UL; in ecma_arraybuffer_new_object() 57 ext_object_p->u.class_prop.u.length = length; in ecma_arraybuffer_new_object() 86 array_object_p->extended_object.u.class_prop.extra_info = ECMA_ARRAYBUFFER_EXTERNAL_MEMORY; in ecma_arraybuffer_new_object_external() 87 array_object_p->extended_object.u.class_prop.class_id = LIT_MAGIC_STRING_ARRAY_BUFFER_UL; in ecma_arraybuffer_new_object_external() 88 array_object_p->extended_object.u.class_prop.u.length = length; in ecma_arraybuffer_new_object_external() 180 return ext_object_p->u.class_prop.u.length; in ecma_arraybuffer_get_length() 274 array_object_p->extended_object.u.class_prop.u.length = 0; in ecma_arraybuffer_detach()
|
D | ecma-container-object.c | 319 … map_object_p->u.class_prop.u.value); in ecma_op_container_free_entries() 321 switch (map_object_p->u.class_prop.class_id) in ecma_op_container_free_entries() 391 map_obj_p->u.class_prop.extra_info = ECMA_CONTAINER_FLAGS_EMPTY; in ecma_op_container_create() 392 map_obj_p->u.class_prop.class_id = (uint16_t) lit_id; in ecma_op_container_create() 396 map_obj_p->u.class_prop.extra_info |= ECMA_CONTAINER_FLAGS_WEAK; in ecma_op_container_create() 399 ECMA_SET_INTERNAL_VALUE_POINTER (map_obj_p->u.class_prop.u.value, container_p); in ecma_op_container_create() 569 && map_object_p->u.class_prop.class_id == lit_id) in ecma_op_container_get_object() 603 … map_object_p->u.class_prop.u.value); in ecma_op_container_size() 634 … map_object_p->u.class_prop.u.value); in ecma_op_container_get() 670 … map_object_p->u.class_prop.u.value); in ecma_op_container_has() [all …]
|
D | ecma-symbol-object.c | 93 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_SYMBOL_UL; in ecma_op_create_symbol_object() 94 ext_object_p->u.class_prop.u.value = ecma_copy_value (value); in ecma_op_create_symbol_object() 165 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_SYMBOL_UL) in ecma_symbol_to_string_helper() 167 … return (is_to_string ? ecma_get_symbol_descriptive_string (ext_object_p->u.class_prop.u.value) in ecma_symbol_to_string_helper() 168 : ecma_copy_value (ext_object_p->u.class_prop.u.value)); in ecma_symbol_to_string_helper()
|
D | ecma-string-object.c | 74 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_STRING_UL; in ecma_op_create_string_object() 75 ext_object_p->u.class_prop.u.value = prim_value; in ecma_op_create_string_object() 101 JERRY_ASSERT (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL); in ecma_op_string_list_lazy_property_names() 103 ecma_string_t *prim_value_str_p = ecma_get_string_from_value (ext_object_p->u.class_prop.u.value); in ecma_op_string_list_lazy_property_names()
|
D | ecma-promise-object.c | 63 return ecma_copy_value (ext_object_p->u.class_prop.u.value); in ecma_promise_get_result() 77 JERRY_ASSERT (ext_object_p->u.class_prop.u.value == ECMA_VALUE_UNDEFINED); in ecma_promise_set_result() 79 ext_object_p->u.class_prop.u.value = result; in ecma_promise_set_result() 92 return ((ecma_extended_object_t *) obj_p)->u.class_prop.extra_info; in ecma_promise_get_flags() 108 ((ecma_extended_object_t *) obj_p)->u.class_prop.extra_info ^= flags_to_invert; in ecma_promise_set_state() 188 JERRY_ASSERT (already_resolved_p->u.class_prop.class_id == LIT_MAGIC_STRING_BOOLEAN_UL); in ecma_is_resolver_already_called() 190 ecma_value_t current_value = already_resolved_p->u.class_prop.u.value; in ecma_is_resolver_already_called() 191 already_resolved_p->u.class_prop.u.value = ECMA_VALUE_TRUE; in ecma_is_resolver_already_called() 280 …((ecma_extended_object_t *) promise_obj_p)->u.class_prop.extra_info |= ECMA_PROMISE_ALREADY_RESOLV… in ecma_promise_reject_handler() 320 …((ecma_extended_object_t *) promise_obj_p)->u.class_prop.extra_info |= ECMA_PROMISE_ALREADY_RESOLV… in ecma_promise_resolve_handler() [all …]
|
D | ecma-dataview-object.c | 138 dataview_obj_p->header.u.class_prop.class_id = LIT_MAGIC_STRING_DATAVIEW_UL; in ecma_op_dataview_create() 139 dataview_obj_p->header.u.class_prop.u.length = viewByteLength; in ecma_op_dataview_create() 164 && dataview_object_p->header.u.class_prop.class_id == LIT_MAGIC_STRING_DATAVIEW_UL) in ecma_op_dataview_get_object() 284 uint32_t view_size = view_p->header.u.class_prop.u.length; in ecma_op_dataview_get_set_view_value() 349 && dataview_object_p->header.u.class_prop.class_id == LIT_MAGIC_STRING_DATAVIEW_UL); in ecma_is_dataview()
|
D | ecma-boolean-object.c | 57 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_BOOLEAN_UL; in ecma_op_create_boolean_object() 58 ext_object_p->u.class_prop.u.value = ecma_make_boolean_value (boolean_value); in ecma_op_create_boolean_object()
|
D | ecma-number-object.c | 62 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_NUMBER_UL; in ecma_op_create_number_object() 65 ext_object_p->u.class_prop.u.value = conv_to_num_completion; in ecma_op_create_number_object()
|
D | ecma-objects.c | 95 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL) in ecma_op_object_get_own_property() 101 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_get_own_property() 115 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_get_own_property() 462 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL) in ecma_op_object_find_own() 466 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_find_own() 478 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_find_own() 1421 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL) in ecma_op_object_put_with_receiver() 1427 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_put_with_receiver() 2204 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL) in ecma_op_object_get_property_names() 2724 return (lit_magic_string_id_t) ext_object_p->u.class_prop.class_id; in ecma_object_get_class_name() [all …]
|
D | ecma-regexp-object.c | 242 regexp_obj_p->u.class_prop.class_id = LIT_MAGIC_STRING_UNDEFINED; in ecma_op_regexp_alloc() 266 if (ext_obj_p->u.class_prop.class_id == LIT_MAGIC_STRING_UNDEFINED) in ecma_op_regexp_initialize() 282 ext_obj_p->u.class_prop.class_id = LIT_MAGIC_STRING_REGEXP_UL; in ecma_op_regexp_initialize() 283 ECMA_SET_INTERNAL_VALUE_POINTER (ext_obj_p->u.class_prop.u.value, bc_p); in ecma_op_regexp_initialize() 1681 … ext_object_p->u.class_prop.u.value); in ecma_regexp_exec_helper() 2350 … ext_object_p->u.class_prop.u.value); in ecma_regexp_split_helper() 2773 re_obj_p->u.class_prop.u.value); in ecma_regexp_replace_helper() 2836 … re_obj_p->u.class_prop.u.value); in ecma_regexp_replace_helper()
|
D | ecma-exceptions.c | 141 ((ecma_extended_object_t *) new_error_obj_p)->u.class_prop.class_id = LIT_MAGIC_STRING_ERROR_UL; in ecma_new_standard_error()
|
D | ecma-objects-arguments.c | 111 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_ARGUMENTS_UL; in ecma_op_create_arguments_object()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-gc.c | 290 ecma_value_t result = ext_object_p->u.class_prop.u.value; in ecma_gc_mark_promise_object() 338 … map_object_p->u.class_prop.u.value); in ecma_gc_mark_map_object() 375 … map_object_p->u.class_prop.u.value); in ecma_gc_mark_weakmap_object() 407 … map_object_p->u.class_prop.u.value); in ecma_gc_mark_set_object() 437 …if (!ECMA_EXECUTABLE_OBJECT_IS_SUSPENDED (executable_object_p->extended_object.u.class_prop.extra_… in ecma_gc_mark_executable_object() 444 …if (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_GENERATOR_ITERATE_AND_YIEL… in ecma_gc_mark_executable_object() 446 ecma_value_t iterator = executable_object_p->extended_object.u.class_prop.u.value; in ecma_gc_mark_executable_object() 564 switch (ext_object_p->u.class_prop.class_id) in ecma_gc_mark() 874 …JERRY_ASSERT (!(executable_object_p->extended_object.u.class_prop.extra_info & ECMA_EXECUTABLE_OBJ… in ecma_gc_free_executable_object() 878 …if (executable_object_p->extended_object.u.class_prop.extra_info & ECMA_EXECUTABLE_OBJECT_COMPLETE… in ecma_gc_free_executable_object() [all …]
|
D | ecma-globals.h | 862 } class_prop; member 1794 …((((ecma_extended_object_t *) object_p)->u.class_prop.extra_info & ECMA_ARRAYBUFFER_EXTERNAL_MEMOR…
|
/third_party/jerryscript/jerry-core/vm/ |
D | opcodes.c | 610 executable_object_p->extended_object.u.class_prop.class_id = LIT_MAGIC_STRING_GENERATOR_UL; in opfunc_create_executable_object() 611 executable_object_p->extended_object.u.class_prop.extra_info = 0; in opfunc_create_executable_object() 691 …CMA_EXECUTABLE_OBJECT_IS_SUSPENDED (executable_object_p->extended_object.u.class_prop.extra_info)); in opfunc_resume_executable_object() 693 executable_object_p->extended_object.u.class_prop.extra_info |= ECMA_EXECUTABLE_OBJECT_RUNNING; in opfunc_resume_executable_object() 705 …executable_object_p->extended_object.u.class_prop.extra_info &= (uint16_t) ~ECMA_EXECUTABLE_OBJECT… in opfunc_resume_executable_object() 712 … executable_object_p->extended_object.u.class_prop.extra_info |= ECMA_EXECUTABLE_OBJECT_COMPLETED; in opfunc_resume_executable_object()
|