/xnu-2782.1.97/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) { 42 warn "Cannot open \$file.\n";
|
/xnu-2782.1.97/libsyscall/wrappers/legacy/ |
H A D | open.c | 36 * open stub: The legacy interface never automatically associated a controlling 40 open(const char *path, int flags, ...) function
|
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | xnudefines.py | 72 filedata = open(filename).read()
|
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_openclose.c | 96 fd = open(optf, 0);
|
H A D | lmbench_fstat.c | 95 ts->ts_fd = open(optf, O_RDONLY);
|
H A D | create_file.c | 122 "notes: measures file creation using open(2)\n"); 196 if (!open(optf, O_CREAT))
|
H A D | lmbench_bw_mmap_rd.c | 179 if ((sfd = open(src, O_RDONLY)) < 0) { 182 if ((dfd = open(dst, O_CREAT|O_TRUNC|O_RDWR, mode)) < 0) { 217 " [-i] io_only (no open/close)\n" 300 CHK(state->fd = open(state->filename, 0)); 323 CHK(fd = open(state->filename, 0));
|
H A D | lmbench_read.c | 111 ts->ts_fd = open(optf, O_RDONLY);
|
H A D | lmbench_write.c | 113 ts->ts_fd = open(optf, O_WRONLY);
|
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | fcntl.c | 78 if ((fd = open(optf, O_RDONLY)) == -1) { 79 perror("open");
|
H A D | isatty.c | 89 open(optf, O_RDONLY) : 1024);
|
H A D | pipe.c | 477 ts->ts_in = open(path, O_RDONLY); 478 ts->ts_out = open(path, O_WRONLY); 480 ts->ts_in = open(path, O_RDONLY); 481 ts->ts_out2 = open(path, O_WRONLY); 489 ts->ts_in2 = open(path, O_RDONLY); 490 ts->ts_out = open(path, O_WRONLY);
|
H A D | Makefile.benchmarks | 80 open \
|
H A D | close.c | 118 open(optf, O_RDONLY) : i + 1024);
|
H A D | dup.c | 86 fd = (open(optf, O_RDONLY));
|
H A D | file_lock.c | 77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
H A D | lseek.c | 97 ts->ts_fd = open(optf, O_RDONLY);
|
/xnu-2782.1.97/SETUP/config/ |
H A D | openp.c | 24 /* openp, fopenp -- search pathlist and open file 34 * when the file is found and can be opened by open() 39 * of open() and type instead of flags/mode; it returns 0 if no 46 * current manual entries for open and fopen. 54 #include <fcntl.h> /* open */ 67 value = open (fnam,flgs,mod);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | tty_dev.h | 52 #define PF_UNLOCKED 0x0100 /* slave unlock (master open resets) */ 53 #define PF_OPEN_M 0x0200 /* master is open */ 54 #define PF_OPEN_S 0x0400 /* slave is open */ 70 struct ptmx_ioctl *(*open)(int minor, int flags); member in struct:tty_dev_t
|
/xnu-2782.1.97/libkern/kxld/tests/ |
H A D | loadtest.py | 42 NULL = open("/dev/null")
|
/xnu-2782.1.97/tools/lldbmacros/plugins/ |
H A D | speedtracer.py | 35 webbrowser.open(newurl) 44 """ A cleanup call from xnu which is a signal to wrap up any open file descriptors etc. """
|
/xnu-2782.1.97/tools/tests/perf_index/ |
H A D | test_file_helper.c | 33 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); 34 VERIFY(fd >= 0, "open failed"); 61 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); 63 VERIFY(fd >= 0, "open failed"); 92 fd = open(filepath, O_RDONLY); 93 VERIFY(fd >= 0, "open failed"); 136 fds[i] = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644); 140 FAIL("open failed");
|
/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | content_protection_test.c | 61 printf("FAILURE: failed to open AppleKeyStore.\n"); 420 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC, 0777); 473 fd = open (filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC); 509 fd = open(filepath, O_RDWR | O_CLOEXEC); 513 printf("%s, line %d: failed to open a class A file when unlocked, errno = %s.\n", 580 /* Try to open and truncate the file. */ 582 fd = open(filepath, O_RDWR | O_TRUNC | O_CLOEXEC); 586 printf("%s, line %d: was able to open and truncate a class A file when locked.\n", 591 /* Try to open the file */ 592 fd = open(filepat [all...] |
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOPolledInterface.h | 74 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;
|
/xnu-2782.1.97/tools/lldbmacros/core/ |
H A D | syntax_checker.py | 30 fh = open(fname)
|