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

1 2 3 4 5 6 7 8 91011>>

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
Reference.java 32 package org.jf.dexlib2.iface.reference;
38 public interface Reference {
StringReference.java 32 package org.jf.dexlib2.iface.reference;
38 * This class represents a reference to an arbitrary string.
41 * used in those cases where a generic Reference is needed
47 public interface StringReference extends Reference, CharSequence, Comparable<CharSequence> {
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
RefQueueHandler.java 33 import java.lang.ref.Reference;
47 * Invoked when a reference is found on the queue.
49 * @param ref the reference to handle
51 public void handleReference(Reference<?> ref)
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/instruction/
ReferenceInstruction.java 34 import org.jf.dexlib2.iface.reference.Reference;
39 @Nonnull Reference getReference();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderReference.java 34 import org.jf.dexlib2.iface.reference.Reference;
36 public interface BuilderReference extends Reference {
  /art/runtime/gc/
reference_processor-inl.h 26 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled();
reference_queue.h 35 class Reference;
42 // Used to temporarily store java.lang.ref.Reference(s) during GC and prior to queueing on the
44 // java.lang.ref.Reference objects.
48 // Enqueue a reference if is not already enqueued. Thread safe to call from multiple threads
51 void AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref)
53 // Enqueue a reference, unlike EnqueuePendingReference, enqueue reference checks that the
54 // reference IsEnqueueable. Not thread safe, used when mutators are paused to minimize lock
56 void EnqueueReference(mirror::Reference* ref) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
57 void EnqueuePendingReference(mirror::Reference* ref) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
    [all...]
reference_queue.cc 23 #include "mirror/reference-inl.h"
31 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref) {
39 void ReferenceQueue::EnqueueReference(mirror::Reference* ref) {
44 void ReferenceQueue::EnqueuePendingReference(mirror::Reference* ref) {
47 // 1 element cyclic queue, ie: Reference ref = ..; ref.pendingNext = ref;
50 mirror::Reference* head = list_->GetPendingNext();
64 mirror::Reference* ReferenceQueue::DequeuePendingReference() {
66 mirror::Reference* head = list_->GetPendingNext();
68 mirror::Reference* ref;
75 mirror::Reference* next = head->GetPendingNext()
    [all...]
  /art/runtime/mirror/
reference.cc 17 #include "reference.h"
22 GcRoot<Class> Reference::java_lang_ref_Reference_;
24 void Reference::SetClass(Class* java_lang_ref_Reference) {
30 void Reference::ResetClass() {
35 void Reference::VisitRoots(RootCallback* callback, void* arg) {
reference-inl.h 20 #include "reference.h"
25 inline uint32_t Reference::ClassSize() {
30 inline bool Reference::IsEnqueuable() {
reference.h 41 // C++ mirror of java.lang.ref.Reference
42 class MANAGED Reference : public Object {
44 // Size of java.lang.ref.Reference.class.
47 // Size of an instance of java.lang.ref.Reference.
49 return sizeof(Reference);
53 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_);
56 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_);
59 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_);
62 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_);
80 Reference* GetPendingNext() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
    [all...]
  /libcore/libart/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> {
109 * Slow path flag for the reference processor.
110 * Used by the reference processor to determine whether or not the referent
117 * The object to which this reference refers.
124 * If non-null, the queue on which this reference will be enqueue
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
iterator.hpp 26 class Pointer = T*, class Reference = T&>
32 typedef Reference reference; typedef in struct:boost::iterator
40 template <class Category, class T, class Distance, class Pointer, class Reference>
42 struct iterator_base : std::iterator<Category, T, Distance, Pointer, Reference> {};
46 typedef Reference reference;
54 class Pointer = T*, class Reference = T&>
55 struct iterator : boost::detail::iterator_base<Category, T, Distance, Pointer, Reference> {};
  /libcore/luni/src/main/java/java/lang/ref/
ReferenceQueue.java 21 * The {@code ReferenceQueue} is the container on which reference objects are
30 private Reference<? extends T> head;
31 private Reference<? extends T> tail;
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
47 public synchronized Reference<? extends T> poll() {
52 Reference<? extends T> ret = head;
66 * Returns the next available reference from the queue, removing it in th
    [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...]
  /art/runtime/native/
java_lang_ref_Reference.cc 21 #include "mirror/reference-inl.h"
28 mirror::Reference* const ref = soa.Decode<mirror::Reference*>(javaThis);
35 NATIVE_METHOD(Reference, getReferent, "!()Ljava/lang/Object;"),
39 REGISTER_NATIVE_METHODS("java/lang/ref/Reference");
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
BuilderInstruction21c.java 38 import org.jf.dexlib2.iface.reference.Reference;
47 @Nonnull protected final Reference reference; field in class:BuilderInstruction21c
51 @Nonnull Reference reference) {
54 this.reference = reference;
58 @Nonnull @Override public Reference getReference() { return reference; }
    [all...]
BuilderInstruction31c.java 38 import org.jf.dexlib2.iface.reference.Reference;
47 @Nonnull protected final Reference reference; field in class:BuilderInstruction31c
51 @Nonnull Reference reference) {
54 this.reference = reference;
58 @Nonnull @Override public Reference getReference() { return reference; }
    [all...]
BuilderInstruction20bc.java 39 import org.jf.dexlib2.iface.reference.Reference;
48 @Nonnull protected final Reference reference; field in class:BuilderInstruction20bc
52 @Nonnull Reference reference) {
55 this.reference = reference;
59 @Nonnull @Override public Reference getReference() { return reference; }
    [all...]
BuilderInstruction22c.java 38 import org.jf.dexlib2.iface.reference.Reference;
48 @Nonnull protected final Reference reference; field in class:BuilderInstruction22c
53 @Nonnull Reference reference) {
57 this.reference = reference;
62 @Nonnull @Override public Reference getReference() { return reference; }
    [all...]
BuilderInstruction3rc.java 38 import org.jf.dexlib2.iface.reference.Reference;
49 @Nonnull protected final Reference reference; field in class:BuilderInstruction3rc
54 @Nonnull Reference reference) {
58 this.reference = reference;
63 @Nonnull @Override public Reference getReference() { return reference; }
    [all...]
  /libcore/benchmarks/src/benchmarks/
ReferenceGetBenchmark.java 22 import java.lang.ref.Reference;
33 Field intrinsicDisabledField = Reference.class.getDeclaredField("disableIntrinsic");
39 Reference soft = new SoftReference(obj);
46 Reference weak = new WeakReference(obj);
53 Reference weak = new WeakReference(obj);
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/iterator/
input_iterator_facade.hpp 58 typename Reference = ValueType const&,
60 class input_iterator_facade : public iterator_facade<Derived,ValueType,Traversal,Reference>
87 Reference dereference() const

Completed in 266 milliseconds

1 2 3 4 5 6 7 8 91011>>