Lines Matching refs:Index
474 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index,
476 assert(!SLocEntryLoaded[Index]);
477 if (ExternalSLocEntries->ReadSLocEntry(-(static_cast<int>(Index) + 2))) {
481 if (!SLocEntryLoaded[Index]) {
483 LoadedSLocEntryTable[Index] = SLocEntry::get(0,
490 return LoadedSLocEntryTable[Index];
540 unsigned Index = unsigned(-LoadedID) - 2;
541 assert(Index < LoadedSLocEntryTable.size() && "FileID out of range");
542 assert(!SLocEntryLoaded[Index] && "FileID already loaded");
543 LoadedSLocEntryTable[Index] = SLocEntry::get(LoadedOffset,
545 SLocEntryLoaded[Index] = true;
593 unsigned Index = unsigned(-LoadedID) - 2;
594 assert(Index < LoadedSLocEntryTable.size() && "FileID out of range");
595 assert(!SLocEntryLoaded[Index] && "FileID already loaded");
596 LoadedSLocEntryTable[Index] = SLocEntry::get(LoadedOffset, Info);
597 SLocEntryLoaded[Index] = true;
727 // Convert "I" back into an index. We know that it is an entry whose index is
751 // If the middle index contains the value, succeed and return.
765 // Otherwise, move the low-side up to the middle index.
808 // actually a lower index!