Home
last modified time | relevance | path

Searched refs:arraybuffer (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/runtime_core/taihe/test/ani_arraybuffer/idl/
Darraybuffer.taihe15 function SumArrayU8(nums: @arraybuffer Array<u8>): u8;
16 function GetArrayBuffer(nums: u8): @arraybuffer Array<u8>;
17 function DoubleArrayBuffer(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
39 function DoubleBufferToInt8Array(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
40 function DoubleBufferToInt16Array(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
41 function DoubleBufferToInt32Array(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
42 function DoubleBufferToUint16Array(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
43 function DoubleBufferToUint32Array(nums: @arraybuffer Array<u8>): @arraybuffer Array<u8>;
/arkcompiler/runtime_core/taihe/test/ani_arraybuffer/user/
Dmain.ets16 import * as arraybuffer from "arraybuffer";
28 let sumArrayu8 = arraybuffer.SumArrayU8(arrbuf1)
36 let getArrayBuffer = arraybuffer.GetArrayBuffer(4 as byte)
54 let doubleArrayBuffer = arraybuffer.DoubleArrayBuffer(arrbuf3)
80 let sumArrayu8FromUint8Array = arraybuffer.SumArrayU8(arrbuf4);
102 arraybuffer.SumArrayU8(arrayBufferFromUint8Array);
110 let sumArrayi8 = arraybuffer.SumArrayI8(int8Array)
116 let arrayi8 = arraybuffer.GetArrayI8(4 as byte)
127 let doubleArrayBuffer = arraybuffer.DoubleI8(numbers2)
140 let sumArrayi16 = arraybuffer.SumArrayI16(int16Array)
[all …]
/arkcompiler/ets_frontend/test262/
Dignored-test262-other-release-x64-jit.txt2 test262/data/other_tests/built-ins/Array/prototype/reduce/callbackfn-resize-arraybuffer.js
7 test262/data/other_tests/built-ins/Array/prototype/reduceRight/callbackfn-resize-arraybuffer.js
Dsendable_tests.txt118 sendable/builtins/Array/from/items-is-arraybuffer.js
154 #sendable/builtins/Array/fromAsync/asyncitems-arraybuffer.js
663 #sendable/builtins/Array/prototype/every/callbackfn-resize-arraybuffer.js
921 #sendable/builtins/Array/prototype/filter/callbackfn-resize-arraybuffer.js
936 #sendable/builtins/Array/prototype/find/callbackfn-resize-arraybuffer.js
959 #sendable/builtins/Array/prototype/findIndex/callbackfn-resize-arraybuffer.js
982 #sendable/builtins/Array/prototype/findLast/callbackfn-resize-arraybuffer.js
1006 #sendable/builtins/Array/prototype/findLastIndex/callbackfn-resize-arraybuffer.js
1189 #sendable/builtins/Array/prototype/forEach/callbackfn-resize-arraybuffer.js
1915 #sendable/builtins/Array/prototype/map/callbackfn-resize-arraybuffer.js
[all …]
Des2015_tests.txt18 built-ins/Array/from/items-is-arraybuffer.js
2747 built-ins/ArrayBuffer/isView/arg-is-arraybuffer.js
2782 built-ins/ArrayBuffer/prototype/slice/context-is-not-arraybuffer-object.js
2803 built-ins/ArrayBuffer/prototype/slice/species-returns-larger-arraybuffer.js
2804 built-ins/ArrayBuffer/prototype/slice/species-returns-not-arraybuffer.js
2805 built-ins/ArrayBuffer/prototype/slice/species-returns-same-arraybuffer.js
2806 built-ins/ArrayBuffer/prototype/slice/species-returns-smaller-arraybuffer.js
3195 built-ins/DataView/buffer-does-not-have-arraybuffer-data-throws.js
3196 built-ins/DataView/buffer-does-not-have-arraybuffer-data-throws-sab.js
3283 built-ins/DataView/prototype/getBigInt64/return-value-clean-arraybuffer.js
[all …]
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/ArrayBuffer/IsView/
DbuiltinArrayBufferIsView.ts20 let arraybuffer = new ArrayBuffer(10) variable
21 let dataView = new DataView(arraybuffer)
/arkcompiler/runtime_core/taihe/test/ani_arraybuffer/
DCMakeLists.txt15 "${CMAKE_CURRENT_LIST_DIR}/idl/arraybuffer.taihe"
20 "arraybuffer.ets"
/arkcompiler/runtime_core/static_core/tests/test-lists/test262/
Dtest262-excluded-AOT-ASAN.txt2 built-ins/DataView/prototype/getFloat32/return-value-clean-arraybuffer.js
Dtest262-ignored-AOT-ASAN.txt1 built-ins/DataView/prototype/getFloat32/return-value-clean-arraybuffer.js
5 built-ins/DataView/prototype/getFloat64/return-value-clean-arraybuffer.js
/arkcompiler/runtime_core/taihe/test/ani_namespace/idl/
Dns_alltest.functiontest.taihe41 function BaseFunctionTest14(param1:@arraybuffer Array<u8>):void;
55 function BaseFunctionTest28(param1:@arraybuffer Array<u8>):@arraybuffer Array<u8>;
67 …nTest40(param6:f64,param7:String,param8:bool,param9:Array<i8>,param10:@arraybuffer Array<u8>):Arra…
97 BaseFunctionTest52(param1:@arraybuffer Array<u8>):@arraybuffer Array<u8>;
249 @get get_ArrayBuffer_test_attribute():@arraybuffer Array<u8>;
Dinner.taihe65 Containers_noreturn3(a: @arraybuffer Array<u8>): void;
78 OverloadFunc_i16(a: Array<i8>, b: @arraybuffer Array<u8>): String;
94 @get getArraybuffer(): @arraybuffer Array<u8>;
222 function PrintTestInterfaceArraybuffer(testiface: TestInterface): @arraybuffer Array<u8>;
/arkcompiler/runtime_core/taihe/test/ani_arraybuffer/author/src/
Dani_constructor.cpp33 if (ANI_OK != arraybuffer::ANIRegister(env)) { in ANI_Constructor()
/arkcompiler/runtime_core/taihe/test/ani_optional/idl/
Doptional.taihe32 FuncBuffer(param1: Optional<@arraybuffer Array<u8>>):void;
44 @get GetArraybuffer(): Optional<@arraybuffer Array<u8>>;
/arkcompiler/runtime_core/taihe/test/ani_overload/idl/
Doverload.taihe67 OverloadFuncArrayBuffer(a: @arraybuffer Array<u8>): u8;
163 …p0: i8, p1: i16, p2: i32, p3: f32, p4: f64, p5: bool, p6: String, p7: @arraybuffer Array<u8>, p8:M…
166 …6, p2: i32, p3: f32, p4: f64, p5: bool, p6: String, p7: Array<i8>, p8:@arraybuffer Array<u8>, p9:C…
/arkcompiler/ets_frontend/ets2panda/bindings/native/src/
Dwin-dynamic-node.cpp132 NAPI_EXTERN napi_status NAPI_CDECL napi_get_arraybuffer_info(napi_env env, napi_value arraybuffer, … in napi_get_arraybuffer_info() argument
136 return p_napi_get_arraybuffer_info(env, arraybuffer, data, byte_length); in napi_get_arraybuffer_info()
162 … napi_value *arraybuffer, size_t *byte_offset) in napi_get_typedarray_info() argument
165 … return p_napi_get_typedarray_info(env, typedarray, type, length, data, arraybuffer, byte_offset); in napi_get_typedarray_info()
515 … void **data, napi_value *arraybuffer, size_t *byte_offset) in napi_get_dataview_info() argument
518 return p_napi_get_dataview_info(env, dataview, bytelength, data, arraybuffer, byte_offset); in napi_get_dataview_info()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/
Dscoped_objects_fix.h107 EtsEscompatArrayBuffer *ToInternalType(ani_arraybuffer arraybuffer) in ToInternalType() argument
109 ASSERT(!IsNullishValue(arraybuffer)); in ToInternalType()
110 return reinterpret_cast<EtsEscompatArrayBuffer *>(GetInternalType(arraybuffer)); in ToInternalType()
Dani.h5596 ani_status (*ArrayBuffer_GetInfo)(ani_env *env, ani_arraybuffer arraybuffer, void **data_result,
7597 …ani_status ArrayBuffer_GetInfo(ani_arraybuffer arraybuffer, void **data_result, size_t *length_res… in ArrayBuffer_GetInfo()
7599 return c_api->ArrayBuffer_GetInfo(this, arraybuffer, data_result, length_result); in ArrayBuffer_GetInfo()
/arkcompiler/runtime_core/taihe/test/ani_string/idl/
Dstring_op.taihe35 function concatString2(s:String, n: i32, sArr: Array<String>, b: bool, buffer: @arraybuffer Array<u…
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/napi_impl/detail/
Denumerate_napi.h125 …FN_MACRO(napi_get_arraybuffer_info, napi_env, env, napi_value, arraybuffer, void **, data, size_t …
138arraybuffer, size_t, byte_offset, napi_value *, result) …
139 …FN_MACRO(napi_create_dataview, napi_env, env, size_t, length, napi_value, arraybuffer, size_t, byt…
/arkcompiler/jsvm/interface/kits/
Djsvm.h1141 JSVM_Value arraybuffer,
1162 JSVM_Value arraybuffer,
1365 JSVM_Value arraybuffer,
1403 JSVM_Value* arraybuffer,
1424 JSVM_Value* arraybuffer,
1912 JSVM_EXTERN JSVM_Status OH_JSVM_DetachArraybuffer(JSVM_Env env, JSVM_Value arraybuffer);
/arkcompiler/runtime_core/taihe/test/ani_record/idl/
Drecord_test.taihe54 function Mapfunc13(m : @record Map<String, Array<@arraybuffer Array<u8>>>): bool;
107 function Mapfunc38(): @record Map<String, @arraybuffer Array<u8>>;
/arkcompiler/runtime_core/taihe/test/ani_struct/idl/
Dstruct_test.taihe82 param2: @arraybuffer Array<u8>;
/arkcompiler/jsvm/src/
Djs_native_api_v8.cpp3938 JSVM_Status OH_JSVM_GetArraybufferInfo(JSVM_Env env, JSVM_Value arraybuffer, void** data, size_t* b… in OH_JSVM_GetArraybufferInfo() argument
3941 CHECK_ARG(env, arraybuffer); in OH_JSVM_GetArraybufferInfo()
3942 CHECK_SCOPE(env, arraybuffer); in OH_JSVM_GetArraybufferInfo()
3944 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in OH_JSVM_GetArraybufferInfo()
3976 JSVM_Value arraybuffer, in OH_JSVM_CreateTypedarray() argument
3981 CHECK_ARG(env, arraybuffer); in OH_JSVM_CreateTypedarray()
3983 CHECK_SCOPE(env, arraybuffer); in OH_JSVM_CreateTypedarray()
3985 v8::Local<v8::Value> value = v8impl::V8LocalValueFromJsValue(arraybuffer); in OH_JSVM_CreateTypedarray()
4039 JSVM_Value* arraybuffer, in OH_JSVM_GetTypedarrayInfo() argument
4082 if (data != nullptr || arraybuffer != nullptr) { in OH_JSVM_GetTypedarrayInfo()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_third_tests.cpp485 Local<ArrayBufferRef> arraybuffer = ArrayBufferRef::New(vm_, length); in HWTEST_F_L0() local
486 ASSERT_FALSE(arraybuffer->IsDetach(vm_)); in HWTEST_F_L0()
500 Local<ArrayBufferRef> arraybuffer = ArrayBufferRef::New(vm_, length); in HWTEST_F_L0() local
501 arraybuffer->Detach(vm_); in HWTEST_F_L0()
580 Local<ArrayBufferRef> arraybuffer = ArrayBufferRef::New(vm_, length); in HWTEST_F_L0() local
581 ASSERT_NE(arraybuffer->GetBuffer(vm_), nullptr); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/
D@ohos.util.ets1408 * Check whether the entered value is of arraybuffer type.
1427 * Check whether the entered value is of arraybuffer type.
1428 * @param { Object } value - A arraybuffer value

12