/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,
|
/frameworks/base/include/androidfw/ |
ByteBucketArray.h | 38 for (size_t i = 0; i < NUM_BUCKETS; i++) { 47 return NUM_BUCKETS * BUCKET_SIZE; 89 enum { NUM_BUCKETS = 16, BUCKET_SIZE = 16 }; 91 T* mBuckets[NUM_BUCKETS];
|
/external/boringssl/src/crypto/lhash/ |
lhash.c | 82 ret->num_buckets = kMinNumBuckets; 83 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); 88 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); 110 for (i = 0; i < lh->num_buckets; i++) { 139 ret = &lh->buckets[hash % lh->num_buckets]; 180 for (i = 0; i < lh->num_buckets; i++) { 191 lh->num_buckets = new_num_buckets; 204 assert(lh->num_buckets >= kMinNumBuckets); 205 avg_chain_length = lh->num_items / lh->num_buckets; 208 const size_t new_num_buckets = lh->num_buckets * 2 [all...] |
/system/update_engine/ |
metrics.cc | 127 50); // num_buckets 172 50); // num_buckets 188 50); // num_buckets 228 50); // num_buckets 244 50); // num_buckets 253 50); // num_buckets 262 50); // num_buckets 273 50); // num_buckets 283 50); // num_buckets 332 50); // num_buckets [all...] |
/frameworks/base/libs/hwui/ |
JankTracker.h | 40 NUM_BUCKETS, 46 std::array<uint32_t, NUM_BUCKETS> jankTypeCounts; 81 std::array<int64_t, NUM_BUCKETS> mThresholds;
|
/system/core/metricsd/ |
timer.cc | 102 int max, int num_buckets) 106 num_buckets_(num_buckets) {}
|
/system/core/metricsd/include/metrics/ |
timer_mock.h | 49 MOCK_CONST_METHOD0(num_buckets, int());
|
timer.h | 134 // |min|, |max| and |num_buckets| attributes for the histogram. 136 int num_buckets); 152 int num_buckets() const { return num_buckets_; } function in class:chromeos_metrics::TimerReporter
|
/frameworks/native/libs/binder/tests/ |
binderThroughputTest.cpp | 103 static const uint32_t num_buckets = 128; variable 105 static const uint64_t time_per_bucket = max_time_bucket / num_buckets; 111 uint32_t m_buckets[num_buckets] = {0}; 124 for (int i = 0; i < num_buckets; i++) { 140 for (int i = 0; i < num_buckets; i++) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ScanTestUtil.java | 92 mSettings.num_buckets = 0; 126 bucket.bucket = mSettings.num_buckets; 145 bucket.bucket = mSettings.num_buckets; 155 mSettings.buckets = Arrays.copyOf(mSettings.buckets, mSettings.num_buckets + 1); 156 mSettings.buckets[mSettings.num_buckets] = bucket; 157 mSettings.num_buckets = mSettings.num_buckets + 1; 314 assertEquals("number of buckets", expected.num_buckets, actual.num_buckets);
|
/external/boringssl/src/include/openssl/ |
lhash.h | 130 /* buckets is an array of |num_buckets| pointers. Each points to the head of 132 * |num_buckets|. */ 134 /* num_buckets contains the length of |buckets|. This value is always >= 136 size_t num_buckets; member in struct:lhash_st
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
ScanScheduleUtil.java | 83 if (schedule1.num_buckets != schedule2.num_buckets) return false; 84 for (int b = 0; b < schedule1.num_buckets; b++) {
|
SupplicantWifiScannerImpl.java | 228 if (settings.num_buckets < 0 || settings.num_buckets > MAX_SCAN_BUCKETS) { 241 for (int i = 0; i < settings.num_buckets; ++i) { 251 Log.d(TAG, "Starting scan num_buckets=" + settings.num_buckets + ", base_period=" 363 for (int bucket_id = 0; bucket_id < mBackgroundScanSettings.num_buckets; 413 for (int i = 0; i < mPendingSingleScanSettings.num_buckets; ++i) { [all...] |
/art/runtime/base/ |
hash_set.h | 107 const size_t num_buckets = hash_set->NumBuckets(); local 108 DCHECK_LT(index, num_buckets); 111 } while (index < num_buckets && hash_set->IsFreeSlot(index)); 433 size_t num_buckets = num_elements / max_load_factor_; local 435 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { 436 ++num_buckets; 438 if (num_buckets > NumBuckets()) { 439 Resize(num_buckets); 576 void AllocateStorage(size_t num_buckets) { 577 num_buckets_ = num_buckets; [all...] |
/external/libvpx/libvpx/ |
rate_hist.c | 124 int max_buckets, int *num_buckets) { 126 int buckets = *num_buckets; 187 *num_buckets = buckets;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
hash_map.hpp | 230 void rehash(std::size_t num_buckets) 232 if (num_buckets == num_buckets_) 234 num_buckets_ = num_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;
|
/external/libdrm/freedreno/ |
freedreno_device.c | 48 unsigned int i = dev->num_buckets; 54 dev->num_buckets++;
|
freedreno_bo.c | 94 for (i = 0; i < dev->num_buckets; i++) { 120 for (i = 0; i < dev->num_buckets; i++) {
|
freedreno_priv.h | 89 int num_buckets; member in struct:fd_device
|
/external/v8/src/ |
counters.cc | 64 #define HR(name, caption, min, max, num_buckets) \ 65 name##_ = Histogram(#caption, min, max, num_buckets, isolate); 178 #define HR(name, caption, min, max, num_buckets) name##_.Reset();
|
counters.h | 178 int num_buckets, 183 num_buckets_(num_buckets), 237 int num_buckets, Isolate* isolate) 238 : Histogram(name, min, max, num_buckets, isolate), 320 int num_buckets, Isolate* isolate) 321 : Histogram(name, min, max, num_buckets, isolate) {} [all...] |
/system/connectivity/shill/ |
mock_metrics.h | 60 int max, int num_buckets));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
BackgroundScanSchedulerTest.java | [all...] |