Searched refs:hsize (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.0-release/lib/libusbhid/
H A Ddata.c45 uint32_t hsize; local
56 hsize = h->report_size; /* bit length of data */
59 if (hsize == 0)
61 if (hsize > 32)
62 hsize = 32;
65 end = (hpos + hsize) / 8 - offs;
72 hsize = 32 - hsize;
76 data = (int32_t)((int32_t)data << hsize) >> hsize;
88 uint32_t hsize; local
[all...]
/freebsd-10.0-release/lib/libutil/
H A Drealhostname.c49 realhostname(char *host, size_t hsize, const struct in_addr *ip) argument
61 if (strlen(trimmed) <= hsize) {
74 strncpy(host, trimmed, hsize);
81 strncpy(host, inet_ntoa(*ip), hsize);
99 realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int addrlen) argument
178 trimdomain(buf, hsize);
179 if (strlen(buf) > hsize &&
184 strncpy(host, buf, hsize);
194 strncpy(host, buf, hsize);
/freebsd-10.0-release/sbin/hastd/
H A Dhast_checksum.c97 size_t hsize; local
103 hast_crc32_checksum(*datap, *sizep, hash, &hsize);
107 hast_sha256_checksum(*datap, *sizep, hash, &hsize);
114 nv_add_uint8_array(nv, hash, hsize, "hash");
H A Dhast_proto.c89 size_t hsize; local
120 hptr = ebuf_data(eb, &hsize);
121 if (proto_send(conn, hptr, hsize) == -1)
/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-tipc.c169 u_int hsize; local
184 hsize = TIPC_HSIZE(w0);
191 if (hsize <= 6) {
196 hsize*4, msize,
209 hsize*4, msize,
234 u_int hsize; local
254 hsize = TIPC_HSIZE(w0);
264 hsize*4, msize,
302 u_int hsize; local
314 hsize
[all...]
/freebsd-10.0-release/sys/dev/usb/
H A Dusb_hid.c654 uint32_t hsize = loc->size; local
659 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize);
662 if (hsize == 0)
664 if (hsize > 32)
665 hsize = 32;
670 n = (hsize + 7) / 8;
680 n = 32 - hsize;
713 uint32_t hsize = loc->size; local
719 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value);
722 if (hsize
[all...]
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_edid.c508 int hsize, int vsize, int fresh)
515 if (hsize == ptr->hdisplay &&
708 int hsize, vsize; local
716 if (bad_std_timing(t->hsize, t->vfreq_aspect))
719 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
720 hsize = t->hsize * 8 + 248;
726 vsize = hsize;
728 vsize = (hsize * 10) / 16;
730 vsize = (hsize *
507 drm_mode_find_dmt(struct drm_device *dev, int hsize, int vsize, int fresh) argument
[all...]
H A Ddrm_edid.h55 u8 hsize; /* need to multiply by 8 then add 248 */ member in struct:std_timing
H A Ddrm_crtc.h924 int hsize, int vsize, int fresh);
/freebsd-10.0-release/contrib/groff/src/devices/grolj4/
H A Dlj4.cpp355 int hsize = p[0]; local
357 if (hsize < 0) {
358 hpos += hsize;
359 hsize = -hsize;
367 printf("\033*c%da%db0P", hsize, vsize);
/freebsd-10.0-release/contrib/sendmail/src/
H A Dcollect.c53 char hsize[16]; local
57 (void) sm_snprintf(hsize, sizeof(hsize), "%d", hdrslen);
60 hnum, hsize);
61 (void) rscheck("check_eoh", hnum, hsize, e, RSF_UNSTRUCTURED|RSF_COUNT,
/freebsd-10.0-release/usr.bin/compress/
H A Dzopen.c151 #define hsize zs->zs_hsize macro
276 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L)
280 hsize_reg = hsize;
651 cl_hash(zs, (count_int) hsize);
708 hsize = HSIZE; /* For dynamic table sizing. */
/freebsd-10.0-release/contrib/groff/src/devices/grolbp/
H A Dlbp.h131 lbpruleabs(int x, int y, int hsize, int vsize) argument
135 lbpmoveabs(x+hsize,y+vsize);
/freebsd-10.0-release/sys/dev/fb/
H A Dsplash_pcx.c166 uint16_t hsize; member in struct:pcx_header
/freebsd-10.0-release/contrib/amd/doc/
H A Dtexinfo.tex296 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
297 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
313 \hsize = \outerhsize
326 \hfil % center the page within the outer (page) hsize.
370 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
823 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
909 \advance\hsize by -\leftskip
910 \advance\hsize by -\rightskip
2054 \vskip4pt \hrule height 2pt width \hsize
2072 \vskip4pt \hrule height 4pt width \hsize \vskip4p
[all...]
/freebsd-10.0-release/contrib/gcc/doc/include/
H A Dtexinfo.tex305 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
306 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
322 \hsize = \outerhsize
335 \hfil % center the page within the outer (page) hsize.
379 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
847 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
933 \advance\hsize by -\leftskip
934 \advance\hsize by -\rightskip
2217 \vskip4pt \hrule height 2pt width \hsize
2235 \vskip4pt \hrule height 4pt width \hsize \vskip4p
[all...]
/freebsd-10.0-release/contrib/groff/doc/
H A Dtexinfo.tex297 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
298 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
314 \hsize = \outerhsize
327 \hfil % center the page within the outer (page) hsize.
371 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
824 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
910 \advance\hsize by -\leftskip
911 \advance\hsize by -\rightskip
2116 \vskip4pt \hrule height 2pt width \hsize
2134 \vskip4pt \hrule height 4pt width \hsize \vskip4p
[all...]
/freebsd-10.0-release/share/mk/
H A Dbsd.info.mk101 perl -npe 's/(^\s*\\input\s+texinfo\s+)/$$1\n@tex\n\\global\\hsize=120mm\n@end tex\n\n/' ${.IMPSRC} >> ${.IMPSRC:T:R}-la.texi
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c558 ssize_t hsize; local
598 hsize = zip_get_local_file_header_size(a, 0);
599 zip_read_consume(a, hsize);
/freebsd-10.0-release/usr.bin/csup/
H A Dmux.c970 #define SOCK_READREST(s, mh, hsize) \
971 sock_readwait(s, (char *)&mh + sizeof(mh.type), (hsize) - sizeof(mh.type))
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddbuf.c261 uint64_t hsize = 1ULL << 16; local
270 while (hsize * 4096 < (uint64_t)physmem * PAGESIZE)
271 hsize <<= 1;
274 h->hash_table_mask = hsize - 1;
275 h->hash_table = kmem_zalloc(hsize * sizeof (void *), KM_NOSLEEP);
278 ASSERT(hsize > (1ULL << 10));
279 hsize >>= 1;
H A Darc.c1041 uint64_t hsize = 1ULL << 12; local
1049 while (hsize * 65536 < (uint64_t)physmem * PAGESIZE)
1050 hsize <<= 1;
1052 buf_hash_table.ht_mask = hsize - 1;
1054 kmem_zalloc(hsize * sizeof (void*), KM_NOSLEEP);
1056 ASSERT(hsize > (1ULL << 8));
1057 hsize >>= 1;
/freebsd-10.0-release/contrib/binutils/bfd/
H A DpeXXigen.c628 bfd_vma hsize = 0;
639 if (hsize == 0)
640 hsize = sec->filepos;
663 extra->SizeOfHeaders = hsize;
627 bfd_vma hsize = 0; local
H A Delf64-ppc.c8312 bfd_size_type hsize;
8314 hsize = (htab->stub_globals + 1) * sizeof (*hashes);
8315 hashes = bfd_zalloc (htab->stub_bfd, hsize);
8308 bfd_size_type hsize; local

Completed in 216 milliseconds