Lines Matching refs:SS
252 inline void assertStreamStateOpened(const StreamState *SS) { in assertStreamStateOpened() argument
253 assert(SS->isOpened() && "Stream is expected to be opened"); in assertStreamStateOpened()
639 const StreamState *SS = nullptr; member
653 SS = State->get<StreamMap>(StreamSym); in Init()
654 if (!SS) in Init()
656 NewES = SS->ErrorState; in Init()
661 assertStreamStateOpened(SS); in Init()
666 bool isStreamEof() const { return SS->ErrorState == ErrorFEof; } in isStreamEof()
718 bool SetFeof = NewES.FEof && !SS->ErrorState.FEof; in getFailureNoteTag()
719 bool SetFerror = NewES.FError && !SS->ErrorState.FError; in getFailureNoteTag()
1011 const StreamState *SS = State->get<StreamMap>(Sym); in preRead() local
1012 if (SS->ErrorState & ErrorFEof) in preRead()
1638 const StreamState *SS) { in evalFflush() argument
1639 if (SS->ErrorState & ErrorFError) { in evalFflush()
1641 (SS->ErrorState & ErrorFEof) ? ErrorFEof : ErrorNone; in evalFflush()
1650 const StreamState *SS = State->get<StreamMap>(StreamSym); in evalFflush() local
1651 if (SS) { in evalFflush()
1652 assert(SS->isOpened() && "Stream is expected to be opened"); in evalFflush()
1653 ClearErrorInNotFailed(StreamSym, SS); in evalFflush()
1662 const StreamState &SS = I.second; in evalFflush() local
1663 if (SS.isOpened()) in evalFflush()
1664 ClearErrorInNotFailed(Sym, &SS); in evalFflush()
1683 StreamState::getOpened(Desc, ErrorNone, E.SS->FilePositionIndeterminate)); in evalClearerr()
1695 if (E.SS->ErrorState & ErrorKind) { in evalFeofFerror()
1702 E.SS->FilePositionIndeterminate && in evalFeofFerror()
1705 if (StreamErrorState NewES = E.SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
1713 Desc, NewES, E.SS->FilePositionIndeterminate && !NewES.isFEof()))); in evalFeofFerror()
1764 const StreamState *SS = State->get<StreamMap>(StreamSym); in evalSetFeofFerror() local
1765 assert(SS && "Stream should be tracked by the checker."); in evalSetFeofFerror()
1768 StreamState::getOpened(SS->LastOperation, ErrorKind, Indeterminate)); in evalSetFeofFerror()
1806 const StreamState *SS = State->get<StreamMap>(Sym); in ensureStreamOpened() local
1807 if (!SS) in ensureStreamOpened()
1810 if (SS->isClosed()) { in ensureStreamOpened()
1824 if (SS->isOpenFailed()) { in ensureStreamOpened()
1855 const StreamState *SS = State->get<StreamMap>(Sym); in ensureNoFilePositionIndeterminate() local
1856 if (!SS) in ensureNoFilePositionIndeterminate()
1859 assert(SS->isOpened() && "First ensure that stream is opened."); in ensureNoFilePositionIndeterminate()
1861 if (SS->FilePositionIndeterminate) { in ensureNoFilePositionIndeterminate()
1862 if (SS->ErrorState & ErrorFEof) { in ensureNoFilePositionIndeterminate()
1875 Sym, StreamState::getOpened(SS->LastOperation, ErrorFEof, false)); in ensureNoFilePositionIndeterminate()
1983 const StreamState &SS = I.second; in checkDeadSymbols() local
1986 if (SS.isOpened()) in checkDeadSymbols()