/external/guava/guava-tests/test/com/google/common/collect/ |
CountTest.java | 22 * Tests for {@code Count}. 29 assertEquals(20, new Count(20).get()); 33 Count holder = new Count(20); 39 Count holder = new Count(20); 44 Count holder = new Count(10); 50 Count holder = new Count(10) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/ |
StackList.cs | 63 object poppedItem = this[this.Count - 1]; 64 RemoveAt(this.Count - 1); 74 return this[this.Count - 1];
|
/external/llvm/unittests/Support/ |
TargetRegistry.cpp | 21 int Count = 0; 36 ++Count; 39 ASSERT_NE(Count, 0);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
armVCM4P10_PredictIntraDC4x4.c | 66 int x, y, Sum=0, Count = 0; 74 Count++; 82 Count++; 84 if (Count==0) 88 else if (Count==1) 92 else /* Count = 2 */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/comm/src/ |
omxVCCOMM_Copy8x8_s.s | 35 Count RN 14 43 MOV Count,step ;//Count=step 45 LDRD X0,[pSrc],Count ;//pSrc after loading : pSrc=pSrc+step 46 LDRD X1,[pSrc],Count 49 LDRD X0,[pSrc],Count 51 LDRD X1,[pSrc],Count 54 LDRD X0,[pSrc],Count 56 LDRD X1,[pSrc],Count 59 LDRD X0,[pSrc],Count [all...] |
omxVCCOMM_Copy16x16_s.s | 35 Count RN 14 45 SUB Count,step,#8 ;//Count=step-8 47 LDRD X1,[pSrc],Count ;//pSrc after loading pSrc=pSrc+step 53 LDRD X1,[pSrc],Count 59 LDRD X1,[pSrc],Count 65 LDRD X1,[pSrc],Count 71 LDRD X1,[pSrc],Count 77 LDRD X1,[pSrc],Count 83 LDRD X1,[pSrc],Count [all...] |
/external/llvm/utils/count/ |
count.c | 1 /*===- count.c - The 'count' testing tool ---------------------------------===*\ 14 unsigned Count, NumLines, NumRead; 18 fprintf(stderr, "usage: %s <expected line count>\n", argv[0]); 22 Count = strtol(argv[1], &End, 10); 24 fprintf(stderr, "%s: invalid count argument '%s'\n", argv[0], argv[1]); 44 if (Count != NumLines) { 45 fprintf(stderr, "Expected %d lines, got %d.\n", Count, NumLines);
|
/external/guice/core/test/com/google/inject/ |
ProviderInjectionTest.java | 116 * before they are used. It injects mutable Count objects and records their 123 bind(Count.class).annotatedWith(named("a")).toInstance(new Count(0) { 124 @Inject void initialize(@Named("b") Count bCount) { 130 bind(Count.class).annotatedWith(named("b")).toProvider(new Provider<Count>() { 131 Count count; 132 @Inject void initialize(@Named("c") Count cCount) { 133 count = new Count(cCount.value + 2) [all...] |
/external/clang/include/clang/Basic/ |
AddressSpaces.h | 40 Count = Last-Offset 45 typedef unsigned Map[Count];
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/ |
ListStack`1.cs | 61 if (depth >= Count) 67 item = this[Count - depth - 1]; 82 if (Count == 0) 88 item = this[Count - 1]; 89 RemoveAt(Count - 1);
|
FastQueue.cs | 56 public virtual int Count 60 return _data.Count - _p; 84 if (absIndex >= _data.Count) 85 throw new ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1)); 99 if (Count == 0) 105 if ( _p == _data.Count ) 133 int n = Count;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
FastQueue.cs | 54 public virtual int Count { 56 return _data.Count - _p; 77 if (absIndex >= _data.Count) 78 throw new ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1)); 91 if (Count == 0) 97 if (_p == _data.Count) { 120 int n = Count;
|
/external/libchrome/base/metrics/ |
sample_map.cc | 11 typedef HistogramBase::Count Count; 20 void SampleMap::Accumulate(Sample value, Count count) { 21 sample_counts_[value] += count; 22 IncreaseSum(count * value); 23 IncreaseRedundantCount(count); 26 Count SampleMap::GetCount(Sample value) const { 27 std::map<Sample, Count>::const_iterator it = sample_counts_.find(value); 33 Count SampleMap::TotalCount() const 34 Count count = 0; local 49 Count count; local [all...] |
histogram_samples.h | 32 // The sum of all the entries, effectivly the sum(sample * count) for 40 // A "redundant" count helps identify memory corruption. It redundantly 42 // can compare this count to the sum of the counts (TotalCount() function), 57 HistogramBase::Count count) = 0; 58 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0; 59 virtual HistogramBase::Count TotalCount() const = 0; 74 HistogramBase::Count redundant_count() const { 84 void IncreaseRedundantCount(HistogramBase::Count diff); 103 // Get the sample and count at current position [all...] |
sample_map.h | 31 HistogramBase::Count count) override; 32 HistogramBase::Count GetCount(HistogramBase::Sample value) const override; 33 HistogramBase::Count TotalCount() const override; 42 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_; 49 typedef std::map<HistogramBase::Sample, HistogramBase::Count> 60 HistogramBase::Count* count) const override;
|
/external/guava/guava/src/com/google/common/collect/ |
Count.java | 29 final class Count implements Serializable { 32 Count(int value) { 67 return obj instanceof Count && ((Count) obj).value == value;
|
/system/connectivity/shill/ |
ip_address_store_unittest.cc | 60 EXPECT_EQ(0, ip_address_store_.Count()); 65 EXPECT_EQ(1, ip_address_store_.Count()); 69 EXPECT_EQ(2, ip_address_store_.Count()); 73 EXPECT_EQ(2, ip_address_store_.Count()); 75 EXPECT_EQ(2, ip_address_store_.Count()); 78 EXPECT_EQ(3, ip_address_store_.Count());
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugEventHub.cs | 73 for (int i = 0; i < _listeners.Count; i++) { 80 for (int i = 0; i < _listeners.Count; i++) { 87 for (int i = 0; i < _listeners.Count; i++) { 94 for (int i = 0; i < _listeners.Count; i++) { 101 for (int i = 0; i < _listeners.Count; i++) { 108 for (int i = 0; i < _listeners.Count; i++) { 115 for (int i = 0; i < _listeners.Count; i++) { 122 for (int i = 0; i < _listeners.Count; i++) { 129 for (int i = 0; i < _listeners.Count; i++) { 136 for (int i = 0; i < _listeners.Count; i++) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugEventHub.cs | 79 for ( int i = 0; i < _listeners.Count; i++ ) 88 for ( int i = 0; i < _listeners.Count; i++ ) 97 for ( int i = 0; i < _listeners.Count; i++ ) 106 for ( int i = 0; i < _listeners.Count; i++ ) 115 for ( int i = 0; i < _listeners.Count; i++ ) 124 for ( int i = 0; i < _listeners.Count; i++ ) 133 for ( int i = 0; i < _listeners.Count; i++ ) 142 for ( int i = 0; i < _listeners.Count; i++ ) 151 for ( int i = 0; i < _listeners.Count; i++ ) 160 for ( int i = 0; i < _listeners.Count; i++ [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
critical_section_unittest.cc | 42 int Count() const { 56 // Waits a number of cycles for the count to reach a given value. 58 bool WaitForCount(int target, ProtectedCount* count) { 63 while (count->Count() < target && loop_counter < 100 * target) { 67 return (count->Count() >= target); 80 ProtectedCount count(crit_sect); 82 &LockUnlockThenStopRunFunction, &count, "ThreadWakesOnce"); 87 // the lock, even though count.Count() locks and unlocks the critical sectio [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_code.c | 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); 49 dst->Count = src->Count; 50 dst->_Reserved = src->Count; 61 unsigned index = c->Count; 63 if (c->Count >= c->_Reserved) { 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); 78 c->Count++; 92 for(index = 0; index < c->Count; ++index) [all...] |
radeon_remove_constants.c | 73 if (!c->Program.Constants.Count) { 78 const_used = malloc(c->Program.Constants.Count); 79 memset(const_used, 0, c->Program.Constants.Count); 93 for (unsigned i = 0; i < c->Program.Constants.Count; i++) 100 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 101 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 104 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { 122 assert( is_identity || new_count < c->Program.Constants.Count); 133 /* Set the new constant count. Note that new_count may be less than 134 * Count even though the remapping function is identity. In that case [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s | 80 Count RN 6 124 MOV temp1,#0 ;// Initialize Count to zero 177 ADD temp2,storeRun,Count 179 BGE ExitError ;// error if Count+storeRun >= 64 194 ADD Count,Count,storeRun 195 LDRB zigzag,[pZigzagTable,Count] 196 ADD Count,Count,#1 294 ADD temp1,storeRun,Count ;// Exit with an error message if Run + Count exceeds 6 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s | 80 Count RN 6 124 MOV temp1,#0 ;// Initialize Count to zero 177 ADD temp2,storeRun,Count 179 BGE ExitError ;// error if Count+storeRun >= 64 194 ADD Count,Count,storeRun 195 LDRB zigzag,[pZigzagTable,Count] 196 ADD Count,Count,#1 294 ADD temp1,storeRun,Count ;// Exit with an error message if Run + Count exceeds 6 [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
StackExtensions.cs | 71 return stack.Count; 77 if ( size > stack.Count ) 80 while ( stack.Count > size )
|