Home | History | Annotate | Download | only in iomd

Lines Matching refs:loop

194 	# Loop round all the modespecs on the command line
227 # Now loop round all the modes we parsed and find the matches
228 for (loop = 0; loop < mode; loop = loop + 1) {
230 if (modespec[1] != modes[loop, 1]) continue;
231 if (modespec[2] != modes[loop, 2]) continue;
235 ht = split(modes[loop, 4], htimings, ",");
237 vt = split(modes[loop, 5], vtimings, ",");
241 fr = modes[loop, 3] / (htimings[1] + htimings[2] + \
249 modes[loop, 7] = int(fr + 0.5);
252 modes[loop, "timings"] = \
255 modes[loop, 3], htimings[4], \
267 pol[modes[loop, 6]], modes[loop, 0]);
270 printf("%d ", modes[loop, 7]) | "cat 1>&2";
273 if (closest > mod(modes[loop, 7] - modespec[4])) {
274 closest = mod(modes[loop, 7] - modespec[4]);
275 pos = loop;
279 if (modes[loop, 7] == modespec[4])