/base/security/crypto_framework/frameworks/js/jsi/src/ |
H A D | jsi_utils.cpp | 33 TypedArrayType arrayType; in ParseUint8ArrayToBlob() local 39 uint8_t *dataArray = JSI::GetTypedArrayInfo(value, arrayType, arraySize, arrayBuffer, byteOffset); in ParseUint8ArrayToBlob() 44 if (arrayType != TypedArrayType::JSI_UINT8_ARRAY) { in ParseUint8ArrayToBlob()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_utils.cpp | 120 napi_typedarray_type arrayType;
in GetDataOfEncodingBlob() local 126 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length,
in GetDataOfEncodingBlob() 133 if (arrayType != napi_uint8_array) {
in GetDataOfEncodingBlob() 278 napi_typedarray_type arrayType;
in GetDataOfCertChain() local 284 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length,
in GetDataOfCertChain() 291 if (arrayType != napi_uint8_array) {
in GetDataOfCertChain() 372 napi_typedarray_type arrayType;
in CertGetBlobFromUint8ArrJSParams() local 375 env, arg, &arrayType, &length, reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset);
in CertGetBlobFromUint8ArrJSParams() 381 if (arrayType != napi_uint8_array) {
in CertGetBlobFromUint8ArrJSParams()
|
/base/security/asset/frameworks/js/napi/src/ |
H A D | asset_napi_common.cpp | 66 napi_typedarray_type arrayType; in ParseByteArray() local 73 NAPI_CALL_RETURN_ERR(env, napi_get_typedarray_info(env, value, &arrayType, &length, &rawData, nullptr, nullptr)); in ParseByteArray() 74 CHECK_ASSET_TAG(env, arrayType != napi_uint8_array, tag, "Expect type napi_uint8_array."); in ParseByteArray()
|
/base/security/certificate_manager/interfaces/kits/napi/src/dialog/ |
H A D | cm_napi_dialog_common.cpp | 257 napi_typedarray_type arrayType; in GetUint8ArrayToBase64Str() local 264 env, object, &arrayType, &length, static_cast<void **>(&certData), &arrayBuffer, &offset); in GetUint8ArrayToBase64Str() 265 if (arrayType != napi_uint8_array) { in GetUint8ArrayToBase64Str()
|
/base/security/huks/interfaces/kits/liteapi/src/ |
H A D | hks_lite_api_common.cpp | 118 TypedArrayType arrayType; in ParseUint8ArrayToHksBlob() local 125 dataArray = JSI::GetTypedArrayInfo(value, arrayType, arraySize, arrayBuffer, byteOffset); in ParseUint8ArrayToHksBlob() 130 if (arrayType != TypedArrayType::JSI_UINT8_ARRAY) { in ParseUint8ArrayToHksBlob()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
H A D | huks_napi_common.cpp | 79 napi_typedarray_type arrayType; in GetUint8Array() local 86 env, napi_get_typedarray_info(env, object, &arrayType, &length, &rawData, &arrayBuffer, &offset)); in GetUint8Array() 87 NAPI_ASSERT(env, arrayType == napi_uint8_array, "it's not uint8 array"); in GetUint8Array()
|
/base/account/os_account/interfaces/kits/napi/common/src/ |
H A D | napi_account_common.cpp | 377 napi_typedarray_type arrayType = static_cast<napi_typedarray_type>(-1); // -1 indicates invalid type
in ParseUint8TypedArray() local 380 napi_get_typedarray_info(env, value, &arrayType, length, reinterpret_cast<void **>(data), &buffer, &offset);
in ParseUint8TypedArray() 381 if (arrayType != napi_uint8_array) {
in ParseUint8TypedArray()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_kdf.cpp | 180 napi_typedarray_type arrayType;
in GetCharArrayFromUint8Arr() local 182 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length,
in GetCharArrayFromUint8Arr() 188 if (arrayType != napi_uint8_array) {
in GetCharArrayFromUint8Arr()
|
H A D | napi_utils.cpp | 147 napi_typedarray_type arrayType; in GetBlobFromNapiUint8Arr() local 149 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetBlobFromNapiUint8Arr() 155 if (arrayType != napi_uint8_array) { in GetBlobFromNapiUint8Arr() 203 napi_typedarray_type arrayType; in GetBlobFromNapiValue() local 204 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &(blob->len), in GetBlobFromNapiValue() 210 if (arrayType != napi_uint8_array) { in GetBlobFromNapiValue()
|
/base/security/huks/interfaces/kits/napi/src/v9/ |
H A D | huks_napi_common_item.cpp | 90 napi_typedarray_type arrayType; in GetUint8Array() local 97 env, napi_get_typedarray_info(env, object, &arrayType, &length, &rawData, &arrayBuffer, &offset)); in GetUint8Array() 98 if (arrayType != napi_uint8_array) { in GetUint8Array()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
H A D | cm_napi_common.cpp | 205 napi_typedarray_type arrayType; in GetUint8Array() local 212 env, object, &arrayType, &length, static_cast<void **>(&rawData), &arrayBuffer, &offset); in GetUint8Array()
|