HomeSort by: relevance | last modified time | path
    Searched defs:el (Results 1 - 15 of 15) sorted by relevancy

  /src/lib/libedit/TEST/
test_filecompletion.c 43 #include "el.h"
522 EditLine *el = el_init(argv[0], stdin, stdout, stderr); local in function:main
539 el->el_line = line;
540 fn_complete(el, mycomplet_func, NULL, break_chars, NULL, NULL, 10, NULL, NULL, NULL, NULL);
543 * fn_complete would have expanded and escaped the input in el->el_line.buffer.
547 inputs[i].user_typed_text, inputs[i].escaped_output, el->el_line.buffer);
548 assert(wcscmp(el->el_line.buffer, inputs[i].escaped_output) == 0);
550 el_end(el);
tc1.c 73 prompt(EditLine *el)
88 complete(EditLine *el, int ch)
93 const LineInfo *lf = el_line(el);
109 if (el_insertstr(el, &dp->d_name[len]) == -1)
124 EditLine *el = NULL; local in function:main
148 el = el_init(*argv, stdin, stdout, stderr);
150 el_set(el, EL_EDITOR, "vi"); /* Default editor is vi */
151 el_set(el, EL_SIGNAL, 1); /* Handle signals gracefully */
152 el_set(el, EL_PROMPT_ESC, prompt, '\1');/* Set the prompt function */
155 el_set(el, EL_HIST, history, hist)
    [all...]
wtc1.c 21 prompt(EditLine *el)
57 complete(EditLine *el, int ch)
63 const LineInfoW *lf = el_wline(el);
93 if (el_winsertstr(el, dir) == -1)
110 EditLine *el = NULL; local in function:main
133 el = el_init(argv[0], stdin, stdout, stderr);
135 el_wset(el, EL_EDITOR, L"vi"); /* Default editor is vi */
136 el_wset(el, EL_SIGNAL, 1); /* Handle signals gracefully */
137 el_wset(el, EL_PROMPT_ESC, prompt, '\1'); /* Set the prompt function */
139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? *
    [all...]
  /src/usr.bin/mail/
complete.h 39 EditLine *el; /* editline(3) editline structure */ member in struct:__anon38a089be0108
58 #define ENAME_EL_COMPLETION_KEYS "el-completion-keys"
59 #define ENAME_EL_EDITOR "el-editor"
60 #define ENAME_EL_HISTORY_SIZE "el-history-size"
  /src/sys/stand/efiboot/bootaa64/
efibootaa64.c 75 uint64_t el; local in function:efi_aarch64_current_el
76 __asm __volatile ("mrs %0, CurrentEL" : "=r" (el));
77 return (el >> 2) & 0x3;
92 command_printtab("CurrentEL", "EL%u\n", efi_aarch64_current_el());
  /src/lib/libedit/
el.c 1 /* $NetBSD: el.c,v 1.102 2025/01/03 00:40:08 rillig Exp $ */
38 static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
40 __RCSID("$NetBSD: el.c,v 1.102 2025/01/03 00:40:08 rillig Exp $");
45 * el.c: EditLine interface functions
56 #include "el.h"
74 EditLine *el = el_calloc(1, sizeof(*el)); local in function:el_init_internal
76 if (el == NULL)
79 el->el_infile = fin;
80 el->el_outfile = fout
    [all...]
  /src/usr.sbin/npf/npfctl/
npf_var.c 113 npf_element_t *el; local in function:npfvar_add_element
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 in function:npfvar_get_element
270 npf_element_t *el = npfvar_get_element(vp, idx, 0); local in function:npfvar_getfilt_data
287 npf_element_t *el = npfvar_get_element(vp, idx, 0); local in function:npfvar_getfilt_type
294 npf_element_t *el = npfvar_get_element(vp, idx, 0); local in function:npfvar_get_type
315 npf_element_t *el = npfvar_get_element(vp, idx, 0); local in function:npfvar_get_data
    [all...]
  /src/usr.sbin/crash/
crash.c 252 const char *el; local in function:db_readline
266 el = el_gets(elptr, &cnt);
267 if (el == NULL) { /* EOF */
272 history(hist, &he, H_ENTER, el);
273 strlcpy(lstart, el, lsize);
  /src/bin/sh/
histedit.c 79 EditLine *el; /* editline cookie */ variable in typeref:typename:EditLine *
130 if (editing && !el && isatty(0)) { /* && isatty(2) ??? */
170 el = el_init("sh", el_in, el_out, el_err);
172 el != NULL ? "succeed" : "fail"));
173 if (el != NULL) {
175 el_set(el, EL_HIST, history, hist);
178 el_set(el, EL_SIGNAL, 1);
179 el_set(el, EL_SAFEREAD, 1);
180 el_set(el, EL_ALIAS_TEXT, alias_text, NULL);
181 el_set(el, EL_ADDFN, "rl-complete"
    [all...]
  /src/sys/dev/ic/
mlx.c 1274 struct mlx_eventlog_entry *el; local in function:mlx_periodic_eventlog_respond
1279 el = mc->mc_mx.mx_context;
1285 switch (el->el_type) {
1287 sensekey = el->el_sense & 0x0f;
1288 chan = (el->el_target >> 4) & 0x0f;
1289 targ = el->el_target & 0x0f;
1301 if (sensekey == 9 && el->el_asc == 0x80) {
1302 if (el->el_asq < sizeof(mlx_sense_msgs) /
1304 reason = mlx_sense_msgs[el->el_asq];
1316 if (sensekey == 6 && el->el_asc == 0x29
    [all...]
isp_target.c 491 lun_entry_t el; local in function:isp_lun_cmd
494 ISP_MEMZERO(&el, sizeof (el));
496 el.le_rsvd = (bus & 0x1) << 7;
498 el.le_cmd_count = cmd_cnt;
499 el.le_in_count = inot_cnt;
502 el.le_flags = LUN_TQAE|LUN_DISAD;
503 el.le_cdb6len = 12;
504 el.le_cdb7len = 12;
508 el.le_cmd_count = 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_gpu_error.c 1243 const struct intel_engine_execlists * const el = &ee->engine->execlists; local in function:engine_record_execlists
1244 struct i915_request * const *port = el->active;
  /src/usr.bin/ftp/
ftp_var.h 269 GLOBAL EditLine *el; /* editline(3) status structure */ variable in typeref:typename:GLOBAL EditLine *
  /src/bin/csh/
csh.c 166 EditLine *el; variable in typeref:typename:EditLine *
  /src/sys/dev/pci/
mpii.c 3644 struct mpii_raid_config_element *el; local in function:mpii_bio_hs
3680 el = (struct mpii_raid_config_element *)(cpg + 1);
3681 for (i = 0; i < cpg->num_elements; i++, el++) {
3682 if (ISSET(le16toh(el->element_flags),
3684 el->hot_spare_pool == hsmap) {
3693 u_int8_t dn = el->phys_disk_num;

Completed in 23 milliseconds