| /src/external/gpl2/groff/dist/src/libs/libbib/ |
| linear.cpp | 42 char *bufend; member in class:file_buffer 158 static const char *find_end(const char *bufend, const char *p); 161 const char *buf, const char *bufend, const char **start) const 164 assert(bufend[-1] == '\n'); 167 const char *found = key->search(ptr, bufend); 170 if (check_match(buf, bufend, found, key->length(), &ptr, start)) 192 static const char *find_end(const char *bufend, const char *p) 196 if (p == bufend) 209 int linear_searcher::check_match(const char *buf, const char *bufend, 259 *cont = skip_field(bufend, match + matchlen) 495 const char *bufend = lsi->fbuf.get_end(); local [all...] |
| /src/external/bsd/tmux/dist/ |
| cmd-paste-buffer.c | 53 const char *sepstr, *bufname, *bufdata, *bufend, *line; local 90 bufend = bufdata + bufsize; 93 line = memchr(bufdata, '\n', bufend - bufdata); 102 if (bufdata != bufend) 103 bufferevent_write(wp->event, bufdata, bufend - bufdata);
|
| /src/external/bsd/tradcpp/dist/ |
| files.c | 181 size_t bufend, bufmax, linestart, lineend, nextlinestart, tmp; local 196 bufend = 0; 202 if (lineend >= bufend) { 204 assert(bufend >= linestart); 205 if (linestart > 0 && bufend > linestart) { 207 memmove(buf, buf+linestart, bufend-linestart); 208 bufend -= linestart; 212 if (bufend >= bufmax) { 228 result = read(fd, buf+bufend, bufmax - bufend); [all...] |
| /src/bin/pax/ |
| buf_subs.c | 76 static char *bufend; /* end or last char in i/o buffer */ variable 124 bufend = buf + wrblksz; 165 bufend = buf + rdblksz; 166 bufpt = bufend; 247 skcnt += bufend - bufpt; 266 bufend = buf + blksz; 267 while (bufpt < bufend) { 275 bufend = buf + blksz; 280 bufend = buf + blksz; 347 bufend = buf + res [all...] |
| /src/external/gpl2/groff/dist/src/include/ |
| search.h | 47 const char *bufend, const char **start = 0) 49 int check_match(const char *buf, const char *bufend, const char *match, 56 int search(const char *buf, const char *bufend,
|
| /src/usr.bin/sort/ |
| files.c | 91 makeline(FILE *fp, RECHEADER *recbuf, u_char *bufend, struct field *dummy2) 105 * This code has relied on realloc changing 'bufend', 112 while (pos < bufend) { 132 if (recbuf->data < bufend) { 144 makekey(FILE *fp, RECHEADER *recbuf, u_char *bufend, struct field *ftbl) 152 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl); 162 if (line_size > bufend - recbuf->data) { 165 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl);
|
| fsort.c | 88 u_char *bufend; local 99 bufend = (u_char *)buffer + bufsize; 127 c = get(fp, crec, bufend, ftbl); 169 bufend = (u_char *)buffer + bufsize;
|
| fields.c | 251 number(u_char *pos, const u_char *bufend, u_char *line, u_char *lineend, 268 bufend--; 271 if (pos + 1 + MAX_EXP_ENC > bufend) 337 if (pos >= bufend) 372 length(u_char *pos, const u_char *bufend, u_char *line, u_char *lineend, 379 return number(pos, bufend, buf, buf + l, flag);
|
| /src/lib/libc/stdlib/ |
| strfmon.c | 96 *--bufend = *(avalue + avalue_size + padded); \ 101 bufend -= thousands_sep_size; \ 102 memcpy(bufend, thousands_sep, thousands_sep_size); \ 537 char *bufend; local 592 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */ 602 bufend -= right_prec; 603 memcpy(bufend, avalue + avalue_size + padded - right_prec, 605 bufend -= decimal_point_size; 606 memcpy(bufend, decimal_point, decimal_point_size); 636 bufend -= avalue_size [all...] |
| /src/external/bsd/ipf/dist/ipsd/ |
| sbpf.c | 95 register u_char *bp, *cp, *bufend; local 105 bufend = buf + cc; 109 while (bp < bufend) {
|
| sdlpi.c | 87 register u_char *bp, *cp, *bufend; local 118 bufend = buf + cc; 122 while (bp < bufend) {
|
| snit.c | 81 register u_char *bp, *cp, *bufend; local 94 bufend = buf + cc; 98 while (bp < bufend) {
|
| /src/external/gpl3/binutils/dist/gas/ |
| ecoff.c | 1437 static char *ecoff_add_bytes (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, 1452 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1454 static unsigned long ecoff_build_strings (char **buf, char **bufend, 1458 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1461 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 3586 char **bufend, 4568 char *bufend; local [all...] |
| /src/external/gpl3/binutils.old/dist/gas/ |
| ecoff.c | 1437 static char *ecoff_add_bytes (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, 1452 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1454 static unsigned long ecoff_build_strings (char **buf, char **bufend, 1458 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 1461 (const struct ecoff_debug_swap *backend, char **buf, char **bufend, 3580 char **bufend, 4565 char *bufend; local [all...] |
| /src/usr.bin/mail/ |
| support.c | 457 char *bufend; local 470 bufend = nbuf; 471 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; /*EMPTY*/) { 508 cp2 = bufend; 545 bufend = cp2;
|
| format.c | 361 snarf_comment(char **buf, char *bufend, const char *string) 369 qend = buf ? bufend : NULL; 400 snarf_quote(char **buf, char *bufend, const char *string) 407 qend = buf ? bufend : NULL;
|
| /src/external/gpl3/gdb/dist/readline/readline/ |
| histfile.c | 271 char *input, *buffer, *bufend, *last_ts; local 363 bufend = buffer + chars_read; 364 *bufend = '\0'; /* null-terminate buffer for timestamp checks */ 383 for (line_start = line_end = buffer; line_end < bufend && current_line < from; line_end++) 399 for (line_end = p; line_end < bufend && *line_end != '\n'; line_end++) 406 for (line_end = line_start; line_end < bufend; line_end++)
|
| /src/external/gpl3/gdb.old/dist/readline/readline/ |
| histfile.c | 271 char *input, *buffer, *bufend, *last_ts; local 363 bufend = buffer + chars_read; 364 *bufend = '\0'; /* null-terminate buffer for timestamp checks */ 383 for (line_start = line_end = buffer; line_end < bufend && current_line < from; line_end++) 399 for (line_end = p; line_end < bufend && *line_end != '\n'; line_end++) 406 for (line_end = line_start; line_end < bufend; line_end++)
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| glob.c | 177 Char *bufnext, *bufend, patbuf[MaxPathLen+1]; local 191 bufend = bufnext + MaxPathLen; 194 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS) 206 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS)
|
| /src/external/gpl2/diffutils/dist/src/ |
| io.c | 241 char const *bufend = FILE_BUFFER (current) + current->buffered; 395 if ((char const *) p == bufend 406 bufend = suffix_begin = (char const *) p; 493 if ((char const *) p == bufend) 237 char const *bufend = FILE_BUFFER (current) + current->buffered; local
|
| /src/external/gpl2/xcvs/dist/diff/ |
| io.c | 210 char const *bufend = current->buffer + current->buffered_chars; 287 if ((char const *) p == bufend 298 bufend = suffix_begin = (char const *) p; 365 if ((char const *) p == bufend) 207 char const *bufend = current->buffer + current->buffered_chars; local
|
| /src/external/bsd/zstd/dist/lib/dictBuilder/ |
| divsufsort.c | 638 int *a, *b, *c, *bufend; local 642 bufend = buf + (middle - first) - 1; 650 if(bufend <= b) { *bufend = t; return; } 657 while(b < bufend) { *a++ = *b, *b++ = *a; } 666 if(bufend <= b) { *bufend = t; return; } 673 while(b < bufend) { *a++ = *b, *b++ = *a; } 689 int *a, *b, *c, *bufend; local 694 bufend = buf + (last - middle) - 1 [all...] |
| /src/external/bsd/zstd/dist/programs/ |
| util.c | 824 char** bufEnd, int followLinks) 862 nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd, followLinks); 867 if (*bufStart + *pos + pathLength >= *bufEnd) { 868 ptrdiff_t const newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; 871 *bufEnd = *bufStart + newListSize; 873 if (*bufStart + *pos + pathLength < *bufEnd) { 889 char** bufEnd, int followLinks) 925 nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd, followLinks); /* Recursively call "UTIL_prepareFileList" with the new path. */ 928 if (*bufStart + *pos + pathLength >= *bufEnd) { 929 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE 1297 char* bufend = buf + LIST_SIZE_INCREASE; local [all...] |
| /src/external/gpl3/gcc/dist/libquadmath/printf/ |
| printf_fp.c | 123 static wchar_t *group_number (wchar_t *buf, wchar_t *bufend, 1277 /* Group the INTDIG_NO integer digits of the number in [BUF,BUFEND). 1278 There is guaranteed enough space past BUFEND to extend it. 1282 group_number (wchar_t *buf, wchar_t *bufend, unsigned int intdig_no, 1288 return bufend; 1292 (bufend - (buf + intdig_no)) * sizeof (wchar_t)); 1320 return bufend + ngroups;
|
| /src/external/gpl3/gcc.old/dist/libquadmath/printf/ |
| printf_fp.c | 123 static wchar_t *group_number (wchar_t *buf, wchar_t *bufend, 1277 /* Group the INTDIG_NO integer digits of the number in [BUF,BUFEND). 1278 There is guaranteed enough space past BUFEND to extend it. 1282 group_number (wchar_t *buf, wchar_t *bufend, unsigned int intdig_no, 1288 return bufend; 1292 (bufend - (buf + intdig_no)) * sizeof (wchar_t)); 1320 return bufend + ngroups;
|