Home
last modified time | relevance | path

Searched refs:bytesleft (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c357 size_t bytesleft = 0; in pkcs11_get_nzero_urandom() local
371 if (bytesleft == 0) { in pkcs11_get_nzero_urandom()
372 bytesleft = sizeof (extrarand); in pkcs11_get_nzero_urandom()
373 if (pkcs11_get_urandom(extrarand, bytesleft) < 0) in pkcs11_get_nzero_urandom()
376 bytesleft--; in pkcs11_get_nzero_urandom()
378 ((char *)dbuf)[i] = extrarand[bytesleft]; in pkcs11_get_nzero_urandom()
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c331 int bytesleft = PRFNSZ; in stripfname() local
338 buf[bytesleft - 1] = '\0'; in stripfname()
347 if (bytesleft <= length) { in stripfname()
351 (void) memmove(cp, cp + length, bytesleft - length); in stripfname()
354 bytesleft -= length; in stripfname()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslutil.c356 size_t bytesleft = RPOOL_SIZE*sizeof(unsigned short); in getranddata() local
359 bytesread = read(fd, buf, bytesleft); in getranddata()
362 bytesleft -= bytesread; in getranddata()
364 } while(bytesleft != 0); in getranddata()
/illumos-gate/usr/src/lib/libc/port/gen/
H A DiconvP.h46 size_t bytesleft; /* used for premature/incomplete conversion */ member
/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c626 uintptr_t bytesleft; in blowfish_init_keysched() local
642 bytesleft = in blowfish_init_keysched()
644 copylen = (bytesleft >= len) ? len : slop; in blowfish_init_keysched()
/illumos-gate/usr/src/cmd/ps/
H A Dps.c1363 int bytesleft; in prcom() local
1575 bytesleft = PRARGSZ; in prcom()
1583 if (bytesleft <= length) { in prcom()
1588 (void) memmove(cp, cp+length, bytesleft-length); in prcom()
1591 bytesleft -= length; in prcom()
1656 int bytesleft; in print_field() local
1930 bytesleft = PRARGSZ; in print_field()
1938 if (bytesleft <= length) { in print_field()
1943 (void) memmove(cp, cp+length, bytesleft-length); in print_field()
1946 bytesleft -= length; in print_field()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c2533 int offset, bytesneeded, bytesleft, error_num; in rcmscript_snprintf() local
2542 bytesleft = *buflen - offset; in rcmscript_snprintf()
2546 if (bytesneeded > bytesleft) { in rcmscript_snprintf()
2547 *buflen += RSCR_ROUNDUP(bytesneeded - bytesleft, in rcmscript_snprintf()
2558 bytesleft = *buflen - offset; in rcmscript_snprintf()
2562 bytesneeded = vsnprintf(*curptr, bytesleft, format, ap); in rcmscript_snprintf()
2573 } else if (bytesneeded < bytesleft) { in rcmscript_snprintf()
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c134 size_t bytesleft; in conv_to_utf8() local
146 bytesleft = size * 4; in conv_to_utf8()
147 output = calloc(bytesleft, 1); in conv_to_utf8()
152 &outleft, &bytesleft); in conv_to_utf8()
188 size_t bytesleft; in conv_from_utf8() local
200 bytesleft = size * 4; in conv_from_utf8()
201 output = calloc(bytesleft, 1); in conv_from_utf8()
205 &outleft, &bytesleft); in conv_from_utf8()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_impl.c798 int i, totalbytes, bytesleft; in mptsas_get_handshake_msg() local
834 bytesleft = ((numbytes / 2) - 2); in mptsas_get_handshake_msg()
836 bytesleft = (totalbytes - 2); in mptsas_get_handshake_msg()
842 for (i = 0; i < bytesleft; i++, memp += 2) { in mptsas_get_handshake_msg()