Lines Matching defs:files
61 // Write a bunch of files to a directory
71 // Unlink all those files
86 // Write the maximum number of files to a directory
103 // Unlink all those files
115 const char* files[] = {
122 int num_files = fbl::count_of(files);
124 // Allocate a bunch of files in a directory
127 int fd = open(files[i], O_RDWR | O_CREAT | O_EXCL, 0644);
132 // Unlink all those files in the order specified
135 ASSERT_EQ(unlink(files[unlink_order[i]]), 0);
439 // But we can't make new files / directories, by path...
444 ASSERT_EQ(openat(fd, "file", O_CREAT | O_RDWR), -1, "Can't make new files in deleted dirs");
445 ASSERT_EQ(mkdirat(fd, "dir", 0755), -1, "Can't make new files in deleted dirs");