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

  /src/bin/ksh/
lex.h 132 EXTERN int histsize; /* history size */ variable
  /src/bin/sh/
histedit.c 251 int histsize; local
254 CTRACE(DBG_HISTORY, ("Set HISTSIZE=%s [%x] %s\n",
261 (histsize = number(hs)) < 0)
262 histsize = 100;
267 history(hist, &he, H_SETSIZE, histsize + 1);
  /src/external/bsd/less/dist/
cmdbuf.c 1649 int histsize = 0; local
1663 histsize = atoi(s);
1664 if (histsize <= 0)
1665 histsize = 100;
1666 skip_search = mlist_size(&mlist_search) - histsize;
1668 skip_shell = mlist_size(&mlist_shell) - histsize;
  /src/usr.bin/vmstat/
vmstat.c 2271 size_t histsize; local
2276 histsize = sizeof(struct kern_history_ent) * histp->n;
2278 if ((histents = malloc(histsize)) == NULL)
2281 (void)memset(histents, 0, histsize);
2286 deref_kptr(histp->e, histents, histsize, "history entries");
2406 size_t histsize; local
2412 histsize = 0;
2415 if (sysctl(mib, miblen, hist, &histsize, NULL, 0) == 0)
2419 if ((hist = realloc(hist, histsize)) == NULL)

Completed in 18 milliseconds