HomeSort by: relevance | last modified time | path
    Searched refs:hist (Results 1 - 22 of 22) sorted by relevancy

  /src/bin/sh/
myhistedit.h 36 extern History *hist;
histedit.c 78 History *hist; /* history cookie */ variable in typeref:typename:History *
116 if (!hist) {
121 hist = history_init();
124 if (hist != NULL) {
174 if (hist)
175 el_set(el, EL_HIST, history, hist);
214 if (hist) {
215 history_end(hist);
216 hist = NULL;
262 (hs == NULL ? "''" : hs), flags, "!hist" + (hist != NULL)))
    [all...]
input.c 343 if (parsefile->fd == 0 && hist && (something || whichprompt == 2)) {
347 history(hist, &he, whichprompt != 2 ? H_ENTER : H_APPEND,
350 history(hist, &he, H_NSAVE_FP, (size_t)0, HistFP);
  /src/usr.bin/mail/
complete.h 40 History *hist; /* editline(3) history structure */ member in struct:__anon38a089be0108
complete.c 1167 if (em->hist) {
1171 if (*p && history(em->hist, &ev, H_ENTER, line) == 0)
1217 if ((em.hist = history_init()) == NULL) {
1221 if (history(em.hist, &ev, H_SETSIZE, history_size) == -1)
1223 (void)el_set(em.el, EL_HIST, history, em.hist);
1233 .command = { .el = NULL, .hist = NULL, },
1234 .string = { .el = NULL, .hist = NULL, },
1235 .filec = { .el = NULL, .hist = NULL, },
1237 .mime_enc = { .el = NULL, .hist = NULL, },
  /src/lib/libedit/TEST/
tc1.c 132 History *hist; local in function:main
141 hist = history_init(); /* Init the builtin history */
143 history(hist, &ev, H_SETSIZE, 100);
155 el_set(el, EL_HIST, history, hist);
217 if (history(hist, &ev, H_SET, lastevent) == -1)
219 history(hist, &ev, H_ADD , buf);
221 history(hist, &ev, H_ENTER, buf);
226 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf);
249 for (rv = history(hist, &ev, H_LAST); rv != -1;
250 rv = history(hist, &ev, H_PREV)
    [all...]
wtc1.c 114 HistoryW *hist; local in function:main
127 hist = history_winit(); /* Init built-in history */
128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */
129 history_w(hist, &ev, H_LOAD, hfile);
139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */
193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line);
214 for(rc = history_w(hist, &ev, H_LAST);
216 rc = history_w(hist, &ev, H_PREV))
222 history_w(hist, &ev, H_CLEAR);
228 history_w(hist, &ev, H_LOAD
    [all...]
  /src/sys/netinet/
dccp_tfrc.h 105 struct s_hist_head hist; /* Packet history */ member in struct:tfrc_send_ccb
218 struct r_hist_head hist; /* Packet history */ member in struct:tfrc_recv_ccb
dccp_tfrc.c 543 TAILQ_INIT(&(ccb->hist));
579 elm = TAILQ_FIRST(&(cb->hist));
585 TAILQ_INIT(&(cb->hist));
622 new_packet = TAILQ_FIRST(&(cb->hist));
634 TAILQ_INSERT_HEAD(&(cb->hist), new_packet, linfo);
739 packet = TAILQ_FIRST(&(cb->hist));
899 elm = TAILQ_FIRST(&(cb->hist));
986 TAILQ_REMOVE(&(cb->hist), elm2, linfo);
1048 elm = TAILQ_FIRST(&((cb)->hist)); \
1351 if (TAILQ_EMPTY(&(cb->hist))) {
    [all...]
  /src/usr.sbin/lpr/lpc/
lpc.c 81 History *hist; variable in typeref:typename:History *
142 history_end(hist);
165 hist = history_init();
166 history(hist, &he, H_SETSIZE, 100); /* 100 elt history buffer */
171 el_set(elptr, EL_HIST, history, hist);
179 history(hist, &he, H_ENTER, elline);
  /src/usr.sbin/crash/
crash.c 69 static History *hist; variable in typeref:typename:History *
106 history_end(hist);
272 history(hist, &he, H_ENTER, el);
478 hist = history_init();
479 history(hist, &he, H_SETSIZE, 100);
483 el_set(elptr, EL_HIST, history, hist);
  /src/sys/kern/
kern_history.c 312 * history) does not already have a sysctl node (under kern.hist)
316 sysctl_kernhist_new(struct kern_history *hist)
327 if (hist && h != hist)
339 if (hist == h)
347 * Create the 2nd level "hw.hist" sysctl node
356 CTLTYPE_NODE, "hist",
413 * This helper routine is called for all accesses to the kern.hist
  /src/bin/csh/
Makefile 23 func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \
  /src/usr.bin/vmstat/
vmstat.c 2209 struct kern_history hist, *histkva; local in function:hist_traverse
2230 histkva = LIST_NEXT(&hist, list)) {
2231 deref_kptr(histkva, &hist, sizeof(hist), "histkva");
2232 if (name == NULL || hist.namelen > namelen) {
2235 namelen = hist.namelen;
2240 deref_kptr(hist.name, name, namelen, "history name");
2253 hist_dodump(&hist);
2343 error = sysctlnametomib("kern.hist", mib, &miblen);
2349 err(EXIT_FAILURE, "nametomib kern.hist failed")
2405 struct sysctl_history *hist; local in function:hist_dodump_sysctl
    [all...]
  /src/usr.bin/ftp/
util.c 998 if (editing && el == NULL && hist == NULL) {
1004 hist = history_init(); /* init the builtin history */
1005 history(hist, &ev, H_SETSIZE, 100);/* remember 100 events */
1006 el_set(el, EL_HIST, history, hist); /* use history */
1026 if (hist) {
1027 history_end(hist);
1028 hist = NULL;
ftp_var.h 270 GLOBAL History *hist; /* editline(3) history structure */ variable in typeref:typename:GLOBAL History *
main.c 182 hist = NULL;
728 history(hist, &ev, H_ENTER, buf);
  /src/usr.bin/cdplay/
cdplay.c 161 static History *hist; variable in typeref:typename:History *
286 hist = history_init();
287 history(hist, &he, H_SETSIZE, 100); /* 100 elt history buffer */
291 el_set(elptr, EL_HIST, history, hist);
301 history(hist, &he, H_ENTER, elline);
323 history_end(hist);
  /src/sbin/fsdb/
fsdb.c 359 History *hist; local in function:cmdloop
367 hist = history_init();
368 history(hist, &he, H_SETSIZE, 100); /* 100 elt history buffer */
373 el_set(elptr, EL_HIST, history, hist);
380 history(hist, &he, H_ENTER, elline);
418 history_end(hist);
  /src/lib/libedit/
Makefile 18 hist.c history.c historyn.c keymacro.c literal.c map.c \
  /src/bin/ksh/
vi.c 1710 int hist; local in function:grabsearch
1720 if ((hist = findhist(start, fwd, pat, anchored)) < 0) {
1731 histnum(hist);
1737 return hist;
  /src/sys/dev/pci/
twa.c 1323 static struct buf *hist[255];
1329 hist[j] = 0;
1343 if (tr->bp == hist[j])
1349 hist[i++] = req->bp;

Completed in 833 milliseconds