Home
last modified time | relevance | path

Searched refs:buckets (Results 1 – 3 of 3) sorted by relevance

/system/core/libcutils/
Dhashmap.cpp35 Entry** buckets; member
61 map->buckets = static_cast<Entry**>(calloc(map->bucketCount, sizeof(Entry*))); in hashmapCreate()
62 if (map->buckets == NULL) { in hashmapCreate()
114 Entry* entry = map->buckets[i]; in expandIfNecessary()
125 free(map->buckets); in expandIfNecessary()
126 map->buckets = newBuckets; in expandIfNecessary()
142 Entry* entry = map->buckets[i]; in hashmapFree()
149 free(map->buckets); in hashmapFree()
196 Entry** p = &(map->buckets[index]); in hashmapPut()
228 Entry* entry = map->buckets[index]; in hashmapGet()
[all …]
/system/media/audio_utils/include/audio_utils/
DLogPlot.h138 inline std::string audio_utils_plot_histogram(const std::map<double, int> &buckets,
141 if (buckets.empty()) {
145 auto it = buckets.begin();
149 while (++it != buckets.end()) {
169 for (auto const &x : buckets) {
187 for (auto const &x : buckets) {
195 const int columns = static_cast<int>(buckets.size());
201 for (auto const &x : buckets) {
/system/logging/logcat/tests/
Dlogcat_test.cpp78 TEST(logcat, buckets) { in TEST() argument