/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | random.c | 15 * Seed the pseudo-random number generator 24 * Generate a pseudo-random number between 0 and 2147483647L or 2147483562? 26 * @ret rand Pseudo-random number 28 long int random ( void ) { function
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Tests/ |
H A D | TianoCompress.py | 19 import random namespace
|
H A D | TestTools.py | 21 import random namespace 156 [chr(random.randint(0,255)) 157 for x in xrange(random.randint(minlen, maxlen))
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstGuid.cpp | 66 com::Guid random; local 67 random.create(); 68 CHECK(!random.isZero()); 70 com::Guid copyRandom(random); 73 com::Guid assignRandom(random);
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/badioctl/ |
H A D | 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));
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | servermd.h | 425 * Use SysV random number generator. 427 #define random rand macro
|
H A D | xf86_libc.h | 355 #undef random macro 356 #define random() xf86random() macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/ |
H A D | servermd.h | 425 * Use SysV random number generator. 427 #define random rand macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | servermd.h | 425 * Use SysV random number generator. 427 #define random rand macro
|
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/include/ |
H A D | servermd.h | 435 * Use SysV random number generator. 437 #define random rand macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | servermd.h | 428 * Use SysV random number generator. 430 #define random rand macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | servermd.h | 428 * Use SysV random number generator. 430 #define random rand macro
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | tmoacc.c | 64 PRBool random; member in struct:Shared 74 if (shared->random) 79 PRUint32 random = (rand() % RANDOM_RANGE) * half / RANDOM_RANGE; local 80 timeout = (3 * quarter) + random; /* [75..125)% */ 214 shared->random = PR_TRUE; 240 shared->random = PR_TRUE;
|
H A D | tmocon.c | 90 PRBool random; member in struct:Shared 104 if (shared->random) 107 PRUint32 random = rand() % quarter; /* something in[0..timeout / 4) */ local 108 timeout = (((3 * quarter) + random) >> 2) + quarter; /* [75..125)% */ 303 shared->random = PR_FALSE; 327 shared->random = PR_TRUE;
|
H A D | ranfile.c | 109 ** Generate a pseudo-random number 112 ** RETURN: A pseudo-random unsigned number, 32-bits wide 114 ** Updates random seed (a static) 130 PRFloat64 random = seed * (PRFloat64)PR_IntervalNow(); local 131 LL_USHR(shift, *((PRUint64*)&random), 16); 152 ** 2) Writes a zero to a random number of sequential pages 155 ** 5) Seeks to a random page within the file 179 PRUint32 random = (Random() % cd->limit) + 1; local 220 random = (random [all...] |
/vbox/src/VBox/ValidationKit/testdriver/ |
H A D | vboxtestvms.py | 33 import random; namespace 286 ## on the server side. Client side random is interesting but not the best option. 288 random.seed(); 289 self.asParavirtModesSup = (random.choice(self.asParavirtModesSup),);
|
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/ |
H A D | Xw32defs.h | 52 # define random rand macro
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | ranfile.cpp | 120 ** Generate a pseudo-random number 123 ** RETURN: A pseudo-random unsigned number, 32-bits wide 125 ** Updates random seed (a static) 141 PRFloat64 random = seed * (PRFloat64)((PRIntervalTime)now); local 142 LL_USHR(shift, *((PRUint64*)&random), 16); 184 ** 2) Writes a zero to a random number of sequential pages 187 ** 5) Seeks to a random page within the file 212 PRUint32 random = (Random() % limit) + 1; local 254 random = (random [all...] |
/vbox/src/VBox/ValidationKit/testboxscript/ |
H A D | testboxscript_real.py | 39 import random namespace 468 # uuid.getnode may provide it, or it may return a random number... 819 time.sleep(random.randint(self.kcSecMinSignOnDelay * iFactor, self.kcSecMaxSignOnDelay * iFactor)); 846 time.sleep(random.randint(self.kcSecMinDelay * iFactor, self.kcSecMaxDelay * iFactor));
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | tls.h | 164 uint8_t random[46]; member in struct:tls_pre_master_secret 167 /** TLS client random data */ 172 uint8_t random[28]; member in struct:tls_client_random 223 /** Server random bytes */ 225 /** Client random bytes */
|
/vbox/src/VBox/ValidationKit/tests/additions/ |
H A D | tdAddGuestCtrl.py | 46 import random namespace 1762 ## @todo Add task which gets killed at some random time while letting the guest output something. 2135 # Long (+ random) stuff. 2138 "".join(random.choice(string.ascii_lowercase) for i in range(32))) ), 2142 "".join(random.choice(string.ascii_lowercase) for i in range(128))) ), 2147 "".join(random.choice(string.ascii_lowercase) for i in range(255))) ), 2151 "".join(random.choice(string.ascii_lowercase) for i in range(1024))) ), 2289 # sTemplate = "XXX-".join(random.choice(string.ascii_lowercase) for i in range(32)), 2739 aScratchBuf = array('b', [random.randint(-128, 127) for i in range(cScratchBuf)]); 2749 aScratchBuf2 = array('b', [random [all...] |
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | pxping.c | 945 # define random() (rand()) macro 947 pcb->host_id = random() & 0xffffUL;
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | tls.c | 225 * Generate random data 236 /* Generate random bits with no additional input and without 240 DBGC ( tls, "TLS %p could not generate random data: %s\n", 267 * Generate secure pseudo-random data using a single hash function 336 * Generate secure pseudo-random data 392 * Generate secure pseudo-random data 417 * The pre-master secret and the client and server random values must 424 DBGC ( tls, "TLS %p client random bytes:\n", tls ); 426 DBGC ( tls, "TLS %p server random bytes:\n", tls ); 848 uint8_t random[3 member in struct:__anon15787 1230 uint8_t random[32]; member in struct:__anon15797 [all...] |
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | rdesktop.c | 1311 /* Read 32 random bytes from PRNGD or EGD socket (based on OpenSSL RAND_egd) */ 1330 buf[1] = 32; /* Number of requested random bytes */ 1348 /* Generate a 32-byte random for the secure transport code. */ 1350 generate_random(uint8 * random) argument 1358 /* If we have a kernel random device, try that first */ 1360 || ((fd = open("/dev/random", O_RDONLY)) != -1)) 1362 n = read(fd, random, 32); 1370 if (generate_random_egd(random)) 1375 r = (uint32 *) random; 1387 rdssl_md5_update(&md5, random, 1 [all...] |
/vbox/src/VBox/VMM/testcase/Instructions/ |
H A D | InstructionTestGen.py | 33 import random; namespace 175 g_oMyRand = random.Random(g_iMyRandSeed); 176 #g_oMyRand = random.SystemRandom(); 179 """ Unsigned 8-bit random number. """ 183 """ Unsigned 16-bit random number. """ 187 """ Unsigned 32-bit random number. """ 191 """ Unsigned 64-bit random number. """ 195 """ Unsigned 8-, 16-, 32-, or 64-bit random number. """ 199 """ Signed 8-, 16-, 32-, or 64-bit random number. """ 207 """ List of unsigned 8-, 16-, 32-, or 64-bit random number [all...] |