Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc152 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in SetUp()
208 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
219 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
230 CreateStream(S_IFBLK, Stream::AccessMode::READ_WRITE); in TEST_F()
232 CreateStream(S_IFDIR, Stream::AccessMode::READ_WRITE); in TEST_F()
234 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F()
236 CreateStream(S_IFLNK, Stream::AccessMode::READ_WRITE); in TEST_F()
238 CreateStream(S_IFCHR, Stream::AccessMode::READ_WRITE); in TEST_F()
240 CreateStream(S_IFSOCK, Stream::AccessMode::READ_WRITE); in TEST_F()
242 CreateStream(S_IFIFO, Stream::AccessMode::READ_WRITE); in TEST_F()
[all …]
Dstream_utils.h64 mode == Stream::AccessMode::READ_WRITE; in IsReadAccessMode()
70 mode == Stream::AccessMode::READ_WRITE; in IsWriteAccessMode()
77 return Stream::AccessMode::READ_WRITE; in MakeAccessMode()
Dfake_stream_unittest.cc93 CreateStream(Stream::AccessMode::READ_WRITE); in TEST_F()
461 CreateStream(Stream::AccessMode::READ_WRITE); in TEST_F()
477 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
489 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
500 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
503 Stream::AccessMode::READ_WRITE), in TEST_F()
514 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
517 Stream::AccessMode::READ_WRITE), in TEST_F()
Dfile_stream.h162 AccessMode access_mode_{AccessMode::READ_WRITE};
Dfile_stream.cc221 case AccessMode::READ_WRITE: in Open()
304 AccessMode access_mode = AccessMode::READ_WRITE; in FromFileDescriptor()
Dstream.h89 enum class AccessMode { READ, WRITE, READ_WRITE }; enumerator
/external/libchrome/base/files/
Dmemory_mapped_file.cc43 case READ_WRITE: in Initialize()
86 case READ_WRITE: in Initialize()
Dmemory_mapped_file.h38 READ_WRITE, enumerator
Dmemory_mapped_file_posix.cc78 case READ_WRITE: in MapFileRegionToMemory()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DRandomAccessObject.java362 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject()
400 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject()
449 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject()
/external/libchrome/mojo/public/cpp/system/
Dbuffer.h48 READ_WRITE, enumerator
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_debug_server.py204 debug_service_pb2.EventReply.DebugOpStateChange.READ_WRITE):
415 debug_service_pb2.EventReply.DebugOpStateChange.READ_WRITE
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSharedMemory.java58 return randomAccessFile.getChannel().map(MapMode.READ_WRITE, offset, length); in map()
/external/tensorflow/tensorflow/core/debug/
Ddebug_grpc_testlib.cc107 if (new_states_[i] == EventReply::DebugOpStateChange::READ_WRITE) { in SendEvents()
Ddebug_service.proto34 READ_WRITE = 3; enumerator
Ddebug_grpc_io_utils_test.cc333 i == 0 ? EventReply::DebugOpStateChange::READ_WRITE in TEST_F()
Ddebug_io_utils.cc905 return it->second == EventReply::DebugOpStateChange::READ_WRITE; in IsWriteGateOpen()
/external/guava/guava-tests/test/com/google/common/io/
DFilesTest.java630 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); in testMap_readWrite()
650 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE, size); in testMap_readWrite_creates()
666 Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1); in testMap_readWrite_max_value_plus_1()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPathHeader.java673 && surveyToolStatus == SurveyToolStatus.READ_WRITE) { in TestStatus()
682 if (surveyToolStatus != SurveyToolStatus.READ_WRITE) { in TestStatus()
687 SurveyToolStatus oldStatus = SurveyToolStatus.READ_WRITE; in TestStatus()
690 && oldStatus != SurveyToolStatus.READ_WRITE in TestStatus()
725 if (status == SurveyToolStatus.READ_WRITE in TestStatus()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCLDR.java211 … return (status == SurveyToolStatus.READ_WRITE || status == SurveyToolStatus.LTR_ALWAYS) in getShowRowAction()
225 … return (status == SurveyToolStatus.READ_WRITE || status == SurveyToolStatus.LTR_ALWAYS) in getShowRowAction()
255 if (status != SurveyToolStatus.READ_WRITE && status != SurveyToolStatus.LTR_ALWAYS) { in getAcceptNewItemAction()
/external/syzkaller/vendor/google.golang.org/appengine/internal/datastore/
Ddatastore_v3.proto155 READ_WRITE = 2; enumerator
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc869 read_only ? MemoryMappedFile::READ_ONLY : MemoryMappedFile::READ_WRITE; in TEST()
975 : MemoryMappedFile::READ_WRITE); in TEST_F()
Dpersistent_histogram_allocator.cc692 mmfile->Initialize(std::move(file), MemoryMappedFile::READ_WRITE); in CreateWithFile()
/external/flatbuffers/tests/
DJavaTest.java242 …mAccessFile("javatest.bin", "rw").getChannel().map(FileChannel.MapMode.READ_WRITE, 0, capacity).or… in TestByteBufferFactory()
/external/cldr/tools/java/org/unicode/cldr/util/
DPathHeader.java73 READ_WRITE, enumConstant
916 … status = split.length < 5 ? SurveyToolStatus.READ_WRITE : SurveyToolStatus.valueOf(split[4]); in RawData()