Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dopen.cpp47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
54 if ((flags & O_CREAT) != 0) { in open()
66 if (__predict_false((flags & O_CREAT) != 0)) { in __open_2()
76 if ((flags & O_CREAT) != 0) { in openat()
88 if ((flags & O_CREAT) != 0) { in __openat_2()
Dsystem_properties.cpp216 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c61 o = O_CREAT | O_TRUNC; in __sflags()
67 o = O_CREAT | O_APPEND; in __sflags()
87 if (o & O_CREAT) in __sflags()
Dmktemp.c72 flags |= O_CREAT | O_EXCL | O_RDWR; in mktemp_internal()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h27 #ifndef O_CREAT
29 #define O_CREAT 00000100 macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/bionic/libc/include/
Dfcntl.h118 __enable_if(flags & O_CREAT, __open_too_few_args_error)
141 __enable_if(flags & O_CREAT, __open_too_few_args_error)
170 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in open()
189 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in openat()
/bionic/libc/kernel/uapi/asm-mips/asm/
Dfcntl.h26 #define O_CREAT 0x0100 macro
/bionic/tests/
Dfortify_compilation_test.cpp210 open("/dev/null", O_CREAT); in test_open()
215 open("/dev/null", O_CREAT, 0, 0); in test_open()
Dftw_test.cpp48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
/bionic/libc/malloc_debug/
DRecordData.cpp144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()