Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libtecla/common/
H A Dchrqueue.c81 int ntotal; /* The total number of characters that have been */ member
112 cq->nflush = cq->ntotal = 0; in _new_GlCharQueue()
186 int boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
210 boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
257 cq->ntotal += nnew; in _glq_append_chars()
283 cq->nflush = cq->ntotal = 0; in _glq_empty_queue()
297 return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0; in _glq_char_count()
346 int nmodulo = cq->ntotal % GL_CQ_SIZE; in _glq_flush_queue()
H A Dgetline.c215 int ntotal; /* The number of characters in line[] */ member
417 int ntotal; /* The number of characters in gl->line[] */ member
1791 gl->ntotal = 0; in new_GetLine()
1818 gl->vi.undo.ntotal = 0; in new_GetLine()
2969 if((gl->insert || buff_curpos >= gl->ntotal) && gl->ntotal >= gl->linelen) in gl_add_char_to_line()
2974 if(gl->insert || buff_curpos >= gl->ntotal) { in gl_add_char_to_line()
2978 if(buff_curpos < gl->ntotal) in gl_add_char_to_line()
3090 if(gl->ntotal + buff_slen > gl->linelen) in gl_add_string_to_line()
3096 if(gl->ntotal > gl->buff_curpos) in gl_add_string_to_line()
4229 return gl_place_cursor(gl, gl->ntotal); in KT_KEY_FN()
[all …]
H A Dfreelist.c50 long ntotal; /* The total number of nodes in the free list */ member
106 fl->ntotal = 0; in _new_FreeList()
321 return fl ? (fl->ntotal - fl->nbusy) : 0; in _idle_FreeListNodes()
364 fl->ntotal += fl->blocking_factor; in _new_FreeListBlock()