/netbsd/external/gpl3/gcc/dist/libquadmath/printf/ |
H A D | mul_n.c | 163 MPN_MUL_N_RECURSE (prodp + size, up + hsize, vp + hsize, hsize, tspace); 167 if (mpn_cmp (up + hsize, up, hsize) >= 0) 169 mpn_sub_n (prodp, up + hsize, up, hsize); 174 mpn_sub_n (prodp, up, up + hsize, hsize); 177 if (mpn_cmp (vp + hsize, vp, hsize) >= 0) 179 mpn_sub_n (prodp + hsize, vp + hsize, vp, hsize); 184 mpn_sub_n (prodp + hsize, vp, vp + hsize, hsize); 193 MPN_COPY (prodp + hsize, prodp + size, hsize); 198 cy -= mpn_sub_n (prodp + hsize, prodp + hsize, tspace, size); 213 mpn_add_1 (prodp + hsize + size, prodp + hsize + size, hsize, cy); [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libquadmath/printf/ |
H A D | mul_n.c | 163 MPN_MUL_N_RECURSE (prodp + size, up + hsize, vp + hsize, hsize, tspace); 167 if (mpn_cmp (up + hsize, up, hsize) >= 0) 169 mpn_sub_n (prodp, up + hsize, up, hsize); 174 mpn_sub_n (prodp, up, up + hsize, hsize); 177 if (mpn_cmp (vp + hsize, vp, hsize) >= 0) 179 mpn_sub_n (prodp + hsize, vp + hsize, vp, hsize); 184 mpn_sub_n (prodp + hsize, vp, vp + hsize, hsize); 193 MPN_COPY (prodp + hsize, prodp + size, hsize); 198 cy -= mpn_sub_n (prodp + hsize, prodp + hsize, tspace, size); 213 mpn_add_1 (prodp + hsize + size, prodp + hsize + size, hsize, cy); [all …]
|
/netbsd/lib/libusbhid/ |
H A D | data.c | 41 unsigned int hsize; in hid_get_data() local 50 hsize = h->report_size; /* bit length of data */ in hid_get_data() 52 if (hsize == 0) in hid_get_data() 55 end = (hpos + hsize + 7) / 8 - offs; in hid_get_data() 60 if (hsize < 32) { in hid_get_data() 61 data &= (1 << hsize) - 1; in hid_get_data() 64 data |= 0xffffffff & ~((1<<hsize)-1); in hid_get_data() 75 unsigned int hsize; in hid_set_data() local 85 if (hsize != 32) { in hid_set_data() 86 mask = (1 << hsize) - 1; in hid_set_data() [all …]
|
/netbsd/external/bsd/tmux/dist/ |
H A D | cmd-capture-pane.c | 138 top = gd->hsize; in cmd_capture_pane_history() 140 } else if (n < 0 && (u_int) -n > gd->hsize) in cmd_capture_pane_history() 143 top = gd->hsize + n; in cmd_capture_pane_history() 144 if (top > gd->hsize + gd->sy - 1) in cmd_capture_pane_history() 145 top = gd->hsize + gd->sy - 1; in cmd_capture_pane_history() 150 bottom = gd->hsize + gd->sy - 1; in cmd_capture_pane_history() 154 bottom = gd->hsize + gd->sy - 1; in cmd_capture_pane_history() 156 } else if (n < 0 && (u_int) -n > gd->hsize) in cmd_capture_pane_history() 159 bottom = gd->hsize + n; in cmd_capture_pane_history() 160 if (bottom > gd->hsize + gd->sy - 1) in cmd_capture_pane_history() [all …]
|
H A D | grid.c | 286 gd->hsize = 0; in grid_create() 353 if (gd->hsize == 0 || gd->hsize < gd->hlimit) in grid_collect_history() 359 if (ny > gd->hsize) in grid_collect_history() 360 ny = gd->hsize; in grid_collect_history() 368 gd->hsize -= ny; in grid_collect_history() 379 if (ny > gd->hsize) in grid_remove_history() 383 gd->hsize -= ny; in grid_remove_history() 395 yy = gd->hsize + gd->sy; in grid_scroll_history() 402 gd->hsize++; in grid_scroll_history() 412 gd->hsize = 0; in grid_clear_history() [all …]
|
H A D | window-copy.c | 855 if (cy < gd->hsize) { in window_copy_resize() 857 data->oy = gd->hsize - cy; in window_copy_resize() 859 data->cy = cy - gd->hsize; in window_copy_resize() 2951 if (py >= gd->hsize - data->oy && py < gd->hsize - data->oy + gd->sy) in window_copy_scroll_to() 2959 offset = gd->hsize; in window_copy_scroll_to() 4126 hsize); in window_copy_write_line() 4863 data->oy = hsize - sely; in window_copy_other_end() 5174 u_int px, py, hsize; in window_copy_cursor_next_word_end_pos() local 5231 u_int px, py, hsize; in window_copy_cursor_previous_word_pos() local 5529 yy = hsize - oy; in window_copy_acquire_cursor_up() [all …]
|
H A D | screen.c | 117 grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy, 8); in screen_reinit() 260 u_int cx = s->cx, cy = s->grid->hsize + s->cy; in screen_resize_cursor() 286 if (cy >= s->grid->hsize) { in screen_resize_cursor() 288 s->cy = cy - s->grid->hsize; in screen_resize_cursor() 353 gd->hsize += needed; in screen_resize_y() 363 grid_adjust_lines(gd, gd->hsize + sy); in screen_resize_y() 378 gd->hsize -= available; in screen_resize_y() 384 for (i = gd->hsize + sy - needed; i < gd->hsize + sy; i++) in screen_resize_y() 571 *cy = s->grid->hsize; in screen_reflow()
|
H A D | grid-reader.c | 58 if (wrap && gr->cx >= px && gr->cy < gr->gd->hsize + gr->gd->sy - 1) { in grid_reader_cursor_right() 99 if (gr->cy < gr->gd->hsize + gr->gd->sy - 1) in grid_reader_cursor_down() 145 yy = gr->gd->hsize + gr->gd->sy - 1; in grid_reader_cursor_end_of_line() 202 yy = gr->gd->hsize + gr->gd->sy - 1; in grid_reader_cursor_next_word() 247 yy = gr->gd->hsize + gr->gd->sy - 1; in grid_reader_cursor_next_word_end() 349 yy = gr->gd->hsize + gr->gd->sy - 1; in grid_reader_cursor_jump() 409 yy = gr->gd->hsize + gr->gd->sy - 1; in grid_reader_cursor_back_to_indentation()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | mdtest.c | 54 size_t hsize; member 245 unsigned char *res = malloc(hash->hsize); in hash_test() 272 if (memcmp (res, t->hash, hash->hsize) != 0) { in hash_test() 277 for(i = 0; i < hash->hsize; ++i) { in hash_test() 283 for(i = 0; i < hash->hsize; ++i) { in hash_test() 295 if (hash->hsize != esize) { in hash_test() 300 if (memcmp (res, t->hash, hash->hsize) != 0) { in hash_test()
|
/netbsd/bin/ksh/ |
H A D | history.c | 46 static int hsize; variable 585 hsize = 0; 863 if (hsize == 0) { 870 else if (hsize > 0) { 885 if (hsize > 2) { 897 munmap((caddr_t)base, hsize); 1117 if (sizenow != hsize) { 1121 if (sizenow > hsize) { 1123 bytes = sizenow - hsize; 1127 new = base + hsize; [all …]
|
/netbsd/crypto/external/bsd/libsaslc/dist/test/hash_tests/ |
H A D | test_hash.c | 75 hash(const char *cp, size_t hsize, size_t hinit, size_t shift) in hash() argument 84 return hval % hsize; in hash() 88 no_collision(size_t hsize, size_t hinit, size_t shift) in no_collision() argument 93 used = calloc(sizeof(*used), hsize); in no_collision() 97 hval = hash(keys[i], hsize, hinit, shift); in no_collision() 105 for (i = 0; i < hsize; i++) { in no_collision()
|
/netbsd/external/bsd/tcpdump/dist/ |
H A D | print-tipc.c | 168 u_int hsize; in print_payload() local 183 hsize = TIPC_HSIZE(w0); in print_payload() 190 if (hsize <= 6) { in print_payload() 195 hsize*4, msize, in print_payload() 208 hsize*4, msize, in print_payload() 234 u_int hsize; in print_internal() local 254 hsize = TIPC_HSIZE(w0); in print_internal() 264 hsize*4, msize, in print_internal() 302 u_int hsize; in print_link_conf() local 314 hsize = TIPC_HSIZE(w0); in print_link_conf() [all …]
|
/netbsd/external/bsd/ppp/dist/pppdump/ |
H A D | bsd-comp.c | 300 u_int newlen, hsize, hshift, maxmaxcode; in bsd_alloc() local 313 hsize = 5003; in bsd_alloc() 317 hsize = 9001; in bsd_alloc() 321 hsize = 18013; in bsd_alloc() 325 hsize = 35023; in bsd_alloc() 354 db->hsize = hsize; in bsd_alloc() 399 i = db->hsize; in bsd_init() 478 if (hval >= db->hsize) in bsd_incomp() 479 hval -= db->hsize; in bsd_incomp() 700 if (hval >= db->hsize) in bsd_decompress() [all …]
|
/netbsd/sys/dev/hid/ |
H A D | hid.c | 447 u_int hsize = loc->size; in hid_get_data() local 450 if (hsize == 0) in hid_get_data() 454 if (data < (1UL << (hsize - 1)) || hsize == sizeof(data) * NBBY) in hid_get_data() 456 return data - (1UL << hsize); in hid_get_data() 463 u_int hsize = loc->size; in hid_get_udata() local 467 if (hsize == 0) in hid_get_udata() 472 num = (hpos + hsize + 7) / 8 - off; in hid_get_udata() 478 if (hsize < sizeof(data) * NBBY) in hid_get_udata() 479 data &= (1UL << hsize) - 1; in hid_get_udata() 481 DPRINTFN(10,("hid_get_udata: loc %d/%d = %lu\n", hpos, hsize, data)); in hid_get_udata()
|
/netbsd/sys/ufs/lfs/ |
H A D | ulfs_quota2.h | 102 #define off2qindex(hsize, off) (((off) - (hsize)) / sizeof(struct quota2_entry)) argument 103 #define qindex2off(hsize, idx) \ argument 104 ((daddr_t)(idx) * sizeof(struct quota2_entry) + (hsize))
|
/netbsd/sys/ufs/ufs/ |
H A D | quota2.h | 100 #define off2qindex(hsize, off) (((off) - (hsize)) / sizeof(struct quota2_entry)) argument 101 #define qindex2off(hsize, idx) \ argument 102 ((daddr_t)(idx) * sizeof(struct quota2_entry) + (hsize))
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | data_pckts.h | 302 uint32_t hsize; /* header size */ member 319 unsigned int hsize; /* size of this info */ member 326 unsigned int hsize; member 333 unsigned int hsize; member 340 unsigned int hsize; member 348 unsigned int hsize; member 412 unsigned int hsize; member
|
/netbsd/sys/net/ |
H A D | bsd-comp.c | 319 hsize = 5003; in bsd_alloc() 323 hsize = 9001; in bsd_alloc() 327 hsize = 18013; in bsd_alloc() 331 hsize = 35023; in bsd_alloc() 360 db->hsize = hsize; in bsd_alloc() 411 i = db->hsize; in bsd_init() 580 if (hval >= db->hsize) in bsd_compress() 581 hval -= db->hsize; in bsd_compress() 726 if (hval >= db->hsize) in bsd_incomp() 727 hval -= db->hsize; in bsd_incomp() [all …]
|
/netbsd/external/gpl2/groff/dist/src/devices/grolj4/ |
H A D | lj4.cpp | 357 int hsize = p[0]; in draw() local 359 if (hsize < 0) { in draw() 360 hpos += hsize; in draw() 361 hsize = -hsize; in draw() 369 printf("\033*c%da%db0P", hsize, vsize); in draw()
|
/netbsd/external/mpl/dhcp/dist/omapip/ |
H A D | hash.c | 220 unsigned hsize, in new_hash() argument 224 if (hsize == 0) in new_hash() 225 hsize = DEFAULT_HASH_SIZE; in new_hash() 227 if (!new_hash_table (rp, hsize, file, line)) in new_hash() 230 memset ((*rp)->buckets, 0, hsize * sizeof(struct hash_bucket *)); in new_hash()
|
/netbsd/usr.bin/compress/ |
H A D | zopen.c | 152 #define hsize zs->zs_hsize macro 277 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L) in zwrite() 281 hsize_reg = hsize; in zwrite() 644 memset(htab, 0xff, hsize * sizeof(count_int)); in cl_block() 669 hsize = HSIZE; /* For dynamic table sizing. */ in zopen()
|
/netbsd/sys/arch/powerpc/stand/mkbootimage/ |
H A D | mkbootimage.c | 600 int hsize = BEBOX_HEADER_SIZE; in bebox_write_header() local 670 lseek(bebox_fd, ldrOffset + hsize, SEEK_SET); in bebox_write_header() 676 lseek(bebox_fd, dataOffset + hsize, SEEK_SET); in bebox_write_header() 686 int i, ch, tmp, kgzlen, err, hsize = BEBOX_HEADER_SIZE; in bebox_build_image() local 728 lseek(bebox_fd, hsize, SEEK_SET); in bebox_build_image() 784 lseek(bebox_fd, hsize, SEEK_SET); in bebox_build_image() 794 lseek(bebox_fd, toff + hsize, SEEK_SET); in bebox_build_image()
|
/netbsd/sys/arch/macppc/stand/ofwboot/ |
H A D | Locore.c | 717 uint32_t pvr, vers, hsize = HEAP_SIZE; in setup() local 721 if (vers >= IBM970 && vers <= IBM970GX) hsize = 0x800000; in setup() 723 heapspace = OF_claim(0, hsize, NBPG); in setup()
|
/netbsd/external/bsd/jemalloc/dist/test/unit/ |
H A D | stats.c | 320 size_t curlextents, sz, hsize; in TEST_BEGIN() local 324 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&hsize, &sz, NULL, in TEST_BEGIN() 327 p = mallocx(hsize, MALLOCX_ARENA(0)); in TEST_BEGIN()
|
/netbsd/sys/dev/wsfb/ |
H A D | genfb.c | 744 int hsize; in genfb_calc_hsize() local 754 hsize = (int)edid->edid_max_hsize * 10; in genfb_calc_hsize() 756 hsize = 0; in genfb_calc_hsize() 760 return hsize; in genfb_calc_hsize() 767 const int hsize = genfb_calc_hsize(sc); in genfb_calc_cols() local 769 if (hsize != 0) { in genfb_calc_cols() 773 return MAX(RASOPS_DEFAULT_WIDTH, hsize / GENFB_CHAR_WIDTH_MM); in genfb_calc_cols()
|