Searched refs:new_size (Results 1 – 5 of 5) sorted by relevance
52 int new_size = text_size + size + 1; in append_string() local53 if (new_size > text_asize) { in append_string()54 new_size += START_STRSIZE - 1; in append_string()55 new_size &= -START_STRSIZE; in append_string()56 text = realloc(text, new_size); in append_string()57 text_asize = new_size; in append_string()
823 int new_size = text_size + size + 1; in append_string() local824 if (new_size > text_asize) { in append_string()825 new_size += START_STRSIZE - 1; in append_string()826 new_size &= -START_STRSIZE; in append_string()827 text = realloc(text, new_size); in append_string()828 text_asize = new_size; in append_string()1547 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local1549 if ( new_size <= 0 ) in yy_get_next_buffer()1604 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); in yy_get_next_buffer() local1605 …LVALUE->yy_ch_buf = (char *) zconfrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); in yy_get_next_buffer()
823 int new_size = text_size + size + 1;824 if (new_size > text_asize) {825 new_size += START_STRSIZE - 1;826 new_size &= -START_STRSIZE;827 text = realloc(text, new_size);828 text_asize = new_size;1547 int new_size = b->yy_buf_size * 2;1549 if ( new_size <= 0 )1604 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);1605 …LVALUE->yy_ch_buf = (char *) zconfrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
1242 int new_size = b->yy_buf_size * 2;1244 if ( new_size <= 0 )1299 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);1300 …ER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
1321 int new_size = b->yy_buf_size * 2;1323 if ( new_size <= 0 )1378 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);1379 …ER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );