Searched refs:swap_block_p (Results 1 – 1 of 1) sorted by relevance
241 lit_utf8_byte_t* swap_block_p; in ecma_op_dataview_get_set_view_value() local304 swap_block_p = jerry_vla_malloc (sizeof(lit_utf8_byte_t) * element_size); in ecma_op_dataview_get_set_view_value()305 if (!swap_block_p) in ecma_op_dataview_get_set_view_value()310 JERRY_VLA (lit_utf8_byte_t, swap_block_p, element_size); in ecma_op_dataview_get_set_view_value()312 memcpy (swap_block_p, block_p, element_size * sizeof (lit_utf8_byte_t)); in ecma_op_dataview_get_set_view_value()313 … ecma_dataview_swap_order (system_is_little_endian, is_little_endian, element_size, swap_block_p); in ecma_op_dataview_get_set_view_value()315 ret = ecma_make_number_value (ecma_get_typedarray_element (swap_block_p, id)); in ecma_op_dataview_get_set_view_value()316 jerry_vla_free (swap_block_p); in ecma_op_dataview_get_set_view_value()319 return ecma_make_number_value (ecma_get_typedarray_element (swap_block_p, id)); in ecma_op_dataview_get_set_view_value()