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

123

/darwin-on-arm/xnu/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";
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/
H A Dmodule.mk22 open.c \
H A Dopen.c36 * open stub: The legacy interface never automatically associated a controlling
40 open(const char *path, int flags, ...) function
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/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);
H A Dopen.c32 * benchmark open
60 " [-f file-to-open (default %s)]\n"
61 "notes: measures open()\n",
117 ts->ts_fds[i] = open(optf, O_RDONLY);
H A Dpread.c95 fd = open(optf, O_RDONLY);
H A Dpwrite.c95 fd = open(optf, O_WRONLY);
H A Dread.c108 ts->ts_fd = open(optf, O_RDONLY);
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/libkern/kxld/tests/
H A Dloadtest.py42 NULL = open("/dev/null")
/darwin-on-arm/xnu/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);
485 fd = open(filepath, O_RDWR | O_CLOEXEC);
489 printf("%s, line %d: failed to open a class A file when unlocked, errno = %s.\n",
556 /* Try to open and truncate the file. */
558 fd = open(filepath, O_RDWR | O_TRUNC | O_CLOEXEC);
562 printf("%s, line %d: was able to open and truncate a class A file when locked.\n",
567 /* Try to open the file */
568 fd = open(filepath, O_RDWR | O_CLOEXEC);
572 printf("%s, line %d: was able to open
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOPolledInterface.h72 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;

Completed in 99 milliseconds

123