Lines Matching refs:size
693 size_t size = 16; in getfrom() local
696 char *what = el_realloc(*fromp, size * sizeof(*what)); in getfrom()
705 if (len - 1 >= size) { in getfrom()
707 nwhat = el_realloc(what, (size <<= 1) * sizeof(*nwhat)); in getfrom()
754 size_t size = 16; in getto() local
758 char *with = el_realloc(*top, size * sizeof(*with)); in getto()
764 if (len + from_len + 1 >= size) { in getto()
766 size += from_len + 1; in getto()
767 nwith = el_realloc(with, size * sizeof(*nwith)); in getto()
995 size_t idx, i, size; in history_expand() local
1025 if (idx + len + 1 > size) { \ in history_expand()
1027 (size += len + 1) * sizeof(*nresult)); \ in history_expand()
1040 size = idx = 0; in history_expand()
1182 int size = 1, idx = 0, i, start; in history_tokenize() local
1206 if (idx + 2 >= size) { in history_tokenize()
1208 size <<= 1; in history_tokenize()
1209 nresult = el_realloc(result, (size_t)size * sizeof(*nresult)); in history_tokenize()
1717 size_t size; in history_total_bytes() local
1724 size = 0; in history_total_bytes()
1726 size += strlen(ev.str) * sizeof(*ev.str); in history_total_bytes()
1732 return (int)size; in history_total_bytes()