Searched refs:bufptr (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c562 save_tc_char(char *bufptr, int c1) argument
566 bufptr = save_char(bufptr, '\\');
567 bufptr = save_char(bufptr, c1);
578 bufptr = save_string(bufptr, temp);
580 return bufptr;
584 save_tc_inequality(char *bufptr, int c1, int c2) argument
586 bufptr
626 char *bufptr = init_string(); local
[all...]
H A Dcomp_scan.c102 static char *bufptr; /* otherwise, the input buffer pointer */ variable
121 bufstart = bufptr = buf;
136 size_t len = strlen(bufptr);
140 if (!isspace(UChar(bufptr[len]))) {
142 result = bufptr[(int) len - from_end];
174 bufptr = 0;
182 if (bufptr == 0 || *bufptr == '\0')
184 if (*bufptr == '\n') {
187 } else if (*bufptr
[all...]
/freebsd-current/usr.bin/top/
H A Dscreen.c62 char *bufptr; local
137 bufptr = string_buffer;
142 clear_line = tgetstr("ce", &bufptr);
146 if ((clear_screen = tgetstr("cl", &bufptr)) == NULL ||
147 (cursor_motion = tgetstr("cm", &bufptr)) == NULL)
154 clear_to_end = tgetstr("cd", &bufptr);
155 terminal_init = tgetstr("ti", &bufptr);
156 terminal_end = tgetstr("te", &bufptr);
157 start_standout = tgetstr("so", &bufptr);
158 end_standout = tgetstr("se", &bufptr);
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddevname2devid.c48 udev_device_get_devid(struct udev_device *dev, char *bufptr, size_t buflen) argument
67 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid);
86 (void) stpncpy(bufptr, name, buflen - 1);
87 bufptr[buflen - 1] = '\0';
/freebsd-current/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) argument
405 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid);
418 (void) strlcpy(bufptr, name, buflen);
448 (void) strlcpy(bufptr, name, buflen);
463 zfs_device_get_physical(struct udev_device *dev, char *bufptr, size_t buflen) argument
473 (void) strlcpy(bufptr, physpath, buflen);
486 (void) strlcpy(bufptr, physpath, buflen);
497 (void) strlcpy(bufptr, physpath, buflen);
510 (void) strlcpy(bufptr, physpath, buflen);
558 zfs_device_get_devid(struct udev_device *dev, char *bufptr, size_ argument
565 zfs_device_get_physical(struct udev_device *dev, char *bufptr, size_t buflen) argument
[all...]
/freebsd-current/sys/dev/iicbus/
H A Diiconf.c551 uint8_t *bufptr; local
570 bufptr = local_buffer;
572 bufptr = malloc(bufsize, M_DEVBUF,
574 if (bufptr == NULL)
578 bufptr[0] = regaddr;
579 memcpy(&bufptr[1], buffer, buflen);
584 msg.buf = bufptr;
588 if (bufptr != local_buffer)
589 free(bufptr, M_DEVBUF);
/freebsd-current/usr.bin/ktrdump/
H A Dktrdump.c93 unsigned long bufptr; local
225 kvm_read(kd, nl[3].n_value, &bufptr,
226 sizeof(bufptr)) == -1 ||
227 kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 ||
388 if (kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 ||
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_acts.c208 char *bufptr; /* next incoming char stored here */ member in struct:actsunit
209 char buf[BMAX]; /* bufptr roams within buf[] */
270 up->bufptr = up->buf;
328 octets = sizeof(up->buf) - (up->bufptr - up->buf);
332 if (up->bufptr == up->buf) {
336 *up->bufptr = '\0';
337 up->bufptr = up->buf;
341 *up->bufptr++ = *tptr;
522 up->bufptr = up->buf;
/freebsd-current/libexec/bootpd/
H A Dhwaddr.c206 char *bufptr; local
211 bufptr = haddrbuf;
213 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF));
214 bufptr += 3;
217 bufptr[-1] = 0;
/freebsd-current/sys/dev/e1000/
H A De1000_manage.c229 u8 *bufptr = buffer; local
247 *(tmp + j) = *bufptr++;
266 *(tmp + j) = *bufptr++;
276 *(tmp + j) = *bufptr++;
/freebsd-current/sbin/camcontrol/
H A Dpersist.c768 uint8_t *bufptr; local
770 bufptr = res_buf +
774 bcopy(id->hdr, bufptr, id->alloc_len);
775 bufptr += id->alloc_len;
805 uint8_t *bufptr; local
826 bufptr = (uint8_t *)&reg_move[1];
827 bcopy(id->hdr, bufptr, id->alloc_len);
/freebsd-current/sys/arm/ti/cpsw/
H A Dif_cpswreg.h201 volatile uint32_t bufptr; member in struct:cpsw_cpdma_bd
H A Dif_cpsw.c432 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen);
1782 bd.bufptr = seg->ds_addr;
1925 bd.bufptr = segs[0].ds_addr;
1947 bd.bufptr = segs[seg].ds_addr;
/freebsd-current/sys/dev/tsec/
H A Dif_tsec.h249 volatile uint32_t bufptr; /* buffer pointer */ member in struct:tsec_desc
H A Dif_tsec.c501 tx_desc[i].bufptr = 0;
510 rx_desc[i].bufptr = sc->rx_data[i].paddr;
842 tx_desc->bufptr = segs[i].ds_addr;
1371 rx_desc->bufptr = rx_data[i].paddr;
/freebsd-current/sys/dev/sound/pci/
H A Dcmi.c518 u_int32_t physptr, bufptr, sz; local
529 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz;
531 return bufptr;

Completed in 413 milliseconds