/third_party/gettext/gettext-tools/src/ |
D | x-smalltalk.c | 113 static size_t bufmax; variable 125 if (buflen >= bufmax) in comment_add() 127 bufmax = 2 * bufmax + 10; in comment_add() 128 buffer = xrealloc (buffer, bufmax); in comment_add() 139 if (buflen >= bufmax) in comment_line_end() 141 bufmax = 2 * bufmax + 10; in comment_line_end() 142 buffer = xrealloc (buffer, bufmax); in comment_line_end() 186 static int bufmax; in phase2_get() local 269 if (bufpos >= bufmax) in phase2_get() 271 bufmax = 2 * bufmax + 10; in phase2_get() [all …]
|
D | x-ycp.c | 137 static size_t bufmax; in phase2_getc() local 166 if (buflen >= bufmax) in phase2_getc() 168 bufmax = 2 * bufmax + 10; in phase2_getc() 169 buffer = xrealloc (buffer, bufmax); in phase2_getc() 174 if (buflen >= bufmax) in phase2_getc() 176 bufmax = 2 * bufmax + 10; in phase2_getc() 177 buffer = xrealloc (buffer, bufmax); in phase2_getc() 211 if (buflen >= bufmax) in phase2_getc() 213 bufmax = 2 * bufmax + 10; in phase2_getc() 214 buffer = xrealloc (buffer, bufmax); in phase2_getc() [all …]
|
D | x-awk.c | 171 static size_t bufmax; in phase2_getc() local 189 if (buflen >= bufmax) in phase2_getc() 191 bufmax = 2 * bufmax + 10; in phase2_getc() 192 buffer = xrealloc (buffer, bufmax); in phase2_getc() 197 if (buflen >= bufmax) in phase2_getc() 199 bufmax = 2 * bufmax + 10; in phase2_getc() 200 buffer = xrealloc (buffer, bufmax); in phase2_getc() 381 static int bufmax; in x_awk_lex() local 449 if (bufpos >= bufmax) in x_awk_lex() 451 bufmax = 2 * bufmax + 10; in x_awk_lex() [all …]
|
D | x-rst.c | 73 static int bufmax; in extract_rst() local 120 if (bufpos >= bufmax) in extract_rst() 122 bufmax = 2 * bufmax + 10; in extract_rst() 123 buffer = xrealloc (buffer, bufmax); in extract_rst() 156 if (bufpos >= bufmax) in extract_rst() 158 bufmax = 2 * bufmax + 10; in extract_rst() 159 buffer = xrealloc (buffer, bufmax); in extract_rst() 192 if (bufpos >= bufmax) in extract_rst() 194 bufmax = 2 * bufmax + 10; in extract_rst() 195 buffer = xrealloc (buffer, bufmax); in extract_rst() [all …]
|
D | x-php.c | 535 static size_t bufmax; variable 547 if (buflen >= bufmax) in comment_add() 549 bufmax = 2 * bufmax + 10; in comment_add() 550 buffer = xrealloc (buffer, bufmax); in comment_add() 562 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 564 bufmax = 2 * bufmax + 10; in comment_line_end() 565 buffer = xrealloc (buffer, bufmax); in comment_line_end() 781 static int bufmax; in phase4_get() local 848 if (bufpos >= bufmax) in phase4_get() 850 bufmax = 2 * bufmax + 10; in phase4_get() [all …]
|
D | x-perl.c | 307 static size_t bufmax = 0; in get_here_document() local 314 if (bufmax == 0) in get_here_document() 318 bufmax = 1; in get_here_document() 393 if (bufpos + read_bytes >= bufmax) in get_here_document() 396 bufmax = 2 * bufmax + 10; in get_here_document() 397 while (bufpos + read_bytes >= bufmax); in get_here_document() 398 buffer = xrealloc (buffer, bufmax); in get_here_document() 455 static size_t bufmax; in phase2_getc() local 484 if (buflen >= bufmax) in phase2_getc() 486 bufmax = 2 * bufmax + 10; in phase2_getc() [all …]
|
D | x-c.c | 790 static size_t bufmax; variable 802 if (buflen >= bufmax) in comment_add() 804 bufmax = 2 * bufmax + 10; in comment_add() 805 buffer = xrealloc (buffer, bufmax); in comment_add() 817 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 819 bufmax = 2 * bufmax + 10; in comment_line_end() 820 buffer = xrealloc (buffer, bufmax); in comment_line_end() 1197 static int bufmax; in phase5_get() local 1254 if (bufpos >= bufmax) in phase5_get() 1256 bufmax = 2 * bufmax + 10; in phase5_get() [all …]
|
D | read-stringtable.c | 363 static size_t bufmax; in parse_escaped_string() local 437 if (buflen >= bufmax) in parse_escaped_string() 439 bufmax = 2 * bufmax + 10; in parse_escaped_string() 440 buffer = xrealloc (buffer, bufmax * sizeof (int)); in parse_escaped_string() 490 static size_t bufmax; variable 507 if (buflen >= bufmax) in comment_add() 509 bufmax = 2 * bufmax + 10; in comment_add() 510 buffer = xrealloc (buffer, bufmax * sizeof (int)); in comment_add() 713 static size_t bufmax; in read_string() local 792 if (buflen >= bufmax) in read_string() [all …]
|
D | cldr-plural.y | 293 static size_t bufmax; 390 if (bufpos >= bufmax) 392 bufmax = 2 * bufmax + 10; 393 buffer = xrealloc (buffer, bufmax); 413 if (bufpos >= bufmax) 415 bufmax = 2 * bufmax + 10; 416 buffer = xrealloc (buffer, bufmax);
|
D | x-vala.c | 213 static size_t bufmax; variable 225 if (buflen >= bufmax) in comment_add() 227 bufmax = 2 * bufmax + 10; in comment_add() 228 buffer = xrealloc (buffer, bufmax); in comment_add() 240 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 242 bufmax = 2 * bufmax + 10; in comment_line_end() 243 buffer = xrealloc (buffer, bufmax); in comment_line_end() 632 static int bufmax; in phase3_get() local 639 if (bufpos >= bufmax) \ in phase3_get() 641 bufmax = 2 * bufmax + 10; \ in phase3_get() [all …]
|
D | po-lex.c | 863 static size_t bufmax; in po_gram_lex() local 931 while (bufpos + mb_len (mbc) >= bufmax) in po_gram_lex() 933 bufmax += 100; in po_gram_lex() 934 buf = xrealloc (buf, bufmax); in po_gram_lex() 971 while (bufpos + mb_len (mbc) >= bufmax) in po_gram_lex() 973 bufmax += 100; in po_gram_lex() 974 buf = xrealloc (buf, bufmax); in po_gram_lex() 1029 if (bufpos + 1 >= bufmax) in po_gram_lex() 1031 bufmax += 100; in po_gram_lex() 1032 buf = xrealloc (buf, bufmax); in po_gram_lex() [all …]
|
D | cldr-plurals.c | 53 size_t bufmax = 0; in extract_rules() local 154 if (buflen + length + 1 > bufmax) in extract_rules() 156 bufmax *= 2; in extract_rules() 157 if (bufmax < buflen + length + 1) in extract_rules() 158 bufmax = buflen + length + 1; in extract_rules() 159 buffer = (char *) xrealloc (buffer, bufmax); in extract_rules()
|
D | x-tcl.c | 362 static size_t bufmax; variable 374 if (buflen >= bufmax) in comment_add() 376 bufmax = 2 * bufmax + 10; in comment_add() 377 buffer = xrealloc (buffer, bufmax); in comment_add() 388 if (buflen >= bufmax) in comment_line_end() 390 bufmax = 2 * bufmax + 10; in comment_line_end() 391 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-librep.c | 411 static size_t bufmax; variable 423 if (buflen >= bufmax) in comment_add() 425 bufmax = 2 * bufmax + 10; in comment_add() 426 buffer = xrealloc (buffer, bufmax); in comment_add() 438 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 440 bufmax = 2 * bufmax + 10; in comment_line_end() 441 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-elisp.c | 330 static size_t bufmax; variable 342 if (buflen >= bufmax) in comment_add() 344 bufmax = 2 * bufmax + 10; in comment_add() 345 buffer = xrealloc (buffer, bufmax); in comment_add() 357 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 359 bufmax = 2 * bufmax + 10; in comment_line_end() 360 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-lua.c | 211 static size_t bufmax; variable 223 if (buflen >= bufmax) in comment_add() 225 bufmax = 2 * bufmax + 10; in comment_add() 226 buffer = xrealloc (buffer, bufmax); in comment_add() 238 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 240 bufmax = 2 * bufmax + 10; in comment_line_end() 241 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-scheme.c | 571 static size_t bufmax; variable 583 if (buflen >= bufmax) in comment_add() 585 bufmax = 2 * bufmax + 10; in comment_add() 586 buffer = xrealloc (buffer, bufmax); in comment_add() 598 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 600 bufmax = 2 * bufmax + 10; in comment_line_end() 601 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-sh.c | 299 static size_t bufmax; variable 311 if (buflen >= bufmax) in comment_add() 313 bufmax = 2 * bufmax + 10; in comment_add() 314 buffer = xrealloc (buffer, bufmax); in comment_add() 325 if (buflen >= bufmax) in comment_line_end() 327 bufmax = 2 * bufmax + 10; in comment_line_end() 328 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-lisp.c | 826 static size_t bufmax; variable 838 if (buflen >= bufmax) in comment_add() 840 bufmax = 2 * bufmax + 10; in comment_add() 841 buffer = xrealloc (buffer, bufmax); in comment_add() 853 if (chars_to_remove == 0 && buflen >= bufmax) in comment_line_end() 855 bufmax = 2 * bufmax + 10; in comment_line_end() 856 buffer = xrealloc (buffer, bufmax); in comment_line_end()
|
D | x-python.c | 1244 static int bufmax; in phase5_get() local 1250 if (bufpos >= bufmax) in phase5_get() 1252 bufmax = 2 * bufmax + 10; in phase5_get() 1253 buffer = xrealloc (buffer, bufmax); in phase5_get() 1279 if (bufpos >= bufmax) in phase5_get() 1281 bufmax = 2 * bufmax + 10; in phase5_get() 1282 buffer = xrealloc (buffer, bufmax); in phase5_get()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/ |
D | tirpc_svc_tli_create_limits.c | 43 int bufmax; member 76 paramList[0].bufmax = 2147483647; in main() 78 paramList[1].bufmax = 0; in main() 80 paramList[2].bufmax = 2147483647; in main() 87 printf("%d", paramList[i].bufmax); in main() 94 paramList[i].bufmax); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/ |
D | tirpc_clnt_tli_create_limits.c | 46 int bufmax; member 98 paramList[0].bufmax = 2147483647; in main() 100 paramList[1].bufmax = 0; in main() 102 paramList[2].bufmax = 2147483647; in main() 109 printf("%d", paramList[i].bufmax); in main() 115 paramList[i].bufmax); in main()
|
/third_party/gettext/gettext-runtime/src/ |
D | envsubst.c | 469 static size_t bufmax; in subst_from_stdin() local 498 if (buflen >= bufmax) in subst_from_stdin() 500 bufmax = 2 * bufmax + 10; in subst_from_stdin() 501 buffer = xrealloc (buffer, bufmax); in subst_from_stdin() 532 if (buflen >= bufmax) in subst_from_stdin() 534 bufmax = 2 * bufmax + 10; in subst_from_stdin() 535 buffer = xrealloc (buffer, bufmax); in subst_from_stdin()
|
/third_party/nghttp2/src/ |
D | libevent_util.cc | 43 EvbufferBuffer::EvbufferBuffer(evbuffer *evbuffer, uint8_t *buf, size_t bufmax, in EvbufferBuffer() argument 48 bufmax_(bufmax), in EvbufferBuffer() 53 void EvbufferBuffer::reset(evbuffer *evbuffer, uint8_t *buf, size_t bufmax, in reset() argument 60 bufmax_ = bufmax; in reset()
|
D | libevent_util.h | 42 EvbufferBuffer(evbuffer *evbuffer, uint8_t *buf, size_t bufmax, 45 void reset(evbuffer *evbuffer, uint8_t *buf, size_t bufmax,
|