/bootable/recovery/minzip/ |
Hash.c | 51 HashTable* mzHashTableCreate(size_t initialSize, HashFreeFunc freeFunc) 55 assert(initialSize > 0); 61 pHashTable->tableSize = roundUpPower2(initialSize);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 126 // initialSize will most likely be 2, but it's possible for the GC to have already run, so we'll 128 long initialSize = cache.size(); 129 assertTrue(initialSize == 1 || initialSize == 2);
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 166 public NetworkStats(long elapsedRealtime, int initialSize) { 169 if (initialSize >= 0) { 170 this.capacity = initialSize; 171 this.iface = new String[initialSize]; 172 this.uid = new int[initialSize]; 173 this.set = new int[initialSize]; 174 this.tag = new int[initialSize]; 175 this.rxBytes = new long[initialSize]; 176 this.rxPackets = new long[initialSize]; 177 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...] |
/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));
|
/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;
|
/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/icu/icu4c/source/i18n/ |
uspoof_impl.cpp | 574 uint32_t initialSize = (sizeof(SpoofDataHeader) + 15) & ~15; 575 U_ASSERT(initialSize == sizeof(SpoofDataHeader)); 577 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); 578 fMemLimit = initialSize; 583 uprv_memset(fRawData, 0, initialSize);
|
/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/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 | 217 int initialSize = computeInitialSampleSize(options, minSideLength, 221 if (initialSize <= 8) { 223 while (roundedSize < initialSize) { 227 roundedSize = (initialSize + 7) / 8 * 8;
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 203 int initialSize = computeInitialSampleSize(options, minSideLength, 207 if (initialSize <= 8) { 209 while (roundedSize < initialSize) { 213 roundedSize = (initialSize + 7) / 8 * 8; [all...] |
/external/guava/guava/src/com/google/common/collect/ |
MinMaxPriorityQueue.java | 909 int initialSize = ((Collection<?>) initialContents).size(); 910 result = Math.max(result, initialSize);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 110 int initialSize = 75; 111 mClassToView = new HashMap<String, ViewData>(initialSize); 118 assert mClassToView.size() <= initialSize; [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | 1080 ANTLR3_UINT32 initialSize; 1086 initialSize = sizeHint; 1090 initialSize = ANTLR3_VECTOR_INTERNAL_SIZE; 1095 vector->elements = (pANTLR3_VECTOR_ELEMENT)ANTLR3_MALLOC((size_t)(sizeof(ANTLR3_VECTOR_ELEMENT) * initialSize)); 1111 vector->elementsSize = initialSize; // Available entries [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
TableCollectionTest.java | 419 int initialSize = map.size(); 425 assertEquals(initialSize - 1, map.size());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
org.eclipse.equinox.registry_3.5.0.v20100503.jar | |
/external/guava/guava-tests/test/com/google/common/collect/ |
TableCollectionTest.java | [all...] |
/external/libxml2/ |
xpath.c | 785 int initialSize) 788 if (initialSize <= 0) 789 initialSize = 1; 790 list->items = (void **) xmlMalloc(initialSize * sizeof(void *)); 797 list->size = initialSize; 826 xmlPointerListCreate(int initialSize) 837 if (initialSize > 0) { 838 xmlPointerListAddSize(ret, NULL, initialSize); [all...] |