Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 11 of 11) sorted by relevance

/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
89 case O_RDWR: in flag_to_openmode()
180 flags = O_RDWR; in _M_open()
183 flags = O_RDWR | O_CREAT | O_TRUNC; in _M_open()
187 flags = O_RDWR | O_CREAT | O_APPEND; in _M_open()
Dfstream_win32io.cpp40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
54 case O_RDWR: in flag_to_openmode()
151 mode |= O_RDWR;
186 mode |= O_RDWR;
Dfstream_stdio.cpp72 # define O_RDWR _O_RDWR macro
81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
/ndk/tests/abcc/jni/mman-win32/
Dtest.c99 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_readwrite()
129 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_mlock_munlock()
179 int o = open(map_file_name, O_TRUNC | O_BINARY | O_RDWR | O_CREAT, mode); in test_file_map_msync()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_ashmem.cpp22 int fd = TEMP_FAILURE_RETRY(open("/dev/ashmem", O_RDWR)); in Allocate()
Dcrazy_linker_system.cpp29 fd_ = TEMP_FAILURE_RETRY(::open(path, O_RDWR)); in OpenReadWrite()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dtempname.c269 fd = small_open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
273 fd = large_open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c42 if ((oflag & O_RDWR) == O_RDWR) { in mapfile_open()
/ndk/sources/android/crazy_linker/tests/
Dbench_load_library.cpp36 int fd = open("/proc/sys/vm/drop_caches", O_RDWR); in drop_caches()
/ndk/sources/host-tools/make-3.81/
Dremake.c1056 int fd = open (file->name, O_RDWR | O_CREAT, 0666); in touch_file()
1081 fd = open (file->name, O_RDWR | O_TRUNC, 0666); in touch_file()
Darscan.c772 fd = open (arname, O_RDWR, 0666); in ar_member_touch()