Home
last modified time | relevance | path

Searched defs:typedArray (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisarray_fuzzer/
H A Djsvaluerefisarray_fuzzer.cpp35 Local<JSValueRef> typedArray = Int8ArrayRef::New(vm, arrayBuffer, 0, (int32_t)size); in IsInt8ArrayFuzztest() local
51 Local<JSValueRef> typedArray = Uint8ArrayRef::New(vm, arrayBuffer, 0, (int32_t)size); in IsUint8ArrayFuzztest() local
67 Local<JSValueRef> typedArray = Uint8ClampedArrayRef::New(vm, arrayBuffer, 0, (int32_t)size); in IsUint8ClampedArrayFuzztest() local
84 Local<JSValueRef> typedArray = Int16ArrayRef::New(vm, arrayBuffer, 0, length); in IsInt16ArrayFuzztest() local
101 Local<JSValueRef> typedArray = Uint16ArrayRef::New(vm, arrayBuffer, 0, length); in IsUint16ArrayFuzztest() local
[all...]
/arkcompiler/ets_runtime/test/fuzztest/typedarrayref_fuzzer/
H A Dtypedarrayref_fuzzer.cpp37 Local<Int8ArrayRef> typedArray = Int8ArrayRef::New(vm, arrayBuffer, byteOffset, length); in TypedArrayrefArrayLengthFuzzerTest() local
54 Local<Int8ArrayRef> typedArray = Int8ArrayRef::New(vm, arrayBuffer, byteOffset, length); in TypedArrayrefByteOffSetFuzzerTest() local
71 Local<Int8ArrayRef> typedArray = Int8ArrayRef::New(vm, arrayBuffer, byteOffset, length); in TypedArrayrefGetArrayBufferFuzzerTest() local
/arkcompiler/ets_runtime/test/fuzztest/uint32arrayrefbytelength_fuzzer/
H A Duint32arrayrefbytelength_fuzzer.cpp48 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in Uint32ArrayRefByteLengthFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisbig64array_fuzzer/
H A Djsvaluerefisbig64array_fuzzer.cpp48 Local<BigInt64ArrayRef> typedArray = BigInt64ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in JSValueRefIsBigInt64ArrayFuzzTest() local
75 Local<BigUint64ArrayRef> typedArray = BigUint64ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in JSValueRefIsBigUint64ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/base/
H A Datomic_helper.cpp22 JSTaggedValue AtomicHelper::ValidateIntegerTypedArray(JSThread *thread, JSHandle<JSTaggedValue> typedArray, in ValidateIntegerTypedArray() argument
58 uint32_t AtomicHelper::ValidateAtomicAccess(JSThread *thread, const JSHandle<JSTaggedValue> typedArray, in ValidateAtomicAccess() argument
95 AtomicStore(JSThread *thread, const JSHandle<JSTaggedValue> &typedArray, JSHandle<JSTaggedValue> index, JSHandle<JSTaggedValue> &value) AtomicStore() argument
122 AtomicLoad(JSThread *thread, const JSHandle<JSTaggedValue> &typedArray, JSHandle<JSTaggedValue> index) AtomicLoad() argument
[all...]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluereffoundationvalue_fuzzer/
H A Djsvaluereffoundationvalue_fuzzer.cpp152 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in JSValueRefIsTypedArrayValueFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/
H A Djs_typed_array.cpp442 bool JSTypedArray::IsValidIntegerIndex(const JSHandle<JSTaggedValue> &typedArray, JSTaggedValue index) in IsValidIntegerIndex() argument
520 bool JSTypedArray::FastCopyElementToArray(JSThread *thread, const JSHandle<JSTaggedValue> &typedArray, in FastCopyElementToArray() argument
750 JSTaggedValue JSTypedArray::GetOffHeapBuffer(JSThread *thread, JSHandle<JSTypedArray> &typedArray) in GetOffHeapBuffer() argument
782 GetSharedOffHeapBuffer(JSThread *thread, JSHandle<JSSharedTypedArray> typedArray) GetSharedOffHeapBuffer() argument
814 FastTypedArrayFill(JSThread *thread, const JSHandle<JSTaggedValue> &typedArray, const JSHandle<JSTaggedValue> &value, uint32_t start, uint32_t end) FastTypedArrayFill() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_atomics.cpp39 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); in Sub() local
50 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); in Add() local
61 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); in And() local
72 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); in Or() local
83 JSHandle<JSTaggedValue> typedArray in Xor() local
94 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); CompareExchange() local
105 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); Exchange() local
116 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); Store() local
128 JSHandle<JSTaggedValue> typedArray = GetCallArg(argv, 0); Load() local
277 AtomicReadModifyWrite(JSThread *thread, const JSHandle<JSTaggedValue> &typedArray, JSHandle<JSTaggedValue> &index, EcmaRuntimeCallInfo *argv, const callbackfun &op) AtomicReadModifyWrite() argument
[all...]
H A Dbuiltins_shared_typedarray.cpp363 JSHandle<JSSharedTypedArray> typedArray = JSHandle<JSSharedTypedArray>::Cast(thisHandle); in GetBuffer() local
[all...]
H A Dbuiltins_typedarray.cpp391 JSHandle<JSTypedArray> typedArray = JSHandle<JSTypedArray>::Cast(thisHandle); in GetBuffer() local
[all...]
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_handler.h288 LoadTypedArrayElement(const JSThread *thread, JSHandle<JSTypedArray> typedArray) LoadTypedArrayElement() argument
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_first_tests.cpp390 Local<TypedArrayRef> typedArray = testString1->EncodeIntoUint8Array(vm_); in HWTEST_F_L0() local
401 Local<TypedArrayRef> typedArray = testString1->EncodeIntoUint8Array(vm_); in HWTEST_F_L0() local
838 Local<Int8ArrayRef> typedArray = Int8ArrayRef::New(vm_, arrayBuffer, 5, 6); in HWTEST_F_L0() local
863 Local<Uint8ArrayRef> typedArray = Uint8ArrayRef::New(vm_, arrayBuffer, 5, 6); HWTEST_F_L0() local
886 Local<Uint8ClampedArrayRef> typedArray = Uint8ClampedArrayRef::New(vm_, arrayBuffer, 5, 6); HWTEST_F_L0() local
909 Local<Int16ArrayRef> typedArray = Int16ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
932 Local<Uint16ArrayRef> typedArray = Uint16ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
956 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
979 Local<Int32ArrayRef> typedArray = Int32ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
995 Local<Float32ArrayRef> typedArray = Float32ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
1011 Local<Float64ArrayRef> typedArray = Float64ArrayRef::New(vm_, arrayBuffer, 8, 6); HWTEST_F_L0() local
1027 Local<BigInt64ArrayRef> typedArray = BigInt64ArrayRef::New(vm_, arrayBuffer, 8, 6); HWTEST_F_L0() local
1050 Local<BigUint64ArrayRef> typedArray = BigUint64ArrayRef::New(vm_, arrayBuffer, 8, 6); HWTEST_F_L0() local
2344 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm_, arrayBuffer, 4, 6); HWTEST_F_L0() local
[all...]
H A Dffi_workload.cpp610 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm_, arrayBuffer, 4, 6); in HWTEST_F_L0() local
625 Local<Float32ArrayRef> typedArray = Float32ArrayRef::New(vm_, arrayBuffer, 4, 6); in HWTEST_F_L0() local
H A Djsnapi_sample.cpp1839 Local<Int8ArrayRef> typedArray = Int8ArrayRef::New(vm_, arrayBuffer, byteOffset, int8ArrayLength); in HWTEST_F_L0() local
1864 Local<Uint8ArrayRef> typedArray = Uint8ArrayRef::New(vm_, arrayBuffer, byteOffset, Uint8ArrayLength); in HWTEST_F_L0() local
1889 Local<Uint8ClampedArrayRef> typedArray = Uint8ClampedArrayRef::New(vm_, arrayBuffer, byteOffset, uint8ArrLength); HWTEST_F_L0() local
1914 Local<Int16ArrayRef> typedArray = Int16ArrayRef::New(vm_, arrayBuffer, byteOffset, int16ArrayLength); HWTEST_F_L0() local
1939 Local<Uint16ArrayRef> typedArray = Uint16ArrayRef::New(vm_, arrayBuffer, byteOffset, uint16ArrayLength); HWTEST_F_L0() local
1964 Local<Int32ArrayRef> typedArray = Int32ArrayRef::New(vm_, arrayBuffer, byteOffset, int32ArrayLength); HWTEST_F_L0() local
1989 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm_, arrayBuffer, byteOffset, uint32ArrayLength); HWTEST_F_L0() local
2014 Local<Float32ArrayRef> typedArray = Float32ArrayRef::New(vm_, arrayBuffer, byteOffset, float32ArrayLength); HWTEST_F_L0() local
2039 Local<Float64ArrayRef> typedArray = Float64ArrayRef::New(vm_, arrayBuffer, byteOffset, float64ArrayLength); HWTEST_F_L0() local
2064 Local<BigInt64ArrayRef> typedArray = BigInt64ArrayRef::New(vm_, arrayBuffer, byteOffset, bigInt64ArrayLength); HWTEST_F_L0() local
2089 Local<BigUint64ArrayRef> typedArray = BigUint64ArrayRef::New(vm_, arrayBuffer, byteOffset, bigUint64ArrayLength); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_typedarray_stub_builder.cpp185 GateRef BuiltinsTypedArrayStubBuilder::FastCopyElementToArray(GateRef glue, GateRef typedArray, GateRef array) in FastCopyElementToArray() argument
515 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in LastIndexOf() local
621 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); IndexOf() local
719 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Find() local
797 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Includes() local
888 BRANCH(IsFastTypeArray(jsType), &typedArray, slowPath); CopyWithin() local
1026 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); ReduceRight() local
1134 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Reduce() local
1239 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Every() local
1322 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Some() local
1650 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); SubArray() local
1729 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); With() local
1817 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); GetByteLength() local
2155 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); GetByteOffset() local
2287 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); FindIndex() local
2414 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); FindLastIndex() local
3255 AllocateTypedArrayBuffer(GateRef glue, GateRef typedArray, GateRef length, GateRef lengthTagged, const DataViewType arrayType) AllocateTypedArrayBuffer() argument
3293 Store(VariableType::JS_ANY(), glue, typedArray, IntPtr(TaggedObject::HCLASS_OFFSET), AllocateTypedArrayBuffer() local
3389 SetArrayBufferProperties(GateRef glue, GateRef typedArray, GateRef newByteLength, GateRef offset, GateRef arrayLength) SetArrayBufferProperties() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp2790 JSHandle<JSTaggedValue> typedArray = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() local
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder-inl.h3106 inline void StubBuilder::SetTypedArrayName(GateRef glue, GateRef typedArray, GateRef name, in SetTypedArrayName() argument
3110 Store(VariableType::JS_ANY(), glue, typedArray, offset, name, mAttr); in SetTypedArrayName() local
3113 inline void StubBuilder::SetContentType(GateRef glue, GateRef typedArray, GateRef type) in SetContentType() argument
3116 Store(VariableType::INT8(), glue, typedArray, offset, type, MemoryAttribute::NoBarrier()); in SetContentType() local
3119 inline void StubBuilder::SetViewedArrayBufferOrByteArray(GateRef glue, GateRef typedArray, GateRef data, in SetViewedArrayBufferOrByteArray() argument
3123 Store(VariableType::JS_ANY(), glue, typedArray, offset, data, mAttr); in SetViewedArrayBufferOrByteArray() local
3126 inline void StubBuilder::SetByteLength(GateRef glue, GateRef typedArray, GateRef byteLength) in SetByteLength() argument
3129 Store(VariableType::INT8(), glue, typedArray, offset, byteLength, MemoryAttribute::NoBarrier()); in SetByteLength() local
3132 inline void StubBuilder::SetByteOffset(GateRef glue, GateRef typedArray, GateRef byteOffset) in SetByteOffset() argument
3135 Store(VariableType::INT8(), glue, typedArray, offse in SetByteOffset() local
3138 SetTypedArrayLength(GateRef glue, GateRef typedArray, GateRef arrayLength) SetTypedArrayLength() argument
3141 Store(VariableType::INT8(), glue, typedArray, offset, arrayLength, MemoryAttribute::NoBarrier()); SetTypedArrayLength() local
[all...]

Completed in 54 milliseconds