/art/test/726-array-store/src/ |
D | Main.java | 43 static void checkElement(StackTraceElement element, in checkElement() argument 46 assertEquals(declaringClass, element.getClassName()); in checkElement() 47 assertEquals(methodName, element.getMethodName()); in checkElement() 48 assertEquals(fileName, element.getFileName()); in checkElement() 49 assertEquals(lineNumber, element.getLineNumber()); in checkElement()
|
/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/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/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()
|
/art/libartbase/base/ |
D | hash_set.h | 487 std::pair<iterator, bool> insert(const_iterator hint ATTRIBUTE_UNUSED, const T& element) { in insert() argument 488 return insert(element); in insert() 490 std::pair<iterator, bool> insert(const_iterator hint ATTRIBUTE_UNUSED, T&& element) { in insert() argument 491 return insert(std::move(element)); in insert() 495 std::pair<iterator, bool> insert(const T& element) { in insert() argument 496 return InsertWithHash(element, hashfn_(element)); in insert() 498 std::pair<iterator, bool> insert(T&& element) { in insert() argument 499 return InsertWithHash(std::move(element), hashfn_(element)); in insert() 503 std::pair<iterator, bool> InsertWithHash(U&& element, size_t hash) { in InsertWithHash() argument 504 DCHECK_EQ(hash, hashfn_(element)); in InsertWithHash() [all …]
|
D | array_slice.h | 146 bool Contains(const T* element) const { in Contains() argument 147 return &AtUnchecked(0) <= element && element < &AtUnchecked(size_) && in Contains() 148 ((reinterpret_cast<uintptr_t>(element) - in Contains() 152 size_t OffsetOf(const T* element) const { in OffsetOf() argument 153 DCHECK(Contains(element)); in OffsetOf() 156 uintptr_t obj_ptr = reinterpret_cast<uintptr_t>(element); in OffsetOf()
|
D | hash_map.h | 49 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator() 50 return pred_fn_(a.first, element); in operator()
|
/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/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/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | EncodedAnnotation.java | 55 for (AnnotationElement element : elements) { in incrementIndex() 56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
|
/art/test/913-heaps/ |
D | expected-stdout.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] 66 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 85 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 163 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 169 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 181 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 187 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 215 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] 234 500@0 --(array-element@1)--> 2@1000 [size=16, length=-1] [all …]
|
/art/test/662-regression-alias/ |
D | info.txt | 1 Regression test on missed array element aliasing.
|
/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/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/mirror/ |
D | array-inl.h | 264 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument 267 SetWithoutChecks<kTransactionActive, kCheckTransaction>(idx, element); in SetElementPtrSize() 269 uint32_t element32 = dchecked_integral_cast<uint32_t>(element); in SetElementPtrSize() 276 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument 278 idx, reinterpret_cast<uintptr_t>(element), ptr_size); in SetElementPtrSize()
|
/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 | 575 static void checkElement(StackTraceElement element, in checkElement() argument 578 assertEquals(declaringClass, element.getClassName()); in checkElement() 579 assertEquals(methodName, element.getMethodName()); in checkElement() 580 assertEquals(fileName, element.getFileName()); in checkElement() 581 assertEquals(lineNumber, element.getLineNumber()); in checkElement()
|
/art/tools/checker/match/ |
D | file.py | 156 def _push(self, element): argument 157 self.stack.append(element) 159 def _set_last(self, element): argument 160 self.stack[-1] = element
|