Home
last modified time | relevance | path

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

1234567

/third_party/skia/src/gpu/geometry/
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 …]
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.cpp36 using Comparator = GrTriangulator::Comparator; typedef
79 bool GrTriangulator::Comparator::sweep_lt(const SkPoint& a, const SkPoint& b) const { in sweep_lt()
620 const Comparator& c) const { in makeEdge()
653 void GrTriangulator::Edge::insertAbove(Vertex* v, const Comparator& c) { in insertAbove()
671 void GrTriangulator::Edge::insertBelow(Vertex* v, const Comparator& c) { in insertBelow()
710 static void rewind(EdgeList* activeEdges, Vertex** current, Vertex* dst, const Comparator& c) { in rewind()
737 const Comparator& c) { in rewind_if_necessary()
775 const Comparator& c) const { in setTop()
789 const Comparator& c) const { in setBottom()
803 Vertex** current, const Comparator& c) const { in mergeEdgesAbove()
[all …]
/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.ts189 private _alternatives: readonly (readonly Comparator[])[];
219 interface Comparator { interface
258 const alternatives: Comparator[][] = [];
261 const comparators: Comparator[] = [];
293 function parseHyphen(left: string, right: string, comparators: Comparator[]) {
314 function parseComparator(operator: string, text: string, comparators: Comparator[]) {
373 function createComparator(operator: Comparator["operator"], operand: Version) {
377 function testDisjunction(version: Version, alternatives: readonly (readonly Comparator[])[]) {
386 function testAlternative(version: Version, comparators: readonly Comparator[]) {
393 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/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/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/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))
/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/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/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/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/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/vk-gl-cts/external/amber/src/src/
Dverifier_test.cc676 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
702 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
729 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
760 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
786 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
814 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
845 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
871 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
899 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
930 probe_ssbo.SetComparator(ProbeSSBOCommand::Comparator::kEqual); in TEST_F()
[all …]
/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/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/node/deps/npm/node_modules/semver/classes/
Dcomparator.js3 class Comparator { class
11 if (comp instanceof Comparator) {
78 if (!(comp instanceof Comparator)) {
134 module.exports = Comparator
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
DNfaFlattener.java26 import java.util.Comparator;
68 private final Comparator<PathFollower> queueOrder;
72 this.queueOrder = Comparator in NfaFlattener()
178 static Comparator<Node> nodeOrdering(ValueGraph<Node, ?> graph) { in nodeOrdering()
182 return Comparator.comparing((Function<Node, Integer>) map::get).thenComparing(Node::id); in nodeOrdering()
/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/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java12 import java.util.Comparator;
165 public static <T, U extends Collection<T>> T getBest(U c, Comparator<T> comp, int direction) { in getBest()
266 Comparator bbc = bb.comparator(); in containsSome()
267 Comparator aac = aa.comparator(); in containsSome()
319 Comparator bbc = bb.comparator(); in containsAll()
320 Comparator aac = aa.comparator(); in containsAll()
630 implements Comparator<Set<T>> {
638 implements Comparator<Collection<T>> {
685 …c class MapComparator<K extends Comparable, V extends Comparable> implements Comparator<Map<K,V>> {
691 public static class ComparableComparator<T extends Comparable> implements Comparator<T> {

1234567