Home
last modified time | relevance | path

Searched refs:nbuff (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libtecla/common/
H A Dhistory.c174 int nbuff; /* The allocated dimension of buffer[] */ member
269 glh->nbuff = (buflen+GLH_SEG_SIZE-1) / GLH_SEG_SIZE; in _new_GlHistory()
282 glh->nfree = glh->nbuff; in _new_GlHistory()
297 if(glh->nbuff > 0) { in _new_GlHistory()
298 glh->nbuff = glh->nfree; in _new_GlHistory()
299 glh->buffer = (GlhLineSeg *) malloc(sizeof(GlhLineSeg) * glh->nbuff); in _new_GlHistory()
309 for(i=0; i<glh->nbuff-1; i++) { in _new_GlHistory()
1631 int nbuff; /* The number of segments in the new buffer */ in _glh_resize_history() local
1644 nbuff = (bufsize+GLH_SEG_SIZE-1) / GLH_SEG_SIZE; in _glh_resize_history()
1648 if(glh->nbuff != nbuff) { in _glh_resize_history()
[all …]
H A Dchrqueue.c360 int nbuff = nhead - (cq->nflush % GL_CQ_SIZE); in _glq_flush_queue() local
365 cq->nflush % GL_CQ_SIZE, nbuff); in _glq_flush_queue()
379 if(nnew == nbuff) { in _glq_flush_queue()
H A Dchrqueue.h79 int nbuff; /* The number of characters in buff[] */ member