/external/libedit/src/ |
D | common.c | 55 ed_end_of_file(EditLine *el, Int c __attribute__((__unused__))) in ed_end_of_file() argument 58 re_goto_bottom(el); in ed_end_of_file() 59 *el->el_line.lastchar = '\0'; in ed_end_of_file() 69 ed_insert(EditLine *el, Int c) in ed_insert() argument 71 int count = el->el_state.argument; in ed_insert() 76 if (el->el_line.lastchar + el->el_state.argument >= in ed_insert() 77 el->el_line.limit) { in ed_insert() 79 if (!ch_enlargebufs(el, (size_t) count)) in ed_insert() 84 if (el->el_state.inputmode == MODE_INSERT in ed_insert() 85 || el->el_line.cursor >= el->el_line.lastchar) in ed_insert() [all …]
|
D | vi.c | 61 cv_action(EditLine *el, Int c) in cv_action() argument 64 if (el->el_chared.c_vcmd.action != NOP) { in cv_action() 66 if (c != (Int)el->el_chared.c_vcmd.action) in cv_action() 70 cv_undo(el); in cv_action() 71 cv_yank(el, el->el_line.buffer, in cv_action() 72 (int)(el->el_line.lastchar - el->el_line.buffer)); in cv_action() 73 el->el_chared.c_vcmd.action = NOP; in cv_action() 74 el->el_chared.c_vcmd.pos = 0; in cv_action() 76 el->el_line.lastchar = el->el_line.buffer; in cv_action() 77 el->el_line.cursor = el->el_line.buffer; in cv_action() [all …]
|
D | search.c | 59 #define EL_CURSOR(el) \ argument 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) in search_init() argument 70 el->el_search.patbuf = el_malloc(EL_BUFSIZ * in search_init() 71 sizeof(*el->el_search.patbuf)); in search_init() 72 if (el->el_search.patbuf == NULL) in search_init() 74 el->el_search.patlen = 0; in search_init() 75 el->el_search.patdir = -1; in search_init() 76 el->el_search.chacha = '\0'; in search_init() [all …]
|
D | chared.c | 59 cv_undo(EditLine *el) in cv_undo() argument 61 c_undo_t *vu = &el->el_chared.c_undo; in cv_undo() 62 c_redo_t *r = &el->el_chared.c_redo; in cv_undo() 66 size = (size_t)(el->el_line.lastchar - el->el_line.buffer); in cv_undo() 68 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); in cv_undo() 69 (void)memcpy(vu->buf, el->el_line.buffer, size * sizeof(*vu->buf)); in cv_undo() 72 r->count = el->el_state.doingarg ? el->el_state.argument : 0; in cv_undo() 73 r->action = el->el_chared.c_vcmd.action; in cv_undo() 75 r->cmd = el->el_state.thiscmd; in cv_undo() 76 r->ch = el->el_state.thisch; in cv_undo() [all …]
|
D | emacs.c | 55 em_delete_or_list(EditLine *el, Int c) in em_delete_or_list() argument 58 if (el->el_line.cursor == el->el_line.lastchar) { in em_delete_or_list() 60 if (el->el_line.cursor == el->el_line.buffer) { in em_delete_or_list() 62 terminal_writec(el, c); /* then do an EOF */ in em_delete_or_list() 69 terminal_beep(el); in em_delete_or_list() 73 if (el->el_state.doingarg) in em_delete_or_list() 74 c_delafter(el, el->el_state.argument); in em_delete_or_list() 76 c_delafter1(el); in em_delete_or_list() 77 if (el->el_line.cursor > el->el_line.lastchar) in em_delete_or_list() 78 el->el_line.cursor = el->el_line.lastchar; in em_delete_or_list() [all …]
|
D | read.c | 67 read_init(EditLine *el) in read_init() argument 70 el->el_read.read_char = read_char; in read_init() 80 el_read_setfn(EditLine *el, el_rfunc_t rc) in el_read_setfn() argument 82 el->el_read.read_char = (rc == EL_BUILTIN_GETCFN) ? read_char : rc; in el_read_setfn() 92 el_read_getfn(EditLine *el) in el_read_getfn() argument 94 return el->el_read.read_char == read_char ? in el_read_getfn() 95 EL_BUILTIN_GETCFN : el->el_read.read_char; in el_read_getfn() 105 read_debug(EditLine *el) in read_debug() argument 108 if (el->el_line.cursor > el->el_line.lastchar) in read_debug() 109 (void) fprintf(el->el_errfile, "cursor > lastchar\r\n"); in read_debug() [all …]
|
D | refresh.c | 66 #define __F el->el_errfile 79 re_printstr(EditLine *el, const char *str, char *f, char *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 Char *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() 116 el->el_refresh.r_cursor.v++; in re_nextline() [all …]
|
D | hist.c | 54 hist_init(EditLine *el) in hist_init() argument 57 el->el_history.fun = NULL; in hist_init() 58 el->el_history.ref = NULL; in hist_init() 59 el->el_history.buf = el_malloc(EL_BUFSIZ * sizeof(*el->el_history.buf)); in hist_init() 60 el->el_history.sz = EL_BUFSIZ; in hist_init() 61 if (el->el_history.buf == NULL) in hist_init() 63 el->el_history.last = el->el_history.buf; in hist_init() 72 hist_end(EditLine *el) in hist_end() argument 75 el_free(el->el_history.buf); in hist_end() 76 el->el_history.buf = NULL; in hist_end() [all …]
|
D | el.c | 98 EditLine *el = el_malloc(sizeof(*el)); in el_init_fd() local 100 if (el == NULL) in el_init_fd() 103 memset(el, 0, sizeof(EditLine)); in el_init_fd() 105 el->el_infile = fin; in el_init_fd() 106 el->el_outfile = fout; in el_init_fd() 107 el->el_errfile = ferr; in el_init_fd() 109 el->el_infd = fdin; in el_init_fd() 110 el->el_outfd = fdout; in el_init_fd() 111 el->el_errfd = fderr; in el_init_fd() 113 el->el_prog = Strdup(ct_decode_string(prog, &el->el_scratch)); in el_init_fd() [all …]
|
D | terminal.c | 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) in terminal_setflags() argument 227 if (el->el_tty.t_tabs) in terminal_setflags() 251 (void) fprintf(el->el_errfile, in terminal_setflags() 253 (void) fprintf(el->el_errfile, in terminal_setflags() 257 (void) fprintf(el->el_errfile, "no clear EOL capability.\n"); in terminal_setflags() 259 (void) fprintf(el->el_errfile, "no delete char capability.\n"); in terminal_setflags() [all …]
|
D | tty.c | 469 tty_getty(EditLine *el, struct termios *t) in tty_getty() argument 472 while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR) in tty_getty() 481 tty_setty(EditLine *el, int action, const struct termios *t) in tty_setty() argument 484 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR) in tty_setty() 493 tty_setup(EditLine *el) in tty_setup() argument 497 if (el->el_flags & EDIT_DISABLED) in tty_setup() 500 if (!isatty(el->el_outfd)) { in tty_setup() 502 (void) fprintf(el->el_errfile, "%s: isatty: %s\n", __func__, in tty_setup() 507 if (tty_getty(el, &el->el_tty.t_or) == -1) { in tty_setup() 509 (void) fprintf(el->el_errfile, "%s: tty_getty: %s\n", __func__, in tty_setup() [all …]
|
D | keymacro.c | 104 keymacro_init(EditLine *el) in keymacro_init() argument 107 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ * in keymacro_init() 108 sizeof(*el->el_keymacro.buf)); in keymacro_init() 109 if (el->el_keymacro.buf == NULL) in keymacro_init() 111 el->el_keymacro.map = NULL; in keymacro_init() 112 keymacro_reset(el); in keymacro_init() 120 keymacro_end(EditLine *el) in keymacro_end() argument 123 el_free(el->el_keymacro.buf); in keymacro_end() 124 el->el_keymacro.buf = NULL; in keymacro_end() 125 node__free(el->el_keymacro.map); in keymacro_end() [all …]
|
D | map.c | 891 map_init(EditLine *el) in map_init() argument 899 EL_ABORT((el->errfile, "Emacs map incorrect\n")); in map_init() 901 EL_ABORT((el->errfile, "Vi command map incorrect\n")); in map_init() 903 EL_ABORT((el->errfile, "Vi insert map incorrect\n")); in map_init() 906 el->el_map.alt = el_malloc(sizeof(*el->el_map.alt) * N_KEYS); in map_init() 907 if (el->el_map.alt == NULL) in map_init() 909 el->el_map.key = el_malloc(sizeof(*el->el_map.key) * N_KEYS); in map_init() 910 if (el->el_map.key == NULL) in map_init() 912 el->el_map.emacs = el_map_emacs; in map_init() 913 el->el_map.vic = el_map_vi_command; in map_init() [all …]
|
D | eln.c | 48 el_getc(EditLine *el, char *cp) in el_getc() argument 53 if (!(el->el_flags & CHARSET_IS_UTF8)) in el_getc() 54 el->el_flags |= IGNORE_EXTCHARS; in el_getc() 55 num_read = el_wgetc (el, &wc); in el_getc() 56 if (!(el->el_flags & CHARSET_IS_UTF8)) in el_getc() 57 el->el_flags &= ~IGNORE_EXTCHARS; in el_getc() 66 el_push(EditLine *el, const char *str) in el_push() argument 70 el_wpush(el, ct_decode_string(str, &el->el_lgcyconv)); in el_push() 75 el_gets(EditLine *el, int *nread) in el_gets() argument 79 el->el_flags |= IGNORE_EXTCHARS; in el_gets() [all …]
|
D | hist.h | 57 #define HIST_FUN_INTERNAL(el, fn, arg) \ argument 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) \ argument 62 (((el)->el_flags & NARROW_HISTORY) ? hist_convert(el, fn, arg) : \ 63 HIST_FUN_INTERNAL(el, fn, arg)) 65 #define HIST_FUN(el, fn, arg) HIST_FUN_INTERNAL(el, fn, arg) argument 69 #define HIST_NEXT(el) HIST_FUN(el, H_NEXT, NULL) argument 70 #define HIST_FIRST(el) HIST_FUN(el, H_FIRST, NULL) argument 71 #define HIST_LAST(el) HIST_FUN(el, H_LAST, NULL) argument [all …]
|
D | prompt.c | 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 90 elp = &el->el_prompt; in prompt_print() 92 elp = &el->el_rprompt; in prompt_print() 95 p = (*elp->p_func)(el); in prompt_print() 97 p = ct_decode_string((char *)(void *)(*elp->p_func)(el), in prompt_print() 98 &el->el_scratch); in prompt_print() 106 terminal__putc(el, *p); in prompt_print() 108 re_putc(el, *p, 1); in prompt_print() [all …]
|
D | sig.c | 114 sig_init(EditLine *el) in sig_init() argument 119 el->el_signal = el_malloc(sizeof(*el->el_signal)); in sig_init() 120 if (el->el_signal == NULL) in sig_init() 123 nset = &el->el_signal->sig_set; in sig_init() 131 el->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_init() 132 el->el_signal->sig_action[i].sa_flags = 0; in sig_init() 133 sigemptyset(&el->el_signal->sig_action[i].sa_mask); in sig_init() 146 sig_end(EditLine *el) in sig_end() argument 149 el_free(el->el_signal); in sig_end() 150 el->el_signal = NULL; in sig_end() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.apache.commons.el_1.0.0.v201004212143.jar | ... apache/commons/
org/apache/commons/el/
org/apache/commons/el/parser ... |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | RewriteRuleElementStream.js | 14 org.antlr.runtime.tree.RewriteRuleElementStream = function(adaptor, elementDescription, el) { argument 32 if (el) { 33 if (org.antlr.lang.isArray(el)) { 35 this.elements = el; 37 this.add(el); 53 add: function(el) { argument 54 if ( !org.antlr.lang.isValue(el) ) { 58 this.elements.push(el); 62 this.singleElement = el; 69 this.elements.push(el); [all …]
|
/external/markdown/markdown/ |
D | inlinepatterns.py | 177 el = markdown.etree.Element(self.tag) 178 el.text = m.group(3) 179 return el 195 el = markdown.etree.Element(self.tag) 196 el.text = markdown.AtomicString(m.group(3).strip()) 197 return el 226 el = markdown.etree.Element("a") 227 el.text = m.group(2) 234 el.set("href", self.sanitize_url(href.strip())) 236 el.set("href", "") [all …]
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_asc.cpp | 305 int el, numCh1 = 0, numCh2 = 0; in CProgramConfig_Compare() local 306 for (el = 0; el < pPce1->NumFrontChannelElements; el += 1) { in CProgramConfig_Compare() 307 if (pPce1->FrontElementHeightInfo[el] != pPce2->FrontElementHeightInfo[el]) { in CProgramConfig_Compare() 311 numCh1 += pPce1->FrontElementIsCpe[el] ? 2 : 1; in CProgramConfig_Compare() 312 numCh2 += pPce2->FrontElementIsCpe[el] ? 2 : 1; in CProgramConfig_Compare() 322 int el, numCh1 = 0, numCh2 = 0; in CProgramConfig_Compare() local 323 for (el = 0; el < pPce1->NumSideChannelElements; el += 1) { in CProgramConfig_Compare() 324 if (pPce1->SideElementHeightInfo[el] != pPce2->SideElementHeightInfo[el]) { in CProgramConfig_Compare() 328 numCh1 += pPce1->SideElementIsCpe[el] ? 2 : 1; in CProgramConfig_Compare() 329 numCh2 += pPce2->SideElementIsCpe[el] ? 2 : 1; in CProgramConfig_Compare() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | extend.c | 25 int el, /* extend left border */ in copy_and_extend_plane() argument 38 dest_ptr1 = d - el; in copy_and_extend_plane() 43 memset(dest_ptr1, src_ptr1[0], el); in copy_and_extend_plane() 44 memcpy(dest_ptr1 + el, src_ptr1, w); in copy_and_extend_plane() 55 src_ptr1 = d - el; in copy_and_extend_plane() 56 src_ptr2 = d + dp * (h - 1) - el; in copy_and_extend_plane() 57 dest_ptr1 = d + dp * (-et) - el; in copy_and_extend_plane() 58 dest_ptr2 = d + dp * (h) - el; in copy_and_extend_plane() 59 linesize = el + er + w; in copy_and_extend_plane() 79 int el = dst->border; in vp8_copy_and_extend_frame() local [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | BitSet.js | 78 numWordsToHold: function(el) { argument 79 return (el >> org.antlr.runtime.BitSet.LOG_BITS) + 1; 113 of: function(el, el2) { argument 116 if (org.antlr.lang.isNumber(el)) { 119 for (i = el; i <= el2; i++) { 125 s = new org.antlr.runtime.BitSet(el + 1); 126 s.add(el); 129 } else if(org.antlr.lang.isArray(el)) { 131 for (i=el.length-1; i>=0; i--) { 132 s.add(el[i]); [all …]
|
/external/libedit/examples/ |
D | tc1.c | 78 prompt(EditLine *el __attribute__((__unused__))) in prompt() argument 93 complete(EditLine *el, int ch __attribute__((__unused__))) in complete() argument 98 const LineInfo *lf = el_line(el); in complete() 114 if (el_insertstr(el, &dp->d_name[len]) == -1) in complete() 129 EditLine *el = NULL; in main() local 153 el = el_init(*argv, stdin, stdout, stderr); in main() 155 el_set(el, EL_EDITOR, "vi"); /* Default editor is vi */ in main() 156 el_set(el, EL_SIGNAL, 1); /* Handle signals gracefully */ in main() 157 el_set(el, EL_PROMPT_ESC, prompt, '\1');/* Set the prompt function */ in main() 160 el_set(el, EL_HIST, history, hist); in main() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | RewriteRuleElementStream.java | 111 public void add(Object el) { in add() argument 113 if ( el==null ) { in add() 117 elements.add(el); in add() 121 singleElement = el; in add() 128 elements.add(el); in add() 140 Object el = _next(); in nextTree() local 141 return dup(el); in nextTree() 144 Object el = _next(); in nextTree() local 145 return el; in nextTree() 182 protected abstract Object dup(Object el); in dup() argument [all …]
|