Searched refs:o1 (Results 1 - 25 of 140) sorted by relevance

123456

/external/v8/test/message/regress/
H A Dregress-1527.js28 var o1 = {foo: 'bar'};
31 2: o1.foo,
/external/mockito/src/org/mockito/internal/matchers/
H A DEquality.java12 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 Dregress-780423.js35 var o1 = Class.create(); variable
38 assertTrue(o1 !== o2, "different functions");
39 assertTrue(o1.prototype !== o2.prototype, "different protos");
H A Dregress-crbug-3867.js69 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 Dproto.js28 var o1 = { x: 12 };
33 assertTrue(o1.__proto__ === o2.__proto__);
H A Dobject-toprimitive.js32 var o1 = { toString: function() { return 42; },
34 var n1 = Number(o1);
35 var s1 = String(o1);
/external/hamcrest/src/org/hamcrest/core/
H A DIsEqual.java32 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 DSorter.java18 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 Dgss_asn1.h64 #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 DGuiComparator.java46 public int compare(Geometry o1, Geometry o2) { argument
47 float z1 = o1.getWorldTranslation().getZ();
H A DNullComparator.java45 public int compare(Geometry o1, Geometry o2) { argument
H A DOpaqueComparator.java73 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 Dinline-literals.js36 function o1(a, b, c) { function
42 var result = o1(a, b, c);
H A Dinline-param.js45 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 Dpic.js51 var o1 = { x: 0, y: 1 };
54 o1.f = o2.f = o3.f = function() { return 99; }
59 Test(o1);
64 Test(o1);
H A Dsimple-inlining.js44 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 DStringEncoderComparator.java63 * @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 DX86DisassemblerTables.h90 /// @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 DX86DisassemblerTables.cpp299 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 DTriangleAxisComparator.java46 public int compare(BIHTriangle o1, BIHTriangle o2) { argument
48 Vector3f c1 = o1.getCenter();
/external/mockito/src/org/mockito/internal/invocation/finder/
H A DAllInvocationsFinder.java34 public int compare(Invocation o1, Invocation o2) { argument
35 return Integer.valueOf(o1.getSequenceNumber()).compareTo(o2.getSequenceNumber());
/external/openssl/crypto/
H A Dsparccpuid.S72 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 Dbug-1344252.js69 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 Dsparcv9a-mont.pl149 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 DModelUtil.java35 * <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...]

Completed in 419 milliseconds

123456