Home
last modified time | relevance | path

Searched refs:IsEmpty (Results 1 – 25 of 46) sorted by relevance

12

/art/runtime/gc/
Dreference_queue_test.cc37 ASSERT_TRUE(queue.IsEmpty()); in TEST_F()
48 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F()
51 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F()
57 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F()
61 ASSERT_TRUE(queue.IsEmpty()); in TEST_F()
Dreference_processor.cc172 DCHECK(soft_reference_queue_.IsEmpty()); in ProcessReferences()
173 DCHECK(weak_reference_queue_.IsEmpty()); in ProcessReferences()
174 DCHECK(finalizer_reference_queue_.IsEmpty()); in ProcessReferences()
175 DCHECK(phantom_reference_queue_.IsEmpty()); in ProcessReferences()
214 DCHECK(soft_reference_queue_.IsEmpty()); in ProcessReferences()
215 DCHECK(weak_reference_queue_.IsEmpty()); in ProcessReferences()
216 DCHECK(finalizer_reference_queue_.IsEmpty()); in ProcessReferences()
217 DCHECK(phantom_reference_queue_.IsEmpty()); in ProcessReferences()
299 if (!cleared_references_.IsEmpty()) { in CollectClearedReferences()
Dreference_queue.cc45 if (IsEmpty()) { in EnqueueReference()
60 DCHECK(!IsEmpty()); in DequeuePendingReference()
135 while (!IsEmpty()) { in ClearWhiteReferences()
157 while (!IsEmpty()) { in EnqueueFinalizerReferences()
181 if (UNLIKELY(IsEmpty())) { in ForwardSoftReferences()
Dreference_queue.h101 bool IsEmpty() const { in IsEmpty() function
/art/libdexfile/dex/
Dtype_lookup_table.cc55 if (entries[pos].IsEmpty()) { in Create()
71 DCHECK(!entries[tail_pos].IsEmpty()); in Create()
74 DCHECK(!entries[tail_pos].IsEmpty()); in Create()
80 } while (!entries[insert_pos].IsEmpty()); in Create()
106 if (entry->IsEmpty()) { in Lookup()
117 DCHECK(!entry->IsEmpty()); in Lookup()
137 DCHECK(!entry->IsEmpty()); in Lookup()
Dtype_lookup_table.h126 bool IsEmpty() const { in IsEmpty() function
/art/compiler/utils/arm64/
Dassembler_arm64.cc127 if (!registers.IsEmpty()) { in SpillRegisters()
132 DCHECK(registers.IsEmpty()); in SpillRegisters()
153 if (!registers.IsEmpty()) { in UnspillRegisters()
158 DCHECK(registers.IsEmpty()); in UnspillRegisters()
/art/libprofile/profile/
Dprofile_boot_info.h58 bool IsEmpty() const { return dex_files_.empty() && methods_.empty(); } in IsEmpty() function
Dprofile_boot_info_test.cc41 ASSERT_TRUE(loaded_info.IsEmpty()); in TEST_F()
43 ASSERT_TRUE(loaded_info.IsEmpty()); in TEST_F()
Dprofile_compilation_info_test.cc211 ASSERT_TRUE(loaded_info.IsEmpty()); in TestProfileLoadFromZip()
218 bool IsEmpty(const ProfileCompilationInfo& info) { in IsEmpty() function in art::ProfileCompilationInfoTest
219 return info.IsEmpty(); in IsEmpty()
1101 ASSERT_TRUE(IsEmpty(loaded_info)); in TEST_F()
1190 ASSERT_FALSE(IsEmpty(info)); in TEST_F()
1192 ASSERT_TRUE(IsEmpty(info)); in TEST_F()
1697 ASSERT_TRUE(info.IsEmpty()); in TEST_F()
1707 ASSERT_TRUE(info.IsEmpty()); in TEST_F()
/art/libartbase/base/
Dhash_set.h126 bool IsEmpty(const T& item) const { in IsEmpty() function
137 bool IsEmpty(T* const& item) const { in IsEmpty() function
382 if (emptyfn_.IsEmpty(next_element)) { in erase()
523 if (!emptyfn_.IsEmpty(element)) { in TotalProbeDistance()
545 if (!emptyfn_.IsEmpty(element)) { in Verify()
643 if (emptyfn_.IsEmpty(slot)) { in FindIndexImpl()
654 return emptyfn_.IsEmpty(ElementForIndex(index)); in IsFreeSlot()
702 if (!emptyfn_.IsEmpty(element)) { in Resize()
720 while (!emptyfn_.IsEmpty(data_[index])) { in FirstAvailableSlot()
Dhiddenapi_flags.h230 if (current.IsEmpty() || !api_list.CanCombineWith(current)) { in FromNames()
295 bool IsEmpty() const { return (GetValue() == Value::kInvalid) && (GetDomainApis() == 0); } in IsEmpty() function
313 if (IsEmpty()) { in Dump()
335 DCHECK_EQ(IsEmpty(), is_first); in Dump()
Dbit_string.h61 bool IsEmpty() const { in IsEmpty() function
248 bool IsEmpty() const { in IsEmpty() function
Dhash_map.h57 bool IsEmpty(const std::pair<Key, Value>& item) const { in IsEmpty() function
Dhash_set_test.cc37 bool IsEmpty(const std::string& item) const { in IsEmpty() function
266 bool IsEmpty(const std::pair<std::string, int>& pair) const { in IsEmpty() function
287 bool IsEmpty(const std::vector<int>& item) const { in IsEmpty() function
/art/compiler/optimizing/
Dgvn.cc143 if (IsEmpty()) { in IntersectWith()
145 } else if (predecessor->IsEmpty()) { in IntersectWith()
156 bool IsEmpty() const { return num_entries_ == 0; } in IsEmpty() function in art::ValueSet
460 if (!set->IsEmpty()) { in VisitBasicBlock()
478 if (set->IsEmpty()) { in VisitBasicBlock()
Dnodes.cc453 if (header->GetPhis().IsEmpty()) { in TransformLoopToSinglePreheaderFormat()
1970 return block.GetPhis().IsEmpty() in HasOnlyOneInstruction()
1971 && !block.GetInstructions().IsEmpty() in HasOnlyOneInstruction()
1993 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsControlFlow(); in EndsWithControlFlowInstruction()
1997 return !GetInstructions().IsEmpty() && in EndsWithReturn()
2002 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsIf(); in EndsWithIf()
2006 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsTryBoundary(); in EndsWithTryBoundary()
2010 return !GetPhis().IsEmpty() && GetFirstPhi()->GetNext() == nullptr; in HasSinglePhi()
2070 if (!instruction_list.IsEmpty()) { in AddAfter()
2084 if (!instruction_list.IsEmpty()) { in AddBefore()
[all …]
Ddead_code_elimination.cc249 block->GetPhis().IsEmpty() && in SimplifyAlwaysThrows()
261 succ->GetPhis().IsEmpty()) { in SimplifyAlwaysThrows()
Dselect_generator.cc39 DCHECK(block->GetPhis().IsEmpty()); in IsSimpleBlock()
/art/compiler/utils/
Ddedupe_set-inl.h127 bool IsEmpty() const {
142 bool IsEmpty(const HashedKey<StoreKey>& key) const {
143 return key.IsEmpty();
/art/runtime/
Dclass_table.h124 DCHECK(IsEmpty(item)); in MakeEmpty()
126 bool IsEmpty(const TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in IsEmpty() function
Dsubtype_check_info.h275 if (GetBitString().IsEmpty()) { in GetState()
/art/runtime/gc/collector/
Dsemi_space.cc511 DCHECK(mark_stack_->IsEmpty()); in Sweep()
591 while (!mark_stack_->IsEmpty()) { in ProcessMarkStack()
651 CHECK(mark_stack_->IsEmpty()); in FinishPhase()
/art/runtime/gc/space/
Dbump_pointer_space.h123 bool IsEmpty() const { in IsEmpty() function
/art/runtime/gc/accounting/
Datomic_stack.h165 bool IsEmpty() const { in IsEmpty() function

12