SetCapacity 95 chrome/browser/devtools/adb_client_socket_browsertest.cc input_buffer_->SetCapacity(buffer_size); SetCapacity 125 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->SetCapacity(new_size); SetCapacity 168 chrome/browser/devtools/adb_client_socket_browsertest.cc input_buffer_->SetCapacity(input_buffer_->capacity() * 2); SetCapacity 94 chrome/browser/extensions/api/cast_channel/cast_socket.cc header_read_buffer_->SetCapacity(kMessageHeaderSize); SetCapacity 96 chrome/browser/extensions/api/cast_channel/cast_socket.cc body_read_buffer_->SetCapacity(kMaxMessageSize); SetCapacity 70 content/browser/devtools/tethering_handler.cc wire_buffer_->SetCapacity(kBufferSize); SetCapacity 87 content/browser/devtools/tethering_handler.cc wire_buffer_->SetCapacity(wire_buffer_->capacity() * 2); SetCapacity 200 content/browser/loader/redirect_to_file_resource_handler.cc buf_->SetCapacity(next_buffer_size_); SetCapacity 248 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_->SetCapacity(kReadBufferSize); SetCapacity 254 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_->SetCapacity(read_buffer_->capacity() + kReadBufferSize - SetCapacity 73 content/browser/streams/stream_unittest.cc buffer_->SetCapacity(old_capacity + bytes_read); SetCapacity 88 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(count); SetCapacity 90 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(1024); SetCapacity 96 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(buffer->capacity() * 2); SetCapacity 77 device/bluetooth/bluetooth_socket_win.cc buffer->SetCapacity(1024); SetCapacity 81 device/bluetooth/bluetooth_socket_win.cc buffer->SetCapacity(buffer->capacity() * 2); SetCapacity 217 jingle/glue/pseudotcp_adapter_unittest.cc input_buffer_->SetCapacity(kMessageSize); SetCapacity 278 jingle/glue/pseudotcp_adapter_unittest.cc input_buffer_->SetCapacity(input_buffer_->capacity() + result); SetCapacity 193 net/base/io_buffer.h void SetCapacity(int capacity); SetCapacity 202 net/cronet/android/url_request_peer.cc read_buffer_->SetCapacity(new_capacity); SetCapacity 1478 net/disk_cache/simple/simple_entry_impl.cc stream_0_data_->SetCapacity(buf_len); SetCapacity 1485 net/disk_cache/simple/simple_entry_impl.cc stream_0_data_->SetCapacity(buffer_size); SetCapacity 1076 net/disk_cache/simple/simple_synchronous_entry.cc (*stream_0_data)->SetCapacity(stream_0_size); SetCapacity 511 net/http/http_stream_parser.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); SetCapacity 604 net/http/http_stream_parser.cc read_buf_->SetCapacity(extra_bytes); SetCapacity 642 net/http/http_stream_parser.cc read_buf_->SetCapacity(0); SetCapacity 647 net/http/http_stream_parser.cc read_buf_->SetCapacity(0); SetCapacity 737 net/http/http_stream_parser.cc read_buf_->SetCapacity(save_amount + additional_save_amount); SetCapacity 507 net/http/http_stream_parser_unittest.cc read_buffer_->SetCapacity(offset + size); SetCapacity 299 net/quic/quic_http_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + additional_capacity); SetCapacity 19 net/socket/buffered_write_stream_socket.cc dst->SetCapacity(old_capacity + src_len); SetCapacity 146 net/socket/buffered_write_stream_socket.cc backup_buffer_->SetCapacity(0); SetCapacity 150 net/socket/buffered_write_stream_socket.cc io_buffer_->SetCapacity(0); SetCapacity 156 net/socket/buffered_write_stream_socket.cc io_buffer_->SetCapacity(0); SetCapacity 169 net/socket/ssl_client_socket_unittest.cc read_buffer_->SetCapacity(size); SetCapacity 54 net/tools/quic/quic_spdy_client_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); SetCapacity 38 net/tools/quic/quic_spdy_server_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); SetCapacity 326 net/websockets/websocket_basic_stream.cc incomplete_control_frame_body_->SetCapacity(kMaxControlFramePayload); SetCapacity 141 net/websockets/websocket_basic_stream_test.cc http_read_buffer_->SetCapacity(size); SetCapacity 102 remoting/protocol/connection_tester.cc input_buffer_->SetCapacity(input_buffer_->offset() + message_size_); SetCapacity 153 remoting/protocol/ssl_hmac_channel_authenticator.cc auth_read_buf_->SetCapacity(kAuthDigestLength); SetCapacity 189 webkit/browser/appcache/appcache_url_request_job.cc handler_source_buffer_->SetCapacity(kLimit); SetCapacity 207 webkit/browser/appcache/appcache_url_request_job.cc handler_source_buffer_->SetCapacity(result); // Free up some memory.