/external/dbus/dbus/ |
H A D | dbus-resources.c | 58 long size_value; /**< current size counter value */ 59 long unix_fd_value; /**< current unix fd counter value */ 62 long peak_size_value; /**< largest ever size counter value */ 63 long peak_unix_fd_value; /**< largest ever unix fd counter value */ 85 * @returns new counter or #NULL on failure 90 DBusCounter *counter; local 92 counter = dbus_new0 (DBusCounter, 1); 93 if (counter == NULL) 96 counter->refcount = 1; 98 return counter; 108 _dbus_counter_ref(DBusCounter *counter) argument 124 _dbus_counter_unref(DBusCounter *counter) argument 148 _dbus_counter_adjust_size(DBusCounter *counter, long delta) argument 182 _dbus_counter_notify(DBusCounter *counter) argument 202 _dbus_counter_adjust_unix_fd(DBusCounter *counter, long delta) argument 234 _dbus_counter_get_size_value(DBusCounter *counter) argument 246 _dbus_counter_get_unix_fd_value(DBusCounter *counter) argument 263 _dbus_counter_set_notify(DBusCounter *counter, long size_guard_value, long unix_fd_guard_value, DBusCounterNotifyFunction function, void *user_data) argument 278 _dbus_counter_get_peak_size_value(DBusCounter *counter) argument 284 _dbus_counter_get_peak_unix_fd_value(DBusCounter *counter) argument [all...] |
H A D | dbus-resources.h | 34 typedef void (* DBusCounterNotifyFunction) (DBusCounter *counter, 38 DBusCounter* _dbus_counter_ref (DBusCounter *counter); 39 void _dbus_counter_unref (DBusCounter *counter); 41 void _dbus_counter_adjust_size (DBusCounter *counter, 43 void _dbus_counter_adjust_unix_fd (DBusCounter *counter, 45 void _dbus_counter_notify (DBusCounter *counter); 46 long _dbus_counter_get_size_value (DBusCounter *counter); 47 long _dbus_counter_get_unix_fd_value (DBusCounter *counter); 49 void _dbus_counter_set_notify (DBusCounter *counter, 56 long _dbus_counter_get_peak_size_value (DBusCounter *counter); [all...] |
/external/v8/test/mjsunit/compiler/ |
H A D | deopt-tonumber-binop.js | 15 var counter = 0; variable 19 counter++; 24 counter++; 28 counter = 0; 30 assertEquals(2, counter); 33 counter = 0; 35 assertEquals(2, counter); 38 counter = 0; 40 assertEquals(2, counter);
|
H A D | deopt-tonumber-shift.js | 15 var counter = 0; variable 19 counter++; 24 counter++; 28 counter = 0; 30 assertEquals(2, counter); 33 counter = 0; 35 assertEquals(2, counter); 38 counter = 0; 40 assertEquals(2, counter);
|
H A D | inline-construct.js | 34 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...] |
H A D | deopt-tonumber-compare.js | 20 var counter = 0; variable 26 counter++; 33 assertEquals(1, counter); 36 assertEquals(2, counter); 40 assertEquals(3, counter); 44 assertEquals(4, counter);
|
/external/v8/test/mjsunit/regress/ |
H A D | string-fromcharcode-sideeffect.js | 5 var counter = 0; variable 6 var a = { valueOf: function() { counter++; return 0x100; } }; 8 assertEquals(3, counter);
|
H A D | regress-469605b.js | 5 function counter() { function 25 assertThrows(function() { f(0, counter(), counter()); }); 26 assertThrows(function() { f(1, counter(), counter()); });
|
H A D | regress-612412.js | 7 function counter() { return {x: 0} || this } function 19 g = (function() { f((Array), counter()); });
|
H A D | regress-2438.js | 29 var counter = 0; 30 var side_effect_object = { valueOf: function() { return counter++; } }; 33 assertEquals(1, counter); 37 assertEquals(2, counter);
|
H A D | regress-469605.js | 5 function counter() { function 13 var c1 = counter(); 14 var c2 = counter(); 30 var c3 = counter();
|
H A D | regress-379770.js | 8 var counter = 1; 10 counter += obj; 11 return counter;
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | 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 [all...] |
H A D | CountingOutputStreamTest.java | 31 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | 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) 11 DSAValidationParameters( byte[] seed, int counter) argument 18 DSAValidationParameters( byte[] seed, int counter, int usageIndex) argument [all...] |
H A D | 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); 10 DHValidationParameters( byte[] seed, int counter) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | 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/clang/test/PCH/ |
H A D | cxx1y-init-captures.cpp | 11 auto counter = [a(0)] () mutable { return a++; }; variable 12 int x = counter(); 20 int y = counter();
|
/external/tlsdate/tests/subproc-retry/ |
H A D | subproc.sh | 6 if [ $(counter "runs") -lt 3 ]; then
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
H A D | ProbeCounterTest.java | 27 private ProbeCounter counter; field in class:ProbeCounterTest 31 counter = new ProbeCounter(); 36 assertFalse(counter.hasMethods()); 37 assertEquals(0, counter.getCount()); 42 counter.visitTotalProbeCount(42); 43 assertEquals(42, counter.getCount()); 48 assertNull(counter.visitMethod(0, "<clinit>", null, null, null)); 49 assertFalse(counter.hasMethods()); 54 assertNull(counter.visitMethod(0, "foo", null, null, null)); 55 assertTrue(counter [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
H A D | dispatch_async.c | 20 __block CFIndex counter; local 25 counter = 0; 31 counter++; 34 counter--; 35 if(counter == 0) { 40 if(counter == 0) {
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | 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/vixl/src/vixl/a64/ |
H A D | instrument-a64.cc | 63 // If the counter is a Gauge, reset the count after reading. 139 // Construct Counter objects from counter description array. 141 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 142 counters_.push_back(counter); 153 // Free all the counter objects. 166 // Increment the instruction counter, and dump all counters if a sample period 168 static Counter* counter = GetCounter("Instruction"); local 169 VIXL_ASSERT(counter->type() == Cumulative); 170 counter->Increment(); 172 if ((sample_period_ != 0) && counter 215 static Counter* counter = GetCounter("Instruction"); local 260 static Counter* counter = GetCounter("PC Addressing"); local 268 static Counter* counter = GetCounter("Add/Sub DP"); local 276 static Counter* counter = GetCounter("Logical DP"); local 283 static Counter* counter = GetCounter("Move Immediate"); local 297 static Counter* counter = GetCounter("Other Int DP"); local 305 static Counter* counter = GetCounter("Other Int DP"); local 313 static Counter* counter = GetCounter("Unconditional Branch"); local 321 static Counter* counter = GetCounter("Unconditional Branch"); local 329 static Counter* counter = GetCounter("Compare and Branch"); local 337 static Counter* counter = GetCounter("Test and Branch"); local 345 static Counter* counter = GetCounter("Conditional Branch"); local 353 static Counter* counter = GetCounter("Other"); local 361 static Counter* counter = GetCounter("Other"); local 405 static Counter* counter = GetCounter("Other"); local 413 static Counter* counter = GetCounter("Load Literal"); local 484 static Counter* counter = GetCounter("Logical DP"); local 492 static Counter* counter = GetCounter("Add/Sub DP"); local 500 static Counter* counter = GetCounter("Add/Sub DP"); local 508 static Counter* counter = GetCounter("Add/Sub DP"); local 516 static Counter* counter = GetCounter("Conditional Compare"); local 524 static Counter* counter = GetCounter("Conditional Compare"); local 532 static Counter* counter = GetCounter("Conditional Select"); local 540 static Counter* counter = GetCounter("Other Int DP"); local 548 static Counter* counter = GetCounter("Other Int DP"); local 556 static Counter* counter = GetCounter("Other Int DP"); local 564 static Counter* counter = GetCounter("FP DP"); local 572 static Counter* counter = GetCounter("Conditional Compare"); local 580 static Counter* counter = GetCounter("Conditional Select"); local 588 static Counter* counter = GetCounter("FP DP"); local 596 static Counter* counter = GetCounter("FP DP"); local 604 static Counter* counter = GetCounter("FP DP"); local 612 static Counter* counter = GetCounter("FP DP"); local 620 static Counter* counter = GetCounter("FP DP"); local 628 static Counter* counter = GetCounter("FP DP"); local 636 static Counter* counter = GetCounter("Crypto"); local 644 static Counter* counter = GetCounter("Crypto"); local 652 static Counter* counter = GetCounter("Crypto"); local 660 static Counter* counter = GetCounter("NEON"); local 668 static Counter* counter = GetCounter("NEON"); local 676 static Counter* counter = GetCounter("NEON"); local 684 static Counter* counter = GetCounter("NEON"); local 692 static Counter* counter = GetCounter("NEON"); local 700 static Counter* counter = GetCounter("NEON"); local 708 static Counter* counter = GetCounter("NEON"); local 716 static Counter* counter = GetCounter("NEON"); local 725 static Counter* counter = GetCounter("NEON"); local 733 static Counter* counter = GetCounter("NEON"); local 742 static Counter* counter = GetCounter("NEON"); local 750 static Counter* counter = GetCounter("NEON"); local 758 static Counter* counter = GetCounter("NEON"); local 766 static Counter* counter = GetCounter("NEON"); local 774 static Counter* counter = GetCounter("NEON"); local 782 static Counter* counter = GetCounter("NEON"); local 790 static Counter* counter = GetCounter("NEON"); local 798 static Counter* counter = GetCounter("NEON"); local 806 static Counter* counter = GetCounter("NEON"); local 814 static Counter* counter = GetCounter("NEON"); local 822 static Counter* counter = GetCounter("NEON"); local 830 static Counter* counter = GetCounter("NEON"); local 838 static Counter* counter = GetCounter("Other"); local 846 static Counter* counter = GetCounter("Other"); local [all...] |
/external/tlsdate/tests/run-routeup/ |
H A D | subproc.sh | 5 c=$(counter "runs")
|
/external/tlsdate/tests/wait-idle/ |
H A D | subproc.sh | 11 c=$(counter "runs")
|