Searched refs:new_buffer_size (Results 1 – 3 of 3) sorted by relevance
1249 int new_buffer_size; in Grow() local1251 new_buffer_size = 4 * KB; in Grow()1253 new_buffer_size = 2 * buffer_size_; in Grow()1257 if (new_buffer_size > kMaximalBufferSize) { in Grow()1262 byte* new_buffer = NewArray<byte>(new_buffer_size); in Grow()1267 MemMove(new_buffer + new_buffer_size - curently_used_size, in Grow()1271 new_buffer + new_buffer_size - curently_used_size, in Grow()1276 buffer_size_ = new_buffer_size; in Grow()
849 size_t new_buffer_size = socket->send_buffer_.size() - data_size; in SendTcp() local855 new_buffer_size); in SendTcp()857 socket->send_buffer_.resize(new_buffer_size); in SendTcp()
1918 int new_buffer_size = 2*buffer_size; in extend_inputline() local1919 pcre_uint8 *new_buffer = (pcre_uint8 *)malloc(new_buffer_size); in extend_inputline()1920 pcre_uint8 *new_pbuffer = (pcre_uint8 *)malloc(new_buffer_size); in extend_inputline()1924 fprintf(stderr, "pcretest: malloc(%d) failed\n", new_buffer_size); in extend_inputline()1931 buffer_size = new_buffer_size; in extend_inputline()