Home
last modified time | relevance | path

Searched refs:kMaxValidEditDistance (Results 1 – 3 of 3) sorted by relevance

/third_party/ninja/src/
Dstate.cc114 const int kMaxValidEditDistance = 3; in SpellcheckNode() local
116 int min_distance = kMaxValidEditDistance + 1; in SpellcheckNode()
120 i->first, path, kAllowReplacements, kMaxValidEditDistance); in SpellcheckNode()
Dutil.cc419 const int kMaxValidEditDistance = 3; in SpellcheckStringV() local
421 int min_distance = kMaxValidEditDistance + 1; in SpellcheckStringV()
426 kMaxValidEditDistance); in SpellcheckStringV()
/third_party/gn/src/gn/
Dstring_utils.cc331 const size_t kMaxValidEditDistance = 3u; in SpellcheckString() local
333 size_t min_distance = kMaxValidEditDistance + 1u; in SpellcheckString()
336 size_t distance = EditDistance(word, text, kMaxValidEditDistance); in SpellcheckString()