Searched refs:max_token (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/
H A Dlex.c60 size_t max_token; member in struct:isc_lex
75 new = isc_mem_get(lex->mctx, lex->max_token * 2 + 1);
78 memmove(new, lex->data, lex->max_token + 1);
82 isc_mem_put(lex->mctx, lex->data, lex->max_token + 1);
84 *remainingp += lex->max_token;
85 lex->max_token *= 2;
90 isc_lex_create(isc_mem_t *mctx, size_t max_token, isc_lex_t **lexp) { argument
98 REQUIRE(max_token > 0U);
103 lex->data = isc_mem_get(mctx, max_token + 1);
109 lex->max_token
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dlex.h146 isc_lex_create(isc_mem_t *mctx, size_t max_token, isc_lex_t **lexp);
150 * 'max_token' is a hint of the number of bytes in the largest token.
155 *\li max_token > 0.

Completed in 495 milliseconds