Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/util/
Dpmu-flex.c226 yy_size_t yy_buf_size; member
1016 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1029 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1032 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1034 b->yy_buf_size *= 2; in yy_get_next_buffer()
1038 perf_pmu_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1050 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1084 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1172 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
1182 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[all …]
Dparse-events-flex.c220 yy_size_t yy_buf_size; member
1969 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1982 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1985 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1987 b->yy_buf_size *= 2; in yy_get_next_buffer()
1991 parse_events_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner ); in yy_get_next_buffer()
2003 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
2037 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2128 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
2138 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[all …]
Dparse-events-flex.h166 yy_size_t yy_buf_size; member
/external/elfutils/src/libcpu/
Di386_lex.c231 yy_size_t yy_buf_size; member
1166 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1179 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1182 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1184 b->yy_buf_size *= 2; in yy_get_next_buffer()
1188 i386_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1200 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1234 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1323 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
1333 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[all …]
/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/elfutils/src/src/
Dldlex.c232 yy_size_t yy_buf_size; member
1947 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1960 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1963 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1965 b->yy_buf_size *= 2; in yy_get_next_buffer()
1969 ldrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1981 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
2015 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2104 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
2114 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[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.c227 yy_size_t yy_buf_size; member
4033 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
4046 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
4049 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
4051 b->yy_buf_size *= 2; in yy_get_next_buffer()
4055 pcap_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
4067 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
4101 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
4324 b->yy_buf_size = size; in pcap__create_buffer()
4329 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 …]