OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:old_buf_size
(Results
1 - 3
of
3
) sorted by null
/external/flatbuffers/java/com/google/flatbuffers/
FlatBufferBuilder.java
228
int
old_buf_size
= bb.capacity();
local
229
if ((
old_buf_size
& 0xC0000000) != 0) // Ensure we don't grow beyond what fits in an int.
231
int new_buf_size =
old_buf_size
== 0 ? 1 :
old_buf_size
<< 1;
234
nbb.position(new_buf_size -
old_buf_size
);
275
int
old_buf_size
= bb.capacity();
local
281
space += bb.capacity() -
old_buf_size
;
[
all
...]
/external/flatbuffers/php/
FlatbufferBuilder.php
147
$
old_buf_size
= $this->bb->capacity();
variable
149
$this->space += $this->bb->capacity() - $
old_buf_size
;
162
$
old_buf_size
= $bb->capacity();
variable
163
if (($
old_buf_size
& 0xC0000000) != 0) {
166
$new_buf_size = $
old_buf_size
<< 1;
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/js/
flatbuffers.js
296
var
old_buf_size
= this.bb.capacity();
298
this.space += this.bb.capacity() -
old_buf_size
;
561
var
old_buf_size
= bb.capacity();
564
if (
old_buf_size
& 0xC0000000) {
568
var new_buf_size =
old_buf_size
<< 1;
570
nbb.setPosition(new_buf_size -
old_buf_size
);
571
nbb.bytes().set(bb.bytes(), new_buf_size -
old_buf_size
);
Completed in 2264 milliseconds