Home
last modified time | relevance | path

Searched refs:new_buf_size (Results 1 – 6 of 6) sorted by relevance

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dinclude.c211 size_t new_buf_size = strlen(xkb_context_include_path_get(ctx, i)) + in FindFileInXkbPath() local
214 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()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c487 unsigned new_buf_size; in emit_constbuf_vgpu10() local
549 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()
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
Dhog.c64 size_t new_buf_size = buf_size + balloon_size * CHUNK_SIZE; in BalloonMemory() local
65 global_buf = realloc(global_buf, new_buf_size); in BalloonMemory()
73 buf_size = new_buf_size; in BalloonMemory()
/external/flatbuffers/php/
DFlatbufferBuilder.php166 $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++) {
/external/flatbuffers/js/
Dflatbuffers.js568 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);
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java231 int new_buf_size = old_buf_size == 0 ? 1 : old_buf_size << 1; in growByteBuffer() local
233 ByteBuffer nbb = bb_factory.newByteBuffer(new_buf_size); in growByteBuffer()
234 nbb.position(new_buf_size - old_buf_size); in growByteBuffer()