Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dopen.cpp47 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()
Dsystem_properties.cpp179 O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dflags.c67 o = O_CREAT | O_TRUNC; in __sflags()
73 o = O_CREAT | O_APPEND; in __sflags()
/bionic/libc/kernel/uapi/asm-generic/
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/
Dfcntl.h26 #define O_CREAT 0x0100 macro
/bionic/libc/include/
Dfcntl.h98 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in open()
117 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in openat()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dmktemp.c88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); in mktemp_internal()
/bionic/tests/
Ddlext_test.cpp262 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in CreateRelroFile()
318 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in TEST_F()