| /xnu-11215/tests/ |
| H A D | netbsd_utimensat.c | 90 T_ASSERT_POSIX_SUCCESS((fd = open(FILEPATH, O_CREAT | O_RDWR, 0644)), NULL); 93 T_ASSERT_POSIX_SUCCESS((dfd = open(DIRPATH, O_RDONLY, 0)), NULL); 112 T_ASSERT_POSIX_SUCCESS((fd = open(FILEPATH, O_CREAT | O_RDWR, 0644)), NULL); 140 T_ASSERT_POSIX_SUCCESS((dfd = open(DIRPATH, O_RDONLY, 0)), NULL); 154 T_ASSERT_POSIX_SUCCESS((fd = open(FILEPATH, O_CREAT | O_RDWR, 0644)), NULL); 157 T_ASSERT_POSIX_SUCCESS((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)), NULL); 169 T_ASSERT_POSIX_SUCCESS((fd = open(FILEPATH, O_CREAT | O_RDWR, 0644)), NULL); 185 T_ASSERT_POSIX_SUCCESS((dfd = open(DIRPATH, O_RDONLY, 0)), NULL);
|
| H A D | file_leases.c | 119 fd = open(testfile, O_RDONLY, 0666); 139 fd = open(testfile, O_RDONLY, 0666); 156 fd = open(testfile, O_RDWR, 0666); 175 fd = open(testfile, O_RDONLY, 0666); 218 fd = open(testfile, O_RDONLY, 0666); 269 fd = open(testfile, O_EVTONLY, 0666); 320 fd = open(testfile, O_RDONLY, 0666); 370 dir_fd = open(testdir, O_RDONLY); 421 fd = open(testfile, O_RDWR, 0666); 434 fd = open(testfile, O_RDONLY, 0666); [all …]
|
| H A D | fd.c | 104 fd1 = open("/dev/null", O_RDONLY | O_CLOEXEC); 107 fd2 = open("/dev/null", O_RDONLY | O_CLOEXEC); 142 fd = open("/dev/null", O_RDONLY | 0x08000000 /* O_CLOFORK */);
|
| H A D | iopolicy.c | 65 fd = open(g_testfile, O_CREAT | O_RDWR, 0666); 104 fd = open(g_testfile, O_RDWR | O_EVTONLY, 0666); 126 fd = open(g_testfile, O_EVTONLY, 0666);
|
| H A D | rename_excl.c | 70 fd = open(TEST_FILE1, O_CREAT | O_RDWR, 0666); 77 fd = open(TEST_FILE2, O_CREAT | O_RDWR, 0666);
|
| H A D | ioperf.c | 84 int rndfd = open("/dev/urandom", O_RDONLY, S_IRUSR); in io_perf_test_io_init() 90 int fd = open("/mnt2/test", O_CREAT | O_WRONLY, S_IRUSR); in io_perf_test_io_init() 166 int test_file_fd = open("/mnt2/test", O_RDONLY); in perform_io()
|
| H A D | fd_send.c | 101 fd = open("/dev/null", O_RDWR); 125 fd = open("/dev/null", O_RDWR); 172 fd = open("/dev/null", O_RDWR);
|
| H A D | tty_hang.c | 82 T_ASSERT_POSIX_SUCCESS(pty_fd = open(pty_name, O_RDWR), NULL); in get_new_session_and_terminal_and_fork_child_to_read() 96 T_ASSERT_POSIX_SUCCESS(pty_fd_child = open(pty_name, O_RDWR), in get_new_session_and_terminal_and_fork_child_to_read()
|
| H A D | kqueue_fifo_18776047.c | 129 read_fd = open(fpath, O_RDONLY | O_APPEND | O_NONBLOCK); 132 write_fd = open(fpath, O_WRONLY | O_APPEND | O_NONBLOCK);
|
| H A D | read_nullbuf.c | 47 fd = open("/etc/passwd", O_RDONLY);
|
| H A D | fduiomove.c | 18 fd = open(*_NSGetProgname(), O_RDONLY);
|
| H A D | poll.c | 62 file = open(LAUNCHD_PATH, O_RDONLY | O_NONBLOCK); 64 dir = open(".", O_RDONLY | O_NONBLOCK);
|
| H A D | tty_ioctl.c | 60 T_ASSERT_POSIX_SUCCESS(replica = open(name, O_RDWR | O_NOCTTY), "open replica"); in tty_ioctl_tioccons()
|
| /xnu-11215/tests/vfs/ |
| H A D | o_search.c | 62 T_ASSERT_POSIX_SUCCESS(fd = open(g_testfile, O_CREAT | O_RDWR, 0644), NULL); 69 tmpdir_fd = open(tmpdir, O_EXEC); 73 T_ASSERT_POSIX_SUCCESS(tmpdir_fd = open(tmpdir, O_RDONLY), NULL); 77 T_ASSERT_POSIX_SUCCESS(tmpdir_fd = open(tmpdir, O_SEARCH), NULL);
|
| H A D | freeable_vnodes.c | 106 T_ASSERT_POSIX_SUCCESS(dir_fd = open(dirpath, O_RDONLY), NULL); in run_vnoder() 244 T_ASSERT_POSIX_SUCCESS(dlpath_fd = open(dlpaths[j], O_RDONLY), NULL);
|
| /xnu-11215/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 39 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); in test_file_create() 70 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); in test_file_read_setup() 104 fd = open(filepath, O_RDONLY); in test_file_read() 152 fds[i] = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); in test_file_write_setup()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | reproto.sh | 8 open(PROTO, ">devfs_proto.h") || die "Cannot open devfs_proto.h\n"; 41 if(open(F, \$file) == 0) {
|
| /xnu-11215/tools/lldbmacros/lint/ |
| H A D | syntax_checker.py | 34 fh = open(fname) 51 with open(fname, 'r') as file:
|
| /xnu-11215/tests/vm/ |
| H A D | perf_mlock.c | 80 fd = open(tmpf, (O_RDWR | O_CREAT)); 93 fd = open(tmpf, O_RDWR);
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | open-base.c | 76 open(const char *path, int oflag, ...) in open() function 79 open$NOCANCEL(const char *path, int oflag, ...) in open()
|
| H A D | nfsclnt.c | 35 fd = open("/dev/" NFSCLNT_DEVICE, O_RDONLY); in nfsclnt()
|
| /xnu-11215/SETUP/setsegname/ |
| H A D | setsegname.c | 65 if ((fd = open(path, O_RDONLY)) == -1) { in readFile() 261 int fd = open(output_name, O_WRONLY | O_CREAT | O_TRUNC, 0755); in main()
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | common.c | 21 int w_fd = open(TEST_TXT_FILE, O_WRONLY | O_CREAT | O_TRUNC, (mode_t)0666); in mach_server_data_setup() 36 fd = open(TEST_TXT_FILE, O_RDONLY | O_EXCL, 0666); in mach_server_data_setup()
|
| /xnu-11215/SETUP/config/ |
| H A D | openp.c | 67 value = open(fnam, flgs, mod); in func()
|
| /xnu-11215/bsd/kern/ |
| H A D | tty_dev.h | 69 struct ptmx_ioctl *(*open)(int minor, int flags); member
|