Searched refs:O_CREAT (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/bionic/ |
D | open.cpp | 47 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()
|
D | system_properties.cpp | 216 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/ |
D | flags.c | 61 o = O_CREAT | O_TRUNC; in __sflags() 67 o = O_CREAT | O_APPEND; in __sflags() 87 if (o & O_CREAT) in __sflags()
|
D | mktemp.c | 72 flags |= O_CREAT | O_EXCL | O_RDWR; in mktemp_internal()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 27 #ifndef O_CREAT 29 #define O_CREAT 00000100 macro 94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/bionic/libc/include/ |
D | fcntl.h | 118 __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/ |
D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/tests/ |
D | fortify_compilation_test.cpp | 210 open("/dev/null", O_CREAT); in test_open() 215 open("/dev/null", O_CREAT, 0, 0); in test_open()
|
D | ftw_test.cpp | 48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()
|