/external/chromium_org/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/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/vixl/src/a64/ |
D | instrument-a64.cc | 139 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() local 140 counters_.push_back(counter); in Instrument() 166 static Counter* counter = GetCounter("Instruction"); in Update() local 167 VIXL_ASSERT(counter->type() == Cumulative); in Update() 168 counter->Increment(); in Update() 170 if (counter->IsEnabled() && (counter->count() % sample_period_) == 0) { in Update() 212 static Counter* counter = GetCounter("Instruction"); in DumpEventMarker() local 215 (marker >> 8) & 0xff, counter->count()); in DumpEventMarker() 257 static Counter* counter = GetCounter("PC Addressing"); in VisitPCRelAddressing() local 258 counter->Increment(); in VisitPCRelAddressing() [all …]
|
/external/chromium_org/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/chromium_org/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 …]
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | counter_track.js | 45 get counter() { getter in CounterTrack 49 set counter(counter) { argument 50 this.counter_ = counter; 51 this.heading = counter.name + ': '; 85 var counter = this.counter_; 100 var numSeries = counter.numSeries; 101 var numSamples = counter.numSamples; 103 counter.timestamps, 109 var yScale = height / counter.maxTotal; 110 for (var seriesIndex = counter.numSeries - 1; [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | builtin-stat.c | 69 static void print_counter_aggr(struct perf_evsel *counter, char *prefix); 70 static void print_counter(struct perf_evsel *counter, char *prefix); 282 static void update_shadow_stats(struct perf_evsel *counter, u64 *count) in update_shadow_stats() argument 284 if (perf_evsel__match(counter, SOFTWARE, SW_TASK_CLOCK)) in update_shadow_stats() 286 else if (perf_evsel__match(counter, HARDWARE, HW_CPU_CYCLES)) in update_shadow_stats() 288 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_FRONTEND)) in update_shadow_stats() 290 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_BACKEND)) in update_shadow_stats() 292 else if (perf_evsel__match(counter, HARDWARE, HW_BRANCH_INSTRUCTIONS)) in update_shadow_stats() 294 else if (perf_evsel__match(counter, HARDWARE, HW_CACHE_REFERENCES)) in update_shadow_stats() 296 else if (perf_evsel__match(counter, HW_CACHE, HW_CACHE_L1D)) in update_shadow_stats() [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/chromium_org/third_party/mesa/src/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/chromium_org/components/autofill/core/browser/crypto/ |
D | rc4_decryptor.h | 70 short counter; in PrepareKey() local 73 for (counter = 0; counter < kKeyDataSize; ++counter) in PrepareKey() 74 state[counter] = static_cast<uint8>(counter); in PrepareKey() 78 for (counter = 0; counter < kKeyDataSize; counter++) { in PrepareKey() 79 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; in PrepareKey() 80 SwapByte(&state[counter], &state[index2]); in PrepareKey() 89 int counter; in RunInternal() local 94 for (counter = 0; counter < buffer_len; ++counter) { in RunInternal() 99 buffer[counter] ^= state[xor_index]; in RunInternal()
|
/external/chromium_org/net/disk_cache/blockfile/ |
D | 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); \ 54 base::HistogramBase* counter(NULL); \ 55 if (!counter || name != counter->histogram_name()) \ [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/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/libcxxabi/test/ |
D | unwind_06.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/chromium_org/media/base/ |
D | user_input_monitor_unittest.cc | 27 KeyboardEventCounter counter; in TEST() local 29 EXPECT_EQ(0u, counter.GetKeyPressCount()); in TEST() 31 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); in TEST() 32 EXPECT_EQ(1u, counter.GetKeyPressCount()); in TEST() 35 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); in TEST() 36 EXPECT_EQ(1u, counter.GetKeyPressCount()); in TEST() 39 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0); in TEST() 40 EXPECT_EQ(1u, counter.GetKeyPressCount()); in TEST() 42 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); in TEST() 43 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0); in TEST() [all …]
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/net/base/ |
D | mime_sniffer.cc | 296 base::HistogramBase* counter = in UMASnifferHistogramGet() local 299 return counter; in UMASnifferHistogramGet() 373 base::HistogramBase* counter, in CheckForMagicNumbers() argument 377 if (counter) counter->Add(static_cast<int>(i)); in CheckForMagicNumbers() 415 static base::HistogramBase* counter(NULL); in SniffForHTML() local 416 if (!counter) { in SniffForHTML() 417 counter = UMASnifferHistogramGet("mime_sniffer.kSniffableTags2", in SniffForHTML() 423 counter, result); in SniffForHTML() 435 static base::HistogramBase* counter(NULL); in SniffForMagicNumbers() local 436 if (!counter) { in SniffForMagicNumbers() [all …]
|
/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/chromium_org/components/nacl/renderer/ |
D | histogram.cc | 16 base::HistogramBase* counter = in HistogramCustomCounts() local 25 if (counter) in HistogramCustomCounts() 26 counter->Add(sample); in HistogramCustomCounts() 32 base::HistogramBase* counter = in HistogramEnumerate() local 39 counter->Add(sample); in HistogramEnumerate() 93 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( in HistogramTimeSmall() local 99 if (counter) in HistogramTimeSmall() 100 counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); in HistogramTimeSmall() 109 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( in HistogramTimeMedium() local 115 if (counter) in HistogramTimeMedium() [all …]
|
/external/chromium_org/tools/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 events = self.counter.IterEventsInThisContainer( 51 self.counter.timestamps = [111, 222] [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
D | popup.js | 23 chrome.tabs.sendRequest(tab.id, {counter: 1}, function handler(response) { property 24 if (response.counter < 1000) { 25 chrome.tabs.sendRequest(tab.id, {counter: response.counter}, handler); property 28 var usec = Math.round(timer.microseconds() / response.counter); 44 port.postMessage({counter: 1}); property 46 if (response.counter < 1000) { 47 port.postMessage({counter: response.counter}); property 50 var usec = Math.round(timer.microseconds() / response.counter);
|