Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h37 #ifndef O_TRUNC
38 #define O_TRUNC 00001000 macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c61 o = O_CREAT | O_TRUNC; in __sflags()
/bionic/libc/bionic/
Dopen.cpp52 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
/bionic/tests/headers/posix/
Dfcntl_h.c62 MACRO(O_TRUNC); in fcntl_h()
/bionic/libc/malloc_debug/
DRecordData.cpp138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
Dmalloc_debug.cpp1006 int fd = open(file_name, O_RDWR | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, 0644); in debug_dump_heap()
/bionic/tests/
Dftw_test.cpp48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
Dstdlib_test.cpp392 O_CREAT | O_TRUNC | O_WRONLY, 0644)); in TEST()
Ddlext_test.cpp453 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in CreateRelroFile()