Home
last modified time | relevance | path

Searched refs:Count (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/external/e2fsprogs/tests/progs/test_data/
Dexpect.icount22 Count is 0
25 Count is 1
28 Count is 2
31 Count is 3
34 Count is 1
37 Count is 0
39 Count is 0
42 Count is 0
45 Count is 3
48 Count is 0
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugEventHub.cs73 for (int i = 0; i < _listeners.Count; i++) { in EnterRule()
80 for (int i = 0; i < _listeners.Count; i++) { in ExitRule()
87 for (int i = 0; i < _listeners.Count; i++) { in EnterAlt()
94 for (int i = 0; i < _listeners.Count; i++) { in EnterSubRule()
101 for (int i = 0; i < _listeners.Count; i++) { in ExitSubRule()
108 for (int i = 0; i < _listeners.Count; i++) { in EnterDecision()
115 for (int i = 0; i < _listeners.Count; i++) { in ExitDecision()
122 for (int i = 0; i < _listeners.Count; i++) { in Location()
129 for (int i = 0; i < _listeners.Count; i++) { in ConsumeToken()
136 for (int i = 0; i < _listeners.Count; i++) { in ConsumeHiddenToken()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugEventHub.cs79 for ( int i = 0; i < _listeners.Count; i++ ) in EnterRule()
88 for ( int i = 0; i < _listeners.Count; i++ ) in ExitRule()
97 for ( int i = 0; i < _listeners.Count; i++ ) in EnterAlt()
106 for ( int i = 0; i < _listeners.Count; i++ ) in EnterSubRule()
115 for ( int i = 0; i < _listeners.Count; i++ ) in ExitSubRule()
124 for ( int i = 0; i < _listeners.Count; i++ ) in EnterDecision()
133 for ( int i = 0; i < _listeners.Count; i++ ) in ExitDecision()
142 for ( int i = 0; i < _listeners.Count; i++ ) in Location()
151 for ( int i = 0; i < _listeners.Count; i++ ) in ConsumeToken()
160 for ( int i = 0; i < _listeners.Count; i++ ) in ConsumeHiddenToken()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp129 UP.Count = CurrentCount; in getUnrollingPreferences()
192 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial, in INITIALIZE_AG_DEPENDENCY()
194 return new LoopUnroll(Threshold, Count, AllowPartial, Runtime); in INITIALIZE_AG_DEPENDENCY()
270 unsigned Count = CountValue->getZExtValue(); in UnrollCountPragmaValue() local
271 assert(Count >= 1 && "Unroll count must be positive."); in UnrollCountPragmaValue()
272 return Count; in UnrollCountPragmaValue()
285 unsigned Count = UserCount ? CurrentCount : 0; in selectUnrollCount() local
289 if (Count == 0) { in selectUnrollCount()
291 Count = PragmaCount; in selectUnrollCount()
295 Count = TripCount; in selectUnrollCount()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DCountTest.java29 assertEquals(20, new Count(20).get()); in testGet()
33 Count holder = new Count(20); in testGetAndAdd()
39 Count holder = new Count(20); in testAddAndGet()
44 Count holder = new Count(10); in testGetAndSet()
50 Count holder = new Count(10); in testSet()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultiset.java52 private transient Map<E, Count> backingMap;
62 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { in AbstractMapBasedMultiset()
67 Map<E, Count> backingMap() { in backingMap()
72 void setBackingMap(Map<E, Count> backingMap) { in setBackingMap()
92 final Iterator<Map.Entry<E, Count>> backingEntries = in entryIterator()
95 Map.Entry<E, Count> toRemove; in entryIterator()
104 final Map.Entry<E, Count> mapEntry = backingEntries.next(); in entryIterator()
115 Count frequency = backingMap.get(getElement()); in entryIterator()
138 for (Count frequency : backingMap.values()) {
166 final Iterator<Map.Entry<E, Count>> entryIterator;
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultiset.java49 private transient Map<E, Count> backingMap;
59 protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { in AbstractMapBasedMultiset()
64 Map<E, Count> backingMap() { in backingMap()
69 void setBackingMap(Map<E, Count> backingMap) { in setBackingMap()
89 final Iterator<Map.Entry<E, Count>> backingEntries = in entryIterator()
92 Map.Entry<E, Count> toRemove; in entryIterator()
101 final Map.Entry<E, Count> mapEntry = backingEntries.next(); in entryIterator()
112 Count frequency = backingMap.get(getElement()); in entryIterator()
135 for (Count frequency : backingMap.values()) {
163 final Iterator<Map.Entry<E, Count>> entryIterator;
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero."); in CheckRRTokenStreamBehaviourWhileEmpty1()
106 Assert.AreEqual(0, tokenTest.Count, in CheckRRTokenStreamBehaviourWhileEmpty1()
122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero."); in CheckRRSubtreeStreamBehaviourWhileEmpty1()
125 Assert.AreEqual(0, subtreeTest.Count, in CheckRRSubtreeStreamBehaviourWhileEmpty1()
140 Assert.AreEqual(0, nodeTest.Count, "The number of elements should be zero."); in CheckRRNodeStreamBehaviourWhileEmpty1()
143 Assert.AreEqual(0, nodeTest.Count, in CheckRRNodeStreamBehaviourWhileEmpty1()
198 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (1)."); in CheckRRTokenStreamBehaviourWithElements()
205 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (2)."); in CheckRRTokenStreamBehaviourWithElements()
208 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (3)."); in CheckRRTokenStreamBehaviourWithElements()
215 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (4)."); in CheckRRTokenStreamBehaviourWithElements()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSubList.cs22 if ( startIndex > endIndex || endIndex >= source.Count ) in SubList()
53 for ( int i = 0; i < Count; i++ ) in IndexOf()
97 if ( index < 0 || index >= Count )
104 if ( index < 0 || index >= Count )
123 if ( index + Count > array.Length ) in CopyTo()
126 for ( int i = 0; i < Count; i++ ) in CopyTo()
132 public int Count property in Antlr.Runtime.JavaExtensions.SubList
183 if ( startIndex > endIndex || endIndex >= source.Count ) in SubList()
210 if ( index + Count > array.Length ) in ICollection.CopyTo()
213 for ( int i = 0; i < Count; i++ ) in ICollection.CopyTo()
[all …]
/external/clang/lib/CodeGen/
DCodeGenPGO.h69 void setCurrentRegionCount(uint64_t Count) { CurrentRegionCount = Count; } in setCurrentRegionCount() argument
78 bool getStmtCount(const Stmt *S, uint64_t &Count) { in getStmtCount() argument
85 Count = I->second; in getStmtCount()
92 uint64_t Count; in setCurrentStmt() local
93 if (getStmtCount(S, Count)) in setCurrentStmt()
94 setCurrentRegionCount(Count); in setCurrentStmt()
152 uint64_t Count; variable
158 : PGO(&PGO), Counter(CounterIndex), Count(PGO.getRegionCount(Counter)), in RegionCounter()
164 Count(PGO.getRegionCount(Counter)), in RegionCounter()
170 uint64_t getCount() const { return Count; } in getCount()
[all …]
/external/oprofile/events/ppc64/cell-be/
Dunit_masks10 0x000 Count cycles [mandatory]
12 0x001 Count cycles [mandatory]
17 0x000 Count edges [mandatory]
22 0x001 Count cycles [mandatory]
27 0x000 Count edges [mandatory]
32 0x001 Count cycles [mandatory]
38 0x000 Count edges [mandatory]
44 0x000 Count edges [optional ]
45 0x001 Count cycles [default ]
51 0x001 Count cycles [mandatory]
[all …]
/external/chromium_org/base/metrics/
Dsample_map.cc13 typedef HistogramBase::Count Count; typedef
20 void SampleMap::Accumulate(Sample value, Count count) { in Accumulate()
26 Count SampleMap::GetCount(Sample value) const { in GetCount()
27 map<Sample, Count>::const_iterator it = sample_counts_.find(value); in GetCount()
33 Count SampleMap::TotalCount() const { in TotalCount()
34 Count count = 0; in TotalCount()
35 for (map<Sample, Count>::const_iterator it = sample_counts_.begin(); in TotalCount()
51 Count count; in AddSubtractImpl()
76 void SampleMapIterator::Get(Sample* min, Sample* max, Count* count) const { in Get()
Dsample_vector.cc14 typedef HistogramBase::Count Count; typedef
25 void SampleVector::Accumulate(Sample value, Count count) { in Accumulate()
33 Count SampleVector::GetCount(Sample value) const { in GetCount()
38 Count SampleVector::TotalCount() const { in TotalCount()
39 Count count = 0; in TotalCount()
46 Count SampleVector::GetCountAtIndex(size_t bucket_index) const { in GetCountAtIndex()
60 HistogramBase::Count count; in AddSubtractImpl()
69 HistogramBase::Count old_counts = in AddSubtractImpl()
114 SampleVectorIterator::SampleVectorIterator(const vector<Count>* counts, in SampleVectorIterator()
137 HistogramBase::Count* count) const { in Get()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.c47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
49 dst->Count = src->Count; in rc_constants_copy()
50 dst->_Reserved = src->Count; in rc_constants_copy()
61 unsigned index = c->Count; in rc_constants_add()
63 if (c->Count >= c->_Reserved) { in rc_constants_add()
71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add()
78 c->Count++; in rc_constants_add()
92 for(index = 0; index < c->Count; ++index) { in rc_constants_add_state()
119 for(index = 0; index < c->Count; ++index) { in rc_constants_add_immediate_vec4()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_code.c47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
49 dst->Count = src->Count; in rc_constants_copy()
50 dst->_Reserved = src->Count; in rc_constants_copy()
61 unsigned index = c->Count; in rc_constants_add()
63 if (c->Count >= c->_Reserved) { in rc_constants_add()
71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add()
78 c->Count++; in rc_constants_add()
92 for(index = 0; index < c->Count; ++index) { in rc_constants_add_state()
119 for(index = 0; index < c->Count; ++index) { in rc_constants_add_immediate_vec4()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBufferedTokenStream.cs108 public virtual int Count { property in Antlr.Runtime.BufferedTokenStream
110 return _tokens.Count;
189 int n = i - _tokens.Count + 1; // how many more elements we need? in Sync()
198 t.TokenIndex = _tokens.Count; in Fetch()
206 if (i < 0 || i >= _tokens.Count) { in Get()
207 …throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1)); in Get()
222 if (start + count >= _tokens.Count) in Get()
263 if (i >= _tokens.Count) { in LT()
265 return _tokens[_tokens.Count - 1]; in LT()
294 if (stop >= _tokens.Count) in GetTokens()
[all …]
DTokenRewriteStream.cs271 op.instructionIndex = rewrites.Count; in InsertBefore()
292 if (from > to || from < 0 || to < 0 || to >= _tokens.Count) { in Replace()
293 … ArgumentException("replace: range invalid: " + from + ".." + to + "(size=" + _tokens.Count + ")"); in Replace()
297 op.instructionIndex = rewrites.Count; in Replace()
364 return ToOriginalString(MIN_TOKEN_INDEX, Count - 1); in ToOriginalString()
369 for (int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++) { in ToOriginalString()
378 return ToString(MIN_TOKEN_INDEX, Count - 1); in ToString()
383 return ToString(programName, MIN_TOKEN_INDEX, Count - 1); in ToString()
396 if (end > _tokens.Count - 1) in ToString()
397 end = _tokens.Count - 1; in ToString()
[all …]
DLegacyCommonTokenStream.cs179 if (p < tokens.Count) { in Consume()
187 int n = tokens.Count; in SkipOffTokenChannels()
248 if (stop >= tokens.Count) { in GetTokens()
249 stop = tokens.Count - 1; in GetTokens()
266 if (filteredTokens.Count == 0) { in GetTokens()
296 if ((p + k - 1) >= tokens.Count) { in LT()
297 return tokens[tokens.Count - 1]; in LT()
308 if (i >= tokens.Count) { in LT()
309 return tokens[tokens.Count - 1]; in LT()
386 public virtual int Count { property in Antlr.Runtime.LegacyCommonTokenStream
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBufferedTokenStream.cs118 public virtual int Count property in Antlr.Runtime.BufferedTokenStream
122 return _tokens.Count;
218 int n = i - _tokens.Count + 1; // how many more elements we need? in Sync()
229 t.TokenIndex = _tokens.Count; in Fetch()
238 if (i < 0 || i >= _tokens.Count) in Get()
240 …throw new IndexOutOfRangeException("token index " + i + " out of range 0.." + (_tokens.Count - 1)); in Get()
255 if (start + count >= _tokens.Count) in Get()
299 if (i >= _tokens.Count) in LT()
302 return _tokens[_tokens.Count - 1]; in LT()
335 if (stop >= _tokens.Count) in GetTokens()
[all …]
DLegacyCommonTokenStream.cs192 if ( p < tokens.Count ) in Consume()
202 int n = tokens.Count; in SkipOffTokenChannels()
276 if ( stop >= tokens.Count ) in GetTokens()
278 stop = tokens.Count - 1; in GetTokens()
299 if ( filteredTokens.Count == 0 ) in GetTokens()
336 if ( ( p + k - 1 ) >= tokens.Count ) in LT()
338 return tokens[tokens.Count - 1]; in LT()
350 if ( i >= tokens.Count ) in LT()
352 return tokens[tokens.Count - 1]; in LT()
440 public virtual int Count property in Antlr.Runtime.LegacyCommonTokenStream
[all …]
DTokenRewriteStream.cs308 op.instructionIndex = rewrites.Count; in InsertBefore()
334 if ( from > to || from < 0 || to < 0 || to >= _tokens.Count ) in Replace()
336 …rgumentException( "replace: range invalid: " + from + ".." + to + "(size=" + _tokens.Count + ")" ); in Replace()
340 op.instructionIndex = rewrites.Count; in Replace()
421 return ToOriginalString( MIN_TOKEN_INDEX, Count - 1 ); in ToOriginalString()
427 for ( int i = start; i >= MIN_TOKEN_INDEX && i <= end && i < _tokens.Count; i++ ) in ToOriginalString()
438 return ToString( MIN_TOKEN_INDEX, Count - 1 ); in ToString()
444 return ToString(programName, MIN_TOKEN_INDEX, Count - 1); in ToString()
459 if ( end > _tokens.Count - 1 ) in ToString()
460 end = _tokens.Count - 1; in ToString()
[all …]
/external/libnfc-nxp/src/
DphHal4Nfc_ADD.c439 uint8_t Count = 0, in phHal4Nfc_TargetDiscoveryComplete() local
466 Count++; in phHal4Nfc_TargetDiscoveryComplete()
480 aRemoteDevTypes[Count] = phHal_eMifare_PICC; in phHal4Nfc_TargetDiscoveryComplete()
481 Count++; in phHal4Nfc_TargetDiscoveryComplete()
484 if((0 == Sak)&& (0 == Count)) in phHal4Nfc_TargetDiscoveryComplete()
492 aRemoteDevTypes[Count] = phHal_eMifare_PICC; in phHal4Nfc_TargetDiscoveryComplete()
493 Count++; in phHal4Nfc_TargetDiscoveryComplete()
498 aRemoteDevTypes[Count] = phHal_eISO14443_3A_PICC; in phHal4Nfc_TargetDiscoveryComplete()
499 Count++; in phHal4Nfc_TargetDiscoveryComplete()
512 aRemoteDevTypes[Count] = phHal_eISO14443_3A_PICC; in phHal4Nfc_TargetDiscoveryComplete()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/
DFastQueue.cs56 public virtual int Count property in Antlr.Runtime.Misc.FastQueue
60 return _data.Count - _p;
84 if (absIndex >= _data.Count)
85 …ew ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1));
99 if (Count == 0) in Dequeue()
105 if ( _p == _data.Count ) in Dequeue()
133 int n = Count; in ToString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DFastQueue.cs54 public virtual int Count { property in Antlr.Runtime.Misc.FastQueue
56 return _data.Count - _p;
77 if (absIndex >= _data.Count)
78 …ew ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1));
91 if (Count == 0) in Dequeue()
97 if (_p == _data.Count) { in Dequeue()
120 int n = Count; in ToString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
DHashList.cs170 if (_index < _orderList.Count) in MoveNext()
207 for (int i = 0; i < keys.Count; i++) in ToString()
225 if ((Count == 0) && (other.Count == 0)) in Equals()
227 else if (Count == other.Count) in Equals()
229 for (int i = 0; i < Count; i++) in Equals()
252 public int Count property in Antlr.Runtime.Collections.HashList.KeyCollection
254 get { return _hashList.Count; }
323 public int Count property in Antlr.Runtime.Collections.HashList.ValueCollection
325 get { return _hashList.Count; }
451 public int Count property in Antlr.Runtime.Collections.HashList
[all …]

12345678910>>...24