HomeSort by relevance Sort by last modified time
    Searched refs:buckets (Results 1 - 25 of 49) sorted by null

1 2

  /external/qemu/android/utils/
refset.h 22 AVECTOR_DECL(void*,buckets);
29 AVECTOR_INIT(s,buckets);
35 AVECTOR_DONE(s,buckets);
41 AVECTOR_CLEAR(s,buckets);
48 return (int) AVECTOR_SIZE(s,buckets);
65 void* __refset_item = (_set)->buckets[__refset_nn]; \
refset.c 36 void** pnode = &s->buckets[index];
55 void** pnode = &s->buckets[index];
90 AVECTOR_INIT_ALLOC(&newSet,buckets, newSize);
93 void* item = s->buckets[nn];
100 AVECTOR_DONE(s,buckets);
101 s->buckets = newSet.buckets;
118 AVECTOR_INIT_ALLOC(s,buckets,4);
165 if (s->buckets[nn] == AREFSET_DELETED) {
166 s->buckets[nn] = NULL
    [all...]
  /external/emma/core/java12/com/vladium/util/
IntObjectMap.java 48 * @param initialCapacity initial number of hash buckets in the table [may not be negative, 0 is equivalent to 1].
87 final Entry [] buckets = m_buckets; local
88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
112 final Entry [] buckets = m_buckets; local
113 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
116 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
164 Entry [] buckets = m_buckets; local
165 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
189 buckets = m_buckets
248 final Entry [] buckets = m_buckets; local
    [all...]
IntIntMap.java 48 * @param initialCapacity initial number of hash buckets in the table [may not be negative, 0 is equivalent to 1].
87 final Entry [] buckets = m_buckets; local
88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
111 final Entry [] buckets = m_buckets; local
112 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
115 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
130 final Entry [] buckets = m_buckets; local
131 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
134 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next
178 Entry [] buckets = m_buckets; local
221 Entry [] buckets = m_buckets; local
290 final Entry [] buckets = m_buckets; local
    [all...]
IntSet.java 46 * @param initialCapacity initial number of hash buckets in the table [may not be negative, 0 is equivalent to 1].
85 final Entry [] buckets = m_buckets; local
86 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
89 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
145 Entry [] buckets = m_buckets; local
146 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
161 buckets = m_buckets;
162 bucketIndex = (key & 0x7FFFFFFF) % buckets.length;
163 final Entry bucketListHead = buckets [bucketIndex];
165 buckets [bucketIndex] = newEntry
220 final Entry [] buckets = m_buckets; local
    [all...]
ObjectIntMap.java 50 * @param initialCapacity initial number of hash buckets in the table [may not be negative, 0 is equivalent to 1].
91 final Entry [] buckets = m_buckets; local
93 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length;
96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
119 final Entry [] buckets = m_buckets; local
121 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length;
124 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
171 Entry [] buckets = m_buckets; local
172 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
193 buckets = m_buckets
217 Entry [] buckets = m_buckets; local
286 final Entry [] buckets = m_buckets; local
    [all...]
SoftValueMap.java 61 * @param initialCapacity initial number of hash buckets in the table
163 final SoftEntry [] buckets = m_buckets; local
164 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length;
169 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
234 SoftEntry [] buckets = m_buckets; local
235 int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length;
238 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next)
281 buckets = m_buckets;
282 bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length;
283 final SoftEntry bucketListHead = buckets [bucketIndex]
301 final SoftEntry [] buckets = m_buckets; local
345 final SoftEntry [] buckets = m_buckets; local
476 final SoftEntry [] buckets = m_buckets; local
    [all...]
  /development/tools/axl/
chewperf.py 62 buckets = {}
66 if bucket in buckets:
67 buckets[bucket] += bytes
69 buckets[bucket] = bytes
71 top = max(buckets.keys())
73 if x not in buckets.keys():
74 buckets[x] = 0
79 for x in range(len(buckets.items())):
80 window[x % len(window)] = buckets.items()[x][1]
81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window)
    [all...]
  /frameworks/ex/common/tools/
make-iana-tld-pattern.py 101 def getBucket(buckets, line):
103 bucket = buckets.get(letter)
107 buckets[letter] = bucket
111 def makePattern(prefix, suffix, buckets, isWebUrl=False):
114 output += getBucket(buckets, 'a').dump(isFirst=True, isWebUrl=isWebUrl)
117 output += getBucket(buckets, chr(letter)).dump(isWebUrl=isWebUrl)
119 output += getBucket(buckets, 'z').dump(isLast=True, isWebUrl=isWebUrl)
135 buckets = {} variable
141 getBucket(buckets, domain[0]).add(domain.strip())
147 getBucket(buckets, 'xn--').add(result[2:-1]
    [all...]
  /external/mesa3d/src/mesa/program/
hash_table.c 45 struct node buckets[1]; member in struct:hash_table
69 * sizeof(ht->buckets[0])));
76 make_empty_list(& ht->buckets[i]);
101 foreach_s(node, temp, & ht->buckets[i]) {
106 assert(is_empty_list(& ht->buckets[i]));
118 foreach(node, & ht->buckets[bucket]) {
142 insert_at_head(& ht->buckets[bucket], & node->link);
152 foreach(node, & ht->buckets[bucket]) {
  /system/core/libcutils/
hashmap.c 35 Entry** buckets; member in struct:Hashmap
61 map->buckets = calloc(map->bucketCount, sizeof(Entry*));
62 if (map->buckets == NULL) {
115 Entry* entry = map->buckets[i];
126 free(map->buckets);
127 map->buckets = newBuckets;
143 Entry* entry = map->buckets[i];
150 free(map->buckets);
193 Entry** p = &(map->buckets[index]);
225 Entry* entry = map->buckets[index]
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_metrics_module.cc 75 size_t buckets,
83 buckets,
89 buckets,
109 int buckets; local
114 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("buckets", &buckets));
118 return RecordValue(name, histogram_type, min, max, buckets, sample);
extension_metrics_module.h 36 int min, int max, size_t buckets, int sample);
extensions_quota_service.cc 95 BucketList buckets; local
96 bucket_mapper_->GetBucketsForArgs(args, &buckets);
97 for (BucketList::iterator i = buckets.begin(); i != buckets.end(); ++i) {
  /bionic/libc/stdio/
flockfile.c 68 FileLock* buckets[ FILE_LOCK_BUCKETS ]; member in struct:__anon588
80 memset(_lockTable->buckets, 0, sizeof(_lockTable->buckets));
105 pnode = &t->buckets[hash % FILE_LOCK_BUCKETS];
  /external/skia/samplecode/
SampleTypeface.cpp 27 int buckets[16]; local
28 sk_bzero(buckets, sizeof(buckets));
34 buckets[da] += 1;
44 // SkDebugf("[%d] = %d\n", i, buckets[i]);
  /external/webkit/Source/WebKit/android/WebCoreSupport/
V8Counters.h 47 size_t buckets);
  /development/tools/idegen/src/
Eclipse.java 61 List<Bucket> buckets = new ArrayList<Bucket>(patterns.size()); local
63 buckets.add(new Bucket(pattern));
66 // Put source roots in respective buckets.
71 for (Bucket bucket : buckets) {
80 for (Bucket bucket : buckets) {
  /external/v8/src/
counters.h 79 // sample values. buckets is the maximum number of buckets
84 size_t buckets) {
86 return create_histogram_function_(name, min, max, buckets);
  /external/chromium/net/base/
ssl_false_start_blacklist_process.cc 202 std::vector<std::string> buckets[kBuckets]; local
209 buckets[h & (kBuckets - 1)].push_back(*i);
215 if (buckets[i].size() > max_bucket_size)
216 max_bucket_size = buckets[i].size();
220 j = buckets[i].begin(); j != buckets[i].end(); j++) {
  /bootable/recovery/applypatch/
bsdiff.c 123 off_t buckets[256]; local
126 for(i=0;i<256;i++) buckets[i]=0;
127 for(i=0;i<oldsize;i++) buckets[old[i]]++;
128 for(i=1;i<256;i++) buckets[i]+=buckets[i-1];
129 for(i=255;i>0;i--) buckets[i]=buckets[i-1];
130 buckets[0]=0;
132 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i;
134 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]
    [all...]
  /external/bsdiff/
bsdiff.c 106 off_t buckets[256]; local
109 for(i=0;i<256;i++) buckets[i]=0;
110 for(i=0;i<oldsize;i++) buckets[old[i]]++;
111 for(i=1;i<256;i++) buckets[i]+=buckets[i-1];
112 for(i=255;i>0;i--) buckets[i]=buckets[i-1];
113 buckets[0]=0;
115 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i;
117 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]
    [all...]
  /external/freetype/src/base/
ftdbgmem.c 116 FT_MemNode* buckets; member in struct:FT_MemTableRec_
281 node = table->buckets[i];
295 if ( table->buckets )
296 ft_mem_table_free( table, table->buckets );
298 table->buckets = new_buckets;
327 table->buckets = (FT_MemNode *)
330 if ( table->buckets )
331 FT_ARRAY_ZERO( table->buckets, table->size );
360 FT_MemNode *pnode = table->buckets + i, next, node = *pnode;
388 table->buckets[i] = 0
    [all...]
  /external/clang/include/clang/Basic/
OnDiskHashTable.h 141 Bucket* Buckets;
156 for (Item* E = Buckets[i].head; E ; ) {
163 free(Buckets);
165 Buckets = newBuckets;
181 insert(Buckets, NumBuckets, new (BA.Allocate<Item>()) Item(key, data,
195 Bucket& B = Buckets[i];
220 for (unsigned i = 0; i < NumBuckets; ++i) Emit32(out, Buckets[i].off);
230 Buckets = (Bucket*) std::calloc(NumBuckets, sizeof(Bucket));
234 std::free(Buckets);
242 const unsigned char* const Buckets;
    [all...]
  /external/webkit/LayoutTests/storage/domstorage/script-tests/
quota.js 22 debug("Putting 'data' into 39 " + storageString + " buckets.");
68 debug("Putting 'data' into 39 " + storageString + " buckets.");

Completed in 415 milliseconds

1 2