Searched refs:open (Results 1 - 25 of 66) sorted by relevance
123
/darwin-on-arm/xnu/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";
|
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/ |
H A D | module.mk | 22 open.c \
|
H A D | open.c | 36 * 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 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);
|
/darwin-on-arm/xnu/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);
|
H A D | open.c | 32 * 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 D | pread.c | 95 fd = open(optf, O_RDONLY);
|
H A D | pwrite.c | 95 fd = open(optf, O_WRONLY);
|
H A D | read.c | 108 ts->ts_fd = open(optf, O_RDONLY);
|
/darwin-on-arm/xnu/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);
|
/darwin-on-arm/xnu/libkern/kxld/tests/ |
H A D | loadtest.py | 42 NULL = open("/dev/null")
|
/darwin-on-arm/xnu/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); 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 D | IOPolledInterface.h | 72 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;
|
Completed in 99 milliseconds
123