/frameworks/base/include/androidfw/ |
ByteBucketArray.h | 59 uint8_t bucketIndex = static_cast<uint8_t>(index) >> 4; 60 T* bucket = mBuckets[bucketIndex]; 71 uint8_t bucketIndex = static_cast<uint8_t>(index) >> 4; 72 T* bucket = mBuckets[bucketIndex]; 74 bucket = mBuckets[bucketIndex] = new T[BUCKET_SIZE]();
|
/external/emma/core/java12/com/vladium/util/ |
IntObjectMap.java | 88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 113 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 116 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 161 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; 165 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 190 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 191 final Entry bucketListHead = buckets [bucketIndex]; 193 buckets [bucketIndex] = newEntry;
|
IntIntMap.java | 88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 112 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 115 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 131 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 134 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 175 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; 179 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 201 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 202 final Entry bucketListHead = buckets [bucketIndex]; [all...] |
ObjectIntMap.java | 93 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; 96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 121 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; 124 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 168 int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; 172 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 194 bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; 195 final Entry bucketListHead = buckets [bucketIndex]; 197 buckets [bucketIndex] = newEntry; 214 final int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length [all...] |
SoftValueMap.java | 164 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; 169 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 235 int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; 238 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 270 currentKeyEntry.m_softValue = new IndexedSoftReference (value, m_valueReferenceQueue, bucketIndex); 282 bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; 283 final SoftEntry bucketListHead = buckets [bucketIndex]; 284 final SoftEntry newEntry = new SoftEntry (m_valueReferenceQueue, key, value, bucketListHead, bucketIndex); 285 buckets [bucketIndex] = newEntry; 302 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length [all...] |
IntSet.java | 86 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 89 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 142 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; 146 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) 162 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; 163 final Entry bucketListHead = buckets [bucketIndex]; 165 buckets [bucketIndex] = newEntry;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLocaleUtils.java | 207 public String getBucketLabel(int bucketIndex) { 208 if (bucketIndex < 0 || bucketIndex >= getBucketCount()) { 210 } else if (bucketIndex == mNumberBucketIndex) { 212 } else if (bucketIndex > mNumberBucketIndex) { 213 --bucketIndex; 215 return mAlphabeticIndex.getBucket(bucketIndex).getLabel(); 296 final int bucketIndex = super.getBucketIndex(name); 297 if ((bucketIndex == mMiscBucketIndex && 299 bucketIndex > mMiscBucketIndex) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 404 int bucketIndex = 0; 407 labels.get(bucketIndex), bucket.getLabel()); 409 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); 411 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); 415 bucketIndex, index.getBucketIndex(name)); 417 bucketIndex, immIndex.getBucketIndex(name)); 439 ++bucketIndex; 441 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); 442 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 400 int bucketIndex = 0; 403 labels.get(bucketIndex), bucket.getLabel()); 405 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); 407 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); 411 bucketIndex, index.getBucketIndex(name)); 413 bucketIndex, immIndex.getBucketIndex(name)); 435 ++bucketIndex; 437 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); 438 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()) [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
FlagSet.java | 66 public boolean intersect(FlagSet other, int bucketIndex) { 67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0; 125 private long getBucket(int bucketIndex) { 126 if (bucketIndex >= buckets.length) { 129 return buckets[bucketIndex];
|
/external/icu/icu4c/source/test/intltest/ |
alphaindextst.cpp | 369 int32_t bucketIndex = 0; 372 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); 377 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); 380 " index=" + bucketIndex, 385 ++bucketIndex; 389 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); 391 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); 563 int32_t bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); 564 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket 565 bucketIndex = index.getBucketIndex("i", status) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
LinkedHashMap.java | 443 void addEntry(int hash, K key, V value, int bucketIndex) { 464 super.addEntry(hash, key, value, bucketIndex); 483 void createEntry(int hash, K key, V value, int bucketIndex) { 484 HashMapEntry<K,V> old = table[bucketIndex]; 486 table[bucketIndex] = e;
|
HashMap.java | 806 void addEntry(int hash, K key, V value, int bucketIndex) { 807 if ((size >= threshold) && (null != table[bucketIndex])) { 810 bucketIndex = indexFor(hash, table.length); 813 createEntry(hash, key, value, bucketIndex); 824 void createEntry(int hash, K key, V value, int bucketIndex) { 825 HashMapEntry<K,V> e = table[bucketIndex]; 826 table[bucketIndex] = new HashMapEntry<>(hash, key, value, e); [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); 85 if (bucketIndex < 0) { 89 String id = constructId(internal, cursor.getString(bucketIndex)); 166 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); 169 data.albumId = cursor.getString(bucketIndex);
|
PicasaSource.java | 148 int bucketIndex = cursor.getColumnIndex(PICASA_ALBUM_ID); 151 if (bucketIndex >= 0) { 152 data.albumId = cursor.getString(bucketIndex);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
BackgroundScanScheduler.java | 202 int bucketIndex = 0; 225 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, 227 period = PREDEFINED_BUCKET_PERIODS[bucketIndex]; 508 int bucketIndex; 512 bucketIndex = EXPONENTIAL_BACK_OFF_BUCKET_IDX; 514 bucketIndex = findBestRegularBucketIndex(settings.periodInMs, NUM_OF_REGULAR_BUCKETS); 517 mBuckets.getOrCreate(bucketIndex).addSettings(settings); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLocaleUtilsTest.java | 106 int bucketIndex = utils.getBucketIndex(name); 107 return utils.getBucketLabel(bucketIndex);
|
/external/icu/icu4c/source/i18n/ |
alphaindex.cpp | 649 int32_t bucketIndex = 1; 652 if (bucketIndex < buckets_->bucketList_->size()) { 653 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); 667 if (bucketIndex < buckets_->bucketList_->size()) { 668 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); [all...] |
/external/jsoncpp/include/json/ |
value.h | 672 typedef unsigned int BucketIndex; 679 BucketIndex itemIndex_; 680 BucketIndex bucketIndex_; 691 BucketIndex size() const; 695 bool reserveDelta(BucketIndex growth); 697 bool reserve(BucketIndex newItemCount); 708 BucketIndex index, 709 BucketIndex bucketIndex); 711 ValueInternalLink*& getLastLinkInBucket(BucketIndex bucketIndex) [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
LayoutBinderWriter.kt | 235 fun FlagSet.localValue(bucketIndex : Int) = 236 if (localName == null) binaryCode(bucketIndex) 237 else "$localName${getWordSuffix(bucketIndex)}" 239 fun FlagSet.binaryCode(bucketIndex : Int) = longToBinary(buckets[bucketIndex]) [all...] |
/libcore/luni/src/main/native/ |
org_apache_harmony_xml_ExpatParser.cpp | 368 int bucketIndex = hash & (BUCKET_COUNT - 1); 371 InternedString** bucket = buckets[bucketIndex]; 395 buckets[bucketIndex] = bucket; 411 buckets[bucketIndex] = bucket; [all...] |
/external/emma/lib/ |
emma.jar | |
/external/owasp/sanitizer/tools/emma/lib/ |
emma.jar | |
/prebuilts/devtools/tools/lib/ |
emma.jar | |
emma_device.jar | |