Home
last modified time | relevance | path

Searched refs:hshift (Results 1 – 11 of 11) 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 Dcommand.c37 extern int hshift;
233 search_incr_hshift = hshift; in mca_search()
667 hshift = search_incr_hshift; in jump_search_incr_pos()
1757 if (wheel_lines > hshift) in commands()
1758 hshift = 0; in commands()
1760 hshift -= wheel_lines; in commands()
1770 hshift += wheel_lines; in commands()
1975 hshift = save_hshift; in commands()
2129 save_hshift = hshift; in commands()
2130 hshift = 0; in commands()
[all …]
H A Dprompt.c26 extern int hshift;
220 return (hshift != 0); in cond()
259 return (hshift + sc_width < pr_longest_line()); in cond()
302 ap_int(hshift+1); in protochar()
305 ap_int(hshift + sc_width); in protochar()
412 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, FALSE, TRUE, p_linepos, p… in forw_line()
485 if (backchars > 0 && !chop_line() && hshift == 0) in back_line()
502 if (chop_line() || hshift > 0) in back_line()
H A Dforwback.c34 extern int hshift;
139 int save_hshift = hshift; in forw_line_pfx()
143 hshift = 0; in forw_line_pfx()
147 hshift = save_hshift; in forw_line_pfx()
H A Dline.c60 public int hshift; /* Desired left-shift of output line buffer */ variable
936 if (cshift == hshift) in store_char()
973 need_shift = (cshift < hshift); in store_char()
1002 while (cshift > hshift) in store_char()
1210 constant char *start = (cshift < hshift) ? xbuf_char_data(&shifted_ansi): linebuf.buf; in remove_ansi()
1211 size_t *end = (cshift < hshift) ? &shifted_ansi.end : &linebuf.end; in remove_ansi()
1664 cp.col = col + hshift - line_pfx_width(); in pos_from_col()
1926 int save_hshift = hshift; in load_line()
1927 hshift = 0; in load_line()
1943 hshift += 1; in load_line()
[all …]
H A Dposition.c28 extern int hshift;
329 hshift = pos_shift(linepos, (size_t) (tpos - linepos)); in pos_rehead()
H A Dsearch.c40 extern int hshift;
329 …forw_line_seg(pos, chop_line() || hshift > 0, TRUE, FALSE, hilite && status_line, FALSE, NULL, NUL… in draw_target_attn()
646 else if (start_col > hshift && end_col < hshift + swidth) in shift_visible()
647 new_hshift = hshift; /* already visible; leave hshift unchanged */ in shift_visible()
656 if (new_hshift != hshift) in shift_visible()
658 hshift = new_hshift; in shift_visible()
H A Ddecode.c39 extern int hshift;
677 if (hshift < x - last_drag_x) in mouse_button_left()
678 hshift = 0; in mouse_button_left()
680 hshift -= x - last_drag_x; in mouse_button_left()
H A Dedit.c30 extern int hshift;
682 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()