Lines Matching refs:FileIndex
106 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
179 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
186 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
191 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
208 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
218 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
219 InsertRes->LHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
221 InsertRes->RHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
227 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes)) in DoInsertion()
404 int DeltaTree::getDeltaAt(unsigned FileIndex) const { in getDeltaAt()
419 if (Val.FileLoc >= FileIndex) in getDeltaAt()
438 Node->getValue(NumValsGreater).FileLoc == FileIndex) in getDeltaAt()
451 void DeltaTree::AddDelta(unsigned FileIndex, int Delta) { in AddDelta() argument
456 if (MyRoot->DoInsertion(FileIndex, Delta, &InsertRes)) { in AddDelta()