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/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/java/com/google/flatbuffers/
FlatBufferBuilder.java
131
int
old_buf_size
= bb.capacity();
local
132
if ((
old_buf_size
& 0xC0000000) != 0) // Ensure we don't grow beyond what fits in an int.
134
int new_buf_size =
old_buf_size
<< 1;
137
nbb.position(new_buf_size -
old_buf_size
);
178
int
old_buf_size
= bb.capacity();
local
180
space += bb.capacity() -
old_buf_size
;
/external/flatbuffers/js/
flatbuffers.js
283
var
old_buf_size
= this.bb.capacity();
285
this.space += this.bb.capacity() -
old_buf_size
;
548
var
old_buf_size
= bb.capacity();
551
if (
old_buf_size
& 0xC0000000) {
555
var new_buf_size =
old_buf_size
<< 1;
557
nbb.setPosition(new_buf_size -
old_buf_size
);
558
nbb.bytes().set(bb.bytes(), new_buf_size -
old_buf_size
);
Completed in 90 milliseconds