Home
last modified time | relevance | path

Searched refs:arrayBuffer (Results 1 – 6 of 6) sorted by relevance

/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp121 JSIValue arrayBuffer; in ParseUint8ArrayToHksBlob() local
125 dataArray = JSI::GetTypedArrayInfo(value, arrayType, arraySize, arrayBuffer, byteOffset); in ParseUint8ArrayToHksBlob()
143 RELEASE_JSI_VALUE_IF_NOT_NULL(arrayBuffer); in ParseUint8ArrayToHksBlob()
394 uint8_t *arrayBuffer = nullptr; in HksConstructJSIReturnResult() local
395 JSIValue buffer = JSI::CreateArrayBuffer(result->outData->size, arrayBuffer); in HksConstructJSIReturnResult()
396 if (arrayBuffer == nullptr) { in HksConstructJSIReturnResult()
401 … (void)memcpy_s(arrayBuffer, result->outData->size, result->outData->data, result->outData->size); in HksConstructJSIReturnResult()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_utils.cpp120 napi_value arrayBuffer = nullptr; in GetDataOfEncodingBlob() local
126 reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in GetDataOfEncodingBlob()
227 napi_value arrayBuffer = nullptr; in CertGetBlobFromNapiValue() local
231 reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in CertGetBlobFromNapiValue()
303 napi_value arrayBuffer = nullptr; in GetDataOfCertChain() local
309 reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in GetDataOfCertChain()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp111 napi_value arrayBuffer = nullptr; in GetUint8Array() local
117 static_cast<void **>(&rawData), &arrayBuffer, &offset)); in GetUint8Array()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp127 napi_value arrayBuffer = nullptr; in GetBlobFromNapiValue() local
131 reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in GetBlobFromNapiValue()
162 napi_value arrayBuffer = nullptr; in GeneralGetBlobFromNapiValue() local
166 reinterpret_cast<void **>(&rawData), &arrayBuffer, &offset); in GeneralGetBlobFromNapiValue()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp80 napi_value arrayBuffer = nullptr; in GetUint8Array() local
86 … env, napi_get_typedarray_info(env, object, &arrayType, &length, &rawData, &arrayBuffer, &offset)); in GetUint8Array()
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp92 napi_value arrayBuffer = nullptr; in GetUint8Array() local
98 … env, napi_get_typedarray_info(env, object, &arrayType, &length, &rawData, &arrayBuffer, &offset)); in GetUint8Array()