Home
last modified time | relevance | path

Searched refs:yyalloc (Results 1 – 16 of 16) sorted by relevance

/external/bison/examples/calc++/
Dcalc++-scanner.cc378 void *yyalloc (yy_size_t );
1507 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_create_buffer()
1516 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); in yy_create_buffer()
1701 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
1751 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_scan_buffer()
1804 buf = (char *) yyalloc(n ); in yy_scan_bytes()
2031 void *yyalloc (yy_size_t size ) in yyalloc() function
/external/elfutils/src/
Dldscript.c420 union yyalloc union
427 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
1465 union yyalloc *yyptr =
1466 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
2081 YYSIZE_T yyalloc = 2 * yysize; local
2082 if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
2083 yyalloc = YYSTACK_ALLOC_MAXIMUM;
2086 yymsg = (char *) YYSTACK_ALLOC (yyalloc);
2088 yymsg_alloc = yyalloc;
Dldlex.c24 #define yyalloc ldalloc macro
/external/bison/data/
Dyacc.c543 union yyalloc
551 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
935 YYSIZE_T yyalloc = 2 * yysize_new;
946 if (YYMAXDEPTH < yyalloc)
947 yyalloc = YYMAXDEPTH;
949 (yytype_int16*) YYSTACK_ALLOC (yyalloc * sizeof *yybottom_new);
964 *yycapacity = yyalloc;]m4_if(b4_percent_define_get([[parse.lac.memory-trace]]),
967 (unsigned long int) yyalloc, yydebug_suffix));]])[
1639 union yyalloc *yyptr =
1640 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
Dglslang_lex.cpp320 void *yyalloc (yy_size_t ,yyscan_t yyscanner );
2181 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in yy_create_buffer()
2190 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ,yyscanner ); in yy_create_buffer()
2347 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
2395 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in yy_scan_buffer()
2444 buf = (char *) yyalloc(n ,yyscanner ); in yy_scan_bytes()
2476 yyg->yy_start_stack = (int *) yyalloc(new_size ,yyscanner ); in yy_push_state()
2705 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL ); in yylex_init()
2738 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); in yylex_init_extra()
2841 void *yyalloc (yy_size_t size , yyscan_t yyscanner) in yyalloc() function
Dglslang_tab.cpp529 union yyalloc union
536 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
1982 union yyalloc *yyptr =
1983 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
4531 YYSIZE_T yyalloc = 2 * yysize; local
4532 if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
4533 yyalloc = YYSTACK_ALLOC_MAXIMUM;
4536 yymsg = (char *) YYSTACK_ALLOC (yyalloc);
4538 yymsg_alloc = yyalloc;
/external/bison/src/
Dparse-gram.c531 union yyalloc union
539 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
1367 YYSIZE_T yyalloc = 2 * yysize_new; in yy_lac_stack_realloc() local
1378 if (YYMAXDEPTH < yyalloc) in yy_lac_stack_realloc()
1379 yyalloc = YYMAXDEPTH; in yy_lac_stack_realloc()
1381 (yytype_int16*) YYSTACK_ALLOC (yyalloc * sizeof *yybottom_new); in yy_lac_stack_realloc()
1396 *yycapacity = yyalloc; in yy_lac_stack_realloc()
2063 union yyalloc *yyptr =
2064 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
Dscan-skel.c28 #define yyalloc skel_alloc macro
Dscan-code.c28 #define yyalloc code_alloc macro
Dscan-gram.c28 #define yyalloc gram_alloc macro
/external/e2fsprogs/intl/
Dplural.c375 union yyalloc union
385 # define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
814 union yyalloc *yyptr = in yyparse()
815 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); in yyparse()
/external/elfutils/libcpu/
Di386_parse.c523 union yyalloc union
530 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
1456 union yyalloc *yyptr =
1457 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1975 YYSIZE_T yyalloc = 2 * yysize; local
1976 if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
1977 yyalloc = YYSTACK_ALLOC_MAXIMUM;
1980 yymsg = (char *) YYSTACK_ALLOC (yyalloc);
1982 yymsg_alloc = yyalloc;
Di386_lex.c23 #define yyalloc i386_alloc macro
/external/libpcap/
Dgrammar.c554 union yyalloc union
561 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
1661 union yyalloc *yyptr =
1662 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
/external/webkit/Source/ThirdParty/ANGLE/
DChangeLog270 (yyalloc):
/external/bison/
DChangeLog-20126210 * data/push.c (union yyalloc): Rename yyss, yyvs, and yyls fields to
6213 (YYSTACK_RELOCATE): Add an argument to select a union yyalloc field
8826 (union yyalloc.yyss): Use yytype_int16 rather than short.
12954 * data/yacc.c (union yyalloc): Likewise.
13918 (union yyalloc): Do not depend on YYLTYPE_IS_TRIVIAL unless
18046 (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYCOPY,
20308 * src/bison.simple (union yyalloc): Change member names
20310 (yyparse): yyptr is now union yyalloc *, not char *.
20345 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
20428 (union yyalloc): New type.