/freebsd-10.2-release/sys/dev/syscons/ |
H A D | schistory.c | 85 /* 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.2-release/contrib/xz/src/liblzma/delta/ |
H A D | delta_private.h | 25 /// 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 D | delta_encoder.c | 27 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 D | delta_decoder.c | 23 buffer[i] += coder->history[(distance + coder->pos) & 0xFF]; 24 coder->history[coder->pos-- & 0xFF] = buffer[i];
|
H A D | delta_common.c | 51 memzero(next->coder->history, LZMA_DELTA_DIST_MAX);
|
/freebsd-10.2-release/lib/libedit/TEST/ |
H A D | tc1.c | 135 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.2-release/bin/sh/ |
H A D | histedit.c | 48 * 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.2-release/contrib/ntp/libntp/ |
H A D | ntp_lineedit.c | 20 # include <readline/history.h> 108 history(ntp_hist, &hev, H_SETSIZE, 128); 110 el_set(ntp_el, EL_HIST, history, 191 history(ntp_hist, &hev, H_ENTER, cline);
|
/freebsd-10.2-release/lib/libedit/ |
H A D | readline.c | 186 * 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 D | histedit.h | 38 * histedit.h: Line editor and history interface. 169 typedef struct history History; 182 int history(History *, HistEvent *, int, ...);
|
H A D | hist.c | 67 * 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.2-release/contrib/libreadline/examples/ |
H A D | readlinebuf.h | 36 #include <readline/history.h> 130 readlinebuf( const char* prompt = NULL, bool history = true ) 131 : prompt_( prompt ), history_( history ),
|
H A D | rltest.c | 10 reading lines of text with interactive input and history editing. 42 # include "history.h" 45 # include <readline/history.h>
|
H A D | rl.c | 11 reading lines of text with interactive input and history editing. 44 # include "history.h" 48 # include <readline/history.h>
|
H A D | histexamp.c | 4 reading lines of text with interactive input and history editing. 24 # include "history.h" 26 # include <readline/history.h> 44 printf ("history$ ");
|
H A D | rlcat.c | 10 reading lines of text with interactive input and history editing. 55 # include "history.h" 58 # include <readline/history.h>
|
/freebsd-10.2-release/sys/netgraph/ |
H A D | ng_mppc.c | 130 #define MPPC_FLAG_RESTART 0x4000 /* compress history restart */ 148 u_char flushed; /* clean history (xmit only) */ 150 u_char *history; /* compression history */ member in struct:ng_mppc_dir 310 if (d->history != NULL) { 311 free(d->history, M_NETGRAPH_MPPC); 312 d->history = NULL; 315 d->history = malloc(isComp ? 319 if (d->history == NULL) 322 MPPC_InitCompressionHistory(d->history); [all...] |
/freebsd-10.2-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_env.c | 58 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 D | uwx_step.c | 281 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 D | uwx_env.h | 88 struct uwx_history history; member in struct:uwx_env
|
H A D | uwx_context.c | 219 *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.2-release/contrib/subversion/subversion/libsvn_repos/ |
H A D | rev_hunt.c | 200 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.2-release/contrib/llvm/tools/lldb/source/Host/common/ |
H A D | Editline.cpp | 81 ::el_set (m_editline, EL_HIST, history, m_history); 97 ::history (m_history, &m_history_event, H_SETSIZE, 800); 98 ::history (m_history, &m_history_event, H_SETUNIQUE, 1); 139 ::snprintf (history_path, sizeof(history_path), "~/.%s-history", m_program.c_str()); 150 ::history (m_history, &m_history_event, H_LOAD, history_file.GetPath().c_str()); 162 ::history (m_history, &m_history_event, H_SAVE, history_path.c_str()); 209 // we want to add the history item with the newlines 211 ::history (m_history, &m_history_event, H_ENTER, line_cstr); 233 // mode where up and down arrows do prev/next history 234 ::el_set (m_editline, EL_BIND, "^[[A", "ed-prev-history", NUL [all...] |
/freebsd-10.2-release/usr.sbin/gstat/ |
H A D | gstat.c | 188 history(hist, &hist_ev, H_SETSIZE, 100); 194 el_set(el, EL_HIST, history, hist); 197 history(hist, &hist_ev, H_ENTER, f_s); 408 history(hist, &hist_ev, H_ENTER, line);
|
/freebsd-10.2-release/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 166 history(hist, &he, H_SETSIZE, 100); 167 el_set(el, EL_HIST, history, hist); 188 history(hist, &he, H_ENTER, bp);
|