Home
last modified time | relevance | path

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

12

/bionic/libc/unistd/
Dgetpt.c33 return open("/dev/ptmx", O_RDWR|O_NOCTTY); in getpt()
Dcreat.c33 return open(pathname, O_WRONLY|O_TRUNC|O_CREAT, mode); in creat()
Dopen.c34 int open(const char *pathname, int flags, ...) in open() function
Ddaemon.c41 int fd = open("/dev/null", O_RDWR); in daemon()
Dopendir.c58 dir->_DIR_fd = open(dirpath, O_RDONLY|O_DIRECTORY); in opendir()
Dsysconf.c291 p->fd = open( path, O_RDONLY ); in line_parser_init()
Dsyslog.c270 (fd = open(_PATH_CONSOLE, O_WRONLY|O_NONBLOCK, 0)) >= 0) { in vsyslog_r()
/bionic/libc/include/
Dfcntl.h46 extern int open(const char* path, int mode, ...);
/bionic/libc/stdio/
Dfopen.c53 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
Dfreopen.c89 f = open(file, oflags, DEFFILEMODE); in freopen()
95 f = open(file, oflags, DEFFILEMODE); in freopen()
Dmktemp.c149 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0) in _gettemp()
/bionic/libc/kernel/common/linux/mtd/
Dblktrans.h50 int (*open)(struct mtd_blktrans_dev *dev); member
/bionic/libc/bionic/
Dssp.c46 fd = open("/dev/urandom", O_RDONLY); in __guard_setup()
Dlogd_write.c125 fd = TEMP_FAILURE_RETRY(open(log_channels[log_id].path, O_WRONLY)); in __write_to_log_init()
Dfts.c163 if (!ISSET(FTS_NOCHDIR) && (sp->fts_rfd = open(".", O_RDONLY, 0)) < 0) in fts_open()
288 if ((p->fts_symfd = open(".", O_RDONLY, 0)) < 0) { in fts_read()
378 open(".", O_RDONLY, 0)) < 0) { in fts_read()
517 if ((fd = open(".", O_RDONLY, 0)) < 0) in fts_children()
1023 if (fd < 0 && (newfd = open(path, O_RDONLY, 0)) < 0) in fts_safe_changedir()
Darc4random.c116 fd = open("/dev/urandom", O_RDONLY); in arc4_stir()
Dmalloc_debug_qemu.c628 int fd = open("/dev/qemu_trace", O_RDWR); in malloc_debug_initialize()
/bionic/libc/kernel/tools/
Dutils.py176 fp = open(file_path)
238 for line in open(path):
276 f = open( path, "r" )
295 f = open( path, "w" )
328 f = open(dst, "r")
364 f = open(dst, "w")
Dkernel.py115 f = open(path, "rt")
/bionic/libc/tools/
Dchecksyscalls.py111 fp = open(header_file)
Dbionic_utils.py281 fp = open(file_path)
Dgensyscalls.py46 return open( bionic_temp + relpath, "w" )
/bionic/linker/
Dlinker_format.c273 log_fd = open("/dev/log/main", O_WRONLY); in log_vprint()
Dlinker.c610 if ((fd = open(name, O_RDONLY)) >= 0) in _open_lib()
1649 dev_null = open("/dev/null", O_RDWR); in nullify_closed_stdio()
/bionic/libc/tzcode/
Dlocaltime.c472 if ((fid = open(name, OPEN_MODE)) == -1) {
475 int fidix = open(INDEXFILE, OPEN_MODE);
502 fid = open(DATAFILE, OPEN_MODE);

12