/external/gtest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/external/protobuf/gtest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/external/webkit/WebKit/android/WebCoreSupport/ |
V8Counters.cpp | 42 V8Counters::Counter::Counter(bool isHistogram) 45 void V8Counters::Counter::addSample(int sample) 51 HashMap<String, V8Counters::Counter*> V8Counters::m_counters; 56 Counter* counter = m_counters.get(name); local 57 if (!counter) { 58 counter = new Counter(false); 59 m_counters.add(name, counter); 68 Counter* counter = new Counter(true); local 76 Counter* counter = reinterpret_cast<Counter*>(histogram); local 100 Counter* counter = iter->second; local [all...] |
V8Counters.h | 41 // Counter callbacks, see v8.h 54 class Counter { 56 Counter(bool isHistogram); 70 static HashMap<String, Counter*> m_counters;
|
/external/webkit/WebCore/css/ |
Counter.idl | 23 interface Counter {
|
Counter.h | 29 class Counter : public RefCounted<Counter> { 31 static PassRefPtr<Counter> create(PassRefPtr<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator) 33 return adoptRef(new Counter(identifier, listStyle, separator)); 47 Counter(PassRefPtr<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator)
|
CSSPrimitiveValue.h | 31 class Counter; 149 Counter* getCounterValue(ExceptionCode&) const; 150 Counter* getCounterValue() const { return m_type != CSS_COUNTER ? 0 : m_value.counter; } 194 void init(PassRefPtr<Counter>); 208 Counter* counter; member in union:WebCore::CSSPrimitiveValue::__anon8180
|
CSSPrimitiveValue.idl | 64 Counter getCounterValue()
|
/libcore/luni/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...] |
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/v8/src/ |
d8.h | 41 // A single counter in a counter collection. 42 class Counter { 65 Counter* GetNextCounter(); 72 Counter counters_[kMaxCounters]; 79 Counter* Lookup(const char* name) { 85 return reinterpret_cast<Counter*>(answer->value); 87 void Set(const char* name, Counter* value) { 102 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); [all...] |
mksnapshot.cc | 46 // A single counter in a counter collection. 47 class Counter { 72 max_name_size_ = Counter::kMaxNameSize; 75 Counter* GetNextCounter() { 84 Counter counters_[kMaxCounters];
|
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/ |
EvHandler.h | 46 TI_UINT32 Counter;
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/EvHandler/ |
EvHandler.h | 48 UINT32 Counter;
|
EvHandler.c | 237 if (pEvHandler->SendEventArray.Counter == 0) 247 pEvHandler->SendEventArray.Counter--; 251 if (pEvHandler->SendEventArray.Counter != 0) 295 if(pEvHandler->SendEventArray.Counter == MAX_SEND_EVENTS){ 327 pEvHandler->SendEventArray.Counter++; 332 if (pEvHandler->SendEventArray.Counter == 1)
|
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/ |
EvHandler.h | 46 TI_UINT32 Counter;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 270 Counter [] countersNotYeld = new Counter[10]; 273 countersNotYeld[i] = new Counter(false); 275 Counter countersYeld = new Counter(true); 280 for(Counter c:countersNotYeld) { 281 assertTrue(countersYeld.counter == c.counter); 285 class Counter extends Thread { 286 public int counter = 0 field in class:OldThreadTest.Counter [all...] |
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
AtomicIntegerArrayTest.java | 267 class Counter implements Runnable { 270 Counter(AtomicIntegerArray a) { ai = a; } 297 Counter c1 = new Counter(ai); 298 Counter c2 = new Counter(ai);
|
AtomicLongArrayTest.java | 266 class Counter implements Runnable { 269 Counter(AtomicLongArray a) { ai = a; } 296 Counter c1 = new Counter(ai); 297 Counter c2 = new Counter(ai);
|
/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 75 # A mapping from counter names to the ui element that displays 79 # The counter collection used to access the counters file 101 print "\"%s\" is neither a counter file nor a PID." % self.data_name 109 print "Can't find counter file in maps for PID %s." % self.data_name 143 counter = self.data.Counter(i) 144 name = counter.Name( [all...] |
/external/webkit/WebCore/bindings/objc/ |
DOMUtility.mm | 106 WRAP(Counter)
|