Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 99) sorted by relevance

1234

/external/clearsilver/util/
Dulocks.c38 if((lock = open(file, O_WRONLY|O_NDELAY|O_APPEND|O_CREAT|O_EXCL, 0666)) < 0) in fCreate()
49 lock = open(file, O_WRONLY|O_NDELAY|O_APPEND|O_CREAT, 0666); in fCreate()
81 if((lock = open(file, O_WRONLY|O_NDELAY|O_APPEND, 0666)) < 0) { in fFind()
/external/stlport/src/details/
Dfstream_unistd.cpp53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
86 case O_WRONLY: in flag_to_openmode()
169 flags = O_WRONLY | O_CREAT | O_TRUNC; in _M_open()
173 flags = O_WRONLY | O_CREAT | O_APPEND; in _M_open()
Dfstream_win32io.cpp40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
52 case O_WRONLY: in flag_to_openmode()
155 mode |= O_WRONLY;
184 mode |= O_WRONLY;
Dfstream_stdio.cpp71 # define O_WRONLY _O_WRONLY macro
81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
/external/qemu/
Darm-semi.c93 O_WRONLY | O_CREAT | O_TRUNC,
94 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
97 O_WRONLY | O_CREAT | O_APPEND,
98 O_WRONLY | O_CREAT | O_APPEND | O_BINARY,
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h27 #ifndef O_WRONLY
28 #define O_WRONLY 01 macro
/external/bluetooth/glib/glib/
Dgiounix.c419 switch (fcntl_flags & (O_RDONLY | O_WRONLY | O_RDWR)) in g_io_unix_get_flags()
425 case O_WRONLY: in g_io_unix_get_flags()
498 flags = O_WRONLY | O_TRUNC | O_CREAT; in g_io_channel_new_file()
501 flags = O_WRONLY | O_APPEND | O_CREAT; in g_io_channel_new_file()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc159 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/bluetooth/glib/gio/
Dglocalfileoutputstream.c511 fd = g_open (filename, O_CREAT | O_EXCL | O_WRONLY | O_BINARY, mode); in _g_local_file_output_stream_create()
556 fd = g_open (filename, O_CREAT | O_APPEND | O_WRONLY | O_BINARY, mode); in _g_local_file_output_stream_append()
684 open_flags = O_WRONLY | O_CREAT | O_BINARY; in handle_overwrite_open()
850 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, in handle_overwrite_open()
942 fd = g_open (filename, O_WRONLY | O_CREAT | O_BINARY, mode); in handle_overwrite_open()
1008 fd = g_open (filename, O_CREAT | O_EXCL | O_WRONLY | O_BINARY, mode); in _g_local_file_output_stream_replace()
/external/bison/djgpp/
Dsubpipe.c143 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); in create_subpipe()
174 …int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to … in end_of_output_subpipe()
/external/qemu/android/utils/
Dmapfile.c46 } else if ((oflag & O_WRONLY) == O_WRONLY) { in mapfile_open()
Dfilelock.c190 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
197 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
Ddebug.c120 null_fd = open( "/dev/null", O_WRONLY ); in stdio_disable()
/external/bluetooth/bluez/sbc/
Dsbcdec.c91 ad = open(output, O_WRONLY | O_CREAT | O_TRUNC, 0644); in decode()
93 ad = open(output, O_WRONLY, 0); in decode()
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
DSDL_bsdaudio.c64 #define OPEN_FLAGS O_WRONLY
66 #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK)
/external/qemu/hw/
Dgoldfish_memlog.c72 fd = open("mem.log", /* O_CREAT | */ O_TRUNC | O_WRONLY, 0644); in goldfish_memlog_init()
/external/e2fsprogs/lib/ss/
Dpager.c104 fd = open("/dev/tty", O_WRONLY, 0); in ss_pager_create()
/external/kernel-headers/original/asm-generic/
Dfcntl.h10 #define O_WRONLY 00000001 macro
/external/chromium/base/
Dplatform_file_posix.cc39 open_flags |= O_WRONLY; in CreatePlatformFile()
/external/e2fsprogs/debugfs/
Ddump.c177 fd = open(out_fn, O_CREAT | O_WRONLY | O_TRUNC | O_LARGEFILE, 0666); in do_dump()
261 fd = open(fullname, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, S_IRWXU); in rdump_inode()
/external/webkit/WebCore/platform/android/
DFileSystemAndroid.cpp63 handle = open(filename.data(), O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in openTemporaryFile()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c104 if ((fd = open(filename, O_WRONLY)) < 0) { in write_journal_file()
369 if ((fd = open(jfile, O_CREAT|O_WRONLY, 0600)) < 0) in ext2fs_add_journal_inode()
/external/zlib/examples/
Dgzlog.c952 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress()
962 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress()
1013 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_write()
/external/quake/quake/src/WinQuake/
Dsnd_sun.cpp65 audio_fd = open("/dev/audio", O_WRONLY|O_NDELAY); in SNDDMA_Init()
/external/openssl/crypto/rand/
Drandfile.c208 int fd = open(file, O_WRONLY|O_CREAT|O_BINARY, 0600); in RAND_write_file()

1234