Lines Matching refs:entries
41 void ScanEntries(DirEntT** entries, int entry_count, in ScanEntries() argument
44 name_set.insert(entries[i]->d_name); in ScanEntries()
45 name_list.push_back(entries[i]->d_name); in ScanEntries()
46 free(entries[i]); in ScanEntries()
48 free(entries); in ScanEntries()
53 dirent** entries; in TEST() local
54 int entry_count = scandir("/proc/self", &entries, nullptr, alphasort); in TEST()
64 ScanEntries(entries, entry_count, name_set, unsorted_name_list); in TEST()
86 dirent** entries; in TEST() local
87 int entry_count = scandir("/proc/self", &entries, nullptr, alphasort); in TEST()
106 ScanEntries(entries, entry_count, name_set, unsorted_name_list); in TEST()
117 dirent** entries; in TEST() local
119 ASSERT_EQ(-1, scandir("/does-not-exist", &entries, nullptr, nullptr)); in TEST()
124 dirent64** entries; in TEST() local
126 ASSERT_EQ(-1, scandir64("/does-not-exist", &entries, nullptr, nullptr)); in TEST()
133 dirent** entries; in TEST() local
135 ASSERT_EQ(-1, scandirat(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST()
143 dirent64** entries; in TEST() local
145 ASSERT_EQ(-1, scandirat64(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST()