Home
last modified time | relevance | path

Searched refs:bufused (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dutil.c148 int bufused, olen; local
184 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';
/titanic_50/usr/src/cmd/grep_xpg4/
H A Dgrep.c497 size_t bufsiz, buflen, bufused; in addfile() local
514 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()