Lines Matching refs:n_dirs
548 int n_dirs, e; in shell_tests__max_desc_width() local
556 n_dirs = scandir(path, &entlist, NULL, alphasort); in shell_tests__max_desc_width()
557 if (n_dirs == -1) in shell_tests__max_desc_width()
560 for_each_shell_test(entlist, n_dirs, path, ent) { in shell_tests__max_desc_width()
572 for (e = 0; e < n_dirs; e++) in shell_tests__max_desc_width()
606 int n_dirs, e; in run_shell_tests() local
615 n_dirs = scandir(st.dir, &entlist, NULL, alphasort); in run_shell_tests()
616 if (n_dirs == -1) { in run_shell_tests()
622 for_each_shell_test(entlist, n_dirs, st.dir, ent) { in run_shell_tests()
645 for (e = 0; e < n_dirs; e++) in run_shell_tests()
748 int n_dirs, e; in perf_test__list_shell() local
755 n_dirs = scandir(path, &entlist, NULL, alphasort); in perf_test__list_shell()
756 if (n_dirs == -1) in perf_test__list_shell()
759 for_each_shell_test(entlist, n_dirs, path, ent) { in perf_test__list_shell()
773 for (e = 0; e < n_dirs; e++) in perf_test__list_shell()