Lines Matching defs:dir
21 verify_user_directory(struct user_directory *dir, unsigned int user_count)
27 iter = user_directory_iter_init(dir, FALSE);
44 struct user_directory *dir;
49 dir = user_directory_init(USER_DIR_TIMEOUT, NULL);
50 (void)user_directory_add(dir, 1, host, ioloop_time + count+1);
53 (void)user_directory_add(dir, i+2, host, ioloop_time + i);
54 verify_user_directory(dir, count+1);
55 user_directory_deinit(&dir);
62 struct user_directory *dir;
67 dir = user_directory_init(USER_DIR_TIMEOUT, NULL);
70 (void)user_directory_add(dir, i+1, host, ioloop_time - i);
71 verify_user_directory(dir, count);
72 user_directory_deinit(&dir);
78 struct user_directory *dir;
84 dir = user_directory_init(USER_DIR_TIMEOUT, NULL);
90 (void)user_directory_add(dir, i+1, host, timestamp);
92 verify_user_directory(dir, count);
93 user_directory_deinit(&dir);