Home
last modified time | relevance | path

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

12

/art/test/726-array-store/src/
DMain.java43 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/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/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/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.h98 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/
Dhash_set.h445 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 …]
Darray_slice.h141 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()
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()
/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/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/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedAnnotation.java55 for (AnnotationElement element : elements) { in incrementIndex()
56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
/art/test/662-regression-alias/
Dinfo.txt1 Regression test on missed array element aliasing.
/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]
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/
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/test/497-inlining-and-class-loader/src/
DMain.java63 for (Object element : dexElements) { in loadClass()
64 Object dex = dexFileField.get(element); in loadClass()
/art/runtime/mirror/
Darray-inl.h264 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/
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/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/tools/checker/match/
Dfile.py153 def __push(self, element): argument
154 self.stack.append(element)
156 def __setLast(self, element): argument
157 self.stack[-1] = element

12