Home
last modified time | relevance | path

Searched refs:JSTypedArray (Results 1 – 25 of 37) sorted by relevance

12

/external/v8/src/builtins/
Dbuiltins-typed-array-gen.h18 TNode<JSTypedArray> SpeciesCreateByLength(TNode<Context> context,
19 TNode<JSTypedArray> exemplar,
32 void ConstructByLength(TNode<Context> context, TNode<JSTypedArray> holder,
35 TNode<JSTypedArray> holder,
39 void ConstructByTypedArray(TNode<Context> context, TNode<JSTypedArray> holder,
40 TNode<JSTypedArray> typed_array,
42 void ConstructByArrayLike(TNode<Context> context, TNode<JSTypedArray> holder,
47 void ConstructByIterable(TNode<Context> context, TNode<JSTypedArray> holder,
52 void SetupTypedArray(TNode<JSTypedArray> holder, TNode<Smi> length,
54 void AttachBuffer(TNode<JSTypedArray> holder, TNode<JSArrayBuffer> buffer,
[all …]
Dbuiltins-typed-array.cc21 CHECK_RECEIVER(JSTypedArray, typed_array, in BUILTIN()
51 Handle<JSTypedArray> array; in BUILTIN()
54 isolate, array, JSTypedArray::Validate(isolate, args.receiver(), method)); in BUILTIN()
114 Handle<JSTypedArray> array; in BUILTIN()
117 isolate, array, JSTypedArray::Validate(isolate, args.receiver(), method)); in BUILTIN()
169 Handle<JSTypedArray> array; in BUILTIN()
172 isolate, array, JSTypedArray::Validate(isolate, args.receiver(), method)); in BUILTIN()
203 Handle<JSTypedArray> array; in BUILTIN()
206 isolate, array, JSTypedArray::Validate(isolate, args.receiver(), method)); in BUILTIN()
234 Handle<JSTypedArray> array; in BUILTIN()
[all …]
Dbuiltins-typed-array-gen.cc32 TNode<JSTypedArray> array) { in LoadMapForType()
66 void TypedArrayBuiltinsAssembler::SetupTypedArray(TNode<JSTypedArray> holder, in SetupTypedArray()
70 StoreObjectField(holder, JSTypedArray::kLengthOffset, length); in SetupTypedArray()
73 for (int offset = JSTypedArray::kSize; in SetupTypedArray()
74 offset < JSTypedArray::kSizeWithEmbedderFields; offset += kPointerSize) { in SetupTypedArray()
80 void TypedArrayBuiltinsAssembler::AttachBuffer(TNode<JSTypedArray> holder, in AttachBuffer()
106 TNode<JSTypedArray> holder = CAST(Parameter(Descriptor::kHolder)); in TF_BUILTIN()
123 TNode<JSTypedArray> holder = CAST(Parameter(Descriptor::kHolder)); in TF_BUILTIN()
313 TNode<JSTypedArray> holder, in ConstructByLength()
351 TNode<Context> context, TNode<JSTypedArray> holder, in ConstructByArrayBuffer()
[all …]
Dbuiltins-sharedarraybuffer.cc39 V8_WARN_UNUSED_RESULT MaybeHandle<JSTypedArray> ValidateSharedIntegerTypedArray( in ValidateSharedIntegerTypedArray()
42 Handle<JSTypedArray> typed_array = Handle<JSTypedArray>::cast(object); in ValidateSharedIntegerTypedArray()
60 JSTypedArray); in ValidateSharedIntegerTypedArray()
66 Isolate* isolate, Handle<JSTypedArray> typed_array, in ValidateAtomicAccess()
93 Handle<JSTypedArray> sta; in BUILTIN()
130 Handle<JSTypedArray> sta; in BUILTIN()
Dtyped-array.tq6 extern runtime TypedArraySortFast(Context, Object): JSTypedArray;
8 Context, Object, constexpr string): JSTypedArray;
16 type LoadFn = builtin(Context, JSTypedArray, Smi) => Object;
17 type StoreFn = builtin(Context, JSTypedArray, Smi, Object) => Object;
55 context: Context, array: JSTypedArray, index: Smi): Object {
61 context: Context, array: JSTypedArray, index: Smi,
71 context: Context, array: JSTypedArray, comparefn: Callable, a: Object,
89 context: Context, array: JSTypedArray, from_arg: Smi, to_arg: Smi,
115 context: Context, array: JSTypedArray, from_arg: Smi, to_arg: Smi,
243 context: Context, array: JSTypedArray, from: Smi, to: Smi,
[all …]
Dbase.tq55 type JSTypedArray extends JSArrayBufferView generates 'TNode<JSTypedArray>';
619 '.buffer' macro LoadTypedArrayBuffer(JSTypedArray): JSArrayBuffer;
621 extern operator '.data_ptr' macro LoadDataPtr(JSTypedArray): RawPtr;
625 '.elements_kind' macro LoadElementsKind(JSTypedArray): ElementsKind;
630 extern operator '.length' macro LoadTypedArrayLength(JSTypedArray): Smi;
Dbuiltins-array-gen.h154 TNode<JSTypedArray> typed_array);
Dbuiltins-sharedarraybuffer-gen.cc53 Node* array_buffer = LoadObjectField(tagged, JSTypedArray::kBufferOffset); in ValidateSharedTypedArray()
/external/v8/src/objects/
Djs-array-buffer-inl.h21 CAST_ACCESSOR(JSTypedArray) in CAST_ACCESSOR()
150 Object* JSTypedArray::length() const { in length()
155 size_t JSTypedArray::length_value() const { in length_value()
165 void JSTypedArray::set_length(Object* value, WriteBarrierMode mode) { in set_length()
170 bool JSTypedArray::is_on_heap() const { in is_on_heap()
179 MaybeHandle<JSTypedArray> JSTypedArray::Validate(Isolate* isolate, in Validate()
184 THROW_NEW_ERROR(isolate, NewTypeError(message), JSTypedArray); in Validate()
187 Handle<JSTypedArray> array = Handle<JSTypedArray>::cast(receiver); in Validate()
193 THROW_NEW_ERROR(isolate, NewTypeError(message, operation), JSTypedArray); in Validate()
202 ACCESSORS(JSTypedArray, raw_length, Object, kLengthOffset)
Djs-array-buffer.h163 class JSTypedArray : public JSArrayBufferView {
171 Isolate* isolate, Handle<JSTypedArray> o, Handle<Object> key,
174 DECL_CAST(JSTypedArray)
184 static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate,
189 DECL_PRINTER(JSTypedArray)
190 DECL_VERIFIER(JSTypedArray)
200 Handle<JSTypedArray> typed_array);
205 DISALLOW_IMPLICIT_CONSTRUCTORS(JSTypedArray);
Djs-array-buffer.cc154 Handle<JSArrayBuffer> JSTypedArray::MaterializeArrayBuffer( in MaterializeArrayBuffer()
155 Handle<JSTypedArray> typed_array) { in MaterializeArrayBuffer()
201 Handle<JSArrayBuffer> JSTypedArray::GetBuffer() { in GetBuffer()
207 Handle<JSTypedArray> self(this, GetIsolate()); in GetBuffer()
213 Maybe<bool> JSTypedArray::DefineOwnProperty(Isolate* isolate, in DefineOwnProperty()
214 Handle<JSTypedArray> o, in DefineOwnProperty()
281 ExternalArrayType JSTypedArray::type() { in type()
295 size_t JSTypedArray::element_size() { in element_size()
/external/v8/src/
Dapi.h91 V(TypedArray, JSTypedArray) \
92 V(Uint8Array, JSTypedArray) \
93 V(Uint8ClampedArray, JSTypedArray) \
94 V(Int8Array, JSTypedArray) \
95 V(Uint16Array, JSTypedArray) \
96 V(Int16Array, JSTypedArray) \
97 V(Uint32Array, JSTypedArray) \
98 V(Int32Array, JSTypedArray) \
99 V(Float32Array, JSTypedArray) \
100 V(Float64Array, JSTypedArray) \
[all …]
Delements.h15 class JSTypedArray; variable
185 virtual void CopyTypedArrayElementsSlice(JSTypedArray* source,
186 JSTypedArray* destination,
238 JSTypedArray* destination,
241 void CopyTypedArrayElementsToTypedArray(JSTypedArray* source,
242 JSTypedArray* destination,
244 void CopyTypedArrayElementsSlice(JSTypedArray* source,
245 JSTypedArray* destination, uintptr_t start,
Dapi-inl.h60 v8::internal::Handle<v8::internal::JSTypedArray> obj) { \
62 return Convert<v8::internal::JSTypedArray, v8::Type##Array>(obj); \
82 MAKE_TO_LOCAL(ToLocal, JSTypedArray, TypedArray)
Delements.cc1034 void CopyTypedArrayElementsSlice(JSTypedArray* source, in CopyTypedArrayElementsSlice()
1035 JSTypedArray* destination, size_t start, in CopyTypedArrayElementsSlice()
1040 static void CopyTypedArrayElementsSliceImpl(JSTypedArray* source, in CopyTypedArrayElementsSliceImpl()
1041 JSTypedArray* destination, in CopyTypedArrayElementsSliceImpl()
3078 Handle<JSTypedArray> array = Handle<JSTypedArray>::cast(receiver); in FillImpl()
3283 static void CopyTypedArrayElementsSliceImpl(JSTypedArray* source, in CopyTypedArrayElementsSliceImpl()
3284 JSTypedArray* destination, in CopyTypedArrayElementsSliceImpl()
3352 static void CopyElementsFromTypedArray(JSTypedArray* source, in CopyElementsFromTypedArray()
3353 JSTypedArray* destination, in CopyElementsFromTypedArray()
3442 JSTypedArray* destination, in TryCopyElementsFastNumber()
[all …]
Dvalue-serializer.cc380 ? Handle<JSTypedArray>::cast(view)->GetBuffer() in WriteObject()
857 switch (JSTypedArray::cast(view)->type()) { in WriteJSArrayBufferView()
1750 Handle<JSTypedArray> typed_array = isolate_->factory()->NewJSTypedArray( in ReadJSArrayBufferView()
/external/v8/src/runtime/
Druntime-typedarray.cc51 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, target, 0); in RUNTIME_FUNCTION()
65 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, holder, 0); in RUNTIME_FUNCTION()
72 return isolate->heap()->ToBoolean(JSTypedArray::cast(args[0])->WasNeutered()); in RUNTIME_FUNCTION()
78 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, holder, 0); in RUNTIME_FUNCTION()
112 Handle<JSTypedArray> array; in RUNTIME_FUNCTION()
115 isolate, array, JSTypedArray::Validate(isolate, target_obj, method)); in RUNTIME_FUNCTION()
154 Handle<JSTypedArray> target = args.at<JSTypedArray>(0); in RUNTIME_FUNCTION()
Druntime-atomics.cc254 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
281 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
311 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
340 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
369 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
398 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
427 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
Druntime-wasm.cc133 Handle<JSTypedArray> values = in RUNTIME_FUNCTION()
191 Handle<JSTypedArray> values = Handle<JSTypedArray>::cast(values_obj); in RUNTIME_FUNCTION()
219 Handle<JSTypedArray> values = Handle<JSTypedArray>::cast(values_obj); in RUNTIME_FUNCTION()
Druntime-futex.cc24 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, sta, 0); in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dfactory.h643 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
646 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
650 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
656 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
Dfactory.cc3208 Handle<JSTypedArray> Factory::NewJSTypedArray(ExternalArrayType type, in NewJSTypedArray()
3213 return Handle<JSTypedArray>::cast(NewJSObjectFromMap(map, pretenure)); in NewJSTypedArray()
3216 Handle<JSTypedArray> Factory::NewJSTypedArray(ElementsKind elements_kind, in NewJSTypedArray()
3221 return Handle<JSTypedArray>::cast(NewJSObjectFromMap(map, pretenure)); in NewJSTypedArray()
3224 Handle<JSTypedArray> Factory::NewJSTypedArray(ExternalArrayType type, in NewJSTypedArray()
3228 Handle<JSTypedArray> obj = NewJSTypedArray(type, pretenure); in NewJSTypedArray()
3254 Handle<JSTypedArray> Factory::NewJSTypedArray(ElementsKind elements_kind, in NewJSTypedArray()
3257 Handle<JSTypedArray> obj = NewJSTypedArray(elements_kind, pretenure); in NewJSTypedArray()
/external/v8/src/snapshot/
Ddeserializer.cc227 JSTypedArray* typed_array = JSTypedArray::cast(obj); in PostProcessNewObject()
Dserializer.cc431 JSTypedArray* typed_array = JSTypedArray::cast(object_); in SerializeJSTypedArray()
/external/v8/src/wasm/
Dwasm-debug.cc421 Handle<JSTypedArray> uint8_array = isolate_->factory()->NewJSTypedArray( in GetGlobalScopeObject()

12