Home
last modified time | relevance | path

Searched refs:O_APPEND (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/bionic/libc/kernel/uapi/asm-generic/
H A Dfcntl.h40 #ifndef O_APPEND
41 #define O_APPEND 00002000 macro
/aosp12/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dflags.c67 o = O_CREAT | O_APPEND; in __sflags()
H A Dmktemp.c38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
/aosp12/frameworks/base/core/java/android/os/
H A DFileUtils.java29 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 DStorageLifetimeFragment.java18 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 Ddaemonize.c64 mode = O_APPEND; in main()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DFileUtils.java27 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 DRecordingLogBuffer.cpp44 O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, 0666)); in RecordLogMessage()
H A DLogTags.cpp596 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 Dfcntl_h.c67 MACRO(O_APPEND); in fcntl_h()
/aosp12/system/core/debuggerd/tombstoned/
H A Dtombstoned_client.cpp87 if (fcntl(tmp_output_fd.get(), F_SETFL, flags | O_APPEND) != 0) { in tombstoned_connect()
H A Dtombstoned.cpp146 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 DFileBase.cpp61 mOpenFlags |= O_APPEND; in FileBase()
/aosp12/bionic/libc/stdio/
H A Dstdio.cpp266 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 Dmain.cpp50 int fd = unix_open(log_file_path, O_WRONLY | O_CREAT | O_APPEND, 0640); in setup_daemon_logging()
/aosp12/system/extras/simpleperf/
H A DProbeEvents.cpp151 unique_fd fd(open(path.c_str(), O_APPEND | O_WRONLY | O_CLOEXEC)); in WriteKprobeCmd()
/aosp12/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp55 result |= O_APPEND; in oflag()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DFileUtilsTest.java33 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 Dmetrics_common.cc169 LockedFile::Open(filename_.c_str(), O_CREAT | O_WRONLY | O_APPEND, true, &error_message)}; in EndReport()
/aosp12/system/nfc/src/adaptation/
H A Ddebug_nfcsnoop.cc232 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 DFileUtilsTest.java26 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 Dutility.cpp101 unique_fd kmsg_fd(open("/dev/kmsg_debug", O_WRONLY | O_APPEND | O_CLOEXEC)); in _VLOG()
/aosp12/packages/providers/MediaProvider/jni/
H A DFuseDaemon.cpp1283 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 Dmain.go340 f, err := os.OpenFile(path, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0666)
/aosp12/system/extras/ioshark/
H A Dcompile_ioshark.c50 { "O_APPEND", O_APPEND },

12