/bionic/libc/bionic/ |
D | open.cpp | 47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat() 51 int open(const char* pathname, int flags, ...) { in open() function 63 __strong_alias(open64, open);
|
D | daemon.c | 41 int fd = open("/dev/null", O_RDWR); in daemon()
|
D | pthread_setname_np.cpp | 70 int fd = open(comm_name, O_WRONLY); in pthread_setname_np()
|
D | pty.cpp | 46 return open("/dev/ptmx", flags); in posix_openpt()
|
D | dirent.cpp | 81 int fd = open(path, O_RDONLY | O_DIRECTORY); in opendir()
|
/bionic/tests/ |
D | sys_statvfs_test.cpp | 49 int fd = open("/proc", O_RDONLY); in TEST() 56 int fd = open("/proc", O_RDONLY); in TEST()
|
D | sys_vfs_test.cpp | 50 int fd = open("/proc", O_RDONLY); in TEST() 57 int fd = open("/proc", O_RDONLY); in TEST()
|
D | TemporaryFile.h | 45 fd = open(filename, O_RDWR); in reopen()
|
D | dlext_test.cpp | 107 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path, O_RDONLY | O_CLOEXEC)); in TEST_F() 125 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path, O_RDONLY | O_CLOEXEC)); in TEST_F() 145 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path, O_RDONLY | O_CLOEXEC)); in TEST_F() 262 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in CreateRelroFile() 287 relro_fd = open(relro_file_, O_RDONLY); in CreateRelroFile() 318 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in TEST_F() 327 int relro_fd = open(relro_file_, O_RDONLY); in TEST_F()
|
D | fcntl_test.cpp | 25 int fd = open("/proc/version", O_RDONLY); in TEST() 45 fd = open("/proc/version", O_RDONLY); in TEST() 161 int in = open("/proc/cpuinfo", O_RDONLY); in TEST() 211 int in = open("/proc/version", O_RDONLY); in TEST()
|
D | unistd_test.cpp | 195 int fd = open("/proc/version", O_RDONLY); in TEST() 364 ASSERT_NE(-1, fd = open(tf.filename, O_RDONLY)); in TestFsyncFunction() 368 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction() 373 ASSERT_NE(-1, fd = open("/", O_RDONLY)); in TestFsyncFunction() 379 ASSERT_NE(-1, fd = open("/proc/version", O_RDONLY)); in TestFsyncFunction()
|
D | sys_stat_test.cpp | 81 int fd = open("/proc/version", O_RDONLY); in TEST()
|
D | dirent_test.cpp | 88 int fd = open("/dev/null", O_RDONLY); in TEST() 96 int fd = open("/proc/self", O_RDONLY); in TEST()
|
D | stdlib_test.cpp | 329 int fd = open("/dev/null", O_WRONLY); in TEST() 358 int fd = open("/dev/null", O_WRONLY); in TEST()
|
/bionic/libc/include/ |
D | fcntl.h | 73 extern int open(const char*, int, ...); 85 extern int __open_real(const char*, int, ...) __RENAME(open); 96 int open(const char* pathname, int flags, ...) { in open() function
|
/bionic/libc/tools/zoneinfo/ |
D | update-tzdata.py | 43 return open('%s/tzdata' % bionic_libc_zoneinfo_dir).read().split('\x00', 1)[0] 51 for line in open('extracted/%s' % region): 61 setup = open('setup', 'w') 76 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write) 91 f = open(output_filename, 'wb') 173 tar = tarfile.open(data_filename, 'r')
|
/bionic/libc/upstream-freebsd/android/include/ |
D | freebsd-compat.h | 45 #define _open open
|
/bionic/libc/tools/ |
D | genlibgcc_compat.py | 104 fd = open(build_output_file_path, 'r') 120 fres = open(file_path, 'w')
|
D | generate-NOTICE.py | 122 content = open(path, 'r').read().decode('utf-8') 126 content = open(path, 'r').read().decode('iso-8859-1')
|
D | check-symbols.py | 21 for line in open(path, 'r'):
|
D | bionic_utils.py | 145 fp = open(file_path)
|
D | gensyscalls.py | 39 return open(bionic_temp + relpath, "w") 429 for line in open(path):
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | freopen.c | 90 f = open(file, oflags, DEFFILEMODE); in freopen() 96 f = open(file, oflags, DEFFILEMODE); in freopen()
|
D | mktemp.c | 88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); in mktemp_internal()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 86 for line in open(path): 147 f = open(dst, "r") 181 f = open(dst, "w")
|