Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkupdate/
H A DRKBoot.cpp49 DWORD dwOffset; in SaveEntryFile() local
54 dwOffset = m_471Offset; in SaveEntryFile()
59 dwOffset = m_472Offset; in SaveEntryFile()
64 dwOffset = m_loaderOffset; in SaveEntryFile()
76 pEntry = (PSTRUCT_RKBOOT_ENTRY)(m_BootData + dwOffset + (ucSize * ucIndex)); in SaveEntryFile()
89 DWORD dwOffset; in GetEntryProperty() local
94 dwOffset = m_471Offset; in GetEntryProperty()
99 dwOffset = m_472Offset; in GetEntryProperty()
104 dwOffset = m_loaderOffset; in GetEntryProperty()
116 pEntry = (PSTRUCT_RKBOOT_ENTRY)(m_BootData + dwOffset + (ucSize * ucIndex)); in GetEntryProperty()
[all …]
H A DRKImage.cpp162 bool CRKImage::GetData(long long dwOffset, DWORD dwSize, PBYTE lpBuffer) in GetData() argument
164 if (dwOffset < 0 || dwSize == 0) in GetData()
168 if (dwOffset + dwSize > m_fileSize) in GetData()
173 fseeko64(m_pFile, dwOffset, SEEK_SET); in GetData()
H A DUpgrade.cpp362 bool check_fw_header(CRKComm *pComm, DWORD dwOffset, PSTRUCT_RKIMAGE_HDR pHeader, CRKLog *pLog = NU… in check_fw_header() argument
373 iRet = pComm->RKU_ReadLBA(dwOffset, nHeaderSec, pBuf); in check_fw_header()
402 bool check_fw_crc(CRKComm *pComm, DWORD dwOffset, PSTRUCT_RKIMAGE_HDR pHeader, CRKLog *pLog = NULL) in check_fw_crc() argument
425 UINT uiBegin = dwOffset, uiLen, uiCrc = 0, uiReadBytes = 0; in check_fw_crc()
458 if (!read_bytes_from_partition(dwOffset, ullCrcOffset, 4, oldCrc, pComm)) in check_fw_crc()
H A DRKAndroidDevice.h261 bool write_partition_upgrade_flag(DWORD dwOffset, BYTE *pMd5, UINT uiFlag);
262 bool read_partition_upgrade_flag(DWORD dwOffset, BYTE *pMd5, UINT *uiFlag);
H A DRKImage.h54 bool GetData(long long dwOffset, DWORD dwSize, PBYTE lpBuffer);
H A DRKAndroidDevice.cpp1733 bool CRKAndroidDevice::write_partition_upgrade_flag(DWORD dwOffset, BYTE *pMd5, UINT uiFlag) in write_partition_upgrade_flag() argument
1740 iRet = m_pComm->RKU_WriteLBA(dwOffset, 1, flagSector); in write_partition_upgrade_flag()
1751 bool CRKAndroidDevice::read_partition_upgrade_flag(DWORD dwOffset, BYTE *pMd5, UINT *uiFlag) in read_partition_upgrade_flag() argument
1759 iRet = m_pComm->RKU_ReadLBA(dwOffset, 1, flagSector); in read_partition_upgrade_flag()
/OK3568_Linux_fs/external/rktoolkit/update_recv/
H A Dupdate_recv.c85 bool GetData(long long dwOffset,DWORD dwSize,PBYTE lpBuffer) in GetData() argument
87 if ( dwOffset<0 || dwSize==0 ) in GetData()
90 if ( dwOffset + dwSize > m_fileSize) in GetData()
94 fseek(pImgFile, dwOffset, SEEK_SET); in GetData()
/OK3568_Linux_fs/external/recovery/update_engine/
H A Drkboot.c88 DWORD dwOffset; in getLoaderSizeAndData() local
92 dwOffset = pBootHead->dwLoaderEntryOffset; in getLoaderSizeAndData()
97 pEntry = (PSTRUCT_RKBOOT_ENTRY)(data_buf + dwOffset + (ucSize * i)); in getLoaderSizeAndData()