Home
last modified time | relevance | path

Searched refs:GetBucketIndex (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/metrics/
Dsample_vector.cc36 const size_t bucket_index = GetBucketIndex(value); in Accumulate()
69 return GetCountAtIndex(GetBucketIndex(value)); in GetCount()
139 size_t dest_index = GetBucketIndex(min); in AddSubtractImpl()
153 if (iter->GetBucketIndex(&iter_index)) in AddSubtractImpl()
202 if (iter->GetBucketIndex(&iter_index)) { in AddSubtractImpl()
207 dest_index = GetBucketIndex(min); in AddSubtractImpl()
217 size_t SampleVectorBase::GetBucketIndex(Sample value) const { in GetBucketIndex() function in base::SampleVectorBase
411 bool SampleVectorIterator::GetBucketIndex(size_t* index) const { in GetBucketIndex() function in base::SampleVectorIterator
Dsample_vector.h55 virtual size_t GetBucketIndex(HistogramBase::Sample value) const;
171 bool GetBucketIndex(size_t* index) const override;
Dhistogram_samples.h233 virtual bool GetBucketIndex(size_t* index) const;
255 bool GetBucketIndex(size_t* index) const override;
Dhistogram_samples.cc268 bool SampleCountIterator::GetBucketIndex(size_t* index) const { in GetBucketIndex() function in base::SampleCountIterator
307 bool SingleSampleIterator::GetBucketIndex(size_t* index) const { in GetBucketIndex() function in base::SingleSampleIterator
Dsample_vector_unittest.cc237 EXPECT_TRUE(it.GetBucketIndex(&index)); in TEST_F()
245 EXPECT_TRUE(it.GetBucketIndex(&index)); in TEST_F()
267 EXPECT_TRUE(it2->GetBucketIndex(&index)); in TEST_F()
Dsample_map_unittest.cc91 EXPECT_FALSE(it->GetBucketIndex(nullptr)); in TEST()
Dpersistent_sample_map_unittest.cc174 EXPECT_FALSE(it->GetBucketIndex(nullptr)); in TEST()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas256 function GetBucketIndex(const Key: TKey; HashCode: Integer): Integer;
599 function TDictionary<TKey,TValue>.GetBucketIndex(const Key: TKey; HashCode: Integer): Integer; in GetBucketIndex() function
645 index := GetBucketIndex(Key, Hash(Key));
656 index := GetBucketIndex(Key, Hash(Key));
668 index := not GetBucketIndex(Key, HashCode);
753 index := GetBucketIndex(Key, hc);
773 index := GetBucketIndex(Key, hc);
840 index := GetBucketIndex(Key, Hash(Key));
871 Result := GetBucketIndex(Key, Hash(Key)) >= 0;