Lines Matching refs:open
35 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapEmpty()
59 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapReadable()
95 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapWritable()
147 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapUnlinked()
182 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapShared()
193 int fd2 = open(kFilename, O_RDWR); in TestMmapShared()
218 fd = open(kFilename, O_RDONLY); in TestMmapShared()
242 int fd = open(kFilename, O_RDWR | O_CREAT | O_EXCL); in TestMmapPrivate()
295 int fd = open("::mydir", O_RDONLY | O_DIRECTORY); in TestMmapEvil()
303 fd = open("::myfile", O_RDWR | O_CREAT | O_EXCL); in TestMmapEvil()
325 fd = open("::myfile", O_WRONLY); in TestMmapEvil()
349 fd = open("::myfile", O_RDONLY); in TestMmapEvil()
359 fd = open("::myfile", O_RDONLY | O_APPEND); in TestMmapEvil()
376 fbl::unique_fd fd(open("::mmap_truncate", O_CREAT | O_RDWR)); in TestMmapTruncateAccess()
418 fbl::unique_fd fd(open("::mmap_truncate_extend", O_CREAT | O_RDWR)); in TestMmapTruncateExtend()
465 fbl::unique_fd fd(open("::mmap_write_extend", O_CREAT | O_RDWR)); in TestMmapTruncateWriteExtend()
518 int fd = open("::inaccessible", O_RDWR); in mmap_crash()
560 int fd = open("::inaccessible", O_RDWR | O_CREAT); in TestMmapDeath()