Home
last modified time | relevance | path

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

/libedit-20250104-3.1/src/
Drefresh.c552 for (o = old, n = new; *o && (*o == *n); o++, n++) in re_update_line()
555 nfd = n; in re_update_line()
574 while (*n) in re_update_line()
575 n++; in re_update_line()
581 n--; in re_update_line()
583 ne = n; in re_update_line()
596 while ((o > ofd) && (n > nfd) && (*--o == *--n)) in re_update_line()
599 nls = ++n; in re_update_line()
613 for (c = *ofd, n = nfd; n < nls; n++) { in re_update_line()
624 (2 * (p - n) > n - nfd)) { in re_update_line()
[all …]
Dliteral.c84 ssize_t w, n; in literal_add() local
102 for (n = 0, i = 0; i < len; i++) in literal_add()
103 n += ct_encode_char(b + n, (size_t)(w - n), buf[i]); in literal_add()
104 n += ct_encode_char(b + n, (size_t)(w - n), end[1]); in literal_add()
105 b[n] = '\0'; in literal_add()
Dstrlcat.c50 size_t n = siz; in __weak_alias() local
57 while (n-- != 0 && *d != '\0') in __weak_alias()
60 n = siz - dlen; in __weak_alias()
62 if (n == 0) in __weak_alias()
65 if (n != 1) { in __weak_alias()
67 n--; in __weak_alias()
Dchared.c243 while (n--) { in c__prev_word()
265 while (n--) { in c__next_word()
286 while (n--) { in cv_next_word()
316 while (n--) { in cv_prev_word()
383 while (n--) { in cv__endword()
618 el_deletestr(EditLine *el, int n) in el_deletestr() argument
620 if (n <= 0) in el_deletestr()
627 el->el_line.cursor -= n; in el_deletestr()
699 el_cursor(EditLine *el, int n) in el_cursor() argument
701 if (n == 0) in el_cursor()
[all …]
Dhistory.c73 #define Strncmp(d, s, n) strncmp(d, s, n) argument
74 #define Strncpy(d, s, n) strncpy(d, s, n) argument
75 #define Strncat(d, s, n) strncat(d, s, n) argument
91 #define Strncmp(d, s, n) wcsncmp(d, s, n) argument
92 #define Strncpy(d, s, n) wcsncpy(d, s, n) argument
93 #define Strncat(d, s, n) wcsncat(d, s, n) argument
123 #define HSET(h, ev, n) (*(h)->h_set)((h)->h_ref, ev, n) argument
127 #define HDEL(h, ev, n) (*(h)->h_del)((h)->h_ref, ev, n) argument
571 if (n <= 0) in history_def_init()
572 n = 0; in history_def_init()
[all …]
Dstrlcpy.c47 size_t n = siz; in __weak_alias() local
53 if (n != 0 && --n != 0) { in __weak_alias()
57 } while (--n != 0); in __weak_alias()
61 if (n == 0) { in __weak_alias()
Dterminal.c627 terminal_overwrite(EditLine *el, const wchar_t *cp, size_t n) in terminal_overwrite() argument
629 if (n == 0) in terminal_overwrite()
632 if (n > (size_t)el->el_terminal.t_size.h) { in terminal_overwrite()
635 "%s: n is ridiculous: %zu\r\n", __func__, n); in terminal_overwrite()
644 } while (--n); in terminal_overwrite()
1154 size_t n; in terminal_bind_arrow() local
1159 for (n = 0; n < VISUAL_WIDTH_MAX && p[n]; ++n) in terminal_bind_arrow()
1160 wt_str[n] = p[n]; in terminal_bind_arrow()
1161 while (n < VISUAL_WIDTH_MAX) in terminal_bind_arrow()
1162 wt_str[n++] = '\0'; in terminal_bind_arrow()
Dparse.c245 int n; in parse__string() local
255 if ((n = parse__escape(&in)) == -1) in parse__string()
257 *out++ = (wchar_t)n; in parse__string()
Dgetline.c104 size_t n = 0; in main() local
106 while ((len = getline(&p, &n, stdin)) != -1) in main()
Dhist.h70 #define HIST_NSAVE_FP(el, n, fp) HIST_FUN(el, H_NSAVE_FP, n, fp) argument
Dkeymacro.c650 ssize_t n = ct_encode_char(b, (size_t)(eb - b), *p2++); in keymacro__decode_str() local
651 if (n == -1) /* ran out of space */ in keymacro__decode_str()
654 b += n; in keymacro__decode_str()
Dreadline.c1462 append_history(int n, const char *filename) in append_history() argument
1475 if (history(h, &ev, H_NSAVE_FP, (size_t)n, fp) == -1) { in append_history()
2257 int n; in _rl_event_read_char() local
2267 if (ioctl(el->el_infd, FIONREAD, &n) < 0) in _rl_event_read_char()
2269 if (n) in _rl_event_read_char()
2274 if ((n = fcntl(el->el_infd, F_GETFL, 0)) < 0) in _rl_event_read_char()
2276 if (fcntl(el->el_infd, F_SETFL, n|O_NDELAY) < 0) in _rl_event_read_char()
2279 if (fcntl(el->el_infd, F_SETFL, n)) in _rl_event_read_char()
DMakefile.in72 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
227 n|no|NO) false;; \
/libedit-20250104-3.1/
Dconfigure348 printf "%s\n" X"$as_dir" |
460 printf "%s\n" X/"$0" |
2783 printf "%s\n" "no" >&6; }
2829 printf "%s\n" "no" >&6; }
2888 printf "%s\n" "no" >&6; }
2951 printf "%s\n" "no" >&6; }
2999 printf "%s\n" "no" >&6; }
3049 printf "%s\n" "no" >&6; }
4234 n=`expr $n + 1`
5080 ECHO='printf %s\n'
[all …]
Daclocal.m4206 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
364 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
543 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
940 n=0
942 until test $n -eq 3; do
948 break # out of $n loop
950 n=`expr $n + 1`
1027 if test -n "$am_sleep_pid"; then
1265 test -n "${am_cv_prog_tar_$1}" && break
1299 [AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl
[all …]
Dltmain.sh1507 | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
6854 s/$/\\n/
6855 s/\([^\n]*\).*/ fputs ("\1", f);/p
11381 for n in $library_names; do
11382 func_append rmfiles " $odir/$n"
DChangeLog72 Patch by Claes Nästén
75 Patch by Claes Nästén
DMakefile.in71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
133 n|no|NO) false;; \
Dconfig.guess707 32) HP_ARCH=hppa2.0n ;;
/libedit-20250104-3.1/m4/
Dlibtool.m41232 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1236 ECHO='printf %s\n'
1594 if test -n "$RANLIB"; then
2593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2603 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
3067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
3445 if test -n "$LD"; then
3798 [if test -n "$NM"; then
3964 test DEF = "`$SED -n dnl
7584 fi # test -n "$compiler"
[all …]
/libedit-20250104-3.1/doc/
DMakefile.in70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
121 n|no|NO) false;; \
/libedit-20250104-3.1/examples/
DMakefile.in71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
164 n|no|NO) false;; \