Searched refs:outArray (Results 1 – 4 of 4) sorted by relevance
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_common.cpp | 120 static int32_t GetBlobArrayFromParamSet(const CfParamSet *paramSet, CfArray *outArray) in GetBlobArrayFromParamSet() argument 152 outArray->data = blobs; in GetBlobArrayFromParamSet() 153 outArray->count = oidsCnt; in GetBlobArrayFromParamSet() 154 outArray->format = CF_FORMAT_DER; in GetBlobArrayFromParamSet() 160 CfArray outArray = { nullptr, CF_FORMAT_DER, 0 }; in ConvertBlobArrayToNapiValue() local 161 int32_t ret = GetBlobArrayFromParamSet(paramSet, &outArray); in ConvertBlobArrayToNapiValue() 167 napi_value returnValue = ConvertArrayToNapiValue(env, &outArray); in ConvertBlobArrayToNapiValue() 168 CfArrayDataClearAndFree(&outArray); in ConvertBlobArrayToNapiValue()
|
/base/security/certificate_framework/test/unittest/cf_adapter_test/src/ |
D | cf_adapter_extension_test.cpp | 260 CfBlobArray outArray = { nullptr, 0 }; variable 261 ret = CfOpensslGetOids(object001, CF_EXT_TYPE_ALL_OIDS, &outArray); 264 …EXPECT_EQ(true, CompareOidArray(&outArray, &g_expectAllOidArray)) << "The all oids obtained does n… 265 FreeCfBlobArray(outArray.data, outArray.count); 282 CfBlobArray outArray = { nullptr, 0 }; variable 283 ret = CfOpensslGetOids(object002, CF_EXT_TYPE_CRITICAL_OIDS, &outArray); 286 …EXPECT_EQ(true, CompareOidArray(&outArray, &g_expectCritOidArray)) << "The critical oids obtained … 287 FreeCfBlobArray(outArray.data, outArray.count); 304 CfBlobArray outArray = { nullptr, 0 }; variable 305 ret = CfOpensslGetOids(object003, CF_EXT_TYPE_UNCRITICAL_OIDS, &outArray); [all …]
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 426 bool GetStringArrayFromJsObj(napi_env env, napi_value value, std::vector<std::string>& outArray) in GetStringArrayFromJsObj() argument 447 outArray.push_back(event); in GetStringArrayFromJsObj() 453 napi_env env, napi_value jsObject, const std::string& key, std::vector<std::string>& outArray) in GetStringArrayValueByKey() argument 465 return GetStringArrayFromJsObj(env, array, outArray); in GetStringArrayValueByKey()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_import_wrapped_sm2_suite_test.cpp | 514 …ndArray(struct HksBlob *kekData, struct HksBlob *signData, struct HksBlob *outArray, bool isSigned) in AppendArray() argument 525 outArray->size = kekAndSignDataBlob.size; in AppendArray() 526 outArray->data = kekAndSignDataBlob.data; in AppendArray()
|