Home
last modified time | relevance | path

Searched refs:OPEN_MODE (Results 1 – 15 of 15) sorted by relevance

/third_party/musl/Benchmark/musl/
Dlibc_fcntl.cpp31 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fcntl_getfl()
72 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setlkw()
100 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fcntl_dupfd()
120 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setlk()
148 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_getlk()
172 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_getfd()
189 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setfd()
222 int fd = open(filename, O_RDONLY, OPEN_MODE); in Bm_function_Open_rdonly()
238 int fd = open(filename, O_RDWR, OPEN_MODE); in Bm_function_Open_rdwr()
254 int fd = open(filename, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Open_creat_rdwr()
[all …]
Dlibc_unistd.cpp58 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in ReadWriteTest()
88 int fp = open("/dev/zero", O_RDWR, OPEN_MODE); in PreadWriteTest()
127 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Close()
296 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Writev()
324 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Lseek()
388 int fd = open(filepath, O_CREAT | O_WRONLY, OPEN_MODE); in Bm_function_Fsync()
404 int fd = open(filepath, O_CREAT | O_WRONLY, OPEN_MODE); in Bm_function_Fdatasync()
422 int fd = open(filepath, O_CREAT | O_WRONLY, OPEN_MODE); in Bm_function_Ftruncate()
437 int fd = open(filepath, O_CREAT | O_RDWR, OPEN_MODE); in Bm_function_Unlink()
473 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Readv()
[all …]
Dlibc_syscall.cpp72 int fp = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Syscall_write()
86 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_read()
104 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_fcntl()
Dlibc_epoll.cpp53 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_ctl()
75 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_wait()
Dlibc_poll.cpp9 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Poll()
Dlibc_ioctl.cpp33 int fd = open(DEVICE_FILE, O_RDWR, OPEN_MODE); in Bm_function_Ioctl_baudrate()
Dlibc_mman.cpp160 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Mmap_fd()
181 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Munmap_fd()
Dlibc_stat.cpp73 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fstat64()
Dlibc_dirent.cpp91 int fd = open("/dev/", O_RDONLY, OPEN_MODE); in Bm_function_Fdopendir()
Dutil.h110 #define OPEN_MODE 0666 macro
Dlibc_stdio.cpp273 int fp = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Fdopen()
1460 int oldFd = open(oldPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat()
1466 int newFd = open(newPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-1.c28 #define OPEN_MODE S_IRGRP macro
49 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, OPEN_MODE); in main()
/third_party/ltp/lib/
Dtst_cmd.c34 #define OPEN_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) macro
142 OPEN_FLAGS, OPEN_MODE); in tst_cmd_()
152 OPEN_FLAGS, OPEN_MODE); in tst_cmd_()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dlocaltime.c35 #define OPEN_MODE (O_RDONLY | O_BINARY) macro
38 #define OPEN_MODE O_RDONLY macro
383 if ((fid = open(name, OPEN_MODE)) == -1) in tzload()
/third_party/icu/icu4c/source/tools/tzcode/
Dlocaltime.c37 #define OPEN_MODE (O_RDONLY | O_BINARY) macro
40 #define OPEN_MODE O_RDONLY macro
385 if ((fid = open(name, OPEN_MODE)) == -1) in tzload()