Home
last modified time | relevance | path

Searched refs:Comparator (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/skia/src/gpu/geometry/
DGrAATriangulator.h36 void apply(VertexList* mesh, const Comparator&, EventList* events, const GrAATriangulator*);
57 const Comparator&) const;
60 void simplifyBoundary(EdgeList* boundary, const Comparator&) const;
65 void strokeBoundary(EdgeList* boundary, VertexList* innerMesh, const Comparator&) const;
68 Poly* tessellate(const VertexList& mesh, const Comparator&) const override;
74 const Comparator&) const;
75 void connectPartners(VertexList* mesh, const Comparator&) const;
77 void connectSSEdge(Vertex* v, Vertex* dest, const Comparator&) const;
78 bool collapseOverlapRegions(VertexList* mesh, const Comparator&, EventComparator comp) const;
DGrTriangulator.h54 struct Comparator;
68 const Comparator&) const;
72 const Comparator&);
73 static void SortMesh(VertexList* vertices, const Comparator&);
81 SimplifyResult simplify(VertexList* mesh, const Comparator&) const;
84 virtual Poly* tessellate(const VertexList& vertices, const Comparator&) const;
143 Edge* makeEdge(Vertex* prev, Vertex* next, EdgeType type, const Comparator&) const;
145 const Comparator&) const;
147 const Comparator&) const;
149 const Comparator&) const;
[all …]
/third_party/boost/libs/function_types/example/
Dfast_mem_fn_example.cpp38 template<typename CriterionExtractor, typename Comparator>
42 Comparator fnc_compare;
45 explicit test_compare(CriterionExtractor criterion, Comparator compare) in test_compare()
58 template<typename CriterionExtractor, typename Comparator>
59 test_compare<CriterionExtractor,Comparator>
60 make_test_compare(CriterionExtractor criterion, Comparator compare) in make_test_compare()
62 return test_compare<CriterionExtractor,Comparator>(criterion,compare); in make_test_compare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DParallel.h82 template <class RandomAccessIterator, class Comparator>
85 const Comparator &Comp) { in medianOf3()
94 template <class RandomAccessIterator, class Comparator>
96 const Comparator &Comp, TaskGroup &TG, size_t Depth) { in parallel_quick_sort()
120 template <class RandomAccessIterator, class Comparator>
122 const Comparator &Comp) { in parallel_sort()
174 class Comparator = detail::DefComparator<RandomAccessIterator>>
176 const Comparator &Comp = Comparator()) {
201 class Comparator = detail::DefComparator<RandomAccessIterator>>
203 RandomAccessIterator End, const Comparator &Comp = Comparator()) {
/third_party/typescript/src/compiler/
Dsemver.ts171 private _alternatives: readonly (readonly Comparator[])[];
197 interface Comparator { interface
236 const alternatives: Comparator[][] = [];
239 const comparators: Comparator[] = [];
270 function parseHyphen(left: string, right: string, comparators: Comparator[]) {
291 function parseComparator(operator: string, text: string, comparators: Comparator[]) {
348 function createComparator(operator: Comparator["operator"], operand: Version) {
352 function testDisjunction(version: Version, alternatives: readonly (readonly Comparator[])[]) {
361 function testAlternative(version: Version, comparators: readonly Comparator[]) {
368 function testComparator(version: Version, operator: Comparator["operator"], operand: Version) {
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DCsvKeyMarshaller.java19 import static java.util.Comparator.naturalOrder;
22 import java.util.Comparator;
32 private final Optional<Comparator<K>> ordering;
43 Optional<Comparator<K>> ordering, in CsvKeyMarshaller()
51 Optional<Comparator<K>> ordering, in CsvKeyMarshaller()
71 Optional<Comparator<K>> ordering() { in ordering()
DDiffKey.java22 import java.util.Comparator;
92 private static <T> Optional<Comparator<DiffKey<T>>> ordering(CsvKeyMarshaller<T> m) { in ordering()
96 Comparator<DiffKey<T>> keyFn = Comparator.comparing(DiffKey::getOriginalKey, o); in ordering()
DMultiValue.java27 import java.util.Comparator;
63 private final Comparator<Iterable<T>> comparator;
66 String s, Function<String, T> fn, char separator, Comparator<T> comparator, boolean sorted) { in MultiValue()
71 Iterable<T> values, char separator, Comparator<T> comparator, boolean sorted) { in MultiValue()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIterableComparator.java11 import java.util.Comparator;
18 public class IterableComparator<T> implements Comparator<Iterable<T>> {
19 private final Comparator<T> comparator;
26 public IterableComparator(Comparator<T> comparator) { in IterableComparator()
30 public IterableComparator(Comparator<T> comparator, boolean shorterFirst) { in IterableComparator()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DIterableComparator.java12 import java.util.Comparator;
20 public class IterableComparator<T> implements Comparator<Iterable<T>> {
21 private final Comparator<T> comparator;
28 public IterableComparator(Comparator<T> comparator) { in IterableComparator()
32 public IterableComparator(Comparator<T> comparator, boolean shorterFirst) { in IterableComparator()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
DHeader.java21 import java.util.Comparator;
43 public static final Comparator<Header> COMPARATOR_BY_OFFSET = new Comparator<Header>() {
50 public static final Comparator<Header> COMPARATOR_BY_TAG = new Comparator<Header>() {
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
DHeader.java21 import java.util.Comparator;
43 public static final Comparator<Header> COMPARATOR_BY_OFFSET = new Comparator<Header>() {
50 public static final Comparator<Header> COMPARATOR_BY_TAG = new Comparator<Header>() {
/third_party/typescript/tests/baselines/reference/
DneverInference.types24 type Comparator<T> = (x: T, y: T) => number;
25 >Comparator : Comparator<T>
30 comparator: Comparator<T>,
31 >comparator : Comparator<T>
48 declare function mkList<T>(items: T[], comparator: Comparator<T>): LinkedList<T>;
49 >mkList : <T>(items: T[], comparator: Comparator<T>) => LinkedList<T>
51 >comparator : Comparator<T>
56 >mkList : <T>(items: T[], comparator: Comparator<T>) => LinkedList<T>
DneverInference.symbols23 type Comparator<T> = (x: T, y: T) => number;
24 >Comparator : Symbol(Comparator, Decl(neverInference.ts, 5, 24))
35 comparator: Comparator<T>,
37 >Comparator : Symbol(Comparator, Decl(neverInference.ts, 5, 24))
60 declare function mkList<T>(items: T[], comparator: Comparator<T>): LinkedList<T>;
66 >Comparator : Symbol(Comparator, Decl(neverInference.ts, 5, 24))
DneverInference.js11 type Comparator<T> = (x: T, y: T) => number;
14 comparator: Comparator<T>,
21 declare function mkList<T>(items: T[], comparator: Comparator<T>): LinkedList<T>;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DLocaleDisplayNames.java14 import java.util.Comparator;
285 …public List<UiListItem> getUiList(Set<ULocale> localeSet, boolean inSelf, Comparator<Object> colla… in getUiList()
298 …public abstract List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiL… in getUiListCompareWholeItems()
389 …public static Comparator<UiListItem> getComparator(Comparator<Object> comparator, boolean inSelf) { in getComparator()
393 private static class UiListItemComparator implements Comparator<UiListItem> {
394 private final Comparator<Object> collator;
396 UiListItemComparator(Comparator<Object> collator, boolean useSelf) { in UiListItemComparator()
551 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DLocaleDisplayNames.java15 import java.util.Comparator;
264 …public List<UiListItem> getUiList(Set<ULocale> localeSet, boolean inSelf, Comparator<Object> colla… in getUiList()
276 …public abstract List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiL… in getUiListCompareWholeItems()
354 …public static Comparator<UiListItem> getComparator(Comparator<Object> comparator, boolean inSelf) { in getComparator()
358 private static class UiListItemComparator implements Comparator<UiListItem> {
359 private final Comparator<Object> collator;
361 UiListItemComparator(Comparator<Object> collator, boolean useSelf) { in UiListItemComparator()
517 …public List<UiListItem> getUiListCompareWholeItems(Set<ULocale> localeSet, Comparator<UiListItem> … in getUiListCompareWholeItems()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCounter.java15 import java.util.Comparator;
28 Comparator<T> comparator;
34 public Counter(Comparator<T> comparator) { in Counter()
112 private static class EntryComparator<T> implements Comparator<Entry<T>>{
114 Comparator<T> byValue;
116 public EntryComparator(boolean ascending, Comparator<T> byValue) { in EntryComparator()
134 public Set<T> getKeysetSortedByCount(boolean ascending, Comparator<T> byValue) { in getKeysetSortedByCount()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCounter.java14 import java.util.Comparator;
25 Comparator<T> comparator;
31 public Counter(Comparator<T> comparator) { in Counter()
109 private static class EntryComparator<T> implements Comparator<Entry<T>>{
111 Comparator<T> byValue;
113 public EntryComparator(boolean ascending, Comparator<T> byValue) { in EntryComparator()
131 public Set<T> getKeysetSortedByCount(boolean ascending, Comparator<T> byValue) { in getKeysetSortedByCount()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/i18n/
DPhoneRegion.java20 import static java.util.Comparator.comparing;
21 import static java.util.Comparator.naturalOrder;
25 import java.util.Comparator;
40 private static Comparator<PhoneRegion> ORDERING =
/third_party/typescript/tests/cases/conformance/types/never/
DneverInference.ts14 type Comparator<T> = (x: T, y: T) => number;
17 comparator: Comparator<T>,
24 declare function mkList<T>(items: T[], comparator: Comparator<T>): LinkedList<T>;
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DMetadataKey.java21 import java.util.Comparator;
30 private static final Comparator<MetadataKey> ORDERING =
31 Comparator.comparing(MetadataKey::region).thenComparing(MetadataKey::callingCode);
/third_party/protobuf/python/
Dmox.py751 class Comparator: class
790 class IsA(Comparator):
828 class IsAlmost(Comparator):
865 class StrContains(Comparator):
904 class Regex(Comparator):
939 class In(Comparator):
971 class ContainsKeyValue(Comparator):
1005 class SameElementsAs(Comparator):
1046 class And(Comparator):
1079 class Or(Comparator):
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DBitmapGlyphInfo.java19 import java.util.Comparator;
138 public static final Comparator<BitmapGlyphInfo> StartOffsetComparator =
141 private static final class StartOffsetComparatorClass implements Comparator<BitmapGlyphInfo> {
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DBitmapGlyphInfo.java19 import java.util.Comparator;
138 public static final Comparator<BitmapGlyphInfo> StartOffsetComparator =
141 private static final class StartOffsetComparatorClass implements Comparator<BitmapGlyphInfo> {

123456