| /openbsd-src/libexec/tradcpp/ |
| H A D | files.c | 181 size_t bufend, bufmax, linestart, lineend, nextlinestart, tmp; in file_read() local 196 bufend = 0; in file_read() 202 if (lineend >= bufend) { in file_read() 204 assert(bufend >= linestart); in file_read() 205 if (linestart > 0 && bufend > linestart) { in file_read() 207 memmove(buf, buf+linestart, bufend-linestart); in file_read() 208 bufend -= linestart; in file_read() 212 if (bufend >= bufmax) { in file_read() 228 result = read(fd, buf+bufend, bufmax - bufend); in file_read() 236 } else if (result == 0 && bufend == linestart) { in file_read() [all …]
|
| /openbsd-src/bin/pax/ |
| H A D | buf_subs.c | 64 static char *bufend; /* end or last char in i/o buffer */ variable 117 bufend = buf + wrblksz; in wr_start() 156 bufend = buf + rdblksz; in rd_start() 157 bufpt = bufend; in rd_start() 238 skcnt += bufend - bufpt; in appnd_start() 257 bufend = buf + blksz; in appnd_start() 258 while (bufpt < bufend) { in appnd_start() 266 bufend = buf + blksz; in appnd_start() 271 bufend = buf + blksz; in appnd_start() 337 bufend = buf + res; in rd_sync() [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | cmd-paste-buffer.c | 54 const char *sepstr, *bufname, *bufdata, *bufend, *line; in cmd_paste_buffer_exec() local 91 bufend = bufdata + bufsize; in cmd_paste_buffer_exec() 94 line = memchr(bufdata, '\n', bufend - bufdata); in cmd_paste_buffer_exec() 103 if (bufdata != bufend) in cmd_paste_buffer_exec() 104 bufferevent_write(wp->event, bufdata, bufend - bufdata); in cmd_paste_buffer_exec()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | 20000412-6.c | 2 unsigned short *bufend); 14 bug (unsigned short value, unsigned short *buffer, unsigned short *bufend) in bug() argument 18 for (tmp = buffer; tmp < bufend; tmp++) in bug()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/ |
| H A D | ecoff.c | 1435 static char *ecoff_add_bytes (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, 1450 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1452 static unsigned long ecoff_build_strings (char **buf, char **bufend, 1456 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1459 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 3607 char **bufend, in ecoff_add_bytes() argument [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gas/ |
| H A D | ecoff.c | 1434 static char *ecoff_add_bytes (char **buf, char **bufend, 1437 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1440 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1443 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1446 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1449 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1451 static unsigned long ecoff_build_strings (char **buf, char **bufend, 1455 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1458 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 3610 char **bufend, in ecoff_add_bytes() argument [all …]
|
| /openbsd-src/usr.bin/signify/ |
| H A D | zsig.c | 134 size_t bufsize, uint8_t *bufend) in copy_blocks() argument 147 if (residual != bufend) { in copy_blocks() 149 size_t len = bufend - residual; in copy_blocks() 189 uint8_t *bufend; in zverify() local 200 bufend = readgz_header(&h, fdin); in zverify() 228 copy_blocks(fdout, fdin, p, h.endcomment, bufsize, bufend); in zverify()
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | histfile.c | 152 char *input, *buffer, *bufend; local 215 bufend = buffer + chars_read; 219 for (line_start = line_end = buffer; line_end < bufend && current_line < from; line_end++) 227 for (line_end = line_start; line_end < bufend; line_end++)
|
| /openbsd-src/usr.bin/mail/ |
| H A D | util.c | 410 char *nbuf, *bufend, *cp, *cp2; in skin() local 424 bufend = nbuf; in skin() 425 for (cp = name, cp2 = bufend; (c = (unsigned char)*cp++) != '\0'; ) { in skin() 462 cp2 = bufend; in skin() 499 bufend = cp2; in skin()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | solib-svr4.c | 310 char *bufend; in elf_locate_base() local 346 for (bufend = buf + dyninfo_sect_size; in elf_locate_base() 347 buf < bufend; in elf_locate_base() 383 for (bufend = buf + dyninfo_sect_size; in elf_locate_base() 384 buf < bufend; in elf_locate_base()
|
| H A D | pa64solib.c | 1011 char *bufend; in read_dynamic_info() local 1025 for (bufend = buf + dyninfo_sect_size, entry_addr = dyninfo_addr; in read_dynamic_info() 1026 buf < bufend; in read_dynamic_info()
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | toke.c | 74 #define PL_bufend (PL_parser->bufend) 934 parser->bufend = parser->bufptr + SvCUR(parser->linestr); in Perl_lex_start() 1012 L</PL_parser-E<gt>bufend> points to the end of the buffer. The current 1017 =for apidoc AmnxUN|char *|PL_parser-E<gt>bufend 1030 L</PL_parser-E<gt>bufend>. The octets of the buffer may be intended to be 1121 bufend_pos = PL_parser->bufend - buf; in Perl_lex_grow_linestr() 1133 PL_parser->bufend = buf + bufend_pos; in Perl_lex_grow_linestr() 1189 Move(bufptr, bufptr+len+highhalf, PL_parser->bufend+1-bufptr, char); in Perl_lex_stuff_pvn() 1192 PL_parser->bufend += len+highhalf; in Perl_lex_stuff_pvn() 1215 Move(bufptr, bufptr+len-highhalf, PL_parser->bufend in Perl_lex_stuff_pvn() 1321 char *buf, *bufend; Perl_lex_unstuff() local 1605 char *s, *bufend; Perl_lex_peek_unichar() local 1712 char *s, *bufend; Perl_lex_read_space() local 10990 char *bufend; S_scan_heredoc() local [all...] |
| H A D | parser.h | 88 char *bufend; member
|
| H A D | util.c | 3414 char *bufend; 3540 bufend = s + strlen(s); 3541 while (s < bufend) { 3552 s = delimcpy_no_escape(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend, 3555 if (s < bufend) 3344 char *bufend; global() local
|
| /openbsd-src/gnu/usr.bin/cvs/diff/ |
| H A 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)
|
| /openbsd-src/gnu/usr.bin/perl/ext/File-Glob/ |
| H A D | bsd_glob.c | 219 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local 239 bufend = bufnext + MAXPATHLEN - 1; 251 bufend - bufnext > 4) { 262 while (bufnext < bufend && (c = *patnext++) != BG_EOS) 283 while (bufnext < bufend && (c = *patnext++) != BG_EOS)
|
| /openbsd-src/sys/arch/sparc64/stand/bootblk/ |
| H A D | bootblk.fth | 520 2dup + nip ( str len buf bufend ) 521 swap 2swap rot ( bufend str len direct ) 522 begin dup 4 pick < while ( bufend str len direct ) 523 dup d_ino l@ 0<> if ( bufend str len direct ) 528 2dup d_namlen c@ = if ( bufend str len direct ) 529 dup d_name 2over ( bufend str len direct dname str len ) 530 comp 0= if ( bufend str len direct ) 536 then ( bufend str len direct ) 537 then ( bufend str len direct ) 538 dup d_reclen w@ + ( bufend st [all...] |
| /openbsd-src/lib/libc/gen/ |
| H A D | glob.c | 172 Char *bufnext, *bufend, patbuf[PATH_MAX]; in glob() local 195 bufend = bufnext + PATH_MAX - 1; in glob() 197 while (bufnext < bufend && (c = *patnext++) != EOS) in glob() 201 while (bufnext < bufend && (c = *patnext++) != EOS) in glob()
|
| /openbsd-src/lib/libkeynote/ |
| H A D | keynote.l | 706 keynote_get_envlist(char *buf, char *bufend, int whichfield) 715 localinit_state = kn_scan_bytes(buf, bufend - buf);
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/ |
| H A D | variables | 103 # define PL_bufend bufend 192 # define PL_bufend D_PPP_my_PL_parser_var(bufend)
|
| /openbsd-src/sbin/isakmpd/ |
| H A D | conf.c | 262 char *bufend = buf + sz; in conf_parse() local 267 while (cp < bufend) { in conf_parse()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/ |
| H A D | TODO | 59 bufend
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | ecofflink.c | 36 PARAMS ((char **buf, char **bufend, size_t need)); 258 ecoff_add_bytes (buf, bufend, need) in ecoff_add_bytes() argument 260 char **bufend; 267 have = *bufend - *buf; 280 *bufend = *buf + have + want;
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | ecofflink.c | 36 PARAMS ((char **buf, char **bufend, size_t need)); 258 ecoff_add_bytes (buf, bufend, need) in ecoff_add_bytes() argument 260 char **bufend; 267 have = *bufend - *buf; 280 *bufend = *buf + have + want;
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | client.c | 1537 char *bufend; local 1541 stored_checksum[i] = (char) strtol (buf, &bufend, 16); 1542 if (bufend != buf + 2)
|