/external/guava/guava-tests/test/com/google/common/collect/ |
OrderingTest.java | 63 comparator.compare(1, null); 67 comparator.compare(null, 2); 71 comparator.compare(null, null); 81 assertEquals(0, caseInsensitiveOrdering.compare("A", "a")); 82 assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0); 83 assertTrue(caseInsensitiveOrdering.compare("B", "a") > 0); 98 c.compare(0, 0); 108 assertEquals(0, c.compare(0, 0)); 110 c.compare(0, 1); 121 assertEquals(0, c.compare(5, 5)) [all...] |
/external/llvm/include/llvm/ADT/ |
SmallString.h | 96 /// compare() when the relative ordering of inequal strings isn't needed. 106 /// compare - Compare two strings; the result is -1, 0, or 1 if this string 108 int compare(StringRef RHS) const { function in class:llvm::SmallString 109 return str().compare(RHS); 112 /// compare_lower - Compare two strings, ignoring case. 117 /// compare_numeric - Compare two strings, treating sequences of digits as
|
StringRef.h | 128 /// compare() when the relative ordering of inequal strings isn't needed. 139 /// compare - Compare two strings; the result is -1, 0, or 1 if this string 141 int compare(StringRef RHS) const { function in class:llvm::StringRef 152 /// compare_lower - Compare two strings, ignoring case. 155 /// compare_numeric - Compare two strings, treating sequences of digits as 162 /// \param Other the string to compare this string against. 498 return LHS.compare(RHS) == -1; 502 return LHS.compare(RHS) != 1; 506 return LHS.compare(RHS) == 1 [all...] |
/external/mesa3d/src/mesa/program/ |
hash_table.c | 42 hash_compare_func_t compare; member in struct:hash_table 58 hash_compare_func_t compare) 72 ht->compare = compare; 121 if ((*ht->compare)(hn->key, key) == 0) { 155 if ((*ht->compare)(hn->key, key) == 0) {
|
/external/proguard/src/proguard/evaluation/value/ |
DoubleValue.java | 117 public abstract IntegerValue compare(DoubleValue other); method in class:DoubleValue 128 return compare(other).negate(); 216 public IntegerValue compare(SpecificDoubleValue other) method in class:DoubleValue 218 return compare((DoubleValue)other); 231 return compare(other).negate(); 319 public IntegerValue compare(ParticularDoubleValue other) method in class:DoubleValue 321 return compare((SpecificDoubleValue)other); 334 return compare(other).negate();
|
FloatValue.java | 117 public abstract IntegerValue compare(FloatValue other); method in class:FloatValue 128 return compare(other).negate(); 216 public IntegerValue compare(SpecificFloatValue other) method in class:FloatValue 218 return compare((FloatValue)other); 231 return compare(other).negate(); 319 public IntegerValue compare(ParticularFloatValue other) method in class:FloatValue 321 return compare((SpecificFloatValue)other); 334 return compare(other).negate();
|
ParticularDoubleValue.java | 120 public IntegerValue compare(DoubleValue other) method in class:ParticularDoubleValue 174 public IntegerValue compare(ParticularDoubleValue other) method in class:ParticularDoubleValue
|
ParticularFloatValue.java | 120 public IntegerValue compare(FloatValue other) method in class:ParticularFloatValue 174 public IntegerValue compare(ParticularFloatValue other) method in class:ParticularFloatValue
|
SpecificDoubleValue.java | 100 public IntegerValue compare(DoubleValue other) method in class:SpecificDoubleValue 154 public IntegerValue compare(SpecificDoubleValue other) method in class:SpecificDoubleValue
|
SpecificFloatValue.java | 100 public IntegerValue compare(FloatValue other) method in class:SpecificFloatValue 154 public IntegerValue compare(SpecificFloatValue other) method in class:SpecificFloatValue
|
SpecificLongValue.java | 134 public IntegerValue compare(LongValue other) method in class:SpecificLongValue 232 public IntegerValue compare(SpecificLongValue other) method in class:SpecificLongValue
|
UnknownDoubleValue.java | 100 public IntegerValue compare(DoubleValue other) method in class:UnknownDoubleValue
|
UnknownFloatValue.java | 100 public IntegerValue compare(FloatValue other) method in class:UnknownFloatValue
|
UnknownLongValue.java | 135 public IntegerValue compare(LongValue other) method in class:UnknownLongValue
|
/external/webkit/Source/WebCore/xml/ |
XPathPredicate.cpp | 108 bool EqTestOp::compare(const Value& lhs, const Value& rhs) const function in class:WebCore::XPath::EqTestOp 119 if (compare(stringValue(lhsSet[lindex]), stringValue(rhsSet[rindex]))) 128 if (compare(Value(stringValue(lhsSet[lindex])).toNumber(), rhs)) 137 if (compare(stringValue(lhsSet[lindex]), rhs)) 145 return compare(lhs.toBoolean(), rhs); 153 if (compare(lhs, Value(stringValue(rhsSet[rindex])).toNumber())) 159 if (compare(lhs, stringValue(rhsSet[rindex]))) 164 return compare(lhs, rhs.toBoolean()); 201 return compare(lhs, rhs);
|
/external/webkit/Tools/Scripts/webkitpy/python24/ |
versioning_unittest.py | 69 def compare(self, target_version, current_version=None): member in class:CompareVersionTest 85 self.assertEquals(-1, self.compare("3")) 86 self.assertEquals(0, self.compare("2")) 87 self.assertEquals(1, self.compare("2", "3.0.0")) 91 self.assertEquals(-1, self.compare("2.6")) 92 self.assertEquals(0, self.compare("2.5")) 93 self.assertEquals(1, self.compare("2.4")) 97 self.assertEquals(-1, self.compare("2.5.4")) 98 self.assertEquals(0, self.compare("2.5.3")) 99 self.assertEquals(1, self.compare("2.5.2") [all...] |
/frameworks/base/core/jni/ |
Time.cpp | 44 Time::compare(Time& a, Time& b) function in class:android::Time 47 // if the timezones are the same, we can easily compare the two 48 // times. Otherwise, convert to milliseconds and compare that.
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 107 return (compare(mManufacturer, accessory.getManufacturer()) && 108 compare(mModel, accessory.getModel()) && 109 compare(mDescription, accessory.getDescription()) && 110 compare(mVersion, accessory.getVersion()) && 111 compare(mUri, accessory.getUri()) && 112 compare(mSerial, accessory.getSerial()));
|
/frameworks/native/include/utils/ |
String16.h | 94 inline int compare(const String16& other) const; 127 return lhs.compare(rhs); 169 inline int String16::compare(const String16& other) const function in class:android::String16
|
String8.h | 98 inline int compare(const String8& other) const; 234 return lhs.compare(rhs); 314 inline int String8::compare(const String8& other) const function in class:android::String8
|
/libcore/luni/src/main/java/java/lang/ |
Byte.java | 100 * the byte object to compare this object to. 109 return compare(value, object.value); 118 public static int compare(byte lhs, byte rhs) { method in class:Byte 154 * the object to compare this byte with.
|
Short.java | 97 * the short object to compare this object to. 108 return compare(value, object.value); 117 public static int compare(long lhs, long rhs) { method in class:Short 154 * the object to compare this short with.
|
/libcore/luni/src/main/java/libcore/icu/ |
NativeCollation.java | 24 public static native int compare(int address, String source, String target); method in class:NativeCollation
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 86 public int compare(String object1, String object2) { method in class:OldPriorityQueueTest.MockComparatorStringByLength 102 public int compare(E object1, E object2) { method in class:OldPriorityQueueTest.MockComparatorCast
|
/libcore/support/src/test/java/tests/support/ |
Support_Format.java | 65 + format.format(object), compare(results, expectedResults)); 71 protected static boolean compare(Vector<FieldContainer> vector1, Vector<FieldContainer> vector2) { method in class:Support_Format
|