Lines Matching refs:SLocOffset
668 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const {
669 if (!SLocOffset)
672 // Now it is time to search for the correct file. See where the SLocOffset
674 if (SLocOffset < NextLocalOffset)
675 return getFileIDLocal(SLocOffset);
676 return getFileIDLoaded(SLocOffset);
683 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const {
684 assert(SLocOffset < NextLocalOffset && "Bad function choice");
700 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) {
709 // FileID whose offset is known to be larger than SLocOffset.
713 if (I->getOffset() <= SLocOffset) {
732 // SLocOffset.
746 if (MidOffset > SLocOffset) {
754 if (isOffsetInFileID(FileID::get(MiddleIndex), SLocOffset)) {
774 FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const {
776 if (SLocOffset < CurrentLoadedOffset) {
777 assert(0 && "Invalid SLocOffset or bad function choice");
787 if (LastID >= 0 || getLoadedSLocEntryByID(LastID).getOffset() < SLocOffset)
796 if (E.getOffset() <= SLocOffset) {
819 if (E.getOffset() > SLocOffset) {
824 if (isOffsetInFileID(FileID::get(-int(MiddleIndex) - 2), SLocOffset)) {