/third_party/node/deps/v8/src/objects/ |
D | js-array-buffer-inl.h | 23 TQ_OBJECT_CONSTRUCTORS_IMPL(JSTypedArray) in TQ_OBJECT_CONSTRUCTORS_IMPL() 26 ACCESSORS(JSTypedArray, base_pointer, Object, kBasePointerOffset) in TQ_OBJECT_CONSTRUCTORS_IMPL() 27 RELEASE_ACQUIRE_ACCESSORS(JSTypedArray, base_pointer, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL() 200 size_t JSTypedArray::GetLengthOrOutOfBounds(bool& out_of_bounds) const { in GetLengthOrOutOfBounds() 209 size_t JSTypedArray::GetLength() const { in GetLength() 214 size_t JSTypedArray::GetByteLength() const { in GetByteLength() 218 bool JSTypedArray::IsOutOfBounds() const { in IsOutOfBounds() 224 bool JSTypedArray::IsDetachedOrOutOfBounds() const { in IsDetachedOrOutOfBounds() 233 size_t JSTypedArray::length() const { in length() 239 size_t JSTypedArray::LengthUnchecked() const { in LengthUnchecked() [all …]
|
D | js-array-buffer.cc | 220 Handle<JSArrayBuffer> JSTypedArray::GetBuffer() { in GetBuffer() 222 Handle<JSTypedArray> self(*this, isolate); in GetBuffer() 264 Maybe<bool> JSTypedArray::DefineOwnProperty(Isolate* isolate, in DefineOwnProperty() 265 Handle<JSTypedArray> o, in DefineOwnProperty() 334 ExternalArrayType JSTypedArray::type() { in type() 349 size_t JSTypedArray::element_size() const { in element_size() 364 size_t JSTypedArray::LengthTrackingGsabBackedTypedArrayLength( in LengthTrackingGsabBackedTypedArrayLength() 371 JSTypedArray array = JSTypedArray::cast(Object(raw_array)); in LengthTrackingGsabBackedTypedArrayLength() 383 size_t JSTypedArray::GetVariableLengthOrOutOfBounds(bool& out_of_bounds) const { in GetVariableLengthOrOutOfBounds()
|
D | js-array-buffer.h | 268 class JSTypedArray 269 : public TorqueGeneratedJSTypedArray<JSTypedArray, JSArrayBufferView> { 283 Isolate* isolate, Handle<JSTypedArray> o, Handle<Object> key, 347 static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate, 352 DECL_PRINTER(JSTypedArray) 353 DECL_VERIFIER(JSTypedArray) 388 TQ_OBJECT_CONSTRUCTORS(JSTypedArray)
|
D | js-array-buffer.tq | 90 extern class JSTypedArray extends JSArrayBufferView { 98 macro IsOnHeapTypedArray(array: JSTypedArray): bool { 99 // See JSTypedArray::is_on_heap()
|
D | elements.h | 17 class JSTypedArray; variable 177 virtual void CopyTypedArrayElementsSlice(JSTypedArray source, 178 JSTypedArray destination,
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-typed-array-gen.h | 19 void SetupTypedArrayEmbedderFields(TNode<JSTypedArray> holder); 20 void AttachBuffer(TNode<JSTypedArray> holder, TNode<JSArrayBuffer> buffer, 26 TNode<Map> LoadMapForType(TNode<JSTypedArray> array); 43 ElementsInfo GetTypedArrayElementsInfo(TNode<JSTypedArray> typed_array); 47 TNode<JSTypedArray> exemplar); 49 TNode<JSTypedArray> ValidateTypedArray(TNode<Context> context, 73 TNode<Context> context, TNode<JSArray> source, TNode<JSTypedArray> dest, 76 void CallCCopyTypedArrayElementsToTypedArray(TNode<JSTypedArray> source, 77 TNode<JSTypedArray> dest, 81 void CallCCopyTypedArrayElementsSlice(TNode<JSTypedArray> source, [all …]
|
D | typed-array.tq | 57 Context, JSTypedArray, Object, Number): void; 59 Context, JSAny, constexpr string): JSTypedArray; 73 extern macro GetTypedArrayBuffer(implicit context: Context)(JSTypedArray): 76 JSTypedArray): TypedArrayElementsInfo; 86 Context, JSTypedArray, uintptr, Numeric, constexpr ElementsKind): void; 88 Context, JSTypedArray, uintptr, JSAny, 91 extern macro LoadJSTypedArrayLengthAndCheckDetached(JSTypedArray): uintptr 94 type LoadNumericFn = builtin(JSTypedArray, uintptr) => Numeric; 95 type StoreNumericFn = builtin(Context, JSTypedArray, uintptr, Numeric) => Smi; 96 type StoreJSAnyFn = builtin(Context, JSTypedArray, uintptr, JSAny) => Smi; [all …]
|
D | typed-array-createtypedarray.tq | 15 implicit context: Context)(JSTypedArray): JSFunction; 17 JSTypedArray): void; 28 isLengthTracking: bool): JSTypedArray { 52 // We can't just build the new object with "new JSTypedArray" here because 56 UnsafeCast<JSTypedArray>(AllocateFastOrSlowJSObjectFromMap(map)); 81 JSTypedArray labels IfRangeError { 126 elementsInfo: typed_array::TypedArrayElementsInfo): JSTypedArray { 141 elementsInfo: typed_array::TypedArrayElementsInfo): JSTypedArray { 149 const src: JSTypedArray = Cast<JSTypedArray>(arrayLike) otherwise IfSlow; 196 // Max JSArray length is a valid JSTypedArray length so we just use it. [all …]
|
D | builtins-typed-array.cc | 22 CHECK_RECEIVER(JSTypedArray, typed_array, in BUILTIN() 49 Handle<JSTypedArray> array; in BUILTIN() 53 JSTypedArray::Validate(isolate, args.receiver(), method_name)); in BUILTIN() 142 Handle<JSTypedArray> array; in BUILTIN() 146 JSTypedArray::Validate(isolate, args.receiver(), method_name)); in BUILTIN() 211 Handle<JSTypedArray> array; in BUILTIN() 215 JSTypedArray::Validate(isolate, args.receiver(), method_name)); in BUILTIN() 241 Handle<JSTypedArray> array; in BUILTIN() 245 JSTypedArray::Validate(isolate, args.receiver(), method_name)); in BUILTIN() 275 Handle<JSTypedArray> array; in BUILTIN() [all …]
|
D | builtins-typed-array-gen.cc | 24 TNode<JSTypedArray> holder) { in SetupTypedArrayEmbedderFields() 25 for (int offset = JSTypedArray::kHeaderSize; in SetupTypedArrayEmbedderFields() 26 offset < JSTypedArray::kSizeWithEmbedderFields; offset += kTaggedSize) { in SetupTypedArrayEmbedderFields() 125 TNode<JSTypedArray> receiver_array = CAST(receiver); in TF_BUILTIN() 178 TNode<JSTypedArray> receiver_array = CAST(receiver); in TF_BUILTIN() 221 TNode<JSTypedArray> typed_array) { in GetTypedArrayElementsInfo() 244 TNode<Context> context, TNode<JSTypedArray> exemplar) { in GetDefaultConstructor() 258 TNode<JSTypedArray> TypedArrayBuiltinsAssembler::ValidateTypedArray( in ValidateTypedArray() 344 TNode<Context> context, TNode<JSArray> source, TNode<JSTypedArray> dest, in CallCCopyFastNumberJSArrayElementsToTypedArray() 359 TNode<JSTypedArray> source, TNode<JSTypedArray> dest, in CallCCopyTypedArrayElementsToTypedArray() [all …]
|
D | typed-array-slice.tq | 11 JSTypedArray, JSTypedArray, uintptr, uintptr): void; 14 src: typed_array::AttachedJSTypedArray, dest: JSTypedArray, k: uintptr, 51 src: JSTypedArray, dest: JSTypedArray, k: uintptr, final: uintptr): void { 72 const src: JSTypedArray = UnsafeCast<JSTypedArray>(receiver); 93 const dest: JSTypedArray =
|
D | builtins-sharedarraybuffer.cc | 52 V8_WARN_UNUSED_RESULT MaybeHandle<JSTypedArray> ValidateIntegerTypedArray( in ValidateIntegerTypedArray() 56 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(object); in ValidateIntegerTypedArray() 64 JSTypedArray); in ValidateIntegerTypedArray() 86 JSTypedArray); in ValidateIntegerTypedArray() 92 Isolate* isolate, Handle<JSTypedArray> typed_array, in ValidateAtomicAccess() 132 Handle<JSTypedArray> sta; in BUILTIN() 185 Handle<JSTypedArray> sta; in DoWait()
|
D | typed-array-sort.tq | 10 extern runtime TypedArraySortFast(Context, JSAny): JSTypedArray; 13 implicit context: Context, array: JSTypedArray, comparefn: Callable)( 29 implicit context: Context, array: JSTypedArray, comparefn: Callable)( 63 array: JSTypedArray, comparefn: Callable): JSAny { 85 receiver: JSAny)(...arguments): JSTypedArray { 100 const array: JSTypedArray = UnsafeCast<JSTypedArray>(obj); 125 // The result is then written back into the JSTypedArray.
|
D | typed-array-entries.tq | 16 const array: JSTypedArray = Cast<JSTypedArray>(receiver)
|
D | typed-array-values.tq | 16 const array: JSTypedArray = Cast<JSTypedArray>(receiver)
|
D | typed-array-keys.tq | 16 const array: JSTypedArray = Cast<JSTypedArray>(receiver)
|
D | builtins-sharedarraybuffer-gen.cc | 32 TNode<UintPtrT> ValidateAtomicAccess(TNode<JSTypedArray> array, 36 inline void DebugCheckAtomicIndex(TNode<JSTypedArray> array, 69 TNode<JSTypedArray> array = CAST(maybe_array); in ValidateIntegerTypedArray() 109 TNode<JSTypedArray> array, TNode<Object> index, TNode<Context> context) { in ValidateAtomicAccess() 134 TNode<JSTypedArray> array, TNode<UintPtrT> index) { in DebugCheckAtomicIndex() 186 TNode<JSTypedArray> array = CAST(maybe_array_or_shared_struct); in TF_BUILTIN() 289 TNode<JSTypedArray> array = CAST(maybe_array_or_shared_struct); in TF_BUILTIN() 407 TNode<JSTypedArray> array = CAST(maybe_array_or_shared_struct); in TF_BUILTIN() 545 TNode<JSTypedArray> array = CAST(maybe_array); in TF_BUILTIN() 720 TNode<JSTypedArray> array = CAST(maybe_array); in AtomicBinopBuiltinCommon()
|
D | array-join.tq | 57 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver); 103 CannotUseSameArrayAccessor<JSTypedArray>(implicit context: Context)( 106 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver); 383 transitioning ArrayJoin<JSTypedArray>(implicit context: Context)( 443 return ArrayJoinImpl<JSTypedArray>( 656 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver); 658 return CycleProtectedArrayJoin<JSTypedArray>( 673 const typedArray: JSTypedArray = UnsafeCast<JSTypedArray>(receiver); 675 return CycleProtectedArrayJoin<JSTypedArray>(
|
D | typed-array-filter.tq | 17 const array: JSTypedArray = Cast<JSTypedArray>(receiver) 68 const typedArray: JSTypedArray = TypedArraySpeciesCreateByLength(
|
D | typed-array-reduceright.tq | 61 const array: JSTypedArray = Cast<JSTypedArray>(receiver)
|
/third_party/node/deps/v8/src/api/ |
D | api.h | 111 V(TypedArray, JSTypedArray) \ 112 V(Uint8Array, JSTypedArray) \ 113 V(Uint8ClampedArray, JSTypedArray) \ 114 V(Int8Array, JSTypedArray) \ 115 V(Uint16Array, JSTypedArray) \ 116 V(Int16Array, JSTypedArray) \ 117 V(Uint32Array, JSTypedArray) \ 118 V(Int32Array, JSTypedArray) \ 119 V(Float32Array, JSTypedArray) \ 120 V(Float64Array, JSTypedArray) \ [all …]
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-typedarray.cc | 38 Handle<JSTypedArray> target = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 49 Handle<JSTypedArray> holder = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 91 Handle<JSTypedArray> array = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 177 Handle<JSTypedArray> target = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION()
|
D | runtime-futex.cc | 26 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 47 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION()
|
D | runtime-atomics.cc | 400 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in GetModifySetValueInBuffer() 448 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 468 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION() 500 Handle<JSTypedArray> sta = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION()
|
/third_party/node/deps/v8/src/profiler/ |
D | heap-profiler.cc | 241 std::vector<Handle<JSTypedArray>> on_heap_typed_arrays; in QueryObjects() 249 JSTypedArray::cast(heap_obj).is_on_heap()) { in QueryObjects() 253 handle(JSTypedArray::cast(heap_obj), isolate())); in QueryObjects()
|