Home
last modified time | relevance | path

Searched refs:yytname (Results 1 – 18 of 18) sorted by relevance

/external/e2fsprogs/intl/
Dplural.c224 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/linux-tools-perf/src/tools/perf/util/
Dpmu-bison.c457 static const char *const yytname[] = variable
720 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
722 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
940 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); in yysyntax_error()
982 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1004 yyarg[yycount++] = yytname[yyx]; in yysyntax_error()
1005 yysize1 = yysize + yytnamerr (0, yytname[yyx]); in yysyntax_error()
Dparse-events-bison.c511 static const char *const yytname[] = variable
830 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
832 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1050 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); in yysyntax_error()
1092 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1114 yyarg[yycount++] = yytname[yyx]; in yysyntax_error()
1115 yysize1 = yysize + yytnamerr (0, yytname[yyx]); in yysyntax_error()
/external/bison/src/
Dparse-gram.c716 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()
Dparse-gram.y779 return yytname[YYTRANSLATE (type)]; in token_name()
/external/bison/data/
Dyacc.c654 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]);
Dc.m4535 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
537 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
Dglr.cc185 << ' ' << yytname[yytype] << " ("
Dglr.c366 static const char *const yytname[] =
786 return yytname[yytoken];
/external/elfutils/src/src/
Dldscript.c613 static const char *const yytname[] = variable
954 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
956 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1172 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); in yysyntax_error()
1213 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1235 yyarg[yycount++] = yytname[yyx]; in yysyntax_error()
1237 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); in yysyntax_error()
/external/libpcap/
Dgrammar.c1025 static const char *const yytname[] = variable
1583 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1585 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1801 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); in yysyntax_error()
1843 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1865 yyarg[yycount++] = yytname[yyx]; in yysyntax_error()
1866 yysize1 = yysize + yytnamerr (0, yytname[yyx]); in yysyntax_error()
/external/toybox/kconfig/
Dzconf.tab.c_shipped506 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/elfutils/src/libcpu/
Di386_parse.c704 static const char *const yytname[] = variable
957 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
959 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1175 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); in yysyntax_error()
1216 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1238 yyarg[yycount++] = yytname[yyx]; in yysyntax_error()
1240 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); in yysyntax_error()
/external/bison/tests/
Dregression.at494 # Checking the error message here guarantees that yytname, which does contain
783 static const char *const yytname[] =
/external/bison/
DChangeLog-1998448 Avoid negative indexes in yycheck and yytname.
929 * src/output.c (output_rule_data): Put all symbols in yytname.
DChangeLog-20123829 * 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/
Dbison.texi3253 @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 …]
Dbison.info3585 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 …]