Lines Matching refs:FileIndex
110 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
185 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
192 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
197 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
214 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
224 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
225 InsertRes->LHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
227 InsertRes->RHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
233 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes)) in DoInsertion()
409 int DeltaTree::getDeltaAt(unsigned FileIndex) const { in getDeltaAt()
424 if (Val.FileLoc >= FileIndex) in getDeltaAt()
443 Node->getValue(NumValsGreater).FileLoc == FileIndex) in getDeltaAt()
456 void DeltaTree::AddDelta(unsigned FileIndex, int Delta) { in AddDelta() argument
461 if (MyRoot->DoInsertion(FileIndex, Delta, &InsertRes)) { in AddDelta()