/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLocaleUtils.java | 105 * Returns the bucket index for the specified string. AlphabeticIndex 108 * used in a particular locale. This routine adds one additional bucket 110 * the bucket indexes returned by AlphabeticIndex in order to make room 111 * for the new # bucket, so the returned range becomes 0 to N+1. 136 final int bucket = mAlphabeticIndex.getBucketIndex(name); local 137 if (bucket < 0) { 140 if (bucket >= mNumberBucketIndex) { 141 return bucket + 1; 143 return bucket; 148 * uses, because this class adds a bucket for phone numbers) [all...] |
/libcore/luni/src/main/native/ |
org_apache_harmony_xml_ExpatParser.cpp | 117 InternedString** bucket = internedStrings[i]; local 119 while ((current = *(bucket++)) != NULL) { 123 // Free the bucket. 299 * Allocates a new bucket with one entry. 301 * @param entry to store in the bucket 302 * @returns a reference to the bucket 305 InternedString** bucket = new InternedString*[2]; local 306 if (bucket != NULL) { 307 bucket[0] = entry; 308 bucket[1] = NULL 369 InternedString** bucket = buckets[bucketIndex]; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
app_launcher_handler.cc | 57 extension_misc::AppLaunchBucket bucket = local 59 CHECK(bucket < extension_misc::APP_LAUNCH_BUCKET_BOUNDARY); 60 return bucket; 518 bool promo_active, extension_misc::AppLaunchBucket bucket) { 519 CHECK(bucket != extension_misc::APP_LAUNCH_BUCKET_INVALID); 521 UMA_HISTOGRAM_ENUMERATION(extension_misc::kAppLaunchHistogram, bucket, 535 extension_misc::AppLaunchBucket bucket) { 536 CHECK(bucket != extension_misc::APP_LAUNCH_BUCKET_INVALID); 543 UMA_HISTOGRAM_ENUMERATION(extension_misc::kAppLaunchHistogram, bucket,
|
/external/freetype/src/base/ |
ftdbgmem.c | 930 FT_MemSource* bucket = table->sources; local 931 FT_MemSource* limit = bucket + FT_MEM_SOURCE_BUCKETS; 938 for ( ; bucket < limit; bucket++ ) 940 FT_MemSource source = *bucket; 951 for ( bucket = table->sources; bucket < limit; bucket++ ) 953 FT_MemSource source = *bucket;
|
/external/blktrace/ |
stats.h | 116 static inline void histlog2_account(__u32 *bucket, __u32 val, 120 bucket[index]++;
|
/external/icu4c/test/intltest/ |
alphaindextst.cpp | 32 const AlphabeticIndex::Bucket *bucket; local 33 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { 37 dest.append(bucket->getLabel()); 366 assertEquals("initial bucket index", -1, index.getBucketIndex()); 370 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); 375 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); local 376 TEST_ASSERT(bucket != NULL); 377 assertEquals("bucket label vs. immutable: locale=" + UnicodeString(localeName) [all...] |
/external/elfutils/src/ |
strip.c | 1412 Elf32_Word *bucket = (Elf32_Word *) hashd->d_buf; local 1466 Elf64_Xword *bucket = (Elf64_Xword *) hashd->d_buf; local [all...] |
/bionic/linker/ |
linker.h | 115 unsigned* bucket; member in struct:soinfo
|
dlfcn.cpp | 191 // Fake out a hash table with a single bucket. 228 bucket: gLibDlBuckets,
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/debug/ |
safe_local_iterator.h | 60 /// The bucket this local iterator belongs to 225 * @brief Return the bucket 228 bucket() const { return _M_bucket; } function in class:__gnu_debug::_Safe_local_iterator 275 /// Is this iterator part of the same bucket as the other one? 279 { return _M_bucket == __other.bucket(); }
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
VaryingConfiguration.java | 239 // (the + 1 is for the bucket now taken up by the inherited value). 241 // from the bucket assigned to this current configuration's variation version. 269 int bucket = (mVariation < overriddenBucket) ? mVariation : mVariation + 1; local 270 double from = inchesPerBucket * bucket + smallest;
|
/external/elfutils/libdwfl/ |
dwfl_module_getdwarf.c | 428 for (Elf32_Word bucket = 0; bucket < nbuckets; ++bucket) 429 if (buckets[bucket] > maxndx) 430 maxndx = buckets[bucket];
|
/external/chromium/chrome/browser/sync/syncable/ |
directory_backing_store.cc | 297 // double weight histogram bucket). Failing twice in a row means we disable 299 int bucket = failed_again ? 2 : 1; local 301 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedWin", bucket); 303 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedMac", bucket); 305 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedNotWinMac", bucket); 308 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedLinux", bucket); 310 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedCros", bucket); 312 UMA_HISTOGRAM_COUNTS_100("Sync.DirectoryOpenFailedOther", bucket); [all...] |
/external/libxml2/ |
xmlschemas.c | 297 #define WXS_BUCKET(ctx) WXS_CONSTRUCTOR((ctx))->bucket 387 xmlSchemaBucketPtr bucket; member in struct:_xmlSchemaSchemaRelation 463 /* The owning main or import schema bucket. */ 572 xmlSchemaBucketPtr mainBucket; /* The main schema bucket */ 576 xmlSchemaBucketPtr bucket; /* The current schema bucket */ member in struct:_xmlSchemaConstructionCtxt 10695 xmlSchemaBucketPtr bucket = NULL; local 10939 xmlSchemaBucketPtr bucket = NULL; local 21268 xmlSchemaBucketPtr bucket = NULL; local 21571 xmlSchemaBucketPtr bucket = NULL; local [all...] |
/external/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|
_unordered_set.h | 165 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_set 315 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multiset
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|
_unordered_set.h | 165 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_set 315 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multiset
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|
_unordered_set.h | 165 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_set 315 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multiset
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|
_unordered_set.h | 165 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_set 315 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multiset
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|
_unordered_set.h | 165 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_set 315 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multiset
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_unordered_map.h | 179 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_map 339 size_type bucket(const _KT& __k) const { return _M_ht.bucket(__k); } function in class:unordered_multimap
|