/external/v8/test/message/regress/ |
H A D | regress-1527.js | 28 var o1 = {foo: 'bar'}; 31 2: o1.foo,
|
/external/mockito/src/org/mockito/internal/matchers/ |
H A D | Equality.java | 12 public static boolean areEqual(Object o1, Object o2) {
argument 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) {
argument 23 return areArrayLengthsEqual(o1, o2)
24 && areArrayElementsEqual(o1, o2);
27 static boolean areArrayLengthsEqual(Object o1, Objec argument 31 areArrayElementsEqual(Object o1, Object o2) argument [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-780423.js | 35 var o1 = Class.create(); variable 38 assertTrue(o1 !== o2, "different functions"); 39 assertTrue(o1.prototype !== o2.prototype, "different protos");
|
H A D | regress-crbug-3867.js | 69 var o1 = {s1: 0, s2: 0, s3: 0} 70 o1.s0 = 0; 71 o1.s4 = 0; 72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1));
|
/external/v8/test/mjsunit/ |
H A D | proto.js | 28 var o1 = { x: 12 }; 33 assertTrue(o1.__proto__ === o2.__proto__);
|
H A D | object-toprimitive.js | 32 var o1 = { toString: function() { return 42; }, 34 var n1 = Number(o1); 35 var s1 = String(o1);
|
/external/hamcrest/src/org/hamcrest/core/ |
H A D | IsEqual.java | 32 private static boolean areEqual(Object o1, Object o2) { argument 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) { argument 43 return areArrayLengthsEqual(o1, o2) 44 && areArrayElementsEqual(o1, o2); 47 private static boolean areArrayLengthsEqual(Object o1, Objec argument 51 areArrayElementsEqual(Object o1, Object o2) argument [all...] |
/external/junit/src/org/junit/runner/manipulation/ |
H A D | Sorter.java | 18 public int compare(Description o1, Description o2) { 43 public int compare(Description o1, Description o2) { argument 44 return fComparator.compare(o1, o2);
|
/external/kernel-headers/original/linux/sunrpc/ |
H A D | gss_asn1.h | 64 #define g_OID_equal(o1,o2) \ 65 (((o1)->len == (o2)->len) && \ 66 (memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
H A D | GuiComparator.java | 46 public int compare(Geometry o1, Geometry o2) { argument 47 float z1 = o1.getWorldTranslation().getZ();
|
H A D | NullComparator.java | 45 public int compare(Geometry o1, Geometry o2) { argument
|
H A D | OpaqueComparator.java | 73 public int compare(Geometry o1, Geometry o2) {
argument 74 Material m1 = o1.getMaterial();
82 float d1 = distanceToCam(o1);
|
/external/v8/test/mjsunit/compiler/ |
H A D | inline-literals.js | 36 function o1(a, b, c) { function 42 var result = o1(a, b, c);
|
H A D | inline-param.js | 45 var o1 = {}; 46 o1.f = function(o) { return o.x; }; 47 for (var i = 0; i < 5; i++) TestInlineOneParam(o1, obj); 49 TestInlineOneParam(o1, obj); 50 TestInlineOneParam({f: o1.f}, {x:42});
|
H A D | pic.js | 51 var o1 = { x: 0, y: 1 }; 54 o1.f = o2.f = o3.f = function() { return 99; } 59 Test(o1); 64 Test(o1);
|
H A D | simple-inlining.js | 44 var o1 = {}; 45 o1.f = function() { return 42; }; 46 for (var i = 0; i < 5; i++) TestInlineConstant(o1); 48 TestInlineConstant(o1); 49 TestInlineConstant({f: o1.f});
|
/external/apache-http/src/org/apache/commons/codec/ |
H A D | StringEncoderComparator.java | 63 * @param o1 the object to compare 68 public int compare(Object o1, Object o2) { argument 73 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1);
|
/external/llvm/utils/TableGen/ |
H A D | X86DisassemblerTables.h | 90 /// @param o1 - The output stream to print the ID table to. 92 /// @param i1 - The indentation level to use with stream o1. 96 void emitModRMDecision(raw_ostream &o1, 118 /// @param o1 - The output stream to print the ID tables generated by 121 /// @param i1 - The indent level to use with stream o1. 125 void emitOpcodeDecision(raw_ostream &o1, 153 /// @param o1 - The output stream to print the ID tables generated by 156 /// @param i1 - The indent level to use with stream o1. 161 void emitContextDecision(raw_ostream &o1, 218 /// @param o1 [all...] |
H A D | X86DisassemblerTables.cpp | 299 void DisassemblerTables::emitModRMDecision(raw_ostream &o1, raw_ostream &o2, 319 o1 << "/* Table" << sTableNumber << " */\n"; 326 emitOneID(o1, i1, decision.instructionIDs[0], true); 329 emitOneID(o1, i1, decision.instructionIDs[0x00], true); // mod = 0b00 330 emitOneID(o1, i1, decision.instructionIDs[0xc0], true); // mod = 0b11 334 emitOneID(o1, i1, decision.instructionIDs[index], true); 336 emitOneID(o1, i1, decision.instructionIDs[index], true); 340 emitOneID(o1, i1, decision.instructionIDs[index], true); 342 emitOneID(o1, i1, decision.instructionIDs[index], true); 346 emitOneID(o1, i [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
H A D | TriangleAxisComparator.java | 46 public int compare(BIHTriangle o1, BIHTriangle o2) { argument 48 Vector3f c1 = o1.getCenter();
|
/external/mockito/src/org/mockito/internal/invocation/finder/ |
H A D | AllInvocationsFinder.java | 34 public int compare(Invocation o1, Invocation o2) { argument 35 return Integer.valueOf(o1.getSequenceNumber()).compareTo(o2.getSequenceNumber());
|
/external/openssl/crypto/ |
H A D | sparccpuid.S | 72 clr %o1 147 clr %o1 208 1: add %o1,%o2,%o3 213 add %o1,%o2,%o0 ! OpenSSL expects the new value 228 .word 0x93323020 !srlx %o0,32,%o1 231 xor %o1,%o1,%o1 238 add %sp,BIAS+2,%o1 239 .word 0xc19a5a40 !ldda [%o1]ASI_FP16_ [all...] |
/external/v8/test/mjsunit/bugs/ |
H A D | bug-1344252.js | 69 var o1 = new Object(); class 71 // Add a z property to o1 to create a map transition. 72 o1.z = 32; 73 // Add a z accessor in the prototype chain for o1 and o2.
|
/external/openssl/crypto/bn/asm/ |
H A D | sparcv9a-mont.pl | 149 sll $num,2,%o1 150 add %o1,$num,%o1 ! %o1=num*5 151 sub %o0,%o1,%o0 183 ld [%o4+0],%o1 186 or %g5,%o1,%o1 190 mulx %o1,%o0,%o0 ! ap[0]*bp[0] 291 ldx [%sp+$bias+$frame+8],%o1 [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/util/ |
H A D | ModelUtil.java | 35 * <LI>If <CODE>o1</CODE> and <CODE>o2</CODE> are the same object
38 * <LI>Otherwise, if either <CODE>o1</CODE> or <CODE>o2</CODE> is
40 * <LI>Otherwise, return <CODE>o1.equals(o2)</CODE>.
51 public static final boolean areEqual(Object o1, Object o2) {
argument 52 if (o1 == o2) {
55 else if (o1 == null || o2 == null) {
59 return o1.equals(o2);
86 * <LI>If <CODE>o1</CODE> and <CODE>o2</CODE> are the same object
89 * <LI>Otherwise, if either <CODE>o1</CODE> or <CODE>o2</CODE> is
91 * <LI>Otherwise, return <CODE>!o1 102 areDifferent(Object o1, Object o2) argument [all...] |