Searched refs:candidate_index (Results 1 – 6 of 6) 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()
84 int candidate_index = -1; in GetCandidateIndexWithBestScore() local103 if (candidate_index == -1 || score > candidate_score) { in GetCandidateIndexWithBestScore()104 candidate_index = i; in GetCandidateIndexWithBestScore()113 candidate_sizes_in_pixel[candidate_index]; in GetCandidateIndexWithBestScore()122 return candidate_index; in GetCandidateIndexWithBestScore()
2339 size_t candidate_index = candidate_bitmap_indices[j]; in GetFaviconBitmapResultsForBestMatch() local2341 bitmap_id_sizes[candidate_index].bitmap_id); in GetFaviconBitmapResultsForBestMatch()
160 int candidate_index = n - decimation + static_cast<int>( in DecimatedSearch() local163 !InInterval(candidate_index, exclude_interval)) { in DecimatedSearch()164 optimal_index = candidate_index; in DecimatedSearch()
924 const size_t candidate_index = start_from + index_in_page; in UpdateCandidates() local939 if (candidate_index < new_lookup_table.candidates.size() && in UpdateCandidates()940 candidate_index < new_lookup_table.annotations.size()) { in UpdateCandidates()942 UTF8ToWide(new_lookup_table.candidates[candidate_index])); in UpdateCandidates()944 UTF8ToWide(new_lookup_table.annotations[candidate_index])); in UpdateCandidates()
730 const size_t candidate_index = start_from + index_in_page; in UpdateCandidates() local745 if (candidate_index < new_candidate_window.candidates().size()) { in UpdateCandidates()747 new_candidate_window.candidates()[candidate_index]; in UpdateCandidates()