HomeSort by relevance Sort by last modified time
    Searched refs:el (Results 1 - 25 of 393) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libedit/src/
common.c 47 #include "el.h"
55 ed_end_of_file(EditLine *el, Int c __attribute__((__unused__)))
58 re_goto_bottom(el);
59 *el->el_line.lastchar = '\0';
69 ed_insert(EditLine *el, Int c)
71 int count = el->el_state.argument;
76 if (el->el_line.lastchar + el->el_state.argument >=
77 el->el_line.limit) {
79 if (!ch_enlargebufs(el, (size_t) count)
    [all...]
emacs.c 47 #include "el.h"
55 em_delete_or_list(EditLine *el, Int c)
58 if (el->el_line.cursor == el->el_line.lastchar) {
60 if (el->el_line.cursor == el->el_line.buffer) {
62 terminal_writec(el, c); /* then do an EOF */
69 terminal_beep(el);
73 if (el->el_state.doingarg)
74 c_delafter(el, el->el_state.argument)
    [all...]
vi.c 52 #include "el.h"
61 cv_action(EditLine *el, Int c)
64 if (el->el_chared.c_vcmd.action != NOP) {
66 if (c != (Int)el->el_chared.c_vcmd.action)
70 cv_undo(el);
71 cv_yank(el, el->el_line.buffer,
72 (int)(el->el_line.lastchar - el->el_line.buffer));
73 el->el_chared.c_vcmd.action = NOP
    [all...]
search.c 54 #include "el.h"
59 #define EL_CURSOR(el) \
60 ((el)->el_line.cursor + (((el)->el_map.type == MAP_VI) && \
61 ((el)->el_map.current == (el)->el_map.alt)))
67 search_init(EditLine *el)
70 el->el_search.patbuf = el_malloc(EL_BUFSIZ *
71 sizeof(*el->el_search.patbuf));
72 if (el->el_search.patbuf == NULL
    [all...]
hist.h 38 * el.hist.c: History functions
57 #define HIST_FUN_INTERNAL(el, fn, arg) \
58 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
59 fn, arg)) == -1) ? NULL : (el)->el_history.ev.str)
61 #define HIST_FUN(el, fn, arg) \
62 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \
63 HIST_FUN_INTERNAL(el, fn, arg)
    [all...]
hist.c 48 #include "el.h"
54 hist_init(EditLine *el)
57 el->el_history.fun = NULL;
58 el->el_history.ref = NULL;
59 el->el_history.buf = el_malloc(EL_BUFSIZ * sizeof(*el->el_history.buf));
60 el->el_history.sz = EL_BUFSIZ;
61 if (el->el_history.buf == NULL)
63 el->el_history.last = el->el_history.buf
    [all...]
read.c 53 #include "el.h"
67 read_init(EditLine *el)
70 el->el_read.read_char = read_char;
80 el_read_setfn(EditLine *el, el_rfunc_t rc)
82 el->el_read.read_char = (rc == EL_BUILTIN_GETCFN) ? read_char : rc;
92 el_read_getfn(EditLine *el)
94 return el->el_read.read_char == read_char ?
95 EL_BUILTIN_GETCFN : el->el_read.read_char;
105 read_debug(EditLine *el)
108 if (el->el_line.cursor > el->el_line.lastchar
    [all...]
el.c 1 /* $NetBSD: el.c,v 1.72 2013/01/22 20:23:21 christos Exp $ */
38 static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
40 __RCSID("$NetBSD: el.c,v 1.72 2013/01/22 20:23:21 christos Exp $");
49 * el.c: EditLine interface functions
59 #include "el.h"
98 EditLine *el = el_malloc(sizeof(*el)); local
100 if (el == NULL)
103 memset(el, 0, sizeof(EditLine));
105 el->el_infile = fin
    [all...]
chared.c 48 #include "el.h"
59 cv_undo(EditLine *el)
61 c_undo_t *vu = &el->el_chared.c_undo;
62 c_redo_t *r = &el->el_chared.c_redo;
66 size = (size_t)(el->el_line.lastchar - el->el_line.buffer);
68 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer);
69 (void)memcpy(vu->buf, el->el_line.buffer, size * sizeof(*vu->buf));
72 r->count = el->el_state.doingarg ? el->el_state.argument : 0
    [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)
90 elp = &el->el_prompt;
92 elp = &el->el_rprompt;
95 p = (*elp->p_func)(el);
97 p = ct_decode_string((char *)(void *)(*elp->p_func)(el),
98 &el->el_scratch);
106 terminal__putc(el, *p)
    [all...]
refresh.c 52 #include "el.h"
66 #define __F el->el_errfile
79 re_printstr(EditLine *el, const char *str, char *f, char *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 Char *firstline = el->el_vdisplay[0];
111 el->el_vdisplay[i - 1] = el->el_vdisplay[i]
    [all...]
tty.c 51 #include "el.h"
469 tty_getty(EditLine *el, struct termios *t)
472 while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR)
481 tty_setty(EditLine *el, int action, const struct termios *t)
484 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR)
493 tty_setup(EditLine *el)
497 if (el->el_flags & EDIT_DISABLED)
500 if (!isatty(el->el_outfd)) {
502 (void) fprintf(el->el_errfile, "%s: isatty: %s\n", __func__,
507 if (tty_getty(el, &el->el_tty.t_or) == -1)
    [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"
72 * The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a
104 keymacro_init(EditLine *el)
107 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ *
108 sizeof(*el->el_keymacro.buf));
109 if (el->el_keymacro.buf == NULL)
111 el->el_keymacro.map = NULL
    [all...]
eln.c 41 #include "el.h"
48 el_getc(EditLine *el, char *cp)
53 if (!(el->el_flags & CHARSET_IS_UTF8))
54 el->el_flags |= IGNORE_EXTCHARS;
55 num_read = el_wgetc (el, &wc);
56 if (!(el->el_flags & CHARSET_IS_UTF8))
57 el->el_flags &= ~IGNORE_EXTCHARS;
66 el_push(EditLine *el, const char *str)
70 el_wpush(el, ct_decode_string(str, &el->el_lgcyconv))
    [all...]
terminal.c 76 #include "el.h"
87 #define GoodStr(a) (el->el_terminal.t_str[a] != NULL && \
88 el->el_terminal.t_str[a][0] != '\0')
89 #define Str(a) el->el_terminal.t_str[a]
90 #define Val(a) el->el_terminal.t_val[a]
224 terminal_setflags(EditLine *el)
227 if (el->el_tty.t_tabs)
251 (void) fprintf(el->el_errfile,
253 (void) fprintf(el->el_errfile,
257 (void) fprintf(el->el_errfile, "no clear EOL capability.\n")
    [all...]
map.c 48 #include "el.h"
891 map_init(EditLine *el)
899 EL_ABORT((el->errfile, "Emacs map incorrect\n"));
901 EL_ABORT((el->errfile, "Vi command map incorrect\n"));
903 EL_ABORT((el->errfile, "Vi insert map incorrect\n"));
906 el->el_map.alt = el_malloc(sizeof(*el->el_map.alt) * N_KEYS);
907 if (el->el_map.alt == NULL)
909 el->el_map.key = el_malloc(sizeof(*el->el_map.key) * N_KEYS)
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
RewriteRuleSubtreeStream.as 51 var el:Object;
55 el = _next();
56 return adaptor.dupNode(el);
59 el = _next();
60 return el;
63 protected override function dup(el:Object):Object {
64 return adaptor.dupTree(el);
RewriteRuleElementStream.as 97 public function add(el:Object):void {
98 //System.out.println("add '"+elementDescription+"' is "+el);
99 if ( el==null ) {
103 elements.push(el);
107 singleElement = el;
114 elements.push(el);
124 var el:Object;
127 el = _next();
128 return dup(el);
131 el = _next()
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteRuleElementStream.js 14 org.antlr.runtime.tree.RewriteRuleElementStream = function(adaptor, elementDescription, el) {
32 if (el) {
33 if (org.antlr.lang.isArray(el)) {
35 this.elements = el;
37 this.add(el);
53 add: function(el) {
54 if ( !org.antlr.lang.isValue(el) ) {
58 this.elements.push(el);
62 this.singleElement = el;
69 this.elements.push(el);
    [all...]
  /external/chromium_org/tools/gyp/tools/emacs/
run-unit-tests.sh 6 --load ert.el --load gyp.el --load gyp-tests.el \
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/
util.js 1 function $(el) {
2 return document.getElementById(el);
5 function $F(el) {
6 return $(el).value;
  /external/chromium_org/chrome/browser/resources/print_preview/
print_preview_animations.js 13 var el = document.createElement('style');
14 el.type = 'text/css';
15 el.appendChild(rules);
16 el.setAttribute('id', name);
17 document.body.appendChild(el);
37 * @param {HTMLElement} el The element to be faded in.
39 function fadeInElement(el) {
40 if (el.classList.contains('visible'))
42 el.classList.remove('closing');
43 el.hidden = false
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.el_1.0.0.v201004212143.jar 
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
RewriteRuleSubtreeStream.java 73 Object el = _next(); local
74 return adaptor.dupNode(el);
81 Object el = adaptor.dupNode(tree); // dup just the root (want node here) local
82 return el;
85 protected Object dup(Object el) {
86 return adaptor.dupTree(el);
RewriteRuleElementStream.java 111 public void add(Object el) {
112 //System.out.println("add '"+elementDescription+"' is "+el);
113 if ( el==null ) {
117 elements.add(el);
121 singleElement = el;
128 elements.add(el);
140 Object el = _next(); local
141 return dup(el);
144 Object el = _next(); local
145 return el;
    [all...]

Completed in 612 milliseconds

1 2 3 4 5 6 7 8 91011>>