Home
last modified time | relevance | path

Searched refs:history_size (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/libreadline/
HDhistory.c71 static int history_size; variable
98 state->size = history_size; in history_get_history_state()
114 history_size = state->size;
291 if (history_size == 0)
293 history_size = DEFAULT_HISTORY_GROW_SIZE;
294 the_history = (HIST_ENTRY **)xmalloc (history_size * sizeof (HIST_ENTRY *));
299 if (history_length == (history_size - 1))
301 history_size += DEFAULT_HISTORY_GROW_SIZE;
303 xrealloc (the_history, history_size * sizeof (HIST_ENTRY *));
/NextBSD/contrib/gdb/gdb/
HDtop.c976 static int history_size; variable
1565 hist_len = history_size; in show_commands()
1566 for (offset = 0; offset < history_size; offset++) in show_commands()
1626 if (history_size == INT_MAX) in set_history_size_command()
1628 else if (history_size >= 0) in set_history_size_command()
1629 stifle_history (history_size); in set_history_size_command()
1632 history_size = INT_MAX; in set_history_size_command()
1686 history_size = atoi (tmpenv); in init_history()
1687 else if (!history_size) in init_history()
1688 history_size = 256; in init_history()
[all …]
/NextBSD/sys/dev/vt/
HDvt_buf.c420 vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, unsigned int history_size) in vtbuf_grow() argument
427 history_size = MAX(history_size, p->tp_row); in vtbuf_grow()
430 bufsize = history_size * p->tp_col * sizeof(term_char_t); in vtbuf_grow()
432 rowssize = history_size * sizeof(term_pos_t *); in vtbuf_grow()
446 vb->vb_history_size = history_size; in vtbuf_grow()
454 if (history_size > old_history_size) { in vtbuf_grow()
515 for (r = 0; r < history_size; r ++) { in vtbuf_grow()
527 (old_history_size - history_size)) % in vtbuf_grow()
531 (r + (old_history_size - history_size)) % in vtbuf_grow()
548 (vb->vb_curroffset + h) >= history_size) in vtbuf_grow()
/NextBSD/contrib/compiler-rt/lib/tsan/rtl/
HDtsan_flags.cc112 if (f->history_size < 0 || f->history_size > 7) { in InitializeFlags()
HDtsan_flags.inc66 int, history_size, kGoMode ? 1 : 3, // There are a lot of goroutines in Go.
69 "history_size=0 amounts to 32K memory accesses. Each next value doubles "
70 "the amount of memory accesses, up to history_size=7 that amounts to "
HDtsan_rtl_thread.cc114 thr->fast_state.SetHistorySize(flags()->history_size); in OnStarted()
HDtsan_rtl.cc514 return (uptr)(1ull << (kTracePartSizeBits + flags()->history_size + 1)); in TraceSize()
/NextBSD/contrib/compiler-rt/lib/tsan/tests/unit/
HDtsan_flags_test.cc110 EXPECT_EQ(f->history_size, 5); in VerifyOptions1()
136 EXPECT_EQ(f->history_size, 6); in VerifyOptions2()
/NextBSD/sys/dev/syscons/
HDsyscons.h343 int history_size; /* size of history buffer */ member
HDsyscons.c3304 scp->history_size = 0; in init_scp()