/libcore/benchmarks/src/benchmarks/ |
ReferenceGetBenchmark.java | 20 import java.lang.ref.Reference; 31 Field intrinsicDisabledField = Reference.class.getDeclaredField("disableIntrinsic"); 37 Reference soft = new SoftReference(obj); 44 Reference weak = new WeakReference(obj); 51 Reference weak = new WeakReference(obj);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/ |
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...] |
BuilderInstruction35c.java | 38 import org.jf.dexlib2.iface.reference.Reference; 52 @Nonnull protected final Reference reference; field in class:BuilderInstruction35c 61 @Nonnull Reference reference) { 69 this.reference = reference; 78 @Nonnull @Override public Reference getReference() { return reference; } [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/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> {
|
TypeReference.java | 32 package org.jf.dexlib2.iface.reference; 38 * This class represents a reference to a type. 41 * in those cases where a generic Reference is needed 50 public interface TypeReference extends Reference, CharSequence, Comparable<CharSequence> {
|
FieldReference.java | 32 package org.jf.dexlib2.iface.reference; 38 * This class represents a reference to a field. 40 public interface FieldReference extends Reference, Comparable<FieldReference> {
|
MethodProtoReference.java | 32 package org.jf.dexlib2.iface.reference; 39 * This class represents a reference to a method prototype. 41 public interface MethodProtoReference extends Reference, Comparable<MethodProtoReference> {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
ImmutableReference.java | 32 package org.jf.dexlib2.immutable.reference; 35 import org.jf.dexlib2.iface.reference.*; 40 public interface ImmutableReference extends Reference {
|
/art/runtime/gc/ |
reference_queue.cc | 24 #include "mirror/reference-inl.h" 32 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { 40 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { 44 // 1 element cyclic queue, ie: Reference ref = ..; ref.pendingNext = ref; 49 ObjPtr<mirror::Reference> head = list_->GetPendingNext<kWithoutReadBarrier>(); 53 // Add the reference in the middle to preserve the cycle. 57 ObjPtr<mirror::Reference> ReferenceQueue::DequeuePendingReference() { 59 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); 66 ObjPtr<mirror::Reference> next = ref->GetPendingNext<kWithoutReadBarrier>(); 74 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) [all...] |
/external/libchrome/base/metrics/ |
persistent_histogram_allocator.h | 41 // managers that reference it. 55 // Convenience method that gets the object for a given reference so callers 58 T* GetAsObject(PersistentMemoryAllocator::Reference ref, uint32_t type_id) { 102 // than all instances of this class that reference it, which is not usually 117 // Gets the next reference to a persistent sample-map record. The type and 120 PersistentMemoryAllocator::Reference GetNext(); 123 // a reference to it. 124 PersistentMemoryAllocator::Reference CreateNew(HistogramBase::Sample value); 126 // Convenience method that gets the object for a given reference so callers 133 T* GetAsObject(PersistentMemoryAllocator::Reference ref, uint32_t type_id) [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...] |
/art/runtime/native/ |
java_lang_ref_FinalizerReference.cc | 23 #include "mirror/reference-inl.h" 36 ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
DexBackedInstruction21c.java | 36 import org.jf.dexlib2.dexbacked.reference.DexBackedReference; 38 import org.jf.dexlib2.iface.reference.Reference; 53 public Reference getReference() {
|
DexBackedInstruction31c.java | 36 import org.jf.dexlib2.dexbacked.reference.DexBackedReference; 38 import org.jf.dexlib2.iface.reference.Reference; 53 public Reference getReference() {
|
DexBackedInstruction3rc.java | 36 import org.jf.dexlib2.dexbacked.reference.DexBackedReference; 38 import org.jf.dexlib2.iface.reference.Reference; 60 public Reference getReference() {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
DexBackedReference.java | 32 package org.jf.dexlib2.dexbacked.reference; 36 import org.jf.dexlib2.iface.reference.Reference; 42 public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) { 55 throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
ReferenceTestUtils.java | 21 import java.lang.ref.Reference; 33 Reference<?> ref = new WeakReference<>(o, q);
|
/frameworks/base/tools/aapt2/proto/ |
ProtoHelpers.h | 51 pb::Reference_Type SerializeReferenceTypeToPb(Reference::Type type); 53 Reference::Type DeserializeReferenceTypeFromPb(pb::Reference_Type pb_type);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
SimpleCache.java | 13 import java.lang.ref.Reference; 26 private volatile Reference<Map<K, V>> cacheRef = null; 48 Reference<Map<K, V>> ref = cacheRef; 60 Reference<Map<K, V>> ref = cacheRef;
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
SimpleCache.java | 12 import java.lang.ref.Reference; 22 private Reference<Map<K, V>> cacheRef = null; 43 Reference<Map<K, V>> ref = cacheRef; 54 Reference<Map<K, V>> ref = cacheRef;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
SimpleCache.java | 12 import java.lang.ref.Reference; 22 private volatile Reference<Map<K, V>> cacheRef = null; 44 Reference<Map<K, V>> ref = cacheRef; 56 Reference<Map<K, V>> ref = cacheRef;
|
/frameworks/base/tools/aapt2/ |
ResourceValues.h | 117 // A reference to another resource. This maps to android::Res_value::TYPE_REFERENCE. 118 // A reference can be symbolic (with the name set to a valid resource name) or be 120 struct Reference : public BaseItem<Reference> { 128 Reference::Type reference_type; 131 Reference(); 132 explicit Reference(const ResourceNameRef& n, Type type = Type::kResource); 133 explicit Reference(const ResourceId& i, Type type = Type::kResource); 134 Reference(const ResourceNameRef& n, const ResourceId& i); 138 Reference* Clone(StringPool* new_pool) const override [all...] |
/libcore/ojluni/src/main/java/java/lang/ref/ |
SoftReference.java | 30 * Soft reference objects, which are cleared at the discretion of the garbage 40 * reference queues. 45 * time at which a soft reference will be cleared or the order in which a set 54 * soft reference and growing the heap. 56 * <p>The lack of information on the value to your application of each reference 68 public class SoftReference<T> extends Reference<T> { 83 * Creates a new soft reference that refers to the given object. The new 84 * reference is not registered with any queue. 86 * @param referent object the new soft reference will refer to 94 * Creates a new soft reference that refers to the given object and i [all...] |