Home
last modified time | relevance | path

Searched full:el (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/freebsd/contrib/libedit/
H A Dvi.c54 #include "el.h"
67 cv_action(EditLine *el, wint_t c) in cv_action() argument
70 if (el->el_chared.c_vcmd.action != NOP) { in cv_action()
72 if (c != (wint_t)el->el_chared.c_vcmd.action) in cv_action()
76 cv_undo(el); in cv_action()
77 cv_yank(el, el->el_line.buffer, in cv_action()
78 (int)(el->el_line.lastchar - el->el_line.buffer)); in cv_action()
79 el->el_chared.c_vcmd.action = NOP; in cv_action()
80 el->el_chared.c_vcmd.pos = 0; in cv_action()
82 el->el_line.lastchar = el->el_line.buffer; in cv_action()
[all …]
H A Dcommon.c50 #include "el.h"
62 ed_end_of_file(EditLine *el, wint_t c __attribute__((__unused__))) in ed_end_of_file() argument
65 re_goto_bottom(el); in ed_end_of_file()
66 *el->el_line.lastchar = '\0'; in ed_end_of_file()
76 ed_insert(EditLine *el, wint_t c) in ed_insert() argument
78 int count = el->el_state.argument; in ed_insert()
83 if (el->el_line.lastchar + el->el_state.argument >= in ed_insert()
84 el->el_line.limit) { in ed_insert()
86 if (!ch_enlargebufs(el, (size_t) count)) in ed_insert()
91 if (el->el_state.inputmode == MODE_INSERT in ed_insert()
[all …]
H A Dchared.c51 #include "el.h"
62 cv_undo(EditLine *el) in cv_undo() argument
64 c_undo_t *vu = &el->el_chared.c_undo; in cv_undo()
65 c_redo_t *r = &el->el_chared.c_redo; in cv_undo()
69 size = (size_t)(el->el_line.lastchar - el->el_line.buffer); in cv_undo()
71 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); in cv_undo()
72 (void)memcpy(vu->buf, el->el_line.buffer, size * sizeof(*vu->buf)); in cv_undo()
75 r->count = el->el_state.doingarg ? el->el_state.argument : 0; in cv_undo()
76 r->action = el->el_chared.c_vcmd.action; in cv_undo()
78 r->cmd = el->el_state.thiscmd; in cv_undo()
[all …]
H A Demacs.c49 #include "el.h"
59 em_delete_or_list(EditLine *el, wint_t c) in em_delete_or_list() argument
62 if (el->el_line.cursor == el->el_line.lastchar) { in em_delete_or_list()
64 if (el->el_line.cursor == el->el_line.buffer) { in em_delete_or_list()
66 terminal_writec(el, c); /* then do an EOF */ in em_delete_or_list()
73 terminal_beep(el); in em_delete_or_list()
77 if (el->el_state.doingarg) in em_delete_or_list()
78 c_delafter(el, el->el_state.argument); in em_delete_or_list()
80 c_delafter1(el); in em_delete_or_list()
81 if (el->el_line.cursor > el->el_line.lastchar) in em_delete_or_list()
[all …]
H A Dsearch.c55 #include "el.h"
62 #define EL_CURSOR(el) \ argument
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) in search_init() argument
73 el->el_search.patbuf = el_calloc(EL_BUFSIZ, in search_init()
74 sizeof(*el->el_search.patbuf)); in search_init()
75 if (el->el_search.patbuf == NULL) in search_init()
77 el->el_search.patbuf[0] = L'\0'; in search_init()
78 el->el_search.patlen = 0; in search_init()
[all …]
H A Del.c1 /* $NetBSD: el.c,v 1.101 2022/10/30 19:11:31 christos Exp $ */
38 static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
40 __RCSID("$NetBSD: el.c,v 1.101 2022/10/30 19:11:31 christos Exp $");
45 * el.c: EditLine interface functions
56 #include "el.h"
74 EditLine *el = el_calloc(1, sizeof(*el)); in el_init_internal() local
76 if (el == NULL) in el_init_internal()
79 el->el_infile = fin; in el_init_internal()
80 el->el_outfile = fout; in el_init_internal()
81 el->el_errfile = ferr; in el_init_internal()
[all …]
H A Dread.c55 #include "el.h"
84 read_init(EditLine *el) in read_init() argument
88 if ((el->el_read = el_malloc(sizeof(*el->el_read))) == NULL) in read_init()
91 ma = &el->el_read->macros; in read_init()
98 el->el_read->read_char = read_char; in read_init()
101 read_end(el); in read_init()
109 read_end(EditLine *el) in read_end() argument
112 read_clearmacros(&el->el_read->macros); in read_end()
113 el_free(el->el_read->macros.macro); in read_end()
114 el->el_read->macros.macro = NULL; in read_end()
[all …]
H A Dhist.c51 #include "el.h"
57 hist_init(EditLine *el) in hist_init() argument
60 el->el_history.fun = NULL; in hist_init()
61 el->el_history.ref = NULL; in hist_init()
62 el->el_history.buf = el_calloc(EL_BUFSIZ, sizeof(*el->el_history.buf)); in hist_init()
63 if (el->el_history.buf == NULL) in hist_init()
65 el->el_history.sz = EL_BUFSIZ; in hist_init()
66 el->el_history.last = el->el_history.buf; in hist_init()
75 hist_end(EditLine *el) in hist_end() argument
78 el_free(el->el_history.buf); in hist_end()
[all …]
H A Dterminal.c84 #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) in terminal_setflags() argument
236 if (el->el_tty.t_tabs) in terminal_setflags()
260 (void) fprintf(el->el_errfile, in terminal_setflags()
262 (void) fprintf(el->el_errfile, in terminal_setflags()
266 (void) fprintf(el->el_errfile, "no clear EOL capability.\n"); in terminal_setflags()
[all …]
H A Drefresh.c52 #include "el.h"
66 #define __F el->el_errfile
79 re_printstr(EditLine *el, const char *str, wchar_t *f, wchar_t *t) in re_printstr() argument
96 re_nextline(EditLine *el) in re_nextline() argument
98 el->el_refresh.r_cursor.h = 0; /* reset it. */ in re_nextline()
106 if (el->el_refresh.r_cursor.v + 1 >= el->el_terminal.t_size.v) { in re_nextline()
107 int i, lins = el->el_terminal.t_size.v; in re_nextline()
108 wint_t *firstline = el->el_vdisplay[0]; in re_nextline()
111 el->el_vdisplay[i - 1] = el->el_vdisplay[i]; in re_nextline()
114 el->el_vdisplay[i - 1] = firstline; in re_nextline()
[all …]
H A Dkeymacro.c51 * 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) in keymacro_init() argument
108 el->el_keymacro.buf = el_calloc(KEY_BUFSIZ, in keymacro_init()
109 sizeof(*el->el_keymacro.buf)); in keymacro_init()
110 if (el->el_keymacro.buf == NULL) in keymacro_init()
112 el->el_keymacro.map = NULL; in keymacro_init()
113 keymacro_reset(el); in keymacro_init()
[all …]
H A Dtty.c54 #include "el.h"
474 tty_getty(EditLine *el, struct termios *t) in tty_getty() argument
477 while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR) in tty_getty()
486 tty_setty(EditLine *el, int action, const struct termios *t) in tty_setty() argument
489 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR) in tty_setty()
498 tty_setup(EditLine *el) in tty_setup() argument
500 int rst = (el->el_flags & NO_RESET) == 0; in tty_setup()
502 if (el->el_flags & EDIT_DISABLED) in tty_setup()
505 if (el->el_tty.t_initialized) in tty_setup()
508 if (!isatty(el->el_outfd)) { in tty_setup()
[all …]
H A Deln.c38 #include "el.h"
41 el_getc(EditLine *el, char *cp) in el_getc() argument
46 num_read = el_wgetc(el, &wc); in el_getc()
62 el_push(EditLine *el, const char *str) in el_push() argument
66 el_wpush(el, ct_decode_string(str, &el->el_lgcyconv)); in el_push()
71 el_gets(EditLine *el, int *nread) in el_gets() argument
75 tmp = el_wgets(el, nread); in el_gets()
84 return ct_encode_string(tmp, &el->el_lgcyconv); in el_gets()
89 el_parse(EditLine *el, int argc, const char *argv[]) in el_parse() argument
94 wargv = (void *)ct_decode_argv(argc, argv, &el->el_lgcyconv); in el_parse()
[all …]
H A Dhist.h38 * el.hist.c: History functions
55 #define HIST_FUN_INTERNAL(el, fn, arg) \ argument
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) \ argument
59 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \
60 HIST_FUN_INTERNAL(el, fn, arg))
62 #define HIST_NEXT(el) HIST_FUN(el, H_NEXT, NULL) argument
63 #define HIST_FIRST(el) HIST_FUN(el, H_FIRST, NULL) argument
64 #define HIST_LAST(el) HIST_FUN(el, H_LAST, NULL) argument
[all …]
H A Dprompt.c48 #include "el.h"
58 prompt_default(EditLine *el __attribute__((__unused__))) in prompt_default() argument
71 prompt_default_r(EditLine *el __attribute__((__unused__))) in prompt_default_r() argument
83 prompt_print(EditLine *el, int op) in prompt_print() argument
89 elp = &el->el_prompt; in prompt_print()
91 elp = &el->el_rprompt; in prompt_print()
94 p = (*elp->p_func)(el); in prompt_print()
96 p = ct_decode_string((char *)(void *)(*elp->p_func)(el), in prompt_print()
97 &el->el_scratch); in prompt_print()
108 re_putliteral(el, litstart, p++); in prompt_print()
[all …]
H A Dmap.c51 #include "el.h"
901 map_init(EditLine *el) in map_init() argument
909 EL_ABORT((el->el_errfile, "Emacs map incorrect\n")); in map_init()
911 EL_ABORT((el->el_errfile, "Vi command map incorrect\n")); in map_init()
913 EL_ABORT((el->el_errfile, "Vi insert map incorrect\n")); in map_init()
916 el->el_map.alt = el_calloc(N_KEYS, sizeof(*el->el_map.alt)); in map_init()
917 if (el->el_map.alt == NULL) in map_init()
919 el->el_map.key = el_calloc(N_KEYS, sizeof(*el->el_map.key)); in map_init()
920 if (el->el_map.key == NULL) in map_init()
922 el->el_map.emacs = el_map_emacs; in map_init()
[all …]
/freebsd/contrib/tcsh/nls/spanish/
H A Dset34 2 Borrar el carácter detrás del cursor
5 3 Cortar desde el comienzo de la palabra hasta el cursor - se guarda en el buffer
6 4 Cortar desde el comienzo de la línea hasta el cursor - se guarda en el buffer
7 5 Ir hasta el comienzo de la palabra
8 6 Ir hasta el comienzo de la línea
9 7 Convertir en mayúsculas los caracteres desde el cursor hasta el final de la palabra
10 8 Vi: cambiar a mayúsculas o minúsculas el carácter bajo el cursor y avanza una posición
11 9 Vi: cambia hasta el final de la línea
17 15 Copia la palabra hasta el cursor
18 16 Copia el área entre la marca y el cursor al buffer
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/check_files/
H A Dclear5.chk2 el
3 el
4 el
5 el
6 el
7 el
8 el
9 el
10 el
11 el
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hdb/html/
H A Dstruct_h_d_b.html32 …="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_h_d_b.…
34 …n="bottom"><a class="el" href="struct_h_d_b.html#739d719f5e48e4673722479bb0bc417c">hdb_open</a> )(…
36 …n="bottom"><a class="el" href="struct_h_d_b.html#b86313852bebd064b8ef42b98e30f1cb">hdb_close</a> )…
38el" href="struct_h_d_b.html#d0621f6de165296a1d1c644c74cb5965">hdb_free</a> )(krb5_context, struct …
40el" href="struct_h_d_b.html#73b9a2fea78f68b9fa7eaed9007775ba">hdb_fetch_kvno</a> )(krb5_context, s…
42el" href="struct_h_d_b.html#8a683627a8cc9b2fa76aa4a42d8e8724">hdb_store</a> )(krb5_context, struct…
44 …="bottom"><a class="el" href="struct_h_d_b.html#2de18a02cf3dcfd148d3112235df03a1">hdb_remove</a> )…
46el" href="struct_h_d_b.html#82cc2fee837e0d41f4d4cb650461bd0b">hdb_firstkey</a> )(krb5_context, str…
48el" href="struct_h_d_b.html#d93d9f3f5d1c6142017ba5d0fe46cbd9">hdb_nextkey</a> )(krb5_context, stru…
50 …n="bottom"><a class="el" href="struct_h_d_b.html#bdd9f324fd42913dd4f04e874038e30d">hdb_lock</a> )(…
[all …]
H A Dfunctions.html37 : <a class="el" href="struct_h_d_b.html#43d6e0776bcdbfc5a21578950d2fd739">HDB</a>
39 : <a class="el" href="struct_h_d_b.html#447dc66c22431d0ceec328f405fc107a">HDB</a>
41 : <a class="el" href="struct_h_d_b.html#eb2874e8e0ab765a53395843cae7c7a1">HDB</a>
43 : <a class="el" href="struct_h_d_b.html#344ce9ae59b81f82ae9e4acdc02c4688">HDB</a>
45 : <a class="el" href="struct_h_d_b.html#9d6f3a3789dfe4b181d488864e0367fc">HDB</a>
47 : <a class="el" href="struct_h_d_b.html#28d8f763a87d331b58720e45f574184d">HDB</a>
49 : <a class="el" href="struct_h_d_b.html#15319f1bc3c038258e7003b828a68a23">HDB</a>
51 : <a class="el" href="struct_h_d_b.html#b86313852bebd064b8ef42b98e30f1cb">HDB</a>
53 : <a class="el" href="struct_h_d_b.html#09d63facb47c20e3a6edcbbc3caf0b53">HDB</a>
55 : <a class="el" href="struct_h_d_b.html#73b9a2fea78f68b9fa7eaed9007775ba">HDB</a>
[all …]
/freebsd/contrib/libucl/uthash/
H A Dutlist.h419 #define LL_COUNT(head,el,counter) \ argument
420 LL_COUNT2(head,el,counter,next) \
422 #define LL_COUNT2(head,el,counter,next) \ argument
425 LL_FOREACH2(head,el,next){ ++counter; } \
428 #define LL_FOREACH(head,el) \ argument
429 LL_FOREACH2(head,el,next)
431 #define LL_FOREACH2(head,el,next) \ argument
432 for(el=head;el;el=(el)->next)
434 #define LL_FOREACH_SAFE(head,el,tmp) \ argument
435 LL_FOREACH_SAFE2(head,el,tmp,next)
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dtemplate.c50 #define el(name, type) { \ macro
66 el(integer, int),
67 el(heim_integer, heim_integer),
68 el(integer, int),
69 el(integer64, int64_t),
70 el(unsigned, unsigned),
71 el(unsigned64, uint64_t),
72 el(general_string, heim_general_string),
73 el(octet_string, heim_octet_string),
75 el(ia5_strin
170 void *el = DPO(data, t->offset); _asn1_decode() local
252 void **el = (void **)data; _asn1_decode() local
294 void *el = DPO(data, t->offset); _asn1_decode() local
317 struct template_of *el = DPO(data, t->offset); _asn1_decode() local
455 const void *el = DPOC(data, t->offset); _asn1_encode() local
484 void **el = (void **)data; _asn1_encode() local
514 const void *el = DPOC(data, t->offset); _asn1_encode() local
529 const struct template_of *el = DPOC(data, t->offset); _asn1_encode() local
591 struct template_of *el = DPO(data, t->offset); _asn1_encode() local
664 const void *el; _asn1_encode() local
709 const void *el = DPOC(data, t->offset); _asn1_length() local
733 void **el = (void **)data; _asn1_length() local
748 const void *el = DPOC(data, t->offset); _asn1_length() local
759 const struct template_of *el = DPOC(data, t->offset); _asn1_length() local
834 void *el = DPO(data, t->offset); _asn1_free() local
856 void *el = DPO(data, t->offset); _asn1_free() local
866 void *el = DPO(data, t->offset); _asn1_free() local
884 struct template_of *el = DPO(data, t->offset); _asn1_free() local
[all...]
/freebsd/usr.bin/vi/catalog/
H A Dspanish.UTF-8.base29 030 "El archivo %s no es un catálogo de mensajes"
47 053 "El buffer por omisión está vacío"
48 054 "El buffer %s está vacío"
49 055 "Los archivos con nuevas líneas en el nombre son irrecuperables"
67 073 "Se alcanzó el final del archivo sin encontrar el patrón"
69 075 "No se encontró el patrón"
70 076 " Se alcanzó el principio del archivo sin encontrar el patrón"
83 090 "@ con rango que corre cuando se cambia el archivo/la pantalla"
84 091 "Comando global/v que corre cuando se cambia el archivo/la pantalla"
91 098 "El comando %s es desconocido"
[all …]
/freebsd/contrib/nvi/catalog/
H A Dspanish.base29 030 "El archivo %s no es un cat�logo de mensajes"
47 053 "El buffer por omisi�n est� vac�o"
48 054 "El buffer %s est� vac�o"
49 055 "Los archivos con nuevas l�neas en el nombre son irrecuperables"
67 073 "Se alcanz� el final del archivo sin encontrar el patr�n"
69 075 "No se encontr� el patr�n"
70 076 " Se alcanz� el principio del archivo sin encontrar el patr�n"
83 090 "@ con rango que corre cuando se cambia el archivo/la pantalla"
84 091 "Comando global/v que corre cuando se cambia el archivo/la pantalla"
91 098 "El comando %s es desconocido"
[all …]
/freebsd/lib/libc/nls/
H A Des_ES.ISO8859-1.msg22 8 Error en el formato del ejecutable
28 11 Se ha evitado el bloqueo del recurso
40 17 El fichero ya existe
52 23 Hay demasiados ficheros abiertos en el sistema
56 25 ioctl inapropiado para el dispositivo
62 28 No queda espacio libre en el dispositivo
74 34 El resultado es demasiado grande
76 35 el recurso no est� disponible temporalmente
82 38 Operaci�n de socket inaceptable para el dispositivo
88 41 Tipo err�neo de protocolo para el socket
[all …]

12345678910>>...23