Lines Matching refs:idx
65 int32 y, tmp, idx, min;
107 for (idx = 0; idx < 3; idx++) {
109 ystt[idx] = year_to_ntp(y + idx - 1);
111 test[idx] = ystt[idx] + tmp;
113 diff[idx] = test[idx] - rec_ui;
114 if (diff[idx] >= 0x80000000u)
115 diff[idx] = ~diff[idx] + 1;
118 for (min = 1, idx = 0; idx < 3; idx++)
119 if (diff[idx] < diff[min])
120 min = idx;