Lines Matching refs:boff
94 int boff; /* buffer offset or index */ in datapidgen() local
98 boff = 0; in datapidgen()
118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen()
119 buffer[boff] = *chr; in datapidgen()
127 num_full_words = (bsize - boff) / NBPW; in datapidgen()
129 woff = offset + boff; in datapidgen()
139 buffer[boff++] = *chr; in datapidgen()
153 if (cnt = ((bsize - boff) % NBPW)) { in datapidgen()
163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen()
164 buffer[boff++] = *chr; in datapidgen()
191 int boff; /* buffer offset or index */ in datapidchk() local
199 boff = 0; in datapidchk()
213 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidchk()
214 if (buffer[boff] != *chr) { in datapidchk()
217 offset + boff, *chr, buffer[boff]); in datapidchk()
218 return offset + boff; in datapidchk()
227 num_full_words = (bsize - boff) / NBPW; in datapidchk()
229 woff = offset + boff; in datapidchk()
237 for (tmp = 0; tmp < NBPW; tmp++, boff++, chr++) { in datapidchk()
238 if (buffer[boff] != *chr) { in datapidchk()
241 woff, *chr, buffer[boff]); in datapidchk()
261 if (cnt = ((bsize - boff) % NBPW)) { in datapidchk()
271 for (tmp = 0; tmp < cnt && boff < bsize; boff++, tmp++, chr++) { in datapidchk()
272 if (buffer[boff] != *chr) { in datapidchk()
275 offset + boff, *chr, buffer[boff]); in datapidchk()
276 return offset + boff; in datapidchk()