/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | retry_util_unittest.py | 13 self.num_calls = 0 24 self.num_calls += 1 29 self.assertEqual(self.num_calls, 1) 35 self.num_calls += 1 42 self.assertEqual(self.num_calls, 6) 52 self.num_calls += 1 58 self.assertEqual(self.num_calls, 1) 64 self.num_calls += 1 70 self.assertEqual(self.num_calls, 11) 76 self.num_calls += 1 [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | call_options_test.cc | 23 int num_calls = 0; in TEST() local 26 EXPECT_EQ(num_calls, 0); in TEST() 27 opts.SetCancelCallback([&num_calls]() { num_calls++; }); in TEST() 28 EXPECT_EQ(num_calls, 0); in TEST() 30 EXPECT_EQ(num_calls, 1); in TEST() 32 EXPECT_EQ(num_calls, 2); in TEST() 34 EXPECT_EQ(num_calls, 2); in TEST() 36 EXPECT_EQ(num_calls, 2); in TEST()
|
/external/libchrome/dbus/ |
D | object_proxy_unittest.cc | 41 int* num_calls, in OnServiceIsAvailable() argument 44 (*num_calls)++; in OnServiceIsAvailable() 62 int num_calls = 0; in TEST_F() local 65 base::Bind(&OnServiceIsAvailable, &service_is_available, &num_calls)); in TEST_F() 67 EXPECT_EQ(0, num_calls); in TEST_F() 73 num_calls = 0; in TEST_F() 75 EXPECT_EQ(1, num_calls); in TEST_F() 81 num_calls = 0; in TEST_F() 83 EXPECT_EQ(0, num_calls); in TEST_F() 87 num_calls = 0; in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | basic_loops_test.py | 43 num_calls = [0] 46 num_calls[0] += 1 49 if num_calls[0] == 3: 56 self.assertEqual(3, num_calls[0]) 80 self.num_calls = 0 84 self.num_calls += 1 85 if self.num_calls % 3 == 2:
|
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/ |
D | map_and_batch_benchmark.py | 82 def name(method, label, num_calls, inter_op, element_size, batch_size): argument 86 num_calls, 95 def make_dataset(element_size, num_calls, batch_size): # pylint: disable=missing-docstring argument 102 num_parallel_calls=num_calls).batch(batch_size=batch_size) 107 for num_calls, inter_op, element_size, batch_size in series: 109 (element_size * batch_size) // min(num_calls, inter_op)) 111 chained_dataset = make_dataset(element_size, num_calls, batch_size) 121 name=name("chained", label, num_calls, inter_op, element_size, 135 name=name("fused", label, num_calls, inter_op, element_size,
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | xplane_to_tf_data_stats_test.cc | 132 num_calls: 1 143 num_calls: 1 158 num_calls: 1 169 num_calls: 1 258 num_calls: 1 in TEST() 269 num_calls: 1 in TEST() 284 num_calls: 1 in TEST() 390 num_calls: 1 401 num_calls: 2
|
/external/tensorflow/tensorflow/python/eager/ |
D | remote_cluster_test.py | 309 num_calls = 30 314 for i in range(num_calls): 322 for _ in range(num_calls): 367 num_calls = 10 375 for i in range(num_calls): 383 for i in range(num_calls): 390 t1_results = [None] * num_calls 391 t2_results = [None] * num_calls 411 num_calls = 10 422 for i in range(num_calls): [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/rand_extra/ |
D | deterministic.c | 41 uint64_t num_calls = g_num_calls++; in CRYPTO_sysrand() local 46 OPENSSL_memcpy(nonce, &num_calls, sizeof(num_calls)); in CRYPTO_sysrand()
|
/external/boringssl/src/crypto/rand_extra/ |
D | deterministic.c | 41 uint64_t num_calls = g_num_calls++; in CRYPTO_sysrand() local 46 OPENSSL_memcpy(nonce, &num_calls, sizeof(num_calls)); in CRYPTO_sysrand()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/eager/ |
D | grpc_eager_client_test.cc | 39 const int num_calls = 10; in TEST() local 40 BlockingCounter counter(num_calls); in TEST() 42 for (int i = 0; i < num_calls; i++) { in TEST()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_rtl.cpp | 37 static atomic_uint32_t num_calls; in MemprofDie() local 38 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie() 58 static atomic_uint32_t num_calls; in MemprofCheckFailed() local 59 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) == 0) { in MemprofCheckFailed()
|
/external/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module_unittest.cc | 125 int num_calls() const { in num_calls() function in webrtc::PacketizationCallbackStubOldApi 294 EXPECT_EQ(i / k10MsBlocksPerPacket, packet_cb_.num_calls()); in TEST_F() 295 if (packet_cb_.num_calls() > 0) in TEST_F() 300 EXPECT_EQ(kLoops / k10MsBlocksPerPacket, packet_cb_.num_calls()); in TEST_F() 315 EXPECT_EQ(j, packet_cb_.num_calls()); in TEST_F() 318 EXPECT_EQ(j + 1, packet_cb_.num_calls()); in TEST_F() 332 EXPECT_EQ(kNumPackets1 + j, packet_cb_.num_calls()); in TEST_F() 335 EXPECT_EQ(kNumPackets1 + j + 1, packet_cb_.num_calls()); in TEST_F() 392 int num_calls_before = packet_cb_.num_calls(); in DoTest() 395 int num_calls = packet_cb_.num_calls(); in DoTest() local [all …]
|
/external/grpc-grpc/test/cpp/server/load_reporter/ |
D | load_data_store_test.cc | 439 EXPECT_EQ(value_for_key1.call_metrics().find(kMetric1)->second.num_calls(), in TEST_F() 440 v1.call_metrics().find(kMetric1)->second.num_calls() + in TEST_F() 441 v3.call_metrics().find(kMetric1)->second.num_calls()); in TEST_F() 446 EXPECT_EQ(value_for_key1.call_metrics().find(kMetric2)->second.num_calls(), in TEST_F() 447 v3.call_metrics().find(kMetric2)->second.num_calls()); in TEST_F() 461 EXPECT_EQ(value_for_key2.call_metrics().find(kMetric1)->second.num_calls(), in TEST_F() 462 v2.call_metrics().find(kMetric1)->second.num_calls()); in TEST_F() 466 EXPECT_EQ(value_for_key2.call_metrics().find(kMetric2)->second.num_calls(), in TEST_F() 467 v2.call_metrics().find(kMetric2)->second.num_calls()); in TEST_F()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_termination.cc | 72 static atomic_uint32_t num_calls; in CheckFailed() local 73 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) > 10) { in CheckFailed()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_termination.cpp | 71 static atomic_uint32_t num_calls; in CheckFailed() local 72 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) > 10) { in CheckFailed()
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
D | load_data_store.h | 46 explicit CallMetricValue(uint64_t num_calls = 0, 48 : num_calls_(num_calls), total_metric_value_(total_metric_value) {} in num_calls_() argument 56 uint64_t num_calls() const { return num_calls_; } in num_calls() function 136 LoadRecordValue(grpc::string metric_name, uint64_t num_calls,
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/load_reporter/ |
D | load_data_store.h | 46 explicit CallMetricValue(uint64_t num_calls = 0, 48 : num_calls_(num_calls), total_metric_value_(total_metric_value) {} in num_calls_() argument 56 uint64_t num_calls() const { return num_calls_; } in num_calls() function 136 LoadRecordValue(std::string metric_name, uint64_t num_calls,
|
/external/webrtc/modules/audio_processing/aec3/ |
D | block_framer_unittest.cc | 341 for (size_t num_calls = 0; num_calls < 4; ++num_calls) { in TEST() local 346 << num_calls; in TEST() 349 RunWronglyInsertOrderTest(rate, num_channels, num_calls); in TEST()
|
D | frame_blocker_unittest.cc | 415 for (size_t num_calls = 0; num_calls < 4; ++num_calls) { in TEST() local 420 << num_calls; in TEST() 423 RunWrongExtractOrderTest(rate, num_channels, num_calls); in TEST()
|
/external/libchrome/base/test/ |
D | scoped_feature_list.cc | 216 static int num_calls = 0; in InitAndEnableFeatureWithParameters() local 217 ++num_calls; in InitAndEnableFeatureWithParameters() 219 "scoped_feature_list_trial_name" + base::NumberToString(num_calls); in InitAndEnableFeatureWithParameters()
|
/external/boringssl/src/tool/ |
D | speed.cc | 67 unsigned num_calls; member 75 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, in Print() 77 (static_cast<double>(num_calls) / us) * 1000000); in Print() 87 num_calls, description.c_str(), us, in PrintWithBytes() 88 (static_cast<double>(num_calls) / us) * 1000000, in PrintWithBytes() 89 static_cast<double>(bytes_per_call * num_calls) / us); in PrintWithBytes() 101 description.c_str(), num_calls, us); in PrintJSON() 187 results->num_calls = done; in TimeFunction() 292 unsigned num_calls = 0; in SpeedRSAKeyGen() local 307 num_calls++; in SpeedRSAKeyGen() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/tool/ |
D | speed.cc | 66 unsigned num_calls; member 74 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, in Print() 76 (static_cast<double>(num_calls) / us) * 1000000); in Print() 86 num_calls, description.c_str(), us, in PrintWithBytes() 87 (static_cast<double>(num_calls) / us) * 1000000, in PrintWithBytes() 88 static_cast<double>(bytes_per_call * num_calls) / us); in PrintWithBytes() 100 description.c_str(), num_calls, us); in PrintJSON() 186 results->num_calls = done; in TimeFunction() 291 unsigned num_calls = 0; in SpeedRSAKeyGen() local 306 num_calls++; in SpeedRSAKeyGen() [all …]
|
/external/toolchain-utils/afdo_tools/bisection/ |
D | afdo_prof_analysis_e2e_test.py | 191 num_calls = int(f.read()) 198 for i in range(2 * num_calls + 1): 220 for ctr in range(start, num_calls):
|
/external/webrtc/modules/audio_coding/neteq/ |
D | expand_unittest.cc | 177 int num_calls = 0; in ExpandUntilMuted() local 179 ASSERT_LT(num_calls++, 1000) << "Test timed out"; in ExpandUntilMuted()
|
/external/bcc/tools/lib/ |
D | ucalls.py | 268 (kv[1].num_calls, kv[1].total_ns)), 280 (kv[1].num_calls, kv[1].total_ns)),
|