Searched refs:typed_array (Results 1 – 9 of 9) sorted by relevance
8 var typed_array = new this(obj.length);9 for(var i = 0; i < typed_array.length; i++) {10 typed_array[i] = obj[i];12 return typed_array;
258 Handle<JSTypedArray> typed_array(JSTypedArray::cast(*source)); in RUNTIME_FUNCTION() local260 if (typed_array->type() == holder->type()) { in RUNTIME_FUNCTION()262 static_cast<uint8_t*>(typed_array->GetBuffer()->backing_store()); in RUNTIME_FUNCTION()263 size_t source_byte_offset = NumberToSize(typed_array->byte_offset()); in RUNTIME_FUNCTION()
32 CHECK_RECEIVER(JSTypedArray, typed_array, "get TypedArray.prototype.buffer"); in BUILTIN()33 return *typed_array->GetBuffer(); in BUILTIN()
1799 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(m.Value()); in BuildElementAccess() local1802 length = jsgraph()->Constant(typed_array->length_value()); in BuildElementAccess()1805 buffer = jsgraph()->HeapConstant(typed_array->GetBuffer()); in BuildElementAccess()1812 FixedTypedArrayBase::cast(typed_array->elements()) in BuildElementAccess()
1591 Handle<JSTypedArray> typed_array = isolate_->factory()->NewJSTypedArray( in ReadJSArrayBufferView() local1594 AddObjectWithID(id, typed_array); in ReadJSArrayBufferView()1595 return typed_array; in ReadJSArrayBufferView()
19301 Handle<JSTypedArray> typed_array) { in MaterializeArrayBuffer() argument19303 Handle<Map> map(typed_array->map()); in MaterializeArrayBuffer()19304 Isolate* isolate = typed_array->GetIsolate(); in MaterializeArrayBuffer()19309 FixedTypedArrayBase::cast(typed_array->elements())); in MaterializeArrayBuffer()19311 Handle<JSArrayBuffer> buffer(JSArrayBuffer::cast(typed_array->buffer()), in MaterializeArrayBuffer()19331 fixed_typed_array->length(), typed_array->type(), in MaterializeArrayBuffer()19334 typed_array->set_elements(*new_elements); in MaterializeArrayBuffer()
1445 V(TYPED_ARRAY, KEY, typed_array, key) \ in InitializeGlobal()
7700 i::Handle<i::JSTypedArray> typed_array(i::JSTypedArray::cast(*self)); in CopyContents() local7702 i::FixedTypedArrayBase::cast(typed_array->elements())); in CopyContents()
10819 Handle<JSTypedArray> typed_array);