Searched refs:bufused (Results 1 – 2 of 2) sorted by relevance
148 int bufused, olen; local184 bufused = sm_strlcpy(obp, ibp, *bsp);185 SM_ASSERT(bufused <= olen);197 for (ip = ibp, op = obp, bufused = 0; *ip != '\0'; ip++)201 SM_ASSERT(bufused < olen);202 op[bufused++] = METAQUOTE;204 SM_ASSERT(bufused < olen);205 op[bufused++] = *ip;207 op[bufused] = '\0';
497 size_t bufsiz, buflen, bufused; in addfile() local514 bufused = 0; in addfile()518 while (fgets(bufp, bufsiz - bufused, fp) != NULL) { in addfile()520 bufused += buflen; in addfile()521 if (bufused + 1 == bufsiz && bufp[buflen - 1] != '\n') { in addfile()533 bufp = inbuf + bufused; in addfile()542 bufused = 0; in addfile()