Searched refs:O_TRUNC (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 37 #ifndef O_TRUNC 38 #define O_TRUNC 00001000 macro
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 61 o = O_CREAT | O_TRUNC; in __sflags()
|
/bionic/libc/bionic/ |
D | open.cpp | 52 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 62 MACRO(O_TRUNC); in fcntl_h()
|
/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/tests/ |
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 | dlext_test.cpp | 453 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in CreateRelroFile()
|