| /netbsd/src/bin/pax/ |
| D | buf_subs.c | 76 static char *bufend; /* end or last char in i/o buffer */ variable 124 bufend = buf + wrblksz; in wr_start() 165 bufend = buf + rdblksz; in rd_start() 166 bufpt = bufend; in rd_start() 247 skcnt += bufend - bufpt; in appnd_start() 266 bufend = buf + blksz; in appnd_start() 267 while (bufpt < bufend) { in appnd_start() 275 bufend = buf + blksz; in appnd_start() 280 bufend = buf + blksz; in appnd_start() 347 bufend = buf + res; in rd_sync() [all …]
|
| /netbsd/src/lib/libc/stdlib/ |
| D | strfmon.c | 96 *--bufend = *(avalue + avalue_size + padded); \ 101 bufend -= thousands_sep_size; \ 102 memcpy(bufend, thousands_sep, thousands_sep_size); \ 537 char *bufend; in __format_grouped_double() local 592 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */ in __format_grouped_double() 602 bufend -= right_prec; in __format_grouped_double() 603 memcpy(bufend, avalue + avalue_size + padded - right_prec, in __format_grouped_double() 605 bufend -= decimal_point_size; in __format_grouped_double() 606 memcpy(bufend, decimal_point, decimal_point_size); in __format_grouped_double() 636 bufend -= avalue_size; in __format_grouped_double() [all …]
|
| /netbsd/src/usr.bin/sort/ |
| D | files.c | 91 makeline(FILE *fp, RECHEADER *recbuf, u_char *bufend, struct field *dummy2) in makeline() argument 112 while (pos < bufend) { in makeline() 132 if (recbuf->data < bufend) { in makeline() 144 makekey(FILE *fp, RECHEADER *recbuf, u_char *bufend, struct field *ftbl) in makekey() argument 152 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl); in makekey() 162 if (line_size > bufend - recbuf->data) { in makekey() 165 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl); in makekey()
|
| D | fsort.c | 88 u_char *bufend; in fsort() local 99 bufend = (u_char *)buffer + bufsize; in fsort() 127 c = get(fp, crec, bufend, ftbl); in fsort() 169 bufend = (u_char *)buffer + bufsize; in fsort()
|
| D | fields.c | 251 number(u_char *pos, const u_char *bufend, u_char *line, u_char *lineend, in number() argument 268 bufend--; in number() 271 if (pos + 1 + MAX_EXP_ENC > bufend) in number() 337 if (pos >= bufend) in number() 372 length(u_char *pos, const u_char *bufend, u_char *line, u_char *lineend, in length() argument 379 return number(pos, bufend, buf, buf + l, flag); in length()
|
| /netbsd/src/external/bsd/tmux/dist/ |
| D | cmd-paste-buffer.c | 53 const char *sepstr, *bufname, *bufdata, *bufend, *line; in cmd_paste_buffer_exec() local 90 bufend = bufdata + bufsize; in cmd_paste_buffer_exec() 93 line = memchr(bufdata, '\n', bufend - bufdata); in cmd_paste_buffer_exec() 102 if (bufdata != bufend) in cmd_paste_buffer_exec() 103 bufferevent_write(wp->event, bufdata, bufend - bufdata); in cmd_paste_buffer_exec()
|
| /netbsd/src/external/gpl3/binutils/dist/gas/ |
| D | ecoff.c | 1432 static char *ecoff_add_bytes (char **buf, char **bufend, 1435 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1438 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1441 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1444 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1447 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1449 static unsigned long ecoff_build_strings (char **buf, char **bufend, 1453 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1456 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 3585 char **bufend, in ecoff_add_bytes() argument [all …]
|
| /netbsd/src/external/bsd/ipf/dist/ipsd/ |
| D | sbpf.c | 95 register u_char *bp, *cp, *bufend; local 105 bufend = buf + cc; 109 while (bp < bufend) {
|
| D | snit.c | 81 register u_char *bp, *cp, *bufend; local 94 bufend = buf + cc; 98 while (bp < bufend) {
|
| D | sdlpi.c | 87 register u_char *bp, *cp, *bufend; local 118 bufend = buf + cc; 122 while (bp < bufend) {
|
| /netbsd/src/usr.bin/mail/ |
| D | support.c | 457 char *bufend; in skin() local 470 bufend = nbuf; in skin() 471 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; /*EMPTY*/) { in skin() 508 cp2 = bufend; in skin() 545 bufend = cp2; in skin()
|
| D | format.c | 376 snarf_comment(char **buf, char *bufend, const char *string) in snarf_comment() argument 384 qend = buf ? bufend : NULL; in snarf_comment() 415 snarf_quote(char **buf, char *bufend, const char *string) in snarf_quote() argument 422 qend = buf ? bufend : NULL; in snarf_quote()
|
| /netbsd/src/external/gpl2/xcvs/dist/diff/ |
| D | io.c | 207 char const *bufend = current->buffer + current->buffered_chars; local 284 if ((char const *) p == bufend 295 bufend = suffix_begin = (char const *) p; 362 if ((char const *) p == bufend)
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | glob.c | 177 Char *bufnext, *bufend, patbuf[MaxPathLen+1]; in glob() local 191 bufend = bufnext + MaxPathLen; in glob() 194 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS) in glob() 206 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS) in glob()
|
| /netbsd/src/sys/arch/sparc/stand/bootblk/ |
| D | bootblk.fth | 646 2dup + nip ( str len buf bufend ) 647 swap 2swap rot ( bufend str len direct ) 648 begin dup 4 pick < while ( bufend str len direct ) 649 dup d_ino l@ 0<> if ( bufend str len direct ) 654 2dup d_namlen c@ = if ( bufend str len direct ) 655 dup d_name 2over ( bufend str len direct dname str len ) 656 comp 0= if ( bufend str len direct ) 662 then ( bufend str len direct ) 663 then ( bufend str len direct ) 664 dup d_reclen w@ + ( bufend str len nextdirect )
|
| /netbsd/src/lib/libc/gen/ |
| D | glob.c | 189 Char *bufnext, *bufend, patbuf[MAXPATHLEN+1]; in glob() local 206 bufend = bufnext + MAXPATHLEN; in glob() 208 while (bufnext < bufend && (c = *patnext++) != EOS) in glob() 212 while (bufnext < bufend && (c = *patnext++) != EOS) in glob()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | solib.c | 1526 gdb_byte *bufend, *bufstart, *buf; 1577 for (bufend = buf + sect_size; buf < bufend; buf += step)
|
| D | solib-svr4.c | 677 for (gdb_byte *buf = ph_data->data (), *bufend = buf + ph_data->size (); in scan_dyntag_auxv() local 678 buf < bufend; buf += step) in scan_dyntag_auxv()
|
| D | ChangeLog-2005 | 2858 (elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | ecofflink.c | 244 ecoff_add_bytes (char **buf, char **bufend, size_t need) in ecoff_add_bytes() argument 250 have = *bufend - *buf; in ecoff_add_bytes() 263 *bufend = *buf + have + want; in ecoff_add_bytes()
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | ecofflink.c | 244 ecoff_add_bytes (char **buf, char **bufend, size_t need) in ecoff_add_bytes() argument 250 have = *bufend - *buf; in ecoff_add_bytes() 263 *bufend = *buf + have + want; in ecoff_add_bytes()
|
| /netbsd/src/external/gpl2/xcvs/dist/src/ |
| D | client.c | 1276 char *bufend; in handle_checksum() local 1280 stored_checksum[i] = (char) strtol (buf, &bufend, 16); in handle_checksum() 1281 if (bufend != buf + 2) in handle_checksum()
|