Home
last modified time | relevance | path

Searched refs:spaceleft (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/src/
H A Derr.c829 int spaceleft = sizeof(MsgBuf); local
845 (void) sm_snprintf(eb, spaceleft, "4%2.2s%c", num + 1, del);
848 (void) sm_snprintf(eb, spaceleft, "%3.3s%c", num, del);
850 spaceleft -= 4;
852 if ((l = isenhsc(fmt, ' ' )) > 0 && l < spaceleft - 4)
858 spaceleft -= l;
861 else if ((l = isenhsc(enhsc, '\0')) > 0 && l < spaceleft - 4)
868 spaceleft -= l;
880 (void) sm_snprintf(eb, spaceleft, "%s: line %d: ",
883 spaceleft -= l;
[all …]
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/
H A Dflsbuf.c279 int spaceleft; in _bufsync() local
282 if ((spaceleft = bufend - iop->_ptr) < 0) in _bufsync()
284 else if (spaceleft < iop->_cnt) in _bufsync()
285 iop->_cnt = spaceleft; in _bufsync()
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c284 int spaceleft; in _bufsync() local
287 if ((spaceleft = bufend - iop->_ptr) < 0) in _bufsync()
289 else if (spaceleft < iop->_cnt) in _bufsync()
290 iop->_cnt = spaceleft; in _bufsync()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dkerberos5.c140 size_t spaceleft = sizeof (str_data) - 4; in krb5_send_data() local
153 if (spaceleft < 3) in krb5_send_data()
158 spaceleft -= 3; in krb5_send_data()
161 if (spaceleft < 2) in krb5_send_data()
165 spaceleft -= 2; in krb5_send_data()
169 if (spaceleft < 2) in krb5_send_data()
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dflush.c514 ssize_t spaceleft; in _bufsync() local
516 spaceleft = bufend - iop->_ptr; in _bufsync()
520 } else if (spaceleft < iop->_cnt) in _bufsync()
521 iop->_cnt = spaceleft; in _bufsync()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c332 int spaceleft; in dircheck() local
345 spaceleft = DIRBLKSIZ - (idesc->id_loc % DIRBLKSIZ); in dircheck()
348 (int)dp->d_reclen <= spaceleft && in dircheck()