| /onnv/onnv-gate/usr/src/lib/storage/libg_fc/common/ |
| cmd.c | 76 int random; local 82 * as 'seed' to generate a random number. Then, 85 * the seed so that the random number is always 87 * generate a random number at the same time. 98 /* get a random number. */ 101 random = rand_r(&seed); 104 random = ((random % 500) + 100) * MILLISEC; 105 tval.tv_sec = random / MICROSEC; 106 tval.tv_usec = random % MICROSEC [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/usb/clients/usbser/ |
| usbser_rseq.c | 38 #define random rseq_random macro 132 rnd = random() % num;
|
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/cmd/badioctl/ |
| badioctl.c | 61 int fd = -1, random, ps = sysconf(_SC_PAGESIZE); local 66 if ((random = open("/dev/random", O_RDONLY)) == -1) 67 fatal("couldn't open /dev/random"); 102 * Every thousand iterations, change our random gunk. 104 read(random, addr, ps); 107 read(random, &ioc, sizeof (ioc));
|
| /onnv/onnv-gate/usr/src/lib/libsip/common/ |
| sip_gids.c | 138 uint32_t random; local 150 * Get a 32-bit random # 152 if (sip_get_random((char *)&random, sizeof (random)) != 0) 164 (void) snprintf(guid, SIP_RANDOM_LEN + 1, "%u%u", random, time);
|
| /onnv/onnv-gate/usr/src/cmd/crypt/ |
| crypt.c | 57 unsigned random; local 84 random = seed % 65521; 86 ic = (random&MASK)%(k+1); 87 random >>= 8; 92 ic = (random&MASK) % k;
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/ |
| misc.c | 28 RANDOM - compute a random number between 0 and 2147483647L or 2147483562? 30 int32_t random(void) function
|
| /onnv/onnv-gate/usr/src/lib/libsldap/common/ |
| ns_crypt.c | 124 unsigned random; local 146 random = seed % 65521; 148 ic = (random&MASK)%(k+1); 149 random >>= 8; 154 ic = (random&MASK) % k;
|
| /onnv/onnv-gate/usr/src/cmd/filebench/common/ |
| fb_random.c | 36 * Reads a 64 bit random number from the urandom "file". 38 * the random number after rounding it off by "round". 45 uint64_t random; local 61 random = avd_get_int(avd); 66 if (read(urandomfd, &random, 76 random = random / (FILEBENCH_RANDMAX64 / max); 78 random = random / round; 79 random *= round 99 uint32_t random; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/uwin/ |
| random.c | 40 * @(#)random.c 5.5 (Berkeley) 7/6/88 45 #define random ______random macro 55 #undef random macro 63 extern long int random(); 67 /* An improved random number generation package. In addition to the standard 71 then initialized to contain information for random number generation with 76 information and generates far better random numbers than a linear 85 for details). The random number generation technique is a linear feedback 92 also influenced by pseudo-random carries out of the lower bits. The 102 /* For each of the currently supported random number generators, we have 352 extern long int random() function [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| random.c | 33 * random.c: 34 * An improved random number generation package. In addition to the standard 38 * initialized to contain information for random number generation with that 43 * generates far better random numbers than a linear congruential generator. 53 * The random number generation technique is a linear feedback shift register 60 * by pseudo-random carries out of the lower bits. The total period of the 72 * For each of the currently supported random number generators, we have a 74 * many bytes of state info to support this random number generator), a degree 120 * away with just one pointer, but the code for random() is more efficient this 132 * Note that for efficiency of random(), we remember the first location o 365 random(void) function [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| random.c | 50 * random.c: 51 * An improved random number generation package. In addition to the standard 55 * initialized to contain information for random number generation with that 60 * generates far better random numbers than a linear congruential generator. 70 * The random number generation technique is a linear feedback shift register 77 * by pseudo-random carries out of the lower bits. The total period of the 89 * For each of the currently supported random number generators, we have a 91 * many bytes of state info to support this random number generator), a degree 137 * away with just one pointer, but the code for random() is more efficient this 149 * Note that for efficiency of random(), we remember the first location o 360 random(void) function [all...] |
| /onnv/onnv-gate/usr/src/cmd/luxadm/ |
| lux_util.c | 86 int random; local 91 * as 'seed' to generate a random number. Then, 94 * the seed so that the random number is always 96 * generate a random number at the same time. 107 /* get a random number. */ 110 random = rand_r(&seed); 113 random = ((random % 500) + 100) * MILLISEC; 114 tval.tv_sec = random / MICROSEC; 115 tval.tv_usec = random % MICROSEC [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
| in.rdisc.c | 60 #define random() rand() macro 527 (random() % 1000)/1000); 980 * (random() % 1000)/1000); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| lgrp.c | 172 * Size, in bytes, beyond which random memory allocation policy is applied 173 * to non-shared memory. Default is the maximum size, so random memory 185 * Size, in bytes, beyond which random memory allocation policy is applied to 3636 ushort_t random; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/ixgbe/ |
| ixgbe_main.c | 2043 uint32_t random; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/igb/ |
| igb_main.c | 2183 uint32_t random; local 2251 uint32_t random; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
| openssl_spi.c | 4526 unsigned char *random = NULL; local [all...] |