HomeSort by relevance Sort by last modified time
    Searched refs:Reference (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
RefQueueHandler.java 33 import java.lang.ref.Reference;
42 * Invoked when a reference is found on the queue.
44 * @param ref the reference to handle
46 public void handleReference(Reference<?> ref)
RefQueueWorker.java 33 import java.lang.ref.Reference;
43 * {@link Reference Reference}s can be
54 /** The reference queue to monitor. */
101 // remove the next reference and process it
102 Reference<?> ref = refQueue.remove();
  /libcore/luni/src/main/java/java/lang/ref/
Reference.java 36 * Provides an abstract class which describes behavior common to all reference
38 * {@code Reference} in addition to the ones provided by this package. It is
40 * with the system's garbage collector. The existing, specialized reference
49 * <p>In order to use reference objects properly it is important to understand
63 * instance of a {@code java.lang.ref.Reference} subclass.
98 public abstract class Reference<T> {
101 * The object to which this reference refers.
108 * If non-null, the queue on which this reference will be enqueued
118 * and be a java.lang.ref.Reference.
121 volatile Reference queueNext
    [all...]
ReferenceQueue.java 21 * The {@code ReferenceQueue} is the container on which reference objects are
30 private Reference<? extends T> head;
39 * Returns the next available reference from the queue, removing it in the
40 * process. Does not wait for a reference to become available.
42 * @return the next available reference, or {@code null} if no reference is
46 public synchronized Reference<? extends T> poll() {
51 Reference<? extends T> ret;
67 * Returns the next available reference from the queue, removing it in the
68 * process. Waits indefinitely for a reference to become available
    [all...]
PhantomReference.java 36 * Implements a phantom reference, which is the weakest of the three types of
40 * reference queue of the phantom reference must explicitly be processed by some
41 * application code. As a consequence, a phantom reference that is not
42 * registered with any reference queue does not make any sense.
48 public class PhantomReference<T> extends Reference<T> {
51 * Constructs a new phantom reference and registers it with the given
52 * reference queue. The reference queue may be {@code null}, but this case
53 * does not make any sense, since the reference will never be enqueued, an
    [all...]
SoftReference.java 36 * A reference that is cleared when its referent is not strongly reachable and
43 * soft reference and growing the heap.
45 * <p>The lack of information on the value to your application of each reference
67 * refs} will be enqueued with their corresponding reference queues, if
78 public class SoftReference<T> extends Reference<T> {
81 * Constructs a new soft reference to the given referent. The newly created
82 * reference is not registered with any reference queue.
91 * Constructs a new soft reference to the given referent. The newly created
92 * reference is registered with the given reference queue
    [all...]
WeakReference.java 36 * Implements a weak reference, which is the middle of the three types of
64 * with their corresponding reference queues, if any.
72 * reference:
86 public class WeakReference<T> extends Reference<T> {
89 * Constructs a new weak reference to the given referent. The newly created
90 * reference is not registered with any reference queue.
99 * Constructs a new weak reference to the given referent. The newly created
100 * reference is registered with the given reference queue
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ShowWithinMenu.java 6 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.IncludeFinder.Reference;
36 final List<Reference> includedBy = finder.getIncludedBy(file);
39 for (final Reference reference : includedBy) {
40 String title = reference.getDisplayName();
41 IAction action = new ShowWithinAction(title, reference);
58 private Reference mReference;
60 public ShowWithinAction(String title, Reference reference) {
62 mReference = reference;
    [all...]
  /libcore/luni/src/main/java/libcore/util/
CollectionUtils.java 19 import java.lang.ref.Reference;
33 * @param trim true to remove reference objects from the iterable after
37 final Iterable<? extends Reference<T>> iterable, final boolean trim) {
41 private final Iterator<? extends Reference<T>> delegate = iterable.iterator();
  /libcore/luni/src/test/java/libcore/util/
CollectionUtilsTest.java 19 import java.lang.ref.Reference;
31 List<Reference<String>> refs = new ArrayList<Reference<String>>();
101 * A reference that must be manually cleared.
103 public Reference<String> newLiteralReference(String s) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
ReferenceQueueTest.java 20 import java.lang.ref.Reference;
90 Reference ret = rq.remove(0L);
ReferenceTest.java 19 import java.lang.ref.Reference;
34 * @tests java.lang.ref.Reference#clear()
47 // Must reference tmpA and tmpB so the jit does not optimize them away
52 * @tests java.lang.ref.Reference#enqueue()
57 Reference ref = new SoftReference(obj, rq);
79 * @tests java.lang.ref.Reference#enqueue()
82 // Test the general/overall functionality of Reference.
108 Reference ref;
129 // Reference wr so it does not get collected
134 * @tests java.lang.ref.Reference#get(
    [all...]
  /external/clang/test/SemaCXX/
ast-print.cpp 10 struct Reference
17 Reference r;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationClient.java 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.IncludeFinder.Reference;
108 Reference getIncludedWithin();
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
120 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
288 typename Reference,
332 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/bin_search_tree_/
point_iterators.hpp 58 Reference, \
69 Reference, \
80 Reference, \
91 Reference, \
101 typename Reference,
113 typedef Reference reference; typedef in class:__gnu_pbds::detail::bin_search_tree_const_it_
278 typename Reference,
318 inline typename PB_DS_TREE_CONST_IT_C_DEC::reference
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
RegisterType.java 47 assert ((category == Category.Reference || category == Category.UninitRef || category == Category.UninitThis) &&
49 ((category != Category.Reference && category != Category.UninitRef && category != Category.UninitThis) &&
114 Reference,
116 //example if the register's type is an Integer on one incomming code path, but is a Reference type on another
117 //incomming code path. There is no register type that can hold either an Integer or a Reference.
125 /* Unknown Uninit Null One, Boolean Byte PosByte Short PosShort Char Integer, Float, LongLo LongHi DoubleLo DoubleHi UninitRef UninitThis Reference Conflicted*/
126 /*Unknown*/ {Unknown, Uninit, Null, One, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, LongLo, LongHi, DoubleLo, DoubleHi, UninitRef, UninitThis, Reference, Conflicted},
128 /*Null*/ {Null, Conflicted, Null, Boolean, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Reference, Conflicted},
144 /*Reference*/ {Reference, Conflicted, Reference, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, (…)
    [all...]
  /libcore/luni/src/main/java/java/lang/
Daemons.java 21 import java.lang.ref.Reference;
27 * Calls Object.finalize() on objects in the finalizer reference queue. The VM
119 * pending list to the managed reference queue.
126 Reference<?> list;
142 private void enqueue(Reference<?> list) {
144 Reference<?> reference; local
147 reference = list;
148 reference.pendingNext = null;
151 reference = list.pendingNext
    [all...]

Completed in 778 milliseconds

1 2 3 4 5