/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
ReferenceTest.java | 20 import java.lang.ref.Reference; 30 volatile Reference r; 63 * java.lang.ref.Reference#clear() 81 // Must reference tmpA and tmpB so the jit does not optimize them away 86 * java.lang.ref.Reference#enqueue() 91 Reference ref = new SoftReference(obj, rq); 123 // Test the general/overall functionality of Reference. 128 Reference ref = queue.remove(); 136 // wait for the reference queue thread to enqueue the newly-finalized object 152 * java.lang.ref.Reference#clear( [all...] |
PhantomReferenceTest.java | 21 import java.lang.ref.Reference; 111 Reference r = rq.remove(100L); 112 assertNotNull("Reference should have been enqueued.", r); 141 // need a reference to bool so the jit does not optimize it away
|
SoftReferenceTest.java | 19 import java.lang.ref.Reference; 102 Reference ref;
|
/external/libchrome/base/metrics/ |
persistent_histogram_allocator.cc | 154 PersistentMemoryAllocator::Reference ref = 162 // The sample-record could be for any sparse histogram. Add the reference 199 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::GetNext() { 217 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::CreateNew( 232 PersistentMemoryAllocator::Reference ranges_ref; 234 PersistentMemoryAllocator::Reference counts_ref; 249 PersistentHistogramAllocator::Iterator::GetNextWithIgnore(Reference ignore) { 250 PersistentMemoryAllocator::Reference ref; 267 Reference ref) { 270 // count data (while these must reference the persistent counts) and alway [all...] |
persistent_memory_allocator_unittest.cc | 33 typedef PersistentMemoryAllocator::Reference Reference; 110 Reference block1 = allocator_->Allocate(sizeof(TestObject1), 1); 133 Reference block2 = allocator_->Allocate(sizeof(TestObject2), 2); 230 Reference block1 = allocator_->Allocate(TEST_MEMORY_PAGE / 2, 1); 235 Reference block2 = 240 Reference block3 = allocator_->Allocate(2 * kAllocAlignment + 99, 3); 261 Reference block = allocator_.Allocate(size, type); 377 Reference block = allocator_->Allocate(size, type); 477 Reference block1 = allocator_->Allocate(sizeof(TestObject1), 1) [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZElimCompare.cpp | 37 struct Reference { 38 Reference() 41 Reference &operator|=(const Reference &Other) { 73 Reference getRegReferences(MachineInstr &MI, unsigned Reg); 130 Reference SystemZElimCompare::getRegReferences(MachineInstr &MI, unsigned Reg) { 131 Reference Ref; 343 Reference CCRefs; 344 Reference SrcRefs;
|
/art/runtime/gc/ |
reference_processor.cc | 24 #include "mirror/reference-inl.h" 41 condition_("reference processor condition", *Locks::reference_processor_lock_) , 50 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(true); 54 mirror::Reference::GetJavaLangRefReference()->SetSlowPath(false); 64 ObjPtr<mirror::Reference> reference) { 69 ObjPtr<mirror::Object> const referent = reference->GetReferent(); 71 // scenario where it becomes non-null during the reference processing phase. 79 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); 95 // Reference.clear() after we did the null check resulting in a null pointer bein [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeFinder.java | 167 public List<Reference> getIncludedBy(IResource included) { 179 List<Reference> references = new ArrayList<Reference>(result.size()); 181 references.add(new Reference(mProject, s)); 956 String reference = mId; local 1076 Reference reference = queue.removeFirst(); local [all...] |
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTestExprVisitor.cpp | 165 bool VisitDeclRefExpr(DeclRefExpr *Reference) { 166 Match(Reference->getNameInfo().getAsString(), Reference->getLocation());
|
/external/google-breakpad/src/common/ |
test_assembler.h | 171 // reference counted, allowing labels to be lightweight, copyable, 179 // Increment our reference count. 181 // Decrement our reference count, and return true if it is zero. 228 // unconstrained binding, that doesn't count as a reference.) 290 // end of this section. Return a reference to this section. 301 // reference to this section. 309 // bytes. Return a reference to this section. 340 // endianness. Return a reference to this section. 406 // ALIGNMENT must be a power of two. Return a reference to this 428 // functions like Append and D32 would return a reference to th [all...] |
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
TypeCachingMockBytecodeGeneratorTest.java | 9 import java.lang.ref.Reference; 43 Reference<Object> typeReference = new PhantomReference<Object>(the_mock_type, referenceQueue); 79 Reference<Object> typeReference = new PhantomReference<Object>(the_mock_type, referenceQueue);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
MediaDataBox.java | 26 import java.lang.ref.Reference; 64 private Map<Long, Reference<ByteBuffer>> cache = new HashMap<Long, Reference<ByteBuffer>>(); 68 * If the whole content is just in one mapped buffer keep a strong reference to it so it is
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
SyntheticAccessorResolver.java | 44 import org.jf.dexlib2.iface.reference.MethodReference; 45 import org.jf.dexlib2.iface.reference.Reference; 144 @Nonnull public final Reference accessedMember; 146 public AccessedMember(int accessedMemberType, @Nonnull Reference accessedMember) {
|
/frameworks/base/tools/aapt2/process/ |
SymbolTable.h | 99 const Symbol* FindByReference(const Reference& ref); 159 const Reference& ref) { 200 const Reference& ref) override;
|
/external/flatbuffers/include/flatbuffers/ |
flexbuffers.h | 30 class Reference; 240 Reference operator[](size_t i) const; 254 Reference operator[](size_t i) const; 278 Reference operator[](size_t i) const; 301 Reference operator[](const char *key) const; 302 Reference operator[](const std::string &key) const; 327 class Reference { 329 Reference(const uint8_t *data, uint8_t parent_width, uint8_t byte_width, 334 Reference(const uint8_t *data, uint8_t parent_width, uint8_t packed_type) 643 inline Reference Vector::operator[](size_t i) const [all...] |
/external/emma/ant/ant14/com/vladium/emma/report/ |
reportTask.java | 13 import org.apache.tools.ant.types.Reference; 90 public void setSourcepathRef (final Reference ref)
|
/external/guava/guava/src/com/google/common/base/internal/ |
Finalizer.java | 20 import java.lang.ref.Reference; 38 * Google Collections, this thread would keep an indirect strong reference 63 * @param queue a reference queue that the thread will poll. 64 * @param frqReference a phantom reference to the FinalizableReferenceQueue, which will be 96 + " by reference finalizer thread.", t); 139 * Cleans up a single reference. Catches and logs all throwables. 143 private boolean cleanUp(Reference<?> reference) { 153 reference.clear(); 155 if (reference == frqReference) [all...] |
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/ |
types.pass.cpp | 23 // typedef value_type&& reference; 32 template <class ValueType, class Reference> 38 typedef Reference reference; typedef in struct:DummyIt 52 static_assert((std::is_same<typename R::reference, typename R::value_type&&>::value), ""); 54 static_assert((std::is_same<typename R::reference, typename T::reference>::value), ""); 70 static_assert(std::is_same<It::reference, int>::value, ""); 75 static_assert(std::is_same<It::reference, std::reference_wrapper<int> >::value, ""); 78 // Check that move_iterator uses whatever reference type it's give [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
TrackedGarbage.java | 23 import java.lang.ref.Reference; 55 Reference<?> ref; 62 * A reference to something we consider leaked if it still has strong references.
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
EmojiInputFilter.java | 30 import java.lang.ref.Reference; 96 private final Reference<TextView> mViewRef;
|
EmojiTextWatcher.java | 29 import java.lang.ref.Reference; 95 private final Reference<EditText> mViewRef;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/iterators/predef.iterators/move.iterators/move.iterator/ |
types.pass.cpp | 23 // typedef value_type&& reference; 32 template <class ValueType, class Reference> 38 typedef Reference reference; typedef in struct:DummyIt 52 static_assert((std::is_same<typename R::reference, typename R::value_type&&>::value), ""); 54 static_assert((std::is_same<typename R::reference, typename T::reference>::value), ""); 70 static_assert(std::is_same<It::reference, int>::value, ""); 75 static_assert(std::is_same<It::reference, std::reference_wrapper<int> >::value, ""); 78 // Check that move_iterator uses whatever reference type it's give [all...] |
/frameworks/base/tools/aapt2/ |
ResourceUtils.cpp | 211 Maybe<Reference> ParseStyleParentReference(const StringPiece& str, 222 // Skip over these identifiers. A style's parent is a normal reference. 251 err << "invalid parent reference '" << str << "'"; 256 Reference result(ref); 261 Maybe<Reference> ParseXmlAttributeName(const StringPiece& str) { 267 Reference ref; 286 return Maybe<Reference>(std::move(ref)); 289 std::unique_ptr<Reference> TryParseReference(const StringPiece& str, 294 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref) 584 auto reference = TryParseReference(value, &create); local [all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
__init__.py | 9 from py_utils.refactor.annotated_symbol.reference import * 19 'Reference', 25 # https://docs.python.org/2/reference/grammar.html 45 Reference,
|
/external/llvm/tools/llvm-pdbdump/ |
FunctionDumper.cpp | 88 if (Pointer == PointerType::Reference) 148 else if (Pointer == FunctionDumper::PointerType::Reference) 171 else if (Pointer == FunctionDumper::PointerType::Reference) 243 Symbol.isReference() ? PointerType::Reference : PointerType::Pointer;
|