/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ConcurrentMapInterfaceTest.java | 82 int initialSize = map.size(); 87 assertEquals(initialSize + 1, map.size()); 113 int initialSize = map.size(); 119 assertEquals(initialSize, map.size()); 143 int initialSize = map.size(); 161 assertEquals(initialSize, map.size()); 177 int initialSize = map.size(); 195 assertEquals(initialSize, map.size()); 211 int initialSize = map.size(); 228 assertEquals(initialSize, map.size()) [all...] |
MapInterfaceTest.java | 469 int initialSize = map.size(); 475 assertEquals(initialSize - 1, map.size()); 509 int initialSize = map.size(); 512 assertEquals(initialSize - 1, map.size()); 537 int initialSize = map.size(); 547 assertEquals(initialSize, map.size()); 564 int initialSize = map.size(); 574 assertEquals(initialSize, map.size()); 620 int initialSize = map.size(); 634 assertEquals(initialSize, map.size()) [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 61 int initialSize = computeInitialSampleSize( 64 return initialSize <= 8 65 ? Utils.nextPowerOf2(initialSize) 66 : (initialSize + 7) / 8 * 8; 89 int initialSize = Math.max(w / minSideLength, h / minSideLength); 90 if (initialSize <= 1) return 1; 92 return initialSize <= 8 93 ? Utils.prevPowerOf2(initialSize) 94 : initialSize / 8 * 8; 99 int initialSize = (int) FloatMath.floor(1f / scale) [all...] |
/external/javassist/src/main/javassist/bytecode/ |
LongVector.java | 30 public LongVector(int initialSize) { 31 int vsize = ((initialSize >> ABITS) & ~(VSIZE - 1)) + VSIZE;
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
FixedBuffer.h | 21 FixedBuffer(size_t initialSize = 0) {
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
FixedBuffer.h | 21 FixedBuffer(size_t initialSize = 0) {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.java | 39 * size of <code>initialSize</code> characters. The StringBuffer is also 42 public Support_StringWriter(int initialSize) { 43 if (initialSize >= 0) { 44 buf = new StringBuffer(initialSize);
|
/libcore/luni/src/main/java/java/io/ |
StringWriter.java | 47 * allocated with a size of {@code initialSize} characters. The {@code 51 * @param initialSize 54 public StringWriter(int initialSize) { 55 if (initialSize < 0) { 58 buf = new StringBuffer(initialSize);
|
CharArrayWriter.java | 54 * with the size of {@code initialSize} characters. The buffer is also used 57 * @param initialSize 60 * if {@code initialSize < 0}. 62 public CharArrayWriter(int initialSize) { 63 if (initialSize < 0) { 66 buf = new char[initialSize];
|
/libcore/support/src/test/java/tests/support/ |
Support_StringWriter.java | 39 * size of <code>initialSize</code> characters. The StringBuffer is also 42 public Support_StringWriter(int initialSize) { 43 if (initialSize >= 0) { 44 buf = new StringBuffer(initialSize);
|
/sdk/sdk_common/src/com/android/ide/common/resources/ |
ResourceFolder.java | 128 int initialSize = 16; 140 initialSize = 230; // "drawable" folder 145 initialSize = 1260; 148 initialSize = 30; 157 initialSize = 200; 163 initialSize = 32; 165 initialSize = 4; 169 case ANIM: initialSize = 85; break; 170 case COLOR: initialSize = 32; break; 171 case RAW: initialSize = 4; break [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
UnboundedFifoByteBuffer.java | 77 * @param initialSize the initial size of the buffer
80 public UnboundedFifoByteBuffer(int initialSize) {
81 if (initialSize <= 0) {
84 buffer = new byte[initialSize + 1];
|
/dalvik/vm/ |
PointerSet.h | 30 PointerSet* dvmPointerSetAlloc(int initialSize);
|
PointerSet.cpp | 55 PointerSet* dvmPointerSetAlloc(int initialSize) 59 if (initialSize > 0) { 60 pSet->list = (const void**)malloc(sizeof(void*) * initialSize); 65 pSet->alloc = initialSize;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapRemoveTester.java | 44 int initialSize = getMap().size(); 48 initialSize - 1, getMap().size()); 64 int initialSize = getMap().size(); 68 initialSize - 1, getMap().size());
|
ListRemoveTester.java | 44 int initialSize = getList().size(); 53 initialSize - 1, getList().size());
|
CollectionRemoveTester.java | 45 int initialSize = collection.size(); 49 initialSize - 1, collection.size()); 65 int initialSize = collection.size(); 68 initialSize - 1, collection.size());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMultimapAsMapImplementsMapTest.java | 77 int initialSize = map.size(); 83 assertEquals(initialSize - 1, map.size());
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
IntentPool.java | 41 * @param initialSize The initial size of the pool 43 public IntentPool(int initialSize) { 44 mIntentPool = new ArrayList<Intent>(initialSize);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
ResizableDialog.java | 98 protected Point getInitialLocation(Point initialSize) { 109 int maxX = windowBounds.x + windowBounds.width - initialSize.x; 110 int maxY = windowBounds.y + windowBounds.height - initialSize.y; 126 int x = windowBounds.x + (windowBounds.width - initialSize.x) / 2; 127 int y = windowBounds.y + (windowBounds.height - initialSize.y) / 2;
|
/external/webkit/Source/JavaScriptCore/assembler/ |
LinkBuffer.h | 217 size_t initialSize = m_assembler->size(); 218 m_code = (uint8_t*)m_executablePool->alloc(initialSize); 276 m_executablePool->tryShrink(m_code, initialSize, m_size); 279 dumpLinkStatistics(m_code, initialSize, m_size); 299 static void dumpLinkStatistics(void* code, size_t initialSize, size_t finalSize) 305 totalInitialSize += initialSize; 308 code, static_cast<unsigned>(initialSize), static_cast<unsigned>(finalSize), 309 static_cast<unsigned>(initialSize - finalSize), 310 100.0 * (initialSize - finalSize) / initialSize); [all...] |
/frameworks/base/tools/preload/ |
WritePreloadedClassFile.java | 92 int initialSize = toPreload.size(); 93 System.out.println(initialSize 109 System.out.println("Added " + (toPreload.size() - initialSize)
|
/bootable/recovery/minzip/ |
Hash.h | 70 * Create and initialize a HashTable structure, using "initialSize" as 77 HashTable* mzHashTableCreate(size_t initialSize, HashFreeFunc freeFunc);
|
Hash.c | 51 HashTable* mzHashTableCreate(size_t initialSize, HashFreeFunc freeFunc) 55 assert(initialSize > 0); 61 pHashTable->tableSize = roundUpPower2(initialSize);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
IndexDataManager.h | 59 StreamingIndexBuffer(IDirect3DDevice9 *device, UINT initialSize, D3DFORMAT format);
|