/external/chromium_org/net/spdy/ |
H A D | hpack_huffman_table_test.cc | 344 const size_t capacity = 4; local 351 EXPECT_TRUE(table_.DecodeString(&input_stream, capacity, &buffer)); 361 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer)); 366 std::vector<char> input_storage(1 + capacity / 4, '\0'); 370 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer)); 372 std::vector<char> expected(capacity, '\x02'); 374 EXPECT_EQ(capacity, buffer.size()); 383 EXPECT_FALSE(table_.DecodeString(&input_stream, capacity, &buffer));
|
/external/chromium_org/net/tools/balsa/ |
H A D | balsa_headers.cc | 734 header_lines_.capacity() * sizeof(HeaderLineDescription));
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_spdy_client_stream.cc | 54 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize);
|
H A D | quic_spdy_server_stream.cc | 38 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize);
|
/external/chromium_org/net/websockets/ |
H A D | websocket_basic_stream.cc | 405 CHECK_GE(incomplete_control_frame_body_->capacity(), new_offset)
|
H A D | websocket_inflater.cc | 169 WebSocketInflater::OutputBuffer::OutputBuffer(size_t capacity) argument 170 : capacity_(capacity), 222 WebSocketInflater::InputQueue::InputQueue(size_t capacity) argument 223 : capacity_(capacity), head_of_first_buffer_(0), tail_of_last_buffer_(0) {}
|
H A D | websocket_inflater.h | 27 // |input_queue_capacity| is a capacity for each contiguous block in the 40 // If the size of the output data reaches the capacity of the output buffer, 68 // Ring buffer with fixed capacity. 71 explicit OutputBuffer(size_t capacity); 93 // |capacity| is used for the capacity of each IOBuffer in this queue. 95 explicit InputQueue(size_t capacity);
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | output_string_test.cc | 58 const size_t initial_capacity = string_.capacity(); 59 string_.resize(string_.capacity()); 60 EXPECT_EQ(initial_capacity, string_.capacity()); 62 EXPECT_LE(initial_capacity + 1, string_.capacity());
|
H A D | vcdecoder.cc | 1079 if (decoded_target->capacity() < wanted_capacity) {
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8PersistentValueVector.h | 59 static void ReserveCapacity(Impl* impl, size_t capacity) argument 61 impl->reserveCapacity(capacity);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | StaticNodeList.h | 63 return m_nodes.capacity() * sizeof(RefPtrWillBeMember<NodeType>);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | TextIterator.cpp | 1985 m_overlap = m_buffer.capacity() / 4; 2040 } else if (m_buffer.size() == m_buffer.capacity()) { 2047 size_t usableLength = std::min(m_buffer.capacity() - oldLength, length); 2077 size_t usableLength = std::min(m_buffer.capacity() - m_prefixLength, length - wordBoundaryContextStart); 2081 if (wordBoundaryContextStart || m_prefixLength == m_buffer.capacity()) 2171 if (size != m_buffer.capacity())
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | MemoryCache.cpp | 51 static const float cTargetPrunePercentage = .95f; // Percentage of capacity toward which we prune, to avoid immediately pruning again. 208 // Dead resource capacity is whatever space is not occupied by live resources, bounded by an independent minimum and maximum. 209 size_t capacity = m_capacity - std::min(m_liveSize, m_capacity); // Start with available capacity. local 210 capacity = std::max(capacity, m_minDeadCapacity); // Make sure it's above the minimum. 211 capacity = std::min(capacity, m_maxDeadCapacity); // Make sure it's below the maximum. 212 return capacity; 217 // Live resource capacity i 224 size_t capacity = liveCapacity(); local 267 size_t capacity = deadCapacity(); local [all...] |
H A D | MemoryCache.h | 51 // with a min dead resource capacity of 25% and a max dead resource capacity of 50%: 211 size_t capacity() const { return m_capacity; } function in class:blink::FINAL
|
H A D | MemoryCacheTest.cpp | 103 ASSERT_EQ(totalCapacity, memoryCache()->capacity()); 139 // Verifies that dead resources that exceed dead resource capacity are evicted 249 // the total dead resource size is more than double the dead resource capacity.
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | CollectionItemsCache.h | 54 ptrdiff_t allocationSize() const { return m_cachedList.capacity() * sizeof(NodeType*); }
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | WebGLRenderingContextBase.cpp | 5585 WebGLRenderingContextBase::LRUImageBufferCache::LRUImageBufferCache(int capacity) argument 5586 : m_buffers(adoptArrayPtr(new OwnPtr<ImageBuffer>[capacity])) 5587 , m_capacity(capacity)
|
H A D | WebGLRenderingContextBase.h | 519 LRUImageBufferCache(int capacity);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | DateTimeEditElement.cpp | 475 if (m_fields.size() == m_fields.capacity())
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | TraceEventDispatcher.cpp | 89 events.reserveCapacity(m_backgroundEvents.capacity());
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | ListMarkerPainter.cpp | 191 ASSERT(reversedText.length() == reversedText.capacity());
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
H A D | Internals.cpp | 1451 result.append(memoryCache()->capacity());
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
H A D | compiler.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ... |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | PurgeableVector.cpp | 61 void PurgeableVector::reserveCapacity(size_t capacity) argument 66 if (reservePurgeableCapacity(capacity, UseExactCapacity)) 71 if (!m_vector.capacity()) { 73 // exact specified capacity to avoid consuming too much memory for small resources. 74 m_vector.reserveInitialCapacity(capacity); 76 m_vector.reserveCapacity(capacity); 206 bool PurgeableVector::reservePurgeableCapacity(size_t capacity, PurgeableAllocationStrategy allocationStrategy) argument 210 if (m_discardable && m_discardableCapacity >= capacity) { 211 ASSERT(!m_vector.capacity()); 215 if (capacity < minimumDiscardableAllocationSiz [all...] |
H A D | PurgeableVector.h | 91 void reserveCapacity(size_t capacity); 105 bool reservePurgeableCapacity(size_t capacity, PurgeableAllocationStrategy); 107 size_t adjustPurgeableCapacity(size_t capacity) const;
|