Home
last modified time | relevance | path

Searched refs:bucket (Results 1 – 13 of 13) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
DHandleToArea.cpp23 Bucket bucket; in push_back() local
24 bucket.hash_value = HashFunction()( in push_back()
28 bucket.handle = pHandle; in push_back()
29 bucket.area = pArea; in push_back()
30 m_AreaMap.push_back(bucket); in push_back()
48 HandleToAreaMap::iterator bucket, bEnd = m_AreaMap.end(); in erase() local
49 for (bucket = m_AreaMap.begin(); bucket != bEnd; ++bucket) { in erase()
50 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) { in erase()
52 m_AreaMap.erase(bucket); in erase()
65 HandleToAreaMap::iterator bucket, bEnd = m_AreaMap.end(); in findFirst() local
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc141 bucket_type& bucket = m_Buckets[index]; in lookUpBucketFor() local
143 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor()
149 bucket.FullHashValue = full_hash; in lookUpBucketFor()
153 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor()
158 else if (bucket.FullHashValue == full_hash) { in lookUpBucketFor()
159 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor()
185 bucket_type &bucket = m_Buckets[index]; in findKey() local
187 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey()
190 if (bucket_type::getTombstone() == bucket.Entry) { in findKey()
193 else if (full_hash == bucket.FullHashValue) { in findKey()
[all …]
DHashTable.tcc69 bucket_type& bucket = BaseTy::m_Buckets[index]; in insert() local
70 entry_type* entry = bucket.Entry; in insert()
82 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert()
102 bucket_type& bucket = BaseTy::m_Buckets[index]; in erase() local
103 m_EntryFactory.destroy(bucket.Entry); in erase()
104 bucket.Entry = bucket_type::getTombstone(); in erase()
145 const_chain_iterator bucket, bEnd = end(pKey); in count() local
147 for (bucket = begin(pKey); bucket != bEnd; ++bucket) in count()
DHashIterator.h43 bucket_type &bucket = m_pHashTable->m_Buckets[m_Index]; in ChainIteratorBase() local
44 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase()
47 else if (m_HashValue == bucket.FullHashValue) { in ChainIteratorBase()
48 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase()
124 bucket_type &bucket = m_pHashTable->m_Buckets[m_Index]; in advance() local
126 if (bucket_type::getTombstone() == bucket.Entry || in advance()
127 bucket_type::getEmptyBucket() == bucket.Entry) { in advance()
130 else if (m_HashValue == bucket.FullHashValue) { in advance()
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py103 bucket = buckets.get(letter)
105 if bucket is None:
106 bucket = Bucket(letter)
107 buckets[letter] = bucket
109 return bucket
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java134 int bucket = findBatteryLevelBucket(mBatteryLevel);
144 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket);
160 && (bucket < oldBucket || oldPlugged)
162 && bucket < 0) {
166 if (bucket != oldBucket || oldPlugged) {
169 } else if (plugged || (bucket > oldBucket && bucket > 0)) {
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java110 int bucket = ((System.identityHashCode(kind) / 8) & 0x7FFFFFFF) % CACHE_SIZE; in emptyArray() local
111 Object cache = sCache[bucket]; in emptyArray()
115 sCache[bucket] = cache; in emptyArray()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java486 int bucket = ((data.screenStates[is] + data.memStates[im]) * STATE_COUNT) in computeProcessData() local
488 data.totalTime += proc.getDuration(bucket, now); in computeProcessData()
489 long samples = proc.getPssSampleCount(bucket); in computeProcessData()
491 long minPss = proc.getPssMinimum(bucket); in computeProcessData()
492 long avgPss = proc.getPssAverage(bucket); in computeProcessData()
493 long maxPss = proc.getPssMaximum(bucket); in computeProcessData()
494 long minUss = proc.getPssUssMinimum(bucket); in computeProcessData()
495 long avgUss = proc.getPssUssAverage(bucket); in computeProcessData()
496 long maxUss = proc.getPssUssMaximum(bucket); in computeProcessData()
544 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked() local
[all …]
/frameworks/base/docs/html/design/style/
Dmetrics-grids.jd7 falling into a particular size bucket and density bucket:</p>
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1153 uint32_t* bucket = (word_array + 2); in emitELFHashTab() local
1154 uint32_t* chain = (bucket + nbucket); in emitELFHashTab()
1157 memset((void*)bucket, 0, nbucket); in emitELFHashTab()
1166 chain[idx] = bucket[bucket_pos]; in emitELFHashTab()
1167 bucket[bucket_pos] = idx; in emitELFHashTab()
1192 uint32_t* bucket = NULL; in emitGNUHashTab() local
1221 bucket = (uint32_t*)(bitmask + config().targets().bitclass() / 8); in emitGNUHashTab()
1222 *bucket = 0; // no hash in the only bucket in emitGNUHashTab()
1237 bucket = (uint32_t*)(bitmask + maskbits / 8); in emitGNUHashTab()
1238 chain = (bucket + nbucket); in emitGNUHashTab()
[all …]
/frameworks/base/services/java/com/android/server/print/
DUserState.java1589 List<PrintJobInfo> bucket = mPrintJobsForRunningApp.valueAt(i); in getPrintJobs() local
1593 printJobs.addAll(bucket); in getPrintJobs()
1596 List<PrintJobInfo> bucket = mPrintJobsForRunningApp.get(appId); in getPrintJobs() local
1597 if (bucket != null) { in getPrintJobs()
1601 printJobs.addAll(bucket); in getPrintJobs()
1618 List<PrintJobInfo> bucket = mPrintJobsForRunningApp.valueAt(i); in dump() local
1619 final int printJobCount = bucket.size(); in dump()
1621 PrintJobInfo printJob = bucket.get(j); in dump()
/frameworks/base/docs/html/google/gcm/
Dadv.jd60 devices, GCM implements throttling of messages using a token bucket
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java11852 long bucket = DUMP_MEM_BUCKETS[i]/1024; in appendMemBucket() local
11853 out.append(bucket); in appendMemBucket()