/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...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sparc/ |
pc2210.s | 5 sethi %pc22(sym), %o1 6 or %o1, %pc10(sym), %o1
|
pc2210.d | 10 0: 13 00 00 00 sethi %hi\(0\), %o1 12 4: 92 12 60 00 mov %o1, %o1 ! 0 <.text>
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
tls_test_file2.cc | 28 __thread int o1; variable
|
/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());
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
MessageDateComparator.java | 22 public int compare(Message o1, Message o2) { 24 if (o1.getSentDate() == null) { 29 return o2.getSentDate().compareTo(o1.getSentDate());
|
/external/libcxx/test/std/experimental/optional/optional.nullops/ |
equal.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( (nullopt == o1), "" ); 34 static_assert ( (o1 == nullopt), "" ); 37 static_assert (noexcept(nullopt == o1), ""); 38 static_assert (noexcept(o1 == nullopt), "");
|
greater.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( !(nullopt > o1), "" ); 34 static_assert ( !(o1 > nullopt), "" ); 37 static_assert (noexcept(nullopt > o1), ""); 38 static_assert (noexcept(o1 > nullopt), "");
|
greater_equal.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( (nullopt >= o1), "" ); 34 static_assert ( (o1 >= nullopt), "" ); 37 static_assert (noexcept(nullopt >= o1), ""); 38 static_assert (noexcept(o1 >= nullopt), "");
|
less_equal.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( (nullopt <= o1), "" ); 34 static_assert ( (o1 <= nullopt), "" ); 37 static_assert (noexcept(nullopt <= o1), ""); 38 static_assert (noexcept(o1 <= nullopt), "");
|
less_than.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( !(nullopt < o1), "" ); 34 static_assert ( !(o1 < nullopt), "" ); 37 static_assert (noexcept(nullopt < o1), ""); 38 static_assert (noexcept(o1 < nullopt), "");
|
not_equal.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( !(nullopt != o1), "" ); 34 static_assert ( !(o1 != nullopt), "" ); 37 static_assert (noexcept(nullopt != o1), ""); 38 static_assert (noexcept(o1 != nullopt), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.nullops/ |
eqaul.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( nullopt == o1 , "" ); 34 static_assert ( o1 == nullopt , "" ); 37 static_assert (noexcept(nullopt == o1), ""); 38 static_assert (noexcept(o1 == nullopt), "");
|
less_than.pass.cpp | 29 constexpr O o1; // disengaged local 32 static_assert ( !(nullopt < o1), "" ); 34 static_assert ( !(o1 < nullopt), "" ); 37 static_assert (noexcept(nullopt < o1), ""); 38 static_assert (noexcept(o1 < nullopt), "");
|
/external/libcxx/test/std/experimental/optional/optional.relops/ |
equal.pass.cpp | 41 constexpr O o1; // disengaged local 47 static_assert ( o1 == o1 , "" ); 48 static_assert ( o1 == o2 , "" ); 49 static_assert ( !(o1 == o3), "" ); 50 static_assert ( !(o1 == o4), "" ); 51 static_assert ( !(o1 == o5), "" ); 53 static_assert ( o2 == o1 , "" ); 59 static_assert ( !(o3 == o1), "" ); 65 static_assert ( !(o4 == o1), "" ); [all...] |
greater_equal.pass.cpp | 38 constexpr O o1; // disengaged local 44 static_assert ( (o1 >= o1), "" ); 45 static_assert ( (o1 >= o2), "" ); 46 static_assert ( !(o1 >= o3), "" ); 47 static_assert ( !(o1 >= o4), "" ); 48 static_assert ( !(o1 >= o5), "" ); 50 static_assert ( (o2 >= o1), "" ); 56 static_assert ( (o3 >= o1), "" ); 62 static_assert ( (o4 >= o1), "" ); [all...] |
greater_than.pass.cpp | 38 constexpr O o1; // disengaged local 44 static_assert ( !(o1 > o1), "" ); 45 static_assert ( !(o1 > o2), "" ); 46 static_assert ( !(o1 > o3), "" ); 47 static_assert ( !(o1 > o4), "" ); 48 static_assert ( !(o1 > o5), "" ); 50 static_assert ( !(o2 > o1), "" ); 56 static_assert ( (o3 > o1), "" ); 62 static_assert ( (o4 > o1), "" ); [all...] |
less_equal.pass.cpp | 38 constexpr O o1; // disengaged local 44 static_assert ( (o1 <= o1), "" ); 45 static_assert ( (o1 <= o2), "" ); 46 static_assert ( (o1 <= o3), "" ); 47 static_assert ( (o1 <= o4), "" ); 48 static_assert ( (o1 <= o5), "" ); 50 static_assert ( (o2 <= o1), "" ); 56 static_assert ( !(o3 <= o1), "" ); 62 static_assert ( !(o4 <= o1), "" ); [all...] |
less_than.pass.cpp | 38 constexpr O o1; // disengaged local 44 static_assert ( !(o1 < o1), "" ); 45 static_assert ( !(o1 < o2), "" ); 46 static_assert ( (o1 < o3), "" ); 47 static_assert ( (o1 < o4), "" ); 48 static_assert ( (o1 < o5), "" ); 50 static_assert ( !(o2 < o1), "" ); 56 static_assert ( !(o3 < o1), "" ); 62 static_assert ( !(o4 < o1), "" ); [all...] |
not_equal.pass.cpp | 41 constexpr O o1; // disengaged local 47 static_assert ( !(o1 != o1), "" ); 48 static_assert ( !(o1 != o2), "" ); 49 static_assert ( (o1 != o3), "" ); 50 static_assert ( (o1 != o4), "" ); 51 static_assert ( (o1 != o5), "" ); 53 static_assert ( !(o2 != o1), "" ); 59 static_assert ( (o3 != o1), "" ); 65 static_assert ( (o4 != o1), "" ); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.relops/ |
equal.pass.cpp | 41 constexpr O o1; // disengaged local 47 static_assert ( o1 == o1 , "" ); 48 static_assert ( o1 == o2 , "" ); 49 static_assert ( !(o1 == o3), "" ); 50 static_assert ( !(o1 == o4), "" ); 51 static_assert ( !(o1 == o5), "" ); 53 static_assert ( o2 == o1 , "" ); 59 static_assert ( !(o3 == o1), "" ); 65 static_assert ( !(o4 == o1), "" ); [all...] |
less_than.pass.cpp | 38 constexpr O o1; // disengaged local 44 static_assert ( !(o1 < o1), "" ); 45 static_assert ( !(o1 < o2), "" ); 46 static_assert ( o1 < o3 , "" ); 47 static_assert ( o1 < o4 , "" ); 48 static_assert ( o1 < o5 , "" ); 50 static_assert ( !(o2 < o1), "" ); 56 static_assert ( !(o3 < o1), "" ); 62 static_assert ( !(o4 < o1), "" ); [all...] |
/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/current/platforms/android-12/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))
|