| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | picohttpparser.c | 60 if (buf == buf_end) { \ 81 buf = findchar_fast(buf, buf_end, ranges2, 4, &found2); \ 114 findchar_fast(const char *buf, const char *buf_end, const char *ranges, in findchar_fast() argument 118 if (likely(buf_end - buf >= 16)) { in findchar_fast() 121 size_t left = (buf_end - buf) & ~15; in findchar_fast() 139 (void)buf_end; in findchar_fast() 147 get_token_to_eol(const char *buf, const char *buf_end, const char **token, in get_token_to_eol() argument 158 buf = findchar_fast(buf, buf_end, ranges1, 6, &found); in get_token_to_eol() 164 while (likely(buf_end - buf >= 8)) { in get_token_to_eol() 220 is_complete(const char *buf, const char *buf_end, size_ argument 268 parse_token(const char * buf,const char * buf_end,const char ** token,size_t * token_len,char next_char,int * ret) parse_token() argument 306 parse_http_version(const char * buf,const char * buf_end,int * minor_version,int * ret) parse_http_version() argument 325 parse_headers(const char * buf,const char * buf_end,struct phr_header * headers,size_t * num_headers,size_t max_headers,int * ret) parse_headers() argument 389 parse_request(const char * buf,const char * buf_end,const char ** method,size_t * method_len,const char ** path,size_t * path_len,int * minor_version,struct phr_header * headers,size_t * num_headers,size_t max_headers,int * ret) parse_request() argument 445 const char *buf = buf_start, *buf_end = buf_start + len; phr_parse_request() local 473 parse_response(const char * buf,const char * buf_end,int * minor_version,int * status,const char ** msg,size_t * msg_len,struct phr_header * headers,size_t * num_headers,size_t max_headers,int * ret) parse_response() argument 530 const char *buf = buf_start, *buf_end = buf + len; phr_parse_response() local 559 const char *buf = buf_start, *buf_end = buf + len; phr_parse_headers() local [all...] |
| /netbsd-src/sys/external/bsd/drm2/dist/drm/via/ |
| H A D | via_verifier.c | 244 eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words) in eat_words() argument 246 if ((buf_end - *buf) >= num_words) { in eat_words() 526 via_check_prim_list(uint32_t const **buffer, const uint32_t * buf_end, in via_check_prim_list() argument 536 while (buf < buf_end) { in via_check_prim_list() 538 if ((buf_end - buf) < 2) { in via_check_prim_list() 585 while (buf < buf_end) { in via_check_prim_list() 598 if (buf < buf_end && *buf == a_fire) in via_check_prim_list() 610 if ((ret = eat_words(&buf, buf_end, dw_count))) in via_check_prim_list() 613 if (buf >= buf_end && !have_fire) { in via_check_prim_list() 630 via_check_header2(uint32_t const **buffer, const uint32_t *buf_end, in via_check_header2() argument [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/include/ |
| H A D | leb128.h | 54 read_uleb128_to_uint64 (const unsigned char *buf, const unsigned char *buf_end, in read_uleb128_to_uint64() argument 64 if (p >= buf_end) in read_uleb128_to_uint64() 87 read_sleb128_to_int64 (const unsigned char *buf, const unsigned char *buf_end, in read_sleb128_to_int64() argument 97 if (p >= buf_end) in read_sleb128_to_int64() 120 skip_leb128 (const unsigned char *buf, const unsigned char *buf_end) in skip_leb128() argument 127 if (p == buf_end) in skip_leb128()
|
| /netbsd-src/external/gpl3/binutils/dist/include/ |
| H A D | leb128.h | 54 read_uleb128_to_uint64 (const unsigned char *buf, const unsigned char *buf_end, in read_uleb128_to_uint64() argument 64 if (p >= buf_end) in read_uleb128_to_uint64() 87 read_sleb128_to_int64 (const unsigned char *buf, const unsigned char *buf_end, in read_sleb128_to_int64() argument 97 if (p >= buf_end) in read_sleb128_to_int64() 120 skip_leb128 (const unsigned char *buf, const unsigned char *buf_end) in skip_leb128() argument 127 if (p == buf_end) in skip_leb128()
|
| /netbsd-src/external/gpl3/gcc/dist/include/ |
| H A D | leb128.h | 54 read_uleb128_to_uint64 (const unsigned char *buf, const unsigned char *buf_end, in read_uleb128_to_uint64() argument 64 if (p >= buf_end) in read_uleb128_to_uint64() 87 read_sleb128_to_int64 (const unsigned char *buf, const unsigned char *buf_end, in read_sleb128_to_int64() argument 97 if (p >= buf_end) in read_sleb128_to_int64() 120 skip_leb128 (const unsigned char *buf, const unsigned char *buf_end) in skip_leb128() argument 127 if (p == buf_end) in skip_leb128()
|
| /netbsd-src/external/gpl3/binutils.old/dist/include/ |
| H A D | leb128.h | 54 read_uleb128_to_uint64 (const unsigned char *buf, const unsigned char *buf_end, in read_uleb128_to_uint64() argument 64 if (p >= buf_end) in read_uleb128_to_uint64() 87 read_sleb128_to_int64 (const unsigned char *buf, const unsigned char *buf_end, in read_sleb128_to_int64() argument 97 if (p >= buf_end) in read_sleb128_to_int64() 120 skip_leb128 (const unsigned char *buf, const unsigned char *buf_end) in skip_leb128() argument 127 if (p == buf_end) in skip_leb128()
|
| /netbsd-src/usr.sbin/intrctl/ |
| H A D | intrctl_io.c | 111 char *buf_end; in intrctl_io_firstline() local 113 buf_end = (char *)list + list->il_bufsize; in intrctl_io_firstline() 115 if ((char *)next >= buf_end) in intrctl_io_firstline() 127 char *buf_end; in intrctl_io_nextline() local 130 buf_end = (char *)list + list->il_bufsize; in intrctl_io_nextline() 134 if ((char *)next >= buf_end) in intrctl_io_nextline()
|
| /netbsd-src/external/bsd/top/dist/ |
| H A D | ap_snprintf.c | 353 register bool_int *is_negative, char *buf_end, in conv_10() argument 356 register char *p = buf_end; in conv_10() 395 *len = buf_end - p; in conv_10() 400 register bool_int *is_negative, char *buf_end, in conv_10_quad() argument 403 register char *p = buf_end; in conv_10_quad() 413 buf_end, len)); in conv_10_quad() 451 *len = buf_end - p; in conv_10_quad() 457 static char *conv_in_addr(struct in_addr *ia, char *buf_end, int *len) in conv_in_addr() argument 460 char *p = buf_end; in conv_in_addr() 472 *len = buf_end - p; in conv_in_addr() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
| H A D | meter.c | 236 char *buf, *buf_end; in text_update() local 245 buf_end = buf + data->buffer_length - 1; in text_update() 270 assert( (buf_end - buf) > bar_length ); in text_update() 280 (void) snprintf( buf, buf_end-buf, "%7.2f%%", 100.0*frac ); in text_update() 290 snprintf( buf, buf_end-buf, " eta %6s", time_buffer ); in text_update() 294 snprintf( buf, buf_end-buf, " elapsed %15s", in text_update() 309 snprintf( buf, buf_end-buf, " fast!" ); in text_update() 312 snprintf( buf, buf_end-buf, " spd %5.1f %c/s", in text_update()
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | sasl.c | 650 len = p->sec_buf_in.buf_ptr - p->sec_buf_in.buf_end; in sb_sasl_generic_drop_packet() 653 p->sec_buf_in.buf_end, len ); in sb_sasl_generic_drop_packet() 656 p->sec_buf_in.buf_end = sb_sasl_generic_pkt_length(p, in sb_sasl_generic_drop_packet() 660 p->sec_buf_in.buf_end = 0; in sb_sasl_generic_drop_packet() 712 p->sec_buf_in.buf_end = ret; in sb_sasl_generic_read() 715 while ( p->sec_buf_in.buf_ptr < p->sec_buf_in.buf_end ) { in sb_sasl_generic_read() 717 ret = p->sec_buf_in.buf_end - p->sec_buf_in.buf_ptr; in sb_sasl_generic_read() 762 if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) { in sb_sasl_generic_write() 767 if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) { in sb_sasl_generic_write() 806 } else if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) { in sb_sasl_generic_write() [all …]
|
| H A D | gssapi.c | 224 dst->buf_end = pkt_len; in sb_sasl_gssapi_encode() 258 wrapped.length = src->buf_end - 4; in sb_sasl_gssapi_decode() 302 dst->buf_end = unwrapped.length; in sb_sasl_gssapi_decode()
|
| H A D | cyrus.c | 167 dst->buf_end = dst->buf_size; in sb_sasl_cyrus_encode() 190 src->buf_base, src->buf_end, in sb_sasl_cyrus_decode() 196 dst->buf_end = dst->buf_size; in sb_sasl_cyrus_decode()
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblber/ |
| H A D | sockbuf.c | 254 buf->buf_end = 0; in ber_pvt_sb_buf_init() 301 max = sbb->buf_end - sbb->buf_ptr; in ber_pvt_sb_copy_out() 306 if ( sbb->buf_ptr >= sbb->buf_end ) { in ber_pvt_sb_copy_out() 307 sbb->buf_ptr = sbb->buf_end = 0; in ber_pvt_sb_copy_out() 322 to_go = buf_out->buf_end - buf_out->buf_ptr; in ber_pvt_sb_do_write() 337 if (buf_out->buf_ptr == buf_out->buf_end) { in ber_pvt_sb_do_write() 338 buf_out->buf_end = buf_out->buf_ptr = 0; in ber_pvt_sb_do_write() 616 if ( p->buf_ptr != p->buf_end ) return -1; in sb_rdahead_remove() 646 max = p->buf_size - p->buf_end; in sb_rdahead_read() 649 ret = LBER_SBIOD_READ_NEXT( sbiod, p->buf_base + p->buf_end, in sb_rdahead_read() [all …]
|
| /netbsd-src/external/bsd/cron/dist/ |
| H A D | misc.c | 72 char *buf_end; in glue_strings() local 76 buf_end = buffer + buffer_size; in glue_strings() 79 for ( /* nothing */; buf < buf_end && *a != '\0'; buf++, a++ ) in glue_strings() 81 if (buf == buf_end) in glue_strings() 85 if (buf == buf_end) in glue_strings() 87 for ( /* nothing */; buf < buf_end && *b != '\0'; buf++, b++ ) in glue_strings() 89 if (buf == buf_end) in glue_strings()
|
| /netbsd-src/usr.bin/fmt/ |
| H A D | fmt.c | 172 buf_end(&outbuf); in main() 315 buf_end(&cbuf); in fmt() 316 buf_end(&lbuf); in fmt() 421 buf_end(&word); in split()
|
| H A D | buffer.h | 55 buf_end(struct buffer *buf) in buf_end() function
|
| /netbsd-src/sys/arch/x68k/stand/libiocs/ |
| H A D | iocs.h | 67 void *buf_end; member 84 void *buf_end; member 105 const void *buf_end; member
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | dwarf2.c | 819 bfd_byte *buf_end) in read_string() argument 824 while (buf < buf_end) in read_string() 848 bfd_byte *buf_end) in read_indirect_string() argument 855 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_string() 857 *ptr = buf_end; in read_indirect_string() 862 offset = read_4_bytes (unit->abfd, ptr, buf_end); in read_indirect_string() 864 offset = read_8_bytes (unit->abfd, ptr, buf_end); in read_indirect_string() 882 bfd_byte *buf_end) in read_indirect_line_string() argument 889 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_line_string() 891 *ptr = buf_end; in read_indirect_line_string() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | dwarf2.c | 867 bfd_byte *buf_end) in read_string() argument 872 while (buf < buf_end) in read_string() 896 bfd_byte *buf_end) in read_indirect_string() argument 903 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_string() 905 *ptr = buf_end; in read_indirect_string() 910 offset = read_4_bytes (unit->abfd, ptr, buf_end); in read_indirect_string() 912 offset = read_8_bytes (unit->abfd, ptr, buf_end); in read_indirect_string() 930 bfd_byte *buf_end) in read_indirect_line_string() argument 937 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_line_string() 939 *ptr = buf_end; in read_indirect_line_string() [all …]
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | pattern.c | 267 char *buf_end = buf + buf_len; in match() local 269 for ( ; buf < buf_end; buf++) in match() 279 if (pp == pattern_end || lp == buf_end) in match()
|
| /netbsd-src/sys/dev/ |
| H A D | midi.c | 967 if (buf_cur + appetite > buf_end) { in midiread() 970 buf_end - buf_cur)); in midiread() 972 error = uiomove(buf_cur, buf_end - buf_cur, uio); in midiread() 980 appetite -= buf_end - buf_cur; in midiread() 1456 (void)buf_end; (void)idx_end; in midiwrite() 1607 (void)buf_end; in midiioctl() 1702 (void)buf_end; (void)idx_end; in midipoll() 1756 (void)buf_end; in filt_midiread() 1794 (void)idx_end; (void)buf_end; in filt_midiwrite()
|
| /netbsd-src/usr.bin/make/ |
| H A D | parse.c | 135 char *buf_end; /* buf_end[-1] == '\n' */ member 2178 curFile->buf_end = curFile->buf.data + curFile->buf.len; in Parse_PushInput() 2302 curFile->buf_end = curFile->buf.data + curFile->buf.len; in ParseEOF() 2361 char *buf_end = curFile->buf_end; in ParseRawLine() 2373 if (p == buf_end) { in ParseRawLine() 2390 if (p + 2 == buf_end) { in ParseRawLine() 2399 assert(p <= buf_end); in ParseRawLine() 2360 char *buf_end = curFile->buf_end; ParseRawLine() local
|
| /netbsd-src/external/bsd/openldap/dist/include/ |
| H A D | lber_pvt.h | 49 ber_len_t buf_end; member
|
| /netbsd-src/sys/dev/pci/qat/ |
| H A D | qat.c | 2186 uint8_t *buf_start, *data_start, *data_end, *buf_end; in qat_dump_mbuf() local 2201 buf_end = buf_start + in qat_dump_mbuf() 2206 buf_end = buf_start +m->m_ext.ext_size; in qat_dump_mbuf() 2211 buf_end = data_end; in qat_dump_mbuf() 2219 if (end > buf_end) in qat_dump_mbuf() 2220 end = buf_end; in qat_dump_mbuf()
|
| /netbsd-src/external/cddl/osnet/dist/common/nvpair/ |
| H A D | nvpair.c | 2921 char *buf_end = (char *)nvp + nvp->nvp_size; in nvs_xdr_nvp_op() local 2930 if ((buf = NVP_NAME(nvp)) >= buf_end) in nvs_xdr_nvp_op() 2932 buflen = buf_end - buf; in nvs_xdr_nvp_op() 2959 if ((buf = NVP_VALUE(nvp)) >= buf_end) in nvs_xdr_nvp_op() 2961 buflen = buf_end - buf; in nvs_xdr_nvp_op()
|