Searched refs:queue (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/ |
D | reference_queue_test.cc | 32 ReferenceQueue queue(&lock); in TEST_F() local 33 ASSERT_TRUE(queue.IsEmpty()); in TEST_F() 35 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 45 queue.EnqueuePendingReference(ref1.Get()); in TEST_F() 46 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 47 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 48 queue.EnqueuePendingReference(ref2.Get()); in TEST_F() 49 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 50 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 51 ASSERT_EQ(queue.DequeuePendingReference(), ref2.Get()); in TEST_F() [all …]
|
/art/test/079-phantom/src/ |
D | Bitmap.java | 114 ReferenceQueue<PhantomWrapper> queue, int nativeDataPtr) in PhantomWrapper() argument 116 super(wrapper, queue); in PhantomWrapper() 130 BitmapWatcher(ReferenceQueue<PhantomWrapper> queue) { in BitmapWatcher() argument 131 mQueue = queue; in BitmapWatcher()
|
/art/runtime/mirror/ |
D | reference-inl.h | 33 const Object* queue = GetFieldObject<mirror::Object>(QueueOffset()); in IsEnqueuable() local 35 return queue != nullptr && queue_next == nullptr; in IsEnqueuable()
|
/art/runtime/base/ |
D | arena_containers.h | 48 using ArenaQueue = std::queue<T, ArenaDeque<T>>;
|
D | scoped_arena_containers.h | 47 using ScopedArenaQueue = std::queue<T, ScopedArenaDeque<T>>;
|
/art/runtime/ |
D | class_linker.cc | 635 ArtField* queue = java_lang_ref_Reference->GetInstanceField(1); in FinishInit() local 636 CHECK_STREQ(queue->GetName(), "queue"); in FinishInit() 637 CHECK_STREQ(queue->GetTypeDescriptor(), "Ljava/lang/ref/ReferenceQueue;"); in FinishInit() 847 std::priority_queue<DexFileAndClassPair> queue; in HasCollisions() local 856 AddDexFilesFromOat(loaded_oat_file, true, &queue); in HasCollisions() 860 if (queue.empty()) { in HasCollisions() 866 AddDexFilesFromOat(oat_file, false, &queue); in HasCollisions() 869 while (!queue.empty()) { in HasCollisions() 870 DexFileAndClassPair compare_pop = queue.top(); in HasCollisions() 871 queue.pop(); in HasCollisions() [all …]
|