Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-iterator-prototype.c66 || 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.c65 || 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()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c479 return (ecma_typedarray_type_t) ext_object_p->u.pseudo_array.extra_info; in ecma_get_typedarray_id()
563 ext_object_p->u.pseudo_array.u1.class_id = ecma_typedarray_magic_string_list[typedarray_id]; in ecma_typedarray_create_object_with_length()
564 ext_object_p->u.pseudo_array.type = ECMA_PSEUDO_ARRAY_TYPEDARRAY; in ecma_typedarray_create_object_with_length()
565 ext_object_p->u.pseudo_array.extra_info = (uint8_t) typedarray_id; in ecma_typedarray_create_object_with_length()
566 ext_object_p->u.pseudo_array.u2.arraybuffer = ecma_make_object_value (new_arraybuffer_p); in ecma_typedarray_create_object_with_length()
603 ext_object_p->u.pseudo_array.u1.class_id = ecma_typedarray_magic_string_list[typedarray_id]; in ecma_typedarray_create_object_with_buffer()
604 ext_object_p->u.pseudo_array.type = ECMA_PSEUDO_ARRAY_TYPEDARRAY; in ecma_typedarray_create_object_with_buffer()
605 ext_object_p->u.pseudo_array.extra_info = (uint8_t) typedarray_id; in ecma_typedarray_create_object_with_buffer()
606 ext_object_p->u.pseudo_array.u2.arraybuffer = ecma_make_object_value (arraybuffer_p); in ecma_typedarray_create_object_with_buffer()
610 ext_object_p->u.pseudo_array.type = ECMA_PSEUDO_ARRAY_TYPEDARRAY_WITH_INFO; in ecma_typedarray_create_object_with_buffer()
[all …]
Decma-objects-arguments.c83 ext_object_p->u.pseudo_array.type = ECMA_PSEUDO_ARRAY_ARGUMENTS; in ecma_op_create_arguments_object()
85 ECMA_SET_INTERNAL_VALUE_POINTER (ext_object_p->u.pseudo_array.u2.lex_env_cp, lex_env_p); in ecma_op_create_arguments_object()
87 ext_object_p->u.pseudo_array.u1.length = (uint16_t) formal_params_number; in ecma_op_create_arguments_object()
257 if (index >= ext_object_p->u.pseudo_array.u1.length) in ecma_op_arguments_object_define_own_property()
282 … ext_object_p->u.pseudo_array.u2.lex_env_cp); in ecma_op_arguments_object_define_own_property()
336 if (index < ext_object_p->u.pseudo_array.u1.length) in ecma_op_arguments_object_delete()
Decma-iterator-object.c150 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-objects.c309 if (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS) in ecma_op_object_get_own_property()
314 && index < ext_object_p->u.pseudo_array.u1.length) in ecma_op_object_get_own_property()
323 … ext_object_p->u.pseudo_array.u2.lex_env_cp); in ecma_op_object_get_own_property()
524 if (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS) in ecma_op_object_find_own()
529 && index < ext_object_p->u.pseudo_array.u1.length) in ecma_op_object_find_own()
538 … ext_object_p->u.pseudo_array.u2.lex_env_cp); in ecma_op_object_find_own()
1331 if (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS) in ecma_op_object_put_with_receiver()
1336 && index < ext_object_p->u.pseudo_array.u1.length) in ecma_op_object_put_with_receiver()
1345 … ext_object_p->u.pseudo_array.u2.lex_env_cp); in ecma_op_object_put_with_receiver()
1560 if (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS) in ecma_op_object_put_with_receiver()
[all …]
Decma-container-object.c1061 uint32_t index = ((ecma_extended_object_t *) iter_obj_p)->u.pseudo_array.u1.iterator_index; in ecma_op_iterator_get_index()
1103 ((ecma_extended_object_t *) iter_obj_p)->u.pseudo_array.u1.iterator_index = (uint16_t) index; in ecma_op_iterator_set_index()
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()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c629 switch (ext_object_p->u.pseudo_array.type) in ecma_gc_mark()
644 ecma_value_t iterated_value = ext_object_p->u.pseudo_array.u2.iterated_value; in ecma_gc_mark()
658 JERRY_ASSERT (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS); in ecma_gc_mark()
661 … ext_object_p->u.pseudo_array.u2.lex_env_cp); in ecma_gc_mark()
1256 switch (ext_object_p->u.pseudo_array.type) in ecma_gc_free_object()
1260 JERRY_ASSERT (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS); in ecma_gc_free_object()
1262 ecma_length_t formal_params_number = ext_object_p->u.pseudo_array.u1.length; in ecma_gc_free_object()
1288 ecma_value_t iterated_value = ext_object_p->u.pseudo_array.u2.iterated_value; in ecma_gc_free_object()
1300 JERRY_ASSERT (ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_TYPEDARRAY in ecma_gc_free_object()
1301 || ext_object_p->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ITERATOR in ecma_gc_free_object()
[all …]
Decma-globals.h910 } pseudo_array; member
/third_party/jerryscript/jerry-core/ext/
Dheapdump.c295 if (ext_object->u.pseudo_array.type == ECMA_PSEUDO_ARRAY_ARGUMENTS) { in DumpInfoObject()
300 ext_object->u.pseudo_array.u2.lex_env_cp); in DumpInfoObject()