Lines Matching refs:rand
292 mem1[i] = rand(); in prepare_mem12()
499 unsigned int rand; in choose_block() local
501 rand = i; in choose_block()
503 rand = rand * 19 + 11; in choose_block()
504 *size = 1 << ((rand % 3) + 2); in choose_block()
505 rand = rand * 19 + 11; in choose_block()
506 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
508 rand = rand * 17 + 5; in choose_block()
509 *size = 1 << (rand % 5); in choose_block()
510 rand = rand * 17 + 5; in choose_block()
511 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
517 unsigned int rand; in permutate_bits() local
521 rand = i; in permutate_bits()
522 rand = rand * 3 + 1; in permutate_bits()
524 rand = rand * 3 + 1; in permutate_bits()
525 swap = rand % 2 == 0; in permutate_bits()
531 rand = rand * 3 + 1; in permutate_bits()
532 i = rand % size; in permutate_bits()
533 rand = rand * 3 + 1; in permutate_bits()
534 j = rand % size; in permutate_bits()
550 rand = rand * 3 + 1; in permutate_bits()
551 amount = rand % (size * 8); in permutate_bits()