Home
last modified time | relevance | path

Searched refs:new_buffer_size (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/
Dpyexpat.c1429 long new_buffer_size; in xmlparse_setattro() local
1435 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()
/external/python/cpython2/Modules/
Dpyexpat.c1619 long new_buffer_size; in xmlparse_setattr() local
1625 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()
/external/webrtc/webrtc/base/
Dvirtualsocketserver.cc849 size_t new_buffer_size = socket->send_buffer_.size() - data_size; in SendTcp() local
855 new_buffer_size); in SendTcp()
857 socket->send_buffer_.resize(new_buffer_size); in SendTcp()