Searched refs:candidate_index (Results 1 – 5 of 5) sorted by relevance
19 const int candidate_index = i; in GetModelAndIndexForCommandId() local20 if ((*model)->GetTypeAt(candidate_index) == TYPE_SUBMENU) { in GetModelAndIndexForCommandId()21 MenuModel* submenu_model = (*model)->GetSubmenuModelAt(candidate_index); in GetModelAndIndexForCommandId()27 if ((*model)->GetCommandIdAt(candidate_index) == command_id) { in GetModelAndIndexForCommandId()28 *index = candidate_index; in GetModelAndIndexForCommandId()
75 size_t candidate_index = std::numeric_limits<size_t>::max(); in GetCandidateIndexWithBestScore() local92 if (candidate_index == std::numeric_limits<size_t>::max() || in GetCandidateIndexWithBestScore()94 candidate_index = i; in GetCandidateIndexWithBestScore()100 return candidate_index; in GetCandidateIndexWithBestScore()
166 int candidate_index = n - decimation + static_cast<int>( in DecimatedSearch() local169 !InInterval(candidate_index, exclude_interval)) { in DecimatedSearch()170 optimal_index = candidate_index; in DecimatedSearch()
279 const size_t candidate_index = start_from + index_in_page; in UpdateCandidates() local282 if (candidate_index < new_candidate_window.candidates().size()) { in UpdateCandidates()284 new_candidate_window.candidates()[candidate_index]; in UpdateCandidates()
2220 size_t candidate_index = candidate_bitmap_indices[j]; in GetFaviconBitmapResultsForBestMatch() local2222 bitmap_id_sizes[candidate_index].bitmap_id); in GetFaviconBitmapResultsForBestMatch()