Searched refs:token (Results 1 - 25 of 86) sorted by relevance

1234

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dparser.hpp87 // The "token" class.
93 //! \brief Representation of a read token.
95 //! A pair that contains the information of a token read from a stream.
96 //! It contains the token's type and its associated data, if any.
98 struct token { struct in namespace:atf::parser
105 token(void);
106 token(size_t, const token_type&, const std::string& = "");
134 token m_la;
163 token next(void);
217 token
[all...]
H A Dparser.cpp111 // The "token" class.
114 impl::token::token(void) : function in class:impl::token
119 impl::token::token(size_t p_line, function in class:impl::token
130 impl::token::lineno(void)
137 impl::token::type(void)
144 impl::token::text(void)
150 impl::token::operator bool(void)
157 impl::token
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Drrsig_46.c31 isc_token_t token; local
50 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
52 result = dns_rdatatype_fromtext(&covered, &token.value.as_textregion);
54 i = strtol(DNS_AS_STR(token), &e, 10);
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
68 RETTOK(dns_secalg_fromtext(&c, &token.value.as_textregion));
74 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
76 if (token.value.as_ulong > 0xffU)
78 c = (unsigned char)token.value.as_ulong;
84 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_numbe
[all...]
H A Dloc_29.c31 isc_token_t token; local
73 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
75 if (token.value.as_ulong > 90U)
77 d1 = (int)token.value.as_ulong;
81 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
83 if (strcasecmp(DNS_AS_STR(token), "N") == 0)
85 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0)
87 m1 = strtol(DNS_AS_STR(token), &e, 10);
98 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
100 if (strcasecmp(DNS_AS_STR(token), "
[all...]
H A Dtkey_249.c33 isc_token_t token; local
49 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
52 buffer_fromregion(&buffer, &token.value.as_region);
60 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
62 RETERR(uint32_tobuffer(token.value.as_ulong, target));
67 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
69 RETERR(uint32_tobuffer(token.value.as_ulong, target));
74 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
76 if (token.value.as_ulong > 0xffffU)
78 RETERR(uint16_tobuffer(token
[all...]
H A Ddlv_32769.c34 isc_token_t token; local
49 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
51 if (token.value.as_ulong > 0xffffU)
53 RETERR(uint16_tobuffer(token.value.as_ulong, target));
58 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
60 if (token.value.as_ulong > 0xffU)
62 RETERR(uint8_tobuffer(token.value.as_ulong, target));
67 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
69 if (token.value.as_ulong > 0xffU)
71 RETERR(uint8_tobuffer(token
[all...]
H A Dsig_24.c31 isc_token_t token; local
50 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
52 result = dns_rdatatype_fromtext(&covered, &token.value.as_textregion);
54 i = strtol(DNS_AS_STR(token), &e, 10);
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
68 RETTOK(dns_secalg_fromtext(&c, &token.value.as_textregion));
74 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
76 if (token.value.as_ulong > 0xffU)
78 c = (unsigned char)token.value.as_ulong;
84 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_numbe
[all...]
H A Dds_43.c35 isc_token_t token; local
50 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
52 if (token.value.as_ulong > 0xffffU)
54 RETERR(uint16_tobuffer(token.value.as_ulong, target));
59 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
61 RETTOK(dns_secalg_fromtext(&c, &token.value.as_textregion));
67 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
69 if (token.value.as_ulong > 0xffU)
71 RETERR(uint8_tobuffer(token.value.as_ulong, target));
72 c = (unsigned char) token
[all...]
H A Dtlsa_52.c28 isc_token_t token; local
41 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
43 if (token.value.as_ulong > 0xffU)
45 RETERR(uint8_tobuffer(token.value.as_ulong, target));
50 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
52 if (token.value.as_ulong > 0xffU)
54 RETERR(uint8_tobuffer(token.value.as_ulong, target));
59 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
61 if (token.value.as_ulong > 0xffU)
63 RETERR(uint8_tobuffer(token
[all...]
H A Duri_256.c26 isc_token_t token; local
39 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
41 if (token.value.as_ulong > 0xffffU)
43 RETERR(uint16_tobuffer(token.value.as_ulong, target));
48 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
50 if (token.value.as_ulong > 0xffffU)
52 RETERR(uint16_tobuffer(token.value.as_ulong, target));
57 RETERR(isc_lex_getmastertoken(lexer, &token,
59 if (token.type != isc_tokentype_qstring)
61 RETTOK(multitxt_fromtext(&token
[all...]
H A Dnsec3param_51.c47 isc_token_t token; local
60 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
62 RETTOK(dns_hashalg_fromtext(&hashalg, &token.value.as_textregion));
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
68 flags = token.value.as_ulong;
74 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
76 if (token.value.as_ulong > 0xffffU)
78 RETERR(uint16_tobuffer(token.value.as_ulong, target));
81 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
83 if (token
[all...]
H A Dipseckey_45.c30 isc_token_t token; local
47 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
49 if (token.value.as_ulong > 0xffU)
51 RETERR(uint8_tobuffer(token.value.as_ulong, target));
56 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
58 if (token.value.as_ulong > 0x3U)
60 RETERR(uint8_tobuffer(token.value.as_ulong, target));
61 gateway = token.value.as_ulong;
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
68 if (token
[all...]
H A Dcert_37.c31 isc_token_t token; local
46 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
48 RETTOK(dns_cert_fromtext(&cert, &token.value.as_textregion));
54 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
56 if (token.value.as_ulong > 0xffffU)
58 RETERR(uint16_tobuffer(token.value.as_ulong, target));
63 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
65 RETTOK(dns_secalg_fromtext(&secalg, &token.value.as_textregion));
H A Disdn_20.c31 isc_token_t token; local
42 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
44 RETTOK(txt_fromtext(&token.value.as_textregion, target));
47 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
49 if (token.type != isc_tokentype_string &&
50 token.type != isc_tokentype_qstring) {
51 isc_lex_ungettoken(lexer, &token);
54 RETTOK(txt_fromtext(&token.value.as_textregion, target));
H A Dmx_15.c32 check_mx(isc_token_t *token) { argument
37 if (strlcpy(tmp, DNS_AS_STR(*token), sizeof(tmp)) >= sizeof(tmp))
51 isc_token_t token; local
61 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
63 if (token.value.as_ulong > 0xffffU)
65 RETERR(uint16_tobuffer(token.value.as_ulong, target));
67 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
72 ok = check_mx(&token);
76 warn_badmx(&token, lexer, callbacks);
79 buffer_fromregion(&buffer, &token
[all...]
H A Dnsec3_50.c47 isc_token_t token; local
65 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
67 RETTOK(dns_hashalg_fromtext(&hashalg, &token.value.as_textregion));
71 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
73 flags = token.value.as_ulong;
79 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
81 if (token.value.as_ulong > 0xffffU)
83 RETERR(uint16_tobuffer(token.value.as_ulong, target));
86 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
88 if (token
[all...]
H A Dsshfp_44.c29 isc_token_t token; local
42 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
44 if (token.value.as_ulong > 0xffU)
46 RETERR(uint8_tobuffer(token.value.as_ulong, target));
51 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
53 if (token.value.as_ulong > 0xffU)
55 RETERR(uint8_tobuffer(token.value.as_ulong, target));
H A Dnxt_30.c35 isc_token_t token; local
54 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
57 buffer_fromregion(&buffer, &token.value.as_region);
63 RETERR(isc_lex_getmastertoken(lexer, &token,
65 if (token.type != isc_tokentype_string)
67 n = strtol(DNS_AS_STR(token), &e, 10);
68 if (e != DNS_AS_STR(token) && *e == '\0') {
71 &token.value.as_textregion) == DNS_R_UNKNOWN)
83 isc_lex_ungettoken(lexer, &token);
/bind-9.6-ESV-R11/lib/dns/
H A Ddst_parse.c298 isc_token_t token; local
308 #define NEXTTOKEN(lex, opt, token) \
310 ret = isc_lex_gettoken(lex, opt, token); \
315 #define READLINE(lex, opt, token) \
317 ret = isc_lex_gettoken(lex, opt, token); \
322 } while ((*token).type != isc_tokentype_eol)
327 NEXTTOKEN(lex, opt, &token);
328 if (token.type != isc_tokentype_string ||
329 strcmp(DST_AS_STR(token), PRIVATE_KEY_STR) != 0)
335 NEXTTOKEN(lex, opt, &token);
[all...]
/bind-9.6-ESV-R11/bin/tests/
H A Dlex_test.c75 isc_token_t token; local
136 while ((result = isc_lex_gettoken(lex, options, &token)) ==
140 print_token(&token, stdout);
145 if (token.type == isc_tokentype_eof)
147 if (token.type == isc_tokentype_nomore)
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dsrv_33.c31 isc_token_t token; local
46 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
48 if (token.value.as_ulong > 0xffffU)
50 RETERR(uint16_tobuffer(token.value.as_ulong, target));
55 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
57 if (token.value.as_ulong > 0xffffU)
59 RETERR(uint16_tobuffer(token.value.as_ulong, target));
64 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
66 if (token.value.as_ulong > 0xffffU)
68 RETERR(uint16_tobuffer(token
[all...]
H A Dwks_11.c67 isc_token_t token; local
93 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
97 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1)
107 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
110 proto = strtol(DNS_AS_STR(token), &e, 10);
113 else if (!mygetprotobyname(DNS_AS_STR(token), &proto))
128 RETERR(isc_lex_getmastertoken(lexer, &token,
130 if (token.type != isc_tokentype_string)
137 strncpy(service, DNS_AS_STR(token), sizeof(service));
143 port = strtol(DNS_AS_STR(token),
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/any_255/
H A Dtsig_250.c30 isc_token_t token; local
48 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
51 buffer_fromregion(&buffer, &token.value.as_region);
58 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
60 sigtime = isc_string_touint64(DNS_AS_STR(token), &e, 10);
71 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
73 if (token.value.as_ulong > 0xffffU)
75 RETERR(uint16_tobuffer(token.value.as_ulong, target));
80 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
82 if (token
[all...]
/bind-9.6-ESV-R11/lib/isc/tests/
H A Dlex_test.c40 isc_token_t token; local
58 result = isc_lex_gettoken(lex, 0, &token);
/bind-9.6-ESV-R11/lib/isc/
H A Dhex.c132 isc_token_t token; local
144 RETERR(isc_lex_getmastertoken(lexer, &token,
146 if (token.type != isc_tokentype_string)
148 tr = &token.value.as_textregion;
153 isc_lex_ungettoken(lexer, &token);

Completed in 1688 milliseconds

1234