Searched refs:viewByteLength (Results 1 – 2 of 2) sorted by relevance
108 uint32_t viewByteLength; in ecma_op_dataview_create() local112 ecma_value_t byte_length_value = ecma_op_to_length (arguments_list_p[2], &viewByteLength); in ecma_op_dataview_create()121 if ((ecma_number_t) offset + viewByteLength > buffer_byte_length) in ecma_op_dataview_create()129 viewByteLength = (uint32_t) (buffer_byte_length - (ecma_length_t) offset); in ecma_op_dataview_create()139 dataview_obj_p->header.u.class_prop.u.length = viewByteLength; in ecma_op_dataview_create()
702 const viewByteLength = ArrayBufferViewGetByteLength(view);710 assert(viewByteLength > 0);941 const viewByteLength = ArrayBufferViewGetByteLength(view);945 if (viewByteLength === 0 || viewBufferByteLength === 0) {2950 const viewByteLength = ArrayBufferViewGetByteLength(view);2956 if (viewByteLength !== 0)2960 if (viewByteLength === 0)2974 if (bytesFilled + viewByteLength > byteLength)2982 readableByteStreamControllerRespondInternal(controller, viewByteLength);