Home
last modified time | relevance | path

Searched refs:StreamState (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DSimpleStreamChecker.cpp31 struct StreamState { struct
34 StreamState(Kind InK) : K(InK) { } in StreamState() argument
40 static StreamState getOpened() { return StreamState(Opened); } in getOpened() argument
41 static StreamState getClosed() { return StreamState(Closed); } in getClosed() argument
43 bool operator==(const StreamState &X) const { in operator ==() argument
90 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState)
133 State = State->set<StreamMap>(FileDesc, StreamState::getOpened()); in checkPostCall()
152 const StreamState *SS = State->get<StreamMap>(FileDesc); in checkPreCall()
159 State = State->set<StreamMap>(FileDesc, StreamState::getClosed()); in checkPreCall()
163 static bool isLeaked(SymbolRef Sym, const StreamState &SS, in isLeaked()
DStreamChecker.cpp29 struct StreamState { struct
33 StreamState(Kind k, const Stmt *s) : K(k), S(s) {} in StreamState() function
40 bool operator==(const StreamState &X) const { in operator ==() argument
44 static StreamState getOpened(const Stmt *s) { return StreamState(Opened, s); } in getOpened() argument
45 static StreamState getClosed(const Stmt *s) { return StreamState(Closed, s); } in getClosed() argument
46 static StreamState getOpenFailed(const Stmt *s) { in getOpenFailed() argument
47 return StreamState(OpenFailed, s); in getOpenFailed()
49 static StreamState getEscaped(const Stmt *s) { in getEscaped() argument
50 return StreamState(Escaped, s); in getEscaped()
105 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
[all …]
/external/webrtc/webrtc/base/
Dstream.h39 enum StreamState { SS_CLOSED, SS_OPENING, SS_OPEN }; enum
68 virtual StreamState GetState() const = 0;
248 StreamState GetState() const override;
353 StreamState GetState() const override;
384 StreamState GetState() const override;
430 StreamState GetState() const override;
525 StreamState GetState() const override;
552 StreamState state_; // keeps the opened/closed state of the stream
602 StreamState GetState() const override;
Dstream.cc162 StreamState StreamAdapterInterface::GetState() const { in GetState()
304 StreamState NullStream::GetState() const { in GetState()
385 StreamState FileStream::GetState() const { in GetState()
529 StreamState MemoryStreamBase::GetState() const { in GetState()
743 StreamState FifoBuffer::GetState() const { in GetState()
973 StreamState StringStream::GetState() const { in GetState()
Dsocketstream.h32 StreamState GetState() const override;
Dsslstreamadapterhelper.h45 StreamState GetState() const override;
Dmultipart.h51 StreamState GetState() const override;
Dtestutils.h198 void SetState(StreamState state) { in SetState()
218 virtual StreamState GetState() const { return state_; } in GetState()
267 StreamState state_;
Dsslstreamadapterhelper.cc66 StreamState SSLStreamAdapterHelper::GetState() const { in GetState()
Dopensslstreamadapter.h88 StreamState GetState() const override;
Dfilerotatingstream.h43 StreamState GetState() const override;
Dsocketstream.cc47 StreamState SocketStream::GetState() const { in GetState()
Dmultipart.cc131 StreamState MultipartStream::GetState() const { in GetState()
Dfilerotatingstream.cc83 StreamState FileRotatingStream::GetState() const { in GetState()
Dsslstreamadapter_unittest.cc91 rtc::StreamState GetState() const override { return rtc::SS_OPEN; } in GetState()
174 rtc::StreamState GetState() const override { return rtc::SS_OPEN; } in GetState()
Dstream_unittest.cc26 virtual StreamState GetState() const { return SS_OPEN; } in GetState()
Dhttpbase.cc246 StreamState GetState() const override { in GetState()
Dopensslstreamadapter.cc662 StreamState OpenSSLStreamAdapter::GetState() const { in GetState()
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel.h36 rtc::StreamState GetState() const override { return state_; } in GetState()
49 rtc::StreamState state_;