/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | captoinfo.c | 562 save_tc_char(char *bufptr, int c1) in save_tc_char() argument 566 bufptr = save_char(bufptr, '\\'); in save_tc_char() 567 bufptr = save_char(bufptr, c1); in save_tc_char() 578 bufptr = save_string(bufptr, temp); in save_tc_char() 580 return bufptr; in save_tc_char() 584 save_tc_inequality(char *bufptr, int c1, int c2) in save_tc_inequality() argument 586 bufptr = save_string(bufptr, "%>"); in save_tc_inequality() 587 bufptr = save_tc_char(bufptr, c1); in save_tc_inequality() 588 bufptr = save_tc_char(bufptr, c2); in save_tc_inequality() 589 return bufptr; in save_tc_inequality() [all …]
|
H A D | comp_scan.c | 102 static char *bufptr; /* otherwise, the input buffer pointer */ variable 124 bufstart = bufptr = buf; in _nc_reset_input() 141 size_t len = strlen(bufptr); in last_char() 145 if (!isspace(UChar(bufptr[len]))) { in last_char() 147 result = bufptr[(int) len - from_end]; in last_char() 205 bufptr = 0; in next_char() 213 if (bufptr == 0 || *bufptr == '\0') in next_char() 215 if (*bufptr == '\n') { in next_char() 218 } else if (*bufptr == '\t') { in next_char() 221 } else if (!bufptr || !*bufptr) { in next_char() [all …]
|
/freebsd/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/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() 463 zfs_device_get_physical(struct udev_device *dev, char *bufptr, size_t buflen) in zfs_device_get_physical() argument 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 [all …]
|
/freebsd/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/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/sys/dev/iicbus/ |
H A D | iiconf.c | 551 uint8_t *bufptr; in iicdev_writeto() local 570 bufptr = local_buffer; in iicdev_writeto() 572 bufptr = malloc(bufsize, M_DEVBUF, in iicdev_writeto() 574 if (bufptr == NULL) in iicdev_writeto() 578 bufptr[0] = regaddr; in iicdev_writeto() 579 memcpy(&bufptr[1], buffer, buflen); in iicdev_writeto() 584 msg.buf = bufptr; in iicdev_writeto() 588 if (bufptr != local_buffer) in iicdev_writeto() 589 free(bufptr, M_DEVBUF); in iicdev_writeto()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_acts.c | 208 char *bufptr; /* next incoming char stored here */ member 209 char buf[BMAX]; /* bufptr roams within buf[] */ 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/usr.bin/ktrdump/ |
H A D | ktrdump.c | 93 unsigned long bufptr; in main() local 225 kvm_read(kd, nl[3].n_value, &bufptr, in main() 226 sizeof(bufptr)) == -1 || in main() 227 kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main() 388 if (kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
|
/freebsd/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/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/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() 1773 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue() 1916 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue() 1938 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
|
/freebsd/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/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/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs.abi | 8979 <parameter type-id='26a90f95' name='bufptr'/> 8985 <parameter type-id='26a90f95' name='bufptr'/>
|