/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 830 if (openMode & O_TRUNC) 894 if (error == B_OK && (openMode & O_TRUNC)) 907 if (error == B_OK && (openMode & O_TRUNC)) 1528 if (!attribute || (openMode & O_TRUNC)) 1559 } else if (openMode & O_TRUNC) { 1599 if (error == B_OK && (openMode & O_TRUNC)) 1618 if (error == B_OK && (openMode & O_TRUNC)) {
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 545 | (openMode & O_TRUNC ? W_OK : 0));
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 9759 O_CREAT | O_WRONLY | (pos != 0 ? 0 : O_TRUNC), false);
|
/haiku/headers/posix/ |
H A D | fcntl.h | 43 #define O_TRUNC 0x0400 /* open with truncation */ macro
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 1731 bool truncate = (openMode & O_TRUNC) != 0; 1732 openMode &= ~O_TRUNC;
|
/haiku/src/kits/tracker/ |
H A D | FindPanel.cpp | 1312 BFile file(&directory, name, O_RDWR | O_CREAT | O_TRUNC);
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 1194 sPcapFD = open(file, O_CREAT | O_WRONLY | O_TRUNC);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 331 if ((omode & O_TRUNC) && ((omode & O_RWMASK) == O_RDONLY)) { 332 DPRINTF(0, ("can't open file for reading with O_TRUNC\n")); 336 if (omode & O_TRUNC) { 337 DPRINTF(0, ("dosfs_open called with O_TRUNC set\n")); 575 if (omode & O_TRUNC) {
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 2617 If \c O_TRUNC has been specified, the file will also be truncated. 2673 | ((openMode & O_TRUNC) != 0 ? W_OK : 0)) != B_OK) 2676 if ((openMode & O_TRUNC) != 0) {
|
H A D | kernel_interface.cpp | 1365 | ((openMode & O_TRUNC) != 0 ? W_OK : 0)); 1389 if ((openMode & O_TRUNC) != 0) {
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 1152 | (openMode & O_TRUNC ? W_OK : 0)); 1175 if ((openMode & O_TRUNC) != 0) {
|
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | kernel_interface.cpp | 270 | (openMode & O_TRUNC ? W_OK : 0));
|
/haiku/src/system/kernel/debug/ |
H A D | debug.cpp | 1450 int fd = open("/var/log/previous_syslog", O_WRONLY | O_CREAT | O_TRUNC,
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 846 if ((openMode & O_TRUNC) != 0) {
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBMediaNode.cpp | 187 fVideoFile = open("/boot/home/dvb-video.mpg", O_RDWR | O_CREAT | O_TRUNC); 190 fAudioFile = open("/boot/home/dvb-audio.mpg", O_RDWR | O_CREAT | O_TRUNC); 194 O_RDWR | O_CREAT | O_TRUNC); 197 fMpegTsFile = open("/boot/home/dvb-mpeg.ts", O_RDWR | O_CREAT | O_TRUNC);
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 516 || (openMode & O_TRUNC) != 0 || (openMode & O_CREAT) != 0)
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | kernel_interface.cpp | 504 return open(path, mode | (create ? O_CREAT | O_TRUNC : 0), 0644); 2075 if ((openMode & O_TRUNC) != 0)
|
/haiku/src/add-ons/kernel/file_cache/ |
H A D | launch_speedup.cpp | 597 int fd = open(name, O_CREAT | O_TRUNC | O_WRONLY, 0644);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | kernel_interface.cpp | 278 | (openMode & O_TRUNC ? W_OK : 0)); 559 int accessMode = open_mode_to_access(openMode) | (openMode & O_TRUNC ? W_OK : 0);
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 827 openMode &= ~(O_CREAT | O_EXCL | O_TRUNC);
|
/haiku/src/bin/debug/strace/ |
H A D | fcntl.cpp | 26 FLAG_INFO_ENTRY(O_TRUNC),
|
/haiku/src/build/libroot/ |
H A D | fs.cpp | 1524 return _haiku_build_open(path, O_WRONLY | O_CREAT | O_TRUNC, mode);
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | duckduckgo_request.cpp | 80 fd = open("/tmp/duckduckgo.html", O_CREAT|O_TRUNC|O_RDWR, 0644);
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 463 | (openMode & O_TRUNC ? W_OK : 0));
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 780 #define O_TRUNC FSSH_O_TRUNC macro
|