Searched refs:reference (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicMarkableReference.java10 * An {@code AtomicMarkableReference} maintains an object reference
15 * [reference, boolean] pairs.
19 * @param <V> The type of object referred to by this reference
24 final T reference; field in class:AtomicMarkableReference.Pair
26 private Pair(T reference, boolean mark) { argument
27 this.reference = reference;
30 static <T> Pair<T> of(T reference, boolean mark) { argument
31 return new Pair<T>(reference, mark);
41 * @param initialRef the initial reference
[all...]
H A DAtomicStampedReference.java10 * An {@code AtomicStampedReference} maintains an object reference
15 * [reference, integer] pairs.
19 * @param <V> The type of object referred to by this reference
24 final T reference; field in class:AtomicStampedReference.Pair
26 private Pair(T reference, int stamp) { argument
27 this.reference = reference;
30 static <T> Pair<T> of(T reference, int stamp) { argument
31 return new Pair<T>(reference, stamp);
41 * @param initialRef the initial reference
[all...]
/libcore/luni/src/main/java/java/lang/ref/
H A DFinalizerReference.java54 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue);
56 reference.prev = null;
57 reference.next = head;
59 head.prev = reference;
61 head = reference;
65 public static void remove(FinalizerReference<?> reference) { argument
67 FinalizerReference<?> next = reference.next;
68 FinalizerReference<?> prev = reference.prev;
69 reference.next = null;
70 reference
[all...]
H A DReferenceQueue.java21 * The {@code ReferenceQueue} is the container on which reference objects are
40 * Returns the next available reference from the queue, removing it in the
41 * process. Does not wait for a reference to become available.
43 * @return the next available reference, or {@code null} if no reference is
66 * Returns the next available reference from the queue, removing it in the
67 * process. Waits indefinitely for a reference to become available.
76 * Returns the next available reference from the queue, removing it in the
77 * process. Waits for a reference to become available or the given timeout
80 * @param timeoutMillis maximum time to spend waiting for a reference objec
134 enqueue(Reference<? extends T> reference) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java58 if (this.reference == table[index]) {
124 /** Weak reference to this thread local instance. */
125 private final Reference<ThreadLocal<T>> reference field in class:ThreadLocal
215 Reference<InheritableThreadLocal<?>> reference
218 InheritableThreadLocal key = reference.get();
279 Reference<ThreadLocal<?>> reference
281 if (reference.get() == null) {
345 Reference<ThreadLocal<?>> reference
347 ThreadLocal<?> key = reference.get();
369 table[index] = key.reference;
[all...]
H A DProcessManager.java70 ProcessReference reference;
71 while ((reference = referenceQueue.poll()) != null) {
73 processReferences.remove(reference.processId);
330 Object reference = super.poll();
331 return (ProcessReference) reference;
/libcore/dalvik/src/test/java/dalvik/system/
H A DCloseGuardMonitor.java33 * class needs to run on the reference implementation which does not have this class. It implements
77 // Create a weak reference to an object so that we can detect when it is garbage collected.
78 WeakReference<Object> reference = new WeakReference<>(new Object());
94 // Check to see if the weak reference has been garbage collected.
95 if (reference.get() == null) {
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DHttpRetryExceptionTest.java36 public void assertDeserialized(Serializable reference, Serializable test) {
38 HttpRetryException ref = (HttpRetryException) reference;
/libcore/libart/src/main/java/java/lang/
H A DDaemons.java30 * Calls Object.finalize() on objects in the finalizer reference queue. The VM
132 * pending list to the managed reference queue.
183 // Take a reference, blocking until one is ready or the thread should stop
192 private void doFinalize(FinalizerReference<?> reference) { argument
193 FinalizerReference.remove(reference);
194 Object object = reference.get();
195 reference.clear();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollections2Test.java46 public void assertDeserialized(Serializable reference, Serializable test) {
47 assertSame(reference, test);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldCollectionsTest.java47 public void assertDeserialized(Serializable reference, Serializable test) {
48 assertSame(reference, test);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java446 * reference.
1182 * Reads an entity reference from the buffer, resolves it, and writes the
1184 * {@code out} will contain the partial entity reference.
1215 // intentionally leave the partial reference in 'out'
1239 throw new XmlPullParserException("Invalid character reference: &" + code);
1241 throw new XmlPullParserException("Invalid character reference: &" + code);
/libcore/
H A DJavaLibrary.mk234 # ../out/target/common/docs/libcore/reference/packages.html
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 368 milliseconds