Home
last modified time | relevance | path

Searched refs:element_size_shift (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c507 … uint8_t element_size_shift, /**< the size shift of the element length */ in ecma_typedarray_create_object_with_length() argument
510 if (array_length > (UINT32_MAX >> element_size_shift)) in ecma_typedarray_create_object_with_length()
515 ecma_length_t byte_length = array_length << element_size_shift; in ecma_typedarray_create_object_with_length()
586 … uint8_t element_size_shift, /**< the size shift of the element length */ in ecma_typedarray_create_object_with_buffer() argument
593 …cma_length_t expected_length = (ecma_arraybuffer_get_length (arraybuffer_p) >> element_size_shift); in ecma_typedarray_create_object_with_buffer()
631 … uint8_t element_size_shift, /**< the size shift of the element length */ in ecma_typedarray_create_object_with_typedarray() argument
644 element_size_shift, in ecma_typedarray_create_object_with_typedarray()
665 memcpy (dst_buf_p, src_buf_p, array_length << element_size_shift); in ecma_typedarray_create_object_with_typedarray()
670 uint32_t dst_element_size = 1u << element_size_shift; in ecma_typedarray_create_object_with_typedarray()
758 uint8_t element_size_shift, /**< the size shift of the element length */ in ecma_op_typedarray_from() argument
[all …]
Decma-typedarray-object.h49 uint8_t element_size_shift,
59 uint8_t element_size_shift,
74 uint8_t element_size_shift,
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray.c106 const uint8_t element_size_shift = ecma_typedarray_helper_get_shift_size (typedarray_id); in ecma_builtin_typedarray_from() local
112 element_size_shift, in ecma_builtin_typedarray_from()
147 const uint8_t element_size_shift = ecma_typedarray_helper_get_shift_size (typedarray_id); in ecma_builtin_typedarray_of() local
152 element_size_shift, in ecma_builtin_typedarray_of()
/third_party/jerryscript/jerry-core/api/
Djerry.c4099 uint8_t element_size_shift; /**< element size shift */ member
4137 … uint8_t *element_size_shift) /**< [out] found element size shift value */ in jerry_typedarray_find_by_type() argument
4141 JERRY_ASSERT (element_size_shift != NULL); in jerry_typedarray_find_by_type()
4149 *element_size_shift = jerry_typedarray_mappings[i].element_size_shift; in jerry_typedarray_find_by_type()
4178 uint8_t element_size_shift = 0; in jerry_create_typedarray() local
4180 if (!jerry_typedarray_find_by_type (type_name, &prototype_id, &id, &element_size_shift)) in jerry_create_typedarray()
4190 element_size_shift, in jerry_create_typedarray()
4228 uint8_t element_size_shift = 0; in jerry_create_typedarray_for_arraybuffer_sz() local
4230 if (!jerry_typedarray_find_by_type (type_name, &prototype_id, &id, &element_size_shift)) in jerry_create_typedarray_for_arraybuffer_sz()
4248 … array_value = ecma_op_create_typedarray (arguments_p, 3, prototype_obj_p, element_size_shift, id); in jerry_create_typedarray_for_arraybuffer_sz()