Lines Matching refs:search_mode
2787 template <SearchMode search_mode, typename T>
2790 DCHECK(search_mode == ALL_ENTRIES || out_insertion_index == NULL); in BinarySearch()
2815 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in BinarySearch()
2821 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch()
2828 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in BinarySearch()
2837 template <SearchMode search_mode, typename T>
2840 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in LinearSearch()
2866 template <SearchMode search_mode, typename T>
2871 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in Search()
2880 return LinearSearch<search_mode>(array, name, valid_entries, in Search()
2885 return BinarySearch<search_mode>(array, name, valid_entries, in Search()