Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c280 glh->nfree = glh->nbuff; in _new_GlHistory()
296 glh->nbuff = glh->nfree; in _new_GlHistory()
419 if(!glh->enable || !glh->buffer || glh->max_lines == 0) in _glh_add_history()
456 while(glh->nline > 0 && glh->nline >= glh->max_lines) in _glh_add_history()
544 if(!glh->enable || !glh->buffer || glh->max_lines == 0) in _glh_find_backwards()
632 if(!glh->enable || !glh->buffer || glh->max_lines == 0) in _glh_find_forwards()
751 if(!glh->enable || !glh->buffer || glh->max_lines == 0) in _glh_search_prefix()
756 glh->prefix = _glh_discard_copy(glh, glh->prefix); in _glh_search_prefix()
805 if(!glh->enable || !glh->buffer || glh->max_lines == 0) in _glh_oldest_line()
878 if(!glh->enable || !glh->buffer || glh->max_lines == 0 || !glh->recall) in _glh_current_line()
[all …]
H A Dhistory.h51 GlHistory *_del_GlHistory(GlHistory *glh);
60 int _glh_cancel_search(GlHistory *glh);
77 GlhLineID _glh_line_id(GlHistory *glh, int offset);
102 int _glh_set_group(GlHistory *glh, unsigned group);
103 int _glh_get_group(GlHistory *glh);
115 int _glh_resize_history(GlHistory *glh, size_t bufsize);
121 void _glh_limit_history(GlHistory *glh, int max_lines);
127 void _glh_clear_history(GlHistory *glh, int all_groups);
132 void _glh_toggle_history(GlHistory *glh, int enable);
162 const char *_glh_last_error(GlHistory *glh);
[all …]
H A Dgetline.c1748 gl->glh = NULL; in new_GetLine()
1886 gl->glh = _new_GlHistory(histlen); in new_GetLine()
1887 if(!gl->glh) in new_GetLine()
2054 gl->glh = _del_GlHistory(gl->glh); in del_GetLine()
6804 id = _glh_line_id(gl->glh, 1); in KT_KEY_FN()
8309 _glh_cancel_search(gl->glh); in gl_interpret_char()
8341 _glh_cancel_search(gl->glh); in gl_interpret_char()
8347 _glh_cancel_search(gl->glh); in gl_interpret_char()
9226 if(_glh_get_group(gl->glh) == id) {
9543 _glh_toggle_history(gl->glh, enable);
[all …]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dmanifest-import123 glh=`/usr/bin/svcprop -p ${gln}/md5sum smf/manifest 2>/dev/null`
124 [ $? = 0 ] || glh=""
152 [ -n "$glh" ] && {
153 echo "Preserving generic_limited hash ($glh)."
156 opaque: $glh