Searched refs:object1 (Results 1 - 25 of 63) sorted by relevance

123

/external/proguard/src/proguard/util/
H A DObjectUtil.java31 * @param object1 the first object, may be null.
35 public static boolean equal(Object object1, Object object2) argument
37 return object1 == null ?
39 object1.equals(object2);
56 * @param object1 the first object, may be null.
61 public static int compare(Comparable object1, Comparable object2) argument
63 return object1 == null ?
65 object2 == null ? 1 : object1.compareTo(object2);
/external/replicaisland/src/com/replica/replicaisland/
H A DChannelSystem.java87 public int compare(final Channel object1, final Channel object2) { argument
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);
H A DPhasedObjectManager.java88 public int compare(BaseObject object1, BaseObject object2) { argument
90 if (object1 != null && object2 != null) {
91 result = ((PhasedObject) object1).phase - ((PhasedObject) object2).phase;
92 } else if (object1 == null && object2 != null) {
94 } else if (object2 == null && object1 != null) {
H A DGameObjectManager.java185 public int compare(BaseObject object1, BaseObject object2) { argument
187 if (object1 == null && object2 != null) {
189 } else if (object1 != null && object2 == null) {
191 } else if (object1 != null && object2 != null) {
192 float delta = ((GameObject) object1).getPosition().x
H A DSoundSystem.java182 public int compare(final Sound object1, final Sound object2) { argument
184 if (object1 == null && object2 != null) {
186 } else if (object1 != null && object2 == null) {
188 } else if (object1 != null && object2 != null) {
189 result = object1.resource - object2.resource;
H A DGameObjectCollisionSystem.java321 public int compare(CollisionVolumeRecord object1, CollisionVolumeRecord object2) { argument
323 if (object1 == null && object2 != null) {
325 } else if (object1 != null && object2 == null) {
327 } else if (object1 != null && object2 != null) {
328 sCompareFlip.flipX = (object1.object.facingDirection.x < 0.0f);
329 sCompareFlip.flipY = (object1.object.facingDirection.y < 0.0f);
330 sCompareFlip.parentWidth = object1.object.width;
331 sCompareFlip.parentHeight = object1.object.height;
333 final float minX1 = object1.object.getPosition().x
334 + object1
[all...]
H A DBackgroundCollisionComponent.java408 public int compare(HitPoint object1, HitPoint object2) { argument
410 if (object1 != null && object2 != null) {
411 final float obj1Distance = object1.hitPoint.distance2(mOrigin);
415 } else if (object1 == null && object2 != null) {
417 } else if (object2 == null && object1 != null) {
H A DLevelSelectActivity.java344 public int compare(final LevelMetaData object1, final LevelMetaData object2) { argument
346 if (object1 == null && object2 != null) {
348 } else if (object1 != null && object2 == null) {
350 } else if (object1 != null && object2 != null) {
351 result = object1.level.timeStamp.compareTo(object2.level.timeStamp);
/external/proguard/src/proguard/classfile/editor/
H A DClassMemberSorter.java56 public int compare(Object object1, Object object2) argument
58 ProgramMember member1 = (ProgramMember)object1;
H A DAttributeSorter.java80 public int compare(Object object1, Object object2) argument
82 Attribute attribute1 = (Attribute)object1;
/external/clang/test/OpenMP/
H A Ddeclare_target_messages.cpp59 VC object1; // expected-error {{type 'VC' is not mappable to target}} local
62 g += object1.method();
/external/junit-params/src/test/java/junitparams/
H A DParametersReaderProvidersTest.java83 public void providedDomainParams(DomainClass object1, DomainClass object2) { argument
84 assertThat(object1.toString()).isEqualTo("testNameOne");
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
H A DCommonSuperclassTest.java282 String object1 = "[Ljava/lang/Object;";
299 superclassTest(object1, object1, one1);
302 superclassTest(object1, one1, two1);
307 superclassTest(object1, one1, one2);
308 superclassTest(object1, two1, one2);
311 superclassTest(object1, five1, one2);
316 superclassTest(object, object1, one);
/external/libmojo/mojo/public/cpp/bindings/tests/
H A Dhandle_passing_unittest.cc327 sample::NamedObjectPtr object1; local
328 EXPECT_FALSE(object1);
330 InterfaceRequest<sample::NamedObject> object1_request = GetProxy(&object1);
335 ASSERT_TRUE(object1);
336 object1->SetName("object1");
344 object1->GetName(MakeStringRecorder(&name1, run_loop.QuitClosure()));
352 EXPECT_EQ(std::string("object1"), name1);
/external/vixl/test/
H A Dtest-pool-manager.cc314 TestObject object1(4 /*size*/, 4 /*alignment*/);
322 object1.AddReference(ref1_obj1);
323 object1.AddReference(ref2_obj1);
324 object1.AddReference(ref3_obj1);
335 pool_manager.AddObjectReference(ref1_obj1, &object1);
336 pool_manager.AddObjectReference(ref2_obj1, &object1);
337 pool_manager.AddObjectReference(ref3_obj1, &object1);
870 ObjectType *object1 = new ObjectType(); local
874 object1->AddReference(ref_obj1);
879 pool_manager.AddObjectReference(ref_obj1, object1);
[all...]
/external/snakeyaml/src/test/java/org/pyyaml/
H A DPyStructureTest.java286 for (Object object1 : documents1) {
289 assertFalse(System.identityHashCode(object1) == System
292 assertEquals("" + object1, object1, object2);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRTreeWizard.h50 id object1; variable
61 @property (retain) id object1; variable
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DAbstractTestCase.java144 * @param object1 - the first object
147 protected void assertNotEquals(String message, Object object1, Object object2) { argument
148 assertFalse(message, object1.equals(object2));
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) { argument
143 assertFalse(message, object1.equals(object2));

Completed in 1935 milliseconds

123