/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | AbstractMapBasedMultiset.java | 49 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 D | SubList.cs | 22 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 D | StackExtensions.cs | 71 return stack.Count; 77 if ( size > stack.Count ) 80 while ( stack.Count > size )
|
H A D | ListExtensions.cs | 49 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 D | feedback.h | 49 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 D | event_tracer_unittest.cc | 32 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 D | feedback.h | 49 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 D | SkParse.h | 17 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 D | SkParse.h | 17 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 D | critical_section_unittest.cc | 56 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 D | sample_vector.cc | 14 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 D | sample_vector.h | 30 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 D | histogram_samples.cc | 22 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 D | RewriteRuleXxxxStreamFixture.cs | 103 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 D | HashList.cs | 170 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 D | LookaheadStream.cs | 94 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 D | RewriteRuleElementStream.cs | 144 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 D | RewriteRuleElementStream.cs | 155 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 D | Use.cpp | 70 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 D | SimpleCParser.m | 251 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 D | BufferedTokenStream.cs | 108 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 D | TokenRewriteStream.cs | 271 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 D | LegacyCommonTokenStream.cs | 179 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 D | BufferedTokenStream.cs | 118 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 D | LegacyCommonTokenStream.cs | 192 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...] |