/libcore/luni/src/main/java/java/io/ |
StringWriter.java | 46 * allocated with a size of {@code initialSize} characters. The {@code 50 * @param initialSize 53 public StringWriter(int initialSize) { 54 if (initialSize < 0) { 57 buf = new StringBuffer(initialSize);
|
CharArrayWriter.java | 53 * with the size of {@code initialSize} characters. The buffer is also used 56 * @param initialSize 59 * if {@code initialSize < 0}. 61 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);
|
/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 | 31 PointerSet* dvmPointerSetAlloc(int initialSize);
|
PointerSet.c | 55 PointerSet* dvmPointerSetAlloc(int initialSize) 59 if (initialSize > 0) { 60 pSet->list = malloc(sizeof(const void*) * initialSize); 65 pSet->alloc = initialSize;
|
Hash.c | 44 HashTable* dvmHashTableCreate(size_t initialSize, HashFreeFunc freeFunc) 48 assert(initialSize > 0); 56 pHashTable->tableSize = dexRoundUpPower2(initialSize);
|
Hash.h | 83 * Create and initialize a HashTable structure, using "initialSize" as 90 HashTable* dvmHashTableCreate(size_t initialSize, HashFreeFunc freeFunc);
|
/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);
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 112 int initialSize = computeInitialSampleSize(options, minSideLength, 116 if (initialSize <= 8) { 118 while (roundedSize < initialSize) { 122 roundedSize = (initialSize + 7) / 8 * 8;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Utils.java | 277 int initialSize = computeInitialSampleSize(options, minSideLength, 281 if (initialSize <= 8 ) { 283 while (roundedSize < initialSize) { 287 roundedSize = (initialSize + 7) / 8 * 8;
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
BitSetTest.java | 188 int initialSize = bs.size(); 189 bs.set(0, initialSize); 202 for (int i = 11; i < initialSize; i++) { 209 for (int i = initialSize; i < bs.size(); i++) { 215 initialSize = bs.size(); 216 bs.set(0, initialSize); 228 initialSize = bs.size(); 229 bs.set(0, initialSize); 238 initialSize = bs.size(); 239 bs.set(0, initialSize); [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 225 int initialSize = bs.size(); 226 bs.set(0, initialSize); 239 for (int i = 11; i < initialSize; i++) { 246 for (int i = initialSize; i < bs.size(); i++) { 252 initialSize = bs.size(); 253 bs.set(0, initialSize); 265 initialSize = bs.size(); 266 bs.set(0, initialSize); 275 initialSize = bs.size(); 276 bs.set(0, initialSize); [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 231 int initialSize = computeInitialSampleSize(options, minSideLength, 235 if (initialSize <= 8 ) { 237 while (roundedSize < initialSize) { 241 roundedSize = (initialSize + 7) / 8 * 8;
|
/packages/apps/Gallery/src/com/android/camera/ |
Util.java | 104 int initialSize = computeInitialSampleSize(options, minSideLength, 108 if (initialSize <= 8) { 110 while (roundedSize < initialSize) { 114 roundedSize = (initialSize + 7) / 8 * 8;
|
/external/webkit/WebCore/platform/graphics/mac/ |
MediaPlayerPrivateQTKit.mm | 857 NSSize initialSize = NSZeroSize; 865 initialSize = [displayTransform transformSize:naturalSize]; 867 initialSize.width = naturalSize.width; 868 initialSize.height = naturalSize.height; 871 initialSize = [[m_qtMovie.get() attributeForKey:QTMovieCurrentSizeAttribute] sizeValue]; 875 m_scaleFactor.setWidth(initialSize.width / naturalSize.width); 877 m_scaleFactor.setHeight(initialSize.height / naturalSize.height); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
uspoof_impl.cpp | 527 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; 528 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); 530 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); 531 fMemLimit = initialSize; 536 uprv_memset(fRawData, 0, initialSize);
|
/external/icu4c/i18n/ |
uspoof_impl.cpp | 527 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; 528 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); 530 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); 531 fMemLimit = initialSize; 536 uprv_memset(fRawData, 0, initialSize);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
LocalList.java | 479 public MakeState(int initialSize) { 480 result = new ArrayList<Entry>(initialSize);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.java | 117 * Allocates initial buffer of <code>initialSize</code> size 119 * @param initialSize the internal buffer initial size 122 public BerInputStream(InputStream in, int initialSize) throws IOException { 125 buffer = new byte[initialSize];
|
/external/webkit/WebCore/page/ |
FrameView.h | 59 static PassRefPtr<FrameView> create(Frame*, const IntSize& initialSize);
|
FrameView.cpp | 147 PassRefPtr<FrameView> FrameView::create(Frame* frame, const IntSize& initialSize) 150 view->Widget::setFrameRect(IntRect(view->pos(), initialSize)); [all...] |
/libcore/luni/src/test/java/tests/api/java/io/ |
ObjectOutputStreamTest.java | 682 int initialSize = target.size(); 687 written = (target.size() > initialSize); 691 written || (target.size() > initialSize)); [all...] |