/dalvik/dx/src/com/android/dx/dex/code/ |
D | CatchTable.java | 64 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() 150 public int compareTo(Entry other) { in compareTo() argument 151 if (start < other.start) { in compareTo() 153 } else if (start > other.start) { in compareTo() [all …]
|
D | CatchHandlerList.java | 138 public int compareTo(CatchHandlerList other) { in compareTo() argument 139 if (this == other) { in compareTo() 145 int otherSize = other.size(); in compareTo() 150 Entry otherEntry = other.get(i); in compareTo() 203 public boolean equals(Object other) { in equals() argument 204 if (other instanceof Entry) { in equals() 205 return (compareTo((Entry) other) == 0); in equals() 213 public int compareTo(Entry other) { in compareTo() argument 214 if (handler < other.handler) { in compareTo() 216 } else if (handler > other.handler) { in compareTo() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | CatchTable.java | 64 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 …]
|
D | CatchHandlerList.java | 136 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/ |
D | RegisterSpec.java | 171 public boolean equals(Object other) { in equals() argument 172 if (this == other) { in equals() 176 if (!(other instanceof RegisterSpec)) { in equals() 177 if (other instanceof ForComparison) { in equals() 178 ForComparison fc = (ForComparison) other; in equals() 184 RegisterSpec spec = (RegisterSpec) other; in equals() 198 public boolean equalsUsingSimpleType(RegisterSpec other) { in equalsUsingSimpleType() argument 199 if (!matchesVariable(other)) { in equalsUsingSimpleType() 203 return (reg == other.reg); in equalsUsingSimpleType() 215 public boolean matchesVariable(RegisterSpec other) { in matchesVariable() argument [all …]
|
D | SourcePosition.java | 97 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()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | RegisterSpec.java | 162 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 …]
|
D | SourcePosition.java | 97 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()
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstLiteral32.java | 38 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()
|
D | CstLiteral64.java | 38 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()
|
D | CstArray.java | 45 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() 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()
|
D | CstAnnotation.java | 45 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()
|
D | CstMemberRef.java | 50 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/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstLiteral32.java | 38 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()
|
D | CstLiteral64.java | 38 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()
|
D | CstArray.java | 47 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()
|
D | CstAnnotation.java | 45 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()
|
D | CstMemberRef.java | 50 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()
|
D | Constant.java | 48 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
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
D | NameValuePair.java | 65 public boolean equals(Object other) { in equals() argument 66 if (! (other instanceof NameValuePair)) { in equals() 70 NameValuePair otherPair = (NameValuePair) other; in equals() 83 public int compareTo(NameValuePair other) { in compareTo() argument 84 int result = name.compareTo(other.name); in compareTo() 90 return value.compareTo(other.value); in compareTo()
|
/dalvik/dx/src/com/android/dex/ |
D | FieldId.java | 47 public int compareTo(FieldId other) { in compareTo() argument 48 if (declaringClassIndex != other.declaringClassIndex) { in compareTo() 49 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); in compareTo() 51 if (nameIndex != other.nameIndex) { in compareTo() 52 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo() 54 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0 in compareTo()
|
D | MethodId.java | 47 public int compareTo(MethodId other) { in compareTo() argument 48 if (declaringClassIndex != other.declaringClassIndex) { in compareTo() 49 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex); in compareTo() 51 if (nameIndex != other.nameIndex) { in compareTo() 52 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo() 54 return Unsigned.compare(protoIndex, other.protoIndex); in compareTo()
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
D | NameValuePair.java | 68 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/dexgen/src/com/android/dexgen/dex/file/ |
D | OffsettedItem.java | 91 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
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | OffsettedItem.java | 91 public final boolean equals(Object other) { in equals() argument 92 if (this == other) { in equals() 96 OffsettedItem otherItem = (OffsettedItem) other; in equals() 115 public final int compareTo(OffsettedItem other) { in compareTo() argument 116 if (this == other) { in compareTo() 121 ItemType otherType = other.itemType(); in compareTo() 127 return compareTo0(other); in compareTo() 286 protected int compareTo0(OffsettedItem other) { in compareTo0() argument
|