/aosp12/bionic/libc/kernel/uapi/asm-generic/ |
H A D | fcntl.h | 40 #ifndef O_APPEND 41 #define O_APPEND 00002000 macro
|
/aosp12/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | flags.c | 67 o = O_CREAT | O_APPEND; in __sflags()
|
H A D | mktemp.c | 38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 29 import static android.system.OsConstants.O_APPEND; 1369 res |= O_APPEND; in translateModeStringToPosix() 1389 if ((mode & O_APPEND) == O_APPEND) { in translateModePosixToString() 1413 if ((mode & O_APPEND) == O_APPEND) { in translateModePosixToPfd() 1438 res |= O_APPEND; in translateModePfdToPosix()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
H A D | StorageLifetimeFragment.java | 18 import static android.system.OsConstants.O_APPEND; 143 FileDescriptor fd = Os.open(filePath.toString(), O_APPEND | O_RDWR, 0); in fsyncFile()
|
/aosp12/system/extras/tests/cpueater/ |
H A D | daemonize.c | 64 mode = O_APPEND; in main()
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
H A D | FileUtils.java | 27 import static android.system.OsConstants.O_APPEND; 224 res |= O_APPEND; in translateModeStringToPosix() 246 if ((mode & O_APPEND) == O_APPEND) { in translateModePosixToString() 272 if ((mode & O_APPEND) == O_APPEND) { in translateModePosixToPfd() 299 res |= O_APPEND; in translateModePfdToPosix()
|
/aosp12/system/logging/logd/ |
H A D | RecordingLogBuffer.cpp | 44 O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, 0666)); in RecordLogMessage()
|
H A D | LogTags.cpp | 596 O_WRONLY | O_APPEND | O_CLOEXEC | O_NOFOLLOW | O_BINARY; in WriteDynamicEventLogTags() 618 O_WRONLY | O_APPEND | O_CLOEXEC | O_NOFOLLOW | O_BINARY; in WriteDebugEventLogTags()
|
/aosp12/bionic/tests/headers/posix/ |
H A D | fcntl_h.c | 67 MACRO(O_APPEND); in fcntl_h()
|
/aosp12/system/core/debuggerd/tombstoned/ |
H A D | tombstoned_client.cpp | 87 if (fcntl(tmp_output_fd.get(), F_SETFL, flags | O_APPEND) != 0) { in tombstoned_connect()
|
H A D | tombstoned.cpp | 146 result.fd.reset(openat(dir_fd_, ".", O_WRONLY | O_APPEND | O_TMPFILE | O_CLOEXEC, 0660)); in create_temporary_file() 152 O_WRONLY | O_APPEND | O_CREAT | O_TRUNC | O_CLOEXEC, 0660)); in create_temporary_file()
|
/aosp12/frameworks/compile/libbcc/lib/ |
H A D | FileBase.cpp | 61 mOpenFlags |= O_APPEND; in FileBase()
|
/aosp12/bionic/libc/stdio/ |
H A D | stdio.cpp | 266 if ((mode_flags & O_APPEND) != 0) __sseek64(fp, 0, SEEK_END); in fopen() 287 if ((mode_flags & O_APPEND) && !(fd_flags & O_APPEND)) { in fdopen() 288 if (fcntl(fd, F_SETFL, fd_flags | O_APPEND) == -1) return nullptr; in fdopen() 400 if ((mode_flags & O_APPEND) != 0) __sseek64(fp, 0, SEEK_END); in freopen()
|
/aosp12/packages/modules/adb/client/ |
H A D | main.cpp | 50 int fd = unix_open(log_file_path, O_WRONLY | O_CREAT | O_APPEND, 0640); in setup_daemon_logging()
|
/aosp12/system/extras/simpleperf/ |
H A D | ProbeEvents.cpp | 151 unique_fd fd(open(path.c_str(), O_APPEND | O_WRONLY | O_CLOEXEC)); in WriteKprobeCmd()
|
/aosp12/frameworks/compile/mclinker/lib/Support/ |
H A D | FileHandle.cpp | 55 result |= O_APPEND; in oflag()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 33 import static android.system.OsConstants.O_APPEND; 534 assertTranslate("rwa", O_RDWR | O_CREAT | O_APPEND, in testTranslateMode() 541 assertTranslate("wa", O_WRONLY | O_CREAT | O_APPEND, in testTranslateMode()
|
/aosp12/art/libartbase/base/metrics/ |
H A D | metrics_common.cc | 169 LockedFile::Open(filename_.c_str(), O_CREAT | O_WRONLY | O_APPEND, true, &error_message)}; in EndReport()
|
/aosp12/system/nfc/src/adaptation/ |
H A D | debug_nfcsnoop.cc | 232 fileStream = open(filepath.c_str(), O_RDWR | O_CREAT | O_APPEND, in storeNfcSnoopLogs()
|
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
H A D | FileUtilsTest.java | 26 import static android.system.OsConstants.O_APPEND; 236 assertTranslate("rwa", O_RDWR | O_CREAT | O_APPEND, in testTranslateMode() 243 assertTranslate("wa", O_WRONLY | O_CREAT | O_APPEND, in testTranslateMode()
|
/aosp12/system/core/debuggerd/libdebuggerd/ |
H A D | utility.cpp | 101 unique_fd kmsg_fd(open("/dev/kmsg_debug", O_WRONLY | O_APPEND | O_CLOEXEC)); in _VLOG()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | FuseDaemon.cpp | 1283 if (open_flags & O_APPEND) { in pf_open() 1284 open_flags &= ~O_APPEND; in pf_open() 1823 if (open_flags & O_APPEND) { in pf_create() 1824 open_flags &= ~O_APPEND; in pf_create()
|
/aosp12/build/soong/cmd/soong_build/ |
H A D | main.go | 340 f, err := os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0666)
|
/aosp12/system/extras/ioshark/ |
H A D | compile_ioshark.c | 50 { "O_APPEND", O_APPEND },
|