Home
last modified time | relevance | path

Searched refs:parse_serial_options (Results 1 – 1 of 1) sorted by relevance

/external/crosvm/src/
Dmain.rs467 fn parse_serial_options(s: &str) -> argument::Result<SerialParameters> { in parse_serial_options() function
885 let serial_params = parse_serial_options(value.unwrap())?; in set_argument()
2539 parse_serial_options("type=syslog,num=1,console=true,stdin=true") in parse_serial_vaild()
2545 parse_serial_options("type=syslog,num=5,console=true,stdin=true,hardware=virtio-console") in parse_serial_virtio_console_vaild()
2551 parse_serial_options("type=syslog").expect("parse should have succeded"); in parse_serial_valid_no_num()
2556 let parsed = parse_serial_options("type=syslog,path=foo=bar==.log") in parse_serial_equals_in_value()
2563 parse_serial_options("type=wormhole,num=1").expect_err("parse should have failed"); in parse_serial_invalid_type()
2568 parse_serial_options("type=syslog,num=5").expect_err("parse should have failed"); in parse_serial_invalid_num_upper()
2573 parse_serial_options("type=syslog,num=0").expect_err("parse should have failed"); in parse_serial_invalid_num_lower()
2578 parse_serial_options("type=syslog,hardware=virtio-console,num=0") in parse_serial_virtio_console_invalid_num_lower()
[all …]