Searched refs:hd (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-10-stable/bin/pax/
H A Dcpio.c281 HD_CPIO *hd; local
288 hd = (HD_CPIO *)buf;
295 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT);
296 arcn->sb.st_ino = (ino_t)asc_ul(hd->c_ino, sizeof(hd->c_ino), OCT);
297 arcn->sb.st_mode = (mode_t)asc_ul(hd->c_mode, sizeof(hd->c_mode), OCT);
298 arcn->sb.st_uid = (uid_t)asc_ul(hd->c_uid, sizeof(hd
389 HD_CPIO *hd; local
567 HD_VCPIO *hd; local
700 HD_VCPIO *hd; local
885 HD_BCPIO *hd; local
1000 HD_BCPIO *hd; local
[all...]
H A Dtar.c301 HD_TAR *hd; local
306 hd = (HD_TAR *)blk;
316 if (hd->name[0] == '\0')
320 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT))
372 HD_TAR *hd; local
387 hd = (HD_TAR *)buf;
393 arcn->nlen = l_strncpy(arcn->name, hd->name,
394 MIN(sizeof(hd->name), sizeof(arcn->name)) - 1);
396 arcn->sb.st_mode = (mode_t)(asc_ul(hd
509 HD_TAR *hd; local
701 HD_USTAR *hd; local
733 HD_USTAR *hd; local
897 HD_USTAR *hd; local
[all...]
/freebsd-10-stable/contrib/wpa/src/crypto/
H A Dcrypto_gnutls.c17 gcry_md_hd_t hd; local
21 if (gcry_md_open(&hd, GCRY_MD_MD4, 0) != GPG_ERR_NO_ERROR)
24 gcry_md_write(hd, addr[i], len[i]);
25 p = gcry_md_read(hd, GCRY_MD_MD4);
28 gcry_md_close(hd);
35 gcry_cipher_hd_t hd; local
48 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0);
49 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
50 gcry_cipher_encrypt(hd, cypher, 8, clear, 8);
51 gcry_cipher_close(hd);
57 gcry_md_hd_t hd; local
75 gcry_md_hd_t hd; local
93 gcry_cipher_hd_t hd; local
112 gcry_cipher_hd_t hd = ctx; local
119 gcry_cipher_hd_t hd = ctx; local
126 gcry_cipher_hd_t hd; local
142 gcry_cipher_hd_t hd = ctx; local
149 gcry_cipher_hd_t hd = ctx; local
[all...]
/freebsd-10-stable/usr.sbin/bluetooth/bthidcontrol/
H A Dhid.c50 struct hid_device *hd = NULL; local
54 if ((hd = get_hid_device(bdaddr)) != NULL) {
55 hid_dump_descriptor(hd->desc);
68 struct hid_device *hd = NULL; local
73 if ((hd = get_hid_device(bdaddr)) != NULL) {
74 hd->new_device = 1;
89 struct hid_device *hd = NULL; local
97 for (hd = get_next_hid_device(hd);
98 hd !
[all...]
H A Dsdp.c44 static int32_t hid_sdp_query (bdaddr_t const *local, struct hid_device *hd, int32_t *error);
88 hid_sdp_query(bdaddr_t const *local, struct hid_device *hd, int32_t *error) argument
99 if (hd == NULL)
109 if ((ss = sdp_open(local, &hd->bdaddr)) == NULL)
158 hd->control_psm = control_psm;
159 hd->interrupt_psm = interrupt_psm;
160 hd->reconnect_initiate = reconnect_initiate? 1 : 0;
161 hd->battery_power = battery_power? 1 : 0;
162 hd->normally_connectable = normally_connectable? 1 : 0;
163 hd
407 struct hid_device hd; local
[all...]
/freebsd-10-stable/usr.bin/hexdump/
H A DMakefile7 MLINKS= hexdump.1 hd.1
9 LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dhash.c155 struct hash_data *hd = arg; local
159 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
160 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0)
173 struct hash_data hd; local
175 hd.hd_hash = hash;
176 hd.hd_fun = fun;
177 hd.hd_key = key;
178 hd
188 struct hash_data *hd = arg; local
201 struct hash_data hd; local
[all...]
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dutmp_login.c46 char *ld, *hd; local
55 hd = strchr (hostname, '.');
57 if (hd != NULL && ld != NULL && strcmp(hd, ld) == 0
58 && hd - hostname < dst_sz) {
60 dst[hd - hostname] = '\0';
/freebsd-10-stable/sys/netgraph/atm/ccatm/
H A Dng_ccatm.c797 struct cchook *hd; local
811 hd = malloc(sizeof(*hd), M_NG_CCATM, M_NOWAIT);
812 if (hd == NULL)
814 hd->is_uni = 1;
815 hd->node = priv;
816 hd->hook = hook;
818 port = cc_port_create(priv->data, hd, (u_int)lport);
820 free(hd, M_NG_CCATM);
823 hd
879 struct cchook *hd = NG_HOOK_PRIVATE(hook); local
921 struct cchook *hd = NG_HOOK_PRIVATE(hook); local
1007 struct cchook *hd = uarg; local
1029 struct cchook *hd = uarg; local
1055 struct cchook *hd = NG_HOOK_PRIVATE(hook); local
1104 struct cchook *hd = uarg; local
1129 struct cchook *hd = uarg; local
[all...]
/freebsd-10-stable/sys/fs/nullfs/
H A Dnull_subr.c101 struct null_node_hashhead *hd; local
113 hd = NULL_NHASH(lowervp);
115 LIST_FOREACH(a, hd, null_hash) {
142 struct null_node_hashhead *hd; local
146 hd = NULL_NHASH(xp->null_lowervp);
148 LIST_FOREACH(oxp, hd, null_hash) {
161 LIST_INSERT_HEAD(hd, xp, null_hash);
/freebsd-10-stable/usr.bin/mkimg/
H A Dpc98.c73 u_int cyl, hd, sec; local
75 mkimg_chs(lba, 0xffff, &cyl, &hd, &sec);
77 *hdp = hd;
H A Dmbr.c73 u_int cyl, hd, sec; local
75 mkimg_chs(lba, 1023, &cyl, &hd, &sec);
77 *hdp = hd;
H A Debr.c67 u_int cyl, hd, sec; local
69 mkimg_chs(lba, 1023, &cyl, &hd, &sec);
71 *hdp = hd;
/freebsd-10-stable/sys/boot/powerpc/boot1.chrp/
H A Dgenerate-hfs.sh45 BOOTINFO_OFFSET=$(hd $OUTPUT_FILE | grep 'Bootinfo START' | cut -f 1 -d ' ')
46 BOOT1_OFFSET=$(hd $OUTPUT_FILE | grep 'Boot1 START' | cut -f 1 -d ' ')
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c621 struct cfheader *hd; local
653 hd = &cab->cfheader;
660 hd->total_bytes = archive_le32dec(p + CFHEADER_cbCabinet);
661 hd->files_offset = archive_le32dec(p + CFHEADER_coffFiles);
662 hd->minor = p[CFHEADER_versionMinor];
663 hd->major = p[CFHEADER_versionMajor];
664 hd->folder_count = archive_le16dec(p + CFHEADER_cFolders);
665 if (hd->folder_count == 0)
667 hd->file_count = archive_le16dec(p + CFHEADER_cFiles);
668 if (hd
887 struct cfheader *hd; local
2015 struct cfheader *hd = &cab->cfheader; local
[all...]
/freebsd-10-stable/lib/libc/net/
H A Dgethostnamadr.c672 struct hostdata *hd; local
676 if ((hd = __hostdata_init()) == NULL)
678 if (gethostbyname_r(name, &hd->host, hd->data, sizeof(hd->data), &rval,
687 struct hostdata *hd; local
691 if ((hd = __hostdata_init()) == NULL)
693 if (gethostbyname2_r(name, af, &hd->host, hd->data, sizeof(hd
702 struct hostdata *hd; local
[all...]
H A Dgethostbyht.c208 struct hostdata *hd; local
212 if ((hd = __hostdata_init()) == NULL)
214 if (gethostent_r(&hd->host, hd->data, sizeof(hd->data), &rval,
/freebsd-10-stable/contrib/binutils/binutils/
H A Dsrconv.c351 struct IT_hd hd; local
353 hd.spare1 = 0;
355 hd.mt = MTYPE_ABS_LM;
357 hd.mt = MTYPE_OMS_OR_LMS;
359 hd.cd = DATE;
361 hd.nu = p->nsources; /* Always one unit */
362 hd.code = 0; /* Always ASCII */
363 hd.ver = "0200"; /* Version 2.00 */
368 hd.au = 8;
369 hd
[all...]
/freebsd-10-stable/sys/netinet/cc/
H A Dcc_hd.c99 .name = "hd",
238 SYSCTL_NODE(_net_inet_tcp_cc, OID_AUTO, hd, CTLFLAG_RW, NULL,
253 DECLARE_CC_MODULE(hd, &hd_cc_algo);
254 MODULE_DEPEND(hd, ertt, 1, 1, 1);
/freebsd-10-stable/release/powerpc/
H A Dmkisoimages.sh30 OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ')
/freebsd-10-stable/sys/boot/efi/boot1/
H A Dgenerate-fat.sh52 BOOT1_OFFSET=$(hd $OUTPUT_FILE | grep 'Boot1 START' | cut -f 1 -d ' ')
/freebsd-10-stable/sys/dev/sec/
H A Dsec.c1496 struct sec_hw_desc *hd = desc->sd_desc; local
1499 hd->shd_desc_type = SEC_DT_COMMON_NONSNOOP;
1500 hd->shd_eu_sel1 = SEC_EU_NONE;
1501 hd->shd_mode1 = 0;
1548 struct sec_hw_desc *hd = desc->sd_desc; local
1562 hd->shd_desc_type = SEC_DT_HMAC_SNOOP;
1563 hd->shd_eu_sel1 = eu;
1564 hd->shd_mode1 = mode;
1631 struct sec_hw_desc *hd = desc->sd_desc; local
1642 hd
1691 struct sec_hw_desc *hd = desc->sd_desc; local
1812 struct sec_hw_desc *hd = desc->sd_desc; local
[all...]
/freebsd-10-stable/sys/dev/usb/
H A Dusb_hid.c749 struct hid_data *hd; local
753 hd = hid_start_parse(desc, size, hid_input);
754 if (hd == NULL)
757 while ((err = hid_get_item(hd, &hi))) {
762 hid_end_parse(hd);
863 struct hid_data *hd; local
868 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
869 if (hd == NULL)
875 while (hid_get_item(hd, &hi)) {
905 hid_end_parse(hd);
[all...]
H A Dusb_request.h57 struct mtx *mtx, struct usb_hub_descriptor *hd,
60 struct mtx *mtx, struct usb_hub_ss_descriptor *hd,
/freebsd-10-stable/usr.sbin/bluetooth/bthidd/
H A Dparser.y338 hid_data_t hd;
364 for (hd = hid_start_parse(d->desc, ~0, -1); hid_get_item(hd, &hi) > 0; ) {
380 hid_end_parse(hd);

Completed in 202 milliseconds

123