/art/tools/ahat/src/main/com/android/ahat/ |
D | SitePrinter.java | 40 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()
|
D | DominatedList.java | 57 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()
|
D | SiteHandler.java | 63 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()
|
D | HeapTable.java | 36 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()
|
D | ObjectHandler.java | 268 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/test/671-npe-field-opts/src/ |
D | Main.java | 65 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/runtime/ |
D | mapping_table.h | 68 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()
|
D | class_loader_utils.h | 98 for (auto element : dex_elements.Iterate<mirror::Object>()) { in VisitClassLoaderDexElements() 99 if (element == nullptr) { in VisitClassLoaderDexElements() 104 if (!fn(element, &ret_value)) { in VisitClassLoaderDexElements() 132 auto visit_dex_files = [&](ObjPtr<mirror::Object> element, RetType* ret) in VisitClassLoaderDexFiles() 134 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); in VisitClassLoaderDexFiles()
|
D | class_loader_context.cc | 213 for (const std::string& element : classpath_elements) { in ParseClassLoaderSpec() local 215 Split(element, kDexFileChecksumSeparator, &dex_file_with_checksum); in ParseClassLoaderSpec() 1016 for (auto element : dex_elements.Iterate<mirror::Object>()) { in CollectDexFilesFromSupportedClassLoader() local 1017 if (element == nullptr) { in CollectDexFilesFromSupportedClassLoader() 1025 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element); in CollectDexFilesFromSupportedClassLoader() 1050 for (auto element : dex_elements.Iterate<mirror::Object>()) { in GetDexFilesFromDexElementsArray() local 1054 if (element == nullptr) { in GetDexFilesFromDexElementsArray() 1062 if (element_class == element->GetClass()) { in GetDexFilesFromDexElementsArray() 1063 dex_file = dex_file_field->GetObject(element); in GetDexFilesFromDexElementsArray() 1064 } else if (dexfile_class == element->GetClass()) { in GetDexFilesFromDexElementsArray() [all …]
|
/art/libartbase/base/ |
D | hash_set.h | 445 std::pair<iterator, bool> insert(const_iterator hint ATTRIBUTE_UNUSED, const T& element) { in insert() argument 446 return insert(element); in insert() 448 std::pair<iterator, bool> insert(const_iterator hint ATTRIBUTE_UNUSED, T&& element) { in insert() argument 449 return insert(std::move(element)); in insert() 453 std::pair<iterator, bool> insert(const T& element) { in insert() argument 454 return InsertWithHash(element, hashfn_(element)); in insert() 456 std::pair<iterator, bool> insert(T&& element) { in insert() argument 457 return InsertWithHash(std::move(element), hashfn_(element)); in insert() 461 std::pair<iterator, bool> InsertWithHash(U&& element, size_t hash) { in InsertWithHash() argument 462 DCHECK_EQ(hash, hashfn_(element)); in InsertWithHash() [all …]
|
D | array_slice.h | 141 bool Contains(const T* element) const { in Contains() argument 142 return &AtUnchecked(0) <= element && element < &AtUnchecked(size_) && in Contains() 143 ((reinterpret_cast<uintptr_t>(element) - in Contains() 147 size_t OffsetOf(const T* element) const { in OffsetOf() argument 148 DCHECK(Contains(element)); in OffsetOf() 151 uintptr_t obj_ptr = reinterpret_cast<uintptr_t>(element); in OffsetOf()
|
D | hash_map.h | 43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator() 44 return fn_(a.first, element); in operator()
|
/art/test/590-checker-arr-set-null-regression/src/ |
D | Main.java | 62 Element element = (Element) object; in testArraySetCheckCastNull() local 63 elements[42] = element; in testArraySetCheckCastNull()
|
/art/test/ti-agent/ |
D | jni_helper.h | 46 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/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | EncodedAnnotation.java | 55 for (AnnotationElement element : elements) { in incrementIndex() 56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
|
/art/test/662-regression-alias/ |
D | info.txt | 1 Regression test on missed array element aliasing.
|
/art/test/913-heaps/ |
D | expected.txt | 19 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] 218 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 237 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] [all …]
|
/art/test/156-register-dex-file-multi-loader/src/ |
D | Main.java | 47 for (Object element : dexElements) { in loadClass() 48 Object dex = dexFileField.get(element); in loadClass()
|
/art/test/496-checker-inlining-class-loader/src/ |
D | Main.java | 41 for (Object element : dexElements) { in MyClassLoader() 42 Object dexFile = f.get(element); in MyClassLoader()
|
/art/test/542-unresolved-access-check/src/ |
D | Main.java | 55 for (Object element : dexElements) { in loadClass() 56 Object dex = dexFileField.get(element); in loadClass()
|
/art/runtime/mirror/ |
D | array-inl.h | 263 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument 266 SetWithoutChecks<kTransactionActive>(idx, element); in SetElementPtrSize() 268 DCHECK_LE(element, static_cast<uint64_t>(0xFFFFFFFFu)); in SetElementPtrSize() 270 ->SetWithoutChecks<kTransactionActive>(idx, static_cast<uint32_t>(element)); in SetElementPtrSize() 275 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument 277 reinterpret_cast<uintptr_t>(element), in SetElementPtrSize()
|
/art/test/497-inlining-and-class-loader/src/ |
D | Main.java | 63 for (Object element : dexElements) { in loadClass() 64 Object dex = dexFileField.get(element); in loadClass()
|
/art/runtime/gc/ |
D | allocation_record.cc | 68 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/test/122-npe/src/ |
D | Main.java | 565 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/compiler/utils/ |
D | atomic_dex_ref_map-inl.h | 131 for (auto& element : it.second) { in ClearEntries() 132 element.store(nullptr, std::memory_order_relaxed); in ClearEntries()
|