Home
last modified time | relevance | path

Searched refs:yy_buf_size (Results 1 – 6 of 6) sorted by relevance

/external/bison/examples/calc++/
Dcalc++-scanner.cc253 yy_size_t yy_buf_size; member
1179 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1192 yy_size_t new_size = b->yy_buf_size * 2;
1195 b->yy_buf_size += b->yy_buf_size / 8;
1197 b->yy_buf_size *= 2;
1201 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
1213 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1247 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1511 b->yy_buf_size = size; in yy_create_buffer()
1516 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); in yy_create_buffer()
[all …]
/external/bison/src/
Dscan-skel.c272 yy_size_t yy_buf_size; member
1387 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1400 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1403 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1405 b->yy_buf_size *= 2; in yy_get_next_buffer()
1409 skel_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1421 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1455 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1719 b->yy_buf_size = size; in skel__create_buffer()
1724 b->yy_ch_buf = (char *) skel_alloc(b->yy_buf_size + 2 ); in skel__create_buffer()
[all …]
Dscan-gram.c272 yy_size_t yy_buf_size; member
2636 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
2649 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
2652 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
2654 b->yy_buf_size *= 2; in yy_get_next_buffer()
2658 gram_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
2670 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
2704 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2970 b->yy_buf_size = size; in gram__create_buffer()
2975 b->yy_ch_buf = (char *) gram_alloc(b->yy_buf_size + 2 ); in gram__create_buffer()
[all …]
Dscan-code.c272 yy_size_t yy_buf_size; member
1600 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1613 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1616 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1618 b->yy_buf_size *= 2; in yy_get_next_buffer()
1622 code_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1634 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1668 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1932 b->yy_buf_size = size; in code__create_buffer()
1937 b->yy_ch_buf = (char *) code_alloc(b->yy_buf_size + 2 ); in code__create_buffer()
[all …]
/external/libpcap/
Dscanner.c231 yy_size_t yy_buf_size; member
4042 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
4055 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
4058 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
4060 b->yy_buf_size *= 2; in yy_get_next_buffer()
4064 pcap_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
4076 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
4110 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
4333 b->yy_buf_size = size; in pcap__create_buffer()
4338 b->yy_ch_buf = (char *) pcap_alloc(b->yy_buf_size + 2 ); in pcap__create_buffer()
[all …]
/external/toybox/kconfig/
Dlex.zconf.c_shipped202 yy_size_t yy_buf_size;
1470 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1483 int new_size = b->yy_buf_size * 2;
1486 b->yy_buf_size += b->yy_buf_size / 8;
1488 b->yy_buf_size *= 2;
1492 zconfrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
1504 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1593 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1603 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1765 b->yy_buf_size = size;
[all …]