Home
last modified time | relevance | path

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

/external/elfutils/libcpu/
Di386_lex.c230 yy_size_t yy_buf_size; member
1162 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1175 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1178 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1180 b->yy_buf_size *= 2; in yy_get_next_buffer()
1184 i386_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1196 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1230 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1319 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
1329 (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/chromium_org/third_party/angle/src/compiler/preprocessor/
D64bit-tokenizer-safety.patch97 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
104 - int new_size = b->yy_buf_size * 2;
105 + yy_size_t new_size = b->yy_buf_size * 2;
108 b->yy_buf_size += b->yy_buf_size / 8;
DTokenizer.cpp222 yy_size_t yy_buf_size; member
1343 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1356 yy_size_t new_size = b->yy_buf_size * 2;
1359 b->yy_buf_size += b->yy_buf_size / 8;
1361 b->yy_buf_size *= 2;
1365 pprealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
1377 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1411 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1640 b->yy_buf_size = size; in pp_create_buffer()
1645 b->yy_ch_buf = (char *) ppalloc(b->yy_buf_size + 2 ,yyscanner ); in pp_create_buffer()
[all …]
/external/chromium_org/third_party/angle/src/compiler/
D64bit-lexer-safety.patch115 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
122 - int new_size = b->yy_buf_size * 2;
123 + yy_size_t new_size = b->yy_buf_size * 2;
126 b->yy_buf_size += b->yy_buf_size / 8;
Dglslang_lex.cpp247 yy_size_t yy_buf_size; member
1909 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1922 yy_size_t new_size = b->yy_buf_size * 2;
1925 b->yy_buf_size += b->yy_buf_size / 8;
1927 b->yy_buf_size *= 2;
1931 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
1943 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1977 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2213 b->yy_buf_size = size; in yy_create_buffer()
2218 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ,yyscanner ); in yy_create_buffer()
[all …]
/external/elfutils/src/
Dldlex.c231 yy_size_t yy_buf_size; member
1954 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1967 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1970 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1972 b->yy_buf_size *= 2; in yy_get_next_buffer()
1976 ldrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1988 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
2022 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2111 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
2121 (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.c190 yy_size_t yy_buf_size; member
3643 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
3656 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
3659 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
3661 b->yy_buf_size *= 2; in yy_get_next_buffer()
3665 pcap_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
3677 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
3791 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
3801 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
3963 b->yy_buf_size = size; in pcap__create_buffer()
[all …]
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglcpp-lex.c221 yy_size_t yy_buf_size; member
1529 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1542 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1545 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1547 b->yy_buf_size *= 2; in yy_get_next_buffer()
1551 glcpp_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner ); in yy_get_next_buffer()
1563 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1597 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1689 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
1699 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[all …]
Dlex.yy.c221 yy_size_t yy_buf_size; member
2678 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
2691 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
2694 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
2696 b->yy_buf_size *= 2; in yy_get_next_buffer()
2700 _mesa_program_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner ); in yy_get_next_buffer()
2712 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
2746 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
2837 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; in yyunput()
2847 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; in yyunput()
[all …]
Dglsl_lexer.cc221 yy_size_t yy_buf_size; member
2852 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
2865 int new_size = b->yy_buf_size * 2;
2868 b->yy_buf_size += b->yy_buf_size / 8;
2870 b->yy_buf_size *= 2;
2874 _mesa_glsl_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
2886 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
2920 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
3152 b->yy_buf_size = size; in _mesa_glsl__create_buffer()
3157 b->yy_ch_buf = (char *) _mesa_glsl_alloc(b->yy_buf_size + 2 ,yyscanner ); in _mesa_glsl__create_buffer()
[all …]