/external/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()
|
/external/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 …]
|
D | uvector.h | 92 UElementsAreEqual *comparer; variable
|
/external/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 | 442 EqualityComparer<T> comparer = EqualityComparer; in Equals() 445 if (!comparer.Equals(array[i], other.array[i])) in Equals() 462 EqualityComparer<T> comparer = EqualityComparer; in IndexOf() 465 if (comparer.Equals(array[i], item)) in IndexOf()
|
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/ |
D | rotate_copy.pass.cpp | 101 auto comparer = comparator<T, Iterator1, Iterator2>(); in operator ()() local 102 bool check = std::equal(data_m, data_e, actual_b, comparer); in operator ()() 103 … check && std::equal(data_b, data_m, std::next(actual_b, std::distance(data_m, data_e)), comparer); in operator ()()
|
/external/mesa3d/src/gallium/tools/trace/ |
D | diff_state.py | 190 self.comparer = Comparer(ignore_added = ignore_added) 193 if self.comparer.visit(a, b): 203 if not self.comparer.ignore_added: 212 if not self.comparer.visit(ae, be): 235 if self.comparer.visit(ae, be):
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | EnumerableExtensions.cs | 92 …ontains<TSource>(IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer) { in Contains() argument 95 if (comparer == null) in Contains() 96 comparer = EqualityComparer<TSource>.Default; in Contains() 99 if (comparer.Equals(element, value)) in Contains()
|
/external/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()
|
/external/icu/android_icu4j/src/main/tests/android/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()
|
/external/perfetto/src/base/ |
D | circular_queue_unittest.cc | 275 auto comparer = [](const Checker& lhs, const Checker& rhs) { in TEST() local 278 ASSERT_TRUE(std::is_sorted(q1.begin(), q1.end(), comparer)); in TEST() 279 ASSERT_TRUE(std::is_sorted(q2.begin(), q2.end(), comparer)); in TEST()
|
/external/perfetto/src/kallsyms/ |
D | kernel_symbol_map.cc | 307 auto comparer = [](TokenMapPtr a, TokenMapPtr b) { in Parse() local 311 std::sort(tokens_by_freq.begin(), tokens_by_freq.end(), comparer); in Parse()
|
/external/icu/libicu/cts_headers/ |
D | uvector.h | 92 UElementsAreEqual *comparer; variable
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 5999 …::vector<deUint64>& testSamples, const std::vector<deUint64>& allSamples, const Comparer& comparer) in sumOfRanks() argument 6006 …int)(std::lower_bound(allSamples.begin(), allSamples.end(), testSample, comparer) - allSamples.beg… in sumOfRanks() 6007 …int)(std::upper_bound(allSamples.begin(), allSamples.end(), testSample, comparer) - allSamples.beg… in sumOfRanks() 6019 … orderedObservationsA, const std::vector<deUint64>& orderedObservationsB, const Comparer& comparer) in distributionCompare() argument 6032 const float R1 = sumOfRanks(orderedObservationsA, allSamples, comparer); in distributionCompare() 6078 ThresholdComparer<deUint64> comparer; in findStabilizationSample() local 6080 comparer.relativeThreshold = 0.15f; // 15% in findStabilizationSample() 6081 comparer.absoluteThreshold = 100; // (us), assumed sampling precision in findStabilizationSample() 6108 …ibutionCompare(sampleObservations[sampleNdx], sampleObservations[cmpTargetDistribution], comparer); in findStabilizationSample()
|
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/ |
D | ospd.txt.gz |
|