Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 34) 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/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.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.h487 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 …]
Darray_slice.h146 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()
Dhash_map.h49 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/
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-stdout.txt19 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/
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/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.java575 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/
Dfile.py156 def _push(self, element): argument
157 self.stack.append(element)
159 def _set_last(self, element): argument
160 self.stack[-1] = element

12