Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 25 of 60) sorted by relevance

123

/external/guava/src/com/google/common/collect/
DAbstractMultimap.java108 private transient int totalSize; field in AbstractMultimap
125 totalSize = 0; in setMap()
128 totalSize += values.size(); in setMap()
165 return totalSize; in size()
169 return totalSize == 0; in isEmpty()
197 totalSize++; in put()
221 totalSize--; in remove()
249 totalSize += (collection.size() - oldSize); in putAll()
277 totalSize -= collection.size(); in replaceValues()
282 totalSize++; in replaceValues()
[all …]
/external/icu4c/common/
Ducnvsel.cpp181 int32_t totalSize = 0; in ucnvsel_open() local
184 totalSize += in ucnvsel_open()
188 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
192 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
193 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
313 int32_t totalSize = in ucnvsel_serialize() local
319 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
320 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
322 return totalSize; in ucnvsel_serialize()
344 return totalSize; in ucnvsel_serialize()
[all …]
Drbbirb.cpp165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData() local
169 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
174 uprv_memset(data, 0, totalSize); in flattenData()
182 data->fLength = totalSize; in flattenData()
Drbbidata.cpp337 int32_t totalSize = headerSize + breakDataLength; in ubrk_swap() local
339 return totalSize; in ubrk_swap()
345 if (length < totalSize) { in ubrk_swap()
442 return totalSize; in ubrk_swap()
Dtriedict.cpp1068 uint32_t totalSize = offsetof(CompactTrieHeader,offsets); in compactMutableTrieDictionary() local
1089 totalSize += node->size(); in compactMutableTrieDictionary()
1100 totalSize += nodeCount*sizeof(uint32_t); in compactMutableTrieDictionary()
1107 fprintf(stderr, "%d nodes, %d unique, %d bytes\n", nodes.size(), nodeCount, totalSize); in compactMutableTrieDictionary()
1109 uint8_t *bytes = (uint8_t *)uprv_malloc(totalSize); in compactMutableTrieDictionary()
1116 header->size = totalSize; in compactMutableTrieDictionary()
1325 uint32_t totalSize = ds->readUInt32(header->size); in triedict_swap() local
1326 int32_t sizeWithUData = (int32_t)totalSize + headerSize; in triedict_swap()
1336 totalSize); in triedict_swap()
1354 uprv_memset(outBytes, 0, totalSize); in triedict_swap()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DTilingData.cpp45 static int computeNumTiles(int maxTextureSize, int totalSize, int borderTexels) in computeNumTiles() argument
48 return totalSize > 0 && maxTextureSize >= totalSize ? 1 : 0; in computeNumTiles()
50 …int numTiles = max(1, 1 + (totalSize - 1 - 2 * borderTexels) / (maxTextureSize - 2 * borderTexels)… in computeNumTiles()
51 return totalSize > 0 ? numTiles : 0; in computeNumTiles()
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DTypes.h174 int totalSize; in getObjectSize() local
177 totalSize = getStructSize(); in getObjectSize()
179 totalSize = size * size; in getObjectSize()
181 totalSize = size; in getObjectSize()
184 totalSize *= std::max(getArraySize(), getMaxArraySize()); in getObjectSize()
186 return totalSize; in getObjectSize()
DparseConst.cpp172 int totalSize = index + size; in visitConstantUnion() local
176 for (int i = index; i < totalSize; i++) { in visitConstantUnion()
190 for (int i = index; i < totalSize; i++) { in visitConstantUnion()
/external/webkit/Source/WebCore/html/canvas/
DArrayBuffer.cpp90 unsigned totalSize = numElements * elementByteSize; in tryAllocate() local
91 if (totalSize / numElements != elementByteSize) in tryAllocate()
/external/webkit/Source/WebKit/chromium/public/
DWebApplicationCacheHost.h103 long long totalSize; member
104 CacheInfo() : creationTime(0), updateTime(0), totalSize(0) { } in CacheInfo()
/external/webkit/Source/WebCore/platform/network/curl/
DResourceHandleManager.cpp188 size_t totalSize = size * nmemb; in writeCallback() local
197 return totalSize; in writeCallback()
206 d->client()->didReceiveData(job, static_cast<char*>(ptr), totalSize, 0); in writeCallback()
207 return totalSize; in writeCallback()
231 size_t totalSize = size * nmemb; in headerCallback() local
234 String header(static_cast<const char*>(ptr), totalSize); in headerCallback()
276 return totalSize; in headerCallback()
290 return totalSize; in headerCallback()
/external/webkit/Source/WebCore/inspector/front-end/
DCookiesTable.js134 var totalSize = 0;
136 totalSize += cookies[i].size;
137 return totalSize;
DHeapSnapshotProxy.js116 this._totalSize = this._snapshot.totalSize;
185 get totalSize() getter in WebInspector.HeapSnapshotProxy
DDetailedHeapshotGridNodes.js240 return this._retainedSize / this.dataGrid.snapshot.totalSize * 100.0;
245 return this._shallowSize / this.dataGrid.snapshot.totalSize * 100.0;
487 return this._retainedSize / this.dataGrid.snapshot.totalSize * 100.0;
492 return this._shallowSize / this.dataGrid.snapshot.totalSize * 100.0;
/external/webkit/Source/WebKit/win/
DWebScrollBar.cpp128 /* [in] */ int totalSize) in setProportion() argument
130 m_scrollBar->setProportion(visibleSize, totalSize); in setProportion()
258 …return (orientation == m_scrollBar->orientation()) ? (m_scrollBar->totalSize() - m_scrollBar->visi… in scrollSize()
/external/webkit/Source/WebCore/platform/
DScrollbar.h67 int totalSize() const { return m_totalSize; } in totalSize() function
81 void setProportion(int visibleSize, int totalSize);
DScrollbarThemeComposite.cpp106 … float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar->totalSize(); in paint()
264 … float overhangAtEnd = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize(); in usedTotalSize()
266 return scrollbar->totalSize() + overhang; in usedTotalSize()
DScrollbar.cpp122 void Scrollbar::setProportion(int visibleSize, int totalSize) in setProportion() argument
124 if (visibleSize == m_visibleSize && totalSize == m_totalSize) in setProportion()
128 m_totalSize = totalSize; in setProportion()
/external/webkit/Source/WebKit/chromium/src/
DWebScrollbarImpl.cpp87 m_scrollbar->setEnabled(m_scrollbar->totalSize() > length); in setLocation()
88 m_scrollbar->setProportion(length, m_scrollbar->totalSize()); in setLocation()
258 …return (orientation == m_scrollbar->orientation()) ? (m_scrollbar->totalSize() - m_scrollbar->visi… in scrollSize()
/external/webkit/Source/WebCore/platform/efl/
DScrollbarEfl.cpp86 value = messageFloat->val * (that->totalSize() - that->visibleSize()); in scrollbarEflEdjeMessage()
159 int tSize = totalSize(); in updateThumbPositionAndProportion()
/external/webkit/Source/WebKit/chromium/public/mac/
DWebThemeEngine.h70 int totalSize; member
/external/webkit/Source/WebCore/xml/
DXMLHttpRequestProgressEvent.h47 unsigned long long totalSize() const { return total(); } in totalSize() function
/external/webkit/Source/WebCore/platform/graphics/skia/
DSkiaFontWin.cpp151 DWORD totalSize = GetGlyphOutlineW(dc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE, in getPathForGlyph() local
153 if (totalSize == GDI_ERROR) in getPathForGlyph()
157 const char* endGlyph = &buffer[totalSize]; in getPathForGlyph()
/external/webkit/Source/WebCore/storage/
DAbstractDatabase.cpp479 int64_t totalSize = m_sqliteDatabase.totalSize(); in incrementalVacuumIfNeeded() local
480 if (totalSize <= 10 * freeSpaceSize) in incrementalVacuumIfNeeded()
/external/webkit/Source/WebCore/platform/sql/
DSQLiteDatabase.h93 int64_t totalSize();

123