Home
last modified time | relevance | path

Searched refs:arrayType (Results 1 – 7 of 7) sorted by relevance

/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_utils.cpp119 napi_typedarray_type arrayType; in GetDataOfEncodingBlob() local
125 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetDataOfEncodingBlob()
132 if (arrayType != napi_uint8_array) { in GetDataOfEncodingBlob()
228 napi_typedarray_type arrayType; in CertGetBlobFromNapiValue() local
230 status = napi_get_typedarray_info(env, data, &arrayType, &length, in CertGetBlobFromNapiValue()
236 if (arrayType != napi_uint8_array) { in CertGetBlobFromNapiValue()
302 napi_typedarray_type arrayType; in GetDataOfCertChain() local
308 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetDataOfCertChain()
315 if (arrayType != napi_uint8_array) { in GetDataOfCertChain()
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp118 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/account/os_account/interfaces/kits/napi/common/src/
Dnapi_account_common.cpp283 …napi_typedarray_type arrayType = static_cast<napi_typedarray_type>(-1); // -1 indicates invalid t… in ParseUint8TypedArray() local
286 …napi_get_typedarray_info(env, value, &arrayType, length, reinterpret_cast<void **>(data), &buffer,… in ParseUint8TypedArray()
287 if (arrayType != napi_uint8_array) { in ParseUint8TypedArray()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp110 napi_typedarray_type arrayType; in GetUint8Array() local
116 env, napi_get_typedarray_info(env, object, &arrayType, &length, in GetUint8Array()
118 NAPI_ASSERT(env, arrayType == napi_uint8_array, "Param is not uint8 array"); in GetUint8Array()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp128 napi_typedarray_type arrayType; in GetBlobFromNapiValue() local
130 status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetBlobFromNapiValue()
136 if (arrayType != napi_uint8_array) { in GetBlobFromNapiValue()
163 napi_typedarray_type arrayType; in GeneralGetBlobFromNapiValue() local
165 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GeneralGetBlobFromNapiValue()
171 if (arrayType != napi_uint8_array) { in GeneralGetBlobFromNapiValue()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp79 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/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp91 napi_typedarray_type arrayType; in GetUint8Array() local
98 … env, napi_get_typedarray_info(env, object, &arrayType, &length, &rawData, &arrayBuffer, &offset)); in GetUint8Array()
99 if (arrayType != napi_uint8_array) { in GetUint8Array()