/freebsd-11-stable/bin/pax/ |
H A D | cpio.c | 281 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 D | tar.c | 301 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-11-stable/usr.sbin/bluetooth/bthidcontrol/ |
H A D | hid.c | 53 struct hid_device *hd = NULL; local 57 if ((hd = get_hid_device(bdaddr)) != NULL) { 58 hid_dump_descriptor(hd->desc); 71 struct hid_device *hd = NULL; local 76 if ((hd = get_hid_device(bdaddr)) != NULL) { 77 hd->new_device = 1; 92 struct hid_device *hd = NULL; local 100 for (hd = get_next_hid_device(hd); 101 hd ! [all...] |
H A D | sdp.c | 47 static int32_t hid_sdp_query (bdaddr_t const *local, struct hid_device *hd, int32_t *error); 91 hid_sdp_query(bdaddr_t const *local, struct hid_device *hd, int32_t *error) argument 102 if (hd == NULL) 112 if ((ss = sdp_open(local, &hd->bdaddr)) == NULL) 161 hd->control_psm = control_psm; 162 hd->interrupt_psm = interrupt_psm; 163 hd->reconnect_initiate = reconnect_initiate? 1 : 0; 164 hd->battery_power = battery_power? 1 : 0; 165 hd->normally_connectable = normally_connectable? 1 : 0; 166 hd 410 struct hid_device hd; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | hash.c | 155 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-11-stable/lib/libthr/thread/ |
H A D | thr_pshared.c | 102 struct pshared_hash_head *hd; local 108 hd = &pshared_hash[i]; 109 LIST_FOREACH_SAFE(h, hd, link, h1) { 125 struct pshared_hash_head *hd; local 128 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 129 LIST_FOREACH(h, hd, link) { 139 struct pshared_hash_head *hd; local 142 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 143 LIST_FOREACH(h, hd, link) { 179 LIST_INSERT_HEAD(hd, 186 struct pshared_hash_head *hd; local [all...] |
/freebsd-11-stable/usr.bin/hexdump/ |
H A D | Makefile | 9 MLINKS= hexdump.1 hd.1 11 LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd
|
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | crypto_gnutls.c | 23 gcry_md_hd_t hd; local 30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR) 33 gcry_md_write(hd, addr[i], len[i]); 34 p = gcry_md_read(hd, algo); 37 gcry_md_close(hd); 50 gcry_cipher_hd_t hd; local 63 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0); 64 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8)); 65 gcry_cipher_encrypt(hd, cypher, 8, clear, 8); 66 gcry_cipher_close(hd); 105 gcry_md_hd_t hd; local 217 gcry_cipher_hd_t hd; local 239 gcry_cipher_hd_t hd = ctx; local 247 gcry_cipher_hd_t hd = ctx; local 254 gcry_cipher_hd_t hd; local 273 gcry_cipher_hd_t hd = ctx; local 281 gcry_cipher_hd_t hd = ctx; local [all...] |
/freebsd-11-stable/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 46 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-11-stable/stand/efi/libefi/ |
H A D | efizfs.c | 106 pdinfo_t *hd, *pd = NULL; local 119 STAILQ_FOREACH(hd, hdi, pd_link) { 120 STAILQ_FOREACH(pd, &hd->pd_part, pd_link) { 122 efipart_hddev.dv_name, hd->pd_unit, pd->pd_unit);
|
H A D | efipart.c | 515 pdinfo_t *hd, *pd, *last; local 541 STAILQ_FOREACH(hd, &hdinfo, pd_link) { 542 if (efi_devpath_match(hd->pd_devpath, disk_devpath) == true) { 550 pd->pd_parent = hd; 552 STAILQ_INSERT_TAIL(&hd->pd_part, pd, pd_link); 564 hd = pd; 565 hd->pd_handle = disk_handle; 566 hd->pd_unit = unit; 567 hd->pd_devpath = disk_devpath; 568 hd [all...] |
/freebsd-11-stable/sys/netgraph/atm/ccatm/ |
H A D | ng_ccatm.c | 797 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-11-stable/sys/fs/nullfs/ |
H A D | null_subr.c | 101 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-11-stable/usr.bin/mkimg/ |
H A D | ebr.c | 68 u_int cyl, hd, sec; local 70 mkimg_chs(lba, 1023, &cyl, &hd, &sec); 72 *hdp = hd;
|
H A D | mbr.c | 78 u_int cyl, hd, sec; local 80 mkimg_chs(lba, 1023, &cyl, &hd, &sec); 82 *hdp = hd;
|
H A D | pc98.c | 74 u_int cyl, hd, sec; local 76 mkimg_chs(lba, 0xffff, &cyl, &hd, &sec); 78 *hdp = hd;
|
/freebsd-11-stable/stand/powerpc/boot1.chrp/ |
H A D | generate-hfs.sh | 45 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-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cab.c | 621 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-11-stable/lib/libc/net/ |
H A D | gethostnamadr.c | 665 struct hostdata *hd; local 669 if ((hd = __hostdata_init()) == NULL) 671 if (gethostbyname_r(name, &hd->host, hd->data, sizeof(hd->data), &rval, 680 struct hostdata *hd; local 684 if ((hd = __hostdata_init()) == NULL) 686 if (gethostbyname2_r(name, af, &hd->host, hd->data, sizeof(hd 695 struct hostdata *hd; local [all...] |
H A D | gethostbyht.c | 208 struct hostdata *hd; local 212 if ((hd = __hostdata_init()) == NULL) 214 if (gethostent_r(&hd->host, hd->data, sizeof(hd->data), &rval,
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | srconv.c | 351 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-11-stable/sys/netinet/cc/ |
H A D | cc_hd.c | 96 .name = "hd", 233 SYSCTL_NODE(_net_inet_tcp_cc, OID_AUTO, hd, CTLFLAG_RW, NULL, 249 DECLARE_CC_MODULE(hd, &hd_cc_algo); 250 MODULE_DEPEND(hd, ertt, 1, 1, 1);
|
/freebsd-11-stable/usr.bin/hexdump/tests/ |
H A D | hexdump_test.sh | 82 atf_set "descr" "Verify hd output matching -C output" 87 hd "$(atf_get_srcdir)/d_hexdump_a.in" 89 hd "$(atf_get_srcdir)/d_hexdump_b.in" 91 hd "$(atf_get_srcdir)/d_hexdump_c.in"
|
/freebsd-11-stable/release/powerpc/ |
H A D | mkisoimages.sh | 30 OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ')
|
/freebsd-11-stable/sys/dev/sec/ |
H A D | sec.c | 1497 struct sec_hw_desc *hd = desc->sd_desc; local 1500 hd->shd_desc_type = SEC_DT_COMMON_NONSNOOP; 1501 hd->shd_eu_sel1 = SEC_EU_NONE; 1502 hd->shd_mode1 = 0; 1549 struct sec_hw_desc *hd = desc->sd_desc; local 1563 hd->shd_desc_type = SEC_DT_HMAC_SNOOP; 1564 hd->shd_eu_sel1 = eu; 1565 hd->shd_mode1 = mode; 1632 struct sec_hw_desc *hd = desc->sd_desc; local 1643 hd 1692 struct sec_hw_desc *hd = desc->sd_desc; local 1813 struct sec_hw_desc *hd = desc->sd_desc; local [all...] |