Searched defs:element (Results 1 - 17 of 17) sorted by relevance

/art/test/ti-agent/
H A Djni_helper.h25 // Create an object array using a lambda that returns a local ref for each element.
46 jobject element = src(i); local
47 env->SetObjectArrayElement(ret.get(), static_cast<jint>(i), element);
48 env->DeleteLocalRef(element);
/art/tools/ahat/src/
H A DDominatedList.java57 public long getSize(AhatInstance element, AhatHeap heap) { argument
58 return element.getRetainedSize(heap);
68 public DocString render(AhatInstance element) {
69 return Summarizer.summarize(element);
H A DHeapTable.java36 DocString render(T element); argument
44 long getSize(T element, AhatHeap heap); argument
163 for (T element : elements) {
164 if (config.getSize(element, heap) > 0 ||
165 config.getSize(element.getBaseline(), baseheap) > 0) {
/art/runtime/
H A Dmapping_table.h68 DexToPcIterator(const MappingTable* table, uint32_t element) : argument
69 table_(table), element_(element), end_(table_->DexToPcSize()), encoded_table_ptr_(nullptr),
71 if (element == 0) { // An iterator wanted from the start.
79 DCHECK_EQ(table_->DexToPcSize(), element);
145 PcToDexIterator(const MappingTable* table, uint32_t element) : argument
146 table_(table), element_(element), end_(table_->PcToDexSize()), encoded_table_ptr_(nullptr),
148 if (element == 0) { // An iterator wanted from the start.
156 DCHECK_EQ(table_->PcToDexSize(), element);
H A Doat_file_manager.cc315 mirror::Object* element = dex_elements->GetWithoutChecks(i); local
316 if (element == nullptr) {
320 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element);
361 // Handle for dex-cache-element.
401 mirror::Object* element = dex_elements->GetWithoutChecks(i); local
402 if (element == nullptr) {
409 if (element_class == element->GetClass()) {
410 dex_file = dex_file_field->GetObject(element);
411 } else if (dexfile_class == element->GetClass()) {
412 dex_file = element;
[all...]
H A Dcommon_runtime_test.cc616 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); local
617 if (element == nullptr) {
621 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element);
H A Ddebugger.cc1213 mirror::Object* element = oa->Get(offset + i); local
1214 JDWP::JdwpTag specific_tag = (element != nullptr) ? TagFromObject(soa, element)
1217 expandBufAddObjectId(pReply, gRegistry->Add(element));
H A Dclass_linker.cc284 // Note that the priority queue returns the largest element, so operator()
1028 static bool GetDexPathListElementName(ObjPtr<mirror::Object> element,
1037 DCHECK(element != nullptr);
1038 CHECK_EQ(dex_file_field->GetDeclaringClass(), element->GetClass()) << element->PrettyTypeOf();
1039 ObjPtr<mirror::Object> dex_file = dex_file_field->GetObject(element);
1085 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); local
1086 if (element == nullptr) {
1087 *error_msg = StringPrintf("Null dex element at index %d", i);
1091 if (!GetDexPathListElementName(element,
1800 ObjPtr<mirror::Object> element = elements->GetWithoutChecks(i); local
2475 ObjPtr<mirror::Object> element = dex_elements->GetWithoutChecks(i); local
[all...]
/art/runtime/gc/
H A Dallocation_record.cc115 const AllocRecordStackTraceElement& element = record.StackElement(i); local
116 DCHECK(element.GetMethod() != nullptr);
117 element.GetMethod()->VisitRoots(buffered_visitor, kRuntimePointerSize);
H A Dallocation_record.h105 void AddStackElement(const AllocRecordStackTraceElement& element) { argument
106 stack_.push_back(element);
/art/test/122-npe/src/
H A DMain.java565 static void checkElement(StackTraceElement element, argument
568 assertEquals(declaringClass, element.getClassName());
569 assertEquals(methodName, element.getMethodName());
570 assertEquals(fileName, element.getFileName());
571 assertEquals(lineNumber, element.getLineNumber());
/art/runtime/mirror/
H A Darray-inl.h411 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { argument
414 SetWithoutChecks<kTransactionActive>(idx, element);
416 DCHECK_LE(element, static_cast<uint64_t>(0xFFFFFFFFu));
418 ->SetWithoutChecks<kTransactionActive>(idx, static_cast<uint32_t>(element));
423 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { argument
425 reinterpret_cast<uintptr_t>(element),
H A Ddex_cache-inl.h234 uint64_t element = reinterpret_cast<const uint64_t*>(ptr_array)[idx]; local
235 return reinterpret_cast<PtrType>(dchecked_integral_cast<uintptr_t>(element));
237 uint32_t element = reinterpret_cast<const uint32_t*>(ptr_array)[idx]; local
238 return reinterpret_cast<PtrType>(dchecked_integral_cast<uintptr_t>(element));
/art/runtime/base/
H A Dhash_set.h311 // If an element in between doesn't rehash to the range from the current empty slot to the
315 // element to its actual location/index.
325 // If the next element is empty, we are done. Make sure to clear the current empty index.
330 // Otherwise try to see if the next element can fill the current empty index.
362 // Find an element, returns end() if not found.
386 // Insert an element, allows duplicates.
387 void Insert(const T& element) { argument
388 InsertWithHash(element, hashfn_(element));
391 void InsertWithHash(const T& element, size_ argument
448 const T& element = ElementForIndex(i); local
470 T& element = data_[i]; variable
552 FindIndex(const K& element, size_t hash) const argument
619 T& element = old_data[i]; local
[all...]
/art/test/107-int-math2/src/
H A DMain.java832 static void throwArrayStoreException(Object[] array, Object element) { argument
833 array[0] = element;
/art/runtime/verifier/
H A Dverifier_deps.cc81 uint16_t VerifierDeps::GetAccessFlags(T* element) { argument
83 if (element == nullptr) {
86 uint16_t access_flags = Low16Bits(element->GetAccessFlags()) & kAccVdexAccessFlags;
/art/test/439-npe/src/
H A DMain.java880 static void checkElement(StackTraceElement element, argument
883 assertEquals(declaringClass, element.getClassName());
884 assertEquals(methodName, element.getMethodName());
885 assertEquals(fileName, element.getFileName());
886 assertEquals(lineNumber, element.getLineNumber());

Completed in 367 milliseconds