Lines Matching refs:FileIndex
109 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
184 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
196 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
213 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
223 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
224 InsertRes->LHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
226 InsertRes->RHS->DoInsertion(FileIndex, Delta, nullptr /*can't fail*/); in DoInsertion()
232 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes)) in DoInsertion()
408 int DeltaTree::getDeltaAt(unsigned FileIndex) const { in getDeltaAt()
423 if (Val.FileLoc >= FileIndex) in getDeltaAt()
442 Node->getValue(NumValsGreater).FileLoc == FileIndex) in getDeltaAt()
455 void DeltaTree::AddDelta(unsigned FileIndex, int Delta) { in AddDelta() argument
460 if (MyRoot->DoInsertion(FileIndex, Delta, &InsertRes)) { in AddDelta()