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

123

/freebsd-12-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-12-stable/sys/dev/syscons/
H A Dschistory.c87 /* allocate a history buffer */
97 sc_vtb_t *history; local
109 /* remove the history buffer while we update it */
110 history = prev_history = scp->history;
111 scp->history = NULL;
116 cur_lines = sc_vtb_rows(history);
127 scp->history = prev_history;
133 history = (sc_vtb_t *)malloc(sizeof(*history),
192 sc_vtb_t *history; local
[all...]
/freebsd-12-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:__anon7598
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-12-stable/contrib/googletest/googletest/test/
H A Dgoogletest-linked-ptr-test.cc41 Message* history = NULL; member in namespace:__anon1919
46 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; }
47 virtual ~A() { *history << "A" << mynum << " dtor\n"; }
48 virtual void Use() { *history << "A" << mynum << " use\n"; }
56 B() { *history << "B" << mynum << " ctor\n"; }
57 ~B() { *history << "B" << mynum << " dtor\n"; }
58 virtual void Use() { *history << "B" << mynum << " use\n"; }
65 history = new Message;
69 delete history;
70 history
[all...]
/freebsd-12-stable/contrib/libedit/TEST/
H A Dtc1.c141 hist = history_init(); /* Init the builtin history */
143 history(hist, &ev, H_SETSIZE, 100);
154 /* Tell editline to use this history interface */
155 el_set(el, EL_HIST, history, hist);
165 * of previous and next history.
215 * moved around in history.
217 if (history(hist, &ev, H_SET, lastevent) == -1)
219 history(hist, &ev, H_ADD , buf);
221 history(hist, &ev, H_ENTER, buf);
226 history(his
[all...]
/freebsd-12-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);
175 history(hist, &he, H_SETSIZE, histsize);
176 history(hist, &he, H_SETUNIQUE, 1);
207 error("history not active");
210 error("missing history argumen
[all...]
/freebsd-12-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-12-stable/contrib/libedit/
H A Dreadline.c231 len = strlen(p->pw_dir) + sizeof("/.history");
235 (void)snprintf(path, len, "%s/.history", p->pw_dir);
310 history(h, &ev, H_SETSIZE, INT_MAX); /* unlimited */
313 el_set(e, EL_HIST, history, h);
465 history(h, &ev, H_GETSIZE);
474 * history functions
479 * history expansion functions
556 if (history(h, &ev, H_FIRST) != 0)
613 if (history(h, &ev, H_CURR) != 0) {
632 history(
[all...]
H A Dhistedit.h38 * histedit.h: Line editor and history interface.
188 typedef struct history History;
201 int history(History *, HistEvent *, int, ...);
/freebsd-12-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-12-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-12-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-12-stable/contrib/bc/src/
H A Dread.c52 #include <history.h>
190 if (BC_TTY && !vm.history.badTerm)
191 s = bc_history_line(&vm.history, vec, prompt);
H A Dhistory.c141 * Code for line history.
164 #include <history.h>
803 * Substitute the currently edited line with the next or previous history
810 if (h->history.len <= 1) return;
817 // Update the current history entry before
819 bc_vec_replaceAt(&h->history, h->history.len - 1 - h->idx, &dup);
830 else if (h->idx >= h->history.len) {
831 h->idx = h->history.len - 1;
835 str = *((char**) bc_vec_item(&h->history,
[all...]
/freebsd-12-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-12-stable/usr.sbin/lpr/lpc/
H A Dlpc.c168 history(hist, &he, H_SETSIZE, 100);
169 el_set(el, EL_HIST, history, hist);
190 history(hist, &he, H_ENTER, bp);
/freebsd-12-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
/freebsd-12-stable/contrib/bc/include/
H A Dhistory.h75 * Definitions for line history.
186 /// The history.
187 BcVec history; member in struct:BcHistory
212 /// The history index we are currently editing.
/freebsd-12-stable/contrib/subversion/subversion/include/private/
H A Dsvn_branch_impl.h173 const svn_branch__history_t *history,
/freebsd-12-stable/usr.sbin/gstat/
H A Dgstat.c194 history(hist, &hist_ev, H_SETSIZE, 100);
200 el_set(el, EL_HIST, history, hist);
203 history(hist, &hist_ev, H_ENTER, f_s);
552 history(hist, &hist_ev, H_ENTER, line);

Completed in 243 milliseconds

123