Searched refs:jsArrayBuffer (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_sharedarraybuffer_test.cpp | 81 JSHandle<JSArrayBuffer> jsArrayBuffer = in CreateJSArrayBuffer() local 83 return *jsArrayBuffer; in CreateJSArrayBuffer() 184 JSHandle<JSArrayBuffer> jsArrayBuffer(thread, CreateJSArrayBuffer(thread)); in HWTEST_F_L0() local 188 ecmaRuntimeCallInfo->SetCallArg(0, jsArrayBuffer.GetTaggedValue()); in HWTEST_F_L0() 229 JSHandle<JSArrayBuffer> jsArrayBuffer(thread, CreateJSArrayBuffer(thread)); in HWTEST_F_L0() local 230 bool result = BuiltinsSharedArrayBuffer::IsShared(jsArrayBuffer.GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 1523 JSHandle<JSArrayBuffer> jsArrayBuffer = in CreateJSArrayBuffer() local 1525 return *jsArrayBuffer; in CreateJSArrayBuffer() 1530 JSHandle<JSArrayBuffer> jsArrayBuffer(thread, CreateJSArrayBuffer(thread)); in HWTEST_F_L0() local 1532 thread->GetEcmaVM()->GetFactory()->NewJSArrayBufferData(jsArrayBuffer, byteLength); in HWTEST_F_L0() 1533 jsArrayBuffer->SetArrayBufferByteLength(byteLength); in HWTEST_F_L0() 1534 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(jsArrayBuffer); in HWTEST_F_L0() 1543 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(jsArrayBuffer)); in HWTEST_F_L0() 1547 …std::thread t1(&JSDeserializerTest::JSArrayBufferTest, jsDeserializerTest, data, jsArrayBuffer, 10… in HWTEST_F_L0() 1563 …JSHandle<JSArrayBuffer> jsArrayBuffer = factory->NewJSArrayBuffer(msgBuffer, msgBufferLen, nullptr… in HWTEST_F_L0() local 1566 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(jsArrayBuffer)); in HWTEST_F_L0() [all …]
|