Searched refs:O_CREAT (Results 1 – 15 of 15) sorted by relevance
/bionic/tools/versioner/tests/fortify_inline/headers/ |
D | fcntl.h | 7 #define O_CREAT 00000100 macro 15 __attribute__((enable_if(!(flags & O_CREAT), ""))) { in open() 23 __attribute__((enable_if(flags & O_CREAT, ""))) { in open()
|
/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/bionic/ |
D | open.cpp | 48 return ((flags & O_CREAT) == O_CREAT) || ((flags & O_TMPFILE) == O_TMPFILE); in needs_mode() 52 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 28 #ifndef O_CREAT 29 #define O_CREAT 00000100 macro 81 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/bionic/tests/ |
D | clang_fortify_tests.cpp | 291 EXPECT_FORTIFY_DEATH(open(target, O_CREAT)); in FORTIFY_TEST() 295 EXPECT_FORTIFY_DEATH(open64(target, O_CREAT)); in FORTIFY_TEST() 299 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_CREAT)); in FORTIFY_TEST() 303 EXPECT_FORTIFY_DEATH(openat64(dirfd, target, O_CREAT)); in FORTIFY_TEST()
|
D | ftw_test.cpp | 48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
|
D | stdlib_test.cpp | 392 O_CREAT | O_TRUNC | O_WRONLY, 0644)); in TEST()
|
D | fortify_test.cpp | 1021 int flags = O_CREAT; // Fool the compiler. in TEST_F()
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 57 MACRO(O_CREAT); in fcntl_h()
|
/bionic/libc/include/bits/fortify/ |
D | fcntl.h | 46 #define __open_modes_useful(flags) (((flags) & O_CREAT) || ((flags) & O_TMPFILE) == O_TMPFILE)
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
|
D | malloc_debug.cpp | 1006 int fd = open(file_name, O_RDWR | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, 0644); in debug_dump_heap()
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 56 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
|
/bionic/docs/ |
D | status.md | 336 cover other issues. It can now detect, for example, passing `O_CREAT`
|