Lines Matching refs:cnt
88 int cnt; in datapidgen() local
100 if (cnt = (offset % NBPW)) { /* partial word */ in datapidgen()
102 woff = offset - cnt; in datapidgen()
104 printf("partial at beginning, cnt = %d, woff = %d\n", cnt, in datapidgen()
114 for (tmp = 0; tmp < cnt; tmp++) { /* skip unused bytes */ in datapidgen()
118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen()
131 for (cnt = 0; cnt < num_full_words; woff += NBPW, cnt++) { in datapidgen()
153 if (cnt = ((bsize - boff) % NBPW)) { in datapidgen()
163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen()
185 int cnt; in datapidchk() local
201 if (cnt = (offset % NBPW)) { /* partial word */ in datapidchk()
202 woff = offset - cnt; in datapidchk()
209 for (tmp = 0; tmp < cnt; tmp++) { /* skip unused bytes */ in datapidchk()
213 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidchk()
231 for (cnt = 0; cnt < num_full_words; woff += NBPW, cnt++) { in datapidchk()
261 if (cnt = ((bsize - boff) % NBPW)) { in datapidchk()
271 for (tmp = 0; tmp < cnt && boff < bsize; boff++, tmp++, chr++) { in datapidchk()