Searched refs:open (Results 1 - 25 of 78) sorted by relevance

1234

/xnu-2782.1.97/bsd/miscfs/devfs/
H A Dreproto.sh8 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 Dopen.c36 * 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 Dxnudefines.py72 filedata = open(filename).read()
/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_openclose.c96 fd = open(optf, 0);
H A Dlmbench_fstat.c95 ts->ts_fd = open(optf, O_RDONLY);
H A Dcreate_file.c122 "notes: measures file creation using open(2)\n");
196 if (!open(optf, O_CREAT))
H A Dlmbench_bw_mmap_rd.c179 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 Dlmbench_read.c111 ts->ts_fd = open(optf, O_RDONLY);
H A Dlmbench_write.c113 ts->ts_fd = open(optf, O_WRONLY);
/xnu-2782.1.97/tools/tests/libMicro/
H A Dfcntl.c78 if ((fd = open(optf, O_RDONLY)) == -1) {
79 perror("open");
H A Disatty.c89 open(optf, O_RDONLY) : 1024);
H A Dpipe.c477 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 DMakefile.benchmarks80 open \
H A Dclose.c118 open(optf, O_RDONLY) : i + 1024);
H A Ddup.c86 fd = (open(optf, O_RDONLY));
H A Dfile_lock.c77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
H A Dlseek.c97 ts->ts_fd = open(optf, O_RDONLY);
/xnu-2782.1.97/SETUP/config/
H A Dopenp.c24 /* 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 Dtty_dev.h52 #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 Dloadtest.py42 NULL = open("/dev/null")
/xnu-2782.1.97/tools/lldbmacros/plugins/
H A Dspeedtracer.py35 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 Dtest_file_helper.c33 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 Dcontent_protection_test.c61 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 DIOPolledInterface.h74 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;
/xnu-2782.1.97/tools/lldbmacros/core/
H A Dsyntax_checker.py30 fh = open(fname)

Completed in 65 milliseconds

1234