Lines Matching refs:index
49 // Find the insertion index; don't insert twice.
51 int32 index = _FindSourceLocationIndex(location, foundMatch);
55 return fSourceLocations.Insert(location, index) ? B_OK : B_NO_MEMORY;
88 FileSourceCode::LineAt(int32 index) const
90 return fSourceFile->LineAt(index);
95 FileSourceCode::LineLengthAt(int32 index) const
97 return fSourceFile->LineLengthAt(index);
110 int32 index = _FindSourceLocationIndex(location, foundMatch);
113 if (index == 0)
115 index--;
118 _start = fSourceLocations[index];
119 _end = index + 1 < lineCount
120 ? fSourceLocations[index + 1] : SourceLocation(lineCount);