Home
last modified time | relevance | path

Searched defs:RandN (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator.h54 inline u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN() function
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator.h60 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN() function
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator.h56 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN() function