Home
last modified time | relevance | path

Searched refs:SetCapacity (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
Dbwe_simulations.cc90 filter.SetCapacity(1000); in TEST_P()
93 filter.SetCapacity(500); in TEST_P()
95 filter.SetCapacity(1000); in TEST_P()
105 filter.SetCapacity(1000); in TEST_P()
108 filter.SetCapacity(500); in TEST_P()
110 filter.SetCapacity(1000); in TEST_P()
120 filter.SetCapacity(200); in TEST_P()
123 filter.SetCapacity(30); in TEST_P()
125 filter.SetCapacity(200); in TEST_P()
134 filter.SetCapacity(200); in TEST_P()
[all …]
Dremote_bitrate_estimators_test.cc191 choke.SetCapacity(140); in TEST_P()
198 choke.SetCapacity(i); in TEST_P()
207 choke.SetCapacity(i); in TEST_P()
216 choke.SetCapacity(1000); in TEST_P()
231 choke.SetCapacity(2000); in TEST_P()
285 filter.SetCapacity(kHighCapacityKbps); in TEST_F()
288 filter.SetCapacity(kLowCapacityKbps); in TEST_F()
290 filter.SetCapacity(kHighCapacityKbps); in TEST_F()
302 filter.SetCapacity(kHighCapacityKbps); in TEST_F()
305 filter.SetCapacity(kLowCapacityKbps); in TEST_F()
[all …]
/external/chromium_org/net/server/
Dhttp_connection.cc16 SetCapacity(kInitialBufSize); in ReadIOBuffer()
27 void HttpConnection::ReadIOBuffer::SetCapacity(int capacity) { in SetCapacity() function in net::HttpConnection::ReadIOBuffer
29 base_->SetCapacity(capacity); in SetCapacity()
44 SetCapacity(new_capacity); in IncreaseCapacity()
87 base_->SetCapacity(0); in DidConsume()
88 SetCapacity(new_capacity); in DidConsume()
Dhttp_connection.h39 void SetCapacity(int capacity);
Dhttp_connection_unittest.cc34 buffer->SetCapacity(kNewCapacity); in TEST()
64 buffer->SetCapacity(kNewCapacity); in TEST()
/external/lzma/CPP/Common/
DMyString.h162 void SetCapacity(int newCapacity) in SetCapacity() function
198 SetCapacity(_capacity + delta); in GrowLength()
208 CStringBase(): _chars(0), _length(0), _capacity(0) { SetCapacity(3); } in CStringBase()
211 SetCapacity(1); in CStringBase()
219 SetCapacity(length); in CStringBase()
225 SetCapacity(s._length); in CStringBase()
240 SetCapacity(minBufLength); in GetBuffer()
257 SetCapacity(1);
267 SetCapacity(length);
277 SetCapacity(s._length);
[all …]
DBuffer.h22 CBuffer(size_t size): _items(0), _capacity(0) { SetCapacity(size); } in CBuffer()
27 void SetCapacity(size_t newCapacity) in SetCapacity() function
49 SetCapacity(buffer._capacity);
DDynamicBuffer.h23 SetCapacity(newCap); in GrowLength()
34 SetCapacity(buffer._capacity);
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas132 procedure SetCapacity(Value: Integer); procedure
179 property Capacity: Integer read GetCapacity write SetCapacity;
221 procedure SetCapacity(Value: Integer); procedure
253 procedure SetCapacity(ACapacity: Integer); procedure
517 procedure TList<T>.SetCapacity(Value: Integer); procedure
571 procedure TDictionary<TKey,TValue>.SetCapacity(ACapacity: Integer); procedure
715 SetCapacity(ACapacity);
828 SetCapacity(0);
833 SetCapacity(FCount);
/external/chromium_org/third_party/webrtc/base/
Dbuffer_unittest.cc107 buf.SetCapacity(sizeof(kTestData) / 2); // should be ignored in TEST()
115 buf.SetCapacity(sizeof(kTestData) * 2); in TEST()
123 buf.SetCapacity(sizeof(kTestData) * 4); in TEST()
Dbuffer.h69 SetCapacity(length); in SetLength()
72 void SetCapacity(size_t capacity) { in SetCapacity() function
/external/chromium_org/net/quic/
Dquic_spdy_server_stream.cc28 read_buf_->SetCapacity(kHeaderBufInitialSize); in QuicSpdyServerStream()
43 read_buf_->SetCapacity(read_buf_->capacity() * 2); in ProcessData()
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc638 filter.SetCapacity(10); in TEST_F()
645 filter.SetCapacity(10); in TEST_F()
658 filter.SetCapacity(10); in TEST_F()
666 filter.SetCapacity(100); in TEST_F()
673 filter.SetCapacity(10); in TEST_F()
680 filter.SetCapacity(10); in TEST_F()
699 filter.SetCapacity(10); in TEST_F()
/external/chromium_org/net/http/
Dhttp_stream_parser.cc552 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); in DoReadHeaders()
623 read_buf_->SetCapacity(0); in DoReadBody()
628 read_buf_->SetCapacity(0); in DoReadBody()
718 read_buf_->SetCapacity(save_amount + additional_save_amount); in DoReadBodyComplete()
826 read_buf_->SetCapacity(extra_bytes); in HandleReadHeaderResult()
/external/chromium_org/chrome/browser/devtools/device/adb/
Dmock_adb_server.cc231 input_buffer_->SetCapacity(kBufferSize); in Connection()
249 output_buffer_->SetCapacity(new_size); in Send()
269 input_buffer_->SetCapacity(input_buffer_->capacity() * 2); in ReadData()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Djitter_estimate_test.h82 void SetCapacity(unsigned int c);
/external/chromium_org/content/browser/devtools/
Dtethering_handler.cc62 wire_buffer_->SetCapacity(kBufferSize); in DidAccept()
79 wire_buffer_->SetCapacity(wire_buffer_->capacity() * 2); in DidRead()
/external/chromium_org/net/base/
Dio_buffer.h194 void SetCapacity(int capacity);
Dio_buffer.cc100 void GrowableIOBuffer::SetCapacity(int capacity) { in SetCapacity() function in net::GrowableIOBuffer
/external/chromium_org/net/tools/quic/
Dquic_spdy_client_stream.cc54 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); in ProcessData()
Dquic_spdy_server_stream.cc38 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); in ProcessData()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp149 byteBuffer.SetCapacity(kBufferSize); in OpenStream()
159 hashBuffer.SetCapacity(kNumVals); in OpenStream()
217 byteBuffer.SetCapacity(kBufferSize); in OpenStream()
/external/chromium_org/content/browser/appcache/
Dappcache_url_request_job.cc189 handler_source_buffer_->SetCapacity(kLimit); in OnCacheLoaded()
207 handler_source_buffer_->SetCapacity(result); // Free up some memory. in OnExecutableSourceLoaded()
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache.cc141 void SetCapacity(size_t capacity) { capacity_ = capacity; } in SetCapacity() function in leveldb::__anonabcc390c0111::LRUCache
289 shard_[s].SetCapacity(per_shard); in ShardedLRUCache()
/external/chromium_org/jingle/glue/
Dpseudotcp_adapter_unittest.cc217 input_buffer_->SetCapacity(kMessageSize); in InitBuffers()
278 input_buffer_->SetCapacity(input_buffer_->capacity() + result); in HandleReadResult()

123