| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | captoinfo.c | 564 bufptr = save_char(bufptr, c1); in save_tc_char() 575 bufptr = save_string(bufptr, temp); in save_tc_char() 670 bufptr = save_char(bufptr, *str++); in _nc_infotocap() 671 bufptr = save_char(bufptr, *str); in _nc_infotocap() 681 bufptr = save_char(bufptr, *++str); in _nc_infotocap() 790 bufptr = save_char(bufptr, xx1); in _nc_infotocap() 864 bufptr = save_char(bufptr, '%'); in _nc_infotocap() 877 bufptr = save_char(bufptr, '%'); in _nc_infotocap() 897 bufptr = save_char(bufptr, ch1); in _nc_infotocap() 907 bufptr[-2] = bufptr[-1]; in _nc_infotocap() [all …]
|
| H A D | comp_scan.c | 174 bufptr = 0; in next_char() 182 if (bufptr == 0 || *bufptr == '\0') in next_char() 184 if (*bufptr == '\n') { in next_char() 190 } else if (!bufptr || !*bufptr) { in next_char() 233 if (*bufptr == '\t') { in next_char() 238 bufptr++; in next_char() 250 bufptr[len] = '\0'; in next_char() 267 the_char = *bufptr++; in next_char() 277 *--bufptr = (char) c; in push_back() 285 return (yyin ? ftell(yyin) : (bufptr ? bufptr - bufstart : 0)); in stream_pos() [all …]
|
| /freebsd-13.1/usr.bin/top/ |
| H A D | screen.c | 64 char *bufptr; in init_termcap() local 139 bufptr = string_buffer; in init_termcap() 144 clear_line = tgetstr("ce", &bufptr); in init_termcap() 148 if ((clear_screen = tgetstr("cl", &bufptr)) == NULL || in init_termcap() 149 (cursor_motion = tgetstr("cm", &bufptr)) == NULL) in init_termcap() 156 clear_to_end = tgetstr("cd", &bufptr); in init_termcap() 157 terminal_init = tgetstr("ti", &bufptr); in init_termcap() 158 terminal_end = tgetstr("te", &bufptr); in init_termcap() 159 start_standout = tgetstr("so", &bufptr); in init_termcap() 160 end_standout = tgetstr("se", &bufptr); in init_termcap() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/devname2devid/ |
| H A D | devname2devid.c | 48 udev_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) in udev_device_get_devid() argument 67 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid); in udev_device_get_devid() 86 (void) stpncpy(bufptr, name, buflen - 1); in udev_device_get_devid() 87 bufptr[buflen - 1] = '\0'; in udev_device_get_devid()
|
| /freebsd-13.1/libexec/bootpd/ |
| H A D | hwaddr.c | 215 char *bufptr; local 220 bufptr = haddrbuf; 222 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF)); 223 bufptr += 3; 226 bufptr[-1] = 0;
|
| /freebsd-13.1/sys/dev/iicbus/ |
| H A D | iiconf.c | 554 uint8_t *bufptr; in iicdev_writeto() local 573 bufptr = local_buffer; in iicdev_writeto() 575 bufptr = malloc(bufsize, M_DEVBUF, in iicdev_writeto() 577 if (bufptr == NULL) in iicdev_writeto() 581 bufptr[0] = regaddr; in iicdev_writeto() 582 memcpy(&bufptr[1], buffer, buflen); in iicdev_writeto() 587 msg.buf = bufptr; in iicdev_writeto() 591 if (bufptr != local_buffer) in iicdev_writeto() 592 free(bufptr, M_DEVBUF); in iicdev_writeto()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 411 zfs_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_devid() argument 430 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid); in zfs_device_get_devid() 443 (void) strlcpy(bufptr, name, buflen); in zfs_device_get_devid() 473 (void) strlcpy(bufptr, name, buflen); in zfs_device_get_devid() 488 zfs_device_get_physical(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_physical() argument 498 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 511 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 522 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 535 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 584 zfs_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_devid() argument [all …]
|
| /freebsd-13.1/usr.bin/ktrdump/ |
| H A D | ktrdump.c | 96 unsigned long bufptr; in main() local 228 kvm_read(kd, nl[3].n_value, &bufptr, in main() 229 sizeof(bufptr)) == -1 || in main() 230 kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main() 389 if (kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | refclock_acts.c | 214 char *bufptr; /* next incoming char stored here */ member 276 up->bufptr = up->buf; in acts_start() 334 octets = sizeof(up->buf) - (up->bufptr - up->buf); in acts_receive() 338 if (up->bufptr == up->buf) { in acts_receive() 342 *up->bufptr = '\0'; in acts_receive() 343 up->bufptr = up->buf; in acts_receive() 347 *up->bufptr++ = *tptr; in acts_receive() 530 up->bufptr = up->buf; in acts_timeout()
|
| /freebsd-13.1/sbin/camcontrol/ |
| H A D | persist.c | 772 uint8_t *bufptr; in scsipersist() local 774 bufptr = res_buf + in scsipersist() 778 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist() 779 bufptr += id->alloc_len; in scsipersist() 809 uint8_t *bufptr; in scsipersist() local 830 bufptr = (uint8_t *)®_move[1]; in scsipersist() 831 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist()
|
| /freebsd-13.1/sys/dev/e1000/ |
| H A D | e1000_manage.c | 230 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() local 248 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 267 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 277 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | pcap-linux.c | 1186 bufptr = buffer; 1188 while (*bufptr == ' ') 1189 bufptr++; 1190 nameptr = bufptr; 1209 bufptr = colonptr + 1; 1219 while (*bufptr == ' ') 1220 bufptr++; 1226 while (*bufptr != '\0' && *bufptr != ' ') 1227 bufptr++; 1237 bufptr++; [all …]
|
| /freebsd-13.1/sys/arm/ti/cpsw/ |
| H A D | if_cpswreg.h | 203 volatile uint32_t bufptr; member
|
| H A D | if_cpsw.c | 438 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot() 1789 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue() 1932 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue() 1954 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
|
| /freebsd-13.1/sys/dev/sound/pci/ |
| H A D | cmi.c | 520 u_int32_t physptr, bufptr, sz; in cmichan_getptr() local 531 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr() 533 return bufptr; in cmichan_getptr()
|
| /freebsd-13.1/sys/dev/tsec/ |
| H A D | if_tsec.h | 251 volatile uint32_t bufptr; /* buffer pointer */ member
|
| H A D | if_tsec.c | 505 tx_desc[i].bufptr = 0; in tsec_init_locked() 514 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked() 846 tx_desc->bufptr = segs[i].ds_addr; in tsec_encap() 1375 rx_desc->bufptr = rx_data[i].paddr; in tsec_receive_intr_locked()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.abi | 3327 <parameter type-id='26a90f95' name='bufptr'/> 3333 <parameter type-id='26a90f95' name='bufptr'/>
|