Home
last modified time | relevance | path

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

12345678910>>...16

/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.java110 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
130 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
140 public abstract void set(T obj, int newValue); in set()
150 public abstract void lazySet(T obj, int newValue); in lazySet()
159 public abstract int get(T obj); in get()
169 public int getAndSet(T obj, int newValue) { in getAndSet()
184 public int getAndIncrement(T obj) { in getAndIncrement()
200 public int getAndDecrement(T obj) { in getAndDecrement()
217 public int getAndAdd(T obj, int delta) { in getAndAdd()
233 public int incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicLongFieldUpdater.java113 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
133 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
143 public abstract void set(T obj, long newValue); in set()
153 public abstract void lazySet(T obj, long newValue); in lazySet()
162 public abstract long get(T obj); in get()
172 public long getAndSet(T obj, long newValue) { in getAndSet()
187 public long getAndIncrement(T obj) { in getAndIncrement()
203 public long getAndDecrement(T obj) { in getAndDecrement()
220 public long getAndAdd(T obj, long delta) { in getAndAdd()
236 public long incrementAndGet(T obj) { in incrementAndGet()
[all …]
DAtomicReferenceFieldUpdater.java130 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
148 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
158 public abstract void set(T obj, V newValue); in set()
168 public abstract void lazySet(T obj, V newValue); in lazySet()
177 public abstract V get(T obj); in get()
187 public V getAndSet(T obj, V newValue) { in getAndSet()
206 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate()
226 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet()
250 public final V getAndAccumulate(T obj, V x, in getAndAccumulate()
275 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.java208 public boolean equals(Object obj) { in equals()
335 public native Object get(Object obj) in get()
363 public native boolean getBoolean(Object obj) in getBoolean()
391 public native byte getByte(Object obj) in getByte()
421 public native char getChar(Object obj) in getChar()
451 public native short getShort(Object obj) in getShort()
481 public native int getInt(Object obj) in getInt()
511 public native long getLong(Object obj) in getLong()
541 public native float getFloat(Object obj) in getFloat()
571 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/annotations/hiddenapi/sun/misc/
DUnsafe.java66 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt()
70 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong()
74 java.lang.Object obj, in compareAndSwapObject()
80 public native int getIntVolatile(java.lang.Object obj, long offset); in getIntVolatile()
83 public native void putIntVolatile(java.lang.Object obj, long offset, int newValue); in putIntVolatile()
86 public native long getLongVolatile(java.lang.Object obj, long offset); in getLongVolatile()
89 public native void putLongVolatile(java.lang.Object obj, long offset, long newValue); in putLongVolatile()
92 public native java.lang.Object getObjectVolatile(java.lang.Object obj, long offset); in getObjectVolatile()
96 java.lang.Object obj, long offset, java.lang.Object newValue); in putObjectVolatile()
99 public native int getInt(java.lang.Object obj, long offset); in getInt()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java134 public native boolean compareAndSwapInt(Object obj, long offset, in compareAndSwapInt()
150 public native boolean compareAndSwapLong(Object obj, long offset, in compareAndSwapLong()
166 public native boolean compareAndSwapObject(Object obj, long offset, in compareAndSwapObject()
178 public native int getIntVolatile(Object obj, long offset); in getIntVolatile()
189 public native void putIntVolatile(Object obj, long offset, int newValue); in putIntVolatile()
200 public native long getLongVolatile(Object obj, long offset); in getLongVolatile()
211 public native void putLongVolatile(Object obj, long offset, long newValue); in putLongVolatile()
222 public native Object getObjectVolatile(Object obj, long offset); in getObjectVolatile()
233 public native void putObjectVolatile(Object obj, long offset, in putObjectVolatile()
244 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/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 …nNull java.util.function.Supplier<@libcore.util.NonNull java.lang.String> messageSupplier) { throw… in requireNonNull()
/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()
84 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, in Java_java_nio_MappedByteBuffer_load0()
96 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 …]
/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/annotations/mmodule/sun/misc/
DUnsafe.annotated.java53 public native byte getByte(java.lang.Object obj, long offset); in getByte()
59 public native long getLong(java.lang.Object obj, long offset); in getLong()
65 public native void putByte(java.lang.Object obj, long offset, byte newValue); in putByte()
/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.java121 /* package-private */ static int identityHashCode(Object obj) { in identityHashCode()
137 private static native int identityHashCodeNative(Object obj); in identityHashCodeNative()
186 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
/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()

12345678910>>...16