Searched refs:BufferPrefix (Results 1 – 3 of 3) sorted by relevance
488 StringRef BufferPrefix = Buffer.substr(0, ExampleString.size()); in ComputeMatchDistance() local489 BufferPrefix = BufferPrefix.split('\n').first; in ComputeMatchDistance()490 return BufferPrefix.edit_distance(ExampleString); in ComputeMatchDistance()
706 StringRef BufferPrefix = Buffer.substr(0, ExampleString.size()); in computeMatchDistance() local707 BufferPrefix = BufferPrefix.split('\n').first; in computeMatchDistance()708 return BufferPrefix.edit_distance(ExampleString); in computeMatchDistance()
1296 StringRef BufferPrefix = Buffer.substr(0, ExampleString.size()); in computeMatchDistance() local1297 BufferPrefix = BufferPrefix.split('\n').first; in computeMatchDistance()1298 return BufferPrefix.edit_distance(ExampleString); in computeMatchDistance()