Lines Matching +full:test +full:- +full:windows
22 #[cfg(windows)]
25 #[cfg(windows)]
27 #[cfg(windows)]
40 pub fn is(stream: Stream) -> bool { in is()
53 pub fn is(stream: Stream) -> bool { in is()
65 #[cfg(windows)]
66 pub fn is(stream: Stream) -> bool { in is()
86 // we're in a Windows console and can therefore trust the negative. in is()
97 pub fn isnt(stream: Stream) -> bool { in isnt()
102 #[cfg(windows)]
103 unsafe fn console_on_any(fds: &[DWORD]) -> bool { in console_on_any()
117 #[cfg(windows)]
118 unsafe fn msys_tty_on(fd: DWORD) -> bool { in msys_tty_on()
148 // a pseudo-terminal is attached. To mitigate against false positives in msys_tty_on()
150 // either the strings 'msys-' or 'cygwin-' are in the file name as well.) in msys_tty_on()
151 let is_msys = name.contains("msys-") || name.contains("cygwin-"); in msys_tty_on()
152 let is_pty = name.contains("-pty"); in msys_tty_on()
158 pub fn is(_stream: Stream) -> bool { in is()
162 #[cfg(test)]
166 #[test]
167 #[cfg(windows)]
173 #[test]
174 #[cfg(windows)]
180 #[test]
181 #[cfg(windows)]
186 #[test]
192 #[test]
198 #[test]
205 #[test]