/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Common/ |
ModuloUtil.c | 23 /** Counter = (Counter + 1) % MaxVal;
25 Counter is always expected to be LESS THAN MaxVal.
26 0 <= Counter < MaxVal
28 @param[in] Counter The value to be incremented.
31 @return Returns the result of incrementing Counter, modulus MaxVal.
32 If Counter >= MaxVal, returns -1.
37 UINT32 Counter,
43 if(Counter < MaxVal) {
44 Temp = (INT32)(Counter + 1); [all...] |
/external/protobuf/gtest/samples/ |
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/device/linaro/bootloader/edk2/StdLib/Include/Containers/ |
ModuloUtil.h | 25 /** Counter = (Counter + 1) % MaxVal;
27 Counter is always expected to be LESS THAN MaxVal.
28 0 <= Counter < MaxVal
30 @param[in] Counter The value to be incremented.
33 @return Returns the result of incrementing Counter, modulus MaxVal.
34 If Counter >= MaxVal, returns -1.
39 UINT32 Counter,
43 /** Counter = (Counter - 1) % MaxVal; [all...] |
/external/v8/src/arm64/ |
instrument-arm64.cc | 10 Counter::Counter(const char* name, CounterType type) 17 void Counter::Enable() { 22 void Counter::Disable() { 27 bool Counter::IsEnabled() { 32 void Counter::Increment() { 39 uint64_t Counter::count() { 42 // If the counter is a Gauge, reset the count after reading. 49 const char* Counter::name() { 54 CounterType Counter::type() 118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 145 static Counter* counter = GetCounter("Instruction"); local 191 static Counter* counter = GetCounter("Instruction"); local 235 static Counter* counter = GetCounter("PC Addressing"); local 257 static Counter* counter = GetCounter("Logical DP"); local 264 static Counter* counter = GetCounter("Move Immediate"); local 277 static Counter* counter = GetCounter("Other Int DP"); local 284 static Counter* counter = GetCounter("Other Int DP"); local 291 static Counter* counter = GetCounter("Unconditional Branch"); local 298 static Counter* counter = GetCounter("Unconditional Branch"); local 305 static Counter* counter = GetCounter("Compare and Branch"); local 312 static Counter* counter = GetCounter("Test and Branch"); local 319 static Counter* counter = GetCounter("Conditional Branch"); local 326 static Counter* counter = GetCounter("Other"); local 333 static Counter* counter = GetCounter("Other"); local 369 static Counter* counter = GetCounter("Load Literal"); local 460 static Counter* counter = GetCounter("Logical DP"); local 467 static Counter* counter = GetCounter("Add\/Sub DP"); local 489 static Counter* counter = GetCounter("Add\/Sub DP"); local 496 static Counter* counter = GetCounter("Conditional Compare"); local 503 static Counter* counter = GetCounter("Conditional Compare"); local 510 static Counter* counter = GetCounter("Conditional Select"); local 517 static Counter* counter = GetCounter("Other Int DP"); local 524 static Counter* counter = GetCounter("Other Int DP"); local 531 static Counter* counter = GetCounter("Other Int DP"); local 538 static Counter* counter = GetCounter("FP DP"); local 545 static Counter* counter = GetCounter("Conditional Compare"); local 552 static Counter* counter = GetCounter("Conditional Select"); local 559 static Counter* counter = GetCounter("FP DP"); local 566 static Counter* counter = GetCounter("FP DP"); local 573 static Counter* counter = GetCounter("FP DP"); local 580 static Counter* counter = GetCounter("FP DP"); local 587 static Counter* counter = GetCounter("FP DP"); local 594 static Counter* counter = GetCounter("FP DP"); local 601 static Counter* counter = GetCounter("Other"); local 608 static Counter* counter = GetCounter("Other"); local [all...] |
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.cc | 32 Counter::Counter(const char* name, CounterType type) 39 void Counter::Enable() { enabled_ = true; } 42 void Counter::Disable() { enabled_ = false; } 45 bool Counter::IsEnabled() { return enabled_; } 48 void Counter::Increment() { 55 uint64_t Counter::GetCount() { 58 // If the counter is a Gauge, reset the count after reading. 65 const char* Counter::GetName() { return name_; } 68 CounterType Counter::GetType() { return type_; 130 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 157 static Counter* counter = GetCounter("Instruction"); local 209 static Counter* counter = GetCounter("Instruction"); local 257 static Counter* counter = GetCounter("PC Addressing"); local 265 static Counter* counter = GetCounter("Add\/Sub DP"); local 273 static Counter* counter = GetCounter("Logical DP"); local 280 static Counter* counter = GetCounter("Move Immediate"); local 294 static Counter* counter = GetCounter("Other Int DP"); local 302 static Counter* counter = GetCounter("Other Int DP"); local 310 static Counter* counter = GetCounter("Unconditional Branch"); local 318 static Counter* counter = GetCounter("Unconditional Branch"); local 326 static Counter* counter = GetCounter("Compare and Branch"); local 334 static Counter* counter = GetCounter("Test and Branch"); local 342 static Counter* counter = GetCounter("Conditional Branch"); local 350 static Counter* counter = GetCounter("Other"); local 358 static Counter* counter = GetCounter("Other"); local 402 static Counter* counter = GetCounter("Other"); local 410 static Counter* counter = GetCounter("Load Literal"); local 489 static Counter* counter = GetCounter("Logical DP"); local 497 static Counter* counter = GetCounter("Add\/Sub DP"); local 505 static Counter* counter = GetCounter("Add\/Sub DP"); local 513 static Counter* counter = GetCounter("Add\/Sub DP"); local 521 static Counter* counter = GetCounter("Conditional Compare"); local 529 static Counter* counter = GetCounter("Conditional Compare"); local 537 static Counter* counter = GetCounter("Conditional Select"); local 545 static Counter* counter = GetCounter("Other Int DP"); local 553 static Counter* counter = GetCounter("Other Int DP"); local 561 static Counter* counter = GetCounter("Other Int DP"); local 569 static Counter* counter = GetCounter("FP DP"); local 577 static Counter* counter = GetCounter("Conditional Compare"); local 585 static Counter* counter = GetCounter("Conditional Select"); local 593 static Counter* counter = GetCounter("FP DP"); local 601 static Counter* counter = GetCounter("FP DP"); local 609 static Counter* counter = GetCounter("FP DP"); local 617 static Counter* counter = GetCounter("FP DP"); local 625 static Counter* counter = GetCounter("FP DP"); local 633 static Counter* counter = GetCounter("FP DP"); local 641 static Counter* counter = GetCounter("Crypto"); local 649 static Counter* counter = GetCounter("Crypto"); local 657 static Counter* counter = GetCounter("Crypto"); local 665 static Counter* counter = GetCounter("NEON"); local 673 static Counter* counter = GetCounter("NEON"); local 681 static Counter* counter = GetCounter("NEON"); local 689 static Counter* counter = GetCounter("NEON"); local 697 static Counter* counter = GetCounter("NEON"); local 705 static Counter* counter = GetCounter("NEON"); local 713 static Counter* counter = GetCounter("NEON"); local 721 static Counter* counter = GetCounter("NEON"); local 730 static Counter* counter = GetCounter("NEON"); local 738 static Counter* counter = GetCounter("NEON"); local 747 static Counter* counter = GetCounter("NEON"); local 755 static Counter* counter = GetCounter("NEON"); local 763 static Counter* counter = GetCounter("NEON"); local 771 static Counter* counter = GetCounter("NEON"); local 779 static Counter* counter = GetCounter("NEON"); local 787 static Counter* counter = GetCounter("NEON"); local 795 static Counter* counter = GetCounter("NEON"); local 803 static Counter* counter = GetCounter("NEON"); local 811 static Counter* counter = GetCounter("NEON"); local 819 static Counter* counter = GetCounter("NEON"); local 827 static Counter* counter = GetCounter("NEON"); local 835 static Counter* counter = GetCounter("NEON"); local 843 static Counter* counter = GetCounter("Other"); local 851 static Counter* counter = GetCounter("Other"); local [all...] |
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
|
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/ |
Counter.java | 22 * Session-scoped counter. 25 public class Counter {
|
Count.java | 24 final Counter counter; field in class:Count 29 public Count(Counter counter, Service service) { 30 this.counter = counter; 39 return counter.increment();
|
/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/javassist/sample/rmi/ |
Counter.java | 8 public class Counter {
25 web.exportObject("counter", new Counter());
30 "Usage: java sample.rmi.Counter <port number>");
|
/external/llvm/lib/ProfileData/Coverage/ |
CoverageMappingWriter.cpp | 38 void mark(Counter C) { 47 void gatherUsed(Counter C) { 69 /// \brief Adjust the given counter to correctly transition from the old 71 Counter adjust(Counter C) const { 73 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); 79 /// \brief Encode the counter. 83 /// Counter::Zero(0) - A Counter with kind Counter::Zer [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/ |
RtMemoryStatusCode.c | 176 UINTN Counter;
185 for (Counter = mStatusCodeMemoryPpi.FirstEntry; Counter != mStatusCodeMemoryPpi.LastEntry; Counter++) {
189 if (Counter == MaxEntry) {
190 Counter = 0;
195 CurrentEntry = (EFI_STATUS_CODE_ENTRY *) (UINTN) (mStatusCodeMemoryPpi.Address + (Counter * sizeof (EFI_STATUS_CODE_ENTRY)));
|
/prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
atomic.go | 13 type Counter uint64 24 var su struct{ Counter uint64 } 25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value" 26 z1 := atomic.AddUint64(&su.Counter, 1) 29 var sp struct{ Counter *uint64 } 30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value" 31 z2 := atomic.AddUint64(sp.Counter, 1)
|
/prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
atomic.go | 13 type Counter uint64 24 var su struct{ Counter uint64 } 25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value" 26 z1 := atomic.AddUint64(&su.Counter, 1) 29 var sp struct{ Counter *uint64 } 30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value" 31 z2 := atomic.AddUint64(sp.Counter, 1)
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
CallingConvEmitter.h | 33 unsigned Counter;
|
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
drv0.c | 100 UINTN Counter; 116 InternalGnuEfiAppsDrv0ProtocolData.Counter ++; 132 *NumberOfHello = InternalGnuEfiAppsDrv0ProtocolData.Counter; 164 InternalGnuEfiAppsDrv0ProtocolData.Counter = 0;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/comm/src/ |
omxVCCOMM_ExpandFrame_I_s.s | 68 Counter RN 12 92 MOV Temp, iFrameWidth ;// Outer loop counter 109 MOV Counter, iExpandPels ;// Inner loop counter 121 SUBS Counter, Counter, #8 140 MOV Counter, iExpandPels ;// Inner loop counter 152 SUBS Counter, Counter, # [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/coverage/ |
JacocoReportCheck.java | 101 Counter methodCnt = reportEntry.method().methodCounter(); 208 // Iterate through counter elements and add report entries 210 Counter instructionCnt = null; 211 Counter branchCnt = null; 212 Counter lineCnt = null; 213 Counter complexityCnt = null; 214 Counter methodCnt = null; 249 instructionCnt = new Counter(missed, covered); 251 branchCnt = new Counter(missed, covered); 253 lineCnt = new Counter(missed, covered) [all...] |
/external/llvm/include/llvm/ProfileData/Coverage/ |
CoverageMapping.h | 82 /// \brief A Counter is an abstract value that describes how to compute the 84 struct Counter { 95 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} 98 Counter() : Kind(Zero), ID(0) {} 110 friend bool operator==(const Counter &LHS, const Counter &RHS) { 114 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 118 friend bool operator<(const Counter &LHS, const Counter &RHS) [all...] |
/external/llvm/unittests/ProfileData/ |
CoverageMappingTest.cpp | 32 void PrintTo(const Counter &C, ::std::ostream *os) { 38 *os << "Counter " << C.getCounterID(); 144 void addCMR(Counter C, StringRef File, unsigned LS, unsigned CS, unsigned LE, 219 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); 220 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); 221 addCMR(Counter::getZero(), "foo", 3, 1, 3, 4); 222 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); 223 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); 251 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); 279 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
CountersTable.java | 35 * of which has a list of Counter objects. This really isn't a true 67 * Put a counter into the table and create an empty 142 Counter counter = (Counter) counters.elementAt(i); local 144 count = counter.getPreviouslyCounted(support, target); 155 // the backwards list (m_newFound) to the forwards list (counter.m_countNodes). 171 Counter counter = (Counter) counters.elementAt(i) local 197 Counter counter = new Counter(numberElem, new NodeSetDTM(support.getDTMManager())); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
Counter.java | 24 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { 28 public Counter() { 32 public Counter(Comparator<T> comparator) { 66 public Counter<T> add(T obj, long countValue) { 82 public Counter<T> clear() { 134 int counter = 0; local 136 count_key.add(new Entry<T>(map.get(key), key, counter++)); 181 public Counter<T> addAll(Collection<T> keys, int delta) { 188 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...] |
/external/clang/lib/CodeGen/ |
CoverageMappingGen.cpp | 37 /// \brief A region of source code that can be mapped to a counter. 39 Counter Count; 48 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, 52 const Counter &getCounter() const { return Count; } 54 void setCounter(Counter C) { Count = C; } 249 /// \brief Generate the coverage counter mapping regions from collected 345 SourceRegions.emplace_back(Counter(), Start, End); 378 /// \brief Return a counter for the subtraction of \c RHS from \c LHS 379 Counter subtractCounters(Counter LHS, Counter RHS) [all...] |