capacity 192 base/android/java/src/org/chromium/base/ObserverList.java mListEndMarker = ObserverList.this.capacity(); capacity 199 base/android/java/src/org/chromium/base/ObserverList.java mListEndMarker = ObserverList.this.capacity(); capacity 41 base/containers/stack_container_unittest.cc EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); capacity 195 base/debug/trace_event_impl.h size_t capacity() const { return kTraceBufferChunkSize; } capacity 2391 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); capacity 2392 base/debug/trace_event_unittest.cc size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; capacity 2451 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); capacity 2452 base/debug/trace_event_unittest.cc size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; capacity 2479 base/debug/trace_event_unittest.cc size_t capacity = buffer->Capacity(); capacity 2480 base/debug/trace_event_unittest.cc size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; capacity 83 base/memory/scoped_vector.h void reserve(size_t capacity) { v_.reserve(capacity); } capacity 246 base/strings/string_piece.h size_type capacity() const { return length_; } capacity 191 base/strings/string_piece_unittest.cc ASSERT_GE(a.max_size(), a.capacity()); capacity 192 base/strings/string_piece_unittest.cc ASSERT_GE(a.capacity(), a.size()); capacity 383 base/win/registry.cc DWORD capacity = static_cast<DWORD>(name_.capacity()); capacity 384 base/win/registry.cc DWORD name_size = capacity; capacity 402 base/win/registry.cc name_size = name_size == capacity ? MAX_REGISTRY_NAME_SIZE : capacity; capacity 257 cc/trees/damage_tracker.cc if (rect_history_.capacity() > rect_history_.size() * 4) capacity 120 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->capacity()) { capacity 122 chrome/browser/devtools/adb_client_socket_browsertest.cc if (output_buffer_->capacity() < (bytes_to_write_ + size)) { capacity 124 chrome/browser/devtools/adb_client_socket_browsertest.cc int new_size = std::max(output_buffer_->capacity() * 2, size * 2); capacity 168 chrome/browser/devtools/adb_client_socket_browsertest.cc input_buffer_->SetCapacity(input_buffer_->capacity() * 2); capacity 208 chrome/browser/devtools/adb_client_socket_browsertest.cc CHECK_GE(output_buffer_->capacity(), capacity 228 chrome/browser/devtools/adb_client_socket_browsertest.cc CHECK_GE(output_buffer_->capacity(), capacity 232 chrome/browser/devtools/devtools_file_system_indexer.cc if (index_[i].capacity() > index_[i].size()) capacity 244 chrome/browser/devtools/devtools_file_system_indexer.cc size_t capacity = 0; capacity 249 chrome/browser/devtools/devtools_file_system_indexer.cc capacity += index_[i].capacity(); capacity 253 chrome/browser/devtools/devtools_file_system_indexer.cc LOG(ERROR) << " - total vectors capacity " << capacity; capacity 255 chrome/browser/devtools/devtools_file_system_indexer.cc capacity * sizeof(FileId) + sizeof(vector<FileId>) * kTrigramCount; capacity 584 chrome/browser/extensions/api/cast_channel/cast_socket.cc current_read_buffer_->capacity()); capacity 36 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->capacity = disk.total_size_in_bytes(); capacity 99 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc uint64 capacity) { capacity 107 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(capacity, device->capacity); capacity 111 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->capacity = get_int_attr(udev_device_get_sysattr_value(dev, "size")) capacity 131 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->capacity = disk_capacity; capacity 32 chrome/browser/extensions/api/system_memory/memory_info_provider.cc info_.capacity = static_cast<double>(base::SysInfo::AmountOfPhysicalMemory()); capacity 18 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc info_.capacity = 4096; capacity 24 chrome/browser/extensions/api/system_storage/storage_api_test_util.cc unit.capacity); capacity 20 chrome/browser/extensions/api/system_storage/storage_api_test_util.h double capacity; capacity 35 chrome/browser/extensions/api/system_storage/storage_info_provider.cc unit->capacity = static_cast<double>(info.total_size_in_bytes()); capacity 141 chrome/browser/renderer_host/web_cache_manager.cc entry->second.capacity = stats.capacity; capacity 209 chrome/browser/renderer_host/web_cache_manager.cc stats->capacity += elmt->second.capacity; capacity 320 chrome/browser/renderer_host/web_cache_manager.cc size_t capacity = allocation->second; capacity 328 chrome/browser/renderer_host/web_cache_manager.cc size_t max_dead_capacity = capacity / 2; capacity 337 chrome/browser/renderer_host/web_cache_manager.cc capacity)); capacity 371 chrome/browser/renderer_host/web_cache_manager.cc active.capacity / 1024 / 1024); capacity 377 chrome/browser/renderer_host/web_cache_manager.cc inactive.capacity / 1024 / 1024); capacity 203 chrome/browser/renderer_host/web_cache_manager_unittest.cc expected_stats.capacity += kStats2.capacity; capacity 309 chrome/browser/safe_browsing/prefix_set.cc deltas_.capacity() < deltas_.size() + (run_end - run_begin)) { capacity 79 chrome/browser/ui/tabs/tab_utils.cc bool ShouldTabShowFavicon(int capacity, capacity 87 chrome/browser/ui/tabs/tab_utils.cc if (ShouldTabShowCloseButton(capacity, is_pinned_tab, is_active_tab)) capacity 90 chrome/browser/ui/tabs/tab_utils.cc capacity, is_pinned_tab, is_active_tab, has_favicon, media_state)) { capacity 93 chrome/browser/ui/tabs/tab_utils.cc return capacity >= required_capacity; capacity 96 chrome/browser/ui/tabs/tab_utils.cc bool ShouldTabShowMediaIndicator(int capacity, capacity 103 chrome/browser/ui/tabs/tab_utils.cc if (ShouldTabShowCloseButton(capacity, is_pinned_tab, is_active_tab)) capacity 104 chrome/browser/ui/tabs/tab_utils.cc return capacity >= 2; capacity 105 chrome/browser/ui/tabs/tab_utils.cc return capacity >= 1; capacity 108 chrome/browser/ui/tabs/tab_utils.cc bool ShouldTabShowCloseButton(int capacity, capacity 116 chrome/browser/ui/tabs/tab_utils.cc return capacity >= 3; capacity 43 chrome/browser/ui/tabs/tab_utils.h bool ShouldTabShowFavicon(int capacity, capacity 48 chrome/browser/ui/tabs/tab_utils.h bool ShouldTabShowMediaIndicator(int capacity, capacity 53 chrome/browser/ui/tabs/tab_utils.h bool ShouldTabShowCloseButton(int capacity, capacity 208 chrome/common/render_messages.h IPC_STRUCT_TRAITS_MEMBER(capacity) capacity 185 chrome/installer/mini_installer/mini_installer.cc ret = key.ReadValue(kApRegistryValueName, value.get(), value.capacity()); capacity 205 chrome/installer/mini_installer/mini_installer.cc ret = key.ReadValue(kApRegistryValueName, value.get(), value.capacity()); capacity 306 chrome/installer/mini_installer/mini_installer.cc full_exe_path.capacity()); capacity 307 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= full_exe_path.capacity()) capacity 408 chrome/installer/mini_installer/mini_installer.cc cmd_line.capacity()) || capacity 501 chrome/installer/mini_installer/mini_installer.cc cmd_line.capacity())) { capacity 550 chrome/installer/mini_installer/mini_installer.cc if ((work_dir->capacity() - end) < (arraysize("fffff.tmp") + 1)) capacity 564 chrome/installer/mini_installer/mini_installer.cc work_dir->capacity() - end)) { capacity 589 chrome/installer/mini_installer/mini_installer.cc DWORD len = ::GetTempPath(base_path.capacity(), base_path.get()); capacity 590 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= base_path.capacity() || capacity 594 chrome/installer/mini_installer/mini_installer.cc len = ::GetModuleFileName(module, base_path.get(), base_path.capacity()); capacity 595 chrome/installer/mini_installer/mini_installer.cc if (len >= base_path.capacity() || !len) capacity 699 chrome/installer/mini_installer/mini_installer.cc DWORD len = ::GetTempPath(temp.capacity(), temp.get()); capacity 702 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= temp.capacity()) capacity 85 chrome/installer/mini_installer/mini_string.h size_t capacity() const { capacity 30 chrome/installer/mini_installer/mini_string_test.cc EXPECT_EQ(MAX_PATH, str.capacity()); capacity 37 chrome/installer/mini_installer/mini_string_test.cc size_t max_chars = str.capacity() - 1; capacity 86 chrome/renderer/benchmarking_extension.cc size_t capacity) { capacity 89 chrome/renderer/benchmarking_extension.cc args[0]->ToString()->WriteUtf8(&name[2], capacity - 3); capacity 363 chrome/renderer/chrome_render_process_observer.cc size_t capacity) { capacity 367 chrome/renderer/chrome_render_process_observer.cc pending_cache_capacity_ = capacity; capacity 372 chrome/renderer/chrome_render_process_observer.cc min_dead_capacity, max_dead_capacity, capacity); capacity 56 chrome/renderer/chrome_render_process_observer.h size_t capacity); capacity 86 content/browser/devtools/tethering_handler.cc while (wire_buffer_->capacity() < wire_buffer_size_) capacity 87 content/browser/devtools/tethering_handler.cc wire_buffer_->SetCapacity(wire_buffer_->capacity() * 2); capacity 199 content/browser/loader/redirect_to_file_resource_handler.cc if (buf_->capacity() < next_buffer_size_) capacity 220 content/browser/loader/redirect_to_file_resource_handler.cc DCHECK(new_offset <= buf_->capacity()); capacity 226 content/browser/loader/redirect_to_file_resource_handler.cc if (buf_->capacity() == bytes_read) { capacity 254 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_->SetCapacity(read_buffer_->capacity() + kReadBufferSize - capacity 72 content/browser/streams/stream_unittest.cc size_t old_capacity = buffer_->capacity(); capacity 165 content/browser/streams/stream_unittest.cc ASSERT_EQ(reader.buffer()->capacity(), kBufferSize); capacity 191 content/browser/streams/stream_unittest.cc EXPECT_EQ(0, reader.buffer()->capacity()); capacity 292 content/common/gpu/media/android_video_encode_accelerator.cc size_t capacity = 0; capacity 293 content/common/gpu/media/android_video_encode_accelerator.cc media_codec_->GetInputBuffer(input_buf_index, &buffer, &capacity); capacity 297 content/common/gpu/media/android_video_encode_accelerator.cc RETURN_ON_FAILURE(capacity >= queued_size, capacity 338 content/common/gpu/media/android_video_encode_accelerator.cc size_t capacity = media_codec_->GetOutputBuffersCapacity(); capacity 340 content/common/gpu/media/android_video_encode_accelerator.cc capacity <= output_buffers_capacity_; capacity 343 content/common/gpu/media/android_video_encode_accelerator.cc << ", now: " << count << "x" << capacity; capacity 455 content/renderer/media/android/audio_decoder_android.cc if (decoded_samples.size() + samples_in_pipe > decoded_samples.capacity()) { capacity 457 content/renderer/media/android/audio_decoder_android.cc 2 * decoded_samples.capacity())); capacity 225 content/renderer/media/buffered_resource_loader_unittest.cc int capacity = loader_->buffer_.forward_capacity(); capacity 226 content/renderer/media/buffered_resource_loader_unittest.cc CHECK_LT(buffered, capacity); capacity 230 content/renderer/media/buffered_resource_loader_unittest.cc WriteData(capacity - buffered); capacity 189 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->capacity()); capacity 211 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_NE(0, read_buffer->capacity()); capacity 234 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->capacity()); capacity 336 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_NE(0, read_buffer->capacity()); capacity 96 device/bluetooth/bluetooth_socket_chromeos.cc buffer->SetCapacity(buffer->capacity() * 2); capacity 81 device/bluetooth/bluetooth_socket_win.cc buffer->SetCapacity(buffer->capacity() * 2); capacity 187 jingle/glue/pseudotcp_adapter_unittest.cc ASSERT_EQ(kTestDataSize + kMessageSize, input_buffer_->capacity()); capacity 254 jingle/glue/pseudotcp_adapter_unittest.cc input_buffer_->set_offset(input_buffer_->capacity() - kMessageSize); capacity 278 jingle/glue/pseudotcp_adapter_unittest.cc input_buffer_->SetCapacity(input_buffer_->capacity() + result); capacity 279 jingle/glue/pseudotcp_adapter_unittest.cc if (input_buffer_->capacity() == kTestDataSize + kMessageSize) capacity 63 media/base/android/java/src/org/chromium/media/AudioRecordInput.java int bytesRead = mAudioRecord.read(mBuffer, mBuffer.capacity()); capacity 166 media/base/android/java/src/org/chromium/media/AudioRecordInput.java int audioRecordBufferSizeInBytes = Math.max(mBuffer.capacity(), minBufferSize); capacity 333 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java return mOutputBuffers != null ? mOutputBuffers[0].capacity() : -1; capacity 149 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java request.queue(buffer, buffer.capacity()); capacity 186 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java mFrameBuffer.capacity(), capacity 411 media/base/android/media_codec_bridge.cc size_t* capacity) { capacity 416 media/base/android/media_codec_bridge.cc *capacity = base::checked_cast<size_t>( capacity 441 media/base/android/media_codec_bridge.cc size_t capacity = 0; capacity 442 media/base/android/media_codec_bridge.cc GetInputBuffer(index, &dst, &capacity); capacity 445 media/base/android/media_codec_bridge.cc if (size > capacity) { capacity 447 media/base/android/media_codec_bridge.cc << " exceeds MediaCodec input buffer capacity: " << capacity; capacity 171 media/base/android/media_codec_bridge.h void GetInputBuffer(int input_buffer_index, uint8** data, size_t* capacity); capacity 541 media/cdm/ppapi/cdm_adapter.cc cdm::Buffer* CdmAdapter::Allocate(uint32_t capacity) { capacity 542 media/cdm/ppapi/cdm_adapter.cc return allocator_.Allocate(capacity); capacity 83 media/cdm/ppapi/cdm_adapter.h virtual cdm::Buffer* Allocate(uint32_t capacity) OVERRIDE; capacity 23 media/cdm/ppapi/cdm_helpers.cc cdm::Buffer* PpbBufferAllocator::Allocate(uint32_t capacity) { capacity 26 media/cdm/ppapi/cdm_helpers.cc if (!capacity) capacity 34 media/cdm/ppapi/cdm_helpers.cc FreeBufferMap::iterator found = free_buffers_.lower_bound(capacity); capacity 37 media/cdm/ppapi/cdm_helpers.cc buffer = AllocateNewBuffer(capacity); capacity 67 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev PpbBufferAllocator::AllocateNewBuffer(uint32_t capacity) { capacity 84 media/cdm/ppapi/cdm_helpers.cc return pp::Buffer_Dev(instance_, capacity + kBufferPadding); capacity 83 media/cdm/ppapi/cdm_helpers.h cdm::Buffer* Allocate(uint32_t capacity); capacity 94 media/cdm/ppapi/cdm_helpers.h pp::Buffer_Dev AllocateNewBuffer(uint32_t capacity); capacity 62 mojo/system/data_pipe_unittest.cc for (uint32_t capacity = 1; capacity <= 100 * 1000 * 1000; capacity *= 10) { capacity 67 mojo/system/data_pipe_unittest.cc capacity // |capacity_num_bytes|. capacity 72 mojo/system/data_pipe_unittest.cc << capacity; capacity 60 mojo/system/shared_buffer_dispatcher_unittest.cc for (uint32_t capacity = 1; capacity <= 100 * 1000 * 1000; capacity *= 10) { capacity 69 mojo/system/shared_buffer_dispatcher_unittest.cc << capacity; capacity 49 native_client_sdk/src/libraries/nacl_io/inode_pool.h size_t capacity() const { return max_nodes_; } capacity 80 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs_node.cc if (new_size > static_cast<off_t>(data_.capacity())) { capacity 23 native_client_sdk/src/libraries/xray/hashtable.c int capacity; capacity 32 native_client_sdk/src/libraries/xray/hashtable.c int32_t capacity); capacity 55 native_client_sdk/src/libraries/xray/hashtable.c return table->capacity; capacity 67 native_client_sdk/src/libraries/xray/hashtable.c uint32_t m = table->capacity - 1; capacity 96 native_client_sdk/src/libraries/xray/hashtable.c uint32_t m = table->capacity - 1; capacity 109 native_client_sdk/src/libraries/xray/hashtable.c ratio = (float)table->count / (float)table->capacity; capacity 127 native_client_sdk/src/libraries/xray/hashtable.c if ((i < 0) || (i >= table->capacity)) capacity 137 native_client_sdk/src/libraries/xray/hashtable.c int old_capacity = table->capacity; capacity 153 native_client_sdk/src/libraries/xray/hashtable.c void XRayHashTableInit(struct XRayHashTable* table, int32_t capacity) { capacity 155 native_client_sdk/src/libraries/xray/hashtable.c if (0 != (capacity & (capacity - 1))) { capacity 159 native_client_sdk/src/libraries/xray/hashtable.c capacity--; capacity 160 native_client_sdk/src/libraries/xray/hashtable.c capacity |= capacity >> 1; capacity 161 native_client_sdk/src/libraries/xray/hashtable.c capacity |= capacity >> 2; capacity 162 native_client_sdk/src/libraries/xray/hashtable.c capacity |= capacity >> 4; capacity 163 native_client_sdk/src/libraries/xray/hashtable.c capacity |= capacity >> 8; capacity 164 native_client_sdk/src/libraries/xray/hashtable.c capacity |= capacity >> 16; capacity 165 native_client_sdk/src/libraries/xray/hashtable.c capacity++; capacity 167 native_client_sdk/src/libraries/xray/hashtable.c bytes = sizeof(table->array[0]) * capacity; capacity 168 native_client_sdk/src/libraries/xray/hashtable.c table->capacity = capacity; capacity 175 native_client_sdk/src/libraries/xray/hashtable.c struct XRayHashTable* XRayHashTableCreate(int capacity) { capacity 178 native_client_sdk/src/libraries/xray/hashtable.c XRayHashTableInit(table, capacity); capacity 198 native_client_sdk/src/libraries/xray/hashtable.c table->capacity = 0; capacity 84 native_client_sdk/src/libraries/xray/xray_priv.h XRAY_NO_INSTRUMENT struct XRayHashTable* XRayHashTableCreate(int capacity); capacity 66 net/base/address_list.h using std::vector<IPEndPoint>::capacity; capacity 93 net/base/io_buffer.cc void GrowableIOBuffer::SetCapacity(int capacity) { capacity 94 net/base/io_buffer.cc DCHECK_GE(capacity, 0); capacity 96 net/base/io_buffer.cc real_data_.reset(static_cast<char*>(realloc(real_data_.release(), capacity))); capacity 97 net/base/io_buffer.cc capacity_ = capacity; capacity 98 net/base/io_buffer.cc if (offset_ > capacity) capacity 99 net/base/io_buffer.cc set_offset(capacity); capacity 193 net/base/io_buffer.h void SetCapacity(int capacity); capacity 194 net/base/io_buffer.h int capacity() { return capacity_; } capacity 31 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java public void setCapacity(int capacity) { capacity 36 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java mInitialBuffer = ByteBuffer.allocateDirect(capacity); capacity 77 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java } else if (mBuffer != null && mSize == mBuffer.capacity()) { capacity 33 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java int capacity = 100; capacity 34 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java mChannel.setCapacity(capacity); capacity 35 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java assertEquals("Bytebuffer capacity wasn't set properly", capacity, capacity 36 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java mChannel.getByteBuffer().capacity()); capacity 201 net/cronet/android/url_request_peer.cc int new_capacity = read_buffer_->capacity() + kBufferSizeIncrement; capacity 164 net/disk_cache/blockfile/block_bitmaps_v3.cc int capacity = bitmaps_[index].Capacity(); capacity 165 net/disk_cache/blockfile/block_bitmaps_v3.cc int used = capacity - bitmaps_[index].EmptyBlocks(); capacity 168 net/disk_cache/blockfile/block_bitmaps_v3.cc max_blocks += capacity; capacity 103 net/disk_cache/blockfile/entry_impl.cc backend_->BufferDeleted(capacity() - kMaxBlockSize); capacity 133 net/disk_cache/blockfile/entry_impl.cc int capacity() { return static_cast<int>(buffer_.capacity()); } capacity 153 net/disk_cache/blockfile/entry_impl.cc if (offset + len <= capacity()) capacity 260 net/disk_cache/blockfile/entry_impl.cc backend_->BufferDeleted(capacity() - kMaxBlockSize); capacity 272 net/disk_cache/blockfile/entry_impl.cc int current_size = capacity(); capacity 52 net/disk_cache/blockfile/entry_impl_v3.cc backend_->BufferDeleted(capacity() - kMaxBlockSize); capacity 82 net/disk_cache/blockfile/entry_impl_v3.cc int capacity() { return static_cast<int>(buffer_.capacity()); } capacity 102 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + len <= capacity()) capacity 209 net/disk_cache/blockfile/entry_impl_v3.cc backend_->BufferDeleted(capacity() - kMaxBlockSize); capacity 221 net/disk_cache/blockfile/entry_impl_v3.cc int current_size = capacity(); capacity 149 net/http/http_pipelined_host_impl.cc int capacity = 0; capacity 153 net/http/http_pipelined_host_impl.cc capacity = max_pipeline_depth(); capacity 160 net/http/http_pipelined_host_impl.cc capacity = 1; capacity 166 net/http/http_pipelined_host_impl.cc return capacity; capacity 106 net/http/http_stream_parser.cc explicit SeekableIOBuffer(int capacity) capacity 107 net/http/http_stream_parser.cc : IOBuffer(capacity), capacity 109 net/http/http_stream_parser.cc capacity_(capacity), capacity 469 net/http/http_stream_parser.cc request_body_read_buf_->capacity(), capacity 489 net/http/http_stream_parser.cc request_body_send_buf_->capacity()); capacity 511 net/http/http_stream_parser.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); capacity 574 net/http/http_stream_parser.cc DCHECK_LE(read_buf_->offset(), read_buf_->capacity()); capacity 736 net/http/http_stream_parser.cc if (read_buf_->capacity() < save_amount + additional_save_amount) { capacity 486 net/http/http_stream_parser_unittest.cc EXPECT_EQ(read_buffer->capacity(), read_buffer->offset()); capacity 489 net/http/http_stream_parser_unittest.cc read_buffer->capacity())); capacity 159 net/quic/iovector.h size_t Capacity() const { return iovec_.capacity(); } capacity 247 net/quic/iovector_test.cc size_t capacity = iov.Capacity(); capacity 248 net/quic/iovector_test.cc EXPECT_LE(iov.Size(), capacity); capacity 251 net/quic/iovector_test.cc EXPECT_EQ(capacity, iov.Capacity()); capacity 64 net/quic/quic_data_writer.h size_t capacity() const { capacity 2004 net/quic/quic_framer.cc if (writer->capacity() - writer->length() < capacity 2075 net/quic/quic_framer.cc size_t available_range_bytes = writer->capacity() - writer->length() - capacity 2196 net/quic/quic_framer.cc (writer->capacity() - writer->length()) / largest_observed_length); capacity 299 net/quic/quic_http_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + additional_capacity); capacity 365 net/quic/quic_packet_creator_test.cc size_t capacity = kDefaultMaxPacketSize - overhead; capacity 368 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); capacity 373 net/quic/quic_packet_creator_test.cc EXPECT_EQ(capacity - bytes_free, bytes_consumed); capacity 394 net/quic/quic_packet_creator_test.cc size_t capacity = kDefaultMaxPacketSize - overhead; capacity 397 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); capacity 402 net/quic/quic_packet_creator_test.cc EXPECT_EQ(capacity - bytes_free, bytes_consumed); capacity 423 net/quic/quic_packet_creator_test.cc size_t capacity = kDefaultMaxPacketSize - overhead; capacity 426 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); capacity 456 net/quic/quic_packet_creator_test.cc size_t capacity = kDefaultMaxPacketSize - overhead; capacity 459 net/quic/quic_packet_creator_test.cc string data(capacity + delta, 'A'); capacity 18 net/socket/buffered_write_stream_socket.cc int old_capacity = dst->capacity(); capacity 236 net/socket/ssl_client_socket_unittest.cc read_buffer_->capacity()); capacity 238 net/socket/ssl_client_socket_unittest.cc return read_buffer_->capacity(); capacity 330 net/spdy/hpack_huffman_table_test.cc const size_t capacity = 4; capacity 337 net/spdy/hpack_huffman_table_test.cc EXPECT_TRUE(table.DecodeString(&input_stream, capacity, &buffer)); capacity 347 net/spdy/hpack_huffman_table_test.cc EXPECT_FALSE(table.DecodeString(&input_stream, capacity, &buffer)); capacity 352 net/spdy/hpack_huffman_table_test.cc std::vector<char> input_storage(1 + capacity / 4, '\0'); capacity 356 net/spdy/hpack_huffman_table_test.cc EXPECT_FALSE(table.DecodeString(&input_stream, capacity, &buffer)); capacity 358 net/spdy/hpack_huffman_table_test.cc std::vector<char> expected(capacity, '\x02'); capacity 360 net/spdy/hpack_huffman_table_test.cc EXPECT_EQ(capacity, buffer.size()); capacity 723 net/tools/balsa/balsa_headers.cc header_lines_.capacity() * sizeof(HeaderLineDescription)); capacity 54 net/tools/quic/quic_spdy_client_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); capacity 38 net/tools/quic/quic_spdy_server_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); capacity 405 net/websockets/websocket_basic_stream.cc CHECK_GE(incomplete_control_frame_body_->capacity(), new_offset) capacity 169 net/websockets/websocket_inflater.cc WebSocketInflater::OutputBuffer::OutputBuffer(size_t capacity) capacity 170 net/websockets/websocket_inflater.cc : capacity_(capacity), capacity 222 net/websockets/websocket_inflater.cc WebSocketInflater::InputQueue::InputQueue(size_t capacity) capacity 223 net/websockets/websocket_inflater.cc : capacity_(capacity), head_of_first_buffer_(0), tail_of_last_buffer_(0) {} capacity 71 net/websockets/websocket_inflater.h explicit OutputBuffer(size_t capacity); capacity 95 net/websockets/websocket_inflater.h explicit InputQueue(size_t capacity); capacity 460 third_party/libusb/src/libusb/core.c ret->capacity = DISCOVERED_DEVICES_SIZE_STEP; capacity 471 third_party/libusb/src/libusb/core.c size_t capacity; capacity 474 third_party/libusb/src/libusb/core.c if (len < discdevs->capacity) { capacity 482 third_party/libusb/src/libusb/core.c capacity = discdevs->capacity + DISCOVERED_DEVICES_SIZE_STEP; capacity 484 third_party/libusb/src/libusb/core.c sizeof(*discdevs) + (sizeof(void *) * capacity)); capacity 486 third_party/libusb/src/libusb/core.c discdevs->capacity = capacity; capacity 478 third_party/libusb/src/libusb/libusbi.h size_t capacity; capacity 826 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc int min_expected_increase = message1.optional_string().capacity() + capacity 1026 third_party/protobuf/src/google/protobuf/io/tokenizer.cc if (new_len > output->capacity()) { capacity 159 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc if (old_size < target_->capacity()) { capacity 162 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc STLStringResizeUninitialized(target_, target_->capacity()); capacity 57 third_party/protobuf/src/google/protobuf/unknown_field_set.cc return str.capacity(); capacity 140 third_party/re2/re2/stringpiece.h int capacity() const { return length_; } capacity 223 tools/cygprofile/cygprofile.cc if (buf_.capacity() < kBufMaxSize) capacity 849 ui/base/l10n/l10n_util.cc int capacity = result_files_string.length() + 1; capacity 850 ui/base/l10n/l10n_util.cc DCHECK_GT(capacity, 1); capacity 853 ui/base/l10n/l10n_util.cc static_cast<UChar*>(WriteInto(&result, capacity)), capacity, err); capacity 108 ui/base/l10n/time_format.cc const int capacity = time_string.length() + 1; capacity 109 ui/base/l10n/time_format.cc DCHECK_GT(capacity, 1); capacity 112 ui/base/l10n/time_format.cc time_string.extract(static_cast<UChar*>(WriteInto(&result, capacity)), capacity 113 ui/base/l10n/time_format.cc capacity, error); capacity 64 url/url_canon.h int capacity() const { capacity 126 url/url_canon_icu.cc int dest_capacity = output->capacity() - begin_offset; capacity 171 url/url_canon_icu.cc output->capacity(), &info, &err); capacity 12 url/url_canon_stdstring.cc str_->resize(str_->capacity());