/art/runtime/ |
jobject_comparator.cc | 35 mirror::Object* obj2 = soa.Decode<mirror::Object*>(jobj2); local 38 } else if (obj2 == NULL) { 42 if (obj1->GetClass() != obj2->GetClass()) { 43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); 47 size_t count2 = obj2->SizeOf(); 52 return obj1->IdentityHashCode() < obj2->IdentityHashCode();
|
/art/test/088-monitor-verification/src/ |
Main.java | 51 Object obj2 = new Object(); local 53 m.twoPath(obj1, obj2, 0); 56 m.triplet(obj1, obj2, 0); 182 public void twoPath(Object obj1, Object obj2, int x) { 186 synchronized(obj2) { 188 localObj = obj2; 202 public void triplet(Object obj1, Object obj2, int x) { 209 localObj = obj2;
|
/dalvik/tests/088-monitor-verification/src/ |
Main.java | 53 Object obj2 = new Object(); local 55 m.twoPath(obj1, obj2, 0); 58 m.triplet(obj1, obj2, 0); 184 public void twoPath(Object obj1, Object obj2, int x) { 188 synchronized(obj2) { 190 localObj = obj2; 204 public void triplet(Object obj1, Object obj2, int x) { 211 localObj = obj2;
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XBooleanStatic.java | 52 * @param obj2 Object to compare to this 58 public boolean equals(XObject obj2) 62 return m_val == obj2.bool();
|
XObject.java | 531 * @param obj2 Object to compare this to 537 public boolean lessThan(XObject obj2) 546 if (obj2.getType() == XObject.CLASS_NODESET) 547 return obj2.greaterThan(this); 549 return this.num() < obj2.num(); 555 * @param obj2 Object to compare this to 561 public boolean lessThanOrEqual(XObject obj2) 570 if (obj2.getType() == XObject.CLASS_NODESET) 571 return obj2.greaterThanOrEqual(this); 573 return this.num() <= obj2.num() [all...] |
XBoolean.java | 143 * @param obj2 Object to compare to this 149 public boolean equals(XObject obj2) 155 if (obj2.getType() == XObject.CLASS_NODESET) 156 return obj2.equals(this); 160 return m_val == obj2.bool();
|
XNull.java | 122 * @param obj2 Object to compare this to 126 public boolean equals(XObject obj2) 128 return obj2.getType() == CLASS_NULL;
|
XRTreeFrag.java | 249 * @param obj2 Object to compare this to 255 public boolean equals(XObject obj2) 260 if (XObject.CLASS_NODESET == obj2.getType()) 266 return obj2.equals(this); 268 else if (XObject.CLASS_BOOLEAN == obj2.getType()) 270 return bool() == obj2.bool(); 272 else if (XObject.CLASS_NUMBER == obj2.getType()) 274 return num() == obj2.num(); 276 else if (XObject.CLASS_NODESET == obj2.getType()) 278 return xstr().equals(obj2.xstr()) [all...] |
XString.java | 285 * @param obj2 Object to compare this to 291 public boolean equals(XObject obj2) 297 int t = obj2.getType(); 301 return obj2.equals(this); 306 return obj2.bool() == bool(); 310 return obj2.num() == num(); 319 return xstr().equals(obj2.xstr()); 328 * @param obj2 the object to compare this <code>String</code> against. 334 public boolean equals(String obj2) { 335 return str().equals(obj2); [all...] |
XStringForFSB.java | 281 * @param obj2 the object to compare this <code>String</code> 289 public boolean equals(XMLString obj2) 292 if (this == obj2) 299 if (n == obj2.length()) 307 if (fsb.charAt(i) != obj2.charAt(j)) 325 * @param obj2 Object to compare this to 331 public boolean equals(XObject obj2) 334 if (this == obj2) 338 if(obj2.getType() == XObject.CLASS_NUMBER) 339 return obj2.equals(this) [all...] |
XNodeSet.java | 465 * @param obj2 Object to compare this nodeset to 472 public boolean compare(XObject obj2, Comparator comparator) 477 int type = obj2.getType(); 495 DTMIterator list2 = ((XNodeSet) obj2).iterRaw(); 552 double num2 = obj2.num(); 567 double num2 = obj2.num(); 585 XMLString s2 = obj2.xstr(); 611 XMLString s2 = obj2.xstr(); 629 result = comparator.compareNumbers(this.num(), obj2.num()); 638 * @param obj2 object to compare this nodeset t [all...] |
XNumber.java | 387 * @param obj2 Object to compare this to 393 public boolean equals(XObject obj2) 399 int t = obj2.getType(); 403 return obj2.equals(this); 405 return obj2.bool() == bool(); 407 return m_val == obj2.num();
|
/external/jdiff/src/jdiff/ |
CompareClassPdiffs.java | 16 public int compare(Object obj1, Object obj2){ 18 ClassDiff c2 = (ClassDiff)obj2;
|
ComparePkgPdiffs.java | 16 public int compare(Object obj1, Object obj2){ 18 PackageDiff p2 = (PackageDiff)obj2;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
ReverseComparator.java | 49 * @param obj2 The second object to compare
53 public int compare(T obj1, T obj2) {
54 return delegate.compare(obj2, obj1); // parameters switched round
|
/external/chromium_org/v8/test/mjsunit/ |
accessor-map-sharing.js | 38 var obj1, obj2, obj3, obj4; 43 obj2 = {}; 44 dp(obj2, "alpha", { get: getter }); 45 assertTrue(%HaveSameMap(obj1, obj2)); 51 obj2 = {}; 52 obj2.__defineGetter__("bravo", getter); 53 assertEquals(getter, obj2.__lookupGetter__("bravo")); 54 assertTrue(%HaveSameMap(obj1, obj2)); 59 obj2 = {}; 60 dp(obj2, "charlie", { set: setter }) [all...] |
object-prevent-extensions.js | 47 var obj2 = {}; 48 assertTrue(Object.isExtensible(obj2)); 49 obj2.x = 42; 50 assertEquals(42, obj2.x); 51 assertTrue(Object.isExtensible(obj2)); 53 Object.preventExtensions(obj2); 54 assertEquals(42, obj2.x); 56 obj2.y = 42; 57 // obj2.y should still be undefined. 58 assertEquals(undefined, obj2.y) [all...] |
function-bind.js | 184 var obj2 = new f(1,2,3); 185 assertEquals(1, obj2.x); 186 assertEquals(2, obj2.y); 187 assertEquals(3, obj2.z); 190 obj2 = new f(2,3); 191 assertEquals(1, obj2.x); 192 assertEquals(2, obj2.y); 193 assertEquals(3, obj2.z); 196 obj2 = new f(3); 197 assertEquals(1, obj2.x) [all...] |
/external/apache-http/src/org/apache/http/util/ |
LangUtils.java | 63 public static boolean equals(final Object obj1, final Object obj2) { 64 return obj1 == null ? obj2 == null : obj1.equals(obj2);
|
/external/v8/test/mjsunit/ |
object-prevent-extensions.js | 47 var obj2 = {}; 48 assertTrue(Object.isExtensible(obj2)); 49 obj2.x = 42; 50 assertEquals(42, obj2.x); 51 assertTrue(Object.isExtensible(obj2)); 53 Object.preventExtensions(obj2); 54 assertEquals(42, obj2.x); 56 obj2.y = 42; 57 // obj2.y should still be undefined. 58 assertEquals(undefined, obj2.y) [all...] |
function-bind.js | 184 var obj2 = new f(1,2,3); 185 assertEquals(1, obj2.x); 186 assertEquals(2, obj2.y); 187 assertEquals(3, obj2.z); 190 obj2 = new f(2,3); 191 assertEquals(1, obj2.x); 192 assertEquals(2, obj2.y); 193 assertEquals(3, obj2.z); 196 obj2 = new f(3); 197 assertEquals(1, obj2.x) [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2163.js | 37 var obj1, obj2; 39 // obj1 and obj2 share the getter accessor. 42 obj2 = {} 43 dp(obj2, "alpha", { get: getter }); 45 assertEquals(111, obj2.alpha); 47 assertEquals(111, obj2.alpha); 49 // obj1, obj2, and obj3 share the getter accessor. 52 obj2 = {} 53 dp(obj2, "alpha", { get: getter }); 60 // obj1 and obj2 share the getter and setter accessor [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeTypeAndValueComparator.java | 42 * @param obj2 47 public int compare(Object obj1, Object obj2) { 48 if (obj1 == obj2) { 53 AttributeTypeAndValue atav2 = (AttributeTypeAndValue) obj2;
|
/external/chromium_org/v8/test/webkit/ |
codegen-assign-nontemporary-as-rexp.js | 36 var obj2 = {}; 37 obj2.forward = (obj['slot'] = victim); 38 return obj2.forward; 51 var obj2 = {}; 52 obj2.forward = (obj.slot = victim); 53 return obj2.forward;
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestTextureAtlas.java | 58 Spatial obj2 = assetManager.loadModel("Models/Oto/Oto.mesh.xml"); local 59 obj2.setLocalTranslation(-2, 0, 0); 67 scene.attachChild(obj2);
|