Lines Matching defs:size
30 int size;
37 v->size = 0;
44 static inline int veci_size (veci* v) { return v->size; }
45 static inline void veci_resize (veci* v, int k) { v->size = k; } // only safe to shrink !!
48 if (v->size == v->cap) {
52 v->ptr[v->size++] = e;
62 int size;
69 v->size = 0;
76 static inline int vecp_size (vecp* v) { return v->size; }
77 static inline void vecp_resize (vecp* v, int k) { v->size = k; } // only safe to shrink !!
80 if (v->size == v->cap) {
84 v->ptr[v->size++] = e;