/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/ |
bucket.pass.cpp | 16 // size_type bucket(const key_type& __k) const; 40 assert(c.bucket(i) == i % bc);
|
/external/webkit/LayoutTests/storage/domstorage/script-tests/ |
quota.js | 26 debug("Putting 'data' into another bucket.h"); 37 debug("Removing bucket 38."); 40 debug("Adding 'Hello!' into a new bucket."); 72 debug("Putting 'data' into another bucket.h");
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashIterator.h | 43 bucket_type &bucket = m_pHashTable->m_Buckets[m_Index]; local 44 if (bucket_type::getTombstone() == bucket.Entry) { 47 else if (m_HashValue == bucket.FullHashValue) { 48 if (bucket.Entry->compare(pKey)) { 124 bucket_type &bucket = m_pHashTable->m_Buckets[m_Index]; local 126 if (bucket_type::getTombstone() == bucket.Entry || 127 bucket_type::getEmptyBucket() == bucket.Entry) { 130 else if (m_HashValue == bucket.FullHashValue) {
|
/external/icu4c/i18n/ |
alphaindex.cpp | 81 inline AlphabeticIndex::Bucket *getBucket(const UVector &list, int32_t i) { 82 return static_cast<AlphabeticIndex::Bucket *>(list[i]); 153 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, i); local 155 collatorPrimaryOnly.compare(name, bucket->lowerBoundary_, errorCode); 162 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, start); local 163 if (bucket->displayBucket_ != NULL) { 164 bucket = bucket->displayBucket_ 457 Bucket *bucket = new Bucket(getUnderflowLabel(), emptyString_, U_ALPHAINDEX_UNDERFLOW); local 679 Bucket *bucket = currentBucket; local [all...] |
/development/tools/idegen/src/ |
Eclipse.java | 61 List<Bucket> buckets = new ArrayList<Bucket>(patterns.size()); 63 buckets.add(new Bucket(pattern)); 71 for (Bucket bucket : buckets) { 72 if (bucket.matches(path)) { 73 bucket.sourceRoots.add(sourceRoot); 80 for (Bucket bucket : buckets) { 81 for (File sourceRoot : bucket.sourceRoots) [all...] |
/frameworks/ex/common/tools/ |
make-iana-tld-pattern.py | 29 class Bucket: 103 bucket = buckets.get(letter) 105 if bucket is None: 106 bucket = Bucket(letter) 107 buckets[letter] = bucket 109 return bucket
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryExporter.java | 242 ArrayList<BinaryIdContentPair> bucket = alreadySaved local 244 int prevLoc = findPrevMatch(pair, bucket); 251 if (bucket == null) { 252 bucket = new ArrayList<BinaryIdContentPair>(); 253 alreadySaved.put(savableName + getChunk(pair), bucket); 255 bucket.add(pair); 308 ArrayList<BinaryIdContentPair> bucket) { 309 if (bucket == null) 311 for (int x = bucket.size(); --x >= 0;) { 312 BinaryIdContentPair pair = bucket.get(x) [all...] |
/external/chromium/chrome/browser/extensions/ |
extensions_quota_service.h | 7 // represented by a 'Bucket' that holds state for that item for one single 11 // arguments to a unique Bucket (the BucketMapper), and another to determine 80 // (represented by its Bucket) constitutes a quota violation. 84 // Bucket objects (see Below) and how often they are replenished. 86 // The maximum number of tokens a bucket can contain, and is refilled to 90 // Specifies how frequently the bucket is logically refilled with tokens. 94 // A Bucket is how the heuristic portrays an individual item (since quota 100 // come in). So, a bucket has an expiration to denote it has becomes stale. 101 class Bucket { 103 Bucket() : num_tokens_(0) { [all...] |
extensions_quota_service_unittest.cc | 14 typedef QuotaLimitHeuristic::Bucket Bucket; 37 buckets_[id] = new Bucket(); 42 typedef std::map<int, Bucket*> BucketMap; 116 Bucket* b, 141 Bucket b; 160 Bucket bucket; local 162 bucket.Reset(k2PerMinute, kStartTime); 163 DoMoreThan2PerMinuteFor5Minutes(kStartTime, &lim, &bucket, -1) [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_image.c | 227 size_t bucket; local 230 bucket = opd_hash_image(name, tid, tgid); 231 list_for_each(pos, &opd_images[bucket]) { 241 if (pos == &opd_images[bucket])
|
/external/chromium/chrome/browser/ui/webui/ |
app_launcher_handler.h | 93 // Records an app launch in the corresponding |bucket| of the app launch 96 extension_misc::AppLaunchBucket bucket); 98 // Records an app launch in the corresponding |bucket| of the app launch 102 extension_misc::AppLaunchBucket bucket);
|
/external/stlport/test/unit/ |
unordered_test.cpp | 93 lit = us.begin(us.bucket(i)); 94 litEnd = us.end(us.bucket(i)); 96 usettype::size_type bucket_pos = us.bucket(*lit); 98 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 137 lit = us.begin(us.bucket(i)); 138 litEnd = us.end(us.bucket(i)); 140 usettype::size_type bucket_pos = us.bucket(*lit); 142 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 207 lit = us.begin(us.bucket(i)); 208 litEnd = us.end(us.bucket(i)) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
unordered_test.cpp | 93 lit = us.begin(us.bucket(i)); 94 litEnd = us.end(us.bucket(i)); 96 usettype::size_type bucket_pos = us.bucket(*lit); 98 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 137 lit = us.begin(us.bucket(i)); 138 litEnd = us.end(us.bucket(i)); 140 usettype::size_type bucket_pos = us.bucket(*lit); 142 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 207 lit = us.begin(us.bucket(i)); 208 litEnd = us.end(us.bucket(i)) [all...] |
/ndk/tests/device/test-stlport/unit/ |
unordered_test.cpp | 93 lit = us.begin(us.bucket(i)); 94 litEnd = us.end(us.bucket(i)); 96 usettype::size_type bucket_pos = us.bucket(*lit); 98 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 137 lit = us.begin(us.bucket(i)); 138 litEnd = us.end(us.bucket(i)); 140 usettype::size_type bucket_pos = us.bucket(*lit); 142 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos ); 207 lit = us.begin(us.bucket(i)); 208 litEnd = us.end(us.bucket(i)) [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | 133 ANTLR3_UINT32 bucket; // Used to traverse the buckets local 153 // Modulo of the table, (bucket count). 161 for (bucket = 0; bucket < sizeHint; bucket++) 163 table->buckets[bucket].entries = NULL; 197 ANTLR3_UINT32 bucket; /* Used to traverse the buckets */ local 208 for (bucket = 0; bucket < table->modulo; bucket++ 277 pANTLR3_HASH_BUCKET bucket; local 334 pANTLR3_HASH_BUCKET bucket; local 447 pANTLR3_HASH_BUCKET bucket; local 486 pANTLR3_HASH_BUCKET bucket; local 526 pANTLR3_HASH_BUCKET bucket; local 597 pANTLR3_HASH_BUCKET bucket; local 767 pANTLR3_HASH_BUCKET bucket; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
PowerUI.java | 85 * the bucket going up when the battery level was going down. --joeo 126 int bucket = findBatteryLevelBucket(mBatteryLevel); 136 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket); 152 && (bucket < oldBucket || oldPlugged) 154 && bucket < 0) { 157 // only play SFX when the dialog comes up or the bucket changes 158 if (bucket != oldBucket || oldPlugged) { 161 } else if (plugged || (bucket > oldBucket && bucket > 0)) [all...] |
/external/libvpx/libvpx/ |
vpxenc.c | 1361 struct hist_bucket bucket[64]; local 1392 struct hist_bucket bucket[RATE_BINS]; member in struct:rate_hist [all...] |
/external/chromium/net/disk_cache/ |
stats.cc | 226 for (int bucket = 20; bucket < kDataSizesLength; bucket++) 227 total += data_sizes_[bucket] * GetBucketRange(bucket);
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 110 int bucket = ((System.identityHashCode(kind) / 8) & 0x7FFFFFFF) % CACHE_SIZE; local 111 Object cache = sCache[bucket]; 115 sCache[bucket] = cache; 117 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket);
|
/external/freetype/src/cache/ |
ftccache.c | 88 /* get a top bucket for specified hash from cache, 131 * the bucket lists 145 /* split a single bucket */ 493 FTC_Node* bucket; local 506 bucket = pnode = FTC_NODE__TOP_FOR_HASH( cache, hash ); 525 /* Update bucket by modified linked list */ 526 bucket = pnode = FTC_NODE__TOP_FOR_HASH( cache, hash ); 542 if ( node != *bucket ) 545 node->link = *bucket; 546 *bucket = node 580 FTC_Node* bucket = cache->buckets + i; local [all...] |
/external/jdiff/src/jdiff/ |
HTMLStatistics.java | 203 int bucket = (int)(pkg.pdiff); local 204 hist[bucket]++; 206 if (bucket != 0) 207 h_.writeText(" <TD ALIGN=\"center\">" + bucket + "</TD>"); 290 int bucket = (int)(classDiff.pdiff); local 291 hist[bucket]++; 293 if (bucket != 0) 294 h_.writeText(" <TD ALIGN=\"center\">" + bucket + "</TD>");
|
/dalvik/dx/src/com/android/dx/ssa/ |
Dominators.java | 213 info[vertex.get(wInfo.semidom).getIndex()].bucket.add(w); 224 wParentBucket = info[wInfo.parent.getIndex()].bucket; 279 public ArrayList<SsaBasicBlock> bucket; field in class:Dominators.DFSInfo 282 bucket = new ArrayList<SsaBasicBlock>();
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
Dominators.java | 213 info[vertex.get(wInfo.semidom).getIndex()].bucket.add(w); 224 wParentBucket = info[wInfo.parent.getIndex()].bucket; 279 public ArrayList<SsaBasicBlock> bucket; field in class:Dominators.DFSInfo 282 bucket = new ArrayList<SsaBasicBlock>();
|
/libcore/luni/src/main/native/ |
libcore_icu_AlphabeticIndex.cpp | 102 // Iterate to the nth bucket. 163 const AlphabeticIndex::Bucket* bucket = ii->getBucket(index); local 164 if (bucket == NULL) { 170 if (bucket->getLabelType() != U_ALPHAINDEX_NORMAL) { 174 const UnicodeString& label(bucket->getLabel());
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 320 LinkedList<RowInfo> bucket = mBuckets.get(day - mTodayJulianDay); local 323 bucket.addFirst(rowInfo); 325 bucket.add(rowInfo); 332 for (LinkedList<RowInfo> bucket : mBuckets) { 333 if (!bucket.isEmpty()) { 344 mRowInfos.addAll(bucket); 345 count += bucket.size();
|