Home
last modified time | relevance | path

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

/libedit-20250104-3.1/examples/
Dfileman.c31 int execute_line (char *line);
96 char *line, *s; in main() local
111 if (!line) in main()
135 free(line); in main()
144 execute_line (char *line) in execute_line() argument
152 while (line[i] && isspace (line[i])) in execute_line()
154 word = line + i; in execute_line()
156 while (line[i] && !isspace (line[i])) in execute_line()
159 if (line[i]) in execute_line()
160 line[i++] = '\0'; in execute_line()
[all …]
Dwtc1.c116 const wchar_t *line; in main() local
161 while((line = el_wgets(el, &numc)) != NULL && numc != 0) { in main()
169 (void)fwprintf(stderr, L"==> got %d %ls", numc, line); in main()
197 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); in main()
252 tok_str(ntok, my_wcstombs(line), &nargc, &nav); in main()
/libedit-20250104-3.1/doc/
Dmdoc2man.awk36 line=""
53 line=line "\n"
54 line=line str
/libedit-20250104-3.1/src/
Dtokenizer.c209 FUN(tok,line)(TYPE(Tokenizer) *tok, const TYPE(LineInfo) *line, in FUN() argument
216 ptr = line->buffer; in FUN()
217 for (ptr = line->buffer; ;ptr++) { in FUN()
218 if (ptr >= line->lastchar) in FUN()
220 if (ptr == line->cursor) { in FUN()
460 FUN(tok,str)(TYPE(Tokenizer) *tok, const Char *line, int *argc, in FUN()
466 li.buffer = line; in FUN()
467 li.cursor = li.lastchar = Strchr(line, '\0'); in FUN()
468 return FUN(tok,line)(tok, &li, argc, argv, NULL, NULL); in FUN()
Dhistory.c777 char *line; in history_load() local
792 line = NULL; in history_load()
794 if ((sz = getline(&line, &llen, fp)) == -1) in history_load()
797 if (strncmp(line, hist_cookie, (size_t)sz) != 0) in history_load()
803 for (i = 0; (sz = getline(&line, &llen, fp)) != -1; i++) { in history_load()
804 if (sz > 0 && line[sz - 1] == '\n') in history_load()
805 line[--sz] = '\0'; in history_load()
816 (void) strunvis(ptr, line); in history_load()
828 free(line); in history_load()
1166 const Char *line = va_arg(va, const Char *); in FUNW() local
[all …]
Dvi.c1010 wchar_t *line = NULL; in vi_histedit() local
1028 line = el_calloc(len + 1, sizeof(*line)); in vi_histedit()
1029 if (line == NULL) in vi_histedit()
1031 wcsncpy(line, el->el_line.buffer, len); in vi_histedit()
1032 line[len] = '\0'; in vi_histedit()
1033 wcstombs(cp, line, TMP_BUFSIZ - 1); in vi_histedit()
1064 el_free(line); in vi_histedit()
1073 el_free(line); in vi_histedit()
Dreadline.c615 return he->line; in get_history_event()
1519 she.line = ev.str; in history_get()
1537 add_history(const char *line) in add_history() argument
1544 if (history(h, &ev, H_ENTER, line) == -1) in add_history()
1578 he->line = ev.str; in remove_history()
1615 he->line = ev.str; in replace_history_entry()
1616 if (he->line == NULL) in replace_history_entry()
1683 _history_list[i].line = ev.str; in history_list()
1703 rl_he.line = ev.str; in current_history()
2219 rl_parse_and_bind(const char *line) in rl_parse_and_bind() argument
[all …]
Dfilecomplete.c541 size_t line, lines, col, cols, thisguy; in fn_display_match_list() local
567 for (line = 0; line < lines; line++) { in fn_display_match_list()
569 thisguy = line + col * lines; in fn_display_match_list()
Dparse.c82 parse_line(EditLine *el, const wchar_t *line) in parse_line() argument
89 tok_wstr(tok, line, &argc, &argv); in parse_line()
Dsys.h96 ssize_t getline(char **line, size_t *len, FILE *fp);
/libedit-20250104-3.1/
Dlibedit.pc.in7 Description: command line editor library provides generic line editing, history, and tokenization f…
DINSTALL75 by setting variables in the command line or in the environment. Here
185 them in the `configure' command line, using `VAR=value'. For example:
Dltmain.sh6068 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
6069 void lt_fatal (const char *file, int line, const char *message, ...);
6591 lt_debugprintf (const char *file, int line, const char *fmt, ...)
6596 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
6605 int line, const char *mode,
6608 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
6617 lt_fatal (const char *file, int line, const char *message, ...)
6621 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
Daclocal.m4277 # icc: Command line warning: ignoring option '-M'; no argument required
279 # icc: Command line remark: option '-MP' not supported
362 # Grep'ing the whole file directly is not great: AIX grep has a line
Dconfigure15544 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17731 generated by GNU Autoconf 2.72. Invocation command line was
18507 prefix = substr(line, 1, index(line, defundef) - 1)
/libedit-20250104-3.1/src/editline/
Dreadline.h59 const char *line; member
/libedit-20250104-3.1/m4/
Dlibtool.m4341 # Add leading comment marks to the start of each line, and a trailing
1343 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1377 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1713 # find the maximum length of command line arguments
1714 AC_MSG_CHECKING([the maximum length of command line arguments])
1730 # is no limit to the length of command line arguments.
1753 # So we just punt and use a minimum line length of 8192.
1873 [#line $LINENO "configure"
2456 # the line '#! .'. This would cause the generated library to
5633 # chokes on -Wl,-G. The following line is correct:
[all …]