/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 | pthread_setname_np.cpp | 68 int fd = open(comm_name, O_CLOEXEC | O_WRONLY); in pthread_setname_np()
|
D | pty.cpp | 53 return open("/dev/ptmx", flags); in posix_openpt() 138 *slave = open(name, O_RDWR|O_NOCTTY); in openpty()
|
D | bionic_systrace.cpp | 80 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | libc_init_common.cpp | 138 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in __nullify_closed_stdio() 141 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); in __nullify_closed_stdio()
|
/bionic/libc/include/ |
D | fcntl.h | 65 extern int open(const char*, int, ...); 86 extern int __open_real(const char*, int, ...) __RENAME(open); 97 int open(const char* pathname, int flags, ...) { in open() function
|
/bionic/tests/ |
D | sys_statvfs_test.cpp | 54 int fd = open("/proc", O_RDONLY); in TEST() 62 int fd = open("/proc", O_RDONLY); in TEST()
|
D | sys_vfs_test.cpp | 55 int fd = open("/proc", O_RDONLY); in TEST() 63 int fd = open("/proc", O_RDONLY); in TEST()
|
D | fortify_compilation_test.cpp | 209 open("/dev/null", O_CREAT); in test_open() 214 open("/dev/null", O_CREAT, 0, 0); in test_open()
|
D | sys_xattr_test.cpp | 70 int fd = open(tf.filename, O_PATH); in TEST() 87 int fd = open(tf.filename, O_PATH); in TEST()
|
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 | TemporaryFile.h | 47 fd = open(filename, O_RDWR); in reopen()
|
D | dlext_test.cpp | 110 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 124 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 144 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 338 int relro_fd = open(relro_file, O_RDWR | O_TRUNC); in CreateRelroFile() 363 relro_fd = open(relro_file, O_RDONLY); in CreateRelroFile()
|
/bionic/libc/tools/zoneinfo/ |
D | update-tzdata.py | 46 return open('%s/tzdata' % bionic_libc_zoneinfo_dir).read().split('\x00', 1)[0] 54 for line in open('extracted/%s' % region): 64 setup = open('setup', 'w') 79 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write) 94 f = open(output_filename, 'wb') 190 tar = tarfile.open(data_filename, 'r')
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in daemon()
|
/bionic/libc/tools/ |
D | genlibgcc_compat.py | 104 fd = open(build_output_file_path, 'r') 120 fres = open(file_path, 'w')
|
D | ndk_missing_symbols.py | 25 with open(os.devnull, 'w') as devnull:
|
D | generate-NOTICE.py | 122 content = open(path, 'r').read().decode('utf-8') 125 content = open(path, 'r').read().decode('iso-8859-1')
|
D | check-symbols.py | 21 for line in open(path, 'r'):
|
D | check-symbols-glibc.py | 45 ignored_symbols |= set(open(f, 'r').read().splitlines())
|
D | symbols.py | 24 f = open(txt_file, 'r')
|
/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 | fopen.c | 54 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 76 f = open(dst, "r") 110 f = open(dst, "w")
|
/bionic/tools/relocation_packer/src/ |
D | main.cc | 97 ScopedFd fd(open(file, O_RDWR)); in main()
|