Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/builtins/
Dbuiltins-sharedarraybuffer.cc56 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(object); in ValidateIntegerTypedArray() local
58 if (typed_array->WasDetached()) { in ValidateIntegerTypedArray()
68 if (typed_array->type() == kExternalInt32Array || in ValidateIntegerTypedArray()
69 typed_array->type() == kExternalBigInt64Array) { in ValidateIntegerTypedArray()
70 return typed_array; in ValidateIntegerTypedArray()
73 if (typed_array->type() != kExternalFloat32Array && in ValidateIntegerTypedArray()
74 typed_array->type() != kExternalFloat64Array && in ValidateIntegerTypedArray()
75 typed_array->type() != kExternalUint8ClampedArray) in ValidateIntegerTypedArray()
76 return typed_array; in ValidateIntegerTypedArray()
92 Isolate* isolate, Handle<JSTypedArray> typed_array, in ValidateAtomicAccess() argument
[all …]
Darray-join.tq58 dcheck(!typed_array::IsJSArrayBufferViewDetachedOrOutOfBoundsBoolean(
60 return typed_array::LoadFixedTypedArrayElementAsTagged(
61 typedArray.data_ptr, k, typed_array::KindForArrayType<T>());
392 loadFn = LoadJoinTypedElement<typed_array::Int32Elements>;
394 loadFn = LoadJoinTypedElement<typed_array::Float32Elements>;
396 loadFn = LoadJoinTypedElement<typed_array::Float64Elements>;
398 loadFn = LoadJoinTypedElement<typed_array::Uint8ClampedElements>;
400 loadFn = LoadJoinTypedElement<typed_array::BigUint64Elements>;
402 loadFn = LoadJoinTypedElement<typed_array::BigInt64Elements>;
404 loadFn = LoadJoinTypedElement<typed_array::Uint8Elements>;
[all …]
Dtyped-array-slice.tq7 namespace typed_array {
14 src: typed_array::AttachedJSTypedArray, dest: JSTypedArray, k: uintptr,
19 const destInfo = typed_array::GetTypedArrayElementsInfo(dest);
44 typed_array::CallCRelaxedMemmove(dest.data_ptr, srcPtr, countBytes);
46 typed_array::CallCMemmove(dest.data_ptr, srcPtr, countBytes);
52 if (typed_array::IsBigInt64ElementsKind(src.elements_kind) !=
53 typed_array::IsBigInt64ElementsKind(dest.elements_kind))
Dbuiltins-typed-array-gen.cc221 TNode<JSTypedArray> typed_array) { in GetTypedArrayElementsInfo() argument
222 return GetTypedArrayElementsInfo(LoadMap(typed_array)); in GetTypedArrayElementsInfo()
465 TNode<Context> context, TNode<JSTypedArray> typed_array, in StoreJSTypedArrayElementFromNumeric() argument
467 TNode<RawPtrT> data_ptr = LoadJSTypedArrayDataPtr(typed_array); in StoreJSTypedArrayElementFromNumeric()
501 TNode<Context> context, TNode<JSTypedArray> typed_array, in StoreJSTypedArrayElementFromPreparedValue() argument
512 TNode<JSArrayBuffer> buffer = LoadJSArrayBufferViewBuffer(typed_array); in StoreJSTypedArrayElementFromPreparedValue()
515 TNode<RawPtrT> data_ptr = LoadJSTypedArrayDataPtr(typed_array); in StoreJSTypedArrayElementFromPreparedValue()
520 TNode<Context> context, TNode<JSTypedArray> typed_array, in StoreJSTypedArrayElementFromTagged() argument
533 StoreJSTypedArrayElementFromPreparedValue(context, typed_array, index, in StoreJSTypedArrayElementFromTagged()
541 StoreJSTypedArrayElementFromPreparedValue(context, typed_array, index, in StoreJSTypedArrayElementFromTagged()
[all …]
Dbuiltins-typed-array-gen.h43 ElementsInfo GetTypedArrayElementsInfo(TNode<JSTypedArray> typed_array);
98 TNode<JSTypedArray> typed_array,
103 TNode<JSTypedArray> typed_array,
110 TNode<Context> context, TNode<JSTypedArray> typed_array,
Dtyped-array-reduceright.tq7 namespace typed_array {
13 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
16 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-reduce.tq7 namespace typed_array {
11 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
14 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-subarray.tq5 namespace typed_array {
20 const buffer = typed_array::GetTypedArrayBuffer(source);
54 const elementsInfo = typed_array::GetTypedArrayElementsInfo(source);
Dtyped-array-findindex.tq7 namespace typed_array {
12 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
15 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-foreach.tq7 namespace typed_array {
11 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
14 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-some.tq7 namespace typed_array {
12 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
15 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-every.tq7 namespace typed_array {
12 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
15 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-find.tq7 namespace typed_array {
12 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
15 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-findlast.tq7 namespace typed_array {
13 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
16 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-findlastindex.tq7 namespace typed_array {
13 attachedArrayAndLength: typed_array::AttachedJSTypedArrayAndLength,
16 typed_array::NewAttachedJSTypedArrayWitness(attachedArrayAndLength.array);
Dtyped-array-createtypedarray.tq7 namespace typed_array {
66 typed_array::SetJSTypedArrayOnHeapDataPtr(typedArray, elements, byteOffset);
68 typed_array::SetJSTypedArrayOffHeapDataPtr(
80 elementsInfo: typed_array::TypedArrayElementsInfo):
101 typed_array::CallCMemset(backingStore, 0, byteLength);
126 elementsInfo: typed_array::TypedArrayElementsInfo): JSTypedArray {
141 elementsInfo: typed_array::TypedArrayElementsInfo): JSTypedArray {
163 typed_array::CallCRelaxedMemcpy(
166 typed_array::CallCMemcpy(
Dtyped-array-filter.tq5 namespace typed_array {
34 let witness = typed_array::NewAttachedJSTypedArrayWitness(
Dtyped-array-entries.tq7 namespace typed_array {
Dtyped-array-values.tq7 namespace typed_array {
Dtyped-array-keys.tq7 namespace typed_array {
/third_party/skia/third_party/externals/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;
/third_party/node/deps/v8/src/debug/
Ddebug-property-iterator.cc180 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(receiver); in FillKeysForCurrentPrototypeAndStage() local
182 typed_array->WasDetached() ? 0 : typed_array->length(); in FillKeysForCurrentPrototypeAndStage()
/third_party/node/deps/v8/src/objects/
Delements.cc3087 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(holder); in SetImpl() local
3088 DCHECK_LE(entry.raw_value(), typed_array->GetLength()); in SetImpl()
3090 static_cast<ElementType*>(typed_array->DataPtr()) + entry.raw_value(); in SetImpl()
3091 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in SetImpl()
3144 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(holder); in GetInternalImpl() local
3145 Isolate* isolate = typed_array->GetIsolate(); in GetInternalImpl()
3146 DCHECK_LT(entry.raw_value(), typed_array->GetLength()); in GetInternalImpl()
3147 DCHECK(!typed_array->IsDetachedOrOutOfBounds()); in GetInternalImpl()
3149 static_cast<ElementType*>(typed_array->DataPtr()) + entry.raw_value(); in GetInternalImpl()
3150 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in GetInternalImpl()
[all …]
/third_party/node/deps/v8/src/snapshot/
Dserializer.cc512 JSTypedArray typed_array = JSTypedArray::cast(*object_); in SerializeJSTypedArray() local
513 if (typed_array.is_on_heap()) { in SerializeJSTypedArray()
514 typed_array.RemoveExternalPointerCompensationForSerialization(isolate()); in SerializeJSTypedArray()
516 if (!typed_array.WasDetached()) { in SerializeJSTypedArray()
518 JSArrayBuffer buffer = JSArrayBuffer::cast(typed_array.buffer()); in SerializeJSTypedArray()
530 size_t byte_offset = typed_array.byte_offset(); in SerializeJSTypedArray()
535 reinterpret_cast<Address>(typed_array.DataPtr()) - byte_offset); in SerializeJSTypedArray()
539 typed_array.SetExternalBackingStoreRefForSerialization(ref); in SerializeJSTypedArray()
541 typed_array.SetExternalBackingStoreRefForSerialization(0); in SerializeJSTypedArray()
/third_party/node/deps/v8/src/profiler/
Dheap-profiler.cc256 for (auto& typed_array : on_heap_typed_arrays) { in QueryObjects() local
259 typed_array->GetBuffer(); in QueryObjects()

12