Home
last modified time | relevance | path

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

/titanic_50/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_50/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_50/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_50/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_50/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_50/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()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.c3223 mDNSs32 spaceleft = 0; in SendGroupUpdates() local
3269 if (AuthInfo && AuthInfo->AutoTunnel) spaceleft = AbsoluteMaxDNSMessageData; in SendGroupUpdates()
3270 else spaceleft = NormalMaxDNSMessageData; in SendGroupUpdates()
3273 spaceleft -= RRAdditionalSize(m, AuthInfo); in SendGroupUpdates()
3274 if (spaceleft <= 0) in SendGroupUpdates()
3280 limit = next + spaceleft; in SendGroupUpdates()
3290 spaceleft -= zoneSize; in SendGroupUpdates()
3291 if (spaceleft <= 0) in SendGroupUpdates()
3309 if ((spaceleft - rrSize) < 0) in SendGroupUpdates()
3315 …Updates: Skipping message %s, spaceleft %d, rrSize %d", ARDisplayString(m, rr), spaceleft, rrSize); in SendGroupUpdates()
[all …]