Home
last modified time | relevance | path

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

/libedit-20250104-3.1/src/
Dliteral.c80 literal_add(EditLine *el, const wchar_t *buf, const wchar_t *end, int *wp) in literal_add() argument
87 w = wcwidth(end[1]); /* column width of the visible char */ in literal_add()
93 len = (size_t)(end - buf); in literal_add()
96 w += ct_enc_width(end[1]); in literal_add()
104 n += ct_encode_char(b + n, (size_t)(w - n), end[1]); in literal_add()
Dreadline.c898 end = 0; in _history_expand_command()
900 end = end * 10 + *cmd++ - '0'; in _history_expand_command()
903 end = -1; in _history_expand_command()
906 end = -2; in _history_expand_command()
911 end = start; in _history_expand_command()
1141 if (end == '$') in history_arg_extract()
1142 end = (int)max; in history_arg_extract()
1143 if (end < 0) in history_arg_extract()
1144 end = (int)max + end + 1; in history_arg_extract()
1146 start = end; in history_arg_extract()
[all …]
Dchared.c636 el_deletestr1(EditLine *el, int start, int end) in el_deletestr1() argument
641 if (end <= start) in el_deletestr1()
646 if (start >= (int)line_length || end >= (int)line_length) in el_deletestr1()
649 len = (size_t)(end - start); in el_deletestr1()
650 if (len > line_length - (size_t)end) in el_deletestr1()
651 len = line_length - (size_t)end; in el_deletestr1()
654 p2 = el->el_line.buffer + end; in el_deletestr1()
663 return end - start; in el_deletestr1()
Dfilecomplete.c660 int *completion_type, int *over, int *point, int *end, in fn_complete2() argument
694 if (end != NULL) in fn_complete2()
695 *end = (int)(li->lastchar - li->buffer); in fn_complete2()
830 int *completion_type, int *over, int *point, int *end) in fn_complete() argument
834 completion_type, over, point, end, in fn_complete()
Dtokenizer.c180 FUN(tok,end)(TYPE(Tokenizer) *tok) in FUN() argument
Drefresh.c163 re_putliteral(EditLine *el, const wchar_t *begin, const wchar_t *end) in re_putliteral() argument
170 c = literal_add(el, begin, end, &w); in re_putliteral()
Dhistory.c641 FUN(history,end)(TYPE(History) *h) in FUN() argument
1144 FUN(history,end)(h); in FUNW()
/libedit-20250104-3.1/examples/
Dfileman.c243 fileman_completion (const char* text, int start, int end __attribute__((__unused__))) in fileman_completion() argument
/libedit-20250104-3.1/
Daclocal.m4185 # We make a subdir and do the tests there. Otherwise we can end up
187 # instance it was reported that on HP-UX the gcc test will end up
358 # Strip MF so we end up with the name of the file.
963 # (end _am_filesystem_timestamp_resolution)
1080 dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls
/libedit-20250104-3.1/m4/
Dlibtool.m4301 # in macros and then make a single call at the end using the 'libtool'
1627 # (2) before a word containing "conftest.", or (3) at the end.
2110 # (2) before a word containing "conftest.", or (3) at the end.
5927 end]],
5930 end]])])],
7666 end
7674 end
7878 end
7884 end
8014 end
[all …]