Lines Matching refs:bRet
256 bool bRet; in parse_config_file() local
257 bRet = parse_config(pConfigBuf, vecItem); in parse_config_file()
259 return bRet; in parse_config_file()
344 bool bRet,bFind = false; in parse_parameter() local
369 bRet = ParseUuidInfo(strPartInfo, strPartName, strUUid); in parse_parameter()
370 if (bRet) { in parse_parameter()
392 bRet = ParsePartitionInfo(strPartInfo, strPartName, uiPartOffset, uiPartSize); in parse_parameter()
393 if (bRet) { in parse_parameter()
404 bRet = ParsePartitionInfo(strPartInfo, strPartName, uiPartOffset, uiPartSize); in parse_parameter()
405 if (bRet) { in parse_parameter()
445 bool bRet; in parse_parameter_file() local
446 bRet = parse_parameter(pParamBuf, vecItem, vecUuidItem); in parse_parameter_file()
448 return bRet; in parse_parameter_file()
570 bool bFound = false, bRet; in get_lba_from_param() local
574 bRet = parse_parameter((char *)param, vecItem, vecUuid); in get_lba_from_param()
575 if (!bRet) in get_lba_from_param()
874 bool bRet, bSuccess = false; in write_parameter() local
878 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_parameter()
879 if (!bRet) { in write_parameter()
929 bool bRet, bSuccess = false; in write_gpt() local
933 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_gpt()
934 if (!bRet) { in write_gpt()
963 bRet = parse_parameter_file(szParameter, vecItems, vecUuid); in write_gpt()
964 if (!bRet) { in write_gpt()
1769 bool bRet, bSuccess = false; in download_boot() local
1772 pImage = new CRKImage(szLoader, bRet); in download_boot()
1773 if (!bRet){ in download_boot()
1785 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in download_boot()
1786 if (!bRet) { in download_boot()
1836 bool bRet,bNewIDBlock=false, bSuccess = false; in upgrade_loader() local
1850 pImage = new CRKImage(szLoader, bRet); in upgrade_loader()
1851 if (!bRet){ in upgrade_loader()
1860 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in upgrade_loader()
1861 if (!bRet) { in upgrade_loader()
1877 bRet = pBoot->GetEntryProperty(ENTRYLOADER, index, dwLoaderSize, dwDelay); in upgrade_loader()
1878 if (!bRet) { in upgrade_loader()
1903 bRet = pBoot->GetEntryProperty(ENTRYLOADER, index, dwLoaderDataSize, dwDelay); in upgrade_loader()
1904 if (!bRet) { in upgrade_loader()
1922 bRet = pBoot->GetEntryProperty(ENTRYLOADER, index, dwLoaderHeadSize, dwDelay); in upgrade_loader()
1923 if (!bRet) { in upgrade_loader()
2037 bool bRet, bSuccess = false; in print_gpt() local
2045 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in print_gpt()
2046 if (!bRet) { in print_gpt()
2091 bool bRet, bSuccess = false; in print_parameter() local
2097 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in print_parameter()
2098 if (!bRet) { in print_parameter()
2120 bRet = parse_parameter((char *)(param_buf+8), vecParamItem, vecUuidItem); in print_parameter()
2121 if (!bRet) { in print_parameter()
2144 bool bRet, bSuccess = false; in erase_flash() local
2153 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in erase_flash()
2154 if (!bRet) { in erase_flash()
2181 bRet = pDevice->GetFlashInfo(); in erase_flash()
2182 if (!bRet) { in erase_flash()
2217 bool bRet, bSuccess = false; in test_device() local
2219 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in test_device()
2220 if (bRet) { in test_device()
2244 bool bRet, bSuccess = false; in reset_device() local
2246 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in reset_device()
2247 if (bRet) { in reset_device()
2272 bool bRet, bSuccess = false; in change_storage() local
2274 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in change_storage()
2275 if (bRet) { in change_storage()
2316 bool bRet, bSuccess = false; in read_flash_id() local
2321 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_flash_id()
2322 if (bRet) { in read_flash_id()
2345 bool bRet, bSuccess = false; in read_flash_info() local
2350 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_flash_info()
2351 if (bRet) { in read_flash_info()
2393 bool bRet, bSuccess = false; in read_chip_info() local
2398 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_chip_info()
2399 if (bRet) { in read_chip_info()
2424 bool bRet, bSuccess = false; in read_capability() local
2429 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_capability()
2430 if (bRet) { in read_capability()
2497 bool bRet, bSuccess = false; in read_param() local
2499 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_param()
2500 if (bRet) { in read_param()
2529 bool bRet, bSuccess = false; in read_gpt() local
2531 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_gpt()
2532 if (bRet) { in read_gpt()
2559 bool bRet, bFirst = true, bSuccess = false; in read_lba() local
2564 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in read_lba()
2565 if (bRet) { in read_lba()
2627 bool bRet,bSuccess=false; in erase_ubi_block() local
2635 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in erase_ubi_block()
2636 if (!bRet) in erase_ubi_block()
2763 bool bRet, bSuccess = false, bFirst = true; in write_sparse_lba() local
2772 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_sparse_lba()
2773 if (bRet) { in write_sparse_lba()
2795 bRet = erase_partition(pComm, uiBegin, uiSize); in write_sparse_lba()
2796 if (!bRet) { in write_sparse_lba()
2929 bool bRet, bFirst = true, bSuccess = false; in write_lba() local
2938 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_lba()
2939 if (bRet) { in write_lba()
3100 bool bRet,bSuccess = false; in handle_command() local
3157 bRet = pScan->GetDevice(dev, 0); in handle_command()
3158 if (!bRet) { in handle_command()
3272 bRet = read_gpt(dev, master_gpt); in handle_command()
3273 if (bRet) { in handle_command()
3274 bRet = get_lba_from_gpt(master_gpt, argv[2], &lba, &lba_end); in handle_command()
3275 if (bRet) { in handle_command()
3295 bRet = read_param(dev, param_buffer); in handle_command()
3296 if (bRet) { in handle_command()
3297 bRet = get_lba_from_param(param_buffer+8, argv[2], &part_offset, &part_size); in handle_command()
3298 if (bRet) { in handle_command()