Searched refs:bytesleft (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/lib/libcryptoutil/common/ |
H A D | random.c | 357 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()
|
/titanic_50/usr/src/cmd/prstat/ |
H A D | prutil.c | 330 int bytesleft = PRFNSZ; in stripfname() local 335 buf[bytesleft - 1] = '\0'; in stripfname() 344 if (bytesleft <= length) { in stripfname() 348 (void) memmove(cp, cp + length, bytesleft - length); in stripfname() 351 bytesleft -= length; in stripfname()
|
/titanic_50/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 356 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()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | iconvP.h | 48 size_t bytesleft; /* used for premature/incomplete conversion */ member
|
/titanic_50/usr/src/common/crypto/blowfish/ |
H A D | blowfish_impl.c | 626 uintptr_t bytesleft; in blowfish_init_keysched() local 642 bytesleft = in blowfish_init_keysched() 644 copylen = (bytesleft >= len) ? len : slop; in blowfish_init_keysched()
|
/titanic_50/usr/src/cmd/ps/ |
H A D | ps.c | 1363 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 1909 bytesleft = PRARGSZ; in print_field() 1917 if (bytesleft <= length) { in print_field() 1922 (void) memmove(cp, cp+length, bytesleft-length); in print_field() 1925 bytesleft -= length; in print_field()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 2535 int offset, bytesneeded, bytesleft, error_num; in rcmscript_snprintf() local 2544 bytesleft = *buflen - offset; in rcmscript_snprintf() 2548 if (bytesneeded > bytesleft) { in rcmscript_snprintf() 2549 *buflen += RSCR_ROUNDUP(bytesneeded - bytesleft, in rcmscript_snprintf() 2560 bytesleft = *buflen - offset; in rcmscript_snprintf() 2564 bytesneeded = vsnprintf(*curptr, bytesleft, format, ap); in rcmscript_snprintf() 2575 } else if (bytesneeded < bytesleft) { in rcmscript_snprintf()
|
/titanic_50/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 129 size_t bytesleft; in conv_to_utf8() local 141 bytesleft = size * 4; in conv_to_utf8() 142 output = calloc(bytesleft, 1); in conv_to_utf8() 147 &outleft, &bytesleft); in conv_to_utf8() 183 size_t bytesleft; in conv_from_utf8() local 195 bytesleft = size * 4; in conv_from_utf8() 196 output = calloc(bytesleft, 1); in conv_from_utf8() 200 &outleft, &bytesleft); in conv_from_utf8()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_impl.c | 777 int i, totalbytes, bytesleft; in mptsas_get_handshake_msg() local 813 bytesleft = ((numbytes / 2) - 2); in mptsas_get_handshake_msg() 815 bytesleft = (totalbytes - 2); in mptsas_get_handshake_msg() 821 for (i = 0; i < bytesleft; i++, memp += 2) { in mptsas_get_handshake_msg()
|