Searched refs:O_CREAT (Results 1 – 9 of 9) 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 | 191 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/tests/ |
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 | ftw_test.cpp | 46 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/libc/include/ |
D | fcntl.h | 99 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in open() 118 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in openat()
|