| /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() 277 napi_typedarray_type arrayType; in GetDataOfCertChain() local 283 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetDataOfCertChain() 290 if (arrayType != napi_uint8_array) { in GetDataOfCertChain() 371 napi_typedarray_type arrayType; in CertGetBlobFromUint8ArrJSParams() local 374 env, arg, &arrayType, &length, reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in CertGetBlobFromUint8ArrJSParams() 380 if (arrayType != napi_uint8_array) { in CertGetBlobFromUint8ArrJSParams()
|
| /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/security/asset/frameworks/js/napi/src/ |
| D | asset_napi_common.cpp | 104 napi_typedarray_type arrayType; in ParseByteArray() local 111 …NAPI_CALL_RETURN_ERR(env, napi_get_typedarray_info(env, value, &arrayType, &length, &rawData, null… in ParseByteArray() 112 CHECK_ASSET_TAG(env, arrayType != napi_uint8_array, tag, "Expect type napi_uint8_array."); in ParseByteArray()
|
| /base/account/os_account/interfaces/kits/napi/common/src/ |
| D | napi_account_common.cpp | 287 …napi_typedarray_type arrayType = static_cast<napi_typedarray_type>(-1); // -1 indicates invalid t… in ParseUint8TypedArray() local 290 …napi_get_typedarray_info(env, value, &arrayType, length, reinterpret_cast<void **>(data), &buffer,… in ParseUint8TypedArray() 291 if (arrayType != napi_uint8_array) { in ParseUint8TypedArray()
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_kdf.cpp | 161 napi_typedarray_type arrayType; in GetCharArrayFromUint8Arr() local 163 napi_status status = napi_get_typedarray_info(env, data, &arrayType, &length, in GetCharArrayFromUint8Arr() 169 if (arrayType != napi_uint8_array) { in GetCharArrayFromUint8Arr()
|
| 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()
|
| /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()
|
| /base/security/certificate_manager/interfaces/kits/napi/src/ |
| D | cm_napi_common.cpp | 109 napi_typedarray_type arrayType; in GetUint8Array() local 116 env, object, &arrayType, &length, static_cast<void **>(&rawData), &arrayBuffer, &offset); in GetUint8Array()
|