/external/chromium_org/extensions/renderer/api/serial/ |
D | serial_api_unittest.cc | 108 size_t num_calls() const { return calls_; } in num_calls() function in extensions::__anon207414ab0111::TestIoHandlerBase 137 if (num_calls() >= arraysize(expected_signals)) in SetControlSignals() 140 EXPECT_EQ(expected_signals[num_calls()].has_dtr, signals.has_dtr); in SetControlSignals() 141 EXPECT_EQ(expected_signals[num_calls()].dtr, signals.dtr); in SetControlSignals() 142 EXPECT_EQ(expected_signals[num_calls()].has_rts, signals.has_rts); in SetControlSignals() 143 EXPECT_EQ(expected_signals[num_calls()].rts, signals.rts); in SetControlSignals() 162 signals->dcd = num_calls() & 1; in GetControlSignals() 163 signals->cts = num_calls() & 2; in GetControlSignals() 164 signals->ri = num_calls() & 4; in GetControlSignals() 165 signals->dsr = num_calls() & 8; in GetControlSignals() [all …]
|
/external/chromium_org/third_party/boringssl/src/tool/ |
D | speed.cc | 46 unsigned num_calls; member 51 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, in Print() 53 (static_cast<double>(num_calls) / us) * 1000000); in Print() 58 num_calls, description.c_str(), us, in PrintWithBytes() 59 (static_cast<double>(num_calls) / us) * 1000000, in PrintWithBytes() 60 static_cast<double>(bytes_per_call * num_calls) / us); in PrintWithBytes() 129 results->num_calls = done; in TimeFunction()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
D | audio_coding_module_unittest.cc | 98 int num_calls() const { in num_calls() function in webrtc::PacketizationCallbackStub 221 int num_calls = 0; in TEST_F() local 223 time_ms += kFrameSizeMs, ++num_calls) { in TEST_F() 228 EXPECT_EQ(num_calls, stats.calls_to_silence_generator); in TEST_F() 243 for (int num_calls = 0; num_calls < kNumNormalCalls; ++num_calls) { in TEST_F() local 337 if (packet_cb_.num_calls() > kNumPackets) { in TestDone() 458 last_packet_number_ = packet_cb_.num_calls() - 1; in SetUp() 474 int num_calls = packet_cb_.num_calls(); // Store locally for thread safety. in InsertPacket() local 475 if (num_calls > last_packet_number_) { in InsertPacket() 483 last_packet_number_ = num_calls; in InsertPacket() [all …]
|
D | audio_coding_module_unittest_oldapi.cc | 97 int num_calls() const { in num_calls() function in webrtc::PacketizationCallbackStub 218 int num_calls = 0; in TEST_F() local 220 time_ms += kFrameSizeMs, ++num_calls) { in TEST_F() 225 EXPECT_EQ(num_calls, stats.calls_to_silence_generator); in TEST_F() 239 for (int num_calls = 0; num_calls < kNumNormalCalls; ++num_calls) { in TEST_F() local 337 if (packet_cb_.num_calls() > kNumPackets) { in TestDone() 459 last_packet_number_ = packet_cb_.num_calls() - 1; in SetUp() 476 int num_calls = packet_cb_.num_calls(); // Store locally for thread safety. in InsertPacket() local 477 if (num_calls > last_packet_number_) { in InsertPacket() 485 last_packet_number_ = num_calls; in InsertPacket() [all …]
|
/external/chromium_org/ppapi/tests/ |
D | test_test_internals.cc | 38 int num_calls() const { return num_calls_; } in num_calls() function in __anon2072beef0111::CallCounter 265 assert(call_counter1.num_calls() == 1); in TestEvaluateOnce() 266 assert(call_counter2.num_calls() == 1); in TestEvaluateOnce() 272 assert(call_counter1.num_calls() == 1); in TestEvaluateOnce() 273 assert(call_counter2.num_calls() == 1); in TestEvaluateOnce()
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | receive_statistics_unittest.cc | 235 void ExpectMatches(uint32_t num_calls, in ExpectMatches() argument 242 EXPECT_EQ(num_calls, num_calls_); in ExpectMatches()
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 39 static atomic_uint32_t num_calls; in AsanDie() local 40 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in AsanDie()
|
D | asan_report.cc | 552 static atomic_uint32_t num_calls; in ScopedInErrorReport() local 554 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in ScopedInErrorReport()
|