Home
last modified time | relevance | path

Searched refs:yy_buffer_state (Results 1 – 11 of 11) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dpmu-flex.c180 typedef struct yy_buffer_state *YY_BUFFER_STATE;
216 struct yy_buffer_state struct
1340 b = (YY_BUFFER_STATE) perf_pmu_alloc(sizeof( struct yy_buffer_state ) ); in perf_pmu__create_buffer()
1504 (yy_buffer_stack) = (struct yy_buffer_state**)perf_pmu_alloc in perf_pmu_ensure_buffer_stack()
1505 (num_to_alloc * sizeof(struct yy_buffer_state*) in perf_pmu_ensure_buffer_stack()
1510 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in perf_pmu_ensure_buffer_stack()
1523 (yy_buffer_stack) = (struct yy_buffer_state**)perf_pmu_realloc in perf_pmu_ensure_buffer_stack()
1525 num_to_alloc * sizeof(struct yy_buffer_state*) in perf_pmu_ensure_buffer_stack()
1531 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in perf_pmu_ensure_buffer_stack()
1552 b = (YY_BUFFER_STATE) perf_pmu_alloc(sizeof( struct yy_buffer_state ) ); in perf_pmu__scan_buffer()
Dparse-events-flex.c178 typedef struct yy_buffer_state *YY_BUFFER_STATE;
210 struct yy_buffer_state struct
2300 b = (YY_BUFFER_STATE) parse_events_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in parse_events__create_buffer()
2470 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_alloc in parse_events_ensure_buffer_stack()
2471 (num_to_alloc * sizeof(struct yy_buffer_state*) in parse_events_ensure_buffer_stack()
2476 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in parse_events_ensure_buffer_stack()
2489 yyg->yy_buffer_stack = (struct yy_buffer_state**)parse_events_realloc in parse_events_ensure_buffer_stack()
2491 num_to_alloc * sizeof(struct yy_buffer_state*) in parse_events_ensure_buffer_stack()
2497 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in parse_events_ensure_buffer_stack()
2518 b = (YY_BUFFER_STATE) parse_events_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in parse_events__scan_buffer()
Dparse-events-flex.h146 typedef struct yy_buffer_state *YY_BUFFER_STATE;
156 struct yy_buffer_state struct
/external/bison/examples/calc++/
Dcalc++-scanner.cc196 typedef struct yy_buffer_state *YY_BUFFER_STATE;
238 struct yy_buffer_state struct
1507 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_create_buffer()
1701 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
1702 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1707 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
1720 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
1722 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1728 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
1751 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_scan_buffer()
/external/elfutils/src/libcpu/
Di386_lex.c172 typedef struct yy_buffer_state *YY_BUFFER_STATE;
221 struct yy_buffer_state struct
1501 b = (YY_BUFFER_STATE) i386_alloc(sizeof( struct yy_buffer_state ) ); in i386__create_buffer()
1661 (yy_buffer_stack) = (struct yy_buffer_state**)i386_alloc in i386_ensure_buffer_stack()
1662 (num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1667 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in i386_ensure_buffer_stack()
1680 (yy_buffer_stack) = (struct yy_buffer_state**)i386_realloc in i386_ensure_buffer_stack()
1682 num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1688 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in i386_ensure_buffer_stack()
1709 b = (YY_BUFFER_STATE) i386_alloc(sizeof( struct yy_buffer_state ) ); in i386__scan_buffer()
/external/bison/src/
Dscan-skel.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
1715 b = (YY_BUFFER_STATE) skel_alloc(sizeof( struct yy_buffer_state ) ); in skel__create_buffer()
1909 (yy_buffer_stack) = (struct yy_buffer_state**)skel_alloc in skel_ensure_buffer_stack()
1910 (num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1915 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in skel_ensure_buffer_stack()
1928 (yy_buffer_stack) = (struct yy_buffer_state**)skel_realloc in skel_ensure_buffer_stack()
1930 num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1936 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in skel_ensure_buffer_stack()
1959 b = (YY_BUFFER_STATE) skel_alloc(sizeof( struct yy_buffer_state ) ); in skel__scan_buffer()
Dscan-gram.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
2966 b = (YY_BUFFER_STATE) gram_alloc(sizeof( struct yy_buffer_state ) ); in gram__create_buffer()
3160 (yy_buffer_stack) = (struct yy_buffer_state**)gram_alloc in gram_ensure_buffer_stack()
3161 (num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3166 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in gram_ensure_buffer_stack()
3179 (yy_buffer_stack) = (struct yy_buffer_state**)gram_realloc in gram_ensure_buffer_stack()
3181 num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3187 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in gram_ensure_buffer_stack()
3210 b = (YY_BUFFER_STATE) gram_alloc(sizeof( struct yy_buffer_state ) ); in gram__scan_buffer()
Dscan-code.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
1928 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) ); in code__create_buffer()
2122 (yy_buffer_stack) = (struct yy_buffer_state**)code_alloc in code_ensure_buffer_stack()
2123 (num_to_alloc * sizeof(struct yy_buffer_state*) in code_ensure_buffer_stack()
2128 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in code_ensure_buffer_stack()
2141 (yy_buffer_stack) = (struct yy_buffer_state**)code_realloc in code_ensure_buffer_stack()
2143 num_to_alloc * sizeof(struct yy_buffer_state*) in code_ensure_buffer_stack()
2149 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in code_ensure_buffer_stack()
2172 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) ); in code__scan_buffer()
/external/elfutils/src/src/
Dldlex.c173 typedef struct yy_buffer_state *YY_BUFFER_STATE;
222 struct yy_buffer_state struct
2282 b = (YY_BUFFER_STATE) ldalloc(sizeof( struct yy_buffer_state ) ); in ld_create_buffer()
2442 (yy_buffer_stack) = (struct yy_buffer_state**)ldalloc in ldensure_buffer_stack()
2443 (num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2448 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in ldensure_buffer_stack()
2461 (yy_buffer_stack) = (struct yy_buffer_state**)ldrealloc in ldensure_buffer_stack()
2463 num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2469 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in ldensure_buffer_stack()
2490 b = (YY_BUFFER_STATE) ldalloc(sizeof( struct yy_buffer_state ) ); in ld_scan_buffer()
/external/libpcap/
Dscanner.c181 typedef struct yy_buffer_state *YY_BUFFER_STATE;
217 struct yy_buffer_state struct
4320 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ); in pcap__create_buffer()
4484 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_alloc in pcap_ensure_buffer_stack()
4485 (num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4490 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4503 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_realloc in pcap_ensure_buffer_stack()
4505 num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4511 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4532 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ); in pcap__scan_buffer()
/external/toybox/kconfig/
Dlex.zconf.c_shipped151 typedef struct yy_buffer_state *YY_BUFFER_STATE;
192 struct yy_buffer_state
1761 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );
1921 (yy_buffer_stack) = (struct yy_buffer_state**)zconfalloc
1922 (num_to_alloc * sizeof(struct yy_buffer_state*)
1925 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1938 (yy_buffer_stack) = (struct yy_buffer_state**)zconfrealloc
1940 num_to_alloc * sizeof(struct yy_buffer_state*)
1944 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1965 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );