Lines Matching refs:i
34 for (int i = 0; i < g_jobCnt; i++) { in DumpAllJobs() local
35 INIT_LOGV("\tjob name: %s", g_jobs[i].name); in DumpAllJobs()
36 if (g_jobs[i].cmdLines == NULL) { in DumpAllJobs()
40 for (int j = 0; j < g_jobs[i].cmdLines->cmdNum; j++) { in DumpAllJobs()
41 CmdLine *cmd = &g_jobs[i].cmdLines->cmds[j]; in DumpAllJobs()
118 for (int i = 0; i < jobArrSize; ++i) { in ParseAllJobs() local
119 cJSON *jobItem = cJSON_GetArrayItem(jobArr, i); in ParseAllJobs()
120 ParseJob(jobItem, &(tmp[i])); in ParseAllJobs()
134 for (int i = 0; i < g_jobCnt; ++i) { in DoJob() local
135 if (strncmp(jobName, g_jobs[i].name, strlen(g_jobs[i].name)) == 0) { in DoJob()
136 CmdLines *cmdLines = g_jobs[i].cmdLines; in DoJob()
153 for (int i = 0; i < g_jobCnt; ++i) { in ReleaseAllJobs() local
154 if (g_jobs[i].cmdLines != NULL) { in ReleaseAllJobs()
155 free(g_jobs[i].cmdLines); in ReleaseAllJobs()