Home
last modified time | relevance | path

Searched refs:typed_array (Results 1 – 9 of 9) sorted by relevance

/external/brotli/js/
Dpolyfill.js8 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;
/external/v8/src/runtime/
Druntime-typedarray.cc258 Handle<JSTypedArray> typed_array(JSTypedArray::cast(*source)); in RUNTIME_FUNCTION() local
260 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()
/external/v8/src/builtins/
Dbuiltins-typedarray.cc32 CHECK_RECEIVER(JSTypedArray, typed_array, "get TypedArray.prototype.buffer"); in BUILTIN()
33 return *typed_array->GetBuffer(); in BUILTIN()
/external/v8/src/compiler/
Djs-native-context-specialization.cc1799 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(m.Value()); in BuildElementAccess() local
1802 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()
/external/v8/src/
Dvalue-serializer.cc1591 Handle<JSTypedArray> typed_array = isolate_->factory()->NewJSTypedArray( in ReadJSArrayBufferView() local
1594 AddObjectWithID(id, typed_array); in ReadJSArrayBufferView()
1595 return typed_array; in ReadJSArrayBufferView()
Dobjects.cc19301 Handle<JSTypedArray> typed_array) { in MaterializeArrayBuffer() argument
19303 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()
Dbootstrapper.cc1445 V(TYPED_ARRAY, KEY, typed_array, key) \ in InitializeGlobal()
Dapi.cc7700 i::Handle<i::JSTypedArray> typed_array(i::JSTypedArray::cast(*self)); in CopyContents() local
7702 i::FixedTypedArrayBase::cast(typed_array->elements())); in CopyContents()
Dobjects.h10819 Handle<JSTypedArray> typed_array);