/illumos-gate/usr/src/lib/libc/amd64/fp/ |
H A D | fpgetround.c | 45 return ((fp_rnd)cw.rnd);
|
H A D | fpsetround.c | 50 oldrnd = (fp_rnd)cw.rnd; 51 cw.rnd = newrnd;
|
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | fpgetround.c | 45 return ((fp_rnd)cw.rnd);
|
H A D | fpsetround.c | 62 oldrnd = (fp_rnd)cw.rnd; 63 cw.rnd = newrnd;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | arc4random.c | 91 uint8_t rnd[ARC4_KEYSZ + ARC4_IVSZ]; local 94 if (getentropy(rnd, sizeof (rnd)) == -1) 98 arc4_init(rnd, sizeof (rnd)); 101 arc4_rekey(rnd, sizeof (rnd)); 103 explicit_bzero(rnd, sizeof (rnd));
|
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tswtcl.c | 70 uint32_t min = 0, additive, rnd; local 143 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1)); 146 if (aminusc >= rnd) { 168 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1)); 172 if (aminusp >= rnd) { 174 } else if ((cfg_parms->pminusc + aminusp) >= rnd) {
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | combine_keys.c | 40 * rnd = n-fold(R1 | R2) [ Note: output size of nfold must be appropriately 42 * tkey = random-to-key(rnd) 83 unsigned char *r1, *r2, *combined, *rnd, *output; local 126 if ((rnd = (unsigned char *) malloc(keybytes)) == NULL) { 135 free(rnd); 142 free(rnd); 194 krb5_nfold((keybytes * 2) * 8, combined, keybytes * 8, rnd); 199 printf("rnd ="); 201 printf(" %02x", (unsigned char) rnd[i]); 212 randbits.data = (char *) rnd; [all...] |
/illumos-gate/usr/src/head/ |
H A D | ieeefp.h | 269 rnd: 2, /* rounding control field */ member in struct:_cw87 290 rnd: 2, /* rounding control */ member in struct:_mxcsr
|
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | arc4random.c | 95 uint rnd[(128 - sizeof(struct timeval)) / sizeof(uint)]; member in struct:__anon2453 101 (void) read(fd, rdat.rnd, sizeof(rdat.rnd));
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/ |
H A D | usbser_rseq.c | 125 int rnd, rval = RSEQ_OK, i; local 132 rnd = random() % num; 133 rval = func(rseq, num, arg, flags, sarg1, rnd);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mutex.c | 311 ulong_t rnd; /* random factor */ local 320 rnd = (((long)curthread >> PTR24_LSB) ^ (long)MUTEX_GETTICK()); 321 cur_backoff = (uint_t)(rnd % (backoff - mutex_backoff_base + 1)) +
|
/illumos-gate/usr/src/uts/sparc/sys/fpu/ |
H A D | fpu_simulator.h | 93 unsigned int rnd : 2; /* rounding direction */ member in struct:__anon517 123 #define rnd fsr.rnd macro
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 387 double rnd; local 400 rnd = (rand() + 1) / (double)(RAND_MAX + 1); 401 t = (uint32_t)(intval * rnd);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 111 size_t rnd; local 207 rnd = size & (sizeof (long) - 1); 209 if (rnd != 0) 210 size += sizeof (long) - rnd; 532 size_t rnd; local 624 rnd = size & (sizeof (int32_t) - 1); 626 if (rnd != 0) 627 size += sizeof (int32_t) - rnd;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ndp.c | 4942 clock_t rnd, frac; local 4944 (void) random_get_pseudo_bytes((uint8_t *)&rnd, sizeof (rnd)); 4946 rnd &= (1ul << (NBBY * sizeof (rnd) - 1)) - 1; 4951 intv = (rnd % intv) + 1; 4957 if ((intv = intv - frac + rnd % (2 * frac + 1)) <= 0)
|
H A D | sadb.c | 7542 uint8_t rnd; local 7547 (void) random_get_pseudo_bytes(&rnd, sizeof (rnd)); 7548 rnd = (rnd & 0xF) + 8; 7549 assoc->ipsa_softexpiretime -= rnd; 7550 assoc->ipsa_softaddlt -= rnd;
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | fpu_simulator.c | 191 pfpsd->fp_direction = GSR_IM(gsr) ? GSR_IRND(gsr) : fsr.rnd;
|