Searched refs:O_CREAT (Results 1 - 8 of 8) sorted by relevance

/bionic/libc/bionic/
H A Dopen.cpp47 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_chk_fail("open(O_CREAT): called without specifying a mode", 0);
76 if ((flags & O_CREAT) != 0) {
88 if ((flags & O_CREAT) != 0) {
89 __fortify_chk_fail("openat(O_CREAT): called without specifying a mode", 0);
H A Dsystem_properties.cpp179 O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444);
/bionic/libc/upstream-freebsd/lib/libc/stdio/
H A Dflags.c67 o = O_CREAT | O_TRUNC;
73 o = O_CREAT | O_APPEND;
/bionic/libc/kernel/uapi/asm-generic/
H A Dfcntl.h27 #ifndef O_CREAT
29 #define O_CREAT 00000100 macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/bionic/libc/kernel/uapi/asm-mips/asm/
H A Dfcntl.h26 #define O_CREAT 0x0100 macro
/bionic/libc/include/
H A Dfcntl.h90 __errordecl(__creat_missing_mode, "called with O_CREAT, but missing mode");
98 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) {
117 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) {
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dmktemp.c88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR);
/bionic/tests/
H A Ddlext_test.cpp198 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644);
254 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644);

Completed in 3200 milliseconds