Home
last modified time | relevance | path

Searched refs:returnArray (Results 1 – 2 of 2) sorted by relevance

/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_utils.cpp68 napi_value returnArray = nullptr; in ConvertArrayToNapiValue() local
69 napi_create_array(env, &returnArray); in ConvertArrayToNapiValue()
70 if (returnArray == nullptr) { in ConvertArrayToNapiValue()
83 napi_set_element(env, returnArray, i, element); in ConvertArrayToNapiValue()
87 napi_set_named_property(env, returnValue, CERT_TAG_DATA.c_str(), returnArray); in ConvertArrayToNapiValue()
Dnapi_x509_crl.cpp233 napi_value returnArray = nullptr; in GenerateCrlEntryArray() local
234 napi_create_array(env, &returnArray); in GenerateCrlEntryArray()
254 napi_set_element(env, returnArray, i, instance); in GenerateCrlEntryArray()
256 return returnArray; in GenerateCrlEntryArray()
267 napi_value returnArray = GenerateCrlEntryArray(env, context->array); in GetRevokedCertificatesComplete() local
268 ReturnResult(env, context, returnArray); in GetRevokedCertificatesComplete()