Home
last modified time | relevance | path

Searched refs:randbits (Results 1 – 5 of 5) sorted by relevance

/external/libpng/contrib/libtests/
Dtarith.c613 int randbits = 0; in validation_muldiv() local
626 while (randbuffer != 0) ++randbits, randbuffer >>= 1; in validation_muldiv()
627 printf("Using random number generator that makes %d bits\n", randbits); in validation_muldiv()
628 for (div=0; div<32; div += randbits) in validation_muldiv()
629 randbuffer = (randbuffer << randbits) ^ rand(); in validation_muldiv()
720 randbuffer = (randbuffer << randbits) ^ rand(); in validation_muldiv()
/external/python/cpython3/Lib/
Dsecrets.py23 randbits = _sysrand.getrandbits variable
/external/python/cpython3/Lib/test/
Dtest_secrets.py59 n = secrets.randbits(numbits)
/external/python/cpython3/Doc/library/
Dsecrets.rst53 .. function:: randbits(k)
/external/libevent/
Devdns.c2814 char randbits[(sizeof(namebuf)+7)/8]; in request_new() local
2816 evutil_secure_rng_get_bytes(randbits, (name_len+7)/8); in request_new()
2819 if ((randbits[i >> 3] & (1<<(i & 7)))) in request_new()