Home
last modified time | relevance | path

Searched refs:object1 (Results 1 – 25 of 53) sorted by relevance

123

/external/proguard/src/proguard/util/
DObjectUtil.java35 public static boolean equal(Object object1, Object object2) in equal() argument
37 return object1 == null ? in equal()
39 object1.equals(object2); in equal()
61 public static int compare(Comparable object1, Comparable object2) in compare() argument
63 return object1 == null ? 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()
328 sCompareFlip.flipX = (object1.object.facingDirection.x < 0.0f); in compare()
329 sCompareFlip.flipY = (object1.object.facingDirection.y < 0.0f); in compare()
330 sCompareFlip.parentWidth = object1.object.width; in compare()
331 sCompareFlip.parentHeight = object1.object.height; in compare()
333 final float minX1 = object1.object.getPosition().x in compare()
334 + object1.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()
192 float delta = ((GameObject) object1).getPosition().x in compare()
DBackgroundCollisionComponent.java408 public int compare(HitPoint object1, HitPoint object2) { in compare() argument
410 if (object1 != null && object2 != null) { in compare()
411 final float obj1Distance = object1.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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2012-11-28-merge-store-alias.ll13 %object1 = alloca [10 x i32]
15 %ret0 = call i32 @foo([10 x i32]* %object1) nounwind
17 %O1_1 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 1
18 %O1_2 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 2
19 %O1_3 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 3
20 %O1_4 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 4
21 %ld_ptr = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 9
29 %ret1 = call i32 @foo([10 x i32]* %object1) nounwind
/external/llvm/test/CodeGen/X86/
D2012-11-28-merge-store-alias.ll13 %object1 = alloca [10 x i32]
15 %ret0 = call i32 @foo([10 x i32]* %object1) nounwind
17 %O1_1 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 1
18 %O1_2 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 2
19 %O1_3 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 3
20 %O1_4 = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 4
21 %ld_ptr = getelementptr [10 x i32], [10 x i32]* %object1, i64 0, i32 9
29 %ret1 = call i32 @foo([10 x i32]* %object1) nounwind
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCommonSuperclassTest.java282 String object1 = "[Ljava/lang/Object;"; in testGetCommonSuperclass_arrays() local
299 superclassTest(object1, object1, one1); in testGetCommonSuperclass_arrays()
302 superclassTest(object1, one1, two1); in testGetCommonSuperclass_arrays()
307 superclassTest(object1, one1, one2); in testGetCommonSuperclass_arrays()
308 superclassTest(object1, two1, one2); in testGetCommonSuperclass_arrays()
311 superclassTest(object1, five1, one2); in testGetCommonSuperclass_arrays()
316 superclassTest(object, object1, one); in testGetCommonSuperclass_arrays()
/external/llvm/test/Transforms/GlobalOpt/
Dinvariant-nodatalayout.ll6 @object1 = global { i32, i32 } zeroinitializer
7 ; CHECK: @object1 = global { i32, i32 } zeroinitializer
10 %ptr = bitcast {i32, i32}* @object1 to i8*
Dinvariant.ll13 @object1 = global i32 0
14 ; CHECK: @object1 = constant i32 -1
16 store i32 -1, i32* @object1
17 %A = bitcast i32* @object1 to i8*
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dinvariant-nodatalayout.ll6 @object1 = global { i32, i32 } zeroinitializer
7 ; CHECK: @object1 = global { i32, i32 } zeroinitializer
10 %ptr = bitcast {i32, i32}* @object1 to i8*
Dinvariant.ll13 @object1 = global i32 0
14 ; CHECK: @object1 = constant i32 -1
16 store i32 -1, i32* @object1
17 %A = bitcast i32* @object1 to i8*
/external/clang/test/SemaObjCXX/
Dconversion-to-objc-pointer-2.mm82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
85 [bar setBlah: object1]; // <== Does not compile. It should.
86 if (object1 == object2)
/external/libchrome/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc293 sample::NamedObjectPtr object1; in TEST_P() local
294 EXPECT_FALSE(object1); in TEST_P()
296 auto object1_request = mojo::MakeRequest(&object1); in TEST_P()
301 ASSERT_TRUE(object1); in TEST_P()
302 object1->SetName("object1"); in TEST_P()
310 object1->GetName(MakeStringRecorder(&name1, run_loop.QuitClosure())); in TEST_P()
/external/vixl/test/
Dtest-pool-manager.cc309 TestObject object1(4 /*size*/, 4 /*alignment*/); in TEST() local
317 object1.AddReference(ref1_obj1); in TEST()
318 object1.AddReference(ref2_obj1); in TEST()
319 object1.AddReference(ref3_obj1); in TEST()
330 pool_manager.AddObjectReference(ref1_obj1, &object1); in TEST()
331 pool_manager.AddObjectReference(ref2_obj1, &object1); in TEST()
332 pool_manager.AddObjectReference(ref3_obj1, &object1); in TEST()
865 ObjectType *object1 = new ObjectType(); in ManagedLocationBaseTestHelper() local
869 object1->AddReference(ref_obj1); in ManagedLocationBaseTestHelper()
874 pool_manager.AddObjectReference(ref_obj1, object1); in ManagedLocationBaseTestHelper()
/external/proguard/src/proguard/classfile/editor/
DClassMemberSorter.java56 public int compare(Object object1, Object object2) in compare() argument
58 ProgramMember member1 = (ProgramMember)object1; in compare()
DAttributeSorter.java80 public int compare(Object object1, Object object2) in compare() argument
82 Attribute attribute1 = (Attribute)object1; in compare()
/external/clang/test/OpenMP/
Ddeclare_target_messages.cpp59 VC object1; // expected-error {{type 'VC' is not mappable to target}} in foo() local
62 g += object1.method(); in foo()
/external/junit-params/src/test/java/junitparams/
DParametersReaderProvidersTest.java83 public void providedDomainParams(DomainClass object1, DomainClass object2) { in providedDomainParams() argument
84 assertThat(object1.toString()).isEqualTo("testNameOne"); in providedDomainParams()
/external/clang/test/SemaObjC/
Dcontinuation-class-err.m9 @property(readwrite, assign) id object1; // expected-note {{property declared here}} property
15 @property(readonly) id object1; // expected-error {{illegal redeclaration of property in class exte… property
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.java286 for (Object object1 : documents1) { in testConstructor()
289 assertFalse(System.identityHashCode(object1) == System in testConstructor()
292 assertEquals("" + object1, object1, object2); in testConstructor()

123