/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | parser.hpp | 87 // 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 D | parser.cpp | 111 // 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 D | rrsig_46.c | 31 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 D | loc_29.c | 31 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 D | tkey_249.c | 33 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 D | dlv_32769.c | 34 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 D | sig_24.c | 31 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 D | ds_43.c | 35 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 D | tlsa_52.c | 28 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 D | uri_256.c | 26 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 D | nsec3param_51.c | 47 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 D | ipseckey_45.c | 30 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 D | cert_37.c | 31 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 D | isdn_20.c | 31 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 D | mx_15.c | 32 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 D | nsec3_50.c | 47 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 D | sshfp_44.c | 29 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 D | nxt_30.c | 35 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 D | dst_parse.c | 298 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 D | lex_test.c | 75 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 D | srv_33.c | 31 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 D | wks_11.c | 67 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 D | tsig_250.c | 30 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 D | lex_test.c | 40 isc_token_t token; local 58 result = isc_lex_gettoken(lex, 0, &token);
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | hex.c | 132 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);
|