Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/src/compiler/translator/
D64bit-lexer-safety.patch12 typedef struct yy_buffer_state *YY_BUFFER_STATE;
23 @@ -204,7 +210,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
32 @@ -226,11 +232,6 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
43 struct yy_buffer_state
44 @@ -248,7 +249,7 @@ struct yy_buffer_state
Dglslang_lex.cpp193 typedef struct yy_buffer_state *YY_BUFFER_STATE;
243 struct yy_buffer_state struct
2528 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in yy_create_buffer()
2694 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
2695 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
2700 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
2713 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
2715 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
2721 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
2742 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in yy_scan_buffer()
/external/elfutils/0.153/libcpu/
Di386_lex.c171 typedef struct yy_buffer_state *YY_BUFFER_STATE;
220 struct yy_buffer_state struct
1497 b = (YY_BUFFER_STATE) i386_alloc(sizeof( struct yy_buffer_state ) ); in i386__create_buffer()
1657 (yy_buffer_stack) = (struct yy_buffer_state**)i386_alloc in i386_ensure_buffer_stack()
1658 (num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1663 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in i386_ensure_buffer_stack()
1676 (yy_buffer_stack) = (struct yy_buffer_state**)i386_realloc in i386_ensure_buffer_stack()
1678 num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1684 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in i386_ensure_buffer_stack()
1705 b = (YY_BUFFER_STATE) i386_alloc(sizeof( struct yy_buffer_state ) ); in i386__scan_buffer()
/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/linux-tools-perf/perf-3.12.0/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/chromium_org/third_party/angle/src/compiler/preprocessor/
D64bit-tokenizer-safety.patch12 typedef struct yy_buffer_state *YY_BUFFER_STATE;
23 @@ -201,11 +207,6 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
34 struct yy_buffer_state
35 @@ -223,7 +224,7 @@ struct yy_buffer_state
DTokenizer.cpp181 typedef struct yy_buffer_state *YY_BUFFER_STATE;
218 struct yy_buffer_state struct
1661 b = (YY_BUFFER_STATE) ppalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in pp_create_buffer()
1827 yyg->yy_buffer_stack = (struct yy_buffer_state**)ppalloc in ppensure_buffer_stack()
1828 (num_to_alloc * sizeof(struct yy_buffer_state*) in ppensure_buffer_stack()
1833 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in ppensure_buffer_stack()
1846 yyg->yy_buffer_stack = (struct yy_buffer_state**)pprealloc in ppensure_buffer_stack()
1848 num_to_alloc * sizeof(struct yy_buffer_state*) in ppensure_buffer_stack()
1854 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in ppensure_buffer_stack()
1875 b = (YY_BUFFER_STATE) ppalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in pp_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-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()
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()
/external/elfutils/0.153/src/
Dldlex.c172 typedef struct yy_buffer_state *YY_BUFFER_STATE;
221 struct yy_buffer_state struct
2289 b = (YY_BUFFER_STATE) ldalloc(sizeof( struct yy_buffer_state ) ); in ld_create_buffer()
2449 (yy_buffer_stack) = (struct yy_buffer_state**)ldalloc in ldensure_buffer_stack()
2450 (num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2455 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in ldensure_buffer_stack()
2468 (yy_buffer_stack) = (struct yy_buffer_state**)ldrealloc in ldensure_buffer_stack()
2470 num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2476 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in ldensure_buffer_stack()
2497 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/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglcpp-lex.c179 typedef struct yy_buffer_state *YY_BUFFER_STATE;
211 struct yy_buffer_state struct
1863 b = (YY_BUFFER_STATE) glcpp_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in glcpp__create_buffer()
2029 yyg->yy_buffer_stack = (struct yy_buffer_state**)glcpp_alloc in glcpp_ensure_buffer_stack()
2030 (num_to_alloc * sizeof(struct yy_buffer_state*) in glcpp_ensure_buffer_stack()
2035 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in glcpp_ensure_buffer_stack()
2048 yyg->yy_buffer_stack = (struct yy_buffer_state**)glcpp_realloc in glcpp_ensure_buffer_stack()
2050 num_to_alloc * sizeof(struct yy_buffer_state*) in glcpp_ensure_buffer_stack()
2056 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in glcpp_ensure_buffer_stack()
2077 b = (YY_BUFFER_STATE) glcpp_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in glcpp__scan_buffer()
Dglsl_lexer.cc179 typedef struct yy_buffer_state *YY_BUFFER_STATE;
211 struct yy_buffer_state struct
3148 b = (YY_BUFFER_STATE) _mesa_glsl_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in _mesa_glsl__create_buffer()
3314 yyg->yy_buffer_stack = (struct yy_buffer_state**)_mesa_glsl_alloc in _mesa_glsl_ensure_buffer_stack()
3315 (num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_glsl_ensure_buffer_stack()
3320 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in _mesa_glsl_ensure_buffer_stack()
3333 yyg->yy_buffer_stack = (struct yy_buffer_state**)_mesa_glsl_realloc in _mesa_glsl_ensure_buffer_stack()
3335 num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_glsl_ensure_buffer_stack()
3341 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in _mesa_glsl_ensure_buffer_stack()
3362 b = (YY_BUFFER_STATE) _mesa_glsl_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in _mesa_glsl__scan_buffer()
Dlex.yy.c179 typedef struct yy_buffer_state *YY_BUFFER_STATE;
211 struct yy_buffer_state struct
3009 b = (YY_BUFFER_STATE) _mesa_program_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in _mesa_program__create_buffer()
3175 yyg->yy_buffer_stack = (struct yy_buffer_state**)_mesa_program_alloc in _mesa_program_ensure_buffer_stack()
3176 (num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_program_ensure_buffer_stack()
3181 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in _mesa_program_ensure_buffer_stack()
3194 yyg->yy_buffer_stack = (struct yy_buffer_state**)_mesa_program_realloc in _mesa_program_ensure_buffer_stack()
3196 num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_program_ensure_buffer_stack()
3202 …t(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); in _mesa_program_ensure_buffer_stack()
3223 b = (YY_BUFFER_STATE) _mesa_program_alloc(sizeof( struct yy_buffer_state ) ,yyscanner ); in _mesa_program__scan_buffer()