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

  /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/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 134 int new_buf_size = old_buf_size << 1; local
136 ByteBuffer nbb = newByteBuffer(new_buf_size);
137 nbb.position(new_buf_size - old_buf_size);
  /external/flatbuffers/js/
flatbuffers.js 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);

Completed in 100 milliseconds