Lines Matching refs:alloc
91 size_t alloc; /* Allocated space for active. */ member
215 if (inactive > lb->alloc * 2)
218 lb->alloc += lb->active - lb->text;
222 if (lb->alloc > len)
226 lb->alloc *= 2;
227 if (lb->alloc < len)
228 lb->alloc = len;
229 if (lb->alloc < INITIAL_BUFFER_SIZE)
230 lb->alloc = INITIAL_BUFFER_SIZE;
232 lb->text = REALLOC(lb->text, inactive + lb->alloc, char);
246 if (to->alloc < new_length)
293 if (to->alloc - to->length < length * mb_cur_max)
396 buf->alloc = initial_size;
415 if (buf->alloc == 0)
440 to->alloc += to->active - to->text;
442 if (to->alloc < from->length)
444 to->alloc *= 2;
445 if (to->alloc < from->length)
446 to->alloc = from->length;
447 if (to->alloc < INITIAL_BUFFER_SIZE)
448 to->alloc = INITIAL_BUFFER_SIZE;
452 to->text = MALLOC(to->alloc, char);
1200 line.alloc -= regs.end[0];
1438 line.alloc -= p - line.active;
1701 if (line.alloc < new_len)