Lines Matching refs:search_mode
1714 template <SearchMode search_mode, typename T>
1717 DCHECK(search_mode == ALL_ENTRIES || out_insertion_index == nullptr); in BinarySearch()
1742 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in BinarySearch()
1748 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch()
1755 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in BinarySearch()
1764 template <SearchMode search_mode, typename T>
1767 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in LinearSearch()
1792 template <SearchMode search_mode, typename T>
1797 if (search_mode == ALL_ENTRIES && out_insertion_index != nullptr) { in Search()
1806 return LinearSearch<search_mode>(array, name, valid_entries, in Search()
1811 return BinarySearch<search_mode>(array, name, valid_entries, in Search()