Searched refs:O_CREAT (Results 1 - 15 of 15) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | flags.c | 61 o = O_CREAT | O_TRUNC; 67 o = O_CREAT | O_APPEND; 87 if (o & O_CREAT)
|
H A D | mktemp.c | 72 flags |= O_CREAT | O_EXCL | O_RDWR;
|
/bionic/libc/bionic/ |
H A D | open.cpp | 47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); 54 if ((flags & O_CREAT) != 0) { 66 if (__predict_false((flags & O_CREAT) != 0)) { 67 __fortify_fatal("open(O_CREAT): called without specifying a mode"); 76 if ((flags & O_CREAT) != 0) { 88 if ((flags & O_CREAT) != 0) { 89 __fortify_fatal("openat(O_CREAT): called without specifying a mode");
|
H A D | system_properties.cpp | 216 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444);
|
/bionic/libc/kernel/uapi/asm-generic/ |
H A 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/versioner-dependencies/common/kernel_uapi/asm-generic/ |
H A 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/ |
H A D | fcntl.h | 108 #define __open_too_few_args_error "called with O_CREAT, but missing mode" 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) { 189 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) {
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
H A D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-mips/asm/ |
H A D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/libc/versioner-dependencies/mips/kernel_uapi_asm-mips/asm/ |
H A D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/libc/versioner-dependencies/mips64/kernel_uapi_asm-mips/asm/ |
H A D | fcntl.h | 26 #define O_CREAT 0x0100 macro
|
/bionic/tools/versioner/current/ |
H A D | fcntl.h | 108 #define __open_too_few_args_error "called with O_CREAT, but missing mode" 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) { 189 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) {
|
/bionic/tests/ |
H A D | fortify_compilation_test.cpp | 208 // GCC: error: call to '__creat_missing_mode' declared with attribute error: called with O_CREAT, but missing mode 209 // CLANG: error: call to unavailable function 'open': called with O_CREAT, but missing mode 210 open("/dev/null", O_CREAT); 215 open("/dev/null", O_CREAT, 0, 0);
|
H A D | ftw_test.cpp | 48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666));
|
/bionic/libc/malloc_debug/ |
H A D | RecordData.cpp | 144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW,
|
Completed in 278 milliseconds