Searched refs:histsize (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/bsd/less/dist/ |
| H A D | cmdbuf.c | 1649 int histsize = 0; in save_cmdhist() local 1663 histsize = atoi(s); in save_cmdhist() 1664 if (histsize <= 0) in save_cmdhist() 1665 histsize = 100; in save_cmdhist() 1666 skip_search = mlist_size(&mlist_search) - histsize; in save_cmdhist() 1668 skip_shell = mlist_size(&mlist_shell) - histsize; in save_cmdhist()
|
| /netbsd-src/bin/ksh/ |
| H A D | lex.h | 132 EXTERN int histsize; /* history size */ variable
|
| /netbsd-src/usr.bin/vmstat/ |
| H A D | vmstat.c | 2257 size_t histsize; in hist_dodump() local 2262 histsize = sizeof(struct kern_history_ent) * histp->n; in hist_dodump() 2264 if ((histents = malloc(histsize)) == NULL) in hist_dodump() 2267 (void)memset(histents, 0, histsize); in hist_dodump() 2272 deref_kptr(histp->e, histents, histsize, "history entries"); in hist_dodump() 2392 size_t histsize; in hist_dodump_sysctl() local 2398 histsize = 0; in hist_dodump_sysctl() 2401 if (sysctl(mib, miblen, hist, &histsize, NULL, 0) == 0) in hist_dodump_sysctl() 2405 if ((hist = realloc(hist, histsize)) == NULL) in hist_dodump_sysctl()
|