Home
last modified time | relevance | path

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

/external/elfutils/0.153/libcpu/
Di386_lex.c1648 int num_to_alloc; in i386_ensure_buffer_stack() local
1656 num_to_alloc = 1; 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()
1665 (yy_buffer_stack_max) = num_to_alloc; in i386_ensure_buffer_stack()
1675 num_to_alloc = (yy_buffer_stack_max) + grow_size; in i386_ensure_buffer_stack()
1678 num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1685 (yy_buffer_stack_max) = num_to_alloc; in i386_ensure_buffer_stack()
/external/bison/examples/calc++/
Dcalc++-scanner.cc1692 yy_size_t num_to_alloc; in yyensure_buffer_stack() local
1700 num_to_alloc = 1; 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()
1709 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
1719 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack()
1722 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1729 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dpmu-flex.c1495 int num_to_alloc; in perf_pmu_ensure_buffer_stack() local
1503 num_to_alloc = 1; 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()
1512 (yy_buffer_stack_max) = num_to_alloc; in perf_pmu_ensure_buffer_stack()
1522 num_to_alloc = (yy_buffer_stack_max) + grow_size; in perf_pmu_ensure_buffer_stack()
1525 num_to_alloc * sizeof(struct yy_buffer_state*) in perf_pmu_ensure_buffer_stack()
1532 (yy_buffer_stack_max) = num_to_alloc; in perf_pmu_ensure_buffer_stack()
Dparse-events-flex.c2460 int num_to_alloc; in parse_events_ensure_buffer_stack() local
2469 num_to_alloc = 1; 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()
2478 yyg->yy_buffer_stack_max = num_to_alloc; in parse_events_ensure_buffer_stack()
2488 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in parse_events_ensure_buffer_stack()
2491 num_to_alloc * sizeof(struct yy_buffer_state*) in parse_events_ensure_buffer_stack()
2498 yyg->yy_buffer_stack_max = num_to_alloc; in parse_events_ensure_buffer_stack()
/external/bison/src/
Dscan-skel.c1900 yy_size_t num_to_alloc; in skel_ensure_buffer_stack() local
1908 num_to_alloc = 1; 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()
1917 (yy_buffer_stack_max) = num_to_alloc; in skel_ensure_buffer_stack()
1927 num_to_alloc = (yy_buffer_stack_max) + grow_size; in skel_ensure_buffer_stack()
1930 num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1937 (yy_buffer_stack_max) = num_to_alloc; in skel_ensure_buffer_stack()
Dscan-gram.c3151 yy_size_t num_to_alloc; in gram_ensure_buffer_stack() local
3159 num_to_alloc = 1; 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()
3168 (yy_buffer_stack_max) = num_to_alloc; in gram_ensure_buffer_stack()
3178 num_to_alloc = (yy_buffer_stack_max) + grow_size; in gram_ensure_buffer_stack()
3181 num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3188 (yy_buffer_stack_max) = num_to_alloc; in gram_ensure_buffer_stack()
Dscan-code.c2113 yy_size_t num_to_alloc; in code_ensure_buffer_stack() local
2121 num_to_alloc = 1; 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()
2130 (yy_buffer_stack_max) = num_to_alloc; in code_ensure_buffer_stack()
2140 num_to_alloc = (yy_buffer_stack_max) + grow_size; in code_ensure_buffer_stack()
2143 num_to_alloc * sizeof(struct yy_buffer_state*) in code_ensure_buffer_stack()
2150 (yy_buffer_stack_max) = num_to_alloc; in code_ensure_buffer_stack()
/external/elfutils/0.153/src/
Dldlex.c2440 int num_to_alloc; in ldensure_buffer_stack() local
2448 num_to_alloc = 1; 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()
2457 (yy_buffer_stack_max) = num_to_alloc; in ldensure_buffer_stack()
2467 num_to_alloc = (yy_buffer_stack_max) + grow_size; in ldensure_buffer_stack()
2470 num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2477 (yy_buffer_stack_max) = num_to_alloc; in ldensure_buffer_stack()
/external/libpcap/
Dscanner.c4475 int num_to_alloc; in pcap_ensure_buffer_stack() local
4483 num_to_alloc = 1; 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()
4492 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()
4502 num_to_alloc = (yy_buffer_stack_max) + grow_size; in pcap_ensure_buffer_stack()
4505 num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4512 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglcpp-lex.c2019 int num_to_alloc; in glcpp_ensure_buffer_stack() local
2028 num_to_alloc = 1; 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()
2037 yyg->yy_buffer_stack_max = num_to_alloc; in glcpp_ensure_buffer_stack()
2047 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in glcpp_ensure_buffer_stack()
2050 num_to_alloc * sizeof(struct yy_buffer_state*) in glcpp_ensure_buffer_stack()
2057 yyg->yy_buffer_stack_max = num_to_alloc; in glcpp_ensure_buffer_stack()
Dglsl_lexer.cc3304 int num_to_alloc; in _mesa_glsl_ensure_buffer_stack() local
3313 num_to_alloc = 1; 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()
3322 yyg->yy_buffer_stack_max = num_to_alloc; in _mesa_glsl_ensure_buffer_stack()
3332 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in _mesa_glsl_ensure_buffer_stack()
3335 num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_glsl_ensure_buffer_stack()
3342 yyg->yy_buffer_stack_max = num_to_alloc; in _mesa_glsl_ensure_buffer_stack()
Dlex.yy.c3165 int num_to_alloc; in _mesa_program_ensure_buffer_stack() local
3174 num_to_alloc = 1; 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()
3183 yyg->yy_buffer_stack_max = num_to_alloc; in _mesa_program_ensure_buffer_stack()
3193 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in _mesa_program_ensure_buffer_stack()
3196 num_to_alloc * sizeof(struct yy_buffer_state*) in _mesa_program_ensure_buffer_stack()
3203 yyg->yy_buffer_stack_max = num_to_alloc; in _mesa_program_ensure_buffer_stack()
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DTokenizer.cpp1817 yy_size_t num_to_alloc; in ppensure_buffer_stack() local
1826 num_to_alloc = 1; 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()
1835 yyg->yy_buffer_stack_max = num_to_alloc; in ppensure_buffer_stack()
1845 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in ppensure_buffer_stack()
1848 num_to_alloc * sizeof(struct yy_buffer_state*) in ppensure_buffer_stack()
1855 yyg->yy_buffer_stack_max = num_to_alloc; in ppensure_buffer_stack()
D64bit-tokenizer-safety.patch131 - int num_to_alloc;
132 + yy_size_t num_to_alloc;
/external/chromium_org/third_party/angle/src/compiler/translator/
D64bit-lexer-safety.patch149 - int num_to_alloc;
150 + yy_size_t num_to_alloc;
Dglslang_lex.cpp2684 yy_size_t num_to_alloc; in yyensure_buffer_stack() local
2693 num_to_alloc = 1; 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()
2702 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2712 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
2715 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
2722 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()