Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c54 #define GLH_SEG_SIZE 16 macro
66 char s[GLH_SEG_SIZE]; /* The sub-string. Beware that only the final */
267 glh->nbuff = (buflen+GLH_SEG_SIZE-1) / GLH_SEG_SIZE; in _new_GlHistory()
1064 size_t slen = seg->next ? GLH_SEG_SIZE : strlen(seg->s); in _glh_save_history()
1592 len = seg->next ? GLH_SEG_SIZE : strlen(seg->s); in _glh_show_history()
1642 nbuff = (bufsize+GLH_SEG_SIZE-1) / GLH_SEG_SIZE; in _glh_resize_history()
2129 *buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZE; in _glh_size_of_history()
2134 *buff_used = glh->nbusy * GLH_SEG_SIZE; in _glh_size_of_history()
2191 int nseg = ((n+1) + GLH_SEG_SIZE-1) / GLH_SEG_SIZE; in _glh_acquire_copy()
2209 for(i=0,seg=glh->unused; i<nseg-1; i++,seg=seg->next, offset+=GLH_SEG_SIZE) in _glh_acquire_copy()
[all …]