Searched refs:O_RDONLY (Results 1 - 25 of 26) sorted by relevance

12

/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_klib.c272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
279 case O_RDONLY:
283 case (O_RDONLY | O_CREAT):
287 case (O_RDONLY | O_CREAT | O_TRUNC):
291 case (O_RDONLY | O_TRUNC):
369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
376 case O_RDONLY:
380 case (O_RDONLY | O_CREAT):
384 case (O_RDONLY | O_CREAT | O_TRUNC):
388 case (O_RDONLY | O_TRUN
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dfcntl.c78 if ((fd = open(optf, O_RDONLY)) == -1) {
H A Disatty.c89 open(optf, O_RDONLY) : 1024);
H A Dclose.c118 open(optf, O_RDONLY) : i + 1024);
H A Ddup.c86 fd = (open(optf, O_RDONLY));
H A Dlseek.c97 ts->ts_fd = open(optf, O_RDONLY);
H A Dopen.c117 ts->ts_fds[i] = open(optf, O_RDONLY);
H A Dpread.c95 fd = open(optf, O_RDONLY);
H A Dread.c108 ts->ts_fd = open(optf, O_RDONLY);
H A Dpipe.c477 ts->ts_in = open(path, O_RDONLY);
480 ts->ts_in = open(path, O_RDONLY);
489 ts->ts_in2 = open(path, O_RDONLY);
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_fstat.c95 ts->ts_fd = open(optf, O_RDONLY);
H A Dlmbench_read.c111 ts->ts_fd = open(optf, O_RDONLY);
H A Dlmbench_select_file.c124 return (int) open(ts->fname, O_RDONLY);
H A Dlmbench_bw_file_rd.c273 fd = open(ts->filename, O_RDONLY);
H A Dlmbench_bw_mmap_rd.c179 if ((sfd = open(src, O_RDONLY)) < 0) {
H A Dlmbench_select_tcp.c138 return (int) open(ts->fname, O_RDONLY);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A D32bit_inode_tests.c92 my_fd = open( &g_target_path[0], (O_RDONLY), 0 );
232 my_fd = open( "/mach_kernel", O_RDONLY, 0 );
H A Dxattr_tests.c106 my_fd = open( my_pathp, O_RDONLY, 0 );
H A Dcontent_protection_test.c669 dir_fd = open(dirpath, O_RDONLY | O_CLOEXEC);
858 subdir_fd = open(subdirpath, O_RDONLY | O_CLOEXEC);
H A Dtests.c218 my_fd = open( my_pathp, O_RDONLY, 0 );
844 my_fd = open( &g_target_path[0], O_RDONLY, 0 );
1049 my_fd = open( my_pathp, O_RDONLY, 0 );
1447 my_fd = open( STATFS_TEST_PATH, O_RDONLY, 0 );
1961 my_fd = open( my_pathp, O_RDONLY, 0 );
2942 my_fd = open( my_pathp, O_RDONLY, 0 );
3037 my_fd = open(&my_name[0], O_RDONLY );
3363 my_fd = open( my_pathp, O_RDONLY, 0 );
3432 my_result = open( devfdpath, O_RDONLY | O_CLOEXEC );
4226 my_fd = open( &g_target_path[0], (O_RDONLY),
[all...]
H A Dsocket_tests.c219 my_libsys_fd = open("/usr/lib/libSystem.dylib", O_RDONLY, 0644);
/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c81 if ((fd = open(path, O_RDONLY)) == -1) {
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h113 #define O_RDONLY 0x0000 /* open for reading only */ macro
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c147 return (void*)open((char*)arg, O_RDONLY);
239 tmpfd = open((char*)args[0], O_RDONLY);
307 tmpfd = open((char*)args[0], O_RDONLY | O_CREAT);
340 tmpfd = open((char*)args[0], O_RDONLY);
418 filefd = open(test->t_watchfile, O_RDONLY | O_SYMLINK);
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dtestsp.c519 if ((fd = open(FILENAME, O_RDONLY))<0) {

Completed in 114 milliseconds

12