Home
last modified time | relevance | path

Searched refs:bufptr (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c567 bufptr = save_char(bufptr, c1); in save_tc_char()
578 bufptr = save_string(bufptr, temp); in save_tc_char()
673 bufptr = save_char(bufptr, *str++); in _nc_infotocap()
674 bufptr = save_char(bufptr, *str); in _nc_infotocap()
684 bufptr = save_char(bufptr, *++str); in _nc_infotocap()
793 bufptr = save_char(bufptr, xx1); in _nc_infotocap()
867 bufptr = save_char(bufptr, '%'); in _nc_infotocap()
880 bufptr = save_char(bufptr, '%'); in _nc_infotocap()
900 bufptr = save_char(bufptr, ch1); in _nc_infotocap()
910 bufptr[-2] = bufptr[-1]; in _nc_infotocap()
[all …]
H A Dcomp_scan.c174 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/usr.bin/top/
H A Dscreen.c62 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/tests/zfs-tests/cmd/
H A Ddevname2devid.c48 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/libexec/bootpd/
H A Dhwaddr.c206 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/lib/libzutil/os/linux/
H A Dzutil_import_os.c386 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/sys/dev/iicbus/
H A Diiconf.c551 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 Drefclock_acts.c208 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/usr.bin/ktrdump/
H A Dktrdump.c93 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 Dpersist.c768 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 *)&reg_move[1]; in scsipersist()
827 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist()
/freebsd/sys/dev/e1000/
H A De1000_manage.c229 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 Dif_cpswreg.h201 volatile uint32_t bufptr; member
H A Dif_cpsw.c432 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot()
1782 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue()
1925 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue()
1947 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
/freebsd/sys/dev/sound/pci/
H A Dcmi.c518 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 Dif_tsec.h249 volatile uint32_t bufptr; /* buffer pointer */ member
H A Dif_tsec.c501 tx_desc[i].bufptr = 0; in tsec_init_locked()
510 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked()
842 tx_desc->bufptr = segs[i].ds_addr; in tsec_encap()
1371 rx_desc->bufptr = rx_data[i].paddr; in tsec_receive_intr_locked()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi8637 <parameter type-id='26a90f95' name='bufptr'/>
8643 <parameter type-id='26a90f95' name='bufptr'/>