Lines Matching defs:elts
63 struct mecherrmap__pair *elts;
70 arr->elts = calloc(10, sizeof(struct mecherrmap__pair));
71 if (arr->elts == NULL)
88 upper_bound = SIZE_MAX / sizeof(*arr->elts);
98 size_t oldsize = sizeof(*arr->elts) * arr->allocated;
109 newsize = sizeof(*arr->elts) * newcount;
110 ptr = realloc(arr->elts, newsize);
114 arr->elts = ptr;
124 return arr->elts + idx;
144 free(arr->elts);
145 arr->elts = 0;