Searched refs:needlen (Results 1 – 2 of 2) sorted by relevance
41 int needlen; in append_string() local46 needlen = s->end + len + 1; in append_string()47 if (needlen > s->len) { in append_string()50 if (s->len * 2 > needlen) in append_string()51 needlen = s->len * 2; in append_string()52 n = realloc(s->s, needlen); in append_string()56 s->len = needlen; in append_string()
6341 size_t needlen; in process_data() local6418 needlen = (size_t)((len+1) * code_unit_size); in process_data()6419 if (dbuffer == NULL || needlen >= dbuffer_size) in process_data()6421 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()6478 needlen += replen * i; in process_data()6480 if (needlen >= dbuffer_size) in process_data()6482 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()