Searched defs:bucket (Results 1 - 25 of 114) sorted by relevance

12345

/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_1_autogen.h1312 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
1313 ASSERT_TRUE(bucket != NULL);
1314 EXPECT_EQ(strlen(kInfo) + 1, bucket->size());
1316 memcmp(bucket->GetData(0, bucket->size()), kInfo, bucket->size()));
H A Dgles2_cmd_decoder_unittest_programs.cc62 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
63 EXPECT_GT(bucket->size(), 0u);
68 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
69 EXPECT_TRUE(bucket == NULL);
74 bucket = decoder_->GetBucket(kBucketId);
75 ASSERT_TRUE(bucket != NULL);
76 EXPECT_EQ(sizeof(ProgramInfoHeader), bucket->size());
78 bucket->GetDataAs<ProgramInfoHeader*>(0, sizeof(ProgramInfoHeader));
449 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
450 ASSERT_TRUE(bucket !
551 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
655 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kBucketId); local
707 CommonDecoder::Bucket* bucket = decoder_->GetBucket(kOutBucketId); local
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DCollectionUtils.java28 public static Map bucket(Collection c, Transformer t) { method in class:CollectionUtils
33 List bucket = (List)buckets.get(key);
34 if (bucket == null) {
35 buckets.put(key, bucket = new LinkedList());
37 bucket.add(value);
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dcore_app_launcher_handler.cc31 extension_misc::AppLaunchBucket bucket,
33 DCHECK_LT(bucket, extension_misc::APP_LAUNCH_BUCKET_BOUNDARY);
36 bucket,
40 bucket,
48 extension_misc::AppLaunchBucket bucket = local
51 bucket = extension_misc::APP_LAUNCH_APP_LIST_SEARCH_WEBSTORE;
53 bucket = extension_misc::APP_LAUNCH_APP_LIST_SEARCH_CHROME;
54 RecordAppLaunchType(bucket, extension->GetType());
60 extension_misc::AppLaunchBucket bucket = local
63 bucket
30 RecordAppLaunchType( extension_misc::AppLaunchBucket bucket, extensions::Manifest::Type app_type) argument
89 extension_misc::AppLaunchBucket bucket = local
[all...]
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_browsertest_perf.cc13 const std::string& bucket) {
14 // A ssrc stats key will be on the form stats.<bucket>-<key>.values.
19 return base::StringPrintf("stats.%s-%s.values", bucket.c_str(),
12 Statistic(const std::string& statistic, const std::string& bucket) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dquery_tracker_unittest.cc107 return query->info_.bucket;
212 QuerySyncManager::Bucket* bucket = GetBucket(query); local
213 EXPECT_EQ(1u, bucket->used_query_count);
223 EXPECT_EQ(1u, bucket->used_query_count);
232 EXPECT_EQ(0u, bucket->used_query_count);
H A Dquery_tracker.cc44 Bucket* bucket = new Bucket(syncs); local
45 buckets_.push_back(bucket);
47 free_queries_.push_back(QueryInfo(bucket, shm_id, shm_offset, syncs));
53 ++(info->bucket->used_query_count);
60 DCHECK_GT(info.bucket->used_query_count, 0u);
61 --(info.bucket->used_query_count);
68 if (free_queries_.front().bucket->used_query_count)
76 Bucket* bucket = buckets_.front(); local
77 if (bucket->used_query_count) {
78 new_buckets.push_back(bucket);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_screen_cache.h79 /** Head for the bucket lists. */
107 struct list_head bucket[SVGA_HOST_SURFACE_CACHE_BUCKETS]; member in struct:svga_host_surface_cache
H A Dsvga_screen_cache.c77 * Compute the bucket for this key.
100 unsigned bucket; local
105 bucket = svga_screen_cache_bucket(key);
109 curr = cache->bucket[bucket].next;
111 while (curr != &cache->bucket[bucket]) {
151 debug_printf("%s: cache %s after %u tries (bucket %d)\n", __FUNCTION__,
152 handle ? "hit" : "miss", tries, bucket);
304 unsigned bucket; local
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/
H A Dpage_set.py26 serving_dirs=None, bucket=None):
52 if self._IsValidPrivacyBucket(bucket):
53 self._bucket = bucket
55 raise ValueError("Pageset privacy bucket %s is invalid" % bucket)
104 def bucket(self): member in class:PageSet
/external/fio/
H A Dfilehash.c49 struct flist_head *bucket = &file_hash[hash(name)]; local
52 flist_for_each(n, bucket) {
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen_cache.h79 /** Head for the bucket lists. */
107 struct list_head bucket[SVGA_HOST_SURFACE_CACHE_BUCKETS]; member in struct:svga_host_surface_cache
H A Dsvga_screen_cache.c77 * Compute the bucket for this key.
100 unsigned bucket; local
105 bucket = svga_screen_cache_bucket(key);
109 curr = cache->bucket[bucket].next;
111 while (curr != &cache->bucket[bucket]) {
151 debug_printf("%s: cache %s after %u tries (bucket %d)\n", __FUNCTION__,
152 handle ? "hit" : "miss", tries, bucket);
304 unsigned bucket; local
[all...]
/external/oprofile/daemon/liblegacy/
H A Dopd_image.c227 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/blktrace/
H A Dstats.h116 static inline void histlog2_account(__u32 *bucket, __u32 val, argument
120 bucket[index]++;
/external/ceres-solver/internal/ceres/
H A Dreorder_program.cc189 // extra bucket at the end to catch all non-eliminated F blocks.
202 // each histogram bucket (where each bucket is for the residuals for that
218 // Fill in each bucket with the residual blocks for its corresponding E block.
219 // Each bucket is individually filled from the back of the bucket to the front
220 // of the bucket. The filling order among the buckets is dictated by the
222 // from each offset as a residual block is placed in the bucket. When the
228 int bucket = min_position_per_residual[i]; local
231 offsets[bucket]
[all...]
/external/chromium_org/extensions/browser/
H A Dquota_service.cc69 // Apply heuristic to each item (bucket).
128 if ((*i)->expiration().is_null()) // A brand new bucket.
149 bool QuotaService::TimedLimit::Apply(Bucket* bucket, argument
151 if (event_time > bucket->expiration())
152 bucket->Reset(config(), event_time);
154 return bucket->DeductToken();
157 bool QuotaService::SustainedLimit::Apply(Bucket* bucket, argument
159 if (event_time > bucket->expiration()) {
162 // state in the bucket expired recently (it has been long enough since the
163 // event that we don't care about the last event), but the bucket stil
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dprefix.cc137 int bucket = Log2Floor(distance_code) - 1; local
140 int prefix = (distance_code >> bucket) & 1;
141 int offset = (2 + prefix) << bucket;
142 *nbits = bucket - postfix_bits;
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dhash_table.c115 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 < h
[all...]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DDominators.java213 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/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfAccelTable.cpp53 // Then compute the bucket size, minimum of 1 bucket.
85 // Figure out how many buckets we need, then compute the bucket
92 // Compute bucket contents and final ordering.
95 uint32_t bucket = Data[i]->HashValue % Header.bucket_count; local
96 Buckets[bucket].push_back(Data[i]);
143 // bucket.
156 // element in each bucket. This is done via a symbol subtraction from the
175 // the bucket. For the string case emit the dies and the various offsets.
176 // Terminate each HashData bucket wit
[all...]
/external/mesa3d/src/mesa/program/
H A Dhash_table.c115 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 < h
[all...]
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
H A Dmetrics_apitest.cc53 // Represents a bucket in a sparse histogram.
128 const Bucket& bucket = sparse_histogram.buckets[j]; local
129 EXPECT_EQ(bucket.count, samples.GetCount(bucket.histogram_value));
/external/chromium_org/chrome/browser/profile_resetter/
H A Dresettable_settings_snapshot.cc32 // Feedback bucket labels.
226 std::string bucket; local
229 bucket = kProfileResetWebUIBucket;
232 bucket = kProfileResetPromptBucket;
235 feedback_data->set_category_tag(bucket);
/external/chromium_org/components/variations/
H A Dentropy_provider_unittest.cc153 const size_t bucket = static_cast<size_t>(kBucketCount * entropy_value); local
154 ASSERT_LT(bucket, kBucketCount);
155 distribution[bucket] += 1;

Completed in 1047 milliseconds

12345