Home
last modified time | relevance | path

Searched refs:ArrayBuffer (Results 1 - 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/test/moduletest/allocatearraybuffer/
H A Dallocatearraybuffer.js18 * @tc.desc:test ArrayBuffer
23 var arrayBuffer = Reflect.construct(ArrayBuffer, [16], newTarget);
32 const dataview = new DataView(new ArrayBuffer(64));
44 let a1 = new ArrayBuffer(1025*1025*1025);
45 let a2 = new ArrayBuffer(1025*1025*1025);
46 let a3 = new ArrayBuffer(1025*1025*1025);
47 let a4 = new ArrayBuffer(1025*1025*1025);
49 let arr = new ArrayBuffer(10);
/arkcompiler/ets_runtime/test/moduletest/class/
H A Dclass.js157 const v13 = new ArrayBuffer(16);
182 const v35 = new F14(ArrayBuffer);
193 const v5 = new ArrayBuffer(10);
206 new F6(ArrayBuffer, v5);
/arkcompiler/ets_runtime/test/moduletest/ictest/
H A Dictest.js37 const v2 = ("string").match(ArrayBuffer)
42 this.concat(ArrayBuffer, v2, ArrayBuffer);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/js_suites/
H A Dconflict_types.js29 const buffer = new ArrayBuffer(BUFFER_SIZE);
45 const buffer = new ArrayBuffer(BUFFER_SIZE);
/arkcompiler/ets_runtime/test/moduletest/typearray/
H A Dtypearray.js169 let a1 = new ArrayBuffer(1024*1024*8);
183 const a5 = new Uint8ClampedArray(new ArrayBuffer(1283053413), 9007199254740991);
207 const a8 = new Int8Array(new ArrayBuffer(0x40004141, {"maxByteLength": 0x40004141}));
239 new BigUint64Array(new ArrayBuffer(256), 256, 0x1fffffff)
1108 var buffer = new ArrayBuffer(512 * 8* 4);
1129 var buffer1 = new ArrayBuffer(13);
1135 var buffer2 = new ArrayBuffer(16);
1154 let bufferTest = new ArrayBuffer(2147483648);
1160 let bufferTest = new ArrayBuffer(2147483694.55);
1166 let bufferTest = new ArrayBuffer(
[all...]
/arkcompiler/toolchain/tooling/test/testcases/js/
H A Dexport_variable_second.js38 export var arraybuffer6 = new ArrayBuffer(24);
65 var arraybuffer8 = new ArrayBuffer(24);
H A Dmodule_variable.js114 export var arraybuffer0 = new ArrayBuffer(24);
146 var arraybuffer1 = new ArrayBuffer(24);
196 var arraybuffer2 = new ArrayBuffer(24);
H A Dvariable_second.js40 var arraybuffer0 = new ArrayBuffer(24);
H A Dwatch_variable.js43 var arraybuffer0 = new ArrayBuffer(24);
H A Dvariable_first.js40 var arraybuffer0 = new ArrayBuffer(24);
/arkcompiler/ets_runtime/test/moduletest/functionapply/
H A Dfunctionapply.js49 const v3 = new ArrayBuffer(17);
76 const v6 = new ArrayBuffer(13);
/arkcompiler/ets_runtime/test/moduletest/deleteobjproperty/
H A Ddeleteobjproperty.js23 var l = new ArrayBuffer(400);
/arkcompiler/ets_runtime/test/moduletest/typedarraynan/
H A Dtypedarraynan.js43 var buffer = new ArrayBuffer(8);
/arkcompiler/ets_runtime/test/moduletest/fortest/
H A Dfortest.js77 [Array, Date, Boolean, Number, String, RegExp, Error, Uint8Array, ArrayBuffer, Map, WeakMap, Set, WeakSet].
/arkcompiler/ets_runtime/test/moduletest/objoperate/
H A Dobjoperate.js51 var b = new ArrayBuffer(400);
/arkcompiler/ets_runtime/test/moduletest/bindfunction/
H A Dbindfunction.js87 const f = ArrayBuffer.bind();
/arkcompiler/ets_runtime/test/moduletest/builtins/
H A Dbuiltinsreflect.js57 new ArrayBuffer(10),
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/js_files/
H A Dheapdump.js62 let buffer = new ArrayBuffer(8);
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_arraybuffer.cpp30 // 24.1.2.1 ArrayBuffer(length)
35 BUILTINS_API_TRACE(thread, ArrayBuffer, Constructor); in ArrayBufferConstructor()
49 // 24.1.3.1 ArrayBuffer.isView(arg)
54 BUILTINS_API_TRACE(thread, ArrayBuffer, IsView); in IsView()
69 // 24.1.3.3 get ArrayBuffer [ @@species ]
73 BUILTINS_API_TRACE(argv->GetThread(), ArrayBuffer, Species); in Species()
77 // 24.1.4.1 get ArrayBuffer.prototype.byteLength
82 BUILTINS_API_TRACE(thread, ArrayBuffer, GetByteLength); in GetByteLength()
106 // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
111 BUILTINS_API_TRACE(thread, ArrayBuffer, Slic in Slice()
[all...]
H A Dbuiltins_lazy_callback.h74 static JSTaggedValue ArrayBuffer(JSThread *thread, const JSHandle<JSObject> &obj);
/arkcompiler/ets_runtime/ecmascript/
H A Druntime_call_id.h340 V(ArrayBuffer, Constructor) \
341 V(ArrayBuffer, Slice) \
342 V(ArrayBuffer, Species) \
343 V(ArrayBuffer, GetByteLength) \
344 V(ArrayBuffer, GetValueFromBuffer) \
345 V(ArrayBuffer, SetValueInBuffer) \
346 V(ArrayBuffer, CloneArrayBuffer) \
347 V(ArrayBuffer, AllocateArrayBuffer) \
348 V(ArrayBuffer, IsView) \
/arkcompiler/ets_runtime/test/moduletest/array/
H A Darray.js478 let objects = [Object, Error, AggregateError, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, URIError, String, BigInt, Function, Number, Boolean, Date, RegExp, Array, ArrayBuffer, DataView, Int8Array, Int16Array, Int32Array, Uint8Array, Uint8ClampedArray, Uint16Array, Uint32Array, Float32Array, Float64Array, BigInt64Array, BigUint64Array, Set, Map, WeakMap, WeakSet, Symbol, Proxy];
698 const v2 = new ArrayBuffer(103);
724 const v3 = new ArrayBuffer(45);
788 new ArrayBuffer(26);
803 const v3 = new ArrayBuffer(19);
823 const v3 = new ArrayBuffer(10);
849 const v2 = new ArrayBuffer(10);
867 new F3(ArrayBuffer, v2);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_convert.h478 JSCONVERT_DEFINE_TYPE(ArrayBuffer, EtsArrayBuffer *);
480 JSCONVERT_WRAP(ArrayBuffer) in JSCONVERT_WRAP()
490 JSCONVERT_UNWRAP(ArrayBuffer) in JSCONVERT_UNWRAP()
495 InteropCtx::Fatal("Passed object is not an ArrayBuffer!"); in JSCONVERT_UNWRAP()
/arkcompiler/ets_runtime/test/moduletest/regress/
H A Dregress.js255 let buffer = new ArrayBuffer(4);
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_processor.cpp124 using ArrayBuffer = builtins::BuiltinsArrayBuffer;
495 reinterpret_cast<uintptr_t>(ArrayBuffer::ArrayBufferConstructor),
496 reinterpret_cast<uintptr_t>(ArrayBuffer::Slice),
497 reinterpret_cast<uintptr_t>(ArrayBuffer::IsView),
498 reinterpret_cast<uintptr_t>(ArrayBuffer::Species),
499 reinterpret_cast<uintptr_t>(ArrayBuffer::GetByteLength),

Completed in 20 milliseconds

12