Searched refs:tok (Results 1 - 25 of 517) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/tcpdump/dist/
H A Dl2vpn.h16 extern const struct tok l2vpn_encaps_values[];
17 extern const struct tok mpls_pw_types_values[];
H A Dgmpls.h25 extern const struct tok gmpls_link_prot_values[];
26 extern const struct tok gmpls_switch_cap_values[];
27 extern const struct tok gmpls_switch_cap_tsc_indication_values[];
28 extern const struct tok gmpls_encoding_values[];
29 extern const struct tok gmpls_payload_values[];
30 extern const struct tok diffserv_te_bc_values[];
31 extern const struct tok lmp_sd_service_config_cpsa_link_type_values[];
32 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[];
33 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[];
H A Dgmpls.c31 const struct tok gmpls_link_prot_values[] = {
44 const struct tok gmpls_switch_cap_values[] = {
57 const struct tok gmpls_switch_cap_tsc_indication_values[] = {
64 const struct tok gmpls_encoding_values[] = {
80 const struct tok gmpls_payload_values[] = {
148 const struct tok lmp_sd_service_config_cpsa_link_type_values[] = {
159 const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = {
176 const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = {
192 const struct tok diffserv_te_bc_values[] = {
H A Dsignature.h27 extern const struct tok signature_check_values[];
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/
H A DOperatorPrecedence.cpp17 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
20 case tok::greater:
29 case tok::greatergreater:
41 case tok::comma: return prec::Comma;
42 case tok::equal:
43 case tok::starequal:
44 case tok::slashequal:
45 case tok::percentequal:
46 case tok::plusequal:
47 case tok
[all...]
H A DTokenKinds.cpp24 const char *tok::getTokenName(TokenKind Kind) {
25 if (Kind < tok::NUM_TOKENS)
31 const char *tok::getPunctuatorSpelling(TokenKind Kind) {
40 const char *tok::getKeywordSpelling(TokenKind Kind) {
49 bool tok::isAnnotation(TokenKind Kind) {
59 bool tok::isPragmaAnnotation(TokenKind Kind) {
/netbsd-current/lib/libedit/
H A Dtokenizer.c97 static void FUN(tok,finish)(TYPE(Tokenizer) *);
100 /* FUN(tok,finish)():
104 FUN(tok,finish)(TYPE(Tokenizer) *tok)
107 *tok->wptr = '\0';
108 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) {
109 tok->argv[tok
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTentative.cpp52 case tok::kw_asm:
54 case tok::kw_namespace:
57 case tok::kw_using:
59 case tok::kw_static_assert:
60 case tok::kw__Static_assert:
156 case tok::kw__Atomic:
157 if (NextToken().isNot(tok::l_paren)) {
162 case tok::kw_typeof:
163 case tok::kw___attribute:
164 case tok
[all...]
H A DParseTemplate.cpp42 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) {
77 assert(Tok.isOneOf(tok::kw_export, tok::kw_template) &&
116 TryConsumeToken(tok::kw_export, ExportLoc);
120 if (!TryConsumeToken(tok::kw_template, TemplateLoc)) {
132 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch);
133 TryConsumeToken(tok::semi);
142 if (TryConsumeToken(tok::kw_requires)) {
148 SkipUntil(tok
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTokenKinds.h22 namespace tok { namespace in namespace:clang
73 return (K == tok::identifier) || (K == tok::raw_identifier);
79 return K == tok::string_literal || K == tok::wide_string_literal ||
80 K == tok::utf8_string_literal || K == tok::utf16_string_literal ||
81 K == tok::utf32_string_literal;
87 return K == tok::numeric_constant || K == tok
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenConcatenation.cpp73 TokenInfo[tok::identifier ] |= aci_custom;
74 TokenInfo[tok::numeric_constant] |= aci_custom_firstchar;
75 TokenInfo[tok::period ] |= aci_custom_firstchar;
76 TokenInfo[tok::amp ] |= aci_custom_firstchar;
77 TokenInfo[tok::plus ] |= aci_custom_firstchar;
78 TokenInfo[tok::minus ] |= aci_custom_firstchar;
79 TokenInfo[tok::slash ] |= aci_custom_firstchar;
80 TokenInfo[tok::less ] |= aci_custom_firstchar;
81 TokenInfo[tok::greater ] |= aci_custom_firstchar;
82 TokenInfo[tok
[all...]
/netbsd-current/usr.bin/rpcgen/
H A Drpc_parse.c79 token tok; local
82 get_token(&tok);
83 switch (tok.kind) {
108 scan(TOK_SEMICOLON, &tok);
122 token tok; local
129 scan(TOK_IDENT, &tok);
130 defp->def_name = tok.str;
131 scan(TOK_LBRACE, &tok);
139 scan(TOK_SEMICOLON, &tok);
140 peek(&tok);
149 token tok; local
253 token tok; local
282 token tok; local
295 token tok; local
413 token tok; local
466 token tok; local
533 token tok; local
587 token tok; local
[all...]
/netbsd-current/external/mit/isl/dist/
H A Dextract_key.c12 /* Extract a mapping key from the token "tok".
13 * Return KEY_ERROR on error, i.e., if "tok" does not
16 static KEY KEY_EXTRACT(__isl_keep isl_stream *s, struct isl_token *tok) argument
23 has_string = isl_token_has_str(tok);
27 isl_stream_error(s, tok, "expecting key");
32 name = isl_token_get_str(ctx, tok);
54 struct isl_token *tok; local
57 tok = isl_stream_next_token(s);
58 key = KEY_EXTRACT(s, tok);
59 isl_token_free(tok);
[all...]
H A Disl_stream.c73 struct isl_token *tok = isl_alloc_type(ctx, struct isl_token); local
74 if (!tok)
76 tok->line = line;
77 tok->col = col;
78 tok->on_new_line = on_new_line;
79 tok->is_keyword = 0;
80 tok->u.s = NULL;
81 return tok;
84 /* Return the type of "tok".
86 int isl_token_get_type(struct isl_token *tok) argument
93 isl_token_get_val(isl_ctx *ctx, struct isl_token *tok) argument
106 isl_token_has_str(struct isl_token *tok) argument
115 isl_token_get_str(isl_ctx *ctx, struct isl_token *tok) argument
127 isl_token_free(struct isl_token *tok) argument
142 isl_stream_error(__isl_keep isl_stream *s, struct isl_token *tok, char *msg) argument
311 isl_stream_push_token(__isl_keep isl_stream *s, struct isl_token *tok) argument
390 struct isl_token *tok = NULL; local
705 struct isl_token *tok; local
720 struct isl_token *tok; local
733 struct isl_token *tok; local
749 struct isl_token *tok; local
768 struct isl_token *tok; local
811 struct isl_token *tok = isl_stream_next_token(s); local
968 struct isl_token *tok; local
1072 struct isl_token *tok; local
1104 struct isl_token *tok; local
1141 struct isl_token *tok; local
1174 struct isl_token *tok; local
[all...]
H A Dread_in_string_templ.c19 struct isl_token *tok; local
22 tok = isl_stream_next_token(s);
23 type = isl_token_get_type(tok);
30 str = isl_token_get_str(ctx, tok);
33 isl_token_free(tok);
36 isl_stream_push_token(s, tok);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/
H A DUnwrappedLineParser.cpp61 return FormatTok.is(tok::comment) && !FormatTok.TokenText.startswith("/*");
87 FakeEOF.Tok.setKind(tok::eof);
330 case tok::l_brace:
349 case tok::r_square:
357 case tok::l_square:
371 tok::TokenKind kind = FormatTok->Tok.getKind();
373 kind = tok::l_brace;
375 kind = tok::r_brace;
379 case tok::comment:
383 case tok
[all...]
H A DTokenAnnotator.cpp34 /// lexed as tok::kw_*, not tok::identifier, even for Objective-C.
48 if (Left->Previous && Left->Previous->is(tok::greater) &&
54 return Left->Previous && Left->Previous->is(tok::r_square) &&
62 return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch,
63 tok::kw_constexpr, tok
[all...]
H A DFormatToken.h362 tok::TokenKind ParentBracket = tok::unknown;
442 bool is(tok::TokenKind Kind) const { return Tok.is(Kind); }
447 bool is(tok::PPKeywordKind Kind) const {
464 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
465 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
494 bool isStringLiteral() const { return tok
[all...]
/netbsd-current/external/bsd/mdocml/dist/
H A Dcompat_strsep.c58 char *tok; local
62 for (tok = s;;) {
72 return (tok);
/netbsd-current/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c137 char *tok; local
147 for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) {
148 if (strcasecmp(tok, "EXCEPT") == 0) /* EXCEPT: give up */
150 if ((match = (*match_fn)(tok, item)) != 0) /* YES */
156 while ((tok = strtok((char *) 0, sep)) && strcasecmp(tok, "EXCEPT"))
158 if (tok == 0 || list_match((char *) 0, item, match_fn) == NO)
177 user_match(const char *tok, cons argument
205 from_match(const char *tok, const char *string) argument
240 string_match(const char *tok, const char *string) argument
[all...]
/netbsd-current/usr.bin/ctags/
H A DC.c70 char tok[MAXTOKEN]; /* token buffer */ local
73 sp = tok; token = t_def = NO; t_level = -1; level = 0; lineno = 1;
105 endtok: if (sp > tok) {
108 sp = tok;
142 if (sp == tok) {
162 if (sp != tok)
174 pfnote(tok, curline);
200 if (sp != tok)
202 pfnote(tok, lineno);
216 if (sp == tok)
366 char tok[MAXTOKEN]; /* storage buffer */ local
428 char tok[LINE_MAX]; /* storage buffer */ local
[all...]
/netbsd-current/external/mit/expat/dist/lib/
H A Dxmlrole.c122 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, int tok,
138 static int FASTCALL common(PROLOG_STATE *state, int tok);
141 prolog0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, argument
143 switch (tok) {
168 return common(state, tok);
172 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, argument
174 switch (tok) {
200 return common(state, tok);
204 prolog2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, argument
209 switch (tok) {
224 doctype0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
241 doctype1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
267 doctype2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
283 doctype3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
299 doctype4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
318 doctype5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
334 internalSubset(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
379 externalSubset0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
388 externalSubset1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
416 entity0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
435 entity1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
451 entity2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
475 entity3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
491 entity4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
507 entity5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
526 entity6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
543 entity7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
567 entity8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
583 entity9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
599 entity10(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
615 notation0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
631 notation1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
651 notation2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
667 notation3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
684 notation4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
704 attlist0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
721 attlist1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
741 attlist2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
771 attlist3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
789 attlist4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
808 attlist5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
824 attlist6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
840 attlist7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
860 attlist8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
890 attlist9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
906 element0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
923 element1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
949 element2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
983 element3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1007 element4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1024 element5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1044 element6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1073 element7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1122 condSect0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1142 condSect1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1159 condSect2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1177 declClose(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1213 error(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1225 common(PROLOG_STATE *state, int tok) argument
[all...]
/netbsd-current/external/bsd/nvi/dist/clib/
H A Dstrsep.c67 char *tok; local
71 for (tok = s;;) {
81 return (tok);
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/
H A Dstrsep.c58 char *tok; local
62 for (tok = s;;) {
72 return (tok);
/netbsd-current/external/bsd/tcpdump/dist/missing/
H A Dstrsep.c61 char *tok; local
65 for (tok = s;;) {
75 return (tok);

Completed in 400 milliseconds

1234567891011>>