Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 34) sorted by relevance

12

/art/test/671-npe-field-opts/src/
DMain.java65 static void checkElement(StackTraceElement element, in checkElement() argument
68 assertEquals(declaringClass, element.getClassName()); in checkElement()
69 assertEquals(methodName, element.getMethodName()); in checkElement()
70 assertEquals(fileName, element.getFileName()); in checkElement()
71 assertEquals(lineNumber, element.getLineNumber()); in checkElement()
/art/tools/ahat/src/main/com/android/ahat/
DSitePrinter.java40 public long getSize(Site element, AhatHeap heap) { in printSite()
41 return element.getSize(heap).getSize(); in printSite()
50 public DocString render(Site element) { in printSite()
52 if (element.getParent() != null) { in printSite()
55 return str.append(Summarizer.summarize(element)); in printSite()
DDominatedList.java57 public long getSize(AhatInstance element, AhatHeap heap) { in getSize() argument
58 return element.getRetainedSize(heap).getSize(); in getSize()
68 public DocString render(AhatInstance element) { in getValueConfigs()
69 return Summarizer.summarize(element); in getValueConfigs()
DSiteHandler.java63 public long getSize(Site element, AhatHeap heap) { in handle()
64 return element.getSize(heap).getSize(); in handle()
73 public DocString render(Site element) { in handle()
74 return Summarizer.summarize(element); in handle()
DHeapTable.java36 DocString render(T element); in render() argument
44 long getSize(T element, AhatHeap heap); in getSize() argument
153 for (T element : elements) { in hasNonZeroEntry()
154 if (config.getSize(element, heap) > 0 || in hasNonZeroEntry()
155 config.getSize(element.getBaseline(), baseheap) > 0) { in hasNonZeroEntry()
DObjectHandler.java268 public long getSize(PathElement element, AhatHeap heap) { in printGcRootPath()
269 if (element == root) { in printGcRootPath()
272 if (element.isDominator) { in printGcRootPath()
273 return element.instance.getRetainedSize(heap).getSize(); in printGcRootPath()
284 public DocString render(PathElement element) { in printGcRootPath()
285 if (element == root) { in printGcRootPath()
289 label.append(Summarizer.summarize(element.instance)); in printGcRootPath()
290 label.append(element.field); in printGcRootPath()
/art/runtime/
Dmapping_table.h68 DexToPcIterator(const MappingTable* table, uint32_t element) : in DexToPcIterator() argument
69 table_(table), element_(element), end_(table_->DexToPcSize()), encoded_table_ptr_(nullptr), in DexToPcIterator()
71 if (element == 0) { // An iterator wanted from the start. in DexToPcIterator()
79 DCHECK_EQ(table_->DexToPcSize(), element); in DexToPcIterator()
145 PcToDexIterator(const MappingTable* table, uint32_t element) : in PcToDexIterator() argument
146 table_(table), element_(element), end_(table_->PcToDexSize()), encoded_table_ptr_(nullptr), in PcToDexIterator()
148 if (element == 0) { // An iterator wanted from the start. in PcToDexIterator()
156 DCHECK_EQ(table_->PcToDexSize(), element); in PcToDexIterator()
Dclass_loader_utils.h90 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); in VisitClassLoaderDexElements() local
91 if (element == nullptr) { in VisitClassLoaderDexElements()
96 if (!fn(element, &ret_value)) { in VisitClassLoaderDexElements()
124 auto visit_dex_files = [&](ObjPtr<mirror::Object> element, RetType* ret) in VisitClassLoaderDexFiles()
126 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); in VisitClassLoaderDexFiles()
Dclass_loader_context.cc209 for (const std::string& element : classpath_elements) { in ParseClassLoaderSpec() local
211 Split(element, kDexFileChecksumSeparator, &dex_file_with_checksum); in ParseClassLoaderSpec()
943 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); in CollectDexFilesFromSupportedClassLoader() local
944 if (element == nullptr) { in CollectDexFilesFromSupportedClassLoader()
952 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); in CollectDexFilesFromSupportedClassLoader()
978 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); in GetDexFilesFromDexElementsArray() local
982 if (element == nullptr) { in GetDexFilesFromDexElementsArray()
990 if (element_class == element->GetClass()) { in GetDexFilesFromDexElementsArray()
991 dex_file = dex_file_field->GetObject(element); in GetDexFilesFromDexElementsArray()
992 } else if (dexfile_class == element->GetClass()) { in GetDexFilesFromDexElementsArray()
[all …]
/art/libartbase/base/
Dhash_set.h439 iterator insert(const_iterator hint ATTRIBUTE_UNUSED, const T& element) { in insert() argument
440 return insert(element); in insert()
442 iterator insert(const_iterator hint ATTRIBUTE_UNUSED, T&& element) { in insert() argument
443 return insert(std::move(element)); in insert()
447 iterator insert(const T& element) { in insert() argument
448 return InsertWithHash(element, hashfn_(element)); in insert()
450 iterator insert(T&& element) { in insert() argument
451 return InsertWithHash(std::move(element), hashfn_(element)); in insert()
455 iterator InsertWithHash(U&& element, size_t hash) { in InsertWithHash() argument
456 DCHECK_EQ(hash, hashfn_(element)); in InsertWithHash()
[all …]
Dhash_map.h43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator()
44 return fn_(a.first, element); in operator()
Darray_slice.h132 bool Contains(const T* element) const { in Contains() argument
133 return &AtUnchecked(0) <= element && element < &AtUnchecked(size_); in Contains()
/art/test/ti-agent/
Djni_helper.h46 jobject element = src(i); in CreateObjectArray() local
47 env->SetObjectArrayElement(ret.get(), static_cast<jint>(i), element); in CreateObjectArray()
48 env->DeleteLocalRef(element); in CreateObjectArray()
/art/test/590-checker-arr-set-null-regression/src/
DMain.java62 Element element = (Element) object; in testArraySetCheckCastNull() local
63 elements[42] = element; in testArraySetCheckCastNull()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedAnnotation.java55 for (AnnotationElement element : elements) { in incrementIndex()
56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
/art/test/913-heaps/
Dexpected.txt19 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
38 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
67 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
86 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
165 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
171 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
184 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
190 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
217 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
236 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1]
[all …]
/art/test/662-regression-alias/
Dinfo.txt1 Regression test on missed array element aliasing.
/art/test/156-register-dex-file-multi-loader/src/
DMain.java47 for (Object element : dexElements) { in loadClass()
48 Object dex = dexFileField.get(element); in loadClass()
/art/test/496-checker-inlining-class-loader/src/
DMain.java41 for (Object element : dexElements) { in MyClassLoader()
42 Object dexFile = f.get(element); in MyClassLoader()
/art/test/542-unresolved-access-check/src/
DMain.java55 for (Object element : dexElements) { in loadClass()
56 Object dex = dexFileField.get(element); in loadClass()
/art/runtime/mirror/
Darray-inl.h255 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument
258 SetWithoutChecks<kTransactionActive>(idx, element); in SetElementPtrSize()
260 DCHECK_LE(element, static_cast<uint64_t>(0xFFFFFFFFu)); in SetElementPtrSize()
262 ->SetWithoutChecks<kTransactionActive>(idx, static_cast<uint32_t>(element)); in SetElementPtrSize()
267 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument
269 reinterpret_cast<uintptr_t>(element), in SetElementPtrSize()
/art/test/497-inlining-and-class-loader/src/
DMain.java63 for (Object element : dexElements) { in loadClass()
64 Object dex = dexFileField.get(element); in loadClass()
/art/test/122-npe/src/
DMain.java565 static void checkElement(StackTraceElement element, in checkElement() argument
568 assertEquals(declaringClass, element.getClassName()); in checkElement()
569 assertEquals(methodName, element.getMethodName()); in checkElement()
570 assertEquals(fileName, element.getFileName()); in checkElement()
571 assertEquals(lineNumber, element.getLineNumber()); in checkElement()
/art/runtime/gc/
Dallocation_record.cc68 const AllocRecordStackTraceElement& element = record.StackElement(i); in VisitRoots() local
69 DCHECK(element.GetMethod() != nullptr); in VisitRoots()
70 element.GetMethod()->VisitRoots(buffered_visitor, kRuntimePointerSize); in VisitRoots()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h131 for (auto& element : it.second) { in ClearEntries()
132 element.store(nullptr, std::memory_order_relaxed); in ClearEntries()

12