Lines Matching defs:StreamState
29 struct StreamState {
33 StreamState(Kind k, const Stmt *s) : K(k), S(s) {}
40 bool operator==(const StreamState &X) const {
44 static StreamState getOpened(const Stmt *s) { return StreamState(Opened, s); }
45 static StreamState getClosed(const Stmt *s) { return StreamState(Closed, s); }
46 static StreamState getOpenFailed(const Stmt *s) {
47 return StreamState(OpenFailed, s);
49 static StreamState getEscaped(const Stmt *s) {
50 return StreamState(Escaped, s);
105 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState)
229 stateNotNull->set<StreamMap>(Sym,StreamState::getOpened(CE));
231 stateNull->set<StreamMap>(Sym, StreamState::getOpenFailed(CE));
372 const StreamState *SS = state->get<StreamMap>(Sym);
394 return state->set<StreamMap>(Sym, StreamState::getClosed(CE));
404 const StreamState *SS = state->get<StreamMap>(Sym);