Searched refs:other (Results 26 - 50 of 117) sorted by relevance

12345

/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { argument
137 if (this == other) {
143 int otherSize = other.size();
148 Entry otherEntry = other.get(i);
201 public boolean equals(Object other) { argument
202 if (other instanceof Entry) {
203 return (compareTo((Entry) other) == 0);
210 public int compareTo(Entry other) { argument
211 if (handler < other.handler) {
213 } else if (handler > other
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstArray.java23 * Constant type to represent a fixed array of other constants. The contents
24 * may be of any type <i>other</i> than {@link CstUtf8}.
47 public boolean equals(Object other) { argument
48 if (! (other instanceof CstArray)) {
52 return list.equals(((CstArray) other).list);
63 protected int compareTo0(Constant other) { argument
64 return list.compareTo(((CstArray) other).list);
115 public int compareTo(List other) { argument
117 int otherSize = other.size();
122 Constant otherItem = (Constant) other
[all...]
H A DCstMemberRef.java50 public final boolean equals(Object other) { argument
51 if ((other == null) || (getClass() != other.getClass())) {
55 CstMemberRef otherRef = (CstMemberRef) other;
74 protected int compareTo0(Constant other) { argument
75 CstMemberRef otherMember = (CstMemberRef) other;
H A DCstNat.java61 public boolean equals(Object other) { argument
62 if (!(other instanceof CstNat)) {
66 CstNat otherNat = (CstNat) other;
79 protected int compareTo0(Constant other) { argument
80 CstNat otherNat = (CstNat) other;
H A DCstFieldRef.java67 protected int compareTo0(Constant other) { argument
68 int cmp = super.compareTo0(other);
74 CstFieldRef otherField = (CstFieldRef) other;
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstArray.java23 * Constant type to represent a fixed array of other constants.
46 public boolean equals(Object other) { argument
47 if (! (other instanceof CstArray)) {
51 return list.equals(((CstArray) other).list);
62 protected int compareTo0(Constant other) { argument
63 return list.compareTo(((CstArray) other).list);
114 public int compareTo(List other) { argument
116 int otherSize = other.size();
121 Constant otherItem = (Constant) other.get0(i);
H A DCstMemberRef.java50 public final boolean equals(Object other) { argument
51 if ((other == null) || (getClass() != other.getClass())) {
55 CstMemberRef otherRef = (CstMemberRef) other;
74 protected int compareTo0(Constant other) { argument
75 CstMemberRef otherMember = (CstMemberRef) other;
H A DCstNat.java61 public boolean equals(Object other) { argument
62 if (!(other instanceof CstNat)) {
66 CstNat otherNat = (CstNat) other;
79 protected int compareTo0(Constant other) { argument
80 CstNat otherNat = (CstNat) other;
H A DCstFieldRef.java67 protected int compareTo0(Constant other) { argument
68 int cmp = super.compareTo0(other);
74 CstFieldRef otherField = (CstFieldRef) other;
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
H A DNameValuePair.java68 public boolean equals(Object other) { argument
69 if (! (other instanceof NameValuePair)) {
73 NameValuePair otherPair = (NameValuePair) other;
85 public int compareTo(NameValuePair other) { argument
86 int result = name.compareTo(other.name);
92 return value.compareTo(other.value);
/dalvik/dx/src/com/android/dx/io/
H A DFieldId.java46 public int compareTo(FieldId other) { argument
47 if (declaringClassIndex != other.declaringClassIndex) {
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex);
50 if (nameIndex != other.nameIndex) {
51 return Unsigned.compare(nameIndex, other.nameIndex);
53 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0
H A DMethodId.java46 public int compareTo(MethodId other) { argument
47 if (declaringClassIndex != other.declaringClassIndex) {
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex);
50 if (nameIndex != other.nameIndex) {
51 return Unsigned.compare(nameIndex, other.nameIndex);
53 return Unsigned.compare(protoIndex, other.protoIndex);
H A DAnnotation.java66 @Override public int compareTo(Annotation other) { argument
67 if (typeIndex != other.typeIndex) {
68 return Unsigned.compare(typeIndex, other.typeIndex);
70 int size = Math.min(names.length, other.names.length);
72 if (names[i] != other.names[i]) {
73 return Unsigned.compare(names[i], other.names[i]);
75 int compare = values[i].compareTo(other.values[i]);
80 return names.length - other.names.length;
H A DProtoId.java34 public int compareTo(ProtoId other) { argument
35 if (returnTypeIndex != other.returnTypeIndex) {
36 return Unsigned.compare(returnTypeIndex, other.returnTypeIndex);
38 return Unsigned.compare(parametersOffset, other.parametersOffset);
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DNameValuePair.java62 public boolean equals(Object other) { argument
63 if (! (other instanceof NameValuePair)) {
67 NameValuePair otherPair = (NameValuePair) other;
79 public int compareTo(NameValuePair other) { argument
80 int result = name.compareTo(other.name);
86 return value.compareTo(other.value);
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpec.java162 public boolean equals(Object other) { argument
163 if (!(other instanceof RegisterSpec)) {
164 if (other instanceof ForComparison) {
165 ForComparison fc = (ForComparison) other;
171 RegisterSpec spec = (RegisterSpec) other;
181 * @param other {@code null-ok;} spec to compare to
182 * @return {@code true} iff {@code this} and {@code other} are equal
185 public boolean equalsUsingSimpleType(RegisterSpec other) { argument
186 if (!matchesVariable(other)) {
190 return (reg == other
202 matchesVariable(RegisterSpec other) argument
236 compareTo(RegisterSpec other) argument
431 intersect(RegisterSpec other, boolean localPrimary) argument
635 equals(Object other) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpec.java167 public boolean equals(Object other) { argument
168 if (!(other instanceof RegisterSpec)) {
169 if (other instanceof ForComparison) {
170 ForComparison fc = (ForComparison) other;
176 RegisterSpec spec = (RegisterSpec) other;
186 * @param other {@code null-ok;} spec to compare to
187 * @return {@code true} iff {@code this} and {@code other} are equal
190 public boolean equalsUsingSimpleType(RegisterSpec other) { argument
191 if (!matchesVariable(other)) {
195 return (reg == other
207 matchesVariable(RegisterSpec other) argument
241 compareTo(RegisterSpec other) argument
436 intersect(RegisterSpec other, boolean localPrimary) argument
642 equals(Object other) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DStringIdItem.java53 public boolean equals(Object other) { argument
54 if (!(other instanceof StringIdItem)) {
58 StringIdItem otherString = (StringIdItem) other;
69 public int compareTo(Object other) { argument
70 StringIdItem otherString = (StringIdItem) other;
H A DOffsettedItem.java91 public final boolean equals(Object other) { argument
92 if (this == other) {
96 OffsettedItem otherItem = (OffsettedItem) other;
114 public final int compareTo(OffsettedItem other) { argument
115 if (this == other) {
120 ItemType otherType = other.itemType();
126 return compareTo0(other);
281 * @param other {@code non-null;} instance to compare to
283 * on the sort order of this instance and the other
285 protected int compareTo0(OffsettedItem other) { argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdItem.java51 public boolean equals(Object other) { argument
52 if (!(other instanceof StringIdItem)) {
56 StringIdItem otherString = (StringIdItem) other;
67 public int compareTo(Object other) { argument
68 StringIdItem otherString = (StringIdItem) other;
H A DOffsettedItem.java91 public final boolean equals(Object other) { argument
92 if (this == other) {
96 OffsettedItem otherItem = (OffsettedItem) other;
114 public final int compareTo(OffsettedItem other) { argument
115 if (this == other) {
120 ItemType otherType = other.itemType();
126 return compareTo0(other);
281 * @param other {@code non-null;} instance to compare to
283 * on the sort order of this instance and the other
285 protected int compareTo0(OffsettedItem other) { argument
[all...]
/dalvik/dx/src/com/android/dx/merge/
H A DTypeList.java39 public int compareTo(TypeList other) { argument
40 for (int i = 0; i < types.length && i < other.types.length; i++) {
41 if (types[i] != other.types[i]) {
42 return Unsigned.compare(types[i], other.types[i]);
45 return Unsigned.compare(types.length, other.types.length);
/dalvik/dx/src/com/android/dx/cf/code/
H A DReturnAddress.java86 public boolean equals(Object other) { argument
87 if (!(other instanceof ReturnAddress)) {
91 return subroutineAddress == ((ReturnAddress) other).subroutineAddress;
/dalvik/dexgen/src/com/android/dexgen/util/
H A DListIntSet.java61 public void merge(IntSet other) { argument
62 if (other instanceof ListIntSet) {
63 ListIntSet o = (ListIntSet) other;
87 } else if (other instanceof BitIntSet) {
88 BitIntSet o = (BitIntSet) other;
95 IntIterator iter = other.iterator();
/dalvik/dx/src/com/android/dx/util/
H A DListIntSet.java61 public void merge(IntSet other) { argument
62 if (other instanceof ListIntSet) {
63 ListIntSet o = (ListIntSet) other;
87 } else if (other instanceof BitIntSet) {
88 BitIntSet o = (BitIntSet) other;
95 IntIterator iter = other.iterator();

Completed in 2061 milliseconds

12345