Searched refs:hshift (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/sys/net/ |
H A D | bsd-comp.c | 88 u_char hshift; /* used in hash function */ member 179 #define BSD_HASH(prefix,suffix,hshift) ((((uint32_t)(suffix)) << (hshift)) \ argument 306 u_int newlen, hsize, hshift, maxmaxcode; in bsd_alloc() local 320 hshift = 4; in bsd_alloc() 324 hshift = 5; in bsd_alloc() 328 hshift = 6; in bsd_alloc() 332 hshift = 7; in bsd_alloc() 361 db->hshift = hshift; in bsd_alloc() 459 int hshift = db->hshift; in bsd_compress() local 565 hval = BSD_HASH(ent, c, hshift); in bsd_compress() [all …]
|
/netbsd-src/external/bsd/less/dist/ |
H A D | input.c | 25 extern int hshift; 215 if (backchars > 0 && (nochop || !chop_line()) && hshift == 0) in forw_line_seg() 351 return forw_line_seg(curr_pos, (chop_line() || hshift > 0), TRUE, FALSE); in forw_line() 492 if (backchars > 0 && !chop_line() && hshift == 0) in back_line() 509 if (chop_line() || hshift > 0) in back_line()
|
H A D | forwback.c | 31 extern int hshift; 134 int save_hshift = hshift; in forw_line_pfx() 138 hshift = 0; in forw_line_pfx() 142 hshift = save_hshift; in forw_line_pfx()
|
H A D | command.c | 40 extern int hshift; 1631 hshift = save_hshift; in commands() 1738 save_hshift = hshift; in commands() 1739 hshift = 0; in commands() 2049 if (number > hshift) in commands() 2050 number = hshift; in commands() 2051 hshift -= number; in commands() 2064 hshift += number; in commands() 2072 hshift = 0; in commands() 2080 hshift = rrshift(); in commands()
|
H A D | line.c | 61 public int hshift; /* Desired left-shift of output line buffer */ variable 767 if (cshift == hshift) in store_char() 785 if (cshift < hshift) in store_char() 806 while (cshift > hshift) in store_char() 1010 char *start = (cshift < hshift) ? xbuf_char_data(&shifted_ansi): linebuf.buf; in store_ansi() 1011 int *end = (cshift < hshift) ? &shifted_ansi.end : &linebuf.end; in store_ansi() 1499 int save_hshift = hshift; in load_line() 1501 hshift = 0; in load_line() 1512 hshift += 1; in load_line() 1515 hshift = save_hshift; in load_line()
|
H A D | prompt.c | 30 extern int hshift; 181 return (hshift != 0); in cond() 257 ap_int(hshift); in protochar()
|
H A D | search.c | 42 extern int hshift; 1390 int save_hshift = hshift; in search_range() 1393 hshift = 0; /* make get_seg count screen lines */ in search_range() 1398 hshift = save_hshift; in search_range() 1401 hshift = sshift; in search_range()
|
H A D | edit.c | 33 extern int hshift; 667 hshift = 0; in edit_ifile()
|
/netbsd-src/usr.bin/compress/ |
H A D | zopen.c | 166 #define hshift zs->u.w.zs_hshift macro 276 hshift = 0; in zwrite() 278 hshift++; in zwrite() 279 hshift = 8 - hshift; /* Set hash code range bound. */ in zwrite() 288 i = ((c << hshift) ^ ent); /* Xor hashing. */ in zwrite()
|
/netbsd-src/common/lib/libc/gen/ |
H A D | radixtree.c | 506 int hshift = RADIX_TREE_BITS_PER_HEIGHT * t->t_height; in radix_tree_lookup_ptr() local 528 if (shift >= hshift) { in radix_tree_lookup_ptr() 548 hshift = RADIX_TREE_BITS_PER_HEIGHT * t->t_height; in radix_tree_lookup_ptr()
|