Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dftruncate.c29 long cursize; in __ftruncate() local
32 if ((cursize = lseek(fd, 0L, 2)) == -1) in __ftruncate()
36 if (cursize < wantsize) { in __ftruncate()
45 if (wantsize < cursize) { in __ftruncate()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c740 off_t curoff, cursize; local
943 cursize = 0;
945 cursize = sb.st_size;
953 cursize == 0
956 sb.st_size != cursize ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c1275 size_t cursize, acksize, len; in vrrpd_cmdsock_handler() local
1293 cursize = 0; in vrrpd_cmdsock_handler()
1294 while (cursize < sizeof (uint32_t)) { in vrrpd_cmdsock_handler()
1295 len = read(connfd, buf + cursize, in vrrpd_cmdsock_handler()
1296 sizeof (uint32_t) - cursize); in vrrpd_cmdsock_handler()
1300 cursize += len; in vrrpd_cmdsock_handler()
1328 assert(cursize == sizeof (uint32_t)); in vrrpd_cmdsock_handler()
1329 while (cursize < cinfo->vi_reqsize) { in vrrpd_cmdsock_handler()
1330 len = read(connfd, buf + cursize, in vrrpd_cmdsock_handler()
1331 cinfo->vi_reqsize - cursize); in vrrpd_cmdsock_handler()
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c149 unsigned cursize; member
152 int cursize; member
495 text->cursize = 0;
523 diff = text->size - text->cursize;
527 memcpy(text->buffer + text->cursize, *input, *inputlen);
528 text->cursize += *inputlen;
534 memcpy(text->buffer + text->cursize, *input, diff);
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c252 int cursize; member
1846 text->cursize=0;
1870 diff=text->size - text->cursize; /* bytes need for full message */
1877 memcpy(text->buffer+text->cursize, *input, *inputlen);
1878 text->cursize+=*inputlen;
1884 memcpy(text->buffer+text->cursize, *input, diff);
2198 text->cursize = 0;
2218 diff = text->size - text->cursize; /* bytes need for full message */
2224 memcpy(text->buffer + text->cursize, *input, *inputlen);
2225 text->cursize += *inputlen;
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c2552 dt_realloc_buf(dtrace_hdl_t *dtp, dtrace_bufdesc_t *buf, int cursize) in dt_realloc_buf() argument
2555 if (used < cursize / 2) { in dt_realloc_buf()