Searched refs:history (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-10.0-release/sys/dev/syscons/
H A Dschistory.c85 /* allocate a history buffer */
95 sc_vtb_t *history; local
107 /* remove the history buffer while we update it */
108 history = prev_history = scp->history;
109 scp->history = NULL;
114 cur_lines = sc_vtb_rows(history);
125 scp->history = prev_history;
131 history = (sc_vtb_t *)malloc(sizeof(*history),
190 sc_vtb_t *history; local
[all...]
/freebsd-10.0-release/contrib/xz/src/liblzma/delta/
H A Ddelta_private.h25 /// Position in history[]
28 /// Buffer to hold history of the original data
29 uint8_t history[LZMA_DELTA_DIST_MAX]; member in struct:lzma_coder_s
H A Ddelta_encoder.c27 const uint8_t tmp = coder->history[
29 coder->history[coder->pos-- & 0xFF] = in[i];
43 const uint8_t tmp = coder->history[
45 coder->history[coder->pos-- & 0xFF] = buffer[i];
H A Ddelta_decoder.c23 buffer[i] += coder->history[(distance + coder->pos) & 0xFF];
24 coder->history[coder->pos-- & 0xFF] = buffer[i];
H A Ddelta_common.c51 memzero(next->coder->history, LZMA_DELTA_DIST_MAX);
/freebsd-10.0-release/usr.bin/calendar/calendars/
H A Dcalendar.world13 #include <calendar.history>
/freebsd-10.0-release/lib/libedit/TEST/
H A Dtest.c135 hist = history_init(); /* Init the builtin history */
137 history(hist, &ev, H_SETSIZE, 100);
148 /* Tell editline to use this history interface */
149 el_set(el, EL_HIST, history, hist);
159 * of previous and next history.
209 * moved around in history.
211 if (history(hist, &ev, H_SET, lastevent) == -1)
213 history(hist, &ev, H_ADD , buf);
215 history(hist, &ev, H_ENTER, buf);
220 history(his
[all...]
/freebsd-10.0-release/bin/sh/
H A Dhistedit.c48 * Editline and history functions (and glue).
67 History *hist; /* history cookie */
77 * Set history and editing status. Called whenever the status may
89 * turn history on
98 out2fmt_flush("sh: can't initialize history\n");
123 el_set(el, EL_HIST, history, hist);
172 history(hist, &he, H_SETSIZE, histsize);
173 history(hist, &he, H_SETUNIQUE, 1);
204 error("history not active");
207 error("missing history argumen
[all...]
/freebsd-10.0-release/lib/libedit/
H A Dreadline.c186 * generic function for moving around history
194 if (FUNW(history)(h, &ev, op) != 0)
220 static const char _dothistory[] = "/.history";
279 FUN(history,end)(h);
297 h = FUN(history,init)();
301 FUNW(history)(h, &ev, H_SETSIZE, INT_MAX); /* unlimited */
304 el_set(e, EL_HIST, history, h);
312 FUN(history,end)(h);
418 FUNW(history)(h, &ev, H_GETSIZE);
425 * history function
[all...]
H A Dhistedit.h38 * histedit.h: Line editor and history interface.
169 typedef struct history History;
182 int history(History *, HistEvent *, int, ...);
H A Dhist.c67 * clean up history;
79 * Set new history interface
92 * Get a history line and update it in the buffer.
151 * process a history command
164 /* List history entries */
178 return history(el->el_history.ref, &ev, H_SETSIZE, num);
181 return history(el->el_history.ref, &ev, H_SETUNIQUE, num);
187 * Enlarge history buffer to specified value. Called from el_enlargebufs().
/freebsd-10.0-release/contrib/libreadline/examples/
H A Dreadlinebuf.h36 #include <readline/history.h>
130 readlinebuf( const char* prompt = NULL, bool history = true )
131 : prompt_( prompt ), history_( history ),
H A Drltest.c10 reading lines of text with interactive input and history editing.
42 # include "history.h"
45 # include <readline/history.h>
H A Drl.c11 reading lines of text with interactive input and history editing.
44 # include "history.h"
48 # include <readline/history.h>
H A Dhistexamp.c4 reading lines of text with interactive input and history editing.
24 # include "history.h"
26 # include <readline/history.h>
44 printf ("history$ ");
H A Drlcat.c10 reading lines of text with interactive input and history editing.
55 # include "history.h"
58 # include <readline/history.h>
/freebsd-10.0-release/sys/contrib/ia64/libuwx/src/
H A Duwx_env.c58 env->history.special[i] = UWX_DISP_REG(i);;
60 env->history.gr[i] = UWX_DISP_REG(UWX_REG_GR(4+i));
62 env->history.br[i] = UWX_DISP_REG(UWX_REG_BR(1+i));
64 env->history.fr[i] = UWX_DISP_REG(UWX_REG_FR(2+i));
66 env->history.fr[i] = UWX_DISP_REG(UWX_REG_FR(12+i));
H A Duwx_step.c281 env->history.special[UWX_REG_PSP] = hist;
291 env->history.special[UWX_REG_RP] = hist;
301 env->history.special[UWX_REG_PFS] = hist;
526 env->history.special[UWX_REG_PRIUNAT] = hist;
544 env->history.gr[i] = hist;
561 env->history.br[i] = hist;
578 env->history.fr[i] = hist;
592 env->history.special[UWX_REG_PREDS] = hist;
601 env->history.special[UWX_REG_AR_RNAT] = hist;
610 env->history
[all...]
H A Duwx_env.h88 struct uwx_history history; member in struct:uwx_env
H A Duwx_context.c219 *dispp = env->history.special[regid];
222 *dispp = env->history.gr[regid - UWX_REG_GR(4)];
234 *dispp = env->history.br[regid - UWX_REG_BR(1)];
236 *dispp = env->history.fr[regid - UWX_REG_FR(2)];
238 *dispp = env->history.fr[regid - UWX_REG_FR(16) + 4];
/freebsd-10.0-release/sys/netgraph/
H A Dng_mppc.c112 #define MPPC_FLAG_RESTART 0x4000 /* compress history restart */
130 u_char flushed; /* clean history (xmit only) */
132 u_char *history; /* compression history */ member in struct:ng_mppc_dir
292 if (d->history != NULL) {
293 free(d->history, M_NETGRAPH_MPPC);
294 d->history = NULL;
297 d->history = malloc(isComp ?
301 if (d->history == NULL)
304 MPPC_InitCompressionHistory(d->history);
[all...]
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_repos/
H A Drev_hunt.c200 svn_fs_history_t *history;
237 SVN_ERR(svn_fs_node_history(&history, root, path, oldpool));
239 /* Now, we loop over the history items, calling svn_fs_history_prev(). */
243 get rid of the old history until we use it to get the new, so
248 SVN_ERR(svn_fs_history_prev(&history, history, cross_copies, newpool));
250 /* Only continue if there is further history to deal with. */
251 if (! history)
254 /* Fetch the location information for this history step. */
256 history, newpoo
199 svn_fs_history_t *history; local
535 svn_fs_history_t *history; local
1142 svn_fs_history_t *history; local
1469 svn_fs_history_t *history; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/tools/driver/
H A DIOChannel.cpp221 ::el_set (m_edit_line, EL_HIST, history, m_history);
236 ::history (m_history, &m_history_event, H_SETSIZE, 800);
237 ::history (m_history, &m_history_event, H_SETUNIQUE, 1);
238 // Load history
263 // Save history
287 ::snprintf (history_path, sizeof(history_path), "~/.%s-history", SBHostOS::GetProgramFileSpec().GetFilename());
292 ::history (m_history, &m_history_event, H_SAVE, path_ptr);
294 ::history (m_history, &m_history_event, H_LOAD, path_ptr);
359 ::history (m_history, &m_history_event, H_ENTER, line);
/freebsd-10.0-release/usr.sbin/gstat/
H A Dgstat.c182 history(hist, &hist_ev, H_SETSIZE, 100);
188 el_set(el, EL_HIST, history, hist);
191 history(hist, &hist_ev, H_ENTER, f_s);
384 history(hist, &hist_ev, H_ENTER, line);
/freebsd-10.0-release/usr.sbin/lpr/lpc/
H A Dlpc.c166 history(hist, &he, H_SETSIZE, 100);
167 el_set(el, EL_HIST, history, hist);
188 history(hist, &he, H_ENTER, bp);

Completed in 153 milliseconds

123