Lines Matching refs:max_token
60 size_t max_token;
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) {
98 REQUIRE(max_token > 0U);
103 lex->data = isc_mem_get(mctx, max_token + 1);
109 lex->max_token = max_token;
139 isc_mem_put(lex->mctx, lex->data, lex->max_token + 1);
213 lex->max_token);
416 remaining = lex->max_token;
618 lex->max_token -
662 lex->max_token - remaining;
747 lex->max_token - remaining;