Home
last modified time | relevance | path

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

/art/runtime/base/
Dhash_set.h302 Iterator Find(const K& element) { in Find() argument
303 return FindWithHash(element, hashfn_(element)); in Find()
307 ConstIterator Find(const K& element) const { in Find() argument
308 return FindWithHash(element, hashfn_(element)); in Find()
312 Iterator FindWithHash(const K& element, size_t hash) { in FindWithHash() argument
313 return Iterator(this, FindIndex(element, hash)); in FindWithHash()
317 ConstIterator FindWithHash(const K& element, size_t hash) const { in FindWithHash() argument
318 return ConstIterator(this, FindIndex(element, hash)); in FindWithHash()
322 void Insert(const T& element) { in Insert() argument
323 InsertWithHash(element, hashfn_(element)); in Insert()
[all …]
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/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()
Dcommon_runtime_test.cc509 mirror::Object* element = dex_elements->GetWithoutChecks(i); in GetDexFiles() local
510 if (element == nullptr) { in GetDexFiles()
514 mirror::Object* dex_file = dex_file_field->GetObject(element); in GetDexFiles()
Dclass_linker.h711 std::size_t operator()(const std::pair<const char*, mirror::ClassLoader*>& element) const
Dclass_linker.cc1677 mirror::Object* element = dex_elements->GetWithoutChecks(i); in FindClassInPathClassLoader() local
1678 if (element == nullptr) { in FindClassInPathClassLoader()
1682 mirror::Object* dex_file = dex_file_field->GetObject(element); in FindClassInPathClassLoader()
5743 const std::pair<const char*, mirror::ClassLoader*>& element) const { in operator ()()
5744 return ComputeModifiedUtf8Hash(element.first); in operator ()()
Ddebugger.cc1266 mirror::Object* element = oa->Get(offset + i); in OutputArray() local
1267 JDWP::JdwpTag specific_tag = (element != nullptr) ? TagFromObject(soa, element) in OutputArray()
1270 expandBufAddObjectId(pReply, gRegistry->Add(element)); in OutputArray()
/art/test/439-npe/src/
DMain.java221 static void checkElement(StackTraceElement element, in checkElement() argument
224 assertEquals(declaringClass, element.getClassName()); in checkElement()
225 assertEquals(methodName, element.getMethodName()); in checkElement()
226 assertEquals(fileName, element.getFileName()); in checkElement()
227 assertEquals(lineNumber, element.getLineNumber()); in checkElement()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedAnnotation.java55 for (AnnotationElement element : elements) { in incrementIndex()
56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
/art/compiler/utils/
Dgrowable_array.h120 void Delete(T element) { in Delete() argument
123 if (!found && elem_list_[i] == element) { in Delete()
131 DCHECK(found || (element == elem_list_[num_used_ - 1])); in Delete()
/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/runtime/mirror/
Darray-inl.h386 inline void PointerArray::SetElementPtrSize(uint32_t idx, T element, size_t ptr_size) { in SetElementPtrSize() argument
389 SetWithoutChecks<kTransactionActive>(idx, (uint64_t)(element)); in SetElementPtrSize()
392 DCHECK_LE((uintptr_t)element, 0xFFFFFFFFu); in SetElementPtrSize()
394 ->SetWithoutChecks<kTransactionActive>(idx, static_cast<uint32_t>((uintptr_t)element)); in SetElementPtrSize()
Darray.h187 void SetElementPtrSize(uint32_t idx, T element, size_t ptr_size)
/art/test/107-int-math2/src/
DMain.java830 static void throwArrayStoreException(Object[] array, Object element) { in throwArrayStoreException() argument
831 array[0] = element; in throwArrayStoreException()
/art/compiler/
Doat_writer.cc837 auto* element = writer_->image_writer_->GetDexCacheArrayElementImageAddress( in GetDexCacheOffset() local
840 return reinterpret_cast<const uint8_t*>(element) - oat_data; in GetDexCacheOffset()