Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 146) sorted by relevance

123456

/dalvik/dx/src/com/android/dx/dex/code/
DCatchTable.java64 public int compareTo(CatchTable other) { in compareTo() argument
65 if (this == other) { in compareTo()
71 int otherSize = other.size(); in compareTo()
76 Entry otherEntry = other.get(i); in compareTo()
140 public boolean equals(Object other) { in equals() argument
141 if (other instanceof Entry) { in equals()
142 return (compareTo((Entry) other) == 0); in equals()
149 public int compareTo(Entry other) { in compareTo() argument
150 if (start < other.start) { in compareTo()
152 } else if (start > other.start) { in compareTo()
[all …]
DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { in compareTo() argument
137 if (this == other) { in compareTo()
143 int otherSize = other.size(); in compareTo()
148 Entry otherEntry = other.get(i); in compareTo()
201 public boolean equals(Object other) { in equals() argument
202 if (other instanceof Entry) { in equals()
203 return (compareTo((Entry) other) == 0); in equals()
210 public int compareTo(Entry other) { in compareTo() argument
211 if (handler < other.handler) { in compareTo()
213 } else if (handler > other.handler) { in compareTo()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DSourcePosition.java97 public boolean equals(Object other) { in equals() argument
98 if (!(other instanceof SourcePosition)) { in equals()
102 if (this == other) { in equals()
106 SourcePosition pos = (SourcePosition) other; in equals()
124 public boolean sameLine(SourcePosition other) { in sameLine() argument
125 return (line == other.line); in sameLine()
135 public boolean sameLineAndFile(SourcePosition other) { in sameLineAndFile() argument
136 return (line == other.line) && in sameLineAndFile()
137 ((sourceFile == other.sourceFile) || in sameLineAndFile()
138 ((sourceFile != null) && sourceFile.equals(other.sourceFile))); in sameLineAndFile()
DRegisterSpec.java162 public boolean equals(Object other) { in equals() argument
163 if (!(other instanceof RegisterSpec)) { in equals()
164 if (other instanceof ForComparison) { in equals()
165 ForComparison fc = (ForComparison) other; in equals()
171 RegisterSpec spec = (RegisterSpec) other; in equals()
185 public boolean equalsUsingSimpleType(RegisterSpec other) { in equalsUsingSimpleType() argument
186 if (!matchesVariable(other)) { in equalsUsingSimpleType()
190 return (reg == other.reg); in equalsUsingSimpleType()
202 public boolean matchesVariable(RegisterSpec other) { in matchesVariable() argument
203 if (other == null) { in matchesVariable()
[all …]
/dalvik/dx/src/com/android/dx/rop/cst/
DCstLiteral32.java38 public final boolean equals(Object other) { in equals() argument
39 return (other != null) && in equals()
40 (getClass() == other.getClass()) && in equals()
41 bits == ((CstLiteral32) other).bits; in equals()
52 protected int compareTo0(Constant other) { in compareTo0() argument
53 int otherBits = ((CstLiteral32) other).bits; in compareTo0()
DCstLiteral64.java38 public final boolean equals(Object other) { in equals() argument
39 return (other != null) && in equals()
40 (getClass() == other.getClass()) && in equals()
41 bits == ((CstLiteral64) other).bits; in equals()
52 protected int compareTo0(Constant other) { in compareTo0() argument
53 long otherBits = ((CstLiteral64) other).bits; in compareTo0()
DCstArray.java47 public boolean equals(Object other) { in equals() argument
48 if (! (other instanceof CstArray)) { in equals()
52 return list.equals(((CstArray) other).list); in equals()
63 protected int compareTo0(Constant other) { in compareTo0() argument
64 return list.compareTo(((CstArray) other).list); in compareTo0()
115 public int compareTo(List other) { in compareTo() argument
117 int otherSize = other.size(); in compareTo()
122 Constant otherItem = (Constant) other.get0(i); in compareTo()
DCstAnnotation.java45 public boolean equals(Object other) { in equals() argument
46 if (! (other instanceof CstAnnotation)) { in equals()
50 return annotation.equals(((CstAnnotation) other).annotation); in equals()
61 protected int compareTo0(Constant other) { in compareTo0() argument
62 return annotation.compareTo(((CstAnnotation) other).annotation); in compareTo0()
DConstant.java48 public final int compareTo(Constant other) { in compareTo() argument
50 Class otherClazz = other.getClass(); in compareTo()
56 return compareTo0(other); in compareTo()
67 protected abstract int compareTo0(Constant other); in compareTo0() argument
DCstMemberRef.java50 public final boolean equals(Object other) { in equals() argument
51 if ((other == null) || (getClass() != other.getClass())) { in equals()
55 CstMemberRef otherRef = (CstMemberRef) other; in equals()
74 protected int compareTo0(Constant other) { in compareTo0() argument
75 CstMemberRef otherMember = (CstMemberRef) other; in compareTo0()
DCstString.java53 public boolean equals(Object other) { in equals() argument
54 if (!(other instanceof CstString)) { in equals()
58 return string.equals(((CstString) other).string); in equals()
69 protected int compareTo0(Constant other) { in compareTo0() argument
70 return string.compareTo(((CstString) other).string); in compareTo0()
DCstNat.java61 public boolean equals(Object other) { in equals() argument
62 if (!(other instanceof CstNat)) { in equals()
66 CstNat otherNat = (CstNat) other; in equals()
79 protected int compareTo0(Constant other) { in compareTo0() argument
80 CstNat otherNat = (CstNat) other; in compareTo0()
DCstKnownNull.java38 public boolean equals(Object other) { in equals() argument
39 return (other instanceof CstKnownNull); in equals()
50 protected int compareTo0(Constant other) { in compareTo0() argument
DCstFieldRef.java67 protected int compareTo0(Constant other) { in compareTo0() argument
68 int cmp = super.compareTo0(other); in compareTo0()
74 CstFieldRef otherField = (CstFieldRef) other; in compareTo0()
/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java68 public boolean equals(Object other) { in equals() argument
69 if (! (other instanceof NameValuePair)) { in equals()
73 NameValuePair otherPair = (NameValuePair) other; in equals()
85 public int compareTo(NameValuePair other) { in compareTo() argument
86 int result = name.compareTo(other.name); in compareTo()
92 return value.compareTo(other.value); in compareTo()
/dalvik/dx/src/com/android/dx/dex/file/
DOffsettedItem.java91 public final boolean equals(Object other) { in equals() argument
92 if (this == other) { in equals()
96 OffsettedItem otherItem = (OffsettedItem) other; in equals()
114 public final int compareTo(OffsettedItem other) { in compareTo() argument
115 if (this == other) { in compareTo()
120 ItemType otherType = other.itemType(); in compareTo()
126 return compareTo0(other); in compareTo()
285 protected int compareTo0(OffsettedItem other) { in compareTo0() argument
DStringIdItem.java53 public boolean equals(Object other) { in equals() argument
54 if (!(other instanceof StringIdItem)) { in equals()
58 StringIdItem otherString = (StringIdItem) other; in equals()
69 public int compareTo(Object other) { in compareTo() argument
70 StringIdItem otherString = (StringIdItem) other; in compareTo()
DMethodAnnotationStruct.java62 public boolean equals(Object other) { in equals() argument
63 if (! (other instanceof MethodAnnotationStruct)) { in equals()
67 return method.equals(((MethodAnnotationStruct) other).method); in equals()
71 public int compareTo(MethodAnnotationStruct other) { in compareTo() argument
72 return method.compareTo(other.method); in compareTo()
DFieldAnnotationStruct.java62 public boolean equals(Object other) { in equals() argument
63 if (! (other instanceof FieldAnnotationStruct)) { in equals()
67 return field.equals(((FieldAnnotationStruct) other).field); in equals()
71 public int compareTo(FieldAnnotationStruct other) { in compareTo() argument
72 return field.compareTo(other.field); in compareTo()
/dalvik/dx/src/com/android/dx/util/
DListIntSet.java61 public void merge(IntSet other) { in merge() argument
62 if (other instanceof ListIntSet) { in merge()
63 ListIntSet o = (ListIntSet) other; in merge()
87 } else if (other instanceof BitIntSet) { in merge()
88 BitIntSet o = (BitIntSet) other; in merge()
95 IntIterator iter = other.iterator(); in merge()
DBitIntSet.java71 public void merge(IntSet other) { in merge() argument
72 if (other instanceof BitIntSet) { in merge()
73 BitIntSet o = (BitIntSet) other; in merge()
76 } else if (other instanceof ListIntSet) { in merge()
77 ListIntSet o = (ListIntSet) other; in merge()
87 IntIterator iter = other.iterator(); in merge()
/dalvik/dx/src/com/android/dx/cf/code/
DLocalsArraySet.java259 private LocalsArraySet mergeWithSet(LocalsArraySet other) { in mergeWithSet() argument
264 newPrimary = primary.merge(other.getPrimary()); in mergeWithSet()
267 int sz2 = other.secondaries.size(); in mergeWithSet()
273 LocalsArray la2 = (i < sz2 ? other.secondaries.get(i) : null); in mergeWithSet()
310 private LocalsArraySet mergeWithOne(OneLocalsArray other) { in mergeWithOne() argument
315 newPrimary = primary.merge(other.getPrimary()); in mergeWithOne()
325 resultla = la.merge(other); in mergeWithOne()
346 public LocalsArraySet merge(LocalsArray other) { in merge() argument
350 if (other instanceof LocalsArraySet) { in merge()
351 result = mergeWithSet((LocalsArraySet) other); in merge()
[all …]
DOneLocalsArray.java191 public LocalsArray merge(LocalsArray other) { in merge() argument
192 if (other instanceof OneLocalsArray) { in merge()
193 return merge((OneLocalsArray)other); in merge()
196 return other.merge(this); in merge()
209 public OneLocalsArray merge(OneLocalsArray other) { in merge() argument
211 return Merger.mergeLocals(this, other); in merge()
216 other.annotate(ex); in merge()
224 (LocalsArray other, int predLabel) { in mergeWithSubroutineCaller() argument
227 return result.mergeWithSubroutineCaller(other, predLabel); in mergeWithSubroutineCaller()
DReturnAddress.java86 public boolean equals(Object other) { in equals() argument
87 if (!(other instanceof ReturnAddress)) { in equals()
91 return subroutineAddress == ((ReturnAddress) other).subroutineAddress; in equals()
/dalvik/dx/src/com/android/dx/rop/type/
DPrototype.java234 public boolean equals(Object other) { in equals() argument
235 if (this == other) { in equals()
243 if (!(other instanceof Prototype)) { in equals()
247 return descriptor.equals(((Prototype) other).descriptor); in equals()
257 public int compareTo(Prototype other) { in compareTo() argument
258 if (this == other) { in compareTo()
268 int result = returnType.compareTo(other.returnType); in compareTo()
275 int otherSize = other.parameterTypes.size(); in compareTo()
280 Type otherType = other.parameterTypes.get(i); in compareTo()

123456