/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_cert_utils.cpp | 119 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/ |
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/account/os_account/interfaces/kits/napi/common/src/ |
D | napi_account_common.cpp | 283 …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/ |
D | cm_napi_common.cpp | 110 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/ |
D | napi_utils.cpp | 128 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/ |
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/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_common_item.cpp | 91 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()
|