Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c79 int ntotal; /* The total number of characters that have been */ member
110 cq->nflush = cq->ntotal = 0; in _new_GlCharQueue()
184 int boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
208 boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
255 cq->ntotal += nnew; in _glq_append_chars()
281 cq->nflush = cq->ntotal = 0; in _glq_empty_queue()
295 return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0; in _glq_char_count()
344 int nmodulo = cq->ntotal % GL_CQ_SIZE; in _glq_flush_queue()
H A Dgetline.c214 int ntotal; /* The number of characters in line[] */ member
416 int ntotal; /* The number of characters in gl->line[] */ member
1790 gl->ntotal = 0; in new_GetLine()
1817 gl->vi.undo.ntotal = 0; in new_GetLine()
2968 if((gl->insert || buff_curpos >= gl->ntotal) && gl->ntotal >= gl->linelen) in gl_add_char_to_line()
2973 if(gl->insert || buff_curpos >= gl->ntotal) { in gl_add_char_to_line()
2977 if(buff_curpos < gl->ntotal) in gl_add_char_to_line()
3089 if(gl->ntotal + buff_slen > gl->linelen) in gl_add_string_to_line()
3095 if(gl->ntotal > gl->buff_curpos) in gl_add_string_to_line()
4228 return gl_place_cursor(gl, gl->ntotal); in KT_KEY_FN()
[all …]
H A Dfreelist.c48 long ntotal; /* The total number of nodes in the free list */ member
104 fl->ntotal = 0; in _new_FreeList()
319 return fl ? (fl->ntotal - fl->nbusy) : 0; in _idle_FreeListNodes()
362 fl->ntotal += fl->blocking_factor; in _new_FreeListBlock()