Searched refs:MiddleIndex (Results 1 – 2 of 2) sorted by relevance
780 unsigned MiddleIndex = (GreaterIndex-LessIndex)/2+LessIndex; in getFileIDLocal() local781 unsigned MidOffset = getLocalSLocEntry(MiddleIndex, &Invalid).getOffset(); in getFileIDLocal()790 GreaterIndex = MiddleIndex; in getFileIDLocal()797 if (isOffsetInFileID(FileID::get(MiddleIndex), SLocOffset)) { in getFileIDLocal()798 FileID Res = FileID::get(MiddleIndex); in getFileIDLocal()802 if (!LocalSLocEntryTable[MiddleIndex].isExpansion()) in getFileIDLocal()809 LessIndex = MiddleIndex; in getFileIDLocal()857 unsigned MiddleIndex = (LessIndex - GreaterIndex) / 2 + GreaterIndex; in getFileIDLoaded() local858 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex); in getFileIDLoaded()866 if (GreaterIndex == MiddleIndex) { in getFileIDLoaded()[all …]
822 unsigned MiddleIndex = (GreaterIndex-LessIndex)/2+LessIndex; in getFileIDLocal() local823 unsigned MidOffset = getLocalSLocEntry(MiddleIndex).getOffset(); in getFileIDLocal()830 GreaterIndex = MiddleIndex; in getFileIDLocal()835 if (MiddleIndex + 1 == LocalSLocEntryTable.size() || in getFileIDLocal()836 SLocOffset < getLocalSLocEntry(MiddleIndex + 1).getOffset()) { in getFileIDLocal()837 FileID Res = FileID::get(MiddleIndex); in getFileIDLocal()846 LessIndex = MiddleIndex; in getFileIDLocal()892 unsigned MiddleIndex = (LessIndex - GreaterIndex) / 2 + GreaterIndex; in getFileIDLoaded() local893 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex); in getFileIDLoaded()901 if (GreaterIndex == MiddleIndex) { in getFileIDLoaded()[all …]