/system/extras/simpleperf/include/ |
simpleperf.h | 34 struct Counter { 85 // Read counter values. There is a value for each event. You don't need to stop counters before 86 // reading them. The counter values are the accumulated value from the first StartCounters(). 87 virtual bool ReadCounters(std::vector<Counter>* counters);
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
Counter.java | 19 * $Id: Counter.java 468645 2006-10-28 06:57:24Z minchau $ 37 public class Counter 61 * find a counter if the node being counted is not immediatly 79 * Construct a counter object. 86 Counter(ElemNumber numberElem, NodeSetDTM countNodes) throws TransformerException 93 * Construct a counter object. 99 Counter(ElemNumber numberElem) throws TransformerException
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
CallingConvEmitter.cpp | 44 Counter = 0; 99 O << IndentStr << "static const unsigned RegList" << ++Counter 108 << Counter << ", " << RegList->getSize() << ")) {\n"; 127 unsigned RegListNumber = ++Counter; 128 unsigned ShadowRegListNumber = ++Counter; 160 O << IndentStr << "unsigned Offset" << ++Counter 176 << Counter << ", LocVT, LocInfo));\n";
|
/external/llvm/utils/TableGen/ |
CallingConvEmitter.cpp | 33 unsigned Counter; 63 Counter = 0; 118 O << IndentStr << "static const MCPhysReg RegList" << ++Counter 127 << Counter << ")) {\n"; 145 unsigned RegListNumber = ++Counter; 146 unsigned ShadowRegListNumber = ++Counter; 178 O << IndentStr << "unsigned Offset" << ++Counter 196 << Counter << ", LocVT, LocInfo));\n"; 203 unsigned ShadowRegListNumber = ++Counter; 214 O << IndentStr << "unsigned Offset" << ++Counter [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresentIterableTest.java | 43 String output = yaml.dump(new Counter(7)); 49 return new Counter(10); 53 private class Counter implements Iterator<Integer> { 55 private int counter = 0; field in class:RepresentIterableTest.Counter 57 public Counter(int max) { 62 return counter < max; 66 return counter++;
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
layers_dense_variational_test.py | 36 class Counter(object): 63 self.called_log_prob = Counter() 64 self.called_sample = Counter() 65 self.called_loc = Counter() 66 self.called_scale = Counter() 97 self.called = Counter() 149 seed = Counter() 397 seed = Counter()
|
layers_conv_variational_test.py | 39 class Counter(object): 66 self.called_log_prob = Counter() 67 self.called_sample = Counter() 68 self.called_loc = Counter() 69 self.called_scale = Counter() 100 self.called = Counter() 170 seed = Counter() 396 seed = Counter()
|
/external/v8/src/arm64/ |
instrument-arm64.h | 33 class Counter { 35 explicit Counter(const char* name, CounterType type = Gauge); 72 Counter* GetCounter(const char* name); 77 std::list<Counter*> counters_;
|
/external/vixl/src/aarch64/ |
instrument-aarch64.h | 53 class Counter { 55 explicit Counter(const char* name, CounterType type = Gauge); 99 Counter* GetCounter(const char* name); 104 std::list<Counter*> counters_; 108 // Counter information is dumped every sample_period_ instructions decoded. 109 // For a sample_period_ = 0 a final counter value is only produced when the
|
/bionic/tests/ |
time_test.cpp | 365 struct Counter { 379 explicit Counter(void (*fn)(sigval_t)) : value(0), timer_valid(false) { 392 ~Counter() { 415 Counter* cd = reinterpret_cast<Counter*>(value.sival_ptr); 420 Counter* cd = reinterpret_cast<Counter*>(value.sival_ptr); 429 Counter counter(Counter::CountAndDisarmNotifyFunction) [all...] |
/external/llvm/lib/CodeGen/ |
LexicalScopes.cpp | 220 unsigned Counter = 0; 232 ChildScope->setDFSIn(++Counter); 238 WS->setDFSOut(++Counter);
|
/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/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
AsmPrinter.h | 444 mutable unsigned Counter;
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
ValueEnumerator.cpp | 478 unsigned Counter = 0; 480 IDMap[BB] = ++Counter;
|
/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...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/Devices/ |
MvSpiFlash.c | 106 UINT32 Counter = 0xFFFFF;
129 Counter--;
132 } while (Counter > 0);
133 if (Counter == 0) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
collections.py | 1 __all__ = ['Counter', 'deque', 'defaultdict', 'namedtuple', 'OrderedDict']
392 ### Counter
395 class Counter(dict):
400 >>> c = Counter('abcdeabcdabcaba') # count elements from a string
421 >>> d = Counter('simsalabim') # make another counter
422 >>> c.update(d) # add in the second counter
426 >>> c.clear() # empty the counter
428 Counter()
431 in the counter until the entry is deleted or the counter is cleared: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
collections.py | 1 __all__ = ['Counter', 'deque', 'defaultdict', 'namedtuple', 'OrderedDict']
352 ### Counter
355 class Counter(dict):
360 >>> c = Counter('abcdeabcdabcaba') # count elements from a string
381 >>> d = Counter('simsalabim') # make another counter
382 >>> c.update(d) # add in the second counter
386 >>> c.clear() # empty the counter
388 Counter()
391 in the counter until the entry is deleted or the counter is cleared: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_threading.py | 18 # A trivial mutable counter.
19 class Counter(object):
82 numrunning = Counter()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/ |
HiiPack.c | 439 int Counter;
446 for (Counter = 0; Counter < Count2; Counter += 2) {
447 if ((Counter & 0xF) == 0) {
448 if (Counter == 0) {
463 if ((Counter & 0xF) == 0) {
464 if (Counter == 0) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
CoreEngine.cpp | 191 // Set the current block counter to being empty. 230 // Set the current block counter. 338 // Increment the block counter. 341 BlockCounter Counter = WList->getBlockCounter(); 342 Counter = BCounterFactory.IncrementCount(Counter, LC->getCurrentStackFrame(), 344 WList->setBlockCounter(Counter);
|
/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/guice/core/test/com/google/inject/internal/ |
ProxyFactoryTest.java | 174 ProxyFactory<Counter> factory 175 = new ProxyFactory<Counter>(InjectionPoint.forConstructorOf(Counter.class), aspects); 177 ConstructionProxy<Counter> constructor = factory.create(); 179 Counter counter = constructor.newInstance(); local 180 counter.inc(); 181 assertEquals(2, counter.count); 203 static class Counter {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
Counter.java | 26 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { 30 public Counter() { 34 public Counter(Comparator<T> comparator) { 68 public Counter<T> add(T obj, long countValue) { 84 public Counter<T> clear() { 136 int counter = 0; local 138 count_key.add(new Entry<T>(map.get(key), key, counter++)); 183 public Counter<T> addAll(Collection<T> keys, int delta) { 190 public Counter<T> addAll(Counter<T> keys) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
Counter.java | 23 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { 27 public Counter() { 31 public Counter(Comparator<T> comparator) { 65 public Counter<T> add(T obj, long countValue) { 81 public Counter<T> clear() { 133 int counter = 0; local 135 count_key.add(new Entry<T>(map.get(key), key, counter++)); 180 public Counter<T> addAll(Collection<T> keys, int delta) { 187 public Counter<T> addAll(Counter<T> keys) [all...] |