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

12

/freebsd-11-stable/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-11-stable/stand/efi/libefi/
H A Defi_driver_utils.c43 UINTN nhandles, i, hsize; local
46 hsize = 0;
48 &hsize, NULL);
54 handles = malloc(hsize);
55 nhandles = hsize / sizeof(EFI_HANDLE);
58 &hsize, handles);
/freebsd-11-stable/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-11-stable/sbin/hastd/
H A Dhast_checksum.c99 size_t hsize; local
105 hast_crc32_checksum(*datap, *sizep, hash, &hsize);
109 hast_sha256_checksum(*datap, *sizep, hash, &hsize);
116 nv_add_uint8_array(nv, hash, hsize, "hash");
H A Dhast_proto.c91 size_t hsize; local
122 hptr = ebuf_data(eb, &hsize);
123 if (proto_send(conn, hptr, hsize) == -1)
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-tipc.c163 u_int hsize; local
178 hsize = TIPC_HSIZE(w0);
185 if (hsize <= 6) {
190 hsize*4, msize,
203 hsize*4, msize,
228 u_int hsize; local
248 hsize = TIPC_HSIZE(w0);
258 hsize*4, msize,
296 u_int hsize; local
308 hsize
[all...]
/freebsd-11-stable/stand/efi/boot1/
H A Dboot1.c394 UINTN i, max_dim, best_mode, cols, rows, hsize, nhandles; local
493 hsize = (UINTN)NUM_HANDLES_INIT * sizeof(EFI_HANDLE);
494 handles = malloc(hsize);
499 &hsize, handles);
505 handles = malloc(hsize);
510 NULL, &hsize, handles);
520 nhandles = hsize / sizeof(*handles);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_hid.c655 uint32_t hsize = loc->size; local
660 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize);
663 if (hsize == 0)
665 if (hsize > 32)
666 hsize = 32;
671 n = (hsize + 7) / 8;
681 n = 32 - hsize;
714 uint32_t hsize = loc->size; local
720 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value);
723 if (hsize
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/drm2/
H A Ddrm_edid.c548 * @hsize: Mode width
557 int hsize, int vsize, int fresh,
564 if (hsize != ptr->hdisplay)
747 int hsize, vsize; local
755 if (bad_std_timing(t->hsize, t->vfreq_aspect))
758 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
759 hsize = t->hsize * 8 + 248;
765 vsize = hsize;
767 vsize = (hsize * 1
556 drm_mode_find_dmt(struct drm_device *dev, int hsize, int vsize, int fresh, bool rb) argument
[all...]
H A Ddrm_edid.h52 u8 hsize; /* need to multiply by 8 then add 248 */ member in struct:std_timing
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c907 * [v4=1/v6=0][hsize]
943 static __inline uint32_t hash_ip(uint32_t addr, int hsize);
946 static __inline uint32_t hash_ip6(struct in6_addr *addr6, int hsize);
947 static __inline uint16_t hash_ip64(struct in6_addr *addr6, int hsize);
949 int mask, int hsize);
951 int hsize);
999 hash_ip(uint32_t addr, int hsize) argument
1002 return (addr % (hsize - 1));
1008 hash_ip6(struct in6_addr *addr6, int hsize) argument
1015 return (i % (hsize
1020 hash_ip64(struct in6_addr *addr6, int hsize) argument
1031 hash_ip6_slow(struct in6_addr *addr6, void *key, int mask, int hsize) argument
1042 hash_ip6_al(struct in6_addr *addr6, void *key, int mask, int hsize) argument
1060 uint16_t hash, hsize; local
1105 uint16_t hash, hsize; local
1154 uint16_t hash, hsize; local
1277 uint32_t hsize; local
3163 hash_flow4(struct fhashentry4 *f, int hsize) argument
3173 hash_flow6(struct fhashentry6 *f, int hsize) argument
3208 uint32_t hsize; local
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/dev/fb/
H A Dsplash_pcx.c166 uint16_t hsize; member in struct:pcx_header
/freebsd-11-stable/sys/net/
H A Dif_llatbl.h211 struct lltable *lltable_allocate_htbl(uint32_t hsize);
H A Dif_llatbl.c606 lltable_allocate_htbl(uint32_t hsize) argument
612 llt->llt_hsize = hsize;
613 llt->lle_head = malloc(sizeof(struct llentries) * hsize,
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/netinet/
H A Din.c1254 in_lltable_hash_dst(const struct in_addr dst, uint32_t hsize) argument
1257 return (IN_LLTBL_HASH(dst.s_addr, hsize));
1261 in_lltable_hash(const struct llentry *lle, uint32_t hsize) argument
1264 return (in_lltable_hash_dst(lle->r_l3addr.addr4, hsize));
/freebsd-11-stable/contrib/amd/doc/
H A Dtexinfo.tex326 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
328 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
348 \hsize = \outerhsize
361 \hfil % center the page within the outer (page) hsize.
405 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
784 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
908 \advance\hsize by -\leftskip
909 \advance\hsize by -\rightskip
3032 \hsize = \dimen0 \advance\hsize b
[all...]
/freebsd-11-stable/sys/netinet6/
H A Din6.c2171 in6_lltable_hash_dst(const struct in6_addr *dst, uint32_t hsize) argument
2174 return (IN6_LLTBL_HASH(dst->s6_addr32[3], hsize));
2178 in6_lltable_hash(const struct llentry *lle, uint32_t hsize) argument
2181 return (in6_lltable_hash_dst(&lle->r_l3addr.addr6, hsize));
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c580 for (i = 0; i < nh->hsize; i++) {
834 nh->hsize = NAT64LSN_HSIZE; /* XXX: hardcoded size */
1435 hval = HASH_IN4(&st->u.hkey) & (nh->hsize - 1);
1519 hval = HASH_IN4(&kst.u.hkey) & (nh->hsize - 1);

Completed in 348 milliseconds

12