Lines Matching refs:token
67 isc_token_t token;
174 &token)) == ISC_R_SUCCESS) {
175 if (token.type == isc_tokentype_eof)
177 if (token.type == isc_tokentype_eol)
185 if (token.type == isc_tokentype_number) {
186 rdclass = (dns_rdataclass_t) token.value.as_ulong;
187 if (token.value.as_ulong > 0xffffu) {
189 token.value.as_ulong);
193 token.value.as_ulong);
195 } else if (token.type == isc_tokentype_string) {
197 &token.value.as_textregion);
204 (int)token.value.as_textregion.length,
205 token.value.as_textregion.base, rdclass);
208 fatal("unexpected token %u", token.type);
212 &token);
215 if (token.type == isc_tokentype_eol)
217 if (token.type == isc_tokentype_eof)
223 if (token.type == isc_tokentype_number) {
224 rdtype = (dns_rdatatype_t) token.value.as_ulong;
225 if (token.value.as_ulong > 0xffffu) {
227 token.value.as_ulong);
231 token.value.as_ulong);
233 } else if (token.type == isc_tokentype_string) {
235 &token.value.as_textregion);
242 (int)token.value.as_textregion.length,
243 token.value.as_textregion.base, rdtype);
246 fatal("unexpected token %u", token.type);