| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| x-rst.c | 72 int bufpos; local 101 bufpos = 0; 111 if (bufpos >= bufmax) 118 buffer[bufpos++] = c; 123 buffer[bufpos] = '\0'; 127 bufpos = 0; 147 if (bufpos >= bufmax) 152 buffer[bufpos++] = c; 183 if (bufpos >= bufmax) 188 buffer[bufpos++] = (unsigned char) n [all...] |
| x-awk.c | 383 int bufpos; local 447 bufpos = 0; 450 if (bufpos >= bufmax) 455 buffer[bufpos++] = c; 474 if (bufpos == 1 && buffer[0] == '_' && c == '"') 484 if (bufpos >= bufmax) 489 buffer[bufpos] = '\0'; 517 bufpos = 0; 523 if (bufpos >= bufmax) 528 buffer[bufpos++] = c [all...] |
| x-smalltalk.c | 193 int bufpos; local 260 bufpos = 0; 275 if (bufpos >= bufmax) 280 buffer[bufpos++] = c; 282 if (bufpos >= bufmax) 287 buffer[bufpos] = 0; 356 bufpos = 0; 359 if (bufpos >= bufmax) 364 buffer[bufpos++] = c; 382 if (bufpos >= bufmax [all...] |
| x-ycp.c | 416 int bufpos; local 464 bufpos = 0; 467 if (bufpos >= bufmax) 472 buffer[bufpos++] = c; 491 if (bufpos == 1 && buffer[0] == '_' && c == '(') 501 if (bufpos >= bufmax) 506 buffer[bufpos] = '\0'; 512 bufpos = 0; 518 if (bufpos >= bufmax) 523 buffer[bufpos++] = c [all...] |
| po-lex.c | 863 size_t bufpos; local 926 bufpos = 0; 929 while (bufpos + mb_len (mbc) >= bufmax) 937 memcpy_small (&buf[bufpos], mb_ptr (mbc), mb_len (mbc)); 938 bufpos += mb_len (mbc); 942 buf[bufpos] = '\0'; 965 bufpos = 0; 969 while (bufpos + mb_len (mbc) >= bufmax) 990 buf[bufpos++] = control_sequence (); 995 memcpy_small (&buf[bufpos], mb_ptr (mbc), mb_len (mbc)) [all...] |
| x-php.c | 771 int bufpos; local 829 bufpos = 0; 832 if (bufpos >= bufmax) 837 buffer[bufpos++] = c; 884 if (bufpos >= bufmax) 889 buffer[bufpos] = 0; 896 bufpos = 0; 911 if (bufpos >= bufmax) 916 buffer[bufpos++] = c; 918 if (bufpos >= bufmax [all...] |
| x-c.c | 966 int bufpos; local 1019 bufpos = 0; 1022 if (bufpos >= bufmax) 1027 buffer[bufpos++] = c; 1052 if (bufpos >= bufmax) 1057 buffer[bufpos] = 0; 1083 bufpos = 0; 1086 if (bufpos >= bufmax) 1091 buffer[bufpos++] = c; 1097 if (bufpos >= bufmax 1313 int bufpos; local [all...] |
| x-java.c | 965 int bufpos = 0; local 968 if (bufpos >= bufmax) 973 buffer[bufpos++] = RED (c); 982 if (bufpos >= bufmax) 987 buffer[bufpos] = '\0';
|
| x-python.c | 1406 int bufpos; local 1408 bufpos = 0; 1411 if (bufpos >= bufmax) 1416 buffer[bufpos++] = c; 1440 if (bufpos >= bufmax) 1445 buffer[bufpos] = '\0';
|
| x-perl.c | 278 size_t bufpos = 0; local 363 if (bufpos + read_bytes >= bufmax) 367 while (bufpos + read_bytes >= bufmax); 371 strcpy (buffer + bufpos, my_linebuf); 372 bufpos += read_bytes; 637 int bufpos = 0; local 641 buffer[bufpos++] = delim; 669 if (bufpos + 2 > bufmax) 677 buffer[bufpos++] = counter_delim; /* will be stripped off later */ 678 buffer[bufpos++] = '\0' 890 int bufpos = 0; local 1281 int bufpos = 0; local 1649 int bufpos = 0; local 2001 int bufpos; local [all...] |
| /src/usr.bin/grep/ |
| file.c | 67 static unsigned char *bufpos; variable 81 bufpos = buffer; 146 memcpy(lnbuf + off, bufpos, len); 165 return ((char *)bufpos); 169 if ((p = memchr(bufpos, line_sep, bufrem)) != NULL) { 171 len = p - bufpos; 176 bufpos = p; 191 if ((p = memchr(bufpos, line_sep, bufrem)) == NULL) 195 diff = p - bufpos; 200 bufpos = p [all...] |
| /src/games/hack/ |
| hack.objnam.c | 105 size_t bufpos; local 130 bufpos = strlen(buf); 131 Snprintf(buf+bufpos, sizeof(buf)-bufpos, 135 bufpos = strlen(buf); 136 Snprintf(buf+bufpos, sizeof(buf)-bufpos, 145 bufpos = strlen(buf); 146 Snprintf(buf+bufpos, sizeof(buf)-bufpos, [all...] |
| /src/sys/arch/amiga/dev/ |
| msc.c | 579 unsigned char bufpos; /* was int */ local 594 bufpos = msc->board->Common.CDTail; 595 if (newhead != bufpos) { /* CD events in queue */ 599 while (newhead != bufpos) { /* read all events */ 600 ncd = msc->board->CDBuf[bufpos++]; /* get one event */ 648 msc->board->Common.CDTail = bufpos; /* remove events */ 671 if (newhead != (bufpos = ms->InTail)) { 679 while (bufpos != newhead) { 681 switch (cbuf[bufpos]) { 684 switch (ibuf[bufpos++]) [all...] |
| /src/sys/arch/evbmips/loongson/ |
| machdep.c | 781 static char *bufpos = buf; local 784 if (*bufpos == '\0') { 785 bufpos = buf; 795 c = (int)*bufpos++; 796 if (bufpos - buf > PMON_MAXLN) { 797 bufpos = buf; 798 *bufpos = '\0';
|
| /src/dist/pf/sbin/pflogd/ |
| pflogd.c | 103 static char *bufpos = NULL; /* position in buffer */ variable 523 int len = bufpos - buffer; 545 bufpos = buffer; 558 bufpos = buffer; 602 memcpy(bufpos, h, sizeof(*h)); 603 memcpy(bufpos + sizeof(*h), sp, h->caplen); 610 memcpy(bufpos, &sf_hdr, sizeof(sf_hdr)); 611 memcpy(bufpos + sizeof(sf_hdr), sp, h->caplen); 614 bufpos += len; 729 bufpos = buffer [all...] |
| /src/lib/libterminfo/ |
| term_private.h | 163 size_t bufpos; member in struct:__anon557 264 le16enc(tbuf->buf + tbuf->bufpos, (uint16_t)num); 265 tbuf->bufpos += sizeof(uint16_t); 272 le32enc(tbuf->buf + tbuf->bufpos, (uint32_t)num); 273 tbuf->bufpos += sizeof(uint32_t); 280 memcpy(tbuf->buf + tbuf->bufpos, buf, len); 281 tbuf->bufpos += len;
|
| /src/usr.bin/ftp/ |
| ssl.c | 75 size_t bufpos; /* position of buffer */ member in struct:fetch_connect 514 if (conn->buflen - conn->bufpos > 0) 518 conn->bufpos = 0; 546 tmpsize = MIN(size - 1, (int)(conn->buflen - conn->bufpos)); 547 memcpy(str, conn->buf + conn->bufpos, tmpsize); 549 conn->bufpos += tmpsize;
|
| /src/sbin/routed/rtquery/ |
| rtquery.c | 555 size_t bufpos; local 559 for (bufpos = 0; len != 0 && bufpos < sizeof(buf) - 1; len--) { 571 buf[bufpos++] = c; 574 if (bufpos >= sizeof(buf) - 2) { 578 buf[bufpos++] = '\\'; 581 buf[bufpos++] = '\\'; 584 buf[bufpos++] = 'n'; 587 buf[bufpos++] = 'r'; 590 buf[bufpos++] = 't' [all...] |
| /src/share/examples/refuse/ian/libfetch/ |
| http.c | 124 int bufpos; /* current read offset in buffer */ member in struct:httpio 213 io->bufpos = 0; 246 io->bufpos = 0; 267 if (!io->buf || io->bufpos == io->buflen) 270 l = io->buflen - io->bufpos; 273 bcopy(io->buf + io->bufpos, buf + pos, (unsigned) l); 274 io->bufpos += l;
|
| /src/external/bsd/fetch/dist/libfetch/ |
| http.c | 155 size_t bufpos; /* current read offset in buffer */ member in struct:httpio 234 io->bufpos = 0; 274 io->bufpos = 0; 295 if (!io->buf || (ssize_t)io->bufpos == io->buflen) 298 l = io->buflen - io->bufpos; 301 memcpy((char *)buf + pos, io->buf + io->bufpos, l); 302 io->bufpos += l;
|
| /src/external/bsd/tradcpp/dist/ |
| macro.c | 681 size_t bufpos, bufmax; member in struct:expstate 700 es->bufpos = 0; 735 assert(es->bufpos <= es->bufmax); 736 if (es->bufpos + len > es->bufmax) { 741 while (es->bufpos + len > es->bufmax) { 746 memcpy(es->buf + es->bufpos, buf, len); 747 es->bufpos += len; 748 assert(es->bufpos <= es->bufmax); 760 es->bufpos--; 1258 es.bufpos = es.bufmax = 0 [all...] |
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| ctf.c | 650 caddr_t bufpos; local 655 bufpos = outbuf; 656 (void) bcopy_data(h, sizeof (ctf_header_t), &bufpos); 658 &bufpos); 659 (void) strtab_write(&buf->ctb_strtab, bcopy_data, &bufpos); 660 *resszp = bufpos - outbuf;
|
| /src/external/gpl2/diffutils/dist/src/ |
| sdiff.c | 353 char *bufpos; 362 lf->bufpos = lf->buffer = lf->buflim = xmalloc (SDIFF_BUFSIZE + 1); 371 lf->bufpos = lf->buffer; 382 char *start = lf->bufpos; 386 lf->bufpos = (char *) memchr (lf->bufpos, '\n', lf->buflim - lf->bufpos); 387 if (! lf->bufpos) 392 start = lf->bufpos; 397 ++lf->bufpos; 352 char *bufpos; member in struct:line_filter [all...] |
| /src/external/bsd/nsd/dist/ |
| ixfr.c | 1941 size_t bufpos = 0; local 1955 bufpos = (*dname)->name_size; 1956 if(bufpos+10 > len) { 1960 tp = read_uint16(buf+bufpos); 1961 bufpos += 2; 1962 klass = read_uint16(buf+bufpos); 1963 bufpos += 2; 1964 ttl = read_uint32(buf+bufpos); 1965 bufpos += 4; 1966 rdlen = read_uint16(buf+bufpos); [all...] |
| /src/external/bsd/unbound/dist/testcode/ |
| testpkts.c | 325 size_t bufpos = 0; local 350 if (bufpos + offset + 1 <= buf_len) { 351 buf[bufpos+offset] = int8; 354 bufpos++; 361 return bufpos;
|