/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict
602 c = Counter('abcaba')
603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1}))
604 self.assertEqual(c, Counter(a=3, b=2, c=1))
607 self.assertTrue(issubclass(Counter, dict))
608 self.assertTrue(issubclass(Counter, Mapping))
626 self.assertEqual(repr(c), "Counter({'a': 3, 'b': 2, 'c': 1})")
648 self.assertEqual(repr(c), 'Counter()')
649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc')
653 c.update(Counter('a' * 50 + 'b' * 30)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 602 c = Counter('abcaba') 603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1})) 604 self.assertEqual(c, Counter(a=3, b=2, c=1)) 607 self.assertTrue(issubclass(Counter, dict)) 608 self.assertTrue(issubclass(Counter, Mapping)) 626 self.assertEqual(repr(c), "Counter({'a': 3, 'b': 2, 'c': 1})") 648 self.assertEqual(repr(c), 'Counter()') 649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc') 653 c.update(Counter('a' * 50 + 'b' * 30) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 602 c = Counter('abcaba') 603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1})) 604 self.assertEqual(c, Counter(a=3, b=2, c=1)) 607 self.assertTrue(issubclass(Counter, dict)) 608 self.assertTrue(issubclass(Counter, Mapping)) 626 self.assertEqual(repr(c), "Counter({'a': 3, 'b': 2, 'c': 1})") 648 self.assertEqual(repr(c), 'Counter()') 649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc') 653 c.update(Counter('a' * 50 + 'b' * 30) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 602 c = Counter('abcaba') 603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1})) 604 self.assertEqual(c, Counter(a=3, b=2, c=1)) 607 self.assertTrue(issubclass(Counter, dict)) 608 self.assertTrue(issubclass(Counter, Mapping)) 626 self.assertEqual(repr(c), "Counter({'a': 3, 'b': 2, 'c': 1})") 648 self.assertEqual(repr(c), 'Counter()') 649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc') 653 c.update(Counter('a' * 50 + 'b' * 30) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 602 c = Counter('abcaba') 603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1})) 604 self.assertEqual(c, Counter(a=3, b=2, c=1)) 607 self.assertTrue(issubclass(Counter, dict)) 608 self.assertTrue(issubclass(Counter, Mapping)) 626 self.assertEqual(repr(c), "Counter({'a': 3, 'b': 2, 'c': 1})") 648 self.assertEqual(repr(c), 'Counter()') 649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc') 653 c.update(Counter('a' * 50 + 'b' * 30) [all...] |
/external/llvm/lib/ProfileData/Coverage/ |
CoverageMappingReader.cpp | 94 Error RawCoverageMappingReader::decodeCounter(unsigned Value, Counter &C) { 95 auto Tag = Value & Counter::EncodingTagMask; 97 case Counter::Zero: 98 C = Counter::getZero(); 100 case Counter::CounterValueReference: 101 C = Counter::getCounter(Value >> Counter::EncodingTagBits); 106 Tag -= Counter::Expression; 110 auto ID = Value >> Counter::EncodingTagBits; 114 C = Counter::getExpression(ID) [all...] |
/external/llvm/unittests/ADT/ |
DenseMapTest.cpp | 501 unsigned *Counter = nullptr; 503 CachedHashTest(unsigned Val, unsigned *Counter) 504 : Val(Val), Counter(Counter) {} 512 ++*X.Counter; 523 unsigned Counter = 0; 524 CachedHashTest Val(0, &Counter); 528 ASSERT_EQ(1u, Counter); 531 ASSERT_EQ(2u, Counter); 536 unsigned Counter = 0 [all...] |
/external/v8/src/ |
d8.h | 21 // A single counter in a counter collection. 22 class Counter { 45 Counter* GetNextCounter(); 52 Counter counters_[kMaxCounters]; 59 Counter* Lookup(const char* name) { 63 return reinterpret_cast<Counter*>(answer->value); 65 void Set(const char* name, Counter* value) { 78 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); [all...] |
/external/guice/core/test/com/google/inject/ |
ProvisionListenerTest.java | 215 final Counter count1 = new Counter(); 235 final Counter count1 = new Counter(); 236 final Counter count2 = new Counter(); 250 final Counter count1 = new Counter(); 251 final Counter count2 = new Counter(); 362 final Counter counter = new Counter(); local [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
sizeofpack.cpp | 124 struct Counter 126 static const int count = 1 + Counter<Args...>::count; 130 struct Counter<T>
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
GCOV.h | 187 GCOVBlock(uint32_t N) : Number(N), Counter(0) {} 191 void addCount(uint64_t N) { Counter = N; } 196 uint64_t Counter;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
FakeUid.java | 20 import android.os.BatteryStats.Counter; 310 public Counter getBluetoothScanResultCounter() { 315 public Counter getBluetoothScanResultBgCounter() {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 288 class Counter extends CheckedRunnable { 291 Counter(AtomicDoubleArray a) { aa = a; } 322 Counter c1 = new Counter(aa); 323 Counter c2 = new Counter(aa);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AtomicIntegerArrayTest.java | 282 class Counter extends CheckedRunnable { 285 Counter(AtomicIntegerArray a) { aa = a; } 313 Counter c1 = new Counter(aa); 314 Counter c2 = new Counter(aa);
|
AtomicLongArrayTest.java | 281 class Counter extends CheckedRunnable { 284 Counter(AtomicLongArray a) { aa = a; } 312 Counter c1 = new Counter(aa); 313 Counter c2 = new Counter(aa);
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
counter.py | 9 # counter sample into an event. During stable operation, the samples are stored 12 def __init__(self, counter, sample_index): 13 self._counter = counter 57 class Counter(event_container.TimelineEventContainer): 58 """ Stores all the samples for a given counter. 61 super(Counter, self).__init__(name, parent)
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
armVCM4P10_InterpolateLuma_HalfHor4x4_unsafe_s.s | 87 Counter RN 11 97 MOV Counter, #2 177 SUBS Counter, Counter, #1
|
armVCM4P10_InterpolateLuma_HalfVer4x4_unsafe_s.s | 109 Counter RN 8 115 MOV Counter, #2 188 SUBS Counter, Counter, #1
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
MpService.c | 166 ASSERT (mSmmMpSyncData->Counter <= mNumberOfCpus);
168 if (mSmmMpSyncData->Counter == mNumberOfCpus) {
207 ASSERT (mSmmMpSyncData->Counter <= mNumberOfCpus);
246 if (mSmmMpSyncData->Counter < mNumberOfCpus) {
359 // Lock the counter down and retrieve the number of APs
362 ApCount = LockdownSemaphore (&mSmmMpSyncData->Counter) - 1;
447 // Lock the counter down and retrieve the number of APs
450 ApCount = LockdownSemaphore (&mSmmMpSyncData->Counter) - 1;
533 mSmmMpSyncData->Counter = 0;
596 WaitForSemaphore (&mSmmMpSyncData->Counter);
[all...] |
/external/v8/tools/ |
stats-viewer.py | 31 """A cross-platform execution counter viewer. 51 # Mapping from counter prefix to the formatting to be used for the counter 68 name_filter: The regexp filter to apply to counter names. 77 # A mapping from counter names to the ui element that displays 81 # The counter collection used to access the counters file 103 print "\"%s\" is neither a counter file nor a PID." % self.data_name 113 print "Can't find counter file in maps for PID %s." % self.data_name 147 counter = self.data.Counter(i [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 110 GlobalVariable *buildEdgeLookupTable(Function *F, GlobalVariable *Counter, 626 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 628 Value *Count = Builder.CreateLoad(Counter); 630 Builder.CreateStore(Count, Counter); 636 Value *Counter = Builder.CreateInBoundsGEP( 638 Value *Count = Builder.CreateLoad(Counter); 640 Builder.CreateStore(Count, Counter); 669 // Build code to increment the counter. 718 // requires complex logic to pick which counter to update. 746 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0 [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/ |
gtdt.asl | 48 [0008] Counter Block Address : 0000000000000000 85 /* The 64-bit physical address at which the Counter Read block is located */
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 141 Error decodeCounter(unsigned Value, Counter &C); 142 Error readCounter(Counter &C);
|
/external/autotest/client/common_lib/cros/graphite/ |
es_test_utils.py | 25 'counter': autotest_stats.Counter, 37 'counter': '_send', 58 ['timer', 'gauge', 'raw', 'average', 'counter']
|
/external/autotest/scheduler/shard/ |
shard_client.py | 136 metrics.Counter( 294 metrics.Counter('chromeos/autotest/shard_client/heartbeat_failure' 339 metrics.Counter('chromeos/autotest/shard_client/tick').increment() 402 metrics.Counter('chromeos/autotest/shard_client/start').increment()
|