Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/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/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/elfutils/src/libcpu/
Di386_lex.c1652 yy_size_t num_to_alloc; in i386_ensure_buffer_stack() local
1660 num_to_alloc = 1; 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()
1669 (yy_buffer_stack_max) = num_to_alloc; in i386_ensure_buffer_stack()
1679 num_to_alloc = (yy_buffer_stack_max) + grow_size; in i386_ensure_buffer_stack()
1682 num_to_alloc * sizeof(struct yy_buffer_state*) in i386_ensure_buffer_stack()
1689 (yy_buffer_stack_max) = num_to_alloc; in i386_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/src/src/
Dldlex.c2433 yy_size_t num_to_alloc; in ldensure_buffer_stack() local
2441 num_to_alloc = 1; 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()
2450 (yy_buffer_stack_max) = num_to_alloc; in ldensure_buffer_stack()
2460 num_to_alloc = (yy_buffer_stack_max) + grow_size; in ldensure_buffer_stack()
2463 num_to_alloc * sizeof(struct yy_buffer_state*) in ldensure_buffer_stack()
2470 (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/toybox/kconfig/
Dlex.zconf.c_shipped1912 int num_to_alloc;
1920 num_to_alloc = 1;
1922 (num_to_alloc * sizeof(struct yy_buffer_state*)
1925 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1927 (yy_buffer_stack_max) = num_to_alloc;
1937 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1940 num_to_alloc * sizeof(struct yy_buffer_state*)
1945 (yy_buffer_stack_max) = num_to_alloc;