Lines Matching refs:token
39 isc_token_t token;
54 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
56 RETTOK(dns_hashalg_fromtext(&hashalg, &token.value.as_textregion));
60 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
62 flags = token.value.as_ulong;
68 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
70 if (token.value.as_ulong > 0xffffU)
72 RETERR(uint16_tobuffer(token.value.as_ulong, target));
75 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
77 if (token.value.as_textregion.length > (255*2))
79 if (strcmp(DNS_AS_STR(token), "-") == 0) {
82 RETERR(uint8_tobuffer(strlen(DNS_AS_STR(token)) / 2, target));
83 RETERR(isc_hex_decodestring(DNS_AS_STR(token), target));
89 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
92 RETTOK(isc_base32hexnp_decodestring(DNS_AS_STR(token), &b));