Home
last modified time | relevance | path

Searched refs:napi_get_typedarray_info (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_base64.cpp53 napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr); in EncodeSync()
86 napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr); in EncodeToStringSync()
206 napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr); in DecodeSyncInner()
369 napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr); in Encode()
386 napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr); in EncodeToString()
574 …if (napi_get_typedarray_info(env, src, &type, &length, &resultData, nullptr, nullptr) != napi_ok) { in Decode()
H A Djs_textdecoder.cpp69 …NAPI_CALL(env, napi_get_typedarray_info(env, src, &type, &length, &data, &arrayBuffer, &byteOffset… in Decode()
126 napi_get_typedarray_info(env, src, &type, &length, &data, &arrayBuffer, &byteOffset); in DecodeToString()
H A Dnative_module_util.cpp481 napi_get_typedarray_info(env, argv, &type, &length, &data, &arraybuffer, &byteOffset); in DecodeToString()
490napi_get_typedarray_info(env, argvArr[0], &type, &length, &data, &arraybuffer, &byteOffset); in DecodeToString()
534 napi_get_typedarray_info(env, argv, &type, &length, &data, &arraybuffer, &byteOffset); in TextdecoderDecode()
544napi_get_typedarray_info(env, argvArr[0], &type, &length, &data, &arraybuffer, &byteOffset); in TextdecoderDecode()
757 …NAPI_CALL(env, napi_get_typedarray_info(env, args[1], &valuetype1, &length, &data, &arraybuffer, &… in EncodeIntoTwo()
783napi_get_typedarray_info(env, args[1], &valuetype1, &length, &data, &arraybuffer, &byteOffset); in EncodeIntoUint8Array()
902 …NAPI_CALL(env, napi_get_typedarray_info(env, args[0], &valuetype0, &length, &data, &arraybuffer, &… in EncodeBase64()
923 …NAPI_CALL(env, napi_get_typedarray_info(env, args[0], &valuetype0, &length, &data, &arraybuffer, &… in EncodeToString()
947 NAPI_CALL(env, napi_get_typedarray_info(env, args[0], &valuetype0, &length, in DecodeBase64()
973 …NAPI_CALL(env, napi_get_typedarray_info(env, args[0], &valuetype0, &length, &data, &arraybuffer, &… in EncodeAsync()
[all …]
H A Djs_types.cpp63 napi_status rstSta = napi_get_typedarray_info(env, src, &type, &length, in IsArrayBufferView()
212 napi_get_typedarray_info(env, src, &type, &length, in GetTypeArrayInfo()
281 napi_status rstSta = napi_get_typedarray_info(env, src, &type, &length, in IsInt8Array()
H A Djs_textencoder.cpp74 …NAPI_CALL(env, napi_get_typedarray_info(env, dest, &type, &length, &resultData, &resultBuffer, &by… in EncodeInto()
H A Djs_stringdecoder.cpp43 napi_get_typedarray_info(env, src, &type, &length, &data, &arrayBuffer, &byteOffset); in Write()
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/
H A Dtest_util.cpp78 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset);
95 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset);
289 napi_get_typedarray_info(
321 napi_get_typedarray_info(
351 napi_get_typedarray_info(
385 napi_get_typedarray_info(
434 napi_get_typedarray_info(
469 napi_get_typedarray_info(
504 napi_get_typedarray_info(
539 napi_get_typedarray_info(
[all …]
/ohos5.0/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
H A Dn_val.cpp149 …napi_status status = napi_get_typedarray_info(env_, val_, &type, &length, (void **) &data, &in_arr… in ToTypedArray()
172napi_get_typedarray_info(env_, val_, &type, &length, (void **)&data, &in_array_buffer, &byte_offse… in ToTypedArrayInfo()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.cpp275 …napi_status status = napi_get_typedarray_info(env_, val_, &type, &length, (void **) &data, &in_arr… in ToTypedArray()
298napi_get_typedarray_info(env_, val_, &type, &length, (void **)&data, &in_array_buffer, &byte_offse… in ToTypedArrayInfo()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_sendable_napi.cpp1142 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1193 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1244 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1295 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1346 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1397 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1448 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
1499 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
2091 …res = napi_get_typedarray_info(env, result, &type, &length, &getData, &getArrayBuffer, &byteOffset…
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-array.md32 | napi_get_typedarray_info | 用于在Node-API模块中获得某个TypedArray的各种属性。 |
624 ### napi_get_typedarray_info subsection
648 // 调用接口napi_get_typedarray_info获得TypedArray类型数据的信息
649 napi_get_typedarray_info(env, args[0], &type, &length, &data, &arraybuffer, &byteOffset);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_utils.cpp218 …auto status = napi_get_typedarray_info(env, jsValue, &type, &length, &tmp, &input_buffer, &byte_of… in Convert2Value()
273 …auto status = napi_get_typedarray_info(env, jsValue, &type, &length, &tmp, &input_buffer, &byte_of… in Convert2Value()
663 …napi_status status = napi_get_typedarray_info(env, sendableValue, &type, &length, &tmp, nullptr, n… in ToJsTypedArray()
H A Djs_sendable_utils.cpp174 …napi_status status = napi_get_typedarray_info(env, jsValue, &type, &length, &tmp, nullptr, nullptr… in ToSendableTypedArray()
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/
H A Djs_util.cpp403 napi_status status = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &offset); in GetValue()
493 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
537 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
581 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
629 …status = napi_get_typedarray_info(env, in, &type, &length, reinterpret_cast<void**>(&data), &buffe… in GetValue()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_util.cpp392 napi_status status = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &offset); in GetValue()
477 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
516 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
555 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
598 …status = napi_get_typedarray_info(env, in, &type, &length, reinterpret_cast<void**>(&data), &buffe… in GetValue()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-array.md32 | napi_get_typedarray_info | Obtains the properties of a **TypedArray** object.|
623 ### napi_get_typedarray_info subsection
625 Use **napi_get_typedarray_info** to obtain properties of a **TypedArray** object.
647 // Call napi_get_typedarray_info to obtain TypedArray information.
648 napi_get_typedarray_info(env, args[0], &type, &length, &data, &arraybuffer, &byteOffset);
/ohos5.0/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dnapi_util.cpp176 napi_status infoStatus = napi_get_typedarray_info( in JsUint8ArrayParse()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_util.cpp410 …JSUtil::StatusMsg statusMsg = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &o… in GetValue()
495 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
534 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
573 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
616 …status = napi_get_typedarray_info(env, in, &type, &length, reinterpret_cast<void**>(&data), &buffe… in GetValue()
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_cert_utils.cpp126 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetDataOfEncodingBlob()
284 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetDataOfCertChain()
374 napi_status status = napi_get_typedarray_info( in CertGetBlobFromUint8ArrJSParams()
/ohos5.0/base/account/os_account/interfaces/kits/napi/common/src/
H A Dnapi_account_common.cpp380napi_get_typedarray_info(env, value, &arrayType, length, reinterpret_cast<void **>(data), &buffer,… in ParseUint8TypedArray()
436napi_get_typedarray_info(env, value, &arrayType, length, reinterpret_cast<void **>(data), &buffer,… in ParseUint8ArrayToNativeUint8Array()
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/dialog/
H A Dcm_napi_dialog_common.cpp263 napi_status status = napi_get_typedarray_info( in GetUint8ArrayToBase64Str()
/ohos5.0/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dmedia_key_system_napi.cpp516napi_get_typedarray_info(env, argv[PARAM1], &type, &valueDataLen, &valueData, &arraybuffer, &offse… in SetConfigurationByteArray()
896napi_get_typedarray_info(env, argv[PARAM0], &type, &licenseIdLen, &licenseId, &arraybuffer, &offse… in GetOfflineMediaKeyStatus()
950napi_get_typedarray_info(env, argv[PARAM0], &type, &licenseIdLen, &licenseId, &arraybuffer, &offse… in ClearOfflineMediaKeys()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/
H A Ddatashare_js_utils.cpp80napi_get_typedarray_info(env, input_array, &type, &length, &data, &input_buffer, &byte_offset); in Convert2U8Vector()
106 …NAPI_CALL_BASE(env, napi_get_typedarray_info(env, jsValue, &type, &length, nullptr, &buffer, &offs… in ConvertU8Vector()
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_utils.cpp706 napi_status status = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &offset); in GetValue()
843 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
883 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
922 napi_status status = napi_get_typedarray_info(env, in, &type, &length, in GetValue()
966 …status = napi_get_typedarray_info(env, in, &type, &length, reinterpret_cast<void**>(&data), &buffe… in GetValue()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp109 result = napi_get_typedarray_info(env, jsValue, &type, &length, &data, nullptr, nullptr); in Convert2NativeValue()

123