Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 3 of 3) sorted by relevance

/art/runtime/mirror/
Ddex_cache.cc60 size_t num_fields = std::min<size_t>(kDexCacheFieldCacheSize, dex_file->NumFieldIds()); in InitializeNativeFields() local
73 AllocArray<FieldDexCacheType>(self, linear_alloc, num_fields); in InitializeNativeFields()
99 for (size_t i = 0; i < num_fields; ++i) { in InitializeNativeFields()
134 num_fields, in InitializeNativeFields()
/art/runtime/
Dclass_linker.cc4941 const size_t num_fields = 2; in CreateProxyClass() local
4942 LengthPrefixedArray<ArtField>* sfields = AllocArtFieldArray(self, allocator, num_fields); in CreateProxyClass()
8563 const size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in LinkFields() local
8581 CHECK_EQ(num_fields == 0, fields == nullptr) << klass->PrettyClass(); in LinkFields()
8612 if (num_fields <= kStackBufferEntries) { in LinkFields()
8613 sorted_fields = ArrayRef<FieldTypeOrderAndIndex>(stack_buffer, num_fields); in LinkFields()
8615 heap_buffer.resize(num_fields); in LinkFields()
8619 size_t primitive_fields_start = num_fields; in LinkFields()
8620 DCHECK_LE(num_fields, 1u << 16); in LinkFields()
8621 for (size_t i = 0; i != num_fields; ++i) { in LinkFields()
[all …]
Dclass_linker_test.cc506 size_t num_fields = is_static ? klass->NumStaticFields() : klass->NumInstanceFields(); in Check() local
507 if (offsets.size() != num_fields) { in Check()
510 << " Java=" << num_fields in Check()