Lines Matching refs:cnt
70 size_t cnt;
80 cnt = GetByteCount();
83 getid(), cnt, size));
135 if ((cnt <= MIN_ZBUFFER) && (size <= MIN_ZBUFFER) &&
151 ncpy = (cnt < size) ? (unsigned int)cnt :
159 if ((cnt > MIN_ZBUFFER) && (zflag != 0)) {
313 off_t cnt;
318 cnt = (off_t)len;
326 if ((pos < 0.) || (cnt < 0))
344 if (cnt > resid)
345 cnt = resid;
349 if (GetHeader().Bytes_to_Bytes(cnt) > 0) {
352 (int)cnt);
358 len = (size_t)cnt;
359 pos = GetHeader().Bytes_to_Time(offset + cnt);
378 off_t cnt;
383 cnt = (off_t)len;
391 if ((pos < 0.) || (cnt < 0))
409 if (cnt > resid)
410 cnt = resid;
414 if (GetHeader().Bytes_to_Bytes(cnt) > 0) {
417 (int)cnt);
423 len = (size_t)cnt;
424 pos = GetHeader().Bytes_to_Time(offset + cnt);
469 size_t cnt;
505 cnt = (size_t)GetHeader().Time_to_Bytes(lim);
506 if (cnt == 0) {
514 if ((bptr + cnt) > (caddr_t)svcnt) {
515 // re-adjust cnt so it reads up to the end of file
516 cnt = (size_t)((caddr_t)svcnt - bptr);
518 if (GetHeader().Bytes_to_Bytes(cnt) == 0) {
527 svcnt = cnt;
528 err = to->WriteData(bptr, cnt, topos);
533 if (!err && (cnt < svcnt)) {