/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
ByteVector.java | 62 * @param initialSize the initial size of the byte vector to be constructed.
64 public ByteVector(final int initialSize) {
65 data = new byte[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/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
FontBuilder.h | 84 static FontDescription::Size initialSize() { return FontDescription::Size(FontSize::initialKeywordSize(), 0.0f, false); }
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 155 // initialSize will most likely be 2, but it's possible for the GC to have already run, so we'll 157 long initialSize = cache.size(); 158 assertTrue(initialSize == 1 || initialSize == 2);
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 157 public NetworkStats(long elapsedRealtime, int initialSize) { 160 if (initialSize >= 0) { 161 this.capacity = initialSize; 162 this.iface = new String[initialSize]; 163 this.uid = new int[initialSize]; 164 this.set = new int[initialSize]; 165 this.tag = new int[initialSize]; 166 this.rxBytes = new long[initialSize]; 167 this.rxPackets = new long[initialSize]; 168 this.txBytes = new long[initialSize]; [all...] |
NetworkStatsHistory.java | 100 public NetworkStatsHistory(long bucketDuration, int initialSize) { 101 this(bucketDuration, initialSize, FIELD_ALL); 104 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { 106 bucketStart = new long[initialSize]; 107 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; 108 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize]; 109 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize]; 110 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; 111 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; 112 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
BitSetTest.java | 172 int initialSize = bs.size(); 173 assertEquals(64, initialSize); 174 bs.set(0, initialSize); 189 for (int i = 11; i < initialSize; i++) { 197 for (int i = initialSize; i < bs.size(); i++) { 203 initialSize = bs.size(); 204 bs.set(0, initialSize); 218 initialSize = bs.size(); 219 bs.set(0, initialSize); 229 initialSize = bs.size() [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 502 int initialSize = Math.max(w / minSideLength, h / minSideLength); 503 if (initialSize <= 1) return 1; 505 return initialSize <= 8 506 ? prevPowerOf2(initialSize) 507 : initialSize / 8 * 8;
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
CameraPreviewActivity.java | 232 int initialSize = mPreviewSizes.size() - 1; 234 mNextPreviewSize = mPreviewSizes.get(initialSize); 235 mResolutionSpinner.setSelection(initialSize);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectOutputStreamTest.java | 196 int initialSize = target.size(); 201 written = (target.size() > initialSize); 205 written || (target.size() > initialSize));
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
VertexBuffer.h | 105 StreamingVertexBufferInterface(rx::Renderer *renderer, std::size_t initialSize);
|
VertexBuffer.cpp | 200 StreamingVertexBufferInterface::StreamingVertexBufferInterface(rx::Renderer *renderer, std::size_t initialSize) : VertexBufferInterface(renderer, true) 202 setBufferSize(initialSize);
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 252 int initialSize = computeInitialSampleSize(options, minSideLength, 256 if (initialSize <= 8 ) { 258 while (roundedSize < initialSize) { 262 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/chromium_org/third_party/icu/source/i18n/ |
uspoof_impl.cpp | 548 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; 549 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); 551 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); 552 fMemLimit = initialSize; 557 uprv_memset(fRawData, 0, initialSize);
|
/external/icu/icu4c/source/i18n/ |
uspoof_impl.cpp | 548 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; 549 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); 551 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); 552 fMemLimit = initialSize; 557 uprv_memset(fRawData, 0, initialSize);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 177 int initialSize = computeInitialSampleSize(options, minSideLength, 181 if (initialSize <= 8) { 183 while (roundedSize < initialSize) { 187 roundedSize = (initialSize + 7) / 8 * 8;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
StylePropertySet.cpp | 455 unsigned initialSize = m_propertyVector.size(); 457 for (unsigned n = 0; n < initialSize; ++n) { 466 return initialSize != m_propertyVector.size();
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
LocalList.java | 479 public MakeState(int initialSize) { 480 result = new ArrayList<Entry>(initialSize);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
LocalList.java | 475 public MakeState(int initialSize) { 476 result = new ArrayList<Entry>(initialSize);
|
/external/chromium_org/third_party/libxslt/libxslt/ |
xsltutils.c | 309 * @initialSize: the initial size of the list 319 int initialSize) 322 if (initialSize <= 0) 323 initialSize = 1; 325 initialSize * sizeof(void *)); 332 list->size = initialSize; 350 * @initialSize: the initial size for the list 357 xsltPointerListCreate(int initialSize) 368 if (initialSize > 0) { 369 xsltPointerListAddSize(ret, NULL, initialSize); [all...] |
/external/dexmaker/src/dx/java/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 | 113 * @param initialSize the internal buffer initial size 115 public BerInputStream(InputStream in, int initialSize) throws IOException { 117 buffer = new byte[initialSize];
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 218 int initialSize = computeInitialSampleSize(options, minSideLength, 222 if (initialSize <= 8) { 224 while (roundedSize < initialSize) { 228 roundedSize = (initialSize + 7) / 8 * 8;
|