Home
last modified time | relevance | path

Searched refs:dbuffer_size (Results 1 – 1 of 1) sorted by relevance

/external/pcre/dist2/src/
Dpcre2test.c932 static size_t dbuffer_size = 1u << 14; /* Initial size, bytes */ variable
6410 VALGRIND_MAKE_MEM_UNDEFINED(dbuffer, dbuffer_size); in process_data()
6419 if (dbuffer == NULL || needlen >= dbuffer_size) in process_data()
6421 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()
6422 dbuffer = (uint8_t *)realloc(dbuffer, dbuffer_size); in process_data()
6425 fprintf(stderr, "pcre2test: realloc(%d) failed\n", (int)dbuffer_size); in process_data()
6480 if (needlen >= dbuffer_size) in process_data()
6482 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()
6483 dbuffer = (uint8_t *)realloc(dbuffer, dbuffer_size); in process_data()
6486 fprintf(stderr, "pcre2test: realloc(%d) failed\n", (int)dbuffer_size); in process_data()
[all …]