| /src/external/bsd/tcpdump/dist/ |
| l2vpn.h | 16 extern const struct tok l2vpn_encaps_values[]; 17 extern const struct tok mpls_pw_types_values[];
|
| gmpls.h | 25 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[];
|
| gmpls.c | 29 const struct tok gmpls_link_prot_values[] = { 42 const struct tok gmpls_switch_cap_values[] = { 55 const struct tok gmpls_switch_cap_tsc_indication_values[] = { 62 const struct tok gmpls_encoding_values[] = { 78 const struct tok gmpls_payload_values[] = { 146 const struct tok lmp_sd_service_config_cpsa_link_type_values[] = { 157 const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = { 174 const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = { 190 const struct tok diffserv_te_bc_values[] = {
|
| signature.h | 27 extern const struct tok signature_check_values[];
|
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| OperatorPrecedence.cpp | 17 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::minusequal [all...] |
| TokenKinds.cpp | 18 #define TOK(X) #X, 24 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) {
|
| /src/lib/libedit/ |
| tokenizer.c | 97 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->argc++] = tok->wstart [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParseTentative.cpp | 50 switch (Tok.getKind()) { 52 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: 155 switch (Tok.getKind()) { 156 case tok::kw__Atomic: 157 if (NextToken().isNot(tok::l_paren)) { 162 case tok::kw_typeof [all...] |
| ParseTemplate.cpp | 42 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)) { 121 Diag(Tok.getLocation(), diag::err_expected_template); 132 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| TokenKinds.h | 22 namespace tok { namespace in namespace:clang 26 #define TOK(X) X, 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::char_constant | [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| TokenConcatenation.cpp | 47 bool TokenConcatenation::IsIdentifierStringPrefix(const Token &Tok) const { 50 if (!Tok.needsCleaning()) { 51 if (Tok.getLength() < 1 || Tok.getLength() > 3) 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 55 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), 59 if (Tok.getLength() < 256) { 62 unsigned length = PP.getSpelling(Tok, TokPtr); 66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); 73 TokenInfo[tok::identifier ] |= aci_custom [all...] |
| /src/usr.bin/rpcgen/ |
| rpc_parse.c | 79 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...] |
| /src/external/mit/isl/dist/ |
| extract_key.c | 12 /* 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) 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...] |
| isl_stream.c | 73 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) 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...] |
| read_in_string_templ.c | 19 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);
|
| /src/external/apache2/llvm/dist/clang/lib/Format/ |
| UnwrappedLineParser.cpp | 61 return FormatTok.is(tok::comment) && !FormatTok.TokenText.startswith("/*"); 86 FakeEOF.Tok.startToken(); 87 FakeEOF.Tok.setKind(tok::eof); 329 switch (FormatTok->Tok.getKind()) { 330 case tok::l_brace: 348 switch (FormatTok->Tok.getKind()) { 349 case tok::r_square: 357 case tok::l_square: 371 tok::TokenKind kind = FormatTok->Tok.getKind() [all...] |
| TokenAnnotator.cpp | 34 /// lexed as tok::kw_*, not tok::identifier, even for Objective-C. 40 static bool canBeObjCSelectorComponent(const FormatToken &Tok) { 41 return Tok.Tok.getIdentifierInfo() != nullptr; 48 if (Left->Previous && Left->Previous->is(tok::greater) && 54 return Left->Previous && Left->Previous->is(tok::r_square) && 61 static bool isKeywordWithCondition(const FormatToken &Tok) { 62 return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch [all...] |
| FormatToken.h | 220 Token Tok; 362 tok::TokenKind ParentBracket = tok::unknown; 442 bool is(tok::TokenKind Kind) const { return Tok.is(Kind); } 445 return II && II == Tok.getIdentifierInfo(); 447 bool is(tok::PPKeywordKind Kind) const { 448 return Tok.getIdentifierInfo() && 449 Tok.getIdentifierInfo()->getPPKeywordID() == Kind; 464 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) | [all...] |
| /src/external/bsd/mdocml/dist/ |
| compat_strsep.c | 51 char *tok; local 55 for (tok = s;;) { 65 return (tok);
|
| /src/lib/libpam/modules/pam_login_access/ |
| login_access.c | 137 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, const char *string [all...] |
| /src/usr.bin/ctags/ |
| C.c | 70 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...] |
| /src/external/mit/expat/dist/lib/ |
| xmlrole.c | 122 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, 143 switch (tok) { 168 return common(state, tok); 172 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, 174 switch (tok) { 200 return common(state, tok); 204 prolog2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, 209 switch (tok) { [all...] |
| /src/external/bsd/libfido2/dist/openbsd-compat/ |
| strsep.c | 58 char *tok; local 62 for (tok = s;;) { 72 return (tok);
|
| /src/external/bsd/nvi/dist/clib/ |
| strsep.c | 67 char *tok; local 71 for (tok = s;;) { 81 return (tok);
|
| /src/external/bsd/tcpdump/dist/missing/ |
| strsep.c | 59 char *tok; local 63 for (tok = s;;) { 73 return (tok);
|