Home
last modified time | relevance | path

Searched refs:ext_obj_p (Results 1 – 10 of 10) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-array-object.c88 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_op_new_array_object() local
89 ext_obj_p->u.array.length = length; in ecma_op_new_array_object()
90 ext_obj_p->u.array.u.hole_count = 0; in ecma_op_new_array_object()
91 ext_obj_p->u.array.u.length_prop = ECMA_PROPERTY_FLAG_WRITABLE | ECMA_PROPERTY_TYPE_VIRTUAL; in ecma_op_new_array_object()
146 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_op_new_fast_array_object() local
148ext_obj_p->u.array.u.length_prop = (uint8_t) (ext_obj_p->u.array.u.length_prop | ECMA_FAST_ARRAY_F… in ecma_op_new_fast_array_object()
149 ext_obj_p->u.array.u.hole_count += length * ECMA_FAST_ARRAY_HOLE_ONE; in ecma_op_new_fast_array_object()
170 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_fast_array_convert_to_normal() local
174ext_obj_p->u.array.u.length_prop = (uint8_t) (ext_obj_p->u.array.u.length_prop & ~ECMA_FAST_ARRAY_… in ecma_fast_array_convert_to_normal()
178 uint32_t length = ext_obj_p->u.array.length; in ecma_fast_array_convert_to_normal()
[all …]
Decma-iterator-object.c149 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) object_p; in ecma_op_create_iterator_object() local
150 ext_obj_p->u.pseudo_array.type = iterator_type; in ecma_op_create_iterator_object()
153 ext_obj_p->u.pseudo_array.u2.iterated_value = iterated_value; in ecma_op_create_iterator_object()
155 ext_obj_p->u.pseudo_array.u1.iterator_index = 0; in ecma_op_create_iterator_object()
157 ext_obj_p->u.pseudo_array.extra_info = extra_info; in ecma_op_create_iterator_object()
Decma-container-object.c1130 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_op_container_iterator_next() local
1133 || ext_obj_p->u.pseudo_array.type != iterator_type) in ecma_op_container_iterator_next()
1138 ecma_value_t iterated_value = ext_obj_p->u.pseudo_array.u2.iterated_value; in ecma_op_container_iterator_next()
1155 ext_obj_p->u.pseudo_array.u2.iterated_value = ECMA_VALUE_EMPTY; in ecma_op_container_iterator_next()
1161 uint8_t iterator_kind = ext_obj_p->u.pseudo_array.extra_info; in ecma_op_container_iterator_next()
Decma-objects.c2279 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_op_object_get_property_names() local
2281 uint32_t length = ext_obj_p->u.array.length; in ecma_op_object_get_property_names()
2728 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_object_get_class_name() local
2730 switch (ext_obj_p->u.pseudo_array.type) in ecma_object_get_class_name()
2736 return (lit_magic_string_id_t) ext_obj_p->u.pseudo_array.u1.class_id; in ecma_object_get_class_name()
2761 JERRY_ASSERT (ext_obj_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS); in ecma_object_get_class_name()
2781 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_object_get_class_name() local
2783 switch (ext_obj_p->u.built_in.id) in ecma_object_get_class_name()
Decma-regexp-object.c263 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) regexp_obj_p; in ecma_op_regexp_initialize() local
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()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-iterator-prototype.c62 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_iterator_prototype_object_next() local
66 || ext_obj_p->u.pseudo_array.type != ECMA_PSEUDO_ARRAY_ITERATOR) in ecma_builtin_array_iterator_prototype_object_next()
71 ecma_value_t iterated_value = ext_obj_p->u.pseudo_array.u2.iterated_value; in ecma_builtin_array_iterator_prototype_object_next()
90 uint32_t index = ext_obj_p->u.pseudo_array.u1.iterator_index; in ecma_builtin_array_iterator_prototype_object_next()
116 ext_obj_p->u.pseudo_array.u1.iterator_index++; in ecma_builtin_array_iterator_prototype_object_next()
121 ext_obj_p->u.pseudo_array.u2.iterated_value = ECMA_VALUE_EMPTY; in ecma_builtin_array_iterator_prototype_object_next()
126 uint8_t iterator_type = ext_obj_p->u.pseudo_array.extra_info; in ecma_builtin_array_iterator_prototype_object_next()
Decma-builtin-string-iterator-prototype.c61 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_string_iterator_prototype_object_next() local
65 || ext_obj_p->u.pseudo_array.type != ECMA_PSEUDO_STRING_ITERATOR) in ecma_builtin_string_iterator_prototype_object_next()
70 ecma_value_t iterated_value = ext_obj_p->u.pseudo_array.u2.iterated_value; in ecma_builtin_string_iterator_prototype_object_next()
83 ecma_length_t position = ext_obj_p->u.pseudo_array.u1.iterator_index; in ecma_builtin_string_iterator_prototype_object_next()
97 ext_obj_p->u.pseudo_array.u2.iterated_value = ECMA_VALUE_EMPTY; in ecma_builtin_string_iterator_prototype_object_next()
132 ext_obj_p->u.pseudo_array.u1.iterator_index = (uint16_t) (position + result_size); in ecma_builtin_string_iterator_prototype_object_next()
Decma-builtin-array-prototype.c498 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_prototype_object_push() local
506 ext_obj_p->u.array.u.hole_count -= ECMA_FAST_ARRAY_HOLE_ONE * arguments_number; in ecma_builtin_array_prototype_object_push()
552 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_prototype_object_reverse() local
554 if (ext_obj_p->u.array.u.hole_count < ECMA_FAST_ARRAY_HOLE_ONE in ecma_builtin_array_prototype_object_reverse()
737 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_prototype_object_shift() local
739 if (ext_obj_p->u.array.u.hole_count < ECMA_FAST_ARRAY_HOLE_ONE in ecma_builtin_array_prototype_object_shift()
1543 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_prototype_object_unshift() local
1545 if (ext_obj_p->u.array.u.hole_count < ECMA_FAST_ARRAY_HOLE_ONE in ecma_builtin_array_prototype_object_unshift()
1571 ext_obj_p->u.array.u.hole_count -= args_number * ECMA_FAST_ARRAY_HOLE_ONE; in ecma_builtin_array_prototype_object_unshift()
1684 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_array_prototype_object_index_of() local
[all …]
Decma-builtins.c1150 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_dispatch_call() local
1154 return ecma_builtin_dispatch_routine (ext_obj_p, in ecma_builtin_dispatch_call()
1160 ecma_builtin_id_t builtin_object_id = ext_obj_p->u.built_in.id; in ecma_builtin_dispatch_call()
1184 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in ecma_builtin_dispatch_construct() local
1185 ecma_builtin_id_t builtin_object_id = ext_obj_p->u.built_in.id; in ecma_builtin_dispatch_construct()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-tagged-template-literal.c131 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) obj_p; in parser_tagged_template_literal_freeze_array() local
132 …uint8_t new_prop_value = (uint8_t) (ext_obj_p->u.array.u.length_prop & ~ECMA_PROPERTY_FLAG_WRITABL… in parser_tagged_template_literal_freeze_array()
133 ext_obj_p->u.array.u.length_prop = new_prop_value; in parser_tagged_template_literal_freeze_array()