Home | History | Annotate | Download | only in libcpu

Lines Matching full:bufsize

121   if (*d->bufcntp + 4 > d->bufsize)
122 return *d->bufcntp + 4 - d->bufsize;
164 size_t bufsize = d->bufsize;
201 if (*bufcntp + n + 1 > bufsize)
202 return *bufcntp + n + 1 - bufsize;
275 if (*bufcntp + n + 1 > bufsize)
276 return *bufcntp + n + 1 - bufsize;
373 if (*bufcntp + (cp - tmpbuf) > bufsize)
374 return *bufcntp + (cp - tmpbuf) - bufsize;
398 size_t avail = d->bufsize - *bufcntp;
427 size_t avail = d->bufsize - *bufcntp;
469 size_t avail = d->bufsize - *bufcntp;
506 size_t bufsize = d->bufsize;
508 if (*bufcntp + 4 - is_16bit > bufsize)
509 return *bufcntp + 4 - is_16bit - bufsize;
533 size_t bufsize = d->bufsize;
535 if (*bufcntp + 3 > bufsize)
536 return *bufcntp + 3 - bufsize;
558 size_t avail = d->bufsize - *bufcntp;
591 size_t avail = d->bufsize - *bufcntp;
622 size_t avail = d->bufsize - *bufcntp;
657 if (*bufcntp + 7 > d->bufsize)
658 return *bufcntp + 7 - d->bufsize;
671 size_t avail = d->bufsize - *bufcntp;
691 size_t avail = d->bufsize - *bufcntp;
727 size_t avail = d->bufsize - *bufcntp;
748 size_t avail = d->bufsize - *bufcntp;
776 size_t avail = d->bufsize - *bufcntp;
799 size_t avail = d->bufsize - *bufcntp;
839 size_t avail = d->bufsize - *bufcntp;
852 size_t avail = d->bufsize - *bufcntp;
876 size_t avail = d->bufsize - *bufcntp;
893 size_t avail = d->bufsize - *bufcntp;
920 size_t avail = d->bufsize - *bufcntp;
944 if (*bufcntp + 5 - is_16bit > d->bufsize)
945 return *bufcntp + 5 - is_16bit - d->bufsize;
985 if (*bufcntp + 3 > d->bufsize)
986 return *bufcntp + 3 - d->bufsize;
1023 if (*bufcntp + 5 > d->bufsize)
1024 return *bufcntp + 5 - d->bufsize;
1034 *bufcntp += snprintf (bufp + *bufcntp, d->bufsize - *bufcntp,
1091 if (*bufcntp + 3 > d->bufsize)
1092 return *bufcntp + 3 - d->bufsize;
1115 if (*bufcntp + 3 > d->bufsize)
1116 return *bufcntp + 3 - d->bufsize;
1140 if (*bufcntp + 4 > d->bufsize)
1141 return *bufcntp + 4 - d->bufsize;
1166 if (*bufcntp + 5 > d->bufsize)
1167 return *bufcntp + 5 - d->bufsize;
1172 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1221 if (*bufcntp + 5 > d->bufsize)
1222 return *bufcntp + 5 - d->bufsize;
1227 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1254 if (*bufcntp + 4 > d->bufsize)
1255 return *bufcntp + 4 - d->bufsize;
1263 *bufcntp += snprintf (d->bufp + *bufcntp, d->bufsize - *bufcntp,
1308 size_t avail = d->bufsize - *bufcntp;
1342 size_t avail = d->bufsize - *bufcntp;
1360 if (*bufcntp + 3 > d->bufsize)
1361 return *bufcntp + 3 - d->bufsize;
1383 if (*bufcntp + 3 > d->bufsize)
1384 return *bufcntp + 3 - d->bufsize;
1409 size_t avail = d->bufsize - *bufcntp;