HomeSort by relevance Sort by last modified time
    Searched refs:counter (Results 1 - 25 of 695) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/io/
CountingInputStreamTest.java 29 private CountingInputStream counter; field in class:CountingInputStreamTest
33 counter = new CountingInputStream(new ByteArrayInputStream(new byte[20]));
37 assertEquals(0, counter.getCount());
38 assertEquals(0, counter.read());
39 assertEquals(1, counter.getCount());
43 assertEquals(10, counter.read(new byte[10]));
44 assertEquals(10, counter.getCount());
48 assertEquals(3, counter.read(new byte[10], 1, 3));
49 assertEquals(3, counter.getCount());
53 assertEquals(10, counter.skip(10))
    [all...]
CountingOutputStreamTest.java 31 CountingOutputStream counter = new CountingOutputStream(out); local
33 assertEquals(written, counter.getCount());
35 counter.write(0);
38 assertEquals(written, counter.getCount());
41 counter.write(data);
44 assertEquals(written, counter.getCount());
46 counter.write(data, 0, 5);
49 assertEquals(written, counter.getCount());
51 counter.write(data, 2, 5);
54 assertEquals(written, counter.getCount())
    [all...]
  /external/chromium_org/content/browser/media/capture/
desktop_capture_device_uma_types.cc 14 void IncrementDesktopCaptureCounter(DesktopCaptureCounters counter) {
16 counter,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DSAValidationParameters.java 9 private int counter; field in class:DSAValidationParameters
13 int counter)
15 this(seed, counter, -1);
20 int counter,
24 this.counter = counter;
30 return counter;
45 return counter ^ Arrays.hashCode(seed);
58 if (other.counter != this.counter)
    [all...]
DHValidationParameters.java 8 private int counter; field in class:DHValidationParameters
12 int counter)
15 this.counter = counter;
20 return counter;
38 if (other.counter != this.counter)
48 return counter ^ Arrays.hashCode(seed);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_perf.h 71 /** Increment the named counter (only for debug builds) */
73 #define LP_COUNT(counter) lp_count.counter++
74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr)
75 #define LP_COUNT_GET(counter) (lp_count.counter)
77 #define LP_COUNT(counter)
78 #define LP_COUNT_ADD(counter, incr) (void)(incr)
79 #define LP_COUNT_GET(counter)
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_perf.h 71 /** Increment the named counter (only for debug builds) */
73 #define LP_COUNT(counter) lp_count.counter++
74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr)
75 #define LP_COUNT_GET(counter) (lp_count.counter)
77 #define LP_COUNT(counter)
78 #define LP_COUNT_ADD(counter, incr) (void)(incr)
79 #define LP_COUNT_GET(counter)
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/
T_monitor_enter_1.java 20 public int counter = 0; field in class:T_monitor_enter_1
24 int a = counter;
26 counter = ++a;
  /external/chromium-trace/trace-viewer/src/tracing/tracks/
counter_track.css 6 .counter-track {
  /external/compiler-rt/test/BlocksRuntime/
dispatch_async.c 20 __block CFIndex counter; local
25 counter = 0;
31 counter++;
34 counter--;
35 if(counter == 0) {
40 if(counter == 0) {
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_time.h 58 int64_t counter; member in struct:util_time
66 t->counter = os_time_get();
79 t2->counter = t1->counter + usecs;
91 return t2->counter - t1->counter;
105 if (t1->counter < t2->counter)
107 else if(t1->counter > t2->counter)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_time.h 58 int64_t counter; member in struct:util_time
66 t->counter = os_time_get();
79 t2->counter = t1->counter + usecs;
91 return t2->counter - t1->counter;
105 if (t1->counter < t2->counter)
107 else if(t1->counter > t2->counter)
    [all...]
  /development/ndk/platforms/android-3/arch-arm/include/asm/
atomic.h 17 typedef struct { volatile int counter; } atomic_t; member in struct:__anon1260
  /external/clang/test/PCH/
cxx1y-init-captures.cpp 11 auto counter = [a(0)] () mutable { return a++; }; variable
12 int x = counter();
20 int y = counter();
  /external/chromium_org/media/base/
user_input_monitor_unittest.cc 27 KeyboardEventCounter counter; local
29 EXPECT_EQ(0u, counter.GetKeyPressCount());
31 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0);
32 EXPECT_EQ(1u, counter.GetKeyPressCount());
35 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0);
36 EXPECT_EQ(1u, counter.GetKeyPressCount());
39 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0);
40 EXPECT_EQ(1u, counter.GetKeyPressCount());
42 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0);
43 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0)
    [all...]
  /external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/
ftsp.py 3 counter = 0 variable
25 global counter
26 self.count = counter
27 counter = counter + 1
31 global counter
32 counter =
  /external/chromium_org/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
375 static Counter* counter = GetCounter("Load Literal"); local
441 static Counter* counter = GetCounter("Logical DP"); local
448 static Counter* counter = GetCounter("Add\/Sub DP"); local
470 static Counter* counter = GetCounter("Add\/Sub DP"); local
477 static Counter* counter = GetCounter("Conditional Compare"); local
484 static Counter* counter = GetCounter("Conditional Compare"); local
491 static Counter* counter = GetCounter("Conditional Select"); local
498 static Counter* counter = GetCounter("Other Int DP"); local
505 static Counter* counter = GetCounter("Other Int DP"); local
512 static Counter* counter = GetCounter("Other Int DP"); local
519 static Counter* counter = GetCounter("FP DP"); local
526 static Counter* counter = GetCounter("Conditional Compare"); local
533 static Counter* counter = GetCounter("Conditional Select"); local
540 static Counter* counter = GetCounter("FP DP"); local
547 static Counter* counter = GetCounter("FP DP"); local
554 static Counter* counter = GetCounter("FP DP"); local
561 static Counter* counter = GetCounter("FP DP"); local
568 static Counter* counter = GetCounter("FP DP"); local
575 static Counter* counter = GetCounter("FP DP"); local
582 static Counter* counter = GetCounter("Other"); local
589 static Counter* counter = GetCounter("Other"); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResolverStats.h 73 #define INCREMENT_STYLE_STATS_COUNTER(resolver, counter) ((resolver).stats() && ++(resolver).stats()-> counter && (resolver).statsTotals()-> counter ++);
  /external/ltrace/testsuite/ltrace.main/
branch_func.c 46 int counter = 0; local
49 counter += func1(i);
50 return counter;
  /external/oprofile/daemon/
opd_events.h 3 * Event details for each counter
23 unsigned long counter; member in struct:opd_event
36 /** Find the event for the given counter */
37 struct opd_event * find_counter_event(unsigned long counter);
42 void fill_header(struct opd_header * header, unsigned long counter,
opd_mangling.h 22 * @param counter counter number
25 * Open image sample file for the sfile, counter
26 * counter and set up memory mappings for it.
31 struct sfile * sf, int counter, int cg);
  /external/chromium_org/components/autofill/core/browser/crypto/
rc4_decryptor.h 70 short counter; local
73 for (counter = 0; counter < kKeyDataSize; ++counter)
74 state[counter] = static_cast<uint8>(counter);
78 for (counter = 0; counter < kKeyDataSize; counter++) {
79 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize
89 int counter; local
    [all...]
  /external/chromium_org/net/disk_cache/blockfile/
histogram_macros_v3.h 22 base::HistogramBase* counter(NULL); \
23 if (!counter || name != counter->histogram_name()) \
24 counter = base::Histogram::FactoryGet( \
27 counter->Add(sample); \
41 base::HistogramBase* counter(NULL); \
42 if (!counter || name != counter->histogram_name()) \
43 counter = base::Histogram::FactoryTimeGet( \
46 counter->AddTime(sample);
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/timeline/
counter_unittest.py 8 from telemetry.timeline import counter as counter_module
19 self.counter = counter_module.Counter(parent, 'cat', 'name')
26 self.assertIsEmptyIterator(self.counter.IterEventsInThisContainer(
31 self.counter.timestamps = [111, 222]
32 self.assertIsEmptyIterator(self.counter.IterEventsInThisContainer(
37 self.counter.timestamps = [111, 222]
38 self.assertIsEmptyIterator(self.counter.IterEventsInThisContainer(
43 self.counter.timestamps = [111, 222]
44 events = self.counter.IterEventsInThisContainer
    [all...]
  /development/ndk/platforms/android-9/include/sys/
eventfd.h 39 /* type of event counter */
45 extern int eventfd_read(int fd, eventfd_t *counter);
46 extern int eventfd_write(int fd, const eventfd_t counter);

Completed in 1162 milliseconds

1 2 3 4 5 6 7 8 91011>>