/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/llvm/test/MC/Sparc/ |
sparc-mem-instructions.s | 4 ! CHECK: ldsb [%i0+%l6], %o2 ! encoding: [0xd4,0x4e,0x00,0x16] 5 ldsb [%i0 + %l6], %o2 6 ! CHECK: ldsb [%i0+32], %o2 ! encoding: [0xd4,0x4e,0x20,0x20] 7 ldsb [%i0 + 32], %o2 11 ! CHECK: ldsh [%i0+%l6], %o2 ! encoding: [0xd4,0x56,0x00,0x16] 12 ldsh [%i0 + %l6], %o2 13 ! CHECK: ldsh [%i0+32], %o2 ! encoding: [0xd4,0x56,0x20,0x20] 14 ldsh [%i0 + 32], %o2 18 ! CHECK: ldub [%i0+%l6], %o2 ! encoding: [0xd4,0x0e,0x00,0x16] 19 ldub [%i0 + %l6], %o2 [all...] |
sparc-atomic-instructions.s | 9 ! CHECK: swap [%i0+%l6], %o2 ! encoding: [0xd4,0x7e,0x00,0x16] 10 swap [%i0+%l6], %o2 12 ! CHECK: swap [%i0+32], %o2 ! encoding: [0xd4,0x7e,0x20,0x20] 13 swap [%i0+32], %o2 15 ! CHECK: cas [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16] 16 cas [%i0], %l6, %o2 18 ! CHECK: casx [%i0], %l6, %o2 ! encoding: [0xd5,0xf6,0x10,0x16] 19 casx [%i0], %l6, %o2
|
/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...] |
/external/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/ |
streamsize.pass.cpp | 22 std::streamoff o2(sz); 23 assert(o == o2);
|
/external/libcxx/test/utilities/optional/optional.relops/ |
equal.pass.cpp | 42 constexpr O o2; // disengaged local 48 static_assert ( o1 == o2 , "" ); 53 static_assert ( o2 == o1 , "" ); 54 static_assert ( o2 == o2 , "" ); 55 static_assert ( !(o2 == o3), "" ); 56 static_assert ( !(o2 == o4), "" ); 57 static_assert ( !(o2 == o5), "" ); 60 static_assert ( !(o3 == o2), "" ); 66 static_assert ( !(o4 == o2), "" ); [all...] |
less_than.pass.cpp | 39 constexpr O o2; // disengaged local 45 static_assert ( !(o1 < o2), "" ); 50 static_assert ( !(o2 < o1), "" ); 51 static_assert ( !(o2 < o2), "" ); 52 static_assert ( o2 < o3 , "" ); 53 static_assert ( o2 < o4 , "" ); 54 static_assert ( o2 < o5 , "" ); 57 static_assert ( !(o3 < o2), "" ); 63 static_assert ( !(o4 < o2), "" ); [all...] |
/external/libcxx/test/utilities/optional/optional.comp_with_t/ |
less_than.pass.cpp | 43 constexpr O o2{1}; // engaged 47 static_assert ( !(o2 < T(1)), "" ); 49 static_assert ( o2 < T(2) , "" ); 50 static_assert ( o2 < T(val), "" ); 54 static_assert ( !(T(1) < o2), "" ); 56 static_assert ( !(T(2) < o2), "" ); 57 static_assert (!(T(val) < o2), "" );
|
equal.pass.cpp | 42 constexpr O o2{1}; // engaged 46 static_assert ( o2 == T(1), "" ); 52 static_assert ( T(1) == o2, "" );
|
/external/libexif/libexif/olympus/ |
exif-mnote-data-olympus.c | 103 size_t i, o, s, doff, base = 0, o2 = 6 + 2; local 146 o2 += 4; 179 o2 += 2 + 8; 183 exif_set_long (*buf + o2 + 2 + n->count * 12, n->order, 0); 190 exif_set_short (*buf + o2, n->order, (ExifShort) n->count); 191 o2 += 2; 195 o = o2 + i * 12; 242 size_t i, tcount, o, o2, datao = 6, base = 0; local 249 o2 = 6 + n->offset; /* Start of interesting data */ 250 if ((o2 + 10 < o2) || (o2 + 10 < 10) || (o2 + 10 > buf_size)) [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))
|
/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/libcxx/test/utilities/optional/optional.nullops/ |
eqaul.pass.cpp | 30 constexpr O o2{1}; // engaged 33 static_assert ( !(nullopt == o2), "" ); 35 static_assert ( !(o2 == nullopt), "" );
|
less_than.pass.cpp | 30 constexpr O o2{1}; // engaged 33 static_assert ( nullopt < o2 , "" ); 35 static_assert ( !(o2 < nullopt), "" );
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.hlsl.vs.h | 31 dcl_output o2.xyzw 34 mad o2.xyzw, v1.xyxy, l(1.000000, 1.000000, -1.000000, -1.000000), l(0.000000, 0.000000, 1.000000, 1.000000)
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.hlsl.vs.h | 31 dcl_output o2.xyzw 34 mad o2.xyzw, v1.xyxy, l(1.000000, 1.000000, -1.000000, -1.000000), l(0.000000, 0.000000, 1.000000, 1.000000)
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-crbug-351320.js | 9 o2 = {y:1.5}; 10 o2.y = 0; 11 o3 = o2.y;
|
poly_count_operation.js | 31 var o2 = {}; 45 Object.defineProperty(o2, "x", 63 assertEquals(6, f_mono(o2)); 66 assertEquals(7, f_mono(o2)); 71 assertEquals(8, f_mono(o2)); 84 assertEquals(6, f_poly(o2)); 87 assertEquals(7, f_poly(o2)); 92 assertEquals(8, f_poly(o2)); 98 assertEquals(NaN, f_poly(o2)); 111 assertEquals(7, f_pre(o2)); [all...] |
regress-crbug-346636.js | 28 var o2 = Object.defineProperty({}, "bar", { get: getter2 }); 29 foo(o2); 31 foo(o2);
|
regress-inline-constant-load.js | 8 var o2 = {}; 19 var o = o2; 26 Object.defineProperty(o2, "bar", {value: 100});
|
/external/chromium_org/v8/test/mjsunit/ |
keyed-named-access.js | 9 var o2 = {x: 11, y: 20}; 26 f(o2); 27 f(o2); 28 f(o2); 30 assertEquals(1100, f(o2));
|
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
number.pxd | 13 object PyNumber_Add(object o1, object o2) 15 # Returns the result of adding o1 and o2, or NULL on failure. This 16 # is the equivalent of the Python expression "o1 + o2". 18 object PyNumber_Subtract(object o1, object o2) 20 # Returns the result of subtracting o2 from o1, or NULL on 22 # o2". 24 object PyNumber_Multiply(object o1, object o2) 26 # Returns the result of multiplying o1 and o2, or NULL on 28 # o2". 30 object PyNumber_Divide(object o1, object o2) [all...] |
/external/chromium_org/third_party/skia/third_party/lua/src/ |
lvm.h | 20 #define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) 22 #define luaV_rawequalobj(o1,o2) equalobj(NULL,o1,o2)
|
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/ |
Pair.java | 33 private boolean equals(Object o1, Object o2) { 34 return o1 == null ? o2 == null : o1.equals(o2);
|