HomeSort by relevance Sort by last modified time
    Searched refs:compare (Results 251 - 275 of 2801) sorted by null

<<11121314151617181920>>

  /external/libcxx/test/std/experimental/string.view/string.view.ops/
compare.sv.pass.cpp 12 // constexpr int compare(basic_string_view str) const noexcept;
24 assert ( sign( sv1.compare(sv2)) == sign(expected));
115 static_assert ( sv1.compare(sv2) == 0, "" );
116 static_assert ( sv2.compare(sv1) == 0, "" );
117 static_assert ( sv3.compare(sv2) > 0, "" );
118 static_assert ( sv2.compare(sv3) < 0, "" );
  /frameworks/base/libs/hwui/
GradientCache.h 60 static int compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs);
63 return compare(*this, other) == 0;
67 return compare(*this, other) != 0;
89 return GradientCacheEntry::compare(lhs, rhs) < 0;
93 return GradientCacheEntry::compare(lhs, rhs);
  /frameworks/base/libs/hwui/font/
Font.h 58 static int compare(const FontDescription& lhs, const FontDescription& rhs);
63 return compare(*this, other) == 0;
67 return compare(*this, other) != 0;
158 return Font::FontDescription::compare(lhs, rhs) < 0;
162 return Font::FontDescription::compare(lhs, rhs);
  /libcore/luni/src/test/java/libcore/java/util/
CollectionsTest.java 153 public int compare(Integer lhs, Integer rhs) {
154 final int compare = lhs.compareTo(rhs);
155 if (compare == 0) {
157 } else if (compare < 0) {
183 public int compare(Integer lhs, Integer rhs) {
  /cts/tools/signature-tools/src/signature/compare/
ApiComparator.java 17 package signature.compare;
19 import signature.compare.model.IAnnotationDelta;
20 import signature.compare.model.IAnnotationElementDelta;
21 import signature.compare.model.IAnnotationFieldDelta;
22 import signature.compare.model.IApiDelta;
23 import signature.compare.model.IClassDefinitionDelta;
24 import signature.compare.model.IConstructorDelta;
25 import signature.compare.model.IDelta;
26 import signature.compare.model.IEnumConstantDelta;
27 import signature.compare.model.IFieldDelta
105 public IApiDelta compare(IApi from, IApi to) { method in class:ApiComparator
    [all...]
  /cts/tools/signature-tools/src/signature/io/html/
ClassOverviewPage.java 25 import signature.compare.model.IAnnotationFieldDelta;
26 import signature.compare.model.IClassDefinitionDelta;
27 import signature.compare.model.IConstructorDelta;
28 import signature.compare.model.IEnumConstantDelta;
29 import signature.compare.model.IFieldDelta;
30 import signature.compare.model.IMethodDelta;
31 import signature.compare.model.impl.SigDelta;
  /external/icu/icu4c/source/i18n/unicode/
coll.h 37 * 02/10/98 damiba Added compare() with length as parameter.
101 * The following example shows how to compare two strings using the
106 * // Compare two strings in the default locale
109 * if (myCollator->compare("abc", "ABC") < 0)
133 * if (usCollator->compare("abc", "ABC") == 0)
204 * string in the compare() method.
206 * string in the compare() method.
208 * target string in the compare() method.
209 * @see Collator#compare
241 * (compare this vs. o's subclass fields
    [all...]
  /external/proguard/src/proguard/evaluation/value/
LongValue.java 203 public IntegerValue compare(LongValue other) method in class:LongValue
217 return compare(other).negate();
358 public IntegerValue compare(SpecificLongValue other) method in class:LongValue
373 return compare(other).negate();
514 public IntegerValue compare(ParticularLongValue other) method in class:LongValue
516 return compare((SpecificLongValue)other);
529 return compare(other).negate();
  /frameworks/base/tools/aapt2/
StringPiece.h 59 int compare(const BasicStringPiece<TChar>& rhs) const;
166 inline int BasicStringPiece<char>::compare(const BasicStringPiece<char>& rhs) const { function in class:aapt::BasicStringPiece
189 inline int BasicStringPiece<char16_t>::compare(const BasicStringPiece<char16_t>& rhs) const { function in class:aapt::BasicStringPiece
198 return compare(rhs) < 0;
203 return compare(rhs) > 0;
208 return compare(rhs) == 0;
213 return compare(rhs) != 0;
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
GeneralRangeTest.java 89 assertEquals(ORDERING.compare(i, 3) == 0, range.contains(i));
97 assertEquals(ORDERING.compare(i, 3) > 0
98 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
99 assertEquals(ORDERING.compare(i, 3) < 0
100 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooLow(i));
110 assertEquals(ORDERING.compare(i, 3) < 0
111 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
112 assertEquals(ORDERING.compare(i, 3) > 0
113 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooHigh(i));
  /external/guava/guava-tests/test/com/google/common/collect/
GeneralRangeTest.java 91 assertEquals(ORDERING.compare(i, 3) == 0, range.contains(i));
99 assertEquals(ORDERING.compare(i, 3) > 0
100 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
101 assertEquals(ORDERING.compare(i, 3) < 0
102 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooLow(i));
112 assertEquals(ORDERING.compare(i, 3) < 0
113 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
114 assertEquals(ORDERING.compare(i, 3) > 0
115 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooHigh(i));
  /cts/tools/signature-tools/src/signature/compare/model/impl/
SigDelta.java 17 package signature.compare.model.impl;
26 import signature.compare.model.IDelta;
27 import signature.compare.model.DeltaType;
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
CatchHandlerList.java 149 int compare = thisEntry.compareTo(otherEntry); local
150 if (compare != 0) {
151 return compare;
  /dalvik/dx/src/com/android/dx/dex/code/
CatchHandlerList.java 149 int compare = thisEntry.compareTo(otherEntry); local
150 if (compare != 0) {
151 return compare;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
MultiStartDifferentiableMultivariateRealOptimizer.java 204 public int compare(final RealPointValuePair o1, final RealPointValuePair o2) {
213 Double.compare(v1, v2) : Double.compare(v2, v1);
MultiStartMultivariateRealOptimizer.java 192 public int compare(final RealPointValuePair o1, final RealPointValuePair o2) {
201 Double.compare(v1, v2) : Double.compare(v2, v1);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
MultiDirectional.java 75 if (comparator.compare(reflected, best) < 0) {
80 if (comparator.compare(reflected, expanded) <= 0) {
91 if (comparator.compare(contracted, best) < 0) {
  /external/dexmaker/src/dx/java/com/android/dx/dex/code/
CatchHandlerList.java 149 int compare = thisEntry.compareTo(otherEntry); local
150 if (compare != 0) {
151 return compare;
  /external/icu/icu4c/source/common/
uvector.cpp 115 // Compare using this object's comparer
437 * as defined by 'compare'. The current elements are assumed to
440 void UVector::sortedInsert(void* obj, UElementComparator *compare, UErrorCode& ec) {
443 sortedInsert(e, compare, ec);
448 * as defined by 'compare'. The current elements are assumed to
451 void UVector::sortedInsert(int32_t obj, UElementComparator *compare, UErrorCode& ec) {
454 sortedInsert(e, compare, ec);
458 void UVector::sortedInsert(UElement e, UElementComparator *compare, UErrorCode& ec) {
467 int8_t c = (*compare)(elements[probe], e);
497 UElementComparator *compare = *static_cast<UElementComparator * const *>(context) local
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
RuleBasedCollatorICU.java 66 public int compare(String source, String target) { method in class:RuleBasedCollatorICU
67 return NativeCollation.compare(address, source, target);
131 return (compare(source, target) == 0);
  /ndk/sources/cxx-stl/stlport/src/
sparc_atomic.s 18 ! swap [%o0], %o3 ! Do the compare and swap
37 ! swap [%o0], %o3 ! Do the compare and swap
59 ! swap [%o0], %o3 ! Do the compare and swap
sparc_atomic64.s 16 casx [%o0], %o2, %o3 ! Do the compare and swap
35 casx [%o0], %o2, %o3 ! Do the compare and swap
55 casx [%o0], %o2, %o3 ! Do the compare and swap
  /art/test/455-set-vreg/
set_vreg_jni.cc 39 if (m_name.compare("testIntVReg") == 0) {
49 } else if (m_name.compare("testLongVReg") == 0) {
59 } else if (m_name.compare("testFloatVReg") == 0) {
69 } else if (m_name.compare("testDoubleVReg") == 0) {
  /cts/tools/signature-tools/src/signature/compare/model/subst/
ArrayTypeProjection.java 17 package signature.compare.model.subst;
ClassReferenceProjection.java 17 package signature.compare.model.subst;

Completed in 1462 milliseconds

<<11121314151617181920>>