Home
last modified time | relevance | path

Searched refs:maxSequenceSend (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.c191 uint32_t targetSequence = (uint32_t)(fileList->tarFileInfo.maxSequenceSend); in GetEncryptedDataTarFrame()
227 fileDataFrame->blockSequence = htonl((uint32_t)fileList->tarFileInfo.maxSequenceSend); in GetNoEncryptedDataTarFrame()
340 fileList->fileInfo[fileId - 1].maxSequenceSend = (int64_t)blockSequence - 1; in GetFileInfo()
342 fileList->fileInfo[i - 1].maxSequenceSend = -1; in GetFileInfo()
371 if (fileInfo->maxSequenceSend == (int32_t)(fileInfo->totalBlockNum - 1)) { in UpdateFileLisSendStatus()
416 if (fileInfo->maxSequenceSend == -1) { in CreateSendBlockFrame()
421 (uint32_t)(fileInfo->maxSequenceSend + 1)); in CreateSendBlockFrame()
433 fileInfo->maxSequenceSend++; in CreateSendBlockFrame()
661 fmFileList->tarFileInfo.maxSequenceSend = -1; in AddTarFileInfo()
700 fileInfo->maxSequenceSend = -1; in AddSendFileInfo()
[all …]
H A Dnstackx_file_manager.c328 if (fileInfo->maxSequenceSend < 0) { in FileGetBytesTransferred()
331 if (fileInfo->maxSequenceSend + 1 == fileInfo->totalBlockNum) { in FileGetBytesTransferred()
334 … ret = ((uint64_t)fileInfo->standardBlockSize) * ((uint64_t)fileInfo->maxSequenceSend + 1); in FileGetBytesTransferred()
356 if (fileList->tarFileInfo.maxSequenceSend < 0) { in FileListGetBytesTransferred()
359 … if ((fileList->tarFileInfo.maxSequenceSend + 1) == (int32_t)fileList->tarFileInfo.totalBlockNum) { in FileListGetBytesTransferred()
363 ((uint64_t)fileList->tarFileInfo.maxSequenceSend + 1); in FileListGetBytesTransferred()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_file_manager.h118 int64_t maxSequenceSend; member