Searched defs:o1 (Results 1 - 25 of 78) sorted by relevance

1234

/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/message/regress/
H A Dregress-1527.js28 var o1 = {foo: 'bar'};
31 2: o1.foo,
/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);
H A Darray-tostring.js68 var o1 = {length: 3, 0: 1, 1: 2, 2: 3,
71 assertEquals(o1.join(), o1.toString());
/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/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/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);
H A DTransparentComparator.java91 public int compare(Geometry o1, Geometry o2) { argument
92 float d1 = distanceToCam(o1);
/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/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);
/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/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DTimeLineGraphItem.java63 public int compare(Object o1, Object o2) { argument
64 long ts1=((TimeLineGraphItem)o1).timestamp;
/external/guava/guava/src/com/google/common/collect/
H A DForwardingSortedSet.java97 private int unsafeCompare(Object o1, Object o2) { argument
100 ? ((Comparable<Object>) o1).compareTo(o2)
101 : ((Comparator<Object>) comparator).compare(o1, o2);
/external/skia/third_party/glu/libtess/
H A Dgeom.c210 void __gl_edgeIntersect( GLUvertex *o1, GLUvertex *d1, argument
213 /* Given edges (o1,d1) and (o2,d2), compute their point of intersection.
228 if( ! VertLeq( o1, d1 )) { Swap( o1, d1 ); }
230 if( ! VertLeq( o1, o2 )) { Swap( o1, o2 ); Swap( d1, d2 ); }
237 z1 = EdgeEval( o1, o2, d1 );
243 z1 = EdgeSign( o1, o2, d1 );
244 z2 = -EdgeSign( o1, d2, d1 );
251 if( ! TransLeq( o1, d
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DTreeSetTest.java31 public int compare(Object o1, Object o2) { argument
32 return -(((Integer) o1).compareTo((Integer) o2));
35 public boolean equals(Object o1, Object o2) { argument
36 return ((Integer) o1).compareTo((Integer) o2) == 0;
/external/clang/test/CodeGenCXX/
H A Dconversion-function.cpp78 O o1, o2; local
79 g(o1, o2);
/external/clang/test/SemaCXX/
H A Dcxx0x-nontrivial-union.cpp116 optional<non_trivial> o1; member in namespace:optional
121 o1 = o2;
/external/junit/src/org/junit/experimental/max/
H A DMaxHistory.java130 public int compare(Description o1, Description o2) { argument
132 if (isNewTest(o1))
137 int result= getFailure(o2).compareTo(getFailure(o1));
140 : getTestDuration(o1).compareTo(getTestDuration(o2));

Completed in 1525 milliseconds

1234