/art/runtime/base/ |
D | message_queue_test.cc | 52 TestMessageQueue queue; in TEST_F() local 54 queue.SendMessage(EmptyMessage{}); in TEST_F() 55 ASSERT_TRUE(std::holds_alternative<EmptyMessage>(queue.ReceiveMessage())); in TEST_F() 57 queue.SendMessage(IntMessage{42}); in TEST_F() 58 ASSERT_TRUE(std::holds_alternative<IntMessage>(queue.ReceiveMessage())); in TEST_F() 60 queue.SendMessage(OtherIntMessage{43}); in TEST_F() 61 ASSERT_TRUE(std::holds_alternative<OtherIntMessage>(queue.ReceiveMessage())); in TEST_F() 63 queue.SendMessage(TwoIntMessage{1, 2}); in TEST_F() 64 ASSERT_TRUE(std::holds_alternative<TwoIntMessage>(queue.ReceiveMessage())); in TEST_F() 66 queue.SendMessage(StringMessage{"Hello, World!"}); in TEST_F() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 36 ReferenceQueue queue(&lock); in TEST_F() local 37 ASSERT_TRUE(queue.IsEmpty()); in TEST_F() 38 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 47 queue.EnqueueReference(ref1.Get()); in TEST_F() 48 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 49 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 50 queue.EnqueueReference(ref2.Get()); in TEST_F() 51 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 52 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 56 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F() [all …]
|
/art/test/004-NativeAllocations/src-art/ |
D | Main.java | 43 public static PhantomReference allocPhantom(ReferenceQueue<Object> queue) { in allocPhantom() argument 44 return new PhantomReference(new Object(), queue); in allocPhantom() 54 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in checkRegisterNativeAllocation() local 55 ref = allocPhantom(queue); in checkRegisterNativeAllocation() 71 if (queue.remove(MAX_EXPECTED_GC_DURATION_MS) == null) { in checkRegisterNativeAllocation()
|
/art/test/079-phantom/src/ |
D | Bitmap.java | 121 ReferenceQueue<PhantomWrapper> queue, int nativeDataPtr) in PhantomWrapper() argument 123 super(wrapper, queue); in PhantomWrapper() 138 BitmapWatcher(ReferenceQueue<PhantomWrapper> queue) { in BitmapWatcher() argument 139 mQueue = queue; in BitmapWatcher()
|
/art/dexlayout/ |
D | dex_writer.cc | 710 void DexWriter::WriteMapItems(Stream* stream, MapItemQueue* queue) { in WriteMapItems() argument 712 const uint32_t map_list_size = queue->size(); in WriteMapItems() 714 while (!queue->empty()) { in WriteMapItems() 715 const MapItem& item = queue->top(); in WriteMapItems() 722 queue->pop(); in WriteMapItems() 727 MapItemQueue queue; in GenerateAndWriteMapItems() local 730 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeHeaderItem, 1, 0)); in GenerateAndWriteMapItems() 731 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeStringIdItem, in GenerateAndWriteMapItems() 734 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeTypeIdItem, in GenerateAndWriteMapItems() 737 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeProtoIdItem, in GenerateAndWriteMapItems() [all …]
|
D | dex_writer.h | 261 void WriteMapItems(Stream* stream, MapItemQueue* queue);
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 249 T PopRealTop(Queue<T, Args...>& queue) { in PopRealTop() argument 250 auto pair = queue.top(); in PopRealTop() 251 queue.pop(); in PopRealTop() 255 queue.push(pair); in PopRealTop() 256 pair = queue.top(); in PopRealTop() 257 queue.pop(); in PopRealTop() 266 std::priority_queue<std::pair<int32_t, MatchTrie*>> queue; in ExtractPrefixes() local 280 queue.emplace(elem->Savings(), elem); in ExtractPrefixes() 285 while (max != 0u && !queue.empty()) { in ExtractPrefixes() 286 std::pair<int32_t, MatchTrie*> pair = PopRealTop(queue); in ExtractPrefixes()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatInstance.java | 730 Queue<Reference> queue = queues.get(reachability); in computeReachability() local 731 while (!queue.isEmpty()) { in computeReachability() 732 Reference ref = queue.poll(); in computeReachability() 743 queue.add(childRef); in computeReachability()
|
/art/odrefresh/ |
D | odr_fs_utils.cc | 107 std::queue<std::string> unvisited; in GetUsedSpace()
|
/art/libartbase/base/ |
D | arena_containers.h | 53 using ArenaQueue = std::queue<T, ArenaDeque<T>>;
|
D | scoped_arena_containers.h | 51 using ScopedArenaQueue = std::queue<T, ScopedArenaDeque<T>>;
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 48 std::queue<DdmCallbackData> callbacks_received;
|
/art/compiler/optimizing/ |
D | nodes.cc | 1340 ScopedArenaDeque<std::pair<HInstruction*, size_t>> queue(allocator.Adapter(kArenaAllocMisc)); in Dump() local 1341 auto add_args = [&queue](HInstruction* instruction, size_t indentation) { in Dump() 1343 queue.emplace_front(arg, indentation); in Dump() 1347 while (!queue.empty()) { in Dump() 1350 std::tie(instruction, indentation) = queue.front(); in Dump() 1351 queue.pop_front(); in Dump()
|
D | execution_subgraph_test.cc | 47 std::queue<const HBasicBlock*> worklist; in CalculateValidity()
|
/art/runtime/verifier/ |
D | reg_type_test.cc | 971 std::queue<const RegType*> work_list; in TEST_F()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2475 Ljava/lang/Daemons$FinalizerDaemon;->queue:Ljava/lang/ref/ReferenceQueue; 3042 Ljava/lang/ref/Reference;->queue:Ljava/lang/ref/ReferenceQueue; 6277 Ljava/util/Collections$CheckedQueue;->queue:Ljava/util/Queue; 7109 Ljava/util/concurrent/ConcurrentLinkedDeque$CLDSpliterator;->queue:Ljava/util/concurrent/Concurrent… 7163 Ljava/util/concurrent/ConcurrentLinkedQueue$CLQSpliterator;->queue:Ljava/util/concurrent/Concurrent… 7684 Ljava/util/concurrent/LinkedBlockingDeque$LBDSpliterator;->queue:Ljava/util/concurrent/LinkedBlocki… 7710 Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;->queue:Ljava/util/concurrent/LinkedBlocki… 8057 Ljava/util/concurrent/PriorityBlockingQueue$PBQSpliterator;->queue:Ljava/util/concurrent/PriorityBl… 8067 Ljava/util/concurrent/PriorityBlockingQueue;->queue:[Ljava/lang/Object; 8096 Ljava/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue;->queue:[Ljava/util/concurrent/R… [all …]
|
/art/runtime/ |
D | class_linker.cc | 1074 ArtField* queue = java_lang_ref_Reference->GetInstanceField(1); in FinishInit() local 1075 CHECK_STREQ(queue->GetName(), "queue"); in FinishInit() 1076 CHECK_STREQ(queue->GetTypeDescriptor(), "Ljava/lang/ref/ReferenceQueue;"); in FinishInit()
|