Searched refs:elem_size (Results 1 – 1 of 1) sorted by relevance
189 int elem_size = native_slot_size(self->field_type); in RepeatedField_reserve() local199 self->elements = ALLOC_N(uint8_t, elem_size * self->capacity); in RepeatedField_reserve()201 memcpy(self->elements, old_elems, self->size * elem_size); in RepeatedField_reserve()339 size_t elem_size = native_slot_size(field_type); in RepeatedField_dup() local342 for (int i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_dup()358 size_t elem_size = native_slot_size(field_type); in RepeatedField_deep_copy() local361 for (int i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_deep_copy()382 size_t elem_size = native_slot_size(field_type); in RepeatedField_to_ary() local385 for (int i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_to_ary()429 size_t elem_size = native_slot_size(field_type); in RepeatedField_eq() local[all …]