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

1 2

  /external/chromium_org/third_party/mesa/src/src/mesa/program/
hash_table.c 44 unsigned num_buckets; member in struct:hash_table
57 hash_table_ctor(unsigned num_buckets, hash_func_t hash,
64 if (num_buckets < 16) {
65 num_buckets = 16;
68 ht = malloc(sizeof(*ht) + ((num_buckets - 1)
73 ht->num_buckets = num_buckets;
75 for (i = 0; i < num_buckets; i++) {
100 for (i = 0; i < ht->num_buckets; i++) {
115 const unsigned bucket = hash_value % ht->num_buckets;
    [all...]
hash_table.h 59 * \param num_buckets Number of buckets (bins) in the hash table.
63 extern struct hash_table *hash_table_ctor(unsigned num_buckets,
  /external/mesa3d/src/mesa/program/
hash_table.c 44 unsigned num_buckets; member in struct:hash_table
57 hash_table_ctor(unsigned num_buckets, hash_func_t hash,
64 if (num_buckets < 16) {
65 num_buckets = 16;
68 ht = malloc(sizeof(*ht) + ((num_buckets - 1)
73 ht->num_buckets = num_buckets;
75 for (i = 0; i < num_buckets; i++) {
100 for (i = 0; i < ht->num_buckets; i++) {
115 const unsigned bucket = hash_value % ht->num_buckets;
    [all...]
hash_table.h 59 * \param num_buckets Number of buckets (bins) in the hash table.
63 extern struct hash_table *hash_table_ctor(unsigned num_buckets,
  /external/chromium_org/third_party/boringssl/src/crypto/lhash/
lhash.c 80 ret->num_buckets = kMinNumBuckets;
81 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets);
86 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets);
108 for (i = 0; i < lh->num_buckets; i++) {
137 ret = &lh->buckets[hash % lh->num_buckets];
178 for (i = 0; i < lh->num_buckets; i++) {
189 lh->num_buckets = new_num_buckets;
202 assert(lh->num_buckets >= kMinNumBuckets);
203 avg_chain_length = lh->num_items / lh->num_buckets;
206 const size_t new_num_buckets = lh->num_buckets * 2
    [all...]
  /external/qemu/android/utils/
refset.c 88 unsigned nn, count = s->num_buckets;
102 s->num_buckets = count;
125 s->num_buckets += 1;
128 if (s->num_buckets > s->max_buckets*0.85)
148 s->num_buckets -= 1;
149 if (s->num_buckets < s->max_buckets*0.25)
154 s->num_buckets -= 1;
172 while (s->num_buckets < newSize*0.25)
  /external/chromium_org/content/browser/download/
rate_estimator.h 25 size_t num_buckets,
rate_estimator.cc 30 size_t num_buckets,
32 : history_(num_buckets),
  /external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
AppleObjCRuntimeV1.h 158 uint32_t num_buckets,
162 m_num_buckets != num_buckets ||
168 uint32_t num_buckets,
172 m_num_buckets = num_buckets;
AppleObjCRuntimeV1.cpp 399 const uint32_t num_buckets = data.GetU32(&offset); local
401 if (m_hash_signature.NeedsUpdate (count, num_buckets, buckets_ptr))
403 m_hash_signature.UpdateSignature (count, num_buckets, buckets_ptr);
405 const uint32_t data_size = num_buckets * 2 * sizeof(uint32_t);
412 for (uint32_t bucket_idx = 0; bucket_idx < num_buckets; ++bucket_idx)
  /external/chromium_org/v8/src/
counters.cc 58 #define HR(name, caption, min, max, num_buckets) \
59 name##_ = Histogram(#caption, min, max, num_buckets, isolate);
150 #define HR(name, caption, min, max, num_buckets) name##_.Reset();
counters.h 175 int num_buckets,
180 num_buckets_(num_buckets),
230 int num_buckets,
232 : Histogram(name, min, max, num_buckets, isolate) {}
561 #define HR(name, caption, min, max, num_buckets) \
653 #define HR(name, caption, min, max, num_buckets) Histogram name##_;
  /external/chromium_org/third_party/boringssl/src/include/openssl/
lhash.h 132 /* buckets is an array of |num_buckets| pointers. Each points to the head of
134 * |num_buckets|. */
136 /* num_buckets contains the length of |buckets|. This value is always >=
138 size_t num_buckets; member in struct:lhash_st
  /art/runtime/base/
hash_set.h 108 const size_t num_buckets = hash_set_->NumBuckets(); local
109 DCHECK_LT(index, num_buckets);
112 } while (index < num_buckets && hash_set_->IsFreeSlot(index));
339 void AllocateStorage(size_t num_buckets) {
340 num_buckets_ = num_buckets;
  /external/chromium_org/net/disk_cache/blockfile/
stats.cc 135 int num_buckets = 75; local
136 base::BucketRanges ranges(num_buckets + 1);
140 "DiskCache.SizeStats2", min, max, num_buckets,
  /external/chromium_org/third_party/libvpx/source/libvpx/
rate_hist.c 121 int max_buckets, int *num_buckets) {
123 int buckets = *num_buckets;
184 *num_buckets = buckets;
  /external/libvpx/libvpx/
rate_hist.c 121 int max_buckets, int *num_buckets) {
123 int buckets = *num_buckets;
184 *num_buckets = buckets;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
rate_hist.c 121 int max_buckets, int *num_buckets) {
123 int buckets = *num_buckets;
184 *num_buckets = buckets;
  /hardware/libhardware_legacy/include/hardware_legacy/
gscan.h 118 int num_buckets; member in struct:__anon20552
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiScanningServiceImpl.java 950 int num_buckets = 0; local
    [all...]
WifiNative.java 1249 int num_buckets; field in class:WifiNative.ScanSettings
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
gscan.cpp 429 result = request.put_u32(GSCAN_ATTRIBUTE_NUM_BUCKETS, mParams->num_buckets);
434 for (int i = 0; i < mParams->num_buckets; i++) {
498 for (int i = 0; i < mParams->num_buckets; i++) {
528 for (int i = 0; i < mParams->num_buckets; i++) {
    [all...]
  /frameworks/opt/net/wifi/service/jni/
com_android_server_wifi_WifiNative.cpp 361 params.num_buckets = getIntField(env, settings, "num_buckets");
363 ALOGD("Initialized num_buckets to %d", params.num_buckets);
365 for (int i = 0; i < params.num_buckets; i++) {
    [all...]
  /frameworks/opt/net/wifi/service/tools/halutil/
halutil.cpp 331 params.num_buckets = 1;
350 params.num_buckets = 3;
442 params.num_buckets = 1;
    [all...]
  /hardware/qcom/wlan/qcwcn/wifi_hal/
gscan.cpp 281 num_scan_buckets = (unsigned int)params.num_buckets > MAX_BUCKETS ?
282 MAX_BUCKETS : params.num_buckets;
    [all...]

Completed in 1151 milliseconds

1 2