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

  /src/bin/ksh/
history.c 539 if (n > 0 && n != histsize) {
550 histsize = n;
604 histsize = HISTORYSIZE;
605 histlist = (char **)alloc(histsize*sizeof (char *), APERM);
623 if (++hp >= histlist + histsize) { /* remove oldest command */
626 sizeof(histlist[0]) * (histsize - 1));
627 hp = &histlist[histsize - 1];
751 if (i >= histsize)
752 hp = &histptr[-histsize];
771 * a) permit HISTSIZE to control number of lines of history store
    [all...]
lex.h 132 EXTERN int histsize; /* history size */ variable in typeref:typename:EXTERN int
var.c 106 { "HISTSIZE", V_HISTSIZE },
975 setint(vp, (long) histsize);
1138 * MAIL, MAILPATH, HISTSIZE, HISTFILE,
  /src/bin/sh/
histedit.c 258 int histsize; local in function:sethistsize
261 CTRACE(DBG_HISTORY, ("Set HISTSIZE=%s [%x] %s\n",
268 (histsize = number(hs)) < 0)
269 histsize = 100;
274 history(hist, &he, H_SETSIZE, histsize + 1);
  /src/usr.bin/vmstat/
vmstat.c 2273 size_t histsize; local in function:hist_dodump
2278 histsize = sizeof(struct kern_history_ent) * histp->n;
2280 if ((histents = malloc(histsize)) == NULL)
2283 (void)memset(histents, 0, histsize);
2288 deref_kptr(histp->e, histents, histsize, "history entries");
2408 size_t histsize; local in function:hist_dodump_sysctl
2414 histsize = 0;
2417 if (sysctl(mib, miblen, hist, &histsize, NULL, 0) == 0)
2421 if ((hist = realloc(hist, histsize)) == NULL)

Completed in 17 milliseconds