Home
last modified time | relevance | path

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

/external/rust/crates/nix/test/
Dtest_pty.rs56 let slave_name1 = unsafe { ptsname(&master_fd) }.unwrap(); in test_ptsname_copy() localVariable
58 assert_eq!(slave_name1, slave_name2); in test_ptsname_copy()
61 assert!(slave_name1.as_ptr() != slave_name2.as_ptr()); in test_ptsname_copy()
73 let slave_name1 = ptsname_r(&master_fd).unwrap(); in test_ptsname_r_copy() localVariable
75 assert_eq!(slave_name1, slave_name2); in test_ptsname_r_copy()
76 assert!(slave_name1.as_ptr() != slave_name2.as_ptr()); in test_ptsname_r_copy()
94 let slave_name1 = unsafe { ptsname(&master1_fd) }.unwrap(); in test_ptsname_unique() localVariable
96 assert!(slave_name1 != slave_name2); in test_ptsname_unique()