Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 150) sorted by relevance

123456

/dalvik/tests/021-string2/src/
DMain.java31 Assert.assertTrue(test.equals(test)); in main()
32 Assert.assertTrue(test.equals(test1)); in main()
33 Assert.assertFalse(test.equals(test2)); in main()
42 Assert.assertTrue(test.equals(sub)); in main()
43 Assert.assertTrue(sub.equals(test)); in main()
45 Assert.assertFalse(offset.equals(sub)); in main()
46 Assert.assertFalse(sub.equals(offset)); in main()
48 Assert.assertFalse(test.equals(blah)); in main()
58 Assert.assertFalse(test.equals(null)); in main()
61 Assert.assertTrue(test.equals("123456789")); in main()
[all …]
/dalvik/tests/041-narrowing/src/
DMain.java24 + (Long.toHexString((byte)dbl2).equals("0") ? "00" : Long.toHexString((byte)dbl2) in test_printNarrowing()
27 + (Integer.toHexString((short)dbl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
30 + (Integer.toHexString((int)dbl2).equals("0") ? "00000000" : Integer in test_printNarrowing()
33 + (Long.toHexString((long)dbl2).equals("0") ? "0000000000000000" : Long in test_printNarrowing()
38 + (Long.toHexString((byte)fl2).equals("0") ? "00" : Long.toHexString((byte)fl2) in test_printNarrowing()
41 + (Integer.toHexString((short)fl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
44 + (Integer.toHexString((int)fl2).equals("0") ? "00000000" : Integer in test_printNarrowing()
47 + (Long.toHexString((long)fl2).equals("0") ? "0000000000000000" : Long in test_printNarrowing()
52 + (Integer.toHexString((byte)dbl3).equals("0") ? "00" : Integer.toHexString( in test_printNarrowing()
55 + (Integer.toHexString((short)dbl3).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
[all …]
/dalvik/tests/082-inline-execute/src/
DMain.java147 Assert.assertTrue(y.equals(uc)); in stringCompareToTest()
153 Assert.assertTrue(test.equals(test)); in stringCompareToTest()
154 Assert.assertTrue(test.equals(test1)); in stringCompareToTest()
155 Assert.assertFalse(test.equals(test2)); in stringCompareToTest()
164 Assert.assertTrue(test.equals(sub)); in stringCompareToTest()
165 Assert.assertTrue(sub.equals(test)); in stringCompareToTest()
167 Assert.assertFalse(offset.equals(sub)); in stringCompareToTest()
168 Assert.assertFalse(sub.equals(offset)); in stringCompareToTest()
170 Assert.assertFalse(test.equals(blah)); in stringCompareToTest()
179 Assert.assertFalse(test.equals(null)); in stringCompareToTest()
[all …]
/dalvik/dx/src/com/android/dx/command/
DMain.java87 if (arg.equals("--") || !arg.startsWith("--")) { in main()
94 if (arg.equals("--dex")) { in main()
97 } else if (arg.equals("--dump")) { in main()
100 } else if (arg.equals("--annotool")) { in main()
104 } else if (arg.equals("--junit")) { in main()
107 } else if (arg.equals("--find-usages")) { in main()
110 } else if (arg.equals("--version")) { in main()
113 } else if (arg.equals("--help")) { in main()
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java47 if (arg.equals("--") || !arg.startsWith("--")) { in main()
49 } else if (arg.equals("--bytes")) { in main()
51 } else if (arg.equals("--basic-blocks")) { in main()
53 } else if (arg.equals("--rop-blocks")) { in main()
55 } else if (arg.equals("--optimize")) { in main()
57 } else if (arg.equals("--ssa-blocks")) { in main()
61 } else if (arg.equals("--debug")) { in main()
63 } else if (arg.equals("--dot")) { in main()
65 } else if (arg.equals("--strict")) { in main()
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstNat.java61 public boolean equals(Object other) { in equals() method in CstNat
67 return name.equals(otherNat.name) && in equals()
68 descriptor.equals(otherNat.descriptor); in equals()
156 return name.getString().equals("<init>"); in isInstanceInit()
168 return name.getString().equals("<clinit>"); in isClassInit()
DCstMemberRef.java50 public final boolean equals(Object other) { in equals() method in CstMemberRef
56 return definingClass.equals(otherRef.definingClass) && in equals()
57 nat.equals(otherRef.nat); in equals()
DCstAnnotation.java45 public boolean equals(Object other) { in equals() method in CstAnnotation
50 return annotation.equals(((CstAnnotation) other).annotation); in equals()
DCstString.java53 public boolean equals(Object other) { in equals() method in CstString
58 return string.equals(((CstString) other).string); in equals()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstNat.java61 public boolean equals(Object other) { in equals() method in CstNat
67 return name.equals(otherNat.name) && in equals()
68 descriptor.equals(otherNat.descriptor); in equals()
156 return name.getString().equals("<init>"); in isInstanceInit()
168 return name.getString().equals("<clinit>"); in isClassInit()
DCstMemberRef.java50 public final boolean equals(Object other) { in equals() method in CstMemberRef
56 return definingClass.equals(otherRef.definingClass) && in equals()
57 nat.equals(otherRef.nat); in equals()
DCstAnnotation.java45 public boolean equals(Object other) { in equals() method in CstAnnotation
50 return annotation.equals(((CstAnnotation) other).annotation); in equals()
/dalvik/tests/044-proxy/src/
DWrappedThrow.java197 if (method.getName().equals("toString")) in invoke()
199 else if (method.getName().equals("hashCode")) in invoke()
201 else if (method.getName().equals("equals")) in invoke()
202 return Boolean.valueOf(super.equals(args[0])); in invoke()
216 if (method.getName().equals("throwFunky")) in invoke()
218 if (method.getName().equals("throwFunky2")) in invoke()
220 if (method.getName().equals("throwException")) in invoke()
222 if (method.getName().equals("throwBase")) in invoke()
224 if (method.getName().equals("throwSub")) in invoke()
226 if (method.getName().equals("throwSubSub")) in invoke()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpec.java162 public boolean equals(Object other) { in equals() method in RegisterSpec
166 return equals(fc.reg, fc.type, fc.local); in equals()
172 return equals(spec.reg, spec.type, spec.local); in equals()
207 return type.getType().equals(other.type.getType()) in matchesVariable()
209 || ((local != null) && local.equals(other.local))); in matchesVariable()
222 private boolean equals(int reg, TypeBearer type, LocalItem local) { in equals() method in RegisterSpec
224 && this.type.equals(type) in equals()
226 || ((this.local != null) && this.local.equals(local))); in equals()
442 ((local == null) || !local.equals(other.getLocalItem())) in intersect()
459 type.equals(other.getTypeBearer()) ? type : thisType; in intersect()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpec.java167 public boolean equals(Object other) { in equals() method in RegisterSpec
171 return equals(fc.reg, fc.type, fc.local); in equals()
177 return equals(spec.reg, spec.type, spec.local); in equals()
212 return type.getType().equals(other.type.getType()) in matchesVariable()
214 || ((local != null) && local.equals(other.local))); in matchesVariable()
227 private boolean equals(int reg, TypeBearer type, LocalItem local) { in equals() method in RegisterSpec
229 && this.type.equals(type) in equals()
231 || ((this.local != null) && this.local.equals(local))); in equals()
447 ((local == null) || !local.equals(other.getLocalItem())) in intersect()
464 type.equals(other.getTypeBearer()) ? type : thisType; in intersect()
[all …]
/dalvik/tests/003-omnibus-opcodes/src/
DArray.java62 assert(strings[0].equals("zero")); in checkStrings()
63 assert(strings[1].equals("one")); in checkStrings()
64 assert(strings[2].equals("two")); in checkStrings()
65 assert(strings[3].equals("three")); in checkStrings()
66 assert(strings[4].equals("four")); in checkStrings()
/dalvik/dx/src/com/android/dx/gen/
DMethodId.java87 @Override public boolean equals(Object o) { in equals() method in MethodId
89 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
90 && ((MethodId<?, ?>) o).name.equals(name) in equals()
91 && ((MethodId<?, ?>) o).parameters.equals(parameters) in equals()
92 && ((MethodId<?, ?>) o).returnType.equals(returnType); in equals()
DFieldId.java58 @Override public boolean equals(Object o) { in equals() method in FieldId
60 && ((FieldId<?, ?>) o).declaringType.equals(declaringType) in equals()
61 && ((FieldId<?, ?>) o).name.equals(name); in equals()
/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java62 public boolean equals(Object other) { in equals() method in NameValuePair
69 return name.equals(otherPair.name) in equals()
70 && value.equals(otherPair.value); in equals()
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DNameValuePair.java68 public boolean equals(Object other) { in equals() method in NameValuePair
75 return name.equals(otherPair.name) in equals()
76 && value.equals(otherPair.value); in equals()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DOutput.java34 if (format.equals("brief")) { in generateHeader0()
38 } else if (format.equals("xml")) { in generateHeader0()
60 if (format.equals("brief")) { in generateFooter()
62 } else if (format.equals("xml")) { in generateFooter()
72 if (format.equals("brief")) { in generate()
74 } else if (format.equals("xml")) { in generate()
167 if (!packageName.equals(prevPackage)) { in printXml()
213 constructor = mref.getName().equals("<init>"); in printXmlMethods()
DMain.java190 if (arg.equals("--") || !arg.startsWith("--")) { in parseArgs()
194 if (!mOutputFormat.equals("brief") && in parseArgs()
195 !mOutputFormat.equals("xml")) in parseArgs()
201 } else if (arg.equals("--just-classes")) { in parseArgs()
/dalvik/dx/src/com/android/dx/dex/
DDexFormat.java75 if (version.equals(VERSION_CURRENT)) { in magicToApi()
77 } else if (version.equals(VERSION_FOR_API_13)) { in magicToApi()
/dalvik/dx/src/junit/textui/
DTestRunner.java157 if (args[i].equals("-wait")) in start()
159 else if (args[i].equals("-c")) in start()
161 else if (args[i].equals("-v")) in start()
167 if (testCase.equals("")) in start()
/dalvik/dx/tests/091-ssa-const-collector/
DBlort.java60 a.equals(null); in testNull()
61 a.equals(null); in testNull()

123456