Searched refs:new_buffer_size (Results 1 – 3 of 3) sorted by relevance
1429 long new_buffer_size; in xmlparse_setattro() local1435 new_buffer_size = PyLong_AsLong(v); in xmlparse_setattro()1436 if (new_buffer_size <= 0) { in xmlparse_setattro()1443 if (new_buffer_size == self->buffer_size) { in xmlparse_setattro()1448 if (new_buffer_size > INT_MAX) { in xmlparse_setattro()1465 self->buffer = PyMem_Malloc(new_buffer_size); in xmlparse_setattro()1470 self->buffer_size = new_buffer_size; in xmlparse_setattro()
1619 long new_buffer_size; in xmlparse_setattr() local1625 new_buffer_size=PyInt_AS_LONG(v); in xmlparse_setattr()1627 if (new_buffer_size == self->buffer_size) { in xmlparse_setattr()1631 if (new_buffer_size <= 0) { in xmlparse_setattr()1637 if (new_buffer_size > INT_MAX) { in xmlparse_setattr()1652 self->buffer = malloc(new_buffer_size); in xmlparse_setattr()1657 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()