/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/ |
Reference.java | 32 package org.jf.dexlib2.iface.reference; 38 public interface Reference {
|
/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/ |
DualReferenceInstruction.java | 34 import org.jf.dexlib2.iface.reference.Reference; 39 @Nonnull Reference getReference2();
|
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 | 36 class Reference; 47 // Used to temporarily store java.lang.ref.Reference(s) during GC and prior to queueing on the 49 // circular, and singly-linked list using the pendingNext fields of the java.lang.ref.Reference 55 // Enqueue a reference if it is unprocessed. Thread safe to call from multiple 58 void AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) 61 // Enqueue a reference. The reference must be unprocessed. 63 void EnqueueReference(ObjPtr<mirror::Reference> ref) REQUIRES_SHARED(Locks::mutator_lock_); 65 // Dequeue a reference from the queue and return that dequeued reference [all...] |
/art/runtime/mirror/ |
reference.cc | 17 #include "reference-inl.h" 25 GcRoot<Class> Reference::java_lang_ref_Reference_; 27 void Reference::SetClass(ObjPtr<Class> java_lang_ref_Reference) { 33 void Reference::ResetClass() { 38 void Reference::VisitRoots(RootVisitor* visitor) {
|
reference-inl.h | 20 #include "reference.h" 27 inline uint32_t Reference::ClassSize(PointerSize pointer_size) { 33 inline void Reference::SetReferent(ObjPtr<Object> referent) { 37 inline void Reference::SetPendingNext(ObjPtr<Reference> pending_next) {
|
reference.h | 44 // C++ mirror of java.lang.ref.Reference 45 class MANAGED Reference : public Object { 47 // Size of java.lang.ref.Reference.class. 50 // Size of an instance of java.lang.ref.Reference. 52 return sizeof(Reference); 56 return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); 59 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); 62 return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); 65 return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); 80 Reference* GetPendingNext() REQUIRES_SHARED(Locks::mutator_lock_) [all...] |
/libcore/ojluni/src/main/java/java/lang/ref/ |
Reference.java | 33 * Abstract base class for reference objects. This class defines the 34 * operations common to all reference objects. Because reference objects are 42 public abstract class Reference<T> { 52 * Slow path flag for the reference processor. 53 * Used by the reference processor to determine whether or not the referent 63 * This field forms a singly-linked list of reference objects that have 65 * reference has been enqueued. After this reference has been enqueued and 67 * to the next reference on the queue. The last reference on a queu [all...] |
ReferenceQueue.java | 32 * Reference queues, to which registered reference objects are appended by the 40 // Reference.queueNext will be set to sQueueNextUnenqueued to indicate 41 // when a reference has been enqueued and removed from its queue. 42 private static final Reference sQueueNextUnenqueued = new PhantomReference(null, null); 46 private Reference<? extends T> head = null; 47 private Reference<? extends T> tail = null; 52 * Constructs a new reference-object queue. 57 * Enqueue the given reference onto this queue. 59 * and for calling notifyAll on this queue after the reference has bee [all...] |
PhantomReference.java | 30 * Phantom reference objects, which are enqueued after the collector 36 * referent of a phantom reference is <a 38 * time or at some later time it will enqueue the reference. 41 * a phantom reference may not be retrieved: The <code>get</code> method of a 42 * phantom reference always returns <code>null</code>. 53 public class PhantomReference<T> extends Reference<T> { 56 * Returns this reference object's referent. Because the referent of a 57 * phantom reference is always inaccessible, this method always returns 67 * Creates a new phantom reference that refers to the given object and 70 * <p> It is possible to create a phantom reference with a <tt>null</tt [all...] |
WeakReference.java | 30 * Weak reference objects, which do not prevent their referents from being 42 * registered with reference queues. 48 public class WeakReference<T> extends Reference<T> { 51 * Creates a new weak reference that refers to the given object. The new 52 * reference is not registered with any queue. 54 * @param referent object the new weak reference will refer to 61 * Creates a new weak reference that refers to the given object and is 64 * @param referent object the new weak reference will refer to 65 * @param q the queue with which the reference is to be registered,
|
/art/runtime/native/ |
java_lang_ref_Reference.cc | 23 #include "mirror/reference-inl.h" 30 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); 38 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); 43 FAST_NATIVE_METHOD(Reference, getReferent, "()Ljava/lang/Object;"), 44 FAST_NATIVE_METHOD(Reference, clearReferent, "()V"), 48 REGISTER_NATIVE_METHODS("java/lang/ref/Reference");
|
/frameworks/base/tools/aapt2/ |
ValueVisitor_test.cpp | 30 Reference* visited = nullptr; 32 void Visit(Reference* ref) override { visited = ref; } 38 std::list<Reference*> visited_refs; 41 void Visit(Reference* ref) override { visited_refs.push_back(ref); } 50 Reference ref(ResourceName{"android", ResourceType::kAttr, "foo"}); 69 // Entry attribute references, plus the parent reference, plus one value 70 // reference. 75 std::unique_ptr<Reference> ref = test::BuildReference("android:color/white"); 76 EXPECT_NE(ValueCast<Reference>(ref.get()), nullptr); 84 EXPECT_EQ(ValueCast<Reference>(style.get()), nullptr) [all...] |
/frameworks/base/tools/aapt2/link/ |
ReferenceLinker.h | 44 * Returns true if the symbol is visible by the reference and from the 48 const Reference& ref, const CallSite& callsite); 54 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference, SymbolTable* symbols); 58 * the symbol is not visible by the reference at the callsite, nullptr is 61 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference, 72 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference, 78 * Resolves the attribute reference and returns an xml::AaptAttribute i [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/ |
BuilderInstruction4rcc.java | 38 import org.jf.dexlib2.iface.reference.Reference; 49 @Nonnull protected final Reference reference; field in class:BuilderInstruction4rcc 50 @Nonnull protected final Reference reference2; 55 @Nonnull Reference reference, 56 @Nonnull Reference reference2) { 60 this.reference = reference; [all...] |
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...] |
BuilderInstruction45cc.java | 38 import org.jf.dexlib2.iface.reference.Reference; 52 @Nonnull protected final Reference reference; field in class:BuilderInstruction45cc 53 @Nonnull protected final Reference reference2; 62 @Nonnull Reference reference, 63 @Nonnull Reference reference2) { 71 this.reference = reference; [all...] |
/external/clang/lib/Format/ |
SortJavaScriptImports.cpp | 53 // An ES6 module reference. 56 // can reference other modules, either importing symbols from them, or exporting 155 JsModuleReference Reference = References[Indices[i]]; 156 if (appendReference(ReferencesText, Reference)) 163 if (!Reference.IsExport && 164 (Reference.IsExport != References[Indices[i + 1]].IsExport || 165 Reference.Category != References[Indices[i + 1]].Category)) 239 // Appends ``Reference`` to ``Buffer``, returning true if text within the 240 // ``Reference`` changed (e.g. symbol order). 241 bool appendReference(std::string &Buffer, JsModuleReference &Reference) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
SharedObject.java | 22 * Base class for shared, reference-counted, auto-deleted objects. 26 * In Java, memory management (deletion after last reference is gone) 28 * but the reference counter is still used to see whether the referent is the sole owner. 36 * // Either use the nest class Reference (which costs an extra allocation), 42 * private SharedObject.Reference<S> s; 91 * Sharing requires reference-counting. 101 public static final class Reference<T extends SharedObject> implements Cloneable { 104 public Reference(T r) { 113 public Reference<T> clone() { 114 Reference<T> c [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
SharedObject.java | 21 * Base class for shared, reference-counted, auto-deleted objects. 25 * In Java, memory management (deletion after last reference is gone) 27 * but the reference counter is still used to see whether the referent is the sole owner. 35 * // Either use the nest class Reference (which costs an extra allocation), 41 * private SharedObject.Reference<S> s; 90 * Sharing requires reference-counting. 99 public static final class Reference<T extends SharedObject> implements Cloneable { 102 public Reference(T r) { 111 public Reference<T> clone() { 112 Reference<T> c [all...] |
/external/libchrome/base/metrics/ |
persistent_memory_allocator.h | 52 typedef uint32_t Reference; 57 // reference will not be returned twice. 71 // As above but resuming from the |starting_after| reference. The first call 72 // to GetNext() will return the next object found after that reference. The 73 // reference must be to an "iterable" object; references to non-iterable 77 Reference starting_after); 80 // return value is a reference to the allocation inside the allocator or 83 Reference GetNext(uint32_t* type_return); 89 Reference GetNextOfType(uint32_t type_match); 95 // fetched. Non-const objects can be fetched using the reference on [all...] |