Lines Matching refs:installCnt
282 int parseConfigAppInfo(int *installCnt, int *uninstallCnt) in parseConfigAppInfo() argument
295 *installCnt = *uninstallCnt = 0; in parseConfigAppInfo()
296 …while (((numRead = getline(&line, &len, fp)) != -1) && (*installCnt < MAX_INSTALL_CNT) && (*uninst… in parseConfigAppInfo()
301 …INGIFY(MAX_APP_NAME_LEN) "s %" PRIx64 " %" PRIx32 "\n", appsToInstall[*installCnt], &appId, &appVe… in parseConfigAppInfo()
304 if (strncmp(appsToInstall[*installCnt], UNINSTALL_CMD, MAX_APP_NAME_LEN) == 0) { in parseConfigAppInfo()
310 (*installCnt)++; in parseConfigAppInfo()
319 return *installCnt + *uninstallCnt; in parseConfigAppInfo()
577 int installCnt, uninstallCnt; in main() local
585 int updateCnt = parseConfigAppInfo(&installCnt, &uninstallCnt); in main()
591 parseConfigAppInfo(&installCnt, &uninstallCnt); in main()
594 downloadApps(installCnt); in main()
601 if (parseConfigAppInfo(&installCnt, &uninstallCnt) != 0) { in main()