Home
last modified time | relevance | path

Searched refs:sorted_candidates (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dderivation.h48 std::vector<T> sorted_candidates = derivations; in DeduplicateDerivations() local
50 std::stable_sort(sorted_candidates.begin(), sorted_candidates.end(), in DeduplicateDerivations()
71 for (int i = 0; i < sorted_candidates.size(); i++) { in DeduplicateDerivations()
72 const T& candidate = sorted_candidates[i]; in DeduplicateDerivations()
78 if (sorted_candidates[j].rule_id != candidate.rule_id) { in DeduplicateDerivations()
81 if (sorted_candidates[j].parse_tree->codepoint_span.first <= in DeduplicateDerivations()
83 sorted_candidates[j].parse_tree->codepoint_span.second >= in DeduplicateDerivations()
/external/toolchain-utils/llvm_tools/patch_sync/src/
Dversion_control.rs299 let mut sorted_candidates: Vec<_> = in find_ebuild() localVariable
301 sorted_candidates.sort_unstable_by_key(|x| x.0); in find_ebuild()
302 let highest_rev_ebuild = sorted_candidates in find_ebuild()