Searched refs:obj (Results 1 - 25 of 93) sorted by relevance

1234

/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicIntegerFieldUpdater.java62 * @param obj An object whose field to conditionally set
66 * @throws ClassCastException if {@code obj} is not an instance
69 public abstract boolean compareAndSet(T obj, int expect, int update); argument
82 * @param obj An object whose field to conditionally set
86 * @throws ClassCastException if {@code obj} is not an instance
89 public abstract boolean weakCompareAndSet(T obj, int expect, int update); argument
96 * @param obj An object whose field to set
99 public abstract void set(T obj, int newValue); argument
105 * @param obj An object whose field to set
109 public abstract void lazySet(T obj, in argument
119 get(T obj) argument
129 getAndSet(T obj, int newValue) argument
144 getAndIncrement(T obj) argument
160 getAndDecrement(T obj) argument
177 getAndAdd(T obj, int delta) argument
193 incrementAndGet(T obj) argument
209 decrementAndGet(T obj) argument
226 addAndGet(T obj, int delta) argument
275 fullCheck(T obj) argument
282 compareAndSet(T obj, int expect, int update) argument
287 weakCompareAndSet(T obj, int expect, int update) argument
292 set(T obj, int newValue) argument
297 lazySet(T obj, int newValue) argument
302 get(T obj) argument
307 ensureProtectedAccess(T obj) argument
[all...]
H A DAtomicLongFieldUpdater.java65 * @param obj An object whose field to conditionally set
69 * @throws ClassCastException if {@code obj} is not an instance
72 public abstract boolean compareAndSet(T obj, long expect, long update); argument
85 * @param obj An object whose field to conditionally set
89 * @throws ClassCastException if {@code obj} is not an instance
92 public abstract boolean weakCompareAndSet(T obj, long expect, long update); argument
99 * @param obj An object whose field to set
102 public abstract void set(T obj, long newValue); argument
108 * @param obj An object whose field to set
112 public abstract void lazySet(T obj, lon argument
121 get(T obj) argument
131 getAndSet(T obj, long newValue) argument
146 getAndIncrement(T obj) argument
162 getAndDecrement(T obj) argument
179 getAndAdd(T obj, long delta) argument
195 incrementAndGet(T obj) argument
211 decrementAndGet(T obj) argument
228 addAndGet(T obj, long delta) argument
273 fullCheck(T obj) argument
280 compareAndSet(T obj, long expect, long update) argument
285 weakCompareAndSet(T obj, long expect, long update) argument
290 set(T obj, long newValue) argument
295 lazySet(T obj, long newValue) argument
300 get(T obj) argument
305 ensureProtectedAccess(T obj) argument
358 fullCheck(T obj) argument
365 compareAndSet(T obj, long expect, long update) argument
376 weakCompareAndSet(T obj, long expect, long update) argument
380 set(T obj, long newValue) argument
387 lazySet(T obj, long newValue) argument
391 get(T obj) argument
398 ensureProtectedAccess(T obj) argument
[all...]
H A DAtomicReferenceFieldUpdater.java82 * @param obj An object whose field to conditionally set
87 public abstract boolean compareAndSet(T obj, V expect, V update); argument
100 * @param obj An object whose field to conditionally set
105 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument
112 * @param obj An object whose field to set
115 public abstract void set(T obj, V newValue); argument
121 * @param obj An object whose field to set
125 public abstract void lazySet(T obj, V newValue); argument
131 * @param obj An object whose field to get
134 public abstract V get(T obj); argument
144 getAndSet(T obj, V newValue) argument
209 targetCheck(T obj) argument
216 updateCheck(T obj, V update) argument
224 compareAndSet(T obj, V expect, V update) argument
232 weakCompareAndSet(T obj, V expect, V update) argument
241 set(T obj, V newValue) argument
249 lazySet(T obj, V newValue) argument
257 get(T obj) argument
263 ensureProtectedAccess(T obj) argument
[all...]
/libcore/luni/src/main/java/java/security/spec/
H A DECFieldFp.java71 * @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 DRowId.java26 boolean equals(Object obj); argument
/libcore/luni/src/main/java/sun/misc/
H A DUnsafe.java132 * @param obj non-null; object containing the field
133 * @param offset offset to the field within <code>obj</code>
140 public native boolean compareAndSwapInt(Object obj, long offset, argument
147 * @param obj non-null; object containing the field
148 * @param offset offset to the field within <code>obj</code>
155 public native boolean compareAndSwapLong(Object obj, long offset, argument
162 * @param obj non-null; object containing the field
163 * @param offset offset to the field within <code>obj</code>
170 public native boolean compareAndSwapObject(Object obj, long offset, argument
177 * @param obj no
181 getIntVolatile(Object obj, long offset) argument
191 putIntVolatile(Object obj, long offset, int newValue) argument
201 getLongVolatile(Object obj, long offset) argument
211 putLongVolatile(Object obj, long offset, long newValue) argument
221 getObjectVolatile(Object obj, long offset) argument
231 putObjectVolatile(Object obj, long offset, Object newValue) argument
241 getInt(Object obj, long offset) argument
250 putInt(Object obj, long offset, int newValue) argument
255 putOrderedInt(Object obj, long offset, int newValue) argument
264 getLong(Object obj, long offset) argument
273 putLong(Object obj, long offset, long newValue) argument
278 putOrderedLong(Object obj, long offset, long newValue) argument
287 getObject(Object obj, long offset) argument
296 putObject(Object obj, long offset, Object newValue) argument
301 putOrderedObject(Object obj, long offset, Object newValue) argument
335 unpark(Object obj) argument
[all...]
/libcore/luni/src/main/java/java/lang/annotation/
H A DAnnotation.java72 * @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 DPrincipal.java31 * @param obj
37 public boolean equals( Object obj );
H A DCodeSigner.java62 * @param obj
69 public boolean equals(Object obj) { argument
70 if (obj == this) {
73 if (obj instanceof CodeSigner) {
74 CodeSigner that = (CodeSigner) obj;
H A DPermission.java30 public void checkGuard(Object obj) throws SecurityException { } argument
H A DTimestamp.java70 * @param obj
78 public boolean equals(Object obj) { argument
79 if (obj == this) {
82 if (obj instanceof Timestamp) {
83 Timestamp that = (Timestamp) obj;
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLSelectorTest.java42 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 DGuardedObjectTest.java38 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/luni/src/main/java/javax/security/cert/
H A DCertificate.java49 * @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/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java66 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 DSupport_GetPutFieldsDefaulted.java77 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 DSupport_GetPutFieldsDeprecated.java68 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 DObjectOutput.java86 * 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 DInterfaceAddress.java73 * @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 DProxy.java117 * 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;
/libcore/luni/src/main/java/javax/crypto/spec/
H A DRC2ParameterSpec.java127 * @param obj
133 public boolean equals(Object obj) { argument
134 if (obj == this) {
137 if (!(obj instanceof RC2ParameterSpec)) {
140 RC2ParameterSpec ps = (RC2ParameterSpec) obj;
H A DSecretKeySpec.java161 * @param obj
167 public boolean equals(Object obj) { argument
168 if (obj == this) {
171 if (!(obj instanceof SecretKeySpec)) {
174 SecretKeySpec ks = (SecretKeySpec) obj;
/libcore/
H A Drun-libcore-tests24 --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 \
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldObjectTest.java79 Object obj = new Object();
80 obj.notify();
89 Object obj = new Object();
90 obj.notifyAll();
100 Object obj = new Object();
101 obj.wait();
166 Object obj = new Object();
167 obj.wait(5000L, 1);
222 Object obj = new Object();
223 obj
[all...]
/libcore/luni/src/main/java/java/lang/reflect/
H A DAccessibleObject.java271 * @param obj the generic type which representation should be appended to the buffer
275 void appendGenericType(StringBuilder sb, Type obj) { argument
276 if (obj instanceof TypeVariable) {
277 sb.append(((TypeVariable)obj).getName());
278 } else if (obj instanceof ParameterizedType) {
279 sb.append(obj.toString());
280 } else if (obj instanceof GenericArrayType) { //XXX: is it a working branch?
281 Type simplified = ((GenericArrayType)obj).getGenericComponentType();
284 } else if (obj instanceof Class) {
285 Class c = ((Class<?>)obj);
[all...]

Completed in 2539 milliseconds

1234