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

1234

/bind-9.11.3/lib/isc/
H A Dpk11.c60 pk11_token_t *token; member in struct:pk11_session
90 pk11_token_t *token,
245 pk11_token_t *token, *next; local
250 token = ISC_LIST_HEAD(tokens);
251 while (token != NULL) {
252 next = ISC_LIST_NEXT(token, link);
253 ISC_LIST_UNLINK(tokens, token, link);
254 if (token == rand_token)
256 if (token == best_rsa_token)
258 if (token
342 pk11_token_t *token = NULL; local
483 pk11_token_t *token; local
529 setup_session(pk11_session_t *sp, pk11_token_t *token, isc_boolean_t rw) argument
548 pk11_token_t *token = sp->token; local
586 pk11_token_t *token; local
926 pk11_token_t *token = NULL; local
1161 pk11_token_t *token = NULL; local
1328 pk11_token_t *token; local
[all...]
H A Dhex.c123 isc_token_t token; local
135 RETERR(isc_lex_getmastertoken(lexer, &token,
137 if (token.type != isc_tokentype_string)
139 tr = &token.value.as_textregion;
144 isc_lex_ungettoken(lexer, &token);
/bind-9.11.3/bin/tools/
H A Dnamed-rrchecker.c67 isc_token_t token; local
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
[all...]
/bind-9.11.3/unit/atf-src/tools/
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:tools::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.11.3/lib/dns/
H A Ddst_parse.c467 isc_token_t token; local
479 #define NEXTTOKEN(lex, opt, token) \
481 ret = isc_lex_gettoken(lex, opt, token); \
486 #define READLINE(lex, opt, token) \
488 ret = isc_lex_gettoken(lex, opt, token); \
493 } while ((*token).type != isc_tokentype_eol)
498 NEXTTOKEN(lex, opt, &token);
499 if (token.type != isc_tokentype_string ||
500 strcmp(DST_AS_STR(token), PRIVATE_KEY_STR) != 0)
506 NEXTTOKEN(lex, opt, &token);
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dloc_29.c22 isc_token_t token; local
64 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
66 if (token.value.as_ulong > 90U)
68 d1 = (int)token.value.as_ulong;
72 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
74 if (strcasecmp(DNS_AS_STR(token), "N") == 0)
76 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0)
78 m1 = strtol(DNS_AS_STR(token), &e, 10);
89 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
91 if (strcasecmp(DNS_AS_STR(token), "
[all...]
H A Dsig_24.c22 isc_token_t token; local
41 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
43 result = dns_rdatatype_fromtext(&covered, &token.value.as_textregion);
45 i = strtol(DNS_AS_STR(token), &e, 10);
57 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
59 RETTOK(dns_secalg_fromtext(&c, &token.value.as_textregion));
65 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
67 if (token.value.as_ulong > 0xffU)
69 c = (unsigned char)token.value.as_ulong;
75 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_numbe
[all...]
H A Drrsig_46.c22 isc_token_t token; local
41 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
43 result = dns_rdatatype_fromtext(&covered, &token.value.as_textregion);
45 i = strtol(DNS_AS_STR(token), &e, 10);
57 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
59 RETTOK(dns_secalg_fromtext(&c, &token.value.as_textregion));
65 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
67 if (token.value.as_ulong > 0xffU)
69 c = (unsigned char)token.value.as_ulong;
75 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_numbe
[all...]
H A Dsink_40.c18 isc_token_t token; local
29 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
31 if (token.value.as_ulong > 0xffU)
33 RETERR(uint8_tobuffer(token.value.as_ulong, target));
36 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
38 if (token.value.as_ulong > 0xffU)
40 RETERR(uint8_tobuffer(token.value.as_ulong, target));
43 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
45 if (token.value.as_ulong > 0xffU)
47 RETERR(uint8_tobuffer(token
[all...]
H A Duri_256.c18 isc_token_t token; local
31 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
33 if (token.value.as_ulong > 0xffffU)
35 RETERR(uint16_tobuffer(token.value.as_ulong, target));
40 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
42 if (token.value.as_ulong > 0xffffU)
44 RETERR(uint16_tobuffer(token.value.as_ulong, target));
49 RETERR(isc_lex_getmastertoken(lexer, &token,
51 if (token.type != isc_tokentype_qstring)
53 RETTOK(multitxt_fromtext(&token
[all...]
H A Ddoa_259.c16 isc_token_t token; local
28 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
30 RETERR(uint32_tobuffer(token.value.as_ulong, target));
35 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
37 RETERR(uint32_tobuffer(token.value.as_ulong, target));
42 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
44 if (token.value.as_ulong > 0xffU) {
47 RETERR(uint8_tobuffer(token.value.as_ulong, target));
52 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
54 RETTOK(txt_fromtext(&token
[all...]
H A Dnsec3param_51.c39 isc_token_t token; local
52 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
54 RETTOK(dns_hashalg_fromtext(&hashalg, &token.value.as_textregion));
58 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
60 flags = token.value.as_ulong;
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
68 if (token.value.as_ulong > 0xffffU)
70 RETERR(uint16_tobuffer(token.value.as_ulong, target));
73 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
75 if (token
[all...]
H A Dipseckey_45.c22 isc_token_t token; local
39 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
41 if (token.value.as_ulong > 0xffU)
43 RETERR(uint8_tobuffer(token.value.as_ulong, target));
48 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
50 if (token.value.as_ulong > 0x3U)
52 RETERR(uint8_tobuffer(token.value.as_ulong, target));
53 gateway = token.value.as_ulong;
58 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
60 if (token
[all...]
H A Dnsec3_50.c39 isc_token_t token; local
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
[all...]
H A Dtkey_249.c24 isc_token_t token; local
40 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
43 buffer_fromregion(&buffer, &token.value.as_region);
52 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
54 RETERR(uint32_tobuffer(token.value.as_ulong, target));
59 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
61 RETERR(uint32_tobuffer(token.value.as_ulong, target));
66 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
68 if (token.value.as_ulong > 0xffffU)
70 RETERR(uint16_tobuffer(token
[all...]
H A Dcert_37.c22 isc_token_t token; local
37 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
39 RETTOK(dns_cert_fromtext(&cert, &token.value.as_textregion));
45 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
47 if (token.value.as_ulong > 0xffffU)
49 RETERR(uint16_tobuffer(token.value.as_ulong, target));
54 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
56 RETTOK(dns_secalg_fromtext(&secalg, &token.value.as_textregion));
H A Disdn_20.c22 isc_token_t token; local
33 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
35 RETTOK(txt_fromtext(&token.value.as_textregion, target));
38 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
40 if (token.type != isc_tokentype_string &&
41 token.type != isc_tokentype_qstring) {
42 isc_lex_ungettoken(lexer, &token);
45 RETTOK(txt_fromtext(&token.value.as_textregion, target));
H A Dcaa_257.c35 isc_token_t token; local
49 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
51 if (token.value.as_ulong > 255U)
53 flags = (isc_uint8_t)(token.value.as_ulong & 255U);
59 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
61 tr = token.value.as_textregion;
71 RETERR(isc_lex_getmastertoken(lexer, &token,
73 if (token.type != isc_tokentype_qstring &&
74 token.type != isc_tokentype_string)
76 RETERR(multitxt_fromtext(&token
[all...]
H A Dmx_15.c25 check_mx(isc_token_t *token) { argument
30 if (strlcpy(tmp, DNS_AS_STR(*token), sizeof(tmp)) >= sizeof(tmp))
44 isc_token_t token; local
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));
60 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
65 ok = check_mx(&token);
69 warn_badmx(&token, lexer, callbacks);
72 buffer_fromregion(&buffer, &token
[all...]
H A Dtlsa_52.c18 isc_token_t token; local
29 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
31 if (token.value.as_ulong > 0xffU)
33 RETERR(uint8_tobuffer(token.value.as_ulong, target));
38 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
40 if (token.value.as_ulong > 0xffU)
42 RETERR(uint8_tobuffer(token.value.as_ulong, target));
47 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
49 if (token.value.as_ulong > 0xffU)
51 RETERR(uint8_tobuffer(token
[all...]
H A Dkeydata_65533.c22 isc_token_t token; local
37 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
39 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &refresh));
43 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
45 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &addhd));
49 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
51 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &removehd));
55 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
57 RETTOK(dns_keyflags_fromtext(&flags, &token.value.as_textregion));
61 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_strin
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dlex_test.c32 isc_token_t token; local
50 result = isc_lex_gettoken(lex, 0, &token);
64 isc_token_t token; local
86 result = isc_lex_gettoken(lex, 0, &token);
93 result = isc_lex_gettoken(lex, 0, &token);
/bind-9.11.3/bin/tests/
H A Dlex_test.c67 isc_token_t token; local
128 while ((result = isc_lex_gettoken(lex, options, &token)) ==
132 print_token(&token, stdout);
137 if (token.type == isc_tokentype_eof)
139 if (token.type == isc_tokentype_nomore)
/bind-9.11.3/lib/dns/rdata/any_255/
H A Dtsig_250.c21 isc_token_t token; local
39 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
42 buffer_fromregion(&buffer, &token.value.as_region);
50 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
52 sigtime = isc_string_touint64(DNS_AS_STR(token), &e, 10);
63 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
65 if (token.value.as_ulong > 0xffffU)
67 RETERR(uint16_tobuffer(token.value.as_ulong, target));
72 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
74 if (token
[all...]

Completed in 30 milliseconds

1234