Home
last modified time | relevance | path

Searched refs:tempData (Results 1 – 7 of 7) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/utils/
Dutils.cpp61 auto tempData = Utils::LoadResourceFile(iconPath, len); in GetMediaBase64Data() local
62 if (tempData == nullptr) { in GetMediaBase64Data()
71 Utils::EncodeBase64(tempData, len, imgType, base64Data); in GetMediaBase64Data()
89 std::unique_ptr<uint8_t[]> tempData = std::make_unique<uint8_t[]>(len); in LoadResourceFile() local
90 if (tempData == nullptr) { in LoadResourceFile()
94 mediaStream.read(reinterpret_cast<char *>(tempData.get()), len); in LoadResourceFile()
95 return tempData; in LoadResourceFile()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp337 OHOS::FuzzTestData tempData; in StartFuzzTest() local
340 jsonParser.ParseFromFile4FuzzTest(FUZZ_TEST_CONFIG_FILE_PATH, tempData); in StartFuzzTest()
341 std::cout << "flag :" << tempData.mainLoopFlag << std::endl; in StartFuzzTest()
342 …for_each(tempData.methodVec.begin(), tempData.methodVec.end(), [this](std::vector<std::string>::re… in StartFuzzTest()
345 SetCycle(tempData.mainLoopFlag); in StartFuzzTest()
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/
Dcm_fuzz_test_common.cpp89 uint8_t *tempData = static_cast<uint8_t *>(CmMalloc(sizeof(uint8_t) * size)); in CopyMyData() local
90 if (tempData == nullptr) { in CopyMyData()
93 (void)memcpy_s(tempData, size, data, size); in CopyMyData()
95 *myData = tempData; in CopyMyData()
/base/telephony/ril_adapter/services/vendor/src/
Dvendor_report.c108 char *tempData = NULL; in ReportCBMOrCSCB() local
118 tempData = testDataStr; in ReportCBMOrCSCB()
121 tempData = testDataTmp; in ReportCBMOrCSCB()
128 response.data = (char *)tempData; in ReportCBMOrCSCB()
130 response.pdu = (char *)tempData; in ReportCBMOrCSCB()
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp237 RawPropertyData tempData; in getDirectValue() local
238 if (!getRawValue(tempData.data(), tempData.size())) { in getDirectValue()
241 m_value = m_converter(tempData, m_defaultValue); in getDirectValue()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c285 struct HksBlob *tempData = (struct HksBlob *)HksMalloc(sizeof(struct HksBlob)); in SetCacheModeCtx() local
286 HKS_IF_NULL_LOGE_RETURN(tempData, HKS_ERROR_MALLOC_FAIL, "get cache mode ctx malloc fail.") in SetCacheModeCtx()
288 tempData->size = 0; in SetCacheModeCtx()
289 tempData->data = NULL; in SetCacheModeCtx()
290 ctxParam->uint64Param = (uint64_t)(uintptr_t)tempData; in SetCacheModeCtx()
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Drsa_asy_key_generator_openssl.c360 unsigned char *tempData = NULL; in EncodePubKeyToX509() local
361 int len = Openssl_i2d_RSA_PUBKEY(rsa, &tempData); in EncodePubKeyToX509()
367 returnBlob->data = tempData; in EncodePubKeyToX509()