Searched refs:counter (Results 1 - 25 of 810) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/io/
H A DCountingInputStreamTest.java29 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
[all...]
H A DCountingOutputStreamTest.java31 CountingOutputStream counter = new CountingOutputStream(out);
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
[all...]
/external/chromium_org/content/browser/media/capture/
H A Ddesktop_capture_device_uma_types.cc14 void IncrementDesktopCaptureCounter(DesktopCaptureCounters counter) { argument
16 counter,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDSAValidationParameters.java9 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)
11 DSAValidationParameters( byte[] seed, int counter) argument
18 DSAValidationParameters( byte[] seed, int counter, int usageIndex) argument
[all...]
H A DDHValidationParameters.java8 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);
10 DHValidationParameters( byte[] seed, int counter) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_perf.h71 /** 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/
H A Dlp_perf.h71 /** 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/clang/test/PCH/
H A Dcxx1y-init-captures.cpp11 auto counter = [a(0)] () mutable { return a++; }; variable
12 int x = counter();
20 int y = counter();
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dcounter_track.css6 .counter-track {
H A Dcounter_track.js24 ui.define('counter-track', tracing.tracks.HeadingTrack);
32 this.classList.add('counter-track');
45 get counter() {
49 set counter(counter) {
50 this.counter_ = counter;
51 this.heading = counter.name + ': ';
85 var counter = this.counter_;
100 var numSeries = counter.numSeries;
101 var numSamples = counter
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
H A Dpage.js7 port.postMessage({counter: msg.counter+1});
13 sendResponse({counter: request.counter+1});
H A Dpopup.js23 chrome.tabs.sendRequest(tab.id, {counter: 1}, function handler(response) {
24 if (response.counter < 1000) {
25 chrome.tabs.sendRequest(tab.id, {counter: response.counter}, handler);
28 var usec = Math.round(timer.microseconds() / response.counter);
44 port.postMessage({counter: 1});
46 if (response.counter < 1000) {
47 port.postMessage({counter: response.counter});
50 var usec = Math.round(timer.microseconds() / response.counter);
[all...]
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dinline-construct.js34 var counter = { value:0 };
38 result = closure(constructor, 11, noDeopt, counter);
40 assertEquals(1, counter.value);
42 result = closure(constructor, 23, noDeopt, counter);
44 assertEquals(2, counter.value);
47 result = closure(constructor, 42, noDeopt, counter);
49 assertEquals(3, counter.value);
51 result = closure(constructor, 127, forceDeopt, counter);
53 assertEquals(4, counter.value);
60 function value_context(constructor, val, deopt, counter) {
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2438.js29 var counter = 0;
30 var side_effect_object = { valueOf: function() { return counter++; } };
33 assertEquals(1, counter);
37 assertEquals(2, counter);
41 assertEquals(3, counter);
45 assertEquals(4, counter);
H A Dregress-379770.js8 var counter = 1;
12 counter += obj;
13 return counter;
/external/compiler-rt/test/BlocksRuntime/
H A Ddispatch_async.c20 __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/
H A Du_time.h58 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/
H A Du_time.h58 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/qemu/telephony/
H A Dtest1.c17 static int counter = 0; variable
25 ++counter;
26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. );
27 if (counter < MAX_COUNTER)
/external/vixl/src/a64/
H A Dinstrument-a64.cc63 // If the counter is a Gauge, reset the count after reading.
137 // Construct Counter objects from counter description array.
139 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local
140 counters_.push_back(counter);
151 // Free all the counter objects.
164 // Increment the instruction counter, and dump all counters if a sample period
166 static Counter* counter = GetCounter("Instruction"); local
167 VIXL_ASSERT(counter->type() == Cumulative);
168 counter->Increment();
170 if (counter
212 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
406 static Counter* counter = GetCounter("Load Literal"); local
473 static Counter* counter = GetCounter("Logical DP"); local
481 static Counter* counter = GetCounter("Add/Sub DP"); local
489 static Counter* counter = GetCounter("Add/Sub DP"); local
497 static Counter* counter = GetCounter("Add/Sub DP"); local
505 static Counter* counter = GetCounter("Conditional Compare"); local
513 static Counter* counter = GetCounter("Conditional Compare"); local
521 static Counter* counter = GetCounter("Conditional Select"); local
529 static Counter* counter = GetCounter("Other Int DP"); local
537 static Counter* counter = GetCounter("Other Int DP"); local
545 static Counter* counter = GetCounter("Other Int DP"); local
553 static Counter* counter = GetCounter("FP DP"); local
561 static Counter* counter = GetCounter("Conditional Compare"); local
569 static Counter* counter = GetCounter("Conditional Select"); local
577 static Counter* counter = GetCounter("FP DP"); local
585 static Counter* counter = GetCounter("FP DP"); 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("Other"); local
633 static Counter* counter = GetCounter("Other"); local
[all...]
/external/chromium_org/media/base/
H A Duser_input_monitor_unittest.cc27 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
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/
H A Dftsp.py3 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/
H A Dinstrument-arm64.cc42 // If the counter is a Gauge, reset the count after reading.
116 // Construct Counter objects from counter description array.
118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local
119 counters_.push_back(counter);
130 // Free all the counter objects.
143 // Increment the instruction counter, and dump all counters if a sample period
145 static Counter* counter = GetCounter("Instruction"); local
146 DCHECK(counter->type() == Cumulative);
147 counter->Increment();
149 if (counter
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/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_psk_common.c38 u8 counter = 1; local
44 hash[aes_block_size - 1] ^= counter;
47 hash[aes_block_size - 1] ^= counter;
48 counter++;
51 hash[aes_block_size - 1] ^= counter;
54 hash[aes_block_size - 1] ^= counter;
55 counter++;
59 hash[aes_block_size - 1] ^= counter;
63 hash[aes_block_size - 1] ^= counter;
64 counter
[all...]
/external/wpa_supplicant_8/src/eap_common/
H A Deap_psk_common.c38 u8 counter = 1; local
44 hash[aes_block_size - 1] ^= counter;
47 hash[aes_block_size - 1] ^= counter;
48 counter++;
51 hash[aes_block_size - 1] ^= counter;
54 hash[aes_block_size - 1] ^= counter;
55 counter++;
59 hash[aes_block_size - 1] ^= counter;
63 hash[aes_block_size - 1] ^= counter;
64 counter
[all...]

Completed in 1101 milliseconds

1234567891011>>