Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c533 bufptr = save_char(bufptr, c1); in save_tc_char()
542 bufptr = save_string(bufptr, temp); in save_tc_char()
615 bufptr = save_char(bufptr, *str++); in _nc_infotocap()
616 bufptr = save_char(bufptr, *str); in _nc_infotocap()
626 bufptr = save_char(bufptr, *++str); in _nc_infotocap()
630 bufptr = save_char(bufptr, *str++); in _nc_infotocap()
693 bufptr = save_char(bufptr, xx1); in _nc_infotocap()
766 bufptr = save_char(bufptr, '%'); in _nc_infotocap()
779 bufptr = save_char(bufptr, '%'); in _nc_infotocap()
789 bufptr = save_char(bufptr, ch1); in _nc_infotocap()
[all …]
H A Dcomp_scan.c179 if (bufptr == 0 || *bufptr == '\0') in next_char()
181 if (*bufptr == '\n') { in next_char()
187 } else if (!bufptr || !*bufptr) { in next_char()
229 if (*bufptr == '\t') { in next_char()
234 bufptr++; in next_char()
246 bufptr[len] = '\0'; in next_char()
263 the_char = *bufptr++; in next_char()
271 if (bufptr == bufstart) in push_back()
273 *--bufptr = (char) c; in push_back()
281 return (yyin ? ftell(yyin) : (bufptr ? bufptr - bufstart : 0)); in stream_pos()
[all …]
/freebsd-12.1/usr.bin/top/
H A Dscreen.c64 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-12.1/contrib/gdb/gdb/
H A Dvalprint.c1125 bufptr = buffer; in val_print_string()
1131 bufptr += nfetch * width; in val_print_string()
1150 bufptr = buffer + bufsize * width; in val_print_string()
1163 limit = bufptr + nfetch * width; in val_print_string()
1164 while (bufptr < limit) in val_print_string()
1168 c = extract_unsigned_integer (bufptr, width); in val_print_string()
1170 bufptr += width; in val_print_string()
1182 && bufptr - buffer < fetchlimit * width /* no overrun */ in val_print_string()
1187 buffer = bufptr = NULL; in val_print_string()
1224 if (errcode == 0 || bufptr > buffer) in val_print_string()
[all …]
H A Dtarget.c770 char *bufptr; in target_read_string() local
776 bufptr = buffer; in target_read_string()
798 if (bufptr - buffer + tlen > buffer_allocated) in target_read_string()
801 bytes = bufptr - buffer; in target_read_string()
804 bufptr = buffer + bytes; in target_read_string()
809 *bufptr++ = buf[i + offset]; in target_read_string()
/freebsd-12.1/libexec/bootpd/
H A Dhwaddr.c223 char *bufptr; local
228 bufptr = haddrbuf;
230 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF));
231 bufptr += 3;
234 bufptr[-1] = 0;
/freebsd-12.1/contrib/gcc/config/
H A Ddarwin-c.c344 char *bufptr; in find_subframework_file() local
350 bufptr = strchr (fname, '/'); in find_subframework_file()
353 if (bufptr == 0) in find_subframework_file()
356 fname_len = bufptr - fname; in find_subframework_file()
362 bufptr = strstr (pname, dot_framework); in find_subframework_file()
366 if (!bufptr) in find_subframework_file()
379 bufptr += strlen (dot_framework); in find_subframework_file()
381 sfrname_len = bufptr - pname; in find_subframework_file()
/freebsd-12.1/contrib/ntp/ntpd/
H A Drefclock_acts.c214 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-12.1/usr.bin/ktrdump/
H A Dktrdump.c96 unsigned long bufptr; in main() local
229 kvm_read(kd, nl[3].n_value, &bufptr, in main()
230 sizeof(bufptr)) == -1 || in main()
231 kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
390 if (kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
/freebsd-12.1/sbin/camcontrol/
H A Dpersist.c772 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 *)&reg_move[1]; in scsipersist()
831 bcopy(id->hdr, bufptr, id->alloc_len); in scsipersist()
/freebsd-12.1/sys/dev/e1000/
H A De1000_manage.c228 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() local
246 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
265 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
275 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
/freebsd-12.1/contrib/binutils/ld/
H A Ddeffilep.y850 static int bufptr = 0; variable
855 if (bufptr == buflen) in put_buf()
863 buffer[bufptr++] = c; in put_buf()
864 buffer[bufptr] = 0; /* not optimal, but very convenient. */ in put_buf()
981 bufptr = 0; in def_lex()
998 bufptr = 0; in def_lex()
1046 bufptr = 0; in def_lex()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dpex-win32.c556 char *bufptr; in win32_spawn() local
568 bufptr = env_block; in win32_spawn()
570 bufptr = stpcpy (bufptr, env_copy[var]) + 1; in win32_spawn()
572 *bufptr = '\0'; in win32_spawn()
/freebsd-12.1/contrib/binutils/gas/
H A Decoff.c3608 char *bufptr, in ecoff_add_bytes() argument
3614 at = bufptr - *buf; in ecoff_add_bytes()
3615 need -= *bufend - bufptr; in ecoff_add_bytes()
3662 char *bufptr; in ecoff_build_lineno() local
3676 bufptr = *buf + offset; in ecoff_build_lineno()
3811 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1); in ecoff_build_lineno()
3821 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 3); in ecoff_build_lineno()
3847 if (bufptr >= *bufend) in ecoff_build_lineno()
3848 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1); in ecoff_build_lineno()
3853 *bufptr++ = 0x0f; in ecoff_build_lineno()
[all …]
/freebsd-12.1/contrib/libpcap/
H A Dpcap-linux.c1163 char * bufptr; local
1184 if ((bufptr = strstr(buffer, if_name)) &&
1185 (bufptr == buffer || *(bufptr-1) == ' ') &&
1186 *(bufptr + if_name_sz) == ':')
1188 bufptr = bufptr + if_name_sz + 1;
1191 while( --field_to_convert && *bufptr != '\0')
1193 while (*bufptr != '\0' && *(bufptr++) == ' ');
1194 while (*bufptr != '\0' && *(bufptr++) != ' ');
1198 while (*bufptr != '\0' && *bufptr == ' ') bufptr++;
1200 if (*bufptr != '\0')
[all …]
/freebsd-12.1/sys/arm/ti/cpsw/
H A Dif_cpswreg.h203 volatile uint32_t bufptr; member
H A Dif_cpsw.c437 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot()
1767 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue()
1910 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue()
1932 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
/freebsd-12.1/sys/dev/sound/pci/
H A Dcmi.c521 u_int32_t physptr, bufptr, sz; in cmichan_getptr() local
532 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr()
534 return bufptr; in cmichan_getptr()
/freebsd-12.1/sys/dev/tsec/
H A Dif_tsec.c506 tx_desc[i].bufptr = 0; in tsec_init_locked()
515 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked()
848 tx_desc->bufptr = segs[i].ds_addr; in tsec_encap()
1378 rx_desc->bufptr = rx_data[i].paddr; in tsec_receive_intr_locked()
H A Dif_tsec.h251 volatile uint32_t bufptr; /* buffer pointer */ member
/freebsd-12.1/sys/dev/nand/
H A Dnand_generic.c327 const uint8_t *bufptr; in onfi_crc() local
329 bufptr = buf; in onfi_crc()
332 crc ^= *bufptr++ << 8; in onfi_crc()
/freebsd-12.1/contrib/gdb/gdb/doc/
H A Dgdb.info-33023 Fread,fd,bufptr,count
3052 Fwrite,fd,bufptr,count
3235 Fstat,pathnameptr/len,bufptr
3236 Ffstat,fd,bufptr
H A Dgdb.texinfo21110 Fread,fd,bufptr,count
21141 Fwrite,fd,bufptr,count
21340 Fstat,pathnameptr/len,bufptr
21341 Ffstat,fd,bufptr