/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;
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; 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...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/fpos/fpos.operations/ |
streamsize.pass.cpp | 22 std::streamoff o2(sz); 23 assert(o == o2);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
MessageDateComparator.java | 22 public int compare(Message o1, Message o2) { 26 } else if (o2.getSentDate() == null) { 29 return o2.getSentDate().compareTo(o1.getSentDate());
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollatorTest.java | 41 Object o, o2; local 45 o2 = "F"; 46 assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); 48 o2 = "\u00e9"; 49 assertTrue("a) Failed on secondary difference", c.compare(o, o2) < 0); 51 o2 = "E"; 52 assertTrue("a) Failed on tertiary difference", c.compare(o, o2) < 0); 54 o2 = "\u0002"; 55 assertTrue("a) Failed on identical", c.compare(o, o2) < 0); 57 o2 = "e" [all...] |
/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))
|
/external/clang/test/SemaCXX/ |
derived-to-base-ambig.cpp | 21 Object2* o2; local 22 o2 = e2; 23 o2 = f2; // expected-error{{ambiguous conversion from derived class 'F2' to base class 'Object2':}} expected-error{{assigning to 'Object2 *' from incompatible type 'F2 *'}}
|
/external/junit/src/org/junit/runner/manipulation/ |
Sorter.java | 18 public int compare(Description o1, Description o2) { 43 public int compare(Description o1, Description o2) { 44 return fComparator.compare(o1, o2);
|
/external/stlport/src/ |
sparc_atomic.s | 16 ld [%o0], %o2 ! Set the current value 19 cas [%o0], %o2, %o3 20 cmp %o2, %o3 ! Check whether successful 23 mov %o2, %o0 ! Set the new value 35 ld [%o0], %o2 ! set the current 36 add %o2, 0x1, %o3 ! Increment and store current 38 cas [%o0], %o2, %o3 39 cmp %o3, %o2 ! Check whether successful 57 ld [%o0], %o2 ! set the current 58 sub %o2, 0x1, %o3 ! decrement and store curren [all...] |
sparc_atomic64.s | 14 ldx [%o0], %o2 ! Set the current value 16 casx [%o0], %o2, %o3 ! Do the compare and swap 17 cmp %o2, %o3 ! Check whether successful 22 mov %o2, %o0 ! Set the new value 33 ldx [%o0], %o2 ! set the current 34 addx %o2, 0x1, %o3 ! Increment and store current 35 casx [%o0], %o2, %o3 ! Do the compare and swap 36 cmp %o3, %o2 ! Check whether successful 53 ldx [%o0], %o2 ! set the current 54 subx %o2, 0x1, %o3 ! decrement and store curren [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
sparc_atomic.s | 16 ld [%o0], %o2 ! Set the current value 19 cas [%o0], %o2, %o3 20 cmp %o2, %o3 ! Check whether successful 23 mov %o2, %o0 ! Set the new value 35 ld [%o0], %o2 ! set the current 36 add %o2, 0x1, %o3 ! Increment and store current 38 cas [%o0], %o2, %o3 39 cmp %o3, %o2 ! Check whether successful 57 ld [%o0], %o2 ! set the current 58 sub %o2, 0x1, %o3 ! decrement and store curren [all...] |
sparc_atomic64.s | 14 ldx [%o0], %o2 ! Set the current value 16 casx [%o0], %o2, %o3 ! Do the compare and swap 17 cmp %o2, %o3 ! Check whether successful 22 mov %o2, %o0 ! Set the new value 33 ldx [%o0], %o2 ! set the current 34 addx %o2, 0x1, %o3 ! Increment and store current 35 casx [%o0], %o2, %o3 ! Do the compare and swap 36 cmp %o3, %o2 ! Check whether successful 53 ldx [%o0], %o2 ! set the current 54 subx %o2, 0x1, %o3 ! decrement and store curren [all...] |
/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))
|