Home
last modified time | relevance | path

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

/external/pcre/dist2/src/
Dpcre2test.c841 static size_t dbuffer_size = 1u << 14; /* Initial size, bytes */ variable
5603 VALGRIND_MAKE_MEM_UNDEFINED(dbuffer, dbuffer_size); in process_data()
5612 if (dbuffer == NULL || needlen >= dbuffer_size) in process_data()
5614 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()
5615 dbuffer = (uint8_t *)realloc(dbuffer, dbuffer_size); in process_data()
5618 fprintf(stderr, "pcre2test: realloc(%d) failed\n", (int)dbuffer_size); in process_data()
5671 if (needlen >= dbuffer_size) in process_data()
5673 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()
5674 dbuffer = (uint8_t *)realloc(dbuffer, dbuffer_size); in process_data()
5677 fprintf(stderr, "pcre2test: realloc(%d) failed\n", (int)dbuffer_size); in process_data()
[all …]