Home
last modified time | relevance | path

Searched refs:object2 (Results 1 – 25 of 52) 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()
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()
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()
/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/swiftshader/third_party/llvm-7.0/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/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/vixl/test/
Dtest-pool-manager.cc310 TestObject object2(128 /*size*/, 4 /*alignment*/); in TEST() local
326 object2.AddReference(ref1_obj2); in TEST()
327 object2.AddReference(ref2_obj2); in TEST()
328 object2.AddReference(ref3_obj2); in TEST()
333 pool_manager.AddObjectReference(ref1_obj2, &object2); in TEST()
334 pool_manager.AddObjectReference(ref2_obj2, &object2); in TEST()
335 pool_manager.AddObjectReference(ref3_obj2, &object2); in TEST()
866 ObjectType *object2 = new ObjectType(); in ManagedLocationBaseTestHelper() local
872 object2->AddReference(ref_obj2); in ManagedLocationBaseTestHelper()
875 pool_manager.AddObjectReference(ref_obj2, object2); in ManagedLocationBaseTestHelper()
/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/python/cpython3/Doc/includes/
Dcapsulethunk.h104 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import() local
106 object = object2; in PyCapsule_Import()
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h104 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import() local
106 object = object2; in PyCapsule_Import()
/external/junit-params/src/test/java/junitparams/
DParametersReaderProvidersTest.java83 public void providedDomainParams(DomainClass object1, DomainClass object2) { in providedDomainParams() argument
85 assertThat(object2.toString()).isEqualTo("testNameTwo"); in providedDomainParams()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc304 sample::NamedObjectPtr object2; in TEST_P() local
305 factory->CreateNamedObject(MakeRequest(&object2)); in TEST_P()
306 object2->SetName("object2"); in TEST_P()
313 object2->GetName(MakeStringRecorder(&name2, run_loop2.QuitClosure())); in TEST_P()
/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/antlr/runtime/ObjC/Framework/
DTreeWizard.m52 object2 = anObject2;
53 if ( object2 ) [object2 retain];
65 if ( object2 ) [object2 release];
73 [(Map *)object2 /* labels */ clear];
74 … if ( [(TreeWizard *)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/python/cpython2/Objects/
Dcapsule.c226 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import() local
228 object = object2; in PyCapsule_Import()
/external/python/cpython3/Objects/
Dcapsule.c226 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import() local
228 object = object2; in PyCapsule_Import()
/external/mockftpserver/tags/1.2.1/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