Home
last modified time | relevance | path

Searched refs:totalBlockNum (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_file_manager_client.c111 if (targetSequence == fileInfo->totalBlockNum - 1) { in GetEncryptedDataFrame()
160 if (targetSequence == fileInfo->totalBlockNum - 1) { in GetNoEncryptedDataFrame()
273 if (blockSequence >= fileInfo->totalBlockNum) { in CreateRetranBlockFrame()
295 if (blockSequence == fileInfo->totalBlockNum - 1) { in CreateRetranBlockFrame()
695 fileInfo->totalBlockNum++; in AddSendFileInfo()
880 uint32_t totalBlockNum; in IsValidOutSet() local
888 totalBlockNum = (fileList->tarFlag == NSTACKX_TRUE) ? in IsValidOutSet()
889 … fileList->tarFileInfo.totalBlockNum : fileList->fileInfo[fileId - 1].totalBlockNum; in IsValidOutSet()
890 if (blockSequence >= totalBlockNum) { in IsValidOutSet()
1275 if (fileList->fileInfo[fileId - 1].totalBlockNum == 0) { in FileManagerGetLastSequence()
[all …]
H A Dnstackx_file_manager.c331 if (fileInfo->maxSequenceSend + 1 == fileInfo->totalBlockNum) { in FileGetBytesTransferred()
359 … if ((fileList->tarFileInfo.maxSequenceSend + 1) == (int32_t)fileList->tarFileInfo.totalBlockNum) { in FileListGetBytesTransferred()
453 fileList->fileInfo[i].receivedBlockNum == fileList->fileInfo[i].totalBlockNum && in ClearIncompleteRecvFiles()
544 if (++fileInfo->receivedBlockNum == fileInfo->totalBlockNum) { in WriteToFile()
563 if (info->receivedBlockNum == info->totalBlockNum) { in GetFrameHearderInfo()
564 …I(TAG, "fileId (%hu) has already finished written totalBlockNum %u", *fileId, info->totalBlockNum); in GetFrameHearderInfo()
570 if (*blockSequence >= fileList->fileInfo[*fileId - 1].totalBlockNum || in GetFrameHearderInfo()
590 if (fileInfo->receivedBlockNum < fileInfo->totalBlockNum) { in UpdateFileListRecvStatus()
1486 fileInfo->totalBlockNum = (uint32_t)(fileInfo->fileSize / standardBlockSize); in AddRecvFileInfo()
1488 fileInfo->totalBlockNum++; in AddRecvFileInfo()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_file_manager.h109 uint32_t totalBlockNum; member