Home
last modified time | relevance | path

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

/external/bison/src/
Dscan-skel.c1775 int num_to_alloc; in skel_ensure_buffer_stack() local
1783 num_to_alloc = 1; in skel_ensure_buffer_stack()
1785 (num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1788 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in skel_ensure_buffer_stack()
1790 (yy_buffer_stack_max) = num_to_alloc; in skel_ensure_buffer_stack()
1800 num_to_alloc = (yy_buffer_stack_max) + grow_size; in skel_ensure_buffer_stack()
1803 num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1808 (yy_buffer_stack_max) = num_to_alloc; in skel_ensure_buffer_stack()
Dscan-gram.c3017 int num_to_alloc; in gram_ensure_buffer_stack() local
3025 num_to_alloc = 1; in gram_ensure_buffer_stack()
3027 (num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3030 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in gram_ensure_buffer_stack()
3032 (yy_buffer_stack_max) = num_to_alloc; in gram_ensure_buffer_stack()
3042 num_to_alloc = (yy_buffer_stack_max) + grow_size; in gram_ensure_buffer_stack()
3045 num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3050 (yy_buffer_stack_max) = num_to_alloc; in gram_ensure_buffer_stack()
/external/bluetooth/bluez/tools/
Dlexer.c1447 int num_to_alloc; in yyensure_buffer_stack() local
1455 num_to_alloc = 1; in yyensure_buffer_stack()
1457 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1460 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
1462 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
1472 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack()
1475 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1480 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
/external/libpcap/
Dscanner.c4114 int num_to_alloc; in pcap_ensure_buffer_stack() local
4122 num_to_alloc = 1; in pcap_ensure_buffer_stack()
4124 (num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4127 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4129 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()
4139 num_to_alloc = (yy_buffer_stack_max) + grow_size; in pcap_ensure_buffer_stack()
4142 num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4147 (yy_buffer_stack_max) = num_to_alloc; in pcap_ensure_buffer_stack()