Home
last modified time | relevance | path

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

1234567

/dalvik/dx/src/com/android/dx/dex/code/
DCatchTable.java63 public int compareTo(CatchTable other) { in compareTo() argument
64 if (this == other) { in compareTo()
70 int otherSize = other.size(); in compareTo()
75 Entry otherEntry = other.get(i); in compareTo()
139 public boolean equals(Object other) { in equals() argument
140 if (other instanceof Entry) { in equals()
141 return (compareTo((Entry) other) == 0); in equals()
148 public int compareTo(Entry other) { in compareTo() argument
149 if (start < other.start) { in compareTo()
151 } 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/dexgen/src/com/android/dexgen/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/dexgen/src/com/android/dexgen/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/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.java167 public boolean equals(Object other) { in equals() argument
168 if (!(other instanceof RegisterSpec)) { in equals()
169 if (other instanceof ForComparison) { in equals()
170 ForComparison fc = (ForComparison) other; in equals()
176 RegisterSpec spec = (RegisterSpec) other; in equals()
190 public boolean equalsUsingSimpleType(RegisterSpec other) { in equalsUsingSimpleType() argument
191 if (!matchesVariable(other)) { in equalsUsingSimpleType()
195 return (reg == other.reg); in equalsUsingSimpleType()
207 public boolean matchesVariable(RegisterSpec other) { in matchesVariable() argument
208 if (other == null) { in matchesVariable()
[all …]
/dalvik/dexgen/src/com/android/dexgen/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()
/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.java45 public boolean equals(Object other) { in equals() argument
46 if (! (other instanceof CstArray)) { in equals()
50 return list.equals(((CstArray) other).list); in equals()
61 protected int compareTo0(Constant other) { in compareTo0() argument
62 return list.compareTo(((CstArray) other).list); in compareTo0()
113 public int compareTo(List other) { in compareTo() argument
115 int otherSize = other.size(); in compareTo()
120 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
DCstProtoRef.java34 public boolean equals(Object other) { in equals() argument
35 if (!(other instanceof CstProtoRef)) { in equals()
38 CstProtoRef otherCstProtoRef = (CstProtoRef) other; in equals()
61 protected int compareTo0(Constant other) { in compareTo0() argument
62 CstProtoRef otherCstProtoRef = (CstProtoRef) other; in compareTo0()
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()
/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java62 public boolean equals(Object other) { in equals() argument
63 if (! (other instanceof NameValuePair)) { in equals()
67 NameValuePair otherPair = (NameValuePair) other; in equals()
79 public int compareTo(NameValuePair other) { in compareTo() argument
80 int result = name.compareTo(other.name); in compareTo()
86 return value.compareTo(other.value); in compareTo()
/dalvik/dx/src/com/android/dex/
DFieldId.java46 public int compareTo(FieldId other) { in compareTo() argument
47 if (declaringClassIndex != other.declaringClassIndex) { in compareTo()
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); in compareTo()
50 if (nameIndex != other.nameIndex) { in compareTo()
51 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo()
53 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0 in compareTo()
DMethodId.java46 public int compareTo(MethodId other) { in compareTo() argument
47 if (declaringClassIndex != other.declaringClassIndex) { in compareTo()
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); in compareTo()
50 if (nameIndex != other.nameIndex) { in compareTo()
51 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo()
53 return Unsigned.compare(protoIndex, other.protoIndex); in compareTo()
/dalvik/dexgen/src/com/android/dexgen/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()

1234567