Lines Matching defs:cnt
547 divider(long long min, long long max, long long cnt, long long rand)
556 if (cnt > 32)
562 if (cnt == 0 || rand < -1) {
575 printf("divider: min=%lld, max=%lld, cnt=%lld, rand=%lld\n", min, max,
576 cnt, rand);
584 * if the cnt bit of rand is zero or one, respectively.
586 if (rand & (1 << cnt))
593 * or top half (bit cnt is set).
595 if (rand & (1 << cnt)) {
596 return divider(med, max, cnt + 1, rand);
598 return divider(min, med, cnt + 1, rand);
684 int cnt, iter;
702 for (cnt = 0; cnt < iter; cnt++) {
727 int cnt, iter = 10;
778 for (cnt = 0; cnt < iter; cnt++) {
817 for (cnt = 0; cnt < iter; cnt++) {
857 for (cnt = 0; cnt < iter; cnt++) {