Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/minix3/external/bsd/libc++/dist/libcxx/test/std/numerics/rand/rand.device/
H A Dctor.pass.cpp25 bool is_valid_random_device(const std::string &token) { in is_valid_random_device() argument
28 return token == "/dev/urandom" || token == "/dev/random"; in is_valid_random_device()
30 return token == "/dev/urandom"; in is_valid_random_device()
34 void check_random_device_valid(const std::string &token) { in check_random_device_valid() argument
35 std::random_device r(token); in check_random_device_valid()
38 void check_random_device_invalid(const std::string &token) { in check_random_device_invalid() argument
40 std::random_device r(token); in check_random_device_invalid()
61 std::string token = "wrong file"; in main() local
62 if (is_valid_random_device(token)) in main()
63 check_random_device_valid(token); in main()
[all …]
/minix3/external/bsd/dhcp/dist/dhcpctl/
H A Domshell.c94 enum dhcp_token token; in main() local
183 token = next_token (&val, (unsigned *)0, cfile); in main()
184 switch (token) { in main()
213 token = next_token (&val, (unsigned *)0, cfile); in main()
214 if (is_identifier (token)) { in main()
223 } else if (token == NUMBER) { in main()
230 token = next_token (&val, (unsigned *)0, cfile); in main()
231 if (token != END_OF_FILE && token != EOL) { in main()
239 token = next_token (&val, (unsigned *)0, cfile); in main()
240 if (token == NUMBER) { in main()
[all …]
/minix3/external/bsd/bind/dist/lib/isc/
H A Dpk11.c157 pk11_token_t *token; member
187 pk11_token_t *token,
340 pk11_token_t *token, *next; in pk11_finalize() local
345 token = ISC_LIST_HEAD(tokens); in pk11_finalize()
346 while (token != NULL) { in pk11_finalize()
347 next = ISC_LIST_NEXT(token, link); in pk11_finalize()
348 ISC_LIST_UNLINK(tokens, token, link); in pk11_finalize()
349 if (token == rand_token) in pk11_finalize()
351 if (token == best_rsa_token) in pk11_finalize()
353 if (token == best_dsa_token) in pk11_finalize()
[all …]
/minix3/external/bsd/dhcp/dist/common/
H A Dparse.c102 enum dhcp_token token; local
109 token = peek_token (&val, (unsigned *)0, cfile);
110 if (token == RBRACE) {
117 } else if (token == LBRACE) {
119 } else if (token == SEMI && !brace_count) {
122 } else if (token == EOL) {
129 token = next_token (&val, (unsigned *)0, cfile);
130 } while (token != END_OF_FILE);
136 enum dhcp_token token; local
139 token = next_token (&val, (unsigned *)0, cfile);
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dasn1parse.y88 %token kw_ABSENT
89 %token kw_ABSTRACT_SYNTAX
90 %token kw_ALL
91 %token kw_APPLICATION
92 %token kw_AUTOMATIC
93 %token kw_BEGIN
94 %token kw_BIT
95 %token kw_BMPString
96 %token kw_BOOLEAN
97 %token kw_BY
[all …]
/minix3/lib/libintl/
H A Dplural_parser.c101 int token; member
110 tcx->token0.token = T_NONE; in init_tokenizer_context()
230 if (tcx->token0.token != T_NONE) { in get_token()
231 int token = tcx->token0.token; in get_token() local
232 tcx->token0.token = T_NONE; in get_token()
234 return token; in get_token()
242 int token, union token_data *token_data) in unget_token() argument
244 tcx->token0.token = token; in unget_token()
255 int token; in main() local
266 token = get_token(&tcx, &token_data); in main()
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dcfx.c292 gss_cfx_wrap_token token; in _gssapi_wrap_cfx_iov() local
423 token = (gss_cfx_wrap_token)header->buffer.value; in _gssapi_wrap_cfx_iov()
425 token->TOK_ID[0] = 0x05; in _gssapi_wrap_cfx_iov()
426 token->TOK_ID[1] = 0x04; in _gssapi_wrap_cfx_iov()
427 token->Flags = 0; in _gssapi_wrap_cfx_iov()
428 token->Filler = 0xFF; in _gssapi_wrap_cfx_iov()
431 token->Flags |= CFXSentByAcceptor; in _gssapi_wrap_cfx_iov()
434 token->Flags |= CFXAcceptorSubkey; in _gssapi_wrap_cfx_iov()
446 token->Flags |= CFXSealed; in _gssapi_wrap_cfx_iov()
447 token->EC[0] = (ec >> 8) & 0xFF; in _gssapi_wrap_cfx_iov()
[all …]
/minix3/external/bsd/dhcp/dist/client/
H A Dclparse.c181 token = peek_token(&val, NULL, cfile); in read_client_conf()
182 if (token == END_OF_FILE) in read_client_conf()
225 int token; in read_client_conf_file() local
237 token = peek_token (&val, (unsigned *)0, cfile); in read_client_conf_file()
238 if (token == END_OF_FILE) in read_client_conf_file()
261 int token; in read_client_leases() local
274 token = next_token (&val, (unsigned *)0, cfile); in read_client_leases()
275 if (token == END_OF_FILE) in read_client_leases()
278 switch (token) { in read_client_leases()
328 int token; local
[all …]
/minix3/external/bsd/dhcp/dist/server/
H A Dconfpars.c243 enum dhcp_token token; in conf_file_subparse() local
248 token = peek_token (&val, (unsigned *)0, cfile); in conf_file_subparse()
249 if (token == END_OF_FILE) in conf_file_subparse()
269 enum dhcp_token token; in lease_file_subparse() local
273 token = next_token (&val, (unsigned *)0, cfile); in lease_file_subparse()
274 if (token == END_OF_FILE) in lease_file_subparse()
276 if (token == LEASE) { in lease_file_subparse()
284 } else if (token == IA_NA) { in lease_file_subparse()
286 } else if (token == IA_TA) { in lease_file_subparse()
288 } else if (token == IA_PD) { in lease_file_subparse()
[all …]
/minix3/external/bsd/bind/dist/bin/tools/
H A Dnamed-rrchecker.c55 isc_token_t token; in main() local
163 &token)) == ISC_R_SUCCESS) { in main()
164 if (token.type == isc_tokentype_eof) in main()
166 if (token.type == isc_tokentype_eol) in main()
175 if (token.type == isc_tokentype_number) { in main()
176 rdclass = (dns_rdataclass_t) token.value.as_ulong; in main()
177 if (token.value.as_ulong > 0xffffu) { in main()
179 token.value.as_ulong); in main()
185 token.value.as_ulong); in main()
189 } else if (token.type == isc_tokentype_string) { in main()
[all …]
/minix3/external/bsd/byacc/dist/test/
H A Dok_syntax1.y27 %token DIGIT LETTER
29 %token OCT1 '\177'
30 %token HEX1 '\xff'
31 %token HEX2 '\xFF'
32 %token HEX3 '\x7f'
33 %token STR1 "\x7f\177\\\n"
34 %token STR2 "\x7f\
37 %token BELL '\a'
38 %token BS '\b'
39 %token NL '\n'
[all …]
H A Dquote_calc2.y17 %token OP_ADD "ADD"
18 %token OP_SUB "SUB"
19 %token OP_MUL "MUL"
20 %token OP_DIV "DIV"
21 %token OP_MOD "MOD"
22 %token OP_AND "AND"
24 %token DIGIT LETTER
H A Dquote_calc4.y17 %token OP_ADD "ADD-operator"
18 %token OP_SUB "SUB-operator"
19 %token OP_MUL "MUL-operator"
20 %token OP_DIV "DIV-operator"
21 %token OP_MOD "MOD-operator"
22 %token OP_AND "AND-operator"
24 %token DIGIT LETTER
H A Dquote_calc.y17 %token OP_ADD "ADD"
18 %token OP_SUB "SUB"
19 %token OP_MUL "MUL"
20 %token OP_DIV "DIV"
21 %token OP_MOD "MOD"
22 %token OP_AND "AND"
24 %token DIGIT LETTER
H A Dquote_calc3.y17 %token OP_ADD "ADD-operator"
18 %token OP_SUB "SUB-operator"
19 %token OP_MUL "MUL-operator"
20 %token OP_DIV "DIV-operator"
21 %token OP_MOD "MOD-operator"
22 %token OP_AND "AND-operator"
24 %token DIGIT LETTER
/minix3/external/bsd/libarchive/dist/tar/
H A Dgetdate.c57 struct token { int token; time_t value; }; argument
63 struct token *tokenp; /* Pointer to next token. */
106 if (gds->tokenp[0].token == tUNUMBER in timephrase()
107 && gds->tokenp[1].token == ':' in timephrase()
108 && gds->tokenp[2].token == tUNUMBER in timephrase()
109 && gds->tokenp[3].token == ':' in timephrase()
110 && gds->tokenp[4].token == tUNUMBER) { in timephrase()
118 else if (gds->tokenp[0].token == tUNUMBER in timephrase()
119 && gds->tokenp[1].token == ':' in timephrase()
120 && gds->tokenp[2].token == tUNUMBER) { in timephrase()
[all …]
/minix3/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/
H A Dparser.hpp98 struct token { struct
105 token(void);
106 token(size_t, const token_type&, const std::string& = "");
134 token m_la;
163 token next(void);
217 token
221 token t = m_la; in next()
222 m_la = token(); in next()
232 token t(m_lineno, m_eof_type, "<<EOF>>"); in next()
242 m_la = token(m_lineno, m_nl_type, "<<NEWLINE>>"); in next()
[all …]
/minix3/external/bsd/atf/dist/tools/
H A Dparser.hpp98 struct token { struct
105 token(void);
106 token(size_t, const token_type&, const std::string& = "");
134 token m_la;
163 token next(void);
217 token
221 token t = m_la; in next()
222 m_la = token(); in next()
232 token t(m_lineno, m_eof_type, "<<EOF>>"); in next()
242 m_la = token(m_lineno, m_nl_type, "<<NEWLINE>>"); in next()
[all …]
/minix3/external/bsd/dhcp/dist/contrib/ldap/
H A Ddhcpd-conf-to-ldap71 local ($token, $newline);
90 if (($token, $newline) = $line =~ /^(.*?)\s+(.*)/)
92 if ($token =~ /^"/) {
94 if ($token !~ /"\s*$/)
97 $token .= " $tok";
104 $token = $line;
109 $token =~ y/[A-Z]/[a-z]/ if $lowercase;
111 return ($token);
531 local ($token) = shift;
534 if ($token eq 'option')
[all …]
/minix3/external/bsd/bind/dist/lib/dns/rdata/generic/
H A Dloc_29.c33 isc_token_t token; in fromtext_loc() local
75 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number, in fromtext_loc()
77 if (token.value.as_ulong > 90U) in fromtext_loc()
79 d1 = (int)token.value.as_ulong; in fromtext_loc()
83 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string, in fromtext_loc()
85 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
87 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc()
89 m1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc()
100 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string, in fromtext_loc()
102 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
[all …]
/minix3/external/bsd/dhcpcd/dist/
H A Dauth.h54 struct token { struct
55 TAILQ_ENTRY(token) next;
64 TAILQ_HEAD(token_head, token); argument
78 struct token *token; member
79 struct token *reconf;
84 const struct token * dhcp_auth_validate(struct authstate *,
89 ssize_t dhcp_auth_encode(struct auth *, const struct token *,
H A Dauth.c88 if (state->token) { in dhcp_auth_reset()
89 free(state->token->key); in dhcp_auth_reset()
90 free(state->token->realm); in dhcp_auth_reset()
91 free(state->token); in dhcp_auth_reset()
92 state->token = NULL; in dhcp_auth_reset()
108 const struct token *
118 const struct token *t; in dhcp_auth_validate()
161 if (state->token) { in dhcp_auth_validate()
247 if (state->token) { in dhcp_auth_validate()
248 free(state->token); in dhcp_auth_validate()
[all …]
/minix3/external/bsd/flex/dist/examples/manual/
H A Dfront.y22 %token PERIOD
23 %token NEWLINE
24 %token POSITIONAL
26 %token VERB
27 %token ADVERB
29 %token PROPER_NOUN
30 %token NOUN
32 %token DECLARATIVE
33 %token CONDITIONAL
/minix3/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dsel-gram.y52 %token kw_TRUE
53 %token kw_FALSE
54 %token kw_AND
55 %token kw_OR
56 %token kw_IN
57 %token kw_TAILMATCH
67 %token <string> NUMBER
68 %token <string> STRING
69 %token <string> IDENTIFIER
/minix3/external/bsd/bind/dist/lib/dns/
H A Ddst_parse.c411 isc_token_t token; in dst__privstruct_parse() local
423 #define NEXTTOKEN(lex, opt, token) \ in dst__privstruct_parse() argument
425 ret = isc_lex_gettoken(lex, opt, token); \ in dst__privstruct_parse()
430 #define READLINE(lex, opt, token) \ in dst__privstruct_parse() argument
432 ret = isc_lex_gettoken(lex, opt, token); \ in dst__privstruct_parse()
437 } while ((*token).type != isc_tokentype_eol) in dst__privstruct_parse()
442 NEXTTOKEN(lex, opt, &token); in dst__privstruct_parse()
443 if (token.type != isc_tokentype_string || in dst__privstruct_parse()
444 strcmp(DST_AS_STR(token), PRIVATE_KEY_STR) != 0) in dst__privstruct_parse()
450 NEXTTOKEN(lex, opt, &token); in dst__privstruct_parse()
[all …]

12345678910>>...19