HomeSort by: relevance | last modified time | path
    Searched refs:el (Results 1 - 25 of 416) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libedit/
common.c 50 #include "el.h"
62 ed_end_of_file(EditLine *el, wint_t c __attribute__((__unused__)))
65 re_goto_bottom(el);
66 *el->el_line.lastchar = '\0';
76 ed_insert(EditLine *el, wint_t c)
78 int count = el->el_state.argument;
83 if (el->el_line.lastchar + el->el_state.argument >=
84 el->el_line.limit) {
86 if (!ch_enlargebufs(el, (size_t) count)
    [all...]
emacs.c 49 #include "el.h"
59 em_delete_or_list(EditLine *el, wint_t c)
62 if (el->el_line.cursor == el->el_line.lastchar) {
64 if (el->el_line.cursor == el->el_line.buffer) {
66 terminal_writec(el, c); /* then do an EOF */
73 terminal_beep(el);
77 if (el->el_state.doingarg)
78 c_delafter(el, el->el_state.argument)
    [all...]
vi.c 54 #include "el.h"
67 cv_action(EditLine *el, wint_t c)
70 if (el->el_chared.c_vcmd.action != NOP) {
72 if (c != (wint_t)el->el_chared.c_vcmd.action)
76 cv_undo(el);
77 cv_yank(el, el->el_line.buffer,
78 (int)(el->el_line.lastchar - el->el_line.buffer));
79 el->el_chared.c_vcmd.action = NOP
    [all...]
hist.h 38 * el.hist.c: History functions
55 #define HIST_FUN_INTERNAL(el, fn, arg) \
56 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
57 fn, arg)) == -1) ? NULL : (el)->el_history.ev.str)
58 #define HIST_FUN(el, fn, arg) \
59 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \
60 HIST_FUN_INTERNAL(el, fn, arg)
    [all...]
search.c 55 #include "el.h"
62 #define EL_CURSOR(el) \
63 ((el)->el_line.cursor + (((el)->el_map.type == MAP_VI) && \
64 ((el)->el_map.current == (el)->el_map.alt)))
70 search_init(EditLine *el)
73 el->el_search.patbuf = el_calloc(EL_BUFSIZ,
74 sizeof(*el->el_search.patbuf));
75 if (el->el_search.patbuf == NULL
    [all...]
el.c 1 /* $NetBSD: el.c,v 1.104 2025/12/16 02:40:48 kre Exp $ */
38 static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
40 __RCSID("$NetBSD: el.c,v 1.104 2025/12/16 02:40:48 kre Exp $");
45 * el.c: EditLine interface functions
56 #include "el.h"
76 EditLine *el = el_calloc(1, sizeof(*el)); local
78 if (el == NULL)
81 el->el_infile = fin;
82 el->el_outfile = fout
    [all...]
hist.c 51 #include "el.h"
57 hist_init(EditLine *el)
60 el->el_history.fun = NULL;
61 el->el_history.ref = NULL;
62 el->el_history.buf = el_calloc(EL_BUFSIZ, sizeof(*el->el_history.buf));
63 if (el->el_history.buf == NULL)
65 el->el_history.sz = EL_BUFSIZ;
66 el->el_history.last = el->el_history.buf
    [all...]
read.c 55 #include "el.h"
84 read_init(EditLine *el)
88 if ((el->el_read = el_malloc(sizeof(*el->el_read))) == NULL)
91 ma = &el->el_read->macros;
98 el->el_read->read_char = read_char;
101 read_end(el);
109 read_end(EditLine *el)
112 read_clearmacros(&el->el_read->macros);
113 el_free(el->el_read->macros.macro)
    [all...]
chared.c 51 #include "el.h"
62 cv_undo(EditLine *el)
64 c_undo_t *vu = &el->el_chared.c_undo;
65 c_redo_t *r = &el->el_chared.c_redo;
69 size = (size_t)(el->el_line.lastchar - el->el_line.buffer);
71 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer);
72 (void)memcpy(vu->buf, el->el_line.buffer, size * sizeof(*vu->buf));
75 r->count = el->el_state.doingarg ? el->el_state.argument : 0
    [all...]
refresh.c 52 #include "el.h"
66 #define __F el->el_errfile
79 re_printstr(EditLine *el, const char *str, wchar_t *f, wchar_t *t)
96 re_nextline(EditLine *el)
98 el->el_refresh.r_cursor.h = 0; /* reset it. */
106 if (el->el_refresh.r_cursor.v + 1 >= el->el_terminal.t_size.v) {
107 int i, lins = el->el_terminal.t_size.v;
108 wint_t *firstline = el->el_vdisplay[0];
111 el->el_vdisplay[i - 1] = el->el_vdisplay[i]
    [all...]
prompt.c 48 #include "el.h"
58 prompt_default(EditLine *el __attribute__((__unused__)))
71 prompt_default_r(EditLine *el __attribute__((__unused__)))
83 prompt_print(EditLine *el, int op)
89 elp = &el->el_prompt;
91 elp = &el->el_rprompt;
94 p = (*elp->p_func)(el);
96 p = ct_decode_string((char *)(void *)(*elp->p_func)(el),
97 &el->el_scratch);
108 re_putliteral(el, litstart, p++)
    [all...]
terminal.c 84 #include "el.h"
96 #define GoodStr(a) (el->el_terminal.t_str[a] != NULL && \
97 el->el_terminal.t_str[a][0] != '\0')
98 #define Str(a) el->el_terminal.t_str[a]
99 #define Val(a) el->el_terminal.t_val[a]
233 terminal_setflags(EditLine *el)
236 if (el->el_tty.t_tabs)
260 (void) fprintf(el->el_errfile,
262 (void) fprintf(el->el_errfile,
266 (void) fprintf(el->el_errfile, "no clear EOL capability.\n")
    [all...]
keymacro.c 51 * el->el_keymacro.map)
58 * are in el->el_keymacro.map, adding the key "abc" will cause
69 #include "el.h"
73 * The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a
105 keymacro_init(EditLine *el)
108 el->el_keymacro.buf = el_calloc(KEY_BUFSIZ,
109 sizeof(*el->el_keymacro.buf));
110 if (el->el_keymacro.buf == NULL)
112 el->el_keymacro.map = NULL
    [all...]
eln.c 38 #include "el.h"
41 el_getc(EditLine *el, char *cp)
46 num_read = el_wgetc(el, &wc);
62 el_push(EditLine *el, const char *str)
66 el_wpush(el, ct_decode_string(str, &el->el_lgcyconv));
71 el_gets(EditLine *el, int *nread)
75 tmp = el_wgets(el, nread);
84 return ct_encode_string(tmp, &el->el_lgcyconv);
89 el_parse(EditLine *el, int argc, const char *argv[]
    [all...]
map.c 51 #include "el.h"
901 map_init(EditLine *el)
909 EL_ABORT((el->el_errfile, "Emacs map incorrect\n"));
911 EL_ABORT((el->el_errfile, "Vi command map incorrect\n"));
913 EL_ABORT((el->el_errfile, "Vi insert map incorrect\n"));
916 el->el_map.alt = el_calloc(N_KEYS, sizeof(*el->el_map.alt));
917 if (el->el_map.alt == NULL)
919 el->el_map.key = el_calloc(N_KEYS, sizeof(*el->el_map.key))
    [all...]
tty.c 54 #include "el.h"
474 tty_getty(EditLine *el, struct termios *t)
477 while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR)
486 tty_setty(EditLine *el, int action, const struct termios *t)
489 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR)
498 tty_setup(EditLine *el)
500 int rst = (el->el_flags & NO_RESET) == 0;
502 if (el->el_flags & EDIT_DISABLED)
505 if (el->el_tty.t_initialized)
508 if (!isatty(el->el_outfd))
    [all...]
  /src/external/mit/isl/dist/
isl_multi_no_domain_templ.c 28 static __isl_give EL *FN(EL,drop_dims)(__isl_take EL *el,
31 return el;
34 /* Return the space of "el".
41 static __isl_give isl_space *FN(EL,get_space)(__isl_keep EL *el)
43 if (!el)
    [all...]
isl_multi_coalesce.c 26 EL *el = FN(EL,copy)(multi->u.p[i]); local
27 el = FN(EL,coalesce)(el);
28 if (!el)
30 FN(EL,free)(multi->u.p[i]);
31 multi->u.p[i] = el;
  /src/distrib/syspkg/sets/base/base-locale-el/
Makefile 3 PKGBASE=base-locale-el
  /src/distrib/syspkg/sets/base/base-util_locale-el/
Makefile 3 PKGBASE=base-util_locale-el
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
annota3.exp 99 set el {}
100 lappend el "\r\n\032\032post-prompt\r\n"
101 lappend el "Continuing.\r\n"
102 lappend el "\r\n\032\032starting\r\n"
104 lappend el "a.x is 1\r\n"
110 lappend el "\r\n\032\032exited 0\r\n"
111 lappend el "$inferior_exited_re normally.\r\n"
112 lappend el "\r\n\032\032stopped\r\n"
114 gdb_expect_list "continue to exit" "$gdb_prompt$" $el
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
annota3.exp 99 set el {}
100 lappend el "\r\n\032\032post-prompt\r\n"
101 lappend el "Continuing.\r\n"
102 lappend el "\r\n\032\032starting\r\n"
104 lappend el "a.x is 1\r\n"
110 lappend el "\r\n\032\032exited 0\r\n"
111 lappend el "$inferior_exited_re normally.\r\n"
112 lappend el "\r\n\032\032stopped\r\n"
114 gdb_expect_list "continue to exit" "$gdb_prompt$" $el
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_record_shared.c 24 OSSL_QRL_ENC_LEVEL *el; local
29 el = &els->el[enc_level];
32 switch (el->state) {
41 return el;
47 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
49 switch (el->state) {
67 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
69 if (!ossl_assert(el != NULL && keyslot < 2))
78 return keyslot == (el->key_epoch & 1)
88 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
108 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
207 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
348 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
404 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
424 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
474 OSSL_QRL_ENC_LEVEL *el = ossl_qrl_enc_level_set_get(els, enc_level, 0); local
    [all...]
  /src/usr.sbin/npf/npfctl/
npf_var.c 113 npf_element_t *el; local
115 el = ecalloc(1, sizeof(*el));
116 el->e_data = ecalloc(1, len);
117 el->e_type = type;
118 memcpy(el->e_data, data, len);
122 vp->v_elements = el;
124 vp->v_last->e_next = el;
126 vp->v_last = el;
158 npfvar_free_elements(npf_element_t *el)
234 npf_element_t *el; local
270 npf_element_t *el = npfvar_get_element(vp, idx, 0); local
287 npf_element_t *el = npfvar_get_element(vp, idx, 0); local
294 npf_element_t *el = npfvar_get_element(vp, idx, 0); local
315 npf_element_t *el = npfvar_get_element(vp, idx, 0); local
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/tests/
format-elisp-1 8 tmpfiles="$tmpfiles f-el-1.data"
9 cat <<\EOF > f-el-1.data
105 tmpfiles="$tmpfiles f-el-1-$n.in f-el-1-$n.po"
106 cat <<EOF > f-el-1-$n.in
109 ${XGETTEXT} -L EmacsLisp -o f-el-1-$n.po f-el-1-$n.in || exit 1
110 test -f f-el-1-$n.po || exit 1
113 if grep elisp-format f-el-1-$n.po > /dev/null; then
119 if grep elisp-format f-el-1-$n.po > /dev/null; the
    [all...]

Completed in 40 milliseconds

1 2 3 4 5 6 7 8 91011>>