/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/simulator/ |
D | quic_endpoint_test.cc | 34 : simulator_(), switch_(&simulator_, "Switch", 8, kDefaultBdp * 2) {} in QuicEndpointTest() 38 Switch switch_; member in quic::simulator::QuicEndpointTest 60 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F() 61 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F() 95 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F() 96 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F() 134 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F() 135 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F() 181 auto link_a = CustomLink(endpoint_a.get(), switch_.port(1), 0); in TEST_F() 182 auto link_b = CustomLink(endpoint_b.get(), switch_.port(2), 1); in TEST_F() [all …]
|
D | test_harness.cc | 26 TestHarness::TestHarness() : switch_(&simulator_, "Switch", 8, 2 * kBdp) {} in TestHarness() 29 client_link_.emplace(client_, switch_.port(1), kClientBandwidth, in WireUpEndpoints() 31 server_link_.emplace(server_, switch_.port(2), kServerBandwidth, in WireUpEndpoints()
|
D | test_harness.h | 73 Switch switch_; variable
|
/external/perfetto/src/traced/probes/ftrace/ |
D | compact_sched.cc | 284 if (switch_.size() > 0 || waking_.size() > 0) { in WriteAndReset() 290 if (switch_.size() > 0) in WriteAndReset() 291 switch_.Write(compact_out); in WriteAndReset() 298 switch_.Reset(); in WriteAndReset()
|
D | compact_sched.h | 225 CompactSchedSwitchBuffer& sched_switch() { return switch_; } in sched_switch() 235 CompactSchedSwitchBuffer switch_; variable
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/ |
D | bbr_sender_test.cc | 143 std::unique_ptr<simulator::Switch> switch_; member in quic::test::BbrSenderTest 175 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateDefaultSetup() 178 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateDefaultSetup() 181 &receiver_, switch_->port(2), kTestLinkBandwidth, in CreateDefaultSetup() 187 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateSmallBufferSetup() 190 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateSmallBufferSetup() 193 &receiver_, switch_->port(2), kTestLinkBandwidth, in CreateSmallBufferSetup() 200 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateCompetitionSetup() 207 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateCompetitionSetup() 210 &competing_sender_, switch_->port(3), kLocalLinkBandwidth, in CreateCompetitionSetup() [all …]
|
D | send_algorithm_test.cc | 172 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateSetup() 175 &quic_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateSetup() 178 &receiver_, switch_->port(2), test_bandwidth, test_link_delay); in CreateSetup() 236 std::unique_ptr<simulator::Switch> switch_; member in quic::test::SendAlgorithmTest
|
D | bbr2_simulator_test.cc | 207 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", in CreateNetwork() 216 &sender_endpoint_, switch_->port(1), params.local_link.bandwidth, in CreateNetwork() 226 switch_->port(2)); in CreateNetwork() 232 &receiver_endpoint_, switch_->port(2), params.test_link.bandwidth, in CreateNetwork() 300 switch_->port_queue(1)->EnableAggregation(aggregation_bytes, in EnableAggregation() 353 std::unique_ptr<simulator::Switch> switch_; member in quic::test::Bbr2DefaultTopologyTest 1508 const simulator::Queue* queue = switch_->port_queue(2); in TEST_F() 2263 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", in CreateNetwork() 2268 receiver_multiplexer_.get(), switch_->port(1), in CreateNetwork() 2273 sender_endpoints_[i].get(), switch_->port(port_number), in CreateNetwork() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_control_flow_test.cc | 349 auto switch_ = in TEST() local 352 switch_.output_false); in TEST() 354 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST() 499 auto switch_ = in TEST() local 502 switch_.output_false); in TEST() 504 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST() 629 auto switch_ = in TEST() local 632 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST()
|
/external/tensorflow/tensorflow/core/ir/ |
D | tf_op_names.cc | 235 op_name == next_iteration_ || op_name == switch_ || in IsControlFlow() 915 return op_name == switch_ || op_name == switch_n_ || op_name == ref_switch_; in IsSwitch()
|
D | tf_op_names.inc | 428 StringAttr switch_; 718 switch_ = StringAttr::get(getContext(), "tfg.Switch");
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactor.cpp | 4001 auto switch_ = jit->builder->CreateSwitch(action, jit->coroutine.suspendBlock, 3); in promoteFunctionToCoroutine() local 4003 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionDestroy), jit->coroutine.destroyBlock); in promoteFunctionToCoroutine() 4090 auto switch_ = jit->builder->CreateSwitch(action, jit->coroutine.suspendBlock, 3); in yield() local 4091 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionResume), resumeBlock); in yield() 4092 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionDestroy), jit->coroutine.destroyBlock); in yield()
|