/third_party/icu/tools/colprobe/ |
D | strengthprobe.cpp | 29 StrengthProbe::StrengthProbe(CompareFn comparer, GetSortKeyFn getter, UChar SE, in StrengthProbe() argument 35 comparer(comparer), skgetter(getter) in StrengthProbe() 56 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 60 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 64 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 69 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 73 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 77 if((sanityRes = comparer(&utilFirstP, &utilSecondP)) >= 0) { in checkSanity() 113 if(comparer(&utilFirstP, &utilSecondP) < 0) { in probePrefix() 133 if(comparer(&utilFirstP, &utilSecondP) < 0) { in probeSuffix() [all …]
|
D | colprobe.cpp | 156 CompareFn comparer; member 368 UBool trySwamped(Line **smaller, Line **greater, UChar chars[2], CompareFn comparer) { in trySwamped() argument 381 if(comparer(&gSource, &gTarget) > 0) { in trySwamped() 388 UBool trySwamps(Line **smaller, Line **greater, UChar chars[2], CompareFn comparer) { in trySwamps() argument 399 if(comparer(&gSource, &gTarget) < 0) { in trySwamps() 407 probeStrength(Line** prevLine, Line **currLine, CompareFn comparer) { in probeStrength() argument 451 if((result = comparer(prevLine, currLine)) == 0) { in probeStrength() 456 } else if(trySwamps(prevLine, currLine, primSwamps[i], comparer)) { in probeStrength() 458 } else if(trySwamps(prevLine, currLine, secSwamps[i], comparer)) { in probeStrength() 460 } else if(trySwamped(prevLine, currLine, terSwamped[i], comparer)) { in probeStrength() [all …]
|
D | targetsetgenerator.cpp | 5 TargetSetGenerator::TargetSetGenerator(UnicodeSet &startingSet, CompareFn comparer) : in TargetSetGenerator() argument 6 comparer(comparer), in TargetSetGenerator()
|
D | targetsetgenerator.h | 11 TargetSetGenerator(UnicodeSet &startingSet, CompareFn comparer); 13 CompareFn comparer;
|
D | strengthprobe.h | 57 CompareFn comparer; 61 …StrengthProbe(CompareFn comparer, GetSortKeyFn getter, UChar SE = 0x0030, UChar B0 = 0x0061, UChar…
|
D | colprobeNew.cpp | 288 CompareFn comparer; member 671 gComparer = platforms[gPlatformIndexes[0]].comparer; in processCollator() 673 …StrengthProbe probe(platforms[gPlatformIndexes[0]].comparer, platforms[gPlatformIndexes[0]].skgett… in processCollator() 724 StrengthProbe RefProbe(platforms[gRefNum].comparer, platforms[gRefNum].skgetter); in processCollator() 738 StrengthProbe RefProbe(platforms[gRefNum].comparer, platforms[gRefNum].skgetter); in processCollator()
|
/third_party/typescript/tests/baselines/reference/ |
D | genericConstraint2.errors.txt | 2 …Property 'comparer' is missing in type 'ComparableString' but required in type 'Comparable<string>… 4 …Property 'comparer' is missing in type 'ComparableString' but required in type 'Comparable<Compara… 9 comparer(other: T): number; 15 return x.comparer(y); 21 !!! error TS2420: Property 'comparer' is missing in type 'ComparableString' but required in type … 22 !!! related TS2728 tests/cases/compiler/genericConstraint2.ts:2:5: 'comparer' is declared here. 35 !!! error TS2344: Property 'comparer' is missing in type 'ComparableString' but required in type … 36 !!! related TS2728 tests/cases/compiler/genericConstraint2.ts:2:5: 'comparer' is declared here.
|
D | genericConstraint2.symbols | 6 comparer(other: T): number; 7 >comparer : Symbol(Comparable.comparer, Decl(genericConstraint2.ts, 0, 25)) 29 return x.comparer(y); 30 >x.comparer : Symbol(Comparable.comparer, Decl(genericConstraint2.ts, 0, 25)) 32 >comparer : Symbol(Comparable.comparer, Decl(genericConstraint2.ts, 0, 25))
|
D | genericConstraint2.types | 3 comparer(other: T): number; 4 >comparer : (other: T) => number 31 return x.comparer(y); 32 >x.comparer(y) : number 33 >x.comparer : (other: T) => number 35 >comparer : (other: T) => number
|
D | genericConstraint2.js | 3 comparer(other: T): number; 9 return x.comparer(y); 30 return x.comparer(y);
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | ProtobufEqualityComparersTest.cs | 100 …private static void ValidateEqualityComparer<T>(EqualityComparer<T> comparer, IEnumerable<T> value… in ValidateEqualityComparer() argument 110 Assert.IsTrue(comparer.Equals(array[i], array[j]), in ValidateEqualityComparer() 115 Assert.IsFalse(comparer.Equals(array[i], array[j]), in ValidateEqualityComparer() 117 … Assert.AreNotEqual(comparer.GetHashCode(array[i]), comparer.GetHashCode(array[j]), in ValidateEqualityComparer()
|
/third_party/typescript/src/harness/ |
D | collectionsImpl.ts | 3 comparer: (a: T, b: T) => number; property 15 … constructor(comparer: ((a: K, b: K) => number) | SortOptions<K>, iterable?: Iterable<[K, V]>) { 16 this._comparer = typeof comparer === "object" ? comparer.comparer : comparer; 17 … this._order = typeof comparer === "object" && comparer.sort === "insertion" ? [] : undefined; 36 public get comparer() { method in collections.SortedMap
|
D | compilerImpl.ts | 69 …= this.js = new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringC… 70 … this.dts = new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringC… 71 …this.maps = new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringC… 85 …putsAndOutputs = new collections.SortedMap<string, CompilationOutput>({ comparer: this.vfs.stringC…
|
/third_party/icu/icu4c/source/common/ |
D | uvector.cpp | 37 comparer(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 47 comparer(0) in UVector() 57 comparer(c) in UVector() 67 comparer(c) in UVector() 116 if (comparer != NULL) { in operator ==() 119 if (!(*comparer)(elements[i], other.elements[i])) { in operator ==() 271 if (comparer == 0) { in equals() 281 if (!(*comparer)(key, elements[i])) { in equals() 306 if (comparer != 0) { in indexOf() 308 if ((*comparer)(key, elements[i])) { in indexOf() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uvector.cpp | 37 comparer(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 47 comparer(0) in UVector() 57 comparer(c) in UVector() 67 comparer(c) in UVector() 116 if (comparer != NULL) { in operator ==() 119 if (!(*comparer)(elements[i], other.elements[i])) { in operator ==() 271 if (comparer == 0) { in equals() 281 if (!(*comparer)(key, elements[i])) { in equals() 306 if (comparer != 0) { in indexOf() 308 if ((*comparer)(key, elements[i])) { in indexOf() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uvector.cpp | 37 comparer(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 47 comparer(0) in UVector() 57 comparer(c) in UVector() 67 comparer(c) in UVector() 116 if (comparer != NULL) { in operator ==() 119 if (!(*comparer)(elements[i], other.elements[i])) { in operator ==() 271 if (comparer == 0) { in equals() 281 if (!(*comparer)(key, elements[i])) { in equals() 306 if (comparer != 0) { in indexOf() 308 if ((*comparer)(key, elements[i])) { in indexOf() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | uvector.cpp | 46 comparer(c) in UVector() 89 U_ASSERT(comparer != nullptr); in operator ==() 91 if (comparer != nullptr) { in operator ==() 94 if (!(*comparer)(elements[i], other.elements[i])) { in operator ==() 276 if (comparer == nullptr) { in equals() 286 if (!(*comparer)(key, elements[i])) { in equals() 309 if (comparer != nullptr) { in indexOf() 311 if ((*comparer)(key, elements[i])) { in indexOf() 443 UElementsAreEqual *old = comparer; in setComparer() 444 comparer = d; in setComparer()
|
D | uvector.h | 91 UElementsAreEqual *comparer = nullptr; variable
|
/third_party/typescript/src/compiler/ |
D | core.ts | 748 …eRelational<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comparer: Comparer<T>) { 752 stableSortIndices(array, indices, comparer); 784 …uplicate<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comparer?: Comparer<T>): T… 787 comparer ? deduplicateRelational(array, equalityComparer, comparer) : 794 …function deduplicateSorted<T>(array: SortedReadonlyArray<T>, comparer: EqualityComparer<T> | Compa… 801 switch (comparer(next, last)) { 834 …export function sortAndDeduplicate<T>(array: readonly T[], comparer: Comparer<T>, equalityComparer… 835 …export function sortAndDeduplicate<T>(array: readonly T[], comparer?: Comparer<T>, equalityCompare… 836 …return deduplicateSorted(sort(array, comparer), equalityComparer || comparer || compareStringsCase… 839 export function arrayIsSorted<T>(array: readonly T[], comparer: Comparer<T>) { [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | genericConstraint2.ts | 2 comparer(other: T): number; method 8 return x.comparer(y);
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | Lists.cs | 61 IEqualityComparer<T> comparer = EqualityComparer<T>.Default; in Equals() 64 if (!comparer.Equals(left[i], right[i])) in Equals()
|
D | RepeatedField.cs | 541 EqualityComparer<T> comparer = EqualityComparer; in Equals() 544 if (!comparer.Equals(array[i], other.array[i])) in Equals() 561 EqualityComparer<T> comparer = EqualityComparer; in IndexOf() 564 if (comparer.Equals(array[i], item)) in IndexOf()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | diff_state.py | 187 self.comparer = Comparer(ignore_added = ignore_added) 190 if self.comparer.visit(a, b): 200 if not self.comparer.ignore_added: 209 if not self.comparer.visit(ae, be): 232 if self.comparer.visit(ae, be):
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | UCAConformanceTest.java | 46 … comparer = new UTF16.StringComparator(true, false, UTF16.StringComparator.FOLD_CASE_DEFAULT); in init() 51 private UTF16.StringComparator comparer; field in UCAConformanceTest 250 res = comparer.compare(oldB, buffer); in conformanceTest()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | UCAConformanceTest.java | 43 … comparer = new UTF16.StringComparator(true, false, UTF16.StringComparator.FOLD_CASE_DEFAULT); in init() 48 private UTF16.StringComparator comparer; field in UCAConformanceTest 247 res = comparer.compare(oldB, buffer); in conformanceTest()
|