/external/mesa3d/src/mesa/program/ |
hash_table.c | 115 const unsigned bucket = hash_value % ht->num_buckets; local 118 foreach(node, & ht->buckets[bucket]) { 141 const unsigned bucket = hash_value % ht->num_buckets; local 149 insert_at_head(& ht->buckets[bucket], & node->link); 156 const unsigned bucket = hash_value % ht->num_buckets; local 160 foreach(node, & ht->buckets[bucket]) { 174 insert_at_head(& ht->buckets[bucket], & hn->link); 196 int bucket; local 198 for (bucket = 0; bucket < ht->num_buckets; bucket++) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
ScanScheduleUtil.java | 55 if (bucket1.bucket != bucket2.bucket) return false; 94 * Check if the specified bucket was scanned. If not all information is available then this 97 * @param scheduledBucket Index of the bucket to check for, zero indexed, or -1 if any scan 98 * should be treated as scanning this bucket. 110 * Check if the specified bucket was scanned. If not all information is available then this 113 * @param scheduledBucket Index of the bucket to check for, zero indexed, or -1 if any scan 114 * should be treated as scanning this bucket. 144 * If a ScanData indicates that the bucket the settings were placed in was scanned then it 146 * the bucket was definitely not scanned then the scan data will not be reported [all...] |
/external/libdrm/freedreno/ |
freedreno_bo.c | 56 /* don't break the bucket if this bo was found in one */ 95 struct fd_bo_bucket *bucket = &dev->cache_bucket[i]; local 98 while (!LIST_IS_EMPTY(&bucket->list)) { 99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); 118 * way to the correct bucket size rather than looping.. 121 struct fd_bo_bucket *bucket = &dev->cache_bucket[i]; local 122 if (bucket->size >= size) { 123 return bucket; 139 struct fd_bo_bucket *bucket, uint32_t flags) 151 while (!LIST_IS_EMPTY(&bucket->list)) 177 struct fd_bo_bucket *bucket; local 304 struct fd_bo_bucket *bucket = get_bucket(dev, bo->size); local [all...] |
/external/libnl/lib/route/qdisc/ |
tbf.c | 14 * @defgroup qdisc_tbf Token Bucket Filter (TBF) 108 nl_dump(p, "rate-bucket-size %1.f%s " 125 "bucket-size %.1f%s cell-size %.1f%s" 190 int bucket) 195 limit += bucket; 262 static inline int calc_cell_log(int cell, int bucket) 272 * @arg bucket Size of bucket in bytes. 276 void rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *qdisc, int rate, int bucket, 291 tbf->qt_rate_bucket = bucket; [all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
cloud_storage.py | 35 # Uses ordered dict to make sure that bucket's key-value items are ordered from 189 def List(bucket): 190 query = 'gs://%s/' % bucket 195 def Exists(bucket, remote_path): 197 _RunCommand(['ls', 'gs://%s/%s' % (bucket, remote_path)]) 214 bucket_from: The cloud storage bucket where the file is currently located. 215 bucket_to: The cloud storage bucket it is being copied to. 228 def Delete(bucket, remote_path): 229 url = 'gs://%s/%s' % (bucket, remote_path) 234 def Get(bucket, remote_path, local_path) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
system_stub.py | 158 def CheckPermissionLevelForBucket(self, bucket): 159 if bucket == CloudStorageModuleStub.PUBLIC_BUCKET: 164 elif bucket == CloudStorageModuleStub.PARTNER_BUCKET: 167 elif bucket == CloudStorageModuleStub.INTERNAL_BUCKET: 170 elif bucket not in self.remote_paths: 198 def ChangeRemoteHashForTesting(self, bucket, remote_path, new_hash): 199 self.remote_paths[bucket][remote_path] = new_hash 201 def List(self, bucket): 202 if not bucket or not bucket in self.remote_paths [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
StringMap.h | 83 /// LookupBucketFor - Look up the bucket that the specified string should end 85 /// specified bucket will be non-null. Otherwise, it will be null. In either 86 /// case, the FullHashValue field of the bucket will be set to the hash value 90 /// FindKey - Look up the bucket that contains the specified key. If it exists 91 /// in the map, return the bucket number of the key. Otherwise return -1. 153 // Okay, the item doesn't already exist, and 'Bucket' is the bucket to fill 290 int Bucket = FindKey(Key); 291 if (Bucket == -1) return end(); 292 return iterator(TheTable+Bucket); [all...] |
/external/libchrome/base/metrics/ |
bucket_ranges.h | 14 // TODO(kaiwang): Currently we keep all negative values in 0~1 bucket. Consider 46 // A bucket is defined by a consecutive pair of entries in |ranges|, so there 47 // is one fewer bucket than there are ranges. For example, if |ranges| is 62 // A monotonically increasing list of values which determine which bucket to 64 // added to the corresponding bucket.
|
/prebuilts/go/darwin-x86/src/runtime/ |
hashmap.go | 10 // into an array of buckets. Each bucket contains up to 12 // used to select a bucket. Each bucket contains a few 14 // within a single bucket. 16 // If more than 8 keys hash to a bucket, we chain on 21 // copied from the old bucket array to the new bucket array. 24 // return the keys in walk order (bucket #, then overflow 25 // chain order, then bucket index). To maintain iteration 26 // semantics, we never move keys within their bucket (i [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
hashmap.go | 10 // into an array of buckets. Each bucket contains up to 12 // used to select a bucket. Each bucket contains a few 14 // within a single bucket. 16 // If more than 8 keys hash to a bucket, we chain on 21 // copied from the old bucket array to the new bucket array. 24 // return the keys in walk order (bucket #, then overflow 25 // chain order, then bucket index). To maintain iteration 26 // semantics, we never move keys within their bucket (i [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
BackgroundScanSchedulerTest.java | 308 * Ensure that a channel request is placed in the bucket closest to the original 309 * period and not the bucket it is initially placed in. Here the 5 min period is 310 * initially placed in the 240s bucket, but that bucket is eliminated because it 311 * would be a 7th bucket. This test ensures that the request is placed in the 480s 312 * bucket and not the 120s bucket. 454 * common bucket with the lower time period setting. 475 assertEquals("scheduled bucket", 0, mScheduler.getScheduledBucket(requests.get(0))); 476 assertEquals("scheduled bucket", 0, mScheduler.getScheduledBucket(requests.get(1))) 839 BucketSettings bucket = schedule.buckets[b]; local [all...] |
/frameworks/base/core/java/android/app/usage/ |
NetworkStatsManager.java | 23 import android.app.usage.NetworkStats.Bucket; 43 * discrete bins of time called 'Buckets'. See {@link NetworkStats.Bucket} for details. 56 * bucket for a particular key, state, metered and roaming combination. In case of the user-wide 57 * and device-wide summaries a single bucket containing the totalised network usage is returned. 64 * Therefore there can be multiple buckets for a particular key but all Bucket's state is going to 65 * be {@link NetworkStats.Bucket#STATE_ALL}, all Bucket's metered is going to be 66 * {@link NetworkStats.Bucket#METERED_ALL}, and all Bucket's roaming is going to be 67 * {@link NetworkStats.Bucket#ROAMING_ALL} 138 Bucket bucket = null; local [all...] |
NetworkStats.java | 130 public static class Bucket { 202 * <p>Any cellular usage in this bucket was incurred while the device was connected to a 213 * <p>Any cellular usage in this bucket as incurred while the device was roaming on another 277 public Bucket() { 281 * Key of the bucket. Usually an app uid or one of the following special values:<p /> 287 * @return Bucket key. 294 * Tag of the bucket.<p /> 295 * @return Bucket tag. 342 * Start timestamp of the bucket's time interval. Defined in terms of "Unix time", see 351 * End timestamp of the bucket's time interval. Defined in terms of "Unix time", se 570 Bucket bucket = new Bucket(); local [all...] |
/external/v8/src/heap/ |
slot-set.h | 26 // Each bucket is a bitmap with a bit corresponding to a single slot offset. 30 FREE_EMPTY_BUCKETS, // An empty bucket will be deallocated immediately. 31 PREFREE_EMPTY_BUCKETS, // An empty bucket will be unlinked from the slot 34 KEEP_EMPTY_BUCKETS // An empty bucket will be kept. 39 bucket[i].SetValue(nullptr); 54 // allocation of the bucket is not thread-safe. 58 base::AtomicValue<uint32_t>* current_bucket = bucket[bucket_index].Value(); 61 bucket[bucket_index].SetValue(current_bucket); 72 base::AtomicValue<uint32_t>* current_bucket = bucket[bucket_index].Value(); 103 base::AtomicValue<uint32_t>* bucket_ptr = bucket[current_bucket].Value() 291 base::AtomicValue<base::AtomicValue<uint32_t>*> bucket[kBuckets]; member in class:v8::internal::SlotSet [all...] |
/development/tools/logblame/ |
analyze_logs.py | 14 class Bucket(object): 15 """Bucket of stats for a particular key managed by the Stats object.""" 31 bucket = self._data.get(key) 32 if not bucket: 33 bucket = Bucket() 34 self._data[key] = bucket 35 bucket.count += 1 36 bucket.memory += logLine.memory() 37 bucket.lines.append(logLine [all...] |
/external/jemalloc/include/jemalloc/internal/ |
ckh.h | 17 * There are 2^LG_CKH_BUCKET_CELLS cells in each hash table bucket. Try to fit 18 * one bucket per L1 cache line. 50 * 2^LG_CKH_BUCKET_CELLS cells per bucket.
|
/external/llvm/test/tools/dsymutil/Inputs/scattered-reloc/ |
1.s | 115 .long 1 @ Header Bucket Count 122 .long 0 @ Bucket 0 123 .long 193487034 @ Hash in Bucket 0 124 .long LNames0-Lnames_begin @ Offset in Bucket 0 135 .long 1 @ Header Bucket Count 142 .long -1 @ Bucket 0 148 .long 1 @ Header Bucket Count 155 .long -1 @ Bucket 0 161 .long 1 @ Header Bucket Count 172 .long 0 @ Bucket [all...] |
/external/llvm/test/tools/llvm-readobj/ |
elf-hash-histogram.test | 8 PPC64GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets) 15 X86GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets) 22 SYSV: Histogram for bucket list length (total of 3 buckets)
|
/external/v8/ |
DEPS | 97 "--bucket", "chromium-clang-format", 108 "--bucket", "chromium-clang-format", 119 "--bucket", "chromium-clang-format", 147 '--bucket', 'chromium-luci', 158 '--bucket', 'chromium-luci', 169 '--bucket', 'chromium-luci', 181 "--bucket", "chromium-gn", 192 "--bucket", "chromium-gn", 203 "--bucket", "chromium-gn", 214 "--bucket", "v8-wasm-fuzzer" [all...] |
/development/tools/axl/ |
chewperf.py | 64 bucket = x[0] / 1000 66 if bucket in buckets: 67 buckets[bucket] += bytes 69 buckets[bucket] = bytes
|
/external/autotest/frontend/client/src/autotest/moblab/wizard/ |
CloudStorageCard.java | 80 // Row for image storage bucket url. 82 layoutTable.setWidget(row, 0, new Label("Image Storage Bucket URL")); 123 // Image bucket and result bucket can not be empty. 126 new OperationStatus(false, "The image bucket URL fields could not be empty")); 130 // Image bucket and result bucket must end in /. 134 new OperationStatus(false, "The image bucket URL must end in /")); 138 // Sends validation request to server to validate the boto key and bucket urls.
|
/external/kmod/shared/ |
hash.h | 9 unsigned int bucket; member in struct:hash_iter
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
bucket.pass.cpp | 16 // size_type bucket(const key_type& __k) const; 46 LIBCPP_ASSERT(c.bucket(i) == i % bc); 66 LIBCPP_ASSERT(c.bucket(i) == i % bc); 73 C::size_type i = c.bucket(3);
|
/external/libcxx/test/std/containers/unord/unord.set/ |
bucket.pass.cpp | 16 // size_type bucket(const key_type& __k) const; 46 LIBCPP_ASSERT(c.bucket(i) == i % bc); 65 LIBCPP_ASSERT(c.bucket(i) == i % bc); 72 C::size_type i = c.bucket(3);
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_hash.c | 193 struct cso_node **bucket = hash->buckets; local 196 if (*bucket != e) 197 return *bucket; 198 ++bucket; 264 struct cso_node **bucket = (struct cso_node **)(hash->data.d->buckets); local 267 struct cso_node *cur = *bucket++; 309 struct cso_node **bucket; local 321 bucket = a.d->buckets + start; 324 if (*bucket != a.e) 325 return *bucket; 340 struct cso_node **bucket; local [all...] |