Searched refs:rnd (Results 1 – 6 of 6) sorted by relevance
37 std::default_random_engine rnd(rand_seed);41 return rnd() % 128; in rand_legal()49 return rnd() % 256; in rand_char()54 return uni(rnd); in random_int()
70 uint_8t rnd; member
557 ctx->rnd = 0;562 ctx->rnd = (hi >> 4) - 1;600 if (ctx->rnd) {604 for (r = 1; r < ctx->rnd; ++r)647 if (ctx->rnd) {649 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);652 for (r = ctx->rnd; --r;)
505 ctx->rnd = 0;510 ctx->rnd = (hi >> 4) - 1;547 if (ctx->rnd) {551 for (r = 1; r < ctx->rnd; ++r)592 if (ctx->rnd) {594 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);597 for (r = ctx->rnd; --r;)
369 std::mt19937 rnd = std::mt19937(std::random_device()()); in RandomSpi() local370 mNext = std::uniform_int_distribution<>(1, INT_MAX)(rnd); in RandomSpi()