Home
last modified time | relevance | path

Searched refs:comparer (Results 1 – 10 of 10) sorted by relevance

/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DParallelSorter.java51 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/
Duvector.cpp35 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 …]
Duvector.h90 UElementsAreEqual *comparer; variable
/external/chromium_org/third_party/icu/source/common/
Duvector.cpp35 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 …]
Duvector.h90 UElementsAreEqual *comparer; variable
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DEnumerableExtensions.cs92 …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/chromium_org/chrome/browser/ui/panels/
Ddetached_panel_collection.cc233 void DetachedPanelCollection::SortPanels(PanelsComparer comparer) { in SortPanels() argument
234 panels_.sort(comparer); in SortPanels()
Ddetached_panel_collection.h65 void SortPanels(PanelsComparer comparer);
/external/chromium_org/content/browser/service_worker/
Dservice_worker_storage.cc580 scoped_refptr<ResponseComparer> comparer = in CompareScriptResources() local
585 comparer->Start(); // It deletes itself when done. in CompareScriptResources()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp6019 …::vector<deUint64>& testSamples, const std::vector<deUint64>& allSamples, const Comparer& comparer) in sumOfRanks() argument
6026 …int)(std::lower_bound(allSamples.begin(), allSamples.end(), testSample, comparer) - allSamples.beg… in sumOfRanks()
6027 …int)(std::upper_bound(allSamples.begin(), allSamples.end(), testSample, comparer) - allSamples.beg… in sumOfRanks()
6039 … orderedObservationsA, const std::vector<deUint64>& orderedObservationsB, const Comparer& comparer) in distributionCompare() argument
6052 const float R1 = sumOfRanks(orderedObservationsA, allSamples, comparer); in distributionCompare()
6098 ThresholdComparer<deUint64> comparer; in findStabilizationSample() local
6100 comparer.relativeThreshold = 0.15f; // 15% in findStabilizationSample()
6101 comparer.absoluteThreshold = 100; // (us), assumed sampling precision in findStabilizationSample()
6128 …ibutionCompare(sampleObservations[sampleNdx], sampleObservations[cmpTargetDistribution], comparer); in findStabilizationSample()