Lines Matching refs:item_sz
372 size_t item_sz = mp_binary_get_size('@', self->typecode, NULL); in array_append() local
375 … self->items = m_renew(byte, self->items, item_sz * self->len, item_sz * (self->len + self->free)); in array_append()
376 mp_seq_clear(self->items, self->len + 1, self->len + self->free, item_sz); in array_append()
439 size_t item_sz = mp_binary_get_size('@', o->typecode & TYPECODE_MASK, NULL); in array_subscr() local
443 … if (item_sz != mp_binary_get_size('@', src_slice->typecode & TYPECODE_MASK, NULL)) { in array_subscr()
451 src_items = (uint8_t *)src_items + (src_slice->memview_offset * item_sz); in array_subscr()
455 if (item_sz != 1) { in array_subscr()
478 dest_items += o->memview_offset * item_sz; in array_subscr()
484 … o->items = m_renew(byte, o->items, (o->len + o->free) * item_sz, (o->len + len_adj) * item_sz); in array_subscr()
489 slice.start, slice.stop, src_items, src_len, len_adj, item_sz); in array_subscr()
492 slice.start, slice.stop, src_items, src_len, item_sz); in array_subscr()
495 mp_seq_clear(dest_items, o->len + len_adj, o->len, item_sz); in array_subscr()