/freebsd-13-stable/sys/net/ |
H A D | mppc.h | 56 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 D | mppcd.c | 98 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 D | mppcc.c | 138 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-13-stable/sys/dev/syscons/ |
H A D | schistory.c | 86 /* allocate a history buffer */ 96 sc_vtb_t *history; local 108 /* remove the history buffer while we update it */ 109 history = prev_history = scp->history; 110 scp->history = NULL; 115 cur_lines = sc_vtb_rows(history); 126 scp->history = prev_history; 132 history = (sc_vtb_t *)malloc(sizeof(*history), 191 sc_vtb_t *history; local [all...] |
/freebsd-13-stable/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:__anon6639
|
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 | 55 memzero(coder->history, LZMA_DELTA_DIST_MAX);
|
/freebsd-13-stable/contrib/googletest/googletest/test/ |
H A D | googletest-linked-ptr-test.cc | 41 Message* history = NULL; member in namespace:__anon844 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-13-stable/contrib/libedit/TEST/ |
H A D | tc1.c | 141 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-13-stable/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-13-stable/bin/sh/ |
H A D | histedit.c | 50 * Editline and history functions (and glue). 69 History *hist; /* history cookie */ 82 * Set history and editing status. Called whenever the status may 94 * turn history on 103 out2fmt_flush("sh: can't initialize history\n"); 126 el_set(el, EL_HIST, history, hist); 178 history(hist, &he, H_SETSIZE, histsize); 179 history(hist, &he, H_SETUNIQUE, 1); 210 error("history not active"); 213 error("missing history argumen [all...] |
/freebsd-13-stable/contrib/libedit/ |
H A D | readline.c | 231 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 D | histedit.h | 38 * histedit.h: Line editor and history interface. 188 typedef struct history History; 201 int history(History *, HistEvent *, int, ...);
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_mppc.c | 127 #define MPPC_FLAG_RESTART 0x4000 /* compress history restart */ 145 u_char flushed; /* clean history (xmit only) */ 147 u_char *history; /* compression history */ member in struct:ng_mppc_dir 307 if (d->history != NULL) { 308 free(d->history, M_NETGRAPH_MPPC); 309 d->history = NULL; 312 d->history = malloc(isComp ? 316 if (d->history == NULL) 319 MPPC_InitCompressionHistory(d->history); [all...] |
/freebsd-13-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | branch.c | 72 /* 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-13-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | rev_hunt.c | 200 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-13-stable/contrib/bc/src/ |
H A D | read.c | 52 #include <history.h> 190 if (BC_TTY && !vm.history.badTerm) 191 s = bc_history_line(&vm.history, vec, prompt);
|
H A D | history.c | 141 * 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-13-stable/contrib/llvm-project/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 26 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-13-stable/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 168 history(hist, &he, H_SETSIZE, 100); 169 el_set(el, EL_HIST, history, hist); 190 history(hist, &he, H_ENTER, bp);
|
/freebsd-13-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_branch_impl.h | 173 const svn_branch__history_t *history,
|
/freebsd-13-stable/contrib/wpa/src/utils/ |
H A D | edit_readline.c | 2 * Command line editing and history wrapper for readline 11 #include <readline/history.h> 159 /* Save command history, excluding lines that may contain
|
/freebsd-13-stable/contrib/bc/include/ |
H A D | history.h | 75 * Definitions for line history. 187 /// The history. 188 BcVec history; member in struct:BcHistory 213 /// The history index we are currently editing.
|
/freebsd-13-stable/usr.sbin/gstat/ |
H A D | gstat.c | 194 history(hist, &hist_ev, H_SETSIZE, 100); 200 el_set(el, EL_HIST, history, hist); 203 history(hist, &hist_ev, H_ENTER, f_s); 553 history(hist, &hist_ev, H_ENTER, line);
|