/external/mockito/src/org/mockito/internal/matchers/ |
Equality.java | 12 public static boolean areEqual(Object o1, Object o2) {
13 if (o1 == null || o2 == null) {
14 return o1 == null && o2 == null;
15 } else if (isArray(o1)) {
16 return isArray(o2) && areArraysEqual(o1, o2);
18 return o1.equals(o2);
22 static boolean areArraysEqual(Object o1, Object o2) {
23 return areArrayLengthsEqual(o1, o2)
24 && areArrayElementsEqual(o1, o2);
27 static boolean areArrayLengthsEqual(Object o1, Object o2) { [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
IsEqual.java | 32 private static boolean areEqual(Object o1, Object o2) { 33 if (o1 == null || o2 == null) { 34 return o1 == null && o2 == null; 35 } else if (isArray(o1)) { 36 return isArray(o2) && areArraysEqual(o1, o2); 38 return o1.equals(o2); 42 private static boolean areArraysEqual(Object o1, Object o2) { 43 return areArrayLengthsEqual(o1, o2) 44 && areArrayElementsEqual(o1, o2); 47 private static boolean areArrayLengthsEqual(Object o1, Object o2) [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
MessageDateComparator.java | 23 public int compare(Message o1, Message o2) { 25 if (o1.getSentDate() == null) { 30 return o2.getSentDate().compareTo(o1.getSentDate());
|
/bionic/libc/kernel/common/linux/sunrpc/ |
gss_asn1.h | 42 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/linux/sunrpc/ |
gss_asn1.h | 34 #define g_OID_equal(o1,o2) (((o1)->len == (o2)->len) && (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|