Home
last modified time | relevance | path

Searched refs:initialSize (Results 1 – 25 of 29) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DConcurrentMapInterfaceTest.java82 int initialSize = map.size(); in testPutIfAbsentNewKey() local
87 assertEquals(initialSize + 1, map.size()); in testPutIfAbsentNewKey()
113 int initialSize = map.size(); in testPutIfAbsentExistingKey() local
119 assertEquals(initialSize, map.size()); in testPutIfAbsentExistingKey()
143 int initialSize = map.size(); in testPutIfAbsentNullKey() local
161 assertEquals(initialSize, map.size()); in testPutIfAbsentNullKey()
177 int initialSize = map.size(); in testPutIfAbsentNewKeyNullValue() local
195 assertEquals(initialSize, map.size()); in testPutIfAbsentNewKeyNullValue()
211 int initialSize = map.size(); in testPutIfAbsentExistingKeyNullValue() local
228 assertEquals(initialSize, map.size()); in testPutIfAbsentExistingKeyNullValue()
[all …]
DMapInterfaceTest.java469 int initialSize = map.size(); in testEntrySetIteratorRemove() local
475 assertEquals(initialSize - 1, map.size()); in testEntrySetIteratorRemove()
509 int initialSize = map.size(); in testEntrySetRemove() local
512 assertEquals(initialSize - 1, map.size()); in testEntrySetRemove()
537 int initialSize = map.size(); in testEntrySetRemoveMissingKey() local
547 assertEquals(initialSize, map.size()); in testEntrySetRemoveMissingKey()
564 int initialSize = map.size(); in testEntrySetRemoveDifferentValue() local
574 assertEquals(initialSize, map.size()); in testEntrySetRemoveDifferentValue()
620 int initialSize = map.size(); in testEntrySetRemoveNullKeyMissing() local
634 assertEquals(initialSize, map.size()); in testEntrySetRemoveNullKeyMissing()
[all …]
/external/webkit/Source/JavaScriptCore/assembler/
DLinkBuffer.h217 size_t initialSize = m_assembler->size(); in linkCode() local
218 m_code = (uint8_t*)m_executablePool->alloc(initialSize); in linkCode()
276 m_executablePool->tryShrink(m_code, initialSize, m_size); in linkCode()
279 dumpLinkStatistics(m_code, initialSize, m_size); in linkCode()
299 static void dumpLinkStatistics(void* code, size_t initialSize, size_t finalSize) in dumpLinkStatistics() argument
305 totalInitialSize += initialSize; in dumpLinkStatistics()
308 code, static_cast<unsigned>(initialSize), static_cast<unsigned>(finalSize), in dumpLinkStatistics()
309 static_cast<unsigned>(initialSize - finalSize), in dumpLinkStatistics()
310 100.0 * (initialSize - finalSize) / initialSize); in dumpLinkStatistics()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_StringWriter.java42 public Support_StringWriter(int initialSize) { in Support_StringWriter() argument
43 if (initialSize >= 0) { in Support_StringWriter()
44 buf = new StringBuffer(initialSize); in Support_StringWriter()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapRemoveTester.java44 int initialSize = getMap().size(); in testRemove_present() local
48 initialSize - 1, getMap().size()); in testRemove_present()
64 int initialSize = getMap().size(); in testRemove_nullPresent() local
68 initialSize - 1, getMap().size()); in testRemove_nullPresent()
DCollectionRemoveTester.java45 int initialSize = collection.size(); in testRemove_present() local
49 initialSize - 1, collection.size()); in testRemove_present()
65 int initialSize = collection.size(); in testRemove_nullPresent() local
68 initialSize - 1, collection.size()); in testRemove_nullPresent()
DListRemoveTester.java44 int initialSize = getList().size(); in testRemove_duplicate() local
53 initialSize - 1, getList().size()); in testRemove_duplicate()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DResizableDialog.java98 protected Point getInitialLocation(Point initialSize) { in getInitialLocation() argument
109 int maxX = windowBounds.x + windowBounds.width - initialSize.x; in getInitialLocation()
110 int maxY = windowBounds.y + windowBounds.height - initialSize.y; in getInitialLocation()
126 int x = windowBounds.x + (windowBounds.width - initialSize.x) / 2; in getInitialLocation()
127 int y = windowBounds.y + (windowBounds.height - initialSize.y) / 2; in getInitialLocation()
/external/javassist/src/main/javassist/bytecode/
DLongVector.java30 public LongVector(int initialSize) { in LongVector() argument
31 int vsize = ((initialSize >> ABITS) & ~(VSIZE - 1)) + VSIZE; in LongVector()
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractMultimapAsMapImplementsMapTest.java77 int initialSize = map.size(); in testRemove() local
83 assertEquals(initialSize - 1, map.size()); in testRemove()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DBitSetTest.java215 int initialSize = bs.size(); in test_clearII() local
216 bs.set(0, initialSize); in test_clearII()
231 for (int i = 11; i < initialSize; i++) { in test_clearII()
239 for (int i = initialSize; i < bs.size(); i++) { in test_clearII()
245 initialSize = bs.size(); in test_clearII()
246 bs.set(0, initialSize); in test_clearII()
260 initialSize = bs.size(); in test_clearII()
261 bs.set(0, initialSize); in test_clearII()
271 initialSize = bs.size(); in test_clearII()
272 bs.set(0, initialSize); in test_clearII()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java157 long initialSize = cache.size();
158 assertTrue(initialSize == 1 || initialSize == 2);
/external/icu4c/i18n/
Duspoof_impl.cpp536 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; in SpoofData() local
537 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); in SpoofData()
539 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); in SpoofData()
540 fMemLimit = initialSize; in SpoofData()
545 uprv_memset(fRawData, 0, initialSize); in SpoofData()
/external/libxslt/libxslt/
Dxsltutils.c319 int initialSize) in xsltPointerListAddSize() argument
322 if (initialSize <= 0) in xsltPointerListAddSize()
323 initialSize = 1; in xsltPointerListAddSize()
325 initialSize * sizeof(void *)); in xsltPointerListAddSize()
332 list->size = initialSize; in xsltPointerListAddSize()
357 xsltPointerListCreate(int initialSize) in xsltPointerListCreate() argument
368 if (initialSize > 0) { in xsltPointerListCreate()
369 xsltPointerListAddSize(ret, NULL, initialSize); in xsltPointerListCreate()
DxsltInternals.h503 xsltPointerListCreate (int initialSize);
511 int initialSize);
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.h59 StreamingIndexBuffer(IDirect3DDevice9 *device, UINT initialSize, D3DFORMAT format);
DIndexDataManager.cpp242 …gIndexBuffer(IDirect3DDevice9 *device, UINT initialSize, D3DFORMAT format) : IndexBuffer(device, i… in StreamingIndexBuffer() argument
DVertexDataManager.h82 StreamingVertexBuffer(IDirect3DDevice9 *device, UINT initialSize);
DVertexDataManager.cpp627 …ertexBuffer(IDirect3DDevice9 *device, std::size_t initialSize) : ArrayVertexBuffer(device, initial… in StreamingVertexBuffer() argument
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DLocalList.java479 public MakeState(int initialSize) { in MakeState() argument
480 result = new ArrayList<Entry>(initialSize); in MakeState()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3collections.c1080 ANTLR3_UINT32 initialSize; in antlr3SetVectorApi() local
1086 initialSize = sizeHint; in antlr3SetVectorApi()
1090 initialSize = ANTLR3_VECTOR_INTERNAL_SIZE; in antlr3SetVectorApi()
1095 …nts = (pANTLR3_VECTOR_ELEMENT)ANTLR3_MALLOC((size_t)(sizeof(ANTLR3_VECTOR_ELEMENT) * initialSize)); in antlr3SetVectorApi()
1111 vector->elementsSize = initialSize; // Available entries in antlr3SetVectorApi()
/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java910 int initialSize = ((Collection<?>) initialContents).size(); in initialQueueSize() local
911 result = Math.max(result, initialSize); in initialQueueSize()
/external/webkit/Source/WebCore/page/
DFrameView.h57 static PassRefPtr<FrameView> create(Frame*, const IntSize& initialSize);
DFrameView.cpp166 PassRefPtr<FrameView> FrameView::create(Frame* frame, const IntSize& initialSize) in create() argument
169 view->Widget::setFrameRect(IntRect(view->pos(), initialSize)); in create()
170 view->setInitialBoundsSize(initialSize); in create()
/external/webkit/Source/WebCore/platform/graphics/mac/
DMediaPlayerPrivateQTKit.mm1026 NSSize initialSize = NSZeroSize;
1034 initialSize = [displayTransform transformSize:naturalSize];
1036 initialSize.width = naturalSize.width;
1037 initialSize.height = naturalSize.height;
1040 initialSize = [[m_qtMovie.get() attributeForKey:QTMovieCurrentSizeAttribute] sizeValue];
1044 m_scaleFactor.setWidth(initialSize.width / naturalSize.width);
1046 m_scaleFactor.setHeight(initialSize.height / naturalSize.height);

12