HomeSort by: relevance | last modified time | path
    Searched defs:hsize (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/lib/libusbhid/
data.c 41 unsigned int hsize; local in function:hid_get_data
50 hsize = h->report_size; /* bit length of data */
52 if (hsize == 0)
55 end = (hpos + hsize + 7) / 8 - offs;
60 if (hsize < 32) {
61 data &= (1 << hsize) - 1;
62 if (h->logical_minimum < 0 && (data & (1<<(hsize-1)))) {
64 data |= 0xffffffff & ~((1<<hsize)-1);
75 unsigned int hsize; local in function:hid_set_data
83 hsize = h->report_size; /* bit length of data *
    [all...]
data.c 41 unsigned int hsize; local in function:hid_get_data
50 hsize = h->report_size; /* bit length of data */
52 if (hsize == 0)
55 end = (hpos + hsize + 7) / 8 - offs;
60 if (hsize < 32) {
61 data &= (1 << hsize) - 1;
62 if (h->logical_minimum < 0 && (data & (1<<(hsize-1)))) {
64 data |= 0xffffffff & ~((1<<hsize)-1);
75 unsigned int hsize; local in function:hid_set_data
83 hsize = h->report_size; /* bit length of data *
    [all...]
data.c 41 unsigned int hsize; local in function:hid_get_data
50 hsize = h->report_size; /* bit length of data */
52 if (hsize == 0)
55 end = (hpos + hsize + 7) / 8 - offs;
60 if (hsize < 32) {
61 data &= (1 << hsize) - 1;
62 if (h->logical_minimum < 0 && (data & (1<<(hsize-1)))) {
64 data |= 0xffffffff & ~((1<<hsize)-1);
75 unsigned int hsize; local in function:hid_set_data
83 hsize = h->report_size; /* bit length of data *
    [all...]
  /src/sys/dev/hid/
hid.c 447 u_int hsize = loc->size; local in function:hid_get_data
450 if (hsize == 0)
454 if (data < (1UL << (hsize - 1)) || hsize == sizeof(data) * NBBY)
456 return data - (1UL << hsize);
463 u_int hsize = loc->size; local in function:hid_get_udata
467 if (hsize == 0)
472 num = (hpos + hsize + 7) / 8 - off;
478 if (hsize < sizeof(data) * NBBY)
479 data &= (1UL << hsize) - 1
    [all...]
hid.c 447 u_int hsize = loc->size; local in function:hid_get_data
450 if (hsize == 0)
454 if (data < (1UL << (hsize - 1)) || hsize == sizeof(data) * NBBY)
456 return data - (1UL << hsize);
463 u_int hsize = loc->size; local in function:hid_get_udata
467 if (hsize == 0)
472 num = (hpos + hsize + 7) / 8 - off;
478 if (hsize < sizeof(data) * NBBY)
479 data &= (1UL << hsize) - 1
    [all...]
hid.c 447 u_int hsize = loc->size; local in function:hid_get_data
450 if (hsize == 0)
454 if (data < (1UL << (hsize - 1)) || hsize == sizeof(data) * NBBY)
456 return data - (1UL << hsize);
463 u_int hsize = loc->size; local in function:hid_get_udata
467 if (hsize == 0)
472 num = (hpos + hsize + 7) / 8 - off;
478 if (hsize < sizeof(data) * NBBY)
479 data &= (1UL << hsize) - 1
    [all...]
  /src/sys/arch/powerpc/stand/mkbootimage/
mkbootimage.c 598 int hsize = BEBOX_HEADER_SIZE; local in function:bebox_write_header
668 lseek(bebox_fd, ldrOffset + hsize, SEEK_SET);
674 lseek(bebox_fd, dataOffset + hsize, SEEK_SET);
684 int i, ch, tmp, kgzlen, err, hsize = BEBOX_HEADER_SIZE; local in function:bebox_build_image
726 lseek(bebox_fd, hsize, SEEK_SET);
782 lseek(bebox_fd, hsize, SEEK_SET);
792 lseek(bebox_fd, toff + hsize, SEEK_SET);
mkbootimage.c 598 int hsize = BEBOX_HEADER_SIZE; local in function:bebox_write_header
668 lseek(bebox_fd, ldrOffset + hsize, SEEK_SET);
674 lseek(bebox_fd, dataOffset + hsize, SEEK_SET);
684 int i, ch, tmp, kgzlen, err, hsize = BEBOX_HEADER_SIZE; local in function:bebox_build_image
726 lseek(bebox_fd, hsize, SEEK_SET);
782 lseek(bebox_fd, hsize, SEEK_SET);
792 lseek(bebox_fd, toff + hsize, SEEK_SET);
mkbootimage.c 598 int hsize = BEBOX_HEADER_SIZE; local in function:bebox_write_header
668 lseek(bebox_fd, ldrOffset + hsize, SEEK_SET);
674 lseek(bebox_fd, dataOffset + hsize, SEEK_SET);
684 int i, ch, tmp, kgzlen, err, hsize = BEBOX_HEADER_SIZE; local in function:bebox_build_image
726 lseek(bebox_fd, hsize, SEEK_SET);
782 lseek(bebox_fd, hsize, SEEK_SET);
792 lseek(bebox_fd, toff + hsize, SEEK_SET);
  /src/sys/arch/macppc/stand/ofwboot/
Locore.c 717 uint32_t pvr, vers, hsize = HEAP_SIZE; local in function:setup
721 if (vers >= IBM970 && vers <= IBM970GX) hsize = 0x800000;
723 heapspace = OF_claim(0, hsize, NBPG);
Locore.c 717 uint32_t pvr, vers, hsize = HEAP_SIZE; local in function:setup
721 if (vers >= IBM970 && vers <= IBM970GX) hsize = 0x800000;
723 heapspace = OF_claim(0, hsize, NBPG);
Locore.c 717 uint32_t pvr, vers, hsize = HEAP_SIZE; local in function:setup
721 if (vers >= IBM970 && vers <= IBM970GX) hsize = 0x800000;
723 heapspace = OF_claim(0, hsize, NBPG);
  /src/sys/net/
bsd-comp.c 87 u_int hsize; /* size of the hash table */ member in struct:bsd_db
306 u_int newlen, hsize, hshift, maxmaxcode; local in function:bsd_alloc
319 hsize = 5003;
323 hsize = 9001;
327 hsize = 18013;
331 hsize = 35023;
335 /* hsize = 69001; */ /* and 69001 is too big for cptr */
343 newlen = sizeof(*db) + (hsize-1) * (sizeof(db->dict[0]));
360 db->hsize = hsize;
    [all...]
bsd-comp.c 87 u_int hsize; /* size of the hash table */ member in struct:bsd_db
306 u_int newlen, hsize, hshift, maxmaxcode; local in function:bsd_alloc
319 hsize = 5003;
323 hsize = 9001;
327 hsize = 18013;
331 hsize = 35023;
335 /* hsize = 69001; */ /* and 69001 is too big for cptr */
343 newlen = sizeof(*db) + (hsize-1) * (sizeof(db->dict[0]));
360 db->hsize = hsize;
    [all...]
bsd-comp.c 87 u_int hsize; /* size of the hash table */ member in struct:bsd_db
306 u_int newlen, hsize, hshift, maxmaxcode; local in function:bsd_alloc
319 hsize = 5003;
323 hsize = 9001;
327 hsize = 18013;
331 hsize = 35023;
335 /* hsize = 69001; */ /* and 69001 is too big for cptr */
343 newlen = sizeof(*db) + (hsize-1) * (sizeof(db->dict[0]));
360 db->hsize = hsize;
    [all...]
  /src/bin/ksh/
history.c 46 static int hsize; variable in typeref:typename:int
585 hsize = 0;
861 hsize = lseek(histfd, 0L, SEEK_END);
863 if (hsize == 0) {
870 else if (hsize > 0) {
874 base = (unsigned char *)mmap(0, hsize, PROT_READ, MAP_FLAGS, histfd, 0);
880 munmap((caddr_t)base, hsize);
885 if (hsize > 2) {
886 lines = hist_count_lines(base+2, hsize-2);
889 if (hist_shrink(base, hsize))
    [all...]
history.c 46 static int hsize; variable in typeref:typename:int
585 hsize = 0;
861 hsize = lseek(histfd, 0L, SEEK_END);
863 if (hsize == 0) {
870 else if (hsize > 0) {
874 base = (unsigned char *)mmap(0, hsize, PROT_READ, MAP_FLAGS, histfd, 0);
880 munmap((caddr_t)base, hsize);
885 if (hsize > 2) {
886 lines = hist_count_lines(base+2, hsize-2);
889 if (hist_shrink(base, hsize))
    [all...]
history.c 46 static int hsize; variable in typeref:typename:int
585 hsize = 0;
861 hsize = lseek(histfd, 0L, SEEK_END);
863 if (hsize == 0) {
870 else if (hsize > 0) {
874 base = (unsigned char *)mmap(0, hsize, PROT_READ, MAP_FLAGS, histfd, 0);
880 munmap((caddr_t)base, hsize);
885 if (hsize > 2) {
886 lines = hist_count_lines(base+2, hsize-2);
889 if (hist_shrink(base, hsize))
    [all...]
  /src/usr.bin/compress/
zopen.c 77 #define HSIZE 69001 /* 95% occupancy */
108 count_int zs_htab [HSIZE];
109 u_short zs_codetab [HSIZE];
152 #define hsize zs->zs_hsize macro
277 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L)
281 hsize_reg = hsize;
644 memset(htab, 0xff, hsize * sizeof(count_int));
669 hsize = HSIZE; /* For dynamic table sizing. */
zopen.c 77 #define HSIZE 69001 /* 95% occupancy */
108 count_int zs_htab [HSIZE];
109 u_short zs_codetab [HSIZE];
152 #define hsize zs->zs_hsize macro
277 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L)
281 hsize_reg = hsize;
644 memset(htab, 0xff, hsize * sizeof(count_int));
669 hsize = HSIZE; /* For dynamic table sizing. */
zopen.c 77 #define HSIZE 69001 /* 95% occupancy */
108 count_int zs_htab [HSIZE];
109 u_short zs_codetab [HSIZE];
152 #define hsize zs->zs_hsize macro
277 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L)
281 hsize_reg = hsize;
644 memset(htab, 0xff, hsize * sizeof(count_int));
669 hsize = HSIZE; /* For dynamic table sizing. */
  /src/sys/dev/wsfb/
genfb.c 760 int hsize; local in function:genfb_calc_hsize
770 hsize = (int)edid->edid_max_hsize * 10;
772 hsize = 0;
776 return hsize;
783 const int hsize = genfb_calc_hsize(sc); local in function:genfb_calc_cols
785 if (hsize != 0) {
789 return MAX(RASOPS_DEFAULT_WIDTH, hsize / GENFB_CHAR_WIDTH_MM);
genfb.c 760 int hsize; local in function:genfb_calc_hsize
770 hsize = (int)edid->edid_max_hsize * 10;
772 hsize = 0;
776 return hsize;
783 const int hsize = genfb_calc_hsize(sc); local in function:genfb_calc_cols
785 if (hsize != 0) {
789 return MAX(RASOPS_DEFAULT_WIDTH, hsize / GENFB_CHAR_WIDTH_MM);
genfb.c 760 int hsize; local in function:genfb_calc_hsize
770 hsize = (int)edid->edid_max_hsize * 10;
772 hsize = 0;
776 return hsize;
783 const int hsize = genfb_calc_hsize(sc); local in function:genfb_calc_cols
785 if (hsize != 0) {
789 return MAX(RASOPS_DEFAULT_WIDTH, hsize / GENFB_CHAR_WIDTH_MM);
  /src/sys/dev/usb/
utoppy.c 1107 uint32_t hsize, hfree; local in function:utoppy_stats
1119 if (utoppy_get_32(sc, &hsize) || utoppy_get_32(sc, &hfree))
1122 us->us_hdd_size = hsize;

Completed in 238 milliseconds

1 2