/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_qrcode.cpp | 213 uint8_t* tempData = destData + width * QRCODE_FACTOR_NUM * x; in GetDestData() local 215 *(tempData + 0) = qrColor_.blue; // 0: B channel in GetDestData() 216 *(tempData + 1) = qrColor_.green; // 1: G channel in GetDestData() 217 *(tempData + 2) = qrColor_.red; // 2: R channel in GetDestData() 218 *(tempData + 3) = OPA_OPAQUE; // 3: Alpha channel in GetDestData() 219 tempData += QRCODE_FACTOR_NUM; in GetDestData()
|
/ohos5.0/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_network.c | 2005 int32_t tempData = 0; in FillNeighboringCellSsbId() local 2012 nrSsbIdInfo->nbCellCount = tempData; in FillNeighboringCellSsbId() 2025 nrSsbIdInfo->nbCellSsbList[i].pci = tempData; in FillNeighboringCellSsbId() 2054 int32_t tempData = 0; in FillServingCellSsbId() local 2067 nrSsbIdInfo->sCellSsbList[i].rsrp = tempData; in FillServingCellSsbId() 2074 int32_t tempData = 0; in ProcessNrSsbId() local 2092 nrSsbIdInfo->arfcn = tempData; in ProcessNrSsbId() 2100 nrSsbIdInfo->pic = tempData; in ProcessNrSsbId() 2104 nrSsbIdInfo->rsrp = tempData; in ProcessNrSsbId() 2108 nrSsbIdInfo->sinr = tempData; in ProcessNrSsbId() [all …]
|
H A D | vendor_report.c | 108 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()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_formmap_operations.cpp | 193 PublishedDataItem::DataType tempData; in PublishedChange() local 196 tempData = noPicData.dump(); in PublishedChange() 200 … data.datas_.emplace_back(PublishedDataItem(MEDIA_LIBRARY_PROXY_DATA_URI, formId, tempData)); in PublishedChange() 201 … data.datas_.emplace_back(PublishedDataItem(MEDIA_LIBRARY_PROXY_IMAGE_URI, formId, tempData)); in PublishedChange() 213 tempData = buffer; in PublishedChange() 219 … data.datas_.emplace_back(PublishedDataItem(MEDIA_LIBRARY_PROXY_DATA_URI, formId, tempData)); in PublishedChange()
|
/ohos5.0/base/sensors/sensor/utils/common/src/ |
H A D | print_sensor_data.cpp | 219 auto tempData = reinterpret_cast<const float *>(data.data); in PrintSensorDataLog() local 221 CHKPV(tempData); in PrintSensorDataLog() 222 str.append(std::to_string(*tempData)); in PrintSensorDataLog() 226 ++tempData; in PrintSensorDataLog()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | utils.cpp | 60 auto tempData = Utils::LoadResourceFile(iconPath, len); in GetMediaBase64Data() local 61 if (tempData == nullptr) { in GetMediaBase64Data() 70 Utils::EncodeBase64(tempData, len, imgType, base64Data); in GetMediaBase64Data() 88 std::unique_ptr<uint8_t[]> tempData = std::make_unique<uint8_t[]>(len); in LoadResourceFile() local 89 if (tempData == nullptr) { in LoadResourceFile() 93 mediaStream.read(reinterpret_cast<char *>(tempData.get()), len); in LoadResourceFile() 94 return tempData; in LoadResourceFile()
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/ |
H A D | cm_fuzz_test_common.cpp | 104 uint8_t *tempData = static_cast<uint8_t *>(CmMalloc(sizeof(uint8_t) * size)); in CopyMyData() local 105 if (tempData == nullptr) { in CopyMyData() 108 (void)memcpy_s(tempData, size, data, size); in CopyMyData() 110 *myData = tempData; in CopyMyData()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_data_helper.cpp | 154 UnifiedData tempData; in Unpack() local 155 if (!LoadUDataFromFile(file->GetUri(), tempData)) { in Unpack() 159 data.SetRecords(tempData.GetRecords()); in Unpack()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/ |
H A D | properties.cpp | 238 RawPropertyData tempData; in getDirectValue() local 239 if (!getRawValue(tempData.data(), tempData.size())) { in getDirectValue() 242 m_value = m_converter(tempData, m_defaultValue); in getDirectValue()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | improve-file-upload-and-download-performance.md | 228 let tempData = await this.getFilesAndData(this.context.cacheDir, fileUris); 230 for (let i = 0; i < tempData.length; i++) { 231 let flag = await this.checkFileExist(`${this.context.cacheDir}/${tempData[i].name}`); 233 this.config.data.push(tempData[i])
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
H A D | hks_aes_cipher_ccm_test.cpp | 683 uint8_t *tempData = reinterpret_cast<uint8_t *>(HksMalloc(dataLen)); in HksAesCmcCipherTestCaseRun() local 684 EXPECT_NE(tempData, nullptr); in HksAesCmcCipherTestCaseRun() 687 (void)memset_s(tempData, dataLen, '0', dataLen); in HksAesCmcCipherTestCaseRun() 689 (void)memcpy_s(tempData, dataLen, in HksAesCmcCipherTestCaseRun() 692 struct HksBlob inData = {dataLen, tempData}; in HksAesCmcCipherTestCaseRun() 733 HKS_FREE(tempData); in HksAesCmcCipherTestCaseRun() 1296 HKS_FREE(tempData); 1369 uint8_t *tempData = reinterpret_cast<uint8_t *>(HksMalloc(tempLen)); variable 1370 struct HksBlob inData = {tempLen, tempData}; 1371 struct HksBlob cipherText = {tempLen, tempData }; [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/ |
H A D | ipc_invoker.c | 234 uint8 tempData[MAX_IO_SIZE]; in HandleTransaction() local 235 IpcIoInit(&reply, tempData, MAX_IO_SIZE, MAX_OBJ_NUM); in HandleTransaction() 428 uint8 tempData[MAX_IO_SIZE]; in InternalRequest() local 429 IpcIoInit(reply, tempData, MAX_IO_SIZE, MAX_OBJ_NUM); in InternalRequest()
|
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/ |
H A D | ipc_invoker.c | 300 uint8 tempData[MAX_IO_SIZE]; in CallIpcCallback() local 301 IpcIoInit(&reply, tempData, MAX_IO_SIZE, MAX_OBJ_NUM); in CallIpcCallback() 500 uint8 tempData[MAX_IO_SIZE]; in IpcJoinThreadLoop() local 501 IpcIoInit(&reply, tempData, MAX_IO_SIZE, MAX_OBJ_NUM); in IpcJoinThreadLoop()
|
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_napi_utils.cpp | 206 uint8_t *tempData = context.mediaData.release(); in CreateJsUint8Array() local 207 int ret = memcpy_s(data, context.len_, tempData, context.len_); in CreateJsUint8Array() 208 delete[] tempData; in CreateJsUint8Array()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 1263 auto tempData = context->GetTempData(); in AddCurlHandle() local 1265 if (tempData.empty()) { in AddCurlHandle() 1269 …napi_value arrayBuffer = NapiUtils::CreateArrayBuffer(context->GetEnv(), tempData.size(), &buffer); in AddCurlHandle() 1273 if (memcpy_s(buffer, tempData.size(), tempData.data(), tempData.size()) != EOK) { in AddCurlHandle()
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | improve-file-upload-and-download-performance.md | 235 let tempData = await this.getFilesAndData(this.context.cacheDir, fileUris); 237 for (let i = 0; i < tempData.length; i++) { 238 let flag = await this.checkFileExist(`${this.context.cacheDir}/${tempData[i].name}`); 240 this.config.data.push(tempData[i])
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_three_stage.c | 313 struct HksBlob *tempData = (struct HksBlob *)HksMalloc(sizeof(struct HksBlob)); in SetCacheModeCtx() local 314 HKS_IF_NULL_LOGE_RETURN(tempData, HKS_ERROR_MALLOC_FAIL, "get cache mode ctx malloc fail.") in SetCacheModeCtx() 316 tempData->size = 0; in SetCacheModeCtx() 317 tempData->data = NULL; in SetCacheModeCtx() 318 ctxParam->uint64Param = (uint64_t)(uintptr_t)tempData; in SetCacheModeCtx()
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | rsa_asy_key_generator_openssl.c | 401 unsigned char *tempData = NULL; in EncodePubKeyToX509() local 402 int len = OpensslI2dRsaPubKey(rsa, &tempData); in EncodePubKeyToX509() 408 returnBlob->data = tempData; in EncodePubKeyToX509()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/frame/standard/ |
H A D | softbus_frame_standard_test.cpp | 224 MessageParcel tempData; variable
|