Home
last modified time | relevance | path

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

1234567891011

/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java82 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
102 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
112 public abstract void set(T obj, int newValue); in set()
122 public abstract void lazySet(T obj, int newValue); in lazySet()
131 public abstract int get(T obj); in get()
141 public int getAndSet(T obj, int newValue) { in getAndSet()
156 public int getAndIncrement(T obj) { in getAndIncrement()
172 public int getAndDecrement(T obj) { in getAndDecrement()
189 public int getAndAdd(T obj, int delta) { in getAndAdd()
205 public int incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicLongFieldUpdater.java85 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
105 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
115 public abstract void set(T obj, long newValue); in set()
125 public abstract void lazySet(T obj, long newValue); in lazySet()
134 public abstract long get(T obj); in get()
144 public long getAndSet(T obj, long newValue) { in getAndSet()
159 public long getAndIncrement(T obj) { in getAndIncrement()
175 public long getAndDecrement(T obj) { in getAndDecrement()
192 public long getAndAdd(T obj, long delta) { in getAndAdd()
208 public long incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicReferenceFieldUpdater.java102 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
120 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
130 public abstract void set(T obj, V newValue); in set()
140 public abstract void lazySet(T obj, V newValue); in lazySet()
149 public abstract V get(T obj); in get()
159 public V getAndSet(T obj, V newValue) { in getAndSet()
178 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate()
198 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet()
222 public final V getAndAccumulate(T obj, V x, in getAndAccumulate()
247 public final V accumulateAndGet(T obj, V x, in accumulateAndGet()
[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/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/ojluni/src/main/java/sun/misc/
DUnsafe.java128 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
143 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
158 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
169 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
179 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
189 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
199 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
209 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
219 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
229 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/ojluni/src/main/native/
Djni_util.h278 #define IS_NULL(obj) ((obj) == NULL) argument
279 #define JNU_IsNull(env,obj) ((obj) == NULL) argument
318 #define JNU_GetLongFieldAsPtr(env,obj,id) \ argument
320 #define JNU_SetLongFieldFromPtr(env,obj,id,val) \ argument
DMappedByteBuffer.c40 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, in Java_java_nio_MappedByteBuffer_isLoaded0()
77 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, in Java_java_nio_MappedByteBuffer_load0()
89 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0()
/libcore/ojluni/src/main/java/java/util/
DObjects.java201 public static <T> T requireNonNull(T obj) { in requireNonNull()
226 public static <T> T requireNonNull(T obj, String message) { in requireNonNull()
246 public static boolean isNull(Object obj) { in isNull()
264 public static boolean nonNull(Object obj) { in nonNull()
288 public static <T> T requireNonNull(T obj, Supplier<String> messageSupplier) { in requireNonNull()
/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/ojluni/src/main/java/java/io/
DSerialCallbackContext.java40 private final Object obj; field in SerialCallbackContext
48 public SerialCallbackContext(Object obj, ObjectStreamClass desc) { in SerialCallbackContext()
DObjectStreamClass.java972 void invokeWriteObject(Object obj, ObjectOutputStream out) in invokeWriteObject()
1000 void invokeReadObject(Object obj, ObjectInputStream in) in invokeReadObject()
1031 void invokeReadObjectNoData(Object obj) in invokeReadObjectNoData()
1059 Object invokeWriteReplace(Object obj) in invokeWriteReplace()
1088 Object invokeReadResolve(Object obj) in invokeReadResolve()
1221 void getPrimFieldValues(Object obj, byte[] buf) { in getPrimFieldValues()
1231 void setPrimFieldValues(Object obj, byte[] buf) { in setPrimFieldValues()
1240 void getObjFieldValues(Object obj, Object[] vals) { in getObjFieldValues()
1249 void setObjFieldValues(Object obj, Object[] vals) { in setObjFieldValues()
1928 void getPrimFieldValues(Object obj, byte[] buf) { in getPrimFieldValues()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/http/
DKeepAliveCache.java79 public synchronized void put(final URL url, Object obj, HttpClient http) { in put()
133 public synchronized void remove (HttpClient h, Object obj) { in remove()
154 public synchronized HttpClient get(URL url, Object obj) { in get()
299 private Object obj = null; // additional key, such as socketfactory field in KeepAliveKey
306 public KeepAliveKey(URL url, Object obj) { in KeepAliveKey()
317 public boolean equals(Object obj) { in equals()
/libcore/benchmarks/src/benchmarks/regression/
DDecimalFormatBenchmark.java29 public static void formatWithGrouping(Object obj, int reps) { in formatWithGrouping()
37 public static void format(String pattern, Object obj, int reps) { in format()
44 public static void format(Object obj, int reps) { in format()
50 public static void formatToCharacterIterator(Object obj, int reps) { in formatToCharacterIterator()
57 public static void formatCurrencyUS(Object obj, int reps) { in formatCurrencyUS()
63 public static void formatCurrencyFR(Object obj, int reps) { in formatCurrencyFR()
/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
/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/ojluni/src/main/java/java/sql/
DRowId.java84 boolean equals(Object obj); in equals()
/libcore/ojluni/src/main/java/java/lang/annotation/
DAnnotation.java77 boolean equals(Object obj); in equals()
/libcore/ojluni/src/main/java/java/net/
DContentHandler.java100 Object obj = getContent(urlc); in getContent() local
/libcore/ojluni/src/main/java/java/text/
DFormat.java156 public final String format (Object obj) { in format()
178 public abstract StringBuffer format(Object obj, in format()
205 public AttributedCharacterIterator formatToCharacterIterator(Object obj) { in formatToCharacterIterator()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DGuardedObjectTest.java38 Object obj = null; in testNoGuard() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java237 ArrayList obj = new ArrayList(); in test_addAllILjava_util_Collection_2() local
304 ArrayList obj = new ArrayList(); in test_addAllILjava_util_Collection_3() local
306 obj.addAll(obj.size(), obj); in test_addAllILjava_util_Collection_3() local
316 obj.addAll(obj.size() + 1, obj); in test_addAllILjava_util_Collection_3() local
736 Object obj; in test_setILjava_lang_Object() local
757 alist.set(alist.size(), obj); in test_setILjava_lang_Object() local
809 Object[] obj = alist.toArray(); in test_toArray() local

1234567891011