Searched refs:random32 (Results 1 – 6 of 6) sorted by relevance
30 uint32 random32(void) { in random32() function72 ret = random32() & mask; in random_upto_internal()
10 uint32 random32(void);
896 n = random32() % (premax+1); in float32_case()919 n = random32() % 5; in float32_case()920 f = random32(); /* some random bits */ in float32_case()921 bits = random32() % 22 + 1; /* 1-22 */ in float32_case()939 f |= (random32() & 0xFF800000);/* FIXME - do better */ in float32_case()1060 n = (uint32) random32() % (uint32) (premax+1); in float64_case()1087 n = random32() % 5; in float64_case()1088 f = random32(); /* some random bits */ in float64_case()1089 g = random32(); /* some random bits */ in float64_case()1090 bits = random32() % 51 + 1; /* 1-51 */ in float64_case()[all …]
724 const uint32_t random32 = arc4random(); in writeRandomBytes_arc4random() local727 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count); in writeRandomBytes_arc4random()729 const uint8_t random8 = (uint8_t)(random32 >> (i * 8)); in writeRandomBytes_arc4random()748 unsigned int random32 = 0; in writeRandomBytes_rand_s() local751 if (rand_s(&random32)) in writeRandomBytes_rand_s()754 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count); in writeRandomBytes_rand_s()756 const uint8_t random8 = (uint8_t)(random32 >> (i * 8)); in writeRandomBytes_rand_s()
722 const uint32_t random32 = arc4random(); in writeRandomBytes_arc4random() local725 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count); in writeRandomBytes_arc4random()727 const uint8_t random8 = (uint8_t)(random32 >> (i * 8)); in writeRandomBytes_arc4random()746 unsigned int random32 = 0; in writeRandomBytes_rand_s() local749 if (rand_s(&random32)) in writeRandomBytes_rand_s()752 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count); in writeRandomBytes_rand_s()754 const uint8_t random8 = (uint8_t)(random32 >> (i * 8)); in writeRandomBytes_rand_s()
757 const uint32_t random32 = arc4random(); in writeRandomBytes_arc4random() local760 for (; (i < sizeof(random32)) && (bytesWrittenTotal < count); in writeRandomBytes_arc4random()762 const uint8_t random8 = (uint8_t)(random32 >> (i * 8)); in writeRandomBytes_arc4random()