Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 25 of 38) sorted by relevance

12

/mirbsd/src/bin/pax/
Dtar.c311 HD_TAR *hd; in tar_id() local
316 hd = (HD_TAR *)blk; in tar_id()
326 if (hd->name[0] == '\0') in tar_id()
330 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) in tar_id()
383 HD_TAR *hd; in tar_rd() local
398 hd = (HD_TAR *)buf; in tar_rd()
399 if (hd->linkflag != LONGLINKTYPE && hd->linkflag != LONGNAMETYPE) { in tar_rd()
401 &gnu_name_string, hd->name, sizeof(hd->name)); in tar_rd()
403 &gnu_link_string, hd->linkname, sizeof(hd->linkname)); in tar_rd()
405 arcn->sb.st_mode = (mode_t)(asc_ul(hd->mode,sizeof(hd->mode),OCT) & in tar_rd()
[all …]
Dcpio.c280 HD_CPIO *hd; in cpio_rd() local
287 hd = (HD_CPIO *)buf; in cpio_rd()
294 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); in cpio_rd()
295 arcn->sb.st_ino = (ino_t)asc_ul(hd->c_ino, sizeof(hd->c_ino), OCT); in cpio_rd()
296 arcn->sb.st_mode = (mode_t)asc_ul(hd->c_mode, sizeof(hd->c_mode), OCT); in cpio_rd()
297 arcn->sb.st_uid = (uid_t)asc_ul(hd->c_uid, sizeof(hd->c_uid), OCT); in cpio_rd()
298 arcn->sb.st_gid = (gid_t)asc_ul(hd->c_gid, sizeof(hd->c_gid), OCT); in cpio_rd()
299 arcn->sb.st_nlink = (nlink_t)asc_ul(hd->c_nlink, sizeof(hd->c_nlink), in cpio_rd()
301 arcn->sb.st_rdev = (dev_t)asc_ul(hd->c_rdev, sizeof(hd->c_rdev), OCT); in cpio_rd()
302 arcn->sb.st_mtime = (time_t)asc_ul(hd->c_mtime, sizeof(hd->c_mtime), in cpio_rd()
[all …]
/mirbsd/src/usr.sbin/isdn/isdnd/
Drates.c472 register struct rates *hd; in getrate() local
490 for (hd = rates[rate_type][ptr->tm_wday]; hd; hd = hd->next) in getrate()
493 if ((time_now >= hd->start_time ) && in getrate()
494 (time_now < hd->end_time )) in getrate()
497 hd->rate, in getrate()
499 hd->start_time/60, hd->start_time%60, in getrate()
500 hd->end_time/60, hd->end_time%60, in getrate()
503 return hd->rate; in getrate()
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Dsrconv.c350 struct IT_hd hd; in wr_hd() local
352 hd.spare1 = 0; in wr_hd()
354 hd.mt = MTYPE_ABS_LM; in wr_hd()
356 hd.mt = MTYPE_OMS_OR_LMS; in wr_hd()
358 hd.cd = DATE; in wr_hd()
360 hd.nu = p->nsources; /* Always one unit */ in wr_hd()
361 hd.code = 0; /* Always ASCII */ in wr_hd()
362 hd.ver = "0200"; /* Version 2.00 */ in wr_hd()
367 hd.au = 8; in wr_hd()
368 hd.si = 0; in wr_hd()
[all …]
Dsysroff.info4 (("hd") (1 byte) ("hd"))
42 ("hd" 0x04
/mirbsd/src/usr.sbin/dhcpd/
Dmemory.c59 enter_host(struct host_decl *hd) in enter_host() argument
63 hd->n_ipaddr = NULL; in enter_host()
64 if (hd->interface.hlen) { in enter_host()
69 hd->interface.haddr, hd->interface.hlen); in enter_host()
76 add_hash(host_hw_addr_hash, hd->interface.haddr, in enter_host()
77 hd->interface.hlen, (unsigned char *)hd); in enter_host()
87 np->n_ipaddr = hd; in enter_host()
90 if (hd->group->options[DHO_DHCP_CLIENT_IDENTIFIER]) { in enter_host()
91 if (!tree_evaluate(hd->group->options[DHO_DHCP_CLIENT_IDENTIFIER])) in enter_host()
101 hd->group->options[DHO_DHCP_CLIENT_IDENTIFIER]->value, in enter_host()
[all …]
/mirbsd/src/sys/dev/isa/
Disic_isa_itk_ix1.c150 u_int8_t hd, hv1, hv2, saveale; in isic_probe_itkix1() local
159 hd = inb(dev->id_iobase + ITK_HSCX_DATA); in isic_probe_itkix1()
169 ret = (hd == 0) in isic_probe_itkix1()
180 hd, hv1, hv2, ret ? "succeeded" : "failed"); in isic_probe_itkix1()
192 u_int8_t hd, hv1, hv2, saveale; in isic_probe_itkix1() local
201 hd = bus_space_read_1(t, h, ITK_HSCX_DATA); in isic_probe_itkix1()
208 ret = (hd == 0) && ((hv1 & 0x0f) == 0x05) && ((hv2 & 0x0f) == 0x05); in isic_probe_itkix1()
212 ret = (hd == 0) in isic_probe_itkix1()
223 hd, hv1, hv2, ret ? "succeeded" : "failed"); in isic_probe_itkix1()
Disic_isapnp_drn_ngo.c479 bus_space_handle_t hd = sc->sc_maps[0].h, ha = sc->sc_maps[1].h; in drnngo_read_fifo() local
481 bus_space_read_multi_1(t, hd, offset[what].od, buf, size); in drnngo_read_fifo()
488 bus_space_handle_t hd = sc->sc_maps[0].h, ha = sc->sc_maps[1].h; in drnngo_write_fifo() local
490 bus_space_write_multi_1(t, hd, offset[what].od, (u_int8_t*)buf, size); in drnngo_write_fifo()
497 bus_space_handle_t hd = sc->sc_maps[0].h, ha = sc->sc_maps[1].h; in drnngo_write_reg() local
499 bus_space_write_1(t, hd, offset[what].od, data); in drnngo_write_reg()
506 bus_space_handle_t hd = sc->sc_maps[0].h, ha = sc->sc_maps[1].h; in drnngo_read_reg() local
508 return bus_space_read_1(t, hd, offset[what].od); in drnngo_read_reg()
/mirbsd/src/usr.bin/file/magdir/
Dimages21 >12 leshort >0 %hd x
22 >14 leshort >0 %hd
25 >12 leshort >0 %hd x
26 >14 leshort >0 %hd
29 >12 leshort >0 %hd x
30 >14 leshort >0 %hd
88 >6 leshort >0 %hd x
89 >8 leshort >0 %hd
355 >4 leshort x bounding box [%hd,
356 >6 leshort x %hd] -
[all …]
Dsharc22 >2 leshort >1 , %hd sections
/mirbsd/src/usr.bin/hexdump/
DMakefile7 LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd
8 MLINKS= hexdump.1 hd.1
/mirbsd/src/sys/dev/usb/
Dhid.c469 struct hid_data *hd; in hid_is_collection() local
473 hd = hid_start_parse(desc, size, hid_none); in hid_is_collection()
474 if (hd == NULL) in hid_is_collection()
478 while (hid_get_item(hd, &hi)) { in hid_is_collection()
489 hid_end_parse(hd); in hid_is_collection()
494 hid_end_parse(hd); in hid_is_collection()
Dusbdi_util.c362 usb_hid_descriptor_t *hd; in usbd_get_hid_descriptor() local
373 for (; p < end; p += hd->bLength) { in usbd_get_hid_descriptor()
374 hd = (usb_hid_descriptor_t *)p; in usbd_get_hid_descriptor()
375 if (p + hd->bLength <= end && hd->bDescriptorType == UDESC_HID) in usbd_get_hid_descriptor()
376 return (hd); in usbd_get_hid_descriptor()
377 if (hd->bDescriptorType == UDESC_INTERFACE) in usbd_get_hid_descriptor()
Duhub.c359 usb_hub_descriptor_t *hd = &dev->hub->hubdesc; in uhub_explore() local
376 for(port = 1; port <= hd->bNbrPorts; port++) { in uhub_explore()
Dusb_subr.c678 usb_hub_descriptor_t hd; in usbd_set_config_index() local
685 err = usbd_do_request(dev, &req, &hd); in usbd_set_config_index()
687 (UGETW(hd.wHubCharacteristics) & in usbd_set_config_index()
692 UGETW(hd.wHubCharacteristics), in usbd_set_config_index()
/mirbsd/src/sys/dev/ic/
Dcac.c562 struct scsi_mode_header hd; member
637 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
639 mpd.hd.blk_desc_len = sizeof mpd.bd;
642 mpd.hd.dev_spec = 0;
Dtwe.c793 struct scsi_mode_header hd; member
863 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
865 mpd.hd.blk_desc_len = sizeof mpd.bd;
868 mpd.hd.dev_spec =
Dgdt_common.c858 struct scsi_mode_header hd; member
914 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
916 mpd.hd.blk_desc_len = sizeof mpd.bd;
919 mpd.hd.dev_spec =
Dami.c1058 struct scsi_mode_header hd; member
1131 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
1133 mpd.hd.blk_desc_len = sizeof mpd.bd;
1135 mpd.hd.dev_spec = 0; /* writeprotect ? XXX */
Daac.c816 struct scsi_mode_header hd; member
871 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
873 mpd.hd.blk_desc_len = sizeof mpd.bd;
876 mpd.hd.dev_spec = 0;
/mirbsd/src/sys/dev/i2o/
Dioprbs.c741 struct scsi_mode_header hd; member
806 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
808 mpd.hd.blk_desc_len = sizeof mpd.bd;
811 mpd.hd.dev_spec = 0;
/mirbsd/src/bin/mksh/
Ddot.mkshrc58 if whence -p hd >/dev/null; then :; elif whence -p hexdump >/dev/null; then
59 function hd {
64 function hd {
/mirbsd/src/usr.sbin/ifwatchd/
Difwatchd.c265 struct rt_msghdr *hd = msg; in dispatch() local
270 switch (hd->rtm_type) { in dispatch()
/mirbsd/src/share/doc/smm/02.config/
Dspell.ok165 hd
/mirbsd/src/distrib/common/
Dfunctions57 hd -ve '1/1 "%02X"'); date) >/dev/wrandom 2>&1

12