Searched defs:StreamState (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | SimpleStreamChecker.cpp | 31 struct StreamState { struct 33 enum Kind { Opened, Closed } K; 34 StreamState(Kind InK) : K(InK) { } in StreamState() function 37 bool isOpened() const { return K == Opened; } in isOpened() 38 bool isClosed() const { return K == Closed; } in isClosed() 40 static StreamState getOpened() { return StreamState(Opened); } in getOpened() 41 static StreamState getClosed() { return StreamState(Closed); } in getClosed() 43 bool operator==(const StreamState &X) const { in operator ==() 46 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
|
D | StreamChecker.cpp | 29 struct StreamState { struct 30 enum Kind { Opened, Closed, OpenFailed, Escaped } K; 31 const Stmt *S; 33 StreamState(Kind k, const Stmt *s) : K(k), S(s) {} in StreamState() function 35 bool isOpened() const { return K == Opened; } in isOpened() 36 bool isClosed() const { return K == Closed; } in isClosed() 40 bool operator==(const StreamState &X) const { in operator ==() 44 static StreamState getOpened(const Stmt *s) { return StreamState(Opened, s); } in getOpened() 45 static StreamState getClosed(const Stmt *s) { return StreamState(Closed, s); } in getClosed() 46 static StreamState getOpenFailed(const Stmt *s) { in getOpenFailed() [all …]
|
/external/webrtc/webrtc/base/ |
D | stream.h | 39 enum StreamState { SS_CLOSED, SS_OPENING, SS_OPEN }; enum
|