• Home
  • Raw
  • Download

Lines Matching refs:set_argument

744 fn set_argument(cfg: &mut Config, name: &str, value: Option<&str>) -> argument::Result<()> {  in set_argument()  function
1979 set_argument(&mut cfg, name, value) in run_vm()
2595 set_argument(&mut config, "serial", Some("num=1,type=stdout,stdin=true")) in parse_serial_invalid_two_stdin()
2597 set_argument(&mut config, "serial", Some("num=2,type=stdout,stdin=true")) in parse_serial_invalid_two_stdin()
2604 set_argument( in parse_plugin_mount_valid()
2618 set_argument(&mut config, "plugin-mount", Some("/dev/null")).expect("parse should succeed"); in parse_plugin_mount_valid_shorthand()
2621 set_argument(&mut config, "plugin-mount", Some("/dev/null:/dev/zero")) in parse_plugin_mount_valid_shorthand()
2625 set_argument(&mut config, "plugin-mount", Some("/dev/null::true")) in parse_plugin_mount_valid_shorthand()
2634 set_argument(&mut config, "plugin-mount", Some("")).expect_err("parse should fail"); in parse_plugin_mount_invalid()
2635 set_argument( in parse_plugin_mount_invalid()
2641 set_argument(&mut config, "plugin-mount", Some("null:/dev/null:true")) in parse_plugin_mount_invalid()
2643 set_argument(&mut config, "plugin-mount", Some("/dev/null:null:true")) in parse_plugin_mount_invalid()
2645 set_argument(&mut config, "plugin-mount", Some("/dev/null:null:blah")) in parse_plugin_mount_invalid()
2652 set_argument(&mut config, "plugin-gid-map", Some("1:2:3")).expect("parse should succeed"); in parse_plugin_gid_map_valid()
2661 set_argument(&mut config, "plugin-gid-map", Some("1")).expect("parse should succeed"); in parse_plugin_gid_map_valid_shorthand()
2665 set_argument(&mut config, "plugin-gid-map", Some("1:2")).expect("parse should succeed"); in parse_plugin_gid_map_valid_shorthand()
2669 set_argument(&mut config, "plugin-gid-map", Some("1::3")).expect("parse should succeed"); in parse_plugin_gid_map_valid_shorthand()
2678 set_argument(&mut config, "plugin-gid-map", Some("")).expect_err("parse should fail"); in parse_plugin_gid_map_invalid()
2679 set_argument(&mut config, "plugin-gid-map", Some("1:2:3:4")) in parse_plugin_gid_map_invalid()
2681 set_argument(&mut config, "plugin-gid-map", Some("blah:2:3")) in parse_plugin_gid_map_invalid()
2683 set_argument(&mut config, "plugin-gid-map", Some("1:blah:3")) in parse_plugin_gid_map_invalid()
2685 set_argument(&mut config, "plugin-gid-map", Some("1:2:blah")) in parse_plugin_gid_map_invalid()
2695 set_argument(&mut config, "single-touch", Some("/dev/single-touch-test")).unwrap(); in single_touch_spec_and_track_pad_spec_default_size()
2696 set_argument(&mut config, "trackpad", Some("/dev/single-touch-test")).unwrap(); in single_touch_spec_and_track_pad_spec_default_size()
2717 set_argument(&mut config, "single-touch", Some("/dev/single-touch-test")).unwrap(); in single_touch_spec_default_size_from_gpu()
2718 set_argument( in single_touch_spec_default_size_from_gpu()
2739 set_argument( in single_touch_spec_and_track_pad_spec_with_size()
2745 set_argument( in single_touch_spec_and_track_pad_spec_with_size()
2770 set_argument( in single_touch_spec_with_size_independent_from_gpu()
2779 set_argument( in single_touch_spec_with_size_independent_from_gpu()
2801 set_argument(&mut config, "switches", Some("/dev/switches-test")).unwrap(); in virtio_switches()