Home
last modified time | relevance | path

Searched refs:object2 (Results 1 – 25 of 57) sorted by relevance

123

/external/proguard/src/proguard/util/
DObjectUtil.java35 public static boolean equal(Object object1, Object object2) in equal() argument
38 object2 == null : in equal()
39 object1.equals(object2); in equal()
61 public static int compare(Comparable object1, Comparable object2) in compare() argument
64 object2 == null ? 0 : -1 : in compare()
65 object2 == null ? 1 : object1.compareTo(object2); in compare()
/external/replicaisland/src/com/replica/replicaisland/
DChannelSystem.java87 public int compare(final Channel object1, final Channel object2) {
89 if (object1 == null && object2 != null) {
91 } else if (object1 != null && object2 == null) {
93 } else if (object1 != null && object2 != null) {
94 if (object1.name == null && object2.name != null) {
96 } else if (object1.name != null && object2.name == null) {
98 } else if (object1.name != null && object2.name != null) {
99 result = object1.name.compareTo(object2.name);
DPhasedObjectManager.java88 public int compare(BaseObject object1, BaseObject object2) { in compare() argument
90 if (object1 != null && object2 != null) { in compare()
91 result = ((PhasedObject) object1).phase - ((PhasedObject) object2).phase; in compare()
92 } else if (object1 == null && object2 != null) { in compare()
94 } else if (object2 == null && object1 != null) { in compare()
DGameObjectCollisionSystem.java321 public int compare(CollisionVolumeRecord object1, CollisionVolumeRecord object2) { in compare() argument
323 if (object1 == null && object2 != null) { in compare()
325 } else if (object1 != null && object2 == null) { in compare()
327 } else if (object1 != null && object2 != null) { in compare()
336 sCompareFlip.flipX = (object2.object.facingDirection.x < 0.0f); in compare()
337 sCompareFlip.flipY = (object2.object.facingDirection.y < 0.0f); in compare()
338 sCompareFlip.parentWidth = object2.object.width; in compare()
339 sCompareFlip.parentHeight = object2.object.height; in compare()
341 final float minX2 = object2.object.getPosition().x in compare()
342 + object2.boundingVolume.getMinXPosition(sCompareFlip); in compare()
DSoundSystem.java182 public int compare(final Sound object1, final Sound object2) { in compare() argument
184 if (object1 == null && object2 != null) { in compare()
186 } else if (object1 != null && object2 == null) { in compare()
188 } else if (object1 != null && object2 != null) { in compare()
189 result = object1.resource - object2.resource; in compare()
DGameObjectManager.java185 public int compare(BaseObject object1, BaseObject object2) { in compare() argument
187 if (object1 == null && object2 != null) { in compare()
189 } else if (object1 != null && object2 == null) { in compare()
191 } else if (object1 != null && object2 != null) { in compare()
193 - ((GameObject) object2).getPosition().x; in compare()
DLevelSelectActivity.java344 public int compare(final LevelMetaData object1, final LevelMetaData object2) { in compare() argument
346 if (object1 == null && object2 != null) { in compare()
348 } else if (object1 != null && object2 == null) { in compare()
350 } else if (object1 != null && object2 != null) { in compare()
351 result = object1.level.timeStamp.compareTo(object2.level.timeStamp); in compare()
DBackgroundCollisionComponent.java408 public int compare(HitPoint object1, HitPoint object2) { in compare() argument
410 if (object1 != null && object2 != null) { in compare()
412 final float obj2Distance = object2.hitPoint.distance2(mOrigin); in compare()
415 } else if (object1 == null && object2 != null) { in compare()
417 } else if (object2 == null && object1 != null) { in compare()
/external/v8/test/mjsunit/harmony/
Dprivate-symbols.js22 var object2 = {__proto__: object}; variable
23 for (var key of Object.keys(object2)) assertUnreachable();
24 for (var key of Object.getOwnPropertySymbols(object2)) assertUnreachable();
25 for (var key of Object.getOwnPropertyNames(object2)) assertUnreachable();
26 for (var key of Reflect.ownKeys(object2)) assertUnreachable();
27 for (var key of Reflect.enumerate(object2)) assertUnreachable();
28 for (var key in object2) assertUnreachable();
/external/snakeyaml/src/test/java/examples/
DAnyObjectExampleTest.java36 for (Object object2 : list1) { in testLoad()
37 assertNull(object2); in testLoad()
49 for (Object object2 : list2) { in testLoad()
50 assertEquals(object2.toString(), object2.toString().toUpperCase()); in testLoad()
/external/v8/test/unittests/compiler/
Dload-elimination-unittest.cc37 Node* object2 = Parameter(1); in TEST_F() local
52 object2, store1, control); in TEST_F()
56 EXPECT_EQ(object2, r2.replacement()); in TEST_F()
59 simplified()->StoreBuffer(BufferAccess(kExternalInt8Array)), object2, in TEST_F()
63 object2, store3, control)); in TEST_F()
Descape-analysis-unittest.cc257 Node* object2 = Constant(2); in TEST_F() local
266 Node* effect2 = Store(AccessAtIndex(0), allocation, object2, finish, ifTrue); in TEST_F()
277 ExpectReplacementPhi(load, object1, object2); in TEST_F()
288 Node* object2 = Constant(2); in TEST_F() local
292 Node* store2 = Store(AccessAtIndex(0), allocation, object2); in TEST_F()
/external/llvm/test/Transforms/GlobalOpt/
Dinvariant.ll23 @object2 = global i32 0
24 ; CHECK: @object2 = global i32 0
26 store i32 -1, i32* @object2
27 %A = bitcast i32* @object2 to i8*
/external/clang/test/SemaObjCXX/
Dconversion-to-objc-pointer-2.mm83 TNSAutoRef<NSObject*> object2([[NSObject alloc] init]);
86 if (object1 == object2)
87 [bar setBlah: object2]; // <== Does not compile. It should.
/external/proguard/src/proguard/classfile/editor/
DClassMemberSorter.java56 public int compare(Object object1, Object object2) in compare() argument
59 ProgramMember member2 = (ProgramMember)object2; in compare()
DAttributeSorter.java80 public int compare(Object object1, Object object2) in compare() argument
83 Attribute attribute2 = (Attribute)object2; in compare()
/external/clang/test/SemaObjC/
Darc-peformselector.m19 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2;
37 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2 { return 0; }
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java287 Object object2 = iter2.next(); in testConstructor() local
288 if (object2 != null) { in testConstructor()
290 .identityHashCode(object2)); in testConstructor()
292 assertEquals("" + object1, object1, object2); in testConstructor()
/external/v8/test/cctest/
Dtypes-fuzz.h74 object2 = isolate->factory()->NewJSObjectFromMap(object_map); in Types()
81 ObjectConstant2 = Type::Constant(object2, region); in Types()
88 values.push_back(object2); in Types()
130 Handle<i::JSObject> object2; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeWizard.m52 object2 = anObject2;
53 if ( object2 ) [object2 retain];
65 if ( object2 ) [object2 release];
73 [(ANTLRMap *)object2 /* labels */ clear];
74 …if ( [(ANTLRTreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:object2 /* labels */] ) {
75 [self visit:t Parent:parent ChildIndex:childIndex Map:object2 /* labels */];
80 [(AMutableArray *)object2/* subtrees */ addObject:t];
97 @synthesize object2;
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java146 protected void assertNotEquals(String message, Object object1, Object object2) { in assertNotEquals() argument
147 assertFalse(message, object1.equals(object2)); in assertNotEquals()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/test/
DAbstractTest.java142 protected void assertNotEquals(String message, Object object1, Object object2) { in assertNotEquals() argument
143 assertFalse(message, object1.equals(object2)); in assertNotEquals()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
DAbstractTest.java142 protected void assertNotEquals(String message, Object object1, Object object2) { in assertNotEquals() argument
143 assertFalse(message, object1.equals(object2)); in assertNotEquals()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java147 protected void assertNotEquals(String message, Object object1, Object object2) { in assertNotEquals() argument
148 assertFalse(message, object1.equals(object2)); in assertNotEquals()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
DAbstractTest.java142 protected void assertNotEquals(String message, Object object1, Object object2) { in assertNotEquals() argument
143 assertFalse(message, object1.equals(object2)); in assertNotEquals()

123