Home
last modified time | relevance | path

Searched refs:hshift (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/libecc/src/nn/
H A Dnn_logical.c42 bitcnt_t lshift, hshift; in nn_lshift_fixedlen() local
51 hshift = cnt % WORD_BITS; in nn_lshift_fixedlen()
52 lshift = (bitcnt_t)(WORD_BITS - hshift); in nn_lshift_fixedlen()
64 hipart = WLSHIFT(in->val[ipos], hshift); in nn_lshift_fixedlen()
96 bitcnt_t lshift, hshift, blen; in nn_lshift() local
115 hshift = cnt % WORD_BITS; in nn_lshift()
116 lshift = (bitcnt_t)(WORD_BITS - hshift); in nn_lshift()
128 hipart = WLSHIFT(in->val[ipos], hshift); in nn_lshift()
160 bitcnt_t lshift, hshift; in nn_rshift_fixedlen() local
170 hshift = (bitcnt_t)(WORD_BITS - lshift); in nn_rshift_fixedlen()
[all …]
/freebsd/contrib/less/
H A Dprompt.c26 extern int hshift;
218 return (hshift != 0); in cond()
251 return (hshift + sc_width < pr_longest_line()); in cond()
294 ap_int(hshift+1); in protochar()
297 ap_int(hshift + sc_width); in protochar()
397 ap_int(percentage(hshift + sc_width, pr_longest_line())); in protochar()
H A Dinput.c23 extern int hshift;
215 if (backchars > 0 && (nochop || !chop_line()) && hshift == 0) in forw_line_seg()
348 return forw_line_seg(curr_pos, (chop_line() || hshift > 0), TRUE, FALSE, p_linepos, p_newline); in forw_line()
483 if (backchars > 0 && !chop_line() && hshift == 0) in back_line()
500 if (chop_line() || hshift > 0) in back_line()
H A Dforwback.c34 extern int hshift;
138 int save_hshift = hshift; in forw_line_pfx()
142 hshift = 0; in forw_line_pfx()
146 hshift = save_hshift; in forw_line_pfx()
H A Dcommand.c36 extern int hshift;
221 search_incr_hshift = hshift; in mca_search()
651 hshift = search_incr_hshift; in jump_search_incr_pos()
1823 hshift = save_hshift; in commands()
1976 save_hshift = hshift; in commands()
1977 hshift = 0; in commands()
2300 if (number > hshift) in commands()
2301 number = hshift; in commands()
2303 hshift -= (int) number; in commands()
2317 hshift += (int) number; in commands()
[all …]
H A Dposition.c28 extern int hshift;
307 hshift = pos_shift(linepos, (size_t) (tpos - linepos)); in pos_rehead()
H A Dline.c61 public int hshift; /* Desired left-shift of output line buffer */ variable
926 if (cshift == hshift) in store_char()
963 need_shift = (cshift < hshift); in store_char()
992 while (cshift > hshift) in store_char()
1220 constant char *start = (cshift < hshift) ? xbuf_char_data(&shifted_ansi): linebuf.buf; in store_ansi()
1221 size_t *end = (cshift < hshift) ? &shifted_ansi.end : &linebuf.end; in store_ansi()
1624 cp.col = col + hshift - line_pfx_width(); in pos_from_col()
1886 int save_hshift = hshift; in load_line()
1887 hshift = 0; in load_line()
1902 hshift += 1; in load_line()
[all …]
H A Dsearch.c38 extern int hshift;
609 else if (start_col > hshift && end_col < hshift + swidth) in shift_visible()
610 new_hshift = hshift; /* already visible; leave hshift unchanged */ in shift_visible()
619 if (new_hshift != hshift) in shift_visible()
621 hshift = new_hshift; in shift_visible()
H A Dedit.c30 extern int hshift;
662 hshift = 0; in edit_ifile()
/freebsd/usr.bin/compress/
H A Dzopen.c162 #define hshift zs->u.w.zs_hshift macro
272 hshift = 0; in zwrite()
274 hshift++; in zwrite()
275 hshift = 8 - hshift; /* Set hash code range bound. */ in zwrite()
284 i = ((c << hshift) ^ ent); /* Xor hashing. */ in zwrite()