Lines Matching full:num_elements
62 inline size_t DexCacheArraysLayout::TypesSize(size_t num_elements) const {
65 return std::max(ArraySize(sizeof(GcRoot<mirror::Class>), num_elements), pointer_size_);
76 inline size_t DexCacheArraysLayout::MethodsSize(size_t num_elements) const {
78 return std::max(ArraySize(pointer_size_, num_elements), pointer_size_);
89 inline size_t DexCacheArraysLayout::StringsSize(size_t num_elements) const {
90 return ArraySize(sizeof(GcRoot<mirror::String>), num_elements);
101 inline size_t DexCacheArraysLayout::FieldsSize(size_t num_elements) const {
102 return ArraySize(pointer_size_, num_elements);
113 inline size_t DexCacheArraysLayout::ArraySize(size_t element_size, uint32_t num_elements) {
114 return element_size * num_elements;