Searched defs:token (Results 1 - 25 of 85) sorted by relevance

1234

/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/named/
H A Dcontrol.c42 isc_token_t token; local
46 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF, &token);
50 isc_lex_ungettoken(lex, &token);
52 if (token.type != isc_tokentype_string)
55 *cmdp = token.value.as_textregion.base;
/bind-9.11.3/lib/dns/rdata/generic/
H A Dproforma.c18 isc_token_t token; local
23 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
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 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 Dcname_5.c21 isc_token_t token; local
31 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
35 buffer_fromregion(&buffer, &token.value.as_region);
H A Dcsync_62.c18 isc_token_t token; local
29 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
31 RETERR(uint32_tobuffer(token.value.as_ulong, target));
34 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
36 if (token.value.as_ulong > 0xffffU)
38 RETERR(uint16_tobuffer(token.value.as_ulong, target));
H A Ddname_39.c22 isc_token_t token; local
32 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
36 buffer_fromregion(&buffer, &token.value.as_region);
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 Dgpos_27.c22 isc_token_t token; local
34 RETERR(isc_lex_getmastertoken(lexer, &token,
37 RETTOK(txt_fromtext(&token.value.as_textregion, target));
H A Dhinfo_13.c22 isc_token_t token; local
34 RETERR(isc_lex_getmastertoken(lexer, &token,
37 RETTOK(txt_fromtext(&token.value.as_textregion, target));
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 Dl32_105.c20 isc_token_t token; local
32 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
34 if (token.value.as_ulong > 0xffffU)
36 RETERR(uint16_tobuffer(token.value.as_ulong, target));
38 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
41 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1)
H A Dl64_106.c20 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));
37 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
40 if (locator_pton(DNS_AS_STR(token), locator) != 1)
H A Dmb_7.c20 isc_token_t token; local
30 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
34 buffer_fromregion(&buffer, &token.value.as_region);
H A Dmd_3.c20 isc_token_t token; local
30 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
34 buffer_fromregion(&buffer, &token.value.as_region);
H A Dmf_4.c20 isc_token_t token; local
30 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
34 buffer_fromregion(&buffer, &token.value.as_region);
H A Dmg_8.c20 isc_token_t token; local
30 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
34 buffer_fromregion(&buffer, &token.value.as_region);
H A Dmr_9.c20 isc_token_t token; local
30 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
34 buffer_fromregion(&buffer, &token.value.as_region);
H A Dnid_104.c20 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));
37 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
40 if (locator_pton(DNS_AS_STR(token), locator) != 1)
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 Dsshfp_44.c20 isc_token_t token; local
33 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
35 if (token.value.as_ulong > 0xffU)
37 RETERR(uint8_tobuffer(token.value.as_ulong, target));
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));
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 Dx25_19.c22 isc_token_t token; local
33 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
35 if (token.value.as_textregion.length < 4)
37 for (i = 0; i < token.value.as_textregion.length; i++)
38 if (!isdigit(token.value.as_textregion.base[i] & 0xff))
40 RETTOK(txt_fromtext(&token.value.as_textregion, target));
/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)

Completed in 41 milliseconds

1234