Searched refs:Count (Results 26 - 50 of 501) sorted by relevance

1234567891011>>

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DAbstractMapBasedMultiset.java49 private transient Map<E, Count> backingMap;
59 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
64 Map<E, Count> backingMap() {
69 void setBackingMap(Map<E, Count> backingMap) {
89 final Iterator<Map.Entry<E, Count>> backingEntries =
92 Map.Entry<E, Count> toRemove;
101 final Map.Entry<E, Count> mapEntry = backingEntries.next();
112 Count frequency = backingMap.get(getElement());
135 for (Count frequency : backingMap.values()) {
163 final Iterator<Map.Entry<E, Count>> entryIterato
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DSubList.cs22 if ( startIndex > endIndex || endIndex >= source.Count )
53 for ( int i = 0; i < Count; i++ )
97 if ( index < 0 || index >= Count )
104 if ( index < 0 || index >= Count )
123 if ( index + Count > array.Length )
126 for ( int i = 0; i < Count; i++ )
132 public int Count property in class:Antlr.Runtime.JavaExtensions.SubList
183 if ( startIndex > endIndex || endIndex >= source.Count )
210 if ( index + Count > array.Length )
213 for ( int i = 0; i < Count;
219 public int Count property in class:Antlr.Runtime.JavaExtensions.SubList
[all...]
H A DStackExtensions.cs71 return stack.Count;
77 if ( size > stack.Count )
80 while ( stack.Count > size )
H A DListExtensions.cs49 int count = list.Count;
51 return list.Count == count + 1;
176 if ( list.Count < size )
178 list.AddRange( Enumerable.Repeat( default( T ), size - list.Count ) );
180 else if ( list.Count > size )
182 list.RemoveRange(size, list.Count - size);
190 return collection.Count;
196 return collection.Count;
202 return list.Count;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfeedback.h49 if (ctx->Feedback.Count < ctx->Feedback.BufferSize) {
50 ctx->Feedback.Buffer[ctx->Feedback.Count] = token;
52 ctx->Feedback.Count++;
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Devent_tracer_unittest.cc32 int Count() const { return events_logged_; } function in class:__anon16160::TestStatistics
69 EXPECT_FALSE(TestStatistics::Get()->Count());
78 EXPECT_EQ(2, TestStatistics::Get()->Count());
/external/mesa3d/src/mesa/main/
H A Dfeedback.h49 if (ctx->Feedback.Count < ctx->Feedback.BufferSize) {
50 ctx->Feedback.Buffer[ctx->Feedback.Count] = token;
52 ctx->Feedback.Count++;
/external/chromium_org/third_party/skia/include/utils/
H A DSkParse.h17 static int Count(const char str[]); // number of scalars or int values
18 static int Count(const char str[], char separator);
/external/skia/include/utils/
H A DSkParse.h17 static int Count(const char str[]); // number of scalars or int values
18 static int Count(const char str[], char separator);
/external/webrtc/src/system_wrappers/source/
H A Dcritical_section_unittest.cc56 int Count() const { function in class:webrtc::__anon33522::ProtectedCount
78 while (count->Count() < target && loop_counter < 100*target) {
83 return (count->Count() >= target);
110 // the lock, even though count.Count() locks and unlocks the critical section
113 ASSERT_EQ(0, count.Count());
146 EXPECT_LE(2, count.Count());
150 int count_before = count.Count();
154 EXPECT_EQ(count_before, count.Count());
159 EXPECT_LT(count_before, count.Count());
/external/chromium_org/base/metrics/
H A Dsample_vector.cc14 typedef HistogramBase::Count Count; typedef in namespace:base
25 void SampleVector::Accumulate(Sample value, Count count) {
33 Count SampleVector::GetCount(Sample value) const {
38 Count SampleVector::TotalCount() const {
39 Count count = 0;
46 Count SampleVector::GetCountAtIndex(size_t bucket_index) const {
60 HistogramBase::Count count;
69 HistogramBase::Count old_counts =
114 SampleVectorIterator::SampleVectorIterator(const vector<Count>* count
[all...]
H A Dsample_vector.h30 HistogramBase::Count count) OVERRIDE;
31 virtual HistogramBase::Count GetCount(
33 virtual HistogramBase::Count TotalCount() const OVERRIDE;
37 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
68 HistogramBase::Count* count) const OVERRIDE;
H A Dhistogram_samples.cc22 HistogramBase::Count* count) const OVERRIDE;
28 HistogramBase::Count count_;
52 HistogramBase::Count* count) const {
67 HistogramBase::Count old_redundant_count =
77 HistogramBase::Count redundant_count;
82 HistogramBase::Count old_redundant_count =
93 HistogramBase::Count old_redundant_count =
108 HistogramBase::Count count;
125 void HistogramSamples::IncreaseRedundantCount(HistogramBase::Count diff) {
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
H A DRewriteRuleXxxxStreamFixture.cs103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero.");
106 Assert.AreEqual(0, tokenTest.Count,
122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero.");
125 Assert.AreEqual(0, subtreeTest.Count,
140 Assert.AreEqual(0, nodeTest.Count, "The number of elements should be zero.");
143 Assert.AreEqual(0, nodeTest.Count,
198 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (1).");
205 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (2).");
208 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (3).");
215 Assert.AreEqual(1, tokenTest.Count, "tokenTes
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
H A DHashList.cs170 if (_index < _orderList.Count)
207 for (int i = 0; i < keys.Count; i++)
225 if ((Count == 0) && (other.Count == 0))
227 else if (Count == other.Count)
229 for (int i = 0; i < Count; i++)
252 public int Count property in class:Antlr.Runtime.Collections.HashList.KeyCollection
254 get { return _hashList.Count; }
323 public int Count property in class:Antlr.Runtime.Collections.HashList.ValueCollection
451 public int Count property in class:Antlr.Runtime.Collections.HashList
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
H A DLookaheadStream.cs94 if (_p == _data.Count && _markDepth == 0) {
115 int n = (_p + need - 1) - _data.Count + 1; // how many more elements we need?
132 public override int Count { property in class:Antlr.Runtime.Misc.LookaheadStream
147 if ((_p + k - 1) > _data.Count)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DRewriteRuleElementStream.cs144 int n = Count;
164 int n = Count;
207 (elements != null && cursor < elements.Count);
211 public virtual int Count { property in class:Antlr.Runtime.Tree.RewriteRuleElementStream
218 return elements.Count;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DRewriteRuleElementStream.cs155 int n = Count;
177 int n = Count;
227 ( elements != null && cursor < elements.Count );
231 public virtual int Count property in class:Antlr.Runtime.Tree.RewriteRuleElementStream
242 return elements.Count;
/external/llvm/lib/IR/
H A DUse.cpp70 ptrdiff_t Count = Done; local
73 if (!Count) {
76 Count = Done;
78 new (Stop) Use(PrevPtrTag(Count & 1));
79 Count >>= 1;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/
H A DSimpleCParser.m251 FOLLOW_declaration_in_program28 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_declaration_in_program28_data Count:(NSUInteger)1] retain];
252 FOLLOW_variable_in_declaration50 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_variable_in_declaration50_data Count:(NSUInteger)1] retain];
253 FOLLOW_functionHeader_in_declaration60 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_functionHeader_in_declaration60_data Count:(NSUInteger)1] retain];
254 FOLLOW_11_in_declaration62 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_11_in_declaration62_data Count:(NSUInteger)1] retain];
255 FOLLOW_functionHeader_in_declaration75 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_functionHeader_in_declaration75_data Count:(NSUInteger)1] retain];
256 FOLLOW_block_in_declaration77 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_block_in_declaration77_data Count:(NSUInteger)1] retain];
257 FOLLOW_type_in_variable99 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_type_in_variable99_data Count:(NSUInteger)1] retain];
258 FOLLOW_declarator_in_variable101 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_declarator_in_variable101_data Count:(NSUInteger)1] retain];
259 FOLLOW_11_in_variable103 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_11_in_variable103_data Count:(NSUInteger)1] retain];
260 FOLLOW_ID_in_declarator122 = [[ANTLRBitSet newANTLRBitSetWithBits:(const unsigned long long *)FOLLOW_ID_in_declarator122_data Count
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBufferedTokenStream.cs108 public virtual int Count { property in class:Antlr.Runtime.BufferedTokenStream
110 return _tokens.Count;
189 int n = i - _tokens.Count + 1; // how many more elements we need?
198 t.TokenIndex = _tokens.Count;
206 if (i < 0 || i >= _tokens.Count) {
207 throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1));
222 if (start + count >= _tokens.Count)
263 if (i >= _tokens.Count) {
265 return _tokens[_tokens.Count - 1];
294 if (stop >= _tokens.Count)
[all...]
H A DTokenRewriteStream.cs271 op.instructionIndex = rewrites.Count;
292 if (from > to || from < 0 || to < 0 || to >= _tokens.Count) {
293 throw new ArgumentException("replace: range invalid: " + from + ".." + to + "(size=" + _tokens.Count + ")");
297 op.instructionIndex = rewrites.Count;
364 return ToOriginalString(MIN_TOKEN_INDEX, Count - 1);
369 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++) {
378 return ToString(MIN_TOKEN_INDEX, Count - 1);
383 return ToString(programName, MIN_TOKEN_INDEX, Count - 1);
396 if (end > _tokens.Count - 1)
397 end = _tokens.Count
[all...]
H A DLegacyCommonTokenStream.cs179 if (p < tokens.Count) {
187 int n = tokens.Count;
248 if (stop >= tokens.Count) {
249 stop = tokens.Count - 1;
266 if (filteredTokens.Count == 0) {
296 if ((p + k - 1) >= tokens.Count) {
297 return tokens[tokens.Count - 1];
308 if (i >= tokens.Count) {
309 return tokens[tokens.Count - 1];
386 public virtual int Count { property in class:Antlr.Runtime.LegacyCommonTokenStream
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DBufferedTokenStream.cs118 public virtual int Count property in class:Antlr.Runtime.BufferedTokenStream
122 return _tokens.Count;
218 int n = i - _tokens.Count + 1; // how many more elements we need?
229 t.TokenIndex = _tokens.Count;
238 if (i < 0 || i >= _tokens.Count)
240 throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1));
255 if (start + count >= _tokens.Count)
299 if (i >= _tokens.Count)
302 return _tokens[_tokens.Count - 1];
335 if (stop >= _tokens.Count)
[all...]
H A DLegacyCommonTokenStream.cs192 if ( p < tokens.Count )
202 int n = tokens.Count;
276 if ( stop >= tokens.Count )
278 stop = tokens.Count - 1;
299 if ( filteredTokens.Count == 0 )
336 if ( ( p + k - 1 ) >= tokens.Count )
338 return tokens[tokens.Count - 1];
350 if ( i >= tokens.Count )
352 return tokens[tokens.Count - 1];
440 public virtual int Count property in class:Antlr.Runtime.LegacyCommonTokenStream
[all...]

Completed in 2827 milliseconds

1234567891011>>