Home
last modified time | relevance | path

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

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java470 int initialSize = map.size(); in testEntrySetIteratorRemove() local
476 assertEquals(initialSize - 1, map.size()); in testEntrySetIteratorRemove()
510 int initialSize = map.size(); in testEntrySetRemove() local
513 assertEquals(initialSize - 1, map.size()); in testEntrySetRemove()
538 int initialSize = map.size(); in testEntrySetRemoveMissingKey() local
548 assertEquals(initialSize, map.size()); in testEntrySetRemoveMissingKey()
565 int initialSize = map.size(); in testEntrySetRemoveDifferentValue() local
575 assertEquals(initialSize, map.size()); in testEntrySetRemoveDifferentValue()
621 int initialSize = map.size(); in testEntrySetRemoveNullKeyMissing() local
635 assertEquals(initialSize, map.size()); in testEntrySetRemoveNullKeyMissing()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/stacks/
DDynamicIntStack.java32 public DynamicIntStack(int initialSize) { in DynamicIntStack() argument
33 stack = new int[initialSize]; in DynamicIntStack()
35 size = initialSize; in DynamicIntStack()
/external/deqp/framework/platform/win32/
DtcuWin32VulkanPlatform.cpp77 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
80 const deUint32 width = !initialSize ? 400 : initialSize->x(); in createWindow()
81 const deUint32 height = !initialSize ? 300 : initialSize->y(); in createWindow()
/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/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/deqp/framework/delibs/debase/
DdeMemory.c293 size_t initialSize; in deMemory_selfTest() member
331 …void* const ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCa… in deMemory_selfTest()
336 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
340 … numPreserved = s_alignedReallocCases[caseNdx].newSize < s_alignedReallocCases[caseNdx].initialSize in deMemory_selfTest()
342 : s_alignedReallocCases[caseNdx].initialSize; in deMemory_selfTest()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionRemoveTester.java48 int initialSize = collection.size(); in testRemove_present() local
52 initialSize - 1, collection.size()); in testRemove_present()
82 int initialSize = collection.size(); in testRemove_nullPresent() local
85 initialSize - 1, collection.size()); in testRemove_nullPresent()
DMapRemoveTester.java50 int initialSize = getMap().size(); in testRemove_present() local
54 initialSize - 1, getMap().size()); in testRemove_present()
112 int initialSize = getMap().size(); in testRemove_nullPresent() local
116 initialSize - 1, getMap().size()); in testRemove_nullPresent()
DListRemoveTester.java44 int initialSize = getList().size(); in testRemove_duplicate() local
53 initialSize - 1, getList().size()); in testRemove_duplicate()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DDataBuffer.java15 public DataBuffer (int initialSize) { in DataBuffer() argument
16 super(new OptimizedByteArrayOutputStream(initialSize)); in DataBuffer()
DStreamUtils.java132 public OptimizedByteArrayOutputStream (int initialSize) { in OptimizedByteArrayOutputStream() argument
133 super(initialSize); in OptimizedByteArrayOutputStream()
DQueue.java50 public Queue (int initialSize) { in Queue() argument
52 this.values = (T[])new Object[initialSize]; in Queue()
57 public Queue (int initialSize, Class<T> type) { in Queue() argument
59 this.values = (T[])ArrayReflection.newInstance(type, initialSize); in Queue()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/
DByteArrayOutputStream.java28 public ByteArrayOutputStream (int initialSize) { in ByteArrayOutputStream() argument
29 buf = new byte[initialSize]; in ByteArrayOutputStream()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DBiMapRemoveTester.java88 int initialSize = getNumElements(); in testKeySetIteratorRemove() local
92 assertEquals(initialSize - 1, getMap().size()); in testKeySetIteratorRemove()
93 assertEquals(initialSize - 1, getMap().inverse().size()); in testKeySetIteratorRemove()
/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-gwt/src-super/com/google/common/io/super/com/google/common/io/
DGwtWorkarounds.java96 static CharOutput stringBuilderOutput(int initialSize) { in stringBuilderOutput() argument
97 final StringBuilder builder = new StringBuilder(initialSize); in stringBuilderOutput()
/external/jetty/src/java/org/eclipse/jetty/util/
DLazyList.java167 public static Object ensureSize(Object list, int initialSize) in ensureSize() argument
170 return new ArrayList<Object>(initialSize); in ensureSize()
174 if (ol.size()>initialSize) in ensureSize()
176 ArrayList<Object> nl = new ArrayList<Object>(initialSize); in ensureSize()
180 List<Object> l= new ArrayList<Object>(initialSize); in ensureSize()
/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/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp237 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
245 if (initialSize) in createWindow()
246 … window->setBuffersGeometry((int)initialSize->x(), (int)initialSize->y(), WINDOW_FORMAT_RGBA_8888); in createWindow()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java128 long initialSize = cache.size();
129 assertTrue(initialSize == 1 || initialSize == 2);
/external/icu/icu4c/source/common/
Dresource.h159 int32_t index, int32_t initialSize, UErrorCode &errorCode);
232 const char *key, int32_t initialSize, UErrorCode &errorCode);
/external/guava/guava/src/com/google/common/io/
DGwtWorkarounds.java210 static CharOutput stringBuilderOutput(int initialSize) {
211 final StringBuilder builder = new StringBuilder(initialSize);
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DByteVector.java64 public ByteVector(final int initialSize) { in ByteVector() argument
65 data = new byte[initialSize]; in ByteVector()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp573 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; in SpoofData() local
574 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); in SpoofData()
576 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); in SpoofData()
577 fMemLimit = initialSize; in SpoofData()
582 uprv_memset(fRawData, 0, initialSize); in SpoofData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUResource.java355 public TableSink getOrCreateTableSink(int index, int initialSize) { in getOrCreateTableSink() argument
418 public TableSink getOrCreateTableSink(Key key, int initialSize) { in getOrCreateTableSink() argument

12