Home
last modified time | relevance | path

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

/scripts/genksyms/
Dparse.y75 %token ASM_KEYW
76 %token ATTRIBUTE_KEYW
77 %token AUTO_KEYW
78 %token BOOL_KEYW
79 %token CHAR_KEYW
80 %token CONST_KEYW
81 %token DOUBLE_KEYW
82 %token ENUM_KEYW
83 %token EXTERN_KEYW
84 %token EXTENSION_KEYW
[all …]
Dlex.l141 int token, count = 0;
152 token = yylex1();
154 if (token == 0)
156 else if (token == FILENAME)
184 switch (token)
192 switch (token = r->token)
221 token = TYPE;
254 switch (token)
263 token = ATTRIBUTE_PHRASE;
274 switch (token)
[all …]
Dlex.lex.c_shipped1035 } /* end of scanning one token */
1304 * token and flags that we need to
1305 * try matching the token before
1755 /** Get the length of the current token.
1763 /** Get the current token.
1913 * We mark any token, that that equals to a known enumerator, as
1950 int token, count = 0;
1961 token = yylex1();
1963 if (token == 0)
1965 else if (token == FILENAME)
[all …]
Dparse.tab.c_shipped566 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
567 (internal) symbol number NUM (which must be that of a token). */
661 positive, shift that token. If negative, reduce the rule whose
868 /* Error token number */
933 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
1108 about the unexpected token YYTOKEN for the state stack whose top is
1138 that there is no unexpected or expected token to report. In that
1144 - Of course, the expected token list depends on states to have
1149 token list. However, the list is correct for canonical LR with
1150 one exception: it will still contain any token that will not be
[all …]
Dkeywords.gperf8 struct resword { const char *name; int token; }
Dkeywords.hash.c_shipped36 struct resword { const char *name; int token; };
/scripts/kconfig/
Dzconf.y46 %token <id>T_MAINMENU
47 %token <id>T_MENU
48 %token <id>T_ENDMENU
49 %token <id>T_SOURCE
50 %token <id>T_CHOICE
51 %token <id>T_ENDCHOICE
52 %token <id>T_COMMENT
53 %token <id>T_CONFIG
54 %token <id>T_MENUCONFIG
55 %token <id>T_HELP
[all …]
Dzconf.tab.c_shipped132 /* Enabling the token table. */
210 /* Include zconf.hash.c here so it can see the token constants. */
593 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
594 token YYLEX-NUM. */
715 positive, shift that token. If negative, reduce the rule which
986 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1193 about the unexpected token YYTOKEN for the state stack whose top is
1228 that there is no unexpected or expected token to report. In that
1234 - Of course, the expected token list depends on states to have
1239 token list. However, the list is correct for canonical LR with
[all …]
Dlkc.h66 int token; member
109 void menu_add_option(int token, char *arg);
Dzconf.l110 return id->token;
146 return id->token;
Dmenu.c199 void menu_add_option(int token, char *arg) in menu_add_option() argument
201 switch (token) { in menu_add_option()
Dzconf.lex.c_shipped1131 return id->token;
1215 return id->token;
1515 } /* end of scanning one token */
1758 * token and flags that we need to
1759 * try matching the token before
2203 /** Get the length of the current token.
2211 /** Get the current token.
/scripts/dtc/
Ddtc-parser.y59 %token DT_V1
60 %token DT_PLUGIN
61 %token DT_MEMRESERVE
62 %token DT_LSHIFT DT_RSHIFT DT_LE DT_GE DT_EQ DT_NE DT_AND DT_OR
63 %token DT_BITS
64 %token DT_DEL_PROP
65 %token DT_DEL_NODE
66 %token <propnodename> DT_PROPNODENAME
67 %token <integer> DT_LITERAL
68 %token <integer> DT_CHAR_LITERAL
[all …]
Ddtc-parser.tab.c_shipped536 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
537 (internal) symbol number NUM (which must be that of a token). */
618 positive, shift that token. If negative, reduce the rule whose
735 /* Error token number */
866 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
1043 about the unexpected token YYTOKEN for the state stack whose top is
1073 that there is no unexpected or expected token to report. In that
1079 - Of course, the expected token list depends on states to have
1084 token list. However, the list is correct for canonical LR with
1085 one exception: it will still contain any token that will not be
[all …]
Ddtc-lexer.lex.c_shipped1383 } /* end of scanning one token */
1620 * token and flags that we need to
1621 * try matching the token before
2067 /** Get the length of the current token.
2075 /** Get the current token.
/scripts/
Dasn1_compiler.c304 struct token { struct
313 static struct token *token_list; argument
323 const struct token *token = _key; in directive_compare() local
329 clen = (dlen < token->size) ? dlen : token->size; in directive_compare()
333 val = memcmp(token->content, dir, clen); in directive_compare()
339 if (dlen == token->size) { in directive_compare()
344 return dlen - token->size; /* shorter -> negative */ in directive_compare()
352 struct token *tokens; in tokenise()
359 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
687 struct token *name;
[all …]
Dkallsyms.c465 static void *find_token(unsigned char *str, int len, unsigned char *token) in find_token() argument
470 if (str[i] == token[0] && str[i+1] == token[1]) in find_token()