Searched refs:new_buf_size (Results 1 – 5 of 5) sorted by relevance
553 unsigned new_buf_size; in emit_constbuf_vgpu10() local615 new_buf_size = MAX2(cbuf->buffer_size, extra_offset) + extra_size; in emit_constbuf_vgpu10()620 new_buf_size = align(new_buf_size, 16); in emit_constbuf_vgpu10()629 alloc_buf_size = align(new_buf_size, CONST0_UPLOAD_ALIGNMENT); in emit_constbuf_vgpu10()646 assert(extra_offset + extra_size <= new_buf_size); in emit_constbuf_vgpu10()672 assert(new_buf_size % 16 == 0); in emit_constbuf_vgpu10()678 new_buf_size); in emit_constbuf_vgpu10()692 svga->state.hw_draw.default_constbuf_size[shader] = new_buf_size; in emit_constbuf_vgpu10()
64 size_t new_buf_size = buf_size + balloon_size * CHUNK_SIZE; in BalloonMemory() local65 global_buf = realloc(global_buf, new_buf_size); in BalloonMemory()73 buf_size = new_buf_size; in BalloonMemory()
166 $new_buf_size = $old_buf_size << 1;169 $nbb = new ByteBuffer($new_buf_size);171 $nbb->setPosition($new_buf_size - $old_buf_size);175 for ($i = $new_buf_size - $old_buf_size, $j = 0; $j < strlen($bb->_buffer); $i++, $j++) {
555 var new_buf_size = old_buf_size << 1;556 var nbb = flatbuffers.ByteBuffer.allocate(new_buf_size);557 nbb.setPosition(new_buf_size - old_buf_size);558 nbb.bytes().set(bb.bytes(), new_buf_size - old_buf_size);
134 int new_buf_size = old_buf_size << 1; in growByteBuffer() local136 ByteBuffer nbb = newByteBuffer(new_buf_size); in growByteBuffer()137 nbb.position(new_buf_size - old_buf_size); in growByteBuffer()