Lines Matching refs:tos
646 auto *tos = getTopOfStack(); in getDefaultContext() local
647 return tos ? tos->getContext() : nullptr; in getDefaultContext()
651 auto *tos = getTopOfStack(); in getDefaultInsertionPoint() local
652 return tos ? tos->getInsertionPoint() : nullptr; in getDefaultInsertionPoint()
656 auto *tos = getTopOfStack(); in getDefaultLocation() local
657 return tos ? tos->getLocation() : nullptr; in getDefaultLocation()
672 auto &tos = stack.back(); in popContext() local
673 if (tos.frameKind != FrameKind::Context && tos.getContext() != &context) in popContext()
695 auto &tos = stack.back(); in popInsertionPoint() local
696 if (tos.frameKind != FrameKind::InsertionPoint && in popInsertionPoint()
697 tos.getInsertionPoint() != &insertionPoint) in popInsertionPoint()
716 auto &tos = stack.back(); in popLocation() local
717 if (tos.frameKind != FrameKind::Location && tos.getLocation() != &location) in popLocation()