Searched refs:candidate_len (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | spellcheck.h | 70 size_t candidate_len); 106 size_t candidate_len = candidate_traits::get_length (candidate); local 112 = abs ((ssize_t)candidate_len - (ssize_t)m_goal_len); 125 edit_distance_t cutoff = get_cutoff (candidate_len); 134 candidate_len); 139 m_best_candidate_len = candidate_len; 160 edit_distance_t get_cutoff (size_t candidate_len) const 162 return ::get_edit_distance_cutoff (m_goal_len, candidate_len);
|
H A D | spellcheck.c | 173 get_edit_distance_cutoff (size_t goal_len, size_t candidate_len) argument 175 size_t max_length = MAX (goal_len, candidate_len); 176 size_t min_length = MIN (goal_len, candidate_len); 278 get_old_cutoff (size_t goal_len, size_t candidate_len) argument 280 return MAX (goal_len, candidate_len) / 2; 293 for (size_t candidate_len = 0; candidate_len < 30; candidate_len++) 294 ASSERT_TRUE (get_edit_distance_cutoff (goal_len, candidate_len) 295 <= get_old_cutoff (goal_len, candidate_len)); [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | spellcheck.h | 70 size_t candidate_len); 106 size_t candidate_len = candidate_traits::get_length (candidate); local 112 = abs ((ssize_t)candidate_len - (ssize_t)m_goal_len); 125 edit_distance_t cutoff = get_cutoff (candidate_len); 134 candidate_len); 139 m_best_candidate_len = candidate_len; 160 edit_distance_t get_cutoff (size_t candidate_len) const 162 return ::get_edit_distance_cutoff (m_goal_len, candidate_len);
|
H A D | spellcheck.cc | 188 get_edit_distance_cutoff (size_t goal_len, size_t candidate_len) argument 190 size_t max_length = MAX (goal_len, candidate_len); 191 size_t min_length = MIN (goal_len, candidate_len); 296 get_old_cutoff (size_t goal_len, size_t candidate_len) argument 298 return BASE_COST * MAX (goal_len, candidate_len) / 2; 311 for (size_t candidate_len = 0; candidate_len < 30; candidate_len++) 312 ASSERT_TRUE (get_edit_distance_cutoff (goal_len, candidate_len) 313 <= get_old_cutoff (goal_len, candidate_len)); [all...] |
Completed in 100 milliseconds