Lines Matching refs:O_RDWR
38 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644);
45 ASSERT_EQ(open(path, O_RDWR | O_CREAT | O_EXCL, 0644), -1);
66 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644);
95 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644);
127 int fd = open(files[i], O_RDWR | O_CREAT | O_EXCL, 0644);
240 int fd = open("::a", O_RDWR | O_CREAT | O_EXCL, 0644);
246 fd = open("::a", O_RDWR | O_CREAT | O_EXCL, 0644);
249 ASSERT_EQ(open("::a/", O_RDWR, 0644), -1);
276 int fd = open("::a/file1", O_RDWR | O_CREAT | O_EXCL, 0644);
280 fd = open("::a/file2", O_RDWR | O_CREAT | O_EXCL, 0644);
444 ASSERT_EQ(openat(fd, "file", O_CREAT | O_RDWR), -1, "Can't make new files in deleted dirs");
448 fd = open("::dir", O_CREAT | O_EXCL | O_RDWR);