Lines Matching refs:uiLen
261 bool ParsePartitionInfo(string &strPartInfo, string &strName, UINT &uiOffset, UINT &uiLen) in ParsePartitionInfo() argument
278 uiLen = 0xFFFFFFFF; in ParsePartitionInfo()
280 iCount = sscanf(strLen.c_str(), "0x%x", &uiLen); in ParsePartitionInfo()
2553 bool read_lba(STRUCT_RKDEVICE_DESC &dev, UINT uiBegin, UINT uiLen, char *szFile) in read_lba() argument
2574 while(uiLen > 0) { in read_lba()
2576 iRead = (uiLen >= DEFAULT_RW_LBA) ? DEFAULT_RW_LBA : uiLen; in read_lba()
2579 uiLen -= iRead; in read_lba()
2586 … printf("Read LBA to file (%d%%)\r\n", (iTotalRead / 1024) * 100 / ((uiLen + iTotalRead) / 1024)); in read_lba()
2588 printf("Read LBA to file (%d%%)\r\n", iTotalRead * 100 / (uiLen + iTotalRead)); in read_lba()
2594 … printf("Read LBA to file (%d%%)\r\n", (iTotalRead / 1024) * 100 / ((uiLen + iTotalRead) / 1024)); in read_lba()
2596 printf("Read LBA to file (%d%%)\r\n", iTotalRead * 100 / (uiLen + iTotalRead)); in read_lba()
2933 UINT uiLen; in write_lba() local
2952 uiLen = ((iWrite % 512) == 0) ? (iWrite / 512) : (iWrite / 512 + 1); in write_lba()
2953 iRet = pComm->RKU_WriteLBA( uiBegin, uiLen, pBuf); in write_lba()
2955 uiBegin += uiLen; in write_lba()
3322 UINT uiBegin, uiLen; in handle_command() local
3330 uiLen = strtoul(argv[3], &pszEnd, 0); in handle_command()
3334 bSuccess = read_lba(dev, uiBegin, uiLen, argv[4]); in handle_command()