HomeSort by relevance Sort by last modified time
    Searched refs:new_buf_size (Results 1 - 6 of 6) sorted by null

  /external/libxkbcommon/xkbcommon/src/xkbcomp/
include.c 211 size_t new_buf_size = strlen(xkb_context_include_path_get(ctx, i)) + local
214 if (new_buf_size > buf_size) {
215 void *buf_new = realloc(buf, new_buf_size);
217 buf_size = new_buf_size;
  /external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
hog.c 64 size_t new_buf_size = buf_size + balloon_size * CHUNK_SIZE; local
65 global_buf = realloc(global_buf, new_buf_size);
73 buf_size = new_buf_size;
  /external/mesa3d/src/gallium/drivers/svga/
svga_state_constants.c 487 unsigned new_buf_size; local
549 new_buf_size = MAX2(cbuf->buffer_size, extra_offset) + extra_size;
554 new_buf_size = align(new_buf_size, 16);
563 alloc_buf_size = align(new_buf_size, CONST0_UPLOAD_ALIGNMENT);
580 assert(extra_offset + extra_size <= new_buf_size);
607 assert(new_buf_size % 16 == 0);
613 new_buf_size);
627 svga->state.hw_draw.default_constbuf_size[shader] = new_buf_size;
  /external/flatbuffers/php/
FlatbufferBuilder.php 166 $new_buf_size = $old_buf_size << 1; variable
169 $nbb = new ByteBuffer($new_buf_size);
171 $nbb->setPosition($new_buf_size - $old_buf_size);
174 //$nbb->_buffer = substr_replace($nbb->_buffer, $bb->_buffer, $new_buf_size - $old_buf_size, strlen($bb->_buffer));
175 for ($i = $new_buf_size - $old_buf_size, $j = 0; $j < strlen($bb->_buffer); $i++, $j++) {
  /external/flatbuffers/java/com/google/flatbuffers/
FlatBufferBuilder.java 231 int new_buf_size = old_buf_size == 0 ? 1 : old_buf_size << 1; local
233 ByteBuffer nbb = bb_factory.newByteBuffer(new_buf_size);
234 nbb.position(new_buf_size - old_buf_size);
    [all...]
  /external/flatbuffers/js/
flatbuffers.js 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);

Completed in 2600 milliseconds