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

123

/freebsd-11-stable/sys/net/
H A Dmppc.h56 extern void MPPC_InitCompressionHistory(char *history);
57 extern void MPPC_InitDecompressionHistory(char *history);
59 extern int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef);
60 extern int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags);
H A Dmppcd.c98 void MPPC_InitDecompressionHistory(char *history) argument
100 struct MPPC_decomp_state *state = (struct MPPC_decomp_state*)history;
102 bzero(history, sizeof(struct MPPC_decomp_state));
106 int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags) argument
108 struct MPPC_decomp_state *state = (struct MPPC_decomp_state*)history;
127 /* Copy uncompressed byte to the history. */
142 /* Copy uncompressed byte to the history. */
246 /* Copy uncompressed bytes to the history. */
H A Dmppcc.c138 void MPPC_InitCompressionHistory(char *history) argument
140 struct MPPC_comp_state *state = (struct MPPC_comp_state*)history;
142 bzero(history, sizeof(struct MPPC_comp_state));
146 int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef) argument
148 struct MPPC_comp_state *state = (struct MPPC_comp_state*)history;
174 /* check if there is enough room at the end of the history */
180 /* Add packet to the history. */
197 p -= MPPE_HIST_LEN; /* Try previous history buffer. */
286 /* If result is bigger then original, set flag and flush history. */
290 bzero(history, sizeo
[all...]
/freebsd-11-stable/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-11-stable/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:__anon4451
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.c55 memzero(coder->history, LZMA_DELTA_DIST_MAX);
/freebsd-11-stable/lib/libedit/TEST/
H A Dtc1.c142 hist = history_init(); /* Init the builtin history */
144 history(hist, &ev, H_SETSIZE, 100);
155 /* Tell editline to use this history interface */
156 el_set(el, EL_HIST, history, hist);
166 * of previous and next history.
216 * moved around in history.
218 if (history(hist, &ev, H_SET, lastevent) == -1)
220 history(hist, &ev, H_ADD , buf);
222 history(hist, &ev, H_ENTER, buf);
227 history(his
[all...]
/freebsd-11-stable/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);
173 history(hist, &he, H_SETSIZE, histsize);
174 history(hist, &he, H_SETUNIQUE, 1);
205 error("history not active");
208 error("missing history argumen
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_lineedit.c20 # 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-11-stable/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-11-stable/lib/libedit/
H A Dreadline.c191 * generic function for moving around history
199 if (history(h, &ev, op) != 0)
249 len = strlen(p->pw_dir) + sizeof("/.history");
253 (void)snprintf(path, len, "%s/.history", p->pw_dir);
320 history(h, &ev, H_SETSIZE, INT_MAX); /* unlimited */
323 el_set(e, EL_HIST, history, h);
469 history(h, &ev, H_GETSIZE);
476 * history functions
481 * history expansion functions
557 if (history(
[all...]
H A Dhistedit.h39 * histedit.h: Line editor and history interface.
189 typedef struct history History;
202 int history(History *, HistEvent *, int, ...);
/freebsd-11-stable/sys/netgraph/
H A Dng_mppc.c126 #define MPPC_FLAG_RESTART 0x4000 /* compress history restart */
144 u_char flushed; /* clean history (xmit only) */
146 u_char *history; /* compression history */ member in struct:ng_mppc_dir
306 if (d->history != NULL) {
307 free(d->history, M_NETGRAPH_MPPC);
308 d->history = NULL;
311 d->history = malloc(isComp ?
315 if (d->history == NULL)
318 MPPC_InitCompressionHistory(d->history);
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_delta/
H A Dbranch.c72 /* Merge history for this branch state. */
73 svn_branch__history_t *history; member in struct:svn_branch__state_priv_t
842 svn_branch__history_t *history local
845 return history;
852 svn_branch__history_t *history local
853 = apr_pcalloc(result_pool, sizeof(*history));
855 history->parents = apr_hash_make(result_pool);
866 svn_hash_sets(history->parents,
871 return history;
878 svn_branch__history_t *history local
1043 branch_state_set_history(svn_branch__state_t *branch, const svn_branch__history_t *history, apr_pool_t *scratch_pool) argument
1290 svn_branch__state_set_history(svn_branch__state_t *branch, const svn_branch__history_t *history, apr_pool_t *scratch_pool) argument
1407 svn_branch__history_t *history local
1625 history_serialize(svn_stream_t *stream, svn_branch__history_t *history, apr_pool_t *scratch_pool) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Drev_hunt.c200 svn_fs_history_t *history;
237 SVN_ERR(svn_fs_node_history2(&history, root, path, oldpool, 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_prev2(&history, history, cross_copies, newpool,
251 /* Only continue if there is further history to deal with. */
252 if (! history)
255 /* Fetch the location information for this history step. */
257 history, newpoo
199 svn_fs_history_t *history; local
522 svn_fs_history_t *history; local
1125 svn_fs_history_t *history; local
1496 svn_fs_history_t *history; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp26 sys::path::append(Path, "." + ProgName + "-history");
216 ::el_set(Data->EL, EL_HIST, history, Data->Hist);
229 ::history(Data->Hist, &HE, H_SETSIZE, 800);
230 ::history(Data->Hist, &HE, H_SETUNIQUE, 1);
245 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str());
252 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str());
272 ::history(Data->Hist, &HE, H_ENTER, Line);
/freebsd-11-stable/usr.sbin/gstat/
H A Dgstat.c183 history(hist, &hist_ev, H_SETSIZE, 100);
189 el_set(el, EL_HIST, history, hist);
192 history(hist, &hist_ev, H_ENTER, f_s);
441 history(hist, &hist_ev, H_ENTER, line);
/freebsd-11-stable/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);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dedit_readline.c2 * Command line editing and history wrapper for readline
11 #include <readline/history.h>
159 /* Save command history, excluding lines that may contain

Completed in 163 milliseconds

123