Lines Matching refs:rand
293 mem1[i] = rand(); in prepare_mem12()
528 unsigned int rand; in choose_block() local
530 rand = i; in choose_block()
532 rand = rand * 19 + 11; in choose_block()
533 *size = 1 << ((rand % 3) + 2); in choose_block()
534 rand = rand * 19 + 11; in choose_block()
535 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
537 rand = rand * 17 + 5; in choose_block()
538 *size = 1 << (rand % 5); in choose_block()
539 rand = rand * 17 + 5; in choose_block()
540 *offset = (rand % max_block) & ~(*size - 1); in choose_block()
546 unsigned int rand; in permutate_bits() local
550 rand = i; in permutate_bits()
551 rand = rand * 3 + 1; in permutate_bits()
553 rand = rand * 3 + 1; in permutate_bits()
554 swap = rand % 2 == 0; in permutate_bits()
560 rand = rand * 3 + 1; in permutate_bits()
561 i = rand % size; in permutate_bits()
562 rand = rand * 3 + 1; in permutate_bits()
563 j = rand % size; in permutate_bits()
579 rand = rand * 3 + 1; in permutate_bits()
580 amount = rand % (size * 8); in permutate_bits()