Searched refs:new_buffer_size (Results 1 – 2 of 2) sorted by relevance
1621 long new_buffer_size; in xmlparse_setattr() local1627 new_buffer_size=PyInt_AS_LONG(v); in xmlparse_setattr()1629 if (new_buffer_size == self->buffer_size) { in xmlparse_setattr()1633 if (new_buffer_size <= 0) { in xmlparse_setattr()1639 if (new_buffer_size > INT_MAX) { in xmlparse_setattr()1654 self->buffer = malloc(new_buffer_size); in xmlparse_setattr()1659 self->buffer_size = new_buffer_size; in xmlparse_setattr()
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()