Home
last modified time | relevance | path

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

12345678910>>...19

/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DField.annotated.java50 …oolean equals(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); } in equals()
58 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in get()
60 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getBoolean()
62 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getByte()
64 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getChar()
66 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getShort()
68 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getInt()
70 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getLong()
72 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getFloat()
74 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getDouble()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java114 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
132 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
142 public abstract void set(T obj, int newValue); in set()
152 public abstract void lazySet(T obj, int newValue); in lazySet()
161 public abstract int get(T obj); in get()
171 public int getAndSet(T obj, int newValue) { in getAndSet()
186 public int getAndIncrement(T obj) { in getAndIncrement()
202 public int getAndDecrement(T obj) { in getAndDecrement()
219 public int getAndAdd(T obj, int delta) { in getAndAdd()
235 public int incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicLongFieldUpdater.java117 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
135 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
145 public abstract void set(T obj, long newValue); in set()
155 public abstract void lazySet(T obj, long newValue); in lazySet()
164 public abstract long get(T obj); in get()
174 public long getAndSet(T obj, long newValue) { in getAndSet()
189 public long getAndIncrement(T obj) { in getAndIncrement()
205 public long getAndDecrement(T obj) { in getAndDecrement()
222 public long getAndAdd(T obj, long delta) { in getAndAdd()
238 public long incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicReferenceFieldUpdater.java136 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
154 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
164 public abstract void set(T obj, V newValue); in set()
174 public abstract void lazySet(T obj, V newValue); in lazySet()
183 public abstract V get(T obj); in get()
193 public V getAndSet(T obj, V newValue) { in getAndSet()
214 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate()
236 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet()
261 public final V getAndAccumulate(T obj, V x, in getAndAccumulate()
287 public final V accumulateAndGet(T obj, V x, in accumulateAndGet()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DField.java75 public boolean equals(java.lang.Object obj) { in equals()
91 public native java.lang.Object get(java.lang.Object obj) in get()
94 public native boolean getBoolean(java.lang.Object obj) in getBoolean()
97 public native byte getByte(java.lang.Object obj) in getByte()
100 public native char getChar(java.lang.Object obj) in getChar()
103 public native short getShort(java.lang.Object obj) in getShort()
106 public native int getInt(java.lang.Object obj) in getInt()
109 public native long getLong(java.lang.Object obj) in getLong()
112 public native float getFloat(java.lang.Object obj) in getFloat()
115 public native double getDouble(java.lang.Object obj) in getDouble()
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DField.java213 public boolean equals(Object obj) { in equals()
340 public native Object get(Object obj) in get()
368 public native boolean getBoolean(Object obj) in getBoolean()
396 public native byte getByte(Object obj) in getByte()
426 public native char getChar(Object obj) in getChar()
456 public native short getShort(Object obj) in getShort()
486 public native int getInt(Object obj) in getInt()
516 public native long getLong(Object obj) in getLong()
546 public native float getFloat(Object obj) in getFloat()
576 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/ojluni/annotations/mmodule/sun/misc/
DUnsafe.annotated.java54 public native boolean compareAndSwapInt(java.lang.Object obj, long offset, int expectedValue, int n… in compareAndSwapInt()
57 public native boolean compareAndSwapLong(java.lang.Object obj, long offset, long expectedValue, lon… in compareAndSwapLong()
60 public native boolean compareAndSwapObject(java.lang.Object obj, long offset, java.lang.Object expe… in compareAndSwapObject()
63 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile()
66 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile()
69 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile()
72 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile()
75 public native void putObjectVolatile(java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile()
78 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile()
82 public native int getInt(java.lang.Object obj, long offset); in getInt()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java135 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
151 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
167 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
179 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
190 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
201 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
212 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
223 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
234 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
245 public native int getInt(Object obj, long offset); in getInt()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java67 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt()
71 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong()
75 java.lang.Object obj, in compareAndSwapObject()
81 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile()
84 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile()
87 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile()
90 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile()
93 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile()
97 java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile()
100 public native int getInt(java.lang.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/ojluni/annotations/sdk/nullability/java/util/
DObjects.annotated.java50 … static <T> T requireNonNull(@libcore.util.Nullable T obj) { throw new RuntimeException("Stub!"); } in requireNonNull()
52 …ble T obj, @libcore.util.NonNull java.lang.String message) { throw new RuntimeException("Stub!"); } in requireNonNull()
54 …oolean isNull(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); } in isNull()
56 …olean nonNull(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); } in nonNull()
58 …e.util.Nullable T obj, @libcore.util.NonNull T defaultObj) { throw new RuntimeException("Stub!"); } in requireNonNullElse()
60 …util.NonNull java.util.function.Supplier<? extends @libcore.util.NonNull T> supplier) { throw new … in requireNonNullElseGet()
62 …nNull java.util.function.Supplier<@libcore.util.NonNull java.lang.String> messageSupplier) { throw… in requireNonNull()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java107 UnixPath checkPath(Path obj) { in checkPath()
117 public <V extends FileAttributeView> V getFileAttributeView(Path obj, in getFileAttributeView()
154 protected DynamicFileAttributeView getFileAttributeView(Path obj, in getFileAttributeView()
172 public FileChannel newFileChannel(Path obj, in newFileChannel()
189 public AsynchronousFileChannel newAsynchronousFileChannel(Path obj, in newAsynchronousFileChannel()
209 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
226 boolean implDelete(Path obj, boolean failIfNotExists) throws IOException { in implDelete()
274 public void checkAccess(Path obj, AccessMode... modes) throws IOException { in checkAccess()
351 public boolean isHidden(Path obj) { in isHidden()
374 public FileStore getFileStore(Path obj) throws IOException { in getFileStore()
[all …]
/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/java/java/util/
DObjects.java205 public static <T> T requireNonNull(T obj) { in requireNonNull()
230 public static <T> T requireNonNull(T obj, String message) { in requireNonNull()
250 public static boolean isNull(Object obj) { in isNull()
268 public static boolean nonNull(Object obj) { in nonNull()
286 public static <T> T requireNonNullElse(T obj, T defaultObj) { in requireNonNullElse()
305 public static <T> T requireNonNullElseGet(T obj, Supplier<? extends T> supplier) { in requireNonNullElseGet()
330 public static <T> T requireNonNull(T obj, Supplier<String> messageSupplier) { in requireNonNull()
/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.c41 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, in Java_java_nio_MappedByteBuffer_isLoaded0()
86 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, in Java_java_nio_MappedByteBuffer_load0()
98 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0()
/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/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/ojluni/src/test/java/io/Serializable/records/
DAbsentStreamValuesTest.java94 Object obj = deserialize(bytes); in testWithDifferentTypes() local
110 R15 obj = (R15)deserialize(bytes); in testWithAllTogether() local
135 R16 obj = (R16)deserialize(bytes); in testGenericType() local
DReadResolveTest.java64 public boolean equals(Object obj) { in equals()
81 public boolean equals(Object obj) { in equals()
138 static <T> byte[] serialize(T obj) throws IOException { in serialize()
155 static <T> T serializeDeserialize(T obj) in serializeDeserialize()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DObject.java47 static int identityHashCode(java.lang.Object obj) { in identityHashCode()
51 private static native int identityHashCodeNative(java.lang.Object obj); in identityHashCodeNative()
53 public boolean equals(java.lang.Object obj) { in equals()
/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.java128 /* package-private */ static int identityHashCode(Object obj) { in identityHashCode()
144 private static native int identityHashCodeNative(Object obj); in identityHashCodeNative()
205 public boolean equals(Object obj) { in equals()
/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

12345678910>>...19