/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeTextBlobTest.cpp | 142 size_t byteLength = 0; in HWTEST_F() local 144 byteLength = strlen(str); in HWTEST_F() 146 byteLength = strlen(str) * 2; in HWTEST_F() 148 byteLength = strlen(str) * 4; in HWTEST_F() 150 byteLength = strlen(str) * 16; in HWTEST_F() 152 OH_Drawing_TextBlob *textBlob = OH_Drawing_TextBlobCreateFromText(str, byteLength, font, encode); in HWTEST_F() 272 size_t byteLength = strlen(str); in HWTEST_F() local 273 int count = OH_Drawing_FontCountText(font, str, byteLength, TEXT_ENCODING_UTF8); in HWTEST_F()
|
H A D | DrawingNativeFontTest.cpp | 711 // 3. Pass floating-point values for maxGlyphCount and byteLength parameters in OH_Drawing_FontTextToGlyphs in HWTEST_F() 795 // 2. Set byteLength parameter to -1 for OH_Drawing_FontTextToGlyphs interface in HWTEST_F() 796 // Ignore, no need to test the case with byteLength parameter set to -1 in HWTEST_F() 819 // 2. Set byteLength parameter to maximum value for OH_Drawing_FontTextToGlyphs interface in HWTEST_F() 820 // Ignore, no need to test the case with maximum byteLength parameter in HWTEST_F() 933 // 2. Set byteLength parameter to -1 for OH_Drawing_FontGetWidths interface in HWTEST_F() 934 // There is no byteLength parameter in HWTEST_F() 1828 const size_t byteLength = 3; in HWTEST_F() local 1837 OH_Drawing_FontMeasureText(font, text, byteLength, encodes[i], bounds, &textWidth); in HWTEST_F() 1840 OH_Drawing_FontMeasureText(font, text, byteLength, TEXT_ENCODING_UTF in HWTEST_F() 1864 const size_t byteLength = 3; HWTEST_F() local 1906 const size_t byteLength = 3; HWTEST_F() local [all...] |
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/ohosTest/ets/workers/ |
H A D | newworker.js | 33 console.info("worker:: worker.js receive buffer length is " + data.data.byteLength); 35 console.info("worker:: worker.js post buffer length is " + data.data.byteLength);
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/ |
H A D | test_array_buffer_backing_store.cpp | 112 size_t byteLength = 100; in TEST() local 115 JSVM_Status status = OH_JSVM_AllocateArrayBufferBackingStoreData(byteLength, initialized, &data); in TEST() 118 status = OH_JSVM_CreateArrayBufferFromBackingStoreData(env, data, byteLength, 6, 20, &result); in TEST()
|
H A D | test_wasm.cpp | 117 static void WriteBinaryFile(const char *path, const uint8_t *data, size_t byteLength) in WriteBinaryFile() argument 120 outfile.write(reinterpret_cast<const char *>(data), byteLength); in WriteBinaryFile() local
|
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/ohosTest/ets/workers/ |
H A D | worker.js | 37 console.info("worker:: worker.js receive buffer length is " + data.data.byteLength); 39 console.info("worker:: worker.js post buffer length is " + data.data.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_four/entry/src/ohosTest/resources/rawfile/ |
H A D | index.js | 38 document.getElementById('msg2').innerHTML = 'ArrayBuffer:' + result.byteLength;
39 console.log('In html got message, byteLength: ', result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_one/entry/src/ohosTest/resources/rawfile/ |
H A D | onMessageEventExt.js | 37 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 38 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_three/entry/src/ohosTest/resources/rawfile/ |
H A D | onMessageEventExt.js | 37 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 38 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_error_code/entry/src/ohosTest/resources/rawfile/ |
H A D | onMessageEventExt.js | 38 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 39 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_two/entry/src/ohosTest/resources/rawfile/ |
H A D | onMessageEventExt.js | 37 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 38 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_dev_three/entry/src/ohosTest/resources/rawfile/ |
H A D | index.js | 38 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 39 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/arkui/ace_ets_web_dev_webviewControllerError/entry/src/ohosTest/resources/rawfile/ |
H A D | index.js | 39 document.getElementById("msg2").innerHTML = "ArrayBuffer:" + result.byteLength; 40 console.log("In html got message, byteLength: ", result.byteLength);
|
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 49 let offset = bf.byteLength * i; 50 let writeLen = fileIO.writeSync(file.fd, bf, { offset: offset, length: bf.byteLength, encoding: 'utf-8' });
|
/test/xts/acts/arkui/ace_ets_web_napis/entry/src/main/cpp/ |
H A D | hello.cpp | 105 size_t byteLength = 0; in RunJavaScript() local 106 napi_get_value_string_utf8(env, args[1], jsCode, bufferSize + 1, &byteLength); in RunJavaScript()
|
/test/testfwk/arkxtest/jsunit/src/module/assert/deepEquals/ |
H A D | assertDeepEquals.js | 50 actualMsg = actualValue.byteLength; 68 expectMsg = expected.byteLength;
|
/test/xts/acts/security/certificate_framework/js_api_test_one/entry/src/ohosTest/js/test/utils/certificate/ |
H A D | publicCertificateCallback.js | 721 var byteLength1 = certArray1.byteLength;
729 var byteLength2 = certArray2.byteLength;
|
H A D | publicCertificatePromise.js | 670 var byteLength1 = certArray1.byteLength;
678 var byteLength2 = certArray2.byteLength;
|
/test/xts/acts/telephony/telephonyjstest/netmanager_base/jshttp/entry/src/ohosTest/js/test/ |
H A D | HttpRequest2JsunitTest.test.js | 31 console.log("dataReceive_on_callback receive len:" + JSON.stringify(data.byteLength));
|
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/ |
H A D | RpcClientJsunit.test.js | 15130 let size = buffer.byteLength;
15157 let size = buffer.byteLength;
15184 let size = buffer.byteLength;
15213 let size = buffer.byteLength;
15242 let size = buffer.byteLength;
15270 let size = buffer.byteLength;
15303 let size = buffer.byteLength;
15336 let size = buffer.byteLength;
15365 let size = buffer.byteLength;
15395 let size = buffer.byteLength;
[all...] |
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 997 size_t byteLength = 0; in testCreateData3() local 999 OH_JSVM_GetDataviewInfo(env, result, &byteLength, &data, &retArrayBuffer, &byteOffset); in testCreateData3() 5954 size_t byteLength; in GetArraybufferInfo() local 5955 JSVM_Status status = OH_JSVM_GetArraybufferInfo(env, args[0], &data, &byteLength); in GetArraybufferInfo() 5964 OH_JSVM_CreateInt32(env, byteLength, &jsvmLength); in GetArraybufferInfo() 5970 OH_JSVM_CreateArraybuffer(env, byteLength, &data, &bufferData); in GetArraybufferInfo() 6137 size_t byteLength; in GetDataViewInfo() local 6146 OH_JSVM_GetDataviewInfo(env, args[0], &byteLength, &data, &arrayBuffer, &byteOffset); in GetDataViewInfo() 6152 OH_JSVM_CreateInt32(env, byteLength, &len); in GetDataViewInfo() 9777 OH_JSVM_GetNamedProperty(jsVmEnv, jSVmValue, "byteLength", in ConvertObjectArraybuffer() [all...] |
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1040 size_t byteLength = 0; in getDataViewInfo() local 1042 napi_get_dataview_info(env, result, &byteLength, &data, &retArrayBuffer, &byteOffset); in getDataViewInfo() 4215 size_t byteLength = 1024; in NapiSerializeArraybuffer() local 4217 napi_create_arraybuffer(env, byteLength, &data, &result); in NapiSerializeArraybuffer() 5895 size_t byteLength = 0; in getDataViewInfoNull() local 5897 napi_status status = napi_get_dataview_info(env, nullptr, &byteLength, &data, &retArrayBuffer, &byteOffset); in getDataViewInfoNull() 5910 size_t byteLength = 0; in getDataViewInfoNotObj() local 5912 napi_status status = napi_get_dataview_info(env, result, &byteLength, &data, &retArrayBuffer, &byteOffset); in getDataViewInfoNotObj()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 977 size_t byteLength = 0;
in getDataViewInfo() local 979 napi_get_dataview_info(env, result, &byteLength, &data, &retArrayBuffer, &byteOffset);
in getDataViewInfo() 3987 size_t byteLength = 1024;
in NapiSerializeArraybuffer() local 3989 napi_create_arraybuffer(env, byteLength, &data, &result);
in NapiSerializeArraybuffer()
|