/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/ |
H A D | fixed_size_list.h | 28 FixedSizeList(size_t size) : maxSize(size), currentSize(0), index(0) in FixedSizeList() 38 if (currentSize < maxSize) { in add() 39 ++currentSize; in add() 46 for (size_t i = 0; i < currentSize; ++i) { in find_if() 61 currentSize = 0; in clear() 68 if (position < currentSize) { in remove_at() 69 for (size_t i = position; i < currentSize - 1; ++i) { in remove_at() 72 --currentSize; in remove_at() 79 size_t currentSize; variable
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | dympool.c | 38 pool->currentSize = 0; in DympCreatePool() 52 pool->currentSize = DympAskMoreMemory(pool, initSize, FILLP_FALSE); in DympCreatePool() 53 if (pool->currentSize <= 0) { in DympCreatePool() 59 maxSize, pool->currentSize, itemSize); in DympCreatePool() 164 pool->currentSize += itemCount; in DympExpandMemory() 167 FILLP_LOGINF("stepSize:%d, Current pool size:%d", itemCount, pool->currentSize); in DympExpandMemory() 191 maxSizeRemain = tempMax - pool->currentSize; in DympAskMoreMemory() 217 if ((ret <= 0) && (pool->autoExpand == FILLP_TRUE) && (pool->currentSize < pool->maxSize) && in DympAlloc()
|
/ohos5.0/base/update/sys_installer_lite/frameworks/source/updater/ |
H A D | hota_updater.c | 47 unsigned int currentSize; /* Currently downloaded size of the component */ member 294 g_currentDloadComp.currentSize = 0; in InitDloadNextComp() 379 g_currentDloadComp.currentSize = sizeof(PkgBasicInfo); in ProcessInfoCompHeader() 423 if (g_currentDloadComp.currentSize + buffSize > MAX_BUFFER_SIZE) { in CopyToDloadCompBuffer() 428 …(memcpy_s(g_infoCompBuff + g_currentDloadComp.currentSize, MAX_BUFFER_SIZE - g_currentDloadComp.cu… in CopyToDloadCompBuffer() 482 g_currentDloadComp.currentSize += (endAddr - startAddr); in StashRecvDataToBuffer() 529 g_currentDloadComp.currentSize += (sizeof(PkgBasicInfo) - tempOffset); in HotaDefaultWrite() 530 … if (ProcessInfoCompHeader(g_infoCompBuff, g_currentDloadComp.currentSize) != OHOS_SUCCESS) { in HotaDefaultWrite() 540 g_currentDloadComp.currentSize += tempBuffSize; in HotaDefaultWrite()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | tensor_mapping.h | 55 const int64_t currentSize = m_liteTensorToNnTensor.size(); in AddNewNnTensorIndex() local 56 if (tfliteIndex >= currentSize) { in AddNewNnTensorIndex() 85 const int64_t currentSize = m_indexToTypeConversion.size(); in AddTypeConversion() local 86 if (tfliteIndex >= currentSize) { in AddTypeConversion()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | dympool.h | 56 int currentSize; /* Current size of memory alloced */ member 73 #define DYMP_GET_CUR_SIZE(_pool) (((DympoolType *)(_pool))->currentSize)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar_item.cpp | 169 auto currentSize = GridSystemManager::GetInstance().GetCurrentSize(); in PerformLayout() local 170 if (currentSize == GridSizeType::SM) { in PerformLayout() 173 } else if (currentSize >= GridSizeType::MD) { in PerformLayout()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapi_fuzzer/ |
H A D | audiodecoderdemo.cpp | 513 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 527 if (isFirstFrame_ == false || currentSize <= 0) { in InputFunc() 534 strncpy_s((char *)OH_AVMemory_GetAddr(buffer), currentSize, inputdata.c_str(), currentSize); in InputFunc() 535 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|
/ohos5.0/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 341 struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) in UsbnetHostNotificationBufferProcess() argument 355 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess() 402 unsigned int currentSize = (unsigned int)req->actualLength; in UsbnetHostReqCallback() local 404 HARCH_INFO_PRINT("Irqstatus:%{public}d,actualLength:%{public}u\n", req->status, currentSize); in UsbnetHostReqCallback() 420 if (currentSize < expectedSize) { in UsbnetHostReqCallback() 421 … if (UsbnetHostNotificationBufferProcess(req, usbNet, currentSize, expectedSize) != HDF_SUCCESS) { in UsbnetHostReqCallback() 424 currentSize = usbNet->nbIndex; in UsbnetHostReqCallback() 427 if (currentSize >= expectedSize) { in UsbnetHostReqCallback()
|
H A D | cdc_ether.c | 748 unsigned int currentSize, uint32_t expectedSize) in EcmNotificationAndRequest() argument 750 if (currentSize >= expectedSize) { in EcmNotificationAndRequest() 765 unsigned int currentSize = req->compInfo.actualLength; in EcmCtrlIrq() local 780 if (currentSize < expectedSize) { in EcmCtrlIrq() 793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq() 803 currentSize = ecm->nbIndex; in EcmCtrlIrq() 805 EcmNotificationAndRequest(req, ecm, dr, currentSize, expectedSize); in EcmCtrlIrq()
|
/ohos5.0/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial_rawapi.c | 1038 …const struct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int exp… in AcmNotificationBufferProcess() argument 1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess() 1079 unsigned int currentSize = (unsigned int)req->actualLength; in AcmNotifyReqCallback() local 1082 HDF_LOGD("Irqstatus:%{public}d,actualLength:%{public}u", req->status, currentSize); in AcmNotifyReqCallback() 1097 if (currentSize < expectedSize) { in AcmNotifyReqCallback() 1098 if (AcmNotificationBufferProcess(req, acm, currentSize, expectedSize) != HDF_SUCCESS) { in AcmNotifyReqCallback() 1101 currentSize = acm->nbIndex; in AcmNotifyReqCallback() 1103 if (currentSize >= expectedSize) { in AcmNotifyReqCallback()
|
H A D | usb_serial.c | 1277 unsigned int currentSize = req->compInfo.actualLength; in AcmCtrlIrqCheckSize() local 1278 HDF_LOGD("actualLength:%{public}u", currentSize); in AcmCtrlIrqCheckSize() 1281 if (currentSize < expectedSize) { in AcmCtrlIrqCheckSize() 1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize() 1302 currentSize = acm->nbIndex; in AcmCtrlIrqCheckSize() 1305 if (currentSize >= expectedSize) { in AcmCtrlIrqCheckSize()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapi_fuzzer/ |
H A D | audioencoderdemo.cpp | 563 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 573 strncpy_s((char *)OH_AVMemory_GetAddr(buffer), currentSize, inputdata.c_str(), currentSize); in InputFunc() 574 if (isFirstFrame_ == false || currentSize <= 0) { in InputFunc()
|
/ohos5.0/drivers/external_device_manager/frameworks/ddk/usb/ |
H A D | usb_config_desc_parser.cpp | 273 size_t currentSize = interfaceNums.size(); in GetInterfaceNumberDes() local 275 for (i = 0; i < currentSize; ++i) { in GetInterfaceNumberDes() 280 if (i < currentSize) { in GetInterfaceNumberDes() 284 } else if (currentSize < USB_MAXINTERFACES) { in GetInterfaceNumberDes()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audioencoder_fuzzer/ |
H A D | audio_encoder_demo.cpp | 396 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 406 strncpy_s((char *)OH_AVBuffer_GetAddr(buffer), currentSize, inputdata.c_str(), currentSize); in InputFunc() 407 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audioencoderflush_fuzzer/ |
H A D | audio_encoder_flush_demo.cpp | 375 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 385 …(reinterpret_cast<char*>(OH_AVBuffer_GetAddr(buffer)), currentSize, inputdata.c_str(), currentSize… in InputFunc() 386 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audioencoderreset_fuzzer/ |
H A D | audio_encoder_reset_demo.cpp | 375 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 385 …(reinterpret_cast<char*>(OH_AVBuffer_GetAddr(buffer)), currentSize, inputdata.c_str(), currentSize… in InputFunc() 386 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | cache_data.cpp | 435 size_t currentSize = shaderPointers_.size(); in RandClean() local 436 if (currentSize == 0) { in RandClean() 440 size_t removeIndex = sizeRandIndex % (currentSize); in RandClean()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/ |
H A D | audio_decoder_demo.cpp | 428 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 439 …(reinterpret_cast<char*>(OH_AVBuffer_GetAddr(buffer)), currentSize, inputdata.c_str(), currentSize… in InputFunc() 440 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/ |
H A D | audio_decoder_flush_demo.cpp | 387 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 398 …(reinterpret_cast<char*>(OH_AVBuffer_GetAddr(buffer)), currentSize, inputdata.c_str(), currentSize… in InputFunc() 399 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 387 size_t currentSize = inputdatasize < frameBytes ? inputdatasize : frameBytes; in InputFunc() local 398 …(reinterpret_cast<char*>(OH_AVBuffer_GetAddr(buffer)), currentSize, inputdata.c_str(), currentSize… in InputFunc() 399 buffer->buffer_->memory_->SetSize(currentSize); in InputFunc()
|
/ohos5.0/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/include/ |
H A D | tag_nci_adapter_rw.h | 78 … void HandleNdefCheckResult(uint8_t status, uint32_t currentSize, uint32_t flag, uint32_t maxSize);
|
H A D | tag_nci_adapter_ntf.h | 87 … void HandleNdefCheckResult(uint8_t status, uint32_t currentSize, uint32_t flag, uint32_t maxSize);
|
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.cpp | 140 uint32_t currentSize = req->compInfo.actualLength; in AcmCtrlIrq() local 153 if (currentSize < expectedSize) { in AcmCtrlIrq() 166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq() 172 currentSize = acm->nbIndex; in AcmCtrlIrq() 174 if (currentSize >= expectedSize) { in AcmCtrlIrq()
|
H A D | usb_raw_sdk_if_test.cpp | 241 unsigned int currentSize = req->actualLength; in AcmNotifyReqCallback() local 250 if (currentSize < expectedSize) { in AcmNotifyReqCallback() 263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback() 269 currentSize = acm->nbIndex; in AcmNotifyReqCallback() 271 if (currentSize >= expectedSize) { in AcmNotifyReqCallback()
|
H A D | usb_host_sdk_if_test_io.cpp | 102 unsigned int currentSize = req->compInfo.actualLength; in AcmCtrlIrq() local 103 …F_LOGI("%{public}s: Irqstatus:%{public}d, actualLength:%{public}u", __func__, status, currentSize); in AcmCtrlIrq()
|