/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 33 if (IsOpen()) { in ~FileDescriptor() 39 bool IsOpen() const override { return fd_ >= 0; } in IsOpen() function in brillo::FileDescriptor 353 bool FileStream::IsOpen() const { in IsOpen() function in brillo::FileStream 354 return fd_interface_->IsOpen(); in IsOpen() 358 return IsOpen() && stream_utils::IsReadAccessMode(access_mode_); in CanRead() 362 return IsOpen() && stream_utils::IsWriteAccessMode(access_mode_); in CanWrite() 366 return IsOpen() && seekable_; in CanSeek() 370 return IsOpen() && can_get_size_; in CanGetSize() 374 return IsOpen() ? fd_interface_->GetSize() : 0; in GetSize() 378 if (!IsOpen()) in SetSizeBlocking() [all …]
|
D | input_stream_set.cc | 72 bool InputStreamSet::IsOpen() const { in IsOpen() function in brillo::InputStreamSet 77 bool can_get_size = IsOpen(); in CanGetSize() 114 if (!IsOpen()) in ReadNonBlocking() 162 if (!IsOpen()) in WaitForData() 181 if (!IsOpen()) in WaitForDataBlocking() 198 if (IsOpen() && !source_streams_.empty()) { in CancelPendingAsyncOperations()
|
D | memory_stream.cc | 85 bool MemoryStream::IsOpen() const { return container_ != nullptr; } in IsOpen() function in brillo::MemoryStream 86 bool MemoryStream::CanRead() const { return IsOpen(); } in CanRead() 89 return IsOpen() && !container_->IsReadOnly(); in CanWrite() 92 bool MemoryStream::CanSeek() const { return IsOpen(); } in CanSeek() 93 bool MemoryStream::CanGetSize() const { return IsOpen(); } in CanGetSize() 96 return IsOpen() ? container_->GetSize() : 0; in GetSize() 112 return IsOpen() ? stream_position_ : 0; in GetPosition()
|
D | file_stream_unittest.cc | 56 ASSERT_TRUE(stream->IsOpen()); in TestCreateFile() 133 MOCK_CONST_METHOD0(IsOpen, bool()); 163 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(true)); in CreateStream() 201 TEST_F(FileStreamTest, IsOpen) { in TEST_F() argument 202 EXPECT_TRUE(stream_->IsOpen()); in TEST_F() 203 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F() 204 EXPECT_FALSE(stream_->IsOpen()); in TEST_F() 210 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(false)); in TEST_F() 221 EXPECT_CALL(fd_mock(), IsOpen()).WillRepeatedly(Return(false)); in TEST_F() 276 EXPECT_CALL(fd_mock(), IsOpen()).WillOnce(Return(false)); in TEST_F() [all …]
|
D | file_stream.h | 40 virtual bool IsOpen() const = 0; 96 bool IsOpen() const override;
|
D | fake_stream.cc | 205 if (!IsOpen()) in ReadNonBlocking() 269 if (!IsOpen()) in WriteNonBlocking() 331 if (!IsOpen()) in FlushBlocking()
|
D | tls_stream.h | 39 bool IsOpen() const override;
|
D | mock_stream.h | 19 MOCK_CONST_METHOD0(IsOpen, bool());
|
D | input_stream_set.h | 61 bool IsOpen() const override;
|
D | fake_stream_unittest.cc | 70 EXPECT_TRUE(stream_->IsOpen()); in TEST_F() 82 EXPECT_TRUE(stream_->IsOpen()); in TEST_F() 94 EXPECT_TRUE(stream_->IsOpen()); in TEST_F()
|
D | fake_stream.h | 83 bool IsOpen() const override { return is_open_; } in IsOpen() function
|
/external/v8/src/parsing/ |
D | func-name-inferrer.h | 51 DCHECK(fni_->IsOpen()); 64 bool IsOpen() const { return scope_depth_ > 0; } 76 if (IsOpen()) { 82 if (IsOpen() && !funcs_to_infer_.empty()) funcs_to_infer_.pop_back(); 89 DCHECK(IsOpen());
|
D | func-name-inferrer.cc | 28 if (IsOpen() && name != ast_value_factory_->prototype_string()) { in PushLiteralName() 35 if (IsOpen() && name != ast_value_factory_->dot_result_string()) { in PushVariableName() 41 if (IsOpen()) { in RemoveAsyncKeywordFromEnd()
|
/external/oj-libjdwp/src/share/javavm/export/ |
D | jdwpTransport.h | 177 jboolean (JNICALL *IsOpen)(jdwpTransportEnv* env); 231 jboolean IsOpen(void) { in IsOpen() function 232 return functions->IsOpen(this); in IsOpen()
|
/external/oj-libjdwp/src/share/back/ |
D | transport.c | 563 is_open = (*transport)->IsOpen(transport); in transport_is_open() 575 if ( (*transport)->IsOpen(transport) ) { in transport_sendPacket() 581 if ((*transport)->IsOpen(transport)) { in transport_sendPacket() 607 if (!(*transport)->IsOpen(transport)) { in transport_receivePacket()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTShader.cpp | 198 if (ShaderFile.IsOpen()) in PVRTShaderLoadFromFile() 208 if (!ShaderFile.IsOpen()) in PVRTShaderLoadFromFile()
|
/external/nos/host/generic/libnos/test/include/nos/ |
D | MockNuggetClient.h | 32 MOCK_CONST_METHOD0(IsOpen, bool());
|
/external/nos/host/generic/libnos/include/nos/ |
D | NuggetClientInterface.h | 47 virtual bool IsOpen() const = 0;
|
D | NuggetClient.h | 64 bool IsOpen() const override;
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTResourceFile.h | 71 bool IsOpen() const;
|
/external/webrtc/talk/app/webrtc/ |
D | peerconnection_unittest.cc | 1600 EXPECT_TRUE_WAIT(initializing_client()->data_observer()->IsOpen(), in TEST_F() 1602 EXPECT_TRUE_WAIT(receiving_client()->data_observer()->IsOpen(), in TEST_F() 1618 EXPECT_FALSE(initializing_client()->data_observer()->IsOpen()); in TEST_F() 1619 EXPECT_FALSE(receiving_client()->data_observer()->IsOpen()); in TEST_F() 1630 EXPECT_TRUE_WAIT(initializing_client()->data_observer()->IsOpen(), in TEST_F() 1632 EXPECT_TRUE_WAIT(receiving_client()->data_observer()->IsOpen(), kMaxWaitMs); in TEST_F() 1645 EXPECT_TRUE_WAIT(!initializing_client()->data_observer()->IsOpen(), in TEST_F() 1647 EXPECT_TRUE_WAIT(!receiving_client()->data_observer()->IsOpen(), kMaxWaitMs); in TEST_F() 1666 EXPECT_TRUE_WAIT(initializing_client()->data_observer()->IsOpen(), in TEST_F() 1701 EXPECT_FALSE(initializing_client()->data_observer()->IsOpen()); in TEST_F() [all …]
|
D | peerconnectioninterface_unittest.cc | 1287 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F() 1288 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F() 1301 EXPECT_FALSE(observer1->IsOpen()); in TEST_F() 1303 EXPECT_TRUE(observer2->IsOpen()); in TEST_F() 1331 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F() 1332 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F() 1354 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F() 1360 EXPECT_FALSE(observer1->IsOpen()); in TEST_F() 1570 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F() 1571 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F()
|
/external/gptfdisk/ |
D | diskio.h | 79 int IsOpen(void) {return isOpen;} in IsOpen() function
|
/external/nos/host/generic/libnos/ |
D | NuggetClient.cpp | 53 bool NuggetClient::IsOpen() const { in IsOpen() function in nos::NuggetClient
|
/external/lzma/CPP/7zip/UI/Common/ |
D | OpenArchive.h | 371 bool IsOpen; member 386 IsOpen(false), in CArchiveLink()
|