Searched refs:new_buf_size (Results 1 – 6 of 6) sorted by relevance
211 size_t new_buf_size = strlen(xkb_context_include_path_get(ctx, i)) + in FindFileInXkbPath() local214 if (new_buf_size > buf_size) { in FindFileInXkbPath()215 void *buf_new = realloc(buf, new_buf_size); in FindFileInXkbPath()217 buf_size = new_buf_size; in FindFileInXkbPath()
487 unsigned new_buf_size; in emit_constbuf_vgpu10() local549 new_buf_size = MAX2(cbuf->buffer_size, extra_offset) + extra_size; in emit_constbuf_vgpu10()554 new_buf_size = align(new_buf_size, 16); in emit_constbuf_vgpu10()563 alloc_buf_size = align(new_buf_size, CONST0_UPLOAD_ALIGNMENT); in emit_constbuf_vgpu10()580 assert(extra_offset + extra_size <= new_buf_size); in emit_constbuf_vgpu10()607 assert(new_buf_size % 16 == 0); in emit_constbuf_vgpu10()613 new_buf_size); in emit_constbuf_vgpu10()627 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++) {
568 var new_buf_size = old_buf_size << 1;569 var nbb = flatbuffers.ByteBuffer.allocate(new_buf_size);570 nbb.setPosition(new_buf_size - old_buf_size);571 nbb.bytes().set(bb.bytes(), new_buf_size - old_buf_size);
231 int new_buf_size = old_buf_size == 0 ? 1 : old_buf_size << 1; in growByteBuffer() local233 ByteBuffer nbb = bb_factory.newByteBuffer(new_buf_size); in growByteBuffer()234 nbb.position(new_buf_size - old_buf_size); in growByteBuffer()