/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 | 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 | 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 | 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()
|
/external/v8/src/parsing/ |
D | func-name-inferrer.h | 53 bool IsOpen() const { return !entries_stack_.is_empty(); } in IsOpen() function 65 if (IsOpen()) { in AddFunction() 71 if (IsOpen() && !funcs_to_infer_.is_empty()) { in RemoveLastFunction() 80 DCHECK(IsOpen()); in Infer()
|
D | func-name-inferrer.cc | 33 if (IsOpen() && name != ast_value_factory_->prototype_string()) { in PushLiteralName() 40 if (IsOpen() && name != ast_value_factory_->dot_result_string()) { in PushVariableName() 46 if (IsOpen()) { in RemoveAsyncKeywordFromEnd() 54 DCHECK(IsOpen()); in Leave()
|
/external/perf_data_converter/src/quipper/ |
D | file_reader.cc | 15 if (!IsOpen()) { in FileReader() 28 if (IsOpen()) { in ~FileReader()
|
D | file_utils.cc | 16 if (!reader.IsOpen()) return false; in FileToBuffer()
|
D | file_reader.h | 20 bool IsOpen() const { return infile_; } in IsOpen() function
|
/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/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 …]
|
/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 | 63 bool IsOpen() const override;
|
/external/nos/host/android/citadel/citadeld/include/nos/ |
D | CitadeldProxyClient.h | 44 bool IsOpen() const override;
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTResourceFile.h | 71 bool IsOpen() const;
|
/external/nos/host/android/hals/authsecret/citadel/ |
D | service.cpp | 42 if (!citadeldProxy.IsOpen()) { in main()
|
/external/nos/host/android/hals/oemlock/citadel/ |
D | service.cpp | 46 if (!citadeldProxy.IsOpen()) { in main()
|
/external/nos/host/android/hals/weaver/citadel/ |
D | service.cpp | 47 if (!citadeldProxy.IsOpen()) { in main()
|
/external/gptfdisk/ |
D | diskio.h | 76 int IsOpen(void) {return isOpen;} in IsOpen() function
|
/external/nos/test/system-test-harness/tools/ |
D | nugget_tools.cc | 38 return client.IsOpen(); in IsDirectDeviceClient() 64 if (!client->IsOpen()) { in MakeNuggetClient()
|