Home
last modified time | relevance | path

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

/test/xts/acts/arkui/ace_c_arkui_nowear_test_api14/entry/src/main/cpp/styledString/
DstyledString_test.cpp53 napi_value arraybuffer; in testStyledString001() local
54 …if (napi_get_typedarray_info(env, typedarray, &type, &length, NULL, &arraybuffer, &byte_offset) !=… in testStyledString001()
64 if (napi_get_arraybuffer_info(env, arraybuffer, &data, &byte_length)) { in testStyledString001()
/test/xts/acts/communication/dsoftbus/proxyChannelManager/entry/src/ohosTest/ets/test/
DProxyChannelMgrApi.test.ets692 let arraybuffer = new ArrayBuffer(1024);
694 await proxyChannelManager.sendData(channelId, arraybuffer)
696 …Tag + "SUB_DSoftbus_Trans_proxyChannelMgrAPI_1900 sendData success data.length is " + arraybuffer);
729 let arraybuffer = new ArrayBuffer(1024);
732 await proxyChannelManager.sendData(channelId, arraybuffer)
734 …Tag + "SUB_DSoftbus_Trans_proxyChannelMgrAPI_2000 sendData success data.length is " + arraybuffer);
762 let arraybuffer = new ArrayBuffer(1024);
765 await proxyChannelManager.sendData(channelId, arraybuffer)
767 …Tag + "SUB_DSoftbus_Trans_proxyChannelMgrAPI_2100 sendData success data.length is " + arraybuffer);
795 let arraybuffer = new ArrayBuffer(1024);
[all …]
/test/xts/acts/communication/dsoftbus/linkEnhance/entry/src/ohosTest/ets/test/
DLinkEnhanceAPI.test.ets537 let arraybuffer = new ArrayBuffer(10);
538 …fo(logTag +"SUB_DSoftbus_Trans_linkEnhance_API_sendData_0100 dataLength" + arraybuffer.byteLength);
544 connection.sendData(arraybuffer);
578 let arraybuffer = new ArrayBuffer(10);
579 …fo(logTag +"SUB_DSoftbus_Trans_linkEnhance_API_sendData_0200 dataLength" + arraybuffer.byteLength);
586 connection.sendData(arraybuffer);
620 let arraybuffer = new ArrayBuffer(10);
621 …ogTag +"SUB_DSoftbus_Trans_linkEnhance_API_ConnectionOn_0100 dataLength" + arraybuffer.byteLength);
661 let arraybuffer = new ArrayBuffer(10);
662 …ogTag +"SUB_DSoftbus_Trans_linkEnhance_API_ConnectionOn_0200 dataLength" + arraybuffer.byteLength);
[all …]
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/
Dtest_wasm.cpp720 JSVM_Value arraybuffer; local
721 JSVMTEST_CALL(OH_JSVM_CreateArraybuffer(env, buffer.size(), &backingStoreData, &arraybuffer));
723 CHECK(jsvm::IsArraybuffer(arraybuffer));
727 auto isValid = jsvm::Call(validate, WebAssembly, {arraybuffer});
/test/xts/acts/arkui/ace_c_arkui_nowear_test_api14/entry/src/ohosTest/ets/MainAbility/pages/styledString/
DstyledString.ets71 … let mimeTypes = data.getMimeTypes(); // 获得 所有record 的mimeType 集合。 // text, uri, arraybuffer
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
Dnapi_arraytest.cpp741 JSVM_Value arraybuffer = nullptr; in TestSetElement_05() local
744 OH_JSVM_CoerceToObject(env, args[0], &arraybuffer); in TestSetElement_05()
745 OH_JSVM_CreateDataview(env, DIFF_VALUE_TWELVE, arraybuffer, DIFF_VALUE_FOUR, &result); in TestSetElement_05()
1175 JSVM_Value arraybuffer = nullptr; in TestDeleteElement_03() local
1178 OH_JSVM_CoerceToObject(env, args[0], &arraybuffer); in TestDeleteElement_03()
1179 OH_JSVM_CreateDataview(env, DIFF_VALUE_TWELVE, arraybuffer, DIFF_VALUE_FOUR, &result); in TestDeleteElement_03()
Dnapi_test.cpp6106 JSVM_Value arraybuffer = nullptr; in CreateDataView() local
6109 OH_JSVM_CoerceToObject(env, args[0], &arraybuffer); in CreateDataView()
6110 OH_JSVM_CreateDataview(env, DIFF_VALUE_TWELVE, arraybuffer, DIFF_VALUE_FOUR, &result); in CreateDataView()
10832 JSVM_Value arraybuffer; in ConvertObjectTypeArray() local
10833 OH_JSVM_GetTypedarrayInfo(jsVmEnv, jSVmValue, &type, &length, &data, &arraybuffer, &byteOffset); in ConvertObjectTypeArray()
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/ohosTest/ets/test/
DJsvmTest.ets6798 …* @tc.desc Test that creat type array, type is UINT16_ARRAY, obj is arraybuffer, len 4, srcle…
6812 …* @tc.desc Test that creat type array, type is INT32_ARRAY, obj is arraybuffer, len 2, srclen…
6826 …t that creat type array with INT32_ARRAY, len 4, srclen <= tarlen, get arraybuffer len is sucess, …
6840 * @tc.desc Test that not creat type array, get arraybuffer len is fail, return is 'ok'.
6966 …* @tc.desc Test that creat arraybuffer, set index 0,result is null,return status is sucess, r…
6980 …* @tc.desc Test that creat arraybuffer, set index 4,result is not null,return status is suces…
6994 …* @tc.desc Test that creat Utf8 arraybuffer, set index 9,result is not null,return status is …
7008 …* @tc.desc Test that creat Utf8 arraybuffer, set index 0,result is null,return status is suce…
7064 …* @tc.desc Test that set arraybuffer Element the property value is nonnull, get Element statu…
7078 …* @tc.desc Test that set arraybuffer Element the property value is null, get Element status i…
[all …]
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/
Dnapi_test.cpp1310 napi_value arraybuffer = nullptr; in NapiCreateSendableTypedArray() local
1311 napi_create_sendable_arraybuffer(env, length, &data, &arraybuffer); in NapiCreateSendableTypedArray()
1314 napi_create_sendable_typedarray(env, napi_uint8_array, length, arraybuffer, offset, &result); in NapiCreateSendableTypedArray()
4790 napi_value arraybuffer = nullptr; in createSendableFloat64ArrayTest() local
4793 napi_create_sendable_arraybuffer(env, arrayBufferSize, &arrayBufferPtr, &arraybuffer); in createSendableFloat64ArrayTest()
4794 NAPI_ASSERT(env, arraybuffer != nullptr, "success create_sendable_arrayBuffer"); in createSendableFloat64ArrayTest()
4798 arraybuffer, offset, &result); in createSendableFloat64ArrayTest()
4810 napi_value arraybuffer = nullptr; in createSendableBigInt64ArrayTest() local
4813 napi_create_sendable_arraybuffer(env, arrayBufferSize, &arrayBufferPtr, &arraybuffer); in createSendableBigInt64ArrayTest()
4814 NAPI_ASSERT(env, arraybuffer != nullptr, "success create_sendable_arrayBuffer"); in createSendableBigInt64ArrayTest()
[all …]
/test/xts/acts/web/DFX/log_dotting_two/entry/src/ohosTest/ets/testability/pages/
DwebErrorCode.ets229 … console.log("received arraybuffer from html5, length is:" + result.byteLength);
/test/xts/acts/distributeddatamgr/Pasteboardjsapitest/entry/src/ohosTest/ets/test/
DPasteBoard.test.ets368 let pasteData = pasteboard.createData("arraybuffer", ARRAY_BUFFER)
DPasteBoardRecord.test.ets402 console.info("create arraybuffer data success")
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/
Dnapi_test.cpp1253 napi_value arraybuffer = nullptr; in NapiCreateSendableTypedArray() local
1254 napi_create_sendable_arraybuffer(env, length, &data, &arraybuffer); in NapiCreateSendableTypedArray()
1257 napi_create_sendable_typedarray(env, napi_uint8_array, length, arraybuffer, offset, &result); in NapiCreateSendableTypedArray()
/test/xts/acts/telephony/networkmanager/socket/sockettest/entry/src/ohosTest/ets/test/
DTCPSocket.test.ets2716 … * @tc.desc : Sending data through TCP Socket connection,Send data of arraybuffer type; callback
3454 * @tc.desc : Sending data through TCP Socket connection,Send data of arraybuffer type; promise