Lines Matching refs:StreamState
29 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
229 stateNotNull->set<StreamMap>(Sym,StreamState::getOpened(CE)); in OpenFileAux()
231 stateNull->set<StreamMap>(Sym, StreamState::getOpenFailed(CE)); in OpenFileAux()
372 const StreamState *SS = state->get<StreamMap>(Sym); in CheckDoubleClose()
394 return state->set<StreamMap>(Sym, StreamState::getClosed(CE)); in CheckDoubleClose()
404 const StreamState *SS = state->get<StreamMap>(Sym); in checkDeadSymbols()