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.cpp29 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fcntl_getfl()
75 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setlkw()
106 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fcntl_dupfd()
128 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setlk()
159 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_getlk()
185 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_getfd()
204 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Fcntl_setfd()
241 int fd = open(filename, O_RDONLY, OPEN_MODE); in Bm_function_Open_rdonly()
258 int fd = open(filename, O_RDWR, OPEN_MODE); in Bm_function_Open_rdwr()
275 int fd = open(filename, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Open_creat_rdwr()
Dlibc_unistd.cpp38 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in ReadWriteTest()
71 int fp = open("/dev/zero", O_RDWR, OPEN_MODE); in PreadWriteTest()
110 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Close()
236 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Writev()
264 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Lseek()
Dlibc_syscall.cpp70 int fp = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Syscall_write()
85 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_read()
105 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_fcntl()
Dlibc_epoll.cpp56 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_ctl()
80 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Epoll_wait()
Dlibc_mman.cpp129 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Mmap_fd()
151 int fd = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Munmap_fd()
Dlibc_ioctl.cpp34 int fd = open(DEVICE_FILE, O_RDWR, OPEN_MODE); in Bm_function_Ioctl_baudrate()
Dlibc_stat.cpp77 int fd = open("/etc/passwd", O_RDONLY, OPEN_MODE); in Bm_function_Fstat64()
Dutil.h85 #define OPEN_MODE 0666 macro
Dlibc_stdio.cpp286 int fp = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Fdopen()
/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/icu/icu4c/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/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/flutter/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/tzdata/
Dlocaltime.c49 #define OPEN_MODE (O_RDONLY | O_BINARY) macro
52 #define OPEN_MODE O_RDONLY macro
443 fid = open(name, OPEN_MODE); in tzloadbody()