Searched refs:lbuf_dim (Results 1 – 1 of 1) sorted by relevance
186 int lbuf_dim; /* The allocated size of lbuf[] */ member278 glh->lbuf_dim = 0; in _new_GlHistory()329 glh->lbuf_dim = GLH_LBUF_SIZE; in _new_GlHistory()330 glh->lbuf = (char *) malloc(glh->lbuf_dim); in _new_GlHistory()1979 if(node->line->len + 1 > glh->lbuf_dim) { in _glh_lookup_history()1980 int lbuf_dim = node->line->len + 1; in _glh_lookup_history() local1981 char *lbuf = realloc(glh->lbuf, lbuf_dim); in _glh_lookup_history()1986 glh->lbuf_dim = lbuf_dim; in _glh_lookup_history()1992 _glh_return_line(node->line, glh->lbuf, glh->lbuf_dim); in _glh_lookup_history()