Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/top/dist/
H A Dscreen.c217 char *bufptr; in screen_readtermcap() local
293 bufptr = string_buffer; in screen_readtermcap()
298 tc_clear_line = tgetstr("ce", &bufptr); in screen_readtermcap()
302 if ((tc_clear_screen = tgetstr("cl", &bufptr)) == NULL || in screen_readtermcap()
303 (tc_cursor_motion = tgetstr("cm", &bufptr)) == NULL) in screen_readtermcap()
310 tc_clear_to_end = tgetstr("cd", &bufptr); in screen_readtermcap()
311 terminal_init = tgetstr("ti", &bufptr); in screen_readtermcap()
312 terminal_end = tgetstr("te", &bufptr); in screen_readtermcap()
313 tc_start_standout = tgetstr("so", &bufptr); in screen_readtermcap()
314 tc_end_standout = tgetstr("se", &bufptr); in screen_readtermcap()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dbase64.d238 auto bufptr = buffer.ptr; variable
244 *bufptr++ = EncodeMap[val >> 18 ];
245 *bufptr++ = EncodeMap[val >> 12 & 0x3f];
246 *bufptr++ = EncodeMap[val >> 6 & 0x3f];
247 *bufptr++ = EncodeMap[val & 0x3f];
254 *bufptr++ = EncodeMap[val >> 18 ];
255 *bufptr++ = EncodeMap[val >> 12 & 0x3f];
260 *bufptr++ = EncodeMap[val >> 6 & 0x3f];
262 *bufptr++ = Padding;
267 *bufptr++ = Padding;
[all …]
/netbsd-src/usr.sbin/bootp/common/
H A Dhwaddr.c153 char *bufptr; in haddrtoa() local
158 bufptr = haddrbuf; in haddrtoa()
160 snprintf(bufptr, sizeof(haddrbuf) - (bufptr - haddrbuf), in haddrtoa()
162 bufptr += 3; in haddrtoa()
165 bufptr[-1] = 0; in haddrtoa()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dbase64.d239 auto bufptr = buffer.ptr; variable
245 *bufptr++ = EncodeMap[val >> 18 ];
246 *bufptr++ = EncodeMap[val >> 12 & 0x3f];
247 *bufptr++ = EncodeMap[val >> 6 & 0x3f];
248 *bufptr++ = EncodeMap[val & 0x3f];
255 *bufptr++ = EncodeMap[val >> 18 ];
256 *bufptr++ = EncodeMap[val >> 12 & 0x3f];
261 *bufptr++ = EncodeMap[val >> 6 & 0x3f];
263 *bufptr++ = Padding;
268 *bufptr++ = Padding;
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dsasl.c669 ber_slen_t ret, bufptr; in sb_sasl_generic_read() local
678 bufptr = ret; in sb_sasl_generic_read()
682 return bufptr; in sb_sasl_generic_read()
696 return bufptr ? bufptr : ret; in sb_sasl_generic_read()
726 return bufptr ? bufptr : ret; in sb_sasl_generic_read()
744 bufptr += ber_pvt_sb_copy_out( &p->buf_in, (char*) buf + bufptr, len ); in sb_sasl_generic_read()
746 return bufptr; in sb_sasl_generic_read()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/
H A Ddarwin-c.c341 const char *bufptr; in find_subframework_file() local
347 bufptr = strchr (fname, '/'); in find_subframework_file()
350 if (bufptr == 0) in find_subframework_file()
353 fname_len = bufptr - fname; in find_subframework_file()
359 bufptr = strstr (pname, dot_framework); in find_subframework_file()
363 if (!bufptr) in find_subframework_file()
376 bufptr += strlen (dot_framework); in find_subframework_file()
378 sfrname_len = bufptr - pname; in find_subframework_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/
H A Ddarwin-c.cc341 const char *bufptr; in find_subframework_file() local
347 bufptr = strchr (fname, '/'); in find_subframework_file()
350 if (bufptr == 0) in find_subframework_file()
353 fname_len = bufptr - fname; in find_subframework_file()
359 bufptr = strstr (pname, dot_framework); in find_subframework_file()
363 if (!bufptr) in find_subframework_file()
376 bufptr += strlen (dot_framework); in find_subframework_file()
378 sfrname_len = bufptr - pname; in find_subframework_file()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Dwinnt.c714 char *bufptr; in i386_find_on_wrapper_list() local
718 for (bufptr = wrapper_list_buffer; *bufptr; ++bufptr) in i386_find_on_wrapper_list()
721 if (ISSPACE (*bufptr)) in i386_find_on_wrapper_list()
723 if (*bufptr == '_') in i386_find_on_wrapper_list()
724 found = bufptr; in i386_find_on_wrapper_list()
725 while (*bufptr && !ISSPACE (*bufptr)) in i386_find_on_wrapper_list()
726 ++bufptr; in i386_find_on_wrapper_list()
727 if (*bufptr) in i386_find_on_wrapper_list()
728 *bufptr = 0; in i386_find_on_wrapper_list()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Dwinnt.cc713 char *bufptr; in i386_find_on_wrapper_list() local
717 for (bufptr = wrapper_list_buffer; *bufptr; ++bufptr) in i386_find_on_wrapper_list()
720 if (ISSPACE (*bufptr)) in i386_find_on_wrapper_list()
722 if (*bufptr == '_') in i386_find_on_wrapper_list()
723 found = bufptr; in i386_find_on_wrapper_list()
724 while (*bufptr && !ISSPACE (*bufptr)) in i386_find_on_wrapper_list()
725 ++bufptr; in i386_find_on_wrapper_list()
726 if (*bufptr) in i386_find_on_wrapper_list()
727 *bufptr = 0; in i386_find_on_wrapper_list()
/netbsd-src/sys/dev/pcmcia/
H A Dif_cnw.c687 int buffer, bufsize, bufoffset, bufptr, bufspace, len, mbytes, n; in cnw_transmit() local
702 bufptr = sc->sc_memoff + buffer + bufoffset; in cnw_transmit()
712 bufptr = sc->sc_memoff + buffer + bufoffset; in cnw_transmit()
722 bufptr, mptr, n); in cnw_transmit()
723 bufptr += n; in cnw_transmit()
743 int totbytes, buffer, bufbytes, bufptr, mbytes, n; in cnw_read() local
754 bufptr = 0; /* XXX make gcc happy */ in cnw_read()
796 bufptr = sc->sc_memoff + buffer + in cnw_read()
802 buffer, (u_long)(bufptr - buffer - in cnw_read()
808 bufptr, mptr, n); in cnw_read()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dsockbuf.c629 ber_slen_t bufptr = 0, ret, max; in sb_rdahead_read() local
641 bufptr += ret; in sb_rdahead_read()
644 if ( len == 0 ) return bufptr; in sb_rdahead_read()
658 return ( bufptr ? bufptr : ret ); in sb_rdahead_read()
662 bufptr += ber_pvt_sb_copy_out( p, (char *) buf + bufptr, len ); in sb_rdahead_read()
663 return bufptr; in sb_rdahead_read()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/
H A Dnslcd-prot.h217 (buffer + bufptr)
221 if ((bufptr + (size_t)(sz)) > buflen) \
224 tmpint32 = bufptr + (sz) - (buflen); \
231 bufptr += (size_t)(sz);
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dcollector.c355 char *bufptr = buf; in __collector_writeMetaData() local
358 int sz = __collector_xml_vsnprintf (bufptr, sizeof (buf), format, va); in __collector_writeMetaData()
365 bufptr = (char*) alloca (sz); in __collector_writeMetaData()
368 sz = __collector_xml_vsnprintf (bufptr, sz, format, va); in __collector_writeMetaData()
371 CALL_UTIL (write)(fd, bufptr, sz); in __collector_writeMetaData()
2191 char *bufptr = buf; in __collector_log_write() local
2192 int sz = __collector_xml_vsnprintf (bufptr, sizeof (buf), format, va); in __collector_log_write()
2204 bufptr = (char*) __collector_allocCSize (__collector_heap, sz, 0); in __collector_log_write()
2205 if (bufptr) in __collector_log_write()
2209 sz = __collector_xml_vsnprintf (bufptr, sz, format, va); in __collector_log_write()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dcollector.c361 char *bufptr = buf; in __collector_writeMetaData() local
364 int sz = __collector_xml_vsnprintf (bufptr, sizeof (buf), format, va); in __collector_writeMetaData()
371 bufptr = (char*) alloca (sz); in __collector_writeMetaData()
374 sz = __collector_xml_vsnprintf (bufptr, sz, format, va); in __collector_writeMetaData()
377 CALL_UTIL (write)(fd, bufptr, sz); in __collector_writeMetaData()
2195 char *bufptr = buf; in __collector_log_write() local
2196 int sz = __collector_xml_vsnprintf (bufptr, sizeof (buf), format, va); in __collector_log_write()
2208 bufptr = (char*) __collector_allocCSize (__collector_heap, sz, 0); in __collector_log_write()
2209 if (bufptr) in __collector_log_write()
2213 sz = __collector_xml_vsnprintf (bufptr, sz, format, va); in __collector_log_write()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Decoff.c1433 char *bufptr, unsigned long need);
3586 char *bufptr, in ecoff_add_bytes() argument
3592 at = bufptr - *buf; in ecoff_add_bytes()
3593 need -= *bufend - bufptr; in ecoff_add_bytes()
3640 char *bufptr; in ecoff_build_lineno() local
3654 bufptr = *buf + offset; in ecoff_build_lineno()
3787 if (bufptr >= *bufend) in ecoff_build_lineno()
3788 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1); in ecoff_build_lineno()
3789 *bufptr++ = setcount + (delta << 4); in ecoff_build_lineno()
3797 if (*bufend - bufptr < 3) in ecoff_build_lineno()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Decoff.c1433 char *bufptr, unsigned long need);
3588 char *bufptr, in ecoff_add_bytes() argument
3594 at = bufptr - *buf; in ecoff_add_bytes()
3595 need -= *bufend - bufptr; in ecoff_add_bytes()
3642 char *bufptr; in ecoff_build_lineno() local
3656 bufptr = *buf + offset; in ecoff_build_lineno()
3789 if (bufptr >= *bufend) in ecoff_build_lineno()
3790 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1); in ecoff_build_lineno()
3791 *bufptr++ = setcount + (delta << 4); in ecoff_build_lineno()
3799 if (*bufend - bufptr < 3) in ecoff_build_lineno()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dpex-win32.c602 char *bufptr; in win32_spawn() local
614 bufptr = env_block; in win32_spawn()
616 bufptr = stpcpy (bufptr, env_copy[var]) + 1; in win32_spawn()
618 *bufptr = '\0'; in win32_spawn()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dpex-win32.c602 char *bufptr; in win32_spawn() local
614 bufptr = env_block; in win32_spawn()
616 bufptr = stpcpy (bufptr, env_copy[var]) + 1; in win32_spawn()
618 *bufptr = '\0'; in win32_spawn()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dpex-win32.c602 char *bufptr; in win32_spawn() local
614 bufptr = env_block; in win32_spawn()
616 bufptr = stpcpy (bufptr, env_copy[var]) + 1; in win32_spawn()
618 *bufptr = '\0'; in win32_spawn()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dpex-win32.c602 char *bufptr; in win32_spawn() local
614 bufptr = env_block; in win32_spawn()
616 bufptr = stpcpy (bufptr, env_copy[var]) + 1; in win32_spawn()
618 *bufptr = '\0'; in win32_spawn()
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dmdb6.c2725 char *bufptr = log_buf; in report_jumbo_ranges() local
2732 *bufptr = '\0'; in report_jumbo_ranges()
2737 *bufptr++ = ','; in report_jumbo_ranges()
2738 *bufptr++ = ' '; in report_jumbo_ranges()
2739 *bufptr = '\0'; in report_jumbo_ranges()
2745 bufptr, INET6_ADDRSTRLEN); in report_jumbo_ranges()
2747 used = strlen(bufptr); in report_jumbo_ranges()
2748 bufptr += used; in report_jumbo_ranges()
2752 sprintf (bufptr, "/%d",pool->bits); in report_jumbo_ranges()
2753 used = strlen(bufptr); in report_jumbo_ranges()
[all …]
/netbsd-src/sys/dev/marvell/
H A Dmvgbereg.h791 uint32_t bufptr; /* Descriptor buffer pointer */ member
796 uint32_t bufptr; /* Descriptor buffer pointer */
808 uint32_t bufptr; /* Descriptor buffer pointer */ member
813 uint32_t bufptr; /* Descriptor buffer pointer */
/netbsd-src/sys/external/bsd/dwc2/dist/
H A Ddwc2_hcd.c622 void *bufptr = NULL; in dwc2_hc_init_xfer() local
644 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb); in dwc2_hc_init_xfer()
672 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb); in dwc2_hc_init_xfer()
677 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb); in dwc2_hc_init_xfer()
703 bufptr = (u8 *)urb->buf + frame_desc->offset + in dwc2_hc_init_xfer()
715 return bufptr; in dwc2_hc_init_xfer()
720 struct dwc2_hcd_urb *urb, void *bufptr) in dwc2_hc_setup_align_buf() argument
754 memcpy(qh->dw_align_buf, bufptr, in dwc2_hc_setup_align_buf()
783 void *bufptr = NULL; in dwc2_assign_and_init_hc() local
855 bufptr = dwc2_hc_init_xfer(hsotg, chan, qtd, urb); in dwc2_assign_and_init_hc()
[all …]
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Ddeffilep.y1384 static int bufptr = 0; variable
1389 if (bufptr == buflen) in put_buf()
1397 buffer[bufptr++] = c; in put_buf()
1398 buffer[bufptr] = 0; /* not optimal, but very convenient. */ in put_buf()
1516 bufptr = 0; in def_lex()
1533 bufptr = 0; in def_lex()
1581 bufptr = 0; in def_lex()
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Ddeffilep.y1280 static int bufptr = 0; variable
1285 if (bufptr == buflen) in put_buf()
1293 buffer[bufptr++] = c; in put_buf()
1294 buffer[bufptr] = 0; /* not optimal, but very convenient. */ in put_buf()
1411 bufptr = 0; in def_lex()
1428 bufptr = 0; in def_lex()
1476 bufptr = 0; in def_lex()

12