Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 38) sorted by relevance

12

/bionic/libc/bionic/
Dopen.cpp47 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);
Ddaemon.c41 int fd = open("/dev/null", O_RDWR); in daemon()
Dpthread_setname_np.cpp70 int fd = open(comm_name, O_WRONLY); in pthread_setname_np()
Dpty.cpp46 return open("/dev/ptmx", flags); in posix_openpt()
Ddirent.cpp81 int fd = open(path, O_RDONLY | O_DIRECTORY); in opendir()
/bionic/tests/
Dsys_statvfs_test.cpp49 int fd = open("/proc", O_RDONLY); in TEST()
56 int fd = open("/proc", O_RDONLY); in TEST()
Dsys_vfs_test.cpp50 int fd = open("/proc", O_RDONLY); in TEST()
57 int fd = open("/proc", O_RDONLY); in TEST()
DTemporaryFile.h45 fd = open(filename, O_RDWR); in reopen()
Ddlext_test.cpp107 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()
Dfcntl_test.cpp25 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()
Dunistd_test.cpp195 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()
Dsys_stat_test.cpp81 int fd = open("/proc/version", O_RDONLY); in TEST()
Ddirent_test.cpp88 int fd = open("/dev/null", O_RDONLY); in TEST()
96 int fd = open("/proc/self", O_RDONLY); in TEST()
Dstdlib_test.cpp329 int fd = open("/dev/null", O_WRONLY); in TEST()
358 int fd = open("/dev/null", O_WRONLY); in TEST()
/bionic/libc/include/
Dfcntl.h73 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/
Dupdate-tzdata.py43 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/
Dfreebsd-compat.h45 #define _open open
/bionic/libc/tools/
Dgenlibgcc_compat.py104 fd = open(build_output_file_path, 'r')
120 fres = open(file_path, 'w')
Dgenerate-NOTICE.py122 content = open(path, 'r').read().decode('utf-8')
126 content = open(path, 'r').read().decode('iso-8859-1')
Dcheck-symbols.py21 for line in open(path, 'r'):
Dbionic_utils.py145 fp = open(file_path)
Dgensyscalls.py39 return open(bionic_temp + relpath, "w")
429 for line in open(path):
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfreopen.c90 f = open(file, oflags, DEFFILEMODE); in freopen()
96 f = open(file, oflags, DEFFILEMODE); in freopen()
Dmktemp.c88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); in mktemp_internal()
/bionic/libc/kernel/tools/
Dutils.py86 for line in open(path):
147 f = open(dst, "r")
181 f = open(dst, "w")

12