Home
last modified time | relevance | path

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

12345678910>>...12

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java111 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
131 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
141 public abstract void set(T obj, int newValue); in set()
151 public abstract void lazySet(T obj, int newValue); in lazySet()
160 public abstract int get(T obj); in get()
170 public int getAndSet(T obj, int newValue) { in getAndSet()
185 public int getAndIncrement(T obj) { in getAndIncrement()
201 public int getAndDecrement(T obj) { in getAndDecrement()
218 public int getAndAdd(T obj, int delta) { in getAndAdd()
234 public int incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicLongFieldUpdater.java114 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
134 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
144 public abstract void set(T obj, long newValue); in set()
154 public abstract void lazySet(T obj, long newValue); in lazySet()
163 public abstract long get(T obj); in get()
173 public long getAndSet(T obj, long newValue) { in getAndSet()
188 public long getAndIncrement(T obj) { in getAndIncrement()
204 public long getAndDecrement(T obj) { in getAndDecrement()
221 public long getAndAdd(T obj, long delta) { in getAndAdd()
237 public long incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicReferenceFieldUpdater.java131 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
149 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
159 public abstract void set(T obj, V newValue); in set()
169 public abstract void lazySet(T obj, V newValue); in lazySet()
178 public abstract V get(T obj); in get()
188 public V getAndSet(T obj, V newValue) { in getAndSet()
207 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate()
227 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet()
251 public final V getAndAccumulate(T obj, V x, in getAndAccumulate()
276 public final V accumulateAndGet(T obj, V x, in accumulateAndGet()
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DField.java198 public boolean equals(Object obj) { in equals()
323 public native Object get(Object obj) in get()
349 public native boolean getBoolean(Object obj) in getBoolean()
375 public native byte getByte(Object obj) in getByte()
403 public native char getChar(Object obj) in getChar()
431 public native short getShort(Object obj) in getShort()
459 public native int getInt(Object obj) in getInt()
487 public native long getLong(Object obj) in getLong()
515 public native float getFloat(Object obj) in getFloat()
543 public native double getDouble(Object obj) in getDouble()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java89 Object obj = Subject.doAs(null, pa); in test_doAs_01() local
95 Object obj = Subject.doAs(subj, pa); in test_doAs_01() local
101 Object obj = Subject.doAs(subj, paNull); in test_doAs_01() local
116 Object obj = Subject.doAs(null, pea); in test_doAs_02() local
122 Object obj = Subject.doAs(subj, pea); in test_doAs_02() local
128 Object obj = Subject.doAs(subj, peaNull); in test_doAs_02() local
158 Object obj = Subject.doAsPrivileged(null, pa, acc); in test_doAsPrivileged_01() local
164 Object obj = Subject.doAsPrivileged(subj, pa, acc); in test_doAsPrivileged_01() local
170 Object obj = Subject.doAsPrivileged(subj, paNull, acc); in test_doAsPrivileged_01() local
188 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.java132 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
148 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
164 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
176 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
187 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
198 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
209 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
220 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
231 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
242 public native int getInt(Object obj, long offset); in getInt()
[all …]
DJavaIOFileDescriptorAccess.java34 public void set(FileDescriptor obj, int fd); in set()
38 public void setHandle(FileDescriptor obj, long handle); in setHandle()
39 public long getHandle(FileDescriptor obj); in getHandle()
/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/ojluni/src/main/java/java/lang/invoke/
DMethodHandleStatics.java140 /*non-public*/ static RuntimeException newIllegalStateException(String message, Object obj) { in newIllegalStateException()
146 /*non-public*/ static RuntimeException newIllegalArgumentException(String message, Object obj) { in newIllegalArgumentException()
149 …/*non-public*/ static RuntimeException newIllegalArgumentException(String message, Object obj, Obj… in newIllegalArgumentException()
161 private static String message(String message, Object obj) { in message()
165 private static String message(String message, Object obj, Object obj2) { in message()
/libcore/ojluni/src/main/native/
Djni_util.h278 #define IS_NULL(obj) ((obj) == NULL) argument
279 #define JNU_IsNull(env,obj) ((obj) == NULL) argument
337 #define JNU_GetLongFieldAsPtr(env,obj,id) \ argument
339 #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/sun/nio/fs/
DUnixFileSystemProvider.java101 UnixPath checkPath(Path obj) { in checkPath()
111 public <V extends FileAttributeView> V getFileAttributeView(Path obj, in getFileAttributeView()
148 protected DynamicFileAttributeView getFileAttributeView(Path obj, in getFileAttributeView()
166 public FileChannel newFileChannel(Path obj, in newFileChannel()
183 public AsynchronousFileChannel newAsynchronousFileChannel(Path obj, in newAsynchronousFileChannel()
203 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
220 boolean implDelete(Path obj, boolean failIfNotExists) throws IOException { in implDelete()
268 public void checkAccess(Path obj, AccessMode... modes) throws IOException { in checkAccess()
345 public boolean isHidden(Path obj) { in isHidden()
361 public FileStore getFileStore(Path obj) throws IOException { in getFileStore()
[all …]
DLinuxFileSystemProvider.java58 public <V extends FileAttributeView> V getFileAttributeView(Path obj, in getFileAttributeView()
78 public DynamicFileAttributeView getFileAttributeView(Path obj, in getFileAttributeView()
/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()
/libcore/ojluni/src/main/java/java/lang/
DObject.java111 /* package-private */ static int identityHashCode(Object obj) { in identityHashCode()
123 private static native int identityHashCodeNative(Object obj); in identityHashCodeNative()
171 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/net/
DSocketSecrets.java36 … private static <T> void setOption(Object obj, SocketOption<T> name, T value) throws IOException { in setOption()
49 private static <T> T getOption(Object obj, SocketOption<T> name) throws IOException { in getOption()
/libcore/ojluni/src/main/java/java/lang/annotation/
DAnnotation.java81 boolean equals(Object obj); in equals()

12345678910>>...12