| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| x-rst.c | 64 static int bufmax; local 111 if (bufpos >= bufmax) 113 bufmax = 2 * bufmax + 10; 114 buffer = xrealloc (buffer, bufmax); 147 if (bufpos >= bufmax) 149 bufmax = 2 * bufmax + 10; 150 buffer = xrealloc (buffer, bufmax); 183 if (bufpos >= bufmax) [all...] |
| read-properties.c | 365 static size_t bufmax; local 404 if (buflen >= bufmax) 406 bufmax += 100; 407 buffer = xrealloc (buffer, bufmax * sizeof (unsigned short)); 490 static size_t bufmax; local 498 if (buflen >= bufmax) 500 bufmax += 100; 501 buffer = xrealloc (buffer, bufmax);
|
| x-awk.c | 172 static size_t bufmax; local 190 if (buflen >= bufmax) 192 bufmax = 2 * bufmax + 10; 193 buffer = xrealloc (buffer, bufmax); 198 if (buflen >= bufmax) 200 bufmax = 2 * bufmax + 10; 201 buffer = xrealloc (buffer, bufmax); 382 static int bufmax; local [all...] |
| x-smalltalk.c | 119 static size_t bufmax; variable 131 if (buflen >= bufmax) 133 bufmax = 2 * bufmax + 10; 134 buffer = xrealloc (buffer, bufmax); 145 if (buflen >= bufmax) 147 bufmax = 2 * bufmax + 10; 148 buffer = xrealloc (buffer, bufmax); 192 static int bufmax; local [all...] |
| x-ycp.c | 139 static size_t bufmax; local 168 if (buflen >= bufmax) 170 bufmax = 2 * bufmax + 10; 171 buffer = xrealloc (buffer, bufmax); 176 if (buflen >= bufmax) 178 bufmax = 2 * bufmax + 10; 179 buffer = xrealloc (buffer, bufmax); 213 if (buflen >= bufmax) 415 static int bufmax; local [all...] |
| po-lex.c | 861 static size_t bufmax; local 929 while (bufpos + mb_len (mbc) >= bufmax) 931 bufmax += 100; 932 buf = xrealloc (buf, bufmax); 969 while (bufpos + mb_len (mbc) >= bufmax) 971 bufmax += 100; 972 buf = xrealloc (buf, bufmax); 1027 if (bufpos + 1 >= bufmax) 1029 bufmax += 100; 1030 buf = xrealloc (buf, bufmax); [all...] |
| read-stringtable.c | 365 static size_t bufmax; local 439 if (buflen >= bufmax) 441 bufmax = 2 * bufmax + 10; 442 buffer = xrealloc (buffer, bufmax * sizeof (int)); 492 static size_t bufmax; variable 509 if (buflen >= bufmax) 511 bufmax = 2 * bufmax + 10; 512 buffer = xrealloc (buffer, bufmax * sizeof (int)) 715 static size_t bufmax; local [all...] |
| x-elisp.c | 331 static size_t bufmax; variable 343 if (buflen >= bufmax) 345 bufmax = 2 * bufmax + 10; 346 buffer = xrealloc (buffer, bufmax); 358 if (chars_to_remove == 0 && buflen >= bufmax) 360 bufmax = 2 * bufmax + 10; 361 buffer = xrealloc (buffer, bufmax);
|
| x-glade.c | 209 size_t bufmax; member in struct:element_state 296 p->bufmax = 0; 316 if (p->buflen == p->bufmax) 348 if (p->buflen + len > p->bufmax) 350 p->bufmax = 2 * p->bufmax; 351 if (p->bufmax < p->buflen + len) 352 p->bufmax = p->buflen + len; 353 p->buffer = (char *) xrealloc (p->buffer, p->bufmax);
|
| x-librep.c | 412 static size_t bufmax; variable 424 if (buflen >= bufmax) 426 bufmax = 2 * bufmax + 10; 427 buffer = xrealloc (buffer, bufmax); 439 if (chars_to_remove == 0 && buflen >= bufmax) 441 bufmax = 2 * bufmax + 10; 442 buffer = xrealloc (buffer, bufmax);
|
| x-php.c | 535 static size_t bufmax; variable 547 if (buflen >= bufmax) 549 bufmax = 2 * bufmax + 10; 550 buffer = xrealloc (buffer, bufmax); 562 if (chars_to_remove == 0 && buflen >= bufmax) 564 bufmax = 2 * bufmax + 10; 565 buffer = xrealloc (buffer, bufmax); 770 static int bufmax; local [all...] |
| x-scheme.c | 577 static size_t bufmax; variable 589 if (buflen >= bufmax) 591 bufmax = 2 * bufmax + 10; 592 buffer = xrealloc (buffer, bufmax); 604 if (chars_to_remove == 0 && buflen >= bufmax) 606 bufmax = 2 * bufmax + 10; 607 buffer = xrealloc (buffer, bufmax);
|
| x-sh.c | 291 static size_t bufmax; variable 303 if (buflen >= bufmax) 305 bufmax = 2 * bufmax + 10; 306 buffer = xrealloc (buffer, bufmax); 317 if (buflen >= bufmax) 319 bufmax = 2 * bufmax + 10; 320 buffer = xrealloc (buffer, bufmax);
|
| x-tcl.c | 362 static size_t bufmax; variable 374 if (buflen >= bufmax) 376 bufmax = 2 * bufmax + 10; 377 buffer = xrealloc (buffer, bufmax); 388 if (buflen >= bufmax) 390 bufmax = 2 * bufmax + 10; 391 buffer = xrealloc (buffer, bufmax);
|
| x-c.c | 621 static size_t bufmax; variable 633 if (buflen >= bufmax) 635 bufmax = 2 * bufmax + 10; 636 buffer = xrealloc (buffer, bufmax); 648 if (chars_to_remove == 0 && buflen >= bufmax) 650 bufmax = 2 * bufmax + 10; 651 buffer = xrealloc (buffer, bufmax); 965 static int bufmax; local 1312 static int bufmax; local [all...] |
| x-java.c | 964 static int bufmax; local 968 if (bufpos >= bufmax) 970 bufmax = 2 * bufmax + 10; 971 buffer = xrealloc (buffer, bufmax); 982 if (bufpos >= bufmax) 984 bufmax = 2 * bufmax + 10; 985 buffer = xrealloc (buffer, bufmax);
|
| x-lisp.c | 828 static size_t bufmax; variable 840 if (buflen >= bufmax) 842 bufmax = 2 * bufmax + 10; 843 buffer = xrealloc (buffer, bufmax); 855 if (chars_to_remove == 0 && buflen >= bufmax) 857 bufmax = 2 * bufmax + 10; 858 buffer = xrealloc (buffer, bufmax);
|
| /src/games/hack/ |
| hack.objnam.c | 174 size_t bufmax = sizeof(bufr) - PREFIX; local 191 strlcpy(buf, dn, bufmax); 194 strlcpy(buf, an, bufmax); 219 strlcpy(buf, an, bufmax); 222 Snprintf(buf, bufmax, "%sheavy iron ball", 236 strlcat(buf, un, bufmax); 239 strlcat(buf, an, bufmax); 242 strlcpy(buf, dn, bufmax); 243 strlcat(buf, " potion", bufmax); 256 strlcat(buf, an, bufmax); [all...] |
| /src/external/bsd/tradcpp/dist/ |
| files.c | 181 size_t bufend, bufmax, linestart, lineend, nextlinestart, tmp; local 195 bufmax = 128; 199 buf = domalloc(bufmax); 212 if (bufend >= bufmax) { 214 buf = dorealloc(buf, bufmax, bufmax*2); 215 bufmax = bufmax*2; 217 if (bufmax > 0xffffffff) { 228 result = read(fd, buf+bufend, bufmax - bufend) [all...] |
| macro.c | 681 size_t bufpos, bufmax; member in struct:expstate 701 es->bufmax = 0; 711 dofree(es->buf, es->bufmax); 735 assert(es->bufpos <= es->bufmax); 736 if (es->bufpos + len > es->bufmax) { 737 oldmax = es->bufmax; 738 if (es->bufmax == 0) { 739 es->bufmax = 64; 741 while (es->bufpos + len > es->bufmax) { 742 es->bufmax *= 2 [all...] |
| /src/external/gpl2/gettext/dist/gettext-runtime/src/ |
| envsubst.c | 458 static size_t bufmax; local 487 if (buflen >= bufmax) 489 bufmax = 2 * bufmax + 10; 490 buffer = xrealloc (buffer, bufmax); 521 if (buflen >= bufmax) 523 bufmax = 2 * bufmax + 10; 524 buffer = xrealloc (buffer, bufmax);
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| fstrcmp.c | 611 size_t bufmax; local 639 bufmax = (size_t) (uintptr_t) gl_tls_get (bufmax_key); 640 if (fdiag_len > bufmax) 643 bufmax = 2 * bufmax; 644 if (fdiag_len > bufmax) 645 bufmax = fdiag_len; 650 buffer = (int *) xmalloc (bufmax * (2 * sizeof (int))); 652 gl_tls_set (bufmax_key, (void *) (uintptr_t) bufmax);
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| fstrcmp.c | 611 size_t bufmax; local 639 bufmax = (size_t) (uintptr_t) gl_tls_get (bufmax_key); 640 if (fdiag_len > bufmax) 643 bufmax = 2 * bufmax; 644 if (fdiag_len > bufmax) 645 bufmax = fdiag_len; 650 buffer = (int *) xmalloc (bufmax * (2 * sizeof (int))); 652 gl_tls_set (bufmax_key, (void *) (uintptr_t) bufmax);
|
| /src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| fstrcmp.c | 611 size_t bufmax; local 639 bufmax = (size_t) (uintptr_t) gl_tls_get (bufmax_key); 640 if (fdiag_len > bufmax) 643 bufmax = 2 * bufmax; 644 if (fdiag_len > bufmax) 645 bufmax = fdiag_len; 650 buffer = (int *) xmalloc (bufmax * (2 * sizeof (int))); 652 gl_tls_set (bufmax_key, (void *) (uintptr_t) bufmax);
|
| /src/external/mpl/dhcp/dist/omapip/ |
| trace.c | 430 unsigned bufmax = 0; local 497 &bufmax)) == ISC_R_SUCCESS) { 516 unsigned *bufmax) 614 if ((*buf == NULL) || (paylen > (*bufmax))) { 617 (*bufmax) = ((paylen + 1023) & ~1023U); 618 (*buf) = dmalloc ((*bufmax), MDL); 621 (*bufmax)); 648 unsigned bufmax = 0; local 660 status = trace_get_next_packet (ttp, tpkt, buf, buflen, &bufmax);
|