Home | History | Annotate | Download | only in test

Lines Matching defs:dirents

31 static uv_dirent_t dirents[1];
83 dir->dirents = dirents;
84 dir->nentries = ARRAY_SIZE(dirents);
128 dir->dirents = dirents;
129 dir->nentries = ARRAY_SIZE(dirents);
299 ASSERT_PTR_EQ(dir->dirents, dirents);
300 ASSERT(strcmp(dirents[0].name, "file1") == 0 ||
301 strcmp(dirents[0].name, "file2") == 0 ||
302 strcmp(dirents[0].name, "test_subdir") == 0);
304 if (!strcmp(dirents[0].name, "test_subdir"))
305 ASSERT_EQ(dirents[0].type, UV_DIRENT_DIR);
307 ASSERT_EQ(dirents[0].type, UV_DIRENT_FILE);
309 ASSERT_EQ(dirents[0].type, UV_DIRENT_UNKNOWN);
314 dir->dirents = dirents;
315 dir->nentries = ARRAY_SIZE(dirents);
333 dir->dirents = dirents;
334 dir->nentries = ARRAY_SIZE(dirents);
408 dir->dirents = dirents;
409 dir->nentries = ARRAY_SIZE(dirents);
416 ASSERT(strcmp(dirents[0].name, "file1") == 0 ||
417 strcmp(dirents[0].name, "file2") == 0 ||
418 strcmp(dirents[0].name, "test_subdir") == 0);
420 if (!strcmp(dirents[0].name, "test_subdir"))
421 ASSERT_EQ(dirents[0].type, UV_DIRENT_DIR);
423 ASSERT_EQ(dirents[0].type, UV_DIRENT_FILE);
425 ASSERT_EQ(dirents[0].type, UV_DIRENT_UNKNOWN);
499 dir->dirents = symlink_dirents;