Searched refs:comparer (Results 1 – 6 of 6) sorted by relevance
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
D | ParallelSorter.java | 51 private Comparer comparer; field in ParallelSorter 158 comparer = new IntComparer((int[])array); in chooseComparer() 160 comparer = new LongComparer((long[])array); in chooseComparer() 162 comparer = new DoubleComparer((double[])array); in chooseComparer() 164 comparer = new FloatComparer((float[])array); in chooseComparer() 166 comparer = new ShortComparer((short[])array); in chooseComparer() 168 comparer = new ByteComparer((byte[])array); in chooseComparer() 170 comparer = new ComparatorComparer((Object[])array, cmp); in chooseComparer() 172 comparer = new ObjectComparer((Object[])array); in chooseComparer() 177 return comparer.compare(i, j); in compare()
|
/external/icu/icu4c/source/common/ |
D | uvector.cpp | 35 comparer(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 45 comparer(0) in UVector() 55 comparer(c) in UVector() 65 comparer(c) in UVector() 114 if (comparer != NULL) { in operator ==() 117 if (!(*comparer)(elements[i], other.elements[i])) { in operator ==() 269 if (comparer == 0) { in equals() 279 if (!(*comparer)(key, elements[i])) { in equals() 304 if (comparer != 0) { in indexOf() 306 if ((*comparer)(key, elements[i])) { in indexOf() [all …]
|
D | uvector.h | 90 UElementsAreEqual *comparer; variable
|
/external/antlr/antlr-3.4/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 | 42 … comparer = new UTF16.StringComparator(true, false, UTF16.StringComparator.FOLD_CASE_DEFAULT); in init() 46 private UTF16.StringComparator comparer; field in UCAConformanceTest 245 res = comparer.compare(oldB, buffer); in conformanceTest()
|
/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()
|