Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkupdate/
H A DUpgrade.cpp298 UINT uiBegin = dwPartitionOffset, uiLen, uiReadBytes = 0, uiTmp; in read_bytes_from_partition() local
312 uiReadBytes = 2048 - uiTmp; in read_bytes_from_partition()
321 if (dwCount >= uiReadBytes) in read_bytes_from_partition()
323 memcpy(pOut + dwWritePos, pBuffer + uiTmp, uiReadBytes); in read_bytes_from_partition()
324 dwWritePos += uiReadBytes; in read_bytes_from_partition()
325 dwCount -= uiReadBytes; in read_bytes_from_partition()
339 uiReadBytes = uiTransferSize; in read_bytes_from_partition()
344 uiReadBytes = dwCount; in read_bytes_from_partition()
345 uiLen = BYTE2SECTOR(uiReadBytes); in read_bytes_from_partition()
353 memcpy(pOut + dwWritePos, pBuffer, uiReadBytes); in read_bytes_from_partition()
[all …]