Searched refs:buckets_ (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ByteBucketArray.h | 34 ByteBucketArray() : default_() { memset(buckets_, 0, sizeof(buckets_)); } in ByteBucketArray() 38 if (buckets_[i] != NULL) { in ~ByteBucketArray() 39 delete[] buckets_[i]; in ~ByteBucketArray() 42 memset(buckets_, 0, sizeof(buckets_)); in ~ByteBucketArray() 55 T* bucket = buckets_[bucket_index]; 67 T* bucket = buckets_[bucket_index]; in editItemAt() 69 bucket = buckets_[bucket_index] = new T[kBucketSize](); in editItemAt() 86 T* buckets_[kNumBuckets]; variable
|
/frameworks/opt/gamesdk/src/tuningfork/ |
D | histogram.cpp | 33 buckets_(num_buckets_), auto_range_(start_ms_ == 0 && end_ms_ == 0), count_(0) { in Histogram() 34 std::fill(buckets_.begin(), buckets_.end(), 0); in Histogram() 54 buckets_[0]++; in Add() 56 buckets_[num_buckets_ - 1]++; in Add() 58 buckets_[i + 1]++; in Add() 109 str << buckets_[i] << ","; in ToJSON() 112 str << buckets_.back(); in ToJSON() 119 std::fill(buckets_.begin(), buckets_.end(), 0); in Clear()
|
D | histogram.h | 33 std::vector<uint32_t> buckets_; variable
|
D | clearcutserializer.cpp | 32 pb_encode_varint(&sizing_stream, h->buckets_[i]); in writeCountArray() 38 if(!pb_encode_varint(stream, h->buckets_[i])) in writeCountArray()
|