/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicLongFieldUpdater.java | 68 * @param obj An object whose field to conditionally set 72 * @throws ClassCastException if {@code obj} is not an instance 75 public abstract boolean compareAndSet(T obj, long expect, long update); argument 88 * @param obj An object whose field to conditionally set 92 * @throws ClassCastException if {@code obj} is not an instance 95 public abstract boolean weakCompareAndSet(T obj, long expect, long update); argument 102 * @param obj An object whose field to set 105 public abstract void set(T obj, long newValue); argument 111 * @param obj An object whose field to set 115 public abstract void lazySet(T obj, lon argument 124 get(T obj) argument 134 getAndSet(T obj, long newValue) argument 149 getAndIncrement(T obj) argument 165 getAndDecrement(T obj) argument 182 getAndAdd(T obj, long delta) argument 198 incrementAndGet(T obj) argument 214 decrementAndGet(T obj) argument 231 addAndGet(T obj, long delta) argument 285 fullCheck(T obj) argument 292 compareAndSet(T obj, long expect, long update) argument 297 weakCompareAndSet(T obj, long expect, long update) argument 302 set(T obj, long newValue) argument 307 lazySet(T obj, long newValue) argument 312 get(T obj) argument 317 ensureProtectedAccess(T obj) argument 379 fullCheck(T obj) argument 386 compareAndSet(T obj, long expect, long update) argument 397 weakCompareAndSet(T obj, long expect, long update) argument 401 set(T obj, long newValue) argument 408 lazySet(T obj, long newValue) argument 412 get(T obj) argument 419 ensureProtectedAccess(T obj) argument [all...] |
H A D | AtomicIntegerFieldUpdater.java | 68 * @param obj An object whose field to conditionally set 72 * @throws ClassCastException if {@code obj} is not an instance 75 public abstract boolean compareAndSet(T obj, int expect, int update); argument 88 * @param obj An object whose field to conditionally set 92 * @throws ClassCastException if {@code obj} is not an instance 95 public abstract boolean weakCompareAndSet(T obj, int expect, int update); argument 102 * @param obj An object whose field to set 105 public abstract void set(T obj, int newValue); argument 111 * @param obj An object whose field to set 115 public abstract void lazySet(T obj, in argument 124 get(T obj) argument 134 getAndSet(T obj, int newValue) argument 149 getAndIncrement(T obj) argument 165 getAndDecrement(T obj) argument 182 getAndAdd(T obj, int delta) argument 198 incrementAndGet(T obj) argument 214 decrementAndGet(T obj) argument 231 addAndGet(T obj, int delta) argument 306 fullCheck(T obj) argument 313 compareAndSet(T obj, int expect, int update) argument 318 weakCompareAndSet(T obj, int expect, int update) argument 323 set(T obj, int newValue) argument 328 lazySet(T obj, int newValue) argument 333 get(T obj) argument 338 ensureProtectedAccess(T obj) argument [all...] |
H A D | AtomicReferenceFieldUpdater.java | 87 * @param obj An object whose field to conditionally set 92 public abstract boolean compareAndSet(T obj, V expect, V update); argument 105 * @param obj An object whose field to conditionally set 110 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument 117 * @param obj An object whose field to set 120 public abstract void set(T obj, V newValue); argument 126 * @param obj An object whose field to set 130 public abstract void lazySet(T obj, V newValue); argument 136 * @param obj An object whose field to get 139 public abstract V get(T obj); argument 149 getAndSet(T obj, V newValue) argument 242 targetCheck(T obj) argument 249 updateCheck(T obj, V update) argument 257 compareAndSet(T obj, V expect, V update) argument 265 weakCompareAndSet(T obj, V expect, V update) argument 274 set(T obj, V newValue) argument 282 lazySet(T obj, V newValue) argument 291 get(T obj) argument 297 ensureProtectedAccess(T obj) argument [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
H A D | ECFieldFp.java | 71 * @param obj 76 public boolean equals(Object obj) { argument 78 if (this == obj) { 81 if (obj instanceof ECFieldFp) { 82 return (this.p.equals(((ECFieldFp)obj).p));
|
/libcore/luni/src/main/java/java/sql/ |
H A D | RowId.java | 26 boolean equals(Object obj); argument
|
/libcore/libart/src/main/java/sun/misc/ |
H A D | Unsafe.java | 108 * @param obj non-null; object containing the field 109 * @param offset offset to the field within <code>obj</code> 116 public native boolean compareAndSwapInt(Object obj, long offset, argument 123 * @param obj non-null; object containing the field 124 * @param offset offset to the field within <code>obj</code> 131 public native boolean compareAndSwapLong(Object obj, long offset, argument 138 * @param obj non-null; object containing the field 139 * @param offset offset to the field within <code>obj</code> 146 public native boolean compareAndSwapObject(Object obj, long offset, argument 153 * @param obj no 157 getIntVolatile(Object obj, long offset) argument 167 putIntVolatile(Object obj, long offset, int newValue) argument 177 getLongVolatile(Object obj, long offset) argument 187 putLongVolatile(Object obj, long offset, long newValue) argument 197 getObjectVolatile(Object obj, long offset) argument 207 putObjectVolatile(Object obj, long offset, Object newValue) argument 217 getInt(Object obj, long offset) argument 226 putInt(Object obj, long offset, int newValue) argument 231 putOrderedInt(Object obj, long offset, int newValue) argument 240 getLong(Object obj, long offset) argument 249 putLong(Object obj, long offset, long newValue) argument 254 putOrderedLong(Object obj, long offset, long newValue) argument 263 getObject(Object obj, long offset) argument 272 putObject(Object obj, long offset, Object newValue) argument 277 putOrderedObject(Object obj, long offset, Object newValue) argument 311 unpark(Object obj) argument [all...] |
/libcore/luni/src/main/java/java/lang/annotation/ |
H A D | Annotation.java | 72 * @param obj 75 * @return {@code true} if {@code obj} is equal to this annotation, 78 boolean equals(Object obj); argument
|
/libcore/luni/src/main/java/java/security/ |
H A D | Principal.java | 31 * @param obj 37 public boolean equals( Object obj );
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CRLSelectorTest.java | 42 X509CRLSelector obj = new X509CRLSelector(); 44 obj.addIssuer((X500Principal) null); 56 X509CRLSelector obj = new X509CRLSelector(); 58 obj.addIssuerName("234"); 90 X509CRLSelector obj = new X509CRLSelector(); 92 obj.addIssuerName(new byte[] { (byte) 2, (byte) 3, (byte) 4 }); 104 X509CRLSelector obj = new X509CRLSelector(); 106 obj.addIssuerName((byte[]) null);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | GuardedObjectTest.java | 38 Object obj = null; 39 GuardedObject go = new GuardedObject(obj, null); 42 obj = "ewte rtw3456"; 43 go = new GuardedObject(obj, null); 44 assertEquals(obj, go.getObject());
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
H A D | CompressionMethod.java | 60 public boolean equals(Object obj) { argument 61 if (this == obj) { 64 if (obj == null) { 67 if (getClass() != obj.getClass()) { 70 CompressionMethod other = (CompressionMethod) obj;
|
/libcore/luni/src/main/java/javax/security/cert/ |
H A D | Certificate.java | 49 * @param obj 51 * @return <code>true</code> if {@code obj} is the same as this 55 public boolean equals(Object obj) { argument 56 if (obj == this) { 59 if (!(obj instanceof Certificate)) { 62 Certificate object = (Certificate) obj;
|
/libcore/ |
H A D | run-libcore-tests | 24 --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar \ 25 --classpath out/target/common/obj/JAVA_LIBRARIES/sqlite-jdbc_intermediates/classes.jar \ 26 --classpath out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar \ 27 --classpath out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar \
|
/libcore/support/src/test/java/tests/util/ |
H A D | SerializationTester.java | 86 * @param obj the object to be checked 91 public static boolean assertCompabilitySame(Object obj, String fileName) argument 93 return obj == readObject(obj, fileName); 100 * @param obj the object to be checked 105 public static boolean assertCompabilityEquals(Object obj, String fileName) argument 107 return obj.equals(readObject(obj, fileName)); 113 * @param obj the object to be serialized if no serialization file is found 118 public static Object readObject(Object obj, Strin argument 158 writeObject(Object obj, String fileName) argument [all...] |
H A D | Pair.java | 79 public boolean equals(Object obj) { argument 80 if (this == obj) { 83 if (obj == null) { 86 if (getClass() != obj.getClass()) { 90 Pair other = (Pair) obj;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | StringWriterTest.java | 97 StringWriter obj = null; 99 obj = new StringWriter(); 100 obj.write(new char[0], (int) 0, (int) -1); 110 StringWriter obj = null; 112 obj = new StringWriter(); 113 obj.write(new char[0], (int) -1, (int) 0); 123 StringWriter obj = null; 125 obj = new StringWriter(); 126 obj.write(new char[0], (int) -1, (int) -1);
|
H A D | PipedWriterTest.java | 196 PipedWriter obj = null; 198 obj = new java.io.PipedWriter(pr); 199 obj.write(new char[0], (int) 0, (int) -1); 210 PipedWriter obj = null; 212 obj = new java.io.PipedWriter(pr); 213 obj.write(new char[0], (int) -1, (int) 0); 224 PipedWriter obj = null; 226 obj = new java.io.PipedWriter(pr); 227 obj.write(new char[0], (int) -1, (int) -1); 238 PipedWriter obj [all...] |
/libcore/benchmarks/src/benchmarks/ |
H A D | ReferenceGetBenchmark.java | 30 private Object obj = "str"; field in class:ReferenceGetBenchmark 39 Reference soft = new SoftReference(obj); 46 Reference weak = new WeakReference(obj); 53 Reference weak = new WeakReference(obj); 54 obj = null;
|
/libcore/support/src/test/java/libcore/tlswire/util/ |
H A D | TlsProtocolVersion.java | 78 public boolean equals(Object obj) { argument 79 if (this == obj) { 82 if (obj == null) { 85 if (getClass() != obj.getClass()) { 88 TlsProtocolVersion other = (TlsProtocolVersion) obj;
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetPutFields.java | 66 public boolean equals(Object obj) { argument 67 if (obj == null || obj.getClass() != this.getClass()) { 71 SimpleClass other = (SimpleClass) obj; 88 public boolean equals(Object obj) { argument 89 if (obj == null || obj.getClass() != this.getClass()) { 93 Support_GetPutFields other = (Support_GetPutFields) obj;
|
H A D | Support_GetPutFieldsDefaulted.java | 77 public boolean equals(Object obj) { argument 78 if (obj == null || obj.getClass() != this.getClass()) { 82 SimpleClass other = (SimpleClass) obj; 99 public boolean equals(Object obj) { argument 100 if (obj == null || obj.getClass() != this.getClass()) { 104 Support_GetPutFieldsDefaulted other = (Support_GetPutFieldsDefaulted) obj;
|
H A D | Support_GetPutFieldsDeprecated.java | 68 public boolean equals(Object obj) { argument 69 if (obj == null || obj.getClass() != this.getClass()) { 73 SimpleClass other = (SimpleClass) obj; 90 public boolean equals(Object obj) { argument 91 if (obj == null || obj.getClass() != this.getClass()) { 95 Support_GetPutFields other = (Support_GetPutFields) obj;
|
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutput.java | 86 * Writes the specified object {@code obj} to the target stream. 88 * @param obj 93 public void writeObject(Object obj) throws IOException; argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | InterfaceAddress.java | 73 * @param obj the object to be compared. 74 * @return true if 'obj' is equal to this InterfaceAddress, false otherwise. 77 public boolean equals(Object obj) { argument 78 if (obj == this){ 81 if (!(obj instanceof InterfaceAddress)) { 84 InterfaceAddress rhs = (InterfaceAddress) obj;
|
H A D | Proxy.java | 117 * Compares the specified {@code obj} to this {@code Proxy} instance and 122 * @param obj 129 public final boolean equals(Object obj) { argument 130 if (this == obj) { 133 if (!(obj instanceof Proxy)) { 136 Proxy another = (Proxy) obj;
|