| /freebsd-14.2/contrib/ncurses/ncurses/tinfo/ |
| H A D | captoinfo.c | 567 bufptr = save_char(bufptr, c1); in save_tc_char() 578 bufptr = save_string(bufptr, temp); in save_tc_char() 676 bufptr = save_char(bufptr, *str++); in _nc_infotocap() 677 bufptr = save_char(bufptr, *str); in _nc_infotocap() 681 bufptr = save_char(bufptr, '0'); in _nc_infotocap() 801 bufptr = save_char(bufptr, xx1); in _nc_infotocap() 875 bufptr = save_char(bufptr, '%'); in _nc_infotocap() 888 bufptr = save_char(bufptr, '%'); in _nc_infotocap() 908 bufptr = save_char(bufptr, ch1); in _nc_infotocap() 918 bufptr[-2] = bufptr[-1]; in _nc_infotocap() [all …]
|
| H A D | comp_scan.c | 205 bufptr = 0; in next_char() 213 if (bufptr == 0 || *bufptr == '\0') in next_char() 215 if (*bufptr == '\n') { in next_char() 221 } else if (!bufptr || !*bufptr) { in next_char() 264 if (*bufptr == '\t') { in next_char() 269 bufptr++; in next_char() 298 the_char = *bufptr++; in next_char() 308 *--bufptr = (char) c; in push_back() 316 return (yyin ? ftell(yyin) : (bufptr ? (long) (bufptr - bufstart) : 0)); in stream_pos() 324 ? (feof(yyin) && (bufptr == NULL || *bufptr == '\0')) in end_of_stream() [all …]
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | screen.c | 62 char *bufptr; in init_termcap() local 137 bufptr = string_buffer; in init_termcap() 142 clear_line = tgetstr("ce", &bufptr); in init_termcap() 146 if ((clear_screen = tgetstr("cl", &bufptr)) == NULL || in init_termcap() 147 (cursor_motion = tgetstr("cm", &bufptr)) == NULL) in init_termcap() 154 clear_to_end = tgetstr("cd", &bufptr); in init_termcap() 155 terminal_init = tgetstr("ti", &bufptr); in init_termcap() 156 terminal_end = tgetstr("te", &bufptr); in init_termcap() 157 start_standout = tgetstr("so", &bufptr); in init_termcap() 158 end_standout = tgetstr("se", &bufptr); in init_termcap() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| 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-14.2/libexec/bootpd/ |
| H A D | hwaddr.c | 206 char *bufptr; in haddrtoa() local 211 bufptr = haddrbuf; in haddrtoa() 213 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF)); in haddrtoa() 214 bufptr += 3; in haddrtoa() 217 bufptr[-1] = 0; in haddrtoa()
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 386 zfs_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_devid() argument 405 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid); in zfs_device_get_devid() 418 (void) strlcpy(bufptr, name, buflen); in zfs_device_get_devid() 448 (void) strlcpy(bufptr, name, buflen); in zfs_device_get_devid() 473 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 486 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 497 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 510 (void) strlcpy(bufptr, physpath, buflen); in zfs_device_get_physical() 558 zfs_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_devid() argument 560 (void) dev, (void) bufptr, (void) buflen; in zfs_device_get_devid() [all …]
|
| /freebsd-14.2/sys/dev/iicbus/ |
| H A D | iiconf.c | 552 uint8_t *bufptr; in iicdev_writeto() local 571 bufptr = local_buffer; in iicdev_writeto() 573 bufptr = malloc(bufsize, M_DEVBUF, in iicdev_writeto() 575 if (bufptr == NULL) in iicdev_writeto() 579 bufptr[0] = regaddr; in iicdev_writeto() 580 memcpy(&bufptr[1], buffer, buflen); in iicdev_writeto() 585 msg.buf = bufptr; in iicdev_writeto() 589 if (bufptr != local_buffer) in iicdev_writeto() 590 free(bufptr, M_DEVBUF); in iicdev_writeto()
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | refclock_acts.c | 208 char *bufptr; /* next incoming char stored here */ member 270 up->bufptr = up->buf; in acts_start() 328 octets = sizeof(up->buf) - (up->bufptr - up->buf); in acts_receive() 332 if (up->bufptr == up->buf) { in acts_receive() 336 *up->bufptr = '\0'; in acts_receive() 337 up->bufptr = up->buf; in acts_receive() 341 *up->bufptr++ = *tptr; in acts_receive() 522 up->bufptr = up->buf; in acts_timeout()
|
| /freebsd-14.2/usr.bin/ktrdump/ |
| H A D | ktrdump.c | 94 unsigned long bufptr; in main() local 226 kvm_read(kd, nl[3].n_value, &bufptr, in main() 227 sizeof(bufptr)) == -1 || in main() 228 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-14.2/sbin/camcontrol/ |
| H A D | persist.c | 768 uint8_t *bufptr; in scsipersist() local 770 bufptr = res_buf + in scsipersist() 774 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist() 775 bufptr += id->alloc_len; in scsipersist() 805 uint8_t *bufptr; in scsipersist() local 826 bufptr = (uint8_t *)®_move[1]; in scsipersist() 827 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist()
|
| /freebsd-14.2/sys/dev/e1000/ |
| H A D | e1000_manage.c | 229 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() local 247 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 266 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 276 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
|
| /freebsd-14.2/sys/arm/ti/cpsw/ |
| H A D | if_cpswreg.h | 201 volatile uint32_t bufptr; member
|
| H A D | if_cpsw.c | 432 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot() 1777 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue() 1920 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue() 1942 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
|
| /freebsd-14.2/sys/dev/sound/pci/ |
| H A D | cmi.c | 518 u_int32_t physptr, bufptr, sz; in cmichan_getptr() local 529 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr() 531 return bufptr; in cmichan_getptr()
|
| /freebsd-14.2/sys/dev/tsec/ |
| H A D | if_tsec.h | 249 volatile uint32_t bufptr; /* buffer pointer */ member
|
| H A D | if_tsec.c | 495 tx_desc[i].bufptr = 0; in tsec_init_locked() 504 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked() 836 tx_desc->bufptr = segs[i].ds_addr; in tsec_encap() 1365 rx_desc->bufptr = rx_data[i].paddr; in tsec_receive_intr_locked()
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs.abi | 8414 <parameter type-id='26a90f95' name='bufptr'/> 8420 <parameter type-id='26a90f95' name='bufptr'/>
|