Lines Matching defs:SS

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