Home
last modified time | relevance | path

Searched refs:IsValid (Results 1 – 25 of 151) sorted by relevance

1234567

/art/runtime/gc/collector/
Dimmune_spaces_test.cc76 CHECK(bitmap.IsValid()); in ReserveBitmaps()
95 if (!image_map.IsValid()) { in CreateImageSpace()
108 if (!oat_map.IsValid()) { in CreateImageSpace()
201 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F()
203 ASSERT_TRUE(image_reservation.IsValid()); in TEST_F()
204 ASSERT_TRUE(reservation.IsValid()); in TEST_F()
211 ASSERT_FALSE(image_reservation.IsValid()); in TEST_F()
212 ASSERT_TRUE(reservation.IsValid()); in TEST_F()
264 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F()
266 ASSERT_TRUE(image_reservation.IsValid()); in TEST_F()
[all …]
/art/compiler/optimizing/
Dreference_type_propagation_test.cc93 EXPECT_FALSE(t1.IsValid()); in TEST_F()
99 EXPECT_TRUE(t2.IsValid()); in TEST_F()
103 EXPECT_TRUE(t3.IsValid()); in TEST_F()
109 EXPECT_TRUE(t4.IsValid()); in TEST_F()
113 EXPECT_TRUE(t5.IsValid()); in TEST_F()
125 EXPECT_TRUE(t1.IsValid()); in TEST_F()
129 EXPECT_TRUE(t2.IsValid()); in TEST_F()
135 EXPECT_TRUE(t3.IsValid()); in TEST_F()
141 EXPECT_TRUE(t4.IsValid()); in TEST_F()
147 EXPECT_TRUE(t5.IsValid()); in TEST_F()
[all …]
Dgraph_checker_test.cc57 ASSERT_TRUE(graph_checker.IsValid()); in TestCode()
101 ASSERT_TRUE(graph_checker.IsValid()); in TEST_F()
107 ASSERT_FALSE(graph_checker.IsValid()); in TEST_F()
116 ASSERT_TRUE(graph_checker.IsValid()); in TEST_F()
126 ASSERT_FALSE(graph_checker.IsValid()); in TEST_F()
Dreference_type_propagation.cc136 DCHECK(instr->GetReferenceTypeInfo().IsValid()) in ValidateTypes()
139 DCHECK(instr->AsBoundType()->GetUpperBound().IsValid()); in ValidateTypes()
143 DCHECK(!cls->GetLoadedClassRTI().IsValid() || cls->GetLoadedClassRTI().IsExact()); in ValidateTypes()
151 DCHECK(!iof->GetTargetClassRTI().IsValid() || iof->GetTargetClassRTI().IsExact()); in ValidateTypes()
154 DCHECK(!check->GetTargetClassRTI().IsValid() || check->GetTargetClassRTI().IsExact()); in ValidateTypes()
283 if (!class_rti.IsValid()) { in BoundTypeForClassCheck()
483 if (!class_rti.IsValid()) { in BoundTypeForIfInstanceOf()
574 if (instr->GetType() == DataType::Type::kReference && !instr->GetReferenceTypeInfo().IsValid()) { in VisitParameterValue()
675 if (parent_rti.IsValid()) { in VisitNullCheck()
682 if (class_rti.IsValid()) { in VisitBoundType()
[all …]
Dssa_liveness_analysis.cc55 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions()
73 if (locations != nullptr && locations->Out().IsValid()) { in NumberInstructions()
112 bool has_in_location = current->GetLocations()->InAt(i).IsValid(); in RecursivelyProcessInputs()
113 bool has_out_location = input->GetLocations()->Out().IsValid(); in RecursivelyProcessInputs()
221 DCHECK(!current->GetLocations()->Out().IsValid()); in ComputeLiveRanges()
225 DCHECK(!user->GetLocations()->InAt(index).IsValid()); in ComputeLiveRanges()
/art/runtime/
Doat.cc97 bool OatHeader::IsValid() const { in IsValid() function in art::OatHeader
148 CHECK(IsValid()); in GetMagic()
153 CHECK(IsValid()); in GetChecksum()
162 CHECK(IsValid()); in GetInstructionSet()
167 CHECK(IsValid()); in GetInstructionSetFeaturesBitmap()
172 DCHECK(IsValid()); in GetOatDexFilesOffset()
179 DCHECK(IsValid()); in SetOatDexFilesOffset()
186 DCHECK(IsValid()); in GetExecutableOffset()
195 DCHECK(IsValid()); in SetExecutableOffset()
210 DCHECK(IsValid()); in GetJniDlsymLookupTrampolineOffset()
[all …]
Doat_quick_method_header.cc45 if (stack_map.IsValid()) { in ToDexPc()
80 if (stack_map.IsValid()) { in ToNativeQuickPc()
Doat.h58 bool IsValid() const;
65 DCHECK(IsValid()); in GetDexFileCount()
Dindirect_reference_table.cc87 if (!table_mem_map_.IsValid() && error_msg->empty()) { in IndirectReferenceTable()
91 if (table_mem_map_.IsValid()) { in IndirectReferenceTable()
131 bool IndirectReferenceTable::IsValid() const { in IsValid() function in art::IndirectReferenceTable
132 return table_mem_map_.IsValid(); in IsValid()
229 if (!new_map.IsValid()) { in Resize()
/art/libartbase/base/
Dmem_map_test.cc60 CHECK(map.IsValid()); in GetValidMapAddress()
75 ASSERT_TRUE(m0.IsValid()); in RemapAtEndTest()
119 ASSERT_TRUE(m2.IsValid()) << error_msg; in RemapAtEndTest()
120 ASSERT_FALSE(m1.IsValid()); in RemapAtEndTest()
170 ASSERT_TRUE(dest.IsValid()); in TEST_F()
176 ASSERT_TRUE(source.IsValid()); in TEST_F()
189 ASSERT_FALSE(source.IsValid()); in TEST_F()
207 ASSERT_TRUE(dest.IsValid()); in TEST_F()
213 ASSERT_TRUE(source.IsValid()); in TEST_F()
235 ASSERT_FALSE(source.IsValid()); in TEST_F()
[all …]
Dbit_field.h43 static bool IsValid(T value) { in IsValid() function
71 DCHECK(IsValid(value)); in Encode()
84 DCHECK(IsValid(value)); in Update()
Dbit_field_test.cc26 ASSERT_TRUE(TestBitFields::IsValid(16)); in TEST()
27 ASSERT_TRUE(!TestBitFields::IsValid(256)); in TEST()
Dzip_archive.cc82 if (!map.IsValid()) { in ExtractToMemMap()
152 if (!map.IsValid()) { in MapDirectlyFromFile()
179 if (map.IsValid()) { in MapDirectlyFromFile()
205 if (ret.IsValid()) { in MapDirectlyOrExtract()
Dmem_map.cc67 DCHECK(map.IsValid()); in GetGMapsEntry()
235 if (!reservation.IsValid()) { in CheckReservation()
412 CHECK(source->IsValid()); in ReplaceWith()
599 DCHECK(IsValid()); in DoReset()
632 DCHECK(IsValid()); in Invalidate()
641 DCHECK(!IsValid()); in Invalidate()
645 if (IsValid() || other.IsValid()) { in swap()
648 auto this_it = IsValid() ? GetGMapsEntry(*this) : gMaps->end(); in swap()
649 auto other_it = other.IsValid() ? GetGMapsEntry(other) : gMaps->end(); in swap()
650 if (IsValid()) { in swap()
[all …]
/art/runtime/gc/accounting/
Dbitmap.cc31 CHECK(mem_map.IsValid()); in CreateFromMemMap()
56 if (UNLIKELY(!mem_map.IsValid())) { in AllocateMemMap()
64 if (UNLIKELY(!mem_map.IsValid())) { in Create()
89 CHECK(mem_map.IsValid()); in Create()
/art/dex2oat/linker/
Dimage_test.cc94 ASSERT_TRUE(image_header.IsValid()); in TEST_F()
99 ASSERT_FALSE(image_header.IsValid()); in TEST_F()
101 ASSERT_FALSE(image_header.IsValid()); in TEST_F()
Delf_writer_test.cc108 CHECK(reservation.IsValid()) << error_msg; in TEST_F()
113 CHECK(!reservation.IsValid()); in TEST_F()
/art/runtime/jit/
Djit_memory_region.h113 bool IsValid() const NO_THREAD_SAFETY_ANALYSIS { in IsValid() function
130 return non_exec_pages_.IsValid(); in HasDualCodeMapping()
134 return writable_data_pages_.IsValid(); in HasDualDataMapping()
138 return exec_pages_.IsValid(); in HasCodeMapping()
Djit_memory_region.cc168 if (!data_pages.IsValid()) { in Initialize()
190 if (!exec_pages.IsValid()) { in Initialize()
209 if (!non_exec_pages.IsValid()) { in Initialize()
229 if (!writable_data_pages.IsValid()) { in Initialize()
280 if (non_exec_pages_.IsValid()) { in Initialize()
282 } else if (exec_pages_.IsValid()) { in Initialize()
/art/runtime/gc/space/
Dmalloc_space.cc69 CHECK(live_bitmap_.IsValid()) << "could not create allocspace live bitmap #" in MallocSpace()
74 CHECK(mark_bitmap_.IsValid()) << "could not create allocspace mark bitmap #" << bitmap_index; in MallocSpace()
114 if (!mem_map.IsValid()) { in CreateMemMap()
214 CHECK(mem_map.IsValid()) << error_msg; in CreateZygoteSpace()
284 if (temp_bitmap_.IsValid()) { in ClampGrowthLimit()
Dspace.cc85 CHECK(live_bitmap_.IsValid()); in DiscontinuousSpace()
87 CHECK(mark_bitmap_.IsValid()); in DiscontinuousSpace()
Dzygote_space.cc49 DCHECK(live_bitmap.IsValid()); in Create()
50 DCHECK(mark_bitmap.IsValid()); in Create()
/art/libdexfile/dex/
Dart_dex_file_loader.cc46 if (!mem_map_.IsValid()) { in GetPermissions()
59 if (!mem_map_.IsValid()) { in EnableWrite()
68 if (!mem_map_.IsValid()) { in DisableWrite()
191 CHECK(map.IsValid()); in Open()
341 if (!map.IsValid()) { in OpenFile()
412 if (!map.IsValid()) { in OpenOneDexFileFromZip()
420 if (!map.IsValid()) { in OpenOneDexFileFromZip()
426 if (!map.IsValid()) { in OpenOneDexFileFromZip()
/art/openjdkjvmti/
Dti_class_definition.h112 return dex_data_mmap_.IsValid() && in ContainsAddress()
140 return dex_data_mmap_.IsValid() && in IsLazyDefinition()
Dti_class_definition.cc53 CHECK(dex_data_mmap_.IsValid()); in InitializeMemory()
54 CHECK(temp_mmap_.IsValid()); in InitializeMemory()
90 if (dex_data_mmap_.IsValid() && dex_data_mmap_.GetProtect() == PROT_NONE) { in IsModified()
260 if (UNLIKELY(dex_data_mmap_.IsValid() && temp_mmap_.IsValid())) { in InitWithDex()

1234567