Home
last modified time | relevance | path

Searched refs:requestedSize (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DSharedBufferChunkReader.cpp124 size_t SharedBufferChunkReader::peek(Vector<char>& data, size_t requestedSize) in peek() argument
127 if (requestedSize <= m_segmentLength - m_segmentIndex) { in peek()
128 data.append(m_segment + m_segmentIndex, requestedSize); in peek()
129 return requestedSize; in peek()
138 if (requestedSize <= readBytesCount + segmentLength) { in peek()
139 data.append(segment, requestedSize - readBytesCount); in peek()
140 readBytesCount += (requestedSize - readBytesCount); in peek()
/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAllocTest.cpp603 size_t requestedSize, actualSize, predictedSize; in TEST() local
608 requestedSize = 511 - kExtraAllocSize; in TEST()
609 predictedSize = partitionAllocActualSize(genericAllocator.root(), requestedSize); in TEST()
610 ptr = partitionAllocGeneric(genericAllocator.root(), requestedSize); in TEST()
614 EXPECT_LT(requestedSize, actualSize); in TEST()
619 requestedSize = (256 * 1024) - kExtraAllocSize; in TEST()
620 predictedSize = partitionAllocActualSize(genericAllocator.root(), requestedSize); in TEST()
621 ptr = partitionAllocGeneric(genericAllocator.root(), requestedSize); in TEST()
625 EXPECT_EQ(requestedSize, actualSize); in TEST()
630 requestedSize = (256 * 1024) - WTF::kSystemPageSize - kExtraAllocSize; in TEST()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Ddigitlst.h325 void ensureCapacity(int32_t requestedSize, UErrorCode &status);
/external/icu/icu4c/source/i18n/
Ddigitlst.h325 void ensureCapacity(int32_t requestedSize, UErrorCode &status);