| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisarray_fuzzer/ |
| H A D | jsvaluerefisarray_fuzzer.cpp | 35 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 D | typedarrayref_fuzzer.cpp | 37 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 D | uint32arrayrefbytelength_fuzzer.cpp | 48 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 D | jsvaluerefisbig64array_fuzzer.cpp | 48 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 D | atomic_helper.cpp | 22 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 D | jsvaluereffoundationvalue_fuzzer.cpp | 152 Local<Uint32ArrayRef> typedArray = Uint32ArrayRef::New(vm, ref, (int32_t)size, (int32_t)size); in JSValueRefIsTypedArrayValueFuzzTest() local
|
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | js_typed_array.cpp | 442 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 D | builtins_atomics.cpp | 39 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 D | builtins_shared_typedarray.cpp | 363 JSHandle<JSSharedTypedArray> typedArray = JSHandle<JSSharedTypedArray>::Cast(thisHandle); in GetBuffer() local [all...] |
| H A D | builtins_typedarray.cpp | 391 JSHandle<JSTypedArray> typedArray = JSHandle<JSTypedArray>::Cast(thisHandle); in GetBuffer() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| H A D | ic_handler.h | 288 LoadTypedArrayElement(const JSThread *thread, JSHandle<JSTypedArray> typedArray) LoadTypedArrayElement() argument
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| H A D | jsnapi_first_tests.cpp | 390 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 D | ffi_workload.cpp | 610 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 D | jsnapi_sample.cpp | 1839 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 D | builtins_typedarray_stub_builder.cpp | 185 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 D | runtime_stubs.cpp | 2790 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 D | stub_builder-inl.h | 3106 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...] |