Home
last modified time | relevance | path

Searched refs:MiddleIndex (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Basic/
DSourceManager.cpp764 unsigned MiddleIndex = (GreaterIndex-LessIndex)/2+LessIndex; in getFileIDLocal() local
765 unsigned MidOffset = getLocalSLocEntry(MiddleIndex, &Invalid).getOffset(); in getFileIDLocal()
774 GreaterIndex = MiddleIndex; in getFileIDLocal()
781 if (isOffsetInFileID(FileID::get(MiddleIndex), SLocOffset)) { in getFileIDLocal()
782 FileID Res = FileID::get(MiddleIndex); in getFileIDLocal()
786 if (!LocalSLocEntryTable[MiddleIndex].isExpansion()) in getFileIDLocal()
793 LessIndex = MiddleIndex; in getFileIDLocal()
841 unsigned MiddleIndex = (LessIndex - GreaterIndex) / 2 + GreaterIndex; in getFileIDLoaded() local
842 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex); in getFileIDLoaded()
850 if (GreaterIndex == MiddleIndex) { in getFileIDLoaded()
[all …]