/external/v8/test/webkit/ |
D | legitimately-captured-argument-expected.txt | 29 PASS counter() is 1 30 PASS counter() is 2 31 PASS counter() is 3 32 PASS counter() is 4 33 PASS counter() is 5 34 PASS counter() is 6 35 PASS counter() is 7 36 PASS counter() is 8 37 PASS counter() is 9 38 PASS counter() is 10 [all …]
|
/external/dbus/dbus/ |
D | dbus-resources.c | 90 DBusCounter *counter; in _dbus_counter_new() local 92 counter = dbus_new0 (DBusCounter, 1); in _dbus_counter_new() 93 if (counter == NULL) in _dbus_counter_new() 96 counter->refcount = 1; in _dbus_counter_new() 98 return counter; in _dbus_counter_new() 108 _dbus_counter_ref (DBusCounter *counter) in _dbus_counter_ref() argument 110 _dbus_assert (counter->refcount > 0); in _dbus_counter_ref() 112 counter->refcount += 1; in _dbus_counter_ref() 114 return counter; in _dbus_counter_ref() 124 _dbus_counter_unref (DBusCounter *counter) in _dbus_counter_unref() argument [all …]
|
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/vixl/src/vixl/a64/ |
D | instrument-a64.cc | 141 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() local 142 counters_.push_back(counter); in Instrument() 168 static Counter* counter = GetCounter("Instruction"); in Update() local 169 VIXL_ASSERT(counter->type() == Cumulative); in Update() 170 counter->Increment(); in Update() 172 if ((sample_period_ != 0) && counter->IsEnabled() in Update() 173 && (counter->count() % sample_period_) == 0) { in Update() 215 static Counter* counter = GetCounter("Instruction"); in DumpEventMarker() local 218 (marker >> 8) & 0xff, counter->count()); in DumpEventMarker() 260 static Counter* counter = GetCounter("PC Addressing"); in VisitPCRelAddressing() local [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CountingInputStreamTest.java | 29 private CountingInputStream counter; field in CountingInputStreamTest 33 counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); in setUp() 37 assertEquals(0, counter.getCount()); in testReadSingleByte() 38 assertEquals(0, counter.read()); in testReadSingleByte() 39 assertEquals(1, counter.getCount()); in testReadSingleByte() 43 assertEquals(10, counter.read(new byte[10])); in testReadArray() 44 assertEquals(10, counter.getCount()); in testReadArray() 48 assertEquals(3, counter.read(new byte[10], 1, 3)); in testReadArrayRange() 49 assertEquals(3, counter.getCount()); in testReadArrayRange() 53 assertEquals(10, counter.skip(10)); in testSkip() [all …]
|
D | CountingOutputStreamTest.java | 31 CountingOutputStream counter = new CountingOutputStream(out); in testCount() local 33 assertEquals(written, counter.getCount()); in testCount() 35 counter.write(0); in testCount() 38 assertEquals(written, counter.getCount()); in testCount() 41 counter.write(data); in testCount() 44 assertEquals(written, counter.getCount()); in testCount() 46 counter.write(data, 0, 5); in testCount() 49 assertEquals(written, counter.getCount()); in testCount() 51 counter.write(data, 2, 5); in testCount() 54 assertEquals(written, counter.getCount()); in testCount() [all …]
|
/external/v8/src/arm64/ |
D | instrument-arm64.cc | 118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() local 119 counters_.push_back(counter); in Instrument() 145 static Counter* counter = GetCounter("Instruction"); in Update() local 146 DCHECK(counter->type() == Cumulative); in Update() 147 counter->Increment(); in Update() 149 if (counter->IsEnabled() && (counter->count() % sample_period_) == 0) { in Update() 191 static Counter* counter = GetCounter("Instruction"); in DumpEventMarker() local 194 (marker >> 8) & 0xff, counter->count()); in DumpEventMarker() 235 static Counter* counter = GetCounter("PC Addressing"); in VisitPCRelAddressing() local 236 counter->Increment(); in VisitPCRelAddressing() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenerCallQueueTest.java | 46 AtomicInteger counter = new AtomicInteger(); in testAddAndExecute() local 47 queue.add(incrementingCallback(counter, 1)); in testAddAndExecute() 48 queue.add(incrementingCallback(counter, 2)); in testAddAndExecute() 49 queue.add(incrementingCallback(counter, 3)); in testAddAndExecute() 50 queue.add(incrementingCallback(counter, 4)); in testAddAndExecute() 51 assertEquals(0, counter.get()); in testAddAndExecute() 53 assertEquals(4, counter.get()); in testAddAndExecute() 61 AtomicInteger counter = new AtomicInteger(); in testAddAndExecute_withExceptions() local 62 queue.add(incrementingCallback(counter, 1)); in testAddAndExecute_withExceptions() 64 queue.add(incrementingCallback(counter, 2)); in testAddAndExecute_withExceptions() [all …]
|
/external/v8/test/mjsunit/compiler/ |
D | inline-construct.js | 34 var counter = { value:0 }; variable in TestInlinedConstructor 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) { argument [all …]
|
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);
|
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);
|
/external/llvm/test/Transforms/PlaceSafepoints/ |
D | finite-loops.ll | 20 %counter = phi i32 [ 0 , %entry ], [ %counter.inc , %loop ] 21 %counter.inc = add i32 %counter, 1 22 %counter.cmp = icmp slt i32 %counter.inc, 16 23 br i1 %counter.cmp, label %loop, label %exit 42 %counter = phi i32 [ 0 , %entry ], [ %counter.inc , %continue ] 43 %counter.inc = add i32 %counter, 1 44 %counter.cmp = icmp slt i32 %counter.inc, 16 48 br i1 %counter.cmp, label %loop, label %exit 67 %counter = phi i8 [ 0 , %entry ], [ %counter.inc , %loop ] 68 %counter.inc = add nsw i8 %counter, 1 [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_time.h | 58 int64_t counter; member 66 t->counter = os_time_get(); in util_time_get() 79 t2->counter = t1->counter + usecs; in util_time_add() 91 return t2->counter - t1->counter; in util_time_diff() 105 if (t1->counter < t2->counter) in _util_time_compare() 107 else if(t1->counter > t2->counter) in _util_time_compare() 123 return os_time_timeout(start->counter, end->counter, curr->counter); in util_time_timeout()
|
/external/tcpdump/tests/ |
D | sflow_multiple_counter_30_pdus.out | 3 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 55, records 2 4 enterprise 0, Generic counter (1) length 88 11 enterprise 0, Ethernet counter (2) length 52 15 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 56, records 2 16 enterprise 0, Generic counter (1) length 88 23 enterprise 0, Ethernet counter (2) length 52 27 expanded counter sample (4), length 172, seqnum 87099, type 0, idx 57, records 2 28 enterprise 0, Generic counter (1) length 88 35 enterprise 0, Ethernet counter (2) length 52 39 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 60, records 2 [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | SICBlockCipher.java | 24 private byte[] counter; field in SICBlockCipher 40 this.counter = new byte[blockSize]; in SICBlockCipher() 104 cipher.processBlock(counter, 0, counterOut, 0); in calculateByte() 111 if (byteCount == counter.length) in calculateByte() 130 if (counter[i] != IV[i]) in checkCounter() 140 int i = counter.length - pos; in incrementCounterAt() 143 if (++counter[i] != 0) in incrementCounterAt() 152 byte old = counter[counter.length - 1]; in incrementCounter() 154 counter[counter.length - 1] += offSet; in incrementCounter() 156 if (old != 0 && counter[counter.length - 1] < old) in incrementCounter() [all …]
|
/external/libcxxabi/test/ |
D | unwind_06.pass.cpp | 21 volatile int counter; variable 26 for (counter = 100; counter; --counter) in try1() 36 for (counter = 100; counter; --counter) in try2() 47 for (counter = 100; counter; --counter) in try3() 59 for (counter = 100; counter; --counter) in try4() 72 for (counter = 100; counter; --counter) in try5() 86 for (counter = 100; counter; --counter) in try6() 101 for (counter = 100; counter; --counter) in try7() 117 for (counter = 100; counter; --counter) in try8()
|
/external/iputils/ |
D | tftpsubs.c | 62 int counter; /* size of data in buffer, or flag */ member 89 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ in rw_init() 91 bfs[1].counter = BF_FREE; in rw_init() 104 bfs[current].counter = BF_FREE; /* free old one */ in readit() 108 if (b->counter == BF_FREE) /* if it's empty */ in readit() 111 assert(b->counter != BF_FREE); /* check */ in readit() 114 return b->counter; in readit() 130 if (b->counter != BF_FREE) /* nop if not free */ in read_ahead() 137 b->counter = read(fileno(file), dp->th_data, SEGSIZE); in read_ahead() 160 b->counter = (int)(p - dp->th_data); in read_ahead() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | threading.h | 60 template <typename T> class counter { 193 …counter(const char *name = "", VkDebugReportObjectTypeEXT type = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNO… 204 counter<VkCommandBuffer> c_VkCommandBuffer; 205 counter<VkDevice> c_VkDevice; 206 counter<VkInstance> c_VkInstance; 207 counter<VkQueue> c_VkQueue; 209 counter<VkBuffer> c_VkBuffer; 210 counter<VkBufferView> c_VkBufferView; 211 counter<VkCommandPool> c_VkCommandPool; 212 counter<VkDescriptorPool> c_VkDescriptorPool; [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | DSAValidationParameters.java | 9 private int counter; field in DSAValidationParameters 13 int counter) in DSAValidationParameters() argument 15 this(seed, counter, -1); in DSAValidationParameters() 20 int counter, in DSAValidationParameters() argument 24 this.counter = counter; in DSAValidationParameters() 30 return counter; in getCounter() 45 return counter ^ Arrays.hashCode(seed); in hashCode() 58 if (other.counter != this.counter) in equals()
|
D | DHValidationParameters.java | 8 private int counter; field in DHValidationParameters 12 int counter) in DHValidationParameters() argument 15 this.counter = counter; in DHValidationParameters() 20 return counter; in getCounter() 38 if (other.counter != this.counter) in equals() 48 return counter ^ Arrays.hashCode(seed); in hashCode()
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
D | 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 self.counter.samples = [100, 200] 45 events = self.counter.IterEventsInThisContainer( [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
D | ProbeCounterTest.java | 27 private ProbeCounter counter; field in ProbeCounterTest 31 counter = new ProbeCounter(); in setup() 36 assertFalse(counter.hasMethods()); in testInitial() 37 assertEquals(0, counter.getCount()); in testInitial() 42 counter.visitTotalProbeCount(42); in testVisitTotalProbeCount() 43 assertEquals(42, counter.getCount()); in testVisitTotalProbeCount() 48 assertNull(counter.visitMethod(0, "<clinit>", null, null, null)); in testVisitClinitMethod() 49 assertFalse(counter.hasMethods()); in testVisitClinitMethod() 54 assertNull(counter.visitMethod(0, "foo", null, null, null)); in testVisitMethod() 55 assertTrue(counter.hasMethods()); in testVisitMethod()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_perf.h | 73 #define LP_COUNT(counter) lp_count.counter++ argument 74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr) argument 75 #define LP_COUNT_GET(counter) (lp_count.counter) argument 77 #define LP_COUNT(counter) argument 78 #define LP_COUNT_ADD(counter, incr) (void)(incr) argument 79 #define LP_COUNT_GET(counter) 0 argument
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_psk_common.c | 38 u8 counter = 1; in eap_psk_derive_keys() local 44 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 47 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 48 counter++; in eap_psk_derive_keys() 51 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 54 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 55 counter++; in eap_psk_derive_keys() 59 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 63 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 64 counter++; in eap_psk_derive_keys()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/ |
D | PerlTest.java | 39 int counter = 0; in testMaps() local 55 counter++; in testMaps() 57 assertEquals(4, counter); in testMaps() 58 assertEquals(0, CodeBean.counter); in testMaps() 77 int counter = 0; in testJavaBeanWithTypeDescription() local 83 counter++; in testJavaBeanWithTypeDescription() 85 assertEquals(4, counter); in testJavaBeanWithTypeDescription() 86 assertEquals(55, CodeBean.counter); in testJavaBeanWithTypeDescription() 94 int counter = 0; in testJavaBean() local 100 counter++; in testJavaBean() [all …]
|