Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
HDcaptoinfo.c526 save_tc_char(char *bufptr, int c1) in save_tc_char() argument
532 bufptr = save_char(bufptr, '\\'); in save_tc_char()
533 bufptr = save_char(bufptr, c1); in save_tc_char()
542 bufptr = save_string(bufptr, temp); in save_tc_char()
544 return bufptr; in save_tc_char()
548 save_tc_inequality(char *bufptr, int c1, int c2) in save_tc_inequality() argument
550 bufptr = save_string(bufptr, "%>"); in save_tc_inequality()
551 bufptr = save_tc_char(bufptr, c1); in save_tc_inequality()
552 bufptr = save_tc_char(bufptr, c2); in save_tc_inequality()
553 return bufptr; in save_tc_inequality()
[all …]
HDcomp_scan.c101 static char *bufptr; /* otherwise, the input buffer pointer */ variable
120 bufstart = bufptr = buf; in _nc_reset_input()
135 size_t len = strlen(bufptr); in last_char()
139 if (!isspace(UChar(bufptr[len]))) { in last_char()
141 result = bufptr[(int) len - from_end]; in last_char()
179 if (bufptr == 0 || *bufptr == '\0') in next_char()
181 if (*bufptr == '\n') { in next_char()
184 } else if (*bufptr == '\t') { in next_char()
187 } else if (!bufptr || !*bufptr) { in next_char()
226 if ((bufptr = bufstart) != 0) { in next_char()
[all …]
/freebsd-11-stable/contrib/top/
HDscreen.c106 char *bufptr; local
183 bufptr = string_buffer;
188 clear_line = tgetstr("ce", &bufptr);
192 if ((clear_screen = tgetstr("cl", &bufptr)) == NULL ||
193 (cursor_motion = tgetstr("cm", &bufptr)) == NULL)
200 clear_to_end = tgetstr("cd", &bufptr);
201 terminal_init = tgetstr("ti", &bufptr);
202 terminal_end = tgetstr("te", &bufptr);
203 start_standout = tgetstr("so", &bufptr);
204 end_standout = tgetstr("se", &bufptr);
[all …]
/freebsd-11-stable/contrib/gdb/gdb/
HDvalprint.c1090 char *bufptr; /* Pointer to next available byte in buffer. */ in val_print_string() local
1125 bufptr = buffer; in val_print_string()
1128 nfetch = partial_memory_read (addr, bufptr, len * width, &errcode) in val_print_string()
1131 bufptr += nfetch * width; in val_print_string()
1150 bufptr = buffer + bufsize * width; in val_print_string()
1154 nfetch = partial_memory_read (addr, bufptr, nfetch * width, &errcode) 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()
[all …]
HDtarget.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-11-stable/libexec/bootpd/
HDhwaddr.c223 char *bufptr; local
228 bufptr = haddrbuf;
230 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF));
231 bufptr += 3;
234 bufptr[-1] = 0;
/freebsd-11-stable/contrib/gcc/config/
HDdarwin-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-11-stable/usr.bin/ktrdump/
HDktrdump.c92 unsigned long bufptr; in main() local
196 kvm_read(kd, nl[3].n_value, &bufptr, in main()
197 sizeof(bufptr)) == -1 || in main()
198 kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
357 if (kvm_read(kd, bufptr, buf, sizeof(*buf) * entries) == -1 || in main()
/freebsd-11-stable/contrib/ntp/ntpd/
HDrefclock_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-11-stable/sbin/camcontrol/
HDpersist.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-11-stable/sys/dev/e1000/
HDe1000_manage.c227 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() local
245 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
264 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
274 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
/freebsd-11-stable/contrib/binutils/ld/
HDdeffilep.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-11-stable/contrib/gcclibs/libiberty/
HDpex-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-11-stable/contrib/binutils/gas/
HDecoff.c1436 char *bufptr, unsigned long need);
3608 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()
3810 if (bufptr >= *bufend) in ecoff_build_lineno()
3811 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1); in ecoff_build_lineno()
3812 *bufptr++ = setcount + (delta << 4); in ecoff_build_lineno()
3820 if (*bufend - bufptr < 3) in ecoff_build_lineno()
[all …]
/freebsd-11-stable/sys/arm/at91/
HDboard_tsc4370.c220 uint8_t *bufptr = (uint8_t *)buf; in eeprom_read() local
249 *bufptr++ = (uint8_t)RD4HW(AT91RM92_TWI_BASE, TWI_RHR); in eeprom_read()
260 *bufptr = (uint8_t)RD4HW(AT91RM92_TWI_BASE, TWI_RHR); in eeprom_read()
/freebsd-11-stable/contrib/libpcap/
HDpcap-linux.c1161 char *bufptr, *nameptr, *colonptr; local
1186 bufptr = buffer;
1188 while (*bufptr == ' ')
1189 bufptr++;
1190 nameptr = bufptr;
1209 bufptr = colonptr + 1;
1212 while (--field_to_convert && *bufptr != '\0')
1219 while (*bufptr == ' ')
1220 bufptr++;
1226 while (*bufptr != '\0' && *bufptr != ' ')
[all …]
/freebsd-11-stable/sys/arm/ti/cpsw/
HDif_cpswreg.h201 volatile uint32_t bufptr; member
HDif_cpsw.c434 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot()
1758 bd.bufptr = seg->ds_addr; in cpsw_rx_enqueue()
1901 bd.bufptr = segs[0].ds_addr; in cpswp_tx_enqueue()
1923 bd.bufptr = segs[seg].ds_addr; in cpswp_tx_enqueue()
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
HDrcslex.c1030 char *bufptr = (char *) f->base; local
1033 ssize_t r = read(fd, bufptr, bufsiz);
1045 bufptr += r;
/freebsd-11-stable/sys/dev/sound/pci/
HDcmi.c519 u_int32_t physptr, bufptr, sz; in cmichan_getptr() local
530 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr()
532 return bufptr; in cmichan_getptr()
/freebsd-11-stable/sys/dev/tsec/
HDif_tsec.c490 tx_desc[i].bufptr = 0; in tsec_init_locked()
499 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked()
828 tx_desc->bufptr = segs[seg].ds_addr; in tsec_encap()
1362 rx_desc->bufptr = rx_data[i].paddr; in tsec_receive_intr_locked()
HDif_tsec.h327 volatile uint32_t bufptr; /* buffer pointer */ member
/freebsd-11-stable/sys/dev/nand/
HDnand_generic.c327 const uint8_t *bufptr; in onfi_crc() local
329 bufptr = buf; in onfi_crc()
332 crc ^= *bufptr++ << 8; in onfi_crc()
/freebsd-11-stable/contrib/gdb/gdb/doc/
HDgdb.info-33023 Fread,fd,bufptr,count
3052 Fwrite,fd,bufptr,count
3235 Fstat,pathnameptr/len,bufptr
3236 Ffstat,fd,bufptr
HDgdb.texinfo21110 Fread,fd,bufptr,count
21141 Fwrite,fd,bufptr,count
21340 Fstat,pathnameptr/len,bufptr
21341 Ffstat,fd,bufptr