Home
last modified time | relevance | path

Searched defs:obj (Results 1 – 25 of 111) sorted by relevance

12345

/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java75 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
95 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
105 public abstract void set(T obj, long newValue); in set()
115 public abstract void lazySet(T obj, long newValue); in lazySet()
124 public abstract long get(T obj); in get()
134 public long getAndSet(T obj, long newValue) { in getAndSet()
149 public long getAndIncrement(T obj) { in getAndIncrement()
165 public long getAndDecrement(T obj) { in getAndDecrement()
182 public long getAndAdd(T obj, long delta) { in getAndAdd()
198 public long incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicIntegerFieldUpdater.java72 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
92 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
102 public abstract void set(T obj, int newValue); in set()
112 public abstract void lazySet(T obj, int newValue); in lazySet()
121 public abstract int get(T obj); in get()
131 public int getAndSet(T obj, int newValue) { in getAndSet()
146 public int getAndIncrement(T obj) { in getAndIncrement()
162 public int getAndDecrement(T obj) { in getAndDecrement()
179 public int getAndAdd(T obj, int delta) { in getAndAdd()
195 public int incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicReferenceFieldUpdater.java90 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
108 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
118 public abstract void set(T obj, V newValue); in set()
128 public abstract void lazySet(T obj, V newValue); in lazySet()
137 public abstract V get(T obj); in get()
147 public V getAndSet(T obj, V newValue) { in getAndSet()
240 void targetCheck(T obj) { in targetCheck()
247 void updateCheck(T obj, V update) { in updateCheck()
255 public boolean compareAndSet(T obj, V expect, V update) { in compareAndSet()
263 public boolean weakCompareAndSet(T obj, V expect, V update) { in weakCompareAndSet()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java60 Object obj = Subject.doAs(null, pa); in test_doAs_01() local
66 Object obj = Subject.doAs(subj, pa); in test_doAs_01() local
72 Object obj = Subject.doAs(subj, paNull); in test_doAs_01() local
87 Object obj = Subject.doAs(null, pea); in test_doAs_02() local
93 Object obj = Subject.doAs(subj, pea); in test_doAs_02() local
99 Object obj = Subject.doAs(subj, peaNull); in test_doAs_02() local
129 Object obj = Subject.doAsPrivileged(null, pa, acc); in test_doAsPrivileged_01() local
135 Object obj = Subject.doAsPrivileged(subj, pa, acc); in test_doAsPrivileged_01() local
141 Object obj = Subject.doAsPrivileged(subj, paNull, acc); in test_doAsPrivileged_01() local
159 Object obj = Subject.doAsPrivileged(null, pea, acc); in test_doAsPrivileged_02() local
[all …]
/libcore/libart/src/main/java/sun/misc/
DUnsafe.java116 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
131 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
146 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
157 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
167 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
177 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
187 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
197 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
207 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
217 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DX509CRLSelectorTest.java42 X509CRLSelector obj = new X509CRLSelector(); in test_addIssuerLjavax_security_auth_x500_X500Principal01() local
56 X509CRLSelector obj = new X509CRLSelector(); in test_addIssuerNameLjava_lang_String01() local
90 X509CRLSelector obj = new X509CRLSelector(); in test_addIssuerName$B_3() local
104 X509CRLSelector obj = new X509CRLSelector(); in test_addIssuerName$B_4() local
/libcore/support/src/test/java/tests/util/
DSerializationTester.java91 public static boolean assertCompabilitySame(Object obj, String fileName) in assertCompabilitySame()
105 public static boolean assertCompabilityEquals(Object obj, String fileName) in assertCompabilityEquals()
118 public static Object readObject(Object obj, String fileName) in readObject()
158 public static void writeObject(Object obj, String fileName) in writeObject()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java89 Object obj = new Object(); in test_notify() local
99 Object obj = new Object(); in test_notifyAll() local
110 Object obj = new Object(); in test_wait() local
176 Object obj = new Object(); in test_waitJI() local
232 Object obj = new Object(); in test_waitJ() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedWriterTest.java196 PipedWriter obj = null; in test_write$CII_2() local
210 PipedWriter obj = null; in test_write$CII_3() local
224 PipedWriter obj = null; in test_write$CII_4() local
238 PipedWriter obj = null; in test_write$CII_5() local
254 PipedWriter obj = null; in test_write$CII_6() local
271 PipedWriter obj = new PipedWriter(); in test_write$CII_notConnected() local
DStringWriterTest.java97 StringWriter obj = null; in test_write$CII_2() local
110 StringWriter obj = null; in test_write$CII_3() local
123 StringWriter obj = null; in test_write$CII_4() local
DPipedReaderTest.java203 PipedReader obj = null; in test_read$CII_ExceptionPriority() local
214 PipedReader obj = null; in test_read$CII_ExceptionPriority2() local
225 PipedReader obj = null; in test_read$CII_ExceptionPriority3() local
DCharArrayWriterTest.java124 CharArrayWriter obj = new CharArrayWriter(); in test_write$CII_2() local
159 CharArrayWriter obj = new CharArrayWriter(); in test_writeLjava_lang_StringII_2() local
DPipedInputStreamTest.java217 PipedInputStream obj = new PipedInputStream(); in test_read$BII_2() local
229 PipedInputStream obj = new PipedInputStream(); in test_read$BII_3() local
241 PipedInputStream obj = new PipedInputStream(); in test_read$BII_4() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBufferTest.java176 StringBuffer obj = new StringBuffer(); in test_append$CII_2() local
189 StringBuffer obj = new StringBuffer(); in test_append$CII_3() local
326 StringBuffer obj = new StringBuffer(); in test_insertIC() local
457 StringBuffer obj = new StringBuffer(); in test_getCharsII$CI() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java231 ArrayList obj = new ArrayList(); in test_addAllILjava_util_Collection_2() local
298 ArrayList obj = new ArrayList(); in test_addAllILjava_util_Collection_3() local
300 obj.addAll(obj.size(), obj); in test_addAllILjava_util_Collection_3() local
310 obj.addAll(obj.size() + 1, obj); in test_addAllILjava_util_Collection_3() local
730 Object obj; in test_setILjava_lang_Object() local
751 alist.set(alist.size(), obj); in test_setILjava_lang_Object() local
803 Object[] obj = alist.toArray(); in test_toArray() local
DLinkedListTest.java197 LinkedList obj = new LinkedList(); in test_addAllILjava_util_Collection_2() local
565 Object obj; in test_setILjava_lang_Object() local
577 ll.set(ll.size() + 1, obj = new Object()); in test_setILjava_lang_Object() local
600 Object[] obj = ll.toArray(); in test_toArray() local
/libcore/luni/src/main/java/java/lang/annotation/
DAnnotation.java78 boolean equals(Object obj); in equals()
/libcore/luni/src/main/java/java/sql/
DRowId.java26 boolean equals(Object obj); in equals()
/libcore/luni/src/main/java/java/security/
DPrincipal.java37 public boolean equals( Object obj ); in equals()
DPermission.java30 public void checkGuard(Object obj) throws SecurityException { } in checkGuard()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DGuardedObjectTest.java38 Object obj = null; in testNoGuard() local
/libcore/support/src/test/java/tests/support/
DSupport_GetPutFieldsDefaulted.java77 public boolean equals(Object obj) { in equals()
99 public boolean equals(Object obj) { in equals()
DSupport_GetPutFields.java66 public boolean equals(Object obj) { in equals()
88 public boolean equals(Object obj) { in equals()
DSupport_GetPutFieldsDeprecated.java68 public boolean equals(Object obj) { in equals()
90 public boolean equals(Object obj) { in equals()
/libcore/luni/src/main/java/java/security/spec/
DECFieldFp.java76 public boolean equals(Object obj) { in equals()

12345