Searched refs:other (Results 1 - 25 of 64) sorted by relevance

123

/libcore/luni/src/main/java/java/security/spec/
H A DECPoint.java83 * @param other
88 public boolean equals(Object other) { argument
89 if (this == other) {
92 if (other instanceof ECPoint) {
94 ECPoint otherPoint = (ECPoint)other;
99 return other == POINT_INFINITY;
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java71 SimpleClass other = (SimpleClass) obj;
72 return (a == other.getA() && b.equals(other.getB()));
93 Support_GetPutFields other = (Support_GetPutFields) obj;
94 return (booleanValue == other.booleanValue &&
95 byteValue == other.byteValue &&
96 charValue == other.charValue &&
97 doubleValue == other.doubleValue &&
98 floatValue == other.floatValue &&
99 longValue == other
[all...]
H A DSupport_GetPutFieldsDefaulted.java82 SimpleClass other = (SimpleClass) obj;
83 return (a == other.getA() && b.equals(other.getB()));
104 Support_GetPutFieldsDefaulted other = (Support_GetPutFieldsDefaulted) obj;
105 return (booleanValue == other.booleanValue &&
106 byteValue == other.byteValue &&
107 charValue == other.charValue &&
108 doubleValue == other.doubleValue &&
109 floatValue == other.floatValue &&
110 longValue == other
[all...]
H A DSupport_GetPutFieldsDeprecated.java73 SimpleClass other = (SimpleClass) obj;
74 return (a == other.getA() && b.equals(other.getB()));
95 Support_GetPutFields other = (Support_GetPutFields) obj;
96 return (booleanValue == other.booleanValue &&
97 byteValue == other.byteValue &&
98 charValue == other.charValue &&
99 doubleValue == other.doubleValue &&
100 floatValue == other.floatValue &&
101 longValue == other
[all...]
/libcore/luni/src/main/java/java/security/cert/
H A DX509CRLEntry.java40 * @param other
45 public boolean equals(Object other) { argument
46 if (other == this) {
49 if (!(other instanceof X509CRLEntry)) {
52 X509CRLEntry obj = (X509CRLEntry) other;
/libcore/luni/src/main/java/java/nio/
H A DReadOnlyCharArrayBuffer.java34 static ReadOnlyCharArrayBuffer copy(CharArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyCharArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyDoubleArrayBuffer.java34 static ReadOnlyDoubleArrayBuffer copy(DoubleArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyDoubleArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyFloatArrayBuffer.java34 static ReadOnlyFloatArrayBuffer copy(FloatArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyFloatArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyIntArrayBuffer.java34 static ReadOnlyIntArrayBuffer copy(IntArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyIntArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyLongArrayBuffer.java34 static ReadOnlyLongArrayBuffer copy(LongArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyLongArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyShortArrayBuffer.java34 static ReadOnlyShortArrayBuffer copy(ShortArrayBuffer other, int markOfOther) { argument
36 new ReadOnlyShortArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadOnlyDirectByteBuffer.java32 static ReadOnlyDirectByteBuffer copy(DirectByteBuffer other, int markOfOther) { argument
33 ReadOnlyDirectByteBuffer buf = new ReadOnlyDirectByteBuffer(other.block, other.capacity(), other.offset);
34 buf.limit = other.limit;
35 buf.position = other.position();
H A DReadOnlyHeapByteBuffer.java34 static ReadOnlyHeapByteBuffer copy(HeapByteBuffer other, int markOfOther) { argument
36 new ReadOnlyHeapByteBuffer(other.backingArray, other.capacity(), other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadWriteCharArrayBuffer.java33 static ReadWriteCharArrayBuffer copy(CharArrayBuffer other, int markOfOther) { argument
35 new ReadWriteCharArrayBuffer(other.capacity(), other.backingArray, other.offset);
36 buf.limit = other.limit;
37 buf.position = other.position();
H A DReadWriteDoubleArrayBuffer.java34 static ReadWriteDoubleArrayBuffer copy(DoubleArrayBuffer other, int markOfOther) { argument
36 new ReadWriteDoubleArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadWriteFloatArrayBuffer.java34 static ReadWriteFloatArrayBuffer copy(FloatArrayBuffer other, int markOfOther) { argument
36 new ReadWriteFloatArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DReadWriteIntArrayBuffer.java33 static ReadWriteIntArrayBuffer copy(IntArrayBuffer other, int markOfOther) { argument
35 new ReadWriteIntArrayBuffer(other.capacity(), other.backingArray, other.offset);
36 buf.limit = other.limit;
37 buf.position = other.position();
H A DReadWriteLongArrayBuffer.java33 static ReadWriteLongArrayBuffer copy(LongArrayBuffer other, int markOfOther) { argument
35 new ReadWriteLongArrayBuffer(other.capacity(), other.backingArray, other.offset);
36 buf.limit = other.limit;
37 buf.position = other.position();
H A DReadWriteShortArrayBuffer.java34 static ReadWriteShortArrayBuffer copy(ShortArrayBuffer other, int markOfOther) { argument
36 new ReadWriteShortArrayBuffer(other.capacity(), other.backingArray, other.offset);
37 buf.limit = other.limit;
38 buf.position = other.position();
H A DCharSequenceAdapter.java34 static CharSequenceAdapter copy(CharSequenceAdapter other) { argument
35 CharSequenceAdapter buf = new CharSequenceAdapter(other.sequence);
36 buf.limit = other.limit;
37 buf.position = other.position;
38 buf.mark = other.mark;
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLDSAParams.java101 OpenSSLDSAParams other = (OpenSSLDSAParams) o;
107 if (key == other.getOpenSSLKey()) {
118 DSAParams other = (DSAParams) o;
119 return g.equals(other.getG()) && p.equals(other.getP()) && q.equals(other.getQ());
H A DOpenSSLRSAPrivateCrtKey.java195 OpenSSLRSAPrivateKey other = (OpenSSLRSAPrivateKey) o;
201 if (getOpenSSLKey().equals(other.getOpenSSLKey())) {
205 return NativeCrypto.EVP_PKEY_cmp(getPkeyContext(), other.getPkeyContext()) == 1;
210 RSAPrivateCrtKey other = (RSAPrivateCrtKey) o;
213 return getModulus().equals(other.getModulus())
214 && publicExponent.equals(other.getPublicExponent());
216 return getModulus().equals(other.getModulus())
217 && publicExponent.equals(other.getPublicExponent())
218 && getPrivateExponent().equals(other.getPrivateExponent())
219 && primeP.equals(other
[all...]
H A DOpenSSLKey.java75 OpenSSLKey other = (OpenSSLKey) o;
76 if (ctx != other.getPkeyContext()) {
81 return other.getEngine() == null;
83 return engine.equals(other.getEngine());
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java34 @Override public int compareTo(CollationKey other) { argument
35 // Get the bytes from the other collation key.
37 if (other instanceof CollationKeyICU) {
38 rhsBytes = ((CollationKeyICU) other).bytes;
40 rhsBytes = other.toByteArray();
/libcore/dom/src/test/java/org/w3c/domts/
H A DDocumentBuilderSettingStrategy.java33 public boolean hasConflict(DocumentBuilderSettingStrategy other) { argument
34 return (other == this);
188 public boolean hasConflict(DocumentBuilderSettingStrategy other) {
189 if (other == this ||
190 other == DocumentBuilderSettingStrategy.namespaceAware ||
191 other == DocumentBuilderSettingStrategy.validating) {

Completed in 450 milliseconds

123