Lines Matching defs:BcRNG
434 typedef struct BcRNG
439 } BcRNG;
442 * Initializes a BcRNG.
443 * @param r The BcRNG to initialize.
446 bc_rand_init(BcRNG* r);
451 * Frees a BcRNG. This is only in debug builds because it would only be freed on
453 * @param r The BcRNG to free.
456 bc_rand_free(BcRNG* r);
466 bc_rand_int(BcRNG* r);
476 bc_rand_bounded(BcRNG* r, BcRand bound);
487 bc_rand_seed(BcRNG* r, ulong state1, ulong state2, ulong inc1, ulong inc2);
494 bc_rand_push(BcRNG* r);
503 bc_rand_pop(BcRNG* r, bool reset);
514 bc_rand_getRands(BcRNG* r, BcRand* s1, BcRand* s2, BcRand* i1, BcRand* i2);