/external/autotest/client/tests/kvm/tests/ |
D | virtio_console.py | 206 @param vm: virtual machine object that port owned 542 def _init_guest(vm, timeout=10): argument 546 @param vm: Informations about the guest. 551 vm[0].name) 556 vm, timeout) 561 (vm[0].name, match, data)) 563 vm[0].name) 564 vm[1].sendline() 568 vm, timeout) 572 (vm[0].name, match, data)) [all …]
|
D | nic_hotplug.py | 23 vm = virt_test_utils.get_living_vm(env, params.get("main_vm")) 26 session = virt_test_utils.wait_for_login(vm, timeout=timeout) 34 def netdev_add(vm): argument 39 attach_cmd += ",script=%s" % virt_utils.get_path(vm.root_dir, 45 vm.monitor.cmd(attach_cmd) 47 network = vm.monitor.info("network") 54 def netdev_del(vm, n_id): argument 55 vm.monitor.cmd("netdev_del %s" % n_id) 57 network = vm.monitor.info("network") 62 def nic_add(vm, model, netdev_id, mac, rom=None): argument [all …]
|
D | ksm_overcommit.py | 20 def _start_allocator(vm, session, timeout): argument 24 @param vm: VM object. 25 @param session: Remote session to a VM object. 29 logging.debug("Starting ksm_overcommit_guest.py on guest %s", vm.name) 34 e_msg = ("Command ksm_overcommit_guest.py on vm '%s' failed: %s" % 35 (vm.name, str(e))) 39 def _execute_allocator(command, vm, session, timeout): argument 42 indicating the vm the command was executed on. 45 @param vm: VM object. 46 @param session: Remote session to VM object. [all …]
|
D | stop_continue.py | 9 1) Boot the vm 10 2) Suspend the vm through stop command 19 vm = env.get_vm(params["main_vm"]) 20 vm.verify_alive() 22 session = vm.wait_for_login(timeout=timeout) 25 logging.info("Stop the VM") 26 vm.monitor.cmd("stop") 27 logging.info("Verifying the status of VM is 'paused'") 28 vm.verify_status("paused") 35 vm.monitor.cmd("cont") [all …]
|
D | stepmaker.py | 25 def __init__(self, vm, steps_filename, tempdir, params): argument 28 self.vm = vm 88 self.vm.monitor.cmd("cont") 115 # Resume the VM 116 self.vm.monitor.cmd("cont") 130 # Stop the VM 131 self.vm.monitor.cmd("stop") 142 self.vm.monitor.screendump(self.screendump_filename, debug=False) 153 if not self.vm.is_alive(): 154 self.message("The VM doesn't seem to be alive.", "Error") [all …]
|
D | migration_with_reboot.py | 7 1) Get a live VM and clone it. 8 2) Verify that the source VM supports migration. If it does, proceed with 10 3) Reboot the VM 11 4) Send a migration command to the source VM and wait until it's finished. 12 5) Kill off the source VM. 13 6) Log into the destination VM after the migration is finished. 19 vm = env.get_vm(params["main_vm"]) 20 vm.verify_alive() 22 session = vm.wait_for_login(timeout=login_timeout) 29 # Reboot the VM in the background [all …]
|
D | physical_resources_check.py | 13 to the VM (qemu command line) 26 o = vm.monitor.info(info_cmd) 36 fail_log += " Assigned to VM: %d\n" % expected_num 52 o = vm.monitor.info(info_cmd) 68 fail_log += " Assigned to VM: %s\n" % expected 81 fail_log += " Assigned to VM: %s\n" % string.upper(expect) 88 vm = env.get_vm(params["main_vm"]) 89 vm.verify_alive() 91 session = vm.wait_for_login(timeout=timeout) 94 logging.info("Values assigned to VM are the values we expect " [all …]
|
/external/llvm/unittests/IR/ |
D | ValueMapTest.cpp | 48 ValueMap<TypeParam*, int> VM; in TYPED_TEST() local 49 VM[this->BitcastV.get()] = 7; in TYPED_TEST() 50 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST() 51 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST() 53 EXPECT_EQ(7, VM.lookup(this->AddV.get())); in TYPED_TEST() 54 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST() 56 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST() 57 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST() 58 EXPECT_EQ(0U, VM.size()); in TYPED_TEST() 62 ValueMap<TypeParam*, int> VM; in TYPED_TEST() local [all …]
|
/external/autotest/client/virt/ |
D | virt_env_process.py | 44 Preprocess a single VM object according to the instructions in params. 45 Start the VM if requested and get a screendump. 48 @param params: A dict containing VM preprocessing parameters. 50 @param name: The name of the VM object. 52 logging.debug("Preprocessing VM '%s'", name) 53 vm = env.get_vm(name) 54 if not vm: 55 logging.debug("VM object for '%s' does not exist, creating it", name) 58 vm = kvm_vm.VM(name, params, test.bindir, env.get("address_cache")) 59 env.register_vm(name, vm) [all …]
|
D | virt_test_utils.py | 33 Get a VM object from the environment and make sure it's alive. 36 @param vm_name: Name of the desired VM object. 37 @return: A VM object. 39 vm = env.get_vm(vm_name) 40 if not vm: 41 raise error.TestError("VM '%s' not found in environment" % vm_name) 42 if not vm.is_alive(): 43 raise error.TestError("VM '%s' seems to be dead; test requires a " 44 "living VM" % vm_name) 45 return vm [all …]
|
D | kvm_vm.py | 13 class VM(virt_vm.BaseVM): class 15 This class handles all basic VM operations. 25 @param params: A dict containing VM params 57 Make sure the VM is alive and that the main monitor is responsive. 59 @raise VMDeadError: If the VM is dead 73 Return True if the VM is alive and its monitor is responsive. 88 Check VM status 90 @param status: Optional VM status, 'running' or 'paused' 91 @raise VMStatusError: If the VM status is not same as parameter 94 raise virt_vm.VMStatusError("VM status is unexpected") [all …]
|
/external/opencv3/modules/java/generator/src/cpp/ |
D | converters.cpp | 209 std::vector<Mat> vm; in Mat_to_vector_vector_Point() local 210 vm.reserve( mat.rows ); in Mat_to_vector_vector_Point() 211 Mat_to_vector_Mat(mat, vm); in Mat_to_vector_vector_Point() 212 for(size_t i=0; i<vm.size(); i++) in Mat_to_vector_vector_Point() 215 Mat_to_vector_Point(vm[i], vpt); in Mat_to_vector_vector_Point() 222 std::vector<Mat> vm; in Mat_to_vector_vector_Point2f() local 223 vm.reserve( mat.rows ); in Mat_to_vector_vector_Point2f() 224 Mat_to_vector_Mat(mat, vm); in Mat_to_vector_vector_Point2f() 225 for(size_t i=0; i<vm.size(); i++) in Mat_to_vector_vector_Point2f() 228 Mat_to_vector_Point2f(vm[i], vpt); in Mat_to_vector_vector_Point2f() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 31 Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM, RemapFlags Flags, in MapValue() argument 34 ValueToValueMapTy::iterator I = VM.find(V); in MapValue() 37 if (I != VM.end() && I->second) return I->second; in MapValue() 43 VM[V] = NewV; in MapValue() 51 // Global values do not need to be seeded into the VM if they in MapValue() 60 return VM[V] = const_cast<Value*>(V); in MapValue() 74 return VM[V] = const_cast<Value*>(V); in MapValue() 82 return VM[V] = const_cast<Value *>(V); in MapValue() 84 auto *MappedMD = MapMetadata(MD, VM, Flags, TypeMapper, Materializer); in MapValue() 86 return VM[V] = const_cast<Value *>(V); in MapValue() [all …]
|
/external/vixl/doc/ |
D | supported-instructions.md | 1434 const VRegister& vm) 1443 const VRegister& vm) 1452 const VRegister& vm) 1469 const VRegister& vm) 1486 const VRegister& vm) 1504 const VRegister& vm) 1513 const VRegister& vm) 1522 const VRegister& vm) 1531 const VRegister& vm) 1565 const VRegister& vm) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
D | list_of_scalar_values_unittest.py | 100 vM = (list_of_scalar_values.ListOfScalarValues. 102 self.assertEquals(page0, vM.page) 103 self.assertEquals('x', vM.name) 104 self.assertEquals('unit', vM.units) 105 self.assertEquals(value.CONCATENATE, vM.same_page_merge_policy) 106 self.assertEquals(True, vM.important) 107 self.assertEquals([10, 9, 9, 7, 300, 302, 303, 304], vM.values) 109 self.assertAlmostEqual(1.5, vM.std) 110 self.assertEquals('list-based metric', vM.description) 111 self.assertEquals(improvement_direction.DOWN, vM.improvement_direction) [all …]
|
D | scalar_unittest.py | 69 vM = scalar.ScalarValue.MergeLikeValuesFromSamePage([v0, v1]) 70 self.assertEquals(page0, vM.page) 71 self.assertEquals('x', vM.name) 72 self.assertEquals('unit', vM.units) 73 self.assertEquals('important metric', vM.description) 74 self.assertEquals(True, vM.important) 75 self.assertEquals([1, 2], vM.values) 76 self.assertEquals(improvement_direction.UP, vM.improvement_direction) 88 vM = scalar.ScalarValue.MergeLikeValuesFromDifferentPages([v0, v1]) 89 self.assertEquals(None, vM.page) [all …]
|
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
D | video_YouTubeMseEme.js | 152 var vm = setupVideoAndMs(function() { 155 return_value &= vm.ms.sourceBuffers.length === 0; 156 vm.ms.addSourceBuffer(audio_format); 157 return_value &= vm.ms.sourceBuffers.length === 1; 158 vm.ms.addSourceBuffer(video_format); 159 return_value &= vm.ms.sourceBuffers.length === 2; 175 var vm = setupVideoAndMs(function() { 178 vm.ms.addSourceBuffer(formats[i]); 189 var vm = setupVideoAndMs(function() { 191 vm.ms.addSourceBuffer('^^^'); [all …]
|
/external/autotest/client/virt/tests/ |
D | guest_s4.py | 16 vm = env.get_vm(params["main_vm"]) 17 vm.verify_alive() 19 session = vm.wait_for_login(timeout=timeout) 35 session2 = vm.wait_for_login(timeout=timeout) 49 # Make sure the VM goes down 52 if not virt_utils.wait_for(vm.is_dead, suspend_timeout, 2, 2): 53 raise error.TestFail("VM refuses to go down. Suspend failed.") 54 logging.info("VM suspended successfully. Sleeping for a while before " 58 # Start vm, and check whether the program is still running 59 logging.info("Resuming suspended VM...") [all …]
|
D | netstress_kill_guest.py | 9 Try stop network interface in VM when other VM try to communicate. 44 def kill_and_check(vm): argument 45 vm_pid = vm.get_pid() 46 vm.destroy(gracefully=False) 50 logging.error("VM is not dead") 51 raise error.TestFail("VM is not dead after sending signal 0 to it") 53 logging.info("VM is dead") 73 vm.copy_files_to(os.path.join(netperf_dir, i), "/tmp") 75 guest_ip = vm.get_address(0) 114 kill_and_check(vm) [all …]
|
D | stress_boot.py | 11 1) boot the first vm 12 2) boot the second vm cloned from the first vm, check whether it boots up 14 3) go on until cannot create VM anymore or cannot allocate memory for VM 21 vm = env.get_vm(params["main_vm"]) 22 vm.verify_alive() 24 session = vm.wait_for_login(timeout=login_timeout) 32 # Clone vm according to the first one 34 vm_name = "vm%d" % num 35 vm_params = vm.params.copy() 36 curr_vm = vm.clone(vm_name, vm_params)
|
/external/autotest/puppylab/ |
D | ClusterTemplate | 6 config.vm.provider :virtualbox do |virtualbox| 13 config.vm.synced_folder "/usr/local/autotest", "/usr/local/autotest", type: "rsync", 19 config.vm.provision :shell do |shell| 28 config.vm.define "%(master)s" do |%(master)s| 29 %(master)s.vm.network "forwarded_port", guest: 80, host: %(master_port)s, auto_correct: true 30 %(master)s.vm.network "forwarded_port", guest: 3306, host: 8002, auto_correct: true 31 %(master)s.vm.box = "chromeos_lab_core_cluster" 32 %(master)s.vm.hostname = "%(master)s" 34 %(master)s.vm.network "private_network", ip: ip 35 %(master)s.vm.provision :puppet do |puppet| [all …]
|
D | clusterctl | 12 |gs vm resistry|<+ 32 This module can work with any vm hosting service/provider as long as they 66 """Interface to create and manage a core_cluster vm image. 68 A core_cluster vm image has base packages shared by all server roles. 78 # in the VAGRANT_DIR if you wish to prepare a new vm. You can achieve 91 """Setup a core cluster vm. 105 """Teardown a core cluster vm.""" 121 information is piped through to each vm, so the cluster manager is 203 @param vm_name: The name of the vm, eg: stumpyshard. 215 def _check_shadow_config(self, vm, key, expected_value): argument [all …]
|
/external/opencv3/modules/features2d/misc/java/src/cpp/ |
D | features2d_converters.cpp | 64 std::vector<Mat> vm; in Mat_to_vector_vector_KeyPoint() local 65 vm.reserve( mat.rows ); in Mat_to_vector_vector_KeyPoint() 66 Mat_to_vector_Mat(mat, vm); in Mat_to_vector_vector_KeyPoint() 67 for(size_t i=0; i<vm.size(); i++) in Mat_to_vector_vector_KeyPoint() 70 Mat_to_vector_KeyPoint(vm[i], vkp); in Mat_to_vector_vector_KeyPoint() 77 std::vector<Mat> vm; in vector_vector_KeyPoint_to_Mat() local 78 vm.reserve( vv_kp.size() ); in vector_vector_KeyPoint_to_Mat() 83 vm.push_back(m); in vector_vector_KeyPoint_to_Mat() 85 vector_Mat_to_Mat(vm, mat); in vector_vector_KeyPoint_to_Mat() 90 std::vector<Mat> vm; in Mat_to_vector_vector_DMatch() local [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
D | ILanguageNames.java | 15 * Interface to create programming language specific names from VM names. 23 * vm name of a package 32 * vm name of a class 34 * vm signature of the class (may be <code>null</code>) 36 * vm name of the superclass of the class (may be 39 * vm names of interfaces of the class (may be <code>null</code>) 49 * vm name of a class 58 * vm name of a containing class 60 * vm name of the method 62 * vm method descriptor [all …]
|
/external/javasqlite/src/main/java/SQLite/ |
D | Database.java | 307 Vm vm = compile(sql); in get_table() local 308 set_last_error(vm.error_code); in get_table() 310 while (ret.nrows < ret.maxrows && vm.step(ret)) { in get_table() 311 set_last_error(vm.error_code); in get_table() 314 while (vm.step(ret)) { in get_table() 315 set_last_error(vm.error_code); in get_table() 318 vm.finalize(); in get_table() 360 Vm vm = compile(sql, args); in get_table() local 361 set_last_error(vm.error_code); in get_table() 363 while (ret.nrows < ret.maxrows && vm.step(ret)) { in get_table() [all …]
|