Searched refs:new_buffer_size (Results 1 – 2 of 2) sorted by relevance
1347 long new_buffer_size; in xmlparse_buffer_size_setter() local1353 new_buffer_size = PyLong_AsLong(v); in xmlparse_buffer_size_setter()1354 if (new_buffer_size <= 0) { in xmlparse_buffer_size_setter()1361 if (new_buffer_size == self->buffer_size) { in xmlparse_buffer_size_setter()1366 if (new_buffer_size > INT_MAX) { in xmlparse_buffer_size_setter()1383 self->buffer = PyMem_Malloc(new_buffer_size); in xmlparse_buffer_size_setter()1388 self->buffer_size = new_buffer_size; in xmlparse_buffer_size_setter()
2926 int new_buffer_size = 0; in ff_mpv_reallocate_putbitbuffer() local2935 av_fast_padded_malloc(&new_buffer, &new_buffer_size, in ff_mpv_reallocate_putbitbuffer()2943 s->avctx->internal->byte_buffer_size = new_buffer_size; in ff_mpv_reallocate_putbitbuffer()2944 rebase_put_bits(&s->pb, new_buffer, new_buffer_size); in ff_mpv_reallocate_putbitbuffer()