HomeSort by relevance Sort by last modified time
    Searched refs:el (Results 1 - 25 of 429) 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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
GattDbElement.java 56 GattDbElement el = new GattDbElement(); local
57 el.type = TYPE_PRIMARY_SERVICE;
58 el.uuid = uuid;
59 return el;
63 GattDbElement el = new GattDbElement(); local
64 el.type = TYPE_SECONDARY_SERVICE;
65 el.uuid = uuid;
66 return el;
70 GattDbElement el = new GattDbElement(); local
71 el.type = TYPE_CHARACTERISTIC
79 GattDbElement el = new GattDbElement(); local
87 GattDbElement el = new GattDbElement(); local
    [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/clang/test/Modules/Inputs/PR20399/
FirstHeader.h 8 typedef std::map<int>::iterator el; typedef
  /frameworks/base/tools/aapt2/xml/
XmlActionExecutor.cpp 22 static bool wrapper_one(XmlNodeAction::ActionFunc& f, Element* el, SourcePathDiagnostics*) {
23 return f(el);
26 static bool wrapper_two(XmlNodeAction::ActionFuncWithDiag& f, Element* el,
28 return f(el, diag);
41 static void PrintElementToDiagMessage(const Element* el, DiagMessage* msg) {
43 if (!el->namespace_uri.empty()) {
44 *msg << el->namespace_uri << ":";
46 *msg << el->name << ">";
50 Element* el) const {
53 error |= !action(el, diag)
81 Element* el = FindRootElement(doc); local
    [all...]
  /frameworks/base/tools/aapt2/link/
XmlNamespaceRemover.cpp 34 void Visit(xml::Element* el) override {
36 for (auto& child : el->children) {
42 child->parent = el;
46 el->children.erase(
47 std::remove_if(el->children.begin(), el->children.end(),
51 el->children.end());
54 for (xml::Attribute& attr : el->attributes) {
57 el->namespace_uri = std::string();
59 xml::Visitor::Visit(el);
    [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);

Completed in 455 milliseconds

1 2 3 4 5 6 7 8 91011>>