Home
last modified time | relevance | path

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

/external/cronet/net/server/
Dhttp_connection.cc17 SetCapacity(kInitialBufSize); in ReadIOBuffer()
28 void HttpConnection::ReadIOBuffer::SetCapacity(int capacity) { in SetCapacity() function in net::HttpConnection::ReadIOBuffer
31 base_->SetCapacity(capacity); in SetCapacity()
46 SetCapacity(new_capacity); in IncreaseCapacity()
91 base_->SetCapacity(0); in DidConsume()
92 SetCapacity(new_capacity); in DidConsume()
Dhttp_connection.h41 void SetCapacity(int capacity);
Dhttp_connection_unittest.cc34 buffer->SetCapacity(kNewCapacity); in TEST()
64 buffer->SetCapacity(kNewCapacity); in TEST()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas132 procedure SetCapacity(Value: Integer);
179 property Capacity: Integer read GetCapacity write SetCapacity;
221 procedure SetCapacity(Value: Integer);
253 procedure SetCapacity(ACapacity: Integer);
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/cronet/base/task/sequence_manager/
Dlazily_deallocated_deque_unittest.cc266 d.SetCapacity(1001); in TEST_F()
287 d.SetCapacity(1001); in TEST_F()
308 d.SetCapacity(1001); in TEST_F()
332 d.SetCapacity(5001); in TEST_F()
Dlazily_deallocated_deque.h203 SetCapacity(new_capacity); in MaybeShrinkQueue()
207 void SetCapacity(size_t new_capacity) { in SetCapacity() function
/external/cronet/net/http/
Dhttp_stream_parser.cc580 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); in DoReadHeaders()
657 read_buf_->SetCapacity(0); in DoReadBody()
662 read_buf_->SetCapacity(0); in DoReadBody()
752 read_buf_->SetCapacity(save_amount + additional_save_amount); in DoReadBodyComplete()
887 read_buf_->SetCapacity(extra_bytes); in HandleReadHeaderResult()
Dhttp_stream_parser_unittest.cc1247 read_buffer_->SetCapacity(offset + size); in AddInitialData()
/external/libchrome/base/task/sequence_manager/
Dlazily_deallocated_deque.h182 SetCapacity(new_capacity); in MaybeShrinkQueue()
187 void SetCapacity(size_t new_capacity) { in SetCapacity() function
Dlazily_deallocated_deque_unittest.cc262 TEST_F(LazilyDeallocatedDequeTest, SetCapacity) { in TEST_F() argument
271 d.SetCapacity(1001); in TEST_F()
/external/cronet/net/base/
Dio_buffer.h204 void SetCapacity(int capacity);
Dio_buffer.cc111 void GrowableIOBuffer::SetCapacity(int capacity) { in SetCapacity() function in net::GrowableIOBuffer
/external/cronet/net/socket/
Dread_buffering_stream_socket.cc24 read_buffer_->SetCapacity(size); in BufferNextRead()
/external/leveldb/util/
Dcache.cc157 void SetCapacity(size_t capacity) { capacity_ = capacity; } in SetCapacity() function in leveldb::__anone441f5b80111::LRUCache
355 shard_[s].SetCapacity(per_shard); in ShardedLRUCache()
/external/tensorflow/tensorflow/core/lib/io/
Dcache.cc169 void SetCapacity(size_t capacity) { capacity_ = capacity; } in SetCapacity() function in tensorflow::table::__anon025143c70111::LRUCache
367 shard_[s].SetCapacity(per_shard); in ShardedLRUCache()
/external/webrtc/p2p/base/
Dpseudo_tcp.h206 bool SetCapacity(size_t size);
Dpseudo_tcp.cc1256 m_sbuf.SetCapacity(new_size); in resizeSendBuffer()
1271 bool result = m_rbuf.SetCapacity(new_size); in resizeReceiveBuffer()
1300 bool PseudoTcp::LockedFifoBuffer::SetCapacity(size_t size) { in SetCapacity() function in cricket::PseudoTcp::LockedFifoBuffer
/external/cronet/net/tools/cachetool/
Dcachetool.cc536 buffer->SetCapacity(kInitBufferSize); in GetStreamForKeyBuffer()
551 buffer->SetCapacity(buffer->offset() * 2); in GetStreamForKeyBuffer()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tools.Tests.pas236 FIList.SetCapacity(Value);
/external/crosvm/devices/src/
Dbat.rs222 BatControlCommand::SetCapacity(capacity) => { in command_monitor()
/external/cronet/net/disk_cache/simple/
Dsimple_entry_impl.cc1689 stream_0_data_->SetCapacity(buf_len); in SetStream0Data()
1695 stream_0_data_->SetCapacity(buffer_size); in SetStream0Data()
Dsimple_synchronous_entry.cc1039 out->data->SetCapacity(read_size); in PreReadStreamPayload()
/external/crosvm/vm_control/src/
Dlib.rs990 SetCapacity(u32), enumerator
1005 BatProperty::Capacity => Ok(BatControlCommand::SetCapacity( in new()
/external/cronet/net/websockets/
Dwebsocket_basic_stream_test.cc163 http_read_buffer_->SetCapacity(size); in SetHttpReadBuffer()