Searched refs:yytname (Results 1 – 14 of 14) sorted by relevance
/external/e2fsprogs/intl/ |
D | plural.c | 224 static const char *const yytname[] = variable 893 yychar, yytname[yychar1]); in yyparse() 932 yychar, yytname[yychar1])); in yyparse() 998 YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); in yyparse() 999 YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); in yyparse() 1144 yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) in yyparse() 1146 yysize += yystrlen (yytname[yyx]) + 15, yycount++; in yyparse() 1148 yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); in yyparse() 1153 yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); in yyparse() 1159 yyx < (int) (sizeof (yytname) / sizeof (char *)); in yyparse() [all …]
|
/external/bison/src/ |
D | parse-gram.c | 716 static const char *const yytname[] = variable 1235 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); 1237 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); 1433 yytname[yytoken])); \ 1486 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken])); in yy_lac() 1692 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); in yysyntax_error() 1732 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error() 1754 yyarg[yycount++] = yytname[yyx]; in yysyntax_error() 1755 yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); in yysyntax_error() 3244 return yytname[YYTRANSLATE (type)]; in token_name()
|
D | parse-gram.y | 779 return yytname[YYTRANSLATE (type)]; in token_name()
|
/external/bison/data/ |
D | yacc.c | 654 static const char *const yytname[] = 1004 yytname[yytoken])); \ 1057 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken])); 1248 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); 1295 yyarg[yycount++] = yytname[yytoken]; 1329 yyarg[yycount++] = yytname[yyx]; 1331 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
|
D | c.m4 | 535 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); 537 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
D | glr.cc | 185 << ' ' << yytname[yytype] << " ("
|
D | glr.c | 366 static const char *const yytname[] = 786 return yytname[yytoken];
|
/external/toybox/kconfig/ |
D | zconf.tab.c_shipped | 506 static const char *const yytname[] = 901 YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); 902 YYFPRINTF (stderr, "-> %s\n", yytname[yyr1[yyrule]]); 996 backslash-backslash). YYSTR is taken from yytname. If YYRES is 1063 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); 1065 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); 1875 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); 1908 /* Stay within bounds of both yycheck and yytname. */ 1913 yyarg[0] = yytname[yytype]; 1926 yyarg[yycount++] = yytname[yyx]; [all …]
|
/external/libpcap/ |
D | grammar.c | 979 static const char *const yytname[] = variable 1489 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); in yy_symbol_print() 1675 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); in yysyntax_error() 1712 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error() 1734 yyarg[yycount++] = yytname[yyx]; in yysyntax_error() 1736 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); in yysyntax_error()
|
/external/bison/tests/ |
D | regression.at | 494 # Checking the error message here guarantees that yytname, which does contain 783 static const char *const yytname[] =
|
/external/bison/ |
D | ChangeLog-1998 | 448 Avoid negative indexes in yycheck and yytname. 929 * src/output.c (output_rule_data): Put all symbols in yytname.
|
D | ChangeLog-2012 | 3829 * src/output.c (prepare_symbols): When writing yytname muscles, where 3834 escapes trigraphs in symbol names. Thus, yytname no longer has 10051 * NEWS: Remove notice of yytname change, since it was never in an 10378 * NEWS: Mention recent yytname changes. 10392 (yytname): Define if YYTOKEN_TABLE. 10393 * data/yacc.c (YYTOKEN_TABLE, yytname): Likewise. 10412 Clarify quoting convention of yytname. 13265 Use the number of tokens as an upper bound in yytname, as it 19640 * src/bison.simple (yytname): Do not assume that the user defines 22988 * src/bison.s1 (yyparse): Condition the code using `yytname' which
|
/external/bison/doc/ |
D | bison.texi | 3253 @code{yytname} table (@pxref{Calling Convention}). 5347 The name of the array is @code{yytname}; @code{yytname[@var{i}]} is 5349 @var{i}. The first three elements of @code{yytname} correspond to the 6140 @code{yylex} can find the multicharacter token in the @code{yytname} 6142 The name of a multicharacter token is recorded in @code{yytname} with a 6147 Here's code for looking up a multicharacter token in @code{yytname}, 6155 if (yytname[i] != 0 6156 && yytname[i][0] == '"' 6157 && ! strncmp (yytname[i] + 1, token_buffer, 6159 && yytname[i][strlen (token_buffer) + 1] == '"' [all …]
|
D | bison.info | 3585 token from the `yytname' table (*note Calling Convention::). 5299 The name of the array is `yytname'; `yytname[I]' is the name of 5301 three elements of `yytname' correspond to the predefined tokens 5993 * `yylex' can find the multicharacter token in the `yytname' table. 5995 name of a multicharacter token is recorded in `yytname' with a 6000 Here's code for looking up a multicharacter token in `yytname', 6007 if (yytname[i] != 0 6008 && yytname[i][0] == '"' 6009 && ! strncmp (yytname[i] + 1, token_buffer, 6011 && yytname[i][strlen (token_buffer) + 1] == '"' [all …]
|