Home
last modified time | relevance | path

Searched refs:sim (Results 1 – 25 of 153) sorted by relevance

1234567

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_offload.py639 fail(dev["ifname"] != sim["ifname"],
640 "Ifname incorrect %s vs %s" % (dev["ifname"], sim["ifname"]))
679 def test_spurios_extack(sim, obj, skip_hw, needle): argument
680 res = sim.cls_bpf_add_filter(obj, prio=1, handle=1, skip_hw=skip_hw,
683 res = sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1,
686 res = sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf",
690 def test_multi_prog(simdev, sim, obj, modename, modeid): argument
693 sim.set_xdp(obj, "offload")
694 xdp = sim.ip_link_show(xdp=True)["xdp"]
695 offloaded = sim.dfs_read("bpf_offloaded_id")
[all …]
/external/pcre/dist2/
DRunTest204 sim=
275 sim|-sim) shift; sim=$1;;
308 $sim ./pcre2test -C linksize >/dev/null
322 $sim ./pcre2test -S 64 /dev/null /dev/null
332 $sim ./pcre2test -C pcre2-8 >/dev/null
334 $sim ./pcre2test -C pcre2-16 >/dev/null
336 $sim ./pcre2test -C pcre2-32 >/dev/null
341 $sim ./pcre2test -C backslash-C >/dev/null
393 $sim ./pcre2test -C unicode >/dev/null
401 $sim ./pcre2test -C jit >/dev/null
[all …]
/external/vixl/test/aarch64/
Dtest-pointer-auth-aarch64.cc40 Simulator sim(&decoder); in TEST() local
47 uint64_t pac1 = sim.ComputePAC(data1, context, key); in TEST()
48 uint64_t pac2 = sim.ComputePAC(data2, context, key); in TEST()
57 Simulator sim(&decoder); in TEST() local
65 sim.AddPAC(ptr, context, key_a, Simulator::kInstructionPointer); in TEST()
69 sim.AuthPAC(ptr_a, context, key_a, Simulator::kInstructionPointer); in TEST()
71 sim.AuthPAC(ptr_a, context, key_b, Simulator::kInstructionPointer); in TEST()
74 sim.CalculatePACMask(ptr, Simulator::kInstructionPointer, 0); in TEST()
85 Simulator sim(&decoder); in TEST() local
89 sim.CalculatePACMask(ptr, Simulator::kInstructionPointer, 0); in TEST()
[all …]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dcollect_data.py27 from . import simulation as sim unknown
31 sim.ApmModuleSimulator.GetPrefixApmConfig() + r'(.+)')
33 sim.ApmModuleSimulator.GetPrefixCapture() + r'(.+)')
35 sim.ApmModuleSimulator.GetPrefixRender() + r'(.+)')
37 sim.ApmModuleSimulator.GetPrefixEchoSimulator() + r'(.+)')
39 sim.ApmModuleSimulator.GetPrefixTestDataGenerator() + r'(.+)')
41 sim.ApmModuleSimulator.GetPrefixTestDataGeneratorParameters() + r'(.+)')
43 sim.ApmModuleSimulator.GetPrefixScore() + r'(.+)(\..+)')
236 sim.ApmModuleSimulator.GetPrefixApmConfig() + '*',
237 sim.ApmModuleSimulator.GetPrefixCapture() + '*',
[all …]
/external/autotest/client/site_tests/cellular_SIMLocking/
Dcontrol.pseudomodem22 - Attempt to enable SIM lock with incorrect sim-pin. Verify that the
26 - Attempt to unlock a pin-locked SIM with incorrect sim-pin, until it gets
29 - Attempt to unblock a puk-locked SIM with incorrect sim-puk, until the SIM
30 gets blocked. At this point, a sim-pin2 might be expected by some SIMs. This
31 test does not attempt to unlock the SIM using sim-pin2.
32 - Test the functionality to change sim-pin.
/external/autotest/client/cros/cellular/pseudomodem/
Dmodem.py77 self.sim = None
311 def SetSIM(self, sim): argument
321 self.sim = sim
322 if not sim:
325 val = sim.path
326 self.sim.SetBus(self.bus)
327 self.sim.modem = self
350 if not self.sim:
355 self.sim.lock_type)
357 self.sim.unlock_retries)
[all …]
Dmodem_3gpp.py159 if not self.sim or self.sim.locked:
169 dbus.types.UInt32(self.sim.enabled_locks)),
183 if not self.sim:
196 sim_props = self.sim.GetAll(mm1_constants.I_SIM)
203 'access-technology': dbus.types.UInt32(self.sim.access_technology)
272 self.sim.enabled_locks)
275 def SetSIM(self, sim): argument
285 modem.Modem.SetSIM(self, sim)
380 assert self.sim
384 self.sim.Get(mm1_constants.I_SIM, 'OperatorIdentifier')):
[all …]
/external/bcc/examples/networking/distributed_bridge/
Dmain.py81 sim = TunnelSimulation(ipdb) variable
82 sim.start()
84 for p in sim.processes: p.communicate(b"\n")
87 for p in sim.processes: p.kill(); p.wait(); p.release()
90 if "sim" in locals(): sim.release()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dscheduler.cc230 Sim* sim = device_states_[event.node->assigned_device_name()]; in ComputeSchedule() local
231 --sim->num_running; in ComputeSchedule()
259 Sim* sim = device_states_[event.node->assigned_device_name()]; in ComputeSchedule() local
260 sim->ready_nodes.push_back(event.node); in ComputeSchedule()
264 Sim* sim = x.second; in ComputeSchedule() local
265 while (sim->num_running < sim->degree_parallelism && in ComputeSchedule()
266 !sim->ready_nodes.empty()) { in ComputeSchedule()
268 e.node = GetNodeWithHighestPriority(sim->ready_nodes); in ComputeSchedule()
273 ++sim->num_running; in ComputeSchedule()
/external/autotest/client/site_tests/cellular_ActivateLTE/files/
Dmodems.py11 from autotest_lib.client.cros.cellular.pseudomodem import sim
73 class TestSIM(sim.SIM):
83 sim.SIM.__init__(
85 sim.SIM.Carrier('test'),
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/
Dmain.cpp22 strint_map sim; in main() local
23 sim["world"] = 42; in main()
32 simter simI = sim.begin(); in main()
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/
Dmain.cpp22 strint_map sim; in main() local
23 sim["world"] = 42; in main()
32 simter simI = sim.begin(); in main()
/external/autotest/client/site_tests/cellular_Identifiers/
Dcellular_Identifiers.py10 from autotest_lib.client.cros.cellular.pseudomodem import sim
18 class TestSIM(sim.SIM):
21 sim.SIM.__init__(self,
22 sim.SIM.Carrier('att'),
/external/autotest/client/site_tests/cellular_ServiceName/
Dcellular_ServiceName.py13 from autotest_lib.client.cros.cellular.pseudomodem import sim
52 class TestSIM(sim.SIM):
58 carrier = sim.SIM.Carrier()
63 sim.SIM.__init__(self, carrier,
/external/bcc/examples/networking/tunnel_monitor/
Dmain.py79 sim = TunnelSimulation(ipdb) variable
80 sim.start()
81 sim.serve_http()
85 sim.release()
/external/bcc/tests/python/
Dtest_brb2.py70 sim = Simulation(ipdb) variable
148 (ns1_ipdb, self.ns1_eth_out, _) = sim._create_ns(self.ns1, ipaddr=self.vm1_ip+'/24',
151 (ns2_ipdb, self.ns2_eth_out, _) = sim._create_ns(self.ns2, ipaddr=self.vm2_ip+'/24',
157 … (_, self.nsrtr_eth0_out, _) = sim._create_ns(self.ns_router, ipaddr=self.vm1_rtr_ip+'/24',
159 … (rt_ipdb, self.nsrtr_eth1_out, _) = sim._ns_add_ifc(self.ns_router, "eth1", "ns_router2",
197 sim.release()
Dtest_brb.py77 sim = Simulation(ipdb) variable
160 (ns1_ipdb, self.ns1_eth_out, _) = sim._create_ns(self.ns1, ipaddr=self.vm1_ip+'/24',
163 (ns2_ipdb, self.ns2_eth_out, _) = sim._create_ns(self.ns2, ipaddr=self.vm2_ip+'/24',
171 … (_, self.nsrtr_eth0_out, _) = sim._create_ns(self.ns_router, ipaddr=self.vm1_rtr_ip+'/24',
174 … (rt_ipdb, self.nsrtr_eth1_out, _) = sim._ns_add_ifc(self.ns_router, "eth1", "ns_router2",
215 sim.release()
/external/webrtc/test/time_controller/
Dsimulated_time_controller_unittest.cc131 GlobalSimulatedTimeController sim(kStartTime); in TEST() local
132 auto main_thread = sim.GetMainThread(); in TEST()
133 auto t2 = sim.CreateThread("thread", nullptr); in TEST()
148 sim.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
/external/bcc/examples/networking/neighbor_sharing/
Dtc_neighbor_sharing.py67 sim = SharedNetSimulation(ipdb) variable
68 sim.start()
75 if "sim" in locals(): sim.release()
/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.py78 sim = VlanSimulation(ipdb) variable
79 sim.start()
95 if "sim" in locals(): sim.release()
/external/llvm-project/lldb/unittests/Platform/
DPlatformAppleSimulatorTest.cpp60 for (auto sim : sim_platforms) { in TEST_F() local
62 arch.GetTriple().setOS(sim); in TEST_F()
/external/autotest/client/deps/lansim/src/py/
Dhost.py29 def __init__(self, sim, hw_addr, ip_addr): argument
36 self._sim = sim
49 sim.add_match(rule, self.arp_request)
53 sim.add_match(rule, self.arp_request)
/external/llvm-project/clang/test/SemaCXX/
Dcxx1z-decomposition.cpp10 auto &[sre, sim] = scf; in decompose_complex()
13 static_assert(&sim == &__imag scf); in decompose_complex()
/external/mesa3d/docs/gallium/
Dtgsi.rst1215 dst.x = \sim src.x
1217 dst.y = \sim src.y
1219 dst.z = \sim src.z
1221 dst.w = \sim src.w
1394 dst.x = (src0.x < src1.x) ? \sim 0 : 0
1396 dst.y = (src0.y < src1.y) ? \sim 0 : 0
1398 dst.z = (src0.z < src1.z) ? \sim 0 : 0
1400 dst.w = (src0.w < src1.w) ? \sim 0 : 0
1407 dst.x = (src0.x < src1.x) ? \sim 0 : 0
1409 dst.y = (src0.y < src1.y) ? \sim 0 : 0
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.c48 } sim; member
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal], in eap_sim_db_sim_resp_auth()
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal], in eap_sim_db_sim_resp_auth()
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal], in eap_sim_db_sim_resp_auth()
520 entry->u.sim.num_chal = num_chal; in eap_sim_db_sim_resp_auth()
964 "%d challenges", entry->u.sim.num_chal); in eap_sim_db_get_gsm_triplets()
965 num_chal = entry->u.sim.num_chal; in eap_sim_db_get_gsm_triplets()
968 os_memcpy(_rand, entry->u.sim.rand, num_chal * GSM_RAND_LEN); in eap_sim_db_get_gsm_triplets()
969 os_memcpy(sres, entry->u.sim.sres, in eap_sim_db_get_gsm_triplets()
971 os_memcpy(kc, entry->u.sim.kc, num_chal * EAP_SIM_KC_LEN); in eap_sim_db_get_gsm_triplets()

1234567