Lines Matching defs:ID
279 /// getLineTableFilenameID - Return the uniqued ID for the specified filename.
491 int ID = LoadedSLocEntryTable.size();
492 return std::make_pair(-ID - 1, CurrentLoadedOffset);
523 int ID = FID.ID;
524 if (ID == -1)
527 if (ID > 0) {
528 if (ID-1 == 0)
530 } else if (unsigned(-(ID-1) - 2) >= LoadedSLocEntryTable.size()) {
534 return FileID::get(ID-1);
543 int ID = FID.ID;
544 if (ID > 0) {
545 if (unsigned(ID+1) >= local_sloc_entry_size())
547 } else if (ID+1 >= -1) {
551 return FileID::get(ID+1);
739 if (LastFileIDLookup.ID < 0 ||
740 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) {
745 I = LocalSLocEntryTable.begin()+LastFileIDLookup.ID;
826 int LastID = LastFileIDLookup.ID;
960 /// spelling location referenced by the ID. This is the first level down
1542 int ID = FID.ID;
1544 if ((ID > 0 && unsigned(ID+1) == local_sloc_entry_size()))
1546 else if (ID+1 == -1)
1549 NextOffset = getSLocEntry(FileID::get(ID+1)).getOffset();
1567 llvm::sys::fs::UniqueID ID;
1568 if (llvm::sys::fs::getUniqueID(File->getName(), ID))
1571 return ID;
1595 // Find the first file ID that corresponds to the given file.
1598 // First, check the main file ID, since it is common to look for a
1676 IFileID.ID = I;
1783 int ID = FID.ID;
1785 ++ID;
1787 if (ID > 0) {
1788 if (unsigned(ID) >= local_sloc_entry_size())
1790 } else if (ID == -1) {
1795 const SrcMgr::SLocEntry &Entry = getSLocEntryByID(ID, &Invalid);
1808 ID += Entry.getFile().NumCreatedFIDs - 1/*because of next ++ID*/;
1825 getFileIDSize(FileID::get(ID)));
1871 ++SpellFID.ID;
2050 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID);