Home
last modified time | relevance | path

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

/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/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/libpcap/
Dscanner.c4480 yy_size_t num_to_alloc; in pcap_ensure_buffer_stack() local
4488 num_to_alloc = 1; in pcap_ensure_buffer_stack()
4490 (num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4495 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4497 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()
4507 num_to_alloc = (yy_buffer_stack_max) + grow_size; in pcap_ensure_buffer_stack()
4510 num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4517 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()
/external/skia/src/sksl/
Dlex.layout.c1707 yy_size_t num_to_alloc; in layoutensure_buffer_stack() local
1716 num_to_alloc = 1; in layoutensure_buffer_stack()
1718 (num_to_alloc * sizeof(struct yy_buffer_state*) in layoutensure_buffer_stack()
1723 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in layoutensure_buffer_stack()
1725 yyg->yy_buffer_stack_max = num_to_alloc; in layoutensure_buffer_stack()
1735 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in layoutensure_buffer_stack()
1738 num_to_alloc * sizeof(struct yy_buffer_state*) in layoutensure_buffer_stack()
1745 yyg->yy_buffer_stack_max = num_to_alloc; in layoutensure_buffer_stack()
Dlex.sksl.c2126 yy_size_t num_to_alloc; in skslensure_buffer_stack() local
2135 num_to_alloc = 1; in skslensure_buffer_stack()
2137 (num_to_alloc * sizeof(struct yy_buffer_state*) in skslensure_buffer_stack()
2142 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in skslensure_buffer_stack()
2144 yyg->yy_buffer_stack_max = num_to_alloc; in skslensure_buffer_stack()
2154 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in skslensure_buffer_stack()
2157 num_to_alloc * sizeof(struct yy_buffer_state*) in skslensure_buffer_stack()
2164 yyg->yy_buffer_stack_max = num_to_alloc; in skslensure_buffer_stack()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.cpp1854 yy_size_t num_to_alloc; in ppensure_buffer_stack() local
1863 num_to_alloc = 1; // After all that talk, this was set to 1 anyways... in ppensure_buffer_stack()
1865 (num_to_alloc * sizeof(struct yy_buffer_state*) in ppensure_buffer_stack()
1870 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in ppensure_buffer_stack()
1872 yyg->yy_buffer_stack_max = num_to_alloc; in ppensure_buffer_stack()
1882 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in ppensure_buffer_stack()
1885 num_to_alloc * sizeof(struct yy_buffer_state*) in ppensure_buffer_stack()
1892 yyg->yy_buffer_stack_max = num_to_alloc; in ppensure_buffer_stack()
/external/swiftshader/src/OpenGL/compiler/
Dglslang_lex.cpp2793 yy_size_t num_to_alloc; in yyensure_buffer_stack() local
2802 num_to_alloc = 1; // After all that talk, this was set to 1 anyways... in yyensure_buffer_stack()
2804 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
2809 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
2811 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_buffer_stack()
2821 num_to_alloc = yyg->yy_buffer_stack_max + grow_size; in yyensure_buffer_stack()
2824 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
2831 yyg->yy_buffer_stack_max = num_to_alloc; in yyensure_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;