Lines Matching refs:maxNum
52 int do_random_access_test(int maxNum);
53 int do_random_create_delete(int maxNum);
495 int do_random_access_test(int maxNum) in do_random_access_test() argument
505 if (maxNum < 1 || maxNum > MAXNUM) { in do_random_access_test()
506 printf("out of size %d\n", maxNum); in do_random_access_test()
520 for (i = 0; i < maxNum; i++) { in do_random_access_test()
522 r = random() % maxNum; in do_random_access_test()
614 int do_random_create_delete(int maxNum) in do_random_create_delete() argument
623 if (maxNum < 1 || maxNum > MAXNUM) { in do_random_create_delete()
624 printf("MAX out of size %d\n", maxNum); in do_random_create_delete()
625 return (maxNum); in do_random_create_delete()
633 for (i = 0; i < maxNum && rc != MAXERROR; i++) { in do_random_create_delete()
634 r = random() % maxNum; in do_random_create_delete()