Home
last modified time | relevance | path

Searched defs:gm (Results 1 – 25 of 147) sorted by relevance

123456

/external/crosvm/kvm/tests/
Dkvm_tests.rs59 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in create_vm() localVariable
74 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in check_vm_extension() localVariable
108 let gm = GuestMemory::new(&[ in add_memory() localVariable
131 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in add_memory_ro() localVariable
142 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in remove_memory_region() localVariable
158 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in remove_invalid_memory() localVariable
166 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10 * pagesize() as u64)]).unwrap(); in overlap_memory() localVariable
183 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in get_memory() localVariable
195 let gm = GuestMemory::new(&[(GuestAddress(0), 10 * pagesize() as u64)]).unwrap(); in clock_handling() localVariable
206 let gm = GuestMemory::new(&[(GuestAddress(0), 10 * pagesize() as u64)]).unwrap(); in pic_handling() localVariable
[all …]
/external/crosvm/hypervisor/tests/kvm/
Dmain.rs66 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in create_vm() localVariable
73 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in clone_vm() localVariable
81 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in send_vm() localVariable
93 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in check_vm_capability() localVariable
103 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in create_vcpu() localVariable
111 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in get_memory() localVariable
122 let gm = GuestMemory::new(&[ in add_memory() localVariable
152 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in add_memory_ro() localVariable
169 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in remove_memory() localVariable
191 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in remove_invalid_memory() localVariable
[all …]
Dx86_64.rs60 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_arch_capability() localVariable
242 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in clock_handling() localVariable
252 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_gsi_routing() localVariable
294 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_identity_map_addr() localVariable
302 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in mp_state() localVariable
313 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in enable_feature() localVariable
339 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in debugregs() localVariable
356 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in xcrs() localVariable
368 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in get_msr() localVariable
383 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_msr() localVariable
[all …]
Daarch64.rs16 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_gsi_routing() localVariable
/external/pytorch/torch/_dynamo/repro/
Dafter_dynamo.py50 def _accuracy_fails(gm, example_inputs, compiler_fn): argument
72 def __call__(self, gm, example_inputs, **kwargs): argument
152 gm, argument
206 def dump_backend_repro_as_file(gm, args, compiler_name, check_accuracy=False): argument
234 def dump_backend_state(gm, args, compiler_name, check_accuracy=False): argument
252 def dump_to_minify_after_dynamo(gm, args, compiler_name): argument
275 def dynamo_minifier_backend(gm, example_inputs, compiler_name): argument
315 def dynamo_accuracy_minifier_backend(gm, example_inputs, compiler_name): argument
345 def backend_fails(gm, example_inputs, compiler_fn, orig_failure): argument
Dafter_aot.py69 def debug_wrapper(gm, example_inputs, **kwargs): argument
209 def generate_compiler_repro_string(gm, args, *, stable_output=False, save_dir=None): argument
259 gm, argument
305 def dump_compiler_graph_state(gm, args, compiler_name, *, accuracy=None): argument
333 def dump_to_minify(gm, args, compiler_name: str): argument
/external/crosvm/kernel_loader/src/
Darm64.rs238 let gm = create_guest_mem(); in load_arm64_valid() localVariable
250 let gm = create_guest_mem(); in load_arm64_image_size_zero() localVariable
266 let gm = create_guest_mem(); in load_arm64_bad_magic() localVariable
362 let gm = create_guest_mem(); in load_arm64_lz4_valid() localVariable
374 let gm = create_guest_mem(); in load_arm64_lz4_bad_magic() localVariable
388 let gm = create_guest_mem(); in load_arm64_lz4_bad_block() localVariable
402 let gm = create_guest_mem(); in load_arm64_lz4_legacy_valid() localVariable
414 let gm = create_guest_mem(); in load_arm64_lz4_legacy_bad_magic() localVariable
428 let gm = create_guest_mem(); in load_arm64_lz4_legacy_bad_block() localVariable
Dlib.rs417 let gm = create_guest_mem(); in load_elf32() localVariable
429 let gm = create_guest_mem(); in load_elf64() localVariable
441 let gm = create_guest_mem(); in bad_magic() localVariable
454 let gm = create_guest_mem(); in bad_endian() localVariable
467 let gm = create_guest_mem(); in bad_phoff() localVariable
479 let gm = create_guest_mem(); in paddr_below_start() localVariable
/external/pytorch/torch/_dynamo/backends/
Ddebugging.py28 def eager(gm, fake_tensor_inputs, **kwargs): argument
35 def eager_noexcept(gm, fake_tensor_inputs, **kwargs): argument
53 def pre_dispatch_eager(gm, fake_tensor_inputs, **kwargs): argument
69 def eager_debug(gm, fake_tensor_inputs, **kwargs): argument
86 def torchscript(gm, fake_tensor_inputs): argument
120 def aot_eager_decomp_partition(gm, fake_tensor_inputs, **kwargs): argument
Dcudagraphs.py108 def get_device_index(gm) -> int: argument
114 def get_stack_traces(gm) -> List[Optional[str]]: argument
/external/pytorch/test/fx/
Dtest_pass_infra.py17 def call(self, gm) -> PassResult: argument
27 def replace_mul_with_div_pass(gm) -> PassResult: argument
39 def call(self, gm) -> PassResult: argument
47 def replace_sub_with_add_pass(gm) -> PassResult: argument
/external/skia/tools/testrunners/gm/vias/
DSimpleVias.cpp28 static GMOutput draw_direct(skiagm::GM* gm, SkSurface* surface) { in draw_direct()
90 static GMOutput draw_via_picture(skiagm::GM* gm, SkSurface* surface, bool serialize) { in draw_via_picture()
182 GMOutput draw(skiagm::GM* gm, SkSurface* surface, std::string via) { in draw()
/external/pytorch/torch/_export/passes/
Dconstant_folding.py20 def replace_node_with_constant(gm, node, constant, name=None): argument
52 gm, argument
205 def constant_fold(gm, constraint_fn: Optional[Callable[[torch.fx.Node], bool]] = None): argument
/external/pytorch/torch/_functorch/
Dcompilers.py338 def _save_fx_default(current_name, folder_name, dump_example_input, gm, example_inputs): argument
406 def graph_saver_forward(gm, fw_args): argument
410 def graph_saver_backward(gm, bw_args): argument
416 def graph_saver_joint(gm, joint_args): argument
/external/rust/android-crates-io/extra_versions/crates/vm-memory/src/
Dmmap.rs1092 let gm = in test_read_u64() localVariable
1132 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in write_and_read() localVariable
1163 let gm = GuestMemoryMmap::from_ranges(&[(GuestAddress(0x1000), 0x400)]).unwrap(); in read_to_and_write_from_mem() localVariable
1208 let gm = GuestMemoryMmap::from_ranges(&regions).unwrap(); in create_vec_with_regions() localVariable
1236 let gm = Arc::new(GuestMemoryMmap::from_ranges(&regions).unwrap()); in test_memory() localVariable
1266 let gm = in test_access_cross_boundary() localVariable
1290 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in test_retrieve_fd_backing_memory_region() localVariable
1295 let gm = GuestMemoryMmap::from_ranges_with_files(&[( in test_retrieve_fd_backing_memory_region() localVariable
1319 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in test_retrieve_offset_from_fd_backing_memory_region() localVariable
1324 let gm = GuestMemoryMmap::from_ranges_with_files(&[( in test_retrieve_offset_from_fd_backing_memory_region() localVariable
[all …]
/external/rust/android-crates-io/crates/vm-memory/src/
Dmmap.rs1077 let gm = in test_read_u64() localVariable
1117 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in write_and_read() localVariable
1148 let gm = GuestMemoryMmap::from_ranges(&[(GuestAddress(0x1000), 0x400)]).unwrap(); in read_to_and_write_from_mem() localVariable
1193 let gm = GuestMemoryMmap::from_ranges(&regions).unwrap(); in create_vec_with_regions() localVariable
1221 let gm = Arc::new(GuestMemoryMmap::from_ranges(&regions).unwrap()); in test_memory() localVariable
1251 let gm = in test_access_cross_boundary() localVariable
1275 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in test_retrieve_fd_backing_memory_region() localVariable
1280 let gm = GuestMemoryMmap::from_ranges_with_files(&[( in test_retrieve_fd_backing_memory_region() localVariable
1304 let gm = GuestMemoryMmap::from_ranges(&[(start_addr, 0x400)]).unwrap(); in test_retrieve_offset_from_fd_backing_memory_region() localVariable
1309 let gm = GuestMemoryMmap::from_ranges_with_files(&[( in test_retrieve_offset_from_fd_backing_memory_region() localVariable
[all …]
/external/skia/fuzz/
DFuzzGradients.cpp129 SkMatrix gm; in fuzzLinearGradient() local
167 SkMatrix gm; in fuzzRadialGradient() local
205 SkMatrix gm; in fuzzTwoPointConicalGradient() local
241 SkMatrix gm; in fuzzSweepGradient() local
/external/pytorch/test/dynamo/
Dtest_backward_higher_order_ops.py97 def compiler_fn(gm): argument
154 def compiler_fn(gm): argument
228 def compiler_fn(gm): argument
Dtest_input_attr_tracking.py28 def grab_graph_backend(gm, inps): argument
57 def grab_graph_backend(gm, inps): argument
86 def grab_graph_backend(gm, inps): argument
/external/pytorch/torch/_inductor/fx_passes/
Dbinary_folding.py43 def mark_mixed_dtype_allowed_convs(gm): argument
54 def recover_original_precision_folded_convs(gm): argument
/external/crosvm/devices/src/usb/xhci/
Dring_buffer.rs173 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in ring_test_dequeue() localVariable
251 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in transfer_ring_test_dequeue_failure() localVariable
285 let gm = GuestMemory::new(&[(GuestAddress(0), pagesize() as u64)]).unwrap(); in ring_test_toggle_cycle() localVariable
/external/crosvm/vhost/tests/
Dlinux.rs74 let gm = create_guest_memory().unwrap(); in set_mem_table() localVariable
89 let gm = create_guest_memory().unwrap(); in set_vring_addr() localVariable
/external/pytorch/torch/_functorch/_aot_autograd/
Dinput_output_analysis.py407 def _graph_input_names(gm): argument
411 def _graph_output_names(gm): argument
/external/pytorch/benchmarks/dynamo/microbenchmarks/
Doperatorbench.py55 def strip_overloads(gm): argument
67 def convert_to_jit(gm, gm_args): argument
/external/pytorch/torch/_dynamo/
Ddebug_utils.py154 def can_convert_to_string(gm): argument
166 def convert(gm): argument
309 def run_fwd_maybe_bwd(gm, args, only_fwd=False, disable_clone=False): argument
337 gm, argument
438 gm, argument

123456